@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.mjs CHANGED
@@ -3448,11 +3448,11 @@ function FormSelect({
3448
3448
  {
3449
3449
  value: option.value,
3450
3450
  disabled: option.disabled,
3451
- children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-2", children: [
3452
- option.icon && /* @__PURE__ */ jsx(option.icon, { className: "h-4 w-4 text-muted-foreground" }),
3453
- /* @__PURE__ */ jsxs("div", { children: [
3454
- /* @__PURE__ */ jsx("span", { children: option.label }),
3455
- option.description && /* @__PURE__ */ jsx("span", { className: "text-xs text-muted-foreground ml-2", children: option.description })
3451
+ children: /* @__PURE__ */ jsxs("div", { className: "flex items-center gap-3", children: [
3452
+ 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" }) }),
3453
+ /* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
3454
+ /* @__PURE__ */ jsx("p", { className: "text-sm font-medium leading-tight", children: option.label }),
3455
+ option.description && /* @__PURE__ */ jsx("p", { className: "mt-0.5 text-xs leading-tight text-muted-foreground", children: option.description })
3456
3456
  ] })
3457
3457
  ] })
3458
3458
  },
@@ -3657,6 +3657,7 @@ function CardSelect({
3657
3657
  className: "overflow-y-auto overscroll-contain",
3658
3658
  style: { maxHeight: listMaxHeight },
3659
3659
  onScroll: handleScroll,
3660
+ "data-scroll-lock-scrollable": true,
3660
3661
  children: /* @__PURE__ */ jsxs("div", { className: "divide-y divide-border/50 p-2", children: [
3661
3662
  filteredOptions.length === 0 && !loading ? /* @__PURE__ */ jsx("p", { className: "py-4 text-center text-sm text-muted-foreground", children: emptyText }) : filteredOptions.map((option) => {
3662
3663
  const isSelected = value === option.value;