@firecms/ui 3.0.0-canary.77 → 3.0.0-canary.78
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/components/BooleanSwitch.d.ts +1 -1
- package/dist/index.es.js +8 -8
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +7 -7
- package/dist/index.umd.js.map +1 -1
- package/package.json +2 -17
- package/src/components/BooleanSwitch.tsx +5 -5
- package/src/components/BooleanSwitchWithLabel.tsx +2 -2
- package/src/components/Menubar.tsx +1 -1
- package/src/components/Tooltip.tsx +1 -1
package/dist/index.es.js
CHANGED
@@ -14,7 +14,7 @@ import { useDropzone as Jn } from "react-dropzone";
|
|
14
14
|
import $n from "react-fast-compare";
|
15
15
|
import Yn from "markdown-it";
|
16
16
|
import * as nn from "@radix-ui/react-dropdown-menu";
|
17
|
-
import * as M from "@radix-ui/react-
|
17
|
+
import * as M from "@radix-ui/react-menubar";
|
18
18
|
import { Command as rn } from "cmdk";
|
19
19
|
import * as on from "@radix-ui/react-radio-group";
|
20
20
|
import * as N from "@radix-ui/react-select";
|
@@ -392,9 +392,9 @@ const ce = (n) => {
|
|
392
392
|
"block rounded-full transition-transform duration-100 transform will-change-auto",
|
393
393
|
"bg-slate-400 dark:bg-slate-600",
|
394
394
|
{
|
395
|
-
"w-[21px] h-[10px]": l === "medium",
|
395
|
+
"w-[21px] h-[10px]": l === "medium" || l === "large",
|
396
396
|
"w-[19px] h-[8px]": l === "small",
|
397
|
-
"translate-x-[10px]": l === "medium",
|
397
|
+
"translate-x-[10px]": l === "medium" || l === "large",
|
398
398
|
"translate-x-[9px]": l === "small"
|
399
399
|
}
|
400
400
|
)
|
@@ -408,9 +408,9 @@ const ce = (n) => {
|
|
408
408
|
"block rounded-full transition-transform duration-100 transform will-change-auto",
|
409
409
|
a ? "bg-slate-300 dark:bg-slate-700" : t ? "bg-white" : "bg-slate-600 dark:bg-slate-400",
|
410
410
|
{
|
411
|
-
"w-[21px] h-[21px]": l === "medium",
|
411
|
+
"w-[21px] h-[21px]": l === "medium" || l === "large",
|
412
412
|
"w-[19px] h-[19px]": l === "small",
|
413
|
-
[t ? "translate-x-[19px]" : "translate-x-[3px]"]: l === "medium",
|
413
|
+
[t ? "translate-x-[19px]" : "translate-x-[3px]"]: l === "medium" || l === "large",
|
414
414
|
[t ? "translate-x-[17px]" : "translate-x-[2px]"]: l === "small"
|
415
415
|
}
|
416
416
|
)
|
@@ -448,10 +448,10 @@ const ce = (n) => {
|
|
448
448
|
!i && V,
|
449
449
|
!i && (s ? j : U),
|
450
450
|
s ? "cursor-default" : "cursor-pointer",
|
451
|
-
"rounded-md
|
451
|
+
"rounded-md max-w-full justify-between w-full box-border relative inline-flex items-center",
|
452
452
|
!i && w && !s ? Kn : "",
|
453
453
|
a ? "text-red-500 dark:text-red-600" : w && !s ? "text-primary" : s ? "text-text-secondary dark:text-text-secondary-dark" : "text-text-primary dark:text-text-primary-dark",
|
454
|
-
d === "small" ? "min-h-[40px]" : "min-h-[64px]",
|
454
|
+
d === "small" ? "min-h-[40px]" : d === "medium" ? "min-h-[48px]" : "min-h-[64px]",
|
455
455
|
d === "small" ? "pl-2" : "pl-4",
|
456
456
|
d === "small" ? "pr-4" : "pr-6",
|
457
457
|
r === "end" ? "flex-row-reverse" : "flex-row"
|
@@ -17333,7 +17333,7 @@ function Ge({
|
|
17333
17333
|
const atn = ({
|
17334
17334
|
open: n,
|
17335
17335
|
side: t = "bottom",
|
17336
|
-
delayDuration: r =
|
17336
|
+
delayDuration: r = 200,
|
17337
17337
|
sideOffset: i,
|
17338
17338
|
align: c,
|
17339
17339
|
onOpenChange: a,
|