@firecms/ui 3.0.0-canary.132 → 3.0.0-canary.133
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/ExpandablePanel.d.ts +2 -1
- package/dist/components/Sheet.d.ts +1 -0
- package/dist/index.es.js +8 -5
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +8 -5
- package/dist/index.umd.js.map +1 -1
- package/package.json +3 -2
- package/src/components/ExpandablePanel.tsx +8 -5
- package/src/components/Sheet.tsx +4 -2
package/dist/index.umd.js
CHANGED
@@ -14953,7 +14953,8 @@
|
|
14953
14953
|
initiallyExpanded = true,
|
14954
14954
|
titleClassName,
|
14955
14955
|
asField,
|
14956
|
-
className
|
14956
|
+
className,
|
14957
|
+
innerClassName
|
14957
14958
|
}) {
|
14958
14959
|
useInjectStyles("ExpandablePanel", `
|
14959
14960
|
.CollapsibleContent {
|
@@ -15004,7 +15005,8 @@
|
|
15004
15005
|
className: cls(
|
15005
15006
|
!invisible && defaultBorderMixin + " border",
|
15006
15007
|
"rounded-md",
|
15007
|
-
"w-full"
|
15008
|
+
"w-full",
|
15009
|
+
className
|
15008
15010
|
),
|
15009
15011
|
open,
|
15010
15012
|
onOpenChange: (updatedOpen) => {
|
@@ -15017,7 +15019,7 @@
|
|
15017
15019
|
{
|
15018
15020
|
className: cls(
|
15019
15021
|
"rounded flex items-center justify-between w-full min-h-[52px]",
|
15020
|
-
"hover:bg-slate-
|
15022
|
+
"hover:bg-slate-200 hover:bg-opacity-20 dark:hover:bg-gray-800 dark:hover:bg-opacity-20",
|
15021
15023
|
invisible ? "border-b px-2" : "p-4",
|
15022
15024
|
invisible && defaultBorderMixin,
|
15023
15025
|
asField && fieldBackgroundMixin,
|
@@ -15036,7 +15038,7 @@
|
|
15036
15038
|
style: {
|
15037
15039
|
overflow: allowOverflow ? "visible" : "hidden"
|
15038
15040
|
},
|
15039
|
-
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className, children })
|
15041
|
+
children: /* @__PURE__ */ jsxRuntime.jsx("div", { className: innerClassName, children })
|
15040
15042
|
}
|
15041
15043
|
)
|
15042
15044
|
]
|
@@ -16200,6 +16202,7 @@
|
|
16200
16202
|
children,
|
16201
16203
|
side = "right",
|
16202
16204
|
title,
|
16205
|
+
modal = true,
|
16203
16206
|
open,
|
16204
16207
|
onOpenChange,
|
16205
16208
|
transparent,
|
@@ -16233,7 +16236,7 @@
|
|
16233
16236
|
onOpenChange,
|
16234
16237
|
children: /* @__PURE__ */ jsxRuntime.jsxs(DialogPrimitive__namespace.Portal, { children: [
|
16235
16238
|
/* @__PURE__ */ jsxRuntime.jsx(DialogPrimitive__namespace.Title, { autoFocus: true, tabIndex: 0, children: title ?? "Sheet" }),
|
16236
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
16239
|
+
modal && /* @__PURE__ */ jsxRuntime.jsx(
|
16237
16240
|
DialogPrimitive__namespace.Overlay,
|
16238
16241
|
{
|
16239
16242
|
className: cls(
|