@strapi/content-manager 0.0.0-experimental.93a73ca8c7b85667fe8e46c0cb6627506570a02f → 0.0.0-experimental.9a23f06c0b3b13548dbd12feb3dc92d3c10bebb1

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 (105) hide show
  1. package/dist/_chunks/{ComponentConfigurationPage-B3yDbeU1.mjs → ComponentConfigurationPage-CpBFh6_r.mjs} +3 -3
  2. package/dist/_chunks/{ComponentConfigurationPage-B3yDbeU1.mjs.map → ComponentConfigurationPage-CpBFh6_r.mjs.map} +1 -1
  3. package/dist/_chunks/{ComponentConfigurationPage-KXSuLnQD.js → ComponentConfigurationPage-_zF8p6CY.js} +3 -3
  4. package/dist/_chunks/{ComponentConfigurationPage-KXSuLnQD.js.map → ComponentConfigurationPage-_zF8p6CY.js.map} +1 -1
  5. package/dist/_chunks/{EditConfigurationPage-D7PrLO8j.mjs → EditConfigurationPage-CE_yavTi.mjs} +3 -3
  6. package/dist/_chunks/{EditConfigurationPage-D7PrLO8j.mjs.map → EditConfigurationPage-CE_yavTi.mjs.map} +1 -1
  7. package/dist/_chunks/{EditConfigurationPage-BQ17--5R.js → EditConfigurationPage-_aG2DJSU.js} +3 -3
  8. package/dist/_chunks/{EditConfigurationPage-BQ17--5R.js.map → EditConfigurationPage-_aG2DJSU.js.map} +1 -1
  9. package/dist/_chunks/{EditViewPage-B7VgwJaG.mjs → EditViewPage-DeTn7rAF.mjs} +4 -4
  10. package/dist/_chunks/EditViewPage-DeTn7rAF.mjs.map +1 -0
  11. package/dist/_chunks/{EditViewPage-BgjdnGz2.js → EditViewPage-G9uNzwYL.js} +4 -4
  12. package/dist/_chunks/EditViewPage-G9uNzwYL.js.map +1 -0
  13. package/dist/_chunks/{Field-tHCw4lGA.mjs → Field-CnCKhI1R.mjs} +31 -62
  14. package/dist/_chunks/Field-CnCKhI1R.mjs.map +1 -0
  15. package/dist/_chunks/{Field-CdK7ZLmv.js → Field-DDHUWEfV.js} +34 -65
  16. package/dist/_chunks/Field-DDHUWEfV.js.map +1 -0
  17. package/dist/_chunks/{Form-C_0KTVvV.js → Form-DYETaKUX.js} +15 -7
  18. package/dist/_chunks/Form-DYETaKUX.js.map +1 -0
  19. package/dist/_chunks/{Form-BJxdTv3Q.mjs → Form-IvVVwqRL.mjs} +15 -7
  20. package/dist/_chunks/Form-IvVVwqRL.mjs.map +1 -0
  21. package/dist/_chunks/{History-DR2txJLE.mjs → History-BMunT-do.mjs} +4 -4
  22. package/dist/_chunks/{History-DR2txJLE.mjs.map → History-BMunT-do.mjs.map} +1 -1
  23. package/dist/_chunks/{History-nuEzM5qm.js → History-CnZDctSO.js} +4 -4
  24. package/dist/_chunks/{History-nuEzM5qm.js.map → History-CnZDctSO.js.map} +1 -1
  25. package/dist/_chunks/{ListConfigurationPage-CnB86Psm.js → ListConfigurationPage-BynalOp8.js} +2 -2
  26. package/dist/_chunks/{ListConfigurationPage-CnB86Psm.js.map → ListConfigurationPage-BynalOp8.js.map} +1 -1
  27. package/dist/_chunks/{ListConfigurationPage-voFVtXu6.mjs → ListConfigurationPage-CDqkCxgV.mjs} +2 -2
  28. package/dist/_chunks/{ListConfigurationPage-voFVtXu6.mjs.map → ListConfigurationPage-CDqkCxgV.mjs.map} +1 -1
  29. package/dist/_chunks/{ListViewPage-SXIXm-RM.js → ListViewPage-I88Ouzoq.js} +38 -38
  30. package/dist/_chunks/ListViewPage-I88Ouzoq.js.map +1 -0
  31. package/dist/_chunks/{ListViewPage-B_GaWgRH.mjs → ListViewPage-_5gS-DOF.mjs} +35 -35
  32. package/dist/_chunks/ListViewPage-_5gS-DOF.mjs.map +1 -0
  33. package/dist/_chunks/{NoContentTypePage-BzsQ3hLZ.js → NoContentTypePage-BaWQ7HsA.js} +2 -2
  34. package/dist/_chunks/{NoContentTypePage-BzsQ3hLZ.js.map → NoContentTypePage-BaWQ7HsA.js.map} +1 -1
  35. package/dist/_chunks/{NoContentTypePage-CYiGpsbj.mjs → NoContentTypePage-Dht-55hr.mjs} +2 -2
  36. package/dist/_chunks/{NoContentTypePage-CYiGpsbj.mjs.map → NoContentTypePage-Dht-55hr.mjs.map} +1 -1
  37. package/dist/_chunks/{NoPermissionsPage-B5baIHal.mjs → NoPermissionsPage-Bs8D5W_v.mjs} +2 -2
  38. package/dist/_chunks/{NoPermissionsPage-B5baIHal.mjs.map → NoPermissionsPage-Bs8D5W_v.mjs.map} +1 -1
  39. package/dist/_chunks/{NoPermissionsPage-IGkId4C5.js → NoPermissionsPage-DCVUh5at.js} +2 -2
  40. package/dist/_chunks/{NoPermissionsPage-IGkId4C5.js.map → NoPermissionsPage-DCVUh5at.js.map} +1 -1
  41. package/dist/_chunks/{Relations-Dhuurpx2.js → Relations-BPgFQeGj.js} +3 -3
  42. package/dist/_chunks/{Relations-Dhuurpx2.js.map → Relations-BPgFQeGj.js.map} +1 -1
  43. package/dist/_chunks/{Relations-CIYDdKU-.mjs → Relations-Chdt5qWc.mjs} +3 -3
  44. package/dist/_chunks/{Relations-CIYDdKU-.mjs.map → Relations-Chdt5qWc.mjs.map} +1 -1
  45. package/dist/_chunks/{en-uOUIxfcQ.js → en-BVzUkPxZ.js} +6 -5
  46. package/dist/_chunks/{en-uOUIxfcQ.js.map → en-BVzUkPxZ.js.map} +1 -1
  47. package/dist/_chunks/{en-BrCTWlZv.mjs → en-CPTj6CjC.mjs} +6 -5
  48. package/dist/_chunks/{en-BrCTWlZv.mjs.map → en-CPTj6CjC.mjs.map} +1 -1
  49. package/dist/_chunks/{index-CdT0kHZ8.js → index-BhbLFX4l.js} +164 -98
  50. package/dist/_chunks/index-BhbLFX4l.js.map +1 -0
  51. package/dist/_chunks/{index-C9TJPyni.mjs → index-D4UGPFZC.mjs} +183 -117
  52. package/dist/_chunks/index-D4UGPFZC.mjs.map +1 -0
  53. package/dist/_chunks/{layout-C6dxWYT7.js → layout-CYA7s0qO.js} +5 -4
  54. package/dist/_chunks/{layout-C6dxWYT7.js.map → layout-CYA7s0qO.js.map} +1 -1
  55. package/dist/_chunks/{layout-BNqvLR_b.mjs → layout-D4HI4_PS.mjs} +5 -4
  56. package/dist/_chunks/{layout-BNqvLR_b.mjs.map → layout-D4HI4_PS.mjs.map} +1 -1
  57. package/dist/_chunks/{relations-CkKqKw65.mjs → relations-1pXaYpBK.mjs} +2 -2
  58. package/dist/_chunks/{relations-CkKqKw65.mjs.map → relations-1pXaYpBK.mjs.map} +1 -1
  59. package/dist/_chunks/{relations-DtFaDnP1.js → relations-DDZ9OxNo.js} +2 -2
  60. package/dist/_chunks/{relations-DtFaDnP1.js.map → relations-DDZ9OxNo.js.map} +1 -1
  61. package/dist/_chunks/{usePrev-B9w_-eYc.js → useDebounce-CtcjDB3L.js} +14 -1
  62. package/dist/_chunks/useDebounce-CtcjDB3L.js.map +1 -0
  63. package/dist/_chunks/useDebounce-DmuSJIF3.mjs +29 -0
  64. package/dist/_chunks/useDebounce-DmuSJIF3.mjs.map +1 -0
  65. package/dist/admin/index.js +1 -1
  66. package/dist/admin/index.mjs +4 -4
  67. package/dist/admin/src/history/services/historyVersion.d.ts +1 -1
  68. package/dist/admin/src/pages/EditView/components/FormInputs/Wysiwyg/WysiwygStyles.d.ts +0 -32
  69. package/dist/admin/src/pages/EditView/components/Header.d.ts +10 -11
  70. package/dist/admin/src/services/api.d.ts +1 -1
  71. package/dist/admin/src/services/components.d.ts +2 -2
  72. package/dist/admin/src/services/contentTypes.d.ts +3 -3
  73. package/dist/admin/src/services/documents.d.ts +19 -17
  74. package/dist/admin/src/services/init.d.ts +1 -1
  75. package/dist/admin/src/services/relations.d.ts +2 -2
  76. package/dist/admin/src/services/uid.d.ts +3 -3
  77. package/dist/admin/src/utils/validation.d.ts +4 -1
  78. package/dist/server/index.js +47 -23
  79. package/dist/server/index.js.map +1 -1
  80. package/dist/server/index.mjs +47 -23
  81. package/dist/server/index.mjs.map +1 -1
  82. package/dist/server/src/controllers/collection-types.d.ts.map +1 -1
  83. package/dist/server/src/controllers/relations.d.ts.map +1 -1
  84. package/dist/server/src/history/services/history.d.ts.map +1 -1
  85. package/dist/server/src/history/services/lifecycles.d.ts.map +1 -1
  86. package/dist/server/src/history/services/utils.d.ts +1 -0
  87. package/dist/server/src/history/services/utils.d.ts.map +1 -1
  88. package/dist/server/src/policies/hasPermissions.d.ts.map +1 -1
  89. package/dist/server/src/services/permission-checker.d.ts.map +1 -1
  90. package/dist/shared/contracts/collection-types.d.ts +3 -1
  91. package/dist/shared/contracts/collection-types.d.ts.map +1 -1
  92. package/package.json +9 -9
  93. package/dist/_chunks/EditViewPage-B7VgwJaG.mjs.map +0 -1
  94. package/dist/_chunks/EditViewPage-BgjdnGz2.js.map +0 -1
  95. package/dist/_chunks/Field-CdK7ZLmv.js.map +0 -1
  96. package/dist/_chunks/Field-tHCw4lGA.mjs.map +0 -1
  97. package/dist/_chunks/Form-BJxdTv3Q.mjs.map +0 -1
  98. package/dist/_chunks/Form-C_0KTVvV.js.map +0 -1
  99. package/dist/_chunks/ListViewPage-B_GaWgRH.mjs.map +0 -1
  100. package/dist/_chunks/ListViewPage-SXIXm-RM.js.map +0 -1
  101. package/dist/_chunks/index-C9TJPyni.mjs.map +0 -1
  102. package/dist/_chunks/index-CdT0kHZ8.js.map +0 -1
  103. package/dist/_chunks/usePrev-B9w_-eYc.js.map +0 -1
  104. package/dist/_chunks/usePrev-DH6iah0A.mjs +0 -16
  105. package/dist/_chunks/usePrev-DH6iah0A.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, d as buildValidParams, f as useDocumentRBAC, n as useDocLayout } from "./index-C9TJPyni.mjs";
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-D4UGPFZC.mjs";
9
9
  import { generateNKeysBetween } from "fractional-indexing";
