cschroeter
released this
19 Apr 18:47
·
1186 commits
to main
since this release
Added
- Added a
Context
component to allow access to the internal machine API. Previously, it was only possible to access the internal API at the root level, which is manageable for small components but could lead to cumbersome composition in larger components. Additionally, this pattern clashed with theasChild
composition pattern we use.
<template>
<Popover.Root>
<Popover.Trigger>Open</Popover.Trigger>
<Popover.Positioner>
<Popover.Context v-slot="popover">
<Popover.Content>
<Popover.Title @click="() => popover.close()">Title</Popover.Title>
<Popover.Description>Description</Popover.Description>
</Popover.Content>
</Popover.Context>
</Popover.Positioner>
</Popover.Root>
</template>
- Added
Format
andCollapsible
component - Add an optional
index
prop to theDatePicker.Input
to support multiple inputs. - Add the
DatePicker.PresetTrigger
component - Improve a controlled state in
ColorPicker
,DatePicker
,Dialog
,HoverCard
,Menu
,Popover
,Select
, andTooltip
components - Added
defaultOpen
toTooltip
Changed
- Changed
TreeView.BranchTrigger
frombutton
todiv
for the accessibility reasons.
Fixed
- Prevent calling interaction outside when scrollbar is clicked.
- Fix issue where positioned components don't respond to window resizing.
- Fix issue where restoring scroll causes a smooth scroll transition back to the initial scroll point.
- Fix issue in
Combobox
,Menu
, andSelect
where scrolling into view could result in scrolling the body element. - Fix issue where
DatePicker
does not show correct number of weeks whenstartOfWeek
is set - Fix issue in the
Editable
where cannot delete text whenmaxLength
reached - Fix issue in the
Select
where item group's labelid
pointed to the wrong element - Fix issue where
Select
uses the incorrectid
foraria-activedecesendant
field - Resolved an issue in
DatePicker
where themin
andmax
props did not support date string values - Fix issue where close animation doesn't work for components that use the
presence
component.
Removed
- Removed the unused
parse
prop from theDatePicker
component.