Closed renovate[bot] closed 2 months ago
Link to pipeline: https://gitlab.com/code0-tech/development/pictor/-/pipelines/1419824602
Status: Passed \ Duration: 4 minutes
Documentation preview available at https://code0-tech.gitlab.io/-/development/telescopium/-/jobs/7620984737/artifacts/dist/index.html
Storybook available at https://code0-tech.gitlab.io/-/development/pictor/-/jobs/7620972272/artifacts/storybook-static/index.html
This PR contains the following updates:
^0.4.8
->^0.4.9
Release Notes
ariakit/ariakit (@ariakit/react)
### [`v0.4.9`](https://togithub.com/ariakit/ariakit/blob/HEAD/packages/ariakit-react/CHANGELOG.md#049) [Compare Source](https://togithub.com/ariakit/ariakit/compare/@ariakit/react@0.4.8...@ariakit/react@0.4.9) ##### New `useStoreState` hook The [`useStoreState`](https://ariakit.org/reference/use-store-state) hook is now part of the public API. Previously used internally by dynamic `useState` hooks from Ariakit store objects, it is now available in the `@ariakit/react` package to ensure compatibility with the new React Compiler. The following snippets are equivalent: ```js const combobox = useComboboxStore(); const value = combobox.useState("value"); ``` ```js const combobox = useComboboxStore(); const value = useStoreState(combobox, "value"); ``` Besides working better with the new React Compiler, [`useStoreState`](https://ariakit.org/reference/use-store-state) is more flexible than `store.useState` as it accepts a store that is `null` or `undefined`, in which case the returned value will be `undefined`. This is useful when you're reading a store from a context that may not always be available: ```js const combobox = useComboboxContext(); const value = useStoreState(combobox, "value"); ``` ##### New `ComboboxValue` component A [`ComboboxValue`](https://ariakit.org/reference/combobox-value) component is now available. This *value* component displays the current value of the combobox input without rendering any DOM elements or taking any HTML props. You can optionally pass a function as a child returning any React node based on the current value: ```jsxConfiguration
š 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.