Skip to content

fix(deps): update all non-major dependencies#75

Open
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all-minor-patch
Open

fix(deps): update all non-major dependencies#75
renovate[bot] wants to merge 1 commit into
mainfrom
renovate/all-minor-patch

Conversation

@renovate

@renovate renovate Bot commented Sep 2, 2024

Copy link
Copy Markdown
Contributor

ℹ️ Note

This PR body was truncated due to platform limits.

This PR contains the following updates:

Package Change Age Confidence
@ariakit/react (source) ^0.4.10^0.4.30 age confidence
@astrojs/check (source) ^0.9.3^0.9.9 age confidence
@astrojs/mdx (source) ^3.1.5^3.1.9 age confidence
@astrojs/node (source) ^8.3.3^8.3.4 age confidence
@astrojs/react (source) ^3.6.2^3.6.3 age confidence
@astrojs/tailwind (source) ^5.1.0^5.1.5 age confidence
@biomejs/biome (source) 1.8.31.9.4 age confidence
@biomejs/biome (source) 1.8.31.9.4 age confidence
@commitlint/cli (source) ^19.4.1^19.8.1 age confidence
@commitlint/config-angular (source) ^19.4.1^19.8.1 age confidence
@fontsource/inter (source) ^5.0.20^5.2.8 age confidence
@radix-ui/react-accordion (source) ^1.2.0^1.2.14 age confidence
@radix-ui/react-dropdown-menu (source) ^2.1.1^2.1.18 age confidence
@radix-ui/react-slot (source) ^1.1.0^1.3.0 age confidence
@types/react (source) ^18.3.5^18.3.31 age confidence
@types/react-dom (source) ^18.3.0^18.3.7 age confidence
astro (source) ^4.15.2^4.16.19 age confidence
astro-compress ^2.3.1^2.4.1 age confidence
astro-critters ^2.2.0^2.2.1 age confidence
class-variance-authority ^0.7.0^0.7.1 age confidence
hast-util-to-string (source) ^3.0.0^3.0.1 age confidence
husky ^9.1.5^9.1.7 age confidence
lint-staged ^15.2.10^15.5.2 age confidence
lucide-astro (source) ^0.438.0^0.556.0 age confidence
lucide-react (source) ^0.438.0^0.577.0 age confidence
react-use ^17.5.1^17.6.1 age confidence
tailwind-merge ^2.5.2^2.6.1 age confidence
tailwindcss (source) ^3.4.10^3.4.19 age confidence
typescript (source) ^5.5.4^5.9.3 age confidence

Release Notes

ariakit/ariakit (@​ariakit/react)

v0.4.30

Compare Source

Improved Dialog performance

Opening a modal Dialog now marks and disables the elements outside the dialog in a single tree walk instead of two, tracks the dialog state with fewer store subscriptions, and finds the initial focus target without checking every tabbable element inside the dialog.

The scroll lock, the backdrop z-index synchronization, and the root-dialog bookkeeping also moved from passive effects to the layout phase, removing several forced style recalculations and layouts from the open path and applying the scroll lock before the dialog is first painted.

This also benefits components built on top of Dialog, such as Popover, Menu, and SelectPopover.

Fixed DisclosureContent over-waiting to unmount with mixed transitions and animations

DisclosureContent (and components built on top of it, such as Dialog and Popover) could keep unmountOnHide content mounted longer than necessary when a transition and an animation were both applied and the longest delay and longest duration belonged to different properties.

The unmount timeout is now the longest per-property end time (delay + duration) across the transitions and animations, instead of the longest delay added to the longest duration, which could overestimate the real end time and keep unmountOnHide content mounted longer than necessary. A leftover duration or delay with no matching transition or animation (such as an animation-duration while animation-name is none) is also ignored now.

