@omnitron-dev/prism 0.2.0 → 0.3.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 (961) hide show
  1. package/README.md +148 -0
  2. package/dist/accessibility/index.d.ts +7 -151
  3. package/dist/accessibility/index.d.ts.map +1 -0
  4. package/dist/accessibility/index.js +0 -1
  5. package/dist/accessibility/index.js.map +1 -1
  6. package/dist/accessibility/vision-mode.d.ts +154 -0
  7. package/dist/accessibility/vision-mode.d.ts.map +1 -0
  8. package/dist/blocks/auth-block/auth-block.d.ts +107 -0
  9. package/dist/blocks/auth-block/auth-block.d.ts.map +1 -0
  10. package/dist/blocks/auth-block/guards.d.ts +262 -0
  11. package/dist/blocks/auth-block/guards.d.ts.map +1 -0
  12. package/dist/blocks/auth-block/index.d.ts +13 -0
  13. package/dist/blocks/auth-block/index.d.ts.map +1 -0
  14. package/dist/blocks/auth-block/types.d.ts +232 -0
  15. package/dist/blocks/auth-block/types.d.ts.map +1 -0
  16. package/dist/blocks/dashboard-block/dashboard-block.d.ts +53 -0
  17. package/dist/blocks/dashboard-block/dashboard-block.d.ts.map +1 -0
  18. package/dist/blocks/dashboard-block/index.d.ts +12 -0
  19. package/dist/blocks/dashboard-block/index.d.ts.map +1 -0
  20. package/dist/blocks/dashboard-block/types.d.ts +182 -0
  21. package/dist/blocks/dashboard-block/types.d.ts.map +1 -0
  22. package/dist/blocks/dashboard-block/use-dashboard-block.d.ts +95 -0
  23. package/dist/blocks/dashboard-block/use-dashboard-block.d.ts.map +1 -0
  24. package/dist/blocks/data-grid-block/data-grid-block.d.ts +81 -0
  25. package/dist/blocks/data-grid-block/data-grid-block.d.ts.map +1 -0
  26. package/dist/blocks/data-grid-block/index.d.ts +11 -0
  27. package/dist/blocks/data-grid-block/index.d.ts.map +1 -0
  28. package/dist/blocks/data-grid-block/types.d.ts +304 -0
  29. package/dist/blocks/data-grid-block/types.d.ts.map +1 -0
  30. package/dist/blocks/index.d.ts +10 -1235
  31. package/dist/blocks/index.d.ts.map +1 -0
  32. package/dist/blocks/index.js +141 -42
  33. package/dist/blocks/index.js.map +1 -1
  34. package/dist/{chunk-IZOIO7PA.js → chunk-472SOF76.js} +31 -22
  35. package/dist/chunk-472SOF76.js.map +1 -0
  36. package/dist/chunk-4Z5DE5GK.js +1579 -0
  37. package/dist/chunk-4Z5DE5GK.js.map +1 -0
  38. package/dist/chunk-52PQL67Q.js +559 -0
  39. package/dist/chunk-52PQL67Q.js.map +1 -0
  40. package/dist/chunk-75FQ5IW3.js +590 -0
  41. package/dist/chunk-75FQ5IW3.js.map +1 -0
  42. package/dist/{chunk-VAAIHNWQ.js → chunk-7G5D5PTC.js} +4 -3
  43. package/dist/chunk-7G5D5PTC.js.map +1 -0
  44. package/dist/{chunk-JDTC2SBY.js → chunk-AD4W7HYC.js} +2 -2
  45. package/dist/chunk-AD4W7HYC.js.map +1 -0
  46. package/dist/{chunk-SNKGGHBT.js → chunk-ADG4HZEP.js} +3 -3
  47. package/dist/chunk-ADG4HZEP.js.map +1 -0
  48. package/dist/{chunk-JNU4QHJK.js → chunk-AYYFMTMI.js} +5 -4
  49. package/dist/{chunk-JNU4QHJK.js.map → chunk-AYYFMTMI.js.map} +1 -1
  50. package/dist/chunk-BJE2AKD4.js +105 -0
  51. package/dist/chunk-BJE2AKD4.js.map +1 -0
  52. package/dist/{chunk-HO2GKTWJ.js → chunk-BRDWQVRT.js} +2 -2
  53. package/dist/chunk-BRDWQVRT.js.map +1 -0
  54. package/dist/{chunk-2FYNRDXR.js → chunk-DRFNMZLG.js} +2 -2
  55. package/dist/chunk-DRFNMZLG.js.map +1 -0
  56. package/dist/chunk-FF5RF32O.js +248 -0
  57. package/dist/chunk-FF5RF32O.js.map +1 -0
  58. package/dist/{chunk-KTCWPGON.js → chunk-GMIE6III.js} +561 -111
  59. package/dist/chunk-GMIE6III.js.map +1 -0
  60. package/dist/{chunk-BV32OJ2A.js → chunk-GUFHFEPZ.js} +2 -2
  61. package/dist/chunk-GUFHFEPZ.js.map +1 -0
  62. package/dist/chunk-GUGTDURV.js +826 -0
  63. package/dist/chunk-GUGTDURV.js.map +1 -0
  64. package/dist/chunk-HOXFSQUV.js +573 -0
  65. package/dist/chunk-HOXFSQUV.js.map +1 -0
  66. package/dist/chunk-JSQTYDPG.js +3 -0
  67. package/dist/{chunk-77KIJLPP.js.map → chunk-JSQTYDPG.js.map} +1 -1
  68. package/dist/{chunk-MEFT6XPH.js → chunk-KQ67XB6T.js} +351 -704
  69. package/dist/chunk-KQ67XB6T.js.map +1 -0
  70. package/dist/{chunk-YJMAQL3S.js → chunk-LOY2NPCO.js} +129 -635
  71. package/dist/chunk-LOY2NPCO.js.map +1 -0
  72. package/dist/{chunk-A2Z7NVGL.js → chunk-LSPFFEJT.js} +1026 -2128
  73. package/dist/chunk-LSPFFEJT.js.map +1 -0
  74. package/dist/{chunk-XXP3ZGU6.js → chunk-OKTLA23Q.js} +22 -14
  75. package/dist/chunk-OKTLA23Q.js.map +1 -0
  76. package/dist/chunk-PFT2BNYO.js +191 -0
  77. package/dist/chunk-PFT2BNYO.js.map +1 -0
  78. package/dist/chunk-PGHEP4JD.js +106 -0
  79. package/dist/chunk-PGHEP4JD.js.map +1 -0
  80. package/dist/chunk-PXXPLHIY.js +74 -0
  81. package/dist/chunk-PXXPLHIY.js.map +1 -0
  82. package/dist/chunk-SNZK5X6F.js +594 -0
  83. package/dist/chunk-SNZK5X6F.js.map +1 -0
  84. package/dist/chunk-SU3LVQ7N.js +518 -0
  85. package/dist/chunk-SU3LVQ7N.js.map +1 -0
  86. package/dist/{chunk-DDY7TLUI.js → chunk-XIXSSI3B.js} +28 -2
  87. package/dist/chunk-XIXSSI3B.js.map +1 -0
  88. package/dist/chunk-YHE7HXSG.js +206 -0
  89. package/dist/chunk-YHE7HXSG.js.map +1 -0
  90. package/dist/{chunk-XWL6J6IO.js → chunk-YSIG2XYH.js} +2 -2
  91. package/dist/chunk-YSIG2XYH.js.map +1 -0
  92. package/dist/cli/commands/add.d.ts +22 -0
  93. package/dist/cli/commands/add.d.ts.map +1 -0
  94. package/dist/cli/commands/diff.d.ts +13 -0
  95. package/dist/cli/commands/diff.d.ts.map +1 -0
  96. package/dist/cli/commands/doctor.d.ts +13 -0
  97. package/dist/cli/commands/doctor.d.ts.map +1 -0
  98. package/dist/cli/commands/init.d.ts +13 -0
  99. package/dist/cli/commands/init.d.ts.map +1 -0
  100. package/dist/cli/commands/list.d.ts +13 -0
  101. package/dist/cli/commands/list.d.ts.map +1 -0
  102. package/dist/cli/commands/remove.d.ts +13 -0
  103. package/dist/cli/commands/remove.d.ts.map +1 -0
  104. package/dist/cli/commands/update.d.ts +13 -0
  105. package/dist/cli/commands/update.d.ts.map +1 -0
  106. package/dist/cli/config.d.ts +73 -0
  107. package/dist/cli/config.d.ts.map +1 -0
  108. package/dist/cli/constants.d.ts +60 -0
  109. package/dist/cli/constants.d.ts.map +1 -0
  110. package/dist/cli/index.d.ts +27 -0
  111. package/dist/cli/index.d.ts.map +1 -0
  112. package/dist/cli/index.js +38 -39
  113. package/dist/cli/index.js.map +1 -1
  114. package/dist/components/accordion/accordion.d.ts +149 -0
  115. package/dist/components/accordion/accordion.d.ts.map +1 -0
  116. package/dist/components/accordion/index.d.ts +7 -0
  117. package/dist/components/accordion/index.d.ts.map +1 -0
  118. package/dist/components/admin-filters/admin-data-table.d.ts +185 -0
  119. package/dist/components/admin-filters/admin-data-table.d.ts.map +1 -0
  120. package/dist/components/admin-filters/amount-cell.d.ts +39 -0
  121. package/dist/components/admin-filters/amount-cell.d.ts.map +1 -0
  122. package/dist/components/admin-filters/filter-toolbar.d.ts +99 -0
  123. package/dist/components/admin-filters/filter-toolbar.d.ts.map +1 -0
  124. package/dist/components/admin-filters/index.d.ts +13 -0
  125. package/dist/components/admin-filters/index.d.ts.map +1 -0
  126. package/dist/components/admin-filters/status-chip.d.ts +55 -0
  127. package/dist/components/admin-filters/status-chip.d.ts.map +1 -0
  128. package/dist/components/alert/alert.d.ts +159 -0
  129. package/dist/components/alert/alert.d.ts.map +1 -0
  130. package/dist/components/alert/index.d.ts +7 -0
  131. package/dist/components/alert/index.d.ts.map +1 -0
  132. package/dist/components/animate/animate-border.d.ts +33 -0
  133. package/dist/components/animate/animate-border.d.ts.map +1 -0
  134. package/dist/components/animate/index.d.ts +3 -0
  135. package/dist/components/animate/index.d.ts.map +1 -0
  136. package/dist/components/animate/motion-lazy.d.ts +5 -0
  137. package/dist/components/animate/motion-lazy.d.ts.map +1 -0
  138. package/dist/components/avatar/avatar.d.ts +78 -0
  139. package/dist/components/avatar/avatar.d.ts.map +1 -0
  140. package/dist/components/avatar/index.d.ts +7 -0
  141. package/dist/components/avatar/index.d.ts.map +1 -0
  142. package/dist/components/badge/badge.d.ts +102 -0
  143. package/dist/components/badge/badge.d.ts.map +1 -0
  144. package/dist/components/badge/index.d.ts +7 -0
  145. package/dist/components/badge/index.d.ts.map +1 -0
  146. package/dist/components/breadcrumbs/breadcrumbs.d.ts +100 -0
  147. package/dist/components/breadcrumbs/breadcrumbs.d.ts.map +1 -0
  148. package/dist/components/breadcrumbs/index.d.ts +7 -0
  149. package/dist/components/breadcrumbs/index.d.ts.map +1 -0
  150. package/dist/components/card/card.d.ts +127 -0
  151. package/dist/components/card/card.d.ts.map +1 -0
  152. package/dist/components/card/index.d.ts +7 -0
  153. package/dist/components/card/index.d.ts.map +1 -0
  154. package/dist/components/carousel/carousel.d.ts +35 -0
  155. package/dist/components/carousel/carousel.d.ts.map +1 -0
  156. package/dist/components/carousel/classes.d.ts +35 -0
  157. package/dist/components/carousel/classes.d.ts.map +1 -0
  158. package/dist/components/carousel/index.d.ts +10 -0
  159. package/dist/components/carousel/index.d.ts.map +1 -0
  160. package/dist/components/carousel/types.d.ts +167 -0
  161. package/dist/components/carousel/types.d.ts.map +1 -0
  162. package/dist/components/carousel/use-carousel.d.ts +51 -0
  163. package/dist/components/carousel/use-carousel.d.ts.map +1 -0
  164. package/dist/components/changelog/changelog-entry.d.ts +10 -0
  165. package/dist/components/changelog/changelog-entry.d.ts.map +1 -0
  166. package/dist/components/changelog/changelog-timeline.d.ts +9 -0
  167. package/dist/components/changelog/changelog-timeline.d.ts.map +1 -0
  168. package/dist/components/changelog/index.d.ts +3 -0
  169. package/dist/components/changelog/index.d.ts.map +1 -0
  170. package/dist/components/chart/chart.d.ts +39 -0
  171. package/dist/components/chart/chart.d.ts.map +1 -0
  172. package/dist/components/chart/classes.d.ts +24 -0
  173. package/dist/components/chart/classes.d.ts.map +1 -0
  174. package/dist/components/chart/components/chart-legends.d.ts +24 -0
  175. package/dist/components/chart/components/chart-legends.d.ts.map +1 -0
  176. package/dist/components/chart/components/chart-loading.d.ts +21 -0
  177. package/dist/components/chart/components/chart-loading.d.ts.map +1 -0
  178. package/dist/components/chart/components/index.d.ts +8 -0
  179. package/dist/components/chart/components/index.d.ts.map +1 -0
  180. package/dist/components/chart/index.d.ts +14 -0
  181. package/dist/components/chart/index.d.ts.map +1 -0
  182. package/dist/components/chart/types.d.ts +264 -0
  183. package/dist/components/chart/types.d.ts.map +1 -0
  184. package/dist/components/chart/use-chart.d.ts +34 -0
  185. package/dist/components/chart/use-chart.d.ts.map +1 -0
  186. package/dist/components/command-palette/command-palette.d.ts +73 -0
  187. package/dist/components/command-palette/command-palette.d.ts.map +1 -0
  188. package/dist/components/command-palette/index.d.ts +7 -0
  189. package/dist/components/command-palette/index.d.ts.map +1 -0
  190. package/dist/components/confirm-dialog/confirm-dialog.d.ts +89 -0
  191. package/dist/components/confirm-dialog/confirm-dialog.d.ts.map +1 -0
  192. package/dist/components/confirm-dialog/index.d.ts +7 -0
  193. package/dist/components/confirm-dialog/index.d.ts.map +1 -0
  194. package/dist/components/content-renderer/classes.d.ts +33 -0
  195. package/dist/components/content-renderer/classes.d.ts.map +1 -0
  196. package/dist/components/content-renderer/content-renderer.d.ts +37 -0
  197. package/dist/components/content-renderer/content-renderer.d.ts.map +1 -0
  198. package/dist/components/content-renderer/html-tags.d.ts +6 -0
  199. package/dist/components/content-renderer/html-tags.d.ts.map +1 -0
  200. package/dist/components/content-renderer/html-to-markdown.d.ts +7 -0
  201. package/dist/components/content-renderer/html-to-markdown.d.ts.map +1 -0
  202. package/dist/components/content-renderer/index.d.ts +7 -0
  203. package/dist/components/content-renderer/index.d.ts.map +1 -0
  204. package/dist/components/content-renderer/markdown.d.ts +23 -0
  205. package/dist/components/content-renderer/markdown.d.ts.map +1 -0
  206. package/dist/components/content-renderer/remark-spoiler.d.ts +9 -0
  207. package/dist/components/content-renderer/remark-spoiler.d.ts.map +1 -0
  208. package/dist/components/content-renderer/styles.d.ts +2 -0
  209. package/dist/components/content-renderer/styles.d.ts.map +1 -0
  210. package/dist/components/country-select/country-select.d.ts +101 -0
  211. package/dist/components/country-select/country-select.d.ts.map +1 -0
  212. package/dist/components/country-select/flag-icon.d.ts +36 -0
  213. package/dist/components/country-select/flag-icon.d.ts.map +1 -0
  214. package/dist/components/country-select/index.d.ts +5 -0
  215. package/dist/components/country-select/index.d.ts.map +1 -0
  216. package/dist/components/date-input/date-input.d.ts +27 -0
  217. package/dist/components/date-input/date-input.d.ts.map +1 -0
  218. package/dist/components/date-input/index.d.ts +4 -0
  219. package/dist/components/date-input/index.d.ts.map +1 -0
  220. package/dist/components/date-input/value.d.ts +9 -0
  221. package/dist/components/date-input/value.d.ts.map +1 -0
  222. package/dist/components/date-range-picker/date-range-input.d.ts +48 -0
  223. package/dist/components/date-range-picker/date-range-input.d.ts.map +1 -0
  224. package/dist/components/date-range-picker/date-range-picker.d.ts +39 -0
  225. package/dist/components/date-range-picker/date-range-picker.d.ts.map +1 -0
  226. package/dist/components/date-range-picker/index.d.ts +7 -0
  227. package/dist/components/date-range-picker/index.d.ts.map +1 -0
  228. package/dist/components/date-range-picker/use-date-range-picker.d.ts +28 -0
  229. package/dist/components/date-range-picker/use-date-range-picker.d.ts.map +1 -0
  230. package/dist/components/deadline-chip/deadline-chip.d.ts +41 -0
  231. package/dist/components/deadline-chip/deadline-chip.d.ts.map +1 -0
  232. package/dist/components/deadline-chip/index.d.ts +7 -0
  233. package/dist/components/deadline-chip/index.d.ts.map +1 -0
  234. package/dist/components/doc-layout/doc-layout.d.ts +17 -0
  235. package/dist/components/doc-layout/doc-layout.d.ts.map +1 -0
  236. package/dist/components/doc-layout/doc-section-nav.d.ts +16 -0
  237. package/dist/components/doc-layout/doc-section-nav.d.ts.map +1 -0
  238. package/dist/components/doc-layout/doc-sidebar.d.ts +18 -0
  239. package/dist/components/doc-layout/doc-sidebar.d.ts.map +1 -0
  240. package/dist/components/doc-layout/index.d.ts +4 -0
  241. package/dist/components/doc-layout/index.d.ts.map +1 -0
  242. package/dist/components/doc-layout/index.js +6 -0
  243. package/dist/components/doc-layout/index.js.map +1 -0
  244. package/dist/components/drawer/drawer.d.ts +65 -0
  245. package/dist/components/drawer/drawer.d.ts.map +1 -0
  246. package/dist/components/drawer/index.d.ts +7 -0
  247. package/dist/components/drawer/index.d.ts.map +1 -0
  248. package/dist/components/duration-picker/duration-picker.d.ts +24 -0
  249. package/dist/components/duration-picker/duration-picker.d.ts.map +1 -0
  250. package/dist/components/duration-picker/index.d.ts +2 -0
  251. package/dist/components/duration-picker/index.d.ts.map +1 -0
  252. package/dist/components/editor/classes.d.ts +52 -0
  253. package/dist/components/editor/classes.d.ts.map +1 -0
  254. package/dist/components/editor/editor.d.ts +15 -0
  255. package/dist/components/editor/editor.d.ts.map +1 -0
  256. package/dist/components/editor/extensions/clear-format.d.ts +3 -0
  257. package/dist/components/editor/extensions/clear-format.d.ts.map +1 -0
  258. package/dist/components/editor/extensions/index.d.ts +3 -0
  259. package/dist/components/editor/extensions/index.d.ts.map +1 -0
  260. package/dist/components/editor/extensions/text-transform.d.ts +20 -0
  261. package/dist/components/editor/extensions/text-transform.d.ts.map +1 -0
  262. package/dist/components/editor/icons/index.d.ts +34 -0
  263. package/dist/components/editor/icons/index.d.ts.map +1 -0
  264. package/dist/components/editor/index.d.ts +41 -104
  265. package/dist/components/editor/index.d.ts.map +1 -0
  266. package/dist/components/editor/index.js +3 -2
  267. package/dist/components/editor/presets.d.ts +3 -0
  268. package/dist/components/editor/presets.d.ts.map +1 -0
  269. package/dist/components/editor/styles.d.ts +2 -0
  270. package/dist/components/editor/styles.d.ts.map +1 -0
  271. package/dist/components/editor/toolbar/bubble-toolbar.d.ts +9 -0
  272. package/dist/components/editor/toolbar/bubble-toolbar.d.ts.map +1 -0
  273. package/dist/components/editor/toolbar/code-highlight-block.d.ts +3 -0
  274. package/dist/components/editor/toolbar/code-highlight-block.d.ts.map +1 -0
  275. package/dist/components/editor/toolbar/heading-block.d.ts +11 -0
  276. package/dist/components/editor/toolbar/heading-block.d.ts.map +1 -0
  277. package/dist/components/editor/toolbar/image-block.d.ts +11 -0
  278. package/dist/components/editor/toolbar/image-block.d.ts.map +1 -0
  279. package/dist/components/editor/toolbar/link-block.d.ts +13 -0
  280. package/dist/components/editor/toolbar/link-block.d.ts.map +1 -0
  281. package/dist/components/editor/toolbar/toolbar-item.d.ts +3 -0
  282. package/dist/components/editor/toolbar/toolbar-item.d.ts.map +1 -0
  283. package/dist/components/editor/toolbar/toolbar.d.ts +3 -0
  284. package/dist/components/editor/toolbar/toolbar.d.ts.map +1 -0
  285. package/dist/components/editor/toolbar/use-toolbar-state.d.ts +24 -0
  286. package/dist/components/editor/toolbar/use-toolbar-state.d.ts.map +1 -0
  287. package/dist/components/editor/types.d.ts +130 -0
  288. package/dist/components/editor/types.d.ts.map +1 -0
  289. package/dist/components/emoji-picker/emoji-picker.d.ts +24 -0
  290. package/dist/components/emoji-picker/emoji-picker.d.ts.map +1 -0
  291. package/dist/components/emoji-picker/emoji-search.d.ts +22 -0
  292. package/dist/components/emoji-picker/emoji-search.d.ts.map +1 -0
  293. package/dist/components/emoji-picker/emoji.d.ts +19 -0
  294. package/dist/components/emoji-picker/emoji.d.ts.map +1 -0
  295. package/dist/components/emoji-picker/index.d.ts +14 -0
  296. package/dist/components/emoji-picker/index.d.ts.map +1 -0
  297. package/dist/components/emoji-picker/index.js +3 -0
  298. package/dist/components/emoji-picker/index.js.map +1 -0
  299. package/dist/components/emoji-picker/twemoji-url.d.ts +26 -0
  300. package/dist/components/emoji-picker/twemoji-url.d.ts.map +1 -0
  301. package/dist/components/emoji-picker/types.d.ts +96 -0
  302. package/dist/components/emoji-picker/types.d.ts.map +1 -0
  303. package/dist/components/emoji-picker/use-emoji-data.d.ts +26 -0
  304. package/dist/components/emoji-picker/use-emoji-data.d.ts.map +1 -0
  305. package/dist/components/emoji-picker/use-recent-emojis.d.ts +16 -0
  306. package/dist/components/emoji-picker/use-recent-emojis.d.ts.map +1 -0
  307. package/dist/components/empty-content/empty-content.d.ts +92 -0
  308. package/dist/components/empty-content/empty-content.d.ts.map +1 -0
  309. package/dist/components/empty-content/index.d.ts +7 -0
  310. package/dist/components/empty-content/index.d.ts.map +1 -0
  311. package/dist/components/error-boundary/error-boundary.d.ts +162 -0
  312. package/dist/components/error-boundary/error-boundary.d.ts.map +1 -0
  313. package/dist/components/error-boundary/index.d.ts +7 -0
  314. package/dist/components/error-boundary/index.d.ts.map +1 -0
  315. package/dist/components/field/field-autocomplete.d.ts +74 -0
  316. package/dist/components/field/field-autocomplete.d.ts.map +1 -0
  317. package/dist/components/field/field-checkbox.d.ts +42 -0
  318. package/dist/components/field/field-checkbox.d.ts.map +1 -0
  319. package/dist/components/field/field-code.d.ts +80 -0
  320. package/dist/components/field/field-code.d.ts.map +1 -0
  321. package/dist/components/field/field-country-select.d.ts +84 -0
  322. package/dist/components/field/field-country-select.d.ts.map +1 -0
  323. package/dist/components/field/field-date-picker.d.ts +58 -0
  324. package/dist/components/field/field-date-picker.d.ts.map +1 -0
  325. package/dist/components/field/field-datetime-picker.d.ts +96 -0
  326. package/dist/components/field/field-datetime-picker.d.ts.map +1 -0
  327. package/dist/components/field/field-editor.d.ts +218 -0
  328. package/dist/components/field/field-editor.d.ts.map +1 -0
  329. package/dist/components/field/field-multi-checkbox.d.ts +91 -0
  330. package/dist/components/field/field-multi-checkbox.d.ts.map +1 -0
  331. package/dist/components/field/field-multi-select.d.ts +85 -0
  332. package/dist/components/field/field-multi-select.d.ts.map +1 -0
  333. package/dist/components/field/field-multi-switch.d.ts +93 -0
  334. package/dist/components/field/field-multi-switch.d.ts.map +1 -0
  335. package/dist/components/field/field-number.d.ts +50 -0
  336. package/dist/components/field/field-number.d.ts.map +1 -0
  337. package/dist/components/field/field-phone.d.ts +82 -0
  338. package/dist/components/field/field-phone.d.ts.map +1 -0
  339. package/dist/components/field/field-radio.d.ts +64 -0
  340. package/dist/components/field/field-radio.d.ts.map +1 -0
  341. package/dist/components/field/field-rating.d.ts +43 -0
  342. package/dist/components/field/field-rating.d.ts.map +1 -0
  343. package/dist/components/field/field-select.d.ts +50 -0
  344. package/dist/components/field/field-select.d.ts.map +1 -0
  345. package/dist/components/field/field-slider.d.ts +56 -0
  346. package/dist/components/field/field-slider.d.ts.map +1 -0
  347. package/dist/components/field/field-switch.d.ts +44 -0
  348. package/dist/components/field/field-switch.d.ts.map +1 -0
  349. package/dist/components/field/field-text.d.ts +38 -0
  350. package/dist/components/field/field-text.d.ts.map +1 -0
  351. package/dist/components/field/field-time-picker.d.ts +79 -0
  352. package/dist/components/field/field-time-picker.d.ts.map +1 -0
  353. package/dist/components/field/field-upload.d.ts +120 -0
  354. package/dist/components/field/field-upload.d.ts.map +1 -0
  355. package/dist/components/field/index.d.ts +149 -0
  356. package/dist/components/field/index.d.ts.map +1 -0
  357. package/dist/components/image/image.d.ts +79 -0
  358. package/dist/components/image/image.d.ts.map +1 -0
  359. package/dist/components/image/index.d.ts +7 -0
  360. package/dist/components/image/index.d.ts.map +1 -0
  361. package/dist/components/index.css +4 -0
  362. package/dist/components/index.css.map +1 -1
  363. package/dist/components/index.d.ts +60 -7072
  364. package/dist/components/index.d.ts.map +1 -0
  365. package/dist/components/index.js +21 -11
  366. package/dist/components/knowledge-graph/edge-labels.d.ts +14 -0
  367. package/dist/components/knowledge-graph/edge-labels.d.ts.map +1 -0
  368. package/dist/components/knowledge-graph/graph.d.ts +56 -0
  369. package/dist/components/knowledge-graph/graph.d.ts.map +1 -0
  370. package/dist/components/knowledge-graph/index.css +176 -0
  371. package/dist/components/knowledge-graph/index.css.map +1 -0
  372. package/dist/components/knowledge-graph/index.d.ts +3 -0
  373. package/dist/components/knowledge-graph/index.d.ts.map +1 -0
  374. package/dist/components/knowledge-graph/index.js +795 -0
  375. package/dist/components/knowledge-graph/index.js.map +1 -0
  376. package/dist/components/knowledge-graph/label-layout.d.ts +28 -0
  377. package/dist/components/knowledge-graph/label-layout.d.ts.map +1 -0
  378. package/dist/components/knowledge-graph/label-store.d.ts +15 -0
  379. package/dist/components/knowledge-graph/label-store.d.ts.map +1 -0
  380. package/dist/components/knowledge-graph/model.d.ts +92 -0
  381. package/dist/components/knowledge-graph/model.d.ts.map +1 -0
  382. package/dist/components/label/index.d.ts +7 -0
  383. package/dist/components/label/index.d.ts.map +1 -0
  384. package/dist/components/label/label.d.ts +71 -0
  385. package/dist/components/label/label.d.ts.map +1 -0
  386. package/dist/components/lightbox/classes.d.ts +34 -0
  387. package/dist/components/lightbox/classes.d.ts.map +1 -0
  388. package/dist/components/lightbox/index.d.ts +11 -0
  389. package/dist/components/lightbox/index.d.ts.map +1 -0
  390. package/dist/components/lightbox/lightbox.d.ts +42 -0
  391. package/dist/components/lightbox/lightbox.d.ts.map +1 -0
  392. package/dist/components/lightbox/types.d.ts +233 -0
  393. package/dist/components/lightbox/types.d.ts.map +1 -0
  394. package/dist/components/lightbox/use-lightbox.d.ts +42 -0
  395. package/dist/components/lightbox/use-lightbox.d.ts.map +1 -0
  396. package/dist/components/loading-screen/index.d.ts +8 -0
  397. package/dist/components/loading-screen/index.d.ts.map +1 -0
  398. package/dist/components/loading-screen/loading-screen.d.ts +37 -0
  399. package/dist/components/loading-screen/loading-screen.d.ts.map +1 -0
  400. package/dist/components/loading-screen/splash-screen.d.ts +80 -0
  401. package/dist/components/loading-screen/splash-screen.d.ts.map +1 -0
  402. package/dist/components/map/Map.d.ts +39 -0
  403. package/dist/components/map/Map.d.ts.map +1 -0
  404. package/dist/components/map/MapCoverageLayer.d.ts +25 -0
  405. package/dist/components/map/MapCoverageLayer.d.ts.map +1 -0
  406. package/dist/components/map/MapMarker.d.ts +17 -0
  407. package/dist/components/map/MapMarker.d.ts.map +1 -0
  408. package/dist/components/map/MapPlaceSearch.d.ts +33 -0
  409. package/dist/components/map/MapPlaceSearch.d.ts.map +1 -0
  410. package/dist/components/map/MapPointPicker.d.ts +35 -0
  411. package/dist/components/map/MapPointPicker.d.ts.map +1 -0
  412. package/dist/components/map/coordinates.d.ts +10 -0
  413. package/dist/components/map/coordinates.d.ts.map +1 -0
  414. package/dist/components/map/index.css +4 -0
  415. package/dist/components/map/index.css.map +1 -0
  416. package/dist/components/map/index.d.ts +19 -0
  417. package/dist/components/map/index.d.ts.map +1 -0
  418. package/dist/components/map/index.js +3 -0
  419. package/dist/components/map/index.js.map +1 -0
  420. package/dist/components/mega-menu/index.d.ts +12 -0
  421. package/dist/components/mega-menu/index.d.ts.map +1 -0
  422. package/dist/components/mega-menu/mega-menu-horizontal.d.ts +41 -0
  423. package/dist/components/mega-menu/mega-menu-horizontal.d.ts.map +1 -0
  424. package/dist/components/mega-menu/mega-menu-mobile.d.ts +28 -0
  425. package/dist/components/mega-menu/mega-menu-mobile.d.ts.map +1 -0
  426. package/dist/components/mega-menu/mega-menu-vertical.d.ts +28 -0
  427. package/dist/components/mega-menu/mega-menu-vertical.d.ts.map +1 -0
  428. package/dist/components/mega-menu/styles.d.ts +18 -0
  429. package/dist/components/mega-menu/styles.d.ts.map +1 -0
  430. package/dist/components/mega-menu/types.d.ts +200 -0
  431. package/dist/components/mega-menu/types.d.ts.map +1 -0
  432. package/dist/components/menu/index.d.ts +7 -0
  433. package/dist/components/menu/index.d.ts.map +1 -0
  434. package/dist/components/menu/menu.d.ts +144 -0
  435. package/dist/components/menu/menu.d.ts.map +1 -0
  436. package/dist/components/nav-card/index.d.ts +8 -0
  437. package/dist/components/nav-card/index.d.ts.map +1 -0
  438. package/dist/components/nav-card/nav-card-grid.d.ts +57 -0
  439. package/dist/components/nav-card/nav-card-grid.d.ts.map +1 -0
  440. package/dist/components/nav-card/nav-card.d.ts +69 -0
  441. package/dist/components/nav-card/nav-card.d.ts.map +1 -0
  442. package/dist/components/nav-section/components.d.ts +143 -0
  443. package/dist/components/nav-section/components.d.ts.map +1 -0
  444. package/dist/components/nav-section/index.d.ts +15 -0
  445. package/dist/components/nav-section/index.d.ts.map +1 -0
  446. package/dist/components/nav-section/nav-context.d.ts +80 -0
  447. package/dist/components/nav-section/nav-context.d.ts.map +1 -0
  448. package/dist/components/nav-section/nav-item.d.ts +20 -0
  449. package/dist/components/nav-section/nav-item.d.ts.map +1 -0
  450. package/dist/components/nav-section/nav-list.d.ts +25 -0
  451. package/dist/components/nav-section/nav-list.d.ts.map +1 -0
  452. package/dist/components/nav-section/nav-section-horizontal.d.ts +29 -0
  453. package/dist/components/nav-section/nav-section-horizontal.d.ts.map +1 -0
  454. package/dist/components/nav-section/nav-section-mini.d.ts +30 -0
  455. package/dist/components/nav-section/nav-section-mini.d.ts.map +1 -0
  456. package/dist/components/nav-section/nav-section-vertical.d.ts +37 -0
  457. package/dist/components/nav-section/nav-section-vertical.d.ts.map +1 -0
  458. package/dist/components/nav-section/styles.d.ts +35 -0
  459. package/dist/components/nav-section/styles.d.ts.map +1 -0
  460. package/dist/components/nav-section/types.d.ts +178 -0
  461. package/dist/components/nav-section/types.d.ts.map +1 -0
  462. package/dist/components/navigation-progress/index.d.ts +7 -0
  463. package/dist/components/navigation-progress/index.d.ts.map +1 -0
  464. package/dist/components/navigation-progress/navigation-progress.d.ts +36 -0
  465. package/dist/components/navigation-progress/navigation-progress.d.ts.map +1 -0
  466. package/dist/components/page-content/index.d.ts +7 -0
  467. package/dist/components/page-content/index.d.ts.map +1 -0
  468. package/dist/components/page-content/page-content.d.ts +55 -0
  469. package/dist/components/page-content/page-content.d.ts.map +1 -0
  470. package/dist/components/popover/index.d.ts +7 -0
  471. package/dist/components/popover/index.d.ts.map +1 -0
  472. package/dist/{popover-Dmw7SJLR.d.ts → components/popover/popover.d.ts} +11 -14
  473. package/dist/components/popover/popover.d.ts.map +1 -0
  474. package/dist/components/progress/countdown-ring.d.ts +60 -0
  475. package/dist/components/progress/countdown-ring.d.ts.map +1 -0
  476. package/dist/components/progress/index.d.ts +8 -0
  477. package/dist/components/progress/index.d.ts.map +1 -0
  478. package/dist/components/progress/progress.d.ts +106 -0
  479. package/dist/components/progress/progress.d.ts.map +1 -0
  480. package/dist/components/rail/index.d.ts +7 -0
  481. package/dist/components/rail/index.d.ts.map +1 -0
  482. package/dist/components/rail/rail.d.ts +39 -0
  483. package/dist/components/rail/rail.d.ts.map +1 -0
  484. package/dist/components/research/diagram-image.d.ts +11 -0
  485. package/dist/components/research/diagram-image.d.ts.map +1 -0
  486. package/dist/components/research/diagram.d.ts +8 -0
  487. package/dist/components/research/diagram.d.ts.map +1 -0
  488. package/dist/components/research/document.d.ts +33 -0
  489. package/dist/components/research/document.d.ts.map +1 -0
  490. package/dist/components/research/frontmatter.d.ts +15 -0
  491. package/dist/components/research/frontmatter.d.ts.map +1 -0
  492. package/dist/components/research/index.css +51 -0
  493. package/dist/components/research/index.css.map +1 -0
  494. package/dist/components/research/index.d.ts +3 -0
  495. package/dist/components/research/index.d.ts.map +1 -0
  496. package/dist/components/research/index.js +6 -0
  497. package/dist/components/research/index.js.map +1 -0
  498. package/dist/components/research/parse.d.ts +29 -0
  499. package/dist/components/research/parse.d.ts.map +1 -0
  500. package/dist/components/research-editor/block-commands.d.ts +20 -0
  501. package/dist/components/research-editor/block-commands.d.ts.map +1 -0
  502. package/dist/components/research-editor/block-controls.d.ts +13 -0
  503. package/dist/components/research-editor/block-controls.d.ts.map +1 -0
  504. package/dist/components/research-editor/editor.d.ts +75 -0
  505. package/dist/components/research-editor/editor.d.ts.map +1 -0
  506. package/dist/components/research-editor/extensions.d.ts +14 -0
  507. package/dist/components/research-editor/extensions.d.ts.map +1 -0
  508. package/dist/components/research-editor/index.css +332 -0
  509. package/dist/components/research-editor/index.css.map +1 -0
  510. package/dist/components/research-editor/index.d.ts +5 -0
  511. package/dist/components/research-editor/index.d.ts.map +1 -0
  512. package/dist/components/research-editor/index.js +1592 -0
  513. package/dist/components/research-editor/index.js.map +1 -0
  514. package/dist/components/research-editor/math-input.d.ts +32 -0
  515. package/dist/components/research-editor/math-input.d.ts.map +1 -0
  516. package/dist/components/research-editor/math-markup.d.ts +4 -0
  517. package/dist/components/research-editor/math-markup.d.ts.map +1 -0
  518. package/dist/components/research-editor/math-navigation.d.ts +6 -0
  519. package/dist/components/research-editor/math-navigation.d.ts.map +1 -0
  520. package/dist/components/research-editor/math-node.d.ts +11 -0
  521. package/dist/components/research-editor/math-node.d.ts.map +1 -0
  522. package/dist/components/research-editor/source.d.ts +19 -0
  523. package/dist/components/research-editor/source.d.ts.map +1 -0
  524. package/dist/components/scroll-spy/index.d.ts +3 -0
  525. package/dist/components/scroll-spy/index.d.ts.map +1 -0
  526. package/dist/components/scroll-spy/scroll-spy-provider.d.ts +26 -0
  527. package/dist/components/scroll-spy/scroll-spy-provider.d.ts.map +1 -0
  528. package/dist/components/scroll-spy/scroll-spy-section.d.ts +10 -0
  529. package/dist/components/scroll-spy/scroll-spy-section.d.ts.map +1 -0
  530. package/dist/components/scroll-to-top/index.d.ts +7 -0
  531. package/dist/components/scroll-to-top/index.d.ts.map +1 -0
  532. package/dist/components/scroll-to-top/scroll-to-top.d.ts +25 -0
  533. package/dist/components/scroll-to-top/scroll-to-top.d.ts.map +1 -0
  534. package/dist/components/scrollbar/index.d.ts +7 -0
  535. package/dist/components/scrollbar/index.d.ts.map +1 -0
  536. package/dist/components/scrollbar/scrollbar.d.ts +61 -0
  537. package/dist/components/scrollbar/scrollbar.d.ts.map +1 -0
  538. package/dist/components/search-input/index.d.ts +2 -0
  539. package/dist/components/search-input/index.d.ts.map +1 -0
  540. package/dist/components/search-input/search-input.d.ts +36 -0
  541. package/dist/components/search-input/search-input.d.ts.map +1 -0
  542. package/dist/components/settings/index.d.ts +10 -0
  543. package/dist/components/settings/index.d.ts.map +1 -0
  544. package/dist/components/settings/settings-drawer.d.ts +39 -0
  545. package/dist/components/settings/settings-drawer.d.ts.map +1 -0
  546. package/dist/components/settings/settings-provider.d.ts +106 -0
  547. package/dist/components/settings/settings-provider.d.ts.map +1 -0
  548. package/dist/components/skeleton/index.d.ts +7 -0
  549. package/dist/components/skeleton/index.d.ts.map +1 -0
  550. package/dist/components/skeleton/skeleton.d.ts +77 -0
  551. package/dist/components/skeleton/skeleton.d.ts.map +1 -0
  552. package/dist/components/snackbar/index.d.ts +7 -0
  553. package/dist/components/snackbar/index.d.ts.map +1 -0
  554. package/dist/components/snackbar/snackbar.d.ts +120 -0
  555. package/dist/components/snackbar/snackbar.d.ts.map +1 -0
  556. package/dist/components/sponsored-slot/index.d.ts +3 -0
  557. package/dist/components/sponsored-slot/index.d.ts.map +1 -0
  558. package/dist/components/sponsored-slot/sponsored-slot.d.ts +16 -0
  559. package/dist/components/sponsored-slot/sponsored-slot.d.ts.map +1 -0
  560. package/dist/components/sponsored-slot/types.d.ts +45 -0
  561. package/dist/components/sponsored-slot/types.d.ts.map +1 -0
  562. package/dist/components/stepper/index.d.ts +7 -0
  563. package/dist/components/stepper/index.d.ts.map +1 -0
  564. package/dist/components/stepper/stepper.d.ts +145 -0
  565. package/dist/components/stepper/stepper.d.ts.map +1 -0
  566. package/dist/components/svg-color/index.d.ts +7 -0
  567. package/dist/components/svg-color/index.d.ts.map +1 -0
  568. package/dist/components/svg-color/svg-color.d.ts +80 -0
  569. package/dist/components/svg-color/svg-color.d.ts.map +1 -0
  570. package/dist/components/table/index.d.ts +7 -0
  571. package/dist/components/table/index.d.ts.map +1 -0
  572. package/dist/components/table/table.d.ts +184 -0
  573. package/dist/components/table/table.d.ts.map +1 -0
  574. package/dist/components/tabs/index.d.ts +7 -0
  575. package/dist/components/tabs/index.d.ts.map +1 -0
  576. package/dist/components/tabs/tabs.d.ts +146 -0
  577. package/dist/components/tabs/tabs.d.ts.map +1 -0
  578. package/dist/components/tag-cloud/index.d.ts +7 -0
  579. package/dist/components/tag-cloud/index.d.ts.map +1 -0
  580. package/dist/components/tag-cloud/tag-cloud.d.ts +58 -0
  581. package/dist/components/tag-cloud/tag-cloud.d.ts.map +1 -0
  582. package/dist/components/tiptap-renderer/index.d.ts +2 -0
  583. package/dist/components/tiptap-renderer/index.d.ts.map +1 -0
  584. package/dist/components/tiptap-renderer/tiptap-renderer.d.ts +46 -0
  585. package/dist/components/tiptap-renderer/tiptap-renderer.d.ts.map +1 -0
  586. package/dist/components/tooltip/index.d.ts +7 -0
  587. package/dist/components/tooltip/index.d.ts.map +1 -0
  588. package/dist/components/tooltip/tooltip.d.ts +38 -0
  589. package/dist/components/tooltip/tooltip.d.ts.map +1 -0
  590. package/dist/components/virtual-list/index.d.ts +7 -0
  591. package/dist/components/virtual-list/index.d.ts.map +1 -0
  592. package/dist/components/virtual-list/virtual-list.d.ts +64 -0
  593. package/dist/components/virtual-list/virtual-list.d.ts.map +1 -0
  594. package/dist/core/accessibility/index.d.ts +96 -0
  595. package/dist/core/accessibility/index.d.ts.map +1 -0
  596. package/dist/core/accessibility/skip-link.d.ts +31 -0
  597. package/dist/core/accessibility/skip-link.d.ts.map +1 -0
  598. package/dist/core/context.d.ts +99 -0
  599. package/dist/core/context.d.ts.map +1 -0
  600. package/dist/core/hooks/use-boolean.d.ts +54 -0
  601. package/dist/core/hooks/use-boolean.d.ts.map +1 -0
  602. package/dist/core/hooks/use-breakpoints.d.ts +87 -0
  603. package/dist/core/hooks/use-breakpoints.d.ts.map +1 -0
  604. package/dist/core/hooks/use-click-outside.d.ts +26 -0
  605. package/dist/core/hooks/use-click-outside.d.ts.map +1 -0
  606. package/dist/core/hooks/use-copy-to-clipboard.d.ts +66 -0
  607. package/dist/core/hooks/use-copy-to-clipboard.d.ts.map +1 -0
  608. package/dist/core/hooks/use-countdown.d.ts +105 -0
  609. package/dist/core/hooks/use-countdown.d.ts.map +1 -0
  610. package/dist/core/hooks/use-debounce.d.ts +64 -0
  611. package/dist/core/hooks/use-debounce.d.ts.map +1 -0
  612. package/dist/core/hooks/use-event-listener.d.ts +37 -0
  613. package/dist/core/hooks/use-event-listener.d.ts.map +1 -0
  614. package/dist/core/hooks/use-interval.d.ts +30 -0
  615. package/dist/core/hooks/use-interval.d.ts.map +1 -0
  616. package/dist/core/hooks/use-is-client.d.ts +24 -0
  617. package/dist/core/hooks/use-is-client.d.ts.map +1 -0
  618. package/dist/core/hooks/use-local-storage.d.ts +61 -0
  619. package/dist/core/hooks/use-local-storage.d.ts.map +1 -0
  620. package/dist/core/hooks/use-media-query.d.ts +107 -0
  621. package/dist/core/hooks/use-media-query.d.ts.map +1 -0
  622. package/dist/core/hooks/use-mounted.d.ts +33 -0
  623. package/dist/core/hooks/use-mounted.d.ts.map +1 -0
  624. package/dist/core/hooks/use-multi-select.d.ts +113 -0
  625. package/dist/core/hooks/use-multi-select.d.ts.map +1 -0
  626. package/dist/core/hooks/use-previous.d.ts +23 -0
  627. package/dist/core/hooks/use-previous.d.ts.map +1 -0
  628. package/dist/core/hooks/use-set-state.d.ts +56 -0
  629. package/dist/core/hooks/use-set-state.d.ts.map +1 -0
  630. package/dist/core/hooks/use-tabs.d.ts +74 -0
  631. package/dist/core/hooks/use-tabs.d.ts.map +1 -0
  632. package/dist/core/hooks/use-timeout.d.ts +37 -0
  633. package/dist/core/hooks/use-timeout.d.ts.map +1 -0
  634. package/dist/core/index.d.ts +36 -468
  635. package/dist/core/index.d.ts.map +1 -0
  636. package/dist/core/index.js +10 -7
  637. package/dist/core/provider-stack.d.ts +181 -0
  638. package/dist/core/provider-stack.d.ts.map +1 -0
  639. package/dist/core/provider.d.ts +72 -0
  640. package/dist/core/provider.d.ts.map +1 -0
  641. package/dist/forms/index.d.ts +6 -557
  642. package/dist/forms/index.d.ts.map +1 -0
  643. package/dist/forms/index.js +0 -1
  644. package/dist/forms/index.js.map +1 -1
  645. package/dist/forms/schema-provider.d.ts +282 -0
  646. package/dist/forms/schema-provider.d.ts.map +1 -0
  647. package/dist/forms/schema-utils.d.ts +286 -0
  648. package/dist/forms/schema-utils.d.ts.map +1 -0
  649. package/dist/hooks/index.d.ts +38 -8
  650. package/dist/hooks/index.d.ts.map +1 -0
  651. package/dist/hooks/index.js +12 -9
  652. package/dist/hooks/use-array.d.ts +126 -0
  653. package/dist/hooks/use-array.d.ts.map +1 -0
  654. package/dist/hooks/use-async.d.ts +88 -0
  655. package/dist/hooks/use-async.d.ts.map +1 -0
  656. package/dist/hooks/use-back-to-top.d.ts +57 -0
  657. package/dist/hooks/use-back-to-top.d.ts.map +1 -0
  658. package/dist/hooks/use-client-rect.d.ts +67 -0
  659. package/dist/hooks/use-client-rect.d.ts.map +1 -0
  660. package/dist/hooks/use-config-from-query.d.ts +98 -0
  661. package/dist/hooks/use-config-from-query.d.ts.map +1 -0
  662. package/dist/hooks/use-cookies.d.ts +62 -0
  663. package/dist/hooks/use-cookies.d.ts.map +1 -0
  664. package/dist/hooks/use-countdown-date.d.ts +47 -0
  665. package/dist/hooks/use-countdown-date.d.ts.map +1 -0
  666. package/dist/hooks/use-countdown-seconds.d.ts +83 -0
  667. package/dist/hooks/use-countdown-seconds.d.ts.map +1 -0
  668. package/dist/hooks/use-double-click.d.ts +67 -0
  669. package/dist/hooks/use-double-click.d.ts.map +1 -0
  670. package/dist/hooks/use-focus-trap.d.ts +66 -0
  671. package/dist/hooks/use-focus-trap.d.ts.map +1 -0
  672. package/dist/hooks/use-image-dimensions.d.ts +124 -0
  673. package/dist/hooks/use-image-dimensions.d.ts.map +1 -0
  674. package/dist/hooks/use-infinite-scroll.d.ts +204 -0
  675. package/dist/hooks/use-infinite-scroll.d.ts.map +1 -0
  676. package/dist/hooks/use-intersection-observer.d.ts +93 -0
  677. package/dist/hooks/use-intersection-observer.d.ts.map +1 -0
  678. package/dist/hooks/use-isomorphic-layout-effect.d.ts +34 -0
  679. package/dist/hooks/use-isomorphic-layout-effect.d.ts.map +1 -0
  680. package/dist/hooks/use-keyboard-shortcut.d.ts +112 -0
  681. package/dist/hooks/use-keyboard-shortcut.d.ts.map +1 -0
  682. package/dist/hooks/use-lazy-query.d.ts +132 -0
  683. package/dist/hooks/use-lazy-query.d.ts.map +1 -0
  684. package/dist/hooks/use-mutation.d.ts +141 -0
  685. package/dist/hooks/use-mutation.d.ts.map +1 -0
  686. package/dist/hooks/use-online-status.d.ts +56 -0
  687. package/dist/hooks/use-online-status.d.ts.map +1 -0
  688. package/dist/hooks/use-password-visibility.d.ts +83 -0
  689. package/dist/hooks/use-password-visibility.d.ts.map +1 -0
  690. package/dist/hooks/use-popover-hover.d.ts +78 -0
  691. package/dist/hooks/use-popover-hover.d.ts.map +1 -0
  692. package/dist/hooks/use-scroll-offset-top.d.ts +69 -0
  693. package/dist/hooks/use-scroll-offset-top.d.ts.map +1 -0
  694. package/dist/hooks/use-scroll-position.d.ts +96 -0
  695. package/dist/hooks/use-scroll-position.d.ts.map +1 -0
  696. package/dist/hooks/use-session-storage.d.ts +66 -0
  697. package/dist/hooks/use-session-storage.d.ts.map +1 -0
  698. package/dist/hooks/use-throttle.d.ts +67 -0
  699. package/dist/hooks/use-throttle.d.ts.map +1 -0
  700. package/dist/hooks/use-update-effect.d.ts +53 -0
  701. package/dist/hooks/use-update-effect.d.ts.map +1 -0
  702. package/dist/hooks/use-window-size.d.ts +132 -0
  703. package/dist/hooks/use-window-size.d.ts.map +1 -0
  704. package/dist/http/client.d.ts +74 -0
  705. package/dist/http/client.d.ts.map +1 -0
  706. package/dist/http/index.d.ts +6 -229
  707. package/dist/http/index.d.ts.map +1 -0
  708. package/dist/http/index.js +0 -2
  709. package/dist/http/index.js.map +1 -1
  710. package/dist/http/types.d.ts +158 -0
  711. package/dist/http/types.d.ts.map +1 -0
  712. package/dist/icons/context.d.ts +17 -0
  713. package/dist/icons/context.d.ts.map +1 -0
  714. package/dist/icons/controls.d.ts +51 -0
  715. package/dist/icons/controls.d.ts.map +1 -0
  716. package/dist/icons/index.d.ts +3 -0
  717. package/dist/icons/index.d.ts.map +1 -0
  718. package/dist/icons/index.js +4 -0
  719. package/dist/icons/index.js.map +1 -0
  720. package/dist/icons/theme.d.ts +4 -0
  721. package/dist/icons/theme.d.ts.map +1 -0
  722. package/dist/index.css +4 -0
  723. package/dist/index.css.map +1 -1
  724. package/dist/index.d.ts +19 -2758
  725. package/dist/index.d.ts.map +1 -0
  726. package/dist/index.js +46 -63
  727. package/dist/index.js.map +1 -1
  728. package/dist/layouts/auth/centered.d.ts +49 -0
  729. package/dist/layouts/auth/centered.d.ts.map +1 -0
  730. package/dist/layouts/auth/index.d.ts +12 -0
  731. package/dist/layouts/auth/index.d.ts.map +1 -0
  732. package/dist/layouts/auth/simple.d.ts +58 -0
  733. package/dist/layouts/auth/simple.d.ts.map +1 -0
  734. package/dist/layouts/auth/split.d.ts +81 -0
  735. package/dist/layouts/auth/split.d.ts.map +1 -0
  736. package/dist/layouts/core/context.d.ts +102 -0
  737. package/dist/layouts/core/context.d.ts.map +1 -0
  738. package/dist/layouts/core/css-vars.d.ts +43 -0
  739. package/dist/layouts/core/css-vars.d.ts.map +1 -0
  740. package/dist/layouts/core/header-section.d.ts +79 -0
  741. package/dist/layouts/core/header-section.d.ts.map +1 -0
  742. package/dist/layouts/core/index.d.ts +18 -0
  743. package/dist/layouts/core/index.d.ts.map +1 -0
  744. package/dist/layouts/core/layout-section.d.ts +64 -0
  745. package/dist/layouts/core/layout-section.d.ts.map +1 -0
  746. package/dist/layouts/core/user-menu.d.ts +88 -0
  747. package/dist/layouts/core/user-menu.d.ts.map +1 -0
  748. package/dist/layouts/dashboard/index.d.ts +10 -0
  749. package/dist/layouts/dashboard/index.d.ts.map +1 -0
  750. package/dist/layouts/dashboard/labels.d.ts +12 -0
  751. package/dist/layouts/dashboard/labels.d.ts.map +1 -0
  752. package/dist/layouts/dashboard/layout.d.ts +96 -0
  753. package/dist/layouts/dashboard/layout.d.ts.map +1 -0
  754. package/dist/layouts/dashboard/sidenav.d.ts +62 -0
  755. package/dist/layouts/dashboard/sidenav.d.ts.map +1 -0
  756. package/dist/layouts/dashboard/topnav.d.ts +41 -0
  757. package/dist/layouts/dashboard/topnav.d.ts.map +1 -0
  758. package/dist/layouts/index.d.ts +32 -850
  759. package/dist/layouts/index.d.ts.map +1 -0
  760. package/dist/layouts/index.js +8 -4
  761. package/dist/layouts/panel-layout.d.ts +35 -0
  762. package/dist/layouts/panel-layout.d.ts.map +1 -0
  763. package/dist/layouts/sidebar-toggle.d.ts +11 -0
  764. package/dist/layouts/sidebar-toggle.d.ts.map +1 -0
  765. package/dist/layouts/types.d.ts +317 -0
  766. package/dist/layouts/types.d.ts.map +1 -0
  767. package/dist/netron/context.d.ts +18 -0
  768. package/dist/netron/context.d.ts.map +1 -0
  769. package/dist/netron/hooks.d.ts +10 -0
  770. package/dist/netron/hooks.d.ts.map +1 -0
  771. package/dist/netron/index.d.ts +47 -4
  772. package/dist/netron/index.d.ts.map +1 -0
  773. package/dist/netron/index.js +1 -2
  774. package/dist/netron/types.d.ts +12 -0
  775. package/dist/netron/types.d.ts.map +1 -0
  776. package/dist/registry/index.d.ts +8 -341
  777. package/dist/registry/index.d.ts.map +1 -0
  778. package/dist/registry/index.js +1 -2
  779. package/dist/registry/installer.d.ts +137 -0
  780. package/dist/registry/installer.d.ts.map +1 -0
  781. package/dist/registry/manager.d.ts +196 -0
  782. package/dist/registry/manager.d.ts.map +1 -0
  783. package/dist/state/create-store.d.ts +164 -0
  784. package/dist/state/create-store.d.ts.map +1 -0
  785. package/dist/state/index.d.ts +12 -969
  786. package/dist/state/index.d.ts.map +1 -0
  787. package/dist/state/index.js +2 -3
  788. package/dist/state/settings-version.d.ts +255 -0
  789. package/dist/state/settings-version.d.ts.map +1 -0
  790. package/dist/state/stores/auth.d.ts +143 -0
  791. package/dist/state/stores/auth.d.ts.map +1 -0
  792. package/dist/state/stores/index.d.ts +10 -0
  793. package/dist/state/stores/index.d.ts.map +1 -0
  794. package/dist/state/stores/settings.d.ts +151 -0
  795. package/dist/state/stores/settings.d.ts.map +1 -0
  796. package/dist/state/stores/theme.d.ts +87 -0
  797. package/dist/state/stores/theme.d.ts.map +1 -0
  798. package/dist/state/stores/ui.d.ts +106 -0
  799. package/dist/state/stores/ui.d.ts.map +1 -0
  800. package/dist/theme/colors/base.d.ts +61 -0
  801. package/dist/theme/colors/base.d.ts.map +1 -0
  802. package/dist/theme/colors/index.d.ts +10 -0
  803. package/dist/theme/colors/index.d.ts.map +1 -0
  804. package/dist/theme/colors/luxury.d.ts +49 -0
  805. package/dist/theme/colors/luxury.d.ts.map +1 -0
  806. package/dist/theme/components/Autocomplete.d.ts +9 -0
  807. package/dist/theme/components/Autocomplete.d.ts.map +1 -0
  808. package/dist/theme/components/Button.d.ts +33 -0
  809. package/dist/theme/components/Button.d.ts.map +1 -0
  810. package/dist/theme/components/Card.d.ts +20 -0
  811. package/dist/theme/components/Card.d.ts.map +1 -0
  812. package/dist/theme/components/Chip.d.ts +29 -0
  813. package/dist/theme/components/Chip.d.ts.map +1 -0
  814. package/dist/theme/components/DataGrid.d.ts +15 -0
  815. package/dist/theme/components/DataGrid.d.ts.map +1 -0
  816. package/dist/theme/components/DatePicker.d.ts +19 -0
  817. package/dist/theme/components/DatePicker.d.ts.map +1 -0
  818. package/dist/theme/components/Dialog.d.ts +23 -0
  819. package/dist/theme/components/Dialog.d.ts.map +1 -0
  820. package/dist/theme/components/FormControls.d.ts +44 -0
  821. package/dist/theme/components/FormControls.d.ts.map +1 -0
  822. package/dist/theme/components/Tabs.d.ts +21 -0
  823. package/dist/theme/components/Tabs.d.ts.map +1 -0
  824. package/dist/theme/components/TextField.d.ts +87 -0
  825. package/dist/theme/components/TextField.d.ts.map +1 -0
  826. package/dist/theme/components/index.d.ts +27 -0
  827. package/dist/theme/components/index.d.ts.map +1 -0
  828. package/dist/theme/components/theme-utils.d.ts +42 -0
  829. package/dist/theme/components/theme-utils.d.ts.map +1 -0
  830. package/dist/theme/create-theme.d.ts +119 -0
  831. package/dist/theme/create-theme.d.ts.map +1 -0
  832. package/dist/theme/css-variables.d.ts +42 -0
  833. package/dist/theme/css-variables.d.ts.map +1 -0
  834. package/dist/theme/custom-shadows.d.ts +58 -0
  835. package/dist/theme/custom-shadows.d.ts.map +1 -0
  836. package/dist/theme/index.d.ts +23 -1045
  837. package/dist/theme/index.d.ts.map +1 -0
  838. package/dist/theme/index.js +6 -3
  839. package/dist/theme/mixins.d.ts +334 -0
  840. package/dist/theme/mixins.d.ts.map +1 -0
  841. package/dist/theme/opacity.d.ts +51 -0
  842. package/dist/theme/opacity.d.ts.map +1 -0
  843. package/dist/theme/palette/builder.d.ts +138 -0
  844. package/dist/theme/palette/builder.d.ts.map +1 -0
  845. package/dist/theme/palette/index.d.ts +7 -0
  846. package/dist/theme/palette/index.d.ts.map +1 -0
  847. package/dist/theme/palette/overrides.d.ts +23 -0
  848. package/dist/theme/palette/overrides.d.ts.map +1 -0
  849. package/dist/theme/palette.d.ts +43 -0
  850. package/dist/theme/palette.d.ts.map +1 -0
  851. package/dist/theme/presets/arctic.d.ts +13 -0
  852. package/dist/theme/presets/arctic.d.ts.map +1 -0
  853. package/dist/theme/presets/default.d.ts +13 -0
  854. package/dist/theme/presets/default.d.ts.map +1 -0
  855. package/dist/theme/presets/dracula.d.ts +27 -0
  856. package/dist/theme/presets/dracula.d.ts.map +1 -0
  857. package/dist/theme/presets/ember.d.ts +23 -0
  858. package/dist/theme/presets/ember.d.ts.map +1 -0
  859. package/dist/theme/presets/index.d.ts +39 -0
  860. package/dist/theme/presets/index.d.ts.map +1 -0
  861. package/dist/theme/presets/luxury.d.ts +13 -0
  862. package/dist/theme/presets/luxury.d.ts.map +1 -0
  863. package/dist/theme/presets/midnight.d.ts +23 -0
  864. package/dist/theme/presets/midnight.d.ts.map +1 -0
  865. package/dist/theme/presets/minimal.d.ts +23 -0
  866. package/dist/theme/presets/minimal.d.ts.map +1 -0
  867. package/dist/theme/presets/nature.d.ts +14 -0
  868. package/dist/theme/presets/nature.d.ts.map +1 -0
  869. package/dist/theme/presets/retro.d.ts +23 -0
  870. package/dist/theme/presets/retro.d.ts.map +1 -0
  871. package/dist/theme/shadows.d.ts +61 -0
  872. package/dist/theme/shadows.d.ts.map +1 -0
  873. package/dist/theme/typography.d.ts +24 -0
  874. package/dist/theme/typography.d.ts.map +1 -0
  875. package/dist/theme/utils/color.d.ts +295 -0
  876. package/dist/theme/utils/color.d.ts.map +1 -0
  877. package/dist/theme/utils/index.d.ts +7 -0
  878. package/dist/theme/utils/index.d.ts.map +1 -0
  879. package/dist/{registry-DQcIzW2s.d.ts → types/blocks.d.ts} +30 -191
  880. package/dist/types/blocks.d.ts.map +1 -0
  881. package/dist/{components-BCGZ-Rwt.d.ts → types/components.d.ts} +17 -20
  882. package/dist/types/components.d.ts.map +1 -0
  883. package/dist/{config-Pct0n_Kq.d.ts → types/config.d.ts} +14 -16
  884. package/dist/types/config.d.ts.map +1 -0
  885. package/dist/types/index.d.ts +13 -7
  886. package/dist/types/index.d.ts.map +1 -0
  887. package/dist/types/index.js +1 -2
  888. package/dist/types/registry.d.ts +158 -0
  889. package/dist/types/registry.d.ts.map +1 -0
  890. package/dist/{theme-B4Q3Bg5o.d.ts → types/theme.d.ts} +31 -34
  891. package/dist/types/theme.d.ts.map +1 -0
  892. package/dist/ui/index.d.ts +18 -0
  893. package/dist/ui/index.d.ts.map +1 -0
  894. package/dist/ui/index.js +148 -0
  895. package/dist/ui/index.js.map +1 -0
  896. package/dist/utils/async-lock.d.ts +169 -0
  897. package/dist/utils/async-lock.d.ts.map +1 -0
  898. package/dist/utils/cn.d.ts +80 -0
  899. package/dist/utils/cn.d.ts.map +1 -0
  900. package/dist/utils/cookies.d.ts +68 -0
  901. package/dist/utils/cookies.d.ts.map +1 -0
  902. package/dist/utils/create-classes.d.ts +90 -0
  903. package/dist/utils/create-classes.d.ts.map +1 -0
  904. package/dist/utils/errors.d.ts +201 -0
  905. package/dist/utils/errors.d.ts.map +1 -0
  906. package/dist/utils/fetch-interceptor.d.ts +230 -0
  907. package/dist/utils/fetch-interceptor.d.ts.map +1 -0
  908. package/dist/utils/font.d.ts +65 -0
  909. package/dist/utils/font.d.ts.map +1 -0
  910. package/dist/utils/format-crypto.d.ts +312 -0
  911. package/dist/utils/format-crypto.d.ts.map +1 -0
  912. package/dist/utils/format-date.d.ts +240 -0
  913. package/dist/utils/format-date.d.ts.map +1 -0
  914. package/dist/utils/format-number.d.ts +245 -0
  915. package/dist/utils/format-number.d.ts.map +1 -0
  916. package/dist/utils/i18n-text.d.ts +68 -0
  917. package/dist/utils/i18n-text.d.ts.map +1 -0
  918. package/dist/utils/index.d.ts +30 -0
  919. package/dist/utils/index.d.ts.map +1 -0
  920. package/dist/utils/jwt.d.ts +227 -0
  921. package/dist/utils/jwt.d.ts.map +1 -0
  922. package/dist/utils/object.d.ts +96 -0
  923. package/dist/utils/object.d.ts.map +1 -0
  924. package/dist/utils/refs.d.ts +60 -0
  925. package/dist/utils/refs.d.ts.map +1 -0
  926. package/dist/utils/rtl.d.ts +75 -0
  927. package/dist/utils/rtl.d.ts.map +1 -0
  928. package/dist/utils/storage.d.ts +190 -0
  929. package/dist/utils/storage.d.ts.map +1 -0
  930. package/dist/utils/string.d.ts +216 -0
  931. package/dist/utils/string.d.ts.map +1 -0
  932. package/dist/utils/template-resolver.d.ts +12 -0
  933. package/dist/utils/template-resolver.d.ts.map +1 -0
  934. package/dist/utils/toast.d.ts +25 -0
  935. package/dist/utils/toast.d.ts.map +1 -0
  936. package/dist/utils/transform-number.d.ts +108 -0
  937. package/dist/utils/transform-number.d.ts.map +1 -0
  938. package/dist/utils/url.d.ts +198 -0
  939. package/dist/utils/url.d.ts.map +1 -0
  940. package/package.json +120 -63
  941. package/dist/chunk-2FYNRDXR.js.map +0 -1
  942. package/dist/chunk-77KIJLPP.js +0 -37
  943. package/dist/chunk-A2Z7NVGL.js.map +0 -1
  944. package/dist/chunk-BV32OJ2A.js.map +0 -1
  945. package/dist/chunk-DDY7TLUI.js.map +0 -1
  946. package/dist/chunk-HO2GKTWJ.js.map +0 -1
  947. package/dist/chunk-IZOIO7PA.js.map +0 -1
  948. package/dist/chunk-JDTC2SBY.js.map +0 -1
  949. package/dist/chunk-KTCWPGON.js.map +0 -1
  950. package/dist/chunk-MEFT6XPH.js.map +0 -1
  951. package/dist/chunk-SNKGGHBT.js.map +0 -1
  952. package/dist/chunk-VAAIHNWQ.js.map +0 -1
  953. package/dist/chunk-XQXGE2PW.js +0 -16793
  954. package/dist/chunk-XQXGE2PW.js.map +0 -1
  955. package/dist/chunk-XWL6J6IO.js.map +0 -1
  956. package/dist/chunk-XXP3ZGU6.js.map +0 -1
  957. package/dist/chunk-YJMAQL3S.js.map +0 -1
  958. package/dist/index-nmJ8Muwg.d.ts +0 -2368
  959. package/dist/settings-CAC0qFjS.d.ts +0 -455
  960. package/dist/text-transform-D6MzzF7V.d.ts +0 -165
  961. package/dist/use-timeout-D7U3EAtH.d.ts +0 -808
