Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(deps): update dependency @ark-ui/solid to v3 - autoclosed #338

Closed
wants to merge 1 commit into from

Conversation

renovate[bot]
Copy link
Contributor

@renovate renovate bot commented May 24, 2024

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
@ark-ui/solid (source) ^2.0.0 -> ^3.0.0 age adoption passing confidence

Release Notes

chakra-ui/ark (@​ark-ui/solid)

v3.9.0

Compare Source

Added
  • Editable

    • Add support for controlled the editable's state (edit/preview) using edit and onEditChange
  • Pagination

    • Expose api.count property
Changed
  • Editable

    • Removed onEdit in favor of onEditChange
    • Removed startsWithEditView in favor of edit prop
Fixed
  • Dialog

    • Fix issue where closing a nested dialog focuses the first focusable element in the parent 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 (Preview): Added Steps component.
<Steps.Root count={1}>
  <Steps.List>
    <Steps.Item index={0}>
      <Steps.Trigger>
        <Steps.Indicator>1</Steps.Indicator>
        First
      </Steps.Trigger>
      <Steps.Separator />
    </Steps.Item>
  </Steps.List>

  <Steps.Content index={0}>Content</Steps.Content>
  <Steps.CompletedContent>Completed</Steps.CompletedContent>

  <Steps.PrevTrigger>Back</Steps.PrevTrigger>
  <Steps.NextTrigger>Next</Steps.NextTrigger>
</Steps.Root>
  • Timer (Preview): Added Timer component.
<Timer.Root>
  <Timer.Item type="days" />
  <Timer.Separator>:</Timer.Separator>
  <Timer.Item type="hours" />
  <Timer.Separator>:</Timer.Separator>
  <Timer.Item type="minutes" />
  <Timer.Separator>:</Timer.Separator>
  <Timer.Item type="seconds" />
</Timer.Root>

v3.7.0

Compare Source

Changed
  • Progress: Update Progress.ValueText to render percentage as string.
Fixed
  • Field:

    • Fixed issue where id of field parts could not be customized, breaking Zag.js composition.
    • Added data-* attributes to control part to allow for better styling.
  • Select: Fixed reactivity issues when items and value are updated.

v3.6.2

Compare Source

Changed
  • DatePicker: Added support for index in getLabelProps.
Fixed
  • DatePicker:
    • Fixed issue where the selected date doesn't reflect in the input when clicking the trigger and
      then focusing the input.
    • Fixed SSR issue when using getPresetTrigger.
  • Slider: Fixed issue where onValueChangeEnd was called with an incorrect value.
  • Fixed an import issue with @internationalized/date.

v3.6.1

Compare Source

Changed
  • Highlight: Exported HighlightChunk type to enhance type inference in userland code.
Fixed
  • Select: Fixed HiddenSelect to correctly emit values when a simple string array is used as
    the value for the Select component.

v3.6.0

Compare Source

Added
  • Fieldset Component: Introduced to help group form fields.
<Fieldset.Root>
  <Fieldset.Legend>Legend</Fieldset.Legend>
  <Fieldset.HelperText>Helper text</Fieldset.HelperText>
  <Fieldset.ErrorText>Error text</Fieldset.ErrorText>
</Fieldset.Root>

Learn more in the documentation.

  • Highlight Component: Added to highlight text based on a query.
import { Highlight } from '@&#8203;ark-ui/solid'

export const App = () => (
  <Highlight
    query={['Ark UI', 'exclusive examples']}
    text="Unlock exclusive examples and support the development by getting Ark UI Plus."
  />
)
  • Tooltip: Added closeOnClick to control tooltip closure on trigger click.
Changed
  • Toast: Exported CreateToasterReturn type to improve type inference.
  • Combobox: Enhanced accessibility by removing unnecessary aria-selected and aria-disabled
    attributes.
Fixed
  • Toast: Added missing aria-labelledby and aria-describedby attributes on the root element.
  • Combobox: Fixed issue where the input didn't update on selection with a pointer.
  • RadioGroup: Corrected misspelt data-readonly attribute.
  • Select: Enabled customization of closeOnSelect when multiple is true.
  • Tags Input:
    • Fixed issues with repeat pasting and undo.
    • Addressed problem where deleting a pasted value disabled further pasting.
    • Ensured values are always unique by discarding duplicates

v3.5.0

Compare Source

  • All Components: Exported each component's anatomy. For example:

    import { avatarAnatomy } from '@&#8203;ark-ui/solid'
  • NumberInput: Introduced the ValueText part to render the internal state value.

Fixed
  • TreeView: Resolved an issue preventing input usage within the tree.
  • Progress: Fixed a warning in Circle due to an incorrect viewBox attribute on the <svg>
    element.
  • Carousel: Corrected looping behavior for next and previous buttons when both slidesPerView
    and loop are set.
  • Menu: Fixed loss of position data in the context menu upon closing.

