@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 CHANGED
@@ -5173,7 +5173,7 @@ function EntityPreview({
5173
5173
  hover: disabled ? void 0 : hover,
5174
5174
  size,
5175
5175
  children: [
5176
- /* @__PURE__ */ jsxs("div", { className: cls("flex w-10 h-10 mr-2 shrink-0 grow-0", size === "smallest" ? "my-0.5" : "m-2 self-start"), children: [
5176
+ /* @__PURE__ */ jsxs("div", { className: cls("flex w-10 h-10 mr-2 shrink-0", size === "smallest" ? "my-0.5" : "m-2 self-start"), children: [
5177
5177
  imageProperty && /* @__PURE__ */ jsx(
5178
5178
  PropertyPreview,
5179
5179
  {
@@ -5185,7 +5185,7 @@ function EntityPreview({
5185
5185
  ),
5186
5186
  !imageProperty && /* @__PURE__ */ jsx(IconForView, { collectionOrView: collection, size, className: "m-auto" })
5187
5187
  ] }),
5188
- /* @__PURE__ */ jsxs("div", { className: "flex flex-col flex-grow w-full m-1", children: [
5188
+ /* @__PURE__ */ jsxs("div", { className: "flex flex-col grow-1 w-full max-w-full m-1", children: [
5189
5189
  size !== "smallest" && includeId && (entity ? /* @__PURE__ */ jsx("div", { className: `${size !== "medium" ? "block whitespace-nowrap overflow-hidden truncate" : ""}`, children: /* @__PURE__ */ jsx(
5190
5190
  Typography,
5191
5191
  {
@@ -5289,7 +5289,7 @@ const EntityPreviewContainer = React.forwardRef(({
5289
5289
  fullwidth ? "w-full" : "",
5290
5290
  "items-center",
5291
5291
  hover ? "hover:bg-slate-50 dark:hover:bg-gray-800 group-hover:bg-slate-50 dark:group-hover:bg-gray-800" : "",
5292
- size === "smallest" ? "p-1" : "p-2",
5292
+ size === "smallest" ? "p-1" : "px-2 py-1",
5293
5293
  "flex border rounded-lg",
5294
5294
  onClick ? "cursor-pointer" : "",
5295
5295
  defaultBorderMixin,
@@ -12847,6 +12847,9 @@ function EntityIdHeaderWidget({
12847
12847
  {
12848
12848
  open: openPopup,
12849
12849
  onOpenChange: setOpenPopup,
12850
+ sideOffset: 0,
12851
+ align: "start",
12852
+ alignOffset: -117,
12850
12853
  trigger: /* @__PURE__ */ jsx(IconButton, { size: "small", children: /* @__PURE__ */ jsx(SearchIcon, { size: "small" }) }),
12851
12854
  children: /* @__PURE__ */ jsx(
12852
12855
  "form",
@@ -12874,7 +12877,7 @@ function EntityIdHeaderWidget({
12874
12877
  setSearchString(e.target.value);
12875
12878
  },
12876
12879
  value: searchString,
12877
- className: "flex-grow bg-transparent outline-none p-1"
12880
+ className: "flex-grow bg-transparent outline-none p-1 " + focusedDisabled
12878
12881
  }
12879
12882
  ),
12880
12883
  /* @__PURE__ */ jsx(
@@ -19319,7 +19322,7 @@ function DrawerWrapper(props) {
19319
19322
  children: /* @__PURE__ */ jsx(
19320
19323
  "div",
19321
19324
  {
19322
- className: "fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit z-20",
19325
+ className: "ml-2 fixed top-2 left-3 !bg-gray-50 dark:!bg-gray-900 rounded-full w-fit z-20",
19323
19326
  children: /* @__PURE__ */ jsx(
19324
19327
  IconButton,
19325
19328
  {
@@ -19365,7 +19368,7 @@ function DrawerWrapper(props) {
19365
19368
  "aria-label": "Open drawer",
19366
19369
  onClick: () => props.setDrawerOpen(true),
19367
19370
  size: "large",
19368
- className: "absolute top-2 left-6",
19371
+ className: "absolute top-2 left-5",
19369
19372
  children: /* @__PURE__ */ jsx(MenuIcon, {})
19370
19373
  }
19371
19374
  ),
@@ -19424,7 +19427,7 @@ function DrawerNavigationItem({
19424
19427
  },
19425
19428
  className: ({ isActive }) => cls(
19426
19429
  "rounded-lg truncate",
19427
- "hover:bg-slate-300 hover:bg-opacity-75 dark:hover:bg-gray-700 dark:hover:bg-opacity-75 text-gray-800 dark:text-gray-200 hover:text-gray-900 hover:dark:text-white",
19430
+ "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",
19428
19431
  "flex flex-row items-center mr-8",
19429
19432
  // "transition-all ease-in-out delay-100 duration-300",
19430
19433
  // drawerOpen ? "w-full" : "w-18",
@@ -19601,9 +19604,9 @@ function DrawerLogo({ logo }) {
19601
19604
  {
19602
19605
  style: {
19603
19606
  transition: "padding 100ms cubic-bezier(0.4, 0, 0.6, 1) 0ms",
19604
- padding: drawerOpen ? "32px 144px 0px 24px" : "72px 16px 0px"
19607
+ padding: drawerOpen ? "32px 144px 0px 24px" : "72px 12px 0px 12px"
19605
19608
  },
19606
- className: cls("cursor-pointer"),
19609
+ className: cls("cursor-pointer ml-4"),
19607
19610
  children: /* @__PURE__ */ jsx(
19608
19611
  Tooltip,
19609
19612
  {