@@ -1,3 +1,4 @@
1
+ import { H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, ParagraphIcon, BoldIcon, ItalicIcon, UnderlineIcon, StrikeIcon, InlineCodeIcon, BulletListIcon, OrderedListIcon, CheckListIcon, AlignLeftIcon, AlignCenterIcon, AlignRightIcon, AlignJustifyIcon, QuoteIcon, CodeBlockIcon, HorizontalRuleIcon, UnlinkIcon, LinkIcon, ImageIcon, HardBreakIcon, ClearMarksIcon, UndoIcon, RedoIcon, ExitFullscreenIcon, FullscreenIcon } from './chunk-75FQ5IW3.js';
1
2
  import { useState, useCallback, useMemo, useEffect } from 'react';
2
3
  import { createLowlight, common } from 'lowlight';
3
4
  import StarterKitExtension from '@tiptap/starter-kit';
@@ -16,7 +17,7 @@ import Backdrop from '@mui/material/Backdrop';
16
17
  import FormHelperText from '@mui/material/FormHelperText';
17
18
  import { styled, alpha } from '@mui/material/styles';
18
19
  import Divider from '@mui/material/Divider';
19
- import SvgIcon2 from '@mui/material/SvgIcon';
20
+ import SvgIcon from '@mui/material/SvgIcon';
20
21
  import Tooltip from '@mui/material/Tooltip';