Other updates
  • Added an associated panel lookup to useTabStore, improving Tab performance when resolving controlled panels.
  • Improved TooltipAnchor to avoid re-rendering default description tooltip anchors when the tooltip content id changes.
  • Updated VisuallyHidden to hide content with the modern clip-path: inset(50%) technique instead of the deprecated clip property. The same technique now applies to the other elements Ariakit hides visually, such as the Select value mirror and the Dialog dismiss button.
  • Fixed CheckboxCheck to avoid passing invalid function children to React while unchecked.
  • Fixed the ComboboxGroup development error message to name the correct component.
  • Improved ComboboxItemValue rendering performance.
  • Fixed Command and the components that build on it, such as Button, staying stuck in the active (data-active) state when the Space key is released while the Meta key is held, or after the element becomes disabled between keydown and keyup.
  • Fixed CompositeTypeahead so typeahead text from one composite no longer affects another composite rendered on the same page.
  • Fixed Dialog cleanup so stale nested dialog effects no longer restore page accessibility state while a newer effect is active.
  • Fixed Dialog to reset outside-interaction focus tracking when reused dialogs reopen.
  • Fixed FormPush and FormRemove incorrectly matching sibling array fields whose names share a prefix (for example tags and tags2) and throwing when a field name contained regular expression special characters.
  • Fixed useFormStore nested value updates so path segments like -1, Infinity, and NaN are treated as object keys instead of array indexes.
  • Improved Hovercard so nested hovercards no longer reinstall document mousemove listeners when they mount or unmount.
  • Fixed MenuItemRadio to avoid forwarding the defaultChecked prop to rendered elements.
  • Fixed Popover to ignore stale async positioning updates after a newer positioning effect has started.
  • Fixed merged refs in React components and Portal to preserve React 19 callback ref cleanup functions while still detaching refs that don't return a cleanup.
  • Updated dependencies: @ariakit/react-components@0.2.0

v0.4.29

Compare Source

Fixed Combobox dropping characters when the popover resizes while typing

The Combobox component with autoSelect enabled no longer loses typed characters when the popover is resized as the user types.

This could happen with a virtualized list on mobile devices, where the keyboard's autocomplete bar repeatedly changes the available viewport height. Each resize re-rendered the list and re-applied the auto-selection, briefly moving focus away from the input and dropping keystrokes.

Composite items keep their enclosing store

Fixed CompositeItem to register on the enclosing Composite store when rendered as the same element as a component that sets its own composite context, such as a MenuButton inside a MenuProvider. This keeps the item reachable with the arrow keys in one- and two-dimensional composite widgets.

The CompositeItem can now omit the explicit store prop and still register on the enclosing composite:

const composite = Ariakit.useCompositeStore();

<Ariakit.Composite store={composite}>
  <Ariakit.MenuProvider>
    <Ariakit.CompositeItem render={<Ariakit.MenuButton />}>
      Menu
    </Ariakit.CompositeItem>
    <Ariakit.Menu>
      <Ariakit.MenuItem>Edit</Ariakit.MenuItem>
    </Ariakit.Menu>
  </Ariakit.MenuProvider>
</Ariakit.Composite>;
Components no longer throw on events with a non-element target

Several components attach global event listeners that read event.target/event.relatedTarget and call methods like contains() and hasAttribute() on them. When third-party code dispatched an event whose target was a non-element EventTarget (such as window or an XMLHttpRequest), those calls threw a TypeError.

This affected Dialog (its interact-outside and Escape-to-close listeners), HovercardDisclosure (its focusout listener), and the shared isFocusEventOutside and isPortalEvent helpers used by Focusable, Combobox, Composite, and Portal.

Other updates
  • Improved performance of components that subscribe to internal store state by upgrading the underlying @ariakit/store package.
  • Fixed Button to preserve React form pending state when submitted with the keyboard.
  • Fixed Dialog to preserve closing animations when using unmountOnHide with the controlled open and onClose props and no explicit store.
  • Documented that removeValue preserves array length by replacing removed items with null.
  • Fixed runtime process.env.NODE_ENV checks in published package output, including test-only behavior and development warnings.
  • Fixed rendering many Menu components on the same page potentially causing a "Maximum update depth exceeded" error. MenuItem elements now register only while the menu is visible, instead of registering on mount even while it's hidden.
  • Fixed Tab to move focus to the selected tab after a controlled selectedId update while a tab has DOM focus.
  • Fixed TooltipProvider to avoid a re-entrant loop when multiple tooltips are forced open at the same time.
  • Updated dependencies: @ariakit/react-components@0.1.2

