Open Source Platform for DTC, B2B Commerce, Marketplaces & Omnichannel. REST APIs, TypeScript SDKs, and production-ready Next.js storefront. Self-host it. Own your data. No vendor lock-in. Zero platform fees.
Ruby b2b-commercee-commerceecommerceecommerce-apiecommerce-frameworkecommerce-platformheadlessheadless-commerceheadless-ecommercemarketplacemulti-tenantmulti-vendormulti-vendor-ecommerceopen-sourcespree-commerce
Changed the command palette to Base UI Autocomplete (#15029)
Damian Legawiec4cfb2abfd613
diff --git a/.changeset/command-on-base-ui.md b/.changeset/command-on-base-ui.mdnew file mode 100644index 0000000000..85e55ceb0b--- /dev/null+++ b/.changeset/command-on-base-ui.md@@ -0,0 +1,7 @@+---+"@spree/dashboard-ui": patch+"@spree/dashboard-core": patch+"@spree/dashboard": patch+---++The command palette is now built on Base UI's Autocomplete instead of `cmdk`, so the dashboard no longer installs `cmdk` or any Radix packages. It looks and works the same: arrow keys move the highlight, Enter opens the highlighted row and Escape closes the palette. The `Command` components in `@spree/dashboard-ui` keep the props the dashboard uses: `shouldFilter` on `Command`, `value` and `onValueChange` on `CommandInput`, `value`, `keywords` and `onSelect` on `CommandItem`, and `heading` on `CommandGroup`. The `cmdk` options on `Command` for the highlighted row (`value`, `onValueChange`), custom matching (`filter`) and wrap-around (`loop`) are no longer available.diff --git a/packages/dashboard-core/src/hooks/use-global-search.ts b/packages/dashboard-core/src/hooks/use-global-search.tsindex 53d8dbc01d..48b9f2556e 100644--- a/packages/dashboard-core/src/hooks/use-global-search.ts+++ b/packages/dashboard-core/src/hooks/use-global-search.ts@@ -44,7 +44,7 @@ export function useGlobalSearch(rawQuery: string) {queries: permitted.map((entry) => ({// Scope by user so a logout→login on the same store can't serve the// previous user's cached results from React Query.- queryKey: ['cmdk', user?.id, storeId, entry.key, query],+ queryKey: ['global-search', user?.id, storeId, entry.key, query],queryFn: () => entry.fetch(query, RESULT_LIMIT),enabled,gcTime: GC_TIME_MS,diff --git a/packages/dashboard-core/src/lib/search-registry.ts b/packages/dashboard-core/src/lib/search-registry.tsindex 2406b18b97..9aa8c25782 100644--- a/packages/dashboard-core/src/lib/search-registry.ts+++ b/packages/dashboard-core/src/lib/search-registry.ts@@ -21,7 +21,7 @@ import type { SubjectName } from './permissions'*/export interface SearchResultRow {- /** cmdk value — must be unique across the whole list; prefix with the entry key. */+ /** Item value — must be unique across the whole list; prefix with the entry key. */value: string/** Row contents rendered inside the `CommandItem`. */content: ReactNodediff --git a/packages/dashboard-ui/package.json b/packages/dashboard-ui/package.jsonindex 5fb7cb8c7f..475374720f 100644--- a/packages/dashboard-ui/package.json+++ b/packages/dashboard-ui/package.json@@ -80,7 +80,6 @@"@uiw/react-json-view": "1.12.2","class-variance-authority": "0.7.1","clsx": "2.1.1",- "cmdk": "1.1.1","date-fns": "4.4.0","date-fns-tz": "3.2.0","flag-icons": "7.6.0",diff --git a/packages/dashboard-ui/src/ui/command.tsx b/packages/dashboard-ui/src/ui/command.tsxindex f2954a21ba..c695b47f4e 100644--- a/packages/dashboard-ui/src/ui/command.tsx+++ b/packages/dashboard-ui/src/ui/command.tsx@@ -1,4 +1,4 @@-import { Command as CommandPrimitive } from 'cmdk'+import { Autocomplete as AutocompletePrimitive } from '@base-ui/react'import i18n from 'i18next'import * as React from 'react'import { cn } from '../lib/utils'@@ -12,16 +12,67 @@ import {} from '../spree/icons'import { Dialog, DialogContent, DialogDescription, DialogHeader, DialogTitle } from './dialog'-function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>) {+const CommandContext = React.createContext<{+ query: string+ setQuery: (query: string) => void+ shouldFilter: boolean+ onInputChange: React.RefObject<((value: string) => void) | undefined>+}>({ query: '', setQuery: () => {}, shouldFilter: false, onInputChange: { current: undefined } })++/**+ * A search field over a list of actions, on Base UI's Autocomplete rendered+ * inline. The query lives on `CommandInput`. Rows whose `value` or text does not+ * contain the query are hidden unless `shouldFilter` is false.+ */+function Command({+ className,+ children,+ shouldFilter = true,+ ...props+}: React.ComponentProps<'div'> & { shouldFilter?: boolean }) {+ const [query, setQuery] = React.useState('')+ const onInputChange = React.useRef<((value: string) => void) | undefined>(undefined)++ const context = React.useMemo(+ () => ({ query, setQuery, shouldFilter, onInputChange }),+ [query, shouldFilter],+ )+return (- <CommandPrimitive- data-slot="command"- className={cn(- 'flex size-full flex-col overflow-hidden rounded-2xl! bg-popover text-popover-foreground',- className,- )}- {...props}- />+ <AutocompletePrimitive.Root+ inline+ open+ autoHighlight="always"+ keepHighlight+ filter={null}+ value={query}+ onValueChange={(next, eventDetails) => {+ // Choosing a row would otherwise write that row's value into the field.+ if (eventDetails.reason === 'item-press') return+ setQuery(next)+ onInputChange.current?.(next)+ }}+ onOpenChange={(_open, eventDetails) => {+ // The list is always shown, so Escape belongs to the dialog around it.+ if (eventDetails.reason === 'escape-key') {+ eventDetails.cancel()+ eventDetails.allowPropagation()+ }+ }}+ >+ <CommandContext.Provider value={context}>+ <div+ data-slot="command"+ className={cn(+ 'flex size-full flex-col overflow-hidden rounded-2xl! bg-popover text-popover-foreground',+ className,+ )}+ {...props}+ >+ {children}+ </div>+ </CommandContext.Provider>+ </AutocompletePrimitive.Root>)}@@ -72,18 +123,32 @@ function CommandDialog({function CommandInput({className,loading = false,+ value,+ onValueChange,...props-}: React.ComponentProps<typeof CommandPrimitive.Input> & {+}: Omit<AutocompletePrimitive.Input.Props, 'value'> & {+ value?: string+ onValueChange?: (value: string) => void/** Shows a spinner at the end of the field while results are in flight. */loading?: boolean}) {+ const { query, setQuery, onInputChange } = React.useContext(CommandContext)+ React.useLayoutEffect(() => {+ onInputChange.current = onValueChange+ }, [onInputChange, onValueChange])+ // A controlled field shows only what its owner accepts: a reset from outside,+ // or the previous text when an edit is rejected.+ React.useLayoutEffect(() => {+ if (value !== undefined && value !== query) setQuery(value)+ }, [value, query, setQuery])+return (<divdata-slot="command-input-wrapper"className="flex h-14 shrink-0 items-center gap-3 border-b border-border px-5"><SearchIcon className="size-5 shrink-0 text-muted-foreground" />- <CommandPrimitive.Input+ <AutocompletePrimitive.Inputdata-slot="command-input"aria-busy={loading || undefined}className={cn(@@ -115,12 +180,12 @@ function CommandInput({* every keystroke. Pass `className="h-…"` to change it, or `h-auto max-h-…`* for the shrink-to-fit behaviour a short static menu wants.*/-function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>) {+function CommandList({ className, ...props }: AutocompletePrimitive.List.Props) {return (- <CommandPrimitive.List+ <AutocompletePrimitive.Listdata-slot="command-list"className={cn(- 'h-80 min-h-0 scroll-py-2 overflow-x-hidden overflow-y-auto p-2 outline-none',+ 'group/command-list h-80 min-h-0 scroll-py-2 overflow-x-hidden overflow-y-auto p-2 outline-none',className,)}{...props}@@ -128,14 +193,15 @@ function CommandList({ className, ...props }: React.ComponentProps<typeof Comman)}-function CommandEmpty({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Empty>) {+/** The message for an empty list. Hidden while the list has any rows. */+function CommandEmpty({ className, ...props }: React.ComponentProps<'div'>) {return (- <CommandPrimitive.Empty+ <divdata-slot="command-empty"- className={cn('py-10 text-center text-sm text-muted-foreground', className)}+ className={cn(+ 'py-10 text-center text-sm text-muted-foreground group-has-[[data-slot=command-item]]/command-list:hidden',+ className,+ )}{...props}/>)@@ -143,26 +209,35 @@ function CommandEmpty({function CommandGroup({className,+ heading,+ children,...props-}: React.ComponentProps<typeof CommandPrimitive.Group>) {+}: AutocompletePrimitive.Group.Props & { heading?: React.ReactNode }) {return (- <CommandPrimitive.Group+ <AutocompletePrimitive.Groupdata-slot="command-group"className={cn(- 'overflow-hidden text-foreground not-last:pb-2 **:[[cmdk-group-heading]]:px-3 **:[[cmdk-group-heading]]:pt-2 **:[[cmdk-group-heading]]:pb-1.5 **:[[cmdk-group-heading]]:text-xs **:[[cmdk-group-heading]]:font-medium **:[[cmdk-group-heading]]:text-muted-foreground',+ 'overflow-hidden text-foreground not-last:pb-2 not-has-[[data-slot=command-item]]:hidden',className,)}{...props}- />+ >+ {heading && (+ <AutocompletePrimitive.GroupLabel+ data-slot="command-group-heading"+ className="px-3 pt-2 pb-1.5 text-xs font-medium text-muted-foreground"+ >+ {heading}+ </AutocompletePrimitive.GroupLabel>+ )}+ {children}+ </AutocompletePrimitive.Group>)}-function CommandSeparator({- className,- ...props-}: React.ComponentProps<typeof CommandPrimitive.Separator>) {+function CommandSeparator({ className, ...props }: AutocompletePrimitive.Separator.Props) {return (- <CommandPrimitive.Separator+ <AutocompletePrimitive.Separatordata-slot="command-separator"className={cn('-mx-2 my-1 h-px bg-border-subtle', className)}{...props}@@ -170,23 +245,47 @@ function CommandSeparator({)}+/**+ * One row. `onSelect` runs on click and on Enter while the row is highlighted,+ * and receives the row's `value`.+ */function CommandItem({className,children,+ value,+ keywords,+ onSelect,...props-}: React.ComponentProps<typeof CommandPrimitive.Item>) {+}: Omit<AutocompletePrimitive.Item.Props, 'onClick' | 'onSelect' | 'value'> & {+ value?: string+ keywords?: string[]+ onSelect?: (value: string) => void+}) {+ const { query, shouldFilter } = React.useContext(CommandContext)+ const text = value ?? (typeof children === 'string' ? children : '')+ const needle = query.trim().toLowerCase()+ if (+ shouldFilter &&+ needle &&+ ![text, ...(keywords ?? [])].some((term) => term.toLowerCase().includes(needle))+ ) {+ return null+ }+return (- <CommandPrimitive.Item+ <AutocompletePrimitive.Itemdata-slot="command-item"+ value={value}+ onClick={() => onSelect?.(text)}className={cn(- "group/command-item relative flex cursor-pointer items-center gap-3 rounded-md px-3 py-2.5 text-sm outline-hidden select-none data-[disabled=true]:pointer-events-none data-[disabled=true]:opacity-50 data-selected:bg-accent-strong data-selected:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-selected:*:[svg]:text-foreground",+ "group/command-item relative flex cursor-pointer items-center gap-3 rounded-md px-3 py-2.5 text-sm outline-hidden select-none data-disabled:pointer-events-none data-disabled:opacity-50 data-highlighted:bg-accent-strong data-highlighted:text-accent-foreground [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4 [&_svg:not([class*='text-'])]:text-muted-foreground data-highlighted:*:[svg]:text-foreground",className,)}{...props}>{children}<CheckIcon className="ml-auto opacity-0 group-has-data-[slot=command-shortcut]/command-item:hidden group-data-[checked=true]/command-item:opacity-100" />- </CommandPrimitive.Item>+ </AutocompletePrimitive.Item>)}@@ -195,7 +294,7 @@ function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>)<spandata-slot="command-shortcut"className={cn(- 'ml-auto text-xs tracking-widest text-muted-foreground group-data-selected/command-item:text-foreground',+ 'ml-auto text-xs tracking-widest text-muted-foreground group-data-highlighted/command-item:text-foreground',className,)}{...props}diff --git a/packages/dashboard/e2e/command-palette.spec.ts b/packages/dashboard/e2e/command-palette.spec.tsindex 1870bf6dab..3c121f92ea 100644--- a/packages/dashboard/e2e/command-palette.spec.ts+++ b/packages/dashboard/e2e/command-palette.spec.ts@@ -77,6 +77,59 @@ test.describe('command palette', () => {await expect(page.getByRole('option', { name: /^new order$/i })).toBeVisible()})+ // With no query the destinations are listed, so there is no empty-list hint.+ test('opens on the list of destinations', async ({ page }) => {+ const creds = await login(page)+ await openPalette(page, creds.store_id)++ const dialog = page.getByRole('dialog')+ await expect(dialog.getByRole('option', { name: /^orders$/i })).toBeVisible({+ timeout: 15_000,+ })+ await expect(dialog.getByText(/type to search/i)).toBeHidden()+ })++ // A query naming a destination outright puts that page first, highlighted,+ // so Enter alone reaches it.+ test('Enter opens the highlighted destination', async ({ page }) => {+ const creds = await login(page)+ const input = await openPalette(page, creds.store_id)++ await input.fill('orders')+ const orders = page.getByRole('option', { name: /^orders$/i })+ await expect(orders).toHaveAttribute('data-highlighted', '', { timeout: 15_000 })++ await input.press('Enter')++ await expect(page).toHaveURL(new RegExp(`/${creds.store_id}/orders(?:[?#]|$)`))+ await expect(page.getByRole('dialog')).toBeHidden()+ })++ test('arrow keys move the highlight without changing the query', async ({ page }) => {+ const creds = await login(page)+ const input = await openPalette(page, creds.store_id)++ await input.fill('new')+ const options = page.getByRole('dialog').getByRole('option')+ await expect(options.first()).toHaveAttribute('data-highlighted', '', { timeout: 15_000 })++ await input.press('ArrowDown')++ await expect(options.nth(1)).toHaveAttribute('data-highlighted', '')+ await expect(options.first()).not.toHaveAttribute('data-highlighted', '')+ await expect(input).toHaveValue('new')+ })++ test('Escape closes the palette', async ({ page }) => {+ const creds = await login(page)+ const input = await openPalette(page, creds.store_id)++ await input.fill('orders')+ await input.press('Escape')++ await expect(page.getByRole('dialog')).toBeHidden()+ })+test('reports when a query matches nothing', async ({ page }) => {const creds = await login(page)const input = await openPalette(page, creds.store_id)diff --git a/packages/dashboard/src/components/spree/command-palette/command-palette.tsx b/packages/dashboard/src/components/spree/command-palette/command-palette.tsxindex 299bec23f2..9c25315c58 100644--- a/packages/dashboard/src/components/spree/command-palette/command-palette.tsx+++ b/packages/dashboard/src/components/spree/command-palette/command-palette.tsx@@ -172,7 +172,7 @@ function CommandPaletteContent({ setOpen }: { setOpen: (open: boolean) => void }finalFocus={false}>{/* The server filters resource results via Ransack; static commands- are pre-filtered in JS. Either way, cmdk shouldn't filter again. */}+ are pre-filtered in JS. Either way, `Command` shouldn't filter again. */}<Command shouldFilter={false}><CommandInputvalue={input}@@ -268,7 +268,7 @@ function CommandPaletteContent({ setOpen }: { setOpen: (open: boolean) => void }// ---------------------------------------------------------------------------interface GotoCommand {- /** Stable key — registry entry key, used as the React key + cmdk value. */+ /** Stable key — registry entry key, used as the React key and the item value. */key: string/** Resolved, translated label shown in the list. */label: string@@ -309,7 +309,7 @@ function buildGotoCommands({// Main + bottom nav, including nested children. Keys are namespaced per// registry because raw keys are only unique within their own registry —- // merging them risks duplicate React keys / cmdk values across sections.+ // merging them risks duplicate React keys and item values across sections.for (const entry of [...main, ...bottom]) {// Mirror the sidebar: when the parent subject is denied, the whole subtree// (parent + children) is hidden, so don't surface its children either.diff --git a/pnpm-lock.yaml b/pnpm-lock.yamlindex b3f0a1cddf..017539a291 100644--- a/pnpm-lock.yaml+++ b/pnpm-lock.yaml@@ -700,9 +700,6 @@ importers:clsx:specifier: 2.1.1version: 2.1.1- cmdk:- specifier: 1.1.1- version: 1.1.1(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])date-fns:specifier: 4.4.0version: 4.4.0@@ -1756,168 +1753,6 @@ packages:resolution: {integrity: sha512-pOr5+q1fLYKwFN3LAJuGZEnfXDcQ73zqgDHMtGy+K+uIoUqyY+6MeDCWFwfu+4EFuq76I5EPFofoNAI+Bmmq4A==}engines: {node: '>=22.13'}- '@radix-ui/[email protected]':- resolution: {integrity: sha512-rqWnm76nYT8HoNNqEjpgJ7Pw/DrBj5iBTrmEPo6HTX5+VJyBNOqTdv4g89G63HuR5g0AaENoAcH7Is5fF2kZ8Q==}-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-+48PbAAbq3didjJxa+OaWY2ZwgAKsNiRGyeHKszblZMQ+kcpd9pAaT11cMkGEie0vsOi3QdeTE6d5Fe3Gn61kA==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RHCUGwKHDr0hDGg4X7ma4JG4/+12qxw8rkh5QKdDldlCvtja6nUx1Ef/8HVrJze81lEsgLQlqjzjGNHantgnQA==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-l5CX8HdNL+9cc4s7HkNyplumSA3FIx68sg9dttBHKr286fRBwq1MBniDVTeI/tkof92/APntMQvC1YG1Khb0Cg==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-35WHRrycfnj2m4LvPiKMKHGLM3Y2WvUA744CkRdxjs1BGDX1c8PVMfmiSGTUwnHRbqdtIoxveYTXvcJSt7VfgQ==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RNOJjfZMTyBM6xYmV3IVGXkPjIhcBAuv48POevAXwrGJhkWZ9p1rFoIS1JFooPuT193AZmRsCPhpoVJxx6OPoQ==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-I5S7vsAOozx2lWSBAyuXjWIJ/A8qx4fjbv6115WoaRYQSb1yZDaeNHonUAQzXyE8oD+0whJHbQRl4HIE2gQ0Xw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-TMQp2llA+RYn7JcjnrMnz7wN4pcVttPZnRZo52PLQsoLVKzNlVwUeHmfePgTgRluXFvlD3GD5g5MOVVTJCO0qA==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-ygFIJ+QXNKf72AAq8x3hd22+ws7pYpmc1S0E4kW0Je+qD4qEb3FvxeKVQRGrVDMOkQaYfsB+Qs+KDh81a1gAOw==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-Z7/atlkab36Z8hm+V8zYc79r0W+tiOB1o0tun1By94JyadkekLQmtEAnBSP9XKXBNQsStoStS4+gX10JpS5akA==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-RzcaSw5aKl0OPhBJ1wbolKSF6nVvN+0o/QLeIVq+09npiPdnCkPggy2k6gI6yetxl4ZyrlBPYFgCB8BQJZwXcQ==}- peerDependencies:- '@types/react': '*'- '@types/react-dom': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- react-dom: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true- '@types/react-dom':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-IuMVHZ+Ah5fkctu3X3qeFrV/ZrBcuWuDTFUUPfS/L5hvoTjzhp/HdWGE14CsQombPdEidsa33HVlYZXi49PZ1Q==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-R6OUY2e2fA6Yn6s+VSx5KBV6Nx8LQEhu+cz7LCej18rQ1HLyg9PSC9jP/ZNx0o6FAIK9c0F1kHylzSxKsdlkrQ==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-uEQJGT97ZA/TgP/Hydw47lHu+/vQj6z/0jA+WeTbK1o9Rx45GImjpD0tc3W5ad3D6XTSR6e1yEO0FvGq6WQfVQ==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-7cshFL8HGS/7HEiHH+9kL9HBwp2sa9yX18Knwek6KYWmXwM7pegMgta2AXMQKI+rq3JnfSj9x8wYqFMTdG1Jgg==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- '@radix-ui/[email protected]':- resolution: {integrity: sha512-K20DkRkUwDnxEYMBPcg3Y6voLkEy5p5QQmszZgLngKKiC7dzBR/aEuK3w1qlx2JWDUNH6FluahYdgR3BP+QbYw==}- peerDependencies:- '@types/react': '*'- react: ^16.8 || ^17.0 || ^18.0 || ^19.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-'@reduxjs/[email protected]':resolution: {integrity: sha512-f6jwVRfwW30+tnllz4YcsHHpPYYOE7abcHkyUCovD+P7DyhdAI5prz2Fh/8TLhakjpN+7aIEion1s5L/tvlYlA==}peerDependencies:@@ -2872,10 +2707,6 @@ packages:resolution: {integrity: sha512-7UvmKalWRt1wgjL1RrGxoSJW/0QZFIegpeGvZG9kjp8vrRu55XTHbwnqq2GpXm9uLbcuhxm3IqX9OB4MZR1b2A==}- resolution: {integrity: sha512-ik3ZgC9dY/lYVVM++OISsaYDeg1tb0VtP5uL3ouh1koGOaUMDPpbFIei4JkFimWUFPn90sbMNMXQAIVOlnYKJA==}- engines: {node: '>=10'}-resolution: {integrity: sha512-Izi8RQcffqCeNVgFigKli1ssklIbpHnCYc6AknXGYoB6grJqyeby7jv12JUQgmTAnIDnbck1uxksT4dzN3PWBA==}engines: {node: '>=12'}@@ -3002,12 +2833,6 @@ packages:resolution: {integrity: sha512-eYm0QWBtUrBWZWG0d386OGAw16Z995PiOVo2B7bjWSbHedGl5e0ZWaq65kOGgUSNesEIDkB9ISbTg/JK9dhCZA==}engines: {node: '>=6'}- resolution: {integrity: sha512-Vsv7kFaXm+ptHDMZ7izaRsP70GgrW9NBNGswt9OZaVBLlE0SNpDq8eu/VGXyF9r7M0azK3Wy7OlYXsuyYLFzHg==}- peerDependencies:- react: ^18 || ^19 || ^19.0.0-rc- react-dom: ^18 || ^19 || ^19.0.0-rc-resolution: {integrity: sha512-+i4L0zUGgRcEnhsxueVrP7iBGxBx5iD0WOTYg1MwFEu2ZyCmH5Ov2V1cul2Ht5UchRQQgftCf4be/RxspuW6QQ==}engines: {node: '>=20'}@@ -3212,9 +3037,6 @@ packages:resolution: {integrity: sha512-Btj2BOOO83o3WyH59e8MgXsxEQVcarkUOpEYrubB0urwnN10yQ364rsiByU11nZlqWYZm05i/of7io4mzihBtQ==}engines: {node: '>=8'}- resolution: {integrity: sha512-ypdmJU/TbBby2Dxibuv7ZLW3Bs1QEmM7nHjEANfohJLvE0XVujisn1qPJcZxg+qDucsr+bP6fLD1rPS3AhJ7EQ==}-resolution: {integrity: sha512-RWmIqhcFf1lRYBvNmr7qTNuyCt/7/ns2jbpp1+PalgE/rDQcBT0fioSMUpJ93irlUhC5hrg4cYqe6U+0ImW0rA==}@@ -3452,10 +3274,6 @@ packages:resolution: {integrity: sha512-9fSjSaos/fRIVIp+xSJlE6lfwhES7LNtKaCBIamHsjr2na1BiABJPo0mOjjz8GJDURarmCPGqaiVg5mfjb98CQ==}engines: {node: '>= 0.4'}- resolution: {integrity: sha512-FJhYRoDaiatfEkUK8HKlicmu/3SGFD51q3itKDGoSTysQJBnfOcxU5GxnhE1E6soB76MbT0MBtnKJuXyAx+96Q==}- engines: {node: '>=6'}-resolution: {integrity: sha512-PKsK2FSrQCyxcGHsGrLDcK0lx+0Ke+6e8KFFozA9/fIQLhQzPaRvJFdcz7+Axg3jUH/Mq+NI4xa5u/UT2tQskA==}engines: {node: '>=14.16'}@@ -4487,36 +4305,6 @@ packages:redux:optional: true- resolution: {integrity: sha512-9r+yi9+mgU33AKcj6IbT9oRCO78WriSj6t/cF8DWBZJ9aOGPOTEDvdUDz1FwKim7QXWwmHqtdHnRJfhAxEG46Q==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0- peerDependenciesMeta:- '@types/react':- optional: true-- resolution: {integrity: sha512-Iqb9NjCCTt6Hf+vOdNIZGdTiH1QSqr27H/Ek9sv/a97gfueI/5h1s3yRi1nngzMUaOOToin5dI1dXKdXiF+u0Q==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- resolution: {integrity: sha512-b6jSvxvVnyptAiLjbkWLE/lOnR4lfTtDAl+eUC7RZy+QQWc6wRzIV2CE6xBuMmDxc2qIihtDCZD5NPOFl7fRBQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-QNhWdt7nrgVWWQG58QuGsAR3jv3Hbe4mb4vz7w2csnHavciZJgda1CPNaldF6eVxv90ud3jUXpKlHL69gO38yw==}engines: {node: '>=0.10.0'}@@ -5002,26 +4790,6 @@ packages:peerDependencies:browserslist: '>= 4.21.0'- resolution: {integrity: sha512-jQL3lRnocaFtu3V00JToYz/4QkNWswxijDaCVNZRiRTO3HQDLsdu1ZtmIUvV4yPp+rvWm5j0y0TG/S61cuijTg==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-- resolution: {integrity: sha512-Fedw0aZvkhynoPYlA5WXrMCAMm+nSWdZt6lzJQ7Ok8S6Q+VsHmHpRWndVRJ8Be0ZbkfPc5LRYH+5XrzXcEeLRQ==}- engines: {node: '>=10'}- peerDependencies:- '@types/react': '*'- react: ^16.8.0 || ^17.0.0 || ^18.0.0 || ^19.0.0 || ^19.0.0-rc- peerDependenciesMeta:- '@types/react':- optional: true-resolution: {integrity: sha512-6L+EeigHMQhdaIPNIFUKwfWJSwWFQ8gJbJ2DLOs5sDIegTwR9fRxvnM3uciHKjIZhFz+KAv2emhWMRvDmMcY8A==}peerDependencies:@@ -5994,143 +5762,6 @@ snapshots:'@pnpm/[email protected]': {}- '@radix-ui/[email protected]': {}-- dependencies:- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-context': 1.2.2(@types/[email protected])([email protected])- '@radix-ui/react-dismissable-layer': 1.1.20(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-focus-guards': 1.1.6(@types/[email protected])([email protected])- '@radix-ui/react-focus-scope': 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-portal': 1.1.18(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-presence': 1.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-primitive': 2.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-slot': 1.4.0(@types/[email protected])([email protected])- '@radix-ui/react-use-controllable-state': 1.2.6(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- aria-hidden: 1.2.6- react: 19.3.1- react-dom: 19.3.1([email protected])- react-remove-scroll: 2.7.2(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/primitive': 1.1.7- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- dependencies:- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-callback-ref': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-primitive': 2.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- '@radix-ui/[email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])':- dependencies:- '@radix-ui/react-slot': 1.4.0(@types/[email protected])([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- optionalDependencies:- '@types/react': 19.3.0- '@types/react-dom': 19.3.0(@types/[email protected])-- dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- '@radix-ui/primitive': 1.1.7- '@radix-ui/react-use-effect-event': 0.0.5(@types/[email protected])([email protected])- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- '@radix-ui/react-use-layout-effect': 1.1.4(@types/[email protected])([email protected])- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- react: 19.3.1- optionalDependencies:- '@types/react': 19.3.0-'@reduxjs/[email protected]([email protected](@types/[email protected])([email protected])([email protected]))([email protected])':dependencies:'@standard-schema/spec': 1.1.0@@ -6903,10 +6534,6 @@ snapshots:- dependencies:- tslib: 2.8.1-@@ -7029,18 +6656,6 @@ snapshots:- [email protected](@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected]):- dependencies:- '@radix-ui/react-compose-refs': 1.1.5(@types/[email protected])([email protected])- '@radix-ui/react-dialog': 1.2.0(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- '@radix-ui/react-id': 1.1.4(@types/[email protected])([email protected])- '@radix-ui/react-primitive': 2.1.11(@types/[email protected](@types/[email protected]))(@types/[email protected])([email protected]([email protected]))([email protected])- react: 19.3.1- react-dom: 19.3.1([email protected])- transitivePeerDependencies:- - '@types/react'- - '@types/react-dom'-@@ -7190,8 +6805,6 @@ snapshots:- [email protected]: {}-dependencies:dequal: 2.0.3@@ -7485,8 +7098,6 @@ snapshots:hasown: 2.0.4math-intrinsics: 1.1.0- [email protected]: {}-@@ -8652,33 +8263,6 @@ snapshots:'@types/react': 19.3.0redux: 5.0.1- dependencies:- react: 19.3.1- react-style-singleton: 2.2.3(@types/[email protected])([email protected])- tslib: 2.8.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- react: 19.3.1- react-remove-scroll-bar: 2.3.8(@types/[email protected])([email protected])- react-style-singleton: 2.2.3(@types/[email protected])([email protected])- tslib: 2.8.1- use-callback-ref: 1.3.3(@types/[email protected])([email protected])- use-sidecar: 1.1.3(@types/[email protected])([email protected])- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- get-nonce: 1.0.1- react: 19.3.1- tslib: 2.8.1- optionalDependencies:- '@types/react': 19.3.0-@@ -9266,21 +8850,6 @@ snapshots:escalade: 3.2.0picocolors: 1.1.1- dependencies:- react: 19.3.1- tslib: 2.8.1- optionalDependencies:- '@types/react': 19.3.0-- dependencies:- detect-node-es: 1.1.0- react: 19.3.1- tslib: 2.8.1- optionalDependencies:- '@types/react': 19.3.0-dependencies:react: 19.3.1diff --git a/pnpm-workspace.yaml b/pnpm-workspace.yamlindex 5d7141c0ca..fe586de9e4 100644--- a/pnpm-workspace.yaml+++ b/pnpm-workspace.yaml@@ -44,7 +44,6 @@ catalog:'@vitest/coverage-v8': ^5.0.5'class-variance-authority': ^0.7.1'clsx': ^2.1.1- 'cmdk': ^1.1.1'commander': ^15.0.0'date-fns': ^4.4.0'date-fns-tz': ^3.2.0