21
22
  import ButtonBase, { buttonBaseClasses } from '@mui/material/ButtonBase';
22
23
  import { jsx, jsxs, Fragment } from 'react/jsx-runtime';
@@ -29,6 +30,42 @@ import Typography from '@mui/material/Typography';
29
30
  import { BubbleMenu } from '@tiptap/react/menus';
30
31
  import { Extension, Mark } from '@tiptap/core';
31
32
 
33
+ // src/components/editor/types.ts
34
+ var DEFAULT_EDITOR_LABELS = {
35
+ bold: "Bold (\u2318B)",
36
+ italic: "Italic (\u2318I)",
37
+ underline: "Underline (\u2318U)",
38
+ strike: "Strikethrough",
39
+ inlineCode: "Inline code (\u2318E)",
40
+ clearFormat: "Clear format (\u2318\u21E7X)",
41
+ headingMenu: "Heading menu",
42
+ bulletList: "Bullet list",
43
+ orderedList: "Ordered list",
44
+ taskList: "Task list",
45
+ alignLeft: "Align left",
46
+ alignCenter: "Align center",
47
+ alignRight: "Align right",
48
+ alignJustify: "Align justify",
49
+ blockquote: "Blockquote",
50
+ codeBlock: "Code block",
51
+ horizontalRule: "Horizontal rule",
52
+ insertLink: "Insert link",
53
+ removeLink: "Remove link",
54
+ insertImage: "Insert image",
55
+ hardBreak: "Hard break",
56
+ undo: "Undo (\u2318Z)",
57
+ redo: "Redo (\u2318\u21E7Z)",
58
+ fullscreen: "Fullscreen",
59
+ exitFullscreen: "Exit fullscreen",
60
+ linkUrlField: "Link URL",
61
+ linkApply: "Apply",
62
+ imagePopoverTitle: "Add image",
63
+ imageUrlField: "Image URL",
64
+ imageAltField: "Alt text",
65
+ imageApply: "Apply",
66
+ codeLanguageAuto: "auto"
67
+ };
68
+
32
69
  // src/components/editor/classes.ts
