@facter/ds-core 1.33.4 → 1.33.6
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.js +8 -7
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +8 -7
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
- package/dist/index.d.mts +0 -2788
- package/dist/index.d.ts +0 -2788
- package/dist/themes/index.d.mts +0 -62
- package/dist/themes/index.d.ts +0 -62
- package/dist/themes/tailwind-preset.d.mts +0 -19
- package/dist/themes/tailwind-preset.d.ts +0 -19
package/dist/index.mjs
CHANGED
|
@@ -621,12 +621,13 @@ var Select = React10.forwardRef(
|
|
|
621
621
|
SelectPrimitive.Content,
|
|
622
622
|
{
|
|
623
623
|
className: cn(
|
|
624
|
-
"relative z-50
|
|
624
|
+
"relative z-50 min-w-[8rem] overflow-hidden rounded-md border bg-popover text-popover-foreground shadow-md",
|
|
625
625
|
"data-[state=open]:animate-in data-[state=closed]:animate-out data-[state=closed]:fade-out-0 data-[state=open]:fade-in-0 data-[state=closed]:zoom-out-95 data-[state=open]:zoom-in-95 data-[side=bottom]:slide-in-from-top-2 data-[side=left]:slide-in-from-right-2 data-[side=right]:slide-in-from-left-2 data-[side=top]:slide-in-from-bottom-2"
|
|
626
626
|
),
|
|
627
627
|
position: "popper",
|
|
628
628
|
sideOffset: 4,
|
|
629
|
-
|
|
629
|
+
style: { maxHeight: "var(--radix-select-content-available-height, 300px)" },
|
|
630
|
+
children: /* @__PURE__ */ jsx(SelectPrimitive.Viewport, { className: "p-1", style: { maxHeight: "inherit" }, children })
|
|
630
631
|
}
|
|
631
632
|
) })
|
|
632
633
|
] });
|
|
@@ -3448,11 +3449,11 @@ function FormSelect({
|
|
|
3448
3449
|
{
|
|
3449
3450
|
value: option.value,
|
|
3450
3451
|
disabled: option.disabled,
|
|
3451
|
-
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-
|
|
3452
|
-
option.icon && /* @__PURE__ */ jsx(option.icon, { className: "h-
|
|
3453
|
-
/* @__PURE__ */ jsxs("div", { children: [
|
|
3454
|
-
/* @__PURE__ */ jsx("
|
|
3455
|
-
option.description && /* @__PURE__ */ jsx("
|
|
3452
|
+
children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
|
|
3453
|
+
option.icon && /* @__PURE__ */ jsx("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-primary/10", children: /* @__PURE__ */ jsx(option.icon, { className: "h-3.5 w-3.5 text-primary" }) }),
|
|
3454
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3455
|
+
/* @__PURE__ */ jsx("p", { className: "text-sm font-medium leading-tight", children: option.label }),
|
|
3456
|
+
option.description && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs leading-tight text-muted-foreground", children: option.description })
|
|
3456
3457
|
] })
|
|
3457
3458
|
] })
|
|
3458
3459
|
},
|