10
- import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-CIYDdKU-.mjs";
10
+ import { u as useComponent, C as ComponentProvider, M as MemoizedRelationsField } from "./Relations-Chdt5qWc.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";
@@ -17,9 +17,9 @@ import { g as getIn } from "./objects-mKMAmfec.mjs";
17
17
  import { Editor as Editor$1, Transforms, Node, Element, Range, Path, Point, createEditor } from "slate";
18
18
  import { withHistory } from "slate-history";
19
19
  import { useFocused, useSelected, ReactEditor, Editable, useSlate, Slate, withReact } from "slate-react";
20
- import { p as prefixFileUrlWithBackendUrl, u as usePrev } from "./usePrev-DH6iah0A.mjs";
20
+ import { p as prefixFileUrlWithBackendUrl, u as usePrev, a as useDebounce } from "./useDebounce-DmuSJIF3.mjs";
21
21
  import * as Toolbar from "@radix-ui/react-toolbar";
22
- import { useLocation } from "react-router-dom";
22
+ import { useLocation, useMatch } from "react-router-dom";
23
23
  import CodeMirror from "codemirror5";
24
24
  import sanitizeHtml from "sanitize-html";
25
25
  import { getLanguage, highlight, highlightAuto } from "highlight.js";
@@ -1407,7 +1407,7 @@ const ToolbarButton = ({
1407
1407
  width: 7,
1408
1408
  height: 7,
1409
1409
  hasRadius: true,
1410
- children: /* @__PURE__ */ jsx(Icon, { width: "1.2rem", height: "1.2rem", fill: disabled ? "neutral300" : enabledColor })
1410
+ children: /* @__PURE__ */ jsx(Icon, { fill: disabled ? "neutral300" : enabledColor })
1411
1411
  }
1412
1412
  )