v3.4.1

Compare Source

Changed
  • Checkbox: Added the name prop to Checkbox.Group for setting checkbox names within the
    group.
Fixed
  • Combobox, Select: Fixed an issue where it throws an error when items are reactive.

v3.4.0

Compare Source

Added
  • Field: Introduced the Field component for flexible form input, label, and helper text
    container.
  • All Components: Exposed base props to simplify prop merging for library consumers, especially
    in CSS-in-JS environments.
    export interface AccordionItemBaseProps extends ItemProps, PolymorphicProps<'div'> {}
    export interface AccordionItemProps extends HTMLProps<'div'>, AccordionItemBaseProps {}
  • ColorPicker: Added SliderValueText, SliderLabel, and ValueSwatch parts for enhanced
    customization.
  • Tooltip: Added closeOnScroll option to control whether the tooltip should close when the
    trigger's overflow parent scrolls.
  • Signature Pad: Introduced HiddenInput to the SignaturePad component for better form
    library compatibility.
Fixed
  • Menu:
    • Fixed an issue causing sibling menus or popovers to malfunction on iOS devices.
    • Resolved the problem where the context menu trigger showed the magnifier and iOS context menu on
      long press.
    • Fixed an issue where RadioOptionItem did not provide the checked state in context.
  • Editable: Fixed a bug where setting activationMode to dblclick unexpectedly cleared the
    input value.
  • Checkbox: Added the missing group role for the Checkbox group component.
  • RootProvider: Added the missing RootProvider for the ColorPicker, NumberInput,
    RatingGroup, SegmentGroup, and ToggleGroup components.

v3.3.0

Compare Source

Added
  • Signature Pad: Introduced the SignaturePad component for capturing signatures.
  • QR Code: Added the QRCode component for generating QR codes.
  • CheckboxGroup: Added the CheckboxGroup component for managing multiple checkboxes.
  • Presence: Added support for immediate to synchronize presence changes immediately instead of
    deferring to the next tick.
Fixed
  • TreeView: Resolved an issue where the tree view state could be updated after setting
    defaultSelectedValue or defaultExpandedValue.
  • Tabs: Resolved an issue where rapidly changing the selected tab could briefly show previous
    tab content.
  • FileUpload: Fixed an issue where the onFileAccept event was triggered when deleting an item
    via the delete trigger.
  • Select: Exported the missing SelectList component.

v3.2.2

Compare Source

Fixed
  • Combobox: Exported missing ComboboxList component.
  • Toast: Resolved an issue where ToastRoot doesn't merge its incoming props correctly.

v3.2.1

Compare Source

Fixed
  • Resolved an issue where the component context could be undefined in some components.

v3.2.0

Compare Source

Added
  • All Components: Introduced the Provider component for easier access to internal machine
    APIs, improving component composition. See the example below:
import { Avatar, useAvatar } from '@&#8203;ark-ui/solid'

export const Example = () => {
  const avatar = useAvatar({
    onStatusChange: (e) => console.log('status changed', e),
  })

  return (
    <Avatar.RootProvider value={avatar}>
      <Avatar.Fallback>PA</Avatar.Fallback>
      <Avatar.Image src="https://i.pravatar.cc/300" alt="avatar" />
    </Avatar.RootProvider>
  )
}

v3.1.0

Compare Source

Added
  • Editable: Supported textarea as the input element in edit mode.
Fixed
  • Fixed an issue where spreading readOnly: false adds the readonly attribute on editable
    elements, making them uneditable.

  • Factory: Fixed an issue where the ark factory was incorretly adding the parent ref to the
    child component.

  • Select: Fixed an issue where changing the label of a collection item did not trigger a change
    event.

  • Popover:

    • Implemented autoFocus to determine whether the popover should autofocus on open:
      • When true, the first focusable element or the content is focused.
      • When false, the content is focused.
    • Fixed an issue where the page scroll resets on opening the popover.
  • DatePicker: Fixed an issue in range mode where calendar close unexpectedly when hovering on a
    day quickly.

v3.0.2

Compare Source

Changed
  • Avatar: Improved image load check by using naturalWidth and naturalHeight instead of
    currentSrc.

v3.0.1

Compare Source

Fixed
  • Added missing export for HiddenInput in Slider.
  • Added missing export for ItemHiddenInput in RadioGroup and SegmentGroup.

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 Components: Introduced the Context component for easier access to internal machine
    APIs, improving component composition. See the example below:
export const Basic = () => (
  <Popover.Root>
    <Popover.Trigger>Open</Popover.Trigger>
    <Popover.Positioner>
      <Popover.Context>
        {(popover) => (
          <Popover.Content>
            <Popover.Title onClick={() => popover().setOpen(false)}>Title</Popover.Title>
            <Popover.Description>Description</Popover.Description>
          </Popover.Content>
        )}
      </Popover.Context>
    </Popover.Positioner>
  </Popover.Root>
)
  • Format: Added a Format component for formatting bytes and numbers.
