@wrdagency/blockout 0.0.19 → 0.1.1

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 (166) hide show
  1. package/dist/2NBKRL7C-BAzCMGOw.js +85 -0
  2. package/dist/2RSXSRCN-qt84MtKs.js +61 -0
  3. package/dist/4CMBR7SL-BAGv8IL2.js +308 -0
  4. package/dist/5JTVDSTH-CG1NL6Fw.js +174 -0
  5. package/dist/5VQZOHHZ-CscZGerP.js +59 -0
  6. package/dist/6VRAQV3D-2rb_aClP.js +201 -0
  7. package/dist/7PRQYBBV-91wrWGjk.js +17 -0
  8. package/dist/ArrowRight.es-xyNbtVOa.js +60 -0
  9. package/dist/DG5U6ZEL-CVj-Czp2.js +17 -0
  10. package/dist/F5MUBM3I-87B2_4WK.js +54 -0
  11. package/dist/LMDWO4NN--KEvZePp.js +610 -0
  12. package/dist/MTZPJQMC-DyCWBG18.js +14 -0
  13. package/dist/P7GR5CS5-BoOYUfSQ.js +19 -0
  14. package/dist/PFRGBC2K-BEg8ahbY.js +303 -0
  15. package/dist/RS7LB2H4-D0fWv5qu.js +15 -0
  16. package/dist/RZ4GPYOB-13-5LlEb.js +37 -0
  17. package/dist/S43UC3DV-Dn8EFLaT.js +22 -0
  18. package/dist/Square.es-KJLdY11q.js +72 -0
  19. package/dist/T7VMP3TM-DeRMoW8g.js +77 -0
  20. package/dist/TP7N7UIH-BHb1rEeb.js +34 -0
  21. package/dist/UQQRIHDV-Bu8e1bYU.js +69 -0
  22. package/dist/UYGDZTLQ-DcCmv5SE.js +12 -0
  23. package/dist/VIIRIBF3-D5DmZNtI.js +26 -0
  24. package/dist/WMYDSCNQ-Dy1O-Kdl.js +2405 -0
  25. package/dist/WYCIER3C-DRn904Gy.js +175 -0
  26. package/dist/YV4JVR4I-kvospPUa.js +351 -0
  27. package/dist/_commonjsHelpers-C6fGbg64.js +6 -0
  28. package/dist/assets/button.css +1 -1
  29. package/dist/assets/index.css +1 -1
  30. package/dist/assets/index10.css +1 -1
  31. package/dist/assets/index11.css +1 -1
  32. package/dist/assets/index12.css +1 -1
  33. package/dist/assets/index13.css +1 -1
  34. package/dist/assets/index14.css +1 -0
  35. package/dist/assets/index15.css +1 -0
  36. package/dist/assets/index16.css +1 -0
  37. package/dist/assets/index17.css +1 -0
  38. package/dist/assets/index18.css +1 -0
  39. package/dist/assets/index2.css +1 -1
  40. package/dist/assets/index3.css +1 -1
  41. package/dist/assets/index4.css +1 -1
  42. package/dist/assets/index5.css +1 -1
  43. package/dist/assets/index6.css +1 -1
  44. package/dist/assets/index7.css +1 -1
  45. package/dist/assets/index8.css +1 -1
  46. package/dist/assets/index9.css +1 -1
  47. package/dist/assets/style.css +1 -1
  48. package/dist/assets/style2.css +1 -0
  49. package/dist/assets/style3.css +1 -0
  50. package/dist/assets/style4.css +1 -0
  51. package/dist/assets/styles.css +1 -1
  52. package/dist/components/block-editor/editor.d.ts +5 -0
  53. package/dist/components/block-editor/editor.js +6 -0
  54. package/dist/components/block-editor/index.d.ts +1 -0
  55. package/dist/components/block-editor/index.js +4 -0
  56. package/dist/components/breadcrumbs/index.js +87 -31
  57. package/dist/components/button/button.d.ts +1 -1
  58. package/dist/components/button/button.js +5 -5
  59. package/dist/components/button/icon.d.ts +1 -2
  60. package/dist/components/button/icon.js +10 -3
  61. package/dist/components/button/index.d.ts +4 -0
  62. package/dist/components/controls/base-control/affix.js +7 -7
  63. package/dist/components/controls/base-control/index.js +11 -11
  64. package/dist/components/controls/base-popover-control/index.d.ts +9 -0
  65. package/dist/components/controls/base-popover-control/index.js +47 -0
  66. package/dist/components/controls/checkbox-control/index.d.ts +8 -0
  67. package/dist/components/controls/checkbox-control/index.js +57 -0
  68. package/dist/components/controls/choice-control/choice.js +13 -11
  69. package/dist/components/controls/choice-control/index.js +1 -1
  70. package/dist/components/controls/index.d.ts +4 -1
  71. package/dist/components/controls/index.js +25 -16
  72. package/dist/components/controls/number-control/index.js +29 -27
  73. package/dist/components/controls/password-control/index.js +1 -1
  74. package/dist/components/controls/recurrence-control/index.d.ts +8 -0
  75. package/dist/components/controls/recurrence-control/index.js +208 -0
  76. package/dist/components/controls/select-control/component.d.ts +12 -0
  77. package/dist/components/controls/select-control/component.js +1879 -0
  78. package/dist/components/controls/select-control/index.d.ts +2 -12
  79. package/dist/components/controls/select-control/index.js +5 -1860
  80. package/dist/components/controls/select-control/options.d.ts +7 -0
  81. package/dist/components/controls/select-control/options.js +9 -0
  82. package/dist/components/controls/textarea-control/index.js +1 -1
  83. package/dist/components/controls/toggle-control/index.js +11 -9
  84. package/dist/components/controls/toggle-group-control/index.d.ts +19 -0
  85. package/dist/components/controls/toggle-group-control/index.js +50 -0
  86. package/dist/components/data-table/column.js +1 -1
  87. package/dist/components/data-table/header.js +120 -171
  88. package/dist/components/data-table/index.js +1 -1
  89. package/dist/components/filesystem/file.d.ts +7 -0
  90. package/dist/components/filesystem/file.js +44 -0
  91. package/dist/components/filesystem/folder.d.ts +6 -0
  92. package/dist/components/filesystem/folder.js +160 -0
  93. package/dist/components/filesystem/icon.d.ts +7 -0
  94. package/dist/components/filesystem/icon.js +908 -0
  95. package/dist/components/filesystem/index.js +14 -0
  96. package/dist/components/filesystem/list.d.ts +4 -0
  97. package/dist/components/filesystem/list.js +18 -0
  98. package/dist/components/filesystem/root.d.ts +3 -0
  99. package/dist/components/filesystem/root.js +7 -0
  100. package/dist/components/form/components/index.js +12 -12
  101. package/dist/components/form/components/pagination.js +23 -16
  102. package/dist/components/form/components/progress.d.ts +3 -2
  103. package/dist/components/index.d.ts +4 -0
  104. package/dist/components/index.js +48 -31
  105. package/dist/components/menu/index.js +24 -23
  106. package/dist/components/menu/item.js +1 -1
  107. package/dist/components/menu/items/action.js +1 -1
  108. package/dist/components/menu/items/spacer.js +14 -42
  109. package/dist/components/menu/items/submenu.js +2 -2
  110. package/dist/components/menu/items/toggle.js +25 -91
  111. package/dist/components/progress/index.d.ts +5 -3
  112. package/dist/components/progress/index.js +44 -27
  113. package/dist/components/tabs/index.js +12 -0
  114. package/dist/components/tabs/list.d.ts +7 -0
  115. package/dist/components/tabs/list.js +42 -0
  116. package/dist/components/tabs/panel.d.ts +8 -0
  117. package/dist/components/tabs/panel.js +132 -0
  118. package/dist/components/tabs/root.d.ts +9 -0
  119. package/dist/components/tabs/root.js +173 -0
  120. package/dist/components/tabs/tab.d.ts +7 -0
  121. package/dist/components/tabs/tab.js +81 -0
  122. package/dist/components/toolbar/index.js +27 -0
  123. package/dist/components/toolbar/root.d.ts +6 -0
  124. package/dist/components/toolbar/root.js +6 -0
  125. package/dist/composite-provider-DNftbE5U.js +10 -0
  126. package/dist/hooks/state.d.ts +4 -0
  127. package/dist/hooks/state.js +7 -0
  128. package/dist/hooks/theme.js +7 -38
  129. package/dist/index-1AjPIqTN.js +73 -0
  130. package/dist/index-Cgx3BqdJ.js +388 -0
  131. package/dist/index.js +61 -40
  132. package/dist/{item-D9r2-3fk.js → item-B1ugJ7YQ.js} +240 -234
  133. package/dist/options-Cfoqhxw2.js +96 -0
  134. package/dist/primitives/index.d.ts +2 -0
  135. package/dist/primitives/index.js +4 -0
  136. package/dist/primitives/resizable/index.js +1 -1
  137. package/dist/primitives/scroll-area/index.d.ts +7 -0
  138. package/dist/primitives/scroll-area/index.js +777 -0
  139. package/dist/primitives/truncate/index.d.ts +7 -0
  140. package/dist/primitives/truncate/index.js +46 -0
  141. package/dist/primitives/visually-hidden/index.d.ts +2 -2
  142. package/dist/primitives/visually-hidden/index.js +13 -3
  143. package/dist/root-CaKPdqzv.js +73 -0
  144. package/dist/types/date.d.ts +39 -0
  145. package/dist/types/date.js +1778 -0
  146. package/dist/types/options.d.ts +8 -6
  147. package/dist/utils/components.d.ts +5 -0
  148. package/dist/utils/components.js +14 -0
  149. package/dist/utils/date.d.ts +1 -0
  150. package/dist/utils/date.js +15 -0
  151. package/dist/utils/string.d.ts +4 -0
  152. package/dist/utils/string.js +18 -0
  153. package/package.json +4 -2
  154. package/dist/2NBKRL7C-D-Q0qGRV.js +0 -81
  155. package/dist/P7GR5CS5-qyeuZVEs.js +0 -640
  156. package/dist/T7VMP3TM-BxgFbvdx.js +0 -2106
  157. package/dist/UQQRIHDV-BGs025hb.js +0 -1046
  158. package/dist/VIIRIBF3-D9clDhln.js +0 -21
  159. package/dist/_commonjsHelpers-DaMA6jEr.js +0 -8
  160. package/dist/components/markdown/formats.d.ts +0 -11
  161. package/dist/components/markdown/formats.js +0 -318
  162. package/dist/components/markdown/index.d.ts +0 -7
  163. package/dist/components/markdown/index.js +0 -25845
  164. package/dist/components/markdown/types/format.d.ts +0 -27
  165. package/dist/components/markdown/types/format.js +0 -4
  166. package/dist/floating-ui.dom-9sqP7IwC.js +0 -1512