1413
1413
  }
@@ -1749,6 +1749,7 @@ const DragItem = styled(Flex)`
1749
1749
  }
1750
1750
  `;
1751
1751
  const DragIconButton = styled(IconButton)`
1752
+ user-select: none;
1752
1753
  display: flex;
1753
1754
  align-items: center;
1754
1755
  justify-content: center;
@@ -1877,6 +1878,7 @@ const DragAndDropElement = ({
1877
1878
  DragIconButton,
1878
1879
  {
1879
1880
  tag: "div",
1881
+ contentEditable: false,
1880
1882
  role: "button",
1881
1883
  tabIndex: 0,
1882
1884
  withTooltip: false,
@@ -3256,18 +3258,6 @@ const NotAllowedInput = ({ hint, label, required, name: name2 }) => {
3256
3258
  /* @__PURE__ */ jsx(Field.Hint, {})
3257
3259
  ] });
3258
3260
  };
3259
- function useDebounce(value, delay) {
3260
- const [debouncedValue, setDebouncedValue] = useState(value);
3261
- useEffect(() => {
3262
- const handler = setTimeout(() => {
3263
- setDebouncedValue(value);
3264
- }, delay);
3265
- return () => {
3266
- clearTimeout(handler);
3267
- };
3268
- }, [value, delay]);
3269
- return debouncedValue;
3270
- }
3271
3261
  const uidApi = contentManagerApi.injectEndpoints({
3272
3262
  endpoints: (builder) => ({
3273
3263
  getDefaultUID: builder.query({
@@ -3302,7 +3292,10 @@ const uidApi = contentManagerApi.injectEndpoints({
3302
3292
  config: {
3303
3293
  params
3304
3294
  }
3305
- })
3295
+ }),
3296
+ providesTags: (_res, _error, params) => [
3297
+ { type: "UidAvailability", id: params.contentTypeUID }
3298
+ ]
3306
3299
  })
3307
3300
  })
3308
3301
  });
@@ -3314,8 +3307,10 @@ const UIDInput = React.forwardRef(
3314
3307
  const allFormValues = useForm("InputUID", (form) => form.values);
3315
3308
  const [availability, setAvailability] = React.useState();
3316
3309
  const [showRegenerate, setShowRegenerate] = React.useState(false);
3310
+ const isCloning = useMatch(CLONE_PATH) !== null;
3317
3311
  const field = useField(name2);
3318
3312
  const debouncedValue = useDebounce(field.value, 300);
3313
+ const hasChanged = debouncedValue !== field.initialValue;
3319
3314
  const { toggleNotification } = useNotification();
3320
3315
  const { _unstableFormatAPIError: formatAPIError } = useAPIErrorHandler();
3321
3316
  const { formatMessage } = useIntl();
@@ -3391,8 +3386,9 @@ const UIDInput = React.forwardRef(
3391
3386
  params
3392
3387
  },
3393
3388
  {
3389
+ // Don't check availability if the value is empty or wasn't changed
3394
3390
  skip: !Boolean(
3395
- debouncedValue !== field.initialValue && debouncedValue && UID_REGEX.test(debouncedValue.trim())
3391
+ (hasChanged || isCloning) && debouncedValue && UID_REGEX.test(debouncedValue.trim())
3396
3392
  )
3397
3393
  }
3398
3394
  );
@@ -3421,6 +3417,7 @@ const UIDInput = React.forwardRef(
3421
3417
  const isLoading = isGeneratingDefaultUID || isGeneratingUID || isCheckingAvailability;
3422
3418
  const fieldRef = useFocusInputField(name2);
3423
3419
  const composedRefs = useComposedRefs(ref, fieldRef);
3420
+ const shouldShowAvailability = (hasChanged || isCloning) && debouncedValue != null && availability && !showRegenerate;
3424
3421
  return /* @__PURE__ */ jsxs(Field.Root, { hint, name: name2, error: field.error, required, children: [
3425
3422
  /* @__PURE__ */ jsx(Field.Label, { action: labelAction, children: label }),
3426
3423
  /* @__PURE__ */ jsx(
@@ -3429,7 +3426,7 @@ const UIDInput = React.forwardRef(
3429
3426
  ref: composedRefs,
3430
3427
  disabled: props.disabled,
3431
3428
  endAction: /* @__PURE__ */ jsxs(Flex, { position: "relative", gap: 1, children: [
3432
- availability && !showRegenerate && /* @__PURE__ */ jsxs(
3429
+ shouldShowAvailability && /* @__PURE__ */ jsxs(
3433
3430
  TextValidation,
3434
3431
  {
3435
3432
  alignItems: "center",
@@ -4578,31 +4575,11 @@ const quoteAndCodeHandler = (editor, markdownType) => {
4578
4575
  insertWithoutTextToEdit(editor, markdownType, line, contentLength);
4579
4576
  }
4580
4577
  };
4581
- const CustomIconButton = styled(IconButton)`
4582
- padding: ${({ theme }) => theme.spaces[2]};
4583
-
4584
- svg {
4585
- width: 1.8rem;
4586
- height: 1.8rem;
4587
- }
4588
- `;
4589
- const CustomLinkIconButton = styled(CustomIconButton)`
4590
- svg {
4591
- width: 0.8rem;
4592
- height: 0.8rem;
4593
- }
4594
- `;
4595
4578
  const MainButtons = styled(IconButtonGroup)`
