@motor-hero/ui-kit 0.23.0 → 0.23.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/combobox.d.ts +5 -1
- package/dist/components/combobox.d.ts.map +1 -1
- package/dist/components/multi-combobox.d.ts +4 -1
- package/dist/components/multi-combobox.d.ts.map +1 -1
- package/dist/index.cjs +4 -4
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +4 -4
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/combobox.tsx +7 -3
- package/src/components/multi-combobox.tsx +6 -3
package/dist/index.js
CHANGED
|
@@ -715,14 +715,14 @@ function Combobox({
|
|
|
715
715
|
] })
|
|
716
716
|
] });
|
|
717
717
|
if (isDesktop) {
|
|
718
|
-
return /* @__PURE__ */ jsxs14(PopoverPrimitive.Root, { open, onOpenChange: setOpen,
|
|
718
|
+
return /* @__PURE__ */ jsxs14(PopoverPrimitive.Root, { open, onOpenChange: setOpen, children: [
|
|
719
719
|
/* @__PURE__ */ jsx16(PopoverPrimitive.Trigger, { asChild: true, children: trigger }),
|
|
720
720
|
/* @__PURE__ */ jsx16(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx16(
|
|
721
721
|
PopoverPrimitive.Content,
|
|
722
722
|
{
|
|
723
723
|
align: "start",
|
|
724
724
|
sideOffset: 4,
|
|
725
|
-
className: "z-50 overflow-hidden rounded-md border bg-popover p-0 text-popover-foreground shadow-md",
|
|
725
|
+
className: "pointer-events-auto z-50 overflow-hidden rounded-md border bg-popover p-0 text-popover-foreground shadow-md",
|
|
726
726
|
style: { width: "var(--radix-popover-trigger-width)" },
|
|
727
727
|
children: command
|
|
728
728
|
}
|
|
@@ -862,14 +862,14 @@ function MultiCombobox({
|
|
|
862
862
|
] })
|
|
863
863
|
] });
|
|
864
864
|
if (isDesktop) {
|
|
865
|
-
return /* @__PURE__ */ jsxs15(PopoverPrimitive2.Root, { open, onOpenChange: setOpen,
|
|
865
|
+
return /* @__PURE__ */ jsxs15(PopoverPrimitive2.Root, { open, onOpenChange: setOpen, children: [
|
|
866
866
|
/* @__PURE__ */ jsx17(PopoverPrimitive2.Trigger, { asChild: true, disabled, children: trigger }),
|
|
867
867
|
/* @__PURE__ */ jsx17(PopoverPrimitive2.Portal, { children: /* @__PURE__ */ jsx17(
|
|
868
868
|
PopoverPrimitive2.Content,
|
|
869
869
|
{
|
|
870
870
|
align: "start",
|
|
871
871
|
sideOffset: 4,
|
|
872
|
-
className: "z-50 overflow-hidden rounded-md border bg-popover p-0 text-popover-foreground shadow-md",
|
|
872
|
+
className: "pointer-events-auto z-50 overflow-hidden rounded-md border bg-popover p-0 text-popover-foreground shadow-md",
|
|
873
873
|
style: { width: "var(--radix-popover-trigger-width)" },
|
|
874
874
|
children: command
|
|
875
875
|
}
|