@firecms/core 3.0.0-canary.124 → 3.0.0-canary.125
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 +12 -9
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +12 -9
- package/dist/index.umd.js.map +1 -1
- package/package.json +5 -5
- package/src/app/Scaffold.tsx +3 -4
- package/src/components/EntityCollectionView/EntityCollectionView.tsx +5 -2
- package/src/components/EntityPreview.tsx +3 -3
- package/src/core/DefaultDrawer.tsx +2 -2
- package/src/core/DrawerNavigationItem.tsx +1 -1
package/dist/index.umd.js
CHANGED
|
@@ -5177,7 +5177,7 @@
|
|
|
5177
5177
|
hover: disabled ? void 0 : hover,
|
|
5178
5178
|
size,
|
|
5179
5179
|
children: [
|
|
5180
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls("flex w-10 h-10 mr-2 shrink-0
|
|
5180
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: ui.cls("flex w-10 h-10 mr-2 shrink-0", size === "smallest" ? "my-0.5" : "m-2 self-start"), children: [
|
|
5181
5181
|
imageProperty && /* @__PURE__ */ jsxRuntime.jsx(
|
|
5182
5182
|
PropertyPreview,
|
|
5183
5183
|
{
|
|
@@ -5189,7 +5189,7 @@
|
|
|
5189
5189
|
),
|
|
5190
5190
|
!imageProperty && /* @__PURE__ */ jsxRuntime.jsx(IconForView, { collectionOrView: collection, size, className: "m-auto" })
|
|
5191
5191
|
] }),
|
|
5192
|
-
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col
|
|
5192
|
+
/* @__PURE__ */ jsxRuntime.jsxs("div", { className: "flex flex-col grow-1 w-full max-w-full m-1", children: [
|
|
5193
5193
|
size !== "smallest" && includeId && (entity ? /* @__PURE__ */ jsxRuntime.jsx("div", { className: `${size !== "medium" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
5194
5194
|
ui.Typography,
|
|
5195
5195
|
{
|
|
@@ -5293,7 +5293,7 @@
|
|
|
5293
5293
|
fullwidth ? "w-full" : "",
|
|
5294
5294
|
"items-center",
|
|
5295
5295
|
hover ? "hover:bg-slate-50 dark:hover:bg-gray-800 group-hover:bg-slate-50 dark:group-hover:bg-gray-800" : "",
|
|
5296
|
-
size === "smallest" ? "p-1" : "
|
|
5296
|
+
size === "smallest" ? "p-1" : "px-2 py-1",
|
|
5297
5297
|
"flex border rounded-lg",
|
|
5298
5298
|
onClick ? "cursor-pointer" : "",
|
|
5299
5299
|
ui.defaultBorderMixin,
|
|
@@ -12851,6 +12851,9 @@
|
|
|
12851
12851
|
{
|
|
12852
12852
|
open: openPopup,
|
|
12853
12853
|
onOpenChange: setOpenPopup,
|
|
12854
|
+
sideOffset: 0,
|
|
12855
|
+
align: "start",
|
|
12856
|
+
alignOffset: -117,
|
|
12854
12857
|
trigger: /* @__PURE__ */ jsxRuntime.jsx(ui.IconButton, { size: "small", children: /* @__PURE__ */ jsxRuntime.jsx(ui.SearchIcon, { size: "small" }) }),
|
|
12855
12858
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
12856
12859
|
"form",
|
|
@@ -12878,7 +12881,7 @@
|
|
|
12878
12881
|
setSearchString(e.target.value);
|
|
12879
12882
|
},
|
|
12880
12883
|
value: searchString,
|
|
12881
|
-
className: "flex-grow bg-transparent outline-none p-1"
|
|
12884
|
+
className: "flex-grow bg-transparent outline-none p-1 " + ui.focusedDisabled
|
|
12882
12885
|
}
|
|
12883
12886
|
),
|
|
12884
12887
|
/* @__PURE__ */ jsxRuntime.jsx(
|
|
@@ -19323,7 +19326,7 @@
|
|
|
19323
19326
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19324
19327
|
"div",
|
|
19325
19328
|
{
|
|
19326
|
-
className: "fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit z-20",
|
|
19329
|
+
className: "ml-2 fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit z-20",
|
|
19327
19330
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19328
19331
|
ui.IconButton,
|
|
19329
19332
|
{
|
|
@@ -19369,7 +19372,7 @@
|
|
|
19369
19372
|
"aria-label": "Open drawer",
|
|
19370
19373
|
onClick: () => props.setDrawerOpen(true),
|
|
19371
19374
|
size: "large",
|
|
19372
|
-
className: "absolute top-2 left-
|
|
19375
|
+
className: "absolute top-2 left-5",
|
|
19373
19376
|
children: /* @__PURE__ */ jsxRuntime.jsx(ui.MenuIcon, {})
|
|
19374
19377
|
}
|
|
19375
19378
|
),
|
|
@@ -19428,7 +19431,7 @@
|
|
|
19428
19431
|
},
|
|
19429
19432
|
className: ({ isActive }) => ui.cls(
|
|
19430
19433
|
"rounded-lg truncate",
|
|
19431
|
-
"hover:bg-slate-300 hover:bg-opacity-75 dark:hover:bg-
|
|
19434
|
+
"hover:bg-slate-300 hover:bg-opacity-75 dark:hover:bg-slate-800 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-white",
|
|
19432
19435
|
"flex flex-row items-center mr-8",
|
|
19433
19436
|
// "transition-all ease-in-out delay-100 duration-300",
|
|
19434
19437
|
// drawerOpen ? "w-full" : "w-18",
|
|
@@ -19605,9 +19608,9 @@
|
|
|
19605
19608
|
{
|
|
19606
19609
|
style: {
|
|
19607
19610
|
transition: "padding 100ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
|
|
19608
|
-
padding: drawerOpen ? "32px 144px 0px 24px" : "72px
|
|
19611
|
+
padding: drawerOpen ? "32px 144px 0px 24px" : "72px 12px 0px 12px"
|
|
19609
19612
|
},
|
|
19610
|
-
className: ui.cls("cursor-pointer"),
|
|
19613
|
+
className: ui.cls("cursor-pointer ml-4"),
|
|
19611
19614
|
children: /* @__PURE__ */ jsxRuntime.jsx(
|
|
19612
19615
|
ui.Tooltip,
|
|
19613
19616
|
{
|