Releases: chakra-ui/ark
Releases · chakra-ui/ark
@ark-ui/react@1.3.0
Added
- Added the
Progresscomponent. - Added
valueAsStringtoonValueChangeinDatePickercallback details - Exported change details typings, for example
AccordionValueChangeDetailsorDialogOpenChangeDetails - Redesign
Portalcomponent to supportgetRootNodeanddisabledprops
Changed
- Replaced the styling props for indicator with CSS variables in
RadioGroup,SegmentGroup, andTabs.
Fixed
- Added missing
placeholderprop toSelectValueTextPropstype. - Changed
PopoverDescriptionPropstype fromdivtop - Fixed multiple rerenders on
Selectcomponent with Next.js or RemixuseSearchParams - Fixed the issue where setting
disabledonComboboxdoes not reflect in combobox item - Fix an issue that breaks the
Comboboxwhen clicking on the input while the menu is open - Fixed the issue where
DatePickerinitial value isn't set when using controlled context - Resolved an issue that
Menuoption item could not be activated by keyboard
@ark-ui/anatomy@1.3.0
- Added
Progressanatomy
@ark-ui/vue@0.9.0
Added
- Added
FileUploadcomponent - Added
SegmentGroupcomponent - Added
ToggleGroupcomponent - Added
ValueTextto theColorPickercomponent - Added support to lazy mount the
ColorPickercomponent using thePresencecomponent - Added entrypoint for the
arkfactory at@ark-ui/react/factory
Changed
- Revised
Accordioncomponent - Revised
Avatarcomponent - Revised
Carouselcomponent - Revised
Checkboxcomponent - Revised
ColorPickercomponent - Revised
Comboboxcomponent - Revised
Editablecomponent - Revised
NumberInputcomponent - Revised
Paginationcomponent - Revised
PinInputcomponent - Revised
RadioGroupcomponent - Revised
RatingGroupcomponent - Revised
Selectcomponent - Revised
Switchcomponent
Fixed
- Resolved an issue where the
Accordioncomponent would not render its content. - Resolved an accessibility issue with
Select
Removed
- Removed anatomy exports. These exports are now available in
@ark-ui/anatomy.
// before
import { accordionAnatomy } from '@ark-ui/vue'
// after
import { accordionAnatomy } from '@ark-ui/anatomy' // or
import { anatomy } from '@ark-ui/anatomy/accordion'- Removed
Pressablecomponent
@ark-ui/solid@1.2.0
Added
- Added the
ToastGroupcomponent.
Changed
- Revised the
FileUploadcomponent. Check out the documentation for more information.
Fixed
- Resolved a problem where
Select.Indicatorwas assigned to the wrongdata-part. - Fixed an issue where keyboard interactions within a submenu would bubble up to the parent
Menu.
@ark-ui/react@1.2.1
Fixed
- Resolved an issue where the
arkfactory type was not being exported correctly.
@ark-ui/react@1.2.0
Added
- Added the
ToastGroupcomponent. - Added entrypoint for the
arkfactory at@ark-ui/react/factory
Changed
- Revised the
FileUploadcomponent. Check out the documentation for more information.
Fixed
- Added an explicit return type for the
Portalcomponent to resolve an issue with online code editors. - Resolved an issue where the
presentprop in the disclosure-type component was not being respected. - Resolved an issue where the
arkfunction would log a warning when theasChildprop was set tofalse. - Fixed an issue where keyboard interactions within a submenu would bubble up to the parent
Menu. - Fixed an issue with hydration mismatch in the
Portalcomponent.
@ark-ui/anatomy@1.2.0
Changed
- Updated
@zag-js
@ark-ui/solid@1.1.0
Added
- Added render function to the
NumberInputcomponent - Added
FileUploadcomponent
Changed
- Revised the
ColorPickercomponent. Check out the documentation for more information.
Fixed
- Resolved a problem where the
Dialog.CloseTriggerwas assigned to the wrongdata-part. - Fixed various issues for the
Toastcomponent that were caused by the API not being wrapped in anAccessor.
// before
const [Toaster, toast] = createToaster({
placement: 'top-end',
render(toast) {
return (
<Toast.Root>
<Toast.Title>{toast.title}</Toast.Title>
<Toast.Description>{toast.description}</Toast.Description>
<Toast.CloseTrigger>Close</Toast.CloseTrigger>
</Toast.Root>
)
},
})
// after
const [Toaster, toast] = createToaster({
placement: 'top-end',
render(toast) {
return (
<Toast.Root>
<Toast.Title>{toast().title}</Toast.Title>
<Toast.Description>{toast().description}</Toast.Description>
<Toast.CloseTrigger>Close</Toast.CloseTrigger>
</Toast.Root>
)
},
})@ark-ui/react@1.1.0
Added
- Added render function to the
NumberInputcomponent - Added
FileUploadcomponent
Changed
- Revised the
ColorPickercomponent. Check out the documentation for more information.
Fixed
- Resolved an issue where the
Toastcomponent would throw a warning when multiple toasts were rendered at the same time.
@ark-ui/anatomy@1.1.0
Changed
- Added
FileUploadanatomy - Extended
ColorPickerwithformatTrigger,formatSelectandswatchIndicatorparts