v0.4.28

Compare Source

  • Release artifacts now include npm trusted publishing provenance.
  • Updated dependencies: @ariakit/react-components@0.1.1

v0.4.27

Compare Source

  • Fixed Menu to respect the autoFocusOnShow prop when set to false or when a callback returns false, while still allowing arrow keys to move focus into an already-open menu.
  • Updated dependencies: @ariakit/react-components@0.1.0

v0.4.26

Compare Source

This version focuses on bug fixes across Dialog, Portal, Radio, Combobox, and MenuButton, along with improvements to how portals behave inside fullscreen elements, how dialogs handle events in popup windows, and how Radio groups automatically generate unique name attributes.

Fixed events not handled in popup windows

Dialog and components that extend it, such as Menu and Popover, now handle events correctly when rendered in a popup window opened via window.open(). hideOnEscape, hideOnInteractOutside, and focus restoration now use the content element's ownerDocument instead of the main window's document for event listeners.

Fixed Portal not rendering inside fullscreen elements

Portal was always appended to document.body, which made it invisible when an ancestor element entered fullscreen mode via the Fullscreen API. Portals are now automatically moved to document.fullscreenElement when it's active, and back to document.body when fullscreen is exited.

Auto-generated name attribute for Radio

Radio now automatically uses the RadioGroup store's id as the default name attribute when no explicit name prop is provided. This ensures consecutive RadioGroup components have unique names, preventing the browser from treating all radio inputs as a single group and fixing Tab navigation and form submission issues.

Other updates
  • Fixed Combobox pressing Enter from submitting a parent form when the popover is open but has no matching items.
  • Fixed Dialog not removing data-enter when closed after using the render prop to wrap the dialog element in an outer element.
  • Fixed Dialog not restoring focus to the disclosure element when the dialog was opened and closed quickly in succession.
  • Fixed MenuButton aria-haspopup attribute changing from "menu" to "dialog" when opening a menu that contains a combobox.
  • Fixed render prop merging when the rendered element passes falsy className or event handler values such as undefined or null.
  • Fixed Math.random() being called unconditionally when creating composite stores (useTabStore, useComboboxStore, useSelectStore, etc.), even when an explicit id prop was provided. This was causing Next.js build errors with cacheComponents enabled.
  • Updated dependencies: @ariakit/react-core@0.4.26

v0.4.25

Compare Source

Clicking outside no longer restores focus to the disclosure element

Dialog and components that extend it (such as Menu and Popover) no longer restore focus to the disclosure element when the dialog is closed by clicking or right-clicking outside. This aligns with native HTML <dialog> and popover behavior where trigger buttons don't receive focus when you interact outside.

Focus is still restored normally when the dialog is closed by other means, such as pressing Escape, selecting a menu item, or calling store.hide() programmatically. In these cases the disclosure element is now focused with default browser scrolling instead of preventScroll.

Improved Safari focus behavior for buttons, checkboxes, and radio buttons

On Safari, buttons, checkboxes, and radio buttons don't receive focus on mousedown like other browsers. Previously, this was handled by manually focusing the element in a mousedown handler. Now, an explicit tabIndex attribute is set on these elements in Safari, which causes the browser to focus them natively. This results in more predictable focus behavior and fewer timing-sensitive workarounds.

Other updates
  • Fixed a race condition in Dialog where the deferred auto-focus could steal focus from the disclosure element after the dialog was closed.
  • Fixed formStore.setError() and formStore.setFieldTouched() failing to set values on nested array field paths such as items.0.name.
  • Fixed SelectItem store item children property reflecting the value prop instead of the actual rendered text content.
  • Fixed MenuButton to preserve accessibleWhenDisabled behavior when composed with a rendered Button.
  • Fixed Menu with modal and getPersistentElements so focusing a persistent MenuButton doesn't immediately move focus back to the menu.
  • Fixed TabPanel not re-evaluating tabbable children when the panel becomes visible.
  • Fixed components not dropping their internal aria-labelledby when aria-label is passed.
  • Updated dependencies: @ariakit/react-core@0.4.25

