Skip to content

Commit 423312e

Browse files
chore: version packages (#91)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
1 parent 49b4bfc commit 423312e

File tree

10 files changed

+48
-39
lines changed

10 files changed

+48
-39
lines changed

.changeset/config-provider-infra-upgrade.md

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

.changeset/migrate-scss-to-css-custom-properties.md

Lines changed: 0 additions & 12 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.9.0
4+
35
## 1.8.0
46

57
## 1.7.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.8.0",
3+
"version": "1.9.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.9.0
4+
35
## 1.8.0
46

57
## 1.7.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.8.0",
3+
"version": "1.9.0",
44
"description": "SVG icon components for tiny-design",
55
"license": "MIT",
66
"keywords": [

packages/react/CHANGELOG.md

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

3+
## 1.9.0
4+
5+
### Minor Changes
6+
7+
- Upgrade the global configuration infrastructure around `ConfigProvider` and align popup, scroll, and static layer behavior across the component library. - [#90](https://github.com/wangdicoder/tiny-design/pull/90) [`49b4bfc`](https://github.com/wangdicoder/tiny-design/commit/49b4bfcba6c9536a966ba5b5a64e53b56a25da76)
8+
9+
Highlights:
10+
- Reworked `ConfigProvider` to use provider-scoped theme containers instead of mutating global HTML styles.
11+
- Added `ConfigProvider.useConfig()` and `ConfigProvider.config({ holderRender })` support for a wider set of static APIs.
12+
- Added static `Modal.open()` and `Modal.confirm()` APIs that participate in the shared static host pipeline.
13+
- Unified popup container resolution across `Portal`, `Popup`, and `Cascader`.
14+
- Unified target container resolution across `Anchor`, `Sticky`, `BackTop`, `Overlay`, and `Tour`.
15+
- Improved `Sticky` container observation with `ResizeObserver`.
16+
- Improved `useTheme()` to sync with DOM state, localStorage, system preference changes, and cross-tab storage events.
17+
- Added `onCopy` to `CopyToClipboard` so copy results can be observed by consumers.
18+
19+
Notes for consumers:
20+
- `Anchor` and `BackTop` now accept and resolve `Window` as a first-class target container shape.
21+
- `BackTop` now defaults to `ConfigProvider.getTargetContainer()` when present.
22+
- `ConfigProvider` only renders an internal scope node when scoped theme behavior is required.
23+
- Static APIs such as `Message.*`, `Notification.*`, `LoadingBar.*`, and `Modal.open()` can now be wrapped consistently through `ConfigProvider.config({ holderRender })`.
24+
25+
- Migrate component styles from SCSS variables to CSS custom properties (`--ty-*`) for better runtime theming support. - [#90](https://github.com/wangdicoder/tiny-design/pull/90) [`49b4bfc`](https://github.com/wangdicoder/tiny-design/commit/49b4bfcba6c9536a966ba5b5a64e53b56a25da76)
26+
- Migrate ~80 structural SCSS constants (padding, sizing, transitions) to runtime-customizable CSS custom properties
27+
- Tokenize hardcoded values in Button, Input, Card, Select, and Notification components
28+
- Add component-scoped CSS variable fallback chains (e.g., `--ty-btn-border-radius` falls back to `--ty-border-radius`)
29+
- Add `ThemeConfig` API to `ConfigProvider` for programmatic token and component-level overrides
30+
- Three-level customization: global tokens, component tokens, and scoped instance overrides via CSS
31+
332
## 1.8.0
433

534
### 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.8.0",
3+
"version": "1.9.0",
44
"description": "A friendly UI component set for React",
55
"license": "MIT",
66
"keywords": [

packages/tokens/CHANGELOG.md

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

3+
## 1.9.0
4+
5+
### Minor Changes
6+
7+
- Migrate component styles from SCSS variables to CSS custom properties (`--ty-*`) for better runtime theming support. - [#90](https://github.com/wangdicoder/tiny-design/pull/90) [`49b4bfc`](https://github.com/wangdicoder/tiny-design/commit/49b4bfcba6c9536a966ba5b5a64e53b56a25da76)
8+
- Migrate ~80 structural SCSS constants (padding, sizing, transitions) to runtime-customizable CSS custom properties
9+
- Tokenize hardcoded values in Button, Input, Card, Select, and Notification components
10+
- Add component-scoped CSS variable fallback chains (e.g., `--ty-btn-border-radius` falls back to `--ty-border-radius`)
11+
- Add `ThemeConfig` API to `ConfigProvider` for programmatic token and component-level overrides
12+
- Three-level customization: global tokens, component tokens, and scoped instance overrides via CSS
13+
314
## 1.8.0
415

516
## 1.7.0

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.8.0",
3+
"version": "1.9.0",
44
"description": "Design tokens, themes, and foundational styles for Tiny UI",
55
"license": "MIT",
66
"repository": {

0 commit comments

Comments
 (0)