@soul-refiner/design-system 2.0.0-alpha.19 → 2.0.0-alpha.2

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 (2181) hide show
  1. package/dist/common/styles.d.ts +1 -11
  2. package/dist/components/actions/button/button.d.ts +1 -1
  3. package/dist/components/actions/dropdown/dropdown.d.ts +1 -1
  4. package/dist/components/actions/upload/upload.d.ts +1 -1
  5. package/dist/components/atoms/box/box.d.ts +1 -8
  6. package/dist/components/atoms/typography/display.d.ts +1 -1
  7. package/dist/components/atoms/typography/heading.d.ts +1 -1
  8. package/dist/components/atoms/typography/paragraph.d.ts +1 -1
  9. package/dist/components/atoms/typography/typography.d.ts +1 -5
  10. package/dist/components/card/card.d.ts +10 -9
  11. package/dist/components/card/meeting/meeting.d.ts +1 -1
  12. package/dist/components/card/person/person.d.ts +1 -1
  13. package/dist/components/card/price/price.d.ts +1 -1
  14. package/dist/components/custom/users_selection/users_selection.d.ts +1 -1
  15. package/dist/components/editor/simple_editor/navbar.d.ts +3 -0
  16. package/dist/components/feedback/animated_toast/animated_toast.d.ts +1 -1
  17. package/dist/components/feedback/loader/loader.d.ts +1 -1
  18. package/dist/components/iconography/icon/icon.d.ts +1 -1
  19. package/dist/components/input/radio/radio.d.ts +1 -1
  20. package/dist/components/media/video-player/video.d.ts +1 -1
  21. package/dist/components/navigation/inner/inner.d.ts +1 -1
  22. package/dist/icons/arrow/arrow_all.d.ts +1 -1
  23. package/dist/icons/arrow/arrow_all_diagonal.d.ts +1 -1
  24. package/dist/icons/arrow/arrow_both_downwards.d.ts +1 -1
  25. package/dist/icons/arrow/arrow_both_upwards.d.ts +1 -1
  26. package/dist/icons/arrow/arrow_circle_left.d.ts +1 -1
  27. package/dist/icons/arrow/arrow_circle_left_double.d.ts +1 -1
  28. package/dist/icons/arrow/arrow_circle_left_double_alert.d.ts +1 -1
  29. package/dist/icons/arrow/arrow_circle_right.d.ts +1 -1
  30. package/dist/icons/arrow/arrow_circle_right_double.d.ts +1 -1
  31. package/dist/icons/arrow/arrow_circle_right_double_alert.d.ts +1 -1
  32. package/dist/icons/arrow/arrow_diagonal_down_left.d.ts +1 -1
  33. package/dist/icons/arrow/arrow_diagonal_down_left_circle.d.ts +1 -1
  34. package/dist/icons/arrow/arrow_diagonal_down_right.d.ts +1 -1
  35. package/dist/icons/arrow/arrow_diagonal_down_right_circle.d.ts +1 -1
  36. package/dist/icons/arrow/arrow_diagonal_up_left.d.ts +1 -1
  37. package/dist/icons/arrow/arrow_diagonal_up_left_circle.d.ts +1 -1
  38. package/dist/icons/arrow/arrow_diagonal_up_right.d.ts +1 -1
  39. package/dist/icons/arrow/arrow_diagonal_up_right_circle.d.ts +1 -1
  40. package/dist/icons/arrow/arrow_down.d.ts +1 -1
  41. package/dist/icons/arrow/arrow_down_bold.d.ts +1 -1
  42. package/dist/icons/arrow/arrow_down_circle.d.ts +1 -1
  43. package/dist/icons/arrow/arrow_left.d.ts +1 -1
  44. package/dist/icons/arrow/arrow_left_bold.d.ts +1 -1
  45. package/dist/icons/arrow/arrow_left_circle.d.ts +1 -1
  46. package/dist/icons/arrow/arrow_left_curved.d.ts +1 -1
  47. package/dist/icons/arrow/arrow_left_curved_circle.d.ts +1 -1
  48. package/dist/icons/arrow/arrow_right.d.ts +1 -1
  49. package/dist/icons/arrow/arrow_right_bold.d.ts +1 -1
  50. package/dist/icons/arrow/arrow_right_circle.d.ts +1 -1
  51. package/dist/icons/arrow/arrow_right_curved.d.ts +1 -1
  52. package/dist/icons/arrow/arrow_right_curved_circle.d.ts +1 -1
  53. package/dist/icons/arrow/arrow_up.d.ts +1 -1
  54. package/dist/icons/arrow/arrow_up_bold.d.ts +1 -1
  55. package/dist/icons/arrow/arrow_up_circle.d.ts +1 -1
  56. package/dist/icons/arrow/chevron_down.d.ts +1 -1
  57. package/dist/icons/arrow/chevron_down_circle.d.ts +1 -1
  58. package/dist/icons/arrow/chevron_down_double.d.ts +1 -1
  59. package/dist/icons/arrow/chevron_down_double_circle.d.ts +1 -1
  60. package/dist/icons/arrow/chevron_left.d.ts +1 -1
  61. package/dist/icons/arrow/chevron_left_circle.d.ts +1 -1
  62. package/dist/icons/arrow/chevron_left_double.d.ts +1 -1
  63. package/dist/icons/arrow/chevron_left_double_circle.d.ts +1 -1
  64. package/dist/icons/arrow/chevron_right.d.ts +1 -1
  65. package/dist/icons/arrow/chevron_right_circle.d.ts +1 -1
  66. package/dist/icons/arrow/chevron_right_double.d.ts +1 -1
  67. package/dist/icons/arrow/chevron_right_double_circle.d.ts +1 -1
  68. package/dist/icons/arrow/chevron_scroll.d.ts +1 -1
  69. package/dist/icons/arrow/chevron_up.d.ts +1 -1
  70. package/dist/icons/arrow/chevron_up_circle.d.ts +1 -1
  71. package/dist/icons/arrow/chevron_up_double.d.ts +1 -1
  72. package/dist/icons/arrow/chevron_up_double_circle.d.ts +1 -1
  73. package/dist/icons/arrow/forward_all.d.ts +1 -1
  74. package/dist/icons/arrow/forward_all_bold.d.ts +1 -1
  75. package/dist/icons/arrow/forward_bold.d.ts +1 -1
  76. package/dist/icons/arrow/redo.d.ts +1 -1
  77. package/dist/icons/arrow/redo_bold.d.ts +1 -1
  78. package/dist/icons/arrow/reply.d.ts +1 -1
  79. package/dist/icons/arrow/reply_all.d.ts +1 -1
  80. package/dist/icons/arrow/reply_all_bold.d.ts +1 -1
  81. package/dist/icons/arrow/reply_bold.d.ts +1 -1
  82. package/dist/icons/arrow/undo.d.ts +1 -1
  83. package/dist/icons/arrow/undo_bold.d.ts +1 -1
  84. package/dist/icons/audio_video/drag_indicator.d.ts +1 -1
  85. package/dist/icons/audio_video/eject.d.ts +1 -1
  86. package/dist/icons/audio_video/equalizer.d.ts +1 -1
  87. package/dist/icons/audio_video/fast_forward.d.ts +1 -1
  88. package/dist/icons/audio_video/fast_forward_30.d.ts +1 -1
  89. package/dist/icons/audio_video/fullscreen.d.ts +1 -1
  90. package/dist/icons/audio_video/headphones.d.ts +1 -1
  91. package/dist/icons/audio_video/library_add.d.ts +1 -1
  92. package/dist/icons/audio_video/library_delay.d.ts +1 -1
  93. package/dist/icons/audio_video/library_music.d.ts +1 -1
  94. package/dist/icons/audio_video/library_queue.d.ts +1 -1
  95. package/dist/icons/audio_video/microphone.d.ts +1 -1
  96. package/dist/icons/audio_video/musical_note.d.ts +1 -1
  97. package/dist/icons/audio_video/next.d.ts +1 -1
  98. package/dist/icons/audio_video/pause.d.ts +1 -1
  99. package/dist/icons/audio_video/pause_circle.d.ts +1 -1
  100. package/dist/icons/audio_video/play.d.ts +1 -1
  101. package/dist/icons/audio_video/play_circle.d.ts +1 -1
  102. package/dist/icons/audio_video/play_display.d.ts +1 -1
  103. package/dist/icons/audio_video/play_pause.d.ts +1 -1
  104. package/dist/icons/audio_video/play_solid.d.ts +1 -1
  105. package/dist/icons/audio_video/player_list.d.ts +1 -1
  106. package/dist/icons/audio_video/player_list_add.d.ts +1 -1
  107. package/dist/icons/audio_video/player_list_play.d.ts +1 -1
  108. package/dist/icons/audio_video/previous.d.ts +1 -1
  109. package/dist/icons/audio_video/radio.d.ts +1 -1
  110. package/dist/icons/audio_video/record.d.ts +1 -1
  111. package/dist/icons/audio_video/repeat.d.ts +1 -1
  112. package/dist/icons/audio_video/rewind.d.ts +1 -1
  113. package/dist/icons/audio_video/rewind_30.d.ts +1 -1
  114. package/dist/icons/audio_video/shuffle.d.ts +1 -1
  115. package/dist/icons/audio_video/sound_wave.d.ts +1 -1
  116. package/dist/icons/audio_video/stop.d.ts +1 -1
  117. package/dist/icons/audio_video/stop_circle.d.ts +1 -1
  118. package/dist/icons/audio_video/subscriptions.d.ts +1 -1
  119. package/dist/icons/audio_video/tuner.d.ts +1 -1
  120. package/dist/icons/audio_video/volume.d.ts +1 -1
  121. package/dist/icons/audio_video/volume_high.d.ts +1 -1
  122. package/dist/icons/audio_video/volume_low.d.ts +1 -1
  123. package/dist/icons/audio_video/volume_slash.d.ts +1 -1
  124. package/dist/icons/basic/aa_sansserif.d.ts +1 -1
  125. package/dist/icons/basic/aa_serif.d.ts +1 -1
  126. package/dist/icons/basic/anchor.d.ts +1 -1
  127. package/dist/icons/basic/bible.d.ts +1 -1
  128. package/dist/icons/basic/bold.d.ts +1 -1
  129. package/dist/icons/basic/book.d.ts +1 -1
  130. package/dist/icons/basic/book_open.d.ts +1 -1
  131. package/dist/icons/basic/bookmark.d.ts +1 -1
  132. package/dist/icons/basic/bookmark_add.d.ts +1 -1
  133. package/dist/icons/basic/bookmark_slash.d.ts +1 -1
  134. package/dist/icons/basic/bookmarks.d.ts +1 -1
  135. package/dist/icons/basic/books.d.ts +1 -1
  136. package/dist/icons/basic/box.d.ts +1 -1
  137. package/dist/icons/basic/briefcase.d.ts +1 -1
  138. package/dist/icons/basic/browse_activity.d.ts +1 -1
  139. package/dist/icons/basic/browser.d.ts +1 -1
  140. package/dist/icons/basic/browser_slash.d.ts +1 -1
  141. package/dist/icons/basic/calculator.d.ts +1 -1
  142. package/dist/icons/basic/camera.d.ts +1 -1
  143. package/dist/icons/basic/camera_add.d.ts +1 -1
  144. package/dist/icons/basic/camera_slash.d.ts +1 -1
  145. package/dist/icons/basic/checkmark.d.ts +1 -1
  146. package/dist/icons/basic/checkmark_circle.d.ts +1 -1
  147. package/dist/icons/basic/checkmark_filled.d.ts +1 -1
  148. package/dist/icons/basic/checkmarks.d.ts +1 -1
  149. package/dist/icons/basic/circle.d.ts +1 -1
  150. package/dist/icons/basic/circle_slash.d.ts +1 -1
  151. package/dist/icons/basic/clear_text_style.d.ts +1 -1
  152. package/dist/icons/basic/close.d.ts +1 -1
  153. package/dist/icons/basic/close_circle.d.ts +1 -1
  154. package/dist/icons/basic/close_filled.d.ts +1 -1
  155. package/dist/icons/basic/copy.d.ts +1 -1
  156. package/dist/icons/basic/delete.d.ts +1 -1
  157. package/dist/icons/basic/detail.d.ts +1 -1
  158. package/dist/icons/basic/dot.d.ts +1 -1
  159. package/dist/icons/basic/download.d.ts +1 -1
  160. package/dist/icons/basic/download_arrow.d.ts +1 -1
  161. package/dist/icons/basic/droplet.d.ts +1 -1
  162. package/dist/icons/basic/ellipsis_horizontal.d.ts +1 -1
  163. package/dist/icons/basic/ellipsis_horizontal_circle.d.ts +1 -1
  164. package/dist/icons/basic/ellipsis_vertical.d.ts +1 -1
  165. package/dist/icons/basic/ellipsis_vertical_circle.d.ts +1 -1
  166. package/dist/icons/basic/eye.d.ts +1 -1
  167. package/dist/icons/basic/eye_slash.d.ts +1 -1
  168. package/dist/icons/basic/fingerprint.d.ts +1 -1
  169. package/dist/icons/basic/flag.d.ts +1 -1
  170. package/dist/icons/basic/flag_wave.d.ts +1 -1
  171. package/dist/icons/basic/flag_wave_filled.d.ts +1 -1
  172. package/dist/icons/basic/flame.d.ts +1 -1
  173. package/dist/icons/basic/gauge.d.ts +1 -1
  174. package/dist/icons/basic/glasses.d.ts +1 -1
  175. package/dist/icons/basic/graduation_cap.d.ts +1 -1
  176. package/dist/icons/basic/hashmark.d.ts +1 -1
  177. package/dist/icons/basic/heart.d.ts +1 -1
  178. package/dist/icons/basic/heart_slash.d.ts +1 -1
  179. package/dist/icons/basic/highlighter.d.ts +1 -1
  180. package/dist/icons/basic/home.d.ts +1 -1
  181. package/dist/icons/basic/image.d.ts +1 -1
  182. package/dist/icons/basic/inbox.d.ts +1 -1
  183. package/dist/icons/basic/italic.d.ts +1 -1
  184. package/dist/icons/basic/layers.d.ts +1 -1
  185. package/dist/icons/basic/lightening.d.ts +1 -1
  186. package/dist/icons/basic/lightening_slash.d.ts +1 -1
  187. package/dist/icons/basic/link.d.ts +1 -1
  188. package/dist/icons/basic/link_slash.d.ts +1 -1
  189. package/dist/icons/basic/loudspeaker.d.ts +1 -1
  190. package/dist/icons/basic/maximize.d.ts +1 -1
  191. package/dist/icons/basic/menu.d.ts +1 -1
  192. package/dist/icons/basic/menu_circle.d.ts +1 -1
  193. package/dist/icons/basic/menu_dots.d.ts +1 -1
  194. package/dist/icons/basic/microphone_slash.d.ts +1 -1
  195. package/dist/icons/basic/minimize.d.ts +1 -1
  196. package/dist/icons/basic/minus.d.ts +1 -1
  197. package/dist/icons/basic/minus_circle.d.ts +1 -1
  198. package/dist/icons/basic/move_item.d.ts +1 -1
  199. package/dist/icons/basic/new.d.ts +1 -1
  200. package/dist/icons/basic/newspaper.d.ts +1 -1
  201. package/dist/icons/basic/node.d.ts +1 -1
  202. package/dist/icons/basic/note_pad.d.ts +1 -1
  203. package/dist/icons/basic/options.d.ts +1 -1
  204. package/dist/icons/basic/paint_brush.d.ts +1 -1
  205. package/dist/icons/basic/paperclip.d.ts +1 -1
  206. package/dist/icons/basic/paperclip_slash.d.ts +1 -1
  207. package/dist/icons/basic/pencil.d.ts +1 -1
  208. package/dist/icons/basic/pencil_pad.d.ts +1 -1
  209. package/dist/icons/basic/plus.d.ts +1 -1
  210. package/dist/icons/basic/plus_circle.d.ts +1 -1
  211. package/dist/icons/basic/presentation.d.ts +1 -1
  212. package/dist/icons/basic/printer.d.ts +1 -1
  213. package/dist/icons/basic/profile.d.ts +1 -1
  214. package/dist/icons/basic/profile_check.d.ts +1 -1
  215. package/dist/icons/basic/pulse.d.ts +1 -1
  216. package/dist/icons/basic/qr_code.d.ts +1 -1
  217. package/dist/icons/basic/resize.d.ts +1 -1
  218. package/dist/icons/basic/scan.d.ts +1 -1
  219. package/dist/icons/basic/scissors.d.ts +1 -1
  220. package/dist/icons/basic/screenshot.d.ts +1 -1
  221. package/dist/icons/basic/search.d.ts +1 -1
  222. package/dist/icons/basic/select_item.d.ts +1 -1
  223. package/dist/icons/basic/settings.d.ts +1 -1
  224. package/dist/icons/basic/share.d.ts +1 -1
  225. package/dist/icons/basic/share_external.d.ts +1 -1
  226. package/dist/icons/basic/square.d.ts +1 -1
  227. package/dist/icons/basic/star.d.ts +1 -1
  228. package/dist/icons/basic/star_circle.d.ts +1 -1
  229. package/dist/icons/basic/star_filled.d.ts +1 -1
  230. package/dist/icons/basic/star_filled_half.d.ts +1 -1
  231. package/dist/icons/basic/star_slash.d.ts +1 -1
  232. package/dist/icons/basic/sticker.d.ts +1 -1
  233. package/dist/icons/basic/strikethrough.d.ts +1 -1
  234. package/dist/icons/basic/subtask.d.ts +1 -1
  235. package/dist/icons/basic/tax.d.ts +1 -1
  236. package/dist/icons/basic/text_bg_color.d.ts +1 -1
  237. package/dist/icons/basic/text_color.d.ts +1 -1
  238. package/dist/icons/basic/textbox.d.ts +1 -1
  239. package/dist/icons/basic/thumbs_down.d.ts +1 -1
  240. package/dist/icons/basic/thumbs_up.d.ts +1 -1
  241. package/dist/icons/basic/thumbs_up_filled.d.ts +1 -1
  242. package/dist/icons/basic/toggle_left.d.ts +1 -1
  243. package/dist/icons/basic/toggle_right.d.ts +1 -1
  244. package/dist/icons/basic/translate.d.ts +1 -1
  245. package/dist/icons/basic/trash.d.ts +1 -1
  246. package/dist/icons/basic/trash_slash.d.ts +1 -1
  247. package/dist/icons/basic/underline.d.ts +1 -1
  248. package/dist/icons/basic/upload.d.ts +1 -1
  249. package/dist/icons/basic/video.d.ts +1 -1
  250. package/dist/icons/basic/video_add.d.ts +1 -1
  251. package/dist/icons/basic/video_slash.d.ts +1 -1
  252. package/dist/icons/basic/wrench.d.ts +1 -1
  253. package/dist/icons/basic/zoom_in.d.ts +1 -1
  254. package/dist/icons/basic/zoom_out.d.ts +1 -1
  255. package/dist/icons/data/bar_chart.d.ts +1 -1
  256. package/dist/icons/data/bar_chart_downward.d.ts +1 -1
  257. package/dist/icons/data/bar_chart_downward_outline.d.ts +1 -1
  258. package/dist/icons/data/bar_chart_upward.d.ts +1 -1
  259. package/dist/icons/data/bar_chart_upward_outline.d.ts +1 -1
  260. package/dist/icons/data/candlestick_chart.d.ts +1 -1
  261. package/dist/icons/data/four_circles.d.ts +1 -1
  262. package/dist/icons/data/legend_toggle.d.ts +1 -1
  263. package/dist/icons/data/line_chart.d.ts +1 -1
  264. package/dist/icons/data/line_chart_area.d.ts +1 -1
  265. package/dist/icons/data/line_chart_area_shaded.d.ts +1 -1
  266. package/dist/icons/data/line_chart_double.d.ts +1 -1
  267. package/dist/icons/data/line_chart_downward.d.ts +1 -1
  268. package/dist/icons/data/line_chart_node.d.ts +1 -1
  269. package/dist/icons/data/line_chart_outline.d.ts +1 -1
  270. package/dist/icons/data/line_chart_search.d.ts +1 -1
  271. package/dist/icons/data/line_chart_stars.d.ts +1 -1
  272. package/dist/icons/data/line_chart_upward.d.ts +1 -1
  273. package/dist/icons/data/pie_chart.d.ts +1 -1
  274. package/dist/icons/data/tree.d.ts +1 -1
  275. package/dist/icons/email/mail.d.ts +1 -1
  276. package/dist/icons/email/mail_check.d.ts +1 -1
  277. package/dist/icons/email/mail_minus.d.ts +1 -1
  278. package/dist/icons/email/mail_send.d.ts +1 -1
  279. package/dist/icons/email/send.d.ts +1 -1
  280. package/dist/icons/email/send_close.d.ts +1 -1
  281. package/dist/icons/email/send_schedule.d.ts +1 -1
  282. package/dist/icons/email/send_text.d.ts +1 -1
  283. package/dist/icons/emoji/emoji_add.d.ts +1 -1
  284. package/dist/icons/emoji/laughing.d.ts +1 -1
  285. package/dist/icons/emoji/neutral.d.ts +1 -1
  286. package/dist/icons/emoji/sad.d.ts +1 -1
  287. package/dist/icons/emoji/shocked.d.ts +1 -1
  288. package/dist/icons/emoji/smile.d.ts +1 -1
  289. package/dist/icons/file/clipboard.d.ts +1 -1
  290. package/dist/icons/file/clipboard_check.d.ts +1 -1
  291. package/dist/icons/file/clipboard_close.d.ts +1 -1
  292. package/dist/icons/file/clipboard_minus.d.ts +1 -1
  293. package/dist/icons/file/clipboard_plus.d.ts +1 -1
  294. package/dist/icons/file/clipboard_text.d.ts +1 -1
  295. package/dist/icons/file/file.d.ts +1 -1
  296. package/dist/icons/file/file_add.d.ts +1 -1
  297. package/dist/icons/file/file_check.d.ts +1 -1
  298. package/dist/icons/file/file_close.d.ts +1 -1
  299. package/dist/icons/file/file_code.d.ts +1 -1
  300. package/dist/icons/file/file_download.d.ts +1 -1
  301. package/dist/icons/file/file_draft.d.ts +1 -1
  302. package/dist/icons/file/file_gear.d.ts +1 -1
  303. package/dist/icons/file/file_minus.d.ts +1 -1
  304. package/dist/icons/file/file_plus.d.ts +1 -1
  305. package/dist/icons/file/file_scan.d.ts +1 -1
  306. package/dist/icons/file/file_shred.d.ts +1 -1
  307. package/dist/icons/file/file_text.d.ts +1 -1
  308. package/dist/icons/file/file_upload.d.ts +1 -1
  309. package/dist/icons/file/folder.d.ts +1 -1
  310. package/dist/icons/file/folder_add.d.ts +1 -1
  311. package/dist/icons/file/folder_arrow.d.ts +1 -1
  312. package/dist/icons/file/folder_check.d.ts +1 -1
  313. package/dist/icons/file/folder_close.d.ts +1 -1
  314. package/dist/icons/file/folder_cloud.d.ts +1 -1
  315. package/dist/icons/file/folder_gear.d.ts +1 -1
  316. package/dist/icons/file/folder_minus.d.ts +1 -1
  317. package/dist/icons/file/folder_music.d.ts +1 -1
  318. package/dist/icons/file/folder_open.d.ts +1 -1
  319. package/dist/icons/file/folder_plus.d.ts +1 -1
  320. package/dist/icons/file/folder_zip.d.ts +1 -1
  321. package/dist/icons/file/note.d.ts +1 -1
  322. package/dist/icons/file/note_text.d.ts +1 -1
  323. package/dist/icons/file/pdf.d.ts +1 -1
  324. package/dist/icons/file/photo.d.ts +1 -1
  325. package/dist/icons/finance/bitcoin.d.ts +1 -1
  326. package/dist/icons/finance/coins.d.ts +1 -1
  327. package/dist/icons/finance/credit_card.d.ts +1 -1
  328. package/dist/icons/finance/credit_card_add.d.ts +1 -1
  329. package/dist/icons/finance/credit_card_face.d.ts +1 -1
  330. package/dist/icons/finance/credit_card_member.d.ts +1 -1
  331. package/dist/icons/finance/credit_card_outcome.d.ts +1 -1
  332. package/dist/icons/finance/credit_card_scan.d.ts +1 -1
  333. package/dist/icons/finance/credit_card_share.d.ts +1 -1
  334. package/dist/icons/finance/credit_card_slash.d.ts +1 -1
  335. package/dist/icons/finance/currency_exchange.d.ts +1 -1
  336. package/dist/icons/finance/dollar.d.ts +1 -1
  337. package/dist/icons/finance/ethereum.d.ts +1 -1
  338. package/dist/icons/finance/paypass.d.ts +1 -1
  339. package/dist/icons/finance/strongbox.d.ts +1 -1
  340. package/dist/icons/finance/wallet.d.ts +1 -1
  341. package/dist/icons/layout/block_align_bottom.d.ts +1 -1
  342. package/dist/icons/layout/block_align_center.d.ts +1 -1
  343. package/dist/icons/layout/block_align_left.d.ts +1 -1
  344. package/dist/icons/layout/block_align_middle.d.ts +1 -1
  345. package/dist/icons/layout/block_align_right.d.ts +1 -1
  346. package/dist/icons/layout/block_align_top.d.ts +1 -1
  347. package/dist/icons/layout/block_horizontal.d.ts +1 -1
  348. package/dist/icons/layout/block_vertical.d.ts +1 -1
  349. package/dist/icons/layout/edit_shape.d.ts +1 -1
  350. package/dist/icons/layout/elements.d.ts +1 -1
  351. package/dist/icons/layout/elements_add.d.ts +1 -1
  352. package/dist/icons/layout/elements_filled.d.ts +1 -1
  353. package/dist/icons/layout/elements_masonry.d.ts +1 -1
  354. package/dist/icons/layout/frame.d.ts +1 -1
  355. package/dist/icons/layout/frame_stack.d.ts +1 -1
  356. package/dist/icons/layout/grid.d.ts +1 -1
  357. package/dist/icons/layout/grid_column_three.d.ts +1 -1
  358. package/dist/icons/layout/grid_column_two.d.ts +1 -1
  359. package/dist/icons/layout/grid_dynamic.d.ts +1 -1
  360. package/dist/icons/layout/grid_frame.d.ts +1 -1
  361. package/dist/icons/layout/grid_row_three.d.ts +1 -1
  362. package/dist/icons/layout/grid_row_two.d.ts +1 -1
  363. package/dist/icons/layout/grid_six.d.ts +1 -1
  364. package/dist/icons/layout/grid_small.d.ts +1 -1
  365. package/dist/icons/layout/iframe.d.ts +1 -1
  366. package/dist/icons/layout/kanban.d.ts +1 -1
  367. package/dist/icons/layout/layout.d.ts +1 -1
  368. package/dist/icons/layout/list.d.ts +1 -1
  369. package/dist/icons/layout/list_filled.d.ts +1 -1
  370. package/dist/icons/layout/padding.d.ts +1 -1
  371. package/dist/icons/layout/page_break.d.ts +1 -1
  372. package/dist/icons/layout/rotate_left.d.ts +1 -1
  373. package/dist/icons/layout/rotate_right.d.ts +1 -1
  374. package/dist/icons/layout/ruler.d.ts +1 -1
  375. package/dist/icons/layout/segment.d.ts +1 -1
  376. package/dist/icons/layout/select_area.d.ts +1 -1
  377. package/dist/icons/layout/select_boundary.d.ts +1 -1
  378. package/dist/icons/layout/sidebar_left.d.ts +1 -1
  379. package/dist/icons/layout/sidebar_right.d.ts +1 -1
  380. package/dist/icons/layout/slides.d.ts +1 -1
  381. package/dist/icons/layout/slides_horizontal.d.ts +1 -1
  382. package/dist/icons/layout/slides_vertical.d.ts +1 -1
  383. package/dist/icons/layout/stack.d.ts +1 -1
  384. package/dist/icons/layout/text.d.ts +1 -1
  385. package/dist/icons/maps/atlas.d.ts +1 -1
  386. package/dist/icons/maps/compass.d.ts +1 -1
  387. package/dist/icons/maps/direction.d.ts +1 -1
  388. package/dist/icons/maps/direction_angled.d.ts +1 -1
  389. package/dist/icons/maps/globe.d.ts +1 -1
  390. package/dist/icons/maps/globe_slash.d.ts +1 -1
  391. package/dist/icons/maps/location.d.ts +1 -1
  392. package/dist/icons/maps/location_slash.d.ts +1 -1
  393. package/dist/icons/maps/map.d.ts +1 -1
  394. package/dist/icons/maps/marker.d.ts +1 -1
  395. package/dist/icons/maps/panorama.d.ts +1 -1
  396. package/dist/icons/maps/pin.d.ts +1 -1
  397. package/dist/icons/maps/pin_arrow.d.ts +1 -1
  398. package/dist/icons/maps/pin_location.d.ts +1 -1
  399. package/dist/icons/maps/pin_plus.d.ts +1 -1
  400. package/dist/icons/maps/pin_question.d.ts +1 -1
  401. package/dist/icons/maps/pin_slash.d.ts +1 -1
  402. package/dist/icons/maps/push_pin.d.ts +1 -1
  403. package/dist/icons/maps/push_pin_filled.d.ts +1 -1
  404. package/dist/icons/maps/push_pin_slash.d.ts +1 -1
  405. package/dist/icons/maps/radar.d.ts +1 -1
  406. package/dist/icons/maps/route.d.ts +1 -1
  407. package/dist/icons/message/bubble.d.ts +1 -1
  408. package/dist/icons/message/bubble_question.d.ts +1 -1
  409. package/dist/icons/message/comment.d.ts +1 -1
  410. package/dist/icons/message/comment_add.d.ts +1 -1
  411. package/dist/icons/message/comment_check.d.ts +1 -1
  412. package/dist/icons/message/comment_close.d.ts +1 -1
  413. package/dist/icons/message/comment_minus.d.ts +1 -1
  414. package/dist/icons/message/comment_text.d.ts +1 -1
  415. package/dist/icons/misc/advertisement.d.ts +1 -1
  416. package/dist/icons/misc/atom.d.ts +1 -1
  417. package/dist/icons/misc/bone.d.ts +1 -1
  418. package/dist/icons/misc/brightness_high.d.ts +1 -1
  419. package/dist/icons/misc/brightness_low.d.ts +1 -1
  420. package/dist/icons/misc/contrast.d.ts +1 -1
  421. package/dist/icons/misc/crosshairs.d.ts +1 -1
  422. package/dist/icons/misc/crown.d.ts +1 -1
  423. package/dist/icons/misc/footprint.d.ts +1 -1
  424. package/dist/icons/misc/form.d.ts +1 -1
  425. package/dist/icons/misc/funnel.d.ts +1 -1
  426. package/dist/icons/misc/infinite.d.ts +1 -1
  427. package/dist/icons/misc/insert_button.d.ts +1 -1
  428. package/dist/icons/misc/light_bulb.d.ts +1 -1
  429. package/dist/icons/misc/moon.d.ts +1 -1
  430. package/dist/icons/misc/nut.d.ts +1 -1
  431. package/dist/icons/misc/planet.d.ts +1 -1
  432. package/dist/icons/misc/plus_thick.d.ts +1 -1
  433. package/dist/icons/misc/pocket.d.ts +1 -1
  434. package/dist/icons/misc/rocket.d.ts +1 -1
  435. package/dist/icons/misc/soup.d.ts +1 -1
  436. package/dist/icons/misc/sun.d.ts +1 -1
  437. package/dist/icons/misc/toy_horse.d.ts +1 -1
  438. package/dist/icons/misc/trophy.d.ts +1 -1
  439. package/dist/icons/misc/watercloset.d.ts +1 -1
  440. package/dist/icons/notifications/alert_circle.d.ts +1 -1
  441. package/dist/icons/notifications/alert_octogon.d.ts +1 -1
  442. package/dist/icons/notifications/alert_triangle.d.ts +1 -1
  443. package/dist/icons/notifications/app_notification.d.ts +1 -1
  444. package/dist/icons/notifications/bell.d.ts +1 -1
  445. package/dist/icons/notifications/bell_alert.d.ts +1 -1
  446. package/dist/icons/notifications/bell_checkmark.d.ts +1 -1
  447. package/dist/icons/notifications/bell_minus.d.ts +1 -1
  448. package/dist/icons/notifications/bell_plus.d.ts +1 -1
  449. package/dist/icons/notifications/bell_ring.d.ts +1 -1
  450. package/dist/icons/notifications/bell_slash.d.ts +1 -1
  451. package/dist/icons/notifications/close_octogon.d.ts +1 -1
  452. package/dist/icons/notifications/information.d.ts +1 -1
  453. package/dist/icons/notifications/minus_octogon.d.ts +1 -1
  454. package/dist/icons/notifications/question_circle.d.ts +1 -1
  455. package/dist/icons/people/group.d.ts +1 -1
  456. package/dist/icons/people/group_add.d.ts +1 -1
  457. package/dist/icons/people/group_chat.d.ts +1 -1
  458. package/dist/icons/people/group_remove.d.ts +1 -1
  459. package/dist/icons/people/group_send.d.ts +1 -1
  460. package/dist/icons/people/groups.d.ts +1 -1
  461. package/dist/icons/people/person.d.ts +1 -1
  462. package/dist/icons/people/person_add.d.ts +1 -1
  463. package/dist/icons/people/person_checkmark.d.ts +1 -1
  464. package/dist/icons/people/person_circle.d.ts +1 -1
  465. package/dist/icons/people/person_close.d.ts +1 -1
  466. package/dist/icons/people/person_remove.d.ts +1 -1
  467. package/dist/icons/people/person_slash.d.ts +1 -1
  468. package/dist/icons/phone/keypad.d.ts +1 -1
  469. package/dist/icons/phone/phone.d.ts +1 -1
  470. package/dist/icons/phone/phone_add.d.ts +1 -1
  471. package/dist/icons/phone/phone_calling.d.ts +1 -1
  472. package/dist/icons/phone/phone_check.d.ts +1 -1
  473. package/dist/icons/phone/phone_close.d.ts +1 -1
  474. package/dist/icons/phone/phone_decline.d.ts +1 -1
  475. package/dist/icons/phone/phone_end.d.ts +1 -1
  476. package/dist/icons/phone/phone_forwarded.d.ts +1 -1
  477. package/dist/icons/phone/phone_hash.d.ts +1 -1
  478. package/dist/icons/phone/phone_incoming.d.ts +1 -1
  479. package/dist/icons/phone/phone_missed.d.ts +1 -1
  480. package/dist/icons/phone/phone_outgoing.d.ts +1 -1
  481. package/dist/icons/phone/phone_pause.d.ts +1 -1
  482. package/dist/icons/phone/phone_slash.d.ts +1 -1
  483. package/dist/icons/phone/voicemail.d.ts +1 -1
  484. package/dist/icons/security/key.d.ts +1 -1
  485. package/dist/icons/security/key_slash.d.ts +1 -1
  486. package/dist/icons/security/lock.d.ts +1 -1
  487. package/dist/icons/security/lock_circle.d.ts +1 -1
  488. package/dist/icons/security/lock_open.d.ts +1 -1
  489. package/dist/icons/security/lock_slash.d.ts +1 -1
  490. package/dist/icons/security/shield.d.ts +1 -1
  491. package/dist/icons/security/shield_checkmark.d.ts +1 -1
  492. package/dist/icons/security/shield_lock.d.ts +1 -1
  493. package/dist/icons/security/shield_slash.d.ts +1 -1
  494. package/dist/icons/security/verified.d.ts +1 -1
  495. package/dist/icons/shopping/basket.d.ts +1 -1
  496. package/dist/icons/shopping/cart.d.ts +1 -1
  497. package/dist/icons/shopping/cart_filled.d.ts +1 -1
  498. package/dist/icons/shopping/coupon.d.ts +1 -1
  499. package/dist/icons/shopping/coupon_cut.d.ts +1 -1
  500. package/dist/icons/shopping/delivery.d.ts +1 -1
  501. package/dist/icons/shopping/discount.d.ts +1 -1
  502. package/dist/icons/shopping/gift.d.ts +1 -1
  503. package/dist/icons/shopping/gift_bag.d.ts +1 -1
  504. package/dist/icons/shopping/inventory.d.ts +1 -1
  505. package/dist/icons/shopping/point_of_sale.d.ts +1 -1
  506. package/dist/icons/shopping/shirt.d.ts +1 -1
  507. package/dist/icons/shopping/tag.d.ts +1 -1
  508. package/dist/icons/shopping/tag_diagonal.d.ts +1 -1
  509. package/dist/icons/shopping/tote.d.ts +1 -1
  510. package/dist/icons/special/upload_audio.d.ts +1 -1
  511. package/dist/icons/special/upload_file.d.ts +1 -1
  512. package/dist/icons/special/upload_image.d.ts +1 -1
  513. package/dist/icons/special/upload_video.d.ts +1 -1
  514. package/dist/icons/symbols/at.d.ts +1 -1
  515. package/dist/icons/symbols/cc.d.ts +1 -1
  516. package/dist/icons/symbols/cmd.d.ts +1 -1
  517. package/dist/icons/symbols/facebook.d.ts +1 -1
  518. package/dist/icons/symbols/google.d.ts +1 -1
  519. package/dist/icons/symbols/hash.d.ts +1 -1
  520. package/dist/icons/symbols/instagram.d.ts +1 -1
  521. package/dist/icons/symbols/messenger.d.ts +1 -1
  522. package/dist/icons/symbols/twitter.d.ts +1 -1
  523. package/dist/icons/technology/battery.d.ts +1 -1
  524. package/dist/icons/technology/battery_100.d.ts +1 -1
  525. package/dist/icons/technology/battery_20.d.ts +1 -1
  526. package/dist/icons/technology/battery_40.d.ts +1 -1
  527. package/dist/icons/technology/battery_60.d.ts +1 -1
  528. package/dist/icons/technology/battery_80.d.ts +1 -1
  529. package/dist/icons/technology/battery_charging.d.ts +1 -1
  530. package/dist/icons/technology/battery_slash.d.ts +1 -1
  531. package/dist/icons/technology/devices.d.ts +1 -1
  532. package/dist/icons/technology/floppy_disk.d.ts +1 -1
  533. package/dist/icons/technology/iphone.d.ts +1 -1
  534. package/dist/icons/technology/laptop.d.ts +1 -1
  535. package/dist/icons/technology/mobile.d.ts +1 -1
  536. package/dist/icons/technology/monitor.d.ts +1 -1
  537. package/dist/icons/technology/server.d.ts +1 -1
  538. package/dist/icons/technology/sim_card.d.ts +1 -1
  539. package/dist/icons/technology/usb_stick.d.ts +1 -1
  540. package/dist/icons/text/align_center.d.ts +1 -1
  541. package/dist/icons/text/align_justified.d.ts +1 -1
  542. package/dist/icons/text/align_left.d.ts +1 -1
  543. package/dist/icons/text/align_right.d.ts +1 -1
  544. package/dist/icons/text/code_block.d.ts +1 -1
  545. package/dist/icons/text/divider.d.ts +1 -1
  546. package/dist/icons/text/footnote.d.ts +1 -1
  547. package/dist/icons/text/indent_decrease.d.ts +1 -1
  548. package/dist/icons/text/indent_increase.d.ts +1 -1
  549. package/dist/icons/text/list_ordered.d.ts +1 -1
  550. package/dist/icons/text/list_unordered.d.ts +1 -1
  551. package/dist/icons/text/quote.d.ts +1 -1
  552. package/dist/icons/text/table.d.ts +1 -1
  553. package/dist/icons/time/alarm.d.ts +1 -1
  554. package/dist/icons/time/alarm_checkmark.d.ts +1 -1
  555. package/dist/icons/time/alarm_minus.d.ts +1 -1
  556. package/dist/icons/time/alarm_plus.d.ts +1 -1
  557. package/dist/icons/time/alarm_slash.d.ts +1 -1
  558. package/dist/icons/time/alarm_snooze.d.ts +1 -1
  559. package/dist/icons/time/calendar.d.ts +1 -1
  560. package/dist/icons/time/calendar_add.d.ts +1 -1
  561. package/dist/icons/time/calendar_checkmark.d.ts +1 -1
  562. package/dist/icons/time/calendar_close.d.ts +1 -1
  563. package/dist/icons/time/calendar_dates.d.ts +1 -1
  564. package/dist/icons/time/calendar_minus.d.ts +1 -1
  565. package/dist/icons/time/calendar_plus.d.ts +1 -1
  566. package/dist/icons/time/calendar_scroll.d.ts +1 -1
  567. package/dist/icons/time/clock.d.ts +1 -1
  568. package/dist/icons/time/clock_history.d.ts +1 -1
  569. package/dist/icons/time/stopwatch.d.ts +1 -1
  570. package/dist/icons/time/timer.d.ts +1 -1
  571. package/dist/icons/time/watch.d.ts +1 -1
  572. package/dist/index.js +48153 -115
  573. package/dist/types/attributes.d.ts +1 -1
  574. package/package.json +5 -9
  575. package/dist/_virtual/_cloneBuffer.js +0 -5
  576. package/dist/_virtual/_commonjsHelpers.js +0 -10
  577. package/dist/_virtual/_nodeUtil.js +0 -5
  578. package/dist/_virtual/index.js +0 -5
  579. package/dist/_virtual/index2.js +0 -5
  580. package/dist/_virtual/index3.js +0 -5
  581. package/dist/_virtual/isBuffer.js +0 -5
  582. package/dist/_virtual/use-sync-external-store-shim.development.js +0 -5
  583. package/dist/_virtual/use-sync-external-store-shim.production.min.js +0 -5
  584. package/dist/_virtual/util.js +0 -5
  585. package/dist/_virtual/with-selector.development.js +0 -5
  586. package/dist/_virtual/with-selector.js +0 -5
  587. package/dist/_virtual/with-selector.production.min.js +0 -5
  588. package/dist/common/colors.js +0 -140
  589. package/dist/common/date.js +0 -34
  590. package/dist/common/styles.js +0 -66
  591. package/dist/components/actions/button/button.js +0 -329
  592. package/dist/components/actions/dropdown/dropdown.js +0 -237
  593. package/dist/components/actions/rate/rate.js +0 -56
  594. package/dist/components/actions/switch/switch.js +0 -81
  595. package/dist/components/actions/toggle/toggle.js +0 -67
  596. package/dist/components/actions/upload/upload.js +0 -170
  597. package/dist/components/atoms/box/box.js +0 -26
  598. package/dist/components/atoms/hide/hide.js +0 -18
  599. package/dist/components/atoms/seconds_to_duration/seconds_to_duration.js +0 -36
  600. package/dist/components/atoms/time_ago/time_ago.js +0 -40
  601. package/dist/components/atoms/typography/display.js +0 -19
  602. package/dist/components/atoms/typography/heading.js +0 -44
  603. package/dist/components/atoms/typography/paragraph.js +0 -27
  604. package/dist/components/atoms/typography/typography.js +0 -17
  605. package/dist/components/card/action/action.js +0 -84
  606. package/dist/components/card/audio/audio.js +0 -143
  607. package/dist/components/card/card.js +0 -34
  608. package/dist/components/card/feature/feature.js +0 -204
  609. package/dist/components/card/meeting/meeting.js +0 -152
  610. package/dist/components/card/person/person.js +0 -83
  611. package/dist/components/card/price/price.js +0 -89
  612. package/dist/components/card/regular/regular.js +0 -43
  613. package/dist/components/card/styles.d.ts +0 -2
  614. package/dist/components/card/styles.js +0 -16
  615. package/dist/components/card/video/video.js +0 -140
  616. package/dist/components/card/written/written.js +0 -143
  617. package/dist/components/custom/courses_selection/courses_selection.js +0 -143
  618. package/dist/components/custom/users_selection/users_selection.js +0 -134
  619. package/dist/components/editor/constants.js +0 -195
  620. package/dist/components/editor/context.js +0 -17
  621. package/dist/components/editor/editor.js +0 -114
  622. package/dist/components/editor/icons/border-all.js +0 -12
  623. package/dist/components/editor/icons/border-bottom.js +0 -12
  624. package/dist/components/editor/icons/border-left.js +0 -12
  625. package/dist/components/editor/icons/border-none.js +0 -12
  626. package/dist/components/editor/icons/border-right.js +0 -12
  627. package/dist/components/editor/icons/border-top.js +0 -12
  628. package/dist/components/editor/navbar/alignment_dropdown.js +0 -106
  629. package/dist/components/editor/navbar/button_modal.js +0 -70
  630. package/dist/components/editor/navbar/navbar.js +0 -225
  631. package/dist/components/editor/navbar/style_dropdown.js +0 -74
  632. package/dist/components/editor/plugins/blocks/blockquote.js +0 -17
  633. package/dist/components/editor/plugins/blocks/blocks.js +0 -54
  634. package/dist/components/editor/plugins/blocks/buttons.js +0 -91
  635. package/dist/components/editor/plugins/blocks/dropdown-menu.js +0 -78
  636. package/dist/components/editor/plugins/blocks/image.js +0 -60
  637. package/dist/components/editor/plugins/blocks/list.js +0 -26
  638. package/dist/components/editor/plugins/blocks/media-popover.js +0 -41
  639. package/dist/components/editor/plugins/blocks/plate-button.js +0 -63
  640. package/dist/components/editor/plugins/blocks/popover.js +0 -39
  641. package/dist/components/editor/plugins/blocks/qa.js +0 -55
  642. package/dist/components/editor/plugins/blocks/resizable.js +0 -48
  643. package/dist/components/editor/plugins/blocks/separator.js +0 -44
  644. package/dist/components/editor/plugins/blocks/table-cell.js +0 -48
  645. package/dist/components/editor/plugins/blocks/table-row.js +0 -16
  646. package/dist/components/editor/plugins/blocks/table.js +0 -98
  647. package/dist/components/editor/plugins/blocks/text.js +0 -103
  648. package/dist/components/editor/plugins/blocks/video.js +0 -42
  649. package/dist/components/editor/plugins/leafs/leafs.js +0 -37
  650. package/dist/components/editor/plugins/leafs/link.js +0 -86
  651. package/dist/components/editor/plugins/marks/marks.js +0 -17
  652. package/dist/components/editor/plugins/plate.js +0 -43
  653. package/dist/components/editor/plugins/utils/exitBreak.js +0 -36
  654. package/dist/components/editor/plugins/utils/resetBlockType.js +0 -26
  655. package/dist/components/editor/plugins/utils/selectOnBackspace.js +0 -11
  656. package/dist/components/editor/plugins/utils/softBreak.js +0 -19
  657. package/dist/components/editor/plugins/utils/utils.js +0 -17
  658. package/dist/components/editor/simple_editor/navbar.js +0 -128
  659. package/dist/components/editor/simple_editor/plugins.js +0 -93
  660. package/dist/components/editor/simple_editor/simple_editor.js +0 -98
  661. package/dist/components/editor/styles/menu_button.d.ts +0 -4
  662. package/dist/components/editor/styles/menu_button.js +0 -36
  663. package/dist/components/feedback/animated_toast/animated_toast.js +0 -64
  664. package/dist/components/feedback/badge/badge.js +0 -75
  665. package/dist/components/feedback/banner/banner.js +0 -95
  666. package/dist/components/feedback/chip/chip.js +0 -103
  667. package/dist/components/feedback/loader/loader.js +0 -43
  668. package/dist/components/feedback/notification/notification.js +0 -87
  669. package/dist/components/feedback/progress/progress.js +0 -101
  670. package/dist/components/feedback/toast/toast.js +0 -126
  671. package/dist/components/feedback/tooltip/tooltip.js +0 -35
  672. package/dist/components/iconography/avatar/avatar.js +0 -190
  673. package/dist/components/iconography/avatar/icons/approved.js +0 -14
  674. package/dist/components/iconography/avatar/icons/busy.js +0 -14
  675. package/dist/components/iconography/avatar/icons/declined.js +0 -14
  676. package/dist/components/iconography/avatar/icons/default.js +0 -13
  677. package/dist/components/iconography/avatar/icons/focus.js +0 -14
  678. package/dist/components/iconography/avatar/icons/locked.js +0 -14
  679. package/dist/components/iconography/avatar/icons/offline.js +0 -14
  680. package/dist/components/iconography/avatar/icons/online.js +0 -13
  681. package/dist/components/iconography/avatar/icons/subscribed.js +0 -18
  682. package/dist/components/iconography/icon/icon.js +0 -19
  683. package/dist/components/input/calendar/calendar.js +0 -267
  684. package/dist/components/input/checkbox/checkbox.js +0 -32
  685. package/dist/components/input/date/date.js +0 -529
  686. package/dist/components/input/filter/filter.js +0 -331
  687. package/dist/components/input/filter/filter_option.js +0 -82
  688. package/dist/components/input/radio/radio.js +0 -92
  689. package/dist/components/input/search/search.js +0 -148
  690. package/dist/components/input/select/select.js +0 -56
  691. package/dist/components/input/text_area/text_area.js +0 -120
  692. package/dist/components/input/text_input/text_input.js +0 -157
  693. package/dist/components/input/time/time.js +0 -80
  694. package/dist/components/media/video/video.js +0 -42
  695. package/dist/components/media/video-player/playlist-item.js +0 -48
  696. package/dist/components/media/video-player/video.js +0 -210
  697. package/dist/components/navigation/breadcrumb/breadcrumb.js +0 -119
  698. package/dist/components/navigation/inner/inner.js +0 -199
  699. package/dist/components/navigation/tabs/tabs.js +0 -159
  700. package/dist/components/surfaces/accordion/accordion.js +0 -56
  701. package/dist/components/surfaces/calendar_date/calendar_date.js +0 -55
  702. package/dist/components/surfaces/carousel/card/card.js +0 -106
  703. package/dist/components/surfaces/comment/comment.js +0 -211
  704. package/dist/components/surfaces/comment/helpers.js +0 -30
  705. package/dist/components/surfaces/drawer/drawer.js +0 -140
  706. package/dist/components/surfaces/message/message.js +0 -56
  707. package/dist/components/surfaces/modal/modal.js +0 -135
  708. package/dist/components/surfaces/portal/portal.js +0 -36
  709. package/dist/components/surfaces/post/post.js +0 -246
  710. package/dist/components/table/table/table.js +0 -192
  711. package/dist/emoji/emojis.json.js +0 -36331
  712. package/dist/icons/arrow/arrow_all.js +0 -15
  713. package/dist/icons/arrow/arrow_all_diagonal.js +0 -15
  714. package/dist/icons/arrow/arrow_both_downwards.js +0 -15
  715. package/dist/icons/arrow/arrow_both_upwards.js +0 -15
  716. package/dist/icons/arrow/arrow_circle_left.js +0 -15
  717. package/dist/icons/arrow/arrow_circle_left_double.js +0 -15
  718. package/dist/icons/arrow/arrow_circle_left_double_alert.js +0 -17
  719. package/dist/icons/arrow/arrow_circle_right.js +0 -15
  720. package/dist/icons/arrow/arrow_circle_right_double.js +0 -15
  721. package/dist/icons/arrow/arrow_circle_right_double_alert.js +0 -15
  722. package/dist/icons/arrow/arrow_diagonal_down_left.js +0 -15
  723. package/dist/icons/arrow/arrow_diagonal_down_left_circle.js +0 -15
  724. package/dist/icons/arrow/arrow_diagonal_down_right.js +0 -15
  725. package/dist/icons/arrow/arrow_diagonal_down_right_circle.js +0 -15
  726. package/dist/icons/arrow/arrow_diagonal_up_left.js +0 -15
  727. package/dist/icons/arrow/arrow_diagonal_up_left_circle.js +0 -15
  728. package/dist/icons/arrow/arrow_diagonal_up_right.js +0 -15
  729. package/dist/icons/arrow/arrow_diagonal_up_right_circle.js +0 -15
  730. package/dist/icons/arrow/arrow_down.js +0 -15
  731. package/dist/icons/arrow/arrow_down_bold.js +0 -15
  732. package/dist/icons/arrow/arrow_down_circle.js +0 -15
  733. package/dist/icons/arrow/arrow_left.js +0 -15
  734. package/dist/icons/arrow/arrow_left_bold.js +0 -15
  735. package/dist/icons/arrow/arrow_left_circle.js +0 -15
  736. package/dist/icons/arrow/arrow_left_curved.js +0 -15
  737. package/dist/icons/arrow/arrow_left_curved_circle.js +0 -15
  738. package/dist/icons/arrow/arrow_right.js +0 -15
  739. package/dist/icons/arrow/arrow_right_bold.js +0 -15
  740. package/dist/icons/arrow/arrow_right_circle.js +0 -15
  741. package/dist/icons/arrow/arrow_right_curved.js +0 -15
  742. package/dist/icons/arrow/arrow_right_curved_circle.js +0 -15
  743. package/dist/icons/arrow/arrow_up.js +0 -15
  744. package/dist/icons/arrow/arrow_up_bold.js +0 -15
  745. package/dist/icons/arrow/arrow_up_circle.js +0 -15
  746. package/dist/icons/arrow/chevron_down.js +0 -15
  747. package/dist/icons/arrow/chevron_down_circle.js +0 -15
  748. package/dist/icons/arrow/chevron_down_double.js +0 -15
  749. package/dist/icons/arrow/chevron_down_double_circle.js +0 -15
  750. package/dist/icons/arrow/chevron_left.js +0 -15
  751. package/dist/icons/arrow/chevron_left_circle.js +0 -15
  752. package/dist/icons/arrow/chevron_left_double.js +0 -15
  753. package/dist/icons/arrow/chevron_left_double_circle.js +0 -15
  754. package/dist/icons/arrow/chevron_right.js +0 -15
  755. package/dist/icons/arrow/chevron_right_circle.js +0 -15
  756. package/dist/icons/arrow/chevron_right_double.js +0 -15
  757. package/dist/icons/arrow/chevron_right_double_circle.js +0 -15
  758. package/dist/icons/arrow/chevron_scroll.js +0 -15
  759. package/dist/icons/arrow/chevron_up.js +0 -15
  760. package/dist/icons/arrow/chevron_up_circle.js +0 -15
  761. package/dist/icons/arrow/chevron_up_double.js +0 -15
  762. package/dist/icons/arrow/chevron_up_double_circle.js +0 -15
  763. package/dist/icons/arrow/forward_all.js +0 -15
  764. package/dist/icons/arrow/forward_all_bold.js +0 -15
  765. package/dist/icons/arrow/forward_bold.js +0 -15
  766. package/dist/icons/arrow/redo.js +0 -15
  767. package/dist/icons/arrow/redo_bold.js +0 -15
  768. package/dist/icons/arrow/reply.js +0 -15
  769. package/dist/icons/arrow/reply_all.js +0 -15
  770. package/dist/icons/arrow/reply_all_bold.js +0 -15
  771. package/dist/icons/arrow/reply_bold.js +0 -15
  772. package/dist/icons/arrow/undo.js +0 -15
  773. package/dist/icons/arrow/undo_bold.js +0 -15
  774. package/dist/icons/audio_video/drag_indicator.js +0 -15
  775. package/dist/icons/audio_video/eject.js +0 -15
  776. package/dist/icons/audio_video/equalizer.js +0 -15
  777. package/dist/icons/audio_video/fast_forward.js +0 -15
  778. package/dist/icons/audio_video/fast_forward_30.js +0 -15
  779. package/dist/icons/audio_video/fullscreen.js +0 -15
  780. package/dist/icons/audio_video/headphones.js +0 -15
  781. package/dist/icons/audio_video/library_add.js +0 -15
  782. package/dist/icons/audio_video/library_music.js +0 -15
  783. package/dist/icons/audio_video/microphone.js +0 -15
  784. package/dist/icons/audio_video/musical_note.js +0 -15
  785. package/dist/icons/audio_video/next.js +0 -15
  786. package/dist/icons/audio_video/pause.js +0 -15
  787. package/dist/icons/audio_video/pause_circle.js +0 -15
  788. package/dist/icons/audio_video/play.js +0 -15
  789. package/dist/icons/audio_video/play_circle.js +0 -15
  790. package/dist/icons/audio_video/play_display.js +0 -15
  791. package/dist/icons/audio_video/play_pause.js +0 -15
  792. package/dist/icons/audio_video/play_solid.js +0 -15
  793. package/dist/icons/audio_video/player_list.js +0 -15
  794. package/dist/icons/audio_video/player_list_add.js +0 -15
  795. package/dist/icons/audio_video/player_list_play.js +0 -15
  796. package/dist/icons/audio_video/previous.js +0 -15
  797. package/dist/icons/audio_video/radio.js +0 -15
  798. package/dist/icons/audio_video/record.js +0 -15
  799. package/dist/icons/audio_video/repeat.js +0 -15
  800. package/dist/icons/audio_video/rewind.js +0 -15
  801. package/dist/icons/audio_video/rewind_30.js +0 -15
  802. package/dist/icons/audio_video/shuffle.js +0 -15
  803. package/dist/icons/audio_video/sound_wave.js +0 -15
  804. package/dist/icons/audio_video/stop.js +0 -15
  805. package/dist/icons/audio_video/stop_circle.js +0 -15
  806. package/dist/icons/audio_video/subscriptions.js +0 -15
  807. package/dist/icons/audio_video/tuner.js +0 -15
  808. package/dist/icons/audio_video/volume.js +0 -15
  809. package/dist/icons/audio_video/volume_high.js +0 -15
  810. package/dist/icons/audio_video/volume_low.js +0 -15
  811. package/dist/icons/audio_video/volume_slash.js +0 -15
  812. package/dist/icons/basic/aa_sansserif.js +0 -16
  813. package/dist/icons/basic/aa_serif.js +0 -16
  814. package/dist/icons/basic/anchor.js +0 -17
  815. package/dist/icons/basic/bible.js +0 -15
  816. package/dist/icons/basic/bold.js +0 -15
  817. package/dist/icons/basic/book.js +0 -15
  818. package/dist/icons/basic/book_open.js +0 -15
  819. package/dist/icons/basic/bookmark.js +0 -15
  820. package/dist/icons/basic/bookmark_add.js +0 -15
  821. package/dist/icons/basic/bookmark_slash.js +0 -15
  822. package/dist/icons/basic/bookmarks.js +0 -15
  823. package/dist/icons/basic/books.js +0 -18
  824. package/dist/icons/basic/box.js +0 -15
  825. package/dist/icons/basic/briefcase.js +0 -15
  826. package/dist/icons/basic/browse_activity.js +0 -15
  827. package/dist/icons/basic/browser.js +0 -15
  828. package/dist/icons/basic/browser_slash.js +0 -15
  829. package/dist/icons/basic/calculator.js +0 -15
  830. package/dist/icons/basic/camera.js +0 -15
  831. package/dist/icons/basic/camera_add.js +0 -15
  832. package/dist/icons/basic/camera_slash.js +0 -15
  833. package/dist/icons/basic/checkmark.js +0 -15
  834. package/dist/icons/basic/checkmark_circle.js +0 -17
  835. package/dist/icons/basic/checkmark_filled.js +0 -15
  836. package/dist/icons/basic/checkmarks.js +0 -15
  837. package/dist/icons/basic/circle.js +0 -15
  838. package/dist/icons/basic/circle_slash.js +0 -17
  839. package/dist/icons/basic/clear_text_style.js +0 -15
  840. package/dist/icons/basic/close.js +0 -15
  841. package/dist/icons/basic/close_circle.js +0 -15
  842. package/dist/icons/basic/close_filled.js +0 -15
  843. package/dist/icons/basic/copy.js +0 -15
  844. package/dist/icons/basic/delete.js +0 -15
  845. package/dist/icons/basic/detail.js +0 -15
  846. package/dist/icons/basic/dot.js +0 -15
  847. package/dist/icons/basic/download.js +0 -15
  848. package/dist/icons/basic/download_arrow.js +0 -15
  849. package/dist/icons/basic/droplet.js +0 -17
  850. package/dist/icons/basic/ellipsis_horizontal.js +0 -15
  851. package/dist/icons/basic/ellipsis_horizontal_circle.js +0 -15
  852. package/dist/icons/basic/ellipsis_vertical.js +0 -15
  853. package/dist/icons/basic/ellipsis_vertical_circle.js +0 -15
  854. package/dist/icons/basic/eye.js +0 -15
  855. package/dist/icons/basic/eye_slash.js +0 -15
  856. package/dist/icons/basic/fingerprint.js +0 -15
  857. package/dist/icons/basic/flag.js +0 -15
  858. package/dist/icons/basic/flag_wave.js +0 -15
  859. package/dist/icons/basic/flag_wave_filled.js +0 -15
  860. package/dist/icons/basic/flame.js +0 -15
  861. package/dist/icons/basic/gauge.js +0 -15
  862. package/dist/icons/basic/glasses.js +0 -15
  863. package/dist/icons/basic/graduation_cap.js +0 -15
  864. package/dist/icons/basic/hashmark.js +0 -15
  865. package/dist/icons/basic/heart.js +0 -15
  866. package/dist/icons/basic/heart_slash.js +0 -15
  867. package/dist/icons/basic/highlighter.js +0 -15
  868. package/dist/icons/basic/home.js +0 -15
  869. package/dist/icons/basic/image.js +0 -15
  870. package/dist/icons/basic/inbox.js +0 -15
  871. package/dist/icons/basic/italic.js +0 -15
  872. package/dist/icons/basic/layers.js +0 -15
  873. package/dist/icons/basic/lightening.js +0 -15
  874. package/dist/icons/basic/lightening_slash.js +0 -15
  875. package/dist/icons/basic/link.js +0 -15
  876. package/dist/icons/basic/link_slash.js +0 -15
  877. package/dist/icons/basic/loudspeaker.js +0 -15
  878. package/dist/icons/basic/maximize.js +0 -15
  879. package/dist/icons/basic/menu.js +0 -15
  880. package/dist/icons/basic/menu_circle.js +0 -15
  881. package/dist/icons/basic/menu_dots.js +0 -15
  882. package/dist/icons/basic/microphone_slash.js +0 -15
  883. package/dist/icons/basic/minimize.js +0 -15
  884. package/dist/icons/basic/minus.js +0 -15
  885. package/dist/icons/basic/minus_circle.js +0 -15
  886. package/dist/icons/basic/move_item.js +0 -15
  887. package/dist/icons/basic/new.js +0 -15
  888. package/dist/icons/basic/newspaper.js +0 -15
  889. package/dist/icons/basic/node.js +0 -15
  890. package/dist/icons/basic/note_pad.js +0 -16
  891. package/dist/icons/basic/options.js +0 -15
  892. package/dist/icons/basic/paint_brush.js +0 -15
  893. package/dist/icons/basic/paperclip.js +0 -15
  894. package/dist/icons/basic/paperclip_slash.js +0 -15
  895. package/dist/icons/basic/pencil.js +0 -15
  896. package/dist/icons/basic/pencil_pad.js +0 -15
  897. package/dist/icons/basic/plus.js +0 -15
  898. package/dist/icons/basic/plus_circle.js +0 -15
  899. package/dist/icons/basic/presentation.js +0 -15
  900. package/dist/icons/basic/printer.js +0 -15
  901. package/dist/icons/basic/profile.js +0 -15
  902. package/dist/icons/basic/profile_check.js +0 -15
  903. package/dist/icons/basic/pulse.js +0 -15
  904. package/dist/icons/basic/qr_code.js +0 -15
  905. package/dist/icons/basic/resize.js +0 -17
  906. package/dist/icons/basic/scan.js +0 -15
  907. package/dist/icons/basic/scissors.js +0 -15
  908. package/dist/icons/basic/screenshot.js +0 -15
  909. package/dist/icons/basic/search.js +0 -15
  910. package/dist/icons/basic/select_item.js +0 -16
  911. package/dist/icons/basic/settings.js +0 -15
  912. package/dist/icons/basic/share.js +0 -15
  913. package/dist/icons/basic/share_external.js +0 -15
  914. package/dist/icons/basic/square.js +0 -15
  915. package/dist/icons/basic/star.js +0 -15
  916. package/dist/icons/basic/star_circle.js +0 -15
  917. package/dist/icons/basic/star_filled.js +0 -15
  918. package/dist/icons/basic/star_filled_half.js +0 -15
  919. package/dist/icons/basic/star_slash.js +0 -15
  920. package/dist/icons/basic/sticker.js +0 -15
  921. package/dist/icons/basic/strikethrough.js +0 -15
  922. package/dist/icons/basic/subtask.js +0 -16
  923. package/dist/icons/basic/tax.js +0 -18
  924. package/dist/icons/basic/text_bg_color.js +0 -15
  925. package/dist/icons/basic/text_color.js +0 -15
  926. package/dist/icons/basic/textbox.js +0 -15
  927. package/dist/icons/basic/thumbs_down.js +0 -15
  928. package/dist/icons/basic/thumbs_up.js +0 -15
  929. package/dist/icons/basic/thumbs_up_filled.js +0 -15
  930. package/dist/icons/basic/toggle_left.js +0 -15
  931. package/dist/icons/basic/toggle_right.js +0 -15
  932. package/dist/icons/basic/translate.js +0 -15
  933. package/dist/icons/basic/trash.js +0 -15
  934. package/dist/icons/basic/trash_slash.js +0 -15
  935. package/dist/icons/basic/underline.js +0 -15
  936. package/dist/icons/basic/upload.js +0 -15
  937. package/dist/icons/basic/video.js +0 -15
  938. package/dist/icons/basic/video_add.js +0 -16
  939. package/dist/icons/basic/video_slash.js +0 -15
  940. package/dist/icons/basic/wrench.js +0 -15
  941. package/dist/icons/basic/zoom_in.js +0 -15
  942. package/dist/icons/basic/zoom_out.js +0 -15
  943. package/dist/icons/data/bar_chart.js +0 -15
  944. package/dist/icons/data/bar_chart_downward.js +0 -15
  945. package/dist/icons/data/bar_chart_downward_outline.js +0 -15
  946. package/dist/icons/data/bar_chart_upward.js +0 -15
  947. package/dist/icons/data/bar_chart_upward_outline.js +0 -15
  948. package/dist/icons/data/candlestick_chart.js +0 -15
  949. package/dist/icons/data/four_circles.js +0 -15
  950. package/dist/icons/data/legend_toggle.js +0 -15
  951. package/dist/icons/data/line_chart.js +0 -15
  952. package/dist/icons/data/line_chart_area.js +0 -15
  953. package/dist/icons/data/line_chart_area_shaded.js +0 -15
  954. package/dist/icons/data/line_chart_double.js +0 -15
  955. package/dist/icons/data/line_chart_downward.js +0 -15
  956. package/dist/icons/data/line_chart_node.js +0 -15
  957. package/dist/icons/data/line_chart_outline.js +0 -15
  958. package/dist/icons/data/line_chart_search.js +0 -15
  959. package/dist/icons/data/line_chart_stars.js +0 -15
  960. package/dist/icons/data/line_chart_upward.js +0 -15
  961. package/dist/icons/data/pie_chart.js +0 -16
  962. package/dist/icons/data/tree.js +0 -15
  963. package/dist/icons/email/mail.js +0 -15
  964. package/dist/icons/email/mail_check.js +0 -15
  965. package/dist/icons/email/mail_minus.js +0 -15
  966. package/dist/icons/email/mail_send.js +0 -15
  967. package/dist/icons/email/send.js +0 -15
  968. package/dist/icons/email/send_close.js +0 -15
  969. package/dist/icons/email/send_schedule.js +0 -15
  970. package/dist/icons/email/send_text.js +0 -15
  971. package/dist/icons/emoji/emoji_add.js +0 -15
  972. package/dist/icons/emoji/laughing.js +0 -15
  973. package/dist/icons/emoji/neutral.js +0 -15
  974. package/dist/icons/emoji/sad.js +0 -15
  975. package/dist/icons/emoji/shocked.js +0 -15
  976. package/dist/icons/emoji/smile.js +0 -15
  977. package/dist/icons/file/clipboard.js +0 -15
  978. package/dist/icons/file/clipboard_check.js +0 -15
  979. package/dist/icons/file/clipboard_close.js +0 -15
  980. package/dist/icons/file/clipboard_minus.js +0 -15
  981. package/dist/icons/file/clipboard_plus.js +0 -15
  982. package/dist/icons/file/clipboard_text.js +0 -15
  983. package/dist/icons/file/file.js +0 -15
  984. package/dist/icons/file/file_add.js +0 -15
  985. package/dist/icons/file/file_check.js +0 -15
  986. package/dist/icons/file/file_close.js +0 -15
  987. package/dist/icons/file/file_code.js +0 -15
  988. package/dist/icons/file/file_download.js +0 -15
  989. package/dist/icons/file/file_draft.js +0 -15
  990. package/dist/icons/file/file_gear.js +0 -16
  991. package/dist/icons/file/file_minus.js +0 -15
  992. package/dist/icons/file/file_plus.js +0 -15
  993. package/dist/icons/file/file_scan.js +0 -15
  994. package/dist/icons/file/file_shred.js +0 -15
  995. package/dist/icons/file/file_text.js +0 -15
  996. package/dist/icons/file/file_upload.js +0 -15
  997. package/dist/icons/file/folder.js +0 -15
  998. package/dist/icons/file/folder_add.js +0 -15
  999. package/dist/icons/file/folder_arrow.js +0 -15
  1000. package/dist/icons/file/folder_check.js +0 -15
  1001. package/dist/icons/file/folder_close.js +0 -15
  1002. package/dist/icons/file/folder_cloud.js +0 -15
  1003. package/dist/icons/file/folder_gear.js +0 -16
  1004. package/dist/icons/file/folder_minus.js +0 -15
  1005. package/dist/icons/file/folder_music.js +0 -15
  1006. package/dist/icons/file/folder_open.js +0 -15
  1007. package/dist/icons/file/folder_plus.js +0 -15
  1008. package/dist/icons/file/folder_zip.js +0 -15
  1009. package/dist/icons/file/note.js +0 -15
  1010. package/dist/icons/file/note_text.js +0 -15
  1011. package/dist/icons/file/pdf.js +0 -15
  1012. package/dist/icons/file/photo.js +0 -15
  1013. package/dist/icons/finance/bitcoin.js +0 -15
  1014. package/dist/icons/finance/coins.js +0 -19
  1015. package/dist/icons/finance/credit_card.js +0 -15
  1016. package/dist/icons/finance/credit_card_add.js +0 -15
  1017. package/dist/icons/finance/credit_card_face.js +0 -15
  1018. package/dist/icons/finance/credit_card_member.js +0 -15
  1019. package/dist/icons/finance/credit_card_outcome.js +0 -15
  1020. package/dist/icons/finance/credit_card_scan.js +0 -15
  1021. package/dist/icons/finance/credit_card_share.js +0 -15
  1022. package/dist/icons/finance/credit_card_slash.js +0 -15
  1023. package/dist/icons/finance/currency_exchange.js +0 -15
  1024. package/dist/icons/finance/dollar.js +0 -15
  1025. package/dist/icons/finance/ethereum.js +0 -15
  1026. package/dist/icons/finance/paypass.js +0 -15
  1027. package/dist/icons/finance/strongbox.js +0 -15
  1028. package/dist/icons/finance/wallet.js +0 -15
  1029. package/dist/icons/index.js +0 -1095
  1030. package/dist/icons/layout/block_align_bottom.js +0 -15
  1031. package/dist/icons/layout/block_align_center.js +0 -15
  1032. package/dist/icons/layout/block_align_left.js +0 -15
  1033. package/dist/icons/layout/block_align_middle.js +0 -15
  1034. package/dist/icons/layout/block_align_right.js +0 -15
  1035. package/dist/icons/layout/block_align_top.js +0 -15
  1036. package/dist/icons/layout/block_horizontal.js +0 -15
  1037. package/dist/icons/layout/block_vertical.js +0 -15
  1038. package/dist/icons/layout/edit_shape.js +0 -15
  1039. package/dist/icons/layout/elements.js +0 -15
  1040. package/dist/icons/layout/elements_add.js +0 -15
  1041. package/dist/icons/layout/elements_filled.js +0 -15
  1042. package/dist/icons/layout/elements_masonry.js +0 -15
  1043. package/dist/icons/layout/frame.js +0 -15
  1044. package/dist/icons/layout/frame_stack.js +0 -15
  1045. package/dist/icons/layout/grid.js +0 -15
  1046. package/dist/icons/layout/grid_column_three.js +0 -15
  1047. package/dist/icons/layout/grid_column_two.js +0 -15
  1048. package/dist/icons/layout/grid_dynamic.js +0 -15
  1049. package/dist/icons/layout/grid_frame.js +0 -15
  1050. package/dist/icons/layout/grid_row_three.js +0 -15
  1051. package/dist/icons/layout/grid_row_two.js +0 -15
  1052. package/dist/icons/layout/grid_six.js +0 -15
  1053. package/dist/icons/layout/grid_small.js +0 -15
  1054. package/dist/icons/layout/iframe.js +0 -15
  1055. package/dist/icons/layout/kanban.js +0 -15
  1056. package/dist/icons/layout/layout.js +0 -15
  1057. package/dist/icons/layout/list.js +0 -15
  1058. package/dist/icons/layout/list_filled.js +0 -20
  1059. package/dist/icons/layout/padding.js +0 -15
  1060. package/dist/icons/layout/page_break.js +0 -15
  1061. package/dist/icons/layout/rotate_left.js +0 -15
  1062. package/dist/icons/layout/rotate_right.js +0 -15
  1063. package/dist/icons/layout/ruler.js +0 -15
  1064. package/dist/icons/layout/segment.js +0 -15
  1065. package/dist/icons/layout/select_area.js +0 -15
  1066. package/dist/icons/layout/select_boundary.js +0 -15
  1067. package/dist/icons/layout/sidebar_left.js +0 -15
  1068. package/dist/icons/layout/sidebar_right.js +0 -15
  1069. package/dist/icons/layout/slides.js +0 -15
  1070. package/dist/icons/layout/slides_horizontal.js +0 -15
  1071. package/dist/icons/layout/slides_vertical.js +0 -20
  1072. package/dist/icons/layout/stack.js +0 -15
  1073. package/dist/icons/layout/text.js +0 -15
  1074. package/dist/icons/maps/atlas.js +0 -15
  1075. package/dist/icons/maps/compass.js +0 -15
  1076. package/dist/icons/maps/direction.js +0 -15
  1077. package/dist/icons/maps/direction_angled.js +0 -15
  1078. package/dist/icons/maps/globe.js +0 -15
  1079. package/dist/icons/maps/globe_slash.js +0 -15
  1080. package/dist/icons/maps/location.js +0 -15
  1081. package/dist/icons/maps/location_slash.js +0 -15
  1082. package/dist/icons/maps/map.js +0 -15
  1083. package/dist/icons/maps/marker.js +0 -15
  1084. package/dist/icons/maps/panorama.js +0 -15
  1085. package/dist/icons/maps/pin.js +0 -15
  1086. package/dist/icons/maps/pin_arrow.js +0 -15
  1087. package/dist/icons/maps/pin_location.js +0 -15
  1088. package/dist/icons/maps/pin_plus.js +0 -15
  1089. package/dist/icons/maps/pin_question.js +0 -15
  1090. package/dist/icons/maps/pin_slash.js +0 -15
  1091. package/dist/icons/maps/push_pin.js +0 -15
  1092. package/dist/icons/maps/push_pin_filled.js +0 -15
  1093. package/dist/icons/maps/push_pin_slash.js +0 -15
  1094. package/dist/icons/maps/radar.js +0 -15
  1095. package/dist/icons/maps/route.js +0 -15
  1096. package/dist/icons/message/bubble.js +0 -15
  1097. package/dist/icons/message/bubble_question.js +0 -15
  1098. package/dist/icons/message/comment.js +0 -15
  1099. package/dist/icons/message/comment_add.js +0 -15
  1100. package/dist/icons/message/comment_check.js +0 -15
  1101. package/dist/icons/message/comment_close.js +0 -15
  1102. package/dist/icons/message/comment_minus.js +0 -15
  1103. package/dist/icons/message/comment_text.js +0 -15
  1104. package/dist/icons/misc/advertisement.js +0 -15
  1105. package/dist/icons/misc/atom.js +0 -15
  1106. package/dist/icons/misc/bone.js +0 -15
  1107. package/dist/icons/misc/brightness_high.js +0 -15
  1108. package/dist/icons/misc/brightness_low.js +0 -15
  1109. package/dist/icons/misc/contrast.js +0 -15
  1110. package/dist/icons/misc/crosshairs.js +0 -15
  1111. package/dist/icons/misc/crown.js +0 -15
  1112. package/dist/icons/misc/footprint.js +0 -15
  1113. package/dist/icons/misc/form.js +0 -15
  1114. package/dist/icons/misc/funnel.js +0 -15
  1115. package/dist/icons/misc/infinite.js +0 -15
  1116. package/dist/icons/misc/insert_button.js +0 -15
  1117. package/dist/icons/misc/light_bulb.js +0 -15
  1118. package/dist/icons/misc/moon.js +0 -15
  1119. package/dist/icons/misc/nut.js +0 -15
  1120. package/dist/icons/misc/planet.js +0 -15
  1121. package/dist/icons/misc/plus_thick.js +0 -15
  1122. package/dist/icons/misc/pocket.js +0 -15
  1123. package/dist/icons/misc/rocket.js +0 -15
  1124. package/dist/icons/misc/soup.js +0 -19
  1125. package/dist/icons/misc/sun.js +0 -15
  1126. package/dist/icons/misc/toy_horse.js +0 -15
  1127. package/dist/icons/misc/trophy.js +0 -15
  1128. package/dist/icons/misc/watercloset.js +0 -15
  1129. package/dist/icons/notifications/alert_circle.js +0 -15
  1130. package/dist/icons/notifications/alert_octogon.js +0 -15
  1131. package/dist/icons/notifications/alert_triangle.js +0 -15
  1132. package/dist/icons/notifications/app_notification.js +0 -15
  1133. package/dist/icons/notifications/bell.js +0 -15
  1134. package/dist/icons/notifications/bell_alert.js +0 -15
  1135. package/dist/icons/notifications/bell_checkmark.js +0 -15
  1136. package/dist/icons/notifications/bell_minus.js +0 -15
  1137. package/dist/icons/notifications/bell_plus.js +0 -15
  1138. package/dist/icons/notifications/bell_ring.js +0 -17
  1139. package/dist/icons/notifications/bell_slash.js +0 -15
  1140. package/dist/icons/notifications/information.js +0 -15
  1141. package/dist/icons/notifications/minus_octogon.js +0 -15
  1142. package/dist/icons/notifications/question_circle.js +0 -15
  1143. package/dist/icons/people/group.js +0 -15
  1144. package/dist/icons/people/group_add.js +0 -15
  1145. package/dist/icons/people/group_chat.js +0 -17
  1146. package/dist/icons/people/group_remove.js +0 -15
  1147. package/dist/icons/people/group_send.js +0 -16
  1148. package/dist/icons/people/groups.js +0 -15
  1149. package/dist/icons/people/person.js +0 -15
  1150. package/dist/icons/people/person_add.js +0 -15
  1151. package/dist/icons/people/person_checkmark.js +0 -15
  1152. package/dist/icons/people/person_circle.js +0 -17
  1153. package/dist/icons/people/person_close.js +0 -17
  1154. package/dist/icons/people/person_remove.js +0 -15
  1155. package/dist/icons/people/person_slash.js +0 -17
  1156. package/dist/icons/phone/keypad.js +0 -15
  1157. package/dist/icons/phone/phone.js +0 -15
  1158. package/dist/icons/phone/phone_add.js +0 -15
  1159. package/dist/icons/phone/phone_calling.js +0 -15
  1160. package/dist/icons/phone/phone_check.js +0 -15
  1161. package/dist/icons/phone/phone_close.js +0 -15
  1162. package/dist/icons/phone/phone_decline.js +0 -15
  1163. package/dist/icons/phone/phone_forwarded.js +0 -15
  1164. package/dist/icons/phone/phone_hash.js +0 -15
  1165. package/dist/icons/phone/phone_incoming.js +0 -15
  1166. package/dist/icons/phone/phone_outgoing.js +0 -15
  1167. package/dist/icons/phone/phone_pause.js +0 -15
  1168. package/dist/icons/phone/phone_slash.js +0 -15
  1169. package/dist/icons/phone/voicemail.js +0 -15
  1170. package/dist/icons/security/key.js +0 -15
  1171. package/dist/icons/security/key_slash.js +0 -15
  1172. package/dist/icons/security/lock.js +0 -15
  1173. package/dist/icons/security/lock_circle.js +0 -15
  1174. package/dist/icons/security/lock_open.js +0 -15
  1175. package/dist/icons/security/lock_slash.js +0 -15
  1176. package/dist/icons/security/shield.js +0 -15
  1177. package/dist/icons/security/shield_checkmark.js +0 -15
  1178. package/dist/icons/security/shield_lock.js +0 -15
  1179. package/dist/icons/security/shield_slash.js +0 -15
  1180. package/dist/icons/security/verified.js +0 -15
  1181. package/dist/icons/shopping/basket.js +0 -15
  1182. package/dist/icons/shopping/cart.js +0 -15
  1183. package/dist/icons/shopping/cart_filled.js +0 -15
  1184. package/dist/icons/shopping/coupon.js +0 -15
  1185. package/dist/icons/shopping/coupon_cut.js +0 -15
  1186. package/dist/icons/shopping/delivery.js +0 -15
  1187. package/dist/icons/shopping/discount.js +0 -15
  1188. package/dist/icons/shopping/gift.js +0 -15
  1189. package/dist/icons/shopping/gift_bag.js +0 -15
  1190. package/dist/icons/shopping/inventory.js +0 -15
  1191. package/dist/icons/shopping/point_of_sale.js +0 -15
  1192. package/dist/icons/shopping/shirt.js +0 -15
  1193. package/dist/icons/shopping/tag.js +0 -15
  1194. package/dist/icons/shopping/tag_diagonal.js +0 -15
  1195. package/dist/icons/shopping/tote.js +0 -15
  1196. package/dist/icons/special/upload_audio.js +0 -20
  1197. package/dist/icons/special/upload_file.js +0 -15
  1198. package/dist/icons/special/upload_image.js +0 -17
  1199. package/dist/icons/special/upload_video.js +0 -18
  1200. package/dist/icons/symbols/at.js +0 -15
  1201. package/dist/icons/symbols/cc.js +0 -15
  1202. package/dist/icons/symbols/cmd.js +0 -15
  1203. package/dist/icons/symbols/facebook.js +0 -15
  1204. package/dist/icons/symbols/google.js +0 -18
  1205. package/dist/icons/symbols/hash.js +0 -15
  1206. package/dist/icons/symbols/instagram.js +0 -27
  1207. package/dist/icons/symbols/messenger.js +0 -21
  1208. package/dist/icons/symbols/twitter.js +0 -15
  1209. package/dist/icons/technology/battery.js +0 -15
  1210. package/dist/icons/technology/battery_100.js +0 -15
  1211. package/dist/icons/technology/battery_20.js +0 -15
  1212. package/dist/icons/technology/battery_40.js +0 -15
  1213. package/dist/icons/technology/battery_60.js +0 -15
  1214. package/dist/icons/technology/battery_80.js +0 -15
  1215. package/dist/icons/technology/battery_charging.js +0 -15
  1216. package/dist/icons/technology/battery_slash.js +0 -15
  1217. package/dist/icons/technology/devices.js +0 -15
  1218. package/dist/icons/technology/floppy_disk.js +0 -15
  1219. package/dist/icons/technology/iphone.js +0 -15
  1220. package/dist/icons/technology/laptop.js +0 -15
  1221. package/dist/icons/technology/mobile.js +0 -15
  1222. package/dist/icons/technology/monitor.js +0 -15
  1223. package/dist/icons/technology/server.js +0 -15
  1224. package/dist/icons/technology/sim_card.js +0 -15
  1225. package/dist/icons/technology/usb_stick.js +0 -15
  1226. package/dist/icons/text/align_center.js +0 -15
  1227. package/dist/icons/text/align_justified.js +0 -15
  1228. package/dist/icons/text/align_left.js +0 -15
  1229. package/dist/icons/text/align_right.js +0 -15
  1230. package/dist/icons/text/code_block.js +0 -15
  1231. package/dist/icons/text/divider.js +0 -15
  1232. package/dist/icons/text/footnote.js +0 -17
  1233. package/dist/icons/text/indent_decrease.js +0 -15
  1234. package/dist/icons/text/indent_increase.js +0 -15
  1235. package/dist/icons/text/list_ordered.js +0 -15
  1236. package/dist/icons/text/list_unordered.js +0 -15
  1237. package/dist/icons/text/quote.js +0 -15
  1238. package/dist/icons/text/table.js +0 -15
  1239. package/dist/icons/time/alarm.js +0 -15
  1240. package/dist/icons/time/alarm_checkmark.js +0 -15
  1241. package/dist/icons/time/alarm_minus.js +0 -15
  1242. package/dist/icons/time/alarm_plus.js +0 -15
  1243. package/dist/icons/time/alarm_slash.js +0 -15
  1244. package/dist/icons/time/alarm_snooze.js +0 -15
  1245. package/dist/icons/time/calendar.js +0 -15
  1246. package/dist/icons/time/calendar_add.js +0 -15
  1247. package/dist/icons/time/calendar_checkmark.js +0 -15
  1248. package/dist/icons/time/calendar_close.js +0 -15
  1249. package/dist/icons/time/calendar_dates.js +0 -15
  1250. package/dist/icons/time/calendar_minus.js +0 -15
  1251. package/dist/icons/time/calendar_plus.js +0 -15
  1252. package/dist/icons/time/calendar_scroll.js +0 -17
  1253. package/dist/icons/time/clock.js +0 -15
  1254. package/dist/icons/time/clock_history.js +0 -15
  1255. package/dist/icons/time/stopwatch.js +0 -15
  1256. package/dist/icons/time/timer.js +0 -15
  1257. package/dist/icons/time/watch.js +0 -15
  1258. package/dist/node_modules/@udecode/plate-alignment/dist/index.js +0 -98
  1259. package/dist/node_modules/@udecode/plate-core/dist/index.js +0 -2656
  1260. package/dist/node_modules/@udecode/plate-link/dist/index.js +0 -585
  1261. package/dist/node_modules/@udecode/plate-media/dist/index.js +0 -211
  1262. package/dist/node_modules/@udecode/plate-normalizers/dist/index.js +0 -20
  1263. package/dist/node_modules/@udecode/plate-resizable/dist/index.js +0 -334
  1264. package/dist/node_modules/@udecode/plate-table/dist/index.js +0 -1371
  1265. package/dist/node_modules/@udecode/plate-utils/dist/index.js +0 -127
  1266. package/dist/node_modules/@udecode/slate/dist/index.js +0 -316
  1267. package/dist/node_modules/@udecode/slate-react/dist/index.js +0 -35
  1268. package/dist/node_modules/@udecode/slate-utils/dist/index.js +0 -230
  1269. package/dist/node_modules/@udecode/utils/dist/index.js +0 -61
  1270. package/dist/node_modules/clsx/dist/clsx.m.js +0 -8
  1271. package/dist/node_modules/dequal/dist/index.js +0 -88
  1272. package/dist/node_modules/immer/dist/immer.js +0 -968
  1273. package/dist/node_modules/is-hotkey/lib/index.js +0 -253
  1274. package/dist/node_modules/jotai/esm/react/utils.js +0 -29
  1275. package/dist/node_modules/jotai/esm/react.js +0 -116
  1276. package/dist/node_modules/jotai/esm/vanilla/utils.js +0 -44
  1277. package/dist/node_modules/jotai/esm/vanilla.js +0 -602
  1278. package/dist/node_modules/jotai-optics/dist/index.modern.js +0 -8
  1279. package/dist/node_modules/jotai-x/dist/index.js +0 -259
  1280. package/dist/node_modules/js-video-url-parser/lib/base.js +0 -9
  1281. package/dist/node_modules/js-video-url-parser/lib/provider/allocine.js +0 -38
  1282. package/dist/node_modules/js-video-url-parser/lib/provider/canalplus.js +0 -50
  1283. package/dist/node_modules/js-video-url-parser/lib/provider/coub.js +0 -58
  1284. package/dist/node_modules/js-video-url-parser/lib/provider/dailymotion.js +0 -74
  1285. package/dist/node_modules/js-video-url-parser/lib/provider/facebook.js +0 -82
  1286. package/dist/node_modules/js-video-url-parser/lib/provider/loom.js +0 -55
  1287. package/dist/node_modules/js-video-url-parser/lib/provider/soundcloud.js +0 -129
  1288. package/dist/node_modules/js-video-url-parser/lib/provider/teachertube.js +0 -114
  1289. package/dist/node_modules/js-video-url-parser/lib/provider/ted.js +0 -100
  1290. package/dist/node_modules/js-video-url-parser/lib/provider/tiktok.js +0 -54
  1291. package/dist/node_modules/js-video-url-parser/lib/provider/twitch.js +0 -154
  1292. package/dist/node_modules/js-video-url-parser/lib/provider/vimeo.js +0 -93
  1293. package/dist/node_modules/js-video-url-parser/lib/provider/wistia.js +0 -116
  1294. package/dist/node_modules/js-video-url-parser/lib/provider/youku.js +0 -87
  1295. package/dist/node_modules/js-video-url-parser/lib/provider/youtube.js +0 -209
  1296. package/dist/node_modules/js-video-url-parser/lib/urlParser.js +0 -88
  1297. package/dist/node_modules/js-video-url-parser/lib/util.js +0 -112
  1298. package/dist/node_modules/lodash/_DataView.js +0 -14
  1299. package/dist/node_modules/lodash/_Hash.js +0 -42
  1300. package/dist/node_modules/lodash/_ListCache.js +0 -42
  1301. package/dist/node_modules/lodash/_Map.js +0 -14
  1302. package/dist/node_modules/lodash/_MapCache.js +0 -42
  1303. package/dist/node_modules/lodash/_Promise.js +0 -14
  1304. package/dist/node_modules/lodash/_Set.js +0 -14
  1305. package/dist/node_modules/lodash/_SetCache.js +0 -35
  1306. package/dist/node_modules/lodash/_Stack.js +0 -38
  1307. package/dist/node_modules/lodash/_Symbol.js +0 -12
  1308. package/dist/node_modules/lodash/_Uint8Array.js +0 -12
  1309. package/dist/node_modules/lodash/_WeakMap.js +0 -14
  1310. package/dist/node_modules/lodash/_apply.js +0 -26
  1311. package/dist/node_modules/lodash/_arrayAggregator.js +0 -27
  1312. package/dist/node_modules/lodash/_arrayEach.js +0 -27
  1313. package/dist/node_modules/lodash/_arrayFilter.js +0 -30
  1314. package/dist/node_modules/lodash/_arrayLikeKeys.js +0 -60
  1315. package/dist/node_modules/lodash/_arrayMap.js +0 -26
  1316. package/dist/node_modules/lodash/_arrayPush.js +0 -25
  1317. package/dist/node_modules/lodash/_arraySome.js +0 -28
  1318. package/dist/node_modules/lodash/_assignMergeValue.js +0 -27
  1319. package/dist/node_modules/lodash/_assignValue.js +0 -35
  1320. package/dist/node_modules/lodash/_assocIndexOf.js +0 -27
  1321. package/dist/node_modules/lodash/_baseAggregator.js +0 -27
  1322. package/dist/node_modules/lodash/_baseAssign.js +0 -24
  1323. package/dist/node_modules/lodash/_baseAssignIn.js +0 -24
  1324. package/dist/node_modules/lodash/_baseAssignValue.js +0 -31
  1325. package/dist/node_modules/lodash/_baseClone.js +0 -193
  1326. package/dist/node_modules/lodash/_baseCreate.js +0 -36
  1327. package/dist/node_modules/lodash/_baseEach.js +0 -21
  1328. package/dist/node_modules/lodash/_baseFlatten.js +0 -45
  1329. package/dist/node_modules/lodash/_baseFor.js +0 -22
  1330. package/dist/node_modules/lodash/_baseForOwn.js +0 -23
  1331. package/dist/node_modules/lodash/_baseGet.js +0 -31
  1332. package/dist/node_modules/lodash/_baseGetAllKeys.js +0 -27
  1333. package/dist/node_modules/lodash/_baseGetTag.js +0 -36
  1334. package/dist/node_modules/lodash/_baseHasIn.js +0 -18
  1335. package/dist/node_modules/lodash/_baseIsArguments.js +0 -25
  1336. package/dist/node_modules/lodash/_baseIsEqual.js +0 -35
  1337. package/dist/node_modules/lodash/_baseIsEqualDeep.js +0 -96
  1338. package/dist/node_modules/lodash/_baseIsMap.js +0 -25
  1339. package/dist/node_modules/lodash/_baseIsMatch.js +0 -69
  1340. package/dist/node_modules/lodash/_baseIsNative.js +0 -56
  1341. package/dist/node_modules/lodash/_baseIsSet.js +0 -25
  1342. package/dist/node_modules/lodash/_baseIsTypedArray.js +0 -68
  1343. package/dist/node_modules/lodash/_baseIteratee.js +0 -41
  1344. package/dist/node_modules/lodash/_baseKeys.js +0 -37
  1345. package/dist/node_modules/lodash/_baseKeysIn.js +0 -41
  1346. package/dist/node_modules/lodash/_baseMap.js +0 -29
  1347. package/dist/node_modules/lodash/_baseMatches.js +0 -30
  1348. package/dist/node_modules/lodash/_baseMatchesProperty.js +0 -45
  1349. package/dist/node_modules/lodash/_baseMerge.js +0 -54
  1350. package/dist/node_modules/lodash/_baseMergeDeep.js +0 -114
  1351. package/dist/node_modules/lodash/_baseProperty.js +0 -19
  1352. package/dist/node_modules/lodash/_basePropertyDeep.js +0 -22
  1353. package/dist/node_modules/lodash/_baseRest.js +0 -25
  1354. package/dist/node_modules/lodash/_baseSetToString.js +0 -30
  1355. package/dist/node_modules/lodash/_baseSlice.js +0 -36
  1356. package/dist/node_modules/lodash/_baseTimes.js +0 -25
  1357. package/dist/node_modules/lodash/_baseToString.js +0 -46
  1358. package/dist/node_modules/lodash/_baseUnary.js +0 -19
  1359. package/dist/node_modules/lodash/_baseUnset.js +0 -29
  1360. package/dist/node_modules/lodash/_baseValues.js +0 -25
  1361. package/dist/node_modules/lodash/_cacheHas.js +0 -18
  1362. package/dist/node_modules/lodash/_castPath.js +0 -30
  1363. package/dist/node_modules/lodash/_cloneArrayBuffer.js +0 -22
  1364. package/dist/node_modules/lodash/_cloneBuffer.js +0 -48
  1365. package/dist/node_modules/lodash/_cloneDataView.js +0 -22
  1366. package/dist/node_modules/lodash/_cloneRegExp.js +0 -22
  1367. package/dist/node_modules/lodash/_cloneSymbol.js +0 -24
  1368. package/dist/node_modules/lodash/_cloneTypedArray.js +0 -22
  1369. package/dist/node_modules/lodash/_copyArray.js +0 -25
  1370. package/dist/node_modules/lodash/_copyObject.js +0 -47
  1371. package/dist/node_modules/lodash/_copySymbols.js +0 -23
  1372. package/dist/node_modules/lodash/_copySymbolsIn.js +0 -23
  1373. package/dist/node_modules/lodash/_coreJsData.js +0 -12
  1374. package/dist/node_modules/lodash/_createAggregator.js +0 -32
  1375. package/dist/node_modules/lodash/_createAssigner.js +0 -44
  1376. package/dist/node_modules/lodash/_createBaseEach.js +0 -38
  1377. package/dist/node_modules/lodash/_createBaseFor.js +0 -30
  1378. package/dist/node_modules/lodash/_customDefaultsMerge.js +0 -35
  1379. package/dist/node_modules/lodash/_customOmitClone.js +0 -22
  1380. package/dist/node_modules/lodash/_defineProperty.js +0 -17
  1381. package/dist/node_modules/lodash/_equalArrays.js +0 -92
  1382. package/dist/node_modules/lodash/_equalByTag.js +0 -123
  1383. package/dist/node_modules/lodash/_equalObjects.js +0 -96
  1384. package/dist/node_modules/lodash/_flatRest.js +0 -24
  1385. package/dist/node_modules/lodash/_freeGlobal.js +0 -11
  1386. package/dist/node_modules/lodash/_getAllKeys.js +0 -24
  1387. package/dist/node_modules/lodash/_getAllKeysIn.js +0 -25
  1388. package/dist/node_modules/lodash/_getMapData.js +0 -24
  1389. package/dist/node_modules/lodash/_getMatchData.js +0 -31
  1390. package/dist/node_modules/lodash/_getNative.js +0 -24
  1391. package/dist/node_modules/lodash/_getPrototype.js +0 -12
  1392. package/dist/node_modules/lodash/_getRawTag.js +0 -52
  1393. package/dist/node_modules/lodash/_getSymbols.js +0 -37
  1394. package/dist/node_modules/lodash/_getSymbolsIn.js +0 -34
  1395. package/dist/node_modules/lodash/_getTag.js +0 -70
  1396. package/dist/node_modules/lodash/_getValue.js +0 -18
  1397. package/dist/node_modules/lodash/_hasPath.js +0 -50
  1398. package/dist/node_modules/lodash/_hashClear.js +0 -21
  1399. package/dist/node_modules/lodash/_hashDelete.js +0 -22
  1400. package/dist/node_modules/lodash/_hashGet.js +0 -36
  1401. package/dist/node_modules/lodash/_hashHas.js +0 -29
  1402. package/dist/node_modules/lodash/_hashSet.js +0 -29
  1403. package/dist/node_modules/lodash/_initCloneArray.js +0 -31
  1404. package/dist/node_modules/lodash/_initCloneByTag.js +0 -87
  1405. package/dist/node_modules/lodash/_initCloneObject.js +0 -26
  1406. package/dist/node_modules/lodash/_isFlattenable.js +0 -28
  1407. package/dist/node_modules/lodash/_isIndex.js +0 -30
  1408. package/dist/node_modules/lodash/_isIterateeCall.js +0 -39
  1409. package/dist/node_modules/lodash/_isKey.js +0 -36
  1410. package/dist/node_modules/lodash/_isKeyable.js +0 -20
  1411. package/dist/node_modules/lodash/_isMasked.js +0 -26
  1412. package/dist/node_modules/lodash/_isPrototype.js +0 -23
  1413. package/dist/node_modules/lodash/_isStrictComparable.js +0 -21
  1414. package/dist/node_modules/lodash/_listCacheClear.js +0 -18
  1415. package/dist/node_modules/lodash/_listCacheDelete.js +0 -41
  1416. package/dist/node_modules/lodash/_listCacheGet.js +0 -25
  1417. package/dist/node_modules/lodash/_listCacheHas.js +0 -22
  1418. package/dist/node_modules/lodash/_listCacheSet.js +0 -32
  1419. package/dist/node_modules/lodash/_mapCacheClear.js +0 -29
  1420. package/dist/node_modules/lodash/_mapCacheDelete.js +0 -24
  1421. package/dist/node_modules/lodash/_mapCacheGet.js +0 -22
  1422. package/dist/node_modules/lodash/_mapCacheHas.js +0 -22
  1423. package/dist/node_modules/lodash/_mapCacheSet.js +0 -28
  1424. package/dist/node_modules/lodash/_mapToArray.js +0 -23
  1425. package/dist/node_modules/lodash/_matchesStrictComparable.js +0 -25
  1426. package/dist/node_modules/lodash/_memoizeCapped.js +0 -32
  1427. package/dist/node_modules/lodash/_nativeCreate.js +0 -12
  1428. package/dist/node_modules/lodash/_nativeKeys.js +0 -12
  1429. package/dist/node_modules/lodash/_nativeKeysIn.js +0 -25
  1430. package/dist/node_modules/lodash/_nodeUtil.js +0 -43
  1431. package/dist/node_modules/lodash/_objectToString.js +0 -27
  1432. package/dist/node_modules/lodash/_overArg.js +0 -20
  1433. package/dist/node_modules/lodash/_overRest.js +0 -42
  1434. package/dist/node_modules/lodash/_parent.js +0 -23
  1435. package/dist/node_modules/lodash/_root.js +0 -15
  1436. package/dist/node_modules/lodash/_safeGet.js +0 -26
  1437. package/dist/node_modules/lodash/_setCacheAdd.js +0 -24
  1438. package/dist/node_modules/lodash/_setCacheHas.js +0 -19
  1439. package/dist/node_modules/lodash/_setToArray.js +0 -23
  1440. package/dist/node_modules/lodash/_setToString.js +0 -21
  1441. package/dist/node_modules/lodash/_shortOut.js +0 -42
  1442. package/dist/node_modules/lodash/_stackClear.js +0 -21
  1443. package/dist/node_modules/lodash/_stackDelete.js +0 -23
  1444. package/dist/node_modules/lodash/_stackGet.js +0 -19
  1445. package/dist/node_modules/lodash/_stackHas.js +0 -19
  1446. package/dist/node_modules/lodash/_stackSet.js +0 -42
  1447. package/dist/node_modules/lodash/_stringToPath.js +0 -33
  1448. package/dist/node_modules/lodash/_toKey.js +0 -27
  1449. package/dist/node_modules/lodash/_toSource.js +0 -31
  1450. package/dist/node_modules/lodash/castArray.js +0 -55
  1451. package/dist/node_modules/lodash/cloneDeep.js +0 -40
  1452. package/dist/node_modules/lodash/constant.js +0 -31
  1453. package/dist/node_modules/lodash/defaults.js +0 -69
  1454. package/dist/node_modules/lodash/defaultsDeep.js +0 -44
  1455. package/dist/node_modules/lodash/eq.js +0 -42
  1456. package/dist/node_modules/lodash/flatten.js +0 -28
  1457. package/dist/node_modules/lodash/get.js +0 -39
  1458. package/dist/node_modules/lodash/hasIn.js +0 -41
  1459. package/dist/node_modules/lodash/identity.js +0 -26
  1460. package/dist/node_modules/lodash/isArguments.js +0 -43
  1461. package/dist/node_modules/lodash/isArray.js +0 -31
  1462. package/dist/node_modules/lodash/isArrayLike.js +0 -40
  1463. package/dist/node_modules/lodash/isArrayLikeObject.js +0 -40
  1464. package/dist/node_modules/lodash/isBuffer.js +0 -52
  1465. package/dist/node_modules/lodash/isFunction.js +0 -44
  1466. package/dist/node_modules/lodash/isLength.js +0 -40
  1467. package/dist/node_modules/lodash/isMap.js +0 -35
  1468. package/dist/node_modules/lodash/isObject.js +0 -36
  1469. package/dist/node_modules/lodash/isObjectLike.js +0 -34
  1470. package/dist/node_modules/lodash/isPlainObject.js +0 -70
  1471. package/dist/node_modules/lodash/isSet.js +0 -35
  1472. package/dist/node_modules/lodash/isSymbol.js +0 -36
  1473. package/dist/node_modules/lodash/isTypedArray.js +0 -35
  1474. package/dist/node_modules/lodash/keyBy.js +0 -48
  1475. package/dist/node_modules/lodash/keys.js +0 -45
  1476. package/dist/node_modules/lodash/keysIn.js +0 -40
  1477. package/dist/node_modules/lodash/last.js +0 -25
  1478. package/dist/node_modules/lodash/map.js +0 -67
  1479. package/dist/node_modules/lodash/memoize.js +0 -79
  1480. package/dist/node_modules/lodash/merge.js +0 -51
  1481. package/dist/node_modules/lodash/mergeWith.js +0 -46
  1482. package/dist/node_modules/lodash/omit.js +0 -75
  1483. package/dist/node_modules/lodash/property.js +0 -41
  1484. package/dist/node_modules/lodash/stubArray.js +0 -28
  1485. package/dist/node_modules/lodash/stubFalse.js +0 -23
  1486. package/dist/node_modules/lodash/toPlainObject.js +0 -39
  1487. package/dist/node_modules/lodash/toString.js +0 -34
  1488. package/dist/node_modules/lodash/values.js +0 -46
  1489. package/dist/node_modules/lodash.mapvalues/index.js +0 -2290
  1490. package/dist/node_modules/optics-ts/dist/mjs/index.js +0 -31
  1491. package/dist/node_modules/optics-ts/dist/mjs/internals.js +0 -460
  1492. package/dist/node_modules/proxy-compare/dist/index.modern.js +0 -7
  1493. package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js +0 -395
  1494. package/dist/node_modules/react-tracked/dist/index.modern.js +0 -48
  1495. package/dist/node_modules/style-inject/dist/style-inject.es.js +0 -30
  1496. package/dist/node_modules/use-deep-compare/dist-web/index.js +0 -35
  1497. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +0 -181
  1498. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +0 -32
  1499. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +0 -254
  1500. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +0 -30
  1501. package/dist/node_modules/use-sync-external-store/shim/index.js +0 -21
  1502. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +0 -19
  1503. package/dist/node_modules/zustand/esm/middleware.js +0 -551
  1504. package/dist/node_modules/zustand/esm/traditional.js +0 -25
  1505. package/dist/node_modules/zustand/esm/vanilla.js +0 -34
  1506. package/dist/node_modules/zustand-x/dist/index.js +0 -217
  1507. package/dist/src/common/colors.js +0 -140
  1508. package/dist/src/common/date.js +0 -34
  1509. package/dist/src/common/styles.js +0 -66
  1510. package/dist/src/components/actions/button/button.js +0 -330
  1511. package/dist/src/components/actions/dropdown/dropdown.js +0 -237
  1512. package/dist/src/components/actions/rate/rate.js +0 -56
  1513. package/dist/src/components/actions/switch/switch.js +0 -81
  1514. package/dist/src/components/actions/toggle/toggle.js +0 -67
  1515. package/dist/src/components/actions/upload/upload.js +0 -170
  1516. package/dist/src/components/atoms/box/box.js +0 -26
  1517. package/dist/src/components/atoms/hide/hide.js +0 -18
  1518. package/dist/src/components/atoms/seconds_to_duration/seconds_to_duration.js +0 -36
  1519. package/dist/src/components/atoms/time_ago/time_ago.js +0 -40
  1520. package/dist/src/components/atoms/typography/display.js +0 -19
  1521. package/dist/src/components/atoms/typography/heading.js +0 -44
  1522. package/dist/src/components/atoms/typography/paragraph.js +0 -27
  1523. package/dist/src/components/atoms/typography/typography.js +0 -17
  1524. package/dist/src/components/card/action/action.js +0 -84
  1525. package/dist/src/components/card/audio/audio.js +0 -143
  1526. package/dist/src/components/card/card.js +0 -34
  1527. package/dist/src/components/card/feature/feature.js +0 -204
  1528. package/dist/src/components/card/meeting/meeting.js +0 -152
  1529. package/dist/src/components/card/person/person.js +0 -83
  1530. package/dist/src/components/card/price/price.js +0 -89
  1531. package/dist/src/components/card/regular/regular.js +0 -43
  1532. package/dist/src/components/card/styles.js +0 -16
  1533. package/dist/src/components/card/video/video.js +0 -140
  1534. package/dist/src/components/card/written/written.js +0 -143
  1535. package/dist/src/components/custom/courses_selection/courses_selection.js +0 -143
  1536. package/dist/src/components/custom/users_selection/users_selection.js +0 -134
  1537. package/dist/src/components/editor/constants.js +0 -195
  1538. package/dist/src/components/editor/context.js +0 -17
  1539. package/dist/src/components/editor/editor.js +0 -114
  1540. package/dist/src/components/editor/icons/border-all.js +0 -12
  1541. package/dist/src/components/editor/icons/border-bottom.js +0 -12
  1542. package/dist/src/components/editor/icons/border-left.js +0 -12
  1543. package/dist/src/components/editor/icons/border-none.js +0 -12
  1544. package/dist/src/components/editor/icons/border-right.js +0 -12
  1545. package/dist/src/components/editor/icons/border-top.js +0 -12
  1546. package/dist/src/components/editor/navbar/alignment_dropdown.js +0 -106
  1547. package/dist/src/components/editor/navbar/button_modal.js +0 -70
  1548. package/dist/src/components/editor/navbar/navbar.js +0 -225
  1549. package/dist/src/components/editor/navbar/style_dropdown.js +0 -74
  1550. package/dist/src/components/editor/plugins/blocks/blockquote.js +0 -17
  1551. package/dist/src/components/editor/plugins/blocks/blocks.js +0 -54
  1552. package/dist/src/components/editor/plugins/blocks/buttons.js +0 -91
  1553. package/dist/src/components/editor/plugins/blocks/dropdown-menu.js +0 -78
  1554. package/dist/src/components/editor/plugins/blocks/image.js +0 -61
  1555. package/dist/src/components/editor/plugins/blocks/list.js +0 -26
  1556. package/dist/src/components/editor/plugins/blocks/media-popover.js +0 -43
  1557. package/dist/src/components/editor/plugins/blocks/plate-button.js +0 -63
  1558. package/dist/src/components/editor/plugins/blocks/popover.js +0 -39
  1559. package/dist/src/components/editor/plugins/blocks/qa.js +0 -55
  1560. package/dist/src/components/editor/plugins/blocks/resizable.js +0 -48
  1561. package/dist/src/components/editor/plugins/blocks/separator.js +0 -44
  1562. package/dist/src/components/editor/plugins/blocks/table-cell.js +0 -48
  1563. package/dist/src/components/editor/plugins/blocks/table-row.js +0 -16
  1564. package/dist/src/components/editor/plugins/blocks/table.js +0 -100
  1565. package/dist/src/components/editor/plugins/blocks/text.js +0 -103
  1566. package/dist/src/components/editor/plugins/blocks/video.js +0 -42
  1567. package/dist/src/components/editor/plugins/leafs/leafs.js +0 -37
  1568. package/dist/src/components/editor/plugins/leafs/link.js +0 -86
  1569. package/dist/src/components/editor/plugins/marks/marks.js +0 -17
  1570. package/dist/src/components/editor/plugins/plate.js +0 -43
  1571. package/dist/src/components/editor/plugins/utils/exitBreak.js +0 -36
  1572. package/dist/src/components/editor/plugins/utils/resetBlockType.js +0 -26
  1573. package/dist/src/components/editor/plugins/utils/selectOnBackspace.js +0 -11
  1574. package/dist/src/components/editor/plugins/utils/softBreak.js +0 -19
  1575. package/dist/src/components/editor/plugins/utils/utils.js +0 -17
  1576. package/dist/src/components/editor/simple_editor/navbar.js +0 -128
  1577. package/dist/src/components/editor/simple_editor/plugins.js +0 -93
  1578. package/dist/src/components/editor/simple_editor/simple_editor.js +0 -98
  1579. package/dist/src/components/editor/styles/menu_button.js +0 -36
  1580. package/dist/src/components/feedback/animated_toast/animated_toast.js +0 -64
  1581. package/dist/src/components/feedback/badge/badge.js +0 -75
  1582. package/dist/src/components/feedback/banner/banner.js +0 -95
  1583. package/dist/src/components/feedback/chip/chip.js +0 -103
  1584. package/dist/src/components/feedback/loader/loader.js +0 -44
  1585. package/dist/src/components/feedback/notification/notification.js +0 -87
  1586. package/dist/src/components/feedback/progress/progress.js +0 -101
  1587. package/dist/src/components/feedback/toast/toast.js +0 -126
  1588. package/dist/src/components/feedback/tooltip/tooltip.js +0 -35
  1589. package/dist/src/components/iconography/avatar/avatar.js +0 -190
  1590. package/dist/src/components/iconography/avatar/icons/approved.js +0 -14
  1591. package/dist/src/components/iconography/avatar/icons/busy.js +0 -14
  1592. package/dist/src/components/iconography/avatar/icons/declined.js +0 -14
  1593. package/dist/src/components/iconography/avatar/icons/default.js +0 -13
  1594. package/dist/src/components/iconography/avatar/icons/focus.js +0 -14
  1595. package/dist/src/components/iconography/avatar/icons/locked.js +0 -14
  1596. package/dist/src/components/iconography/avatar/icons/offline.js +0 -14
  1597. package/dist/src/components/iconography/avatar/icons/online.js +0 -13
  1598. package/dist/src/components/iconography/avatar/icons/subscribed.js +0 -18
  1599. package/dist/src/components/iconography/icon/icon.js +0 -19
  1600. package/dist/src/components/input/calendar/calendar.js +0 -267
  1601. package/dist/src/components/input/checkbox/checkbox.js +0 -32
  1602. package/dist/src/components/input/date/date.js +0 -529
  1603. package/dist/src/components/input/filter/filter.js +0 -332
  1604. package/dist/src/components/input/filter/filter_option.js +0 -82
  1605. package/dist/src/components/input/radio/radio.js +0 -92
  1606. package/dist/src/components/input/search/search.js +0 -148
  1607. package/dist/src/components/input/select/select.js +0 -56
  1608. package/dist/src/components/input/text_area/text_area.js +0 -120
  1609. package/dist/src/components/input/text_input/text_input.js +0 -157
  1610. package/dist/src/components/input/time/time.js +0 -80
  1611. package/dist/src/components/media/video/video.js +0 -42
  1612. package/dist/src/components/media/video-player/playlist-item.js +0 -48
  1613. package/dist/src/components/media/video-player/video.js +0 -210
  1614. package/dist/src/components/navigation/breadcrumb/breadcrumb.js +0 -119
  1615. package/dist/src/components/navigation/inner/inner.js +0 -199
  1616. package/dist/src/components/navigation/tabs/tabs.js +0 -159
  1617. package/dist/src/components/surfaces/accordion/accordion.js +0 -56
  1618. package/dist/src/components/surfaces/calendar_date/calendar_date.js +0 -55
  1619. package/dist/src/components/surfaces/carousel/card/card.js +0 -106
  1620. package/dist/src/components/surfaces/comment/comment.js +0 -211
  1621. package/dist/src/components/surfaces/comment/helpers.js +0 -30
  1622. package/dist/src/components/surfaces/drawer/drawer.js +0 -140
  1623. package/dist/src/components/surfaces/message/message.js +0 -56
  1624. package/dist/src/components/surfaces/modal/modal.js +0 -135
  1625. package/dist/src/components/surfaces/portal/portal.js +0 -36
  1626. package/dist/src/components/surfaces/post/post.js +0 -246
  1627. package/dist/src/components/table/table/table.js +0 -192
  1628. package/dist/src/emoji/emojis.json.js +0 -36331
  1629. package/dist/src/icons/arrow/arrow_all.js +0 -15
  1630. package/dist/src/icons/arrow/arrow_all_diagonal.js +0 -15
  1631. package/dist/src/icons/arrow/arrow_both_downwards.js +0 -15
  1632. package/dist/src/icons/arrow/arrow_both_upwards.js +0 -15
  1633. package/dist/src/icons/arrow/arrow_circle_left.js +0 -15
  1634. package/dist/src/icons/arrow/arrow_circle_left_double.js +0 -15
  1635. package/dist/src/icons/arrow/arrow_circle_left_double_alert.js +0 -17
  1636. package/dist/src/icons/arrow/arrow_circle_right.js +0 -15
  1637. package/dist/src/icons/arrow/arrow_circle_right_double.js +0 -15
  1638. package/dist/src/icons/arrow/arrow_circle_right_double_alert.js +0 -15
  1639. package/dist/src/icons/arrow/arrow_diagonal_down_left.js +0 -15
  1640. package/dist/src/icons/arrow/arrow_diagonal_down_left_circle.js +0 -15
  1641. package/dist/src/icons/arrow/arrow_diagonal_down_right.js +0 -15
  1642. package/dist/src/icons/arrow/arrow_diagonal_down_right_circle.js +0 -15
  1643. package/dist/src/icons/arrow/arrow_diagonal_up_left.js +0 -15
  1644. package/dist/src/icons/arrow/arrow_diagonal_up_left_circle.js +0 -15
  1645. package/dist/src/icons/arrow/arrow_diagonal_up_right.js +0 -15
  1646. package/dist/src/icons/arrow/arrow_diagonal_up_right_circle.js +0 -15
  1647. package/dist/src/icons/arrow/arrow_down.js +0 -15
  1648. package/dist/src/icons/arrow/arrow_down_bold.js +0 -15
  1649. package/dist/src/icons/arrow/arrow_down_circle.js +0 -15
  1650. package/dist/src/icons/arrow/arrow_left.js +0 -15
  1651. package/dist/src/icons/arrow/arrow_left_bold.js +0 -15
  1652. package/dist/src/icons/arrow/arrow_left_circle.js +0 -15
  1653. package/dist/src/icons/arrow/arrow_left_curved.js +0 -15
  1654. package/dist/src/icons/arrow/arrow_left_curved_circle.js +0 -15
  1655. package/dist/src/icons/arrow/arrow_right.js +0 -15
  1656. package/dist/src/icons/arrow/arrow_right_bold.js +0 -15
  1657. package/dist/src/icons/arrow/arrow_right_circle.js +0 -15
  1658. package/dist/src/icons/arrow/arrow_right_curved.js +0 -15
  1659. package/dist/src/icons/arrow/arrow_right_curved_circle.js +0 -15
  1660. package/dist/src/icons/arrow/arrow_up.js +0 -15
  1661. package/dist/src/icons/arrow/arrow_up_bold.js +0 -15
  1662. package/dist/src/icons/arrow/arrow_up_circle.js +0 -15
  1663. package/dist/src/icons/arrow/chevron_down.js +0 -15
  1664. package/dist/src/icons/arrow/chevron_down_circle.js +0 -15
  1665. package/dist/src/icons/arrow/chevron_down_double.js +0 -15
  1666. package/dist/src/icons/arrow/chevron_down_double_circle.js +0 -15
  1667. package/dist/src/icons/arrow/chevron_left.js +0 -15
  1668. package/dist/src/icons/arrow/chevron_left_circle.js +0 -15
  1669. package/dist/src/icons/arrow/chevron_left_double.js +0 -15
  1670. package/dist/src/icons/arrow/chevron_left_double_circle.js +0 -15
  1671. package/dist/src/icons/arrow/chevron_right.js +0 -15
  1672. package/dist/src/icons/arrow/chevron_right_circle.js +0 -15
  1673. package/dist/src/icons/arrow/chevron_right_double.js +0 -15
  1674. package/dist/src/icons/arrow/chevron_right_double_circle.js +0 -15
  1675. package/dist/src/icons/arrow/chevron_scroll.js +0 -15
  1676. package/dist/src/icons/arrow/chevron_up.js +0 -15
  1677. package/dist/src/icons/arrow/chevron_up_circle.js +0 -15
  1678. package/dist/src/icons/arrow/chevron_up_double.js +0 -15
  1679. package/dist/src/icons/arrow/chevron_up_double_circle.js +0 -15
  1680. package/dist/src/icons/arrow/forward_all.js +0 -15
  1681. package/dist/src/icons/arrow/forward_all_bold.js +0 -15
  1682. package/dist/src/icons/arrow/forward_bold.js +0 -15
  1683. package/dist/src/icons/arrow/redo.js +0 -15
  1684. package/dist/src/icons/arrow/redo_bold.js +0 -15
  1685. package/dist/src/icons/arrow/reply.js +0 -15
  1686. package/dist/src/icons/arrow/reply_all.js +0 -15
  1687. package/dist/src/icons/arrow/reply_all_bold.js +0 -15
  1688. package/dist/src/icons/arrow/reply_bold.js +0 -15
  1689. package/dist/src/icons/arrow/undo.js +0 -15
  1690. package/dist/src/icons/arrow/undo_bold.js +0 -15
  1691. package/dist/src/icons/audio_video/drag_indicator.js +0 -15
  1692. package/dist/src/icons/audio_video/eject.js +0 -15
  1693. package/dist/src/icons/audio_video/equalizer.js +0 -15
  1694. package/dist/src/icons/audio_video/fast_forward.js +0 -15
  1695. package/dist/src/icons/audio_video/fast_forward_30.js +0 -15
  1696. package/dist/src/icons/audio_video/fullscreen.js +0 -15
  1697. package/dist/src/icons/audio_video/headphones.js +0 -15
  1698. package/dist/src/icons/audio_video/library_add.js +0 -15
  1699. package/dist/src/icons/audio_video/library_music.js +0 -15
  1700. package/dist/src/icons/audio_video/microphone.js +0 -15
  1701. package/dist/src/icons/audio_video/musical_note.js +0 -15
  1702. package/dist/src/icons/audio_video/next.js +0 -15
  1703. package/dist/src/icons/audio_video/pause.js +0 -15
  1704. package/dist/src/icons/audio_video/pause_circle.js +0 -15
  1705. package/dist/src/icons/audio_video/play.js +0 -15
  1706. package/dist/src/icons/audio_video/play_circle.js +0 -15
  1707. package/dist/src/icons/audio_video/play_display.js +0 -15
  1708. package/dist/src/icons/audio_video/play_pause.js +0 -15
  1709. package/dist/src/icons/audio_video/play_solid.js +0 -15
  1710. package/dist/src/icons/audio_video/player_list.js +0 -15
  1711. package/dist/src/icons/audio_video/player_list_add.js +0 -15
  1712. package/dist/src/icons/audio_video/player_list_play.js +0 -15
  1713. package/dist/src/icons/audio_video/previous.js +0 -15
  1714. package/dist/src/icons/audio_video/radio.js +0 -15
  1715. package/dist/src/icons/audio_video/record.js +0 -15
  1716. package/dist/src/icons/audio_video/repeat.js +0 -15
  1717. package/dist/src/icons/audio_video/rewind.js +0 -15
  1718. package/dist/src/icons/audio_video/rewind_30.js +0 -15
  1719. package/dist/src/icons/audio_video/shuffle.js +0 -15
  1720. package/dist/src/icons/audio_video/sound_wave.js +0 -15
  1721. package/dist/src/icons/audio_video/stop.js +0 -15
  1722. package/dist/src/icons/audio_video/stop_circle.js +0 -15
  1723. package/dist/src/icons/audio_video/subscriptions.js +0 -15
  1724. package/dist/src/icons/audio_video/tuner.js +0 -15
  1725. package/dist/src/icons/audio_video/volume.js +0 -15
  1726. package/dist/src/icons/audio_video/volume_high.js +0 -15
  1727. package/dist/src/icons/audio_video/volume_low.js +0 -15
  1728. package/dist/src/icons/audio_video/volume_slash.js +0 -15
  1729. package/dist/src/icons/basic/aa_sansserif.js +0 -16
  1730. package/dist/src/icons/basic/aa_serif.js +0 -16
  1731. package/dist/src/icons/basic/anchor.js +0 -17
  1732. package/dist/src/icons/basic/bible.js +0 -15
  1733. package/dist/src/icons/basic/bold.js +0 -15
  1734. package/dist/src/icons/basic/book.js +0 -15
  1735. package/dist/src/icons/basic/book_open.js +0 -15
  1736. package/dist/src/icons/basic/bookmark.js +0 -15
  1737. package/dist/src/icons/basic/bookmark_add.js +0 -15
  1738. package/dist/src/icons/basic/bookmark_slash.js +0 -15
  1739. package/dist/src/icons/basic/bookmarks.js +0 -15
  1740. package/dist/src/icons/basic/books.js +0 -18
  1741. package/dist/src/icons/basic/box.js +0 -15
  1742. package/dist/src/icons/basic/briefcase.js +0 -15
  1743. package/dist/src/icons/basic/browse_activity.js +0 -15
  1744. package/dist/src/icons/basic/browser.js +0 -15
  1745. package/dist/src/icons/basic/browser_slash.js +0 -15
  1746. package/dist/src/icons/basic/calculator.js +0 -15
  1747. package/dist/src/icons/basic/camera.js +0 -15
  1748. package/dist/src/icons/basic/camera_add.js +0 -15
  1749. package/dist/src/icons/basic/camera_slash.js +0 -15
  1750. package/dist/src/icons/basic/checkmark.js +0 -15
  1751. package/dist/src/icons/basic/checkmark_circle.js +0 -17
  1752. package/dist/src/icons/basic/checkmark_filled.js +0 -15
  1753. package/dist/src/icons/basic/checkmarks.js +0 -15
  1754. package/dist/src/icons/basic/circle.js +0 -15
  1755. package/dist/src/icons/basic/circle_slash.js +0 -17
  1756. package/dist/src/icons/basic/clear_text_style.js +0 -15
  1757. package/dist/src/icons/basic/close.js +0 -15
  1758. package/dist/src/icons/basic/close_circle.js +0 -15
  1759. package/dist/src/icons/basic/close_filled.js +0 -15
  1760. package/dist/src/icons/basic/copy.js +0 -15
  1761. package/dist/src/icons/basic/delete.js +0 -15
  1762. package/dist/src/icons/basic/detail.js +0 -15
  1763. package/dist/src/icons/basic/dot.js +0 -15
  1764. package/dist/src/icons/basic/download.js +0 -15
  1765. package/dist/src/icons/basic/download_arrow.js +0 -15
  1766. package/dist/src/icons/basic/droplet.js +0 -17
  1767. package/dist/src/icons/basic/ellipsis_horizontal.js +0 -15
  1768. package/dist/src/icons/basic/ellipsis_horizontal_circle.js +0 -15
  1769. package/dist/src/icons/basic/ellipsis_vertical.js +0 -15
  1770. package/dist/src/icons/basic/ellipsis_vertical_circle.js +0 -15
  1771. package/dist/src/icons/basic/eye.js +0 -15
  1772. package/dist/src/icons/basic/eye_slash.js +0 -15
  1773. package/dist/src/icons/basic/fingerprint.js +0 -15
  1774. package/dist/src/icons/basic/flag.js +0 -15
  1775. package/dist/src/icons/basic/flag_wave.js +0 -15
  1776. package/dist/src/icons/basic/flag_wave_filled.js +0 -15
  1777. package/dist/src/icons/basic/flame.js +0 -15
  1778. package/dist/src/icons/basic/gauge.js +0 -15
  1779. package/dist/src/icons/basic/glasses.js +0 -15
  1780. package/dist/src/icons/basic/graduation_cap.js +0 -15
  1781. package/dist/src/icons/basic/hashmark.js +0 -15
  1782. package/dist/src/icons/basic/heart.js +0 -15
  1783. package/dist/src/icons/basic/heart_slash.js +0 -15
  1784. package/dist/src/icons/basic/highlighter.js +0 -15
  1785. package/dist/src/icons/basic/home.js +0 -15
  1786. package/dist/src/icons/basic/image.js +0 -15
  1787. package/dist/src/icons/basic/inbox.js +0 -15
  1788. package/dist/src/icons/basic/italic.js +0 -15
  1789. package/dist/src/icons/basic/layers.js +0 -15
  1790. package/dist/src/icons/basic/lightening.js +0 -15
  1791. package/dist/src/icons/basic/lightening_slash.js +0 -15
  1792. package/dist/src/icons/basic/link.js +0 -15
  1793. package/dist/src/icons/basic/link_slash.js +0 -15
  1794. package/dist/src/icons/basic/loudspeaker.js +0 -15
  1795. package/dist/src/icons/basic/maximize.js +0 -15
  1796. package/dist/src/icons/basic/menu.js +0 -15
  1797. package/dist/src/icons/basic/menu_circle.js +0 -15
  1798. package/dist/src/icons/basic/menu_dots.js +0 -15
  1799. package/dist/src/icons/basic/microphone_slash.js +0 -15
  1800. package/dist/src/icons/basic/minimize.js +0 -15
  1801. package/dist/src/icons/basic/minus.js +0 -15
  1802. package/dist/src/icons/basic/minus_circle.js +0 -15
  1803. package/dist/src/icons/basic/move_item.js +0 -15
  1804. package/dist/src/icons/basic/new.js +0 -15
  1805. package/dist/src/icons/basic/newspaper.js +0 -15
  1806. package/dist/src/icons/basic/node.js +0 -15
  1807. package/dist/src/icons/basic/note_pad.js +0 -16
  1808. package/dist/src/icons/basic/options.js +0 -15
  1809. package/dist/src/icons/basic/paint_brush.js +0 -15
  1810. package/dist/src/icons/basic/paperclip.js +0 -15
  1811. package/dist/src/icons/basic/paperclip_slash.js +0 -15
  1812. package/dist/src/icons/basic/pencil.js +0 -15
  1813. package/dist/src/icons/basic/pencil_pad.js +0 -15
  1814. package/dist/src/icons/basic/plus.js +0 -15
  1815. package/dist/src/icons/basic/plus_circle.js +0 -15
  1816. package/dist/src/icons/basic/presentation.js +0 -15
  1817. package/dist/src/icons/basic/printer.js +0 -15
  1818. package/dist/src/icons/basic/profile.js +0 -15
  1819. package/dist/src/icons/basic/profile_check.js +0 -15
  1820. package/dist/src/icons/basic/pulse.js +0 -15
  1821. package/dist/src/icons/basic/qr_code.js +0 -15
  1822. package/dist/src/icons/basic/resize.js +0 -17
  1823. package/dist/src/icons/basic/scan.js +0 -15
  1824. package/dist/src/icons/basic/scissors.js +0 -15
  1825. package/dist/src/icons/basic/screenshot.js +0 -15
  1826. package/dist/src/icons/basic/search.js +0 -15
  1827. package/dist/src/icons/basic/select_item.js +0 -16
  1828. package/dist/src/icons/basic/settings.js +0 -15
  1829. package/dist/src/icons/basic/share.js +0 -15
  1830. package/dist/src/icons/basic/share_external.js +0 -15
  1831. package/dist/src/icons/basic/square.js +0 -15
  1832. package/dist/src/icons/basic/star.js +0 -15
  1833. package/dist/src/icons/basic/star_circle.js +0 -15
  1834. package/dist/src/icons/basic/star_filled.js +0 -15
  1835. package/dist/src/icons/basic/star_filled_half.js +0 -15
  1836. package/dist/src/icons/basic/star_slash.js +0 -15
  1837. package/dist/src/icons/basic/sticker.js +0 -15
  1838. package/dist/src/icons/basic/strikethrough.js +0 -15
  1839. package/dist/src/icons/basic/subtask.js +0 -16
  1840. package/dist/src/icons/basic/tax.js +0 -18
  1841. package/dist/src/icons/basic/text_bg_color.js +0 -15
  1842. package/dist/src/icons/basic/text_color.js +0 -15
  1843. package/dist/src/icons/basic/textbox.js +0 -15
  1844. package/dist/src/icons/basic/thumbs_down.js +0 -15
  1845. package/dist/src/icons/basic/thumbs_up.js +0 -15
  1846. package/dist/src/icons/basic/thumbs_up_filled.js +0 -15
  1847. package/dist/src/icons/basic/toggle_left.js +0 -15
  1848. package/dist/src/icons/basic/toggle_right.js +0 -15
  1849. package/dist/src/icons/basic/translate.js +0 -15
  1850. package/dist/src/icons/basic/trash.js +0 -15
  1851. package/dist/src/icons/basic/trash_slash.js +0 -15
  1852. package/dist/src/icons/basic/underline.js +0 -15
  1853. package/dist/src/icons/basic/upload.js +0 -15
  1854. package/dist/src/icons/basic/video.js +0 -15
  1855. package/dist/src/icons/basic/video_add.js +0 -16
  1856. package/dist/src/icons/basic/video_slash.js +0 -15
  1857. package/dist/src/icons/basic/wrench.js +0 -15
  1858. package/dist/src/icons/basic/zoom_in.js +0 -15
  1859. package/dist/src/icons/basic/zoom_out.js +0 -15
  1860. package/dist/src/icons/data/bar_chart.js +0 -15
  1861. package/dist/src/icons/data/bar_chart_downward.js +0 -15
  1862. package/dist/src/icons/data/bar_chart_downward_outline.js +0 -15
  1863. package/dist/src/icons/data/bar_chart_upward.js +0 -15
  1864. package/dist/src/icons/data/bar_chart_upward_outline.js +0 -15
  1865. package/dist/src/icons/data/candlestick_chart.js +0 -15
  1866. package/dist/src/icons/data/four_circles.js +0 -15
  1867. package/dist/src/icons/data/legend_toggle.js +0 -15
  1868. package/dist/src/icons/data/line_chart.js +0 -15
  1869. package/dist/src/icons/data/line_chart_area.js +0 -15
  1870. package/dist/src/icons/data/line_chart_area_shaded.js +0 -15
  1871. package/dist/src/icons/data/line_chart_double.js +0 -15
  1872. package/dist/src/icons/data/line_chart_downward.js +0 -15
  1873. package/dist/src/icons/data/line_chart_node.js +0 -15
  1874. package/dist/src/icons/data/line_chart_outline.js +0 -15
  1875. package/dist/src/icons/data/line_chart_search.js +0 -15
  1876. package/dist/src/icons/data/line_chart_stars.js +0 -15
  1877. package/dist/src/icons/data/line_chart_upward.js +0 -15
  1878. package/dist/src/icons/data/pie_chart.js +0 -16
  1879. package/dist/src/icons/data/tree.js +0 -15
  1880. package/dist/src/icons/email/mail.js +0 -15
  1881. package/dist/src/icons/email/mail_check.js +0 -15
  1882. package/dist/src/icons/email/mail_minus.js +0 -15
  1883. package/dist/src/icons/email/mail_send.js +0 -15
  1884. package/dist/src/icons/email/send.js +0 -15
  1885. package/dist/src/icons/email/send_close.js +0 -15
  1886. package/dist/src/icons/email/send_schedule.js +0 -15
  1887. package/dist/src/icons/email/send_text.js +0 -15
  1888. package/dist/src/icons/emoji/emoji_add.js +0 -15
  1889. package/dist/src/icons/emoji/laughing.js +0 -15
  1890. package/dist/src/icons/emoji/neutral.js +0 -15
  1891. package/dist/src/icons/emoji/sad.js +0 -15
  1892. package/dist/src/icons/emoji/shocked.js +0 -15
  1893. package/dist/src/icons/emoji/smile.js +0 -15
  1894. package/dist/src/icons/file/clipboard.js +0 -15
  1895. package/dist/src/icons/file/clipboard_check.js +0 -15
  1896. package/dist/src/icons/file/clipboard_close.js +0 -15
  1897. package/dist/src/icons/file/clipboard_minus.js +0 -15
  1898. package/dist/src/icons/file/clipboard_plus.js +0 -15
  1899. package/dist/src/icons/file/clipboard_text.js +0 -15
  1900. package/dist/src/icons/file/file.js +0 -15
  1901. package/dist/src/icons/file/file_add.js +0 -15
  1902. package/dist/src/icons/file/file_check.js +0 -15
  1903. package/dist/src/icons/file/file_close.js +0 -15
  1904. package/dist/src/icons/file/file_code.js +0 -15
  1905. package/dist/src/icons/file/file_download.js +0 -15
  1906. package/dist/src/icons/file/file_draft.js +0 -15
  1907. package/dist/src/icons/file/file_gear.js +0 -16
  1908. package/dist/src/icons/file/file_minus.js +0 -15
  1909. package/dist/src/icons/file/file_plus.js +0 -15
  1910. package/dist/src/icons/file/file_scan.js +0 -15
  1911. package/dist/src/icons/file/file_shred.js +0 -15
  1912. package/dist/src/icons/file/file_text.js +0 -15
  1913. package/dist/src/icons/file/file_upload.js +0 -15
  1914. package/dist/src/icons/file/folder.js +0 -15
  1915. package/dist/src/icons/file/folder_add.js +0 -15
  1916. package/dist/src/icons/file/folder_arrow.js +0 -15
  1917. package/dist/src/icons/file/folder_check.js +0 -15
  1918. package/dist/src/icons/file/folder_close.js +0 -15
  1919. package/dist/src/icons/file/folder_cloud.js +0 -15
  1920. package/dist/src/icons/file/folder_gear.js +0 -16
  1921. package/dist/src/icons/file/folder_minus.js +0 -15
  1922. package/dist/src/icons/file/folder_music.js +0 -15
  1923. package/dist/src/icons/file/folder_open.js +0 -15
  1924. package/dist/src/icons/file/folder_plus.js +0 -15
  1925. package/dist/src/icons/file/folder_zip.js +0 -15
  1926. package/dist/src/icons/file/note.js +0 -15
  1927. package/dist/src/icons/file/note_text.js +0 -15
  1928. package/dist/src/icons/file/pdf.js +0 -15
  1929. package/dist/src/icons/file/photo.js +0 -15
  1930. package/dist/src/icons/finance/bitcoin.js +0 -15
  1931. package/dist/src/icons/finance/coins.js +0 -19
  1932. package/dist/src/icons/finance/credit_card.js +0 -15
  1933. package/dist/src/icons/finance/credit_card_add.js +0 -15
  1934. package/dist/src/icons/finance/credit_card_face.js +0 -15
  1935. package/dist/src/icons/finance/credit_card_member.js +0 -15
  1936. package/dist/src/icons/finance/credit_card_outcome.js +0 -15
  1937. package/dist/src/icons/finance/credit_card_scan.js +0 -15
  1938. package/dist/src/icons/finance/credit_card_share.js +0 -15
  1939. package/dist/src/icons/finance/credit_card_slash.js +0 -15
  1940. package/dist/src/icons/finance/currency_exchange.js +0 -15
  1941. package/dist/src/icons/finance/dollar.js +0 -15
  1942. package/dist/src/icons/finance/ethereum.js +0 -15
  1943. package/dist/src/icons/finance/paypass.js +0 -15
  1944. package/dist/src/icons/finance/strongbox.js +0 -15
  1945. package/dist/src/icons/finance/wallet.js +0 -15
  1946. package/dist/src/icons/index.js +0 -1095
  1947. package/dist/src/icons/layout/block_align_bottom.js +0 -15
  1948. package/dist/src/icons/layout/block_align_center.js +0 -15
  1949. package/dist/src/icons/layout/block_align_left.js +0 -15
  1950. package/dist/src/icons/layout/block_align_middle.js +0 -15
  1951. package/dist/src/icons/layout/block_align_right.js +0 -15
  1952. package/dist/src/icons/layout/block_align_top.js +0 -15
  1953. package/dist/src/icons/layout/block_horizontal.js +0 -15
  1954. package/dist/src/icons/layout/block_vertical.js +0 -15
  1955. package/dist/src/icons/layout/edit_shape.js +0 -15
  1956. package/dist/src/icons/layout/elements.js +0 -15
  1957. package/dist/src/icons/layout/elements_add.js +0 -15
  1958. package/dist/src/icons/layout/elements_filled.js +0 -15
  1959. package/dist/src/icons/layout/elements_masonry.js +0 -15
  1960. package/dist/src/icons/layout/frame.js +0 -15
  1961. package/dist/src/icons/layout/frame_stack.js +0 -15
  1962. package/dist/src/icons/layout/grid.js +0 -15
  1963. package/dist/src/icons/layout/grid_column_three.js +0 -15
  1964. package/dist/src/icons/layout/grid_column_two.js +0 -15
  1965. package/dist/src/icons/layout/grid_dynamic.js +0 -15
  1966. package/dist/src/icons/layout/grid_frame.js +0 -15
  1967. package/dist/src/icons/layout/grid_row_three.js +0 -15
  1968. package/dist/src/icons/layout/grid_row_two.js +0 -15
  1969. package/dist/src/icons/layout/grid_six.js +0 -15
  1970. package/dist/src/icons/layout/grid_small.js +0 -15
  1971. package/dist/src/icons/layout/iframe.js +0 -15
  1972. package/dist/src/icons/layout/kanban.js +0 -15
  1973. package/dist/src/icons/layout/layout.js +0 -15
  1974. package/dist/src/icons/layout/list.js +0 -15
  1975. package/dist/src/icons/layout/list_filled.js +0 -20
  1976. package/dist/src/icons/layout/padding.js +0 -15
  1977. package/dist/src/icons/layout/page_break.js +0 -15
  1978. package/dist/src/icons/layout/rotate_left.js +0 -15
  1979. package/dist/src/icons/layout/rotate_right.js +0 -15
  1980. package/dist/src/icons/layout/ruler.js +0 -15
  1981. package/dist/src/icons/layout/segment.js +0 -15
  1982. package/dist/src/icons/layout/select_area.js +0 -15
  1983. package/dist/src/icons/layout/select_boundary.js +0 -15
  1984. package/dist/src/icons/layout/sidebar_left.js +0 -15
  1985. package/dist/src/icons/layout/sidebar_right.js +0 -15
  1986. package/dist/src/icons/layout/slides.js +0 -15
  1987. package/dist/src/icons/layout/slides_horizontal.js +0 -15
  1988. package/dist/src/icons/layout/slides_vertical.js +0 -20
  1989. package/dist/src/icons/layout/stack.js +0 -15
  1990. package/dist/src/icons/layout/text.js +0 -15
  1991. package/dist/src/icons/maps/atlas.js +0 -15
  1992. package/dist/src/icons/maps/compass.js +0 -15
  1993. package/dist/src/icons/maps/direction.js +0 -15
  1994. package/dist/src/icons/maps/direction_angled.js +0 -15
  1995. package/dist/src/icons/maps/globe.js +0 -15
  1996. package/dist/src/icons/maps/globe_slash.js +0 -15
  1997. package/dist/src/icons/maps/location.js +0 -15
  1998. package/dist/src/icons/maps/location_slash.js +0 -15
  1999. package/dist/src/icons/maps/map.js +0 -15
  2000. package/dist/src/icons/maps/marker.js +0 -15
  2001. package/dist/src/icons/maps/panorama.js +0 -15
  2002. package/dist/src/icons/maps/pin.js +0 -15
  2003. package/dist/src/icons/maps/pin_arrow.js +0 -15
  2004. package/dist/src/icons/maps/pin_location.js +0 -15
  2005. package/dist/src/icons/maps/pin_plus.js +0 -15
  2006. package/dist/src/icons/maps/pin_question.js +0 -15
  2007. package/dist/src/icons/maps/pin_slash.js +0 -15
  2008. package/dist/src/icons/maps/push_pin.js +0 -15
  2009. package/dist/src/icons/maps/push_pin_filled.js +0 -15
  2010. package/dist/src/icons/maps/push_pin_slash.js +0 -15
  2011. package/dist/src/icons/maps/radar.js +0 -15
  2012. package/dist/src/icons/maps/route.js +0 -15
  2013. package/dist/src/icons/message/bubble.js +0 -15
  2014. package/dist/src/icons/message/bubble_question.js +0 -15
  2015. package/dist/src/icons/message/comment.js +0 -15
  2016. package/dist/src/icons/message/comment_add.js +0 -15
  2017. package/dist/src/icons/message/comment_check.js +0 -15
  2018. package/dist/src/icons/message/comment_close.js +0 -15
  2019. package/dist/src/icons/message/comment_minus.js +0 -15
  2020. package/dist/src/icons/message/comment_text.js +0 -15
  2021. package/dist/src/icons/misc/advertisement.js +0 -15
  2022. package/dist/src/icons/misc/atom.js +0 -15
  2023. package/dist/src/icons/misc/bone.js +0 -15
  2024. package/dist/src/icons/misc/brightness_high.js +0 -15
  2025. package/dist/src/icons/misc/brightness_low.js +0 -15
  2026. package/dist/src/icons/misc/contrast.js +0 -15
  2027. package/dist/src/icons/misc/crosshairs.js +0 -15
  2028. package/dist/src/icons/misc/crown.js +0 -15
  2029. package/dist/src/icons/misc/footprint.js +0 -15
  2030. package/dist/src/icons/misc/form.js +0 -15
  2031. package/dist/src/icons/misc/funnel.js +0 -15
  2032. package/dist/src/icons/misc/infinite.js +0 -15
  2033. package/dist/src/icons/misc/insert_button.js +0 -15
  2034. package/dist/src/icons/misc/light_bulb.js +0 -15
  2035. package/dist/src/icons/misc/moon.js +0 -15
  2036. package/dist/src/icons/misc/nut.js +0 -15
  2037. package/dist/src/icons/misc/planet.js +0 -15
  2038. package/dist/src/icons/misc/plus_thick.js +0 -15
  2039. package/dist/src/icons/misc/pocket.js +0 -15
  2040. package/dist/src/icons/misc/rocket.js +0 -15
  2041. package/dist/src/icons/misc/soup.js +0 -19
  2042. package/dist/src/icons/misc/sun.js +0 -15
  2043. package/dist/src/icons/misc/toy_horse.js +0 -15
  2044. package/dist/src/icons/misc/trophy.js +0 -15
  2045. package/dist/src/icons/misc/watercloset.js +0 -15
  2046. package/dist/src/icons/notifications/alert_circle.js +0 -15
  2047. package/dist/src/icons/notifications/alert_octogon.js +0 -15
  2048. package/dist/src/icons/notifications/alert_triangle.js +0 -15
  2049. package/dist/src/icons/notifications/app_notification.js +0 -15
  2050. package/dist/src/icons/notifications/bell.js +0 -15
  2051. package/dist/src/icons/notifications/bell_alert.js +0 -15
  2052. package/dist/src/icons/notifications/bell_checkmark.js +0 -15
  2053. package/dist/src/icons/notifications/bell_minus.js +0 -15
  2054. package/dist/src/icons/notifications/bell_plus.js +0 -15
  2055. package/dist/src/icons/notifications/bell_ring.js +0 -17
  2056. package/dist/src/icons/notifications/bell_slash.js +0 -15
  2057. package/dist/src/icons/notifications/information.js +0 -15
  2058. package/dist/src/icons/notifications/minus_octogon.js +0 -15
  2059. package/dist/src/icons/notifications/question_circle.js +0 -15
  2060. package/dist/src/icons/people/group.js +0 -15
  2061. package/dist/src/icons/people/group_add.js +0 -15
  2062. package/dist/src/icons/people/group_chat.js +0 -17
  2063. package/dist/src/icons/people/group_remove.js +0 -15
  2064. package/dist/src/icons/people/group_send.js +0 -16
  2065. package/dist/src/icons/people/groups.js +0 -15
  2066. package/dist/src/icons/people/person.js +0 -15
  2067. package/dist/src/icons/people/person_add.js +0 -15
  2068. package/dist/src/icons/people/person_checkmark.js +0 -15
  2069. package/dist/src/icons/people/person_circle.js +0 -17
  2070. package/dist/src/icons/people/person_close.js +0 -17
  2071. package/dist/src/icons/people/person_remove.js +0 -15
  2072. package/dist/src/icons/people/person_slash.js +0 -17
  2073. package/dist/src/icons/phone/keypad.js +0 -15
  2074. package/dist/src/icons/phone/phone.js +0 -15
  2075. package/dist/src/icons/phone/phone_add.js +0 -15
  2076. package/dist/src/icons/phone/phone_calling.js +0 -15
  2077. package/dist/src/icons/phone/phone_check.js +0 -15
  2078. package/dist/src/icons/phone/phone_close.js +0 -15
  2079. package/dist/src/icons/phone/phone_decline.js +0 -15
  2080. package/dist/src/icons/phone/phone_forwarded.js +0 -15
  2081. package/dist/src/icons/phone/phone_hash.js +0 -15
  2082. package/dist/src/icons/phone/phone_incoming.js +0 -15
  2083. package/dist/src/icons/phone/phone_outgoing.js +0 -15
  2084. package/dist/src/icons/phone/phone_pause.js +0 -15
  2085. package/dist/src/icons/phone/phone_slash.js +0 -15
  2086. package/dist/src/icons/phone/voicemail.js +0 -15
  2087. package/dist/src/icons/security/key.js +0 -15
  2088. package/dist/src/icons/security/key_slash.js +0 -15
  2089. package/dist/src/icons/security/lock.js +0 -15
  2090. package/dist/src/icons/security/lock_circle.js +0 -15
  2091. package/dist/src/icons/security/lock_open.js +0 -15
  2092. package/dist/src/icons/security/lock_slash.js +0 -15
  2093. package/dist/src/icons/security/shield.js +0 -15
  2094. package/dist/src/icons/security/shield_checkmark.js +0 -15
  2095. package/dist/src/icons/security/shield_lock.js +0 -15
  2096. package/dist/src/icons/security/shield_slash.js +0 -15
  2097. package/dist/src/icons/security/verified.js +0 -15
  2098. package/dist/src/icons/shopping/basket.js +0 -15
  2099. package/dist/src/icons/shopping/cart.js +0 -15
  2100. package/dist/src/icons/shopping/cart_filled.js +0 -15
  2101. package/dist/src/icons/shopping/coupon.js +0 -15
  2102. package/dist/src/icons/shopping/coupon_cut.js +0 -15
  2103. package/dist/src/icons/shopping/delivery.js +0 -15
  2104. package/dist/src/icons/shopping/discount.js +0 -15
  2105. package/dist/src/icons/shopping/gift.js +0 -15
  2106. package/dist/src/icons/shopping/gift_bag.js +0 -15
  2107. package/dist/src/icons/shopping/inventory.js +0 -15
  2108. package/dist/src/icons/shopping/point_of_sale.js +0 -15
  2109. package/dist/src/icons/shopping/shirt.js +0 -15
  2110. package/dist/src/icons/shopping/tag.js +0 -15
  2111. package/dist/src/icons/shopping/tag_diagonal.js +0 -15
  2112. package/dist/src/icons/shopping/tote.js +0 -15
  2113. package/dist/src/icons/special/upload_audio.js +0 -20
  2114. package/dist/src/icons/special/upload_file.js +0 -15
  2115. package/dist/src/icons/special/upload_image.js +0 -17
  2116. package/dist/src/icons/special/upload_video.js +0 -18
  2117. package/dist/src/icons/symbols/at.js +0 -15
  2118. package/dist/src/icons/symbols/cc.js +0 -15
  2119. package/dist/src/icons/symbols/cmd.js +0 -15
  2120. package/dist/src/icons/symbols/facebook.js +0 -15
  2121. package/dist/src/icons/symbols/google.js +0 -18
  2122. package/dist/src/icons/symbols/hash.js +0 -15
  2123. package/dist/src/icons/symbols/instagram.js +0 -27
  2124. package/dist/src/icons/symbols/messenger.js +0 -21
  2125. package/dist/src/icons/symbols/twitter.js +0 -15
  2126. package/dist/src/icons/technology/battery.js +0 -15
  2127. package/dist/src/icons/technology/battery_100.js +0 -15
  2128. package/dist/src/icons/technology/battery_20.js +0 -15
  2129. package/dist/src/icons/technology/battery_40.js +0 -15
  2130. package/dist/src/icons/technology/battery_60.js +0 -15
  2131. package/dist/src/icons/technology/battery_80.js +0 -15
  2132. package/dist/src/icons/technology/battery_charging.js +0 -15
  2133. package/dist/src/icons/technology/battery_slash.js +0 -15
  2134. package/dist/src/icons/technology/devices.js +0 -15
  2135. package/dist/src/icons/technology/floppy_disk.js +0 -15
  2136. package/dist/src/icons/technology/iphone.js +0 -15
  2137. package/dist/src/icons/technology/laptop.js +0 -15
  2138. package/dist/src/icons/technology/mobile.js +0 -15
  2139. package/dist/src/icons/technology/monitor.js +0 -15
  2140. package/dist/src/icons/technology/server.js +0 -15
  2141. package/dist/src/icons/technology/sim_card.js +0 -15
  2142. package/dist/src/icons/technology/usb_stick.js +0 -15
  2143. package/dist/src/icons/text/align_center.js +0 -15
  2144. package/dist/src/icons/text/align_justified.js +0 -15
  2145. package/dist/src/icons/text/align_left.js +0 -15
  2146. package/dist/src/icons/text/align_right.js +0 -15
  2147. package/dist/src/icons/text/code_block.js +0 -15
  2148. package/dist/src/icons/text/divider.js +0 -15
  2149. package/dist/src/icons/text/footnote.js +0 -17
  2150. package/dist/src/icons/text/indent_decrease.js +0 -15
  2151. package/dist/src/icons/text/indent_increase.js +0 -15
  2152. package/dist/src/icons/text/list_ordered.js +0 -15
  2153. package/dist/src/icons/text/list_unordered.js +0 -15
  2154. package/dist/src/icons/text/quote.js +0 -15
  2155. package/dist/src/icons/text/table.js +0 -15
  2156. package/dist/src/icons/time/alarm.js +0 -15
  2157. package/dist/src/icons/time/alarm_checkmark.js +0 -15
  2158. package/dist/src/icons/time/alarm_minus.js +0 -15
  2159. package/dist/src/icons/time/alarm_plus.js +0 -15
  2160. package/dist/src/icons/time/alarm_slash.js +0 -15
  2161. package/dist/src/icons/time/alarm_snooze.js +0 -15
  2162. package/dist/src/icons/time/calendar.js +0 -15
  2163. package/dist/src/icons/time/calendar_add.js +0 -15
  2164. package/dist/src/icons/time/calendar_checkmark.js +0 -15
  2165. package/dist/src/icons/time/calendar_close.js +0 -15
  2166. package/dist/src/icons/time/calendar_dates.js +0 -15
  2167. package/dist/src/icons/time/calendar_minus.js +0 -15
  2168. package/dist/src/icons/time/calendar_plus.js +0 -15
  2169. package/dist/src/icons/time/calendar_scroll.js +0 -17
  2170. package/dist/src/icons/time/clock.js +0 -15
  2171. package/dist/src/icons/time/clock_history.js +0 -15
  2172. package/dist/src/icons/time/stopwatch.js +0 -15
  2173. package/dist/src/icons/time/timer.js +0 -15
  2174. package/dist/src/icons/time/watch.js +0 -15
  2175. package/dist/src/index.js +0 -115
  2176. package/dist/src/styles/globals.css +0 -1
  2177. package/dist/src/styles/globals.css.js +0 -8
  2178. package/dist/src/utils/date.js +0 -73
  2179. package/dist/src/utils/function.js +0 -5
  2180. package/dist/utils/date.js +0 -73
  2181. package/dist/utils/function.js +0 -5
