Skip to content

Latest commit

 

History

History
159 lines (93 loc) · 9.97 KB

File metadata and controls

159 lines (93 loc) · 9.97 KB

Changelog

1.11.2

Patch Changes

  • Migrate component SCSS imports from @tiny-design/tokens to local style/variables and fix Popup positioning sync - #101 ed760d5

1.11.1

Patch Changes

  • Fix React component behavior and update demos to follow theme tokens. - #99 c7abb00

1.11.0

Minor Changes

  • Add scrollToSelected prop to Select component that automatically scrolls the dropdown to the first selected option when opened - #96 4fdb8a0

Patch Changes

  • Fix popup positioning and interaction regressions across overlay-based React components, and align related input, table, tree, tour, and upload behaviors - #98 12b5f5d

1.10.0

Minor Changes

  • Add design token governance with JSON source registry, migrate all component SCSS to token variables, introduce CSS Grid layout system, and rebuild Theme Studio - #93 d515c39

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
    • Introduce component-scoped v2 CSS variables such as --ty-button-radius and --ty-card-header-padding
    • Add ThemeConfig support in ConfigProvider for semantic and component token overrides
    • Support global token overrides, component token overrides, and scoped instance overrides via CSS variables

1.8.0

Minor Changes

  • Add Tour component for step-by-step product guides with spotlight mask, Popper.js positioning, keyboard navigation, and customizable step indicators - #88 57c2f38

  • Calendar: add range selection, multiple selection, keyboard navigation, week numbers, valid range, dot indicators, decade panel, and card mode. DatePicker: add range mode with date range selection and preview highlighting. - #87 a0b3e45

1.7.0

Minor Changes

  • Add variant prop to Card component (outlined, elevated, filled). Fix NativeSelect children type to accept arrays. Make Table ColumnType dataIndex optional for action columns. - #85 6ab92fd

  • feat(tag): add variant prop with filled, soft, solid, and outlined styles - #83 2a2dc57

    • Table: use Checkbox/Radio components, fix selection bugs with pagination and sorting, improve type definitions - #86 6ff73db
    • List: use semantic <ul>/<li> elements, add forwardRef to ListItemMeta, fix paginated renderItem index, add ARIA attributes
    • Loader: redesign spinner with CSS-only border animation, remove dot elements
    • Button: fix icon container shrinking in flex layout
    • useVirtualScroll: add enabled option

1.6.2

1.6.1

Patch Changes

  • Improve color-picker, slider, split, popup, and input-otp components; add @tiny-design/mcp server package with component, token, and icon tools - #76 5b4641d

1.6.0

Minor Changes

  • Add ScrollNumber component with animated digit transitions and shortest-path scrolling; integrate into Badge for smooth count animations. Add TextLoop component for cycling through children with vertical slide transitions. - #74 2f215ca

1.5.1

Patch Changes

  • Fix React warnings (missing keys, nested buttons, DOM attribute leaks, setState during render, infinite loop) and Alert title margin - #72 08f4b2a

1.5.0

Minor Changes

  • Add Marquee component for infinite horizontal scrolling with configurable direction, speed, pause-on-hover, edge fade, and infinite/once play modes - #70 36cad31

1.4.0

Minor Changes

  • Add hover/focus/active state styles for button status types (success, info, warning, danger), add status color presets to Tag component, fix SpeedDial to use theme-aware CSS custom properties, and improve TimePicker with pending selection state committed on OK - #68 006b12a

1.3.0

Minor Changes

  • Replace react-transition-group with a custom useTransition hook for CSS-driven animations. This removes the unmaintained dependency and prepares the library for React 19 compatibility. - #66 2d3e756

1.2.0

Minor Changes

  • Add Waterfall (masonry) layout component with responsive columns, gutter spacing, dynamic add/remove with animations, and image gallery support - #64 788f763

1.1.2

Patch Changes

  • fix: preserve FormInstance across re-renders in useForm hook - #62 ee696d0

1.1.1

Patch Changes

    • Fix the AutoComplete component export issue - #60 a2ea544
    • Some components' font family issue

1.1.0

Minor Changes

  • Improve InputOTP behaviour: - #54 b81d406
    • Fire onChange on every value update instead of only when all cells are filled.
    • Fix masked cell rendering logic.
    • Adjust caret colour to follow current text colour.
    • Update docs and tests for the new behaviour and add Chinese docs entry.

1.0.11

Patch Changes

  • Fixed Input.Addon passing size prop to non-input children (e.g. icons), which caused icons to render oversized. - #52 927034e

1.0.10

Patch Changes

  • Fix conditional hook call in Heading component - #50 582bc46