@firecms/ui 3.0.0-tw4.2 → 3.0.0-tw4.4
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 +5 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +5 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -2
- package/src/components/MultiSelect.tsx +62 -59
- package/src/components/Table.tsx +1 -1
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];
|
|
@@ -29926,7 +29926,7 @@ const MultiSelect = React.forwardRef((t0, ref) => {
|
|
|
29926
29926
|
}
|
|
29927
29927
|
let t37;
|
|
29928
29928
|
if ($[80] === Symbol.for("react.memo_cache_sentinel")) {
|
|
29929
|
-
t37 = /* @__PURE__ */ jsx(Command.Empty, { className: "px-4 py-2", children: "No results found." });
|
|
29929
|
+
t37 = /* @__PURE__ */ jsx(Command.Empty, { className: "px-4 py-2 text-sm text-text-secondary dark:text-text-secondary-dark", children: "No results found." });
|
|
29930
29930
|
$[80] = t37;
|
|
29931
29931
|
} else {
|
|
29932
29932
|
t37 = $[80];
|
|
@@ -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;
|
|
@@ -31637,7 +31637,7 @@ const TableBody = (t0) => {
|
|
|
31637
31637
|
}
|
|
31638
31638
|
let t1;
|
|
31639
31639
|
if ($[4] !== className) {
|
|
31640
|
-
t1 = cls("bg-white dark:bg-surface-950 text-sm divide-y divide-surface-100 dark:divide-surface-700 dark:divide-opacity-70", className);
|
|
31640
|
+
t1 = cls("bg-white dark:bg-surface-950 text-sm divide-y divide-surface-100 dark:divide-surface-700 dark:divide-opacity-70 dark:divide-surface-700/70", className);
|
|
31641
31641
|
$[4] = className;
|
|
31642
31642
|
$[5] = t1;
|
|
31643
31643
|
} else {
|