Core
@vapor-ui/core 패키지의 릴리즈 노트입니다.@vapor-ui/core
1.7.1
Button
- Align
Buttonwith Figma: secondary and contrastoutline/ghostlabels now useforeground.normalandforeground.contrast, and icons are sized persize(sm/md 16px, lg 20px, xl 24px). An icon's ownsizeprop no longer changes its size insideButton. (#814) - Thanks @MaxLee-dev!
Core
-
fix
Checkbox.RootclassName,style, andrendercallbacks not receiving Base UI state (checked,disabled, etc.) (#778) - Thanks @MaxLee-dev!fix
NavigationMenu.Linkcallbacks receiving Base UIactive, whichNavigationMenu.Link.Statedoes not declare (usecurrent)
Sprinkles
-
fix
$cssside and axis border shorthands (borderBottom,borderTop,borderInline, etc.) overridingborderColorand drawing the border incurrentColor(#833) - Thanks @MaxLee-dev!When a side or axis shorthand is set under the same condition as
borderColor,borderStyle,borderWidth, or their axis forms (borderBlockColor,borderInlineStyle, and so on), the latter now wins, even if the shorthand also sets that value.
Website
- Restore demo source code in the bundled
docs/**/*.md. Since 1.7.0, pages showed a bare<Demo file="..." />tag instead of the example code. (#806) - Thanks @MaxLee-dev!
Updated Dependencies
- @vapor-ui/icons@1.3.3
1.7.0
Alert Dialog
- align AlertDialog popup width with design (28.75rem) (#767) - Thanks @noahchoii!
Avatar
- keep
Avatarfallback color stable across re-renders and SSR hydration whenaltis empty (#777) - Thanks @MaxLee-dev!
Breadcrumb
-
removed
sizefromBreadcrumb.Item/Breadcrumb.LinkPrimitiveprops.Action required: remove
sizefrom anyBreadcrumb.Item/Breadcrumb.LinkPrimitiveand set it onBreadcrumb.Rootinstead. Passing it there is now a type error. (#763) - Thanks @MaxLee-dev!
Collapsible
- refactor(collapsible): use
BaseCollapsible.Trigger.StateforCollapsibleTrigger.State(#750) - Thanks @MaxLee-dev!
Field
- add Field.RequiredSymbol (#755) - Thanks @noahchoii!
Menu
- Add
Menu.SubmenuTriggerprimitive for nested menu triggers. And retune css values. (#728) - Thanks @noahchoii!
Pagination
- remove unused internal
PaginationButtonandPaginationEllipsistype namespaces (#784) - Thanks @MaxLee-dev!
Radio Group
- add RadioGroup.RequiredSymbol (#754) - Thanks @noahchoii!
Etc.
-
keep the arrow pointing at the trigger when the popup shifts (#774) - Thanks @MaxLee-dev!
-
Document every public component and prop with JSDoc so their descriptions reach the props tables and type hints. (#769) - Thanks @MaxLee-dev!
-
infer state in
styleandrendercallbacks instead ofany(#751) - Thanks @MaxLee-dev! -
Ship the documentation in the package: every docs page (prose, demo code and props tables) is included as markdown under
@vapor-ui/core/docs/, for exampledocs/components/button.md. (#766) - Thanks @MaxLee-dev! -
re-export the public API of single-component barrels by name instead of
export *(no public API change) (#787) - Thanks @MaxLee-dev! -
remove
useAutoResizeand type-only exports that leaked throughexport *(#787) - Thanks @MaxLee-dev!TextInputProps→TextInput.PropsTextareaFieldProps,TextareaState→Textarea.Props,Textarea.StateThemeProviderProps,ThemeConfig→ComponentProps<typeof ThemeProvider>ThemeScopeProps→ComponentProps<typeof ThemeScope>UseThemeProps,UseThemeReturn→ReturnType<typeof useTheme>useAutoResize,AutoResizeOptionshave no replacement (internal toTextarea)
-
remove unused internal
ToggleGroupProvideranduseToggleGroupContextexports (#787) - Thanks @MaxLee-dev!
Updated Dependencies
- @vapor-ui/icons@1.3.2
1.6.0
General changes
-
align component backgrounds with the canvas token hierarchy and expose
bg-canvas-inversein sprinkles (#698) - Thanks @MaxLee-dev! -
Extract shared arrow positioning logic from
NavigationMenu,Popover, andTooltipinto auseArrowPositionhook. Also bump the defaultsideOffsetof these three primitives from8to10. (#758) - Thanks @noahchoii! -
add data-slots for all components (#703) - Thanks @noahchoii!
-
apply
canvas-inversetokens to the tooltip/toast component. (#696) - Thanks @noahchoii!
Alertdialog
-
add new
AlertDialogcomponents (#704) - Thanks @noahchoii! -
add AlertDialog.Header (#725) - Thanks @noahchoii!
Avatar
- update
@base-ui/reactto 1.8.0 — supportkeepMountedonAvatarwith stacked image/fallback styles, accept functional updater in Toastupdate(#729) - Thanks @renovate!
Button
- apply the light interaction layer to the
ghostvariant ofButtonandIconButtonto match the design (#747) - Thanks @MaxLee-dev!
Dialog
- align
Dialogheader/body/footer padding with design — remove the fixedDialog.Headerheight (56px) and use padding instead (top 24 / Header→Body 20 / Body→Footer 20 / bottom 24). Vertical spacing of existing dialogs will change. (#760) - Thanks @MaxLee-dev!
Meter
- add new
Metercomponent (#700) - Thanks @MaxLee-dev!
Progressbar
- add new
ProgressBarcomponent (#702) - Thanks @MaxLee-dev!
Radio Group
- add RadioGroup.RequiredSymbol (#753) - Thanks @noahchoii!
Spinner
- respect
prefers-reduced-motionand hide decorative svg from assistive technology (#689) - Thanks @MaxLee-dev!
Typography
- fix the code font family name to
"Fira Code"and apply it to thecode1/code2typography styles (#748) - Thanks @MaxLee-dev!
Updated Dependencies
- @vapor-ui/icons@1.3.1
1.5.1
Css
- migrate V2 foundations (#690) - Thanks @noahchoii!
1.5.0
Css
- Breaking Change: inverse color tokens have been changed. In light mode, inverse is dark, in dark mode, inverse is light. (#644) - Thanks @noahchoii!
Toggle
-
add new
ToggleGroupcomponent (#628) - Thanks @noahchoii! -
add new
Togglecomponent (#628) - Thanks @noahchoii!
Toolbar
- add new
Toolbarcomponent (#643) - Thanks @noahchoii!
1.4.0
Sheet
- Add
Sheet.ResizeHandlefor edge drag-and-keyboard resizing. (#634) - Thanks @MaxLee-dev!
Checkbox
- propagate
invalidstate to indicator element (#618) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/icons@1.2.1
1.3.0
Avatar
-
fix double rendering
FallbackPrimitive(#556) - Thanks @MaxLee-dev! -
deprecate
imageElement/fallbackElementprops (#556) - Thanks @MaxLee-dev!
Spinner
- add new
Spinnercomponent (#567) - Thanks @noahchoii!
Segmented Control
- add new
SegmentedControlcomponent (#569) - Thanks @noahchoii!
1.2.1
Menu
- correct
gapscale of list components (#553) - Thanks @noahchoii!
Select
- correct
gapscale of list components (#553) - Thanks @noahchoii!
MultiSelect
- correct
gapscale of list components (#553) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/icons@1.2.0
1.2.0
All
-
add
forwardReftoPortalelements (#499) - Thanks @noahchoii! -
support for functional className and style prop across all components (#517) - Thanks @noahchoii!
-
implemente interaction layer corners using
box-shadowand add animations toCheckbox, `Radio (#515) - Thanks @noahchoii! -
adjust dark
background.hint.100to improve surface hierarchy on overlay backgrounds (#518) - Thanks @MaxLee-dev! -
remove css all property (#493) - Thanks @noahchoii!
-
remove duplication from deprecated sprinkles (#494) - Thanks @noahchoii!
-
split sprinkles className and hash with
-(#495) - Thanks @noahchoii! -
bump @base-ui/react v1.2.0 (#497) - Thanks @noahchoii!
-
bump @base-ui/react version v1.3.0 (#519) - Thanks @vapor-ui!
Button
- add
@base-ui/reactheadless to theButtoncomponent (#501) - Thanks @noahchoii!
Checkbox
- fix: improve checkbox border styles and interaction overlay sizing (#354) - Thanks @MaxLee-dev!
Select
-
set the width and height of the
Select.TriggerIcon's SVG to 100%. (#504) - Thanks @noahchoii! -
deprecate
Select.PlaceholderPrimitivecomponent. Usedata-placeholderfor custom styling. (#500) - Thanks @noahchoii!
Switch
- composite missing
classNameprop (#498) - Thanks @noahchoii!
Toast
- respect the user's reduced motion preference in toast animations (#525) - Thanks @MaxLee-dev!
Etc.
- add
:activepseudo-selector to utility CSS properties (#535) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/icons@1.1.0
1.1.0
General changes
- expand utility props and scoping it
$css(#476) - Thanks @noahchoii!
Etc.
- Change
useMutationObserverhook to use only ref (#332) - Thanks @SimYunSup!
Skeleton
- Add new
Skeletoncomponent (#481) - Thanks @MaxLee-dev!
Updated Dependencies
- @vapor-ui/icons@1.0.1
1.0.0
Checkbox / Switch / Radio
- Breaking Change: Root element changed from
HTMLButtonElementtoHTMLSpanElement(#453) - Thanks @ZeroChoi2781!
Dialog
-
fix(dialog): correct ReactElement type parameters in DialogPopup props (#438) - Thanks @MaxLee-dev!
Fixed incorrect type parameters for
portalElementandoverlayElementinDialogPopup.Propsfromtypeof ComponenttoComponent.Props.
Field
-
Breaking Change:
validationModedefault changed fromonBlurtoonSubmit(#453) - Thanks @ZeroChoi2781! -
New Feature:
Field.Item: New component added for improved accessibility when using Checkbox, Radio, Switch with Field (#453) - Thanks @ZeroChoi2781!
FloatingBar
-
feat(FloatingBar): export
EventDetailstype (#437) - Thanks @MaxLee-dev!Export
ChangeEventDetailstype fromFloatingBarRootnamespace for docs-extractor compatibility.
Form
- Breaking Change:
onClearErrorsprop removed (now auto-handled internally) (#453) - Thanks @ZeroChoi2781!
Menu
- Breaking Change:
openOnHover,delay,closeDelayprops moved fromMenu.RoottoMenu.Trigger(#453) - Thanks @ZeroChoi2781!
NavigationMenu
-
Breaking Change:
Link:selectedprop renamed tocurrent(for Breadcrumb API consistency) (#453) - Thanks @ZeroChoi2781! -
Breaking Change:
data-selectedattribute changed todata-active(#453) - Thanks @ZeroChoi2781!
Popover
- Breaking Change:
openOnHover,delay,closeDelayprops moved fromPopover.RoottoPopover.Trigger(#453) - Thanks @ZeroChoi2781!
Radio Card
- removed the size prop from the RadioCard component and simplified its styling by removing typography mixins (#442) - Thanks @ZeroChoi2781!
Tabs
-
fix(tabs): correct indicator position when list has padding (#434) - Thanks @MaxLee-dev!
Fix indicator positioning issue when Tabs.List has padding-inline (horizontal) or padding-block (vertical). The indicator now correctly positions itself by explicitly setting
left: 0(horizontal) ortop: 0(vertical), ensuring it uses only the CSS variables for positioning regardless of padding. -
Breaking Change:
Tabs.Root:loopprop renamed toloopFocus(#453) - Thanks @ZeroChoi2781! -
Breaking Change:
activateOnFocusdefault changed fromtruetofalse(#453) - Thanks @ZeroChoi2781! -
Breaking Change:
data-selectedattribute changed todata-active(#453) - Thanks @ZeroChoi2781!
Tooltip
-
Breaking Change:
Tooltip.Root:hoverableprop renamed todisableHoverablePopup(logic inverted) (#453) - Thanks @ZeroChoi2781! -
Breaking Change:
delay,closeDelayprops moved fromTooltip.RoottoTooltip.Trigger(#453) - Thanks @ZeroChoi2781!
Etc.
-
Migrate to Base UI v1.1.0 (#453) - Thanks @ZeroChoi2781!
-
Updated internal utilities to use official @base-ui/utils package (v0.2.4) (#443) - Thanks @ZeroChoi2781!
-
fix: prevent passing props to Fragment in
createRender(#403) - Thanks @MaxLee-dev!Fixed React warning
Invalid prop 'ref' supplied to 'React.Fragment'by wrapping Fragment returns in a render callback to avoidcloneElementprops merging.
Updated Dependencies
- @vapor-ui/icons@1.0.0
1.0.0-beta.12
Button
- Update secondary button fill variant text color to use foreground.secondary[200] for improved contrast (#427) - Thanks @MaxLee-dev!
Dialog
- adjust to max-width in dialog (#394) - Thanks @noahchoii!
Field
- feat(field): add typography and foreground props to Field.Label (#399) - Thanks @MaxLee-dev!
Floatingbar
-
add new
FloatingBarcomponent (#359) - Thanks @noahchoii! -
clone elements & enhance customizability (#359) - Thanks @noahchoii!
Tabs
- Refactor Tabs component structure for better customization (#429) - Thanks @ZeroChoi2781!
- Changed
Tabs.TriggertoTabs.Buttonfor clearer semantics - Extracted
Tabs.ListPrimitiveandTabs.IndicatorPrimitivefor enhanced customization - Added fill and line variant support with updated styles
- Updated type definitions and utility props for better developer experience
- Changed
Updated Dependencies
- @vapor-ui/icons@1.0.0-beta.7
1.0.0-beta.11
Text Input
Etc.
- clone elements & enhance customizability (#359) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/hooks@1.0.0-beta.6
- @vapor-ui/icons@1.0.0-beta.6
1.0.0-beta.10
Toast
- avoid overflowing when toast width is wider than view port width (#390) - Thanks @noahchoii!
1.0.0-beta.9
Toast
- remove toastManager (#383) - Thanks @noahchoii!
1.0.0-beta.8
Toast
- add new
Toastcomponent (#376) - Thanks @noahchoii!
1.0.0-beta.7
Menu
-
Updated Menu.Item paddingRight from 6px to 12px to match Figma design specification (#325) - Thanks @agetbase!
-
Correct MenuPositionerPrimitive sideOffset from 8px to 4px to match Figma spec (#342) - Thanks @agetbase!
Pagination
- add new
Paginationcomponent (#329) - Thanks @noahchoii!
Table
- add new
Tablecomponent (#294) - Thanks @noahchoii!
Etc.
-
synchronized color tokens with figma (#340) - Thanks @noahchoii!
-
BREAKING CHANGE: Remove
stretchprop from Button, IconButton, and NavigationMenu components (#368) - Thanks @ZeroChoi2781!The
stretchprop has been removed to align with Figma's component variant system. In Figma, width control is handled via "Fill Container" (Auto Layout), not as a component variant.Migration Guide:
Replace
stretchprop with Tailwind'sw-fullutility class:// Before <Button stretch>Submit</Button> <NavigationMenu stretch>...</NavigationMenu> // After <Button className="w-full">Submit</Button> <NavigationMenu className="w-full">...</NavigationMenu>Why this change:
- Maintains Figma-React design system parity (SSOT principle)
- Follows "React Props = Figma Variants" architectural principle
- Aligns with Vapor UI's 4-layer component architecture (Container, Interaction, Contents, Slot)
- Layout concerns should be handled by parent containers, not component props
1.0.0-beta.6
It contains the same code as the previous version. Please refer to that version.
1.0.0-beta.5
Button
Checkbox
- fix checkbox borderRadius sync error (#267) - Thanks @SimYunSup!
Field
- add default layout styles to field.label (#289) - Thanks @noahchoii!
Form
- add new
Formcomponent (#256) - Thanks @noahchoii!
Icon Button
- Fixed a CSS dependency order issue where
IconButtonstyles loaded beforeButtonstyles, causing incorrect style inheritance.
Radio
- adjust indicator size to account for border (#291) - Thanks @SimYunSup!
Radio Card
- add new component
RadioCard(#284) - Thanks @ZeroChoi2781!
Radio Group
-
synchronize the aria-labelledby with the recieved id prop (#327) - Thanks @noahchoii!
-
replace layout styles into layout component like VStack, HStack (#288) - Thanks @ZeroChoi2781!
Text Input
- add component layer (#253) - Thanks @ZeroChoi2781!
Theme
- add ThemeScope component and migrate to data-attribute based theming (#278) - Thanks @ZeroChoi2781!
Theme Provider
- remove ThemeScript and simplify ThemeProvider (#240) - Thanks @ZeroChoi2781!
Etc.
-
enabled CSS tree shaking (#298) - Thanks @ZeroChoi2781!
- Component CSS is now automatically imported by each component file.
-
add white foreground variant to foreground recipe (#305) - Thanks @MaxLee-dev!
-
export component with namespace (#276) - Thanks @noahchoii!
-
migrate to base-ui beta v4 (#292) - Thanks @noahchoii!
-
change components interface (#360) - Thanks @noahchoii!
-
missing component exports in entry file (#248) - Thanks @noahchoii!
-
add uilitiy css props (#326) - Thanks @noahchoii!
-
rename
CombinedContenttoContent(#247) - Thanks @noahchoii! -
unify cascade layers under
vapornamespace (#334) - Thanks @noahchoii! -
standardize state attributes for form components (#282) - Thanks @noahchoii!
-
feat: rename color tokens (#261) - Thanks @ZeroChoi2781!
-
prevent loading font while building CSS (#265) - Thanks @ZeroChoi2781!
-
correct background color of interaction layer in dark mode (#335) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/icons@1.0.0-beta.5
0.6.0
Callout
- add flex layout for icons and text alignment (#181) - Thanks @MaxLee-dev!
Collapsible
- add new
Collapsiblecomponent (#197) - Thanks @noahchoii!
Field
- add new
Fieldcomponents (#224) - Thanks @MaxLee-dev!
Input Group
- add new
InputGroupcomponent (#230) - Thanks @MaxLee-dev!
Multi Select
- add new
MultiSelectcomponent (#225) - Thanks @noahchoii!
Navigation Menu
- Migrate
NavtoNavigationMenu(#211) - Thanks @noahchoii!
Popover
- add new
Popovercomponent (#156) - Thanks @noahchoii!
Select
- add new
Selectcomponent (#222) - Thanks @noahchoii!
Sheet
-
add new
Sheetcomponent (#187) - Thanks @noahchoii! -
edit spacing style implementation (#238) - Thanks @noahchoii!
Tabs
- add new
Tabscomponent (#157) - Thanks @noahchoii!
Textarea
- Add new
Textareacomponent (#209) - Thanks @MaxLee-dev!
Tooltip
- eidt tooltip offset (#212) - Thanks @noahchoii!
Etc.
-
change the overlay component interface (#195) - Thanks @noahchoii!
-
remove
Labelsub-component from all form elements (#204) - Thanks @noahchoii! -
migrate to
Base UI(#186) - Thanks @noahchoii! -
support readonly props in all of form elements (#208) - Thanks @MaxLee-dev!
-
fix svg rendering issue on safari (#237) - Thanks @noahchoii!
-
remove active style when provided readonly (#246) - Thanks @noahchoii!
-
ensure focus styles take precedence over hover styles (#200) - Thanks @noahchoii!
Updated Dependencies
- @vapor-ui/icons@0.4.0
0.5.0
Avatar
- align CSS variable with build identifiers config (#176) - Thanks @MaxLee-dev!
Breadcrumb
- add new
Breadcrumbcomponent (#151) - Thanks @noahchoii!
Button
Menu
- add new
Menucomponent (#147) - Thanks @noahchoii!
Radio Group
- add background-color(white) to RadioGroup Indicator (#146) - Thanks @MaxLee-dev!
Tooltip
- add new
Tooltipcomponent (#150) - Thanks @noahchoii!
Etc.
-
enhance vanillaExtractPlugin identifiers (#161) - Thanks @noahchoii!
-
remove hover state when used touchscreen (#158) - Thanks @noahchoii!
-
add
VComponentProps(#168) - Thanks @noahchoii! -
add
box-shadowtokens (#143) - Thanks @noahchoii! -
enhance vanillaExtractPlugin identifiers for better debugging (#149) - Thanks @MaxLee-dev!
Updated Dependencies
- @vapor-ui/icons@1.0.0
0.4.0
Badge
- align text to center (#137) - Thanks @ZeroChoi2781!
Radio Group
- remove incorrectly injected props (#125) - Thanks @noahchoii!
Etc.
-
change CSS layer names to
theme,reset,components, andutilities(#138) - Thanks @ZeroChoi2781! -
add Tailwind CSS v4 preset (#98) - Thanks @ZeroChoi2781!
-
improve DX by overhauling CSS bundling strategy (#121) - Thanks @ZeroChoi2781!
-
add foreground mixin to style entry point (#142) - Thanks @ZeroChoi2781!
Updated Dependencies
- @vapor-ui/icons@0.2.0
0.3.1
Theme Provider
- add
primaryColorprops for user custom (#87) - Thanks @ZeroChoi2781!
0.3.0
Etc.
-
remove sprinkles on each components (#88) - Thanks @noahchoii!
-
correct CSS layer priority (#94) - Thanks @ZeroChoi2781!
0.2.1
Theme Provider
- support RSC (#82) - Thanks @ZeroChoi2781!
0.2.0
Callout
- add new
Calloutcomponent (#67) - Thanks @noahchoii!
Checkbox
- add new
CheckboxComponent (#58) - Thanks @noahchoii!
Dialog
- edit dialog animation style (#72) - Thanks @noahchoii!
Radio Group
- add new
RadioGroupcomponent (#76) - Thanks @noahchoii!
Switch
- add new
Switchcomponent - Thanks @noahchoii!
Etc.
-
remove
@vapor-ui/iconsfor resolving storybook build error (#57) - Thanks @noahchoii! -
prevent code splitting while tsup build (#81) - Thanks @ZeroChoi2781!
-
resolve circular dependency in vanilla-extract (#73) - Thanks @ZeroChoi2781!
-
optimize build system for component bundling (#73) - Thanks @ZeroChoi2781!
0.1.0
Etc.
- create package (#48) - Thanks @ZeroChoi2781!