@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 +23 -16
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +23 -16
- package/dist/index.js.map +1 -1
- package/dist/ui/select.js +2 -2
- package/dist/ui/select.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -2853,32 +2853,39 @@ function CountryPicker({
|
|
|
2853
2853
|
/* @__PURE__ */ jsx(Combobox.Portal, { children: /* @__PURE__ */ jsx(
|
|
2854
2854
|
Combobox.Positioner,
|
|
2855
2855
|
{
|
|
2856
|
-
className: "isolate z-
|
|
2856
|
+
className: "pointer-events-auto isolate z-[60] outline-none",
|
|
2857
2857
|
sideOffset: 4,
|
|
2858
2858
|
children: /* @__PURE__ */ jsxs(
|
|
2859
2859
|
Combobox.Popup,
|
|
2860
2860
|
{
|
|
2861
2861
|
className: cn(
|
|
2862
|
-
"z-
|
|
2862
|
+
"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",
|
|
2863
2863
|
"data-open:animate-in data-open:fade-in-0 data-open:zoom-in-95"
|
|
2864
2864
|
),
|
|
2865
2865
|
children: [
|
|
2866
2866
|
/* @__PURE__ */ jsx(Combobox.Empty, { className: "px-3 py-2 text-sm text-muted-foreground", children: labels.noResults }),
|
|
2867
|
-
/* @__PURE__ */ jsx(
|
|
2868
|
-
Combobox.
|
|
2867
|
+
/* @__PURE__ */ jsx(
|
|
2868
|
+
Combobox.List,
|
|
2869
2869
|
{
|
|
2870
|
-
|
|
2871
|
-
|
|
2872
|
-
|
|
2873
|
-
|
|
2874
|
-
|
|
2875
|
-
|
|
2876
|
-
|
|
2877
|
-
|
|
2878
|
-
|
|
2879
|
-
|
|
2880
|
-
|
|
2881
|
-
|
|
2870
|
+
className: "max-h-60 overflow-y-auto p-1 outline-none",
|
|
2871
|
+
onWheel: (event) => event.stopPropagation(),
|
|
2872
|
+
children: (item) => /* @__PURE__ */ jsxs(
|
|
2873
|
+
Combobox.Item,
|
|
2874
|
+
{
|
|
2875
|
+
value: item,
|
|
2876
|
+
className: cn(
|
|
2877
|
+
"relative flex cursor-default items-center gap-2 rounded-md py-1.5 pr-2 pl-8 text-sm outline-none select-none",
|
|
2878
|
+
"data-highlighted:bg-accent data-highlighted:text-accent-foreground"
|
|
2879
|
+
),
|
|
2880
|
+
children: [
|
|
2881
|
+
/* @__PURE__ */ jsx(Combobox.ItemIndicator, { className: "absolute left-2 flex size-4 items-center justify-center", children: /* @__PURE__ */ jsx(CheckIcon, { className: "size-4", "aria-hidden": true }) }),
|
|
2882
|
+
/* @__PURE__ */ jsx("span", { children: item.label })
|
|
2883
|
+
]
|
|
2884
|
+
},
|
|
2885
|
+
item.value
|
|
2886
|
+
)
|
|
2887
|
+
}
|
|
2888
|
+
)
|
|
2882
2889
|
]
|
|
2883
2890
|
}
|
|
2884
2891
|
)
|