Releases: huntabyte/bits-ui
bits-ui@2.2.0
bits-ui@2.1.0
(Had to publish 2.1.0 instead of 2.0.0 as someone published 2.0.x to NPM many years ago)
Major Changes
-
breaking: bump minimum Svelte peer dependency to
^5.33.0
to support Attachments and $props.id(). (#1494) -
breaking:
@internationalized/date
is now a required peer dependency. (#1494)
Minor Changes
-
feat(Slider): add
Slider.ThumbLabel
for rendering a label positioned relative to aSlider.Thumb
. (#1494) -
feat(Slider): add
Slider.TickLabel
for rendering a label positioned relative to aSlider.Tick
. (#1494) -
feat(Slider): support discrete step values via
steps
:number[] | number
onSlider.Root
. If an array is passed, it defines the selectable values directly, andmin
/max
default to the array's bounds. (#1494) -
feat: add
TimeField
component for time input with segmented control and full keyboard support. (#1494) -
feat(Slider): introduce the
tickItems
snippet prop onSlider.Root
as a replacement for the now-deprecatedticks
, enabling a more flexible API that better supports renderingTickLabels
. PrefertickItems
going forward. (#1494) -
feat: add
TimeRangeField
component for selecting a start and end time. (#1494) -
feat(Slider): introduce the
thumbItems
snippet prop onSlider.Root
as a replacement for the now-deprecatedthumbs
, enabling a more flexible API that better supports renderingThumbLabels
. PreferthumbItems
going forward. (#1494) -
feat(Slider): add
trackPadding
prop toSlider.Root
as an SSR-friendly alternative tothumbPositioning="contain"
, which requires client-side measurement. (#1494)
Patch Changes
- fix(Button): add missing fallback to
null
forref
prop to align with other components. (#1494)
bits-ui@1.8.0
Minor Changes
- feat(Slider):
thumbPositioning
for more granular control of thumb positioning (#1470)
Patch Changes
bits-ui@1.7.0
bits-ui@1.6.1
bits-ui@1.6.0
Minor Changes
- feat(Slider): expose thumb
active
state (#1471)
Patch Changes
-
fix(DateRangeField): ensure prepopulated value takes priority over placeholder for validation (#1479)
-
fix(NavigationMenu): do not close
Sub
content when clicking the trigger (#1473) -
fix(NavigationMenu): render
Content
withoutViewport
(#1474) -
fix(DateField): ensure prepopulated value takes priority over placeholder for validation (#1479)
bits-ui@1.5.3
Patch Changes
- chore: remove internal uses of parameter properties (#1466)
bits-ui@1.5.2
Patch Changes
-
fix(RangeCalendar): ensure
weekStartsOn
is absolute and fallback to locale if not provided (#1462) -
fix(DateRangePicker): use current field to determine max days in month (#1460)
-
fix(DateRangePicker): ensure
weekStartsOn
is absolute and fallback to locale if not provided (#1462) -
fix(DatePicker): ensure
weekStartsOn
is absolute and fallback to locale if not provided (#1462) -
fix(Calendar): ensure
weekStartsOn
is absolute and fallback to locale if not provided (#1462) -
fix(DateRangeField): use current field to determine max days in month (#1460)
bits-ui@1.5.1
Patch Changes
- fix(NavigationMenu): allow roving focus to link items (#1457)