4596
4579
  margin-left: ${({ theme }) => theme.spaces[4]};
4597
4580
  `;
4598
4581
  const MoreButton = styled(IconButton)`
4599
4582
  margin: ${({ theme }) => `0 ${theme.spaces[2]}`};
4600
- padding: ${({ theme }) => theme.spaces[2]};
4601
-
4602
- svg {
4603
- width: 1.8rem;
4604
- height: 1.8rem;
4605
- }
4606
4583
  `;
4607
4584
  const IconButtonGroupMargin = styled(IconButtonGroup)`
4608
4585
  margin-right: ${({ theme }) => `${theme.spaces[2]}`};
@@ -4686,9 +4663,9 @@ const WysiwygNav = ({
4686
4663
  }
4687
4664
  ) }),
4688
4665
  /* @__PURE__ */ jsxs(MainButtons, { children: [
4689
- /* @__PURE__ */ jsx(CustomIconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
4690
- /* @__PURE__ */ jsx(CustomIconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsx(Italic, {}) }),
4691
- /* @__PURE__ */ jsx(CustomIconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsx(Underline, {}) })
4666
+ /* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
4667
+ /* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Italic", name: "Italic", children: /* @__PURE__ */ jsx(Italic, {}) }),
4668
+ /* @__PURE__ */ jsx(IconButton, { disabled: true, label: "Underline", name: "Underline", children: /* @__PURE__ */ jsx(Underline, {}) })
4692
4669
  ] }),
