Skip to content

Commit 1a10f9c

Browse files
chore: version packages (#136)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 8e579d9 commit 1a10f9c

9 files changed

Lines changed: 26 additions & 20 deletions

File tree

.changeset/modal-imperative-api.md

Lines changed: 0 additions & 16 deletions
This file was deleted.

packages/charts/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @tiny-design/charts
22

3+
## 1.16.0
4+
35
## 1.15.0
46

57
## 1.14.0

packages/charts/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tiny-design/charts",
3-
"version": "1.15.0",
3+
"version": "1.16.0",
44
"description": "Theme-aware chart components for Tiny Design, built on Recharts",
55
"license": "MIT",
66
"repository": {

packages/icons/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @tiny-design/icons
22

3+
## 1.16.0
4+
35
## 1.15.0
46

57
## 1.14.0

packages/icons/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tiny-design/icons",
3-
"version": "1.15.0",
3+
"version": "1.16.0",
44
"description": "SVG icon components for tiny-design",
55
"license": "MIT",
66
"keywords": [

packages/react/CHANGELOG.md

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,21 @@
11
# Changelog
22

3+
## 1.16.0
4+
5+
### Minor Changes
6+
7+
- feat(modal): add imperative/registered API on top of the existing context - [#135](https://github.com/wangdicoder/tiny-design/pull/135) [`8e579d9`](https://github.com/wangdicoder/tiny-design/commit/8e579d9e128f64296a92e10bd1584e89a78230d3)
8+
- New exports: `Modal.Register`, `Modal.useModalActions`, `Modal.useModalSelf`, `Modal.store`, and a named `createModalStore` factory.
9+
- `show(id, props)` returns a promise that resolves with the value passed to `hide(result)`, so dialogs can be `await`ed.
10+
- `<Modal.Provider>` now backs an outlet that renders registered components; the legacy `Modal.useModal(id)` per-id hook continues to work unchanged.
11+
- New "Choosing a store" docs section warning that two providers sharing the singleton cause duplicate overlays — recommends `createModalStore()` for app-level providers.
12+
13+
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.
14+
15+
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.
16+
17+
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.
18+
319
## 1.15.0
420

521
### Minor Changes

packages/react/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tiny-design/react",
3-
"version": "1.15.0",
3+
"version": "1.16.0",
44
"description": "A friendly UI component set for React",
55
"license": "MIT",
66
"keywords": [

packages/tokens/CHANGELOG.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
# @tiny-design/tokens
22

3+
## 1.16.0
4+
35
## 1.15.0
46

57
### Minor Changes

packages/tokens/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@tiny-design/tokens",
3-
"version": "1.15.0",
3+
"version": "1.16.0",
44
"description": "Design tokens and v2 theme runtime for Tiny UI",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)