Repository navigation
v10.4.0
Version 10.4.0 adds a new ToggleGroup component, expands import paths, enhances CodeEditor, Space, and Toast APIs, and updates an internal hook dependency.
New and Updated Features
- ToggleGroup – independently pressed action buttons (e.g., text formatting or filter chips) with support for icons, icon‑only display, disabled states, sizes, vertical orientation, and RTL keyboard navigation.
onChangereports pressed values in option order. - Prop‑type exports – the root entry now exports the prop types of 18 atoms:
ButtonProps,CheckboxProps,ColorPickerProps,DatePickerProps,FloatButtonProps,InputProps,PopoverProps,ProgressProps,RadioProps,RichTextEditorProps,SelectProps,SkeletonProps,SliderProps,SpinProps,SwitchProps,TagProps,TooltipProps, andTypographyProps(type‑only, no runtime change). - CodeEditor – added a
languageprop. AnExtensionreplaces the built‑in JS/TS/JSX mode; passingnullrenders plain text. Omitted, the editor behaves as before. - Deep‑import subpaths – 30 components now have dedicated subpaths (e.g.,
import Modal from '@jbpark/ui-kit/Modal'). Each subpath exposes only a default export, matching existing patterns. - Space – added a
justifyprop for main‑axis placement (start,end,center,space-between,space-around,space-evenly) in both horizontal and vertical layouts, and astretchoption foralign. Defaults remain unchanged. - Toast – new
placementoptions (top-start,top,top-end,bottom-start,bottom,bottom-end), update‑by‑ID, loading status, visible‑toast limit, andToast.config({ maxCount, placement, duration }). Toasts beyondmaxCountare queued instead of dropped.onClosenow runs at most once per toast, and toasts fit narrow screens.
Dependency Update
- Updated
@jbpark/use-hooksto 4.6.0. Tour now tracks its step target withuseElementPosition(no listeners or observers while closed), and Mentions andLayout.Siderread their latest callbacks throughuseLatest. Behavior is unchanged.
What's Changed
- refactor(ui): adopt use-hooks 4.6 for tour target tracking and latest callbacks by @pjb0811 in #530
- ci: run Storybook stories and play functions in CI by @pjb0811 in #533
- chore(deps): update dependency @tsdown/css to v0.23.1 by @renovate[bot] in #520
- chore(deps): update dependency prettier to v3.9.10 by @renovate[bot] in #521
- docs: point CLAUDE.md at the shared global instructions by @pjb0811 in #535
- feat(space): add main-axis justify and stretch alignment by @pjb0811 in #536
- feat(toggle-group): add independently pressed action button groups by @pjb0811 in #537
- feat(toast): add placement, update by id, loading status, and max visible toasts by @pjb0811 in #540
- docs: align CLAUDE.md component template and core list with the code by @pjb0811 in #547
- feat(ui): export the props types of 18 atoms from the root entry by @pjb0811 in #548
- refactor(ui): move Empty to molecules so Table no longer imports a higher tier by @pjb0811 in #549
- docs(web): add Tooltip and Tabs pages and fail when a component has no page by @pjb0811 in #550
- feat(ui): add deep-import subpaths for the 30 components that lacked one by @pjb0811 in #551
- docs(ui): list every component and export in the package README by @pjb0811 in #552
- feat(ui): add a language prop to CodeEditor by @pjb0811 in #553
- chore: version packages by @github-actions[bot] in #531
Full Changelog: v10.3.0...v10.4.0