jhonsfran1165 / unprice

Pricing engine for modern ai apps
https://unprice.dev
GNU Affero General Public License v3.0
27 stars 4 forks source link

fix(deps): update dependency cmdk to v1 #91

Open renovate[bot] opened 8 months ago

renovate[bot] commented 8 months ago

This PR contains the following updates:

Package Change Age Adoption Passing Confidence
cmdk (source) ^0.2.1 -> ^1.0.3 age adoption passing confidence

Release Notes

pacocoursey/cmdk (cmdk) ### [`v1.0.3`](https://redirect.github.com/pacocoursey/cmdk/releases/tag/v1.0.3) [Compare Source](https://redirect.github.com/pacocoursey/cmdk/compare/v1.0.2...v1.0.3) - Fix `use-sync-external-store` shim for compatibility with Next.js 15 and React 19 RC ### [`v1.0.2`](https://redirect.github.com/pacocoursey/cmdk/releases/tag/v1.0.2) [Compare Source](https://redirect.github.com/pacocoursey/cmdk/compare/v1.0.1...v1.0.2) - Remove `use-sync-external-store` shim to support Next.js 15 and React 19 RC **Full Changelog**: https://github.com/pacocoursey/cmdk/compare/v1.0.1...v1.0.2 ### [`v1.0.1`](https://redirect.github.com/pacocoursey/cmdk/releases/tag/v1.0.1) [Compare Source](https://redirect.github.com/pacocoursey/cmdk/compare/v1.0.0...v1.0.1) #### What's Changed - fix: docs mistake we are no longer lowercasing by [@​itsjoeoui](https://redirect.github.com/itsjoeoui) in [https://github.com/pacocoursey/cmdk/pull/227](https://redirect.github.com/pacocoursey/cmdk/pull/227) - feat: export defaultFilter by [@​evanob](https://redirect.github.com/evanob) in [https://github.com/pacocoursey/cmdk/pull/229](https://redirect.github.com/pacocoursey/cmdk/pull/229) - chore: add more details to package.json by [@​andipaetzold](https://redirect.github.com/andipaetzold) in [https://github.com/pacocoursey/cmdk/pull/228](https://redirect.github.com/pacocoursey/cmdk/pull/228) - chore(deps): bump the npm_and_yarn group across 2 directories with 2 updates by [@​dependabot](https://redirect.github.com/dependabot) in [https://github.com/pacocoursey/cmdk/pull/226](https://redirect.github.com/pacocoursey/cmdk/pull/226) - fix: controlled search change with hidden Command.List by [@​vltansky](https://redirect.github.com/vltansky) in [https://github.com/pacocoursey/cmdk/pull/217](https://redirect.github.com/pacocoursey/cmdk/pull/217) - fix: Framer example capitalization of values by [@​arihanv](https://redirect.github.com/arihanv) in [https://github.com/pacocoursey/cmdk/pull/231](https://redirect.github.com/pacocoursey/cmdk/pull/231) - fix: fix compiling code Array.from(void 0) by [@​nenya1840](https://redirect.github.com/nenya1840) in [https://github.com/pacocoursey/cmdk/pull/237](https://redirect.github.com/pacocoursey/cmdk/pull/237) - fix: useId backward compatibility by [@​phsantiago](https://redirect.github.com/phsantiago) in [https://github.com/pacocoursey/cmdk/pull/165](https://redirect.github.com/pacocoursey/cmdk/pull/165) - Relax dependencies on Radix-UI to SemVer MAJOR releases by [@​eps1lon](https://redirect.github.com/eps1lon) in [https://github.com/pacocoursey/cmdk/pull/278](https://redirect.github.com/pacocoursey/cmdk/pull/278) - feat: allow react v19 as peer dep by [@​Yonom](https://redirect.github.com/Yonom) in [https://github.com/pacocoursey/cmdk/pull/318](https://redirect.github.com/pacocoursey/cmdk/pull/318) - Upgrade [@​radix-ui/react-id](https://redirect.github.com/radix-ui/react-id) by [@​tmcw](https://redirect.github.com/tmcw) in [https://github.com/pacocoursey/cmdk/pull/297](https://redirect.github.com/pacocoursey/cmdk/pull/297) - fix: useSyncExternalStore backward compatibility by [@​MateoKruk](https://redirect.github.com/MateoKruk) in [https://github.com/pacocoursey/cmdk/pull/296](https://redirect.github.com/pacocoursey/cmdk/pull/296) - fix(context): read disablePointerSelection from propsRef by [@​f0rr0](https://redirect.github.com/f0rr0) in [https://github.com/pacocoursey/cmdk/pull/314](https://redirect.github.com/pacocoursey/cmdk/pull/314) #### New Contributors - [@​itsjoeoui](https://redirect.github.com/itsjoeoui) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/227](https://redirect.github.com/pacocoursey/cmdk/pull/227) - [@​evanob](https://redirect.github.com/evanob) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/229](https://redirect.github.com/pacocoursey/cmdk/pull/229) - [@​andipaetzold](https://redirect.github.com/andipaetzold) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/228](https://redirect.github.com/pacocoursey/cmdk/pull/228) - [@​dependabot](https://redirect.github.com/dependabot) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/226](https://redirect.github.com/pacocoursey/cmdk/pull/226) - [@​vltansky](https://redirect.github.com/vltansky) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/217](https://redirect.github.com/pacocoursey/cmdk/pull/217) - [@​arihanv](https://redirect.github.com/arihanv) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/231](https://redirect.github.com/pacocoursey/cmdk/pull/231) - [@​nenya1840](https://redirect.github.com/nenya1840) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/237](https://redirect.github.com/pacocoursey/cmdk/pull/237) - [@​phsantiago](https://redirect.github.com/phsantiago) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/165](https://redirect.github.com/pacocoursey/cmdk/pull/165) - [@​eps1lon](https://redirect.github.com/eps1lon) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/278](https://redirect.github.com/pacocoursey/cmdk/pull/278) - [@​Yonom](https://redirect.github.com/Yonom) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/318](https://redirect.github.com/pacocoursey/cmdk/pull/318) - [@​tmcw](https://redirect.github.com/tmcw) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/297](https://redirect.github.com/pacocoursey/cmdk/pull/297) - [@​MateoKruk](https://redirect.github.com/MateoKruk) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/296](https://redirect.github.com/pacocoursey/cmdk/pull/296) - [@​f0rr0](https://redirect.github.com/f0rr0) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/314](https://redirect.github.com/pacocoursey/cmdk/pull/314) **Full Changelog**: https://github.com/pacocoursey/cmdk/compare/v1.0.0...v1.0.1 ### [`v1.0.0`](https://redirect.github.com/pacocoursey/cmdk/releases/tag/v1.0.0) [Compare Source](https://redirect.github.com/pacocoursey/cmdk/compare/v0.2.1...v1.0.0) This is a major version release as it contains breaking changes. #### Breaking Changes You will need to update your code to account for these changes before upgrading to `cmdk@1.0.0`. ##### `value` is now case sensitive [`3dae25d`](https://redirect.github.com/pacocoursey/cmdk/commit/3dae25da8ca8448ea5b101a50f5d5987fe27679c) The `value` prop you pass to `Command.Item` and receive in `onSelect` is now case sensitive. But while the value is no longer lowercased, it is still trimmed. ##### `Command.List` is now required (`CommandList` in shadcn) [`54aa261`](https://redirect.github.com/pacocoursey/cmdk/commit/54aa2617a80ce897dedfaea65a24cc439cd3c03f) Rendering the `Command.List` part (`CommandList` if using shadcn) is now mandatory. Otherwise, you should expect to see an error like this: TypeError: undefined is not iterable (cannot read property Symbol(Symbol.iterator)) The fix: ```tsx // Before {/* ... */} ``` ```tsx // After {/* ... */} ``` ##### Update `[aria-disabled]` and `[aria-selected]` CSS selectors [`c57e6b7`](https://redirect.github.com/pacocoursey/cmdk/commit/c57e6b7f81a5796395c7a016d6b1b2aac9591973) The `aria-disabled` and `aria-selected` props will now be set to `false`, instead of being `undefined`. If you previously used CSS selectors based on attribute presence, you will now need to use the attribute value. ```css /* Before */ [aria-disabled] {} :not([aria-disabled]) {} /* After */ [aria-disabled="true"] {} [aria-disabled="false"] {} ``` #### What's Changed - Added support for rendering `Command.List` in a portal in [`54aa261`](https://redirect.github.com/pacocoursey/cmdk/commit/54aa2617a80ce897dedfaea65a24cc439cd3c03f) - Fixed `Command.Empty` not appearing on first render in [`be4388e`](https://redirect.github.com/pacocoursey/cmdk/commit/be4388ed6924e061b9e17aa6d6d4223ac8628e44) - Fixed ESM support via new exports field by [@​SoYoung210](https://redirect.github.com/SoYoung210) in [https://github.com/pacocoursey/cmdk/pull/141](https://redirect.github.com/pacocoursey/cmdk/pull/141) - Added `disablePointerSelection` prop to `Command` to disable item selection via pointer, like Raycast by [@​joaom00](https://redirect.github.com/joaom00) in [https://github.com/pacocoursey/cmdk/pull/116](https://redirect.github.com/pacocoursey/cmdk/pull/116) - Fix excessive re-renders when using `forceMount` by [@​joaom00](https://redirect.github.com/joaom00) in [https://github.com/pacocoursey/cmdk/pull/143](https://redirect.github.com/pacocoursey/cmdk/pull/143) - Fixed to only scroll the selected item into view on first render and via keyboard by [@​joaom00](https://redirect.github.com/joaom00) in [https://github.com/pacocoursey/cmdk/pull/135](https://redirect.github.com/pacocoursey/cmdk/pull/135) - Bumped `@radix-ui/react-dialog` version by [@​wmcheung](https://redirect.github.com/wmcheung) in [https://github.com/pacocoursey/cmdk/pull/194](https://redirect.github.com/pacocoursey/cmdk/pull/194) - Fixed item sort not working correctly by [@​pengx17](https://redirect.github.com/pengx17) in [https://github.com/pacocoursey/cmdk/pull/182](https://redirect.github.com/pacocoursey/cmdk/pull/182) - Added `keywords` prop to the `Command.Item` component by [@​itaikeren](https://redirect.github.com/itaikeren) in [https://github.com/pacocoursey/cmdk/pull/158](https://redirect.github.com/pacocoursey/cmdk/pull/158) - Added `asChild` prop to all component parts by [@​joaom00](https://redirect.github.com/joaom00) in [https://github.com/pacocoursey/cmdk/pull/138](https://redirect.github.com/pacocoursey/cmdk/pull/138) - Fix suggestions list and loading progressbar labels by [@​afercia](https://redirect.github.com/afercia) in [https://github.com/pacocoursey/cmdk/pull/204](https://redirect.github.com/pacocoursey/cmdk/pull/204) - Allow keyboard navigation even when text input is not focused by [@​glocore](https://redirect.github.com/glocore) in [https://github.com/pacocoursey/cmdk/pull/61](https://redirect.github.com/pacocoursey/cmdk/pull/61) - Fix DOM error with quotes in the search query by [@​yjl9903](https://redirect.github.com/yjl9903) in [https://github.com/pacocoursey/cmdk/pull/223](https://redirect.github.com/pacocoursey/cmdk/pull/223) #### New Contributors - [@​SoYoung210](https://redirect.github.com/SoYoung210) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/141](https://redirect.github.com/pacocoursey/cmdk/pull/141) - [@​wmcheung](https://redirect.github.com/wmcheung) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/194](https://redirect.github.com/pacocoursey/cmdk/pull/194) - [@​pengx17](https://redirect.github.com/pengx17) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/182](https://redirect.github.com/pacocoursey/cmdk/pull/182) - [@​itaikeren](https://redirect.github.com/itaikeren) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/158](https://redirect.github.com/pacocoursey/cmdk/pull/158) - [@​afercia](https://redirect.github.com/afercia) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/204](https://redirect.github.com/pacocoursey/cmdk/pull/204) - [@​glocore](https://redirect.github.com/glocore) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/61](https://redirect.github.com/pacocoursey/cmdk/pull/61) - [@​yjl9903](https://redirect.github.com/yjl9903) made their first contribution in [https://github.com/pacocoursey/cmdk/pull/223](https://redirect.github.com/pacocoursey/cmdk/pull/223) **Full Changelog**: https://github.com/pacocoursey/cmdk/compare/v0.2.1...v1.0.0

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.

vercel[bot] commented 8 months ago

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
builderai ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 0:39am
builderai-auth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 0:39am
unprice ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 0:39am
unprice-auth ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 0:39am
unprice-workflows ✅ Ready (Inspect) Visit Preview 💬 Add feedback Nov 1, 2024 0:39am