@facter/ds-core 1.33.3 → 1.33.5
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 +6 -5
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +6 -5
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -3479,11 +3479,11 @@ function FormSelect({
|
|
|
3479
3479
|
{
|
|
3480
3480
|
value: option.value,
|
|
3481
3481
|
disabled: option.disabled,
|
|
3482
|
-
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-
|
|
3483
|
-
option.icon && /* @__PURE__ */ jsxRuntime.jsx(option.icon, { className: "h-
|
|
3484
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { children: [
|
|
3485
|
-
/* @__PURE__ */ jsxRuntime.jsx("
|
|
3486
|
-
option.description && /* @__PURE__ */ jsxRuntime.jsx("
|
|
3482
|
+
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex items-center gap-3", children: [
|
|
3483
|
+
option.icon && /* @__PURE__ */ jsxRuntime.jsx("div", { className: "flex h-7 w-7 shrink-0 items-center justify-center rounded-full bg-primary/10", children: /* @__PURE__ */ jsxRuntime.jsx(option.icon, { className: "h-3.5 w-3.5 text-primary" }) }),
|
|
3484
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
3485
|
+
/* @__PURE__ */ jsxRuntime.jsx("p", { className: "text-sm font-medium leading-tight", children: option.label }),
|
|
3486
|
+
option.description && /* @__PURE__ */ jsxRuntime.jsx("p", { className: "mt-0.5 text-xs leading-tight text-muted-foreground", children: option.description })
|
|
3487
3487
|
] })
|
|
3488
3488
|
] })
|
|
3489
3489
|
},
|
|
@@ -3688,6 +3688,7 @@ function CardSelect({
|
|
|
3688
3688
|
className: "overflow-y-auto overscroll-contain",
|
|
3689
3689
|
style: { maxHeight: listMaxHeight },
|
|
3690
3690
|
onScroll: handleScroll,
|
|
3691
|
+
"data-scroll-lock-scrollable": true,
|
|
3691
3692
|
children: /* @__PURE__ */ jsxRuntime.jsxs("div", { className: "divide-y divide-border/50 p-2", children: [
|
|
3692
3693
|
filteredOptions.length === 0 && !loading ? /* @__PURE__ */ jsxRuntime.jsx("p", { className: "py-4 text-center text-sm text-muted-foreground", children: emptyText }) : filteredOptions.map((option) => {
|
|
3693
3694
|
const isSelected = value === option.value;
|