@lotte-innovate/ui-component-test 0.0.89 → 0.0.96

Sign up to get free protection for your applications and to get access to all the features.
Files changed (690) hide show
  1. package/README.md +108 -19
  2. package/dist/globals.css +3 -3
  3. package/dist/lib/Typography/Header/index.d.ts +6 -4
  4. package/dist/lib/Typography/Header/index.js +2 -1
  5. package/dist/lib/Typography/Header/index.mjs +2 -1
  6. package/dist/lib/Typography/Header/index.mjs.map +1 -1
  7. package/dist/lib/Typography/Text/index.js +1 -0
  8. package/dist/lib/Typography/Text/index.mjs +1 -0
  9. package/dist/lib/Typography/Text/index.mjs.map +1 -1
  10. package/dist/lib/color/constants.d.ts +1 -15
  11. package/dist/lib/color/constants.js +1 -32
  12. package/dist/lib/color/constants.mjs +1 -1
  13. package/dist/lib/color/constants.mjs.map +1 -1
  14. package/dist/lib/components/Accordion/index.d.ts +2 -1
  15. package/dist/lib/components/Accordion/index.js +21 -4
  16. package/dist/lib/components/Accordion/index.mjs +2 -1
  17. package/dist/lib/components/Accordion/index.mjs.map +1 -1
  18. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +2 -2
  19. package/dist/lib/components/AlertDialog/AlertDialogAction.js +4 -2
  20. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs +2 -1
  21. package/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -1
  22. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +2 -2
  23. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +1 -0
  24. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +1 -0
  25. package/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -1
  26. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +3 -3
  27. package/dist/lib/components/AlertDialog/AlertDialogContent.js +2 -1
  28. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs +2 -1
  29. package/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -1
  30. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +1 -1
  31. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +1 -0
  32. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +1 -0
  33. package/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -1
  34. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +11 -7
  35. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +2 -1
  36. package/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -1
  37. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +1 -1
  38. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +1 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +1 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -1
  41. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +3 -3
  42. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +15 -3
  43. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +2 -1
  44. package/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -1
  45. package/dist/lib/components/AlertDialog/index.d.ts +1 -0
  46. package/dist/lib/components/AlertDialog/index.js +1 -1
  47. package/dist/lib/components/AlertDialog/index.mjs.map +1 -1
  48. package/dist/lib/components/AspectRatio/index.d.ts +1 -1
  49. package/dist/lib/components/AspectRatio/index.js +4 -1
  50. package/dist/lib/components/AspectRatio/index.mjs +2 -1
  51. package/dist/lib/components/AspectRatio/index.mjs.map +1 -1
  52. package/dist/lib/components/Avatar/index.d.ts +4 -4
  53. package/dist/lib/components/Avatar/index.js +13 -4
  54. package/dist/lib/components/Avatar/index.mjs +2 -1
  55. package/dist/lib/components/Avatar/index.mjs.map +1 -1
  56. package/dist/lib/components/Badge/index.d.ts +3 -3
  57. package/dist/lib/components/Badge/index.js +14 -3
  58. package/dist/lib/components/Badge/index.mjs +2 -1
  59. package/dist/lib/components/Badge/index.mjs.map +1 -1
  60. package/dist/lib/components/BarChart/index.d.ts +1 -1
  61. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  62. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  63. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  64. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  65. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  66. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  67. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  68. package/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  69. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  70. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  71. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  72. package/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  73. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  74. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  75. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  76. package/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  77. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  78. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  79. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  80. package/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  81. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  82. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  83. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  84. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  85. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  86. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  87. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  88. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  89. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  90. package/dist/lib/components/Breadcrumb/index.js +17 -0
  91. package/dist/lib/components/Breadcrumb/index.mjs +2 -0
  92. package/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  93. package/dist/lib/components/BubbleChart/index.d.ts +1 -1
  94. package/dist/lib/components/BubbleChart/index.js +1 -1
  95. package/dist/lib/components/BubbleChart/index.mjs.map +1 -1
  96. package/dist/lib/components/Button/index.d.ts +3 -3
  97. package/dist/lib/components/Button/index.js +14 -3
  98. package/dist/lib/components/Button/index.mjs +2 -1
  99. package/dist/lib/components/Button/index.mjs.map +1 -1
  100. package/dist/lib/components/Callout/CalloutIcon.d.ts +3 -3
  101. package/dist/lib/components/Callout/CalloutIcon.js +1 -0
  102. package/dist/lib/components/Callout/CalloutIcon.mjs +1 -0
  103. package/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -1
  104. package/dist/lib/components/Callout/CalloutRoot.d.ts +4 -4
  105. package/dist/lib/components/Callout/CalloutRoot.js +11 -3
  106. package/dist/lib/components/Callout/CalloutRoot.mjs +2 -1
  107. package/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -1
  108. package/dist/lib/components/Callout/CalloutText.d.ts +2 -2
  109. package/dist/lib/components/Callout/CalloutText.js +1 -0
  110. package/dist/lib/components/Callout/CalloutText.mjs +1 -0
  111. package/dist/lib/components/Callout/CalloutText.mjs.map +1 -1
  112. package/dist/lib/components/Callout/index.d.ts +1 -0
  113. package/dist/lib/components/Card/index.d.ts +3 -3
  114. package/dist/lib/components/Card/index.js +9 -1
  115. package/dist/lib/components/Card/index.mjs +2 -1
  116. package/dist/lib/components/Card/index.mjs.map +1 -1
  117. package/dist/lib/components/Checkbox/index.d.ts +3 -3
  118. package/dist/lib/components/Checkbox/index.js +12 -3
  119. package/dist/lib/components/Checkbox/index.mjs +2 -1
  120. package/dist/lib/components/Checkbox/index.mjs.map +1 -1
  121. package/dist/lib/components/CheckboxCard/index.d.ts +3 -3
  122. package/dist/lib/components/CheckboxCard/index.js +9 -1
  123. package/dist/lib/components/CheckboxCard/index.mjs +2 -1
  124. package/dist/lib/components/CheckboxCard/index.mjs.map +1 -1
  125. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +1 -0
  126. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +1 -0
  127. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -1
  128. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +1 -1
  129. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +13 -3
  130. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +2 -1
  131. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -1
  132. package/dist/lib/components/CheckboxGroup/index.d.ts +2 -1
  133. package/dist/lib/components/Collapsible/index.d.ts +21 -0
  134. package/dist/lib/components/Collapsible/index.js +75 -0
  135. package/dist/lib/components/Collapsible/index.mjs +3 -0
  136. package/dist/lib/components/Collapsible/index.mjs.map +1 -0
  137. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +2 -1
  138. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +2 -1
  139. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -1
  140. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +2 -2
  141. package/dist/lib/components/ContextMenu/ContextMenuContent.js +1 -0
  142. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs +1 -0
  143. package/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -1
  144. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +2 -2
  145. package/dist/lib/components/ContextMenu/ContextMenuItem.js +3 -1
  146. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs +2 -1
  147. package/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -1
  148. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +1 -1
  149. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +1 -0
  150. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +1 -0
  151. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -1
  152. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +1 -1
  153. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +1 -0
  154. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +1 -0
  155. package/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -1
  156. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +1 -0
  157. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +1 -0
  158. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -1
  159. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +2 -1
  160. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +2 -1
  161. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -1
  162. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +13 -3
  163. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +2 -1
  164. package/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -1
  165. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +2 -2
  166. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +1 -0
  167. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +1 -0
  168. package/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -1
  169. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +4 -2
  170. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +2 -1
  171. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -1
  172. package/dist/lib/components/ContextMenu/index.d.ts +1 -0
  173. package/dist/lib/components/DataList/DataListItem.d.ts +1 -1
  174. package/dist/lib/components/DataList/DataListItem.js +1 -0
  175. package/dist/lib/components/DataList/DataListItem.mjs +1 -0
  176. package/dist/lib/components/DataList/DataListItem.mjs.map +1 -1
  177. package/dist/lib/components/DataList/DataListLabel.d.ts +1 -1
  178. package/dist/lib/components/DataList/DataListLabel.js +1 -0
  179. package/dist/lib/components/DataList/DataListLabel.mjs +1 -0
  180. package/dist/lib/components/DataList/DataListLabel.mjs.map +1 -1
  181. package/dist/lib/components/DataList/DataListRoot.d.ts +1 -1
  182. package/dist/lib/components/DataList/DataListRoot.js +9 -2
  183. package/dist/lib/components/DataList/DataListRoot.mjs +2 -1
  184. package/dist/lib/components/DataList/DataListRoot.mjs.map +1 -1
  185. package/dist/lib/components/DataList/DataListValue.d.ts +1 -1
  186. package/dist/lib/components/DataList/DataListValue.js +1 -0
  187. package/dist/lib/components/DataList/DataListValue.mjs +1 -0
  188. package/dist/lib/components/DataList/DataListValue.mjs.map +1 -1
  189. package/dist/lib/components/DataList/index.d.ts +1 -0
  190. package/dist/lib/components/Dialog/DialogAction.d.ts +2 -2
  191. package/dist/lib/components/Dialog/DialogAction.js +3 -1
  192. package/dist/lib/components/Dialog/DialogAction.mjs +2 -1
  193. package/dist/lib/components/Dialog/DialogAction.mjs.map +1 -1
  194. package/dist/lib/components/Dialog/DialogCancel.d.ts +2 -2
  195. package/dist/lib/components/Dialog/DialogCancel.js +1 -0
  196. package/dist/lib/components/Dialog/DialogCancel.mjs +1 -0
  197. package/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -1
  198. package/dist/lib/components/Dialog/DialogContent.d.ts +3 -3
  199. package/dist/lib/components/Dialog/DialogContent.js +1 -0
  200. package/dist/lib/components/Dialog/DialogContent.mjs +1 -0
  201. package/dist/lib/components/Dialog/DialogContent.mjs.map +1 -1
  202. package/dist/lib/components/Dialog/DialogDescription.d.ts +1 -1
  203. package/dist/lib/components/Dialog/DialogDescription.js +2 -1
  204. package/dist/lib/components/Dialog/DialogDescription.mjs +2 -1
  205. package/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -1
  206. package/dist/lib/components/Dialog/DialogRoot.js +11 -2
  207. package/dist/lib/components/Dialog/DialogRoot.mjs +2 -1
  208. package/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -1
  209. package/dist/lib/components/Dialog/DialogSlot.d.ts +1 -1
  210. package/dist/lib/components/Dialog/DialogSlot.js +1 -0
  211. package/dist/lib/components/Dialog/DialogSlot.mjs +1 -0
  212. package/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -1
  213. package/dist/lib/components/Dialog/DialogTitle.d.ts +1 -1
  214. package/dist/lib/components/Dialog/DialogTitle.js +1 -0
  215. package/dist/lib/components/Dialog/DialogTitle.mjs +1 -0
  216. package/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -1
  217. package/dist/lib/components/Dialog/index.d.ts +2 -1
  218. package/dist/lib/components/DoughnutChart/index.d.ts +1 -1
  219. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +2 -2
  220. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +1 -0
  221. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +1 -0
  222. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -1
  223. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +2 -1
  224. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +2 -1
  225. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -1
  226. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +2 -2
  227. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +1 -0
  228. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +1 -0
  229. package/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -1
  230. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +2 -2
  231. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +3 -1
  232. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +2 -1
  233. package/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -1
  234. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +1 -1
  235. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +1 -0
  236. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +1 -0
  237. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -1
  238. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +1 -0
  239. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +1 -0
  240. package/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -1
  241. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +2 -1
  242. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +2 -1
  243. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -1
  244. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +12 -2
  245. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +2 -1
  246. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -1
  247. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +3 -1
  248. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +2 -1
  249. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -1
  250. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +1 -1
  251. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +1 -0
  252. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +1 -0
  253. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -1
  254. package/dist/lib/components/DropdownMenu/index.d.ts +2 -1
  255. package/dist/lib/components/Editor/index.d.ts +12 -0
  256. package/dist/lib/components/Editor/index.js +53 -0
  257. package/dist/lib/components/Editor/index.mjs +3 -0
  258. package/dist/lib/components/Editor/index.mjs.map +1 -0
  259. package/dist/lib/components/Footer/index.d.ts +11 -0
  260. package/dist/lib/components/Footer/index.js +57 -0
  261. package/dist/lib/components/Footer/index.mjs +3 -0
  262. package/dist/lib/components/Footer/index.mjs.map +1 -0
  263. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  264. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  265. package/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  266. package/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  267. package/dist/lib/components/Gnb/GnbLogo.d.ts +9 -0
  268. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  269. package/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  270. package/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  271. package/dist/lib/components/Gnb/GnbMenu.d.ts +11 -0
  272. package/dist/lib/components/Gnb/GnbMenu.js +49 -0
  273. package/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  274. package/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  275. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  276. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  277. package/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  278. package/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  279. package/dist/lib/components/Gnb/index.d.ts +8 -0
  280. package/dist/lib/components/Gnb/index.js +11 -0
  281. package/dist/lib/components/Gnb/index.mjs +2 -0
  282. package/dist/lib/components/Gnb/index.mjs.map +1 -0
  283. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  284. package/dist/lib/components/Grid/Pagination.js +17 -0
  285. package/dist/lib/components/Grid/Pagination.mjs +2 -0
  286. package/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  287. package/dist/lib/components/Grid/index.d.ts +7 -0
  288. package/dist/lib/components/Grid/index.js +59 -0
  289. package/dist/lib/components/Grid/index.mjs +3 -0
  290. package/dist/lib/components/Grid/index.mjs.map +1 -0
  291. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  292. package/dist/lib/components/Grid/useGrid.js +75 -0
  293. package/dist/lib/components/Grid/useGrid.mjs +3 -0
  294. package/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  295. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +3 -3
  296. package/dist/lib/components/HoverCard/HoverCardContent.js +1 -0
  297. package/dist/lib/components/HoverCard/HoverCardContent.mjs +1 -0
  298. package/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -1
  299. package/dist/lib/components/HoverCard/HoverCardRoot.js +12 -2
  300. package/dist/lib/components/HoverCard/HoverCardRoot.mjs +2 -1
  301. package/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -1
  302. package/dist/lib/components/HoverCard/index.d.ts +2 -1
  303. package/dist/lib/components/IconButton/index.d.ts +3 -3
  304. package/dist/lib/components/IconButton/index.js +13 -3
  305. package/dist/lib/components/IconButton/index.mjs +2 -1
  306. package/dist/lib/components/IconButton/index.mjs.map +1 -1
  307. package/dist/lib/components/Inset/index.d.ts +2 -2
  308. package/dist/lib/components/Inset/index.js +8 -1
  309. package/dist/lib/components/Inset/index.mjs +2 -1
  310. package/dist/lib/components/Inset/index.mjs.map +1 -1
  311. package/dist/lib/components/Label/index.d.ts +6 -5
  312. package/dist/lib/components/Label/index.js +15 -4
  313. package/dist/lib/components/Label/index.mjs +2 -1
  314. package/dist/lib/components/Label/index.mjs.map +1 -1
  315. package/dist/lib/components/LineChart/index.d.ts +1 -1
  316. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +3 -1
  317. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +2 -1
  318. package/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -1
  319. package/dist/lib/components/Menubar/MenubarContent.d.ts +2 -2
  320. package/dist/lib/components/Menubar/MenubarContent.js +1 -0
  321. package/dist/lib/components/Menubar/MenubarContent.mjs +1 -0
  322. package/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -1
  323. package/dist/lib/components/Menubar/MenubarItem.d.ts +2 -2
  324. package/dist/lib/components/Menubar/MenubarItem.js +3 -1
  325. package/dist/lib/components/Menubar/MenubarItem.mjs +2 -1
  326. package/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -1
  327. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +1 -1
  328. package/dist/lib/components/Menubar/MenubarItemIndicator.js +1 -0
  329. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs +1 -0
  330. package/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -1
  331. package/dist/lib/components/Menubar/MenubarRadioGroup.js +1 -0
  332. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs +1 -0
  333. package/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -1
  334. package/dist/lib/components/Menubar/MenubarRadioItem.js +3 -1
  335. package/dist/lib/components/Menubar/MenubarRadioItem.mjs +2 -1
  336. package/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -1
  337. package/dist/lib/components/Menubar/MenubarRoot.d.ts +2 -2
  338. package/dist/lib/components/Menubar/MenubarRoot.js +17 -5
  339. package/dist/lib/components/Menubar/MenubarRoot.mjs +2 -1
  340. package/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -1
  341. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +1 -1
  342. package/dist/lib/components/Menubar/MenubarSubContent.js +1 -0
  343. package/dist/lib/components/Menubar/MenubarSubContent.mjs +1 -0
  344. package/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -1
  345. package/dist/lib/components/Menubar/MenubarSubTrigger.js +3 -1
  346. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs +2 -1
  347. package/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -1
  348. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +2 -2
  349. package/dist/lib/components/Menubar/MenubarTrigger.js +2 -1
  350. package/dist/lib/components/Menubar/MenubarTrigger.mjs +2 -1
  351. package/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -1
  352. package/dist/lib/components/Menubar/index.d.ts +1 -0
  353. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +1 -1
  354. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +2 -1
  355. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +2 -1
  356. package/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -1
  357. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +1 -1
  358. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +1 -1
  359. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -1
  360. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +2 -2
  361. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +3 -1
  362. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +2 -1
  363. package/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -1
  364. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +2 -2
  365. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +3 -1
  366. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +2 -1
  367. package/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -1
  368. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +13 -3
  369. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +2 -1
  370. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -1
  371. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +2 -2
  372. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +3 -1
  373. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +2 -1
  374. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -1
  375. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +2 -2
  376. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +3 -2
  377. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +2 -1
  378. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -1
  379. package/dist/lib/components/NavigationMenu/index.d.ts +1 -0
  380. package/dist/lib/components/PieChart/index.d.ts +1 -1
  381. package/dist/lib/components/Popover/PopoverClose.d.ts +1 -1
  382. package/dist/lib/components/Popover/PopoverClose.js +1 -0
  383. package/dist/lib/components/Popover/PopoverClose.mjs +1 -0
  384. package/dist/lib/components/Popover/PopoverClose.mjs.map +1 -1
  385. package/dist/lib/components/Popover/PopoverContent.d.ts +3 -3
  386. package/dist/lib/components/Popover/PopoverContent.js +1 -0
  387. package/dist/lib/components/Popover/PopoverContent.mjs +1 -0
  388. package/dist/lib/components/Popover/PopoverContent.mjs.map +1 -1
  389. package/dist/lib/components/Popover/PopoverRoot.js +8 -1
  390. package/dist/lib/components/Popover/PopoverRoot.mjs +2 -1
  391. package/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -1
  392. package/dist/lib/components/Popover/index.d.ts +2 -1
  393. package/dist/lib/components/Progress/index.d.ts +3 -3
  394. package/dist/lib/components/Progress/index.js +14 -3
  395. package/dist/lib/components/Progress/index.mjs +2 -1
  396. package/dist/lib/components/Progress/index.mjs.map +1 -1
  397. package/dist/lib/components/RadarChart/index.d.ts +1 -1
  398. package/dist/lib/components/RadarChart/index.js +1 -1
  399. package/dist/lib/components/RadarChart/index.mjs.map +1 -1
  400. package/dist/lib/components/Radio/index.d.ts +1 -1
  401. package/dist/lib/components/Radio/index.js +11 -4
  402. package/dist/lib/components/Radio/index.mjs +2 -1
  403. package/dist/lib/components/Radio/index.mjs.map +1 -1
  404. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +2 -2
  405. package/dist/lib/components/RadioCards/RadioCardsItem.js +1 -0
  406. package/dist/lib/components/RadioCards/RadioCardsItem.mjs +1 -0
  407. package/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -1
  408. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +1 -1
  409. package/dist/lib/components/RadioCards/RadioCardsRoot.js +13 -3
  410. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs +2 -1
  411. package/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -1
  412. package/dist/lib/components/RadioCards/index.d.ts +1 -0
  413. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +1 -1
  414. package/dist/lib/components/RadioGroup/RadioGroupItem.js +1 -0
  415. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs +1 -0
  416. package/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -1
  417. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +1 -1
  418. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +12 -3
  419. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +2 -1
  420. package/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -1
  421. package/dist/lib/components/RadioGroup/index.d.ts +1 -0
  422. package/dist/lib/components/ScrollArea/index.js +4 -1
  423. package/dist/lib/components/ScrollArea/index.mjs +2 -1
  424. package/dist/lib/components/ScrollArea/index.mjs.map +1 -1
  425. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +2 -2
  426. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +11 -3
  427. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +2 -1
  428. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -1
  429. package/dist/lib/components/SegmentedControl/index.d.ts +1 -0
  430. package/dist/lib/components/SegmentedControl/index.js +1 -1
  431. package/dist/lib/components/SegmentedControl/index.mjs.map +1 -1
  432. package/dist/lib/components/Select/index.d.ts +4 -2
  433. package/dist/lib/components/Select/index.js +33 -13
  434. package/dist/lib/components/Select/index.mjs +2 -1
  435. package/dist/lib/components/Select/index.mjs.map +1 -1
  436. package/dist/lib/components/Separator/index.d.ts +1 -1
  437. package/dist/lib/components/Separator/index.js +10 -2
  438. package/dist/lib/components/Separator/index.mjs +2 -1
  439. package/dist/lib/components/Separator/index.mjs.map +1 -1
  440. package/dist/lib/components/Skeleton/index.d.ts +1 -1
  441. package/dist/lib/components/Skeleton/index.js +5 -1
  442. package/dist/lib/components/Skeleton/index.mjs +2 -1
  443. package/dist/lib/components/Skeleton/index.mjs.map +1 -1
  444. package/dist/lib/components/Slider/index.d.ts +3 -2
  445. package/dist/lib/components/Slider/index.js +12 -5
  446. package/dist/lib/components/Slider/index.mjs +2 -1
  447. package/dist/lib/components/Slider/index.mjs.map +1 -1
  448. package/dist/lib/components/Spinner/index.d.ts +1 -1
  449. package/dist/lib/components/Spinner/index.js +4 -1
  450. package/dist/lib/components/Spinner/index.mjs +2 -1
  451. package/dist/lib/components/Spinner/index.mjs.map +1 -1
  452. package/dist/lib/components/TabNav/index.js +6 -3
  453. package/dist/lib/components/TabNav/index.mjs +2 -1
  454. package/dist/lib/components/TabNav/index.mjs.map +1 -1
  455. package/dist/lib/components/Table/index.d.ts +2 -2
  456. package/dist/lib/components/Table/index.js +9 -3
  457. package/dist/lib/components/Table/index.mjs +2 -1
  458. package/dist/lib/components/Table/index.mjs.map +1 -1
  459. package/dist/lib/components/Tabs/index.d.ts +2 -1
  460. package/dist/lib/components/Tabs/index.js +6 -3
  461. package/dist/lib/components/Tabs/index.mjs +2 -1
  462. package/dist/lib/components/Tabs/index.mjs.map +1 -1
  463. package/dist/lib/components/TextArea/index.d.ts +3 -3
  464. package/dist/lib/components/TextArea/index.js +11 -3
  465. package/dist/lib/components/TextArea/index.mjs +2 -1
  466. package/dist/lib/components/TextArea/index.mjs.map +1 -1
  467. package/dist/lib/components/TextField/index.d.ts +1 -1
  468. package/dist/lib/components/TextField/index.js +12 -4
  469. package/dist/lib/components/TextField/index.mjs +2 -1
  470. package/dist/lib/components/TextField/index.mjs.map +1 -1
  471. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  472. package/dist/lib/components/Timeline/TimelineConnector.js +36 -0
  473. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  474. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  475. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  476. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  477. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  478. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  479. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  480. package/dist/lib/components/Timeline/TimelineIcon.js +42 -0
  481. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  482. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  483. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  484. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  485. package/dist/lib/components/Timeline/TimelineTime.d.ts +6 -0
  486. package/dist/lib/components/Timeline/TimelineTime.js +34 -0
  487. package/dist/lib/components/Timeline/TimelineTitle.d.ts +6 -0
  488. package/dist/lib/components/Timeline/TimelineTitle.js +34 -0
  489. package/dist/lib/components/Timeline/index.d.ts +13 -0
  490. package/dist/lib/components/Timeline/index.js +21 -0
  491. package/dist/lib/components/Toast/ToastActionButton.d.ts +3 -3
  492. package/dist/lib/components/Toast/ToastActionButton.js +8 -3
  493. package/dist/lib/components/Toast/ToastActionButton.mjs +2 -1
  494. package/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -1
  495. package/dist/lib/components/Toast/ToastDescription.d.ts +2 -2
  496. package/dist/lib/components/Toast/ToastDescription.js +1 -0
  497. package/dist/lib/components/Toast/ToastDescription.mjs +1 -0
  498. package/dist/lib/components/Toast/ToastDescription.mjs.map +1 -1
  499. package/dist/lib/components/Toast/ToastRoot.d.ts +4 -4
  500. package/dist/lib/components/Toast/ToastRoot.js +11 -3
  501. package/dist/lib/components/Toast/ToastRoot.mjs +2 -1
  502. package/dist/lib/components/Toast/ToastRoot.mjs.map +1 -1
  503. package/dist/lib/components/Toast/ToastTitle.d.ts +2 -2
  504. package/dist/lib/components/Toast/ToastTitle.js +1 -0
  505. package/dist/lib/components/Toast/ToastTitle.mjs +1 -0
  506. package/dist/lib/components/Toast/ToastTitle.mjs.map +1 -1
  507. package/dist/lib/components/Toast/index.d.ts +1 -0
  508. package/dist/lib/components/Toggle/ToggleWithText.d.ts +3 -3
  509. package/dist/lib/components/Toggle/ToggleWithText.js +13 -2
  510. package/dist/lib/components/Toggle/ToggleWithText.mjs +2 -1
  511. package/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -1
  512. package/dist/lib/components/Toggle/index.d.ts +4 -4
  513. package/dist/lib/components/Toggle/index.js +14 -3
  514. package/dist/lib/components/Toggle/index.mjs +2 -1
  515. package/dist/lib/components/Toggle/index.mjs.map +1 -1
  516. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +1 -1
  517. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +2 -1
  518. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +2 -1
  519. package/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -1
  520. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +1 -1
  521. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +13 -3
  522. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +2 -1
  523. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -1
  524. package/dist/lib/components/ToggleGroup/index.d.ts +1 -0
  525. package/dist/lib/components/ToggleSwitch/index.d.ts +3 -3
  526. package/dist/lib/components/ToggleSwitch/index.js +13 -2
  527. package/dist/lib/components/ToggleSwitch/index.mjs +2 -1
  528. package/dist/lib/components/ToggleSwitch/index.mjs.map +1 -1
  529. package/dist/lib/components/Tooltip/index.d.ts +1 -1
  530. package/dist/lib/components/Tooltip/index.js +14 -9
  531. package/dist/lib/components/Tooltip/index.mjs +2 -1
  532. package/dist/lib/components/Tooltip/index.mjs.map +1 -1
  533. package/dist/lib/components/index.d.ts +7 -0
  534. package/dist/lib/components/index.js +8 -0
  535. package/dist/lib/constants.d.ts +6 -7
  536. package/dist/lib/constants.js +19 -31
  537. package/dist/lib/constants.mjs +1 -1
  538. package/dist/lib/constants.mjs.map +1 -1
  539. package/dist/lib/index.d.ts +1 -0
  540. package/dist/lib/index.js +1 -0
  541. package/dist/lib/index.mjs +1 -1
  542. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  543. package/dist/lib/theme/ThemeProvider.js +29 -0
  544. package/dist/lib/theme/ThemeProvider.mjs +3 -0
  545. package/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  546. package/dist/lib/theme/index.d.ts +2 -0
  547. package/dist/lib/theme/index.js +2 -0
  548. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  549. package/dist/lib/types.d.ts +9 -0
  550. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  551. package/dist/lib/utils/classPrefixes.js +26 -0
  552. package/dist/lib/utils/useDarkMode.js +1 -0
  553. package/dist/lib/utils/useDarkMode.mjs +1 -0
  554. package/dist/lib/utils/useDarkMode.mjs.map +1 -1
  555. package/dist/public/tinymce/icons/default/icons.d.ts +0 -0
  556. package/dist/public/tinymce/icons/default/icons.js +195 -0
  557. package/dist/public/tinymce/icons/default/index.d.ts +1 -0
  558. package/dist/public/tinymce/icons/default/index.js +8 -0
  559. package/dist/public/tinymce/models/dom/index.d.ts +1 -0
  560. package/dist/public/tinymce/models/dom/index.js +8 -0
  561. package/dist/public/tinymce/models/dom/model.d.ts +0 -0
  562. package/dist/public/tinymce/models/dom/model.js +7988 -0
  563. package/dist/public/tinymce/plugins/advlist/index.d.ts +1 -0
  564. package/dist/public/tinymce/plugins/advlist/index.js +8 -0
  565. package/dist/public/tinymce/plugins/advlist/plugin.d.ts +0 -0
  566. package/dist/public/tinymce/plugins/advlist/plugin.js +255 -0
  567. package/dist/public/tinymce/plugins/autolink/index.d.ts +1 -0
  568. package/dist/public/tinymce/plugins/autolink/index.js +8 -0
  569. package/dist/public/tinymce/plugins/autolink/plugin.d.ts +0 -0
  570. package/dist/public/tinymce/plugins/autolink/plugin.js +221 -0
  571. package/dist/public/tinymce/plugins/code/index.d.ts +1 -0
  572. package/dist/public/tinymce/plugins/code/index.js +8 -0
  573. package/dist/public/tinymce/plugins/code/plugin.d.ts +0 -0
  574. package/dist/public/tinymce/plugins/code/plugin.js +77 -0
  575. package/dist/public/tinymce/plugins/codesample/index.d.ts +1 -0
  576. package/dist/public/tinymce/plugins/codesample/index.js +8 -0
  577. package/dist/public/tinymce/plugins/codesample/plugin.d.ts +45 -0
  578. package/dist/public/tinymce/plugins/codesample/plugin.js +2462 -0
  579. package/dist/public/tinymce/plugins/image/index.d.ts +1 -0
  580. package/dist/public/tinymce/plugins/image/index.js +8 -0
  581. package/dist/public/tinymce/plugins/image/plugin.d.ts +0 -0
  582. package/dist/public/tinymce/plugins/image/plugin.js +1523 -0
  583. package/dist/public/tinymce/plugins/link/index.d.ts +1 -0
  584. package/dist/public/tinymce/plugins/link/index.js +8 -0
  585. package/dist/public/tinymce/plugins/link/plugin.d.ts +0 -0
  586. package/dist/public/tinymce/plugins/link/plugin.js +1246 -0
  587. package/dist/public/tinymce/plugins/lists/index.d.ts +1 -0
  588. package/dist/public/tinymce/plugins/lists/index.js +8 -0
  589. package/dist/public/tinymce/plugins/lists/plugin.d.ts +0 -0
  590. package/dist/public/tinymce/plugins/lists/plugin.js +2191 -0
  591. package/dist/public/tinymce/plugins/table/index.d.ts +1 -0
  592. package/dist/public/tinymce/plugins/table/index.js +8 -0
  593. package/dist/public/tinymce/plugins/table/plugin.d.ts +0 -0
  594. package/dist/public/tinymce/plugins/table/plugin.js +3399 -0
  595. package/dist/public/tinymce/skins/content/default/content.d.ts +0 -0
  596. package/dist/public/tinymce/skins/content/default/content.js +3 -0
  597. package/dist/public/tinymce/skins/ui/oxide/content.d.ts +0 -0
  598. package/dist/public/tinymce/skins/ui/oxide/content.inline.d.ts +0 -0
  599. package/dist/public/tinymce/skins/ui/oxide/content.inline.js +3 -0
  600. package/dist/public/tinymce/skins/ui/oxide/content.js +3 -0
  601. package/dist/public/tinymce/skins/ui/oxide/skin.d.ts +0 -0
  602. package/dist/public/tinymce/skins/ui/oxide/skin.js +3 -0
  603. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.d.ts +0 -0
  604. package/dist/public/tinymce/skins/ui/oxide/skin.shadowdom.js +3 -0
  605. package/dist/public/tinymce/skins/ui/oxide-dark/content.d.ts +0 -0
  606. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.d.ts +0 -0
  607. package/dist/public/tinymce/skins/ui/oxide-dark/content.inline.js +3 -0
  608. package/dist/public/tinymce/skins/ui/oxide-dark/content.js +3 -0
  609. package/dist/public/tinymce/skins/ui/oxide-dark/skin.d.ts +0 -0
  610. package/dist/public/tinymce/skins/ui/oxide-dark/skin.js +3 -0
  611. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.d.ts +0 -0
  612. package/dist/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +3 -0
  613. package/dist/public/tinymce/themes/silver/index.d.ts +1 -0
  614. package/dist/public/tinymce/themes/silver/index.js +8 -0
  615. package/dist/public/tinymce/themes/silver/theme.d.ts +0 -0
  616. package/dist/public/tinymce/themes/silver/theme.js +29731 -0
  617. package/dist/public/tinymce/tinymce.d.ts +1 -0
  618. package/dist/public/tinymce/tinymce.js +31974 -0
  619. package/dist/tailwind.config.js +13 -50
  620. package/dist/tsconfig.tsbuildinfo +1 -1
  621. package/package.json +13 -6
  622. package/public/tinymce/CHANGELOG.md +3453 -0
  623. package/public/tinymce/README.md +73 -0
  624. package/public/tinymce/bower.json +27 -0
  625. package/public/tinymce/composer.json +52 -0
  626. package/public/tinymce/icons/default/icons.js +194 -0
  627. package/public/tinymce/icons/default/icons.min.js +1 -0
  628. package/public/tinymce/icons/default/index.js +7 -0
  629. package/public/tinymce/license.txt +21 -0
  630. package/public/tinymce/models/dom/index.js +7 -0
  631. package/public/tinymce/models/dom/model.js +8040 -0
  632. package/public/tinymce/models/dom/model.min.js +4 -0
  633. package/public/tinymce/package.json +32 -0
  634. package/public/tinymce/plugins/advlist/index.js +7 -0
  635. package/public/tinymce/plugins/advlist/plugin.js +259 -0
  636. package/public/tinymce/plugins/advlist/plugin.min.js +4 -0
  637. package/public/tinymce/plugins/autolink/index.js +7 -0
  638. package/public/tinymce/plugins/autolink/plugin.js +228 -0
  639. package/public/tinymce/plugins/autolink/plugin.min.js +4 -0
  640. package/public/tinymce/plugins/code/index.js +7 -0
  641. package/public/tinymce/plugins/code/plugin.js +85 -0
  642. package/public/tinymce/plugins/code/plugin.min.js +4 -0
  643. package/public/tinymce/plugins/codesample/index.js +7 -0
  644. package/public/tinymce/plugins/codesample/plugin.js +2463 -0
  645. package/public/tinymce/plugins/codesample/plugin.min.js +4 -0
  646. package/public/tinymce/plugins/image/index.js +7 -0
  647. package/public/tinymce/plugins/image/plugin.js +1505 -0
  648. package/public/tinymce/plugins/image/plugin.min.js +4 -0
  649. package/public/tinymce/plugins/link/index.js +7 -0
  650. package/public/tinymce/plugins/link/plugin.js +1242 -0
  651. package/public/tinymce/plugins/link/plugin.min.js +4 -0
  652. package/public/tinymce/plugins/lists/index.js +7 -0
  653. package/public/tinymce/plugins/lists/plugin.js +2172 -0
  654. package/public/tinymce/plugins/lists/plugin.min.js +4 -0
  655. package/public/tinymce/plugins/table/index.js +7 -0
  656. package/public/tinymce/plugins/table/plugin.js +3462 -0
  657. package/public/tinymce/plugins/table/plugin.min.js +4 -0
  658. package/public/tinymce/skins/content/default/content.css +61 -0
  659. package/public/tinymce/skins/content/default/content.js +2 -0
  660. package/public/tinymce/skins/content/default/content.min.css +1 -0
  661. package/public/tinymce/skins/ui/oxide/content.css +785 -0
  662. package/public/tinymce/skins/ui/oxide/content.inline.css +779 -0
  663. package/public/tinymce/skins/ui/oxide/content.inline.js +2 -0
  664. package/public/tinymce/skins/ui/oxide/content.inline.min.css +1 -0
  665. package/public/tinymce/skins/ui/oxide/content.js +2 -0
  666. package/public/tinymce/skins/ui/oxide/content.min.css +1 -0
  667. package/public/tinymce/skins/ui/oxide/skin.css +3763 -0
  668. package/public/tinymce/skins/ui/oxide/skin.js +2 -0
  669. package/public/tinymce/skins/ui/oxide/skin.min.css +1 -0
  670. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +30 -0
  671. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +2 -0
  672. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +1 -0
  673. package/public/tinymce/skins/ui/oxide-dark/content.css +766 -0
  674. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +779 -0
  675. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +2 -0
  676. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +1 -0
  677. package/public/tinymce/skins/ui/oxide-dark/content.js +2 -0
  678. package/public/tinymce/skins/ui/oxide-dark/content.min.css +1 -0
  679. package/public/tinymce/skins/ui/oxide-dark/skin.css +3766 -0
  680. package/public/tinymce/skins/ui/oxide-dark/skin.js +2 -0
  681. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +1 -0
  682. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +30 -0
  683. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +2 -0
  684. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +1 -0
  685. package/public/tinymce/themes/silver/index.js +7 -0
  686. package/public/tinymce/themes/silver/theme.js +30775 -0
  687. package/public/tinymce/themes/silver/theme.min.js +384 -0
  688. package/public/tinymce/tinymce.d.ts +3238 -0
  689. package/public/tinymce/tinymce.js +31779 -0
  690. package/public/tinymce/tinymce.min.js +384 -0
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // Exports the "advlist" plugin for usage with module loaders
3
+ // Usage:
4
+ // CommonJS:
5
+ // require('tinymce/plugins/advlist')
6
+ // ES2015:
7
+ // import 'tinymce/plugins/advlist'
8
+ require('./plugin.js');
@@ -0,0 +1,255 @@
1
+ "use strict";
2
+ /**
3
+ * TinyMCE version 6.8.5 (TBD)
4
+ */
5
+ (function () {
6
+ 'use strict';
7
+ var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
8
+ var applyListFormat = function (editor, listName, styleValue) {
9
+ var cmd = listName === 'UL' ? 'InsertUnorderedList' : 'InsertOrderedList';
10
+ editor.execCommand(cmd, false, styleValue === false ? null : { 'list-style-type': styleValue });
11
+ };
12
+ var register$2 = function (editor) {
13
+ editor.addCommand('ApplyUnorderedListStyle', function (ui, value) {
14
+ applyListFormat(editor, 'UL', value['list-style-type']);
15
+ });
16
+ editor.addCommand('ApplyOrderedListStyle', function (ui, value) {
17
+ applyListFormat(editor, 'OL', value['list-style-type']);
18
+ });
19
+ };
20
+ var option = function (name) { return function (editor) { return editor.options.get(name); }; };
21
+ var register$1 = function (editor) {
22
+ var registerOption = editor.options.register;
23
+ registerOption('advlist_number_styles', {
24
+ processor: 'string[]',
25
+ default: 'default,lower-alpha,lower-greek,lower-roman,upper-alpha,upper-roman'.split(',')
26
+ });
27
+ registerOption('advlist_bullet_styles', {
28
+ processor: 'string[]',
29
+ default: 'default,circle,square'.split(',')
30
+ });
31
+ };
32
+ var getNumberStyles = option('advlist_number_styles');
33
+ var getBulletStyles = option('advlist_bullet_styles');
34
+ var isNullable = function (a) { return a === null || a === undefined; };
35
+ var isNonNullable = function (a) { return !isNullable(a); };
36
+ var global = tinymce.util.Tools.resolve('tinymce.util.Tools');
37
+ var Optional = /** @class */ (function () {
38
+ function Optional(tag, value) {
39
+ this.tag = tag;
40
+ this.value = value;
41
+ }
42
+ Optional.some = function (value) {
43
+ return new Optional(true, value);
44
+ };
45
+ Optional.none = function () {
46
+ return Optional.singletonNone;
47
+ };
48
+ Optional.prototype.fold = function (onNone, onSome) {
49
+ if (this.tag) {
50
+ return onSome(this.value);
51
+ }
52
+ else {
53
+ return onNone();
54
+ }
55
+ };
56
+ Optional.prototype.isSome = function () {
57
+ return this.tag;
58
+ };
59
+ Optional.prototype.isNone = function () {
60
+ return !this.tag;
61
+ };
62
+ Optional.prototype.map = function (mapper) {
63
+ if (this.tag) {
64
+ return Optional.some(mapper(this.value));
65
+ }
66
+ else {
67
+ return Optional.none();
68
+ }
69
+ };
70
+ Optional.prototype.bind = function (binder) {
71
+ if (this.tag) {
72
+ return binder(this.value);
73
+ }
74
+ else {
75
+ return Optional.none();
76
+ }
77
+ };
78
+ Optional.prototype.exists = function (predicate) {
79
+ return this.tag && predicate(this.value);
80
+ };
81
+ Optional.prototype.forall = function (predicate) {
82
+ return !this.tag || predicate(this.value);
83
+ };
84
+ Optional.prototype.filter = function (predicate) {
85
+ if (!this.tag || predicate(this.value)) {
86
+ return this;
87
+ }
88
+ else {
89
+ return Optional.none();
90
+ }
91
+ };
92
+ Optional.prototype.getOr = function (replacement) {
93
+ return this.tag ? this.value : replacement;
94
+ };
95
+ Optional.prototype.or = function (replacement) {
96
+ return this.tag ? this : replacement;
97
+ };
98
+ Optional.prototype.getOrThunk = function (thunk) {
99
+ return this.tag ? this.value : thunk();
100
+ };
101
+ Optional.prototype.orThunk = function (thunk) {
102
+ return this.tag ? this : thunk();
103
+ };
104
+ Optional.prototype.getOrDie = function (message) {
105
+ if (!this.tag) {
106
+ throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
107
+ }
108
+ else {
109
+ return this.value;
110
+ }
111
+ };
112
+ Optional.from = function (value) {
113
+ return isNonNullable(value) ? Optional.some(value) : Optional.none();
114
+ };
115
+ Optional.prototype.getOrNull = function () {
116
+ return this.tag ? this.value : null;
117
+ };
118
+ Optional.prototype.getOrUndefined = function () {
119
+ return this.value;
120
+ };
121
+ Optional.prototype.each = function (worker) {
122
+ if (this.tag) {
123
+ worker(this.value);
124
+ }
125
+ };
126
+ Optional.prototype.toArray = function () {
127
+ return this.tag ? [this.value] : [];
128
+ };
129
+ Optional.prototype.toString = function () {
130
+ return this.tag ? "some(".concat(this.value, ")") : 'none()';
131
+ };
132
+ return Optional;
133
+ }());
134
+ Optional.singletonNone = new Optional(false);
135
+ var findUntil = function (xs, pred, until) {
136
+ for (var i = 0, len = xs.length; i < len; i++) {
137
+ var x = xs[i];
138
+ if (pred(x, i)) {
139
+ return Optional.some(x);
140
+ }
141
+ else if (until(x, i)) {
142
+ break;
143
+ }
144
+ }
145
+ return Optional.none();
146
+ };
147
+ var isCustomList = function (list) { return /\btox\-/.test(list.className); };
148
+ var isChildOfBody = function (editor, elm) {
149
+ return editor.dom.isChildOf(elm, editor.getBody());
150
+ };
151
+ var matchNodeNames = function (regex) { return function (node) { return isNonNullable(node) && regex.test(node.nodeName); }; };
152
+ var isListNode = matchNodeNames(/^(OL|UL|DL)$/);
153
+ var isTableCellNode = matchNodeNames(/^(TH|TD)$/);
154
+ var inList = function (editor, parents, nodeName) { return findUntil(parents, function (parent) { return isListNode(parent) && !isCustomList(parent); }, isTableCellNode).exists(function (list) { return list.nodeName === nodeName && isChildOfBody(editor, list); }); };
155
+ var getSelectedStyleType = function (editor) {
156
+ var listElm = editor.dom.getParent(editor.selection.getNode(), 'ol,ul');
157
+ var style = editor.dom.getStyle(listElm, 'listStyleType');
158
+ return Optional.from(style);
159
+ };
160
+ var isWithinNonEditable = function (editor, element) { return element !== null && !editor.dom.isEditable(element); };
161
+ var isWithinNonEditableList = function (editor, element) {
162
+ var parentList = editor.dom.getParent(element, 'ol,ul,dl');
163
+ return isWithinNonEditable(editor, parentList) && editor.selection.isEditable();
164
+ };
165
+ var setNodeChangeHandler = function (editor, nodeChangeHandler) {
166
+ var initialNode = editor.selection.getNode();
167
+ nodeChangeHandler({
168
+ parents: editor.dom.getParents(initialNode),
169
+ element: initialNode
170
+ });
171
+ editor.on('NodeChange', nodeChangeHandler);
172
+ return function () { return editor.off('NodeChange', nodeChangeHandler); };
173
+ };
174
+ var styleValueToText = function (styleValue) {
175
+ return styleValue.replace(/\-/g, ' ').replace(/\b\w/g, function (chr) {
176
+ return chr.toUpperCase();
177
+ });
178
+ };
179
+ var normalizeStyleValue = function (styleValue) { return isNullable(styleValue) || styleValue === 'default' ? '' : styleValue; };
180
+ var makeSetupHandler = function (editor, nodeName) { return function (api) {
181
+ var updateButtonState = function (editor, parents) {
182
+ var element = editor.selection.getStart(true);
183
+ api.setActive(inList(editor, parents, nodeName));
184
+ api.setEnabled(!isWithinNonEditableList(editor, element) && editor.selection.isEditable());
185
+ };
186
+ var nodeChangeHandler = function (e) { return updateButtonState(editor, e.parents); };
187
+ return setNodeChangeHandler(editor, nodeChangeHandler);
188
+ }; };
189
+ var addSplitButton = function (editor, id, tooltip, cmd, nodeName, styles) {
190
+ editor.ui.registry.addSplitButton(id, {
191
+ tooltip: tooltip,
192
+ icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',
193
+ presets: 'listpreview',
194
+ columns: 3,
195
+ fetch: function (callback) {
196
+ var items = global.map(styles, function (styleValue) {
197
+ var iconStyle = nodeName === 'OL' ? 'num' : 'bull';
198
+ var iconName = styleValue === 'disc' || styleValue === 'decimal' ? 'default' : styleValue;
199
+ var itemValue = normalizeStyleValue(styleValue);
200
+ var displayText = styleValueToText(styleValue);
201
+ return {
202
+ type: 'choiceitem',
203
+ value: itemValue,
204
+ icon: 'list-' + iconStyle + '-' + iconName,
205
+ text: displayText
206
+ };
207
+ });
208
+ callback(items);
209
+ },
210
+ onAction: function () { return editor.execCommand(cmd); },
211
+ onItemAction: function (_splitButtonApi, value) {
212
+ applyListFormat(editor, nodeName, value);
213
+ },
214
+ select: function (value) {
215
+ var listStyleType = getSelectedStyleType(editor);
216
+ return listStyleType.map(function (listStyle) { return value === listStyle; }).getOr(false);
217
+ },
218
+ onSetup: makeSetupHandler(editor, nodeName)
219
+ });
220
+ };
221
+ var addButton = function (editor, id, tooltip, cmd, nodeName, styleValue) {
222
+ editor.ui.registry.addToggleButton(id, {
223
+ active: false,
224
+ tooltip: tooltip,
225
+ icon: nodeName === 'OL' ? 'ordered-list' : 'unordered-list',
226
+ onSetup: makeSetupHandler(editor, nodeName),
227
+ onAction: function () { return editor.queryCommandState(cmd) || styleValue === '' ? editor.execCommand(cmd) : applyListFormat(editor, nodeName, styleValue); }
228
+ });
229
+ };
230
+ var addControl = function (editor, id, tooltip, cmd, nodeName, styles) {
231
+ if (styles.length > 1) {
232
+ addSplitButton(editor, id, tooltip, cmd, nodeName, styles);
233
+ }
234
+ else {
235
+ addButton(editor, id, tooltip, cmd, nodeName, normalizeStyleValue(styles[0]));
236
+ }
237
+ };
238
+ var register = function (editor) {
239
+ addControl(editor, 'numlist', 'Numbered list', 'InsertOrderedList', 'OL', getNumberStyles(editor));
240
+ addControl(editor, 'bullist', 'Bullet list', 'InsertUnorderedList', 'UL', getBulletStyles(editor));
241
+ };
242
+ var Plugin = function () {
243
+ global$1.add('advlist', function (editor) {
244
+ if (editor.hasPlugin('lists')) {
245
+ register$1(editor);
246
+ register(editor);
247
+ register$2(editor);
248
+ }
249
+ else {
250
+ console.error('Please use the Lists plugin together with the Advanced List plugin.');
251
+ }
252
+ });
253
+ };
254
+ Plugin();
255
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // Exports the "autolink" plugin for usage with module loaders
3
+ // Usage:
4
+ // CommonJS:
5
+ // require('tinymce/plugins/autolink')
6
+ // ES2015:
7
+ // import 'tinymce/plugins/autolink'
8
+ require('./plugin.js');
@@ -0,0 +1,221 @@
1
+ "use strict";
2
+ /**
3
+ * TinyMCE version 6.8.5 (TBD)
4
+ */
5
+ (function () {
6
+ 'use strict';
7
+ var global$1 = tinymce.util.Tools.resolve('tinymce.PluginManager');
8
+ var link = function () { return /(?:[A-Za-z][A-Za-z\d.+-]{0,14}:\/\/(?:[-.~*+=!&;:'%@?^${}(),\w]+@)?|www\.|[-;:&=+$,.\w]+@)[A-Za-z\d-]+(?:\.[A-Za-z\d-]+)*(?::\d+)?(?:\/(?:[-.~*+=!;:'%@$(),\/\w]*[-~*+=%@$()\/\w])?)?(?:\?(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?(?:#(?:[-.~*+=!&;:'%@?^${}(),\/\w]+))?/g; };
9
+ var option = function (name) { return function (editor) { return editor.options.get(name); }; };
10
+ var register = function (editor) {
11
+ var registerOption = editor.options.register;
12
+ registerOption('autolink_pattern', {
13
+ processor: 'regexp',
14
+ default: new RegExp('^' + link().source + '$', 'i')
15
+ });
16
+ registerOption('link_default_target', { processor: 'string' });
17
+ registerOption('link_default_protocol', {
18
+ processor: 'string',
19
+ default: 'https'
20
+ });
21
+ };
22
+ var getAutoLinkPattern = option('autolink_pattern');
23
+ var getDefaultLinkTarget = option('link_default_target');
24
+ var getDefaultLinkProtocol = option('link_default_protocol');
25
+ var allowUnsafeLinkTarget = option('allow_unsafe_link_target');
26
+ var hasProto = function (v, constructor, predicate) {
27
+ var _a;
28
+ if (predicate(v, constructor.prototype)) {
29
+ return true;
30
+ }
31
+ else {
32
+ return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
33
+ }
34
+ };
35
+ var typeOf = function (x) {
36
+ var t = typeof x;
37
+ if (x === null) {
38
+ return 'null';
39
+ }
40
+ else if (t === 'object' && Array.isArray(x)) {
41
+ return 'array';
42
+ }
43
+ else if (t === 'object' && hasProto(x, String, function (o, proto) { return proto.isPrototypeOf(o); })) {
44
+ return 'string';
45
+ }
46
+ else {
47
+ return t;
48
+ }
49
+ };
50
+ var isType = function (type) { return function (value) { return typeOf(value) === type; }; };
51
+ var eq = function (t) { return function (a) { return t === a; }; };
52
+ var isString = isType('string');
53
+ var isUndefined = eq(undefined);
54
+ var isNullable = function (a) { return a === null || a === undefined; };
55
+ var isNonNullable = function (a) { return !isNullable(a); };
56
+ var not = function (f) { return function (t) { return !f(t); }; };
57
+ var hasOwnProperty = Object.hasOwnProperty;
58
+ var has = function (obj, key) { return hasOwnProperty.call(obj, key); };
59
+ var checkRange = function (str, substr, start) { return substr === '' || str.length >= substr.length && str.substr(start, start + substr.length) === substr; };
60
+ var contains = function (str, substr, start, end) {
61
+ if (start === void 0) { start = 0; }
62
+ var idx = str.indexOf(substr, start);
63
+ if (idx !== -1) {
64
+ return isUndefined(end) ? true : idx + substr.length <= end;
65
+ }
66
+ else {
67
+ return false;
68
+ }
69
+ };
70
+ var startsWith = function (str, prefix) {
71
+ return checkRange(str, prefix, 0);
72
+ };
73
+ var zeroWidth = '\uFEFF';
74
+ var isZwsp = function (char) { return char === zeroWidth; };
75
+ var removeZwsp = function (s) { return s.replace(/\uFEFF/g, ''); };
76
+ var global = tinymce.util.Tools.resolve('tinymce.dom.TextSeeker');
77
+ var isTextNode = function (node) { return node.nodeType === 3; };
78
+ var isElement = function (node) { return node.nodeType === 1; };
79
+ var isBracketOrSpace = function (char) { return /^[(\[{ \u00a0]$/.test(char); };
80
+ var hasProtocol = function (url) { return /^([A-Za-z][A-Za-z\d.+-]*:\/\/)|mailto:/.test(url); };
81
+ var isPunctuation = function (char) { return /[?!,.;:]/.test(char); };
82
+ var findChar = function (text, index, predicate) {
83
+ for (var i = index - 1; i >= 0; i--) {
84
+ var char = text.charAt(i);
85
+ if (!isZwsp(char) && predicate(char)) {
86
+ return i;
87
+ }
88
+ }
89
+ return -1;
90
+ };
91
+ var freefallRtl = function (container, offset) {
92
+ var tempNode = container;
93
+ var tempOffset = offset;
94
+ while (isElement(tempNode) && tempNode.childNodes[tempOffset]) {
95
+ tempNode = tempNode.childNodes[tempOffset];
96
+ tempOffset = isTextNode(tempNode) ? tempNode.data.length : tempNode.childNodes.length;
97
+ }
98
+ return {
99
+ container: tempNode,
100
+ offset: tempOffset
101
+ };
102
+ };
103
+ var parseCurrentLine = function (editor, offset) {
104
+ var _a;
105
+ var voidElements = editor.schema.getVoidElements();
106
+ var autoLinkPattern = getAutoLinkPattern(editor);
107
+ var dom = editor.dom, selection = editor.selection;
108
+ if (dom.getParent(selection.getNode(), 'a[href]') !== null) {
109
+ return null;
110
+ }
111
+ var rng = selection.getRng();
112
+ var textSeeker = global(dom, function (node) {
113
+ return dom.isBlock(node) || has(voidElements, node.nodeName.toLowerCase()) || dom.getContentEditable(node) === 'false';
114
+ });
115
+ var _b = freefallRtl(rng.endContainer, rng.endOffset), endContainer = _b.container, endOffset = _b.offset;
116
+ var root = (_a = dom.getParent(endContainer, dom.isBlock)) !== null && _a !== void 0 ? _a : dom.getRoot();
117
+ var endSpot = textSeeker.backwards(endContainer, endOffset + offset, function (node, offset) {
118
+ var text = node.data;
119
+ var idx = findChar(text, offset, not(isBracketOrSpace));
120
+ return idx === -1 || isPunctuation(text[idx]) ? idx : idx + 1;
121
+ }, root);
122
+ if (!endSpot) {
123
+ return null;
124
+ }
125
+ var lastTextNode = endSpot.container;
126
+ var startSpot = textSeeker.backwards(endSpot.container, endSpot.offset, function (node, offset) {
127
+ lastTextNode = node;
128
+ var idx = findChar(node.data, offset, isBracketOrSpace);
129
+ return idx === -1 ? idx : idx + 1;
130
+ }, root);
131
+ var newRng = dom.createRng();
132
+ if (!startSpot) {
133
+ newRng.setStart(lastTextNode, 0);
134
+ }
135
+ else {
136
+ newRng.setStart(startSpot.container, startSpot.offset);
137
+ }
138
+ newRng.setEnd(endSpot.container, endSpot.offset);
139
+ var rngText = removeZwsp(newRng.toString());
140
+ var matches = rngText.match(autoLinkPattern);
141
+ if (matches) {
142
+ var url = matches[0];
143
+ if (startsWith(url, 'www.')) {
144
+ var protocol = getDefaultLinkProtocol(editor);
145
+ url = protocol + '://' + url;
146
+ }
147
+ else if (contains(url, '@') && !hasProtocol(url)) {
148
+ url = 'mailto:' + url;
149
+ }
150
+ return {
151
+ rng: newRng,
152
+ url: url
153
+ };
154
+ }
155
+ else {
156
+ return null;
157
+ }
158
+ };
159
+ var convertToLink = function (editor, result) {
160
+ var dom = editor.dom, selection = editor.selection;
161
+ var rng = result.rng, url = result.url;
162
+ var bookmark = selection.getBookmark();
163
+ selection.setRng(rng);
164
+ var command = 'createlink';
165
+ var args = {
166
+ command: command,
167
+ ui: false,
168
+ value: url
169
+ };
170
+ var beforeExecEvent = editor.dispatch('BeforeExecCommand', args);
171
+ if (!beforeExecEvent.isDefaultPrevented()) {
172
+ editor.getDoc().execCommand(command, false, url);
173
+ editor.dispatch('ExecCommand', args);
174
+ var defaultLinkTarget = getDefaultLinkTarget(editor);
175
+ if (isString(defaultLinkTarget)) {
176
+ var anchor = selection.getNode();
177
+ dom.setAttrib(anchor, 'target', defaultLinkTarget);
178
+ if (defaultLinkTarget === '_blank' && !allowUnsafeLinkTarget(editor)) {
179
+ dom.setAttrib(anchor, 'rel', 'noopener');
180
+ }
181
+ }
182
+ }
183
+ selection.moveToBookmark(bookmark);
184
+ editor.nodeChanged();
185
+ };
186
+ var handleSpacebar = function (editor) {
187
+ var result = parseCurrentLine(editor, -1);
188
+ if (isNonNullable(result)) {
189
+ convertToLink(editor, result);
190
+ }
191
+ };
192
+ var handleBracket = handleSpacebar;
193
+ var handleEnter = function (editor) {
194
+ var result = parseCurrentLine(editor, 0);
195
+ if (isNonNullable(result)) {
196
+ convertToLink(editor, result);
197
+ }
198
+ };
199
+ var setup = function (editor) {
200
+ editor.on('keydown', function (e) {
201
+ if (e.keyCode === 13 && !e.isDefaultPrevented()) {
202
+ handleEnter(editor);
203
+ }
204
+ });
205
+ editor.on('keyup', function (e) {
206
+ if (e.keyCode === 32) {
207
+ handleSpacebar(editor);
208
+ }
209
+ else if (e.keyCode === 48 && e.shiftKey || e.keyCode === 221) {
210
+ handleBracket(editor);
211
+ }
212
+ });
213
+ };
214
+ var Plugin = function () {
215
+ global$1.add('autolink', function (editor) {
216
+ register(editor);
217
+ setup(editor);
218
+ });
219
+ };
220
+ Plugin();
221
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // Exports the "code" plugin for usage with module loaders
3
+ // Usage:
4
+ // CommonJS:
5
+ // require('tinymce/plugins/code')
6
+ // ES2015:
7
+ // import 'tinymce/plugins/code'
8
+ require('./plugin.js');
File without changes
@@ -0,0 +1,77 @@
1
+ "use strict";
2
+ /**
3
+ * TinyMCE version 6.8.5 (TBD)
4
+ */
5
+ (function () {
6
+ 'use strict';
7
+ var global = tinymce.util.Tools.resolve('tinymce.PluginManager');
8
+ var setContent = function (editor, html) {
9
+ editor.focus();
10
+ editor.undoManager.transact(function () {
11
+ editor.setContent(html);
12
+ });
13
+ editor.selection.setCursorLocation();
14
+ editor.nodeChanged();
15
+ };
16
+ var getContent = function (editor) {
17
+ return editor.getContent({ source_view: true });
18
+ };
19
+ var open = function (editor) {
20
+ var editorContent = getContent(editor);
21
+ editor.windowManager.open({
22
+ title: 'Source Code',
23
+ size: 'large',
24
+ body: {
25
+ type: 'panel',
26
+ items: [{
27
+ type: 'textarea',
28
+ name: 'code'
29
+ }]
30
+ },
31
+ buttons: [
32
+ {
33
+ type: 'cancel',
34
+ name: 'cancel',
35
+ text: 'Cancel'
36
+ },
37
+ {
38
+ type: 'submit',
39
+ name: 'save',
40
+ text: 'Save',
41
+ primary: true
42
+ }
43
+ ],
44
+ initialData: { code: editorContent },
45
+ onSubmit: function (api) {
46
+ setContent(editor, api.getData().code);
47
+ api.close();
48
+ }
49
+ });
50
+ };
51
+ var register$1 = function (editor) {
52
+ editor.addCommand('mceCodeEditor', function () {
53
+ open(editor);
54
+ });
55
+ };
56
+ var register = function (editor) {
57
+ var onAction = function () { return editor.execCommand('mceCodeEditor'); };
58
+ editor.ui.registry.addButton('code', {
59
+ icon: 'sourcecode',
60
+ tooltip: 'Source code',
61
+ onAction: onAction
62
+ });
63
+ editor.ui.registry.addMenuItem('code', {
64
+ icon: 'sourcecode',
65
+ text: 'Source code',
66
+ onAction: onAction
67
+ });
68
+ };
69
+ var Plugin = function () {
70
+ global.add('code', function (editor) {
71
+ register$1(editor);
72
+ register(editor);
73
+ return {};
74
+ });
75
+ };
76
+ Plugin();
77
+ })();
@@ -0,0 +1 @@
1
+ export {};
@@ -0,0 +1,8 @@
1
+ "use strict";
2
+ // Exports the "codesample" plugin for usage with module loaders
3
+ // Usage:
4
+ // CommonJS:
5
+ // require('tinymce/plugins/codesample')
6
+ // ES2015:
7
+ // import 'tinymce/plugins/codesample'
8
+ require('./plugin.js');
@@ -0,0 +1,45 @@
1
+ declare var plainTextGrammar: {};
2
+ export function Token(type: any, content: any, alias: any, matchedStr: any): void;
3
+ export namespace Token {
4
+ function stringify(o: any, language: any): any;
5
+ }
6
+ export class Token {
7
+ constructor(type: any, content: any, alias: any, matchedStr: any);
8
+ type: any;
9
+ content: any;
10
+ alias: any;
11
+ length: number;
12
+ }
13
+ export declare let manual: any;
14
+ export declare let disableWorkerMessageHandler: any;
15
+ export declare namespace util {
16
+ function encode(tokens: any): any;
17
+ function type(o: any): string;
18
+ function objId(obj: any): any;
19
+ function clone(o: any, visited: any): any;
20
+ function getLanguage(element: any): string;
21
+ function setLanguage(element: any, language: any): void;
22
+ function currentScript(): HTMLOrSVGScriptElement | null;
23
+ function isActive(element: any, className: any, defaultActivation: any): boolean;
24
+ }
25
+ export declare namespace languages {
26
+ export { plainTextGrammar as plain };
27
+ export { plainTextGrammar as plaintext };
28
+ export { plainTextGrammar as text };
29
+ export { plainTextGrammar as txt };
30
+ export function extend(id: any, redef: any): any;
31
+ export function insertBefore(inside: any, before: any, insert: any, root: any): {};
32
+ export function DFS(o: any, callback: any, type: any, visited: any): void;
33
+ }
34
+ export declare let plugins: {};
35
+ export declare function highlightAll(async: any, callback: any): void;
36
+ export declare function highlightAllUnder(container: any, async: any, callback: any): void;
37
+ export declare function highlightElement(element: any, async: any, callback: any): void;
38
+ export declare function highlight(text: any, grammar: any, language: any): any;
39
+ export declare function tokenize(text: any, grammar: any): any[];
40
+ export declare namespace hooks {
41
+ let all: {};
42
+ function add(name: any, callback: any): void;
43
+ function run(name: any, env: any): void;
44
+ }
45
+ export {};