@@ -1,21 +0,0 @@
1
- import { c as r, P as t, a as v, C as a, b as d } from "./P7GR5CS5-qyeuZVEs.js";
2
- import { createContext as n } from "react";
3
- var o = r(
4
- [v],
5
- [t]
6
- ), P = o.useProviderContext, C = o.ContextProvider, x = o.ScopedContextProvider, e = r(
7
- [d, C],
8
- [a, x]
9
- ), c = e.useContext, p = e.useScopedContext, u = e.useProviderContext, S = e.ContextProvider, m = e.ScopedContextProvider;
10
- n(
11
- void 0
12
- );
13
- export {
14
- x as H,
15
- m as M,
16
- c as a,
17
- P as b,
18
- u as c,
19
- S as d,
20
- p as u
21
- };
@@ -1,8 +0,0 @@
1
- var o = typeof globalThis < "u" ? globalThis : typeof window < "u" ? window : typeof global < "u" ? global : typeof self < "u" ? self : {};
2
- function l(e) {
3
- return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
4
- }
5
- export {
6
- o as c,
7
- l as g
8
- };
@@ -1,11 +0,0 @@
1
- declare const bold: import('./types/format').Format;
2
- declare const italic: import('./types/format').Format;
3
- declare const strikethrough: import('./types/format').Format;
4
- declare const anchor: import('./types/format').Format;
5
- declare const heading: import('./types/format').Format;
6
- declare const orderedList: import('./types/format').Format;
7
- declare const unorderedList: import('./types/format').Format;
8
- declare const task: import('./types/format').Format;
9
- declare const callout: import('./types/format').Format;
10
- declare const topic: import('./types/format').Format;
11
- export { anchor, bold, callout, heading, italic, orderedList, strikethrough, task, topic, unorderedList, };
@@ -1,318 +0,0 @@
1
- import { jsx as l, jsxs as c } from "react/jsx-runtime";
2
- import * as a from "react";
3
- import '../../assets/style.css';/* empty css */
4
- import { VisuallyHidden as H } from "../../primitives/visually-hidden/index.js";
5
- import { w as r } from "../../SSRBase.es-BUXS72ra.js";
6
- import { createFormat as n } from "./types/format.js";
7
- const M = /* @__PURE__ */ new Map([
8
- [
9
- "bold",
10
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M76,64A12,12,0,0,1,88,52H216a12,12,0,0,1,0,24H88A12,12,0,0,1,76,64Zm140,52H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24Zm0,64H88a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,112a16,16,0,1,0,16,16A16,16,0,0,0,44,112Zm0-64A16,16,0,1,0,60,64,16,16,0,0,0,44,48Zm0,128a16,16,0,1,0,16,16A16,16,0,0,0,44,176Z" }))
11
- ],
12
- [
13
- "duotone",
14
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,64V192H88V64Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,1,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z" }))
15
- ],
16
- [
17
- "fill",
18
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM68,188a12,12,0,1,1,12-12A12,12,0,0,1,68,188Zm0-48a12,12,0,1,1,12-12A12,12,0,0,1,68,140Zm0-48A12,12,0,1,1,80,80,12,12,0,0,1,68,92Zm124,92H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Zm0-48H104a8,8,0,0,1,0-16h88a8,8,0,0,1,0,16Z" }))
19
- ],
20
- [
21
- "light",
22
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M82,64a6,6,0,0,1,6-6H216a6,6,0,0,1,0,12H88A6,6,0,0,1,82,64Zm134,58H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12Zm0,64H88a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM44,54A10,10,0,1,0,54,64,10,10,0,0,0,44,54Zm0,128a10,10,0,1,0,10,10A10,10,0,0,0,44,182Zm0-64a10,10,0,1,0,10,10A10,10,0,0,0,44,118Z" }))
23
- ],
24
- [
25
- "regular",
26
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M80,64a8,8,0,0,1,8-8H216a8,8,0,0,1,0,16H88A8,8,0,0,1,80,64Zm136,56H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16Zm0,64H88a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM44,52A12,12,0,1,0,56,64,12,12,0,0,0,44,52Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,116Zm0,64a12,12,0,1,0,12,12A12,12,0,0,0,44,180Z" }))
27
- ],
28
- [
29
- "thin",
30
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M84,64a4,4,0,0,1,4-4H216a4,4,0,0,1,0,8H88A4,4,0,0,1,84,64Zm132,60H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8Zm0,64H88a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM44,120a8,8,0,1,0,8,8A8,8,0,0,0,44,120Zm0-64a8,8,0,1,0,8,8A8,8,0,0,0,44,56Zm0,128a8,8,0,1,0,8,8A8,8,0,0,0,44,184Z" }))
31
- ]
32
- ]), Z = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: M }));
33
- Z.displayName = "ListBulletsIcon";
34
- const s = /* @__PURE__ */ new Map([
35
- [
36
- "bold",
37
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H116a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM116,76H216a12,12,0,0,0,0-24H116a12,12,0,0,0,0,24ZM216,180H116a12,12,0,0,0,0,24H216a12,12,0,0,0,0-24ZM44,59.31V104a12,12,0,0,0,24,0V40A12,12,0,0,0,50.64,29.27l-16,8a12,12,0,0,0,9.36,22Zm39.73,96.86a27.7,27.7,0,0,0-11.2-18.63A28.89,28.89,0,0,0,32.9,143a27.71,27.71,0,0,0-4.17,7.54,12,12,0,0,0,22.55,8.21,4,4,0,0,1,.58-1,4.78,4.78,0,0,1,6.5-.82,3.82,3.82,0,0,1,1.61,2.6,3.63,3.63,0,0,1-.77,2.77l-.13.17L30.39,200.82A12,12,0,0,0,40,220H72a12,12,0,0,0,0-24H64l14.28-19.11A27.48,27.48,0,0,0,83.73,156.17Z" }))
38
- ],
39
- [
40
- "duotone",
41
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M216,64V192H104V64Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z" }))
42
- ],
43
- [
44
- "fill",
45
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM56.84,75.58a8,8,0,0,1,3.58-10.74l16-8A8,8,0,0,1,88,64v48a8,8,0,0,1-16,0V76.94l-4.42,2.22A8,8,0,0,1,56.84,75.58ZM92,180a8,8,0,0,1,0,16H68a8,8,0,0,1-6.4-12.8l21.67-28.89A3.92,3.92,0,0,0,84,152a4,4,0,0,0-7.77-1.33,8,8,0,0,1-15.09-5.34,20,20,0,1,1,35,18.53L84,180Zm100,4H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Zm0-48H120a8,8,0,0,1,0-16h72a8,8,0,0,1,0,16Z" }))
46
- ],
47
- [
48
- "light",
49
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H104a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM104,70H216a6,6,0,0,0,0-12H104a6,6,0,0,0,0,12ZM216,186H104a6,6,0,0,0,0,12H216a6,6,0,0,0,0-12ZM42.68,53.37,50,49.71V104a6,6,0,0,0,12,0V40a6,6,0,0,0-8.68-5.37l-16,8a6,6,0,0,0,5.36,10.74ZM72,202H52l21.48-28.74A21.5,21.5,0,0,0,77.79,157,21.75,21.75,0,0,0,69,142.38a22.86,22.86,0,0,0-31.35,4.31,22.18,22.18,0,0,0-3.28,5.92,6,6,0,0,0,11.28,4.11,9.87,9.87,0,0,1,1.48-2.67,10.78,10.78,0,0,1,14.78-2,9.89,9.89,0,0,1,4,6.61,9.64,9.64,0,0,1-2,7.28l-.06.09L35.2,204.41A6,6,0,0,0,40,214H72a6,6,0,0,0,0-12Z" }))
50
- ],
51
- [
52
- "regular",
53
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H104a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM104,72H216a8,8,0,0,0,0-16H104a8,8,0,0,0,0,16ZM216,184H104a8,8,0,0,0,0,16H216a8,8,0,0,0,0-16ZM43.58,55.16,48,52.94V104a8,8,0,0,0,16,0V40a8,8,0,0,0-11.58-7.16l-16,8a8,8,0,0,0,7.16,14.32ZM79.77,156.72a23.73,23.73,0,0,0-9.6-15.95,24.86,24.86,0,0,0-34.11,4.7,23.63,23.63,0,0,0-3.57,6.46,8,8,0,1,0,15,5.47,7.84,7.84,0,0,1,1.18-2.13,8.76,8.76,0,0,1,12-1.59A7.91,7.91,0,0,1,63.93,159a7.64,7.64,0,0,1-1.57,5.78,1,1,0,0,0-.08.11L33.59,203.21A8,8,0,0,0,40,216H72a8,8,0,0,0,0-16H56l19.08-25.53A23.47,23.47,0,0,0,79.77,156.72Z" }))
54
- ],
55
- [
56
- "thin",
57
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H104a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM104,68H216a4,4,0,0,0,0-8H104a4,4,0,0,0,0,8ZM216,188H104a4,4,0,0,0,0,8H216a4,4,0,0,0,0-8ZM41.79,51.58,52,46.47V104a4,4,0,0,0,8,0V40a4,4,0,0,0-5.79-3.58l-16,8a4,4,0,1,0,3.58,7.16ZM72,204H48l23.85-31.92a19.54,19.54,0,0,0,4-14.8,19.76,19.76,0,0,0-8-13.28,20.84,20.84,0,0,0-28.59,3.92,19.85,19.85,0,0,0-3,5.38A4,4,0,0,0,43.76,156a12.1,12.1,0,0,1,1.78-3.22,12.78,12.78,0,0,1,17.54-2.37,11.85,11.85,0,0,1,4.81,7.94,11.65,11.65,0,0,1-2.41,8.85L36.8,205.61A4,4,0,0,0,40,212H72a4,4,0,0,0,0-8Z" }))
58
- ]
59
- ]), o = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: s }));
60
- o.displayName = "ListNumbersIcon";
61
- const E = /* @__PURE__ */ new Map([
62
- [
63
- "bold",
64
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M185.08,114.46A48,48,0,0,0,148,36H80A12,12,0,0,0,68,48V200a12,12,0,0,0,12,12h80a52,52,0,0,0,25.08-97.54ZM92,60h56a24,24,0,0,1,0,48H92Zm68,128H92V132h68a28,28,0,0,1,0,56Z" }))
65
- ],
66
- [
67
- "duotone",
68
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
69
- "path",
70
- {
71
- d: "M200,160a40,40,0,0,1-40,40H80V48h68a36,36,0,0,1,0,72h12A40,40,0,0,1,200,160Z",
72
- opacity: "0.2"
73
- }
74
- ), /* @__PURE__ */ a.createElement("path", { d: "M178.48,115.7A44,44,0,0,0,148,40H80a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8h80a48,48,0,0,0,18.48-92.3ZM88,56h60a28,28,0,0,1,0,56H88Zm72,136H88V128h72a32,32,0,0,1,0,64Z" }))
75
- ],
76
- [
77
- "fill",
78
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M168,156a20,20,0,0,1-20,20H96V136h52A20,20,0,0,1,168,156ZM224,48V208a16,16,0,0,1-16,16H48a16,16,0,0,1-16-16V48A16,16,0,0,1,48,32H208A16,16,0,0,1,224,48ZM184,156a36,36,0,0,0-18-31.15A36,36,0,0,0,140,64H88a8,8,0,0,0-8,8V184a8,8,0,0,0,8,8h60A36,36,0,0,0,184,156Zm-24-56a20,20,0,0,0-20-20H96v40h44A20,20,0,0,0,160,100Z" }))
79
- ],
80
- [
81
- "light",
82
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M174.69,116.41A42,42,0,0,0,148,42H80a6,6,0,0,0-6,6V200a6,6,0,0,0,6,6h80a46,46,0,0,0,14.69-89.59ZM86,54h62a30,30,0,0,1,0,60H86Zm74,140H86V126h74a34,34,0,0,1,0,68Z" }))
83
- ],
84
- [
85
- "regular",
86
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M178.48,115.7A44,44,0,0,0,148,40H80a8,8,0,0,0-8,8V200a8,8,0,0,0,8,8h80a48,48,0,0,0,18.48-92.3ZM88,56h60a28,28,0,0,1,0,56H88Zm72,136H88V128h72a32,32,0,0,1,0,64Z" }))
87
- ],
88
- [
89
- "thin",
90
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M170.27,117.21A40,40,0,0,0,148,44H80a4,4,0,0,0-4,4V200a4,4,0,0,0,4,4h80a44,44,0,0,0,10.27-86.79ZM84,52h64a32,32,0,0,1,0,64H84Zm76,144H84V124h76a36,36,0,0,1,0,72Z" }))
91
- ]
92
- ]), d = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: E }));
93
- d.displayName = "TextBIcon";
94
- const u = /* @__PURE__ */ new Map([
95
- [
96
- "bold",
97
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M236,112v96a12,12,0,0,1-24,0V134.42L206.66,138a12,12,0,0,1-13.32-20l24-16A12,12,0,0,1,236,112ZM144,44a12,12,0,0,0-12,12v48H52V56a12,12,0,0,0-24,0V176a12,12,0,0,0,24,0V128h80v48a12,12,0,0,0,24,0V56A12,12,0,0,0,144,44Z" }))
98
- ],
99
- [
100
- "duotone",
101
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
102
- "path",
103
- {
104
- d: "M224,72V208H56a16,16,0,0,1-16-16V56H208A16,16,0,0,1,224,72Z",
105
- opacity: "0.2"
106
- }
107
- ), /* @__PURE__ */ a.createElement("path", { d: "M152,56V176a8,8,0,0,1-16,0V124H48v52a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0v52h88V56a8,8,0,0,1,16,0Zm75.77,49a8,8,0,0,0-8.21.39l-24,16a8,8,0,1,0,8.88,13.32L216,127V208a8,8,0,0,0,16,0V112A8,8,0,0,0,227.77,105Z" }))
108
- ],
109
- [
110
- "fill",
111
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM144,160a8,8,0,0,1-16,0V128H72v32a8,8,0,0,1-16,0V80a8,8,0,0,1,16,0v32h56V80a8,8,0,0,1,16,0Zm56,16a8,8,0,0,1-16,0V111l-11.56,7.71a8,8,0,1,1-8.88-13.32l24-16A8,8,0,0,1,200,96Z" }))
112
- ],
113
- [
114
- "light",
115
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M230,112v96a6,6,0,0,1-12,0V123.21L203.33,133a6,6,0,0,1-6.66-10l24-16a6,6,0,0,1,9.33,5ZM144,50a6,6,0,0,0-6,6v54H46V56a6,6,0,0,0-12,0V176a6,6,0,0,0,12,0V122h92v54a6,6,0,0,0,12,0V56A6,6,0,0,0,144,50Z" }))
116
- ],
117
- [
118
- "regular",
119
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M152,56V176a8,8,0,0,1-16,0V124H48v52a8,8,0,0,1-16,0V56a8,8,0,0,1,16,0v52h88V56a8,8,0,0,1,16,0Zm75.77,49a8,8,0,0,0-8.21.39l-24,16a8,8,0,1,0,8.88,13.32L216,127V208a8,8,0,0,0,16,0V112A8,8,0,0,0,227.77,105Z" }))
120
- ],
121
- [
122
- "thin",
123
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,112v96a4,4,0,0,1-8,0V119.47l-17.78,11.86a4,4,0,1,1-4.44-6.66l24-16A4,4,0,0,1,228,112ZM144,52a4,4,0,0,0-4,4v56H44V56a4,4,0,0,0-8,0V176a4,4,0,0,0,8,0V120h96v56a4,4,0,0,0,8,0V56A4,4,0,0,0,144,52Z" }))
124
- ]
125
- ]), A = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: u }));
126
- A.displayName = "TextHOneIcon";
127
- const g = /* @__PURE__ */ new Map([
128
- [
129
- "bold",
130
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M204,56a12,12,0,0,1-12,12H160.65l-40,120H144a12,12,0,0,1,0,24H64a12,12,0,0,1,0-24H95.35l40-120H112a12,12,0,0,1,0-24h80A12,12,0,0,1,204,56Z" }))
131
- ],
132
- [
133
- "duotone",
134
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M192,56,144,200H64L112,56Z", opacity: "0.2" }), /* @__PURE__ */ a.createElement("path", { d: "M200,56a8,8,0,0,1-8,8H157.77L115.1,192H144a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16H98.23L140.9,64H112a8,8,0,0,1,0-16h80A8,8,0,0,1,200,56Z" }))
135
- ],
136
- [
137
- "fill",
138
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM176,80H153.64l-34.29,96H136a8,8,0,0,1,0,16H80a8,8,0,0,1,0-16h22.36l34.29-96H120a8,8,0,0,1,0-16h56a8,8,0,0,1,0,16Z" }))
139
- ],
140
- [
141
- "light",
142
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M198,56a6,6,0,0,1-6,6H156.32l-44,132H144a6,6,0,0,1,0,12H64a6,6,0,0,1,0-12H99.68l44-132H112a6,6,0,0,1,0-12h80A6,6,0,0,1,198,56Z" }))
143
- ],
144
- [
145
- "regular",
146
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M200,56a8,8,0,0,1-8,8H157.77L115.1,192H144a8,8,0,0,1,0,16H64a8,8,0,0,1,0-16H98.23L140.9,64H112a8,8,0,0,1,0-16h80A8,8,0,0,1,200,56Z" }))
147
- ],
148
- [
149
- "thin",
150
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M196,56a4,4,0,0,1-4,4H154.88L109.55,196H144a4,4,0,0,1,0,8H64a4,4,0,0,1,0-8h37.12L146.45,60H112a4,4,0,0,1,0-8h80A4,4,0,0,1,196,56Z" }))
151
- ]
152
- ]), h = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: g }));
153
- h.displayName = "TextItalicIcon";
154
- const V = /* @__PURE__ */ new Map([
155
- [
156
- "bold",
157
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M228,128a12,12,0,0,1-12,12H185.86A41.48,41.48,0,0,1,196,168c0,14.45-7.81,28.32-21.43,38.05C162,215.05,145.44,220,128,220s-34-4.95-46.57-13.95C67.81,196.32,60,182.45,60,168a12,12,0,0,1,24,0c0,15.18,20.15,28,44,28s44-12.82,44-28c0-12.76-9.3-20.18-35.35-28H40a12,12,0,0,1,0-24H216A12,12,0,0,1,228,128ZM75.11,100a12,12,0,0,0,12-12c0-16,17.58-28,40.89-28,17.36,0,31.37,6.65,37.48,17.78a12,12,0,0,0,21-11.56C176.13,47.3,154.25,36,128,36,91,36,63.11,58.35,63.11,88A12,12,0,0,0,75.11,100Z" }))
158
- ],
159
- [
160
- "duotone",
161
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement(
162
- "path",
163
- {
164
- d: "M176,72l-55.31,51.05c-24-6.7-45.58-14.26-45.58-35,0-22.09,22-40,52.89-40C151.2,48,168.37,57.64,176,72Zm-55.31,51.05L72,168c0,22.09,25.07,40,56,40s56-17.91,56-40C184,138.43,150.52,131.4,120.69,123.05Z",
165
- opacity: "0.2"
166
- }
167
- ), /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H175.93c9.19,7.11,16.07,17.2,16.07,32,0,13.34-7,25.7-19.75,34.79C160.33,211.31,144.61,216,128,216s-32.33-4.69-44.25-13.21C71,193.7,64,181.34,64,168a8,8,0,0,1,16,0c0,17.35,22,32,48,32s48-14.65,48-32c0-14.85-10.54-23.58-38.77-32H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM76.33,104a8,8,0,0,0,7.61-10.49A17.3,17.3,0,0,1,83.11,88c0-18.24,19.3-32,44.89-32,18.84,0,34.16,7.42,41,19.85a8,8,0,0,0,14-7.7C173.33,50.52,152.77,40,128,40,93.29,40,67.11,60.63,67.11,88a33.73,33.73,0,0,0,1.62,10.49A8,8,0,0,0,76.33,104Z" }))
168
- ],
169
- [
170
- "fill",
171
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M208,32H48A16,16,0,0,0,32,48V208a16,16,0,0,0,16,16H208a16,16,0,0,0,16-16V48A16,16,0,0,0,208,32ZM82.71,94.58C86,76.57,104.58,64,128,64c18.2,0,33.59,7.41,41.18,19.83a8,8,0,1,1-13.66,8.34C150.94,84.66,140.39,80,128,80c-15.3,0-27.73,7.33-29.55,17.42A8,8,0,0,1,90.59,104a7.76,7.76,0,0,1-1.43-.13A8,8,0,0,1,82.71,94.58ZM192,136H168.29A28.45,28.45,0,0,1,176,156c0,20.19-21.08,36-48,36-23.89,0-43.83-12.78-47.43-30.4a8,8,0,1,1,15.67-3.2c2,9.87,16,17.6,31.76,17.6,17.35,0,32-9.16,32-20,0-9.14-6.76-14.43-25.72-20H64a8,8,0,0,1,0-16H192a8,8,0,0,1,0,16Z" }))
172
- ],
173
- [
174
- "light",
175
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M222,128a6,6,0,0,1-6,6H169.45c11.28,6.92,20.55,17.38,20.55,34,0,25.36-27.81,46-62,46s-62-20.64-62-46a6,6,0,0,1,12,0c0,18.75,22.43,34,50,34s50-15.25,50-34c0-18.23-15.46-26.59-40.47-34H40a6,6,0,0,1,0-12H216A6,6,0,0,1,222,128ZM76.33,102a6.2,6.2,0,0,0,1.88-.3A6,6,0,0,0,82,94.13,19.74,19.74,0,0,1,81.11,88c0-19.38,20.16-34,46.89-34,19.58,0,35.56,7.81,42.74,20.89a6,6,0,0,0,10.52-5.78C171.94,52.13,152,42,128,42,94.43,42,69.11,61.77,69.11,88a31.62,31.62,0,0,0,1.52,9.87A6,6,0,0,0,76.33,102Z" }))
176
- ],
177
- [
178
- "regular",
179
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M224,128a8,8,0,0,1-8,8H175.93c9.19,7.11,16.07,17.2,16.07,32,0,13.34-7,25.7-19.75,34.79C160.33,211.31,144.61,216,128,216s-32.33-4.69-44.25-13.21C71,193.7,64,181.34,64,168a8,8,0,0,1,16,0c0,17.35,22,32,48,32s48-14.65,48-32c0-14.85-10.54-23.58-38.77-32H40a8,8,0,0,1,0-16H216A8,8,0,0,1,224,128ZM76.33,104a8,8,0,0,0,7.61-10.49A17.3,17.3,0,0,1,83.11,88c0-18.24,19.3-32,44.89-32,18.84,0,34.16,7.42,41,19.85a8,8,0,0,0,14-7.7C173.33,50.52,152.77,40,128,40,93.29,40,67.11,60.63,67.11,88a33.73,33.73,0,0,0,1.62,10.49A8,8,0,0,0,76.33,104Z" }))
180
- ],
181
- [
182
- "thin",
183
- /* @__PURE__ */ a.createElement(a.Fragment, null, /* @__PURE__ */ a.createElement("path", { d: "M220,128a4,4,0,0,1-4,4H161.16c15.45,7.24,26.84,17.8,26.84,36,0,24.26-26.92,44-60,44s-60-19.74-60-44a4,4,0,0,1,8,0c0,19.85,23.33,36,52,36s52-16.15,52-36c0-19.54-16.13-28.3-42.18-36H40a4,4,0,0,1,0-8H216A4,4,0,0,1,220,128ZM76.33,100a3.85,3.85,0,0,0,1.25-.2,4,4,0,0,0,2.55-5,21.9,21.9,0,0,1-1-6.75c0-20.52,21-36,48.89-36,20.32,0,37,8.2,44.49,21.92a4,4,0,0,0,7-3.85C170.54,53.75,151.29,44,128,44,95.57,44,71.11,62.92,71.11,88a29.76,29.76,0,0,0,1.42,9.25A4,4,0,0,0,76.33,100Z" }))
184
- ]
185
- ]), i = a.forwardRef((e, t) => /* @__PURE__ */ a.createElement(r, { ref: t, ...e, weights: V }));
186
- i.displayName = "TextStrikethroughIcon";
187
- const y = n({
188
- toolbar: {
189
- icon: /* @__PURE__ */ l(d, {}),
190
- label: "Bold"
191
- },
192
- hotkey: {
193
- ctrl: !0,
194
- key: "B"
195
- },
196
- markup: {
197
- find: /\*\*(?<text>[\w\s\d,.]+)\*\*/,
198
- wrap: (e, { text: t }) => /* @__PURE__ */ l("strong", { children: t })
199
- }
200
- }), v = n({
201
- toolbar: {
202
- icon: /* @__PURE__ */ l(h, {}),
203
- label: "Italic"
204
- },
205
- hotkey: {
206
- ctrl: !0,
207
- key: "I"
208
- },
209
- markup: {
210
- find: /\*(?<text>[\w\s\d,.]+)\*/,
211
- wrap: (e, { text: t }) => /* @__PURE__ */ l("em", { children: t })
212
- }
213
- }), x = n({
214
- toolbar: {
215
- icon: /* @__PURE__ */ l(i, {}),
216
- label: "Strikethrough"
217
- },
218
- hotkey: {
219
- ctrl: !0,
220
- key: "D"
221
- },
222
- markup: {
223
- find: /~~(?<text>[\w\s\d,.]+)~~/,
224
- wrap: (e, { text: t }) => /* @__PURE__ */ l("s", { children: t })
225
- }
226
- }), C = n({
227
- toolbar: {
228
- icon: /* @__PURE__ */ l(h, {}),
229
- label: "Link"
230
- },
231
- typeahead: {
232
- getSuggestions: (e) => []
233
- },
234
- markup: {
235
- find: /\((?<label>[\w]+)\)\[(?<url>[\w:\\\/\.]+)\]/,
236
- wrap: (e, { label: t, url: m }) => /* @__PURE__ */ l("a", { href: t, children: m })
237
- }
238
- }), f = (e) => ({
239
- 1: "h1",
240
- 2: "h2",
241
- 3: "h3",
242
- 4: "h4",
243
- 5: "h5",
244
- 6: "h6"
245
- })[e], N = n({
246
- toolbar: {
247
- icon: /* @__PURE__ */ l(A, {}),
248
- label: "Heading"
249
- },
250
- markup: {
251
- find: /(?<level>#{1,6})\s(?<text>[\w])+/,
252
- wrap: (e, { text: t, level: m }) => {
253
- const p = f(m.length) || "h2";
254
- return /* @__PURE__ */ l(p, { children: t });
255
- }
256
- }
257
- }), _ = n({
258
- toolbar: {
259
- icon: /* @__PURE__ */ l(o, {}),
260
- label: "Numbered List"
261
- },
262
- markup: {
263
- find: /\d\.\s(?<text>[\w]+)/,
264
- wrap: (e, { text: t }) => /* @__PURE__ */ l("ol", { children: /* @__PURE__ */ l("li", { children: t }) })
265
- }
266
- }), I = n({
267
- toolbar: {
268
- icon: /* @__PURE__ */ l(Z, {}),
269
- label: "Bullet List"
270
- },
271
- markup: {
272
- find: /-\s(?<text>[\w]+)/,
273
- wrap: (e, { text: t }) => /* @__PURE__ */ l("ul", { children: /* @__PURE__ */ l("li", { children: t }) })
274
- }
275
- }), $ = n({
276
- markup: {
277
- find: /\[(?<done>x|X|s){,1}\](?<text>[w]+)/,
278
- wrap: (e, { done: t, text: m }) => /* @__PURE__ */ c("span", { className: "md-task", children: [
279
- /* @__PURE__ */ l(H, { children: "Task: " }),
280
- /* @__PURE__ */ l("span", { role: "checkbox", "aria-checked": t ? "true" : "false" }),
281
- m
282
- ] })
283
- }
284
- }), R = n({
285
- markup: {
286
- find: /@(?<name>[\w]+)/,
287
- wrap: (e) => /* @__PURE__ */ c("span", { className: "md-user", children: [
288
- /* @__PURE__ */ l(H, { children: "User: " }),
289
- e
290
- ] })
291
- },
292
- typeahead: {
293
- getSuggestions: (e) => []
294
- }
295
- }), T = n({
296
- markup: {
297
- find: /#(?<tag>[\w]+)/,
298
- wrap: (e) => /* @__PURE__ */ c("span", { className: "md-tag", children: [
299
- /* @__PURE__ */ l(H, { children: "Tag: " }),
300
- e
301
- ] })
302
- },
303
- typeahead: {
304
- getSuggestions: (e) => []
305
- }
306
- });
307
- export {
308
- C as anchor,
309
- y as bold,
310
- R as callout,
311
- N as heading,
312
- v as italic,
313
- _ as orderedList,
314
- x as strikethrough,
315
- $ as task,
316
- T as topic,
317
- I as unorderedList
318
- };
@@ -1,7 +0,0 @@
1
- import { FC } from 'react';
2
- interface MarkdownEditorProps {
3
- value: string;
4
- onChangeValue?: (value: string) => void;
5
- }
6
- export declare const MarkdownEditor: FC<MarkdownEditorProps>;
7
- export {};