Skip to content

chore: version packages#91

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

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

Conversation

@github-actions
Copy link
Copy Markdown
Contributor

@github-actions github-actions bot commented Apr 5, 2026

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.9.0

Minor Changes

  • Upgrade the global configuration infrastructure around ConfigProvider and align popup, scroll, and static layer behavior across the component library. - #90 49b4bfc

    Highlights:

    • Reworked ConfigProvider to use provider-scoped theme containers instead of mutating global HTML styles.
    • Added ConfigProvider.useConfig() and ConfigProvider.config({ holderRender }) support for a wider set of static APIs.
    • Added static Modal.open() and Modal.confirm() APIs that participate in the shared static host pipeline.
    • Unified popup container resolution across Portal, Popup, and Cascader.
    • Unified target container resolution across Anchor, Sticky, BackTop, Overlay, and Tour.
    • Improved Sticky container observation with ResizeObserver.
    • Improved useTheme() to sync with DOM state, localStorage, system preference changes, and cross-tab storage events.
    • Added onCopy to CopyToClipboard so copy results can be observed by consumers.

    Notes for consumers:

    • Anchor and BackTop now accept and resolve Window as a first-class target container shape.
    • BackTop now defaults to ConfigProvider.getTargetContainer() when present.
    • ConfigProvider only renders an internal scope node when scoped theme behavior is required.
    • Static APIs such as Message.*, Notification.*, LoadingBar.*, and Modal.open() can now be wrapped consistently through ConfigProvider.config({ holderRender }).
  • Migrate component styles from SCSS variables to CSS custom properties (--ty-*) for better runtime theming support. - #90 49b4bfc

    • Migrate ~80 structural SCSS constants (padding, sizing, transitions) to runtime-customizable CSS custom properties
    • Tokenize hardcoded values in Button, Input, Card, Select, and Notification components
    • Add component-scoped CSS variable fallback chains (e.g., --ty-btn-border-radius falls back to --ty-border-radius)
    • Add ThemeConfig API to ConfigProvider for programmatic token and component-level overrides
    • Three-level customization: global tokens, component tokens, and scoped instance overrides via CSS

@tiny-design/tokens@1.9.0

Minor Changes

  • Migrate component styles from SCSS variables to CSS custom properties (--ty-*) for better runtime theming support. - #90 49b4bfc
    • Migrate ~80 structural SCSS constants (padding, sizing, transitions) to runtime-customizable CSS custom properties
    • Tokenize hardcoded values in Button, Input, Card, Select, and Notification components
    • Add component-scoped CSS variable fallback chains (e.g., --ty-btn-border-radius falls back to --ty-border-radius)
    • Add ThemeConfig API to ConfigProvider for programmatic token and component-level overrides
    • Three-level customization: global tokens, component tokens, and scoped instance overrides via CSS

@tiny-design/charts@1.9.0

@tiny-design/icons@1.9.0

@wangdicoder wangdicoder merged commit 423312e into master Apr 5, 2026
@wangdicoder wangdicoder deleted the changeset-release/master branch April 5, 2026 11:26
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