Skip to content
This repository was archived by the owner on Oct 23, 2023. It is now read-only.

Version Packages #328

Merged
merged 1 commit into from
Apr 1, 2023
Merged

Version Packages #328

merged 1 commit into from
Apr 1, 2023

Conversation

github-actions[bot]
Copy link
Contributor

@github-actions github-actions bot commented Apr 1, 2023

This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.

Releases

@polymorphic-factory/preact@0.3.0

Minor Changes

  • #327 b572666 Thanks @TimKolberger! - When using the as prop, the ref will now be typed accordingly.

    This is possibly a breaking change for TypeScript users.

    const ref = useRef<HTMLAnchorElement>(null)
    return <poly.button as="a" ref={ref} />

@polymorphic-factory/react@0.4.0

Minor Changes

  • #327 b572666 Thanks @TimKolberger! - Removed the member defaultProps from the type ComponentWithAs to support React 18.3.0.

    This is possibly a breaking change for TypeScript users.

  • #327 b572666 Thanks @TimKolberger! - When using the as prop, the ref will now be typed accordingly.

    This is possibly a breaking change for TypeScript users.

    const ref = useRef<HTMLAnchorElement>(null)
    return <poly.button as="a" ref={ref} />

@polymorphic-factory/solid@0.3.0

Minor Changes

  • #327 b572666 Thanks @TimKolberger! - When using the as prop, the ref will now be typed accordingly.

    This is possibly a breaking change for TypeScript users.

    let ref: HTMLAnchorElement = undefined
    return <poly.button as="a" ref={ref} />

@github-actions github-actions bot force-pushed the changeset-release/main branch from 09c998e to 7f97f92 Compare April 1, 2023 14:08
@TimKolberger TimKolberger merged commit 0e30dcc into main Apr 1, 2023
@TimKolberger TimKolberger deleted the changeset-release/main branch April 1, 2023 14:12
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant