@assure-one/design-system 0.7.0 → 0.7.1
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 +19 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -5665,7 +5665,24 @@ function SearchSelect({
|
|
|
5665
5665
|
children: /* @__PURE__ */ jsx(XIcon, { className: "size-3.5", "aria-hidden": "true" })
|
|
5666
5666
|
}
|
|
5667
5667
|
),
|
|
5668
|
-
/* @__PURE__ */ jsx(
|
|
5668
|
+
/* @__PURE__ */ jsx(
|
|
5669
|
+
"button",
|
|
5670
|
+
{
|
|
5671
|
+
type: "button",
|
|
5672
|
+
onClick: () => !disabled && setOpen(true),
|
|
5673
|
+
disabled,
|
|
5674
|
+
"aria-label": `Change ${singleValue.label}`,
|
|
5675
|
+
className: cn(
|
|
5676
|
+
"text-fg-4 shrink-0 rounded-full p-0.5 outline-none",
|
|
5677
|
+
"transition-colors duration-[var(--duration-fast)] ease-[var(--ease-out-quart)]",
|
|
5678
|
+
"motion-reduce:transition-none",
|
|
5679
|
+
"hover:text-fg",
|
|
5680
|
+
"disabled:text-fg-disabled disabled:cursor-not-allowed",
|
|
5681
|
+
"focus-visible:[box-shadow:var(--shadow-focus-ring)]"
|
|
5682
|
+
),
|
|
5683
|
+
children: /* @__PURE__ */ jsx(ChevronDownIcon, { className: "size-4", "aria-hidden": "true" })
|
|
5684
|
+
}
|
|
5685
|
+
)
|
|
5669
5686
|
] }) : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
5670
5687
|
/* @__PURE__ */ jsx(
|
|
5671
5688
|
SearchIcon,
|
|
@@ -5757,7 +5774,7 @@ function SearchSelect({
|
|
|
5757
5774
|
return /* @__PURE__ */ jsx(
|
|
5758
5775
|
Command.Item,
|
|
5759
5776
|
{
|
|
5760
|
-
value: hasGroups && group ? `${option.label} ${group}` : option.label
|
|
5777
|
+
value: hasGroups && group ? `${option.label} ${group} ${option.id}` : `${option.label} ${option.id}`,
|
|
5761
5778
|
onSelect: () => handleSelect(option),
|
|
5762
5779
|
className: cn(
|
|
5763
5780
|
"flex cursor-default items-center outline-none select-none",
|