v0.4.24

Compare Source

This release improves React combobox and form reliability, including preserved combobox input and popover scroll position during result updates, more predictable focus behavior after filtering selects on iOS Safari, proper isolation of FormRadio groups inside nested composite widgets, safer handling of explicitly undefined id props, and better generic typing for CheckboxProvider wrappers.

Improved CheckboxProvider generic typing

This fixes TypeScript errors when wrapping CheckboxProvider in generic React components. Controlled and uncontrolled checkbox group wrappers now type-check correctly without requiring non-null assertions on values such as defaultValue.

Before, generic wrappers often needed a non-null assertion to satisfy the provider props:

interface CheckboxCardGridProps<T extends string | number> extends Pick<
  Ariakit.CheckboxProviderProps<T>,
  "value" | "setValue" | "defaultValue"
> {}

function CheckboxCardGrid<T extends string | number>({
  value,
  setValue,
  defaultValue,
}: CheckboxCardGridProps<T>) {
  return (
    <CheckboxProvider
      value={value}
      setValue={setValue}
      defaultValue={defaultValue!}
    />
  );
}

Now the same wrapper can type-check without the workaround:

<CheckboxProvider
  value={value}
  setValue={setValue}
  defaultValue={defaultValue}
/>
Fixed Combobox input scroll position resetting

When a Combobox input's text overflowed its width, the input's horizontal scroll position reset to the beginning each time the results changed. This happened because the virtual focus mechanism briefly moved DOM focus to the active item and back when autoSelect was enabled, causing browsers to reset the input's internal scrollLeft.

The scroll position is now preserved across these focus transitions.

Fixed FormRadio registering to ancestor composite stores

FormRadio items nested inside components like TabPanel were incorrectly registering to the tab store, causing arrow keys in the tab list to navigate to radio items instead of other tabs. FormRadioGroup now resets the composite context for its children, preventing form radio items from being picked up by unrelated parent stores.

Other updates
  • Fixed ComboboxPopover scroll position resetting when items change in multi-select mode (e.g., during infinite scroll).
  • Fixed SelectItem stealing focus from the combobox input when the selected item reappears after filtering, which dismissed the keyboard on iOS Safari.
  • Fixed components crashing with "Maximum call stack size exceeded" when the id prop is explicitly passed as undefined.
  • Updated dependencies: @ariakit/react-core@0.4.24

v0.4.23

Compare Source

v0.4.22

Compare Source

  • Fixed MenuItemRadio so controlled reset states are reflected correctly by the menu item and MenuItemCheck.
  • Updated dependencies: @ariakit/react-core@0.4.22

v0.4.21

Compare Source

  • Fixed an error when trying to reach focusable elements within iframes.
  • Fixed issues with React 19 types.
  • Updated dependencies: @ariakit/react-core@0.4.21

v0.4.20

Compare Source

  • Fixed RefObject types for React 19.
  • Updated packages to target ES2018 (previously ES2017).
  • Updated dependencies: @ariakit/react-core@0.4.20

v0.4.19

Compare Source

  • Updated Array types to ReadonlyArray for better compatibility.
  • Fixed the automatic border width on PopoverArrow to account for the device pixel ratio.
  • Updated dependencies: @ariakit/react-core@0.4.19

v0.4.18

Compare Source

Improved Combobox performance

Thanks to @​iamakulov, the Combobox component now opens ~30% faster by removing unnecessary calls to an internal function that adds global event listeners. See the pull request for more details.

Other updates
  • Improved PopoverArrow default appearance when using semi-transparent borders.
  • Updated dependencies: @ariakit/react-core@0.4.18

v0.4.17

Compare Source

  • Restored support for React 17 in PopoverArrow.
  • Updated dependencies: @ariakit/react-core@0.4.17

v0.4.16

Compare Source

Improved PopoverArrow

