Releases: channel-io/bezier-react
Release list
@channel.io/stylelint-bezier@0.4.0-next.5
Patch Changes
- Updated dependencies
- @channel.io/bezier-tokens@1.0.0-next.4
@channel.io/bezier-tokens@1.0.0-next.4
Patch Changes
-
Update beta state tokens and state ring styling. (#2859) by @timok1m
- Add beta
state.default,state.active, andstate.warningshadow tokens for input state styling, and keep the previousstate.input.*tokens as deprecated aliases. - Add beta typography
labelandcaptiontokens, and addxx*typography aliases while deprecating the previous2x*names. - Replace beta input state mixins with direct state token usage.
- Rename beta non-input ring mixins to
focus-ringanderror-ring, and use outline-based rings. - Update the Foundation color Storybook page ordering, swatch sizing, and text readability.
- Add beta
@channel.io/bezier-react@4.0.0-next.8
Patch Changes
-
Refine beta component interfaces. (#2862) by @timok1m
- Add native anchor support to beta Button and IconButton while keeping custom
aswrappers available. - Remove per-toast
zIndexand keep stacking control on ToastProvider. - Share leading/trailing content prop typing across beta components.
- Keep AlphaDialogPrimitive available without legacy deprecation warnings.
- Add native anchor support to beta Button and IconButton while keeping custom
@channel.io/bezier-react@4.0.0-next.7
@channel.io/bezier-react@4.0.0-next.6
Patch Changes
-
Rename the next-generation component subpath and source directory from v3 to beta. (#2857) by @timok1m
-
Update beta state tokens and state ring styling. (#2859) by @timok1m
- Add beta
state.default,state.active, andstate.warningshadow tokens for input state styling, and keep the previousstate.input.*tokens as deprecated aliases. - Add beta typography
labelandcaptiontokens, and addxx*typography aliases while deprecating the previous2x*names. - Replace beta input state mixins with direct state token usage.
- Rename beta non-input ring mixins to
focus-ringanderror-ring, and use outline-based rings. - Update the Foundation color Storybook page ordering, swatch sizing, and text readability.
- Add beta
-
Mark v1 and v2 component/token exports and Storybook entries as deprecated. (#2858) by @timok1m
-
Refine v3 tooltip, menu, select, and item row APIs. (#2855) by @timok1m
Tooltip now defaults to
top-centerplacement and renders description above content.Helpfollows the Tooltip default placement unless a placement is explicitly provided.DropdownMenu item rows are fixed to the design-system medium item size. Select and MultiSelect option rows are also fixed to medium, while their root
sizeprop has been replaced withtriggerSizeto describe the default trigger size explicitly.String descriptions in BaseItem and SectionItem no longer apply multiline truncation by default.
-
Updated dependencies
- @channel.io/bezier-tokens@1.0.0-next.4
@channel.io/stylelint-bezier@0.4.0-next.4
@channel.io/stylelint-bezier@0.4.0-next.3
Minor Changes
Patch Changes
-
Add shared state color tokens and improve v3 state styling. (#2849) by @timok1m
- Add semantic state color tokens and surface deprecated token warnings through
stylelint-bezier. - Add shared v3 state ring mixins and apply them to input and non-input control
states. - Remove the v3
Tooltipicon prop, tighten Tooltip spacing, and update its
radius. - Rename the v3 row foundation component from
ItemBasetoBaseItemand
update its DropdownMenu and Select usages. - Fix v3
CollapsibleSectiontrigger chevron behavior, keep trigger trailing
content at the right edge, and add Section / CollapsibleSection rich label
stories for leading, help, and trailing content. - Update the v3
Helptooltip default placement. - Improve dark mode colors for v3 radio, switch, slider, and progress bar
controls.
- Add semantic state color tokens and surface deprecated token warnings through
-
Updated dependencies
- @channel.io/bezier-tokens@1.0.0-next.3
@channel.io/bezier-tokens@1.0.0-next.3
Patch Changes
-
Add shared state color tokens and improve v3 state styling. (#2849) by @timok1m
- Add semantic state color tokens and surface deprecated token warnings through
stylelint-bezier. - Add shared v3 state ring mixins and apply them to input and non-input control
states. - Remove the v3
Tooltipicon prop, tighten Tooltip spacing, and update its
radius. - Rename the v3 row foundation component from
ItemBasetoBaseItemand
update its DropdownMenu and Select usages. - Fix v3
CollapsibleSectiontrigger chevron behavior, keep trigger trailing
content at the right edge, and add Section / CollapsibleSection rich label
stories for leading, help, and trailing content. - Update the v3
Helptooltip default placement. - Improve dark mode colors for v3 radio, switch, slider, and progress bar
controls.
- Add semantic state color tokens and surface deprecated token warnings through
-
Add a dark theme CSS variable fallback for system dark mode before
data-bezier-themeis set. (#2845) by @timok1m
@channel.io/bezier-react@4.0.0-next.5
Minor Changes
-
Add v3
DropdownMenu, v3Overlay, and an internal shared v3 item foundation. (#2841) by @timok1mDropdownMenuprovides an action menu surface with optionalDropdownMenuTrigger, controlledshow/targetusage,DropdownMenuItem,DropdownMenuSeparator, and submenu composition throughDropdownMenuSub,DropdownMenuSubTrigger, andDropdownMenuSubContent.DropdownMenuItemusescontentfor the primary label/content andonSelectfor action handling so pointer and keyboard selection follow the same path. The v3 API also usesoffsetfor trigger-to-menu spacing, defaultskeepInContainertotrue, supportsleadingContent/trailingContent, and keeps lower-level overlay controls such aszIndex,containerStyle,enableClickOutside, andwithTransitionout of the first public DropdownMenu API.OverlayandDropdownMenutargets can also be virtual positioning targets, which is useful when a menu needs to be positioned from an event-derived point rather than a concrete HTMLElement. -
Add v3
FormandSettingscomponents. (#2850) by @timok1mFormrenders a native form element and owns the layout rhythm betweenFormFieldchildren, including default dividers.Settingsprovides independently saved setting rows throughSettingsField, with label, description, help, and child control slots. -
Add v3 interactive primitive components:
Checkbox,Button, andIconButton. (#2833) by @timok1mBaseButtonis added as an internal foundation for v3 button-like components, with reset styles, defaulttype="button", and v3 focus-visible styling.Checkboxprovides the v3 checkbox API with a fixed medium size, form-field integration, and beta-token-based visual states. The error state draws an outer ring so the checkbox content area is not visually reduced.Buttonadds v3filled,outlined, andghostvariants withprimary,secondary, anddestructivesemantics, label, leading/trailing content, active and loading states, and beta-token-based colors. Loading spinners follow the label color.IconButtonadds the icon-only v3 button API with the same variant and semantic model asButton, accessible-name support through native button props, and loading states.Spinnernow uses border-box sizing so each size maps to its visual bounding box, updatesxlto 48px, and aligns stroke widths to the v3 design. -
Add v3
Toast. (#2844) by @timok1mThe v3 toast keeps the existing provider and hook workflow while narrowing the
semantic preset surface toinfo,success, anderror. Presets now control
the fixed icon color, andiconremains available only as an icon-shape
override.The visual treatment now follows v3 tokens with
color/fill/grey/heavier,
elevation-2, 16px radius, fit-content width, 88px minimum width, and 460px
maximum width. -
Add v3 Select and MultiSelect components, and extend DropdownMenu with grouped items. (#2847) by @timok1m
-
Add the v3
Modal,ConfirmModal, andButtonGroupcomponents. (#2838) by @timok1m -
Add v3 composite components:
TabsandBanner. (#2836) by @timok1mTabssupportssandmsizes from the rootTabscomponent, optional leading and trailing content onTabItem, right-alignedTabActions, and truncated tab labels.Bannerkeeps the existing color-based variant API except for the removedaltvariant, renames the leading icon prop toleadingIcon, and renders action icons with v3IconButtonstyling so the action icon follows the variant icon color.Improve v3
Checkboxstate styling with shared state mixins, an outer error ring, keyboard-toggle story coverage, and inverse icon color for checked and indeterminate states. -
Add v3
SectionandCollapsibleSectioncomponents. (#2842) by @timok1mSectionprovides the static grouped-list surface withSectionLabelandSectionItem, replacing the general-purpose role previously covered byListItemand standaloneSectionLabel.CollapsibleSectionadds a purpose-built disclosure section built on an internalCollapsibleprimitive, with a label-style trigger andSectionItem-compatible content. -
Add v3 composite components:
Avatar,AvatarGroup,Badge,Status, and supportingBaseTagBadge. (#2832) by @timok1mNotable v3 differences:
AvatarandAvatarGroupuse v3 primitives internally and beta semantic tokens.Avatarstatus values useonline-dndandoffline-dnd.Badgevariants useneutral-lightandneutral-darknaming.
-
Add v3 input components:
TextInput,Search, andTextArea. (#2835) by @timok1mBaseTextInputis added as an internal foundation for single-line v3 input components, with generated IDs, IME key handling, native input props, and v3 focus/error styling.TextInputadds the v3 single-line text input API with form-field integration,primaryandsecondaryvariants,mandlsizes, leading/trailing content slots, and native text input attributes.Searchadds a strict v3 search input with a fixed leading search icon and optional clear button behavior. It does not consume form-field context.TextAreakeeps the existing autosizing row API while aligning focus, error, readonly, disabled, and form-field behavior with the v3 input styling. -
Add v3 Slider and ProgressBar components. (#2848) by @timok1m
-
Add v3 form field components:
FormField,FormLabel,FormHelperText,FormErrorMessage,FormGroup, andHelp. (#2837) by @timok1mFormFieldreplaces the v3 form-field role previously handled byFormControl, withmandlsizes, label/helper/error accessibility wiring, grouped control support, and flat exports under the v3 subpath.Helpkeeps the existing tooltip-based behavior while using v3 icon styling and the v3 hover icon color.
Patch Changes
-
Update v3 Overlay auto-update handling and align v3 Spinner source size options. (#2851) by @timok1m
Overlaynow keeps position updates in an internal hook that watches resize, scroll, target resize, floating element resize, and container resize.Spinnernow uses source-size values from the v3 design spec:10,12,16,20,24,30,36,42, and48. -
Add the v3
SegmentedControlcomponents. (#2840) by @timok1mThe v3 API keeps the existing
value,defaultValue,onValueChange, and
radiogroup/tabscomposition model, while aligning the item content model
with other v3 controls:SegmentedControlItemnow supportsleadingContentandtrailingContent.- Icon-only items are expressed with the
iconprop and requirearia-label. - Label item children are treated as the visible string label instead of a
custom layout slot. - Supported sizes are narrowed to
sandm.
Also align v3 Tabs focus-visible styling with the shared
state.focusstyle. -
Add v3
Tooltip,RadioGroup, andSwitchcomponents. (#2843) by @timok1mTooltipkeeps the existing trigger-as-children and content-as-prop API while
aligning the visual treatment with v3 tokens. The v3Helpcomponent now uses
this v3Tooltipinternally.RadioGroupkeeps the existingvalue,defaultValue,onValueChange, and
Radiocomposition model, uses the internal v3 stack layout, and defaults item
spacing by direction: 0 for vertical groups and 20 for horizontal groups.Switchkeeps the existing checked-state API, adds optional inline label
content throughchildren, and follows the single-size v3 form control policy. -
Add shared state color tokens and improve v3 state styling. (#2849) by @timok1m
- Add semantic state color tokens and surface deprecated token warnings through
stylelint-bezier. - Add shared v3 state ring mixins and apply them to input and non-input control
states. - Remove the v3
Tooltipicon prop, tighten Tooltip spacing, and update its
radius. - Rename the v3 row foundation component from
ItemBasetoBaseItemand
update its DropdownMenu and Select usages. - Fix v3
CollapsibleSectiontrigger chevron behavior, keep trigger trailing
content at the right edge, and add Section / CollapsibleSection rich label
stories for leading, help, and trailing content. - Update the v3
Helptooltip default placement. - Improve dark mode colors for v3 radio, switch, slider, and progress bar
controls.
- Add semantic state color tokens and surface deprecated token warnings through
-
Update v3 secondary filled Button and IconButton background tokens. (#2836) by @timok1m
-
Updated dependencies
- @channel.io/bezier-tokens@1.0.0-next.3
@channel.io/bezier-react@4.0.0-next.4
Minor Changes
-
Add v3 atomic primitive components:
Box,Divider,Spinner,Text,HStack,VStack,Icon, andSmoothCornersBox. (#2830) by @timok1mBox,HStack, andVStackuse v3 layout and margin props with beta-only token support for visual props.Spinnerkeeps the existing size API, defaults to an accessible loading status, accepts beta semantic colors through v3 color props, and no longer shrinks inside flex layouts.Textkeeps the existing typography API while using beta text semantic colors and global typography font-weight tokens. Itsboldstyle maps to the600font-weight token.Iconuses beta semantic color tokens and string pixel size values ("10","12","16","20","24","36","44") to align withAvatarSizeandEmojiSize. It defaults tosize="24"andcolor="icon-neutral".SmoothCornersBoxkeeps the existing smooth-corners behavior and feature flag integration while narrowing color-related props to beta semantic color tokens for v3.