@@ -1,2656 +0,0 @@
1
- 'use strict';
2
-
3
- var React = require('react');
4
- var index = require('../../../jotai-x/dist/index.js');
5
- var reactHotkeysHook_esm = require('../../../react-hotkeys-hook/dist/react-hotkeys-hook.esm.js');
6
- var index$1 = require('../../../zustand-x/dist/index.js');
7
- var index$6 = require('../../slate/dist/index.js');
8
- var index$4 = require('../../slate-react/dist/index.js');
9
- var index$7 = require('../../slate-utils/dist/index.js');
10
- var index$3 = require('../../utils/dist/index.js');
11
- var defaultsDeep = require('../../../lodash/defaultsDeep.js');
12
- var slateHistory = require('slate-history');
13
- var slateReact = require('slate-react');
14
- var slateHyperscript = require('slate-hyperscript');
15
- var castArray = require('../../../lodash/castArray.js');
16
- var keyBy = require('../../../lodash/keyBy.js');
17
- var merge = require('../../../lodash/merge.js');
18
- var values = require('../../../lodash/values.js');
19
- var cloneDeep = require('../../../lodash/cloneDeep.js');
20
- var clsx_m = require('../../../clsx/dist/clsx.m.js');
21
- var index$2 = require('../../../is-hotkey/lib/index.js');
22
- require('../../../lodash/_Stack.js');
23
- require('../../../lodash/_SetCache.js');
24
- require('../../../lodash/_equalByTag.js');
25
- require('../../../lodash/isArguments.js');
26
- require('../../../lodash/isBuffer.js');
27
- require('../../../lodash/isTypedArray.js');
28
- require('../../../lodash/_baseGetTag.js');
29
- require('../../../lodash/_getTag.js');
30
- var slate = require('slate');
31
- var omit = require('../../../lodash/omit.js');
32
- var index$5 = require('../../../use-deep-compare/dist-web/index.js');
33
- var index_modern = require('../../../jotai-optics/dist/index.modern.js');
34
- var utils = require('../../../jotai/esm/vanilla/utils.js');
35
- var vanilla = require('../../../jotai/esm/vanilla.js');
36
-
37
- function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
38
-
39
- var React__default = /*#__PURE__*/_interopDefaultCompat(React);
40
-
41
- var __defProp = Object.defineProperty;
42
- var __defProps = Object.defineProperties;
43
- var __getOwnPropDescs = Object.getOwnPropertyDescriptors;
44
- var __getOwnPropSymbols = Object.getOwnPropertySymbols;
45
- var __hasOwnProp = Object.prototype.hasOwnProperty;
46
- var __propIsEnum = Object.prototype.propertyIsEnumerable;
47
- var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value;
48
- var __spreadValues = (a, b) => {
49
- for (var prop in b || (b = {}))
50
- if (__hasOwnProp.call(b, prop))
51
- __defNormalProp(a, prop, b[prop]);
52
- if (__getOwnPropSymbols)
53
- for (var prop of __getOwnPropSymbols(b)) {
54
- if (__propIsEnum.call(b, prop))
55
- __defNormalProp(a, prop, b[prop]);
56
- }
57
- return a;
58
- };
59
- var __spreadProps = (a, b) => __defProps(a, __getOwnPropDescs(b));
60
- var __objRest = (source, exclude) => {
61
- var target = {};
62
- for (var prop in source)
63
- if (__hasOwnProp.call(source, prop) && exclude.indexOf(prop) < 0)
64
- target[prop] = source[prop];
65
- if (source != null && __getOwnPropSymbols)
66
- for (var prop of __getOwnPropSymbols(source)) {
67
- if (exclude.indexOf(prop) < 0 && __propIsEnum.call(source, prop))
68
- target[prop] = source[prop];
69
- }
70
- return target;
71
- };
72
- function DefaultLeaf(_a) {
73
- var _b = _a, {
74
- attributes,
75
- children,
76
- text,
77
- leaf,
78
- editor,
79
- nodeProps
80
- } = _b, props = __objRest(_b, [
81
- "attributes",
82
- "children",
83
- "text",
84
- "leaf",
85
- "editor",
86
- "nodeProps"
87
- ]);
88
- return /* @__PURE__ */ React__default.default.createElement("span", __spreadValues(__spreadValues({}, attributes), props), children);
89
- }
90
-
91
- // src/stores/element/useElementStore.ts
92
- var SCOPE_ELEMENT = "element";
93
- var initialState = {
94
- element: null
95
- };
96
- var { useElementStore, ElementProvider } = index.createAtomStore(
97
- initialState,
98
- { name: "element" }
99
- );
100
-
101
- // src/stores/element/useElement.ts
102
- var useElement = (pluginKey = SCOPE_ELEMENT) => {
103
- const value = useElementStore(pluginKey).get.element();
104
- if (!value) {
105
- console.warn(
106
- `The \`useElement(pluginKey)\` hook must be used inside the node component's context`
107
- );
108
- return {};
109
- }
110
- return value;
111
- };
112
-
113
- // src/stores/event-editor/eventEditorStore.ts
114
- var eventEditorStore = index$1.createZustandStore("event-editor")({
115
- blur: null,
116
- focus: null,
117
- last: null
118
- });
119
- var eventEditorActions = eventEditorStore.set;
120
- var eventEditorSelectors = eventEditorStore.get;
121
- eventEditorStore.use;
122
- var applyDeepToNodes = ({
123
- node,
124
- path = [],
125
- source,
126
- apply,
127
- query
128
- }) => {
129
- const entry = [node, path];
130
- if (index$6.queryNode(entry, query)) {
131
- if (source instanceof Function) {
132
- apply(node, source());
133
- } else {
134
- apply(node, source);
135
- }
136
- }
137
- if (!index$6.isAncestor(node))
138
- return;
139
- node.children.forEach((child, index) => {
140
- applyDeepToNodes({
141
- node: child,
142
- path: path.concat([index]),
143
- source,
144
- apply,
145
- query
146
- });
147
- });
148
- };
149
- var resetEditorChildren = (editor, options) => {
150
- index$7.replaceNodeChildren(editor, __spreadValues({
151
- at: [],
152
- nodes: editor.childrenFactory()
153
- }, options));
154
- };
155
-
156
- // src/transforms/resetEditor.ts
157
- var resetEditor = (editor) => {
158
- const isFocused = index$4.isEditorFocused(editor);
159
- resetEditorChildren(editor);
160
- editor.history.undos = [];
161
- editor.history.redos = [];
162
- editor.operations = [];
163
- if (isFocused) {
164
- index$4.focusEditorEdge(editor, { edge: "start" });
165
- }
166
- };
167
-
168
- // src/constants/ELEMENT_DEFAULT.ts
169
- var ELEMENT_DEFAULT = "p";
170
-
171
- // src/utils/getPluginsByKey.ts
172
- var getPluginsByKey = (editor) => {
173
- var _a;
174
- return (_a = editor == null ? void 0 : editor.pluginsByKey) != null ? _a : {};
175
- };
176
-
177
- // src/utils/getPlugin.ts
178
- var getPlugin = (editor, key) => {
179
- var _a;
180
- return (_a = getPluginsByKey(editor)[key]) != null ? _a : { key };
181
- };
182
-
183
- // src/utils/getPluginType.ts
184
- var getPluginType = (editor, key) => {
185
- var _a, _b;
186
- return (_b = (_a = getPlugin(editor, key).type) != null ? _a : key) != null ? _b : "";
187
- };
188
- var overridePluginsByKey = (plugin, overrideByKey = {}, nested = false) => {
189
- var _b;
190
- if (overrideByKey[plugin.key]) {
191
- const _a = overrideByKey[plugin.key], {
192
- plugins: pluginOverridesPlugins,
193
- then: pluginOverridesThen
194
- } = _a, pluginOverrides = __objRest(_a, [
195
- "plugins",
196
- "then"
197
- ]);
198
- plugin = defaultsDeep.default(pluginOverrides, plugin);
199
- if (!nested) {
200
- pluginOverridesPlugins == null ? void 0 : pluginOverridesPlugins.forEach((pOverrides) => {
201
- if (!plugin.plugins)
202
- plugin.plugins = [];
203
- const found = plugin.plugins.find((p) => p.key === pOverrides.key);
204
- if (!found)
205
- plugin.plugins.push(pOverrides);
206
- });
207
- }
208
- }
209
- if (plugin.plugins) {
210
- plugin.plugins = plugin.plugins.map(
211
- (p) => overridePluginsByKey(p, overrideByKey, true)
212
- );
213
- }
214
- const { then } = plugin;
215
- if (then) {
216
- if (plugin._thenReplaced === void 0) {
217
- plugin._thenReplaced = 0;
218
- }
219
- if (plugin._thenReplaced < 3) {
220
- plugin.then = (editor, p) => {
221
- const pluginThen = __spreadValues({ key: plugin.key }, then(editor, p));
222
- return defaultsDeep.default(
223
- overridePluginsByKey(pluginThen, overrideByKey),
224
- pluginThen
225
- );
226
- };
227
- plugin._thenReplaced++;
228
- }
229
- } else if ((_b = overrideByKey[plugin.key]) == null ? void 0 : _b.then) {
230
- plugin.then = overrideByKey[plugin.key].then;
231
- }
232
- return plugin;
233
- };
234
-
235
- // src/utils/createPluginFactory.ts
236
- var createPluginFactory = (defaultPlugin) => (override, overrideByKey = {}) => {
237
- overrideByKey[defaultPlugin.key] = override;
238
- return overridePluginsByKey(
239
- __spreadValues({}, defaultPlugin),
240
- overrideByKey
241
- );
242
- };
243
-
244
- // src/plugins/createDeserializeAstPlugin.ts
245
- var KEY_DESERIALIZE_AST = "deserializeAst";
246
- var createDeserializeAstPlugin = createPluginFactory({
247
- key: KEY_DESERIALIZE_AST,
248
- editor: {
249
- insertData: {
250
- format: "application/x-slate-fragment",
251
- getFragment: ({ data }) => {
252
- const decoded = decodeURIComponent(window.atob(data));
253
- let parsed;
254
- try {
255
- parsed = JSON.parse(decoded);
256
- } catch (error) {
257
- }
258
- return parsed;
259
- }
260
- }
261
- }
262
- });
263
- var getBlockAbove = (editor, options = {}) => index$6.getAboveNode(editor, __spreadProps(__spreadValues({}, options), {
264
- block: true
265
- }));
266
- var isSelectionAtBlockStart = (editor, options) => {
267
- var _a;
268
- const { selection } = editor;
269
- if (!selection)
270
- return false;
271
- const path = (_a = getBlockAbove(editor, options)) == null ? void 0 : _a[1];
272
- if (!path)
273
- return false;
274
- return index$6.isStartPoint(editor, selection.focus, path) || index$6.isExpanded(editor.selection) && index$6.isStartPoint(editor, selection.anchor, path);
275
- };
276
- var removeSelectionMark = (editor) => {
277
- const marks = index$6.getMarks(editor);
278
- if (!marks)
279
- return;
280
- Object.keys(marks).forEach((key) => {
281
- index$6.removeEditorMark(editor, key);
282
- });
283
- };
284
- var KEY_EDITOR_PROTOCOL = "editorProtocol";
285
- var withEditorProtocol = (editor) => {
286
- const { deleteBackward, deleteForward, deleteFragment } = editor;
287
- const resetMarks = () => {
288
- if (isSelectionAtBlockStart(editor)) {
289
- removeSelectionMark(editor);
290
- }
291
- };
292
- editor.deleteBackward = (unit) => {
293
- deleteBackward(unit);
294
- resetMarks();
295
- };
296
- editor.deleteForward = (unit) => {
297
- deleteForward(unit);
298
- resetMarks();
299
- };
300
- editor.deleteFragment = (direction) => {
301
- deleteFragment(direction);
302
- resetMarks();
303
- };
304
- return editor;
305
- };
306
- var createEditorProtocolPlugin = createPluginFactory({
307
- key: KEY_EDITOR_PROTOCOL,
308
- withOverrides: withEditorProtocol
309
- });
310
-
311
- // src/plugins/createEventEditorPlugin.ts
312
- var KEY_EVENT_EDITOR = "event-editor";
313
- var createEventEditorPlugin = createPluginFactory({
314
- key: KEY_EVENT_EDITOR,
315
- handlers: {
316
- onFocus: (editor) => () => {
317
- eventEditorActions.focus(editor.id);
318
- },
319
- onBlur: (editor) => () => {
320
- const focus = eventEditorSelectors.focus();
321
- if (focus === editor.id) {
322
- eventEditorActions.focus(null);
323
- }
324
- eventEditorActions.blur(editor.id);
325
- }
326
- }
327
- });
328
- var withTHistory = (editor) => slateHistory.withHistory(editor);
329
- var createHistoryPlugin = createPluginFactory({
330
- key: "history",
331
- withOverrides: withTHistory
332
- });
333
-
334
- // src/plugins/createInlineVoidPlugin.ts
335
- var KEY_INLINE_VOID = "inline-void";
336
- var withInlineVoid = (editor) => {
337
- const { isInline, isVoid, markableVoid } = editor;
338
- const voidTypes = [];
339
- const inlineTypes = [];
340
- const markableVoidTypes = [];
341
- editor.plugins.forEach((plugin) => {
342
- if (plugin.isInline) {
343
- inlineTypes.push(plugin.type);
344
- }
345
- if (plugin.isVoid) {
346
- voidTypes.push(plugin.type);
347
- }
348
- if (plugin.isMarkableVoid) {
349
- markableVoidTypes.push(plugin.type);
350
- }
351
- });
352
- editor.isInline = (element) => {
353
- return inlineTypes.includes(element.type) ? true : isInline(element);
354
- };
355
- editor.isVoid = (element) => {
356
- return voidTypes.includes(element.type) ? true : isVoid(element);
357
- };
358
- editor.markableVoid = (element) => {
359
- return markableVoidTypes.includes(element.type) ? true : markableVoid(element);
360
- };
361
- return editor;
362
- };
363
- var createInlineVoidPlugin = createPluginFactory({
364
- key: KEY_INLINE_VOID,
365
- withOverrides: withInlineVoid
366
- });
367
-
368
- // src/utils/getInjectedPlugins.ts
369
- var getInjectedPlugins = (editor, plugin) => {
370
- const injectedPlugins = [];
371
- [...editor.plugins].reverse().forEach((p) => {
372
- var _a;
373
- const injectedPlugin = (_a = p.inject.pluginsByKey) == null ? void 0 : _a[plugin.key];
374
- if (injectedPlugin)
375
- injectedPlugins.push(injectedPlugin);
376
- });
377
- return [plugin, ...injectedPlugins];
378
- };
379
-
380
- // src/utils/pipeInsertDataQuery.ts
381
- var pipeInsertDataQuery = (plugins, { data, dataTransfer }) => plugins.every((p) => {
382
- var _a, _b;
383
- const query = (_b = (_a = p.editor) == null ? void 0 : _a.insertData) == null ? void 0 : _b.query;
384
- return !query || query({
385
- data,
386
- dataTransfer
387
- });
388
- });
389
- var pipeInsertFragment = (editor, injectedPlugins, _a) => {
390
- var _b = _a, {
391
- fragment
392
- } = _b, options = __objRest(_b, [
393
- "fragment"
394
- ]);
395
- index$6.withoutNormalizing(editor, () => {
396
- injectedPlugins.some((p) => {
397
- var _a2, _b2, _c;
398
- return ((_c = (_b2 = (_a2 = p.editor) == null ? void 0 : _a2.insertData) == null ? void 0 : _b2.preInsert) == null ? void 0 : _c.call(_b2, fragment, options)) === true;
399
- });
400
- editor.insertFragment(fragment);
401
- });
402
- };
403
-
404
- // src/utils/pipeTransformData.ts
405
- var pipeTransformData = (plugins, { data, dataTransfer }) => {
406
- plugins.forEach((p) => {
407
- var _a, _b;
408
- const transformData = (_b = (_a = p.editor) == null ? void 0 : _a.insertData) == null ? void 0 : _b.transformData;
409
- if (!transformData)
410
- return;
411
- data = transformData(data, { dataTransfer });
412
- });
413
- return data;
414
- };
415
-
416
- // src/utils/pipeTransformFragment.ts
417
- var pipeTransformFragment = (plugins, _a) => {
418
- var _b = _a, {
419
- fragment
420
- } = _b, options = __objRest(_b, [
421
- "fragment"
422
- ]);
423
- plugins.forEach((p) => {
424
- var _a2, _b2;
425
- const transformFragment = (_b2 = (_a2 = p.editor) == null ? void 0 : _a2.insertData) == null ? void 0 : _b2.transformFragment;
426
- if (!transformFragment)
427
- return;
428
- fragment = transformFragment(fragment, options);
429
- });
430
- return fragment;
431
- };
432
-
433
- // src/plugins/createInsertDataPlugin.ts
434
- var withInsertData = (editor) => {
435
- const { insertData } = editor;
436
- editor.insertData = (dataTransfer) => {
437
- const inserted = [...editor.plugins].reverse().some((plugin) => {
438
- const insertDataOptions = plugin.editor.insertData;
439
- if (!insertDataOptions)
440
- return false;
441
- const injectedPlugins = getInjectedPlugins(editor, plugin);
442
- const { format, getFragment } = insertDataOptions;
443
- if (!format)
444
- return false;
445
- let data = dataTransfer.getData(format);
446
- if (!data)
447
- return;
448
- if (!pipeInsertDataQuery(injectedPlugins, {
449
- data,
450
- dataTransfer
451
- })) {
452
- return false;
453
- }
454
- data = pipeTransformData(injectedPlugins, {
455
- data,
456
- dataTransfer
457
- });
458
- let fragment = getFragment == null ? void 0 : getFragment({
459
- data,
460
- dataTransfer
461
- });
462
- if (!(fragment == null ? void 0 : fragment.length))
463
- return false;
464
- fragment = pipeTransformFragment(injectedPlugins, {
465
- fragment,
466
- data,
467
- dataTransfer
468
- });
469
- if (fragment.length === 0)
470
- return false;
471
- pipeInsertFragment(editor, injectedPlugins, {
472
- fragment,
473
- data,
474
- dataTransfer
475
- });
476
- return true;
477
- });
478
- if (inserted)
479
- return;
480
- insertData(dataTransfer);
481
- };
482
- return editor;
483
- };
484
- var KEY_INSERT_DATA = "insertData";
485
- var createInsertDataPlugin = createPluginFactory({
486
- key: KEY_INSERT_DATA,
487
- withOverrides: withInsertData
488
- });
489
- var KEY_LENGTH = "length";
490
- var withLength = (editor, { options }) => {
491
- const { apply } = editor;
492
- editor.apply = (operation) => {
493
- index$6.withoutNormalizing(editor, () => {
494
- apply(operation);
495
- if (options.maxLength) {
496
- const length = index$6.getEditorString(editor, []).length;
497
- if (length > options.maxLength) {
498
- const overflowLength = length - options.maxLength;
499
- editor.delete({
500
- unit: "character",
501
- distance: overflowLength,
502
- reverse: true
503
- });
504
- }
505
- }
506
- });
507
- };
508
- return editor;
509
- };
510
- var createLengthPlugin = createPluginFactory({
511
- key: KEY_LENGTH,
512
- withOverrides: withLength
513
- });
514
-
515
- // src/plugins/createNodeFactoryPlugin.ts
516
- var KEY_NODE_FACTORY = "nodeFactory";
517
- var createNodeFactoryPlugin = createPluginFactory({
518
- key: KEY_NODE_FACTORY,
519
- withOverrides: (editor) => {
520
- editor.blockFactory = (node) => __spreadValues({
521
- type: getPluginType(editor, ELEMENT_DEFAULT),
522
- children: [{ text: "" }]
523
- }, node);
524
- editor.childrenFactory = () => [editor.blockFactory()];
525
- return editor;
526
- }
527
- });
528
-
529
- // src/plugins/createPrevSelectionPlugin.ts
530
- var KEY_PREV_SELECTION = "prevSelection";
531
- var createPrevSelectionPlugin = createPluginFactory({
532
- key: KEY_PREV_SELECTION,
533
- handlers: {
534
- onKeyDown: (editor) => (e) => {
535
- e.persist();
536
- editor.currentKeyboardEvent = e;
537
- }
538
- },
539
- withOverrides: (editor) => {
540
- const { apply } = editor;
541
- editor.apply = (operation) => {
542
- if (operation.type === "set_selection") {
543
- const { properties } = operation;
544
- editor.prevSelection = properties;
545
- apply(operation);
546
- editor.currentKeyboardEvent = null;
547
- return;
548
- }
549
- apply(operation);
550
- };
551
- return editor;
552
- }
553
- });
554
- var withTReact = (editor) => slateReact.withReact(editor);
555
-
556
- // src/plugins/createReactPlugin.ts
557
- var createReactPlugin = createPluginFactory({
558
- key: "react",
559
- withOverrides: withTReact
560
- });
561
- var isInlineNode = (editor) => (node) => index$6.isText(node) || index$6.isElement(node) && editor.isInline(node);
562
- var makeBlockLazy = (type) => () => ({
563
- type,
564
- children: []
565
- });
566
- var hasDifferentChildNodes = (descendants, isInline) => {
567
- return descendants.some((descendant, index, arr) => {
568
- const prevDescendant = arr[index - 1];
569
- if (index !== 0) {
570
- return isInline(descendant) !== isInline(prevDescendant);
571
- }
572
- return false;
573
- });
574
- };
575
- var normalizeDifferentNodeTypes = (descendants, isInline, makeDefaultBlock) => {
576
- const hasDifferentNodes = hasDifferentChildNodes(descendants, isInline);
577
- const { fragment } = descendants.reduce(
578
- (memo, node) => {
579
- if (hasDifferentNodes && isInline(node)) {
580
- let block = memo.precedingBlock;
581
- if (!block) {
582
- block = makeDefaultBlock();
583
- memo.precedingBlock = block;
584
- memo.fragment.push(block);
585
- }
586
- block.children.push(node);
587
- } else {
588
- memo.fragment.push(node);
589
- memo.precedingBlock = null;
590
- }
591
- return memo;
592
- },
593
- {
594
- fragment: [],
595
- precedingBlock: null
596
- }
597
- );
598
- return fragment;
599
- };
600
- var normalizeEmptyChildren = (descendants) => {
601
- if (descendants.length === 0) {
602
- return [{ text: "" }];
603
- }
604
- return descendants;
605
- };
606
- var normalize = (descendants, isInline, makeDefaultBlock) => {
607
- descendants = normalizeEmptyChildren(descendants);
608
- descendants = normalizeDifferentNodeTypes(
609
- descendants,
610
- isInline,
611
- makeDefaultBlock
612
- );
613
- descendants = descendants.map((node) => {
614
- if (index$6.isElement(node)) {
615
- return __spreadProps(__spreadValues({}, node), {
616
- children: normalize(node.children, isInline, makeDefaultBlock)
617
- });
618
- }
619
- return node;
620
- });
621
- return descendants;
622
- };
623
- var normalizeDescendantsToDocumentFragment = (editor, { descendants }) => {
624
- const isInline = isInlineNode(editor);
625
- const defaultType = getPluginType(editor, ELEMENT_DEFAULT);
626
- const makeDefaultBlock = makeBlockLazy(defaultType);
627
- return normalize(descendants, isInline, makeDefaultBlock);
628
- };
629
-
630
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseString.ts
631
- var collapseString = (text, {
632
- trimStart = "collapse",
633
- trimEnd = "collapse",
634
- shouldCollapseWhiteSpace = true,
635
- whiteSpaceIncludesNewlines = true
636
- } = {}) => {
637
- if (trimStart === "all") {
638
- text = text.replace(/^\s+/, "");
639
- }
640
- if (trimEnd === "single-newline") {
641
- text = text.replace(/\n$/, "");
642
- }
643
- if (shouldCollapseWhiteSpace) {
644
- if (whiteSpaceIncludesNewlines) {
645
- text = text.replaceAll(/\s+/g, " ");
646
- } else {
647
- text = text.replaceAll(/[^\S\n\r]+/g, " ");
648
- text = text.replaceAll(/^[^\S\n\r]+/gm, "");
649
- text = text.replaceAll(/[^\S\n\r]+$/gm, "");
650
- }
651
- }
652
- return text;
653
- };
654
-
655
- // src/plugins/html-deserializer/utils/inlineTagNames.ts
656
- var inlineTagNames = /* @__PURE__ */ new Set([
657
- "A",
658
- "ABBR",
659
- "B",
660
- "BDI",
661
- "BDO",
662
- "BR",
663
- "CITE",
664
- "CODE",
665
- "DATA",
666
- "DFN",
667
- "EM",
668
- "I",
669
- "KBD",
670
- "MARK",
671
- "Q",
672
- "S",
673
- "SAMP",
674
- "SMALL",
675
- "SPAN",
676
- "STRONG",
677
- "SUB",
678
- "SUP",
679
- "TIME",
680
- "U",
681
- "VAR",
682
- "WBR",
683
- "IMG",
684
- "MAP",
685
- "TRACK",
686
- "VIDEO",
687
- "EMBED",
688
- "IFRAME",
689
- "OBJECT",
690
- "PICTURE",
691
- "PORTAL",
692
- "SOURCE",
693
- "svg",
694
- "math",
695
- "CANVAS",
696
- "DEL",
697
- "INS",
698
- "BUTTON",
699
- "INPUT",
700
- "LABEL",
701
- "METER",
702
- "OUTPUT",
703
- "PROGRESS",
704
- "SELECT",
705
- "TEXTAREA",
706
- "ACRONYM",
707
- "BIG",
708
- "CONTENT",
709
- "FONT",
710
- "IMG",
711
- "MARQUEE",
712
- "MENUITEM",
713
- "NOBR",
714
- "SHADOW",
715
- "STRIKE",
716
- "TT"
717
- ]);
718
-
719
- // src/plugins/html-deserializer/utils/isHtmlElement.ts
720
- var isHtmlElement = (node) => node.nodeType === Node.ELEMENT_NODE;
721
-
722
- // src/plugins/html-deserializer/utils/isHtmlInlineElement.ts
723
- var isHtmlInlineElement = (node) => {
724
- if (!isHtmlElement(node))
725
- return false;
726
- const element = node;
727
- const tagNameIsInline = inlineTagNames.has(element.tagName);
728
- const displayProperty = element.style.display.split(" ")[0];
729
- if (displayProperty === "") {
730
- return tagNameIsInline;
731
- }
732
- if (displayProperty.startsWith("inline")) {
733
- return true;
734
- }
735
- if (displayProperty === "inherit" && element.parentElement) {
736
- return isHtmlInlineElement(element.parentElement);
737
- }
738
- if (["initial", "unset", "revert", "revert-layer", "contents", "none"].includes(
739
- displayProperty
740
- )) {
741
- return tagNameIsInline;
742
- }
743
- return false;
744
- };
745
-
746
- // src/plugins/html-deserializer/utils/isHtmlText.ts
747
- var isHtmlText = (node) => node.nodeType === Node.TEXT_NODE;
748
-
749
- // src/plugins/html-deserializer/utils/isHtmlBlockElement.ts
750
- var isHtmlBlockElement = (node) => {
751
- if (!isHtmlElement(node))
752
- return false;
753
- const element = node;
754
- return !isHtmlInlineElement(element);
755
- };
756
-
757
- // src/plugins/html-deserializer/utils/collapse-white-space/isLastNonEmptyTextOfInlineFormattingContext.ts
758
- var isLastNonEmptyTextOfInlineFormattingContext = (initialText) => {
759
- let currentNode = initialText;
760
- while (true) {
761
- if (currentNode.nextSibling) {
762
- currentNode = currentNode.nextSibling;
763
- } else {
764
- currentNode = currentNode.parentElement;
765
- if (currentNode && isHtmlBlockElement(currentNode)) {
766
- return true;
767
- }
768
- currentNode = (currentNode == null ? void 0 : currentNode.nextSibling) || null;
769
- }
770
- if (!currentNode) {
771
- return true;
772
- }
773
- if (isHtmlBlockElement(currentNode)) {
774
- return true;
775
- }
776
- if ((currentNode.textContent || "").length > 0) {
777
- return false;
778
- }
779
- }
780
- };
781
-
782
- // src/plugins/html-deserializer/utils/collapse-white-space/stateTransforms.ts
783
- var upsertInlineFormattingContext = (state) => {
784
- if (state.inlineFormattingContext) {
785
- state.inlineFormattingContext.atStart = false;
786
- } else {
787
- state.inlineFormattingContext = {
788
- atStart: true,
789
- lastHasTrailingWhiteSpace: false
790
- };
791
- }
792
- };
793
- var endInlineFormattingContext = (state) => {
794
- state.inlineFormattingContext = null;
795
- };
796
-
797
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseWhiteSpaceText.ts
798
- var collapseWhiteSpaceText = (text, state) => {
799
- const textContent = text.textContent || "";
800
- const isWhiteSpaceOnly = textContent.trim() === "";
801
- if (state.inlineFormattingContext || !isWhiteSpaceOnly) {
802
- upsertInlineFormattingContext(state);
803
- }
804
- const { whiteSpaceRule } = state;
805
- const trimStart = (() => {
806
- if (whiteSpaceRule !== "normal")
807
- return "collapse";
808
- if (!state.inlineFormattingContext || state.inlineFormattingContext.atStart || state.inlineFormattingContext.lastHasTrailingWhiteSpace)
809
- return "all";
810
- return "collapse";
811
- })();
812
- const trimEnd = (() => {
813
- if (whiteSpaceRule === "normal")
814
- return "collapse";
815
- if (isLastNonEmptyTextOfInlineFormattingContext(text))
816
- return "single-newline";
817
- return "collapse";
818
- })();
819
- const shouldCollapseWhiteSpace = {
820
- normal: true,
821
- pre: false,
822
- "pre-line": true
823
- }[whiteSpaceRule];
824
- const whiteSpaceIncludesNewlines = whiteSpaceRule !== "pre-line";
825
- const collapsedTextContent = collapseString(textContent || "", {
826
- trimStart,
827
- trimEnd,
828
- shouldCollapseWhiteSpace,
829
- whiteSpaceIncludesNewlines
830
- });
831
- if (state.inlineFormattingContext && shouldCollapseWhiteSpace) {
832
- state.inlineFormattingContext.lastHasTrailingWhiteSpace = collapsedTextContent.endsWith(" ");
833
- }
834
- text.textContent = collapsedTextContent;
835
- };
836
-
837
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseWhiteSpaceNode.ts
838
- var collapseWhiteSpaceNode = (node, state) => {
839
- if (isHtmlElement(node)) {
840
- collapseWhiteSpaceElement(node, state);
841
- return;
842
- }
843
- if (isHtmlText(node)) {
844
- collapseWhiteSpaceText(node, state);
845
- return;
846
- }
847
- collapseWhiteSpaceChildren(node, state);
848
- };
849
-
850
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseWhiteSpaceChildren.ts
851
- var collapseWhiteSpaceChildren = (node, state) => {
852
- const childNodes = Array.from(node.childNodes);
853
- for (const childNode of childNodes) {
854
- collapseWhiteSpaceNode(childNode, state);
855
- }
856
- };
857
-
858
- // src/plugins/html-deserializer/utils/collapse-white-space/inferWhiteSpaceRule.ts
859
- var inferWhiteSpaceRule = (element) => {
860
- const whiteSpaceProperty = element.style.whiteSpace;
861
- switch (whiteSpaceProperty) {
862
- case "normal":
863
- case "nowrap": {
864
- return "normal";
865
- }
866
- case "pre":
867
- case "pre-wrap":
868
- case "break-spaces": {
869
- return "pre";
870
- }
871
- case "pre-line": {
872
- return "pre-line";
873
- }
874
- }
875
- if (element.tagName === "PRE") {
876
- return "pre";
877
- }
878
- if (whiteSpaceProperty === "initial") {
879
- return "normal";
880
- }
881
- return null;
882
- };
883
-
884
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseWhiteSpaceElement.ts
885
- var collapseWhiteSpaceElement = (element, state) => {
886
- const isInlineElement = isHtmlInlineElement(element);
887
- const previousWhiteSpaceRule = state.whiteSpaceRule;
888
- const inferredWhiteSpaceRule = inferWhiteSpaceRule(element);
889
- if (inferredWhiteSpaceRule) {
890
- state.whiteSpaceRule = inferredWhiteSpaceRule;
891
- }
892
- if (!isInlineElement) {
893
- endInlineFormattingContext(state);
894
- }
895
- collapseWhiteSpaceChildren(element, state);
896
- if (!isInlineElement) {
897
- endInlineFormattingContext(state);
898
- }
899
- state.whiteSpaceRule = previousWhiteSpaceRule;
900
- };
901
-
902
- // src/plugins/html-deserializer/utils/collapse-white-space/collapseWhiteSpace.ts
903
- var collapseWhiteSpace = (element) => {
904
- const clonedElement = element.cloneNode(true);
905
- const state = {
906
- inlineFormattingContext: null,
907
- whiteSpaceRule: "normal"
908
- };
909
- collapseWhiteSpaceElement(clonedElement, state);
910
- return clonedElement;
911
- };
912
-
913
- // src/plugins/html-deserializer/utils/deserializeHtmlNodeChildren.ts
914
- var deserializeHtmlNodeChildren = (editor, node) => Array.from(node.childNodes).flatMap(
915
- deserializeHtmlNode(editor)
916
- );
917
-
918
- // src/plugins/html-deserializer/utils/htmlBodyToFragment.ts
919
- var htmlBodyToFragment = (editor, element) => {
920
- if (element.nodeName === "BODY") {
921
- return slateHyperscript.jsx(
922
- "fragment",
923
- {},
924
- deserializeHtmlNodeChildren(editor, element)
925
- );
926
- }
927
- };
928
-
929
- // src/plugins/html-deserializer/utils/htmlBrToNewLine.ts
930
- var htmlBrToNewLine = (node) => {
931
- if (node.nodeName === "BR") {
932
- return "\n";
933
- }
934
- };
935
- var pluginDeserializeHtml = (editor, plugin, {
936
- element: el,
937
- deserializeLeaf
938
- }) => {
939
- var _a;
940
- const {
941
- deserializeHtml: deserializeHtml2,
942
- isElement: isElementRoot,
943
- isLeaf: isLeafRoot,
944
- type
945
- } = plugin;
946
- if (!deserializeHtml2)
947
- return;
948
- const {
949
- attributeNames,
950
- query,
951
- isLeaf: isLeafRule,
952
- isElement: isElementRule,
953
- rules
954
- } = deserializeHtml2;
955
- let { getNode } = deserializeHtml2;
956
- const isElement4 = isElementRule || isElementRoot;
957
- const isLeaf = isLeafRule || isLeafRoot;
958
- if (!deserializeLeaf && !isElement4) {
959
- return;
960
- }
961
- if (deserializeLeaf && !isLeaf) {
962
- return;
963
- }
964
- if (rules) {
965
- const isValid = rules.some(
966
- ({ validNodeName = "*", validStyle, validClassName, validAttribute }) => {
967
- var _a2;
968
- if (validNodeName) {
969
- const validNodeNames = castArray.default(validNodeName);
970
- if (validNodeNames.length > 0 && !validNodeNames.includes(el.nodeName) && validNodeName !== "*")
971
- return false;
972
- }
973
- if (validClassName && !el.classList.contains(validClassName))
974
- return false;
975
- if (validStyle) {
976
- for (const [key, value] of Object.entries(validStyle)) {
977
- const values2 = castArray.default(value);
978
- if (!values2.includes(el.style[key]) && value !== "*")
979
- return;
980
- if (value === "*" && !el.style[key])
981
- return;
982
- const defaultNodeValue = (_a2 = plugin.inject.props) == null ? void 0 : _a2.defaultNodeValue;
983
- if (defaultNodeValue && defaultNodeValue === el.style[key]) {
984
- return false;
985
- }
986
- }
987
- }
988
- if (validAttribute) {
989
- if (typeof validAttribute === "string") {
990
- if (!el.getAttributeNames().includes(validAttribute))
991
- return false;
992
- } else {
993
- for (const [attributeName, attributeValue] of Object.entries(
994
- validAttribute
995
- )) {
996
- const attributeValues = castArray.default(attributeValue);
997
- const elAttribute = el.getAttribute(attributeName);
998
- if (!index$3.isDefined(elAttribute) || !attributeValues.includes(elAttribute))
999
- return false;
1000
- }
1001
- }
1002
- }
1003
- return true;
1004
- }
1005
- );
1006
- if (!isValid)
1007
- return;
1008
- }
1009
- if (query && !query(el)) {
1010
- return;
1011
- }
1012
- if (!getNode) {
1013
- if (isElement4) {
1014
- getNode = () => ({ type });
1015
- } else if (isLeaf) {
1016
- getNode = () => ({ [type]: true });
1017
- } else {
1018
- return;
1019
- }
1020
- }
1021
- let node = (_a = getNode(el, {})) != null ? _a : {};
1022
- if (Object.keys(node).length === 0)
1023
- return;
1024
- const injectedPlugins = getInjectedPlugins(editor, plugin);
1025
- injectedPlugins.forEach((injectedPlugin) => {
1026
- var _a2, _b;
1027
- const res = (_b = (_a2 = injectedPlugin.deserializeHtml) == null ? void 0 : _a2.getNode) == null ? void 0 : _b.call(_a2, el, node);
1028
- if (res) {
1029
- node = __spreadValues(__spreadValues({}, node), res);
1030
- }
1031
- });
1032
- if (attributeNames) {
1033
- const elementAttributes = {};
1034
- const elementAttributeNames = el.getAttributeNames();
1035
- for (const elementAttributeName of elementAttributeNames) {
1036
- if (attributeNames.includes(elementAttributeName)) {
1037
- elementAttributes[elementAttributeName] = el.getAttribute(elementAttributeName);
1038
- }
1039
- }
1040
- if (Object.keys(elementAttributes).length > 0) {
1041
- node.attributes = elementAttributes;
1042
- }
1043
- }
1044
- return __spreadProps(__spreadValues({}, deserializeHtml2), { node });
1045
- };
1046
-
1047
- // src/plugins/html-deserializer/utils/pipeDeserializeHtmlElement.ts
1048
- var pipeDeserializeHtmlElement = (editor, element) => {
1049
- let result;
1050
- [...editor.plugins].reverse().some((plugin) => {
1051
- result = pluginDeserializeHtml(editor, plugin, { element });
1052
- return !!result;
1053
- });
1054
- return result;
1055
- };
1056
-
1057
- // src/plugins/html-deserializer/utils/htmlElementToElement.ts
1058
- var htmlElementToElement = (editor, element) => {
1059
- var _a;
1060
- const deserialized = pipeDeserializeHtmlElement(editor, element);
1061
- if (deserialized) {
1062
- const { node, withoutChildren } = deserialized;
1063
- let descendants = (_a = node.children) != null ? _a : deserializeHtmlNodeChildren(editor, element);
1064
- if (descendants.length === 0 || withoutChildren) {
1065
- descendants = [{ text: "" }];
1066
- }
1067
- return slateHyperscript.jsx("element", node, descendants);
1068
- }
1069
- };
1070
-
1071
- // src/plugins/html-deserializer/utils/pipeDeserializeHtmlLeaf.ts
1072
- var pipeDeserializeHtmlLeaf = (editor, element) => {
1073
- let node = {};
1074
- [...editor.plugins].reverse().forEach((plugin) => {
1075
- const deserialized = pluginDeserializeHtml(editor, plugin, {
1076
- element,
1077
- deserializeLeaf: true
1078
- });
1079
- if (!deserialized)
1080
- return;
1081
- node = __spreadValues(__spreadValues({}, node), deserialized.node);
1082
- });
1083
- return node;
1084
- };
1085
-
1086
- // src/plugins/html-deserializer/utils/htmlElementToLeaf.ts
1087
- var htmlElementToLeaf = (editor, element) => {
1088
- const node = pipeDeserializeHtmlLeaf(editor, element);
1089
- return deserializeHtmlNodeChildren(editor, element).reduce(
1090
- (arr, child) => {
1091
- if (!child)
1092
- return arr;
1093
- if (index$6.isElement(child)) {
1094
- if (Object.keys(node).length > 0) {
1095
- mergeDeepToNodes({
1096
- node: child,
1097
- source: node,
1098
- query: {
1099
- filter: ([n]) => index$6.isText(n)
1100
- }
1101
- });
1102
- }
1103
- arr.push(child);
1104
- } else {
1105
- const attributes = __spreadValues({}, node);
1106
- if (index$6.isText(child) && child.text) {
1107
- Object.keys(attributes).forEach((key) => {
1108
- if (attributes[key] && child[key]) {
1109
- attributes[key] = child[key];
1110
- }
1111
- });
1112
- }
1113
- arr.push(slateHyperscript.jsx("text", attributes, child));
1114
- }
1115
- return arr;
1116
- },
1117
- []
1118
- );
1119
- };
1120
-
1121
- // src/plugins/html-deserializer/utils/htmlTextNodeToString.ts
1122
- var htmlTextNodeToString = (node) => {
1123
- if (isHtmlText(node)) {
1124
- return node.textContent || "";
1125
- }
1126
- };
1127
-
1128
- // src/plugins/html-deserializer/utils/deserializeHtmlNode.ts
1129
- var deserializeHtmlNode = (editor) => (node) => {
1130
- const textNode = htmlTextNodeToString(node);
1131
- if (textNode)
1132
- return textNode;
1133
- if (!isHtmlElement(node))
1134
- return null;
1135
- const breakLine = htmlBrToNewLine(node);
1136
- if (breakLine)
1137
- return breakLine;
1138
- const fragment = htmlBodyToFragment(editor, node);
1139
- if (fragment)
1140
- return fragment;
1141
- const element = htmlElementToElement(editor, node);
1142
- if (element)
1143
- return element;
1144
- return htmlElementToLeaf(editor, node);
1145
- };
1146
-
1147
- // src/plugins/html-deserializer/utils/deserializeHtmlElement.ts
1148
- var deserializeHtmlElement = (editor, element) => {
1149
- return deserializeHtmlNode(editor)(element);
1150
- };
1151
-
1152
- // src/plugins/html-deserializer/utils/htmlStringToDOMNode.ts
1153
- var htmlStringToDOMNode = (rawHtml) => {
1154
- const node = document.createElement("body");
1155
- node.innerHTML = rawHtml;
1156
- return node;
1157
- };
1158
-
1159
- // src/plugins/html-deserializer/utils/deserializeHtml.ts
1160
- var deserializeHtml = (editor, {
1161
- element,
1162
- collapseWhiteSpace: shouldCollapseWhiteSpace = true
1163
- }) => {
1164
- if (typeof element === "string") {
1165
- element = htmlStringToDOMNode(element);
1166
- }
1167
- if (shouldCollapseWhiteSpace) {
1168
- element = collapseWhiteSpace(element);
1169
- }
1170
- const fragment = deserializeHtmlElement(editor, element);
1171
- return normalizeDescendantsToDocumentFragment(editor, {
1172
- descendants: fragment
1173
- });
1174
- };
1175
-
1176
- // src/plugins/html-deserializer/utils/parseHtmlDocument.ts
1177
- var parseHtmlDocument = (html) => {
1178
- return new DOMParser().parseFromString(html, "text/html");
1179
- };
1180
-
1181
- // src/plugins/html-deserializer/createDeserializeHtmlPlugin.ts
1182
- var KEY_DESERIALIZE_HTML = "deserializeHtml";
1183
- var createDeserializeHtmlPlugin = createPluginFactory({
1184
- key: KEY_DESERIALIZE_HTML,
1185
- then: (editor) => ({
1186
- editor: {
1187
- insertData: {
1188
- format: "text/html",
1189
- getFragment: ({ data }) => {
1190
- const document2 = parseHtmlDocument(data);
1191
- return deserializeHtml(editor, {
1192
- element: document2.body
1193
- });
1194
- }
1195
- }
1196
- }
1197
- })
1198
- });
1199
- var mergeDeepPlugins = (editor, _plugin) => {
1200
- const plugin = __spreadValues({}, _plugin);
1201
- const { then } = plugin;
1202
- if (then) {
1203
- delete plugin.then;
1204
- const { plugins: pluginPlugins } = plugin;
1205
- const pluginThen = mergeDeepPlugins(
1206
- editor,
1207
- defaultsDeep.default(then(editor, plugin), plugin)
1208
- );
1209
- if (pluginPlugins && pluginThen.plugins) {
1210
- const merged = merge.default(
1211
- keyBy.default(pluginPlugins, "key"),
1212
- keyBy.default(pluginThen.plugins, "key")
1213
- );
1214
- pluginThen.plugins = values.default(merged);
1215
- }
1216
- return pluginThen;
1217
- }
1218
- return plugin;
1219
- };
1220
-
1221
- // src/utils/setDefaultPlugin.ts
1222
- var setDefaultPlugin = (plugin) => {
1223
- if (plugin.type === void 0)
1224
- plugin.type = plugin.key;
1225
- if (!plugin.options)
1226
- plugin.options = {};
1227
- if (!plugin.inject)
1228
- plugin.inject = {};
1229
- if (!plugin.editor)
1230
- plugin.editor = {};
1231
- return plugin;
1232
- };
1233
-
1234
- // src/utils/flattenDeepPlugins.ts
1235
- var flattenDeepPlugins = (editor, plugins) => {
1236
- if (!plugins)
1237
- return;
1238
- plugins.forEach((plugin) => {
1239
- let p = setDefaultPlugin(plugin);
1240
- p = mergeDeepPlugins(editor, p);
1241
- if (p.enabled === false)
1242
- return;
1243
- if (editor.pluginsByKey[p.key]) {
1244
- const index = editor.plugins.indexOf(editor.pluginsByKey[p.key]);
1245
- const mergedPlugin = defaultsDeep.default(p, editor.pluginsByKey[p.key]);
1246
- if (index >= 0) {
1247
- editor.plugins[index] = mergedPlugin;
1248
- }
1249
- editor.pluginsByKey[p.key] = mergedPlugin;
1250
- } else {
1251
- editor.plugins.push(p);
1252
- editor.pluginsByKey[p.key] = p;
1253
- }
1254
- flattenDeepPlugins(editor, p.plugins);
1255
- });
1256
- };
1257
-
1258
- // src/utils/setPlatePlugins.ts
1259
- var setPlatePlugins = (editor, {
1260
- disableCorePlugins,
1261
- plugins: _plugins = [],
1262
- maxLength
1263
- }) => {
1264
- var _a, _b, _c, _d, _e, _f, _g, _h, _i, _j, _k, _l, _m, _n, _o, _p, _q, _r, _s, _t, _u, _v;
1265
- let plugins = [];
1266
- if (disableCorePlugins !== true) {
1267
- const dcp = disableCorePlugins;
1268
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.react)) {
1269
- plugins.push((_b = (_a = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _a.react) != null ? _b : createReactPlugin());
1270
- }
1271
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.history)) {
1272
- plugins.push(
1273
- (_d = (_c = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _c.history) != null ? _d : createHistoryPlugin()
1274
- );
1275
- }
1276
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.nodeFactory)) {
1277
- plugins.push(
1278
- (_f = (_e = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _e[KEY_NODE_FACTORY]) != null ? _f : createNodeFactoryPlugin()
1279
- );
1280
- }
1281
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.eventEditor)) {
1282
- plugins.push(
1283
- (_h = (_g = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _g[KEY_EVENT_EDITOR]) != null ? _h : createEventEditorPlugin()
1284
- );
1285
- }
1286
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.inlineVoid)) {
1287
- plugins.push(
1288
- (_j = (_i = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _i[KEY_INLINE_VOID]) != null ? _j : createInlineVoidPlugin()
1289
- );
1290
- }
1291
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.insertData)) {
1292
- plugins.push(
1293
- (_l = (_k = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _k[KEY_INSERT_DATA]) != null ? _l : createInsertDataPlugin()
1294
- );
1295
- }
1296
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.selection)) {
1297
- plugins.push(
1298
- (_n = (_m = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _m[KEY_PREV_SELECTION]) != null ? _n : createPrevSelectionPlugin()
1299
- );
1300
- }
1301
- if ((typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.length)) && index$3.isDefined(maxLength)) {
1302
- plugins.push(
1303
- (_p = (_o = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _o[KEY_LENGTH]) != null ? _p : createLengthPlugin({
1304
- options: {
1305
- maxLength
1306
- }
1307
- })
1308
- );
1309
- }
1310
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.deserializeHtml)) {
1311
- plugins.push(
1312
- (_r = (_q = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _q[KEY_DESERIALIZE_HTML]) != null ? _r : createDeserializeHtmlPlugin()
1313
- );
1314
- }
1315
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.deserializeAst)) {
1316
- plugins.push(
1317
- (_t = (_s = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _s[KEY_DESERIALIZE_AST]) != null ? _t : createDeserializeAstPlugin()
1318
- );
1319
- }
1320
- if (typeof dcp !== "object" || !(dcp == null ? void 0 : dcp.editorProtocol)) {
1321
- plugins.push(
1322
- (_v = (_u = editor == null ? void 0 : editor.pluginsByKey) == null ? void 0 : _u[KEY_EDITOR_PROTOCOL]) != null ? _v : createEditorProtocolPlugin()
1323
- );
1324
- }
1325
- }
1326
- plugins = [...plugins, ..._plugins];
1327
- editor.plugins = [];
1328
- editor.pluginsByKey = {};
1329
- flattenDeepPlugins(editor, plugins);
1330
- editor.plugins.forEach((plugin) => {
1331
- if (plugin.overrideByKey) {
1332
- const newPlugins = editor.plugins.map((p) => {
1333
- return overridePluginsByKey(p, plugin.overrideByKey);
1334
- });
1335
- editor.plugins = [];
1336
- editor.pluginsByKey = {};
1337
- flattenDeepPlugins(editor, newPlugins);
1338
- }
1339
- });
1340
- };
1341
-
1342
- // src/plugins/withPlate.ts
1343
- var shouldHaveBeenOverridden = (fnName) => () => {
1344
- console.warn(
1345
- `editor.${fnName} should have been overriden but was not. Please report this issue here: https://github.com/udecode/plate/issues`
1346
- );
1347
- };
1348
- var withPlate = (e, {
1349
- id,
1350
- plugins = [],
1351
- disableCorePlugins,
1352
- maxLength
1353
- } = {}) => {
1354
- let editor = e;
1355
- editor.id = id != null ? id : editor.id;
1356
- editor.prevSelection = null;
1357
- editor.isFallback = false;
1358
- editor.currentKeyboardEvent = null;
1359
- editor.reset = () => resetEditor(editor);
1360
- editor.redecorate = () => shouldHaveBeenOverridden("redecorate");
1361
- editor.plate = {
1362
- get set() {
1363
- return null;
1364
- }
1365
- };
1366
- if (!editor.key) {
1367
- editor.key = Math.random();
1368
- }
1369
- setPlatePlugins(editor, {
1370
- plugins,
1371
- maxLength,
1372
- disableCorePlugins
1373
- });
1374
- editor.plugins.forEach((plugin) => {
1375
- if (plugin.withOverrides) {
1376
- editor = plugin.withOverrides(editor, plugin);
1377
- }
1378
- });
1379
- return editor;
1380
- };
1381
- var createPlugins = (plugins, {
1382
- components,
1383
- overrideByKey
1384
- } = {}) => {
1385
- let allOverrideByKey = {};
1386
- if (overrideByKey) {
1387
- allOverrideByKey = cloneDeep.default(overrideByKey);
1388
- }
1389
- if (components) {
1390
- Object.keys(components).forEach((key) => {
1391
- if (!allOverrideByKey[key])
1392
- allOverrideByKey[key] = {};
1393
- allOverrideByKey[key].component = components[key];
1394
- });
1395
- }
1396
- if (Object.keys(allOverrideByKey).length > 0) {
1397
- return plugins.map((plugin) => {
1398
- return overridePluginsByKey(plugin, allOverrideByKey);
1399
- });
1400
- }
1401
- return plugins;
1402
- };
1403
-
1404
- // src/utils/createPlateEditor.ts
1405
- var createPlateEditor = (_a = {}) => {
1406
- var _b = _a, {
1407
- editor = index$6.createTEditor(),
1408
- plugins = [],
1409
- components,
1410
- overrideByKey,
1411
- normalizeInitialValue: shouldNormalizeInitialValue
1412
- } = _b, withPlateOptions = __objRest(_b, [
1413
- "editor",
1414
- "plugins",
1415
- "components",
1416
- "overrideByKey",
1417
- "normalizeInitialValue"
1418
- ]);
1419
- plugins = createPlugins(plugins, {
1420
- components,
1421
- overrideByKey
1422
- });
1423
- const e = withPlate(editor, __spreadValues({
1424
- plugins
1425
- }, withPlateOptions));
1426
- if (shouldNormalizeInitialValue) {
1427
- index$6.normalizeEditor(e, { force: true });
1428
- }
1429
- return e;
1430
- };
1431
-
1432
- // src/utils/createPlateFallbackEditor.ts
1433
- var createPlateFallbackEditor = (options = {}) => {
1434
- const editor = createPlateEditor(options);
1435
- editor.isFallback = true;
1436
- editor.apply = () => {
1437
- throw new Error(
1438
- "Cannot apply operations on the fallback editor. The fallback editor is used when a hook that depends on the Plate store was unable to locate a valid store. If you are using PlateController, use `useEditorMounted(id?: PlateId)` or `!editor.isFallback` to ensure that a valid Plate store is available before attempting to call operations on the editor."
1439
- );
1440
- };
1441
- return editor;
1442
- };
1443
-
1444
- // src/utils/getPluginInjectProps.ts
1445
- var getPluginInjectProps = (editor, key) => {
1446
- var _a, _b;
1447
- return (_b = (_a = getPlugin(editor, key).inject) == null ? void 0 : _a.props) != null ? _b : {};
1448
- };
1449
-
1450
- // src/utils/getPluginOptions.ts
1451
- var getPluginOptions = (editor, key) => {
1452
- var _a;
1453
- return (_a = getPlugin(editor, key).options) != null ? _a : {};
1454
- };
1455
-
1456
- // src/utils/getPluginTypes.ts
1457
- var getPluginTypes = (editor, keys) => keys.map((key) => getPluginType(editor, key));
1458
-
1459
- // src/utils/misc/getSlateClass.ts
1460
- var getSlateClass = (type) => `slate-${type}`;
1461
-
1462
- // src/utils/getRenderNodeProps.ts
1463
- var getRenderNodeProps = ({
1464
- attributes,
1465
- nodeProps,
1466
- props,
1467
- type
1468
- }) => {
1469
- var _a;
1470
- let newProps = {};
1471
- if (props) {
1472
- newProps = (_a = typeof props === "function" ? props(nodeProps) : props) != null ? _a : {};
1473
- }
1474
- if (!newProps.nodeProps && attributes) {
1475
- newProps.nodeProps = attributes;
1476
- }
1477
- nodeProps = __spreadValues(__spreadValues({}, nodeProps), newProps);
1478
- if (nodeProps.nodeProps) {
1479
- Object.keys(nodeProps.nodeProps).forEach((key) => {
1480
- var _a2, _b;
1481
- if (((_a2 = nodeProps.nodeProps) == null ? void 0 : _a2[key]) === void 0) {
1482
- (_b = nodeProps.nodeProps) == null ? true : delete _b[key];
1483
- }
1484
- });
1485
- }
1486
- const { className } = nodeProps;
1487
- return __spreadProps(__spreadValues({}, nodeProps), { className: clsx_m.clsx(getSlateClass(type), className) });
1488
- };
1489
- var HOTKEYS = {
1490
- bold: "mod+b",
1491
- compose: ["down", "left", "right", "up", "backspace", "enter"],
1492
- deleteBackward: "shift?+backspace",
1493
- deleteForward: "shift?+delete",
1494
- extendBackward: "shift+left",
1495
- extendForward: "shift+right",
1496
- insertSoftBreak: "shift+enter",
1497
- italic: "mod+i",
1498
- moveBackward: "left",
1499
- moveForward: "right",
1500
- moveWordBackward: "ctrl+left",
1501
- moveWordForward: "ctrl+right",
1502
- splitBlock: "enter",
1503
- tab: "tab",
1504
- untab: "shift+tab",
1505
- undo: "mod+z"
1506
- };
1507
- var APPLE_HOTKEYS = {
1508
- deleteBackward: ["ctrl+backspace", "ctrl+h"],
1509
- deleteForward: ["ctrl+delete", "ctrl+d"],
1510
- deleteLineBackward: "cmd+shift?+backspace",
1511
- deleteLineForward: ["cmd+shift?+delete", "ctrl+k"],
1512
- deleteWordBackward: "opt+shift?+backspace",
1513
- deleteWordForward: "opt+shift?+delete",
1514
- extendLineBackward: "opt+shift+up",
1515
- extendLineForward: "opt+shift+down",
1516
- moveLineBackward: "opt+up",
1517
- moveLineForward: "opt+down",
1518
- moveWordBackward: "opt+left",
1519
- moveWordForward: "opt+right",
1520
- redo: "cmd+shift+z",
1521
- transposeCharacter: "ctrl+t"
1522
- };
1523
- var WINDOWS_HOTKEYS = {
1524
- deleteWordBackward: "ctrl+shift?+backspace",
1525
- deleteWordForward: "ctrl+shift?+delete",
1526
- redo: ["ctrl+y", "ctrl+shift+z"]
1527
- };
1528
- var create = (key) => {
1529
- const generic = HOTKEYS[key];
1530
- const apple = APPLE_HOTKEYS[key];
1531
- const windows = WINDOWS_HOTKEYS[key];
1532
- const isGeneric = generic && index$2.isKeyHotkey(generic);
1533
- const isApple = apple && index$2.isKeyHotkey(apple);
1534
- const isWindows = windows && index$2.isKeyHotkey(windows);
1535
- return (event) => {
1536
- if (isGeneric && isGeneric(event))
1537
- return true;
1538
- if (index$3.IS_APPLE && isApple && isApple(event))
1539
- return true;
1540
- if (!index$3.IS_APPLE && isWindows && isWindows(event))
1541
- return true;
1542
- return false;
1543
- };
1544
- };
1545
- var createComposing = (key) => (editor, event, {
1546
- composing
1547
- } = {}) => {
1548
- if (!create(key)(event))
1549
- return false;
1550
- if (!!composing !== index$4.isComposing(editor))
1551
- return false;
1552
- return true;
1553
- };
1554
- ({
1555
- isBold: create("bold"),
1556
- isCompose: create("compose"),
1557
- isMoveBackward: create("moveBackward"),
1558
- isMoveForward: create("moveForward"),
1559
- isDeleteBackward: create("deleteBackward"),
1560
- isDeleteForward: create("deleteForward"),
1561
- isDeleteLineBackward: create("deleteLineBackward"),
1562
- isDeleteLineForward: create("deleteLineForward"),
1563
- isDeleteWordBackward: create("deleteWordBackward"),
1564
- isDeleteWordForward: create("deleteWordForward"),
1565
- isExtendBackward: create("extendBackward"),
1566
- isExtendForward: create("extendForward"),
1567
- isExtendLineBackward: create("extendLineBackward"),
1568
- isExtendLineForward: create("extendLineForward"),
1569
- isItalic: create("italic"),
1570
- isMoveLineBackward: create("moveLineBackward"),
1571
- isMoveLineForward: create("moveLineForward"),
1572
- isMoveWordBackward: create("moveWordBackward"),
1573
- isMoveWordForward: create("moveWordForward"),
1574
- isRedo: create("redo"),
1575
- isSoftBreak: create("insertSoftBreak"),
1576
- isSplitBlock: create("splitBlock"),
1577
- isTab: createComposing("tab"),
1578
- isTransposeCharacter: create("transposeCharacter"),
1579
- isUndo: create("undo"),
1580
- isUntab: createComposing("untab")
1581
- });
1582
- var mergeDeepToNodes = (options) => {
1583
- applyDeepToNodes(__spreadProps(__spreadValues({}, options), { apply: merge.default }));
1584
- };
1585
-
1586
- // src/utils/mockPlugin.ts
1587
- var mockPlugin = (plugin) => __spreadValues({
1588
- key: "",
1589
- type: "",
1590
- editor: {},
1591
- inject: {},
1592
- options: {}
1593
- }, plugin);
1594
-
1595
- // src/utils/pipeDecorate.ts
1596
- var pipeDecorate = (editor, decorateProp) => {
1597
- const decorates = editor.plugins.flatMap(
1598
- (plugin) => {
1599
- var _a, _b;
1600
- return (_b = (_a = plugin.decorate) == null ? void 0 : _a.call(plugin, editor, plugin)) != null ? _b : [];
1601
- }
1602
- );
1603
- if (decorateProp) {
1604
- decorates.push(decorateProp);
1605
- }
1606
- if (decorates.length === 0)
1607
- return;
1608
- return (entry) => {
1609
- let ranges = [];
1610
- const addRanges = (newRanges) => {
1611
- if (newRanges == null ? void 0 : newRanges.length)
1612
- ranges = [...ranges, ...newRanges];
1613
- };
1614
- decorates.forEach((decorate) => {
1615
- addRanges(decorate(entry));
1616
- });
1617
- return ranges;
1618
- };
1619
- };
1620
-
1621
- // src/utils/pipeHandler.ts
1622
- var convertDomEventToSyntheticEvent = (domEvent) => {
1623
- let propagationStopped = false;
1624
- return __spreadProps(__spreadValues({}, domEvent), {
1625
- nativeEvent: domEvent,
1626
- currentTarget: domEvent.currentTarget,
1627
- target: domEvent.target,
1628
- bubbles: domEvent.bubbles,
1629
- cancelable: domEvent.cancelable,
1630
- defaultPrevented: domEvent.defaultPrevented,
1631
- eventPhase: domEvent.eventPhase,
1632
- isTrusted: domEvent.isTrusted,
1633
- timeStamp: domEvent.timeStamp,
1634
- type: domEvent.type,
1635
- isDefaultPrevented: () => domEvent.defaultPrevented,
1636
- isPropagationStopped: () => propagationStopped,
1637
- persist: () => {
1638
- throw new Error(
1639
- "persist is not implemented for synthetic events created using convertDomEventToSyntheticEvent"
1640
- );
1641
- },
1642
- preventDefault: () => domEvent.preventDefault(),
1643
- stopPropagation: () => {
1644
- propagationStopped = true;
1645
- domEvent.stopPropagation();
1646
- }
1647
- });
1648
- };
1649
- var isEventHandled = (event, handler) => {
1650
- if (!handler) {
1651
- return false;
1652
- }
1653
- const shouldTreatEventAsHandled = handler(event);
1654
- if (shouldTreatEventAsHandled != null) {
1655
- return shouldTreatEventAsHandled;
1656
- }
1657
- return event.isPropagationStopped();
1658
- };
1659
- var pipeHandler = (editor, {
1660
- editableProps,
1661
- handlerKey
1662
- }) => {
1663
- let pluginsHandlers = [];
1664
- pluginsHandlers = editor.plugins.flatMap(
1665
- (plugin) => {
1666
- var _a, _b, _c;
1667
- return (_c = (_b = (_a = plugin.handlers) == null ? void 0 : _a[handlerKey]) == null ? void 0 : _b.call(_a, editor, plugin)) != null ? _c : [];
1668
- }
1669
- );
1670
- const propsHandler = editableProps == null ? void 0 : editableProps[handlerKey];
1671
- if (pluginsHandlers.length === 0 && !propsHandler)
1672
- return;
1673
- return (event) => {
1674
- const isDomEvent = event instanceof Event;
1675
- const handledEvent = isDomEvent ? convertDomEventToSyntheticEvent(event) : event;
1676
- const eventIsHandled = pluginsHandlers.some(
1677
- (handler) => isEventHandled(handledEvent, handler)
1678
- );
1679
- if (eventIsHandled)
1680
- return true;
1681
- return isEventHandled(handledEvent, propsHandler);
1682
- };
1683
- };
1684
- var pluginInjectProps = (editor, { key, inject: { props } }, nodeProps) => {
1685
- var _a, _b, _c, _d;
1686
- const { element, text, className, style } = nodeProps;
1687
- const node = element != null ? element : text;
1688
- if (!node)
1689
- return;
1690
- if (!props)
1691
- return;
1692
- const {
1693
- nodeKey = key,
1694
- styleKey = nodeKey,
1695
- validTypes,
1696
- classNames,
1697
- transformClassName,
1698
- transformNodeValue,
1699
- transformProps,
1700
- transformStyle,
1701
- validNodeValues,
1702
- defaultNodeValue,
1703
- query
1704
- } = props;
1705
- const queryResult = query == null ? void 0 : query(props, nodeProps);
1706
- if (!queryResult && validTypes && index$6.isElement(node) && node.type && !validTypes.includes(node.type)) {
1707
- return;
1708
- }
1709
- const nodeValue = node[nodeKey];
1710
- if (!queryResult && (!index$3.isDefined(nodeValue) || validNodeValues && !validNodeValues.includes(nodeValue) || nodeValue === defaultNodeValue)) {
1711
- return;
1712
- }
1713
- const transformOptions = __spreadProps(__spreadValues({}, nodeProps), { nodeValue });
1714
- const value = (_a = transformNodeValue == null ? void 0 : transformNodeValue(transformOptions)) != null ? _a : nodeValue;
1715
- transformOptions.value = value;
1716
- let res = {};
1717
- if (element) {
1718
- res.className = clsx_m.clsx(className, `slate-${nodeKey}-${nodeValue}`);
1719
- }
1720
- if ((classNames == null ? void 0 : classNames[nodeValue]) || transformClassName) {
1721
- res.className = (_b = transformClassName == null ? void 0 : transformClassName(transformOptions)) != null ? _b : clsx_m.clsx(className, classNames == null ? void 0 : classNames[value]);
1722
- }
1723
- if (styleKey) {
1724
- res.style = (_c = transformStyle == null ? void 0 : transformStyle(transformOptions)) != null ? _c : __spreadProps(__spreadValues({}, style), {
1725
- [styleKey]: value
1726
- });
1727
- }
1728
- if (transformProps) {
1729
- res = (_d = transformProps(transformOptions, res)) != null ? _d : res;
1730
- }
1731
- return res;
1732
- };
1733
-
1734
- // src/utils/pipeInjectProps.tsx
1735
- var pipeInjectProps = (editor, nodeProps) => {
1736
- editor.plugins.forEach((plugin) => {
1737
- if (plugin.inject.props) {
1738
- const props = pluginInjectProps(editor, plugin, nodeProps);
1739
- if (props) {
1740
- nodeProps = __spreadValues(__spreadValues({}, nodeProps), props);
1741
- }
1742
- }
1743
- });
1744
- return __spreadProps(__spreadValues({}, nodeProps), { editor });
1745
- };
1746
-
1747
- // src/utils/pipeOnChange.ts
1748
- var pipeOnChange = (editor) => {
1749
- const onChanges = editor.plugins.flatMap(
1750
- (plugin) => {
1751
- var _a, _b, _c;
1752
- return (_c = (_b = (_a = plugin.handlers) == null ? void 0 : _a.onChange) == null ? void 0 : _b.call(_a, editor, plugin)) != null ? _c : [];
1753
- }
1754
- );
1755
- return (nodes) => {
1756
- return onChanges.some((handler) => {
1757
- if (!handler) {
1758
- return false;
1759
- }
1760
- const shouldTreatEventAsHandled = handler(nodes);
1761
- if (shouldTreatEventAsHandled != null) {
1762
- return shouldTreatEventAsHandled;
1763
- }
1764
- return false;
1765
- });
1766
- };
1767
- };
1768
- var pluginRenderElement = (editor, { key, type, component: _component, props }) => function render(nodeProps) {
1769
- const { element, children: _children } = nodeProps;
1770
- if (element.type === type) {
1771
- const Element = _component != null ? _component : slateReact.DefaultElement;
1772
- const injectAboveComponents = editor.plugins.flatMap(
1773
- (o) => {
1774
- var _a, _b;
1775
- return (_b = (_a = o.inject) == null ? void 0 : _a.aboveComponent) != null ? _b : [];
1776
- }
1777
- );
1778
- const injectBelowComponents = editor.plugins.flatMap(
1779
- (o) => {
1780
- var _a, _b;
1781
- return (_b = (_a = o.inject) == null ? void 0 : _a.belowComponent) != null ? _b : [];
1782
- }
1783
- );
1784
- nodeProps = getRenderNodeProps({
1785
- attributes: element.attributes,
1786
- nodeProps,
1787
- props,
1788
- type
1789
- });
1790
- let children = _children;
1791
- injectBelowComponents.forEach((withHOC2) => {
1792
- const hoc = withHOC2(__spreadProps(__spreadValues({}, nodeProps), { key }));
1793
- if (hoc) {
1794
- children = hoc(__spreadProps(__spreadValues({}, nodeProps), { children }));
1795
- }
1796
- });
1797
- let component = /* @__PURE__ */ React__default.default.createElement(Element, __spreadValues({}, nodeProps), children);
1798
- injectAboveComponents.forEach((withHOC2) => {
1799
- const hoc = withHOC2(__spreadProps(__spreadValues({}, nodeProps), { key }));
1800
- if (hoc) {
1801
- component = hoc(__spreadProps(__spreadValues({}, nodeProps), { children: component }));
1802
- }
1803
- });
1804
- return /* @__PURE__ */ React__default.default.createElement(ElementProvider, { element, scope: key }, component);
1805
- }
1806
- };
1807
-
1808
- // src/utils/pipeRenderElement.tsx
1809
- var pipeRenderElement = (editor, renderElementProp) => {
1810
- const renderElements = [];
1811
- editor.plugins.forEach((plugin) => {
1812
- if (plugin.isElement) {
1813
- renderElements.push(pluginRenderElement(editor, plugin));
1814
- }
1815
- });
1816
- return function render(nodeProps) {
1817
- const props = pipeInjectProps(editor, nodeProps);
1818
- let element;
1819
- renderElements.some((renderElement) => {
1820
- element = renderElement(props);
1821
- return !!element;
1822
- });
1823
- if (element)
1824
- return element;
1825
- if (renderElementProp) {
1826
- return renderElementProp(props);
1827
- }
1828
- return /* @__PURE__ */ React__default.default.createElement(slateReact.DefaultElement, __spreadValues({}, props));
1829
- };
1830
- };
1831
- var pluginRenderLeaf = (editor, { key, type = key, component, props }) => function render(nodeProps) {
1832
- const { leaf, children } = nodeProps;
1833
- if (leaf[type]) {
1834
- const Leaf = component != null ? component : DefaultLeaf;
1835
- nodeProps = getRenderNodeProps({
1836
- attributes: leaf.attributes,
1837
- props,
1838
- nodeProps,
1839
- type
1840
- });
1841
- return /* @__PURE__ */ React__default.default.createElement(Leaf, __spreadValues({}, nodeProps), children);
1842
- }
1843
- return children;
1844
- };
1845
-
1846
- // src/utils/pipeRenderLeaf.tsx
1847
- var pipeRenderLeaf = (editor, renderLeafProp) => {
1848
- const renderLeafs = [];
1849
- editor.plugins.forEach((plugin) => {
1850
- if (plugin.isLeaf && plugin.key) {
1851
- renderLeafs.push(pluginRenderLeaf(editor, plugin));
1852
- }
1853
- });
1854
- return function render(nodeProps) {
1855
- const props = pipeInjectProps(editor, nodeProps);
1856
- renderLeafs.forEach((renderLeaf) => {
1857
- const newChildren = renderLeaf(props);
1858
- if (newChildren !== void 0) {
1859
- props.children = newChildren;
1860
- }
1861
- });
1862
- if (renderLeafProp) {
1863
- return renderLeafProp(props);
1864
- }
1865
- return /* @__PURE__ */ React__default.default.createElement(DefaultLeaf, __spreadValues({}, props));
1866
- };
1867
- };
1868
- var withHOC = (HOC, Component, hocProps, hocRef) => React__default.default.forwardRef((props, componentRef) => /* @__PURE__ */ React__default.default.createElement(HOC, __spreadProps(__spreadValues({}, hocProps), { ref: hocRef }), /* @__PURE__ */ React__default.default.createElement(Component, __spreadProps(__spreadValues({}, props), { ref: componentRef }))));
1869
- var {
1870
- plateControllerStore,
1871
- usePlateControllerStore,
1872
- PlateControllerProvider: PlateController
1873
- } = index.createAtomStore(
1874
- {
1875
- activeId: vanilla.atom(null),
1876
- primaryEditorIds: vanilla.atom([]),
1877
- editorStores: vanilla.atom({})
1878
- },
1879
- {
1880
- name: "plateController"
1881
- }
1882
- );
1883
- var usePlateControllerSelectors = () => usePlateControllerStore().get;
1884
- var usePlateControllerActions = () => usePlateControllerStore().set;
1885
- var usePlateControllerExists = () => !!usePlateControllerStore().store({ warnIfNoStore: false });
1886
- var usePlateControllerEditorStore = (idProp) => {
1887
- const storeAtom = React__default.default.useMemo(
1888
- () => vanilla.atom((get) => {
1889
- const editorStores = get(plateControllerStore.atom.editorStores);
1890
- const forId = (id) => {
1891
- var _a;
1892
- if (!id)
1893
- return null;
1894
- return (_a = editorStores[id]) != null ? _a : null;
1895
- };
1896
- if (idProp)
1897
- return forId(idProp);
1898
- const lookupOrder = [
1899
- get(plateControllerStore.atom.activeId),
1900
- ...get(plateControllerStore.atom.primaryEditorIds)
1901
- ];
1902
- for (const id of lookupOrder) {
1903
- const store = forId(id);
1904
- if (store)
1905
- return store;
1906
- }
1907
- return null;
1908
- }),
1909
- [idProp]
1910
- );
1911
- return usePlateControllerSelectors().atom(storeAtom);
1912
- };
1913
- var createPlateStore = (_a = {}) => {
1914
- var _b = _a, {
1915
- decorate = null,
1916
- editor = createPlateFallbackEditor(),
1917
- id,
1918
- isMounted = false,
1919
- versionDecorate = 1,
1920
- versionEditor = 1,
1921
- versionSelection = 1,
1922
- onChange = null,
1923
- editorRef = null,
1924
- plugins = [],
1925
- rawPlugins = [],
1926
- readOnly = null,
1927
- primary = true,
1928
- renderElement = null,
1929
- renderLeaf = null,
1930
- value = null
1931
- } = _b, state = __objRest(_b, [
1932
- "decorate",
1933
- "editor",
1934
- "id",
1935
- "isMounted",
1936
- "versionDecorate",
1937
- "versionEditor",
1938
- "versionSelection",
1939
- "onChange",
1940
- "editorRef",
1941
- "plugins",
1942
- "rawPlugins",
1943
- "readOnly",
1944
- "primary",
1945
- "renderElement",
1946
- "renderLeaf",
1947
- "value"
1948
- ]);
1949
- return index.createAtomStore(
1950
- __spreadValues({
1951
- decorate,
1952
- editor,
1953
- id,
1954
- isMounted,
1955
- versionDecorate,
1956
- versionEditor,
1957
- versionSelection,
1958
- onChange,
1959
- editorRef,
1960
- plugins,
1961
- rawPlugins,
1962
- readOnly,
1963
- primary,
1964
- renderElement,
1965
- renderLeaf,
1966
- value
1967
- }, state),
1968
- {
1969
- name: "plate",
1970
- extend: (atoms) => ({
1971
- trackedEditor: vanilla.atom((get) => ({
1972
- editor: get(atoms.editor),
1973
- version: get(atoms.versionEditor)
1974
- })),
1975
- trackedSelection: vanilla.atom((get) => ({
1976
- selection: get(atoms.editor).selection,
1977
- version: get(atoms.versionSelection)
1978
- }))
1979
- })
1980
- }
1981
- );
1982
- };
1983
- var {
1984
- plateStore,
1985
- usePlateStore,
1986
- PlateProvider: PlateStoreProvider
1987
- } = createPlateStore();
1988
- var usePlateEditorStore = (id, { debugHookName = "usePlateEditorStore" } = {}) => {
1989
- var _a;
1990
- const localStore = (_a = usePlateStore(id).store({ warnIfNoStore: false })) != null ? _a : null;
1991
- const [localStoreExists] = React__default.default.useState(!!localStore);
1992
- const store = localStoreExists ? localStore : (
1993
- // eslint-disable-next-line react-hooks/rules-of-hooks
1994
- usePlateControllerEditorStore(id)
1995
- );
1996
- const plateControllerExists = usePlateControllerExists();
1997
- const fallbackStore = React__default.default.useMemo(() => vanilla.createStore(), []);
1998
- if (!store) {
1999
- if (plateControllerExists) {
2000
- return fallbackStore;
2001
- }
2002
- throw new Error(
2003
- `${debugHookName} must be used inside a Plate or PlateController`
2004
- );
2005
- }
2006
- return store;
2007
- };
2008
- var usePlateSelectors = (id, options) => {
2009
- const store = usePlateEditorStore(id, __spreadValues({
2010
- debugHookName: "usePlateSelectors"
2011
- }, options));
2012
- return usePlateStore({ store }).get;
2013
- };
2014
- var usePlateActions = (id, options) => {
2015
- const store = usePlateEditorStore(id, __spreadValues({
2016
- debugHookName: "usePlateActions"
2017
- }, options));
2018
- return usePlateStore({ store }).set;
2019
- };
2020
- var usePlateId = () => usePlateSelectors(void 0, { debugHookName: "usePlateId" }).id();
2021
- var useIncrementVersion = (key, id, options = {}) => {
2022
- const previousVersionRef = React__default.default.useRef(1);
2023
- const set = usePlateActions(id, __spreadValues({
2024
- debugHookName: "useIncrementVersion"
2025
- }, options))[key]();
2026
- return React__default.default.useCallback(() => {
2027
- const nextVersion = previousVersionRef.current + 1;
2028
- set(nextVersion);
2029
- previousVersionRef.current = nextVersion;
2030
- }, [set]);
2031
- };
2032
- var useRedecorate = (id, options = {}) => {
2033
- const updateDecorate = useIncrementVersion("versionDecorate", id, __spreadValues({
2034
- debugHookName: "useRedecorate"
2035
- }, options));
2036
- return React__default.default.useCallback(() => {
2037
- updateDecorate();
2038
- }, [updateDecorate]);
2039
- };
2040
-
2041
- // src/stores/plate/selectors/useEditorRef.ts
2042
- var useEditorRef = (id, options = {}) => usePlateSelectors(id, __spreadValues({
2043
- debugHookName: "useEditorRef"
2044
- }, options)).editor();
2045
-
2046
- // src/stores/plate/selectors/useEditorSelection.ts
2047
- var useEditorSelection = (id, options = {}) => usePlateSelectors(id, __spreadValues({
2048
- debugHookName: "useEditorSelection"
2049
- }, options)).trackedSelection().selection;
2050
- var useEditorSelector = (selector, deps, _a = {}) => {
2051
- var _b = _a, {
2052
- id,
2053
- equalityFn = (a, b) => a === b
2054
- } = _b, storeOptions = __objRest(_b, [
2055
- "id",
2056
- "equalityFn"
2057
- ]);
2058
- const selectorAtom = React__default.default.useMemo(
2059
- () => utils.selectAtom(
2060
- plateStore.atom.trackedEditor,
2061
- ({ editor }, prev) => selector(editor, prev),
2062
- equalityFn
2063
- ),
2064
- // eslint-disable-next-line react-hooks/exhaustive-deps
2065
- deps
2066
- );
2067
- return usePlateSelectors(id, __spreadValues({
2068
- debugHookName: "useEditorSelector"
2069
- }, storeOptions)).atom(selectorAtom);
2070
- };
2071
-
2072
- // src/types/PlateStore.ts
2073
- var EXPOSED_STORE_KEYS = [
2074
- "readOnly",
2075
- "plugins",
2076
- "onChange",
2077
- "decorate",
2078
- "renderElement",
2079
- "renderLeaf"
2080
- ];
2081
-
2082
- // src/components/EditorMethodsEffect.ts
2083
- var EditorMethodsEffect = ({ id }) => {
2084
- const editor = useEditorRef(id);
2085
- const redecorate = useRedecorate(id);
2086
- const plateStore2 = usePlateStore(id);
2087
- const storeSetters = Object.fromEntries(
2088
- EXPOSED_STORE_KEYS.map((key) => [key, plateStore2.set[key]()])
2089
- );
2090
- const memorizedStoreSetters = React__default.default.useMemo(() => storeSetters, []);
2091
- React__default.default.useEffect(() => {
2092
- editor.redecorate = redecorate;
2093
- editor.plate = {
2094
- set: memorizedStoreSetters
2095
- };
2096
- }, [editor, redecorate, memorizedStoreSetters]);
2097
- return null;
2098
- };
2099
- function EditorRefPluginEffect({
2100
- id,
2101
- plugin
2102
- }) {
2103
- var _a;
2104
- const editor = useEditorRef(id);
2105
- (_a = plugin.useHooks) == null ? void 0 : _a.call(plugin, editor, plugin);
2106
- return null;
2107
- }
2108
- function EditorRefEffect({ id }) {
2109
- const setIsMounted = usePlateActions(id).isMounted();
2110
- const plugins = usePlateSelectors(id).plugins();
2111
- const editorState = useEditorRef(id);
2112
- const editorRef = usePlateSelectors(id).editorRef();
2113
- React__default.default.useEffect(() => {
2114
- setIsMounted(true);
2115
- return () => {
2116
- setIsMounted(false);
2117
- };
2118
- }, [setIsMounted]);
2119
- React__default.default.useEffect(() => {
2120
- if (typeof editorRef === "function") {
2121
- editorRef(editorState);
2122
- return () => editorRef(null);
2123
- }
2124
- if (editorRef) {
2125
- editorRef.current = editorState;
2126
- return () => {
2127
- editorRef.current = null;
2128
- };
2129
- }
2130
- }, [editorRef, editorState]);
2131
- return /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, plugins.map((plugin) => /* @__PURE__ */ React__default.default.createElement(EditorRefPluginEffect, { key: plugin.key, id, plugin })));
2132
- }
2133
- var EditorStateEffect = React__default.default.memo(({ id }) => {
2134
- const editorState = slateReact.useSlate();
2135
- const updateVersionEditor = useIncrementVersion("versionEditor", id);
2136
- React__default.default.useEffect(() => {
2137
- updateVersionEditor();
2138
- });
2139
- const updateVersionSelection = useIncrementVersion("versionSelection", id);
2140
- const prevSelectionRef = React__default.default.useRef(editorState.selection);
2141
- const sameSelection = isSelectionEqual(
2142
- prevSelectionRef.current,
2143
- editorState.selection
2144
- );
2145
- React__default.default.useEffect(() => {
2146
- if (!sameSelection) {
2147
- updateVersionSelection();
2148
- }
2149
- prevSelectionRef.current = editorState.selection;
2150
- }, [editorState.selection, sameSelection, updateVersionSelection]);
2151
- return null;
2152
- });
2153
- var isSelectionEqual = (a, b) => {
2154
- if (!a && !b)
2155
- return true;
2156
- if (!a || !b)
2157
- return false;
2158
- return slate.Range.equals(a, b);
2159
- };
2160
-
2161
- // src/types/misc/dom-attributes.ts
2162
- var DOM_HANDLERS = [
2163
- // Clipboard Events
2164
- "onCopy",
2165
- "onCopyCapture",
2166
- "onCut",
2167
- "onCutCapture",
2168
- "onPaste",
2169
- "onPasteCapture",
2170
- // Composition Events
2171
- "onCompositionEnd",
2172
- "onCompositionEndCapture",
2173
- "onCompositionStart",
2174
- "onCompositionStartCapture",
2175
- "onCompositionUpdate",
2176
- "onCompositionUpdateCapture",
2177
- // Focus Events
2178
- "onFocus",
2179
- "onFocusCapture",
2180
- "onBlur",
2181
- "onBlurCapture",
2182
- // Form Events
2183
- "onDOMBeforeInput",
2184
- "onBeforeInput",
2185
- "onBeforeInputCapture",
2186
- "onInput",
2187
- "onInputCapture",
2188
- "onReset",
2189
- "onResetCapture",
2190
- "onSubmit",
2191
- "onSubmitCapture",
2192
- "onInvalid",
2193
- "onInvalidCapture",
2194
- // Image Events
2195
- "onLoad",
2196
- "onLoadCapture",
2197
- // Keyboard Events
2198
- "onKeyDown",
2199
- "onKeyDownCapture",
2200
- "onKeyPress",
2201
- "onKeyPressCapture",
2202
- "onKeyUp",
2203
- "onKeyUpCapture",
2204
- // Media Events
2205
- "onAbort",
2206
- "onAbortCapture",
2207
- "onCanPlay",
2208
- "onCanPlayCapture",
2209
- "onCanPlayThrough",
2210
- "onCanPlayThroughCapture",
2211
- "onDurationChange",
2212
- "onDurationChangeCapture",
2213
- "onEmptied",
2214
- "onEmptiedCapture",
2215
- "onEncrypted",
2216
- "onEncryptedCapture",
2217
- "onEnded",
2218
- "onEndedCapture",
2219
- "onLoadedData",
2220
- "onLoadedDataCapture",
2221
- "onLoadedMetadata",
2222
- "onLoadedMetadataCapture",
2223
- "onLoadStart",
2224
- "onLoadStartCapture",
2225
- "onPause",
2226
- "onPauseCapture",
2227
- "onPlay",
2228
- "onPlayCapture",
2229
- "onPlaying",
2230
- "onPlayingCapture",
2231
- "onProgress",
2232
- "onProgressCapture",
2233
- "onRateChange",
2234
- "onRateChangeCapture",
2235
- "onSeeked",
2236
- "onSeekedCapture",
2237
- "onSeeking",
2238
- "onSeekingCapture",
2239
- "onStalled",
2240
- "onStalledCapture",
2241
- "onSuspend",
2242
- "onSuspendCapture",
2243
- "onTimeUpdate",
2244
- "onTimeUpdateCapture",
2245
- "onVolumeChange",
2246
- "onVolumeChangeCapture",
2247
- "onWaiting",
2248
- "onWaitingCapture",
2249
- // MouseEvents
2250
- "onAuxClick",
2251
- "onAuxClickCapture",
2252
- "onClick",
2253
- "onClickCapture",
2254
- "onContextMenu",
2255
- "onContextMenuCapture",
2256
- "onDoubleClick",
2257
- "onDoubleClickCapture",
2258
- "onDrag",
2259
- "onDragCapture",
2260
- "onDragEnd",
2261
- "onDragEndCapture",
2262
- "onDragEnter",
2263
- "onDragEnterCapture",
2264
- "onDragExit",
2265
- "onDragExitCapture",
2266
- "onDragLeave",
2267
- "onDragLeaveCapture",
2268
- "onDragOver",
2269
- "onDragOverCapture",
2270
- "onDragStart",
2271
- "onDragStartCapture",
2272
- "onDrop",
2273
- "onDropCapture",
2274
- "onMouseDown",
2275
- "onMouseDownCapture",
2276
- "onMouseEnter",
2277
- "onMouseLeave",
2278
- "onMouseMove",
2279
- "onMouseMoveCapture",
2280
- "onMouseOut",
2281
- "onMouseOutCapture",
2282
- "onMouseOver",
2283
- "onMouseOverCapture",
2284
- "onMouseUp",
2285
- "onMouseUpCapture",
2286
- // Selection Events
2287
- "onSelect",
2288
- "onSelectCapture",
2289
- // Touch Events
2290
- "onTouchCancel",
2291
- "onTouchCancelCapture",
2292
- "onTouchEnd",
2293
- "onTouchEndCapture",
2294
- "onTouchMove",
2295
- "onTouchMoveCapture",
2296
- "onTouchStart",
2297
- "onTouchStartCapture",
2298
- // Pointer Events
2299
- "onPointerDown",
2300
- "onPointerDownCapture",
2301
- "onPointerMove",
2302
- "onPointerMoveCapture",
2303
- "onPointerUp",
2304
- "onPointerUpCapture",
2305
- "onPointerCancel",
2306
- "onPointerCancelCapture",
2307
- "onPointerEnter",
2308
- "onPointerEnterCapture",
2309
- "onPointerLeave",
2310
- "onPointerLeaveCapture",
2311
- "onPointerOver",
2312
- "onPointerOverCapture",
2313
- "onPointerOut",
2314
- "onPointerOutCapture",
2315
- "onGotPointerCapture",
2316
- "onGotPointerCaptureCapture",
2317
- "onLostPointerCapture",
2318
- "onLostPointerCaptureCapture",
2319
- // UI Events
2320
- "onScroll",
2321
- "onScrollCapture",
2322
- // Wheel Events
2323
- "onWheel",
2324
- "onWheelCapture",
2325
- // Animation Events
2326
- "onAnimationStart",
2327
- "onAnimationStartCapture",
2328
- "onAnimationEnd",
2329
- "onAnimationEndCapture",
2330
- "onAnimationIteration",
2331
- "onAnimationIterationCapture",
2332
- // Transition Events
2333
- "onTransitionEnd",
2334
- "onTransitionEndCapture"
2335
- ];
2336
-
2337
- // src/hooks/useEditableProps.ts
2338
- var useEditableProps = (editableProps = {}) => {
2339
- const { id } = editableProps;
2340
- const editor = useEditorRef(id);
2341
- const selectors = usePlateSelectors(id);
2342
- const versionDecorate = selectors.versionDecorate();
2343
- const readOnly = selectors.readOnly();
2344
- const storeDecorate = selectors.decorate();
2345
- const storeRenderLeaf = selectors.renderLeaf();
2346
- const storeRenderElement = selectors.renderElement();
2347
- const decorateMemo = React__default.default.useMemo(() => {
2348
- return pipeDecorate(editor, storeDecorate != null ? storeDecorate : editableProps == null ? void 0 : editableProps.decorate);
2349
- }, [editableProps == null ? void 0 : editableProps.decorate, editor, storeDecorate]);
2350
- const decorate = React__default.default.useMemo(() => {
2351
- if (!versionDecorate || !decorateMemo)
2352
- return;
2353
- return (entry) => decorateMemo(entry);
2354
- }, [decorateMemo, versionDecorate]);
2355
- const renderElement = React__default.default.useMemo(() => {
2356
- return pipeRenderElement(
2357
- editor,
2358
- storeRenderElement != null ? storeRenderElement : editableProps == null ? void 0 : editableProps.renderElement
2359
- );
2360
- }, [editableProps == null ? void 0 : editableProps.renderElement, editor, storeRenderElement]);
2361
- const renderLeaf = React__default.default.useMemo(() => {
2362
- return pipeRenderLeaf(editor, storeRenderLeaf != null ? storeRenderLeaf : editableProps == null ? void 0 : editableProps.renderLeaf);
2363
- }, [editableProps == null ? void 0 : editableProps.renderLeaf, editor, storeRenderLeaf]);
2364
- const props = index$5.useDeepCompareMemo(() => {
2365
- const _props = {
2366
- decorate,
2367
- renderElement,
2368
- renderLeaf
2369
- };
2370
- if (index$3.isDefined(readOnly)) {
2371
- _props.readOnly = readOnly;
2372
- }
2373
- DOM_HANDLERS.forEach((handlerKey) => {
2374
- const handler = pipeHandler(editor, {
2375
- editableProps,
2376
- handlerKey
2377
- });
2378
- if (handler) {
2379
- _props[handlerKey] = handler;
2380
- }
2381
- });
2382
- return _props;
2383
- }, [decorate, editableProps, renderElement, renderLeaf, readOnly]);
2384
- return index$5.useDeepCompareMemo(
2385
- () => __spreadValues(__spreadValues({}, omit.default(editableProps, [...DOM_HANDLERS, "renderElement", "renderLeaf"])), props),
2386
- [editableProps, props]
2387
- );
2388
- };
2389
- var useSlateProps = ({
2390
- id
2391
- }) => {
2392
- const editor = useEditorRef(id);
2393
- const value = usePlateSelectors(id).value();
2394
- const setValue = usePlateActions(id).value();
2395
- const onChangeProp = usePlateSelectors(id).onChange();
2396
- const onChange = React__default.default.useCallback(
2397
- (newValue) => {
2398
- const eventIsHandled = pipeOnChange(editor)(newValue);
2399
- if (!eventIsHandled) {
2400
- onChangeProp == null ? void 0 : onChangeProp(newValue);
2401
- }
2402
- setValue(newValue);
2403
- },
2404
- [editor, setValue, onChangeProp]
2405
- );
2406
- return React__default.default.useMemo(() => {
2407
- return {
2408
- key: editor.key,
2409
- editor,
2410
- onChange,
2411
- value,
2412
- initialValue: value
2413
- };
2414
- }, [editor, onChange, value]);
2415
- };
2416
- var PlateControllerEffect = ({
2417
- id: idProp
2418
- }) => {
2419
- const idFromStore = usePlateId();
2420
- const id = idProp != null ? idProp : idFromStore;
2421
- const currentStoreAtom = React__default.default.useMemo(
2422
- () => index_modern.focusAtom(
2423
- plateControllerStore.atom.editorStores,
2424
- (optic) => optic.prop(id)
2425
- ),
2426
- [id]
2427
- );
2428
- const setCurrentStore = usePlateControllerActions().atom(currentStoreAtom, {
2429
- warnIfNoStore: false
2430
- });
2431
- const store = usePlateStore(id).store();
2432
- const primary = usePlateSelectors(id).primary();
2433
- const setPrimaryEditorIds = usePlateControllerActions().primaryEditorIds({
2434
- warnIfNoStore: false
2435
- });
2436
- const focused = slateReact.useFocused();
2437
- const setActiveId = usePlateControllerActions().activeId({
2438
- warnIfNoStore: false
2439
- });
2440
- React__default.default.useEffect(() => {
2441
- setCurrentStore(store != null ? store : null);
2442
- return () => {
2443
- setCurrentStore(null);
2444
- setActiveId((activeId) => activeId === id ? null : activeId);
2445
- };
2446
- }, [store, setCurrentStore, setActiveId, id]);
2447
- React__default.default.useEffect(() => {
2448
- if (primary) {
2449
- setPrimaryEditorIds((ids) => [...ids, id]);
2450
- return () => {
2451
- setPrimaryEditorIds((ids) => ids.filter((i) => i !== id));
2452
- };
2453
- }
2454
- }, [id, primary, setPrimaryEditorIds]);
2455
- React__default.default.useEffect(() => {
2456
- if (id && focused) {
2457
- setActiveId(id);
2458
- }
2459
- }, [id, focused, setActiveId]);
2460
- return null;
2461
- };
2462
- function PlateSlate({
2463
- id,
2464
- children
2465
- }) {
2466
- var _a;
2467
- const slateProps = useSlateProps({ id });
2468
- const editor = useEditorRef(id);
2469
- let aboveSlate = /* @__PURE__ */ React__default.default.createElement(slateReact.Slate, __spreadValues({}, slateProps), children);
2470
- (_a = editor.plugins) == null ? void 0 : _a.forEach((plugin) => {
2471
- const { renderAboveSlate: RenderAboveSlate } = plugin;
2472
- if (RenderAboveSlate)
2473
- aboveSlate = /* @__PURE__ */ React__default.default.createElement(RenderAboveSlate, null, aboveSlate);
2474
- });
2475
- return aboveSlate;
2476
- }
2477
-
2478
- // src/components/PlateContent.tsx
2479
- var PlateContent = React__default.default.forwardRef(
2480
- (_a, ref) => {
2481
- var _b = _a, { renderEditable } = _b, props = __objRest(_b, ["renderEditable"]);
2482
- const { id } = props;
2483
- const editor = useEditorRef(id);
2484
- if (!editor) {
2485
- throw new Error(
2486
- "Editor not found. Please ensure that PlateContent is rendered below Plate."
2487
- );
2488
- }
2489
- const editableProps = useEditableProps(props);
2490
- const editable = /* @__PURE__ */ React__default.default.createElement(slateReact.Editable, __spreadValues({ ref }, editableProps));
2491
- let afterEditable = null;
2492
- let beforeEditable = null;
2493
- editor.plugins.forEach((plugin) => {
2494
- const {
2495
- renderBeforeEditable: RenderBeforeEditable,
2496
- renderAfterEditable: RenderAfterEditable
2497
- } = plugin;
2498
- if (RenderAfterEditable) {
2499
- afterEditable = /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, afterEditable, /* @__PURE__ */ React__default.default.createElement(RenderAfterEditable, __spreadValues({}, editableProps)));
2500
- }
2501
- if (RenderBeforeEditable) {
2502
- beforeEditable = /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, beforeEditable, /* @__PURE__ */ React__default.default.createElement(RenderBeforeEditable, __spreadValues({}, editableProps)));
2503
- }
2504
- });
2505
- let aboveEditable = /* @__PURE__ */ React__default.default.createElement(React__default.default.Fragment, null, beforeEditable, renderEditable ? renderEditable(editable) : editable, /* @__PURE__ */ React__default.default.createElement(EditorMethodsEffect, { id }), /* @__PURE__ */ React__default.default.createElement(EditorStateEffect, { id }), /* @__PURE__ */ React__default.default.createElement(EditorRefEffect, { id }), /* @__PURE__ */ React__default.default.createElement(PlateControllerEffect, { id }), afterEditable);
2506
- editor.plugins.forEach((plugin) => {
2507
- const { renderAboveEditable: RenderAboveEditable } = plugin;
2508
- if (RenderAboveEditable)
2509
- aboveEditable = /* @__PURE__ */ React__default.default.createElement(RenderAboveEditable, null, aboveEditable);
2510
- });
2511
- return /* @__PURE__ */ React__default.default.createElement(PlateSlate, { id }, aboveEditable);
2512
- }
2513
- );
2514
- PlateContent.displayName = "PlateContent";
2515
-
2516
- exports.createAtomStore = index.createAtomStore;
2517
- exports.isHotkeyPressed = reactHotkeysHook_esm.isHotkeyPressed;
2518
- exports.useHotkeys = reactHotkeysHook_esm.useHotkeys;
2519
- exports.createZustandStore = index$1.createZustandStore;
2520
- exports.atom = vanilla.atom;
2521
- exports.DOM_HANDLERS = DOM_HANDLERS;
2522
- exports.DefaultLeaf = DefaultLeaf;
2523
- exports.ELEMENT_DEFAULT = ELEMENT_DEFAULT;
2524
- exports.EXPOSED_STORE_KEYS = EXPOSED_STORE_KEYS;
2525
- exports.EditorMethodsEffect = EditorMethodsEffect;
2526
- exports.EditorRefEffect = EditorRefEffect;
2527
- exports.EditorRefPluginEffect = EditorRefPluginEffect;
2528
- exports.EditorStateEffect = EditorStateEffect;
2529
- exports.ElementProvider = ElementProvider;
2530
- exports.KEY_DESERIALIZE_AST = KEY_DESERIALIZE_AST;
2531
- exports.KEY_DESERIALIZE_HTML = KEY_DESERIALIZE_HTML;
2532
- exports.KEY_EDITOR_PROTOCOL = KEY_EDITOR_PROTOCOL;
2533
- exports.KEY_EVENT_EDITOR = KEY_EVENT_EDITOR;
2534
- exports.KEY_INLINE_VOID = KEY_INLINE_VOID;
2535
- exports.KEY_INSERT_DATA = KEY_INSERT_DATA;
2536
- exports.KEY_LENGTH = KEY_LENGTH;
2537
- exports.KEY_NODE_FACTORY = KEY_NODE_FACTORY;
2538
- exports.KEY_PREV_SELECTION = KEY_PREV_SELECTION;
2539
- exports.PlateContent = PlateContent;
2540
- exports.PlateController = PlateController;
2541
- exports.PlateControllerEffect = PlateControllerEffect;
2542
- exports.PlateSlate = PlateSlate;
2543
- exports.PlateStoreProvider = PlateStoreProvider;
2544
- exports.SCOPE_ELEMENT = SCOPE_ELEMENT;
2545
- exports.applyDeepToNodes = applyDeepToNodes;
2546
- exports.collapseString = collapseString;
2547
- exports.collapseWhiteSpace = collapseWhiteSpace;
2548
- exports.collapseWhiteSpaceChildren = collapseWhiteSpaceChildren;
2549
- exports.collapseWhiteSpaceElement = collapseWhiteSpaceElement;
2550
- exports.collapseWhiteSpaceNode = collapseWhiteSpaceNode;
2551
- exports.collapseWhiteSpaceText = collapseWhiteSpaceText;
2552
- exports.convertDomEventToSyntheticEvent = convertDomEventToSyntheticEvent;
2553
- exports.createDeserializeAstPlugin = createDeserializeAstPlugin;
2554
- exports.createDeserializeHtmlPlugin = createDeserializeHtmlPlugin;
2555
- exports.createEditorProtocolPlugin = createEditorProtocolPlugin;
2556
- exports.createEventEditorPlugin = createEventEditorPlugin;
2557
- exports.createHistoryPlugin = createHistoryPlugin;
2558
- exports.createInlineVoidPlugin = createInlineVoidPlugin;
2559
- exports.createInsertDataPlugin = createInsertDataPlugin;
2560
- exports.createLengthPlugin = createLengthPlugin;
2561
- exports.createNodeFactoryPlugin = createNodeFactoryPlugin;
2562
- exports.createPlateEditor = createPlateEditor;
2563
- exports.createPlateFallbackEditor = createPlateFallbackEditor;
2564
- exports.createPlateStore = createPlateStore;
2565
- exports.createPluginFactory = createPluginFactory;
2566
- exports.createPlugins = createPlugins;
2567
- exports.createPrevSelectionPlugin = createPrevSelectionPlugin;
2568
- exports.createReactPlugin = createReactPlugin;
2569
- exports.deserializeHtml = deserializeHtml;
2570
- exports.deserializeHtmlElement = deserializeHtmlElement;
2571
- exports.deserializeHtmlNode = deserializeHtmlNode;
2572
- exports.deserializeHtmlNodeChildren = deserializeHtmlNodeChildren;
2573
- exports.endInlineFormattingContext = endInlineFormattingContext;
2574
- exports.eventEditorActions = eventEditorActions;
2575
- exports.eventEditorSelectors = eventEditorSelectors;
2576
- exports.eventEditorStore = eventEditorStore;
2577
- exports.flattenDeepPlugins = flattenDeepPlugins;
2578
- exports.getInjectedPlugins = getInjectedPlugins;
2579
- exports.getPlugin = getPlugin;
2580
- exports.getPluginInjectProps = getPluginInjectProps;
2581
- exports.getPluginOptions = getPluginOptions;
2582
- exports.getPluginType = getPluginType;
2583
- exports.getPluginTypes = getPluginTypes;
2584
- exports.getPluginsByKey = getPluginsByKey;
2585
- exports.getRenderNodeProps = getRenderNodeProps;
2586
- exports.getSlateClass = getSlateClass;
2587
- exports.htmlBodyToFragment = htmlBodyToFragment;
2588
- exports.htmlBrToNewLine = htmlBrToNewLine;
2589
- exports.htmlElementToElement = htmlElementToElement;
2590
- exports.htmlElementToLeaf = htmlElementToLeaf;
2591
- exports.htmlStringToDOMNode = htmlStringToDOMNode;
2592
- exports.htmlTextNodeToString = htmlTextNodeToString;
2593
- exports.inferWhiteSpaceRule = inferWhiteSpaceRule;
2594
- exports.inlineTagNames = inlineTagNames;
2595
- exports.isEventHandled = isEventHandled;
2596
- exports.isHtmlBlockElement = isHtmlBlockElement;
2597
- exports.isHtmlElement = isHtmlElement;
2598
- exports.isHtmlInlineElement = isHtmlInlineElement;
2599
- exports.isHtmlText = isHtmlText;
2600
- exports.isLastNonEmptyTextOfInlineFormattingContext = isLastNonEmptyTextOfInlineFormattingContext;
2601
- exports.mergeDeepPlugins = mergeDeepPlugins;
2602
- exports.mergeDeepToNodes = mergeDeepToNodes;
2603
- exports.mockPlugin = mockPlugin;
2604
- exports.normalizeDescendantsToDocumentFragment = normalizeDescendantsToDocumentFragment;
2605
- exports.overridePluginsByKey = overridePluginsByKey;
2606
- exports.parseHtmlDocument = parseHtmlDocument;
2607
- exports.pipeDecorate = pipeDecorate;
2608
- exports.pipeDeserializeHtmlElement = pipeDeserializeHtmlElement;
2609
- exports.pipeDeserializeHtmlLeaf = pipeDeserializeHtmlLeaf;
2610
- exports.pipeHandler = pipeHandler;
2611
- exports.pipeInjectProps = pipeInjectProps;
2612
- exports.pipeInsertDataQuery = pipeInsertDataQuery;
2613
- exports.pipeInsertFragment = pipeInsertFragment;
2614
- exports.pipeOnChange = pipeOnChange;
2615
- exports.pipeRenderElement = pipeRenderElement;
2616
- exports.pipeRenderLeaf = pipeRenderLeaf;
2617
- exports.pipeTransformData = pipeTransformData;
2618
- exports.pipeTransformFragment = pipeTransformFragment;
2619
- exports.plateControllerStore = plateControllerStore;
2620
- exports.plateStore = plateStore;
2621
- exports.pluginDeserializeHtml = pluginDeserializeHtml;
2622
- exports.pluginInjectProps = pluginInjectProps;
2623
- exports.pluginRenderElement = pluginRenderElement;
2624
- exports.pluginRenderLeaf = pluginRenderLeaf;
2625
- exports.resetEditor = resetEditor;
2626
- exports.resetEditorChildren = resetEditorChildren;
2627
- exports.setDefaultPlugin = setDefaultPlugin;
2628
- exports.setPlatePlugins = setPlatePlugins;
2629
- exports.upsertInlineFormattingContext = upsertInlineFormattingContext;
2630
- exports.useEditableProps = useEditableProps;
2631
- exports.useEditorRef = useEditorRef;
2632
- exports.useEditorSelection = useEditorSelection;
2633
- exports.useEditorSelector = useEditorSelector;
2634
- exports.useElement = useElement;
2635
- exports.useElementStore = useElementStore;
2636
- exports.useIncrementVersion = useIncrementVersion;
2637
- exports.usePlateActions = usePlateActions;
2638
- exports.usePlateControllerActions = usePlateControllerActions;
2639
- exports.usePlateControllerEditorStore = usePlateControllerEditorStore;
2640
- exports.usePlateControllerExists = usePlateControllerExists;
2641
- exports.usePlateControllerSelectors = usePlateControllerSelectors;
2642
- exports.usePlateControllerStore = usePlateControllerStore;
2643
- exports.usePlateEditorStore = usePlateEditorStore;
2644
- exports.usePlateId = usePlateId;
2645
- exports.usePlateSelectors = usePlateSelectors;
2646
- exports.usePlateStore = usePlateStore;
2647
- exports.useRedecorate = useRedecorate;
2648
- exports.useSlateProps = useSlateProps;
2649
- exports.withEditorProtocol = withEditorProtocol;
2650
- exports.withHOC = withHOC;
2651
- exports.withInlineVoid = withInlineVoid;
2652
- exports.withInsertData = withInsertData;
2653
- exports.withLength = withLength;
2654
- exports.withPlate = withPlate;
2655
- exports.withTHistory = withTHistory;
2656
- exports.withTReact = withTReact;