<Format.Byte value={120904} unit="byte" unitDisplay="short" />
<Format.Number value={1204} unit="centimeter" />
  • Tooltip: Added defaultOpen prop for cases where you do not need to control its open state.
  • Types: Exported Assign and Optional types to enhance type handling.
  • Toast: Added support for overlapping and stacked toast.
Changed
  • [BREAKING]: Exposed hidden inputs in Checkbox, ColorPicker, FileUpload, PinInput,
    RadioGroup, RatingGroup, SegmentGroup, Select, Slider, Switch, and TagsInput for
    better form library compatibility. Please ensure to include the hidden input in your component
    like shown below:
<Checkbox.Root>
  <Checkbox.Label>Checkbox</Checkbox.Label>
  <Checkbox.Control>
    <Checkbox.Indicator>
      <CheckIcon />
    </Checkbox.Indicator>
  </Checkbox.Control>
  <Checkbox.HiddenInput /> // [!code highlight]
</Checkbox.Root>
  • [BREAKING]: Made id optional and removed for from ItemGroupLabel in Combobox and
    Select for cleaner markup.
- <Combobox.ItemGroup id="framework">
-   <Combobox.ItemGroupLabel for="framework">Frameworks</Combobox.ItemGroupLabel>
+ <Combobox.ItemGroup>
+   <Combobox.ItemGroupLabel>Frameworks</Combobox.ItemGroupLabel>
  • [BREAKING] Popover, Tooltip: Renamed closeOnEsc to closeOnEscape to be consistent with
    dialog machine.
  • [BREAKING] Combobox, Menu, Select, Tabs, ToggleGroup: Renamed loop to focusLopp to be more
    descriptive.
  • [BREAKING]: Renamed Environment to EnvironmentProvider to align with other providers.
  • Refined the as prop implementation for improved type merging and performance.
// before
<Button as={Dialog.Trigger} variant="solid" size="sm">
  Open Dialog
</Button>

// after
<Dialog.Trigger asChild={(props) => <Button {...props()} />}>
  Open Dialog
</Dialog.Trigger>
Fixed
  • DatePicker: Resolved issues with min and max props not supporting date strings.
  • Accordion: Fixed initial flicker of content.
  • TagsInput: Replaced HTMLInputElement with HTMLDivElement in TagsInput.Root.
  • Select, Combobox: Fixed an issue with reactivity.
  • Toast: Resolved an issue with Toast not updating its toasts and count properties when
    creating one or more toasts.
  • ColorPicker: Added missing HTMLArkProps<'div'> to ColorPicker.View.
Removed
  • [BREAKING]: Dropped direct internal API access from Root components. Use the new Context
    component for more flexible and cleaner API integration.
  • [BREAKING]: Simplified component APIs by removing dir and getRootNode attributes. Use
    LocaleProvider 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.


  • If you want to rebase/retry this PR, check this box

This PR was generated by Mend Renovate. View the repository job log.

@renovate renovate bot force-pushed the renovate/ark-ui-solid-3.x branch 2 times, most recently from 1d19206 to 4a8522f Compare May 27, 2024 15:35
@renovate renovate bot force-pushed the renovate/ark-ui-solid-3.x branch 5 times, most recently from 8f2b560 to ff4280e Compare June 11, 2024 18:13
@renovate renovate bot force-pushed the renovate/ark-ui-solid-3.x branch from ff4280e to eccbb84 Compare June 18, 2024 08:17
Copy link
Contributor Author

renovate bot commented Jun 18, 2024

⚠️ Artifact update problem

Renovate failed to update an artifact related to this branch. You probably do not want to merge this PR as-is.

♻ Renovate will retry this branch, including artifacts, only when one of the following happens:

  • any of the package files in this branch needs updating, or
  • the branch becomes conflicted, or
  • you click the rebase/retry checkbox if found above, or
  • you rename this PR's title to start with "rebase!" to trigger it manually

The artifact failure details are included below:

File name: bun.lockb
Command failed: bun install
bun install v1.1.13 (bd6a6051)
Resolving dependencies
Resolved, downloaded and extracted [292]
Saved lockfile

$ lefthook install
error: prepare script from "new-alg-tus-ricora-com" exited with 1

@renovate renovate bot changed the title fix(deps): update dependency @ark-ui/solid to v3 fix(deps): update dependency @ark-ui/solid to v3 - autoclosed Sep 25, 2024
@renovate renovate bot closed this Sep 25, 2024
@renovate renovate bot deleted the renovate/ark-ui-solid-3.x branch September 25, 2024 15:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

0 participants