33
70
  var cls = (name) => `prism-editor-${name}`;
34
71
  var editorClasses = {
@@ -131,7 +168,14 @@ var EditorRoot = styled("div")(({ theme }) => ({
131
168
  // Placeholder
132
169
  // ---------------------------------------------------------------------------
133
170
  [`& .${editorClasses.content.placeholder}`]: {
134
- "&:first-of-type::before": {
171
+ // `:first-child::before` — placeholder is rendered as the first
172
+ // element of the editable content area when the editor is empty.
173
+ // The previous of-type form fired only when the placeholder was
174
+ // the first sibling of its tag, which is fragile if the editor
175
+ // wrapper changes tag (the placeholder might be the SECOND child
176
+ // of its tag but still the first child overall — both intents
177
+ // converge on the first-child variant).
178
+ "&:first-child::before": {
135
179
  ...theme.typography.body2,
136
180
  height: 0,
137
181
  float: "left",
@@ -392,7 +436,7 @@ function resolveToolbar(config) {
392
436
  function ToolbarItem({ sx, icon, label, active, disabled, ...other }) {
393
437
  const ariaLabel = other["aria-label"];
394
438
  const renderItem = () => /* @__PURE__ */ jsxs(ItemRoot, { disableRipple: true, disableTouchRipple: true, disabled, active, sx, ...other, children: [
395
- icon && /* @__PURE__ */ jsx(SvgIcon2, { sx: { fontSize: 18 }, children: icon }),
439
+ icon && /* @__PURE__ */ jsx(SvgIcon, { sx: { fontSize: 18 }, children: icon }),
396
440
  label && label
397
441
  ] });
398
442
  if (ariaLabel) {
@@ -429,556 +473,6 @@ var ItemRoot = styled(ButtonBase, {
429
473
  }
430
474
  ]
431
475
  }));
432
- var BoldIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
433
- /* @__PURE__ */ jsx(
434
- "path",
435
- {
436
- fill: "none",
437
- stroke: "currentColor",
438
- strokeWidth: "1.5",
439
- strokeLinecap: "round",
440
- strokeLinejoin: "round",
441
- fillRule: "evenodd",
442
- clipRule: "evenodd",
443
- d: "M5 6C5 4.58579 5 3.87868 5.43934 3.43934C5.87868 3 6.58579 3 8 3H12.5789C15.0206 3 17 5.01472 17 7.5C17 9.98528 15.0206 12 12.5789 12H5V6Z"
444
- }
445
- ),
446
- /* @__PURE__ */ jsx(
447
- "path",
448
- {
449
- fill: "none",
450
- stroke: "currentColor",
451
- strokeWidth: "1.5",
452
- strokeLinecap: "round",
453
- strokeLinejoin: "round",
454
- d: "M12.4286 12H13.6667C16.0599 12 18 14.0147 18 16.5C18 18.9853 16.0599 21 13.6667 21H8C6.58579 21 5.87868 21 5.43934 20.5607C5 20.1213 5 19.4142 5 18V12"
455
- }
456
- )
457
- ] });
458
- var ItalicIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
459
- /* @__PURE__ */ jsx("path", { d: "M12 4H19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
460
- /* @__PURE__ */ jsx("path", { d: "M8 20L16 4", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
461
- /* @__PURE__ */ jsx("path", { d: "M5 20H12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
462
- ] });
463
- var UnderlineIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
464
- /* @__PURE__ */ jsx(
465
- "path",
466
- {
467
- fill: "none",
468
- stroke: "currentColor",
469
- strokeWidth: "1.5",
470
- strokeLinecap: "round",
471
- strokeLinejoin: "round",
472
- d: "M5.5 3V11.5C5.5 15.0899 8.41015 18 12 18C15.5899 18 18.5 15.0899 18.5 11.5V3"
473
- }
474
- ),
475
- /* @__PURE__ */ jsx("path", { d: "M3 21H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
476
- ] });
477
- var StrikeIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
478
- /* @__PURE__ */ jsx("path", { d: "M4 12H20", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
479
- /* @__PURE__ */ jsx(
480
- "path",
481
- {
482
- fill: "none",
483
- stroke: "currentColor",
484
- strokeWidth: "1.5",
485
- strokeLinecap: "round",
486
- d: "M17.5 7.66667C17.5 5.08934 15.0376 3 12 3C8.96243 3 6.5 5.08934 6.5 7.66667C6.5 8.15279 6.55336 8.59783 6.6668 9M6 16.3333C6 18.9107 8.68629 21 12 21C15.3137 21 18 19.6667 18 16.3333C18 13.9404 16.9693 12.5782 14.9079 12"
487
- }
488
- )
489
- ] });
490
- var InlineCodeIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
491
- /* @__PURE__ */ jsx(
492
- "path",
493
- {
494
- fill: "none",
495
- stroke: "currentColor",
496
- strokeWidth: "1.5",
497
- strokeLinecap: "round",
498
- strokeLinejoin: "round",
499
- d: "M17 8L18.8398 9.85008C19.6133 10.6279 20 11.0168 20 11.5C20 11.9832 19.6133 12.3721 18.8398 13.1499L17 15"
500
- }
501
- ),
502
- /* @__PURE__ */ jsx(
503
- "path",
504
- {
505
- fill: "none",
506
- stroke: "currentColor",
507
- strokeWidth: "1.5",
508
- strokeLinecap: "round",
509
- strokeLinejoin: "round",
510
- d: "M7 8L5.16019 9.85008C4.38673 10.6279 4 11.0168 4 11.5C4 11.9832 4.38673 12.3721 5.16019 13.1499L7 15"
511
- }
512
- ),
513
- /* @__PURE__ */ jsx("path", { d: "M14.5 4L9.5 20", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
514
- ] });
515
- var CodeBlockIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
516
- /* @__PURE__ */ jsx(
517
- "path",
518
- {
519
- stroke: "currentColor",
520
- strokeWidth: "1.5",
521
- strokeLinecap: "round",
522
- strokeLinejoin: "round",
523
- d: "M16 10L17.2265 11.0572C17.7422 11.5016 18 11.7239 18 12C18 12.2761 17.7422 12.4984 17.2265 12.9428L16 14"
524
- }
525
- ),
526
- /* @__PURE__ */ jsx(
527
- "path",
528
- {
529
- stroke: "currentColor",
530
- strokeWidth: "1.5",
531
- strokeLinecap: "round",
532
- strokeLinejoin: "round",
533
- d: "M8 10L6.77346 11.0572C6.25782 11.5016 6 11.7239 6 12C6 12.2761 6.25782 12.4984 6.77346 12.9428L8 14"
534
- }
535
- ),
536
- /* @__PURE__ */ jsx("path", { d: "M13 9L11 15", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
537
- /* @__PURE__ */ jsx(
538
- "path",
539
- {
540
- fill: "none",
541
- stroke: "currentColor",
542
- strokeWidth: "1.5",
543
- d: "M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z"
544
- }
545
- )
546
- ] });
547
- var H1Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
548
- /* @__PURE__ */ jsx("path", { d: "M4 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
549
- /* @__PURE__ */ jsx("path", { d: "M14 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
550
- /* @__PURE__ */ jsx(
551
- "path",
552
- {
553
- d: "M17 19H18.5M20 19H18.5M18.5 19V11L17 12",
554
- stroke: "currentColor",
555
- strokeWidth: "1.5",
556
- strokeLinecap: "round",
557
- strokeLinejoin: "round"
558
- }
559
- ),
560
- /* @__PURE__ */ jsx("path", { d: "M4 12L14 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
561
- ] });
562
- var H2Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
563
- /* @__PURE__ */ jsx("path", { d: "M3.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
564
- /* @__PURE__ */ jsx("path", { d: "M13.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
565
- /* @__PURE__ */ jsx(
566
- "path",
567
- {
568
- fill: "none",
569
- stroke: "currentColor",
570
- strokeWidth: "1.5",
571
- strokeLinecap: "round",
572
- strokeLinejoin: "round",
573
- d: "M20.5 19H16.5V18.6907C16.5 18.2521 16.5 18.0327 16.5865 17.8385C16.673 17.6443 16.836 17.4976 17.1621 17.2041L19.7671 14.8596C20.2336 14.4397 20.5 13.8416 20.5 13.214V13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13V13.4"
574
- }
575
- ),
576
- /* @__PURE__ */ jsx("path", { d: "M3.5 12L13.5 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
577
- ] });
578
- var H3Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
579
- /* @__PURE__ */ jsx("path", { d: "M3.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
580
- /* @__PURE__ */ jsx("path", { d: "M13.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
581
- /* @__PURE__ */ jsx(
582
- "path",
583
- {
584
- fill: "none",
585
- stroke: "currentColor",
586
- strokeWidth: "1.5",
587
- strokeLinecap: "round",
588
- strokeLinejoin: "round",
589
- d: "M16.5 17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17C20.5 15.8954 19.6046 15 18.5 15C19.6046 15 20.5 14.1046 20.5 13C20.5 11.8954 19.6046 11 18.5 11C17.3954 11 16.5 11.8954 16.5 13"
590
- }
591
- ),
592
- /* @__PURE__ */ jsx("path", { d: "M3.5 12L13.5 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
593
- ] });
594
- var H4Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
595
- /* @__PURE__ */ jsx("path", { d: "M3.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
596
- /* @__PURE__ */ jsx("path", { d: "M13.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
597
- /* @__PURE__ */ jsx(
598
- "path",
599
- {
600
- fill: "none",
601
- d: "M16.5 11V15H20.5M20.5 15V19M20.5 15V11",
602
- stroke: "currentColor",
603
- strokeWidth: "1.5",
604
- strokeLinecap: "round",
605
- strokeLinejoin: "round"
606
- }
607
- ),
608
- /* @__PURE__ */ jsx("path", { d: "M3.5 12L13.5 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
609
- ] });
610
- var H5Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
611
- /* @__PURE__ */ jsx("path", { d: "M3.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
612
- /* @__PURE__ */ jsx("path", { d: "M13.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
613
- /* @__PURE__ */ jsx(
614
- "path",
615
- {
616
- fill: "none",
617
- d: "M16.5 16.5V17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17V16.5C20.5 15.1193 19.3807 14 18 14H16.5V11H20.5",
618
- stroke: "currentColor",
619
- strokeWidth: "1.5",
620
- strokeLinecap: "round",
621
- strokeLinejoin: "round"
622
- }
623
- ),
624
- /* @__PURE__ */ jsx("path", { d: "M3.5 12L13.5 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
625
- ] });
626
- var H6Icon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
627
- /* @__PURE__ */ jsx("path", { d: "M3.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
628
- /* @__PURE__ */ jsx("path", { d: "M13.5 5V19", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
629
- /* @__PURE__ */ jsx(
630
- "path",
631
- {
632
- fill: "none",
633
- d: "M16.5 17C16.5 18.1046 17.3954 19 18.5 19C19.6046 19 20.5 18.1046 20.5 17C20.5 15.8954 19.6046 15 18.5 15C17.3954 15 16.5 15.8954 16.5 17ZM16.5 17V13C16.5 11.8954 17.3954 11 18.5 11C19.6046 11 20.5 11.8954 20.5 13",
634
- stroke: "currentColor",
635
- strokeWidth: "1.5",
636
- strokeLinecap: "round",
637
- strokeLinejoin: "round"
638
- }
639
- ),
640
- /* @__PURE__ */ jsx("path", { d: "M3.5 12L13.5 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
641
- ] });
642
- var ParagraphIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
643
- /* @__PURE__ */ jsx("path", { stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round", d: "M15 21.001H9" }),
644
- /* @__PURE__ */ jsx(
645
- "path",
646
- {
647
- stroke: "currentColor",
648
- strokeWidth: "1.5",
649
- strokeLinecap: "round",
650
- d: "M12 3.00001V21.0008M12 3.00001C13.3874 3.00001 15.1695 3.03055 16.5884 3.17649C17.1885 3.2382 17.4886 3.26906 17.7541 3.37791C18.3066 3.60429 18.7518 4.10063 18.9194 4.67681C19 4.95382 19 5.26992 19 5.90215M12 3.00001C10.6126 3.00001 8.83047 3.03055 7.41161 3.17649C6.8115 3.2382 6.51144 3.26906 6.24586 3.37791C5.69344 3.60429 5.24816 4.10063 5.08057 4.67681C5 4.95382 5 5.26992 5 5.90215"
651
- }
652
- )
653
- ] });
654
- var AlignLeftIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
655
- /* @__PURE__ */ jsx("path", { d: "M3 3H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
656
- /* @__PURE__ */ jsx("path", { d: "M3 9H11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
657
- /* @__PURE__ */ jsx("path", { d: "M3 15H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
658
- /* @__PURE__ */ jsx("path", { d: "M3 21H11", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
659
- ] });
660
- var AlignCenterIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
661
- /* @__PURE__ */ jsx("path", { d: "M3 3H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
662
- /* @__PURE__ */ jsx("path", { d: "M8 9H16", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
663
- /* @__PURE__ */ jsx("path", { d: "M3 15H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
664
- /* @__PURE__ */ jsx("path", { d: "M8 21H16", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
665
- ] });
666
- var AlignRightIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
667
- /* @__PURE__ */ jsx("path", { d: "M3 3H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
668
- /* @__PURE__ */ jsx("path", { d: "M13 9H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
669
- /* @__PURE__ */ jsx("path", { d: "M3 15H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
670
- /* @__PURE__ */ jsx("path", { d: "M13 21H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
671
- ] });
672
- var AlignJustifyIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
673
- /* @__PURE__ */ jsx("path", { d: "M3 3H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
674
- /* @__PURE__ */ jsx("path", { d: "M3 9H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
675
- /* @__PURE__ */ jsx("path", { d: "M3 15H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
676
- /* @__PURE__ */ jsx("path", { d: "M3 21H21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" })
677
- ] });
678
- var BulletListIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
679
- /* @__PURE__ */ jsx("path", { d: "M11 5.5L21 5.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
680
- /* @__PURE__ */ jsx(
681
- "path",
682
- {
683
- fill: "none",
684
- stroke: "currentColor",
685
- strokeWidth: "1.5",
686
- strokeLinecap: "round",
687
- d: "M5.4 16.8926C6.46667 17.607 7 17.9642 7 18.5C7 19.0358 6.46667 19.393 5.4 20.1074C4.33333 20.8218 3.8 21.1789 3.4 20.9111C3 20.6432 3 19.9288 3 18.5C3 17.0712 3 16.3568 3.4 16.0889C3.8 15.8211 4.33333 16.1782 5.4 16.8926Z"
688
- }
689
- ),
690
- /* @__PURE__ */ jsx(
691
- "path",
692
- {
693
- fill: "none",
694
- stroke: "currentColor",
695
- strokeWidth: "1.5",
696
- strokeLinecap: "round",
697
- d: "M5.4 3.89263C6.46667 4.60702 7 4.96421 7 5.5C7 6.03579 6.46667 6.39298 5.4 7.10737C4.33333 7.82176 3.8 8.17895 3.4 7.91105C3 7.64316 3 6.92877 3 5.5C3 4.07123 3 3.35684 3.4 3.08895C3.8 2.82105 4.33333 3.17824 5.4 3.89263Z"
698
- }
699
- ),
700
- /* @__PURE__ */ jsx("path", { d: "M11 12L21 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
701
- /* @__PURE__ */ jsx("path", { d: "M11 18.5L21 18.5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
702
- ] });
703
- var OrderedListIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
704
- /* @__PURE__ */ jsx("path", { d: "M11 6L21 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
705
- /* @__PURE__ */ jsx("path", { d: "M11 12L21 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
706
- /* @__PURE__ */ jsx("path", { d: "M11 18L21 18", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
707
- /* @__PURE__ */ jsx(
708
- "path",
709
- {
710
- fill: "none",
711
- stroke: "currentColor",
712
- strokeWidth: "1.5",
713
- strokeLinecap: "round",
714
- strokeLinejoin: "round",
715
- d: "M3 15H4.5C4.77879 15 4.91819 15 5.03411 15.0231C5.51014 15.1177 5.88225 15.4899 5.97694 15.9659C6 16.0818 6 16.2212 6 16.5C6 16.7788 6 16.9182 5.97694 17.0341C5.88225 17.5101 5.51014 17.8823 5.03411 17.9769C4.91819 18 4.77879 18 4.5 18C4.22121 18 4.08181 18 3.96589 18.0231C3.48986 18.1177 3.11775 18.4899 3.02306 18.9659C3 19.0818 3 19.2212 3 19.5V20.4C3 20.6828 3 20.8243 3.08787 20.9121C3.17574 21 3.31716 21 3.6 21H6"
716
- }
717
- ),
718
- /* @__PURE__ */ jsx(
719
- "path",
720
- {
721
- d: "M3 3H4.2C4.36569 3 4.5 3.13431 4.5 3.3V9M4.5 9H3M4.5 9H6",
722
- stroke: "currentColor",
723
- strokeWidth: "1.5",
724
- strokeLinecap: "round",
725
- strokeLinejoin: "round"
726
- }
727
- )
728
- ] });
729
- var CheckListIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
730
- /* @__PURE__ */ jsx("path", { d: "M11 6L21 6", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
731
- /* @__PURE__ */ jsx("path", { d: "M11 12L21 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
732
- /* @__PURE__ */ jsx("path", { d: "M11 18L21 18", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
733
- /* @__PURE__ */ jsx(
734
- "path",
735
- {
736
- stroke: "currentColor",
737
- strokeWidth: "1.5",
738
- strokeLinecap: "round",
739
- strokeLinejoin: "round",
740
- d: "M3 7.39286C3 7.39286 4 8.04466 4.5 9C4.5 9 6 5.25 8 4"
741
- }
742
- ),
743
- /* @__PURE__ */ jsx(
744
- "path",
745
- {
746
- stroke: "currentColor",
747
- strokeWidth: "1.5",
748
- strokeLinecap: "round",
749
- strokeLinejoin: "round",
750
- d: "M3 18.3929C3 18.3929 4 19.0447 4.5 20C4.5 20 6 16.25 8 15"
751
- }
752
- )
753
- ] });
754
- var QuoteIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
755
- /* @__PURE__ */ jsx(
756
- "path",
757
- {
758
- fill: "none",
759
- stroke: "currentColor",
760
- strokeWidth: "1.5",
761
- d: "M14 16C14 14.1144 14 13.1716 14.5858 12.5858C15.1716 12 16.1144 12 18 12C19.8856 12 20.8284 12 21.4142 12.5858C22 13.1716 22 14.1144 22 16C22 17.8856 22 18.8284 21.4142 19.4142C20.8284 20 19.8856 20 18 20C16.1144 20 15.1716 20 14.5858 19.4142C14 18.8284 14 17.8856 14 16Z"
762
- }
763
- ),
764
- /* @__PURE__ */ jsx(
765
- "path",
766
- {
767
- fill: "none",
768
- d: "M14 16V11.8626C14 8.19569 16.5157 5.08584 20 4",
769
- stroke: "currentColor",
770
- strokeWidth: "1.5",
771
- strokeLinecap: "round"
772
- }
773
- ),
774
- /* @__PURE__ */ jsx(
775
- "path",
776
- {
777
- fill: "none",
778
- stroke: "currentColor",
779
- strokeWidth: "1.5",
780
- d: "M2 16C2 14.1144 2 13.1716 2.58579 12.5858C3.17157 12 4.11438 12 6 12C7.88562 12 8.82843 12 9.41421 12.5858C10 13.1716 10 14.1144 10 16C10 17.8856 10 18.8284 9.41421 19.4142C8.82843 20 7.88562 20 6 20C4.11438 20 3.17157 20 2.58579 19.4142C2 18.8284 2 17.8856 2 16Z"
781
- }
782
- ),
783
- /* @__PURE__ */ jsx(
784
- "path",
785
- {
786
- fill: "none",
787
- d: "M2 16V11.8626C2 8.19569 4.51571 5.08584 8 4",
788
- stroke: "currentColor",
789
- strokeWidth: "1.5",
790
- strokeLinecap: "round"
791
- }
792
- )
793
- ] });
794
- var HorizontalRuleIcon = (props) => /* @__PURE__ */ jsx(SvgIcon2, { ...props, children: /* @__PURE__ */ jsx("path", { d: "M2.5 12L21.5002 12", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }) });
795
- var TableIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
796
- /* @__PURE__ */ jsx(
797
- "path",
798
- {
799
- fill: "none",
800
- stroke: "currentColor",
801
- strokeWidth: "1.5",
802
- strokeLinecap: "round",
803
- strokeLinejoin: "round",
804
- d: "M3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088Z"
805
- }
806
- ),
807
- /* @__PURE__ */ jsx("path", { d: "M2.5 9L21.5 9", stroke: "currentColor", strokeWidth: "1.5" }),
808
- /* @__PURE__ */ jsx("path", { d: "M2.5 13L21.5 13", stroke: "currentColor", strokeWidth: "1.5" }),
809
- /* @__PURE__ */ jsx("path", { d: "M2.5 17L21.5 17", stroke: "currentColor", strokeWidth: "1.5" }),
810
- /* @__PURE__ */ jsx("path", { d: "M12 21.5L12 9", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" })
811
- ] });
812
- var LinkIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
813
- /* @__PURE__ */ jsx("path", { d: "M9.5 14.5L14.5 9.49995", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round" }),
814
- /* @__PURE__ */ jsx(
815
- "path",
816
- {
817
- fill: "none",
818
- stroke: "currentColor",
819
- strokeWidth: "1.5",
820
- strokeLinecap: "round",
821
- d: "M16.8463 14.6095L19.4558 12C21.5147 9.94108 21.5147 6.60298 19.4558 4.54411C17.397 2.48524 14.0589 2.48524 12 4.54411L9.39045 7.15366M14.6095 16.8463L12 19.4558C9.94113 21.5147 6.60303 21.5147 4.54416 19.4558C2.48528 17.3969 2.48528 14.0588 4.54416 12L7.1537 9.39041"
822
- }
823
- )
824
- ] });
825
- var UnlinkIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
826
- /* @__PURE__ */ jsx(
827
- "path",
828
- {
829
- fill: "none",
830
- d: "M16.8463 14.6095L19.4558 12C21.5147 9.94113 21.5147 6.60303 19.4558 4.54416C17.397 2.48528 14.0589 2.48528 12 4.54416L9.39045 7.1537M14.6095 16.8463L12 19.4558C9.94113 21.5147 6.60303 21.5147 4.54416 19.4558C2.48528 17.397 2.48528 14.0589 4.54416 12L7.1537 9.39045",
831
- stroke: "currentColor",
832
- strokeWidth: "1.5",
833
- strokeLinecap: "round"
834
- }
835
- ),
836
- /* @__PURE__ */ jsx(
837
- "path",
838
- {
839
- d: "M22 17H19.9211M17 22L17 19.9211",
840
- stroke: "currentColor",
841
- strokeWidth: "1.5",
842
- strokeLinecap: "round",
843
- strokeLinejoin: "round"
844
- }
845
- ),
846
- /* @__PURE__ */ jsx(
847
- "path",
848
- {
849
- d: "M2 7H4.07889M7 2L7 4.07889",
850
- stroke: "currentColor",
851
- strokeWidth: "1.5",
852
- strokeLinecap: "round",
853
- strokeLinejoin: "round"
854
- }
855
- )
856
- ] });
857
- var ImageIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
858
- /* @__PURE__ */ jsx(
859
- "circle",
860
- {
861
- fill: "none",
862
- cx: "7.5",
863
- cy: "7.5",
864
- r: "1.5",
865
- stroke: "currentColor",
866
- strokeWidth: "1.5",
867
- strokeLinecap: "round",
868
- strokeLinejoin: "round"
869
- }
870
- ),
871
- /* @__PURE__ */ jsx(
872
- "path",
873
- {
874
- fill: "none",
875
- stroke: "currentColor",
876
- strokeWidth: "1.5",
877
- d: "M2.5 12C2.5 7.52166 2.5 5.28249 3.89124 3.89124C5.28249 2.5 7.52166 2.5 12 2.5C16.4783 2.5 18.7175 2.5 20.1088 3.89124C21.5 5.28249 21.5 7.52166 21.5 12C21.5 16.4783 21.5 18.7175 20.1088 20.1088C18.7175 21.5 16.4783 21.5 12 21.5C7.52166 21.5 5.28249 21.5 3.89124 20.1088C2.5 18.7175 2.5 16.4783 2.5 12Z"
878
- }
879
- ),
880
- /* @__PURE__ */ jsx(
881
- "path",
882
- {
883
- fill: "none",
884
- stroke: "currentColor",
885
- strokeWidth: "1.5",
886
- d: "M5 21C9.37246 15.775 14.2741 8.88406 21.4975 13.5424"
887
- }
888
- )
889
- ] });
890
- var ClearMarksIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
891
- /* @__PURE__ */ jsx("path", { d: "M11 20.001H5", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
892
- /* @__PURE__ */ jsx("path", { d: "M3 3L21 21", stroke: "currentColor", strokeWidth: "1.5", strokeLinecap: "round", strokeLinejoin: "round" }),
893
- /* @__PURE__ */ jsx(
894
- "path",
895
- {
896
- fill: "none",
897
- stroke: "currentColor",
898
- strokeWidth: "1.5",
899
- strokeLinecap: "round",
900
- d: "M19 7C19 6.36778 19 5.95381 18.9194 5.6768C18.7518 5.10062 18.3066 4.60428 17.7541 4.37789C17.4886 4.26905 17.1885 4.23819 16.5884 4.17648C15.1695 4.03054 13.3874 4 12 4H8"
901
- }
902
- ),
903
- /* @__PURE__ */ jsx(
904
- "path",
905
- {
906
- d: "M12 4L11.2 7.20003M8 20.0008L10.4001 10.4001",
907
- stroke: "currentColor",
908
- strokeWidth: "1.5",
909
- strokeLinecap: "round",
910
- strokeLinejoin: "round"
911
- }
912
- )
913
- ] });
914
- var UndoIcon = (props) => /* @__PURE__ */ jsx(SvgIcon2, { ...props, children: /* @__PURE__ */ jsx(
915
- "path",
916
- {
917
- fill: "none",
918
- d: "M3 12C3 16.9706 7.02944 21 12 21C16.9706 21 21 16.9706 21 12C21 7.02944 16.9706 3 12 3C8.79275 3 5.97733 4.67765 4.38341 7.20327M3.29339 3.00076L3.46556 5.05452C3.58958 6.53384 3.65159 7.27349 4.13359 7.68914C4.61559 8.10479 5.32673 8.03185 6.74899 7.88595L8.79339 7.67625",
919
- stroke: "currentColor",
920
- strokeWidth: "1.5",
921
- strokeLinecap: "round",
922
- strokeLinejoin: "round"
923
- }
924
- ) });
925
- var RedoIcon = (props) => /* @__PURE__ */ jsx(SvgIcon2, { ...props, children: /* @__PURE__ */ jsx(
926
- "path",
927
- {
928
- fill: "none",
929
- stroke: "currentColor",
930
- strokeWidth: "1.5",
931
- strokeLinecap: "round",
932
- strokeLinejoin: "round",
933
- d: "M21 12C21 16.9706 16.9706 21 12 21C7.02944 21 3 16.9706 3 12C3 7.02944 7.02944 3 12 3C15.2073 3 18.0227 4.67765 19.6166 7.20327M20.7066 3.00076L20.5344 5.05452C20.4104 6.53384 20.3484 7.27349 19.8664 7.68914C19.3844 8.10479 18.6733 8.03185 17.251 7.88595L15.2066 7.67625"
934
- }
935
- ) });
936
- var HardBreakIcon = (props) => /* @__PURE__ */ jsxs(SvgIcon2, { ...props, children: [
937
- /* @__PURE__ */ jsx(
938
- "path",
939
- {
940
- fill: "none",
941
- stroke: "currentColor",
942
- strokeWidth: "1.5",
943
- strokeLinecap: "round",
944
- strokeLinejoin: "round",
945
- d: "M13 6H8.5C6.01472 6 4 8.01472 4 10.5C4 12.9853 6.01472 15 8.5 15H20"
946
- }
947
- ),
948
- /* @__PURE__ */ jsx(
949
- "path",
950
- {
951
- fill: "none",
952
- stroke: "currentColor",
953
- strokeWidth: "1.5",
954
- strokeLinecap: "round",
955
- strokeLinejoin: "round",
956
- d: "M17 12C17 12 20 14.2095 20 15C20 15.7906 17 18 17 18"
957
- }
958
- )
959
- ] });
960
- var FullscreenIcon = (props) => /* @__PURE__ */ jsx(SvgIcon2, { ...props, children: /* @__PURE__ */ jsx(
961
- "path",
962
- {
963
- fill: "none",
964
- stroke: "currentColor",
965
- strokeWidth: "1.5",
966
- strokeLinecap: "round",
967
- strokeLinejoin: "round",
968
- d: "M15.5 21C16.8956 21 17.5933 21 18.1611 20.8278C19.4395 20.44 20.44 19.4395 20.8278 18.1611C21 17.5933 21 16.8956 21 15.5M21 8.5C21 7.10444 21 6.40666 20.8278 5.83886C20.44 4.56046 19.4395 3.56004 18.1611 3.17224C17.5933 3 16.8956 3 15.5 3M8.5 21C7.10444 21 6.40666 21 5.83886 20.8278C4.56046 20.44 3.56004 19.4395 3.17224 18.1611C3 17.5933 3 16.8956 3 15.5M3 8.5C3 7.10444 3 6.40666 3.17224 5.83886C3.56004 4.56046 4.56046 3.56004 5.83886 3.17224C6.40666 3 7.10444 3 8.5 3"
969
- }
970
- ) });
971
- var ExitFullscreenIcon = (props) => /* @__PURE__ */ jsx(SvgIcon2, { ...props, children: /* @__PURE__ */ jsx(
972
- "path",
973
- {
974
- fill: "none",
975
- stroke: "currentColor",
976
- strokeWidth: "1.5",
977
- strokeLinecap: "round",
978
- strokeLinejoin: "round",
979
- d: "M15.5 9.5L21 4M15.5 9.5V5M15.5 9.5H20M8.5 14.5L3 20M8.5 14.5V19M8.5 14.5H4"
980
- }
981
- ) });
982
476
  var HEADING_OPTIONS = [
983
477
  { key: "Paragraph", level: null, icon: /* @__PURE__ */ jsx(ParagraphIcon, { sx: { fontSize: 18 } }) },
984
478
  { key: "Heading 1", level: 1, icon: /* @__PURE__ */ jsx(H1Icon, { sx: { fontSize: 18 } }) },
@@ -988,7 +482,7 @@ var HEADING_OPTIONS = [
988
482
  { key: "Heading 5", level: 5, icon: /* @__PURE__ */ jsx(H5Icon, { sx: { fontSize: 18 } }) },
989
483
  { key: "Heading 6", level: 6, icon: /* @__PURE__ */ jsx(H6Icon, { sx: { fontSize: 18 } }) }
990
484
  ];
991
- function HeadingBlock({ editor, isActive }) {
485
+ function HeadingBlock({ editor, isActive, labels }) {
992
486
  const [anchorEl, setAnchorEl] = useState(null);
993
487
  const open = Boolean(anchorEl);
994
488
  const handleOpen = useCallback((event) => {
@@ -1016,7 +510,7 @@ function HeadingBlock({ editor, isActive }) {
1016
510
  HeadingButton,
1017
511
  {
1018
512
  id: buttonId,
1019
- "aria-label": "Heading menu",
513
+ "aria-label": labels.headingMenu,
1020
514
  "aria-controls": open ? menuId : void 0,
1021
515
  "aria-haspopup": "true",
1022
516
  "aria-expanded": open ? "true" : void 0,
@@ -1072,7 +566,7 @@ var HeadingButton = styled(ButtonBase)(({ theme }) => ({
1072
566
  backgroundColor: theme.palette.action.hover
1073
567
  }
1074
568
  }));
1075
- function LinkBlock({ editor, linkIcon, unlinkIcon, active }) {
569
+ function LinkBlock({ editor, linkIcon, unlinkIcon, active, labels }) {
1076
570
  const [linkUrl, setLinkUrl] = useState("");
1077
571
  const [anchorEl, setAnchorEl] = useState(null);
1078
572
  const open = Boolean(anchorEl);
@@ -1102,7 +596,7 @@ function LinkBlock({ editor, linkIcon, unlinkIcon, active }) {
1102
596
  ToolbarItem,
1103
597
  {
1104
598
  "aria-describedby": popoverId,
1105
- "aria-label": "Insert link",
599
+ "aria-label": labels.insertLink,
1106
600
  active,
1107
601
  className: editorClasses.toolbar.link,
1108
602
  onClick: handleOpen,
@@ -1112,14 +606,14 @@ function LinkBlock({ editor, linkIcon, unlinkIcon, active }) {
1112
606
  /* @__PURE__ */ jsx(
1113
607
  ToolbarItem,
1114
608
  {
1115
- "aria-label": "Remove link",
609
+ "aria-label": labels.removeLink,
1116
610
  disabled: !active,
1117
611
  className: editorClasses.toolbar.unlink,
1118
612
  onClick: () => editor.chain().focus().unsetLink().run(),
1119
613
  icon: unlinkIcon
1120
614
  }
1121
615
  ),
1122
- /* @__PURE__ */ jsxs(
616
+ /* @__PURE__ */ jsx(
1123
617
  Popover,
1124
618
  {
1125
619
  id: popoverId,
@@ -1132,30 +626,28 @@ function LinkBlock({ editor, linkIcon, unlinkIcon, active }) {
1132
626
  sx: { p: 2.5, gap: 1.25, width: 1, maxWidth: 320, display: "flex", flexDirection: "column" }
1133
627
  }
1134
628
  },
1135
- children: [
1136
- /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", children: "Link URL" }),
1137
- /* @__PURE__ */ jsxs(Box, { sx: { gap: 1, display: "flex", alignItems: "center" }, children: [
1138
- /* @__PURE__ */ jsx(
1139
- TextField2,
1140
- {
1141
- fullWidth: true,
1142
- size: "small",
1143
- placeholder: "https://",
1144
- value: linkUrl,
1145
- onChange: (e) => setLinkUrl(e.target.value),
1146
- onKeyDown: (e) => {
1147
- if (e.key === "Enter") handleApply();
1148
- }
629
+ children: /* @__PURE__ */ jsxs(Box, { sx: { gap: 1, display: "flex", alignItems: "center" }, children: [
630
+ /* @__PURE__ */ jsx(
631
+ TextField2,
632
+ {
633
+ fullWidth: true,
634
+ size: "small",
635
+ label: labels.linkUrlField,
636
+ placeholder: "https://",
637
+ value: linkUrl,
638
+ onChange: (e) => setLinkUrl(e.target.value),
639
+ onKeyDown: (e) => {
640
+ if (e.key === "Enter") handleApply();
1149
641
  }
1150
- ),
1151
- /* @__PURE__ */ jsx(Button, { variant: "contained", disabled: !linkUrl, onClick: handleApply, children: "Apply" })
1152
- ] })
1153
- ]
642
+ }
643
+ ),
644
+ /* @__PURE__ */ jsx(Button, { variant: "contained", disabled: !linkUrl, onClick: handleApply, children: labels.linkApply })
645
+ ] })
1154
646
  }
1155
647
  )
1156
648
  ] });
1157
649
  }
1158
- function ImageBlock({ editor, icon }) {
650
+ function ImageBlock({ editor, icon, labels }) {
1159
651
  const [anchorEl, setAnchorEl] = useState(null);
1160
652
  const open = Boolean(anchorEl);
1161
653
  const [state, setState] = useState({ imageUrl: "", altText: "" });
@@ -1176,7 +668,7 @@ function ImageBlock({ editor, icon }) {
1176
668
  ToolbarItem,
1177
669
  {
1178
670
  "aria-describedby": popoverId,
1179
- "aria-label": "Insert image",
671
+ "aria-label": labels.insertImage,
1180
672
  className: editorClasses.toolbar.image,
1181
673
  onClick: handleOpen,
1182
674
  icon
@@ -1196,13 +688,14 @@ function ImageBlock({ editor, icon }) {
1196
688
  }
1197
689
  },
1198
690
  children: [
1199
- /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", children: "Add image" }),
691
+ /* @__PURE__ */ jsx(Typography, { variant: "subtitle2", children: labels.imagePopoverTitle }),
1200
692
  /* @__PURE__ */ jsx(
1201
693
  TextField2,
1202
694
  {
1203
695
  fullWidth: true,
1204
696
  size: "small",
1205
- placeholder: "Image URL",
697
+ label: labels.imageUrlField,
698
+ placeholder: "https://",
1206
699
  value: state.imageUrl,
1207
700
  onChange: (e) => setState((prev) => ({ ...prev, imageUrl: e.target.value }))
1208
701
  }
@@ -1212,12 +705,12 @@ function ImageBlock({ editor, icon }) {
1212
705
  {
1213
706
  fullWidth: true,
1214
707
  size: "small",
1215
- placeholder: "Alt text",
708
+ label: labels.imageAltField,
1216
709
  value: state.altText,
1217
710
  onChange: (e) => setState((prev) => ({ ...prev, altText: e.target.value }))
1218
711
  }
1219
712
  ),
1220
- /* @__PURE__ */ jsx(Button, { variant: "contained", disabled: !state.imageUrl, onClick: handleApply, sx: { alignSelf: "flex-end" }, children: "Apply" })
713
+ /* @__PURE__ */ jsx(Button, { variant: "contained", disabled: !state.imageUrl, onClick: handleApply, sx: { alignSelf: "flex-end" }, children: labels.imageApply })
1221
714
  ]
1222
715
  }
1223
716
  )
@@ -1249,14 +742,14 @@ function useToolbarState(editor) {
1249
742
  }
1250
743
  });
1251
744
  }
1252
- function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
745
+ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen, labels }) {
1253
746
  const state = useToolbarState(editor);
1254
747
  const has = (item) => toolbar.items.has(item);
1255
748
  const chain = () => editor.chain().focus();
1256
749
  const hasAnyInGroup = (...items) => items.some(has);
1257
750
  return /* @__PURE__ */ jsxs(ToolbarRoot, { className: editorClasses.toolbar.root, children: [
1258
751
  has("heading") && /* @__PURE__ */ jsxs(Fragment, { children: [
1259
- /* @__PURE__ */ jsx(HeadingBlock, { editor, isActive: state.isTextLevel }),
752
+ /* @__PURE__ */ jsx(HeadingBlock, { labels, editor, isActive: state.isTextLevel }),
1260
753
  /* @__PURE__ */ jsx(ToolbarDivider, {})
1261
754
  ] }),
1262
755
  hasAnyInGroup("bold", "italic", "underline", "strike", "code") && /* @__PURE__ */ jsxs(Fragment, { children: [
@@ -1264,7 +757,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1264
757
  has("bold") && /* @__PURE__ */ jsx(
1265
758
  ToolbarItem,
1266
759
  {
1267
- "aria-label": "Bold (\u2318B)",
760
+ "aria-label": labels.bold,
1268
761
  active: state.isBold,
1269
762
  className: editorClasses.toolbar.bold,
1270
763
  onClick: () => chain().toggleBold().run(),
@@ -1274,7 +767,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1274
767
  has("italic") && /* @__PURE__ */ jsx(
1275
768
  ToolbarItem,
1276
769
  {
1277
- "aria-label": "Italic (\u2318I)",
770
+ "aria-label": labels.italic,
1278
771
  active: state.isItalic,
1279
772
  className: editorClasses.toolbar.italic,
1280
773
  onClick: () => chain().toggleItalic().run(),
@@ -1284,7 +777,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1284
777
  has("underline") && /* @__PURE__ */ jsx(
1285
778
  ToolbarItem,
1286
779
  {
1287
- "aria-label": "Underline (\u2318U)",
780
+ "aria-label": labels.underline,
1288
781
  active: state.isUnderline,
1289
782
  className: editorClasses.toolbar.underline,
1290
783
  onClick: () => chain().toggleUnderline().run(),
@@ -1294,7 +787,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1294
787
  has("strike") && /* @__PURE__ */ jsx(
1295
788
  ToolbarItem,
1296
789
  {
1297
- "aria-label": "Strikethrough",
790
+ "aria-label": labels.strike,
1298
791
  active: state.isStrike,
1299
792
  className: editorClasses.toolbar.strike,
1300
793
  onClick: () => chain().toggleStrike().run(),
@@ -1304,7 +797,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1304
797
  has("code") && /* @__PURE__ */ jsx(
1305
798
  ToolbarItem,
1306
799
  {
1307
- "aria-label": "Inline code (\u2318E)",
800
+ "aria-label": labels.inlineCode,
1308
801
  active: state.isCode,
1309
802
  className: editorClasses.toolbar.code,
1310
803
  onClick: () => chain().toggleCode().run(),
@@ -1319,7 +812,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1319
812
  has("bulletList") && /* @__PURE__ */ jsx(
1320
813
  ToolbarItem,
1321
814
  {
1322
- "aria-label": "Bullet list",
815
+ "aria-label": labels.bulletList,
1323
816
  active: state.isBulletList,
1324
817
  className: editorClasses.toolbar.bulletList,
1325
818
  onClick: () => chain().toggleBulletList().run(),
@@ -1329,7 +822,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1329
822
  has("orderedList") && /* @__PURE__ */ jsx(
1330
823
  ToolbarItem,
1331
824
  {
1332
- "aria-label": "Ordered list",
825
+ "aria-label": labels.orderedList,
1333
826
  active: state.isOrderedList,
1334
827
  className: editorClasses.toolbar.orderedList,
1335
828
  onClick: () => chain().toggleOrderedList().run(),
@@ -1339,7 +832,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1339
832
  has("taskList") && /* @__PURE__ */ jsx(
1340
833
  ToolbarItem,
1341
834
  {
1342
- "aria-label": "Task list",
835
+ "aria-label": labels.taskList,
1343
836
  active: state.isTaskList,
1344
837
  className: editorClasses.toolbar.taskList,
1345
838
  onClick: () => chain().toggleTaskList().run(),
@@ -1354,7 +847,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1354
847
  has("alignLeft") && /* @__PURE__ */ jsx(
1355
848
  ToolbarItem,
1356
849
  {
1357
- "aria-label": "Align left",
850
+ "aria-label": labels.alignLeft,
1358
851
  active: state.isAlign("left"),
1359
852
  className: editorClasses.toolbar.alignLeft,
1360
853
  onClick: () => chain().setTextAlign("left").run(),
@@ -1364,7 +857,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1364
857
  has("alignCenter") && /* @__PURE__ */ jsx(
1365
858
  ToolbarItem,
1366
859
  {
1367
- "aria-label": "Align center",
860
+ "aria-label": labels.alignCenter,
1368
861
  active: state.isAlign("center"),
1369
862
  className: editorClasses.toolbar.alignCenter,
1370
863
  onClick: () => chain().setTextAlign("center").run(),
@@ -1374,7 +867,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1374
867
  has("alignRight") && /* @__PURE__ */ jsx(
1375
868
  ToolbarItem,
1376
869
  {
1377
- "aria-label": "Align right",
870
+ "aria-label": labels.alignRight,
1378
871
  active: state.isAlign("right"),
1379
872
  className: editorClasses.toolbar.alignRight,
1380
873
  onClick: () => chain().setTextAlign("right").run(),
@@ -1384,7 +877,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1384
877
  has("alignJustify") && /* @__PURE__ */ jsx(
1385
878
  ToolbarItem,
1386
879
  {
1387
- "aria-label": "Align justify",
880
+ "aria-label": labels.alignJustify,
1388
881
  active: state.isAlign("justify"),
1389
882
  className: editorClasses.toolbar.alignJustify,
1390
883
  onClick: () => chain().setTextAlign("justify").run(),
@@ -1399,7 +892,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1399
892
  has("blockquote") && /* @__PURE__ */ jsx(
1400
893
  ToolbarItem,
1401
894
  {
1402
- "aria-label": "Blockquote",
895
+ "aria-label": labels.blockquote,
1403
896
  active: state.isBlockquote,
1404
897
  className: editorClasses.toolbar.blockquote,
1405
898
  onClick: () => chain().toggleBlockquote().run(),
@@ -1409,7 +902,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1409
902
  has("codeBlock") && /* @__PURE__ */ jsx(
1410
903
  ToolbarItem,
1411
904
  {
1412
- "aria-label": "Code block",
905
+ "aria-label": labels.codeBlock,
1413
906
  active: state.isCodeBlock,
1414
907
  className: editorClasses.toolbar.codeBlock,
1415
908
  onClick: () => chain().toggleCodeBlock().run(),
@@ -1419,7 +912,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1419
912
  has("horizontalRule") && /* @__PURE__ */ jsx(
1420
913
  ToolbarItem,
1421
914
  {
1422
- "aria-label": "Horizontal rule",
915
+ "aria-label": labels.horizontalRule,
1423
916
  className: editorClasses.toolbar.hr,
1424
917
  onClick: () => chain().setHorizontalRule().run(),
1425
918
  icon: /* @__PURE__ */ jsx(HorizontalRuleIcon, {})
@@ -1430,8 +923,8 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1430
923
  ] }),
1431
924
  hasAnyInGroup("link", "image") && /* @__PURE__ */ jsxs(Fragment, { children: [
1432
925
  /* @__PURE__ */ jsxs(ToolbarBlock, { children: [
1433
- has("link") && /* @__PURE__ */ jsx(LinkBlock, { editor, active: state.isLink, linkIcon: /* @__PURE__ */ jsx(LinkIcon, {}), unlinkIcon: /* @__PURE__ */ jsx(UnlinkIcon, {}) }),
1434
- has("image") && /* @__PURE__ */ jsx(ImageBlock, { editor, icon: /* @__PURE__ */ jsx(ImageIcon, {}) })
926
+ has("link") && /* @__PURE__ */ jsx(LinkBlock, { labels, editor, active: state.isLink, linkIcon: /* @__PURE__ */ jsx(LinkIcon, {}), unlinkIcon: /* @__PURE__ */ jsx(UnlinkIcon, {}) }),
927
+ has("image") && /* @__PURE__ */ jsx(ImageBlock, { labels, editor, icon: /* @__PURE__ */ jsx(ImageIcon, {}) })
1435
928
  ] }),
1436
929
  /* @__PURE__ */ jsx(ToolbarDivider, {})
1437
930
  ] }),
@@ -1440,7 +933,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1440
933
  has("hardBreak") && /* @__PURE__ */ jsx(
1441
934
  ToolbarItem,
1442
935
  {
1443
- "aria-label": "Hard break",
936
+ "aria-label": labels.hardBreak,
1444
937
  className: editorClasses.toolbar.hardBreak,
1445
938
  onClick: () => chain().setHardBreak().run(),
1446
939
  icon: /* @__PURE__ */ jsx(HardBreakIcon, {})
@@ -1449,7 +942,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1449
942
  has("clearFormat") && /* @__PURE__ */ jsx(
1450
943
  ToolbarItem,
1451
944
  {
1452
- "aria-label": "Clear format (\u2318\u21E7X)",
945
+ "aria-label": labels.clearFormat,
1453
946
  className: editorClasses.toolbar.clear,
1454
947
  onClick: () => chain().clearNodes().unsetAllMarks().run(),
1455
948
  icon: /* @__PURE__ */ jsx(ClearMarksIcon, {})
@@ -1463,7 +956,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1463
956
  has("undo") && /* @__PURE__ */ jsx(
1464
957
  ToolbarItem,
1465
958
  {
1466
- "aria-label": "Undo (\u2318Z)",
959
+ "aria-label": labels.undo,
1467
960
  disabled: !state.canUndo,
1468
961
  className: editorClasses.toolbar.undo,
1469
962
  onClick: () => chain().undo().run(),
@@ -1473,7 +966,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1473
966
  has("redo") && /* @__PURE__ */ jsx(
1474
967
  ToolbarItem,
1475
968
  {
1476
- "aria-label": "Redo (\u2318\u21E7Z)",
969
+ "aria-label": labels.redo,
1477
970
  disabled: !state.canRedo,
1478
971
  className: editorClasses.toolbar.redo,
1479
972
  onClick: () => chain().redo().run(),
@@ -1486,7 +979,7 @@ function Toolbar({ editor, toolbar, fullscreen, onToggleFullscreen }) {
1486
979
  has("fullscreen") && /* @__PURE__ */ jsx(ToolbarBlock, { children: /* @__PURE__ */ jsx(
1487
980
  ToolbarItem,
1488
981
  {
1489
- "aria-label": fullscreen ? "Exit fullscreen" : "Fullscreen",
982
+ "aria-label": fullscreen ? labels.exitFullscreen : labels.fullscreen,
1490
983
  active: fullscreen,
1491
984
  className: editorClasses.toolbar.fullscreen,
1492
985
  onClick: onToggleFullscreen,
@@ -1515,14 +1008,14 @@ var ToolbarBlock = styled("div")(({ theme }) => ({
1515
1008
  function ToolbarDivider() {
1516
1009
  return /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { height: 16, my: "auto" } });
1517
1010
  }
1518
- function BubbleToolbar({ editor }) {
1011
+ function BubbleToolbar({ editor, labels }) {
1519
1012
  const state = useToolbarState(editor);
1520
1013
  const chain = () => editor.chain().focus();
1521
1014
  return /* @__PURE__ */ jsx(BubbleMenu, { editor, children: /* @__PURE__ */ jsxs(BubbleRoot, { children: [
1522
1015
  /* @__PURE__ */ jsx(
1523
1016
  ToolbarItem,
1524
1017
  {
1525
- "aria-label": "Bold",
1018
+ "aria-label": labels.bold,
1526
1019
  active: state.isBold,
1527
1020
  className: editorClasses.toolbar.bold,
1528
1021
  onClick: () => chain().toggleBold().run(),
@@ -1532,7 +1025,7 @@ function BubbleToolbar({ editor }) {
1532
1025
  /* @__PURE__ */ jsx(
1533
1026
  ToolbarItem,
1534
1027
  {
1535
- "aria-label": "Italic",
1028
+ "aria-label": labels.italic,
1536
1029
  active: state.isItalic,
1537
1030
  className: editorClasses.toolbar.italic,
1538
1031
  onClick: () => chain().toggleItalic().run(),
@@ -1542,7 +1035,7 @@ function BubbleToolbar({ editor }) {
1542
1035
  /* @__PURE__ */ jsx(
1543
1036
  ToolbarItem,
1544
1037
  {
1545
- "aria-label": "Underline",
1038
+ "aria-label": labels.underline,
1546
1039
  active: state.isUnderline,
1547
1040
  className: editorClasses.toolbar.underline,
1548
1041
  onClick: () => chain().toggleUnderline().run(),
@@ -1552,19 +1045,19 @@ function BubbleToolbar({ editor }) {
1552
1045
  /* @__PURE__ */ jsx(
1553
1046
  ToolbarItem,
1554
1047
  {
1555
- "aria-label": "Strike",
1048
+ "aria-label": labels.strike,
1556
1049
  active: state.isStrike,
1557
1050
  className: editorClasses.toolbar.strike,
1558
1051
  onClick: () => chain().toggleStrike().run(),
1559
1052
  icon: /* @__PURE__ */ jsx(StrikeIcon, {})
1560
1053
  }
1561
1054
  ),
1562
- /* @__PURE__ */ jsx(LinkBlock, { editor, active: state.isLink, linkIcon: /* @__PURE__ */ jsx(LinkIcon, {}), unlinkIcon: /* @__PURE__ */ jsx(UnlinkIcon, {}) }),
1055
+ /* @__PURE__ */ jsx(LinkBlock, { labels, editor, active: state.isLink, linkIcon: /* @__PURE__ */ jsx(LinkIcon, {}), unlinkIcon: /* @__PURE__ */ jsx(UnlinkIcon, {}) }),
1563
1056
  /* @__PURE__ */ jsx(Divider, { orientation: "vertical", flexItem: true, sx: { height: 16, my: "auto" } }),
1564
1057
  /* @__PURE__ */ jsx(
1565
1058
  ToolbarItem,
1566
1059
  {
1567
- "aria-label": "Clear format",
1060
+ "aria-label": labels.clearFormat,
1568
1061
  className: editorClasses.toolbar.clear,
1569
1062
  onClick: () => chain().clearNodes().unsetAllMarks().run(),
1570
1063
  icon: /* @__PURE__ */ jsx(ClearMarksIcon, {})
@@ -1585,6 +1078,7 @@ function CodeHighlightBlock(props) {
1585
1078
  const { node, extension, updateAttributes } = props;
1586
1079
  const language = node.attrs.language;
1587
1080
  const lowlight = extension.options.lowlight;
1081
+ const autoLabel = extension.options.autoLanguageLabel ?? DEFAULT_EDITOR_LABELS.codeLanguageAuto;
1588
1082
  const handleChangeLanguage = useCallback(
1589
1083
  (event) => {
1590
1084
  updateAttributes({ language: event.target.value });
@@ -1601,7 +1095,7 @@ function CodeHighlightBlock(props) {
1601
1095
  onChange: handleChangeLanguage,
1602
1096
  className: editorClasses.content.langSelect,
1603
1097
  children: [
1604
- /* @__PURE__ */ jsx("option", { value: "null", children: "auto" }),
1098
+ /* @__PURE__ */ jsx("option", { value: "null", children: autoLabel }),
1605
1099
  /* @__PURE__ */ jsx("option", { disabled: true, children: "\u2014" }),
1606
1100
  lowlight.listLanguages().map((lang) => /* @__PURE__ */ jsx("option", { value: lang, children: lang }, lang))
1607
1101
  ]
@@ -1690,6 +1184,7 @@ function Editor({
1690
1184
  editable = true,
1691
1185
  extraExtensions,
1692
1186
  placeholder = "Write something...",
1187
+ labels: labelOverrides,
1693
1188
  ref: contentRef,
1694
1189
  value: initialContent = "",
1695
1190
  ...other
@@ -1700,6 +1195,7 @@ function Editor({
1700
1195
  const showBubbleMenu = bubbleMenuProp ?? resolvedToolbar.bubbleMenu;
1701
1196
  const showToolbar = resolvedToolbar.items.size > 0;
1702
1197
  const lowlight = useMemo(() => createLowlight(common), []);
1198
+ const labels = useMemo(() => ({ ...DEFAULT_EDITOR_LABELS, ...labelOverrides }), [labelOverrides]);
1703
1199
  const parsedContent = useMemo(() => {
1704
1200
  if (!initialContent) return "";
1705
1201
  if (format === "json" && initialContent.startsWith("{")) {
@@ -1711,19 +1207,12 @@ function Editor({
1711
1207
  }
1712
1208
  return initialContent;
1713
1209
  }, [initialContent, format]);
1714
- const debouncedOnChange = useMemo(() => {
1715
- let timer;
1716
- return (editor2) => {
1717
- clearTimeout(timer);
1718
- timer = setTimeout(() => {
1719
- if (format === "json") {
1720
- onChange?.(JSON.stringify(editor2.getJSON()));
1721
- } else {
1722
- onChange?.(editor2.getHTML());
1723
- }
1724
- }, 200);
1725
- };
1726
- }, [onChange, format]);
1210
+ const emitChange = useCallback(
1211
+ (editor2) => {
1212
+ onChange?.(format === "json" ? JSON.stringify(editor2.getJSON()) : editor2.getHTML());
1213
+ },
1214
+ [onChange, format]
1215
+ );
1727
1216
  const extensions = useMemo(() => {
1728
1217
  const has = (item) => resolvedToolbar.items.has(item);
1729
1218
  const exts = [
@@ -1767,8 +1256,12 @@ function Editor({
1767
1256
  if (has("codeBlock")) {
1768
1257
  exts.push(
1769
1258
  CodeBlockLowlightExtension.extend({
1259
+ addOptions() {
1260
+ const inherited = this.parent?.();
1261
+ return { ...inherited, autoLanguageLabel: DEFAULT_EDITOR_LABELS.codeLanguageAuto };
1262
+ },
1770
1263
  addNodeView: () => ReactNodeViewRenderer(CodeHighlightBlock)
1771
- }).configure({ lowlight })
1264
+ }).configure({ lowlight, autoLanguageLabel: labels.codeLanguageAuto })
1772
1265
  );
1773
1266
  }
1774
1267
  if (has("taskList")) {
@@ -1784,14 +1277,14 @@ function Editor({
1784
1277
  exts.push(...extraExtensions);
1785
1278
  }
1786
1279
  return exts;
1787
- }, [resolvedToolbar, placeholder, lowlight, extraExtensions]);
1280
+ }, [resolvedToolbar, placeholder, lowlight, extraExtensions, labels]);
1788
1281
  const editor = useEditor({
1789
1282
  editable,
1790
1283
  immediatelyRender: false,
1791
1284
  content: parsedContent,
1792
1285
  shouldRerenderOnTransaction: !!rerenderKey,
1793
1286
  onUpdate: (ctx) => {
1794
- debouncedOnChange(ctx.editor);
1287
+ emitChange(ctx.editor);
1795
1288
  },
1796
1289
  extensions,
1797
1290
  ...other
@@ -1855,13 +1348,14 @@ function Editor({
1855
1348
  showToolbar && /* @__PURE__ */ jsx(
1856
1349
  Toolbar,
1857
1350
  {
1351
+ labels,
1858
1352
  editor,
1859
1353
  toolbar: resolvedToolbar,
1860
1354
  fullscreen,
1861
1355
  onToggleFullscreen: handleToggleFullscreen
1862
1356
  }
1863
1357
  ),
1864
- showBubbleMenu && /* @__PURE__ */ jsx(BubbleToolbar, { editor }),
1358
+ showBubbleMenu && /* @__PURE__ */ jsx(BubbleToolbar, { editor, labels }),
1865
1359
  /* @__PURE__ */ jsx(
1866
1360
  EditorContent,
1867
1361
  {
@@ -1882,6 +1376,6 @@ function Editor({
1882
1376
  ] });
1883
1377
  }
1884
1378
 
1885
- export { AlignCenterIcon, AlignJustifyIcon, AlignLeftIcon, AlignRightIcon, BoldIcon, BubbleToolbar, BulletListIcon, CheckListIcon, ClearFormat, ClearMarksIcon, CodeBlockIcon, CodeHighlightBlock, Editor, ExitFullscreenIcon, FullscreenIcon, H1Icon, H2Icon, H3Icon, H4Icon, H5Icon, H6Icon, HardBreakIcon, HeadingBlock, HorizontalRuleIcon, ImageBlock, ImageIcon, InlineCodeIcon, ItalicIcon, LinkBlock, LinkIcon, OrderedListIcon, ParagraphIcon, QuoteIcon, RedoIcon, StrikeIcon, TableIcon, TextTransform, Toolbar, ToolbarItem, UnderlineIcon, UndoIcon, UnlinkIcon, editorClasses, resolveToolbar, useToolbarState };
1886
- //# sourceMappingURL=chunk-YJMAQL3S.js.map
1887
- //# sourceMappingURL=chunk-YJMAQL3S.js.map
1379
+ export { BubbleToolbar, ClearFormat, CodeHighlightBlock, DEFAULT_EDITOR_LABELS, Editor, HeadingBlock, ImageBlock, LinkBlock, TextTransform, Toolbar, ToolbarItem, editorClasses, resolveToolbar, useToolbarState };
1380
+ //# sourceMappingURL=chunk-LOY2NPCO.js.map
1381
+ //# sourceMappingURL=chunk-LOY2NPCO.js.map