Skip to content

Releases: wangdicoder/tiny-design

@tiny-design/tokens@1.16.0

27 Apr 12:33
1a10f9c

Choose a tag to compare

@tiny-design/tokens@1.16.0

@tiny-design/react@1.16.0

27 Apr 12:33
1a10f9c

Choose a tag to compare

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/icons@1.16.0

27 Apr 12:33
1a10f9c

Choose a tag to compare

@tiny-design/icons@1.16.0

@tiny-design/charts@1.16.0

27 Apr 12:33
1a10f9c

Choose a tag to compare

@tiny-design/charts@1.16.0

@tiny-design/tokens@1.15.0

25 Apr 11:06
6b83f47

Choose a tag to compare

Minor Changes

  • Emit per-component CSS token slices to dramatically shrink per-component bundles. The tokens package now emits dist/css/foundation.css (primitives), dist/css/semantic.css (semantics), and dist/css/components/<name>.css (per-component) alongside the existing base.css. Each compiled component entry imports only the slices it transitively needs, reducing per-component CSS by ~60% raw and ~80% gzipped (Button: 261 KB → 103 KB raw, 36 KB → 7.5 KB gzipped). Full-library bundle size is unchanged; base.css is still emitted for backward compatibility. - #132 e5335cf

@tiny-design/react@1.15.0

25 Apr 11:06
6b83f47

Choose a tag to compare

Minor Changes

  • Emit per-component CSS token slices to dramatically shrink per-component bundles. The tokens package now emits dist/css/foundation.css (primitives), dist/css/semantic.css (semantics), and dist/css/components/<name>.css (per-component) alongside the existing base.css. Each compiled component entry imports only the slices it transitively needs, reducing per-component CSS by ~60% raw and ~80% gzipped (Button: 261 KB → 103 KB raw, 36 KB → 7.5 KB gzipped). Full-library bundle size is unchanged; base.css is still emitted for backward compatibility. - #132 e5335cf

Patch Changes

  • Replace runtime displayName checks with component markers for React component composition and keep displayName for debugging only. - #130 d06e59d

@tiny-design/icons@1.15.0

25 Apr 11:06
6b83f47

Choose a tag to compare

@tiny-design/icons@1.15.0

@tiny-design/charts@1.15.0

25 Apr 11:06
6b83f47

Choose a tag to compare

@tiny-design/charts@1.15.0

@tiny-design/tokens@1.14.0

21 Apr 12:05
6e56a7a

Choose a tag to compare

Minor Changes

  • Add seed-driven token foundations to @tiny-design/tokens with an internal primitive -> semantic -> component model, a shared compile-brand-theme runtime export, stricter build validation, and richer registry metadata including resolved token values for downstream tooling. - #128 4444b58

    Fix @tiny-design/mcp token extraction so MCP clients receive concrete resolved token values instead of unresolved token references.

@tiny-design/react@1.14.0

21 Apr 12:05
6e56a7a

Choose a tag to compare

@tiny-design/react@1.14.0