@strapi/content-manager 0.0.0-experimental.e350eaa6073e65190102b4b798c32c287053cc02 → 0.0.0-experimental.e8d8fc824d0f6a695b2a9ebaa4680ed21c3645ca

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.
Files changed (83) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-BTR_hQow.js → ComponentConfigurationPage-BlzvDpbX.js} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-BTR_hQow.js.map → ComponentConfigurationPage-BlzvDpbX.js.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-bLQr82ce.mjs → ComponentConfigurationPage-DaPOlQaD.mjs} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-bLQr82ce.mjs.map → ComponentConfigurationPage-DaPOlQaD.mjs.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-BhRSnUsL.mjs → EditConfigurationPage-BZPXItXo.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-BhRSnUsL.mjs.map → EditConfigurationPage-BZPXItXo.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-z39Wv3E6.js → EditConfigurationPage-uy-v43AR.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-z39Wv3E6.js.map → EditConfigurationPage-uy-v43AR.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-wujOq90c.js → EditViewPage-DT6A4ayX.js} +3 -3
  10. package/dist/_chunks/{EditViewPage-wujOq90c.js.map → EditViewPage-DT6A4ayX.js.map} +1 -1
  11. package/dist/_chunks/{EditViewPage-BCjNxNlY.mjs → EditViewPage-oOLeTySr.mjs} +3 -3
  12. package/dist/_chunks/{EditViewPage-BCjNxNlY.mjs.map → EditViewPage-oOLeTySr.mjs.map} +1 -1
  13. package/dist/_chunks/{Field-Byr3mPTl.mjs → Field-D7dv2aUX.mjs} +23 -50
  14. package/dist/_chunks/Field-D7dv2aUX.mjs.map +1 -0
  15. package/dist/_chunks/{Field-B5QXnctJ.js → Field-kYFVIGiP.js} +23 -50
  16. package/dist/_chunks/Field-kYFVIGiP.js.map +1 -0
  17. package/dist/_chunks/{Form-BZgvE8C8.mjs → Form-BxR6sc29.mjs} +2 -2
  18. package/dist/_chunks/{Form-BZgvE8C8.mjs.map → Form-BxR6sc29.mjs.map} +1 -1
  19. package/dist/_chunks/{Form-D7mexvm3.js → Form-CCijSg3V.js} +2 -2
  20. package/dist/_chunks/{Form-D7mexvm3.js.map → Form-CCijSg3V.js.map} +1 -1
  21. package/dist/_chunks/{History-DYl2A8Z_.js → History-BMndx49M.js} +4 -4
  22. package/dist/_chunks/{History-DYl2A8Z_.js.map → History-BMndx49M.js.map} +1 -1
  23. package/dist/_chunks/{History-CqNgxkqK.mjs → History-D8F7aYQU.mjs} +4 -4
  24. package/dist/_chunks/{History-CqNgxkqK.mjs.map → History-D8F7aYQU.mjs.map} +1 -1
  25. package/dist/_chunks/{ListConfigurationPage-BXnu_OoY.js → ListConfigurationPage-DouY1EWM.js} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-BXnu_OoY.js.map → ListConfigurationPage-DouY1EWM.js.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-BbQjzKkQ.mjs → ListConfigurationPage-DqAdSPwC.mjs} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-BbQjzKkQ.mjs.map → ListConfigurationPage-DqAdSPwC.mjs.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-BtSi8C1l.js → ListViewPage-BPVmh9pq.js} +3 -3
  30. package/dist/_chunks/{ListViewPage-BtSi8C1l.js.map → ListViewPage-BPVmh9pq.js.map} +1 -1
  31. package/dist/_chunks/{ListViewPage-D4ofkbjR.mjs → ListViewPage-C73F0jPh.mjs} +3 -3
  32. package/dist/_chunks/{ListViewPage-D4ofkbjR.mjs.map → ListViewPage-C73F0jPh.mjs.map} +1 -1
  33. package/dist/_chunks/{NoContentTypePage-DyUx5mXh.mjs → NoContentTypePage-B5w7iJOF.mjs} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-DyUx5mXh.mjs.map → NoContentTypePage-B5w7iJOF.mjs.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-CitJeOq4.js → NoContentTypePage-BwcL--4H.js} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-CitJeOq4.js.map → NoContentTypePage-BwcL--4H.js.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-DzgWz0M-.js → NoPermissionsPage-BMFKVcwJ.js} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-DzgWz0M-.js.map → NoPermissionsPage-BMFKVcwJ.js.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-DhIiyWkk.mjs → NoPermissionsPage-UnEgMGK4.mjs} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-DhIiyWkk.mjs.map → NoPermissionsPage-UnEgMGK4.mjs.map} +1 -1
  41. package/dist/_chunks/{Preview-DfNx8Ke-.js → Preview-B7PR3Ok_.js} +5 -4
  42. package/dist/_chunks/Preview-B7PR3Ok_.js.map +1 -0
  43. package/dist/_chunks/{Preview-BaYGJ0nb.mjs → Preview-DECOhK0D.mjs} +5 -4
  44. package/dist/_chunks/Preview-DECOhK0D.mjs.map +1 -0
  45. package/dist/_chunks/{Relations-DM2yUTST.mjs → Relations-DinMQJ4B.mjs} +3 -3
  46. package/dist/_chunks/{Relations-DM2yUTST.mjs.map → Relations-DinMQJ4B.mjs.map} +1 -1
  47. package/dist/_chunks/{Relations-DuKCaXrv.js → Relations-lndx3aQk.js} +3 -3
  48. package/dist/_chunks/{Relations-DuKCaXrv.js.map → Relations-lndx3aQk.js.map} +1 -1
  49. package/dist/_chunks/{index-DVAIIsOs.mjs → index-C2SagWVW.mjs} +11 -11
  50. package/dist/_chunks/{index-DVAIIsOs.mjs.map → index-C2SagWVW.mjs.map} +1 -1
  51. package/dist/_chunks/{index-BUWEmX8m.js → index-Cnw4gqee.js} +11 -11
  52. package/dist/_chunks/{index-BUWEmX8m.js.map → index-Cnw4gqee.js.map} +1 -1
  53. package/dist/_chunks/{layout-Bxsv5mP7.mjs → layout-DY_D9MGA.mjs} +3 -3
  54. package/dist/_chunks/{layout-Bxsv5mP7.mjs.map → layout-DY_D9MGA.mjs.map} +1 -1
  55. package/dist/_chunks/{layout-C3fN7Ejz.js → layout-ivwIVPnV.js} +3 -3
  56. package/dist/_chunks/{layout-C3fN7Ejz.js.map → layout-ivwIVPnV.js.map} +1 -1
  57. package/dist/_chunks/{relations-BPZKAoEY.js → relations-B7C7O_Pv.js} +2 -2
  58. package/dist/_chunks/{relations-BPZKAoEY.js.map → relations-B7C7O_Pv.js.map} +1 -1
  59. package/dist/_chunks/{relations-o3pPhzY4.mjs → relations-Boc5Y9kX.mjs} +2 -2
  60. package/dist/_chunks/{relations-o3pPhzY4.mjs.map → relations-Boc5Y9kX.mjs.map} +1 -1
  61. package/dist/admin/index.js +1 -1
  62. package/dist/admin/index.mjs +1 -1
  63. package/dist/server/index.js +74 -62
  64. package/dist/server/index.js.map +1 -1
  65. package/dist/server/index.mjs +75 -63
  66. package/dist/server/index.mjs.map +1 -1
  67. package/dist/server/src/controllers/utils/metadata.d.ts +1 -0
  68. package/dist/server/src/controllers/utils/metadata.d.ts.map +1 -1
  69. package/dist/server/src/index.d.ts +3 -2
  70. package/dist/server/src/index.d.ts.map +1 -1
  71. package/dist/server/src/services/document-metadata.d.ts +4 -2
  72. package/dist/server/src/services/document-metadata.d.ts.map +1 -1
  73. package/dist/server/src/services/index.d.ts +3 -2
  74. package/dist/server/src/services/index.d.ts.map +1 -1
  75. package/dist/server/src/services/utils/configuration/index.d.ts +2 -2
  76. package/dist/server/src/services/utils/configuration/layouts.d.ts +2 -2
  77. package/dist/server/src/services/utils/populate.d.ts +2 -2
  78. package/dist/server/src/services/utils/populate.d.ts.map +1 -1
  79. package/package.json +6 -6
  80. package/dist/_chunks/Field-B5QXnctJ.js.map +0 -1
  81. package/dist/_chunks/Field-Byr3mPTl.mjs.map +0 -1
  82. package/dist/_chunks/Preview-BaYGJ0nb.mjs.map +0 -1
  83. package/dist/_chunks/Preview-DfNx8Ke-.js.map +0 -1
@@ -5,9 +5,9 @@ const strapiAdmin = require("@strapi/admin/strapi-admin");
5
5
  const designSystem = require("@strapi/design-system");
6
6
  const pipe$1 = require("lodash/fp/pipe");
7
7
  const reactIntl = require("react-intl");
8
- const index = require("./index-BUWEmX8m.js");
8
+ const index = require("./index-Cnw4gqee.js");
9
9
  const fractionalIndexing = require("fractional-indexing");
10
- const Relations = require("./Relations-DuKCaXrv.js");
10
+ const Relations = require("./Relations-lndx3aQk.js");
11
11
  const Icons = require("@strapi/icons");
12
12
  const styledComponents = require("styled-components");
13
13
  const ComponentIcon = require("./ComponentIcon-CRbtQEUV.js");
@@ -633,8 +633,7 @@ const codeBlocks = {
633
633
  handleEnterKey(editor) {
634
634
  pressEnterTwiceToExit(editor);
635
635
  },
636
- snippets: ["```"],
637
- dragHandleTopMargin: "10px"
636
+ snippets: ["```"]
638
637
  }
639
638
  };
640
639
  const H1 = styledComponents.styled(designSystem.Typography).attrs({ tag: "h1" })`
@@ -1413,13 +1412,13 @@ const quoteBlocks = {
1413
1412
  handleEnterKey(editor) {
1414
1413
  pressEnterTwiceToExit(editor);
1415
1414
  },
1416
- snippets: [">"],
1417
- dragHandleTopMargin: "6px"
1415
+ snippets: [">"]
1418
1416
  }
1419
1417
  };
1420
1418
  const ToolbarWrapper = styledComponents.styled(designSystem.Flex)`
1421
1419
  &[aria-disabled='true'] {
1422
1420
  cursor: not-allowed;
1421
+ background: ${({ theme }) => theme.colors.neutral150};
1423
1422
  }
1424
1423
  `;
1425
1424
  const Separator = styledComponents.styled(Toolbar__namespace.Separator)`
@@ -1430,7 +1429,7 @@ const Separator = styledComponents.styled(Toolbar__namespace.Separator)`
1430
1429
  const FlexButton = styledComponents.styled(designSystem.Flex)`
1431
1430
  // Inherit the not-allowed cursor from ToolbarWrapper when disabled
1432
1431
  &[aria-disabled] {
1433
- cursor: inherit;
1432
+ cursor: not-allowed;
1434
1433
  }
1435
1434
 
1436
1435
  &[aria-disabled='false'] {
@@ -1782,7 +1781,7 @@ const BlocksToolbar = () => {
1782
1781
  return false;
1783
1782
  };
1784
1783
  const isButtonDisabled = checkButtonDisabled();
1785
- return /* @__PURE__ */ jsxRuntime.jsx(Toolbar__namespace.Root, { "aria-disabled": disabled, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(ToolbarWrapper, { gap: 2, padding: 2, children: [
1784
+ return /* @__PURE__ */ jsxRuntime.jsx(Toolbar__namespace.Root, { "aria-disabled": disabled, asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(ToolbarWrapper, { gap: 2, padding: 2, width: "100%", children: [
1786
1785
  /* @__PURE__ */ jsxRuntime.jsx(BlocksDropdown, {}),
1787
1786
  /* @__PURE__ */ jsxRuntime.jsx(Separator, {}),
1788
1787
  /* @__PURE__ */ jsxRuntime.jsx(Toolbar__namespace.ToggleGroup, { type: "multiple", asChild: true, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { gap: 1, children: [
@@ -1856,30 +1855,32 @@ const DragIconButton = styledComponents.styled(designSystem.IconButton)`
1856
1855
  display: flex;
1857
1856
  align-items: center;
1858
1857
  justify-content: center;
1858
+ border: none;
1859
1859
  border-radius: ${({ theme }) => theme.borderRadius};
1860
- width: ${({ theme }) => theme.spaces[4]};
1861
- height: ${({ theme }) => theme.spaces[6]};
1860
+ padding-left: ${({ theme }) => theme.spaces[0]};
1861
+ padding-right: ${({ theme }) => theme.spaces[0]};
1862
+ padding-top: ${({ theme }) => theme.spaces[1]};
1863
+ padding-bottom: ${({ theme }) => theme.spaces[1]};
1862
1864
  visibility: hidden;
1863
1865
  cursor: grab;
1864
1866
  opacity: inherit;
1865
1867
  margin-top: ${(props) => props.$dragHandleTopMargin ?? 0};
1866
1868
 
1867
1869
  &:hover {
1868
- background: ${({ theme }) => theme.colors.neutral200};
1870
+ background: ${({ theme }) => theme.colors.neutral100};
1869
1871
  }
1870
1872
  &:active {
1871
1873
  cursor: grabbing;
1874
+ background: ${({ theme }) => theme.colors.neutral150};
1872
1875
  }
1873
1876
  &[aria-disabled='true'] {
1874
- cursor: not-allowed;
1875
- background: transparent;
1877
+ visibility: hidden;
1876
1878
  }
1877
1879
  svg {
1878
- height: auto;
1879
1880
  min-width: ${({ theme }) => theme.spaces[3]};
1880
1881
 
1881
1882
  path {
1882
- fill: ${({ theme }) => theme.colors.neutral700};
1883
+ fill: ${({ theme }) => theme.colors.neutral500};
1883
1884
  }
1884
1885
  }
1885
1886
  `;
@@ -2232,7 +2233,7 @@ const BlocksContent = ({ placeholder, ariaLabelId }) => {
2232
2233
  background: "neutral0",
2233
2234
  color: "neutral800",
2234
2235
  lineHeight: 6,
2235
- paddingRight: 4,
2236
+ paddingRight: 7,
2236
2237
  paddingTop: 6,
2237
2238
  paddingBottom: 3,
2238
2239
  children: [
@@ -2566,6 +2567,7 @@ const ExpandIconButton = styledComponents.styled(designSystem.IconButton)`
2566
2567
  position: absolute;
2567
2568
  bottom: 1.2rem;
2568
2569
  right: 1.2rem;
2570
+ box-shadow: ${({ theme }) => theme.shadows.filterShadow};
2569
2571
  `;
2570
2572
  function useResetKey(value) {
2571
2573
  const slateUpdatesCount = React__namespace.useRef(0);
@@ -3219,11 +3221,11 @@ const AddComponentButton = ({
3219
3221
  children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { tag: "span", gap: 2, children: [
3220
3222
  /* @__PURE__ */ jsxRuntime.jsx(StyledAddIcon, { "aria-hidden": true, $isOpen: isOpen, $hasError: hasError && !isOpen }),
3221
3223
  /* @__PURE__ */ jsxRuntime.jsx(
3222
- AddComponentTitle,
3224
+ designSystem.Typography,
3223
3225
  {
3224
3226
  variant: "pi",
3225
3227
  fontWeight: "bold",
3226
- textColor: hasError && !isOpen ? "danger600" : "neutral500",
3228
+ textColor: hasError && !isOpen ? "danger600" : "neutral600",
3227
3229
  children
3228
3230
  }
3229
3231
  )
@@ -3240,43 +3242,14 @@ const StyledAddIcon = styledComponents.styled(Icons.PlusCircle)`
3240
3242
  fill: ${({ theme, $hasError }) => $hasError ? theme.colors.danger200 : theme.colors.neutral150};
3241
3243
  }
3242
3244
  > path {
3243
- fill: ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral600};
3245
+ fill: ${({ theme, $hasError }) => $hasError ? theme.colors.danger600 : theme.colors.neutral500};
3244
3246
  }
3245
3247
  `;
3246
- const AddComponentTitle = styledComponents.styled(designSystem.Typography)``;
3247
3248
  const StyledButton = styledComponents.styled(designSystem.Button)`
3249
+ padding-left: ${({ theme }) => theme.spaces[3]};
3248
3250
  border-radius: 26px;
3249
- border-color: ${({ theme }) => theme.colors.neutral150};
3250
3251
  box-shadow: ${({ theme }) => theme.shadows.filterShadow};
3251
3252
  height: 5rem;
3252
-
3253
- &:hover {
3254
- ${AddComponentTitle} {
3255
- color: ${({ theme }) => theme.colors.primary600};
3256
- }
3257
-
3258
- ${StyledAddIcon} {
3259
- > circle {
3260
- fill: ${({ theme }) => theme.colors.primary600};
3261
- }
3262
- > path {
3263
- fill: ${({ theme }) => theme.colors.primary600};
3264
- }
3265
- }
3266
- }
3267
- &:active {
3268
- ${AddComponentTitle} {
3269
- color: ${({ theme }) => theme.colors.primary600};
3270
- }
3271
- ${StyledAddIcon} {
3272
- > circle {
3273
- fill: ${({ theme }) => theme.colors.primary600};
3274
- }
3275
- > path {
3276
- fill: ${({ theme }) => theme.colors.neutral100};
3277
- }
3278
- }
3279
- }
3280
3253
  `;
3281
3254
  const ComponentCategory = ({
3282
3255
  category,
@@ -5671,4 +5644,4 @@ exports.transformDocument = transformDocument;
5671
5644
  exports.useDynamicZone = useDynamicZone;
5672
5645
  exports.useFieldHint = useFieldHint;
5673
5646
  exports.useLazyComponents = useLazyComponents;
5674
- //# sourceMappingURL=Field-B5QXnctJ.js.map
5647
+ //# sourceMappingURL=Field-kYFVIGiP.js.map