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

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 (2292) hide show
  1. package/dist/_virtual/_cloneBuffer.js +5 -0
  2. package/dist/_virtual/_commonjsHelpers.js +10 -0
  3. package/dist/_virtual/_nodeUtil.js +5 -0
  4. package/dist/_virtual/index.js +5 -0
  5. package/dist/_virtual/index2.js +5 -0
  6. package/dist/_virtual/index3.js +5 -0
  7. package/dist/_virtual/isBuffer.js +5 -0
  8. package/dist/_virtual/use-sync-external-store-shim.development.js +5 -0
  9. package/dist/_virtual/use-sync-external-store-shim.production.min.js +5 -0
  10. package/dist/_virtual/util.js +5 -0
  11. package/dist/_virtual/with-selector.development.js +5 -0
  12. package/dist/_virtual/with-selector.js +5 -0
  13. package/dist/_virtual/with-selector.production.min.js +5 -0
  14. package/dist/node_modules/@udecode/plate-alignment/dist/index.js +98 -0
  15. package/dist/node_modules/@udecode/plate-core/dist/index.js +2656 -0
  16. package/dist/node_modules/@udecode/plate-link/dist/index.js +585 -0
  17. package/dist/node_modules/@udecode/plate-media/dist/index.js +211 -0
  18. package/dist/node_modules/@udecode/plate-normalizers/dist/index.js +20 -0
  19. package/dist/node_modules/@udecode/plate-resizable/dist/index.js +334 -0
  20. package/dist/node_modules/@udecode/plate-table/dist/index.js +1371 -0
  21. package/dist/node_modules/@udecode/plate-utils/dist/index.js +127 -0
  22. package/dist/node_modules/@udecode/slate/dist/index.js +316 -0
  23. package/dist/node_modules/@udecode/slate-react/dist/index.js +35 -0
  24. package/dist/node_modules/@udecode/slate-utils/dist/index.js +230 -0
  25. package/dist/node_modules/@udecode/utils/dist/index.js +61 -0
  26. package/dist/node_modules/clsx/dist/clsx.m.js +8 -0
  27. package/dist/node_modules/dequal/dist/index.js +88 -0
  28. package/dist/node_modules/immer/dist/immer.js +968 -0
  29. package/dist/node_modules/is-hotkey/lib/index.js +253 -0
  30. package/dist/node_modules/jotai/esm/react/utils.js +29 -0
  31. package/dist/node_modules/jotai/esm/react.js +116 -0
  32. package/dist/node_modules/jotai/esm/vanilla/utils.js +44 -0
  33. package/dist/node_modules/jotai/esm/vanilla.js +602 -0
  34. package/dist/node_modules/jotai-optics/dist/index.modern.js +8 -0
  35. package/dist/node_modules/jotai-x/dist/index.js +259 -0
  36. package/dist/node_modules/js-video-url-parser/lib/base.js +9 -0
  37. package/dist/node_modules/js-video-url-parser/lib/provider/allocine.js +38 -0
  38. package/dist/node_modules/js-video-url-parser/lib/provider/canalplus.js +50 -0
  39. package/dist/node_modules/js-video-url-parser/lib/provider/coub.js +58 -0
  40. package/dist/node_modules/js-video-url-parser/lib/provider/dailymotion.js +74 -0
  41. package/dist/node_modules/js-video-url-parser/lib/provider/facebook.js +82 -0
  42. package/dist/node_modules/js-video-url-parser/lib/provider/loom.js +55 -0
  43. package/dist/node_modules/js-video-url-parser/lib/provider/soundcloud.js +129 -0
  44. package/dist/node_modules/js-video-url-parser/lib/provider/teachertube.js +114 -0
  45. package/dist/node_modules/js-video-url-parser/lib/provider/ted.js +100 -0
  46. package/dist/node_modules/js-video-url-parser/lib/provider/tiktok.js +54 -0
  47. package/dist/node_modules/js-video-url-parser/lib/provider/twitch.js +154 -0
  48. package/dist/node_modules/js-video-url-parser/lib/provider/vimeo.js +93 -0
  49. package/dist/node_modules/js-video-url-parser/lib/provider/wistia.js +116 -0
  50. package/dist/node_modules/js-video-url-parser/lib/provider/youku.js +87 -0
  51. package/dist/node_modules/js-video-url-parser/lib/provider/youtube.js +209 -0
  52. package/dist/node_modules/js-video-url-parser/lib/urlParser.js +88 -0
  53. package/dist/node_modules/js-video-url-parser/lib/util.js +112 -0
  54. package/dist/node_modules/lodash/_DataView.js +14 -0
  55. package/dist/node_modules/lodash/_Hash.js +42 -0
  56. package/dist/node_modules/lodash/_ListCache.js +42 -0
  57. package/dist/node_modules/lodash/_Map.js +14 -0
  58. package/dist/node_modules/lodash/_MapCache.js +42 -0
  59. package/dist/node_modules/lodash/_Promise.js +14 -0
  60. package/dist/node_modules/lodash/_Set.js +14 -0
  61. package/dist/node_modules/lodash/_SetCache.js +35 -0
  62. package/dist/node_modules/lodash/_Stack.js +38 -0
  63. package/dist/node_modules/lodash/_Symbol.js +12 -0
  64. package/dist/node_modules/lodash/_Uint8Array.js +12 -0
  65. package/dist/node_modules/lodash/_WeakMap.js +14 -0
  66. package/dist/node_modules/lodash/_apply.js +26 -0
  67. package/dist/node_modules/lodash/_arrayAggregator.js +27 -0
  68. package/dist/node_modules/lodash/_arrayEach.js +27 -0
  69. package/dist/node_modules/lodash/_arrayFilter.js +30 -0
  70. package/dist/node_modules/lodash/_arrayLikeKeys.js +60 -0
  71. package/dist/node_modules/lodash/_arrayMap.js +26 -0
  72. package/dist/node_modules/lodash/_arrayPush.js +25 -0
  73. package/dist/node_modules/lodash/_arraySome.js +28 -0
  74. package/dist/node_modules/lodash/_assignMergeValue.js +27 -0
  75. package/dist/node_modules/lodash/_assignValue.js +35 -0
  76. package/dist/node_modules/lodash/_assocIndexOf.js +27 -0
  77. package/dist/node_modules/lodash/_baseAggregator.js +27 -0
  78. package/dist/node_modules/lodash/_baseAssign.js +24 -0
  79. package/dist/node_modules/lodash/_baseAssignIn.js +24 -0
  80. package/dist/node_modules/lodash/_baseAssignValue.js +31 -0
  81. package/dist/node_modules/lodash/_baseClone.js +193 -0
  82. package/dist/node_modules/lodash/_baseCreate.js +36 -0
  83. package/dist/node_modules/lodash/_baseEach.js +21 -0
  84. package/dist/node_modules/lodash/_baseFlatten.js +45 -0
  85. package/dist/node_modules/lodash/_baseFor.js +22 -0
  86. package/dist/node_modules/lodash/_baseForOwn.js +23 -0
  87. package/dist/node_modules/lodash/_baseGet.js +31 -0
  88. package/dist/node_modules/lodash/_baseGetAllKeys.js +27 -0
  89. package/dist/node_modules/lodash/_baseGetTag.js +36 -0
  90. package/dist/node_modules/lodash/_baseHasIn.js +18 -0
  91. package/dist/node_modules/lodash/_baseIsArguments.js +25 -0
  92. package/dist/node_modules/lodash/_baseIsEqual.js +35 -0
  93. package/dist/node_modules/lodash/_baseIsEqualDeep.js +96 -0
  94. package/dist/node_modules/lodash/_baseIsMap.js +25 -0
  95. package/dist/node_modules/lodash/_baseIsMatch.js +69 -0
  96. package/dist/node_modules/lodash/_baseIsNative.js +56 -0
  97. package/dist/node_modules/lodash/_baseIsSet.js +25 -0
  98. package/dist/node_modules/lodash/_baseIsTypedArray.js +68 -0
  99. package/dist/node_modules/lodash/_baseIteratee.js +41 -0
  100. package/dist/node_modules/lodash/_baseKeys.js +37 -0
  101. package/dist/node_modules/lodash/_baseKeysIn.js +41 -0
  102. package/dist/node_modules/lodash/_baseMap.js +29 -0
  103. package/dist/node_modules/lodash/_baseMatches.js +30 -0
  104. package/dist/node_modules/lodash/_baseMatchesProperty.js +45 -0
  105. package/dist/node_modules/lodash/_baseMerge.js +54 -0
  106. package/dist/node_modules/lodash/_baseMergeDeep.js +114 -0
  107. package/dist/node_modules/lodash/_baseProperty.js +19 -0
  108. package/dist/node_modules/lodash/_basePropertyDeep.js +22 -0
  109. package/dist/node_modules/lodash/_baseRest.js +25 -0
  110. package/dist/node_modules/lodash/_baseSetToString.js +30 -0
  111. package/dist/node_modules/lodash/_baseSlice.js +36 -0
  112. package/dist/node_modules/lodash/_baseTimes.js +25 -0
  113. package/dist/node_modules/lodash/_baseToString.js +46 -0
  114. package/dist/node_modules/lodash/_baseUnary.js +19 -0
  115. package/dist/node_modules/lodash/_baseUnset.js +29 -0
  116. package/dist/node_modules/lodash/_baseValues.js +25 -0
  117. package/dist/node_modules/lodash/_cacheHas.js +18 -0
  118. package/dist/node_modules/lodash/_castPath.js +30 -0
  119. package/dist/node_modules/lodash/_cloneArrayBuffer.js +22 -0
  120. package/dist/node_modules/lodash/_cloneBuffer.js +48 -0
  121. package/dist/node_modules/lodash/_cloneDataView.js +22 -0
  122. package/dist/node_modules/lodash/_cloneRegExp.js +22 -0
  123. package/dist/node_modules/lodash/_cloneSymbol.js +24 -0
  124. package/dist/node_modules/lodash/_cloneTypedArray.js +22 -0
  125. package/dist/node_modules/lodash/_copyArray.js +25 -0
  126. package/dist/node_modules/lodash/_copyObject.js +47 -0
  127. package/dist/node_modules/lodash/_copySymbols.js +23 -0
  128. package/dist/node_modules/lodash/_copySymbolsIn.js +23 -0
  129. package/dist/node_modules/lodash/_coreJsData.js +12 -0
  130. package/dist/node_modules/lodash/_createAggregator.js +32 -0
  131. package/dist/node_modules/lodash/_createAssigner.js +44 -0
  132. package/dist/node_modules/lodash/_createBaseEach.js +38 -0
  133. package/dist/node_modules/lodash/_createBaseFor.js +30 -0
  134. package/dist/node_modules/lodash/_customDefaultsMerge.js +35 -0
  135. package/dist/node_modules/lodash/_customOmitClone.js +22 -0
  136. package/dist/node_modules/lodash/_defineProperty.js +17 -0
  137. package/dist/node_modules/lodash/_equalArrays.js +92 -0
  138. package/dist/node_modules/lodash/_equalByTag.js +123 -0
  139. package/dist/node_modules/lodash/_equalObjects.js +96 -0
  140. package/dist/node_modules/lodash/_flatRest.js +24 -0
  141. package/dist/node_modules/lodash/_freeGlobal.js +11 -0
  142. package/dist/node_modules/lodash/_getAllKeys.js +24 -0
  143. package/dist/node_modules/lodash/_getAllKeysIn.js +25 -0
  144. package/dist/node_modules/lodash/_getMapData.js +24 -0
  145. package/dist/node_modules/lodash/_getMatchData.js +31 -0
  146. package/dist/node_modules/lodash/_getNative.js +24 -0
  147. package/dist/node_modules/lodash/_getPrototype.js +12 -0
  148. package/dist/node_modules/lodash/_getRawTag.js +52 -0
  149. package/dist/node_modules/lodash/_getSymbols.js +37 -0
  150. package/dist/node_modules/lodash/_getSymbolsIn.js +34 -0
  151. package/dist/node_modules/lodash/_getTag.js +70 -0
  152. package/dist/node_modules/lodash/_getValue.js +18 -0
  153. package/dist/node_modules/lodash/_hasPath.js +50 -0
  154. package/dist/node_modules/lodash/_hashClear.js +21 -0
  155. package/dist/node_modules/lodash/_hashDelete.js +22 -0
  156. package/dist/node_modules/lodash/_hashGet.js +36 -0
  157. package/dist/node_modules/lodash/_hashHas.js +29 -0
  158. package/dist/node_modules/lodash/_hashSet.js +29 -0
  159. package/dist/node_modules/lodash/_initCloneArray.js +31 -0
  160. package/dist/node_modules/lodash/_initCloneByTag.js +87 -0
  161. package/dist/node_modules/lodash/_initCloneObject.js +26 -0
  162. package/dist/node_modules/lodash/_isFlattenable.js +28 -0
  163. package/dist/node_modules/lodash/_isIndex.js +30 -0
  164. package/dist/node_modules/lodash/_isIterateeCall.js +39 -0
  165. package/dist/node_modules/lodash/_isKey.js +36 -0
  166. package/dist/node_modules/lodash/_isKeyable.js +20 -0
  167. package/dist/node_modules/lodash/_isMasked.js +26 -0
  168. package/dist/node_modules/lodash/_isPrototype.js +23 -0
  169. package/dist/node_modules/lodash/_isStrictComparable.js +21 -0
  170. package/dist/node_modules/lodash/_listCacheClear.js +18 -0
  171. package/dist/node_modules/lodash/_listCacheDelete.js +41 -0
  172. package/dist/node_modules/lodash/_listCacheGet.js +25 -0
  173. package/dist/node_modules/lodash/_listCacheHas.js +22 -0
  174. package/dist/node_modules/lodash/_listCacheSet.js +32 -0
  175. package/dist/node_modules/lodash/_mapCacheClear.js +29 -0
  176. package/dist/node_modules/lodash/_mapCacheDelete.js +24 -0
  177. package/dist/node_modules/lodash/_mapCacheGet.js +22 -0
  178. package/dist/node_modules/lodash/_mapCacheHas.js +22 -0
  179. package/dist/node_modules/lodash/_mapCacheSet.js +28 -0
  180. package/dist/node_modules/lodash/_mapToArray.js +23 -0
  181. package/dist/node_modules/lodash/_matchesStrictComparable.js +25 -0
  182. package/dist/node_modules/lodash/_memoizeCapped.js +32 -0
  183. package/dist/node_modules/lodash/_nativeCreate.js +12 -0
  184. package/dist/node_modules/lodash/_nativeKeys.js +12 -0
  185. package/dist/node_modules/lodash/_nativeKeysIn.js +25 -0
  186. package/dist/node_modules/lodash/_nodeUtil.js +43 -0
  187. package/dist/node_modules/lodash/_objectToString.js +27 -0
  188. package/dist/node_modules/lodash/_overArg.js +20 -0
  189. package/dist/node_modules/lodash/_overRest.js +42 -0
  190. package/dist/node_modules/lodash/_parent.js +23 -0
  191. package/dist/node_modules/lodash/_root.js +15 -0
  192. package/dist/node_modules/lodash/_safeGet.js +26 -0
  193. package/dist/node_modules/lodash/_setCacheAdd.js +24 -0
  194. package/dist/node_modules/lodash/_setCacheHas.js +19 -0
  195. package/dist/node_modules/lodash/_setToArray.js +23 -0
  196. package/dist/node_modules/lodash/_setToString.js +21 -0
  197. package/dist/node_modules/lodash/_shortOut.js +42 -0
  198. package/dist/node_modules/lodash/_stackClear.js +21 -0
  199. package/dist/node_modules/lodash/_stackDelete.js +23 -0
  200. package/dist/node_modules/lodash/_stackGet.js +19 -0
  201. package/dist/node_modules/lodash/_stackHas.js +19 -0
  202. package/dist/node_modules/lodash/_stackSet.js +42 -0
  203. package/dist/node_modules/lodash/_stringToPath.js +33 -0
  204. package/dist/node_modules/lodash/_toKey.js +27 -0
  205. package/dist/node_modules/lodash/_toSource.js +31 -0
  206. package/dist/node_modules/lodash/castArray.js +55 -0
  207. package/dist/node_modules/lodash/cloneDeep.js +40 -0
  208. package/dist/node_modules/lodash/constant.js +31 -0
  209. package/dist/node_modules/lodash/defaults.js +69 -0
  210. package/dist/node_modules/lodash/defaultsDeep.js +44 -0
  211. package/dist/node_modules/lodash/eq.js +42 -0
  212. package/dist/node_modules/lodash/flatten.js +28 -0
  213. package/dist/node_modules/lodash/get.js +39 -0
  214. package/dist/node_modules/lodash/hasIn.js +41 -0
  215. package/dist/node_modules/lodash/identity.js +26 -0
  216. package/dist/node_modules/lodash/isArguments.js +43 -0
  217. package/dist/node_modules/lodash/isArray.js +31 -0
  218. package/dist/node_modules/lodash/isArrayLike.js +40 -0
  219. package/dist/node_modules/lodash/isArrayLikeObject.js +40 -0
  220. package/dist/node_modules/lodash/isBuffer.js +52 -0
  221. package/dist/node_modules/lodash/isFunction.js +44 -0
  222. package/dist/node_modules/lodash/isLength.js +40 -0
  223. package/dist/node_modules/lodash/isMap.js +35 -0
  224. package/dist/node_modules/lodash/isObject.js +36 -0
  225. package/dist/node_modules/lodash/isObjectLike.js +34 -0
  226. package/dist/node_modules/lodash/isPlainObject.js +70 -0
  227. package/dist/node_modules/lodash/isSet.js +35 -0
  228. package/dist/node_modules/lodash/isSymbol.js +36 -0
  229. package/dist/node_modules/lodash/isTypedArray.js +35 -0
  230. package/dist/node_modules/lodash/keyBy.js +48 -0
  231. package/dist/node_modules/lodash/keys.js +45 -0
  232. package/dist/node_modules/lodash/keysIn.js +40 -0
  233. package/dist/node_modules/lodash/last.js +25 -0
  234. package/dist/node_modules/lodash/map.js +67 -0
  235. package/dist/node_modules/lodash/memoize.js +79 -0
  236. package/dist/node_modules/lodash/merge.js +51 -0
  237. package/dist/node_modules/lodash/mergeWith.js +46 -0
  238. package/dist/node_modules/lodash/omit.js +75 -0
  239. package/dist/node_modules/lodash/property.js +41 -0
  240. package/dist/node_modules/lodash/stubArray.js +28 -0
  241. package/dist/node_modules/lodash/stubFalse.js +23 -0
  242. package/dist/node_modules/lodash/toPlainObject.js +39 -0
  243. package/dist/node_modules/lodash/toString.js +34 -0
  244. package/dist/node_modules/lodash/values.js +46 -0
  245. package/dist/node_modules/lodash.mapvalues/index.js +2290 -0
  246. package/dist/node_modules/optics-ts/dist/mjs/index.js +31 -0
  247. package/dist/node_modules/optics-ts/dist/mjs/internals.js +460 -0
  248. package/dist/node_modules/proxy-compare/dist/index.modern.js +7 -0
  249. package/dist/node_modules/react-hotkeys-hook/dist/react-hotkeys-hook.esm.js +395 -0
  250. package/dist/node_modules/react-tracked/dist/index.modern.js +48 -0
  251. package/dist/node_modules/use-deep-compare/dist-web/index.js +35 -0
  252. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.development.js +181 -0
  253. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim/with-selector.production.min.js +32 -0
  254. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.development.js +254 -0
  255. package/dist/node_modules/use-sync-external-store/cjs/use-sync-external-store-shim.production.min.js +30 -0
  256. package/dist/node_modules/use-sync-external-store/shim/index.js +21 -0
  257. package/dist/node_modules/use-sync-external-store/shim/with-selector.js +19 -0
  258. package/dist/node_modules/zustand/esm/middleware.js +551 -0
  259. package/dist/node_modules/zustand/esm/traditional.js +25 -0
  260. package/dist/node_modules/zustand/esm/vanilla.js +34 -0
  261. package/dist/node_modules/zustand-x/dist/index.js +217 -0
  262. package/dist/src/common/colors.js +140 -0
  263. package/dist/src/common/date.js +34 -0
  264. package/dist/src/common/styles.d.ts +24 -0
  265. package/dist/src/common/styles.js +66 -0
  266. package/dist/src/components/actions/button/button.d.ts +26 -0
  267. package/dist/src/components/actions/button/button.js +330 -0
  268. package/dist/src/components/actions/dropdown/dropdown.d.ts +50 -0
  269. package/dist/src/components/actions/dropdown/dropdown.js +237 -0
  270. package/dist/src/components/actions/rate/rate.js +56 -0
  271. package/dist/src/components/actions/switch/switch.js +81 -0
  272. package/dist/src/components/actions/toggle/toggle.js +67 -0
  273. package/dist/src/components/actions/upload/upload.d.ts +20 -0
  274. package/dist/src/components/actions/upload/upload.js +170 -0
  275. package/dist/src/components/atoms/box/box.d.ts +22 -0
  276. package/dist/src/components/atoms/box/box.js +26 -0
  277. package/dist/src/components/atoms/hide/hide.js +18 -0
  278. package/dist/src/components/atoms/seconds_to_duration/seconds_to_duration.js +36 -0
  279. package/dist/src/components/atoms/time_ago/time_ago.js +40 -0
  280. package/dist/src/components/atoms/typography/display.d.ts +11 -0
  281. package/dist/src/components/atoms/typography/display.js +19 -0
  282. package/dist/src/components/atoms/typography/heading.d.ts +46 -0
  283. package/dist/src/components/atoms/typography/heading.js +44 -0
  284. package/dist/src/components/atoms/typography/paragraph.d.ts +12 -0
  285. package/dist/src/components/atoms/typography/paragraph.js +27 -0
  286. package/dist/src/components/atoms/typography/typography.d.ts +11 -0
  287. package/dist/src/components/atoms/typography/typography.js +17 -0
  288. package/dist/src/components/card/action/action.js +84 -0
  289. package/dist/src/components/card/audio/audio.js +143 -0
  290. package/dist/src/components/card/card.d.ts +16 -0
  291. package/dist/src/components/card/card.js +34 -0
  292. package/dist/src/components/card/feature/feature.js +204 -0
  293. package/dist/src/components/card/meeting/meeting.d.ts +27 -0
  294. package/dist/src/components/card/meeting/meeting.js +152 -0
  295. package/dist/src/components/card/person/person.d.ts +12 -0
  296. package/dist/src/components/card/person/person.js +83 -0
  297. package/dist/src/components/card/price/price.d.ts +13 -0
  298. package/dist/src/components/card/price/price.js +89 -0
  299. package/dist/src/components/card/regular/regular.js +43 -0
  300. package/dist/src/components/card/styles.d.ts +2 -0
  301. package/dist/src/components/card/styles.js +16 -0
  302. package/dist/src/components/card/video/video.js +140 -0
  303. package/dist/src/components/card/written/written.js +143 -0
  304. package/dist/src/components/custom/courses_selection/courses_selection.js +143 -0
  305. package/dist/src/components/custom/users_selection/users_selection.d.ts +24 -0
  306. package/dist/src/components/custom/users_selection/users_selection.js +134 -0
  307. package/dist/src/components/editor/constants.js +195 -0
  308. package/dist/src/components/editor/context.js +17 -0
  309. package/dist/src/components/editor/editor.js +114 -0
  310. package/dist/src/components/editor/icons/border-all.js +12 -0
  311. package/dist/src/components/editor/icons/border-bottom.js +12 -0
  312. package/dist/src/components/editor/icons/border-left.js +12 -0
  313. package/dist/src/components/editor/icons/border-none.js +12 -0
  314. package/dist/src/components/editor/icons/border-right.js +12 -0
  315. package/dist/src/components/editor/icons/border-top.js +12 -0
  316. package/dist/src/components/editor/navbar/alignment_dropdown.js +106 -0
  317. package/dist/src/components/editor/navbar/button_modal.js +70 -0
  318. package/dist/src/components/editor/navbar/navbar.js +225 -0
  319. package/dist/src/components/editor/navbar/style_dropdown.js +74 -0
  320. package/dist/src/components/editor/plugins/blocks/blockquote.js +17 -0
  321. package/dist/src/components/editor/plugins/blocks/blocks.js +54 -0
  322. package/dist/src/components/editor/plugins/blocks/buttons.js +91 -0
  323. package/dist/src/components/editor/plugins/blocks/dropdown-menu.js +78 -0
  324. package/dist/src/components/editor/plugins/blocks/image.js +61 -0
  325. package/dist/src/components/editor/plugins/blocks/list.js +26 -0
  326. package/dist/src/components/editor/plugins/blocks/media-popover.js +43 -0
  327. package/dist/src/components/editor/plugins/blocks/plate-button.js +63 -0
  328. package/dist/src/components/editor/plugins/blocks/popover.js +39 -0
  329. package/dist/src/components/editor/plugins/blocks/qa.js +55 -0
  330. package/dist/src/components/editor/plugins/blocks/resizable.js +48 -0
  331. package/dist/src/components/editor/plugins/blocks/separator.js +44 -0
  332. package/dist/src/components/editor/plugins/blocks/table-cell.js +48 -0
  333. package/dist/src/components/editor/plugins/blocks/table-row.js +16 -0
  334. package/dist/src/components/editor/plugins/blocks/table.js +100 -0
  335. package/dist/src/components/editor/plugins/blocks/text.js +103 -0
  336. package/dist/src/components/editor/plugins/blocks/video.js +42 -0
  337. package/dist/src/components/editor/plugins/leafs/leafs.js +37 -0
  338. package/dist/src/components/editor/plugins/leafs/link.js +86 -0
  339. package/dist/src/components/editor/plugins/marks/marks.js +17 -0
  340. package/dist/src/components/editor/plugins/plate.js +43 -0
  341. package/dist/src/components/editor/plugins/utils/exitBreak.js +36 -0
  342. package/dist/src/components/editor/plugins/utils/resetBlockType.js +26 -0
  343. package/dist/src/components/editor/plugins/utils/selectOnBackspace.js +11 -0
  344. package/dist/src/components/editor/plugins/utils/softBreak.js +19 -0
  345. package/dist/src/components/editor/plugins/utils/utils.js +17 -0
  346. package/dist/src/components/editor/simple_editor/navbar.d.ts +5 -0
  347. package/dist/src/components/editor/simple_editor/navbar.js +128 -0
  348. package/dist/src/components/editor/simple_editor/plugins.js +93 -0
  349. package/dist/src/components/editor/simple_editor/simple_editor.js +98 -0
  350. package/dist/src/components/editor/styles/menu_button.d.ts +4 -0
  351. package/dist/src/components/editor/styles/menu_button.js +36 -0
  352. package/dist/src/components/feedback/animated_toast/animated_toast.d.ts +9 -0
  353. package/dist/src/components/feedback/animated_toast/animated_toast.js +64 -0
  354. package/dist/src/components/feedback/badge/badge.js +75 -0
  355. package/dist/src/components/feedback/banner/banner.js +95 -0
  356. package/dist/src/components/feedback/chip/chip.js +103 -0
  357. package/dist/src/components/feedback/loader/loader.d.ts +10 -0
  358. package/dist/src/components/feedback/loader/loader.js +44 -0
  359. package/dist/src/components/feedback/notification/notification.js +87 -0
  360. package/dist/src/components/feedback/progress/progress.js +101 -0
  361. package/dist/src/components/feedback/toast/toast.js +126 -0
  362. package/dist/src/components/feedback/tooltip/tooltip.js +35 -0
  363. package/dist/src/components/iconography/avatar/avatar.js +190 -0
  364. package/dist/src/components/iconography/avatar/icons/approved.js +14 -0
  365. package/dist/src/components/iconography/avatar/icons/busy.js +14 -0
  366. package/dist/src/components/iconography/avatar/icons/declined.js +14 -0
  367. package/dist/src/components/iconography/avatar/icons/default.js +13 -0
  368. package/dist/src/components/iconography/avatar/icons/focus.js +14 -0
  369. package/dist/src/components/iconography/avatar/icons/locked.js +14 -0
  370. package/dist/src/components/iconography/avatar/icons/offline.js +14 -0
  371. package/dist/src/components/iconography/avatar/icons/online.js +13 -0
  372. package/dist/src/components/iconography/avatar/icons/subscribed.js +18 -0
  373. package/dist/src/components/iconography/icon/icon.d.ts +13 -0
  374. package/dist/src/components/iconography/icon/icon.js +19 -0
  375. package/dist/src/components/input/calendar/calendar.js +267 -0
  376. package/dist/src/components/input/checkbox/checkbox.js +32 -0
  377. package/dist/src/components/input/date/date.js +529 -0
  378. package/dist/src/components/input/filter/filter.js +332 -0
  379. package/dist/src/components/input/filter/filter_option.js +82 -0
  380. package/dist/src/components/input/radio/radio.d.ts +26 -0
  381. package/dist/src/components/input/radio/radio.js +92 -0
  382. package/dist/src/components/input/search/search.js +148 -0
  383. package/dist/src/components/input/select/select.js +56 -0
  384. package/dist/src/components/input/text_area/text_area.js +120 -0
  385. package/dist/src/components/input/text_input/text_input.js +157 -0
  386. package/dist/src/components/input/time/time.js +80 -0
  387. package/dist/src/components/media/video/video.js +42 -0
  388. package/dist/src/components/media/video-player/playlist-item.js +48 -0
  389. package/dist/src/components/media/video-player/video.d.ts +73 -0
  390. package/dist/src/components/media/video-player/video.js +210 -0
  391. package/dist/src/components/navigation/breadcrumb/breadcrumb.js +119 -0
  392. package/dist/src/components/navigation/inner/inner.d.ts +92 -0
  393. package/dist/src/components/navigation/inner/inner.js +199 -0
  394. package/dist/src/components/navigation/tabs/tabs.js +159 -0
  395. package/dist/src/components/surfaces/accordion/accordion.js +56 -0
  396. package/dist/src/components/surfaces/calendar_date/calendar_date.js +55 -0
  397. package/dist/src/components/surfaces/carousel/card/card.js +106 -0
  398. package/dist/src/components/surfaces/comment/comment.js +211 -0
  399. package/dist/src/components/surfaces/comment/helpers.js +30 -0
  400. package/dist/src/components/surfaces/drawer/drawer.js +140 -0
  401. package/dist/src/components/surfaces/message/message.js +56 -0
  402. package/dist/src/components/surfaces/modal/modal.js +135 -0
  403. package/dist/src/components/surfaces/portal/portal.js +36 -0
  404. package/dist/src/components/surfaces/post/post.js +246 -0
  405. package/dist/src/components/table/table/table.js +192 -0
  406. package/dist/src/emoji/emojis.json.js +36331 -0
  407. package/dist/src/icons/arrow/arrow_all.d.ts +3 -0
  408. package/dist/src/icons/arrow/arrow_all.js +15 -0
  409. package/dist/src/icons/arrow/arrow_all_diagonal.d.ts +3 -0
  410. package/dist/src/icons/arrow/arrow_all_diagonal.js +15 -0
  411. package/dist/src/icons/arrow/arrow_both_downwards.d.ts +3 -0
  412. package/dist/src/icons/arrow/arrow_both_downwards.js +15 -0
  413. package/dist/src/icons/arrow/arrow_both_upwards.d.ts +3 -0
  414. package/dist/src/icons/arrow/arrow_both_upwards.js +15 -0
  415. package/dist/src/icons/arrow/arrow_circle_left.d.ts +3 -0
  416. package/dist/src/icons/arrow/arrow_circle_left.js +15 -0
  417. package/dist/src/icons/arrow/arrow_circle_left_double.d.ts +3 -0
  418. package/dist/src/icons/arrow/arrow_circle_left_double.js +15 -0
  419. package/dist/src/icons/arrow/arrow_circle_left_double_alert.d.ts +3 -0
  420. package/dist/src/icons/arrow/arrow_circle_left_double_alert.js +17 -0
  421. package/dist/src/icons/arrow/arrow_circle_right.d.ts +3 -0
  422. package/dist/src/icons/arrow/arrow_circle_right.js +15 -0
  423. package/dist/src/icons/arrow/arrow_circle_right_double.d.ts +3 -0
  424. package/dist/src/icons/arrow/arrow_circle_right_double.js +15 -0
  425. package/dist/src/icons/arrow/arrow_circle_right_double_alert.d.ts +3 -0
  426. package/dist/src/icons/arrow/arrow_circle_right_double_alert.js +15 -0
  427. package/dist/src/icons/arrow/arrow_diagonal_down_left.d.ts +3 -0
  428. package/dist/src/icons/arrow/arrow_diagonal_down_left.js +15 -0
  429. package/dist/src/icons/arrow/arrow_diagonal_down_left_circle.d.ts +3 -0
  430. package/dist/src/icons/arrow/arrow_diagonal_down_left_circle.js +15 -0
  431. package/dist/src/icons/arrow/arrow_diagonal_down_right.d.ts +3 -0
  432. package/dist/src/icons/arrow/arrow_diagonal_down_right.js +15 -0
  433. package/dist/src/icons/arrow/arrow_diagonal_down_right_circle.d.ts +3 -0
  434. package/dist/src/icons/arrow/arrow_diagonal_down_right_circle.js +15 -0
  435. package/dist/src/icons/arrow/arrow_diagonal_up_left.d.ts +3 -0
  436. package/dist/src/icons/arrow/arrow_diagonal_up_left.js +15 -0
  437. package/dist/src/icons/arrow/arrow_diagonal_up_left_circle.d.ts +3 -0
  438. package/dist/src/icons/arrow/arrow_diagonal_up_left_circle.js +15 -0
  439. package/dist/src/icons/arrow/arrow_diagonal_up_right.d.ts +3 -0
  440. package/dist/src/icons/arrow/arrow_diagonal_up_right.js +15 -0
  441. package/dist/src/icons/arrow/arrow_diagonal_up_right_circle.d.ts +3 -0
  442. package/dist/src/icons/arrow/arrow_diagonal_up_right_circle.js +15 -0
  443. package/dist/src/icons/arrow/arrow_down.d.ts +3 -0
  444. package/dist/src/icons/arrow/arrow_down.js +15 -0
  445. package/dist/src/icons/arrow/arrow_down_bold.d.ts +3 -0
  446. package/dist/src/icons/arrow/arrow_down_bold.js +15 -0
  447. package/dist/src/icons/arrow/arrow_down_circle.d.ts +3 -0
  448. package/dist/src/icons/arrow/arrow_down_circle.js +15 -0
  449. package/dist/src/icons/arrow/arrow_left.d.ts +3 -0
  450. package/dist/src/icons/arrow/arrow_left.js +15 -0
  451. package/dist/src/icons/arrow/arrow_left_bold.d.ts +3 -0
  452. package/dist/src/icons/arrow/arrow_left_bold.js +15 -0
  453. package/dist/src/icons/arrow/arrow_left_circle.d.ts +3 -0
  454. package/dist/src/icons/arrow/arrow_left_circle.js +15 -0
  455. package/dist/src/icons/arrow/arrow_left_curved.d.ts +3 -0
  456. package/dist/src/icons/arrow/arrow_left_curved.js +15 -0
  457. package/dist/src/icons/arrow/arrow_left_curved_circle.d.ts +3 -0
  458. package/dist/src/icons/arrow/arrow_left_curved_circle.js +15 -0
  459. package/dist/src/icons/arrow/arrow_right.d.ts +3 -0
  460. package/dist/src/icons/arrow/arrow_right.js +15 -0
  461. package/dist/src/icons/arrow/arrow_right_bold.d.ts +3 -0
  462. package/dist/src/icons/arrow/arrow_right_bold.js +15 -0
  463. package/dist/src/icons/arrow/arrow_right_circle.d.ts +3 -0
  464. package/dist/src/icons/arrow/arrow_right_circle.js +15 -0
  465. package/dist/src/icons/arrow/arrow_right_curved.d.ts +3 -0
  466. package/dist/src/icons/arrow/arrow_right_curved.js +15 -0
  467. package/dist/src/icons/arrow/arrow_right_curved_circle.d.ts +3 -0
  468. package/dist/src/icons/arrow/arrow_right_curved_circle.js +15 -0
  469. package/dist/src/icons/arrow/arrow_up.d.ts +3 -0
  470. package/dist/src/icons/arrow/arrow_up.js +15 -0
  471. package/dist/src/icons/arrow/arrow_up_bold.d.ts +3 -0
  472. package/dist/src/icons/arrow/arrow_up_bold.js +15 -0
  473. package/dist/src/icons/arrow/arrow_up_circle.d.ts +3 -0
  474. package/dist/src/icons/arrow/arrow_up_circle.js +15 -0
  475. package/dist/src/icons/arrow/chevron_down.d.ts +3 -0
  476. package/dist/src/icons/arrow/chevron_down.js +15 -0
  477. package/dist/src/icons/arrow/chevron_down_circle.d.ts +3 -0
  478. package/dist/src/icons/arrow/chevron_down_circle.js +15 -0
  479. package/dist/src/icons/arrow/chevron_down_double.d.ts +3 -0
  480. package/dist/src/icons/arrow/chevron_down_double.js +15 -0
  481. package/dist/src/icons/arrow/chevron_down_double_circle.d.ts +3 -0
  482. package/dist/src/icons/arrow/chevron_down_double_circle.js +15 -0
  483. package/dist/src/icons/arrow/chevron_left.d.ts +3 -0
  484. package/dist/src/icons/arrow/chevron_left.js +15 -0
  485. package/dist/src/icons/arrow/chevron_left_circle.d.ts +3 -0
  486. package/dist/src/icons/arrow/chevron_left_circle.js +15 -0
  487. package/dist/src/icons/arrow/chevron_left_double.d.ts +3 -0
  488. package/dist/src/icons/arrow/chevron_left_double.js +15 -0
  489. package/dist/src/icons/arrow/chevron_left_double_circle.d.ts +3 -0
  490. package/dist/src/icons/arrow/chevron_left_double_circle.js +15 -0
  491. package/dist/src/icons/arrow/chevron_right.d.ts +3 -0
  492. package/dist/src/icons/arrow/chevron_right.js +15 -0
  493. package/dist/src/icons/arrow/chevron_right_circle.d.ts +3 -0
  494. package/dist/src/icons/arrow/chevron_right_circle.js +15 -0
  495. package/dist/src/icons/arrow/chevron_right_double.d.ts +3 -0
  496. package/dist/src/icons/arrow/chevron_right_double.js +15 -0
  497. package/dist/src/icons/arrow/chevron_right_double_circle.d.ts +3 -0
  498. package/dist/src/icons/arrow/chevron_right_double_circle.js +15 -0
  499. package/dist/src/icons/arrow/chevron_scroll.d.ts +3 -0
  500. package/dist/src/icons/arrow/chevron_scroll.js +15 -0
  501. package/dist/src/icons/arrow/chevron_up.d.ts +3 -0
  502. package/dist/src/icons/arrow/chevron_up.js +15 -0
  503. package/dist/src/icons/arrow/chevron_up_circle.d.ts +3 -0
  504. package/dist/src/icons/arrow/chevron_up_circle.js +15 -0
  505. package/dist/src/icons/arrow/chevron_up_double.d.ts +3 -0
  506. package/dist/src/icons/arrow/chevron_up_double.js +15 -0
  507. package/dist/src/icons/arrow/chevron_up_double_circle.d.ts +3 -0
  508. package/dist/src/icons/arrow/chevron_up_double_circle.js +15 -0
  509. package/dist/src/icons/arrow/forward_all.d.ts +3 -0
  510. package/dist/src/icons/arrow/forward_all.js +15 -0
  511. package/dist/src/icons/arrow/forward_all_bold.d.ts +3 -0
  512. package/dist/src/icons/arrow/forward_all_bold.js +15 -0
  513. package/dist/src/icons/arrow/forward_bold.d.ts +3 -0
  514. package/dist/src/icons/arrow/forward_bold.js +15 -0
  515. package/dist/src/icons/arrow/redo.d.ts +3 -0
  516. package/dist/src/icons/arrow/redo.js +15 -0
  517. package/dist/src/icons/arrow/redo_bold.d.ts +3 -0
  518. package/dist/src/icons/arrow/redo_bold.js +15 -0
  519. package/dist/src/icons/arrow/reply.d.ts +3 -0
  520. package/dist/src/icons/arrow/reply.js +15 -0
  521. package/dist/src/icons/arrow/reply_all.d.ts +3 -0
  522. package/dist/src/icons/arrow/reply_all.js +15 -0
  523. package/dist/src/icons/arrow/reply_all_bold.d.ts +3 -0
  524. package/dist/src/icons/arrow/reply_all_bold.js +15 -0
  525. package/dist/src/icons/arrow/reply_bold.d.ts +3 -0
  526. package/dist/src/icons/arrow/reply_bold.js +15 -0
  527. package/dist/src/icons/arrow/undo.d.ts +3 -0
  528. package/dist/src/icons/arrow/undo.js +15 -0
  529. package/dist/src/icons/arrow/undo_bold.d.ts +3 -0
  530. package/dist/src/icons/arrow/undo_bold.js +15 -0
  531. package/dist/src/icons/audio_video/drag_indicator.d.ts +3 -0
  532. package/dist/src/icons/audio_video/drag_indicator.js +15 -0
  533. package/dist/src/icons/audio_video/eject.d.ts +3 -0
  534. package/dist/src/icons/audio_video/eject.js +15 -0
  535. package/dist/src/icons/audio_video/equalizer.d.ts +3 -0
  536. package/dist/src/icons/audio_video/equalizer.js +15 -0
  537. package/dist/src/icons/audio_video/fast_forward.d.ts +3 -0
  538. package/dist/src/icons/audio_video/fast_forward.js +15 -0
  539. package/dist/src/icons/audio_video/fast_forward_30.d.ts +3 -0
  540. package/dist/src/icons/audio_video/fast_forward_30.js +15 -0
  541. package/dist/src/icons/audio_video/fullscreen.d.ts +3 -0
  542. package/dist/src/icons/audio_video/fullscreen.js +15 -0
  543. package/dist/src/icons/audio_video/headphones.d.ts +3 -0
  544. package/dist/src/icons/audio_video/headphones.js +15 -0
  545. package/dist/src/icons/audio_video/library_add.d.ts +3 -0
  546. package/dist/src/icons/audio_video/library_add.js +15 -0
  547. package/dist/src/icons/audio_video/library_delay.d.ts +3 -0
  548. package/dist/src/icons/audio_video/library_music.d.ts +3 -0
  549. package/dist/src/icons/audio_video/library_music.js +15 -0
  550. package/dist/src/icons/audio_video/library_queue.d.ts +3 -0
  551. package/dist/src/icons/audio_video/microphone.d.ts +3 -0
  552. package/dist/src/icons/audio_video/microphone.js +15 -0
  553. package/dist/src/icons/audio_video/musical_note.d.ts +3 -0
  554. package/dist/src/icons/audio_video/musical_note.js +15 -0
  555. package/dist/src/icons/audio_video/next.d.ts +3 -0
  556. package/dist/src/icons/audio_video/next.js +15 -0
  557. package/dist/src/icons/audio_video/pause.d.ts +3 -0
  558. package/dist/src/icons/audio_video/pause.js +15 -0
  559. package/dist/src/icons/audio_video/pause_circle.d.ts +3 -0
  560. package/dist/src/icons/audio_video/pause_circle.js +15 -0
  561. package/dist/src/icons/audio_video/play.d.ts +3 -0
  562. package/dist/src/icons/audio_video/play.js +15 -0
  563. package/dist/src/icons/audio_video/play_circle.d.ts +3 -0
  564. package/dist/src/icons/audio_video/play_circle.js +15 -0
  565. package/dist/src/icons/audio_video/play_display.d.ts +3 -0
  566. package/dist/src/icons/audio_video/play_display.js +15 -0
  567. package/dist/src/icons/audio_video/play_pause.d.ts +3 -0
  568. package/dist/src/icons/audio_video/play_pause.js +15 -0
  569. package/dist/src/icons/audio_video/play_solid.d.ts +3 -0
  570. package/dist/src/icons/audio_video/play_solid.js +15 -0
  571. package/dist/src/icons/audio_video/player_list.d.ts +3 -0
  572. package/dist/src/icons/audio_video/player_list.js +15 -0
  573. package/dist/src/icons/audio_video/player_list_add.d.ts +3 -0
  574. package/dist/src/icons/audio_video/player_list_add.js +15 -0
  575. package/dist/src/icons/audio_video/player_list_play.d.ts +3 -0
  576. package/dist/src/icons/audio_video/player_list_play.js +15 -0
  577. package/dist/src/icons/audio_video/previous.d.ts +3 -0
  578. package/dist/src/icons/audio_video/previous.js +15 -0
  579. package/dist/src/icons/audio_video/radio.d.ts +3 -0
  580. package/dist/src/icons/audio_video/radio.js +15 -0
  581. package/dist/src/icons/audio_video/record.d.ts +3 -0
  582. package/dist/src/icons/audio_video/record.js +15 -0
  583. package/dist/src/icons/audio_video/repeat.d.ts +3 -0
  584. package/dist/src/icons/audio_video/repeat.js +15 -0
  585. package/dist/src/icons/audio_video/rewind.d.ts +3 -0
  586. package/dist/src/icons/audio_video/rewind.js +15 -0
  587. package/dist/src/icons/audio_video/rewind_30.d.ts +3 -0
  588. package/dist/src/icons/audio_video/rewind_30.js +15 -0
  589. package/dist/src/icons/audio_video/shuffle.d.ts +3 -0
  590. package/dist/src/icons/audio_video/shuffle.js +15 -0
  591. package/dist/src/icons/audio_video/sound_wave.d.ts +3 -0
  592. package/dist/src/icons/audio_video/sound_wave.js +15 -0
  593. package/dist/src/icons/audio_video/stop.d.ts +3 -0
  594. package/dist/src/icons/audio_video/stop.js +15 -0
  595. package/dist/src/icons/audio_video/stop_circle.d.ts +3 -0
  596. package/dist/src/icons/audio_video/stop_circle.js +15 -0
  597. package/dist/src/icons/audio_video/subscriptions.d.ts +3 -0
  598. package/dist/src/icons/audio_video/subscriptions.js +15 -0
  599. package/dist/src/icons/audio_video/tuner.d.ts +3 -0
  600. package/dist/src/icons/audio_video/tuner.js +15 -0
  601. package/dist/src/icons/audio_video/volume.d.ts +3 -0
  602. package/dist/src/icons/audio_video/volume.js +15 -0
  603. package/dist/src/icons/audio_video/volume_high.d.ts +3 -0
  604. package/dist/src/icons/audio_video/volume_high.js +15 -0
  605. package/dist/src/icons/audio_video/volume_low.d.ts +3 -0
  606. package/dist/src/icons/audio_video/volume_low.js +15 -0
  607. package/dist/src/icons/audio_video/volume_slash.d.ts +3 -0
  608. package/dist/src/icons/audio_video/volume_slash.js +15 -0
  609. package/dist/src/icons/basic/aa_sansserif.d.ts +3 -0
  610. package/dist/src/icons/basic/aa_sansserif.js +16 -0
  611. package/dist/src/icons/basic/aa_serif.d.ts +3 -0
  612. package/dist/src/icons/basic/aa_serif.js +16 -0
  613. package/dist/src/icons/basic/anchor.d.ts +3 -0
  614. package/dist/src/icons/basic/anchor.js +17 -0
  615. package/dist/src/icons/basic/bible.d.ts +3 -0
  616. package/dist/src/icons/basic/bible.js +15 -0
  617. package/dist/src/icons/basic/bold.d.ts +3 -0
  618. package/dist/src/icons/basic/bold.js +15 -0
  619. package/dist/src/icons/basic/book.d.ts +3 -0
  620. package/dist/src/icons/basic/book.js +15 -0
  621. package/dist/src/icons/basic/book_open.d.ts +3 -0
  622. package/dist/src/icons/basic/book_open.js +15 -0
  623. package/dist/src/icons/basic/bookmark.d.ts +3 -0
  624. package/dist/src/icons/basic/bookmark.js +15 -0
  625. package/dist/src/icons/basic/bookmark_add.d.ts +3 -0
  626. package/dist/src/icons/basic/bookmark_add.js +15 -0
  627. package/dist/src/icons/basic/bookmark_slash.d.ts +3 -0
  628. package/dist/src/icons/basic/bookmark_slash.js +15 -0
  629. package/dist/src/icons/basic/bookmarks.d.ts +3 -0
  630. package/dist/src/icons/basic/bookmarks.js +15 -0
  631. package/dist/src/icons/basic/books.d.ts +3 -0
  632. package/dist/src/icons/basic/books.js +18 -0
  633. package/dist/src/icons/basic/box.d.ts +3 -0
  634. package/dist/src/icons/basic/box.js +15 -0
  635. package/dist/src/icons/basic/briefcase.d.ts +3 -0
  636. package/dist/src/icons/basic/briefcase.js +15 -0
  637. package/dist/src/icons/basic/browse_activity.d.ts +3 -0
  638. package/dist/src/icons/basic/browse_activity.js +15 -0
  639. package/dist/src/icons/basic/browser.d.ts +3 -0
  640. package/dist/src/icons/basic/browser.js +15 -0
  641. package/dist/src/icons/basic/browser_slash.d.ts +3 -0
  642. package/dist/src/icons/basic/browser_slash.js +15 -0
  643. package/dist/src/icons/basic/calculator.d.ts +3 -0
  644. package/dist/src/icons/basic/calculator.js +15 -0
  645. package/dist/src/icons/basic/camera.d.ts +3 -0
  646. package/dist/src/icons/basic/camera.js +15 -0
  647. package/dist/src/icons/basic/camera_add.d.ts +3 -0
  648. package/dist/src/icons/basic/camera_add.js +15 -0
  649. package/dist/src/icons/basic/camera_slash.d.ts +3 -0
  650. package/dist/src/icons/basic/camera_slash.js +15 -0
  651. package/dist/src/icons/basic/checkmark.d.ts +3 -0
  652. package/dist/src/icons/basic/checkmark.js +15 -0
  653. package/dist/src/icons/basic/checkmark_circle.d.ts +3 -0
  654. package/dist/src/icons/basic/checkmark_circle.js +17 -0
  655. package/dist/src/icons/basic/checkmark_filled.d.ts +3 -0
  656. package/dist/src/icons/basic/checkmark_filled.js +15 -0
  657. package/dist/src/icons/basic/checkmarks.d.ts +3 -0
  658. package/dist/src/icons/basic/checkmarks.js +15 -0
  659. package/dist/src/icons/basic/circle.d.ts +3 -0
  660. package/dist/src/icons/basic/circle.js +15 -0
  661. package/dist/src/icons/basic/circle_slash.d.ts +3 -0
  662. package/dist/src/icons/basic/circle_slash.js +17 -0
  663. package/dist/src/icons/basic/clear_text_style.d.ts +3 -0
  664. package/dist/src/icons/basic/clear_text_style.js +15 -0
  665. package/dist/src/icons/basic/close.d.ts +3 -0
  666. package/dist/src/icons/basic/close.js +15 -0
  667. package/dist/src/icons/basic/close_circle.d.ts +3 -0
  668. package/dist/src/icons/basic/close_circle.js +15 -0
  669. package/dist/src/icons/basic/close_filled.d.ts +3 -0
  670. package/dist/src/icons/basic/close_filled.js +15 -0
  671. package/dist/src/icons/basic/copy.d.ts +3 -0
  672. package/dist/src/icons/basic/copy.js +15 -0
  673. package/dist/src/icons/basic/delete.d.ts +3 -0
  674. package/dist/src/icons/basic/delete.js +15 -0
  675. package/dist/src/icons/basic/detail.d.ts +3 -0
  676. package/dist/src/icons/basic/detail.js +15 -0
  677. package/dist/src/icons/basic/dot.d.ts +3 -0
  678. package/dist/src/icons/basic/dot.js +15 -0
  679. package/dist/src/icons/basic/download.d.ts +3 -0
  680. package/dist/src/icons/basic/download.js +15 -0
  681. package/dist/src/icons/basic/download_arrow.d.ts +3 -0
  682. package/dist/src/icons/basic/download_arrow.js +15 -0
  683. package/dist/src/icons/basic/droplet.d.ts +3 -0
  684. package/dist/src/icons/basic/droplet.js +17 -0
  685. package/dist/src/icons/basic/ellipsis_horizontal.d.ts +3 -0
  686. package/dist/src/icons/basic/ellipsis_horizontal.js +15 -0
  687. package/dist/src/icons/basic/ellipsis_horizontal_circle.d.ts +3 -0
  688. package/dist/src/icons/basic/ellipsis_horizontal_circle.js +15 -0
  689. package/dist/src/icons/basic/ellipsis_vertical.d.ts +3 -0
  690. package/dist/src/icons/basic/ellipsis_vertical.js +15 -0
  691. package/dist/src/icons/basic/ellipsis_vertical_circle.d.ts +3 -0
  692. package/dist/src/icons/basic/ellipsis_vertical_circle.js +15 -0
  693. package/dist/src/icons/basic/eye.d.ts +3 -0
  694. package/dist/src/icons/basic/eye.js +15 -0
  695. package/dist/src/icons/basic/eye_slash.d.ts +3 -0
  696. package/dist/src/icons/basic/eye_slash.js +15 -0
  697. package/dist/src/icons/basic/fingerprint.d.ts +3 -0
  698. package/dist/src/icons/basic/fingerprint.js +15 -0
  699. package/dist/src/icons/basic/flag.d.ts +3 -0
  700. package/dist/src/icons/basic/flag.js +15 -0
  701. package/dist/src/icons/basic/flag_wave.d.ts +3 -0
  702. package/dist/src/icons/basic/flag_wave.js +15 -0
  703. package/dist/src/icons/basic/flag_wave_filled.d.ts +3 -0
  704. package/dist/src/icons/basic/flag_wave_filled.js +15 -0
  705. package/dist/src/icons/basic/flame.d.ts +3 -0
  706. package/dist/src/icons/basic/flame.js +15 -0
  707. package/dist/src/icons/basic/gauge.d.ts +3 -0
  708. package/dist/src/icons/basic/gauge.js +15 -0
  709. package/dist/src/icons/basic/glasses.d.ts +3 -0
  710. package/dist/src/icons/basic/glasses.js +15 -0
  711. package/dist/src/icons/basic/graduation_cap.d.ts +3 -0
  712. package/dist/src/icons/basic/graduation_cap.js +15 -0
  713. package/dist/src/icons/basic/hashmark.d.ts +3 -0
  714. package/dist/src/icons/basic/hashmark.js +15 -0
  715. package/dist/src/icons/basic/heart.d.ts +3 -0
  716. package/dist/src/icons/basic/heart.js +15 -0
  717. package/dist/src/icons/basic/heart_slash.d.ts +3 -0
  718. package/dist/src/icons/basic/heart_slash.js +15 -0
  719. package/dist/src/icons/basic/highlighter.d.ts +3 -0
  720. package/dist/src/icons/basic/highlighter.js +15 -0
  721. package/dist/src/icons/basic/home.d.ts +3 -0
  722. package/dist/src/icons/basic/home.js +15 -0
  723. package/dist/src/icons/basic/image.d.ts +3 -0
  724. package/dist/src/icons/basic/image.js +15 -0
  725. package/dist/src/icons/basic/inbox.d.ts +3 -0
  726. package/dist/src/icons/basic/inbox.js +15 -0
  727. package/dist/src/icons/basic/italic.d.ts +3 -0
  728. package/dist/src/icons/basic/italic.js +15 -0
  729. package/dist/src/icons/basic/layers.d.ts +3 -0
  730. package/dist/src/icons/basic/layers.js +15 -0
  731. package/dist/src/icons/basic/lightening.d.ts +3 -0
  732. package/dist/src/icons/basic/lightening.js +15 -0
  733. package/dist/src/icons/basic/lightening_slash.d.ts +3 -0
  734. package/dist/src/icons/basic/lightening_slash.js +15 -0
  735. package/dist/src/icons/basic/link.d.ts +3 -0
  736. package/dist/src/icons/basic/link.js +15 -0
  737. package/dist/src/icons/basic/link_slash.d.ts +3 -0
  738. package/dist/src/icons/basic/link_slash.js +15 -0
  739. package/dist/src/icons/basic/loudspeaker.d.ts +3 -0
  740. package/dist/src/icons/basic/loudspeaker.js +15 -0
  741. package/dist/src/icons/basic/maximize.d.ts +3 -0
  742. package/dist/src/icons/basic/maximize.js +15 -0
  743. package/dist/src/icons/basic/menu.d.ts +3 -0
  744. package/dist/src/icons/basic/menu.js +15 -0
  745. package/dist/src/icons/basic/menu_circle.d.ts +3 -0
  746. package/dist/src/icons/basic/menu_circle.js +15 -0
  747. package/dist/src/icons/basic/menu_dots.d.ts +3 -0
  748. package/dist/src/icons/basic/menu_dots.js +15 -0
  749. package/dist/src/icons/basic/microphone_slash.d.ts +3 -0
  750. package/dist/src/icons/basic/microphone_slash.js +15 -0
  751. package/dist/src/icons/basic/minimize.d.ts +3 -0
  752. package/dist/src/icons/basic/minimize.js +15 -0
  753. package/dist/src/icons/basic/minus.d.ts +3 -0
  754. package/dist/src/icons/basic/minus.js +15 -0
  755. package/dist/src/icons/basic/minus_circle.d.ts +3 -0
  756. package/dist/src/icons/basic/minus_circle.js +15 -0
  757. package/dist/src/icons/basic/move_item.d.ts +3 -0
  758. package/dist/src/icons/basic/move_item.js +15 -0
  759. package/dist/src/icons/basic/new.d.ts +3 -0
  760. package/dist/src/icons/basic/new.js +15 -0
  761. package/dist/src/icons/basic/newspaper.d.ts +3 -0
  762. package/dist/src/icons/basic/newspaper.js +15 -0
  763. package/dist/src/icons/basic/node.d.ts +3 -0
  764. package/dist/src/icons/basic/node.js +15 -0
  765. package/dist/src/icons/basic/note_pad.d.ts +3 -0
  766. package/dist/src/icons/basic/note_pad.js +16 -0
  767. package/dist/src/icons/basic/options.d.ts +3 -0
  768. package/dist/src/icons/basic/options.js +15 -0
  769. package/dist/src/icons/basic/paint_brush.d.ts +3 -0
  770. package/dist/src/icons/basic/paint_brush.js +15 -0
  771. package/dist/src/icons/basic/paperclip.d.ts +3 -0
  772. package/dist/src/icons/basic/paperclip.js +15 -0
  773. package/dist/src/icons/basic/paperclip_slash.d.ts +3 -0
  774. package/dist/src/icons/basic/paperclip_slash.js +15 -0
  775. package/dist/src/icons/basic/pencil.d.ts +3 -0
  776. package/dist/src/icons/basic/pencil.js +15 -0
  777. package/dist/src/icons/basic/pencil_pad.d.ts +3 -0
  778. package/dist/src/icons/basic/pencil_pad.js +15 -0
  779. package/dist/src/icons/basic/plus.d.ts +3 -0
  780. package/dist/src/icons/basic/plus.js +15 -0
  781. package/dist/src/icons/basic/plus_circle.d.ts +3 -0
  782. package/dist/src/icons/basic/plus_circle.js +15 -0
  783. package/dist/src/icons/basic/presentation.d.ts +3 -0
  784. package/dist/src/icons/basic/presentation.js +15 -0
  785. package/dist/src/icons/basic/printer.d.ts +3 -0
  786. package/dist/src/icons/basic/printer.js +15 -0
  787. package/dist/src/icons/basic/profile.d.ts +3 -0
  788. package/dist/src/icons/basic/profile.js +15 -0
  789. package/dist/src/icons/basic/profile_check.d.ts +3 -0
  790. package/dist/src/icons/basic/profile_check.js +15 -0
  791. package/dist/src/icons/basic/pulse.d.ts +3 -0
  792. package/dist/src/icons/basic/pulse.js +15 -0
  793. package/dist/src/icons/basic/qr_code.d.ts +3 -0
  794. package/dist/src/icons/basic/qr_code.js +15 -0
  795. package/dist/src/icons/basic/resize.d.ts +3 -0
  796. package/dist/src/icons/basic/resize.js +17 -0
  797. package/dist/src/icons/basic/scan.d.ts +3 -0
  798. package/dist/src/icons/basic/scan.js +15 -0
  799. package/dist/src/icons/basic/scissors.d.ts +3 -0
  800. package/dist/src/icons/basic/scissors.js +15 -0
  801. package/dist/src/icons/basic/screenshot.d.ts +3 -0
  802. package/dist/src/icons/basic/screenshot.js +15 -0
  803. package/dist/src/icons/basic/search.d.ts +3 -0
  804. package/dist/src/icons/basic/search.js +15 -0
  805. package/dist/src/icons/basic/select_item.d.ts +3 -0
  806. package/dist/src/icons/basic/select_item.js +16 -0
  807. package/dist/src/icons/basic/settings.d.ts +3 -0
  808. package/dist/src/icons/basic/settings.js +15 -0
  809. package/dist/src/icons/basic/share.d.ts +3 -0
  810. package/dist/src/icons/basic/share.js +15 -0
  811. package/dist/src/icons/basic/share_external.d.ts +3 -0
  812. package/dist/src/icons/basic/share_external.js +15 -0
  813. package/dist/src/icons/basic/square.d.ts +3 -0
  814. package/dist/src/icons/basic/square.js +15 -0
  815. package/dist/src/icons/basic/star.d.ts +3 -0
  816. package/dist/src/icons/basic/star.js +15 -0
  817. package/dist/src/icons/basic/star_circle.d.ts +3 -0
  818. package/dist/src/icons/basic/star_circle.js +15 -0
  819. package/dist/src/icons/basic/star_filled.d.ts +3 -0
  820. package/dist/src/icons/basic/star_filled.js +15 -0
  821. package/dist/src/icons/basic/star_filled_half.d.ts +3 -0
  822. package/dist/src/icons/basic/star_filled_half.js +15 -0
  823. package/dist/src/icons/basic/star_slash.d.ts +3 -0
  824. package/dist/src/icons/basic/star_slash.js +15 -0
  825. package/dist/src/icons/basic/sticker.d.ts +3 -0
  826. package/dist/src/icons/basic/sticker.js +15 -0
  827. package/dist/src/icons/basic/strikethrough.d.ts +3 -0
  828. package/dist/src/icons/basic/strikethrough.js +15 -0
  829. package/dist/src/icons/basic/subtask.d.ts +3 -0
  830. package/dist/src/icons/basic/subtask.js +16 -0
  831. package/dist/src/icons/basic/tax.d.ts +3 -0
  832. package/dist/src/icons/basic/tax.js +18 -0
  833. package/dist/src/icons/basic/text_bg_color.d.ts +3 -0
  834. package/dist/src/icons/basic/text_bg_color.js +15 -0
  835. package/dist/src/icons/basic/text_color.d.ts +3 -0
  836. package/dist/src/icons/basic/text_color.js +15 -0
  837. package/dist/src/icons/basic/textbox.d.ts +3 -0
  838. package/dist/src/icons/basic/textbox.js +15 -0
  839. package/dist/src/icons/basic/thumbs_down.d.ts +3 -0
  840. package/dist/src/icons/basic/thumbs_down.js +15 -0
  841. package/dist/src/icons/basic/thumbs_up.d.ts +3 -0
  842. package/dist/src/icons/basic/thumbs_up.js +15 -0
  843. package/dist/src/icons/basic/thumbs_up_filled.d.ts +3 -0
  844. package/dist/src/icons/basic/thumbs_up_filled.js +15 -0
  845. package/dist/src/icons/basic/toggle_left.d.ts +3 -0
  846. package/dist/src/icons/basic/toggle_left.js +15 -0
  847. package/dist/src/icons/basic/toggle_right.d.ts +3 -0
  848. package/dist/src/icons/basic/toggle_right.js +15 -0
  849. package/dist/src/icons/basic/translate.d.ts +3 -0
  850. package/dist/src/icons/basic/translate.js +15 -0
  851. package/dist/src/icons/basic/trash.d.ts +3 -0
  852. package/dist/src/icons/basic/trash.js +15 -0
  853. package/dist/src/icons/basic/trash_slash.d.ts +3 -0
  854. package/dist/src/icons/basic/trash_slash.js +15 -0
  855. package/dist/src/icons/basic/underline.d.ts +3 -0
  856. package/dist/src/icons/basic/underline.js +15 -0
  857. package/dist/src/icons/basic/upload.d.ts +3 -0
  858. package/dist/src/icons/basic/upload.js +15 -0
  859. package/dist/src/icons/basic/video.d.ts +3 -0
  860. package/dist/src/icons/basic/video.js +15 -0
  861. package/dist/src/icons/basic/video_add.d.ts +3 -0
  862. package/dist/src/icons/basic/video_add.js +16 -0
  863. package/dist/src/icons/basic/video_slash.d.ts +3 -0
  864. package/dist/src/icons/basic/video_slash.js +15 -0
  865. package/dist/src/icons/basic/wrench.d.ts +3 -0
  866. package/dist/src/icons/basic/wrench.js +15 -0
  867. package/dist/src/icons/basic/zoom_in.d.ts +3 -0
  868. package/dist/src/icons/basic/zoom_in.js +15 -0
  869. package/dist/src/icons/basic/zoom_out.d.ts +3 -0
  870. package/dist/src/icons/basic/zoom_out.js +15 -0
  871. package/dist/src/icons/data/bar_chart.d.ts +3 -0
  872. package/dist/src/icons/data/bar_chart.js +15 -0
  873. package/dist/src/icons/data/bar_chart_downward.d.ts +3 -0
  874. package/dist/src/icons/data/bar_chart_downward.js +15 -0
  875. package/dist/src/icons/data/bar_chart_downward_outline.d.ts +3 -0
  876. package/dist/src/icons/data/bar_chart_downward_outline.js +15 -0
  877. package/dist/src/icons/data/bar_chart_upward.d.ts +3 -0
  878. package/dist/src/icons/data/bar_chart_upward.js +15 -0
  879. package/dist/src/icons/data/bar_chart_upward_outline.d.ts +3 -0
  880. package/dist/src/icons/data/bar_chart_upward_outline.js +15 -0
  881. package/dist/src/icons/data/candlestick_chart.d.ts +3 -0
  882. package/dist/src/icons/data/candlestick_chart.js +15 -0
  883. package/dist/src/icons/data/four_circles.d.ts +3 -0
  884. package/dist/src/icons/data/four_circles.js +15 -0
  885. package/dist/src/icons/data/legend_toggle.d.ts +3 -0
  886. package/dist/src/icons/data/legend_toggle.js +15 -0
  887. package/dist/src/icons/data/line_chart.d.ts +3 -0
  888. package/dist/src/icons/data/line_chart.js +15 -0
  889. package/dist/src/icons/data/line_chart_area.d.ts +3 -0
  890. package/dist/src/icons/data/line_chart_area.js +15 -0
  891. package/dist/src/icons/data/line_chart_area_shaded.d.ts +3 -0
  892. package/dist/src/icons/data/line_chart_area_shaded.js +15 -0
  893. package/dist/src/icons/data/line_chart_double.d.ts +3 -0
  894. package/dist/src/icons/data/line_chart_double.js +15 -0
  895. package/dist/src/icons/data/line_chart_downward.d.ts +3 -0
  896. package/dist/src/icons/data/line_chart_downward.js +15 -0
  897. package/dist/src/icons/data/line_chart_node.d.ts +3 -0
  898. package/dist/src/icons/data/line_chart_node.js +15 -0
  899. package/dist/src/icons/data/line_chart_outline.d.ts +3 -0
  900. package/dist/src/icons/data/line_chart_outline.js +15 -0
  901. package/dist/src/icons/data/line_chart_search.d.ts +3 -0
  902. package/dist/src/icons/data/line_chart_search.js +15 -0
  903. package/dist/src/icons/data/line_chart_stars.d.ts +3 -0
  904. package/dist/src/icons/data/line_chart_stars.js +15 -0
  905. package/dist/src/icons/data/line_chart_upward.d.ts +3 -0
  906. package/dist/src/icons/data/line_chart_upward.js +15 -0
  907. package/dist/src/icons/data/pie_chart.d.ts +3 -0
  908. package/dist/src/icons/data/pie_chart.js +16 -0
  909. package/dist/src/icons/data/tree.d.ts +3 -0
  910. package/dist/src/icons/data/tree.js +15 -0
  911. package/dist/src/icons/email/mail.d.ts +3 -0
  912. package/dist/src/icons/email/mail.js +15 -0
  913. package/dist/src/icons/email/mail_check.d.ts +3 -0
  914. package/dist/src/icons/email/mail_check.js +15 -0
  915. package/dist/src/icons/email/mail_minus.d.ts +3 -0
  916. package/dist/src/icons/email/mail_minus.js +15 -0
  917. package/dist/src/icons/email/mail_send.d.ts +3 -0
  918. package/dist/src/icons/email/mail_send.js +15 -0
  919. package/dist/src/icons/email/send.d.ts +3 -0
  920. package/dist/src/icons/email/send.js +15 -0
  921. package/dist/src/icons/email/send_close.d.ts +3 -0
  922. package/dist/src/icons/email/send_close.js +15 -0
  923. package/dist/src/icons/email/send_schedule.d.ts +3 -0
  924. package/dist/src/icons/email/send_schedule.js +15 -0
  925. package/dist/src/icons/email/send_text.d.ts +3 -0
  926. package/dist/src/icons/email/send_text.js +15 -0
  927. package/dist/src/icons/emoji/emoji_add.d.ts +3 -0
  928. package/dist/src/icons/emoji/emoji_add.js +15 -0
  929. package/dist/src/icons/emoji/laughing.d.ts +3 -0
  930. package/dist/src/icons/emoji/laughing.js +15 -0
  931. package/dist/src/icons/emoji/neutral.d.ts +3 -0
  932. package/dist/src/icons/emoji/neutral.js +15 -0
  933. package/dist/src/icons/emoji/sad.d.ts +3 -0
  934. package/dist/src/icons/emoji/sad.js +15 -0
  935. package/dist/src/icons/emoji/shocked.d.ts +3 -0
  936. package/dist/src/icons/emoji/shocked.js +15 -0
  937. package/dist/src/icons/emoji/smile.d.ts +3 -0
  938. package/dist/src/icons/emoji/smile.js +15 -0
  939. package/dist/src/icons/file/clipboard.d.ts +3 -0
  940. package/dist/src/icons/file/clipboard.js +15 -0
  941. package/dist/src/icons/file/clipboard_check.d.ts +3 -0
  942. package/dist/src/icons/file/clipboard_check.js +15 -0
  943. package/dist/src/icons/file/clipboard_close.d.ts +3 -0
  944. package/dist/src/icons/file/clipboard_close.js +15 -0
  945. package/dist/src/icons/file/clipboard_minus.d.ts +3 -0
  946. package/dist/src/icons/file/clipboard_minus.js +15 -0
  947. package/dist/src/icons/file/clipboard_plus.d.ts +3 -0
  948. package/dist/src/icons/file/clipboard_plus.js +15 -0
  949. package/dist/src/icons/file/clipboard_text.d.ts +3 -0
  950. package/dist/src/icons/file/clipboard_text.js +15 -0
  951. package/dist/src/icons/file/file.d.ts +3 -0
  952. package/dist/src/icons/file/file.js +15 -0
  953. package/dist/src/icons/file/file_add.d.ts +3 -0
  954. package/dist/src/icons/file/file_add.js +15 -0
  955. package/dist/src/icons/file/file_check.d.ts +3 -0
  956. package/dist/src/icons/file/file_check.js +15 -0
  957. package/dist/src/icons/file/file_close.d.ts +3 -0
  958. package/dist/src/icons/file/file_close.js +15 -0
  959. package/dist/src/icons/file/file_code.d.ts +3 -0
  960. package/dist/src/icons/file/file_code.js +15 -0
  961. package/dist/src/icons/file/file_download.d.ts +3 -0
  962. package/dist/src/icons/file/file_download.js +15 -0
  963. package/dist/src/icons/file/file_draft.d.ts +3 -0
  964. package/dist/src/icons/file/file_draft.js +15 -0
  965. package/dist/src/icons/file/file_gear.d.ts +3 -0
  966. package/dist/src/icons/file/file_gear.js +16 -0
  967. package/dist/src/icons/file/file_minus.d.ts +3 -0
  968. package/dist/src/icons/file/file_minus.js +15 -0
  969. package/dist/src/icons/file/file_plus.d.ts +3 -0
  970. package/dist/src/icons/file/file_plus.js +15 -0
  971. package/dist/src/icons/file/file_scan.d.ts +3 -0
  972. package/dist/src/icons/file/file_scan.js +15 -0
  973. package/dist/src/icons/file/file_shred.d.ts +3 -0
  974. package/dist/src/icons/file/file_shred.js +15 -0
  975. package/dist/src/icons/file/file_text.d.ts +3 -0
  976. package/dist/src/icons/file/file_text.js +15 -0
  977. package/dist/src/icons/file/file_upload.d.ts +3 -0
  978. package/dist/src/icons/file/file_upload.js +15 -0
  979. package/dist/src/icons/file/folder.d.ts +3 -0
  980. package/dist/src/icons/file/folder.js +15 -0
  981. package/dist/src/icons/file/folder_add.d.ts +3 -0
  982. package/dist/src/icons/file/folder_add.js +15 -0
  983. package/dist/src/icons/file/folder_arrow.d.ts +3 -0
  984. package/dist/src/icons/file/folder_arrow.js +15 -0
  985. package/dist/src/icons/file/folder_check.d.ts +3 -0
  986. package/dist/src/icons/file/folder_check.js +15 -0
  987. package/dist/src/icons/file/folder_close.d.ts +3 -0
  988. package/dist/src/icons/file/folder_close.js +15 -0
  989. package/dist/src/icons/file/folder_cloud.d.ts +3 -0
  990. package/dist/src/icons/file/folder_cloud.js +15 -0
  991. package/dist/src/icons/file/folder_gear.d.ts +3 -0
  992. package/dist/src/icons/file/folder_gear.js +16 -0
  993. package/dist/src/icons/file/folder_minus.d.ts +3 -0
  994. package/dist/src/icons/file/folder_minus.js +15 -0
  995. package/dist/src/icons/file/folder_music.d.ts +3 -0
  996. package/dist/src/icons/file/folder_music.js +15 -0
  997. package/dist/src/icons/file/folder_open.d.ts +3 -0
  998. package/dist/src/icons/file/folder_open.js +15 -0
  999. package/dist/src/icons/file/folder_plus.d.ts +3 -0
  1000. package/dist/src/icons/file/folder_plus.js +15 -0
  1001. package/dist/src/icons/file/folder_zip.d.ts +3 -0
  1002. package/dist/src/icons/file/folder_zip.js +15 -0
  1003. package/dist/src/icons/file/note.d.ts +3 -0
  1004. package/dist/src/icons/file/note.js +15 -0
  1005. package/dist/src/icons/file/note_text.d.ts +3 -0
  1006. package/dist/src/icons/file/note_text.js +15 -0
  1007. package/dist/src/icons/file/pdf.d.ts +3 -0
  1008. package/dist/src/icons/file/pdf.js +15 -0
  1009. package/dist/src/icons/file/photo.d.ts +3 -0
  1010. package/dist/src/icons/file/photo.js +15 -0
  1011. package/dist/src/icons/finance/bitcoin.d.ts +3 -0
  1012. package/dist/src/icons/finance/bitcoin.js +15 -0
  1013. package/dist/src/icons/finance/coins.d.ts +3 -0
  1014. package/dist/src/icons/finance/coins.js +19 -0
  1015. package/dist/src/icons/finance/credit_card.d.ts +3 -0
  1016. package/dist/src/icons/finance/credit_card.js +15 -0
  1017. package/dist/src/icons/finance/credit_card_add.d.ts +3 -0
  1018. package/dist/src/icons/finance/credit_card_add.js +15 -0
  1019. package/dist/src/icons/finance/credit_card_face.d.ts +3 -0
  1020. package/dist/src/icons/finance/credit_card_face.js +15 -0
  1021. package/dist/src/icons/finance/credit_card_member.d.ts +3 -0
  1022. package/dist/src/icons/finance/credit_card_member.js +15 -0
  1023. package/dist/src/icons/finance/credit_card_outcome.d.ts +3 -0
  1024. package/dist/src/icons/finance/credit_card_outcome.js +15 -0
  1025. package/dist/src/icons/finance/credit_card_scan.d.ts +3 -0
  1026. package/dist/src/icons/finance/credit_card_scan.js +15 -0
  1027. package/dist/src/icons/finance/credit_card_share.d.ts +3 -0
  1028. package/dist/src/icons/finance/credit_card_share.js +15 -0
  1029. package/dist/src/icons/finance/credit_card_slash.d.ts +3 -0
  1030. package/dist/src/icons/finance/credit_card_slash.js +15 -0
  1031. package/dist/src/icons/finance/currency_exchange.d.ts +3 -0
  1032. package/dist/src/icons/finance/currency_exchange.js +15 -0
  1033. package/dist/src/icons/finance/dollar.d.ts +3 -0
  1034. package/dist/src/icons/finance/dollar.js +15 -0
  1035. package/dist/src/icons/finance/ethereum.d.ts +3 -0
  1036. package/dist/src/icons/finance/ethereum.js +15 -0
  1037. package/dist/src/icons/finance/paypass.d.ts +3 -0
  1038. package/dist/src/icons/finance/paypass.js +15 -0
  1039. package/dist/src/icons/finance/strongbox.d.ts +3 -0
  1040. package/dist/src/icons/finance/strongbox.js +15 -0
  1041. package/dist/src/icons/finance/wallet.d.ts +3 -0
  1042. package/dist/src/icons/finance/wallet.js +15 -0
  1043. package/dist/src/icons/index.js +1095 -0
  1044. package/dist/src/icons/layout/block_align_bottom.d.ts +3 -0
  1045. package/dist/src/icons/layout/block_align_bottom.js +15 -0
  1046. package/dist/src/icons/layout/block_align_center.d.ts +3 -0
  1047. package/dist/src/icons/layout/block_align_center.js +15 -0
  1048. package/dist/src/icons/layout/block_align_left.d.ts +3 -0
  1049. package/dist/src/icons/layout/block_align_left.js +15 -0
  1050. package/dist/src/icons/layout/block_align_middle.d.ts +3 -0
  1051. package/dist/src/icons/layout/block_align_middle.js +15 -0
  1052. package/dist/src/icons/layout/block_align_right.d.ts +3 -0
  1053. package/dist/src/icons/layout/block_align_right.js +15 -0
  1054. package/dist/src/icons/layout/block_align_top.d.ts +3 -0
  1055. package/dist/src/icons/layout/block_align_top.js +15 -0
  1056. package/dist/src/icons/layout/block_horizontal.d.ts +3 -0
  1057. package/dist/src/icons/layout/block_horizontal.js +15 -0
  1058. package/dist/src/icons/layout/block_vertical.d.ts +3 -0
  1059. package/dist/src/icons/layout/block_vertical.js +15 -0
  1060. package/dist/src/icons/layout/edit_shape.d.ts +3 -0
  1061. package/dist/src/icons/layout/edit_shape.js +15 -0
  1062. package/dist/src/icons/layout/elements.d.ts +3 -0
  1063. package/dist/src/icons/layout/elements.js +15 -0
  1064. package/dist/src/icons/layout/elements_add.d.ts +3 -0
  1065. package/dist/src/icons/layout/elements_add.js +15 -0
  1066. package/dist/src/icons/layout/elements_filled.d.ts +3 -0
  1067. package/dist/src/icons/layout/elements_filled.js +15 -0
  1068. package/dist/src/icons/layout/elements_masonry.d.ts +3 -0
  1069. package/dist/src/icons/layout/elements_masonry.js +15 -0
  1070. package/dist/src/icons/layout/frame.d.ts +3 -0
  1071. package/dist/src/icons/layout/frame.js +15 -0
  1072. package/dist/src/icons/layout/frame_stack.d.ts +3 -0
  1073. package/dist/src/icons/layout/frame_stack.js +15 -0
  1074. package/dist/src/icons/layout/grid.d.ts +3 -0
  1075. package/dist/src/icons/layout/grid.js +15 -0
  1076. package/dist/src/icons/layout/grid_column_three.d.ts +3 -0
  1077. package/dist/src/icons/layout/grid_column_three.js +15 -0
  1078. package/dist/src/icons/layout/grid_column_two.d.ts +3 -0
  1079. package/dist/src/icons/layout/grid_column_two.js +15 -0
  1080. package/dist/src/icons/layout/grid_dynamic.d.ts +3 -0
  1081. package/dist/src/icons/layout/grid_dynamic.js +15 -0
  1082. package/dist/src/icons/layout/grid_frame.d.ts +3 -0
  1083. package/dist/src/icons/layout/grid_frame.js +15 -0
  1084. package/dist/src/icons/layout/grid_row_three.d.ts +3 -0
  1085. package/dist/src/icons/layout/grid_row_three.js +15 -0
  1086. package/dist/src/icons/layout/grid_row_two.d.ts +3 -0
  1087. package/dist/src/icons/layout/grid_row_two.js +15 -0
  1088. package/dist/src/icons/layout/grid_six.d.ts +3 -0
  1089. package/dist/src/icons/layout/grid_six.js +15 -0
  1090. package/dist/src/icons/layout/grid_small.d.ts +3 -0
  1091. package/dist/src/icons/layout/grid_small.js +15 -0
  1092. package/dist/src/icons/layout/iframe.d.ts +3 -0
  1093. package/dist/src/icons/layout/iframe.js +15 -0
  1094. package/dist/src/icons/layout/kanban.d.ts +3 -0
  1095. package/dist/src/icons/layout/kanban.js +15 -0
  1096. package/dist/src/icons/layout/layout.d.ts +3 -0
  1097. package/dist/src/icons/layout/layout.js +15 -0
  1098. package/dist/src/icons/layout/list.d.ts +3 -0
  1099. package/dist/src/icons/layout/list.js +15 -0
  1100. package/dist/src/icons/layout/list_filled.d.ts +3 -0
  1101. package/dist/src/icons/layout/list_filled.js +20 -0
  1102. package/dist/src/icons/layout/padding.d.ts +3 -0
  1103. package/dist/src/icons/layout/padding.js +15 -0
  1104. package/dist/src/icons/layout/page_break.d.ts +3 -0
  1105. package/dist/src/icons/layout/page_break.js +15 -0
  1106. package/dist/src/icons/layout/rotate_left.d.ts +3 -0
  1107. package/dist/src/icons/layout/rotate_left.js +15 -0
  1108. package/dist/src/icons/layout/rotate_right.d.ts +3 -0
  1109. package/dist/src/icons/layout/rotate_right.js +15 -0
  1110. package/dist/src/icons/layout/ruler.d.ts +3 -0
  1111. package/dist/src/icons/layout/ruler.js +15 -0
  1112. package/dist/src/icons/layout/segment.d.ts +3 -0
  1113. package/dist/src/icons/layout/segment.js +15 -0
  1114. package/dist/src/icons/layout/select_area.d.ts +3 -0
  1115. package/dist/src/icons/layout/select_area.js +15 -0
  1116. package/dist/src/icons/layout/select_boundary.d.ts +3 -0
  1117. package/dist/src/icons/layout/select_boundary.js +15 -0
  1118. package/dist/src/icons/layout/sidebar_left.d.ts +3 -0
  1119. package/dist/src/icons/layout/sidebar_left.js +15 -0
  1120. package/dist/src/icons/layout/sidebar_right.d.ts +3 -0
  1121. package/dist/src/icons/layout/sidebar_right.js +15 -0
  1122. package/dist/src/icons/layout/slides.d.ts +3 -0
  1123. package/dist/src/icons/layout/slides.js +15 -0
  1124. package/dist/src/icons/layout/slides_horizontal.d.ts +3 -0
  1125. package/dist/src/icons/layout/slides_horizontal.js +15 -0
  1126. package/dist/src/icons/layout/slides_vertical.d.ts +3 -0
  1127. package/dist/src/icons/layout/slides_vertical.js +20 -0
  1128. package/dist/src/icons/layout/stack.d.ts +3 -0
  1129. package/dist/src/icons/layout/stack.js +15 -0
  1130. package/dist/src/icons/layout/text.d.ts +3 -0
  1131. package/dist/src/icons/layout/text.js +15 -0
  1132. package/dist/src/icons/maps/atlas.d.ts +3 -0
  1133. package/dist/src/icons/maps/atlas.js +15 -0
  1134. package/dist/src/icons/maps/compass.d.ts +3 -0
  1135. package/dist/src/icons/maps/compass.js +15 -0
  1136. package/dist/src/icons/maps/direction.d.ts +3 -0
  1137. package/dist/src/icons/maps/direction.js +15 -0
  1138. package/dist/src/icons/maps/direction_angled.d.ts +3 -0
  1139. package/dist/src/icons/maps/direction_angled.js +15 -0
  1140. package/dist/src/icons/maps/globe.d.ts +3 -0
  1141. package/dist/src/icons/maps/globe.js +15 -0
  1142. package/dist/src/icons/maps/globe_slash.d.ts +3 -0
  1143. package/dist/src/icons/maps/globe_slash.js +15 -0
  1144. package/dist/src/icons/maps/location.d.ts +3 -0
  1145. package/dist/src/icons/maps/location.js +15 -0
  1146. package/dist/src/icons/maps/location_slash.d.ts +3 -0
  1147. package/dist/src/icons/maps/location_slash.js +15 -0
  1148. package/dist/src/icons/maps/map.d.ts +3 -0
  1149. package/dist/src/icons/maps/map.js +15 -0
  1150. package/dist/src/icons/maps/marker.d.ts +3 -0
  1151. package/dist/src/icons/maps/marker.js +15 -0
  1152. package/dist/src/icons/maps/panorama.d.ts +3 -0
  1153. package/dist/src/icons/maps/panorama.js +15 -0
  1154. package/dist/src/icons/maps/pin.d.ts +3 -0
  1155. package/dist/src/icons/maps/pin.js +15 -0
  1156. package/dist/src/icons/maps/pin_arrow.d.ts +3 -0
  1157. package/dist/src/icons/maps/pin_arrow.js +15 -0
  1158. package/dist/src/icons/maps/pin_location.d.ts +3 -0
  1159. package/dist/src/icons/maps/pin_location.js +15 -0
  1160. package/dist/src/icons/maps/pin_plus.d.ts +3 -0
  1161. package/dist/src/icons/maps/pin_plus.js +15 -0
  1162. package/dist/src/icons/maps/pin_question.d.ts +3 -0
  1163. package/dist/src/icons/maps/pin_question.js +15 -0
  1164. package/dist/src/icons/maps/pin_slash.d.ts +3 -0
  1165. package/dist/src/icons/maps/pin_slash.js +15 -0
  1166. package/dist/src/icons/maps/push_pin.d.ts +3 -0
  1167. package/dist/src/icons/maps/push_pin.js +15 -0
  1168. package/dist/src/icons/maps/push_pin_filled.d.ts +3 -0
  1169. package/dist/src/icons/maps/push_pin_filled.js +15 -0
  1170. package/dist/src/icons/maps/push_pin_slash.d.ts +3 -0
  1171. package/dist/src/icons/maps/push_pin_slash.js +15 -0
  1172. package/dist/src/icons/maps/radar.d.ts +3 -0
  1173. package/dist/src/icons/maps/radar.js +15 -0
  1174. package/dist/src/icons/maps/route.d.ts +3 -0
  1175. package/dist/src/icons/maps/route.js +15 -0
  1176. package/dist/src/icons/message/bubble.d.ts +3 -0
  1177. package/dist/src/icons/message/bubble.js +15 -0
  1178. package/dist/src/icons/message/bubble_question.d.ts +3 -0
  1179. package/dist/src/icons/message/bubble_question.js +15 -0
  1180. package/dist/src/icons/message/comment.d.ts +3 -0
  1181. package/dist/src/icons/message/comment.js +15 -0
  1182. package/dist/src/icons/message/comment_add.d.ts +3 -0
  1183. package/dist/src/icons/message/comment_add.js +15 -0
  1184. package/dist/src/icons/message/comment_check.d.ts +3 -0
  1185. package/dist/src/icons/message/comment_check.js +15 -0
  1186. package/dist/src/icons/message/comment_close.d.ts +3 -0
  1187. package/dist/src/icons/message/comment_close.js +15 -0
  1188. package/dist/src/icons/message/comment_minus.d.ts +3 -0
  1189. package/dist/src/icons/message/comment_minus.js +15 -0
  1190. package/dist/src/icons/message/comment_text.d.ts +3 -0
  1191. package/dist/src/icons/message/comment_text.js +15 -0
  1192. package/dist/src/icons/misc/advertisement.d.ts +3 -0
  1193. package/dist/src/icons/misc/advertisement.js +15 -0
  1194. package/dist/src/icons/misc/atom.d.ts +3 -0
  1195. package/dist/src/icons/misc/atom.js +15 -0
  1196. package/dist/src/icons/misc/bone.d.ts +3 -0
  1197. package/dist/src/icons/misc/bone.js +15 -0
  1198. package/dist/src/icons/misc/brightness_high.d.ts +3 -0
  1199. package/dist/src/icons/misc/brightness_high.js +15 -0
  1200. package/dist/src/icons/misc/brightness_low.d.ts +3 -0
  1201. package/dist/src/icons/misc/brightness_low.js +15 -0
  1202. package/dist/src/icons/misc/contrast.d.ts +3 -0
  1203. package/dist/src/icons/misc/contrast.js +15 -0
  1204. package/dist/src/icons/misc/crosshairs.d.ts +3 -0
  1205. package/dist/src/icons/misc/crosshairs.js +15 -0
  1206. package/dist/src/icons/misc/crown.d.ts +3 -0
  1207. package/dist/src/icons/misc/crown.js +15 -0
  1208. package/dist/src/icons/misc/footprint.d.ts +3 -0
  1209. package/dist/src/icons/misc/footprint.js +15 -0
  1210. package/dist/src/icons/misc/form.d.ts +3 -0
  1211. package/dist/src/icons/misc/form.js +15 -0
  1212. package/dist/src/icons/misc/funnel.d.ts +3 -0
  1213. package/dist/src/icons/misc/funnel.js +15 -0
  1214. package/dist/src/icons/misc/infinite.d.ts +3 -0
  1215. package/dist/src/icons/misc/infinite.js +15 -0
  1216. package/dist/src/icons/misc/insert_button.d.ts +3 -0
  1217. package/dist/src/icons/misc/insert_button.js +15 -0
  1218. package/dist/src/icons/misc/light_bulb.d.ts +3 -0
  1219. package/dist/src/icons/misc/light_bulb.js +15 -0
  1220. package/dist/src/icons/misc/moon.d.ts +3 -0
  1221. package/dist/src/icons/misc/moon.js +15 -0
  1222. package/dist/src/icons/misc/nut.d.ts +3 -0
  1223. package/dist/src/icons/misc/nut.js +15 -0
  1224. package/dist/src/icons/misc/planet.d.ts +3 -0
  1225. package/dist/src/icons/misc/planet.js +15 -0
  1226. package/dist/src/icons/misc/plus_thick.d.ts +3 -0
  1227. package/dist/src/icons/misc/plus_thick.js +15 -0
  1228. package/dist/src/icons/misc/pocket.d.ts +3 -0
  1229. package/dist/src/icons/misc/pocket.js +15 -0
  1230. package/dist/src/icons/misc/rocket.d.ts +3 -0
  1231. package/dist/src/icons/misc/rocket.js +15 -0
  1232. package/dist/src/icons/misc/soup.d.ts +3 -0
  1233. package/dist/src/icons/misc/soup.js +19 -0
  1234. package/dist/src/icons/misc/sun.d.ts +3 -0
  1235. package/dist/src/icons/misc/sun.js +15 -0
  1236. package/dist/src/icons/misc/toy_horse.d.ts +3 -0
  1237. package/dist/src/icons/misc/toy_horse.js +15 -0
  1238. package/dist/src/icons/misc/trophy.d.ts +3 -0
  1239. package/dist/src/icons/misc/trophy.js +15 -0
  1240. package/dist/src/icons/misc/watercloset.d.ts +3 -0
  1241. package/dist/src/icons/misc/watercloset.js +15 -0
  1242. package/dist/src/icons/notifications/alert_circle.d.ts +3 -0
  1243. package/dist/src/icons/notifications/alert_circle.js +15 -0
  1244. package/dist/src/icons/notifications/alert_octogon.d.ts +3 -0
  1245. package/dist/src/icons/notifications/alert_octogon.js +15 -0
  1246. package/dist/src/icons/notifications/alert_triangle.d.ts +3 -0
  1247. package/dist/src/icons/notifications/alert_triangle.js +15 -0
  1248. package/dist/src/icons/notifications/app_notification.d.ts +3 -0
  1249. package/dist/src/icons/notifications/app_notification.js +15 -0
  1250. package/dist/src/icons/notifications/bell.d.ts +3 -0
  1251. package/dist/src/icons/notifications/bell.js +15 -0
  1252. package/dist/src/icons/notifications/bell_alert.d.ts +3 -0
  1253. package/dist/src/icons/notifications/bell_alert.js +15 -0
  1254. package/dist/src/icons/notifications/bell_checkmark.d.ts +3 -0
  1255. package/dist/src/icons/notifications/bell_checkmark.js +15 -0
  1256. package/dist/src/icons/notifications/bell_minus.d.ts +3 -0
  1257. package/dist/src/icons/notifications/bell_minus.js +15 -0
  1258. package/dist/src/icons/notifications/bell_plus.d.ts +3 -0
  1259. package/dist/src/icons/notifications/bell_plus.js +15 -0
  1260. package/dist/src/icons/notifications/bell_ring.d.ts +3 -0
  1261. package/dist/src/icons/notifications/bell_ring.js +17 -0
  1262. package/dist/src/icons/notifications/bell_slash.d.ts +3 -0
  1263. package/dist/src/icons/notifications/bell_slash.js +15 -0
  1264. package/dist/src/icons/notifications/close_octogon.d.ts +3 -0
  1265. package/dist/src/icons/notifications/information.d.ts +3 -0
  1266. package/dist/src/icons/notifications/information.js +15 -0
  1267. package/dist/src/icons/notifications/minus_octogon.d.ts +3 -0
  1268. package/dist/src/icons/notifications/minus_octogon.js +15 -0
  1269. package/dist/src/icons/notifications/question_circle.d.ts +3 -0
  1270. package/dist/src/icons/notifications/question_circle.js +15 -0
  1271. package/dist/src/icons/people/group.d.ts +3 -0
  1272. package/dist/src/icons/people/group.js +15 -0
  1273. package/dist/src/icons/people/group_add.d.ts +3 -0
  1274. package/dist/src/icons/people/group_add.js +15 -0
  1275. package/dist/src/icons/people/group_chat.d.ts +3 -0
  1276. package/dist/src/icons/people/group_chat.js +17 -0
  1277. package/dist/src/icons/people/group_remove.d.ts +3 -0
  1278. package/dist/src/icons/people/group_remove.js +15 -0
  1279. package/dist/src/icons/people/group_send.d.ts +3 -0
  1280. package/dist/src/icons/people/group_send.js +16 -0
  1281. package/dist/src/icons/people/groups.d.ts +3 -0
  1282. package/dist/src/icons/people/groups.js +15 -0
  1283. package/dist/src/icons/people/person.d.ts +3 -0
  1284. package/dist/src/icons/people/person.js +15 -0
  1285. package/dist/src/icons/people/person_add.d.ts +3 -0
  1286. package/dist/src/icons/people/person_add.js +15 -0
  1287. package/dist/src/icons/people/person_checkmark.d.ts +3 -0
  1288. package/dist/src/icons/people/person_checkmark.js +15 -0
  1289. package/dist/src/icons/people/person_circle.d.ts +3 -0
  1290. package/dist/src/icons/people/person_circle.js +17 -0
  1291. package/dist/src/icons/people/person_close.d.ts +3 -0
  1292. package/dist/src/icons/people/person_close.js +17 -0
  1293. package/dist/src/icons/people/person_remove.d.ts +3 -0
  1294. package/dist/src/icons/people/person_remove.js +15 -0
  1295. package/dist/src/icons/people/person_slash.d.ts +3 -0
  1296. package/dist/src/icons/people/person_slash.js +17 -0
  1297. package/dist/src/icons/phone/keypad.d.ts +3 -0
  1298. package/dist/src/icons/phone/keypad.js +15 -0
  1299. package/dist/src/icons/phone/phone.d.ts +3 -0
  1300. package/dist/src/icons/phone/phone.js +15 -0
  1301. package/dist/src/icons/phone/phone_add.d.ts +3 -0
  1302. package/dist/src/icons/phone/phone_add.js +15 -0
  1303. package/dist/src/icons/phone/phone_calling.d.ts +3 -0
  1304. package/dist/src/icons/phone/phone_calling.js +15 -0
  1305. package/dist/src/icons/phone/phone_check.d.ts +3 -0
  1306. package/dist/src/icons/phone/phone_check.js +15 -0
  1307. package/dist/src/icons/phone/phone_close.d.ts +3 -0
  1308. package/dist/src/icons/phone/phone_close.js +15 -0
  1309. package/dist/src/icons/phone/phone_decline.d.ts +3 -0
  1310. package/dist/src/icons/phone/phone_decline.js +15 -0
  1311. package/dist/src/icons/phone/phone_end.d.ts +3 -0
  1312. package/dist/src/icons/phone/phone_forwarded.d.ts +3 -0
  1313. package/dist/src/icons/phone/phone_forwarded.js +15 -0
  1314. package/dist/src/icons/phone/phone_hash.d.ts +3 -0
  1315. package/dist/src/icons/phone/phone_hash.js +15 -0
  1316. package/dist/src/icons/phone/phone_incoming.d.ts +3 -0
  1317. package/dist/src/icons/phone/phone_incoming.js +15 -0
  1318. package/dist/src/icons/phone/phone_missed.d.ts +3 -0
  1319. package/dist/src/icons/phone/phone_outgoing.d.ts +3 -0
  1320. package/dist/src/icons/phone/phone_outgoing.js +15 -0
  1321. package/dist/src/icons/phone/phone_pause.d.ts +3 -0
  1322. package/dist/src/icons/phone/phone_pause.js +15 -0
  1323. package/dist/src/icons/phone/phone_slash.d.ts +3 -0
  1324. package/dist/src/icons/phone/phone_slash.js +15 -0
  1325. package/dist/src/icons/phone/voicemail.d.ts +3 -0
  1326. package/dist/src/icons/phone/voicemail.js +15 -0
  1327. package/dist/src/icons/security/key.d.ts +3 -0
  1328. package/dist/src/icons/security/key.js +15 -0
  1329. package/dist/src/icons/security/key_slash.d.ts +3 -0
  1330. package/dist/src/icons/security/key_slash.js +15 -0
  1331. package/dist/src/icons/security/lock.d.ts +3 -0
  1332. package/dist/src/icons/security/lock.js +15 -0
  1333. package/dist/src/icons/security/lock_circle.d.ts +3 -0
  1334. package/dist/src/icons/security/lock_circle.js +15 -0
  1335. package/dist/src/icons/security/lock_open.d.ts +3 -0
  1336. package/dist/src/icons/security/lock_open.js +15 -0
  1337. package/dist/src/icons/security/lock_slash.d.ts +3 -0
  1338. package/dist/src/icons/security/lock_slash.js +15 -0
  1339. package/dist/src/icons/security/shield.d.ts +3 -0
  1340. package/dist/src/icons/security/shield.js +15 -0
  1341. package/dist/src/icons/security/shield_checkmark.d.ts +3 -0
  1342. package/dist/src/icons/security/shield_checkmark.js +15 -0
  1343. package/dist/src/icons/security/shield_lock.d.ts +3 -0
  1344. package/dist/src/icons/security/shield_lock.js +15 -0
  1345. package/dist/src/icons/security/shield_slash.d.ts +3 -0
  1346. package/dist/src/icons/security/shield_slash.js +15 -0
  1347. package/dist/src/icons/security/verified.d.ts +3 -0
  1348. package/dist/src/icons/security/verified.js +15 -0
  1349. package/dist/src/icons/shopping/basket.d.ts +3 -0
  1350. package/dist/src/icons/shopping/basket.js +15 -0
  1351. package/dist/src/icons/shopping/cart.d.ts +3 -0
  1352. package/dist/src/icons/shopping/cart.js +15 -0
  1353. package/dist/src/icons/shopping/cart_filled.d.ts +3 -0
  1354. package/dist/src/icons/shopping/cart_filled.js +15 -0
  1355. package/dist/src/icons/shopping/coupon.d.ts +3 -0
  1356. package/dist/src/icons/shopping/coupon.js +15 -0
  1357. package/dist/src/icons/shopping/coupon_cut.d.ts +3 -0
  1358. package/dist/src/icons/shopping/coupon_cut.js +15 -0
  1359. package/dist/src/icons/shopping/delivery.d.ts +3 -0
  1360. package/dist/src/icons/shopping/delivery.js +15 -0
  1361. package/dist/src/icons/shopping/discount.d.ts +3 -0
  1362. package/dist/src/icons/shopping/discount.js +15 -0
  1363. package/dist/src/icons/shopping/gift.d.ts +3 -0
  1364. package/dist/src/icons/shopping/gift.js +15 -0
  1365. package/dist/src/icons/shopping/gift_bag.d.ts +3 -0
  1366. package/dist/src/icons/shopping/gift_bag.js +15 -0
  1367. package/dist/src/icons/shopping/inventory.d.ts +3 -0
  1368. package/dist/src/icons/shopping/inventory.js +15 -0
  1369. package/dist/src/icons/shopping/point_of_sale.d.ts +3 -0
  1370. package/dist/src/icons/shopping/point_of_sale.js +15 -0
  1371. package/dist/src/icons/shopping/shirt.d.ts +3 -0
  1372. package/dist/src/icons/shopping/shirt.js +15 -0
  1373. package/dist/src/icons/shopping/tag.d.ts +3 -0
  1374. package/dist/src/icons/shopping/tag.js +15 -0
  1375. package/dist/src/icons/shopping/tag_diagonal.d.ts +3 -0
  1376. package/dist/src/icons/shopping/tag_diagonal.js +15 -0
  1377. package/dist/src/icons/shopping/tote.d.ts +3 -0
  1378. package/dist/src/icons/shopping/tote.js +15 -0
  1379. package/dist/src/icons/special/upload_audio.d.ts +11 -0
  1380. package/dist/src/icons/special/upload_audio.js +20 -0
  1381. package/dist/src/icons/special/upload_file.d.ts +11 -0
  1382. package/dist/src/icons/special/upload_file.js +15 -0
  1383. package/dist/src/icons/special/upload_image.d.ts +11 -0
  1384. package/dist/src/icons/special/upload_image.js +17 -0
  1385. package/dist/src/icons/special/upload_video.d.ts +11 -0
  1386. package/dist/src/icons/special/upload_video.js +18 -0
  1387. package/dist/src/icons/symbols/at.d.ts +3 -0
  1388. package/dist/src/icons/symbols/at.js +15 -0
  1389. package/dist/src/icons/symbols/cc.d.ts +3 -0
  1390. package/dist/src/icons/symbols/cc.js +15 -0
  1391. package/dist/src/icons/symbols/cmd.d.ts +3 -0
  1392. package/dist/src/icons/symbols/cmd.js +15 -0
  1393. package/dist/src/icons/symbols/facebook.d.ts +3 -0
  1394. package/dist/src/icons/symbols/facebook.js +15 -0
  1395. package/dist/src/icons/symbols/google.d.ts +3 -0
  1396. package/dist/src/icons/symbols/google.js +18 -0
  1397. package/dist/src/icons/symbols/hash.d.ts +3 -0
  1398. package/dist/src/icons/symbols/hash.js +15 -0
  1399. package/dist/src/icons/symbols/instagram.d.ts +3 -0
  1400. package/dist/src/icons/symbols/instagram.js +27 -0
  1401. package/dist/src/icons/symbols/messenger.d.ts +3 -0
  1402. package/dist/src/icons/symbols/messenger.js +21 -0
  1403. package/dist/src/icons/symbols/twitter.d.ts +3 -0
  1404. package/dist/src/icons/symbols/twitter.js +15 -0
  1405. package/dist/src/icons/technology/battery.d.ts +3 -0
  1406. package/dist/src/icons/technology/battery.js +15 -0
  1407. package/dist/src/icons/technology/battery_100.d.ts +3 -0
  1408. package/dist/src/icons/technology/battery_100.js +15 -0
  1409. package/dist/src/icons/technology/battery_20.d.ts +3 -0
  1410. package/dist/src/icons/technology/battery_20.js +15 -0
  1411. package/dist/src/icons/technology/battery_40.d.ts +3 -0
  1412. package/dist/src/icons/technology/battery_40.js +15 -0
  1413. package/dist/src/icons/technology/battery_60.d.ts +3 -0
  1414. package/dist/src/icons/technology/battery_60.js +15 -0
  1415. package/dist/src/icons/technology/battery_80.d.ts +3 -0
  1416. package/dist/src/icons/technology/battery_80.js +15 -0
  1417. package/dist/src/icons/technology/battery_charging.d.ts +3 -0
  1418. package/dist/src/icons/technology/battery_charging.js +15 -0
  1419. package/dist/src/icons/technology/battery_slash.d.ts +3 -0
  1420. package/dist/src/icons/technology/battery_slash.js +15 -0
  1421. package/dist/src/icons/technology/devices.d.ts +3 -0
  1422. package/dist/src/icons/technology/devices.js +15 -0
  1423. package/dist/src/icons/technology/floppy_disk.d.ts +3 -0
  1424. package/dist/src/icons/technology/floppy_disk.js +15 -0
  1425. package/dist/src/icons/technology/iphone.d.ts +3 -0
  1426. package/dist/src/icons/technology/iphone.js +15 -0
  1427. package/dist/src/icons/technology/laptop.d.ts +3 -0
  1428. package/dist/src/icons/technology/laptop.js +15 -0
  1429. package/dist/src/icons/technology/mobile.d.ts +3 -0
  1430. package/dist/src/icons/technology/mobile.js +15 -0
  1431. package/dist/src/icons/technology/monitor.d.ts +3 -0
  1432. package/dist/src/icons/technology/monitor.js +15 -0
  1433. package/dist/src/icons/technology/server.d.ts +3 -0
  1434. package/dist/src/icons/technology/server.js +15 -0
  1435. package/dist/src/icons/technology/sim_card.d.ts +3 -0
  1436. package/dist/src/icons/technology/sim_card.js +15 -0
  1437. package/dist/src/icons/technology/usb_stick.d.ts +3 -0
  1438. package/dist/src/icons/technology/usb_stick.js +15 -0
  1439. package/dist/src/icons/text/align_center.d.ts +3 -0
  1440. package/dist/src/icons/text/align_center.js +15 -0
  1441. package/dist/src/icons/text/align_justified.d.ts +3 -0
  1442. package/dist/src/icons/text/align_justified.js +15 -0
  1443. package/dist/src/icons/text/align_left.d.ts +3 -0
  1444. package/dist/src/icons/text/align_left.js +15 -0
  1445. package/dist/src/icons/text/align_right.d.ts +3 -0
  1446. package/dist/src/icons/text/align_right.js +15 -0
  1447. package/dist/src/icons/text/code_block.d.ts +3 -0
  1448. package/dist/src/icons/text/code_block.js +15 -0
  1449. package/dist/src/icons/text/divider.d.ts +3 -0
  1450. package/dist/src/icons/text/divider.js +15 -0
  1451. package/dist/src/icons/text/footnote.d.ts +3 -0
  1452. package/dist/src/icons/text/footnote.js +17 -0
  1453. package/dist/src/icons/text/indent_decrease.d.ts +3 -0
  1454. package/dist/src/icons/text/indent_decrease.js +15 -0
  1455. package/dist/src/icons/text/indent_increase.d.ts +3 -0
  1456. package/dist/src/icons/text/indent_increase.js +15 -0
  1457. package/dist/src/icons/text/list_ordered.d.ts +3 -0
  1458. package/dist/src/icons/text/list_ordered.js +15 -0
  1459. package/dist/src/icons/text/list_unordered.d.ts +3 -0
  1460. package/dist/src/icons/text/list_unordered.js +15 -0
  1461. package/dist/src/icons/text/quote.d.ts +3 -0
  1462. package/dist/src/icons/text/quote.js +15 -0
  1463. package/dist/src/icons/text/table.d.ts +3 -0
  1464. package/dist/src/icons/text/table.js +15 -0
  1465. package/dist/src/icons/time/alarm.d.ts +3 -0
  1466. package/dist/src/icons/time/alarm.js +15 -0
  1467. package/dist/src/icons/time/alarm_checkmark.d.ts +3 -0
  1468. package/dist/src/icons/time/alarm_checkmark.js +15 -0
  1469. package/dist/src/icons/time/alarm_minus.d.ts +3 -0
  1470. package/dist/src/icons/time/alarm_minus.js +15 -0
  1471. package/dist/src/icons/time/alarm_plus.d.ts +3 -0
  1472. package/dist/src/icons/time/alarm_plus.js +15 -0
  1473. package/dist/src/icons/time/alarm_slash.d.ts +3 -0
  1474. package/dist/src/icons/time/alarm_slash.js +15 -0
  1475. package/dist/src/icons/time/alarm_snooze.d.ts +3 -0
  1476. package/dist/src/icons/time/alarm_snooze.js +15 -0
  1477. package/dist/src/icons/time/calendar.d.ts +3 -0
  1478. package/dist/src/icons/time/calendar.js +15 -0
  1479. package/dist/src/icons/time/calendar_add.d.ts +3 -0
  1480. package/dist/src/icons/time/calendar_add.js +15 -0
  1481. package/dist/src/icons/time/calendar_checkmark.d.ts +3 -0
  1482. package/dist/src/icons/time/calendar_checkmark.js +15 -0
  1483. package/dist/src/icons/time/calendar_close.d.ts +3 -0
  1484. package/dist/src/icons/time/calendar_close.js +15 -0
  1485. package/dist/src/icons/time/calendar_dates.d.ts +3 -0
  1486. package/dist/src/icons/time/calendar_dates.js +15 -0
  1487. package/dist/src/icons/time/calendar_minus.d.ts +3 -0
  1488. package/dist/src/icons/time/calendar_minus.js +15 -0
  1489. package/dist/src/icons/time/calendar_plus.d.ts +3 -0
  1490. package/dist/src/icons/time/calendar_plus.js +15 -0
  1491. package/dist/src/icons/time/calendar_scroll.d.ts +3 -0
  1492. package/dist/src/icons/time/calendar_scroll.js +17 -0
  1493. package/dist/src/icons/time/clock.d.ts +3 -0
  1494. package/dist/src/icons/time/clock.js +15 -0
  1495. package/dist/src/icons/time/clock_history.d.ts +3 -0
  1496. package/dist/src/icons/time/clock_history.js +15 -0
  1497. package/dist/src/icons/time/stopwatch.d.ts +3 -0
  1498. package/dist/src/icons/time/stopwatch.js +15 -0
  1499. package/dist/src/icons/time/timer.d.ts +3 -0
  1500. package/dist/src/icons/time/timer.js +15 -0
  1501. package/dist/src/icons/time/watch.d.ts +3 -0
  1502. package/dist/src/icons/time/watch.js +15 -0
  1503. package/dist/src/index.js +115 -0
  1504. package/dist/src/styles/globals.css +1 -0
  1505. package/dist/src/types/attributes.d.ts +50 -0
  1506. package/dist/src/utils/date.js +73 -0
  1507. package/dist/src/utils/function.js +5 -0
  1508. package/package.json +11 -6
  1509. package/dist/common/styles.d.ts +0 -14
  1510. package/dist/components/actions/button/button.d.ts +0 -26
  1511. package/dist/components/actions/dropdown/dropdown.d.ts +0 -50
  1512. package/dist/components/actions/upload/upload.d.ts +0 -20
  1513. package/dist/components/atoms/box/box.d.ts +0 -15
  1514. package/dist/components/atoms/typography/display.d.ts +0 -11
  1515. package/dist/components/atoms/typography/heading.d.ts +0 -46
  1516. package/dist/components/atoms/typography/paragraph.d.ts +0 -12
  1517. package/dist/components/atoms/typography/typography.d.ts +0 -7
  1518. package/dist/components/card/card.d.ts +0 -17
  1519. package/dist/components/card/meeting/meeting.d.ts +0 -27
  1520. package/dist/components/card/person/person.d.ts +0 -12
  1521. package/dist/components/card/price/price.d.ts +0 -13
  1522. package/dist/components/custom/users_selection/users_selection.d.ts +0 -24
  1523. package/dist/components/editor/simple_editor/navbar.d.ts +0 -8
  1524. package/dist/components/feedback/animated_toast/animated_toast.d.ts +0 -9
  1525. package/dist/components/feedback/loader/loader.d.ts +0 -10
  1526. package/dist/components/iconography/icon/icon.d.ts +0 -13
  1527. package/dist/components/input/radio/radio.d.ts +0 -26
  1528. package/dist/components/media/video-player/video.d.ts +0 -73
  1529. package/dist/components/navigation/inner/inner.d.ts +0 -92
  1530. package/dist/icons/arrow/arrow_all.d.ts +0 -3
  1531. package/dist/icons/arrow/arrow_all_diagonal.d.ts +0 -3
  1532. package/dist/icons/arrow/arrow_both_downwards.d.ts +0 -3
  1533. package/dist/icons/arrow/arrow_both_upwards.d.ts +0 -3
  1534. package/dist/icons/arrow/arrow_circle_left.d.ts +0 -3
  1535. package/dist/icons/arrow/arrow_circle_left_double.d.ts +0 -3
  1536. package/dist/icons/arrow/arrow_circle_left_double_alert.d.ts +0 -3
  1537. package/dist/icons/arrow/arrow_circle_right.d.ts +0 -3
  1538. package/dist/icons/arrow/arrow_circle_right_double.d.ts +0 -3
  1539. package/dist/icons/arrow/arrow_circle_right_double_alert.d.ts +0 -3
  1540. package/dist/icons/arrow/arrow_diagonal_down_left.d.ts +0 -3
  1541. package/dist/icons/arrow/arrow_diagonal_down_left_circle.d.ts +0 -3
  1542. package/dist/icons/arrow/arrow_diagonal_down_right.d.ts +0 -3
  1543. package/dist/icons/arrow/arrow_diagonal_down_right_circle.d.ts +0 -3
  1544. package/dist/icons/arrow/arrow_diagonal_up_left.d.ts +0 -3
  1545. package/dist/icons/arrow/arrow_diagonal_up_left_circle.d.ts +0 -3
  1546. package/dist/icons/arrow/arrow_diagonal_up_right.d.ts +0 -3
  1547. package/dist/icons/arrow/arrow_diagonal_up_right_circle.d.ts +0 -3
  1548. package/dist/icons/arrow/arrow_down.d.ts +0 -3
  1549. package/dist/icons/arrow/arrow_down_bold.d.ts +0 -3
  1550. package/dist/icons/arrow/arrow_down_circle.d.ts +0 -3
  1551. package/dist/icons/arrow/arrow_left.d.ts +0 -3
  1552. package/dist/icons/arrow/arrow_left_bold.d.ts +0 -3
  1553. package/dist/icons/arrow/arrow_left_circle.d.ts +0 -3
  1554. package/dist/icons/arrow/arrow_left_curved.d.ts +0 -3
  1555. package/dist/icons/arrow/arrow_left_curved_circle.d.ts +0 -3
  1556. package/dist/icons/arrow/arrow_right.d.ts +0 -3
  1557. package/dist/icons/arrow/arrow_right_bold.d.ts +0 -3
  1558. package/dist/icons/arrow/arrow_right_circle.d.ts +0 -3
  1559. package/dist/icons/arrow/arrow_right_curved.d.ts +0 -3
  1560. package/dist/icons/arrow/arrow_right_curved_circle.d.ts +0 -3
  1561. package/dist/icons/arrow/arrow_up.d.ts +0 -3
  1562. package/dist/icons/arrow/arrow_up_bold.d.ts +0 -3
  1563. package/dist/icons/arrow/arrow_up_circle.d.ts +0 -3
  1564. package/dist/icons/arrow/chevron_down.d.ts +0 -3
  1565. package/dist/icons/arrow/chevron_down_circle.d.ts +0 -3
  1566. package/dist/icons/arrow/chevron_down_double.d.ts +0 -3
  1567. package/dist/icons/arrow/chevron_down_double_circle.d.ts +0 -3
  1568. package/dist/icons/arrow/chevron_left.d.ts +0 -3
  1569. package/dist/icons/arrow/chevron_left_circle.d.ts +0 -3
  1570. package/dist/icons/arrow/chevron_left_double.d.ts +0 -3
  1571. package/dist/icons/arrow/chevron_left_double_circle.d.ts +0 -3
  1572. package/dist/icons/arrow/chevron_right.d.ts +0 -3
  1573. package/dist/icons/arrow/chevron_right_circle.d.ts +0 -3
  1574. package/dist/icons/arrow/chevron_right_double.d.ts +0 -3
  1575. package/dist/icons/arrow/chevron_right_double_circle.d.ts +0 -3
  1576. package/dist/icons/arrow/chevron_scroll.d.ts +0 -3
  1577. package/dist/icons/arrow/chevron_up.d.ts +0 -3
  1578. package/dist/icons/arrow/chevron_up_circle.d.ts +0 -3
  1579. package/dist/icons/arrow/chevron_up_double.d.ts +0 -3
  1580. package/dist/icons/arrow/chevron_up_double_circle.d.ts +0 -3
  1581. package/dist/icons/arrow/forward_all.d.ts +0 -3
  1582. package/dist/icons/arrow/forward_all_bold.d.ts +0 -3
  1583. package/dist/icons/arrow/forward_bold.d.ts +0 -3
  1584. package/dist/icons/arrow/redo.d.ts +0 -3
  1585. package/dist/icons/arrow/redo_bold.d.ts +0 -3
  1586. package/dist/icons/arrow/reply.d.ts +0 -3
  1587. package/dist/icons/arrow/reply_all.d.ts +0 -3
  1588. package/dist/icons/arrow/reply_all_bold.d.ts +0 -3
  1589. package/dist/icons/arrow/reply_bold.d.ts +0 -3
  1590. package/dist/icons/arrow/undo.d.ts +0 -3
  1591. package/dist/icons/arrow/undo_bold.d.ts +0 -3
  1592. package/dist/icons/audio_video/drag_indicator.d.ts +0 -3
  1593. package/dist/icons/audio_video/eject.d.ts +0 -3
  1594. package/dist/icons/audio_video/equalizer.d.ts +0 -3
  1595. package/dist/icons/audio_video/fast_forward.d.ts +0 -3
  1596. package/dist/icons/audio_video/fast_forward_30.d.ts +0 -3
  1597. package/dist/icons/audio_video/fullscreen.d.ts +0 -3
  1598. package/dist/icons/audio_video/headphones.d.ts +0 -3
  1599. package/dist/icons/audio_video/library_add.d.ts +0 -3
  1600. package/dist/icons/audio_video/library_delay.d.ts +0 -3
  1601. package/dist/icons/audio_video/library_music.d.ts +0 -3
  1602. package/dist/icons/audio_video/library_queue.d.ts +0 -3
  1603. package/dist/icons/audio_video/microphone.d.ts +0 -3
  1604. package/dist/icons/audio_video/musical_note.d.ts +0 -3
  1605. package/dist/icons/audio_video/next.d.ts +0 -3
  1606. package/dist/icons/audio_video/pause.d.ts +0 -3
  1607. package/dist/icons/audio_video/pause_circle.d.ts +0 -3
  1608. package/dist/icons/audio_video/play.d.ts +0 -3
  1609. package/dist/icons/audio_video/play_circle.d.ts +0 -3
  1610. package/dist/icons/audio_video/play_display.d.ts +0 -3
  1611. package/dist/icons/audio_video/play_pause.d.ts +0 -3
  1612. package/dist/icons/audio_video/play_solid.d.ts +0 -3
  1613. package/dist/icons/audio_video/player_list.d.ts +0 -3
  1614. package/dist/icons/audio_video/player_list_add.d.ts +0 -3
  1615. package/dist/icons/audio_video/player_list_play.d.ts +0 -3
  1616. package/dist/icons/audio_video/previous.d.ts +0 -3
  1617. package/dist/icons/audio_video/radio.d.ts +0 -3
  1618. package/dist/icons/audio_video/record.d.ts +0 -3
  1619. package/dist/icons/audio_video/repeat.d.ts +0 -3
  1620. package/dist/icons/audio_video/rewind.d.ts +0 -3
  1621. package/dist/icons/audio_video/rewind_30.d.ts +0 -3
  1622. package/dist/icons/audio_video/shuffle.d.ts +0 -3
  1623. package/dist/icons/audio_video/sound_wave.d.ts +0 -3
  1624. package/dist/icons/audio_video/stop.d.ts +0 -3
  1625. package/dist/icons/audio_video/stop_circle.d.ts +0 -3
  1626. package/dist/icons/audio_video/subscriptions.d.ts +0 -3
  1627. package/dist/icons/audio_video/tuner.d.ts +0 -3
  1628. package/dist/icons/audio_video/volume.d.ts +0 -3
  1629. package/dist/icons/audio_video/volume_high.d.ts +0 -3
  1630. package/dist/icons/audio_video/volume_low.d.ts +0 -3
  1631. package/dist/icons/audio_video/volume_slash.d.ts +0 -3
  1632. package/dist/icons/basic/aa_sansserif.d.ts +0 -3
  1633. package/dist/icons/basic/aa_serif.d.ts +0 -3
  1634. package/dist/icons/basic/anchor.d.ts +0 -3
  1635. package/dist/icons/basic/bible.d.ts +0 -3
  1636. package/dist/icons/basic/bold.d.ts +0 -3
  1637. package/dist/icons/basic/book.d.ts +0 -3
  1638. package/dist/icons/basic/book_open.d.ts +0 -3
  1639. package/dist/icons/basic/bookmark.d.ts +0 -3
  1640. package/dist/icons/basic/bookmark_add.d.ts +0 -3
  1641. package/dist/icons/basic/bookmark_slash.d.ts +0 -3
  1642. package/dist/icons/basic/bookmarks.d.ts +0 -3
  1643. package/dist/icons/basic/books.d.ts +0 -3
  1644. package/dist/icons/basic/box.d.ts +0 -3
  1645. package/dist/icons/basic/briefcase.d.ts +0 -3
  1646. package/dist/icons/basic/browse_activity.d.ts +0 -3
  1647. package/dist/icons/basic/browser.d.ts +0 -3
  1648. package/dist/icons/basic/browser_slash.d.ts +0 -3
  1649. package/dist/icons/basic/calculator.d.ts +0 -3
  1650. package/dist/icons/basic/camera.d.ts +0 -3
  1651. package/dist/icons/basic/camera_add.d.ts +0 -3
  1652. package/dist/icons/basic/camera_slash.d.ts +0 -3
  1653. package/dist/icons/basic/checkmark.d.ts +0 -3
  1654. package/dist/icons/basic/checkmark_circle.d.ts +0 -3
  1655. package/dist/icons/basic/checkmark_filled.d.ts +0 -3
  1656. package/dist/icons/basic/checkmarks.d.ts +0 -3
  1657. package/dist/icons/basic/circle.d.ts +0 -3
  1658. package/dist/icons/basic/circle_slash.d.ts +0 -3
  1659. package/dist/icons/basic/clear_text_style.d.ts +0 -3
  1660. package/dist/icons/basic/close.d.ts +0 -3
  1661. package/dist/icons/basic/close_circle.d.ts +0 -3
  1662. package/dist/icons/basic/close_filled.d.ts +0 -3
  1663. package/dist/icons/basic/copy.d.ts +0 -3
  1664. package/dist/icons/basic/delete.d.ts +0 -3
  1665. package/dist/icons/basic/detail.d.ts +0 -3
  1666. package/dist/icons/basic/dot.d.ts +0 -3
  1667. package/dist/icons/basic/download.d.ts +0 -3
  1668. package/dist/icons/basic/download_arrow.d.ts +0 -3
  1669. package/dist/icons/basic/droplet.d.ts +0 -3
  1670. package/dist/icons/basic/ellipsis_horizontal.d.ts +0 -3
  1671. package/dist/icons/basic/ellipsis_horizontal_circle.d.ts +0 -3
  1672. package/dist/icons/basic/ellipsis_vertical.d.ts +0 -3
  1673. package/dist/icons/basic/ellipsis_vertical_circle.d.ts +0 -3
  1674. package/dist/icons/basic/eye.d.ts +0 -3
  1675. package/dist/icons/basic/eye_slash.d.ts +0 -3
  1676. package/dist/icons/basic/fingerprint.d.ts +0 -3
  1677. package/dist/icons/basic/flag.d.ts +0 -3
  1678. package/dist/icons/basic/flag_wave.d.ts +0 -3
  1679. package/dist/icons/basic/flag_wave_filled.d.ts +0 -3
  1680. package/dist/icons/basic/flame.d.ts +0 -3
  1681. package/dist/icons/basic/gauge.d.ts +0 -3
  1682. package/dist/icons/basic/glasses.d.ts +0 -3
  1683. package/dist/icons/basic/graduation_cap.d.ts +0 -3
  1684. package/dist/icons/basic/hashmark.d.ts +0 -3
  1685. package/dist/icons/basic/heart.d.ts +0 -3
  1686. package/dist/icons/basic/heart_slash.d.ts +0 -3
  1687. package/dist/icons/basic/highlighter.d.ts +0 -3
  1688. package/dist/icons/basic/home.d.ts +0 -3
  1689. package/dist/icons/basic/image.d.ts +0 -3
  1690. package/dist/icons/basic/inbox.d.ts +0 -3
  1691. package/dist/icons/basic/italic.d.ts +0 -3
  1692. package/dist/icons/basic/layers.d.ts +0 -3
  1693. package/dist/icons/basic/lightening.d.ts +0 -3
  1694. package/dist/icons/basic/lightening_slash.d.ts +0 -3
  1695. package/dist/icons/basic/link.d.ts +0 -3
  1696. package/dist/icons/basic/link_slash.d.ts +0 -3
  1697. package/dist/icons/basic/loudspeaker.d.ts +0 -3
  1698. package/dist/icons/basic/maximize.d.ts +0 -3
  1699. package/dist/icons/basic/menu.d.ts +0 -3
  1700. package/dist/icons/basic/menu_circle.d.ts +0 -3
  1701. package/dist/icons/basic/menu_dots.d.ts +0 -3
  1702. package/dist/icons/basic/microphone_slash.d.ts +0 -3
  1703. package/dist/icons/basic/minimize.d.ts +0 -3
  1704. package/dist/icons/basic/minus.d.ts +0 -3
  1705. package/dist/icons/basic/minus_circle.d.ts +0 -3
  1706. package/dist/icons/basic/move_item.d.ts +0 -3
  1707. package/dist/icons/basic/new.d.ts +0 -3
  1708. package/dist/icons/basic/newspaper.d.ts +0 -3
  1709. package/dist/icons/basic/node.d.ts +0 -3
  1710. package/dist/icons/basic/note_pad.d.ts +0 -3
  1711. package/dist/icons/basic/options.d.ts +0 -3
  1712. package/dist/icons/basic/paint_brush.d.ts +0 -3
  1713. package/dist/icons/basic/paperclip.d.ts +0 -3
  1714. package/dist/icons/basic/paperclip_slash.d.ts +0 -3
  1715. package/dist/icons/basic/pencil.d.ts +0 -3
  1716. package/dist/icons/basic/pencil_pad.d.ts +0 -3
  1717. package/dist/icons/basic/plus.d.ts +0 -3
  1718. package/dist/icons/basic/plus_circle.d.ts +0 -3
  1719. package/dist/icons/basic/presentation.d.ts +0 -3
  1720. package/dist/icons/basic/printer.d.ts +0 -3
  1721. package/dist/icons/basic/profile.d.ts +0 -3
  1722. package/dist/icons/basic/profile_check.d.ts +0 -3
  1723. package/dist/icons/basic/pulse.d.ts +0 -3
  1724. package/dist/icons/basic/qr_code.d.ts +0 -3
  1725. package/dist/icons/basic/resize.d.ts +0 -3
  1726. package/dist/icons/basic/scan.d.ts +0 -3
  1727. package/dist/icons/basic/scissors.d.ts +0 -3
  1728. package/dist/icons/basic/screenshot.d.ts +0 -3
  1729. package/dist/icons/basic/search.d.ts +0 -3
  1730. package/dist/icons/basic/select_item.d.ts +0 -3
  1731. package/dist/icons/basic/settings.d.ts +0 -3
  1732. package/dist/icons/basic/share.d.ts +0 -3
  1733. package/dist/icons/basic/share_external.d.ts +0 -3
  1734. package/dist/icons/basic/square.d.ts +0 -3
  1735. package/dist/icons/basic/star.d.ts +0 -3
  1736. package/dist/icons/basic/star_circle.d.ts +0 -3
  1737. package/dist/icons/basic/star_filled.d.ts +0 -3
  1738. package/dist/icons/basic/star_filled_half.d.ts +0 -3
  1739. package/dist/icons/basic/star_slash.d.ts +0 -3
  1740. package/dist/icons/basic/sticker.d.ts +0 -3
  1741. package/dist/icons/basic/strikethrough.d.ts +0 -3
  1742. package/dist/icons/basic/subtask.d.ts +0 -3
  1743. package/dist/icons/basic/tax.d.ts +0 -3
  1744. package/dist/icons/basic/text_bg_color.d.ts +0 -3
  1745. package/dist/icons/basic/text_color.d.ts +0 -3
  1746. package/dist/icons/basic/textbox.d.ts +0 -3
  1747. package/dist/icons/basic/thumbs_down.d.ts +0 -3
  1748. package/dist/icons/basic/thumbs_up.d.ts +0 -3
  1749. package/dist/icons/basic/thumbs_up_filled.d.ts +0 -3
  1750. package/dist/icons/basic/toggle_left.d.ts +0 -3
  1751. package/dist/icons/basic/toggle_right.d.ts +0 -3
  1752. package/dist/icons/basic/translate.d.ts +0 -3
  1753. package/dist/icons/basic/trash.d.ts +0 -3
  1754. package/dist/icons/basic/trash_slash.d.ts +0 -3
  1755. package/dist/icons/basic/underline.d.ts +0 -3
  1756. package/dist/icons/basic/upload.d.ts +0 -3
  1757. package/dist/icons/basic/video.d.ts +0 -3
  1758. package/dist/icons/basic/video_add.d.ts +0 -3
  1759. package/dist/icons/basic/video_slash.d.ts +0 -3
  1760. package/dist/icons/basic/wrench.d.ts +0 -3
  1761. package/dist/icons/basic/zoom_in.d.ts +0 -3
  1762. package/dist/icons/basic/zoom_out.d.ts +0 -3
  1763. package/dist/icons/data/bar_chart.d.ts +0 -3
  1764. package/dist/icons/data/bar_chart_downward.d.ts +0 -3
  1765. package/dist/icons/data/bar_chart_downward_outline.d.ts +0 -3
  1766. package/dist/icons/data/bar_chart_upward.d.ts +0 -3
  1767. package/dist/icons/data/bar_chart_upward_outline.d.ts +0 -3
  1768. package/dist/icons/data/candlestick_chart.d.ts +0 -3
  1769. package/dist/icons/data/four_circles.d.ts +0 -3
  1770. package/dist/icons/data/legend_toggle.d.ts +0 -3
  1771. package/dist/icons/data/line_chart.d.ts +0 -3
  1772. package/dist/icons/data/line_chart_area.d.ts +0 -3
  1773. package/dist/icons/data/line_chart_area_shaded.d.ts +0 -3
  1774. package/dist/icons/data/line_chart_double.d.ts +0 -3
  1775. package/dist/icons/data/line_chart_downward.d.ts +0 -3
  1776. package/dist/icons/data/line_chart_node.d.ts +0 -3
  1777. package/dist/icons/data/line_chart_outline.d.ts +0 -3
  1778. package/dist/icons/data/line_chart_search.d.ts +0 -3
  1779. package/dist/icons/data/line_chart_stars.d.ts +0 -3
  1780. package/dist/icons/data/line_chart_upward.d.ts +0 -3
  1781. package/dist/icons/data/pie_chart.d.ts +0 -3
  1782. package/dist/icons/data/tree.d.ts +0 -3
  1783. package/dist/icons/email/mail.d.ts +0 -3
  1784. package/dist/icons/email/mail_check.d.ts +0 -3
  1785. package/dist/icons/email/mail_minus.d.ts +0 -3
  1786. package/dist/icons/email/mail_send.d.ts +0 -3
  1787. package/dist/icons/email/send.d.ts +0 -3
  1788. package/dist/icons/email/send_close.d.ts +0 -3
  1789. package/dist/icons/email/send_schedule.d.ts +0 -3
  1790. package/dist/icons/email/send_text.d.ts +0 -3
  1791. package/dist/icons/emoji/emoji_add.d.ts +0 -3
  1792. package/dist/icons/emoji/laughing.d.ts +0 -3
  1793. package/dist/icons/emoji/neutral.d.ts +0 -3
  1794. package/dist/icons/emoji/sad.d.ts +0 -3
  1795. package/dist/icons/emoji/shocked.d.ts +0 -3
  1796. package/dist/icons/emoji/smile.d.ts +0 -3
  1797. package/dist/icons/file/clipboard.d.ts +0 -3
  1798. package/dist/icons/file/clipboard_check.d.ts +0 -3
  1799. package/dist/icons/file/clipboard_close.d.ts +0 -3
  1800. package/dist/icons/file/clipboard_minus.d.ts +0 -3
  1801. package/dist/icons/file/clipboard_plus.d.ts +0 -3
  1802. package/dist/icons/file/clipboard_text.d.ts +0 -3
  1803. package/dist/icons/file/file.d.ts +0 -3
  1804. package/dist/icons/file/file_add.d.ts +0 -3
  1805. package/dist/icons/file/file_check.d.ts +0 -3
  1806. package/dist/icons/file/file_close.d.ts +0 -3
  1807. package/dist/icons/file/file_code.d.ts +0 -3
  1808. package/dist/icons/file/file_download.d.ts +0 -3
  1809. package/dist/icons/file/file_draft.d.ts +0 -3
  1810. package/dist/icons/file/file_gear.d.ts +0 -3
  1811. package/dist/icons/file/file_minus.d.ts +0 -3
  1812. package/dist/icons/file/file_plus.d.ts +0 -3
  1813. package/dist/icons/file/file_scan.d.ts +0 -3
  1814. package/dist/icons/file/file_shred.d.ts +0 -3
  1815. package/dist/icons/file/file_text.d.ts +0 -3
  1816. package/dist/icons/file/file_upload.d.ts +0 -3
  1817. package/dist/icons/file/folder.d.ts +0 -3
  1818. package/dist/icons/file/folder_add.d.ts +0 -3
  1819. package/dist/icons/file/folder_arrow.d.ts +0 -3
  1820. package/dist/icons/file/folder_check.d.ts +0 -3
  1821. package/dist/icons/file/folder_close.d.ts +0 -3
  1822. package/dist/icons/file/folder_cloud.d.ts +0 -3
  1823. package/dist/icons/file/folder_gear.d.ts +0 -3
  1824. package/dist/icons/file/folder_minus.d.ts +0 -3
  1825. package/dist/icons/file/folder_music.d.ts +0 -3
  1826. package/dist/icons/file/folder_open.d.ts +0 -3
  1827. package/dist/icons/file/folder_plus.d.ts +0 -3
  1828. package/dist/icons/file/folder_zip.d.ts +0 -3
  1829. package/dist/icons/file/note.d.ts +0 -3
  1830. package/dist/icons/file/note_text.d.ts +0 -3
  1831. package/dist/icons/file/pdf.d.ts +0 -3
  1832. package/dist/icons/file/photo.d.ts +0 -3
  1833. package/dist/icons/finance/bitcoin.d.ts +0 -3
  1834. package/dist/icons/finance/coins.d.ts +0 -3
  1835. package/dist/icons/finance/credit_card.d.ts +0 -3
  1836. package/dist/icons/finance/credit_card_add.d.ts +0 -3
  1837. package/dist/icons/finance/credit_card_face.d.ts +0 -3
  1838. package/dist/icons/finance/credit_card_member.d.ts +0 -3
  1839. package/dist/icons/finance/credit_card_outcome.d.ts +0 -3
  1840. package/dist/icons/finance/credit_card_scan.d.ts +0 -3
  1841. package/dist/icons/finance/credit_card_share.d.ts +0 -3
  1842. package/dist/icons/finance/credit_card_slash.d.ts +0 -3
  1843. package/dist/icons/finance/currency_exchange.d.ts +0 -3
  1844. package/dist/icons/finance/dollar.d.ts +0 -3
  1845. package/dist/icons/finance/ethereum.d.ts +0 -3
  1846. package/dist/icons/finance/paypass.d.ts +0 -3
  1847. package/dist/icons/finance/strongbox.d.ts +0 -3
  1848. package/dist/icons/finance/wallet.d.ts +0 -3
  1849. package/dist/icons/layout/block_align_bottom.d.ts +0 -3
  1850. package/dist/icons/layout/block_align_center.d.ts +0 -3
  1851. package/dist/icons/layout/block_align_left.d.ts +0 -3
  1852. package/dist/icons/layout/block_align_middle.d.ts +0 -3
  1853. package/dist/icons/layout/block_align_right.d.ts +0 -3
  1854. package/dist/icons/layout/block_align_top.d.ts +0 -3
  1855. package/dist/icons/layout/block_horizontal.d.ts +0 -3
  1856. package/dist/icons/layout/block_vertical.d.ts +0 -3
  1857. package/dist/icons/layout/edit_shape.d.ts +0 -3
  1858. package/dist/icons/layout/elements.d.ts +0 -3
  1859. package/dist/icons/layout/elements_add.d.ts +0 -3
  1860. package/dist/icons/layout/elements_filled.d.ts +0 -3
  1861. package/dist/icons/layout/elements_masonry.d.ts +0 -3
  1862. package/dist/icons/layout/frame.d.ts +0 -3
  1863. package/dist/icons/layout/frame_stack.d.ts +0 -3
  1864. package/dist/icons/layout/grid.d.ts +0 -3
  1865. package/dist/icons/layout/grid_column_three.d.ts +0 -3
  1866. package/dist/icons/layout/grid_column_two.d.ts +0 -3
  1867. package/dist/icons/layout/grid_dynamic.d.ts +0 -3
  1868. package/dist/icons/layout/grid_frame.d.ts +0 -3
  1869. package/dist/icons/layout/grid_row_three.d.ts +0 -3
  1870. package/dist/icons/layout/grid_row_two.d.ts +0 -3
  1871. package/dist/icons/layout/grid_six.d.ts +0 -3
  1872. package/dist/icons/layout/grid_small.d.ts +0 -3
  1873. package/dist/icons/layout/iframe.d.ts +0 -3
  1874. package/dist/icons/layout/kanban.d.ts +0 -3
  1875. package/dist/icons/layout/layout.d.ts +0 -3
  1876. package/dist/icons/layout/list.d.ts +0 -3
  1877. package/dist/icons/layout/list_filled.d.ts +0 -3
  1878. package/dist/icons/layout/padding.d.ts +0 -3
  1879. package/dist/icons/layout/page_break.d.ts +0 -3
  1880. package/dist/icons/layout/rotate_left.d.ts +0 -3
  1881. package/dist/icons/layout/rotate_right.d.ts +0 -3
  1882. package/dist/icons/layout/ruler.d.ts +0 -3
  1883. package/dist/icons/layout/segment.d.ts +0 -3
  1884. package/dist/icons/layout/select_area.d.ts +0 -3
  1885. package/dist/icons/layout/select_boundary.d.ts +0 -3
  1886. package/dist/icons/layout/sidebar_left.d.ts +0 -3
  1887. package/dist/icons/layout/sidebar_right.d.ts +0 -3
  1888. package/dist/icons/layout/slides.d.ts +0 -3
  1889. package/dist/icons/layout/slides_horizontal.d.ts +0 -3
  1890. package/dist/icons/layout/slides_vertical.d.ts +0 -3
  1891. package/dist/icons/layout/stack.d.ts +0 -3
  1892. package/dist/icons/layout/text.d.ts +0 -3
  1893. package/dist/icons/maps/atlas.d.ts +0 -3
  1894. package/dist/icons/maps/compass.d.ts +0 -3
  1895. package/dist/icons/maps/direction.d.ts +0 -3
  1896. package/dist/icons/maps/direction_angled.d.ts +0 -3
  1897. package/dist/icons/maps/globe.d.ts +0 -3
  1898. package/dist/icons/maps/globe_slash.d.ts +0 -3
  1899. package/dist/icons/maps/location.d.ts +0 -3
  1900. package/dist/icons/maps/location_slash.d.ts +0 -3
  1901. package/dist/icons/maps/map.d.ts +0 -3
  1902. package/dist/icons/maps/marker.d.ts +0 -3
  1903. package/dist/icons/maps/panorama.d.ts +0 -3
  1904. package/dist/icons/maps/pin.d.ts +0 -3
  1905. package/dist/icons/maps/pin_arrow.d.ts +0 -3
  1906. package/dist/icons/maps/pin_location.d.ts +0 -3
  1907. package/dist/icons/maps/pin_plus.d.ts +0 -3
  1908. package/dist/icons/maps/pin_question.d.ts +0 -3
  1909. package/dist/icons/maps/pin_slash.d.ts +0 -3
  1910. package/dist/icons/maps/push_pin.d.ts +0 -3
  1911. package/dist/icons/maps/push_pin_filled.d.ts +0 -3
  1912. package/dist/icons/maps/push_pin_slash.d.ts +0 -3
  1913. package/dist/icons/maps/radar.d.ts +0 -3
  1914. package/dist/icons/maps/route.d.ts +0 -3
  1915. package/dist/icons/message/bubble.d.ts +0 -3
  1916. package/dist/icons/message/bubble_question.d.ts +0 -3
  1917. package/dist/icons/message/comment.d.ts +0 -3
  1918. package/dist/icons/message/comment_add.d.ts +0 -3
  1919. package/dist/icons/message/comment_check.d.ts +0 -3
  1920. package/dist/icons/message/comment_close.d.ts +0 -3
  1921. package/dist/icons/message/comment_minus.d.ts +0 -3
  1922. package/dist/icons/message/comment_text.d.ts +0 -3
  1923. package/dist/icons/misc/advertisement.d.ts +0 -3
  1924. package/dist/icons/misc/atom.d.ts +0 -3
  1925. package/dist/icons/misc/bone.d.ts +0 -3
  1926. package/dist/icons/misc/brightness_high.d.ts +0 -3
  1927. package/dist/icons/misc/brightness_low.d.ts +0 -3
  1928. package/dist/icons/misc/contrast.d.ts +0 -3
  1929. package/dist/icons/misc/crosshairs.d.ts +0 -3
  1930. package/dist/icons/misc/crown.d.ts +0 -3
  1931. package/dist/icons/misc/footprint.d.ts +0 -3
  1932. package/dist/icons/misc/form.d.ts +0 -3
  1933. package/dist/icons/misc/funnel.d.ts +0 -3
  1934. package/dist/icons/misc/infinite.d.ts +0 -3
  1935. package/dist/icons/misc/insert_button.d.ts +0 -3
  1936. package/dist/icons/misc/light_bulb.d.ts +0 -3
  1937. package/dist/icons/misc/moon.d.ts +0 -3
  1938. package/dist/icons/misc/nut.d.ts +0 -3
  1939. package/dist/icons/misc/planet.d.ts +0 -3
  1940. package/dist/icons/misc/plus_thick.d.ts +0 -3
  1941. package/dist/icons/misc/pocket.d.ts +0 -3
  1942. package/dist/icons/misc/rocket.d.ts +0 -3
  1943. package/dist/icons/misc/soup.d.ts +0 -3
  1944. package/dist/icons/misc/sun.d.ts +0 -3
  1945. package/dist/icons/misc/toy_horse.d.ts +0 -3
  1946. package/dist/icons/misc/trophy.d.ts +0 -3
  1947. package/dist/icons/misc/watercloset.d.ts +0 -3
  1948. package/dist/icons/notifications/alert_circle.d.ts +0 -3
  1949. package/dist/icons/notifications/alert_octogon.d.ts +0 -3
  1950. package/dist/icons/notifications/alert_triangle.d.ts +0 -3
  1951. package/dist/icons/notifications/app_notification.d.ts +0 -3
  1952. package/dist/icons/notifications/bell.d.ts +0 -3
  1953. package/dist/icons/notifications/bell_alert.d.ts +0 -3
  1954. package/dist/icons/notifications/bell_checkmark.d.ts +0 -3
  1955. package/dist/icons/notifications/bell_minus.d.ts +0 -3
  1956. package/dist/icons/notifications/bell_plus.d.ts +0 -3
  1957. package/dist/icons/notifications/bell_ring.d.ts +0 -3
  1958. package/dist/icons/notifications/bell_slash.d.ts +0 -3
  1959. package/dist/icons/notifications/close_octogon.d.ts +0 -3
  1960. package/dist/icons/notifications/information.d.ts +0 -3
  1961. package/dist/icons/notifications/minus_octogon.d.ts +0 -3
  1962. package/dist/icons/notifications/question_circle.d.ts +0 -3
  1963. package/dist/icons/people/group.d.ts +0 -3
  1964. package/dist/icons/people/group_add.d.ts +0 -3
  1965. package/dist/icons/people/group_chat.d.ts +0 -3
  1966. package/dist/icons/people/group_remove.d.ts +0 -3
  1967. package/dist/icons/people/group_send.d.ts +0 -3
  1968. package/dist/icons/people/groups.d.ts +0 -3
  1969. package/dist/icons/people/person.d.ts +0 -3
  1970. package/dist/icons/people/person_add.d.ts +0 -3
  1971. package/dist/icons/people/person_checkmark.d.ts +0 -3
  1972. package/dist/icons/people/person_circle.d.ts +0 -3
  1973. package/dist/icons/people/person_close.d.ts +0 -3
  1974. package/dist/icons/people/person_remove.d.ts +0 -3
  1975. package/dist/icons/people/person_slash.d.ts +0 -3
  1976. package/dist/icons/phone/keypad.d.ts +0 -3
  1977. package/dist/icons/phone/phone.d.ts +0 -3
  1978. package/dist/icons/phone/phone_add.d.ts +0 -3
  1979. package/dist/icons/phone/phone_calling.d.ts +0 -3
  1980. package/dist/icons/phone/phone_check.d.ts +0 -3
  1981. package/dist/icons/phone/phone_close.d.ts +0 -3
  1982. package/dist/icons/phone/phone_decline.d.ts +0 -3
  1983. package/dist/icons/phone/phone_end.d.ts +0 -3
  1984. package/dist/icons/phone/phone_forwarded.d.ts +0 -3
  1985. package/dist/icons/phone/phone_hash.d.ts +0 -3
  1986. package/dist/icons/phone/phone_incoming.d.ts +0 -3
  1987. package/dist/icons/phone/phone_missed.d.ts +0 -3
  1988. package/dist/icons/phone/phone_outgoing.d.ts +0 -3
  1989. package/dist/icons/phone/phone_pause.d.ts +0 -3
  1990. package/dist/icons/phone/phone_slash.d.ts +0 -3
  1991. package/dist/icons/phone/voicemail.d.ts +0 -3
  1992. package/dist/icons/security/key.d.ts +0 -3
  1993. package/dist/icons/security/key_slash.d.ts +0 -3
  1994. package/dist/icons/security/lock.d.ts +0 -3
  1995. package/dist/icons/security/lock_circle.d.ts +0 -3
  1996. package/dist/icons/security/lock_open.d.ts +0 -3
  1997. package/dist/icons/security/lock_slash.d.ts +0 -3
  1998. package/dist/icons/security/shield.d.ts +0 -3
  1999. package/dist/icons/security/shield_checkmark.d.ts +0 -3
  2000. package/dist/icons/security/shield_lock.d.ts +0 -3
  2001. package/dist/icons/security/shield_slash.d.ts +0 -3
  2002. package/dist/icons/security/verified.d.ts +0 -3
  2003. package/dist/icons/shopping/basket.d.ts +0 -3
  2004. package/dist/icons/shopping/cart.d.ts +0 -3
  2005. package/dist/icons/shopping/cart_filled.d.ts +0 -3
  2006. package/dist/icons/shopping/coupon.d.ts +0 -3
  2007. package/dist/icons/shopping/coupon_cut.d.ts +0 -3
  2008. package/dist/icons/shopping/delivery.d.ts +0 -3
  2009. package/dist/icons/shopping/discount.d.ts +0 -3
  2010. package/dist/icons/shopping/gift.d.ts +0 -3
  2011. package/dist/icons/shopping/gift_bag.d.ts +0 -3
  2012. package/dist/icons/shopping/inventory.d.ts +0 -3
  2013. package/dist/icons/shopping/point_of_sale.d.ts +0 -3
  2014. package/dist/icons/shopping/shirt.d.ts +0 -3
  2015. package/dist/icons/shopping/tag.d.ts +0 -3
  2016. package/dist/icons/shopping/tag_diagonal.d.ts +0 -3
  2017. package/dist/icons/shopping/tote.d.ts +0 -3
  2018. package/dist/icons/special/upload_audio.d.ts +0 -11
  2019. package/dist/icons/special/upload_file.d.ts +0 -11
  2020. package/dist/icons/special/upload_image.d.ts +0 -11
  2021. package/dist/icons/special/upload_video.d.ts +0 -11
  2022. package/dist/icons/symbols/at.d.ts +0 -3
  2023. package/dist/icons/symbols/cc.d.ts +0 -3
  2024. package/dist/icons/symbols/cmd.d.ts +0 -3
  2025. package/dist/icons/symbols/facebook.d.ts +0 -3
  2026. package/dist/icons/symbols/google.d.ts +0 -3
  2027. package/dist/icons/symbols/hash.d.ts +0 -3
  2028. package/dist/icons/symbols/instagram.d.ts +0 -3
  2029. package/dist/icons/symbols/messenger.d.ts +0 -3
  2030. package/dist/icons/symbols/twitter.d.ts +0 -3
  2031. package/dist/icons/technology/battery.d.ts +0 -3
  2032. package/dist/icons/technology/battery_100.d.ts +0 -3
  2033. package/dist/icons/technology/battery_20.d.ts +0 -3
  2034. package/dist/icons/technology/battery_40.d.ts +0 -3
  2035. package/dist/icons/technology/battery_60.d.ts +0 -3
  2036. package/dist/icons/technology/battery_80.d.ts +0 -3
  2037. package/dist/icons/technology/battery_charging.d.ts +0 -3
  2038. package/dist/icons/technology/battery_slash.d.ts +0 -3
  2039. package/dist/icons/technology/devices.d.ts +0 -3
  2040. package/dist/icons/technology/floppy_disk.d.ts +0 -3
  2041. package/dist/icons/technology/iphone.d.ts +0 -3
  2042. package/dist/icons/technology/laptop.d.ts +0 -3
  2043. package/dist/icons/technology/mobile.d.ts +0 -3
  2044. package/dist/icons/technology/monitor.d.ts +0 -3
  2045. package/dist/icons/technology/server.d.ts +0 -3
  2046. package/dist/icons/technology/sim_card.d.ts +0 -3
  2047. package/dist/icons/technology/usb_stick.d.ts +0 -3
  2048. package/dist/icons/text/align_center.d.ts +0 -3
  2049. package/dist/icons/text/align_justified.d.ts +0 -3
  2050. package/dist/icons/text/align_left.d.ts +0 -3
  2051. package/dist/icons/text/align_right.d.ts +0 -3
  2052. package/dist/icons/text/code_block.d.ts +0 -3
  2053. package/dist/icons/text/divider.d.ts +0 -3
  2054. package/dist/icons/text/footnote.d.ts +0 -3
  2055. package/dist/icons/text/indent_decrease.d.ts +0 -3
  2056. package/dist/icons/text/indent_increase.d.ts +0 -3
  2057. package/dist/icons/text/list_ordered.d.ts +0 -3
  2058. package/dist/icons/text/list_unordered.d.ts +0 -3
  2059. package/dist/icons/text/quote.d.ts +0 -3
  2060. package/dist/icons/text/table.d.ts +0 -3
  2061. package/dist/icons/time/alarm.d.ts +0 -3
  2062. package/dist/icons/time/alarm_checkmark.d.ts +0 -3
  2063. package/dist/icons/time/alarm_minus.d.ts +0 -3
  2064. package/dist/icons/time/alarm_plus.d.ts +0 -3
  2065. package/dist/icons/time/alarm_slash.d.ts +0 -3
  2066. package/dist/icons/time/alarm_snooze.d.ts +0 -3
  2067. package/dist/icons/time/calendar.d.ts +0 -3
  2068. package/dist/icons/time/calendar_add.d.ts +0 -3
  2069. package/dist/icons/time/calendar_checkmark.d.ts +0 -3
  2070. package/dist/icons/time/calendar_close.d.ts +0 -3
  2071. package/dist/icons/time/calendar_dates.d.ts +0 -3
  2072. package/dist/icons/time/calendar_minus.d.ts +0 -3
  2073. package/dist/icons/time/calendar_plus.d.ts +0 -3
  2074. package/dist/icons/time/calendar_scroll.d.ts +0 -3
  2075. package/dist/icons/time/clock.d.ts +0 -3
  2076. package/dist/icons/time/clock_history.d.ts +0 -3
  2077. package/dist/icons/time/stopwatch.d.ts +0 -3
  2078. package/dist/icons/time/timer.d.ts +0 -3
  2079. package/dist/icons/time/watch.d.ts +0 -3
  2080. package/dist/index.js +0 -48153
  2081. package/dist/types/attributes.d.ts +0 -50
  2082. /package/dist/{common → src/common}/colors.d.ts +0 -0
  2083. /package/dist/{common → src/common}/date.d.ts +0 -0
  2084. /package/dist/{common → src/common}/index.d.ts +0 -0
  2085. /package/dist/{components → src/components}/actions/button/index.d.ts +0 -0
  2086. /package/dist/{components → src/components}/actions/dropdown/index.d.ts +0 -0
  2087. /package/dist/{components → src/components}/actions/index.d.ts +0 -0
  2088. /package/dist/{components → src/components}/actions/rate/index.d.ts +0 -0
  2089. /package/dist/{components → src/components}/actions/rate/rate.d.ts +0 -0
  2090. /package/dist/{components → src/components}/actions/switch/index.d.ts +0 -0
  2091. /package/dist/{components → src/components}/actions/switch/switch.d.ts +0 -0
  2092. /package/dist/{components → src/components}/actions/toggle/index.d.ts +0 -0
  2093. /package/dist/{components → src/components}/actions/toggle/toggle.d.ts +0 -0
  2094. /package/dist/{components → src/components}/actions/upload/index.d.ts +0 -0
  2095. /package/dist/{components → src/components}/atoms/box/index.d.ts +0 -0
  2096. /package/dist/{components → src/components}/atoms/colors/colors.d.ts +0 -0
  2097. /package/dist/{components → src/components}/atoms/colors/index.d.ts +0 -0
  2098. /package/dist/{components → src/components}/atoms/hide/hide.d.ts +0 -0
  2099. /package/dist/{components → src/components}/atoms/hide/index.d.ts +0 -0
  2100. /package/dist/{components → src/components}/atoms/index.d.ts +0 -0
  2101. /package/dist/{components → src/components}/atoms/seconds_to_duration/index.d.ts +0 -0
  2102. /package/dist/{components → src/components}/atoms/seconds_to_duration/seconds_to_duration.d.ts +0 -0
  2103. /package/dist/{components → src/components}/atoms/time_ago/index.d.ts +0 -0
  2104. /package/dist/{components → src/components}/atoms/time_ago/time_ago.d.ts +0 -0
  2105. /package/dist/{components → src/components}/atoms/typography/index.d.ts +0 -0
  2106. /package/dist/{components → src/components}/card/action/action.d.ts +0 -0
  2107. /package/dist/{components → src/components}/card/action/index.d.ts +0 -0
  2108. /package/dist/{components → src/components}/card/audio/audio.d.ts +0 -0
  2109. /package/dist/{components → src/components}/card/audio/index.d.ts +0 -0
  2110. /package/dist/{components → src/components}/card/feature/feature.d.ts +0 -0
  2111. /package/dist/{components → src/components}/card/feature/index.d.ts +0 -0
  2112. /package/dist/{components → src/components}/card/index.d.ts +0 -0
  2113. /package/dist/{components → src/components}/card/meeting/index.d.ts +0 -0
  2114. /package/dist/{components → src/components}/card/person/index.d.ts +0 -0
  2115. /package/dist/{components → src/components}/card/price/index.d.ts +0 -0
  2116. /package/dist/{components → src/components}/card/regular/index.d.ts +0 -0
  2117. /package/dist/{components → src/components}/card/regular/regular.d.ts +0 -0
  2118. /package/dist/{components → src/components}/card/video/index.d.ts +0 -0
  2119. /package/dist/{components → src/components}/card/video/video.d.ts +0 -0
  2120. /package/dist/{components → src/components}/card/written/index.d.ts +0 -0
  2121. /package/dist/{components → src/components}/card/written/written.d.ts +0 -0
  2122. /package/dist/{components → src/components}/custom/courses_selection/courses_selection.d.ts +0 -0
  2123. /package/dist/{components → src/components}/custom/courses_selection/index.d.ts +0 -0
  2124. /package/dist/{components → src/components}/custom/index.d.ts +0 -0
  2125. /package/dist/{components → src/components}/custom/users_selection/index.d.ts +0 -0
  2126. /package/dist/{components → src/components}/editor/constants.d.ts +0 -0
  2127. /package/dist/{components → src/components}/editor/context.d.ts +0 -0
  2128. /package/dist/{components → src/components}/editor/editor.d.ts +0 -0
  2129. /package/dist/{components → src/components}/editor/icons/border-all.d.ts +0 -0
  2130. /package/dist/{components → src/components}/editor/icons/border-bottom.d.ts +0 -0
  2131. /package/dist/{components → src/components}/editor/icons/border-left.d.ts +0 -0
  2132. /package/dist/{components → src/components}/editor/icons/border-none.d.ts +0 -0
  2133. /package/dist/{components → src/components}/editor/icons/border-right.d.ts +0 -0
  2134. /package/dist/{components → src/components}/editor/icons/border-top.d.ts +0 -0
  2135. /package/dist/{components → src/components}/editor/icons/index.d.ts +0 -0
  2136. /package/dist/{components → src/components}/editor/index.d.ts +0 -0
  2137. /package/dist/{components → src/components}/editor/navbar/alignment_dropdown.d.ts +0 -0
  2138. /package/dist/{components → src/components}/editor/navbar/button_modal.d.ts +0 -0
  2139. /package/dist/{components → src/components}/editor/navbar/index.d.ts +0 -0
  2140. /package/dist/{components → src/components}/editor/navbar/navbar.d.ts +0 -0
  2141. /package/dist/{components → src/components}/editor/navbar/style_dropdown.d.ts +0 -0
  2142. /package/dist/{components → src/components}/editor/plugins/blocks/blockquote.d.ts +0 -0
  2143. /package/dist/{components → src/components}/editor/plugins/blocks/blocks.d.ts +0 -0
  2144. /package/dist/{components → src/components}/editor/plugins/blocks/buttons.d.ts +0 -0
  2145. /package/dist/{components → src/components}/editor/plugins/blocks/dropdown-menu.d.ts +0 -0
  2146. /package/dist/{components → src/components}/editor/plugins/blocks/image.d.ts +0 -0
  2147. /package/dist/{components → src/components}/editor/plugins/blocks/index.d.ts +0 -0
  2148. /package/dist/{components → src/components}/editor/plugins/blocks/list.d.ts +0 -0
  2149. /package/dist/{components → src/components}/editor/plugins/blocks/media-popover.d.ts +0 -0
  2150. /package/dist/{components → src/components}/editor/plugins/blocks/plate-button.d.ts +0 -0
  2151. /package/dist/{components → src/components}/editor/plugins/blocks/popover.d.ts +0 -0
  2152. /package/dist/{components → src/components}/editor/plugins/blocks/qa.d.ts +0 -0
  2153. /package/dist/{components → src/components}/editor/plugins/blocks/resizable.d.ts +0 -0
  2154. /package/dist/{components → src/components}/editor/plugins/blocks/separator.d.ts +0 -0
  2155. /package/dist/{components → src/components}/editor/plugins/blocks/table-cell.d.ts +0 -0
  2156. /package/dist/{components → src/components}/editor/plugins/blocks/table-row.d.ts +0 -0
  2157. /package/dist/{components → src/components}/editor/plugins/blocks/table.d.ts +0 -0
  2158. /package/dist/{components → src/components}/editor/plugins/blocks/text.d.ts +0 -0
  2159. /package/dist/{components → src/components}/editor/plugins/blocks/video.d.ts +0 -0
  2160. /package/dist/{components → src/components}/editor/plugins/index.d.ts +0 -0
  2161. /package/dist/{components → src/components}/editor/plugins/leafs/index.d.ts +0 -0
  2162. /package/dist/{components → src/components}/editor/plugins/leafs/leafs.d.ts +0 -0
  2163. /package/dist/{components → src/components}/editor/plugins/leafs/link.d.ts +0 -0
  2164. /package/dist/{components → src/components}/editor/plugins/marks/index.d.ts +0 -0
  2165. /package/dist/{components → src/components}/editor/plugins/marks/marks.d.ts +0 -0
  2166. /package/dist/{components → src/components}/editor/plugins/plate.d.ts +0 -0
  2167. /package/dist/{components → src/components}/editor/plugins/utils/exitBreak.d.ts +0 -0
  2168. /package/dist/{components → src/components}/editor/plugins/utils/index.d.ts +0 -0
  2169. /package/dist/{components → src/components}/editor/plugins/utils/resetBlockType.d.ts +0 -0
  2170. /package/dist/{components → src/components}/editor/plugins/utils/selectOnBackspace.d.ts +0 -0
  2171. /package/dist/{components → src/components}/editor/plugins/utils/softBreak.d.ts +0 -0
  2172. /package/dist/{components → src/components}/editor/plugins/utils/utils.d.ts +0 -0
  2173. /package/dist/{components → src/components}/editor/simple_editor/index.d.ts +0 -0
  2174. /package/dist/{components → src/components}/editor/simple_editor/plugins.d.ts +0 -0
  2175. /package/dist/{components → src/components}/editor/simple_editor/simple_editor.d.ts +0 -0
  2176. /package/dist/{components → src/components}/feedback/animated_toast/index.d.ts +0 -0
  2177. /package/dist/{components → src/components}/feedback/badge/badge.d.ts +0 -0
  2178. /package/dist/{components → src/components}/feedback/badge/index.d.ts +0 -0
  2179. /package/dist/{components → src/components}/feedback/banner/banner.d.ts +0 -0
  2180. /package/dist/{components → src/components}/feedback/banner/index.d.ts +0 -0
  2181. /package/dist/{components → src/components}/feedback/chip/chip.d.ts +0 -0
  2182. /package/dist/{components → src/components}/feedback/chip/index.d.ts +0 -0
  2183. /package/dist/{components → src/components}/feedback/index.d.ts +0 -0
  2184. /package/dist/{components → src/components}/feedback/loader/index.d.ts +0 -0
  2185. /package/dist/{components → src/components}/feedback/notification/index.d.ts +0 -0
  2186. /package/dist/{components → src/components}/feedback/notification/notification.d.ts +0 -0
  2187. /package/dist/{components → src/components}/feedback/progress/index.d.ts +0 -0
  2188. /package/dist/{components → src/components}/feedback/progress/progress.d.ts +0 -0
  2189. /package/dist/{components → src/components}/feedback/toast/index.d.ts +0 -0
  2190. /package/dist/{components → src/components}/feedback/toast/toast.d.ts +0 -0
  2191. /package/dist/{components → src/components}/feedback/tooltip/index.d.ts +0 -0
  2192. /package/dist/{components → src/components}/feedback/tooltip/tooltip.d.ts +0 -0
  2193. /package/dist/{components → src/components}/iconography/avatar/avatar.d.ts +0 -0
  2194. /package/dist/{components → src/components}/iconography/avatar/icons/approved.d.ts +0 -0
  2195. /package/dist/{components → src/components}/iconography/avatar/icons/busy.d.ts +0 -0
  2196. /package/dist/{components → src/components}/iconography/avatar/icons/declined.d.ts +0 -0
  2197. /package/dist/{components → src/components}/iconography/avatar/icons/default.d.ts +0 -0
  2198. /package/dist/{components → src/components}/iconography/avatar/icons/focus.d.ts +0 -0
  2199. /package/dist/{components → src/components}/iconography/avatar/icons/index.d.ts +0 -0
  2200. /package/dist/{components → src/components}/iconography/avatar/icons/locked.d.ts +0 -0
  2201. /package/dist/{components → src/components}/iconography/avatar/icons/offline.d.ts +0 -0
  2202. /package/dist/{components → src/components}/iconography/avatar/icons/online.d.ts +0 -0
  2203. /package/dist/{components → src/components}/iconography/avatar/icons/subscribed.d.ts +0 -0
  2204. /package/dist/{components → src/components}/iconography/avatar/index.d.ts +0 -0
  2205. /package/dist/{components → src/components}/iconography/icon/index.d.ts +0 -0
  2206. /package/dist/{components → src/components}/iconography/index.d.ts +0 -0
  2207. /package/dist/{components → src/components}/index.d.ts +0 -0
  2208. /package/dist/{components → src/components}/input/calendar/calendar.d.ts +0 -0
  2209. /package/dist/{components → src/components}/input/calendar/index.d.ts +0 -0
  2210. /package/dist/{components → src/components}/input/checkbox/checkbox.d.ts +0 -0
  2211. /package/dist/{components → src/components}/input/checkbox/index.d.ts +0 -0
  2212. /package/dist/{components → src/components}/input/date/date.d.ts +0 -0
  2213. /package/dist/{components → src/components}/input/date/index.d.ts +0 -0
  2214. /package/dist/{components → src/components}/input/filter/filter.d.ts +0 -0
  2215. /package/dist/{components → src/components}/input/filter/filter_option.d.ts +0 -0
  2216. /package/dist/{components → src/components}/input/filter/index.d.ts +0 -0
  2217. /package/dist/{components → src/components}/input/index.d.ts +0 -0
  2218. /package/dist/{components → src/components}/input/radio/index.d.ts +0 -0
  2219. /package/dist/{components → src/components}/input/search/index.d.ts +0 -0
  2220. /package/dist/{components → src/components}/input/search/search.d.ts +0 -0
  2221. /package/dist/{components → src/components}/input/select/index.d.ts +0 -0
  2222. /package/dist/{components → src/components}/input/select/select.d.ts +0 -0
  2223. /package/dist/{components → src/components}/input/text_area/index.d.ts +0 -0
  2224. /package/dist/{components → src/components}/input/text_area/text_area.d.ts +0 -0
  2225. /package/dist/{components → src/components}/input/text_input/index.d.ts +0 -0
  2226. /package/dist/{components → src/components}/input/text_input/text_input.d.ts +0 -0
  2227. /package/dist/{components → src/components}/input/time/index.d.ts +0 -0
  2228. /package/dist/{components → src/components}/input/time/time.d.ts +0 -0
  2229. /package/dist/{components → src/components}/media/common.d.ts +0 -0
  2230. /package/dist/{components → src/components}/media/index.d.ts +0 -0
  2231. /package/dist/{components → src/components}/media/video/index.d.ts +0 -0
  2232. /package/dist/{components → src/components}/media/video/video.d.ts +0 -0
  2233. /package/dist/{components → src/components}/media/video-player/index.d.ts +0 -0
  2234. /package/dist/{components → src/components}/media/video-player/playlist-item.d.ts +0 -0
  2235. /package/dist/{components → src/components}/navigation/breadcrumb/breadcrumb.d.ts +0 -0
  2236. /package/dist/{components → src/components}/navigation/breadcrumb/index.d.ts +0 -0
  2237. /package/dist/{components → src/components}/navigation/index.d.ts +0 -0
  2238. /package/dist/{components → src/components}/navigation/inner/index.d.ts +0 -0
  2239. /package/dist/{components → src/components}/navigation/tabs/index.d.ts +0 -0
  2240. /package/dist/{components → src/components}/navigation/tabs/tabs.d.ts +0 -0
  2241. /package/dist/{components → src/components}/surfaces/accordion/accordion.d.ts +0 -0
  2242. /package/dist/{components → src/components}/surfaces/accordion/index.d.ts +0 -0
  2243. /package/dist/{components → src/components}/surfaces/calendar_date/calendar_date.d.ts +0 -0
  2244. /package/dist/{components → src/components}/surfaces/calendar_date/index.d.ts +0 -0
  2245. /package/dist/{components → src/components}/surfaces/carousel/card/card.d.ts +0 -0
  2246. /package/dist/{components → src/components}/surfaces/carousel/card/index.d.ts +0 -0
  2247. /package/dist/{components → src/components}/surfaces/carousel/index.d.ts +0 -0
  2248. /package/dist/{components → src/components}/surfaces/comment/comment.d.ts +0 -0
  2249. /package/dist/{components → src/components}/surfaces/comment/helpers.d.ts +0 -0
  2250. /package/dist/{components → src/components}/surfaces/comment/index.d.ts +0 -0
  2251. /package/dist/{components → src/components}/surfaces/drawer/drawer.d.ts +0 -0
  2252. /package/dist/{components → src/components}/surfaces/drawer/index.d.ts +0 -0
  2253. /package/dist/{components → src/components}/surfaces/index.d.ts +0 -0
  2254. /package/dist/{components → src/components}/surfaces/message/index.d.ts +0 -0
  2255. /package/dist/{components → src/components}/surfaces/message/message.d.ts +0 -0
  2256. /package/dist/{components → src/components}/surfaces/modal/index.d.ts +0 -0
  2257. /package/dist/{components → src/components}/surfaces/modal/modal.d.ts +0 -0
  2258. /package/dist/{components → src/components}/surfaces/portal/index.d.ts +0 -0
  2259. /package/dist/{components → src/components}/surfaces/portal/portal.d.ts +0 -0
  2260. /package/dist/{components → src/components}/surfaces/post/index.d.ts +0 -0
  2261. /package/dist/{components → src/components}/surfaces/post/post.d.ts +0 -0
  2262. /package/dist/{components → src/components}/table/index.d.ts +0 -0
  2263. /package/dist/{components → src/components}/table/table/index.d.ts +0 -0
  2264. /package/dist/{components → src/components}/table/table/table.d.ts +0 -0
  2265. /package/dist/{icons → src/icons}/arrow/index.d.ts +0 -0
  2266. /package/dist/{icons → src/icons}/audio_video/index.d.ts +0 -0
  2267. /package/dist/{icons → src/icons}/basic/index.d.ts +0 -0
  2268. /package/dist/{icons → src/icons}/data/index.d.ts +0 -0
  2269. /package/dist/{icons → src/icons}/email/index.d.ts +0 -0
  2270. /package/dist/{icons → src/icons}/emoji/index.d.ts +0 -0
  2271. /package/dist/{icons → src/icons}/file/index.d.ts +0 -0
  2272. /package/dist/{icons → src/icons}/finance/index.d.ts +0 -0
  2273. /package/dist/{icons → src/icons}/index.d.ts +0 -0
  2274. /package/dist/{icons → src/icons}/layout/index.d.ts +0 -0
  2275. /package/dist/{icons → src/icons}/maps/index.d.ts +0 -0
  2276. /package/dist/{icons → src/icons}/message/index.d.ts +0 -0
  2277. /package/dist/{icons → src/icons}/misc/index.d.ts +0 -0
  2278. /package/dist/{icons → src/icons}/notifications/index.d.ts +0 -0
  2279. /package/dist/{icons → src/icons}/people/index.d.ts +0 -0
  2280. /package/dist/{icons → src/icons}/phone/index.d.ts +0 -0
  2281. /package/dist/{icons → src/icons}/security/index.d.ts +0 -0
  2282. /package/dist/{icons → src/icons}/shopping/index.d.ts +0 -0
  2283. /package/dist/{icons → src/icons}/special/index.d.ts +0 -0
  2284. /package/dist/{icons → src/icons}/symbols/index.d.ts +0 -0
  2285. /package/dist/{icons → src/icons}/technology/index.d.ts +0 -0
  2286. /package/dist/{icons → src/icons}/text/index.d.ts +0 -0
  2287. /package/dist/{icons → src/icons}/time/index.d.ts +0 -0
  2288. /package/dist/{index.d.ts → src/index.d.ts} +0 -0
  2289. /package/dist/{types → src/types}/index.d.ts +0 -0
  2290. /package/dist/{utils → src/utils}/date.d.ts +0 -0
  2291. /package/dist/{utils → src/utils}/function.d.ts +0 -0
  2292. /package/dist/{utils → src/utils}/index.d.ts +0 -0
@@ -0,0 +1,2656 @@
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;