@strapi/content-manager 5.0.0-rc.10 → 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-C1B5XNIM.mjs → ComponentConfigurationPage-BNYW9KgT.mjs} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-C1B5XNIM.mjs.map → ComponentConfigurationPage-BNYW9KgT.mjs.map} +1 -1
- package/dist/_chunks/{ComponentConfigurationPage-BEJqMzZA.js → ComponentConfigurationPage-DM3Vsp1l.js} +3 -3
- package/dist/_chunks/{ComponentConfigurationPage-BEJqMzZA.js.map → ComponentConfigurationPage-DM3Vsp1l.js.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-D2DPoQ3j.mjs → EditConfigurationPage-4o3D0nlo.mjs} +3 -3
- package/dist/_chunks/{EditConfigurationPage-D2DPoQ3j.mjs.map → EditConfigurationPage-4o3D0nlo.mjs.map} +1 -1
- package/dist/_chunks/{EditConfigurationPage-DOyPS5Tv.js → EditConfigurationPage-B6TcA_k2.js} +3 -3
- package/dist/_chunks/{EditConfigurationPage-DOyPS5Tv.js.map → EditConfigurationPage-B6TcA_k2.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-fuASFJIx.js → EditViewPage-Ci2MevDY.js} +3 -3
- package/dist/_chunks/{EditViewPage-fuASFJIx.js.map → EditViewPage-Ci2MevDY.js.map} +1 -1
- package/dist/_chunks/{EditViewPage-Ymi21g_V.mjs → EditViewPage-DMNlG9Jo.mjs} +3 -3
- package/dist/_chunks/{EditViewPage-Ymi21g_V.mjs.map → EditViewPage-DMNlG9Jo.mjs.map} +1 -1
- package/dist/_chunks/{Field-Ce4O31Zm.js → Field-DD0cSHT1.js} +17 -45
- package/dist/_chunks/Field-DD0cSHT1.js.map +1 -0
- package/dist/_chunks/{Field-BOo2Rz0Z.mjs → Field-DFMgqDsl.mjs} +17 -45
- package/dist/_chunks/Field-DFMgqDsl.mjs.map +1 -0
- package/dist/_chunks/{Form-D2_h3W-h.mjs → Form-Btnp546K.mjs} +15 -7
- package/dist/_chunks/Form-Btnp546K.mjs.map +1 -0
- package/dist/_chunks/{Form-CCGDm2PL.js → Form-CsuR17sZ.js} +15 -7
- package/dist/_chunks/Form-CsuR17sZ.js.map +1 -0
- package/dist/_chunks/{History-KY23tw1N.mjs → History-D0-C35oC.mjs} +4 -4
- package/dist/_chunks/{History-KY23tw1N.mjs.map → History-D0-C35oC.mjs.map} +1 -1
- package/dist/_chunks/{History-CARFXr5U.js → History-DWPijD_m.js} +4 -4
- package/dist/_chunks/{History-CARFXr5U.js.map → History-DWPijD_m.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-fZjkRyi9.js → ListConfigurationPage-CXZulAfo.js} +2 -2
- package/dist/_chunks/{ListConfigurationPage-fZjkRyi9.js.map → ListConfigurationPage-CXZulAfo.js.map} +1 -1
- package/dist/_chunks/{ListConfigurationPage-BrwfEo-f.mjs → ListConfigurationPage-DVoaP9lg.mjs} +2 -2
- package/dist/_chunks/{ListConfigurationPage-BrwfEo-f.mjs.map → ListConfigurationPage-DVoaP9lg.mjs.map} +1 -1
- package/dist/_chunks/{ListViewPage-CY6a70Y-.js → ListViewPage-C-o-L6cX.js} +20 -28
- package/dist/_chunks/ListViewPage-C-o-L6cX.js.map +1 -0
- package/dist/_chunks/{ListViewPage-CjkCjT3z.mjs → ListViewPage-Cg674I0s.mjs} +21 -29
- package/dist/_chunks/ListViewPage-Cg674I0s.mjs.map +1 -0
- package/dist/_chunks/{NoContentTypePage-DId86YmW.js → NoContentTypePage-CqAdg_fd.js} +2 -2
- package/dist/_chunks/{NoContentTypePage-DId86YmW.js.map → NoContentTypePage-CqAdg_fd.js.map} +1 -1
- package/dist/_chunks/{NoContentTypePage-C8XPPlCu.mjs → NoContentTypePage-Ee3l4Sli.mjs} +2 -2
- package/dist/_chunks/{NoContentTypePage-C8XPPlCu.mjs.map → NoContentTypePage-Ee3l4Sli.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-gwaMeI0N.mjs → NoPermissionsPage-B_hXGAO2.mjs} +2 -2
- package/dist/_chunks/{NoPermissionsPage-gwaMeI0N.mjs.map → NoPermissionsPage-B_hXGAO2.mjs.map} +1 -1
- package/dist/_chunks/{NoPermissionsPage-CT9LmH-v.js → NoPermissionsPage-CNhQjSog.js} +2 -2
- package/dist/_chunks/{NoPermissionsPage-CT9LmH-v.js.map → NoPermissionsPage-CNhQjSog.js.map} +1 -1
- package/dist/_chunks/{Relations-Zqwo0Moa.js → Relations-Bfms4h-r.js} +3 -3
- package/dist/_chunks/{Relations-Zqwo0Moa.js.map → Relations-Bfms4h-r.js.map} +1 -1
- package/dist/_chunks/{Relations-BHyHGiTJ.mjs → Relations-CjKTIbxN.mjs} +3 -3
- package/dist/_chunks/{Relations-BHyHGiTJ.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-9nr_f9vB.js → index-BI-3Gbhi.js} +45 -52
- package/dist/_chunks/index-BI-3Gbhi.js.map +1 -0
- package/dist/_chunks/{index-CS6TpAQJ.mjs → index-DF5b6TFn.mjs} +47 -54
- package/dist/_chunks/index-DF5b6TFn.mjs.map +1 -0
- package/dist/_chunks/{layout-2aGdWAdb.mjs → layout-CJYFoHje.mjs} +5 -4
- package/dist/_chunks/{layout-2aGdWAdb.mjs.map → layout-CJYFoHje.mjs.map} +1 -1
- package/dist/_chunks/{layout-BssHa4-L.js → layout-DFEVG8Tc.js} +5 -4
- package/dist/_chunks/{layout-BssHa4-L.js.map → layout-DFEVG8Tc.js.map} +1 -1
- package/dist/_chunks/{relations-DBOO7qaP.mjs → relations-B_ASsV1W.mjs} +2 -2
- package/dist/_chunks/{relations-DBOO7qaP.mjs.map → relations-B_ASsV1W.mjs.map} +1 -1
- package/dist/_chunks/{relations-BuxzjpZ_.js → relations-CLicjYsV.js} +2 -2
- package/dist/_chunks/{relations-BuxzjpZ_.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-BOo2Rz0Z.mjs.map +0 -1
- package/dist/_chunks/Field-Ce4O31Zm.js.map +0 -1
- package/dist/_chunks/Form-CCGDm2PL.js.map +0 -1
- package/dist/_chunks/Form-D2_h3W-h.mjs.map +0 -1
- package/dist/_chunks/ListViewPage-CY6a70Y-.js.map +0 -1
- package/dist/_chunks/ListViewPage-CjkCjT3z.mjs.map +0 -1
- package/dist/_chunks/index-9nr_f9vB.js.map +0 -1
- package/dist/_chunks/index-CS6TpAQJ.mjs.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-
|
8
|
+
const index = require("./index-BI-3Gbhi.js");
|
9
9
|
const fractionalIndexing = require("fractional-indexing");
|
10
|
-
const Relations = require("./Relations-
|
10
|
+
const Relations = require("./Relations-Bfms4h-r.js");
|
11
11
|
const Icons = require("@strapi/icons");
|
12
12
|
const styledComponents = require("styled-components");
|
13
13
|
const ComponentIcon = require("./ComponentIcon-BXdiCGQp.js");
|
@@ -1441,7 +1441,7 @@ const ToolbarButton = ({
|
|
1441
1441
|
width: 7,
|
1442
1442
|
height: 7,
|
1443
1443
|
hasRadius: true,
|
1444
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, {
|
1444
|
+
children: /* @__PURE__ */ jsxRuntime.jsx(Icon, { fill: disabled ? "neutral300" : enabledColor })
|
1445
1445
|
}
|
1446
1446
|
)
|
1447
1447
|
}
|
@@ -4619,31 +4619,11 @@ const quoteAndCodeHandler = (editor, markdownType) => {
|
|
4619
4619
|
insertWithoutTextToEdit(editor, markdownType, line, contentLength);
|
4620
4620
|
}
|
4621
4621
|
};
|
4622
|
-
const CustomIconButton = styledComponents.styled(designSystem.IconButton)`
|
4623
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4624
|
-
|
4625
|
-
svg {
|
4626
|
-
width: 1.8rem;
|
4627
|
-
height: 1.8rem;
|
4628
|
-
}
|
4629
|
-
`;
|
4630
|
-
const CustomLinkIconButton = styledComponents.styled(CustomIconButton)`
|
4631
|
-
svg {
|
4632
|
-
width: 0.8rem;
|
4633
|
-
height: 0.8rem;
|
4634
|
-
}
|
4635
|
-
`;
|
4636
4622
|
const MainButtons = styledComponents.styled(designSystem.IconButtonGroup)`
|
4637
4623
|
margin-left: ${({ theme }) => theme.spaces[4]};
|
4638
4624
|
`;
|
4639
4625
|
const MoreButton = styledComponents.styled(designSystem.IconButton)`
|
4640
4626
|
margin: ${({ theme }) => `0 ${theme.spaces[2]}`};
|
4641
|
-
padding: ${({ theme }) => theme.spaces[2]};
|
4642
|
-
|
4643
|
-
svg {
|
4644
|
-
width: 1.8rem;
|
4645
|
-
height: 1.8rem;
|
4646
|
-
}
|
4647
4627
|
`;
|
4648
4628
|
const IconButtonGroupMargin = styledComponents.styled(designSystem.IconButtonGroup)`
|
4649
4629
|
margin-right: ${({ theme }) => `${theme.spaces[2]}`};
|
@@ -4727,9 +4707,9 @@ const WysiwygNav = ({
|
|
4727
4707
|
}
|
4728
4708
|
) }),
|
4729
4709
|
/* @__PURE__ */ jsxRuntime.jsxs(MainButtons, { children: [
|
4730
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4731
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4732
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4710
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {}) }),
|
4711
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Italic, {}) }),
|
4712
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Underline, {}) })
|
4733
4713
|
] }),
|
4734
4714
|
/* @__PURE__ */ jsxRuntime.jsx(MoreButton, { disabled: true, label: "More", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.More, {}) })
|
4735
4715
|
] }),
|
@@ -4768,17 +4748,9 @@ const WysiwygNav = ({
|
|
4768
4748
|
}
|
4769
4749
|
) }),
|
4770
4750
|
/* @__PURE__ */ jsxRuntime.jsxs(MainButtons, { children: [
|
4751
|
+
/* @__PURE__ */ jsxRuntime.jsx(designSystem.IconButton, { onClick: () => onActionClick("Bold", editorRef), label: "Bold", name: "Bold", children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {}) }),
|
4771
4752
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4772
|
-
|
4773
|
-
{
|
4774
|
-
onClick: () => onActionClick("Bold", editorRef),
|
4775
|
-
label: "Bold",
|
4776
|
-
name: "Bold",
|
4777
|
-
children: /* @__PURE__ */ jsxRuntime.jsx(Icons.Bold, {})
|
4778
|
-
}
|
4779
|
-
),
|
4780
|
-
/* @__PURE__ */ jsxRuntime.jsx(
|
4781
|
-
CustomIconButton,
|
4753
|
+
designSystem.IconButton,
|
4782
4754
|
{
|
4783
4755
|
onClick: () => onActionClick("Italic", editorRef),
|
4784
4756
|
label: "Italic",
|
@@ -4787,7 +4759,7 @@ const WysiwygNav = ({
|
|
4787
4759
|
}
|
4788
4760
|
),
|
4789
4761
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4790
|
-
|
4762
|
+
designSystem.IconButton,
|
4791
4763
|
{
|
4792
4764
|
onClick: () => onActionClick("Underline", editorRef),
|
4793
4765
|
label: "Underline",
|
@@ -4801,7 +4773,7 @@ const WysiwygNav = ({
|
|
4801
4773
|
/* @__PURE__ */ jsxRuntime.jsx(designSystem.Popover.Content, { sideOffset: 12, children: /* @__PURE__ */ jsxRuntime.jsxs(designSystem.Flex, { padding: 2, children: [
|
4802
4774
|
/* @__PURE__ */ jsxRuntime.jsxs(IconButtonGroupMargin, { children: [
|
4803
4775
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4804
|
-
|
4776
|
+
designSystem.IconButton,
|
4805
4777
|
{
|
4806
4778
|
onClick: () => onActionClick("Strikethrough", editorRef, handleTogglePopover),
|
4807
4779
|
label: "Strikethrough",
|
@@ -4810,7 +4782,7 @@ const WysiwygNav = ({
|
|
4810
4782
|
}
|
4811
4783
|
),
|
4812
4784
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4813
|
-
|
4785
|
+
designSystem.IconButton,
|
4814
4786
|
{
|
4815
4787
|
onClick: () => onActionClick("BulletList", editorRef, handleTogglePopover),
|
4816
4788
|
label: "BulletList",
|
@@ -4819,7 +4791,7 @@ const WysiwygNav = ({
|
|
4819
4791
|
}
|
4820
4792
|
),
|
4821
4793
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4822
|
-
|
4794
|
+
designSystem.IconButton,
|
4823
4795
|
{
|
4824
4796
|
onClick: () => onActionClick("NumberList", editorRef, handleTogglePopover),
|
4825
4797
|
label: "NumberList",
|
@@ -4830,7 +4802,7 @@ const WysiwygNav = ({
|
|
4830
4802
|
] }),
|
4831
4803
|
/* @__PURE__ */ jsxRuntime.jsxs(designSystem.IconButtonGroup, { children: [
|
4832
4804
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4833
|
-
|
4805
|
+
designSystem.IconButton,
|
4834
4806
|
{
|
4835
4807
|
onClick: () => onActionClick("Code", editorRef, handleTogglePopover),
|
4836
4808
|
label: "Code",
|
@@ -4839,7 +4811,7 @@ const WysiwygNav = ({
|
|
4839
4811
|
}
|
4840
4812
|
),
|
4841
4813
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4842
|
-
|
4814
|
+
designSystem.IconButton,
|
4843
4815
|
{
|
4844
4816
|
onClick: () => {
|
4845
4817
|
handleTogglePopover();
|
@@ -4851,7 +4823,7 @@ const WysiwygNav = ({
|
|
4851
4823
|
}
|
4852
4824
|
),
|
4853
4825
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4854
|
-
|
4826
|
+
designSystem.IconButton,
|
4855
4827
|
{
|
4856
4828
|
onClick: () => onActionClick("Link", editorRef, handleTogglePopover),
|
4857
4829
|
label: "Link",
|
@@ -4860,7 +4832,7 @@ const WysiwygNav = ({
|
|
4860
4832
|
}
|
4861
4833
|
),
|
4862
4834
|
/* @__PURE__ */ jsxRuntime.jsx(
|
4863
|
-
|
4835
|
+
designSystem.IconButton,
|
4864
4836
|
{
|
4865
4837
|
onClick: () => onActionClick("Quote", editorRef, handleTogglePopover),
|
4866
4838
|
label: "Quote",
|
@@ -5586,4 +5558,4 @@ exports.transformDocument = transformDocument;
|
|
5586
5558
|
exports.useDynamicZone = useDynamicZone;
|
5587
5559
|
exports.useFieldHint = useFieldHint;
|
5588
5560
|
exports.useLazyComponents = useLazyComponents;
|
5589
|
-
//# sourceMappingURL=Field-
|
5561
|
+
//# sourceMappingURL=Field-DD0cSHT1.js.map
|