The PopoverArrow component now attempts to infer its border width from the popover’s box-shadow style when all lengths are 0px and the spread radius exceeds 0px (e.g., box-shadow: 0 0 0 1px black), which is commonly known as a "ring". If the border width cannot be inferred, you can use the new borderWidth prop to define it. This ensures a consistent size regardless of the arrow's size, which wasn't achievable before when manually setting the CSS stroke-width property.

In addition, the arrow’s SVG path has been slightly modified to be more angled in the pointing direction. Note that you can always provide your own SVG using the children prop.

Scrolling behavior when closing dialogs and popovers

When hiding a dialog or popover, the finalFocus element will no longer scroll into view. This change prevents scrolling issues when the element lies outside the viewport and mirrors the behavior of native HTML dialog and popover elements.

Other updates
  • Fixed data-focus-visible attribute removal on lower-end devices.
  • Fixed Select not passing down the disabled prop to the native select element.
  • Fixed Dialog initial focus behavior in Safari for non-focusable elements.
  • Fixed valid state not updating on Form.
  • Fixed moveOnKeyPress being triggered with composition text commands.
  • Updated dependencies: @ariakit/react-core@0.4.16

v0.4.15

Compare Source

  • Fixed a regression on Hovercard that sometimes prevented it from closing when other popups were opened.
  • Fixed typings for onSubmit and onValidate.
  • Improved JSDocs.
  • Updated dependencies: @ariakit/react-core@0.4.15

v0.4.14

Compare Source

Improved performance on composite widgets

Composite item components such as ComboboxItem and SelectItem now render 20-30% faster compared to Ariakit v0.4.13.

This enhancement should decrease the time needed to render large collections of items in composite widgets and improve the Interaction to Next Paint (INP) metric. We're working on further optimizations to make composite widgets even faster in future releases.

Combobox auto-scroll

The Combobox component now scrolls the list to the top while typing when the autoSelect prop is disabled.

The behavior is now consistent with the autoSelect prop, except the first item won't be automatically focused.

Other updates
  • Fixed the item method to prevent it from returning items that have been removed from the collection store.
  • Fixed the item method when keeping different menu stores in sync.
  • Added id prop to composite stores.
  • Fixed composite typeahead functionality when rendering virtualized lists.
  • Fixed SelectValue to display the fallback when the value is an empty array or string.
  • Fixed an issue where composite widgets might not navigate to the correct item when pressing while the composite base element was focused.
  • Improved JSDocs.
  • Updated dependencies: @ariakit/react-core@0.4.14

v0.4.13

Compare Source

Accessible composite widgets with invalid activeId

We've improved the logic for composite widgets such as Tabs and Toolbar when the activeId state points to an element that is disabled or missing from the DOM. This can happen if an item is dynamically removed, disabled, or lazily rendered, potentially making the composite widget inaccessible to keyboard users.

Now, when the activeId state is invalid, all composite items will remain tabbable, enabling users to Tab into the composite widget. Once a composite item receives focus or the element referenced by the activeId state becomes available, the roving tabindex behavior is restored.

Other updates
  • Fixed regression in focusShift.
  • Fixed Radio to prevent onChange from triggering on radios that are already checked.
  • Fixed DisclosureContent setting an incorrect animating state value during enter animations.
  • Improved JSDocs.
  • Updated dependencies: @ariakit/react-core@0.4.13

v0.4.12

Compare Source

Tab panels with scroll restoration

Ariakit now supports scroll restoration for the TabPanel component. This allows you to control whether and how the scroll position is restored when switching tabs.

To enable scroll restoration, use the new scrollRestoration prop:

// Restores the scroll position of the tab panel element when switching tabs
<TabPanel scrollRestoration />

By default, the scroll position is restored when switching tabs. You can set it to "reset" to return the scroll position to the top of the tab panel when changing tabs. Use the scrollElement prop to specify a different scrollable element:

// Resets the scroll position of a different scrollable element
<div className="overflow-auto">
  <TabPanel
    scrollRestoration="reset"
    scrollElement={(panel) => panel.parentElement}
  />
