@firecms/ui 3.0.0-tw4.2 → 3.0.0-tw4.3
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.es.js +3 -3
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +3 -3
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/MultiSelect.tsx +62 -59
package/dist/index.es.js
CHANGED
|
@@ -29883,7 +29883,7 @@ const MultiSelect = React.forwardRef((t0, ref) => {
|
|
|
29883
29883
|
}
|
|
29884
29884
|
let t32;
|
|
29885
29885
|
if ($[70] === Symbol.for("react.memo_cache_sentinel")) {
|
|
29886
|
-
t32 = cls(focusedDisabled, "bg-transparent outline-none flex-1 h-full w-full m-4 flex-grow ");
|
|
29886
|
+
t32 = cls(focusedDisabled, "bg-transparent outline-none flex-1 h-full w-full m-4 flex-grow text-surface-accent-900 dark:text-white");
|
|
29887
29887
|
$[70] = t32;
|
|
29888
29888
|
} else {
|
|
29889
29889
|
t32 = $[70];
|
|
@@ -29975,7 +29975,7 @@ const MultiSelect = React.forwardRef((t0, ref) => {
|
|
|
29975
29975
|
}
|
|
29976
29976
|
let t41;
|
|
29977
29977
|
if ($[92] !== t31 || $[93] !== t40) {
|
|
29978
|
-
t41 = /* @__PURE__ */ jsx(PopoverPrimitive.Content, { className: t30, align: "start", sideOffset: 8, onEscapeKeyDown: t31, children: t40 });
|
|
29978
|
+
t41 = /* @__PURE__ */ jsx(PopoverPrimitive.Portal, { children: /* @__PURE__ */ jsx(PopoverPrimitive.Content, { className: t30, align: "start", sideOffset: 8, onEscapeKeyDown: t31, children: t40 }) });
|
|
29979
29979
|
$[92] = t31;
|
|
29980
29980
|
$[93] = t40;
|
|
29981
29981
|
$[94] = t41;
|
|
@@ -30068,7 +30068,7 @@ function MultiSelectItem(t0) {
|
|
|
30068
30068
|
const t4 = isSelected ? "bg-surface-accent-200 dark:bg-surface-accent-950" : "";
|
|
30069
30069
|
let t5;
|
|
30070
30070
|
if ($[10] !== className || $[11] !== t4) {
|
|
30071
|
-
t5 = cls("flex flex-row items-center gap-1.5", t4, "cursor-pointer", "m-1", "ring-offset-transparent", "p-1 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-primary/75 aria-[selected=true]:ring-offset-2", "aria-[selected=true]:bg-surface-accent-100 aria-[selected=true]:dark:bg-surface-accent-900", "cursor-pointer p-2 rounded aria-[selected=true]:bg-surface-accent-100 aria-[selected=true]:dark:bg-surface-accent-900", className);
|
|
30071
|
+
t5 = cls("flex flex-row items-center gap-1.5", t4, "cursor-pointer", "m-1", "ring-offset-transparent", "p-1 rounded aria-[selected=true]:outline-none aria-[selected=true]:ring-2 aria-[selected=true]:ring-primary aria-[selected=true]:ring-opacity-75 aria-[selected=true]:ring-primary/75 aria-[selected=true]:ring-offset-2", "aria-[selected=true]:bg-surface-accent-100 aria-[selected=true]:dark:bg-surface-accent-900", "cursor-pointer p-2 rounded aria-[selected=true]:bg-surface-accent-100 aria-[selected=true]:dark:bg-surface-accent-900", "text-surface-accent-700 dark:text-surface-accent-300", className);
|
|
30072
30072
|
$[10] = className;
|
|
30073
30073
|
$[11] = t4;
|
|
30074
30074
|
$[12] = t5;
|