@crediblemark/build 0.25.19 → 0.25.21

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 (40) hide show
  1. package/dist/ArrayField-5NGEZXWU.mjs +18 -0
  2. package/dist/{ObjectField-VE3JKAWT.css → ArrayField-ELOHWNCP.css} +291 -291
  3. package/dist/{Editor-7JTCMSHZ.mjs → Editor-I3NGZND5.mjs} +8 -8
  4. package/dist/{Editor-6U6G5YLU.css → Editor-YW4RWTY3.css} +7 -7
  5. package/dist/{ArrayField-QVQ36K6O.css → ObjectField-AN37XVFT.css} +283 -283
  6. package/dist/ObjectField-TK4CLEHL.mjs +18 -0
  7. package/dist/{Render-HVM2KISU.css → Render-G6FCHISC.css} +1 -1
  8. package/dist/{Render-5WYR4VZX.mjs → Render-YPURU4ZF.mjs} +5 -3
  9. package/dist/{chunk-U7AIA2UJ.mjs → chunk-3UVVSIWJ.mjs} +2 -2
  10. package/dist/{chunk-LBXFITWQ.mjs → chunk-5A7FLZ3B.mjs} +2 -2
  11. package/dist/{chunk-5GWBGJC4.mjs → chunk-5ASR74IZ.mjs} +216 -102
  12. package/dist/{chunk-H6RPI3T6.mjs → chunk-HH537E6Q.mjs} +1 -1
  13. package/dist/{chunk-TOU7Y6T4.mjs → chunk-J3I5GT3E.mjs} +1 -1
  14. package/dist/{chunk-J4ZMH6JZ.mjs → chunk-KAL2OHVB.mjs} +1 -1
  15. package/dist/{chunk-D7HE7E2A.mjs → chunk-LGPNWN5U.mjs} +32 -16
  16. package/dist/{chunk-GEYNLWCZ.mjs → chunk-MQINT3WW.mjs} +1 -1
  17. package/dist/{chunk-ARM3KXOM.mjs → chunk-N4PD57DO.mjs} +19 -15
  18. package/dist/{chunk-D4WFZ3K2.mjs → chunk-NFUQAIKA.mjs} +31 -10
  19. package/dist/{chunk-U4NHUPA4.mjs → chunk-QJ3POSBT.mjs} +5 -5
  20. package/dist/{chunk-SOAJKHLV.mjs → chunk-S65FGP6E.mjs} +3 -3
  21. package/dist/chunk-TFAYWP2C.mjs +16 -0
  22. package/dist/{chunk-VEQIM5ZE.mjs → chunk-WADDTBOG.mjs} +20 -17
  23. package/dist/{full-2LSQUWEM.css → full-PJWYWS5O.css} +6 -6
  24. package/dist/{full-B3RS4LV3.mjs → full-YJS7XBEW.mjs} +5 -5
  25. package/dist/index.css +38 -38
  26. package/dist/index.js +297 -116
  27. package/dist/index.mjs +14 -13
  28. package/dist/{loaded-FY2TCG5Y.css → loaded-GB62SDMW.css} +1 -1
  29. package/dist/{loaded-JIR6E6RO.mjs → loaded-ICFOKFPH.mjs} +4 -3
  30. package/dist/{loaded-XEI7CJSF.mjs → loaded-LU4R6WMV.mjs} +4 -3
  31. package/dist/{loaded-VCMCWG55.mjs → loaded-VDUTUHUM.mjs} +4 -3
  32. package/dist/no-external.css +38 -38
  33. package/dist/no-external.js +297 -116
  34. package/dist/no-external.mjs +14 -13
  35. package/dist/rsc.css +19 -19
  36. package/dist/rsc.js +161 -91
  37. package/dist/rsc.mjs +13 -12
  38. package/package.json +1 -1
  39. package/dist/ArrayField-LRIG75HP.mjs +0 -17
  40. package/dist/ObjectField-M2VTKEXM.mjs +0 -17
@@ -1,9 +1,12 @@
1
1
  import {
2
2
  CredBuildRichText
3
3
  } from "./chunk-DEUK76GN.mjs";
4
+ import {
5
+ dompurify_default
6
+ } from "./chunk-TFAYWP2C.mjs";
4
7
  import {
5
8
  styles_module_default
6
- } from "./chunk-H6RPI3T6.mjs";
9
+ } from "./chunk-HH537E6Q.mjs";
7
10
  import {
8
11
  get_class_name_factory_default
9
12
  } from "./chunk-BFHV72KK.mjs";
@@ -12,7 +15,6 @@ import "./chunk-AFVEAZTD.mjs";
12
15
  // components/RichTextEditor/components/Render.tsx
13
16
  import { generateHTML, generateJSON } from "@tiptap/html";
14
17
  import { useMemo } from "react";
15
- import DOMPurify from "isomorphic-dompurify";
16
18
  import { jsx } from "react/jsx-runtime";
17
19
  var getClassName = get_class_name_factory_default("RichTextEditor", styles_module_default);
18
20
  function RichTextRender({
@@ -46,7 +48,7 @@ function RichTextRender({
46
48
  const html = useMemo(() => {
47
49
  return generateHTML(normalized, loadedExtensions);
48
50
  }, [normalized, loadedExtensions]);
49
- const sanitizedHtml = useMemo(() => DOMPurify.sanitize(html), [html]);
51
+ const sanitizedHtml = useMemo(() => dompurify_default.sanitize(html, { ADD_ATTR: ["target"] }), [html]);
50
52
  return /* @__PURE__ */ jsx("div", { className: getClassName(), children: /* @__PURE__ */ jsx("div", { className: "rich-text", dangerouslySetInnerHTML: { __html: sanitizedHtml } }) });
51
53
  }
52
54
  export {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  LoadedRichTextMenuInner
3
- } from "./chunk-D7HE7E2A.mjs";
3
+ } from "./chunk-LGPNWN5U.mjs";
4
4
 
5
5
  // components/RichTextMenu/index.tsx
6
6
  import { lazy, Suspense } from "react";
7
7
  import { jsx } from "react/jsx-runtime";
8
8
  var LoadedRichTextMenuFull = lazy(
9
- () => import("./full-B3RS4LV3.mjs").then((m) => ({
9
+ () => import("./full-YJS7XBEW.mjs").then((m) => ({
10
10
  default: m.LoadedRichTextMenuFull
11
11
  }))
12
12
  );
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  styles_module_default
3
- } from "./chunk-H6RPI3T6.mjs";
3
+ } from "./chunk-HH537E6Q.mjs";
4
4
  import {
5
5
  useAppStore,
6
6
  useAppStoreApi
7
- } from "./chunk-D4WFZ3K2.mjs";
7
+ } from "./chunk-NFUQAIKA.mjs";
8
8
  import {
9
9
  get_class_name_factory_default
10
10
  } from "./chunk-BFHV72KK.mjs";