</div>
Full height dialogs and on-screen virtual keyboards

A new --dialog-viewport-height CSS variable has been added to the Dialog component. This variable exposes the height of the visual viewport, considering the space taken by virtual keyboards on mobile devices. Use this CSS variable when you have input fields in your dialog to ensure it always fits within the visual viewport:

.dialog {
  max-height: var(--dialog-viewport-height, 100dvh);
}
Overriding composite state for specific methods

The next, previous, up, and down methods of the composite store now accept an object as the first argument to override the composite state for that specific method. For example, you can pass a different activeId value to the next method so it returns the next item based on that value rather than the current active item in the composite store:

const store = useCompositeStore({ defaultActiveId: "item1" });
const item3 = store.next({ activeId: "item2" });

It's important to note that the composite state is not modified when using this feature. The state passed to these methods is used solely for that specific method call.

Other updates
  • Fixed the ability to Tab out of a nested Menu within a modal Dialog.
  • Fixed CJS build on Next.js.
  • Enhanced performance on Dialog backdrops.
  • Fixed Tab to pass the rowId prop when used with other composite widgets.
  • Improved JSDocs.
  • Updated dependencies: @ariakit/react-core@0.4.12

v0.4.11

Compare Source

Tabs inside animated Combobox or Select

When rendering Tab inside Combobox or Select, it now waits for the closing animation to finish before restoring the tab with the selected item. This should prevent an inconsistent UI where the tab is restored immediately while the content is still animating out. See Select with Combobox and Tabs.

Other updates
  • Updated Combobox to immediately reset the activeId upon closing the popover.
  • Removed delay when applying the data-focus-visible attribute.
  • Fixed mouse down on MenuButton hiding the menu on Safari.
  • Improved JSDocs.
  • Updated dependencies: @ariakit/react-core@0.4.11
withastro/astro (@​astrojs/check)

v0.9.9

Compare Source

Patch Changes

v0.9.8

Compare Source

Patch Changes

v0.9.7

Compare Source

Patch Changes

v0.9.6

Patch Changes

v0.9.5

Patch Changes
  • d415d4e: When no errors or warnings are detected, display "0 errors" or "0 warnings" in a dimmed color on the console instead of red or yellow.

v0.9.4

Patch Changes
withastro/astro (@​astrojs/mdx)

v3.1.9

Compare Source

Patch Changes

v3.1.8

Compare Source

Patch Changes

v3.1.7

Compare Source

Patch Changes

v3.1.6

Compare Source

Patch Changes
withastro/astro (@​astrojs/node)

v8.3.4

Patch Changes
withastro/astro (@​astrojs/react)

v3.6.3

Compare Source

Patch Changes
withastro/astro (@​astrojs/tailwind)

v5.1.5

Compare Source

Patch Changes

Note

PR body was truncated to here.


Configuration

📅 Schedule: (UTC)

  • 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.

👻 Immortal: This PR will be recreated if closed unmerged. Get config help if that's undesired.


  • 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 added the Dependencies label Sep 2, 2024
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch from 0798832 to c07e3a1 Compare September 5, 2024 03:32
@renovate renovate Bot changed the title fix(deps): update dependency @ariakit/react to ^0.4.11 fix(deps): update all non-major dependencies Sep 5, 2024
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 11 times, most recently from 16c1b7b to 4cb3905 Compare September 12, 2024 17:18
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 10 times, most recently from b0a9401 to 9983646 Compare September 20, 2024 08:23
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 06ef5be to 1056162 Compare September 25, 2024 06:27
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 13 times, most recently from 3e9a6fd to 53bba65 Compare October 15, 2024 06:27
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 4 times, most recently from 6aaf87e to 2ba350e Compare October 17, 2024 19:38
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 6 times, most recently from 8b20452 to 579c697 Compare October 28, 2024 18:46
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 5f84884 to c4d256d Compare November 6, 2024 15:23
@renovate renovate Bot force-pushed the renovate/all-minor-patch branch 3 times, most recently from 3c7acbd to c5f94b2 Compare November 8, 2024 16:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants