Skip to content

chore: version packages#136

Merged
wangdicoder merged 1 commit intomasterfrom
changeset-release/master
Apr 27, 2026
Merged

chore: version packages#136
wangdicoder merged 1 commit intomasterfrom
changeset-release/master

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

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 master, this PR will be updated.

Releases

@tiny-design/react@1.16.0

Minor Changes

  • feat(modal): add imperative/registered API on top of the existing context - #135 8e579d9

    • New exports: Modal.Register, Modal.useModalActions, Modal.useModalSelf, Modal.store, and a named createModalStore factory.
    • show(id, props) returns a promise that resolves with the value passed to hide(result), so dialogs can be awaited.
    • <Modal.Provider> now backs an outlet that renders registered components; the legacy Modal.useModal(id) per-id hook continues to work unchanged.
    • New "Choosing a store" docs section warning that two providers sharing the singleton cause duplicate overlays — recommends createModalStore() for app-level providers.

    fix(transition): stop firing onExited from inside a setState updater so it no longer triggers "Cannot update X while rendering Y" warnings when the callback dispatches across components.

    fix(collapse-transition): keep onHidden in a ref so the animation effect depends only on visible. Inline onHidden={() => …} callers no longer cause unrelated parent re-renders to interrupt the running open/close animation.

    fix(collapse): always mount <CollapseTransition> and gate only the body content. The first time a panel is opened from a closed start now plays the open animation instead of snapping to its full height.

@tiny-design/charts@1.16.0

@tiny-design/icons@1.16.0

@tiny-design/tokens@1.16.0

@wangdicoder wangdicoder merged commit 1a10f9c into master Apr 27, 2026
@wangdicoder wangdicoder deleted the changeset-release/master branch April 27, 2026 12:32
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant