@strapi/content-manager 5.0.0-rc.11 → 5.0.0-rc.12
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/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs → ComponentConfigurationPage-BNYW9KgT.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-qemkOlnj.mjs.map → ComponentConfigurationPage-BNYW9KgT.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js → ComponentConfigurationPage-DM3Vsp1l.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-D_M8iBw5.js.map → ComponentConfigurationPage-DM3Vsp1l.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs → EditConfigurationPage-4o3D0nlo.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-CjUrEewK.mjs.map → EditConfigurationPage-4o3D0nlo.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js → EditConfigurationPage-B6TcA_k2.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-BePwPuHy.js.map → EditConfigurationPage-B6TcA_k2.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js → EditViewPage-Ci2MevDY.js} +3 -3
- package/dist/_chunks/{EditViewPage-B-RJeiJD.js.map → EditViewPage-Ci2MevDY.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs → EditViewPage-DMNlG9Jo.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-De8GyU8P.mjs.map → EditViewPage-DMNlG9Jo.mjs.map} +1 -1
- package/dist/_chunks/{Field-dq8Tg1M_.js → Field-DD0cSHT1.js} +17 -45
- package/dist/_chunks/Field-DD0cSHT1.js.map +1 -0
- package/dist/_chunks/{Field-pb2o8uBe.mjs → Field-DFMgqDsl.mjs} +17 -45
- package/dist/_chunks/Field-DFMgqDsl.mjs.map +1 -0
- package/dist/_chunks/{Form-DJn0Dxha.mjs → Form-Btnp546K.mjs} +15 -7
- package/dist/_chunks/Form-Btnp546K.mjs.map +1 -0
- package/dist/_chunks/{Form-DGIf4jQU.js → Form-CsuR17sZ.js} +15 -7
- package/dist/_chunks/Form-CsuR17sZ.js.map +1 -0
- package/dist/_chunks/{History-BowL3JKP.mjs → History-D0-C35oC.mjs} +4 -4
- package/dist/_chunks/{History-BowL3JKP.mjs.map → History-D0-C35oC.mjs.map} +1 -1
- package/dist/_chunks/{History-Dh2NEHnR.js → History-DWPijD_m.js} +4 -4
- package/dist/_chunks/{History-Dh2NEHnR.js.map → History-DWPijD_m.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js → ListConfigurationPage-CXZulAfo.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BxYCWz9e.js.map → ListConfigurationPage-CXZulAfo.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs → ListConfigurationPage-DVoaP9lg.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BpVOB-hn.mjs.map → ListConfigurationPage-DVoaP9lg.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-4XsciqHZ.js → ListViewPage-C-o-L6cX.js} +20 -28
- package/dist/_chunks/ListViewPage-C-o-L6cX.js.map +1 -0
- package/dist/_chunks/{ListViewPage-CXFUjZQC.mjs → ListViewPage-Cg674I0s.mjs} +21 -29
- package/dist/_chunks/ListViewPage-Cg674I0s.mjs.map +1 -0
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js → NoContentTypePage-CqAdg_fd.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-C8OpoHeU.js.map → NoContentTypePage-CqAdg_fd.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs → NoContentTypePage-Ee3l4Sli.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-DuhOTp3x.mjs.map → NoContentTypePage-Ee3l4Sli.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs → NoPermissionsPage-B_hXGAO2.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-DVz3mzDz.mjs.map → NoPermissionsPage-B_hXGAO2.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js → NoPermissionsPage-CNhQjSog.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-y_r7DVA2.js.map → NoPermissionsPage-CNhQjSog.js.map} +1 -1
- package/dist/_chunks/{Relations-DPFCAa7b.js → Relations-Bfms4h-r.js} +3 -3
- package/dist/_chunks/{Relations-DPFCAa7b.js.map → Relations-Bfms4h-r.js.map} +1 -1
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs → Relations-CjKTIbxN.mjs} +3 -3
- package/dist/_chunks/{Relations-CVNLrn1Y.mjs.map → Relations-CjKTIbxN.mjs.map} +1 -1
- package/dist/_chunks/{en-uOUIxfcQ.js → en-BVzUkPxZ.js} +6 -5
- package/dist/_chunks/{en-uOUIxfcQ.js.map → en-BVzUkPxZ.js.map} +1 -1
- package/dist/_chunks/{en-BrCTWlZv.mjs → en-CPTj6CjC.mjs} +6 -5
- package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CPTj6CjC.mjs.map} +1 -1
- package/dist/_chunks/{index-C3fJE-1-.js → index-BI-3Gbhi.js} +44 -52
- package/dist/_chunks/index-BI-3Gbhi.js.map +1 -0
- package/dist/_chunks/{index-DiMrfcfy.mjs → index-DF5b6TFn.mjs} +46 -54
- package/dist/_chunks/index-DF5b6TFn.mjs.map +1 -0
- package/dist/_chunks/{layout-ls3gxfpH.mjs → layout-CJYFoHje.mjs} +5 -4
- package/dist/_chunks/{layout-ls3gxfpH.mjs.map → layout-CJYFoHje.mjs.map} +1 -1
- package/dist/_chunks/{layout-C788OmNr.js → layout-DFEVG8Tc.js} +5 -4
- package/dist/_chunks/{layout-C788OmNr.js.map → layout-DFEVG8Tc.js.map} +1 -1
- package/dist/_chunks/{relations-CLcOmGO0.mjs → relations-B_ASsV1W.mjs} +2 -2
- package/dist/_chunks/{relations-CLcOmGO0.mjs.map → relations-B_ASsV1W.mjs.map} +1 -1
- package/dist/_chunks/{relations-DYeotliT.js → relations-CLicjYsV.js} +2 -2
- package/dist/_chunks/{relations-DYeotliT.js.map → relations-CLicjYsV.js.map} +1 -1
- package/dist/admin/index.js +1 -1
- package/dist/admin/index.mjs +1 -1
- package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
- package/dist/admin/src/services/documents.d.ts +3 -1
- package/dist/server/index.js +17 -4
- package/dist/server/index.js.map +1 -1
- package/dist/server/index.mjs +17 -4
- package/dist/server/index.mjs.map +1 -1
- package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
- package/dist/server/src/history/services/history.d.ts.map +1 -1
- package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
- package/dist/server/src/history/services/utils.d.ts +1 -0
- package/dist/server/src/history/services/utils.d.ts.map +1 -1
- package/dist/shared/contracts/collection-types.d.ts +3 -1
- package/dist/shared/contracts/collection-types.d.ts.map +1 -1
- package/package.json +8 -8
- package/dist/_chunks/Field-dq8Tg1M_.js.map +0 -1
- package/dist/_chunks/Field-pb2o8uBe.mjs.map +0 -1
- package/dist/_chunks/Form-DGIf4jQU.js.map +0 -1
- package/dist/_chunks/Form-DJn0Dxha.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-4XsciqHZ.js.map +0 -1
- package/dist/_chunks/ListViewPage-CXFUjZQC.mjs.map +0 -1
- package/dist/_chunks/index-C3fJE-1-.js.map +0 -1
- package/dist/_chunks/index-DiMrfcfy.mjs.map +0 -1
@@ -5,9 +5,9 @@ import { useStrapiApp, createContext, useField, useNotification, useForm, useAPI
|
|
5
5
|
import { Box, SingleSelect, SingleSelectOption, Typography, Flex, BaseLink, Button, Popover, Field, Tooltip, IconButton, useComposedRefs, Portal, FocusTrap, Divider, VisuallyHidden, Grid as Grid$1, Accordion, TextButton, TextInput, IconButtonGroup, Menu, MenuItem } from "@strapi/design-system";
|
6
6
|
import pipe$1 from "lodash/fp/pipe";
|
7
7
|
import { useIntl } from "react-intl";
|
8
|
-
import { m as DOCUMENT_META_FIELDS, g as getTranslation, c as useDoc, e as contentManagerApi, n as CLONE_PATH, d as buildValidParams, f as useDocumentRBAC, o as useDocLayout } from "./index-
|
8
|
+
import { m as DOCUMENT_META_FIELDS, g as getTranslation, c as useDoc, e as contentManagerApi, n as CLONE_PATH, d as buildValidParams, f as useDocumentRBAC, o as useDocLayout } from "./index-DF5b6TFn.mjs";
|
9
9
|
import { generateNKeysBetween } from "fractional-indexing";
|
10
|
-
import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-
|
10
|
+
import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-CjKTIbxN.mjs";
|
11
11
|
import { Code, HeadingOne, HeadingTwo, HeadingThree, HeadingFour, HeadingFive, HeadingSix, Image as Image$1, NumberList, BulletList, Paragraph, Quotes, Link as Link$1, Drag, Collapse, Bold, Italic, Underline, StrikeThrough, Expand, PlusCircle, Plus, Trash, EyeStriked, CheckCircle, WarningCircle, Loader, ArrowClockwise, More } from "@strapi/icons";
|
12
12
|
import { styled, css, keyframes } from "styled-components";
|
13
13
|
import { C as ComponentIcon, a as COMPONENT_ICONS } from "./ComponentIcon-u4bIXTFY.mjs";
|
@@ -1407,7 +1407,7 @@ const ToolbarButton = ({
|
|
1407
1407
|
width: 7,
|
1408
1408
|
height: 7,
|
1409
1409
|
hasRadius: true,
|
1410
|
-
children: /* @__PURE__ */ jsx(Icon, {
|
1410
|
+
children: /* @__PURE__ */ jsx(Icon, { fill: disabled ? "neutral300" : enabledColor })
|
1411
1411
|
}
|
1412
1412
|
)
|
1413
1413
|
}
|
@@ -4585,31 +4585,11 @@ const quoteAndCodeHandler = (editor, markdownType) => {
|
|
4585
4585
|
insertWithoutTextToEdit(editor, markdownType, line, contentLength);
|
4586
4586
|
}
|
4587
4587
|
};
|
4588
|
-
const CustomIconButton = styled(IconButton)`
|
4589
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4590
|
-
|
4591
|
-
svg {
|
4592
|
-
width: 1.8rem;
|
4593
|
-
height: 1.8rem;
|
4594
|
-
}
|
4595
|
-
`;
|
4596
|
-
const CustomLinkIconButton = styled(CustomIconButton)`
|
4597
|
-
svg {
|
4598
|
-
width: 0.8rem;
|
4599
|
-
height: 0.8rem;
|
4600
|
-
}
|
4601
|
-
`;
|
4602
4588
|
const MainButtons = styled(IconButtonGroup)`
|
4603
4589
|
margin-left: ${({ theme }) => theme.spaces[4]};
|
4604
4590
|
`;
|
4605
4591
|
const MoreButton = styled(IconButton)`
|
4606
4592
|
margin: ${({ theme }) => `0 ${theme.spaces[2]}`};
|
4607
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4608
|
-
|
4609
|
-
svg {
|
4610
|
-
width: 1.8rem;
|
4611
|
-
height: 1.8rem;
|
4612
|
-
}
|
4613
4593
|
`;
|
4614
4594
|
const IconButtonGroupMargin = styled(IconButtonGroup)`
|
4615
4595
|
margin-right: ${({ theme }) => `${theme.spaces[2]}`};
|
@@ -4693,9 +4673,9 @@ const WysiwygNav = ({
|
|
4693
4673
|
}
|
4694
4674
|
) }),
|
4695
4675
|
/* @__PURE__ */ jsxs(MainButtons, { children: [
|
4696
|
-
/* @__PURE__ */ jsx(
|
4697
|
-
/* @__PURE__ */ jsx(
|
4698
|
-
/* @__PURE__ */ jsx(
|
4676
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
|
4677
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsx(Italic, {}) }),
|
4678
|
+
/* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsx(Underline, {}) })
|
4699
4679
|
] }),
|
4700
4680
|
/* @__PURE__ */ jsx(MoreButton, { disabled: true, label: "More", children: /* @__PURE__ */ jsx(More, {}) })
|
4701
4681
|
] }),
|
@@ -4734,17 +4714,9 @@ const WysiwygNav = ({
|
|
4734
4714
|
}
|
4735
4715
|
) }),
|
4736
4716
|
/* @__PURE__ */ jsxs(MainButtons, { children: [
|
4717
|
+
/* @__PURE__ */ jsx(IconButton, { onClick: () => onActionClick("Bold", editorRef), label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
|
4737
4718
|
/* @__PURE__ */ jsx(
|
4738
|
-
|
4739
|
-
{
|
4740
|
-
onClick: () => onActionClick("Bold", editorRef),
|
4741
|
-
label: "Bold",
|
4742
|
-
name: "Bold",
|
4743
|
-
children: /* @__PURE__ */ jsx(Bold, {})
|
4744
|
-
}
|
4745
|
-
),
|
4746
|
-
/* @__PURE__ */ jsx(
|
4747
|
-
CustomIconButton,
|
4719
|
+
IconButton,
|
4748
4720
|
{
|
4749
4721
|
onClick: () => onActionClick("Italic", editorRef),
|
4750
4722
|
label: "Italic",
|
@@ -4753,7 +4725,7 @@ const WysiwygNav = ({
|
|
4753
4725
|
}
|
4754
4726
|
),
|
4755
4727
|
/* @__PURE__ */ jsx(
|
4756
|
-
|
4728
|
+
IconButton,
|
4757
4729
|
{
|
4758
4730
|
onClick: () => onActionClick("Underline", editorRef),
|
4759
4731
|
label: "Underline",
|
@@ -4767,7 +4739,7 @@ const WysiwygNav = ({
|
|
4767
4739
|
/* @__PURE__ */ jsx(Popover.Content, { sideOffset: 12, children: /* @__PURE__ */ jsxs(Flex, { padding: 2, children: [
|
4768
4740
|
/* @__PURE__ */ jsxs(IconButtonGroupMargin, { children: [
|
4769
4741
|
/* @__PURE__ */ jsx(
|
4770
|
-
|
4742
|
+
IconButton,
|
4771
4743
|
{
|
4772
4744
|
onClick: () => onActionClick("Strikethrough", editorRef, handleTogglePopover),
|
4773
4745
|
label: "Strikethrough",
|
@@ -4776,7 +4748,7 @@ const WysiwygNav = ({
|
|
4776
4748
|
}
|
4777
4749
|
),
|
4778
4750
|
/* @__PURE__ */ jsx(
|
4779
|
-
|
4751
|
+
IconButton,
|
4780
4752
|
{
|
4781
4753
|
onClick: () => onActionClick("BulletList", editorRef, handleTogglePopover),
|
4782
4754
|
label: "BulletList",
|
@@ -4785,7 +4757,7 @@ const WysiwygNav = ({
|
|
4785
4757
|
}
|
4786
4758
|
),
|
4787
4759
|
/* @__PURE__ */ jsx(
|
4788
|
-
|
4760
|
+
IconButton,
|
4789
4761
|
{
|
4790
4762
|
onClick: () => onActionClick("NumberList", editorRef, handleTogglePopover),
|
4791
4763
|
label: "NumberList",
|
@@ -4796,7 +4768,7 @@ const WysiwygNav = ({
|
|
4796
4768
|
] }),
|
4797
4769
|
/* @__PURE__ */ jsxs(IconButtonGroup, { children: [
|
4798
4770
|
/* @__PURE__ */ jsx(
|
4799
|
-
|
4771
|
+
IconButton,
|
4800
4772
|
{
|
4801
4773
|
onClick: () => onActionClick("Code", editorRef, handleTogglePopover),
|
4802
4774
|
label: "Code",
|
@@ -4805,7 +4777,7 @@ const WysiwygNav = ({
|
|
4805
4777
|
}
|
4806
4778
|
),
|
4807
4779
|
/* @__PURE__ */ jsx(
|
4808
|
-
|
4780
|
+
IconButton,
|
4809
4781
|
{
|
4810
4782
|
onClick: () => {
|
4811
4783
|
handleTogglePopover();
|
@@ -4817,7 +4789,7 @@ const WysiwygNav = ({
|
|
4817
4789
|
}
|
4818
4790
|
),
|
4819
4791
|
/* @__PURE__ */ jsx(
|
4820
|
-
|
4792
|
+
IconButton,
|
4821
4793
|
{
|
4822
4794
|
onClick: () => onActionClick("Link", editorRef, handleTogglePopover),
|
4823
4795
|
label: "Link",
|
@@ -4826,7 +4798,7 @@ const WysiwygNav = ({
|
|
4826
4798
|
}
|
4827
4799
|
),
|
4828
4800
|
/* @__PURE__ */ jsx(
|
4829
|
-
|
4801
|
+
IconButton,
|
4830
4802
|
{
|
4831
4803
|
onClick: () => onActionClick("Quote", editorRef, handleTogglePopover),
|
4832
4804
|
label: "Quote",
|
@@ -5554,4 +5526,4 @@ export {
|
|
5554
5526
|
transformDocument as t,
|
5555
5527
|
useLazyComponents as u
|
5556
5528
|
};
|
5557
|
-
//# sourceMappingURL=Field-
|
5529
|
+
//# sourceMappingURL=Field-DFMgqDsl.mjs.map
|