Browse Source

Support for cmdk v1

pull/177/head
NuclearConsent 2 years ago
parent
commit
8d772bfbd1
  1. 8
      pnpm-lock.yaml
  2. 2
      src/components/UI/Command.tsx

8
pnpm-lock.yaml

@ -12,8 +12,8 @@ dependencies:
specifier: ^0.5.2
version: 0.5.2
'@meshtastic/js':
specifier: 2.3.0-0
version: 2.3.0-0
specifier: 2.3.2-0
version: 2.3.2-0
'@radix-ui/react-accordion':
specifier: ^1.1.2
version: 1.1.2(@types/[email protected])(@types/[email protected])([email protected])([email protected])
@ -883,8 +883,8 @@ packages:
sort-object: 3.0.3
dev: false
/@meshtastic/[email protected].0-0:
resolution: {integrity: sha512-BN+SZU1weKw9jSAV905wOaCL5R2nh1f9LGKz3csXqJcbe2Dxbjg2KMZjR8jbC1e9gprcEbifVCDgGZfMc9hN1Q==}
/@meshtastic/[email protected].2-0:
resolution: {integrity: sha512-N8LDHWL2qtdb5y3xV6bos945jPAdj/dInzD1ost05N+ma3nji2YNw0lQekyfnwD/raMA+FrydKaHDT+O3umrhg==}
dependencies:
crc: 4.3.2
sub-events: 1.9.0

2
src/components/UI/Command.tsx

@ -116,7 +116,7 @@ const CommandItem = React.forwardRef<
<CommandPrimitive.Item
ref={ref}
className={cn(
"relative flex cursor-default select-none items-center rounded-md py-1.5 px-2 text-sm font-medium outline-none aria-selected:bg-slate-100 data-[disabled]:pointer-events-none data-[disabled]:opacity-50 dark:aria-selected:bg-slate-700",
"relative flex cursor-default select-none items-center rounded-md py-1.5 px-2 text-sm font-medium outline-none aria-selected:bg-slate-100 data-[disabled='true']:pointer-events-none data-[disabled='true']:opacity-50 dark:aria-selected:bg-slate-700",
className,
)}
{...props}

Loading…
Cancel
Save