@yenio-pld/blocks 1.2.0-rc.5 → 1.2.0-rc.7

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/index.cjs CHANGED
@@ -2874,32 +2874,39 @@ function CountryPicker({
2874
2874
  /* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Portal, { children: /* @__PURE__ */ jsxRuntime.jsx(
2875
2875
  combobox_js.Combobox.Positioner,
2876
2876
  {
2877
- className: "isolate z-50 outline-none",
2877
+ className: "pointer-events-auto isolate z-[60] outline-none",
2878
2878
  sideOffset: 4,
2879
2879
  children: /* @__PURE__ */ jsxRuntime.jsxs(
2880
2880
  combobox_js.Combobox.Popup,
2881
2881
  {
2882
2882
  className: cn(
2883
- "z-50 max-h-60 w-(--anchor-width) min-w-[16rem] overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10",
2883
+ "pointer-events-auto z-[60] max-h-60 w-(--anchor-width) min-w-[16rem] overflow-hidden rounded-lg bg-popover text-popover-foreground shadow-md ring-1 ring-foreground/10",
2884
2884
  "data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95"
2885
2885
  ),
2886
2886
  children: [
2887
2887
  /* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.Empty, { className: "px-3 py-2 text-sm text-muted-foreground", children: labels.noResults }),
2888
- /* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.List, { className: "max-h-60 overflow-y-auto p-1 outline-none", children: (item) => /* @__PURE__ */ jsxRuntime.jsxs(
2889
- combobox_js.Combobox.Item,
2888
+ /* @__PURE__ */ jsxRuntime.jsx(
2889
+ combobox_js.Combobox.List,
2890
2890
  {
2891
- value: item,
2892
- className: cn(
2893
- "relative flex cursor-default items-center gap-2 rounded-md py-1.5 pr-2 pl-8 text-sm outline-none select-none",
2894
- "data-highlighted:bg-accent data-highlighted:text-accent-foreground"
2895
- ),
2896
- children: [
2897
- /* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.ItemIndicator, { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4", "aria-hidden": true }) }),
2898
- /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.label })
2899
- ]
2900
- },
2901
- item.value
2902
- ) })
2891
+ className: "max-h-60 overflow-y-auto p-1 outline-none",
2892
+ onWheel: (event) => event.stopPropagation(),
2893
+ children: (item) => /* @__PURE__ */ jsxRuntime.jsxs(
2894
+ combobox_js.Combobox.Item,
2895
+ {
2896
+ value: item,
2897
+ className: cn(
2898
+ "relative flex cursor-default items-center gap-2 rounded-md py-1.5 pr-2 pl-8 text-sm outline-none select-none",
2899
+ "data-highlighted:bg-accent data-highlighted:text-accent-foreground"
2900
+ ),
2901
+ children: [
2902
+ /* @__PURE__ */ jsxRuntime.jsx(combobox_js.Combobox.ItemIndicator, { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.CheckIcon, { className: "size-4", "aria-hidden": true }) }),
2903
+ /* @__PURE__ */ jsxRuntime.jsx("span", { children: item.label })
2904
+ ]
2905
+ },
2906
+ item.value
2907
+ )
2908
+ }
2909
+ )
2903
2910
  ]
2904
2911
  }
2905
2912
  )