Skip to content

v2.2.0

Latest

Choose a tag to compare

@shijistar shijistar released this 08 Aug 14:38
· 1 commit to master since this release

Features

Components

  • ConfigProvider: added the easy-full-height-table-v6 global CSS class for full-height antd v6 tables.

Hooks

  • ✨ Enhanced useMovable with viewport support: added viewPortRef to constrain dragging within a parent container. Added an onMove callback fired on every position change. containerRef is deprecated in favor of movableDomRef.
  • useSplitter: switched splitter interaction from mouse events to pointer events with pointer capture.
  • useValidators: the name / strongName validators now allow spaces.

Utils

  • randomChars: uses the custom random utils from utils/math instead of Math.random.

Bug Fixes

  • 🐞 FloatDrawer: switched resize handling from mouse events to pointer events for better touch/pen support; fixed the toggle button positioning offset (01).

Misc

  • 🛠️ Refactored utils into modular implementations: base64, crypto, math, color, stream, and string are now split into per-function modules. The public API is unchanged (re-exported via index.ts).
  • 🛠️ Improved JSDoc across components/hooks with @default annotations and consistent bilingual formatting.