fix(deps): update dependency @ark-ui/solid to v4 #399
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR contains the following updates:
^2.0.0
->^4.0.0
Release Notes
chakra-ui/ark (@ark-ui/solid)
v4.4.0
Compare Source
Added
autoresize
prop toField.Textarea
for auto-resizing the textarea based oncontent.
Changed
management. See the TreeView documentation
for details.
Fixed
preventScroll
wasenabled.
createToaster
function.v4.3.0
Compare Source
Added
Slider.DraggingIndicator
for displaying an indicator when dragging athumb.
Field.RequiredIndicator
to show a required indicator (e.g., an asterisk) whenthe
required
prop is set.Fixed
api.addTag(...)
was not functioning correctly.readOnly
was set totrue
.getSelectionValue
was called multiple times; it nowtriggers only when a selection is made.
preventDefault
calls on thetouchstart
event to avoid browser errorlogs.
close unexpectedly.
unmounting state if closed with a delay while switching tabs.
Changed
data-autoresize
attribute to both editable and preview elements whenautoResize
isenabled.
all: unset
style from the input whenautoResize
is enabled, allowing foruser-defined CSS.
v4.2.1
Compare Source
Changed
value
anddefaultValue
types fromstring
toTime
. Usethe exported
parseTime
function to convert between strings and time objects.Fixed
the delete key.
MonthSelect
sometimes defaulted to January.v4.2.0
Compare Source
Added
Select
can now be imported directly from
@ark-ui/solid/select
.Fixed
v4.1.0
Compare Source
Added
Toggle
component.iframe.
Fixed
input.
scrollbar was clicked.
acceptedFiles
were removed after an invalid file upload.createObjectURL
was not cleaned up.v4.0.0
Compare Source
In this major release, we shifted from primitive data types like strings to more structured types
such as Collection, Color, and DateValue. This enhanced flexibility and control by offering advanced
methods and properties.
The new APIs introduced helper functions like
parseColor
,parseDate
, andcreateListCollection
to simplify working with the new types and make code more concise.
Changed
ColorPicker [Breaking]: Updated
value
anddefaultValue
types fromstring
toColor
. Usethe exported
parseColor
function to convert between strings and color objects.Before
After
Select, Combobox [Breaking]: Removed the
items
,itemToString
, anditemToValue
props.Introduced a
collection
prop instead. Use thecreateListCollection
helper to generate acollection from items.
Before
After
DatePicker [Breaking]: Changed
value
anddefaultValue
types fromstring
toDate
. Toconvert between strings and dates, use the
parseDate
function.Before
After
v3.13.0
Compare Source
Added
ClearTrigger
for clearing file uploads.data-focus-visible
attribute for elementsinteracted with via keyboard.
Fixed
directory: true
was non-functional.Changed
v3.12.1
Compare Source
Fixed
DatePicker
min
andmax
props.min
ormax
is changed.v3.12.0
Compare Source
Added
Frame
component for rendering content within an iframe.Area
andControl
parts to improve structure and anatomy.Fixed
items was empty.
v3.11.0
Compare Source
Fixed
Floating Components: Fixed issue where clicking outside of a dialog on mobile passed click
events through.
Popover: Fixed issue where popover did not restore focus when open state was changed
programmatically
Avatar: Fixed issue where avatar could throw when the fallback inner text changed
Steps: Improved accessibility of tablist semantics by using
aria-owns
Added
FileUpload: Add support for more file types in file upload
accept
intellisenseToast: Add support for
action
property when creating toasts, giving you the ability to add aaction.label
andaction.onClick
. TheonClick
function will be called when the user clicksthe action trigger.
invalid
prop in file upload to explicitly mark uploadoperation as invalid. This could be paired with the
rejectedFiles
to show an error message.Changed
Floating Components: Refactored
boundary
to only support function that returns an element.Select
v3.10.0
Compare Source
Fixed
Added
invalid
prop toCheckbox.Group
v3.9.0
Compare Source
Added
Editable
edit
andonEditChange
Pagination
api.count
propertyChanged
Editable
onEdit
in favor ofonEditChange
startsWithEditView
in favor ofedit
propFixed
Dialog
instead of the previously focused element.
Steps: Fixed issue where the steps component was not exported in the index file.
v3.8.0
Compare Source
Added
Steps
component.Timer
component.v3.7.0
Compare Source
Changed
Progress.ValueText
to render percentage as string.Fixed
Field:
data-*
attributes to control part to allow for better styling.Select: Fixed reactivity issues when
items
andvalue
are updated.v3.6.2
Compare Source
Changed
index
ingetLabelProps
.Fixed
then focusing the input.
getPresetTrigger
.onValueChangeEnd
was called with an incorrect value.@internationalized/date
.v3.6.1
Compare Source
Changed
HighlightChunk
type to enhance type inference in userland code.Fixed
HiddenSelect
to correctly emit values when a simple string array is used asthe
value
for theSelect
component.v3.6.0
Compare Source
Added
Learn more in the documentation.
closeOnClick
to control tooltip closure on trigger click.Changed
CreateToasterReturn
type to improve type inference.aria-selected
andaria-disabled
attributes.
Fixed
aria-labelledby
andaria-describedby
attributes on the root element.data-readonly
attribute.closeOnSelect
whenmultiple
is true.v3.5.0
Compare Source
All Components: Exported each component's anatomy. For example:
NumberInput: Introduced the
ValueText
part to render the internal state value.Fixed
Circle
due to an incorrectviewBox
attribute on the<svg>
element.
slidesPerView
and
loop
are set.v3.4.1
Compare Source
Changed
name
prop toCheckbox.Group
for setting checkbox names within thegroup.
Fixed
items
are reactive.v3.4.0
Compare Source
Added
Field
component for flexible form input, label, and helper textcontainer.
in CSS-in-JS environments.
SliderValueText
,SliderLabel
, andValueSwatch
parts for enhancedcustomization.
closeOnScroll
option to control whether the tooltip should close when thetrigger's overflow parent scrolls.
HiddenInput
to theSignaturePad
component for better formlibrary compatibility.
Fixed
long press.
RadioOptionItem
did not provide thechecked
state in context.activationMode
todblclick
unexpectedly cleared theinput value.
group
role for the Checkbox group component.RootProvider
for theColorPicker
,NumberInput
,RatingGroup
,SegmentGroup
, andToggleGroup
components.v3.3.0
Compare Source
Added
SignaturePad
component for capturing signatures.QRCode
component for generating QR codes.CheckboxGroup
component for managing multiple checkboxes.immediate
to synchronize presence changes immediately instead ofdeferring to the next tick.
Fixed
defaultSelectedValue
ordefaultExpandedValue
.tab content.
onFileAccept
event was triggered when deleting an itemvia the delete trigger.
SelectList
component.v3.2.2
Compare Source
Fixed
ComboboxList
component.ToastRoot
doesn't merge its incoming props correctly.v3.2.1
Compare Source
Fixed
v3.2.0
Compare Source
Added
Provider
component for easier access to internal machineAPIs, improving component composition. See the example below:
v3.1.0
Compare Source
Added
textarea
as the input element in edit mode.Fixed
Fixed an issue where spreading
readOnly: false
adds thereadonly
attribute on editableelements, making them uneditable.
Factory: Fixed an issue where the
ark
factory was incorretly adding the parent ref to thechild component.
Select: Fixed an issue where changing the label of a collection item did not trigger a change
event.
Popover:
autoFocus
to determine whether the popover should autofocus on open:true
, the first focusable element or the content is focused.false
, the content is focused.DatePicker: Fixed an issue in range mode where calendar close unexpectedly when hovering on a
day quickly.
v3.0.2
Compare Source
Changed
naturalWidth
andnaturalHeight
instead ofcurrentSrc
.v3.0.1
Compare Source
Fixed
HiddenInput
inSlider
.ItemHiddenInput
inRadioGroup
andSegmentGroup
.v3.0.0
Compare Source
Highlights
The 3.0 release brings significant enhancements and some breaking changes for a more streamlined and
flexible API. Key updates include new components and types, improved form integration, and enhanced
forward compatibility. Here are some highlights:
Added
Context
component for easier access to internal machineAPIs, improving component composition. See the example below:
Format
component for formatting bytes and numbers.defaultOpen
prop for cases where you do not need to control its open state.Assign
andOptional
types to enhance type handling.Changed
Checkbox
,ColorPicker
,FileUpload
,PinInput
,RadioGroup
,RatingGroup
,SegmentGroup
,Select
,Slider
,Switch
, andTagsInput
forbetter form library compatibility. Please ensure to include the hidden input in your component
like shown below:
id
optional and removedfor
fromItemGroupLabel
inCombobox
andSelect
for cleaner markup.closeOnEsc
tocloseOnEscape
to be consistent withdialog machine.
loop
tofocusLopp
to be moredescriptive.
Environment
toEnvironmentProvider
to align with other providers.as
prop implementation for improved type merging and performance.Fixed
min
andmax
props not supporting date strings.HTMLInputElement
withHTMLDivElement
inTagsInput.Root
.Toast
not updating its toasts and count properties whencreating one or more toasts.
HTMLArkProps<'div'>
toColorPicker.View
.Removed
Context
component for more flexible and cleaner API integration.
dir
andgetRootNode
attributes. UseLocaleProvider and
EnvironmentProvider for these settings.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR was generated by Mend Renovate. View the repository job log.