4693
4670
  /* @__PURE__ */ jsx(MoreButton, { disabled: true, label: "More", children: /* @__PURE__ */ jsx(More, {}) })
4694
4671
  ] }),
@@ -4727,17 +4704,9 @@ const WysiwygNav = ({
4727
4704
  }
4728
4705
  ) }),
4729
4706
  /* @__PURE__ */ jsxs(MainButtons, { children: [
4707
+ /* @__PURE__ */ jsx(IconButton, { onClick: () => onActionClick("Bold", editorRef), label: "Bold", name: "Bold", children: /* @__PURE__ */ jsx(Bold, {}) }),
4730
4708
  /* @__PURE__ */ jsx(
4731
- CustomIconButton,
4732
- {
4733
- onClick: () => onActionClick("Bold", editorRef),
4734
- label: "Bold",
4735
- name: "Bold",
4736
- children: /* @__PURE__ */ jsx(Bold, {})
4737
- }
4738
- ),
4739
- /* @__PURE__ */ jsx(
4740
- CustomIconButton,
4709
+ IconButton,
4741
4710
  {
4742
4711
  onClick: () => onActionClick("Italic", editorRef),
4743
4712
  label: "Italic",
@@ -4746,7 +4715,7 @@ const WysiwygNav = ({
4746
4715
  }
4747
4716
  ),
4748
4717
  /* @__PURE__ */ jsx(
4749
- CustomIconButton,
4718
+ IconButton,
4750
4719
  {
4751
4720
  onClick: () => onActionClick("Underline", editorRef),
4752
4721
  label: "Underline",
@@ -4760,7 +4729,7 @@ const WysiwygNav = ({
4760
4729
  /* @__PURE__ */ jsx(Popover.Content, { sideOffset: 12, children: /* @__PURE__ */ jsxs(Flex, { padding: 2, children: [
4761
4730
  /* @__PURE__ */ jsxs(IconButtonGroupMargin, { children: [
4762
4731
  /* @__PURE__ */ jsx(
4763
- CustomIconButton,
4732
+ IconButton,
4764
4733
  {
4765
4734
  onClick: () => onActionClick("Strikethrough", editorRef, handleTogglePopover),
4766
4735
  label: "Strikethrough",
@@ -4769,7 +4738,7 @@ const WysiwygNav = ({
4769
4738
  }
4770
4739
  ),
4771
4740
  /* @__PURE__ */ jsx(
4772
- CustomIconButton,
4741
+ IconButton,
4773
4742
  {
4774
4743
  onClick: () => onActionClick("BulletList", editorRef, handleTogglePopover),
4775
4744
  label: "BulletList",
@@ -4778,7 +4747,7 @@ const WysiwygNav = ({
4778
4747
  }
4779
4748
  ),
4780
4749
  /* @__PURE__ */ jsx(
4781
- CustomIconButton,
4750
+ IconButton,
4782
4751
  {
4783
4752
  onClick: () => onActionClick("NumberList", editorRef, handleTogglePopover),
4784
4753
  label: "NumberList",
@@ -4789,7 +4758,7 @@ const WysiwygNav = ({
4789
4758
  ] }),
4790
4759
  /* @__PURE__ */ jsxs(IconButtonGroup, { children: [
4791
4760
  /* @__PURE__ */ jsx(
4792
- CustomIconButton,
4761
+ IconButton,
4793
4762
  {
4794
4763
  onClick: () => onActionClick("Code", editorRef, handleTogglePopover),
4795
4764
  label: "Code",
@@ -4798,7 +4767,7 @@ const WysiwygNav = ({
4798
4767
  }
4799
4768
  ),
4800
4769
  /* @__PURE__ */ jsx(
4801
- CustomIconButton,
4770
+ IconButton,
4802
4771
  {
4803
4772
  onClick: () => {
4804
4773
  handleTogglePopover();
@@ -4810,7 +4779,7 @@ const WysiwygNav = ({
4810
4779
  }
4811
4780
  ),
4812
4781
  /* @__PURE__ */ jsx(
4813
- CustomLinkIconButton,
4782
+ IconButton,
4814
4783
  {
4815
4784
  onClick: () => onActionClick("Link", editorRef, handleTogglePopover),
4816
4785
  label: "Link",
@@ -4819,7 +4788,7 @@ const WysiwygNav = ({
4819
4788
  }
4820
4789
  ),
4821
4790
  /* @__PURE__ */ jsx(
4822
- CustomIconButton,
4791
+ IconButton,
4823
4792
  {
4824
4793
  onClick: () => onActionClick("Quote", editorRef, handleTogglePopover),
4825
4794
  label: "Quote",
@@ -5547,4 +5516,4 @@ export {
5547
5516
  transformDocument as t,
5548
5517
  useLazyComponents as u
5549
5518
  };
5550
- //# sourceMappingURL=Field-tHCw4lGA.mjs.map
5519
+ //# sourceMappingURL=Field-CnCKhI1R.mjs.map