@lotte-innovate/ui-component-test 0.2.25 → 0.2.27

Sign up to get free protection for your applications and to get access to all the features.
Files changed (1026) hide show
  1. package/README.md +172 -15
  2. package/dist/globals.css +4 -0
  3. package/dist/lib/Typography/Header/index.d.ts +15 -0
  4. package/dist/lib/Typography/Header/index.js +56 -0
  5. package/dist/lib/Typography/Text/index.d.ts +15 -0
  6. package/dist/lib/Typography/Text/index.js +45 -0
  7. package/dist/lib/Typography/index.d.ts +2 -0
  8. package/dist/lib/Typography/index.js +2 -0
  9. package/dist/lib/_virtual/_commonjsHelpers.mjs +2 -0
  10. package/dist/lib/_virtual/_commonjsHelpers.mjs.map +1 -0
  11. package/dist/lib/_virtual/index.mjs +2 -0
  12. package/dist/lib/_virtual/index2.mjs +2 -0
  13. package/dist/lib/_virtual/index2.mjs.map +1 -0
  14. package/dist/lib/_virtual/index3.mjs +2 -0
  15. package/dist/lib/_virtual/index3.mjs.map +1 -0
  16. package/dist/lib/_virtual/react-is.development.mjs +2 -0
  17. package/dist/lib/_virtual/react-is.development.mjs.map +1 -0
  18. package/dist/lib/_virtual/react-is.production.min.mjs +2 -0
  19. package/dist/lib/_virtual/react-is.production.min.mjs.map +1 -0
  20. package/dist/lib/color/alpha.d.ts +784 -0
  21. package/dist/lib/color/alpha.js +784 -0
  22. package/dist/lib/color/constants.d.ts +15 -0
  23. package/dist/lib/color/constants.js +265 -0
  24. package/dist/lib/color/dark.d.ts +392 -0
  25. package/dist/lib/color/dark.js +392 -0
  26. package/dist/lib/color/krdsColors.d.ts +309 -0
  27. package/dist/lib/color/krdsColors.js +309 -0
  28. package/dist/lib/color/light.d.ts +392 -0
  29. package/dist/lib/color/light.js +393 -0
  30. package/dist/lib/components/Accordion/index.d.ts +22 -0
  31. package/dist/lib/components/Accordion/index.js +81 -0
  32. package/dist/lib/components/AlertDialog/AlertDialogAction.d.ts +14 -0
  33. package/dist/lib/components/AlertDialog/AlertDialogAction.js +63 -0
  34. package/dist/lib/components/AlertDialog/AlertDialogCancel.d.ts +13 -0
  35. package/dist/lib/components/AlertDialog/AlertDialogCancel.js +61 -0
  36. package/dist/lib/components/AlertDialog/AlertDialogContent.d.ts +11 -0
  37. package/dist/lib/components/AlertDialog/AlertDialogContent.js +52 -0
  38. package/dist/lib/components/AlertDialog/AlertDialogDescription.d.ts +10 -0
  39. package/dist/lib/components/AlertDialog/AlertDialogDescription.js +48 -0
  40. package/dist/lib/components/AlertDialog/AlertDialogRoot.d.ts +16 -0
  41. package/dist/lib/components/AlertDialog/AlertDialogRoot.js +50 -0
  42. package/dist/lib/components/AlertDialog/AlertDialogTitle.d.ts +10 -0
  43. package/dist/lib/components/AlertDialog/AlertDialogTitle.js +48 -0
  44. package/dist/lib/components/AlertDialog/AlertDialogTrigger.d.ts +17 -0
  45. package/dist/lib/components/AlertDialog/AlertDialogTrigger.js +67 -0
  46. package/dist/lib/components/AlertDialog/index.d.ts +11 -0
  47. package/dist/lib/components/AlertDialog/index.js +17 -0
  48. package/dist/lib/components/AspectRatio/index.d.ts +10 -0
  49. package/dist/lib/components/AspectRatio/index.js +45 -0
  50. package/dist/lib/components/Avatar/index.d.ts +21 -0
  51. package/dist/lib/components/Avatar/index.js +67 -0
  52. package/dist/lib/components/Badge/index.d.ts +18 -0
  53. package/dist/lib/components/Badge/index.js +65 -0
  54. package/dist/lib/components/BarChart/index.d.ts +33 -0
  55. package/dist/lib/components/BarChart/index.js +63 -0
  56. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.d.ts +9 -0
  57. package/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.js +34 -0
  58. package/dist/lib/components/Breadcrumb/BreadcrumbItem.d.ts +6 -0
  59. package/dist/lib/components/Breadcrumb/BreadcrumbItem.js +32 -0
  60. package/dist/lib/components/Breadcrumb/BreadcrumbLink.d.ts +10 -0
  61. package/dist/lib/components/Breadcrumb/BreadcrumbLink.js +47 -0
  62. package/dist/lib/components/Breadcrumb/BreadcrumbList.d.ts +6 -0
  63. package/dist/lib/components/Breadcrumb/BreadcrumbList.js +34 -0
  64. package/dist/lib/components/Breadcrumb/BreadcrumbPage.d.ts +8 -0
  65. package/dist/lib/components/Breadcrumb/BreadcrumbPage.js +45 -0
  66. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.d.ts +14 -0
  67. package/dist/lib/components/Breadcrumb/BreadcrumbRoot.js +59 -0
  68. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.d.ts +9 -0
  69. package/dist/lib/components/Breadcrumb/BreadcrumbSeparator.js +34 -0
  70. package/dist/lib/components/Breadcrumb/index.d.ts +21 -0
  71. package/dist/lib/components/Breadcrumb/index.js +17 -0
  72. package/dist/lib/components/BubbleChart/index.d.ts +28 -0
  73. package/dist/lib/components/BubbleChart/index.js +82 -0
  74. package/dist/lib/components/Button/index.d.ts +16 -0
  75. package/dist/lib/components/Button/index.js +67 -0
  76. package/dist/lib/components/Calendar/index.d.ts +8 -0
  77. package/dist/lib/components/Calendar/index.js +45 -0
  78. package/dist/lib/components/Callout/CalloutIcon.d.ts +13 -0
  79. package/dist/lib/components/Callout/CalloutIcon.js +58 -0
  80. package/dist/lib/components/Callout/CalloutRoot.d.ts +18 -0
  81. package/dist/lib/components/Callout/CalloutRoot.js +80 -0
  82. package/dist/lib/components/Callout/CalloutText.d.ts +10 -0
  83. package/dist/lib/components/Callout/CalloutText.js +53 -0
  84. package/dist/lib/components/Callout/index.d.ts +7 -0
  85. package/dist/lib/components/Callout/index.js +9 -0
  86. package/dist/lib/components/Card/index.d.ts +14 -0
  87. package/dist/lib/components/Card/index.js +72 -0
  88. package/dist/lib/components/Checkbox/index.d.ts +17 -0
  89. package/dist/lib/components/Checkbox/index.js +98 -0
  90. package/dist/lib/components/CheckboxCard/index.d.ts +20 -0
  91. package/dist/lib/components/CheckboxCard/index.js +66 -0
  92. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.d.ts +5 -0
  93. package/dist/lib/components/CheckboxGroup/CheckboxGroupItem.js +34 -0
  94. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.d.ts +21 -0
  95. package/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.js +59 -0
  96. package/dist/lib/components/CheckboxGroup/index.d.ts +6 -0
  97. package/dist/lib/components/CheckboxGroup/index.js +4 -0
  98. package/dist/lib/components/Collapsible/index.d.ts +21 -0
  99. package/dist/lib/components/Collapsible/index.js +75 -0
  100. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.d.ts +4 -0
  101. package/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.js +43 -0
  102. package/dist/lib/components/ContextMenu/ContextMenuContent.d.ts +11 -0
  103. package/dist/lib/components/ContextMenu/ContextMenuContent.js +57 -0
  104. package/dist/lib/components/ContextMenu/ContextMenuGroup.d.ts +4 -0
  105. package/dist/lib/components/ContextMenu/ContextMenuGroup.js +30 -0
  106. package/dist/lib/components/ContextMenu/ContextMenuItem.d.ts +13 -0
  107. package/dist/lib/components/ContextMenu/ContextMenuItem.js +61 -0
  108. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.d.ts +10 -0
  109. package/dist/lib/components/ContextMenu/ContextMenuItemIndicator.js +51 -0
  110. package/dist/lib/components/ContextMenu/ContextMenuLabel.d.ts +11 -0
  111. package/dist/lib/components/ContextMenu/ContextMenuLabel.js +49 -0
  112. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.d.ts +8 -0
  113. package/dist/lib/components/ContextMenu/ContextMenuRadioGroup.js +32 -0
  114. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.d.ts +4 -0
  115. package/dist/lib/components/ContextMenu/ContextMenuRadioItem.js +45 -0
  116. package/dist/lib/components/ContextMenu/ContextMenuRoot.d.ts +13 -0
  117. package/dist/lib/components/ContextMenu/ContextMenuRoot.js +52 -0
  118. package/dist/lib/components/ContextMenu/ContextMenuSeparator.d.ts +3 -0
  119. package/dist/lib/components/ContextMenu/ContextMenuSeparator.js +31 -0
  120. package/dist/lib/components/ContextMenu/ContextMenuSubContent.d.ts +11 -0
  121. package/dist/lib/components/ContextMenu/ContextMenuSubContent.js +55 -0
  122. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.d.ts +4 -0
  123. package/dist/lib/components/ContextMenu/ContextMenuSubTrigger.js +42 -0
  124. package/dist/lib/components/ContextMenu/ContextMenuTrigger.d.ts +4 -0
  125. package/dist/lib/components/ContextMenu/ContextMenuTrigger.js +31 -0
  126. package/dist/lib/components/ContextMenu/index.d.ts +17 -0
  127. package/dist/lib/components/ContextMenu/index.js +29 -0
  128. package/dist/lib/components/DataList/DataListItem.d.ts +9 -0
  129. package/dist/lib/components/DataList/DataListItem.js +44 -0
  130. package/dist/lib/components/DataList/DataListLabel.d.ts +10 -0
  131. package/dist/lib/components/DataList/DataListLabel.js +50 -0
  132. package/dist/lib/components/DataList/DataListRoot.d.ts +14 -0
  133. package/dist/lib/components/DataList/DataListRoot.js +61 -0
  134. package/dist/lib/components/DataList/DataListValue.d.ts +11 -0
  135. package/dist/lib/components/DataList/DataListValue.js +52 -0
  136. package/dist/lib/components/DataList/index.d.ts +8 -0
  137. package/dist/lib/components/DataList/index.js +6 -0
  138. package/dist/lib/components/Datepicker/index.d.ts +14 -0
  139. package/dist/lib/components/Datepicker/index.js +35 -0
  140. package/dist/lib/components/Dialog/DialogAction.d.ts +11 -0
  141. package/dist/lib/components/Dialog/DialogAction.js +61 -0
  142. package/dist/lib/components/Dialog/DialogCancel.d.ts +10 -0
  143. package/dist/lib/components/Dialog/DialogCancel.js +56 -0
  144. package/dist/lib/components/Dialog/DialogContent.d.ts +11 -0
  145. package/dist/lib/components/Dialog/DialogContent.js +58 -0
  146. package/dist/lib/components/Dialog/DialogDescription.d.ts +9 -0
  147. package/dist/lib/components/Dialog/DialogDescription.js +48 -0
  148. package/dist/lib/components/Dialog/DialogRoot.d.ts +12 -0
  149. package/dist/lib/components/Dialog/DialogRoot.js +46 -0
  150. package/dist/lib/components/Dialog/DialogSlot.d.ts +8 -0
  151. package/dist/lib/components/Dialog/DialogSlot.js +47 -0
  152. package/dist/lib/components/Dialog/DialogTitle.d.ts +9 -0
  153. package/dist/lib/components/Dialog/DialogTitle.js +48 -0
  154. package/dist/lib/components/Dialog/DialogTrigger.d.ts +3 -0
  155. package/dist/lib/components/Dialog/DialogTrigger.js +30 -0
  156. package/dist/lib/components/Dialog/index.d.ts +15 -0
  157. package/dist/lib/components/Dialog/index.js +19 -0
  158. package/dist/lib/components/DoughnutChart/index.d.ts +22 -0
  159. package/dist/lib/components/DoughnutChart/index.js +65 -0
  160. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.d.ts +3 -0
  161. package/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.js +30 -0
  162. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.d.ts +11 -0
  163. package/dist/lib/components/DropdownMenu/DropdonMenuSubContent.js +61 -0
  164. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.d.ts +7 -0
  165. package/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.js +42 -0
  166. package/dist/lib/components/DropdownMenu/DropdownMenuContent.d.ts +11 -0
  167. package/dist/lib/components/DropdownMenu/DropdownMenuContent.js +57 -0
  168. package/dist/lib/components/DropdownMenu/DropdownMenuItem.d.ts +15 -0
  169. package/dist/lib/components/DropdownMenu/DropdownMenuItem.js +60 -0
  170. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.d.ts +10 -0
  171. package/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.js +49 -0
  172. package/dist/lib/components/DropdownMenu/DropdownMenuLable.d.ts +10 -0
  173. package/dist/lib/components/DropdownMenu/DropdownMenuLable.js +46 -0
  174. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.d.ts +6 -0
  175. package/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.js +42 -0
  176. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.d.ts +14 -0
  177. package/dist/lib/components/DropdownMenu/DropdownMenuRoot.js +48 -0
  178. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.d.ts +3 -0
  179. package/dist/lib/components/DropdownMenu/DropdownMenuSeparator.js +31 -0
  180. package/dist/lib/components/DropdownMenu/DropdownMenuSub.d.ts +3 -0
  181. package/dist/lib/components/DropdownMenu/DropdownMenuSub.js +30 -0
  182. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.d.ts +4 -0
  183. package/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.js +42 -0
  184. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.d.ts +14 -0
  185. package/dist/lib/components/DropdownMenu/DropdownMenuTrigger.js +54 -0
  186. package/dist/lib/components/DropdownMenu/index.d.ts +20 -0
  187. package/dist/lib/components/DropdownMenu/index.js +29 -0
  188. package/dist/lib/components/Editor/index.d.ts +1 -1
  189. package/dist/lib/components/Editor/index.js +1 -2
  190. package/dist/lib/components/Footer/index.d.ts +11 -0
  191. package/dist/lib/components/Footer/index.js +57 -0
  192. package/dist/lib/components/Gnb/GnbInfo.d.ts +9 -0
  193. package/dist/lib/components/Gnb/GnbInfo.js +46 -0
  194. package/dist/lib/components/Gnb/GnbLogo.d.ts +10 -0
  195. package/dist/lib/components/Gnb/GnbLogo.js +46 -0
  196. package/dist/lib/components/Gnb/GnbMenu.d.ts +9 -0
  197. package/dist/lib/components/Gnb/GnbMenu.js +46 -0
  198. package/dist/lib/components/Gnb/GnbMenuItem.d.ts +11 -0
  199. package/dist/lib/components/Gnb/GnbMenuItem.js +46 -0
  200. package/dist/lib/components/Gnb/GnbRoot.d.ts +11 -0
  201. package/dist/lib/components/Gnb/GnbRoot.js +53 -0
  202. package/dist/lib/components/Gnb/index.d.ts +9 -0
  203. package/dist/lib/components/Gnb/index.js +13 -0
  204. package/dist/lib/components/Grid/Pagination.d.ts +2 -0
  205. package/dist/lib/components/Grid/Pagination.js +18 -0
  206. package/dist/lib/components/Grid/index.d.ts +7 -0
  207. package/dist/lib/components/Grid/index.js +59 -0
  208. package/dist/lib/components/Grid/useGrid.d.ts +3 -0
  209. package/dist/lib/components/Grid/useGrid.js +81 -0
  210. package/dist/lib/components/HoverCard/HoverCardContent.d.ts +13 -0
  211. package/dist/lib/components/HoverCard/HoverCardContent.js +62 -0
  212. package/dist/lib/components/HoverCard/HoverCardRoot.d.ts +11 -0
  213. package/dist/lib/components/HoverCard/HoverCardRoot.js +48 -0
  214. package/dist/lib/components/HoverCard/HoverCardTrigger.d.ts +3 -0
  215. package/dist/lib/components/HoverCard/HoverCardTrigger.js +30 -0
  216. package/dist/lib/components/HoverCard/index.d.ts +10 -0
  217. package/dist/lib/components/HoverCard/index.js +9 -0
  218. package/dist/lib/components/IconButton/index.d.ts +15 -0
  219. package/dist/lib/components/IconButton/index.js +73 -0
  220. package/dist/lib/components/Inset/index.d.ts +10 -0
  221. package/dist/lib/components/Inset/index.js +57 -0
  222. package/dist/lib/components/Label/index.d.ts +20 -0
  223. package/dist/lib/components/Label/index.js +64 -0
  224. package/dist/lib/components/LineChart/index.d.ts +43 -0
  225. package/dist/lib/components/LineChart/index.js +61 -0
  226. package/dist/lib/components/Menubar/MenubarCheckboxItem.d.ts +4 -0
  227. package/dist/lib/components/Menubar/MenubarCheckboxItem.js +40 -0
  228. package/dist/lib/components/Menubar/MenubarContent.d.ts +11 -0
  229. package/dist/lib/components/Menubar/MenubarContent.js +61 -0
  230. package/dist/lib/components/Menubar/MenubarItem.d.ts +13 -0
  231. package/dist/lib/components/Menubar/MenubarItem.js +56 -0
  232. package/dist/lib/components/Menubar/MenubarItemIndicator.d.ts +10 -0
  233. package/dist/lib/components/Menubar/MenubarItemIndicator.js +50 -0
  234. package/dist/lib/components/Menubar/MenubarMenu.d.ts +5 -0
  235. package/dist/lib/components/Menubar/MenubarMenu.js +30 -0
  236. package/dist/lib/components/Menubar/MenubarRadioGroup.d.ts +8 -0
  237. package/dist/lib/components/Menubar/MenubarRadioGroup.js +32 -0
  238. package/dist/lib/components/Menubar/MenubarRadioItem.d.ts +4 -0
  239. package/dist/lib/components/Menubar/MenubarRadioItem.js +42 -0
  240. package/dist/lib/components/Menubar/MenubarRoot.d.ts +19 -0
  241. package/dist/lib/components/Menubar/MenubarRoot.js +73 -0
  242. package/dist/lib/components/Menubar/MenubarSeparator.d.ts +3 -0
  243. package/dist/lib/components/Menubar/MenubarSeparator.js +31 -0
  244. package/dist/lib/components/Menubar/MenubarSub.d.ts +3 -0
  245. package/dist/lib/components/Menubar/MenubarSub.js +30 -0
  246. package/dist/lib/components/Menubar/MenubarSubContent.d.ts +10 -0
  247. package/dist/lib/components/Menubar/MenubarSubContent.js +52 -0
  248. package/dist/lib/components/Menubar/MenubarSubTrigger.d.ts +4 -0
  249. package/dist/lib/components/Menubar/MenubarSubTrigger.js +43 -0
  250. package/dist/lib/components/Menubar/MenubarTrigger.d.ts +12 -0
  251. package/dist/lib/components/Menubar/MenubarTrigger.js +58 -0
  252. package/dist/lib/components/Menubar/index.d.ts +19 -0
  253. package/dist/lib/components/Menubar/index.js +29 -0
  254. package/dist/lib/components/NavigationMenu/NavigationMenuContent.d.ts +11 -0
  255. package/dist/lib/components/NavigationMenu/NavigationMenuContent.js +49 -0
  256. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.d.ts +3 -0
  257. package/dist/lib/components/NavigationMenu/NavigationMenuIndicator.js +31 -0
  258. package/dist/lib/components/NavigationMenu/NavigationMenuItem.d.ts +3 -0
  259. package/dist/lib/components/NavigationMenu/NavigationMenuItem.js +30 -0
  260. package/dist/lib/components/NavigationMenu/NavigationMenuLink.d.ts +13 -0
  261. package/dist/lib/components/NavigationMenu/NavigationMenuLink.js +53 -0
  262. package/dist/lib/components/NavigationMenu/NavigationMenuList.d.ts +12 -0
  263. package/dist/lib/components/NavigationMenu/NavigationMenuList.js +49 -0
  264. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.d.ts +14 -0
  265. package/dist/lib/components/NavigationMenu/NavigationMenuRoot.js +53 -0
  266. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.d.ts +13 -0
  267. package/dist/lib/components/NavigationMenu/NavigationMenuTrigger.js +60 -0
  268. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.d.ts +12 -0
  269. package/dist/lib/components/NavigationMenu/NavigationMenuViewport.js +54 -0
  270. package/dist/lib/components/NavigationMenu/index.d.ts +12 -0
  271. package/dist/lib/components/NavigationMenu/index.js +10 -0
  272. package/dist/lib/components/PieChart/index.d.ts +22 -0
  273. package/dist/lib/components/PieChart/index.js +65 -0
  274. package/dist/lib/components/Popover/PopoverClose.d.ts +9 -0
  275. package/dist/lib/components/Popover/PopoverClose.js +49 -0
  276. package/dist/lib/components/Popover/PopoverContent.d.ts +13 -0
  277. package/dist/lib/components/Popover/PopoverContent.js +66 -0
  278. package/dist/lib/components/Popover/PopoverRoot.d.ts +11 -0
  279. package/dist/lib/components/Popover/PopoverRoot.js +43 -0
  280. package/dist/lib/components/Popover/PopoverTrigger.d.ts +3 -0
  281. package/dist/lib/components/Popover/PopoverTrigger.js +30 -0
  282. package/dist/lib/components/Popover/index.d.ts +11 -0
  283. package/dist/lib/components/Popover/index.js +11 -0
  284. package/dist/lib/components/Progress/index.d.ts +13 -0
  285. package/dist/lib/components/Progress/index.js +67 -0
  286. package/dist/lib/components/RadarChart/index.d.ts +32 -0
  287. package/dist/lib/components/RadarChart/index.js +85 -0
  288. package/dist/lib/components/Radio/index.d.ts +13 -0
  289. package/dist/lib/components/Radio/index.js +60 -0
  290. package/dist/lib/components/RadioCards/RadioCardsItem.d.ts +10 -0
  291. package/dist/lib/components/RadioCards/RadioCardsItem.js +55 -0
  292. package/dist/lib/components/RadioCards/RadioCardsRoot.d.ts +13 -0
  293. package/dist/lib/components/RadioCards/RadioCardsRoot.js +56 -0
  294. package/dist/lib/components/RadioCards/index.d.ts +6 -0
  295. package/dist/lib/components/RadioCards/index.js +7 -0
  296. package/dist/lib/components/RadioGroup/RadioGroupItem.d.ts +12 -0
  297. package/dist/lib/components/RadioGroup/RadioGroupItem.js +47 -0
  298. package/dist/lib/components/RadioGroup/RadioGroupRoot.d.ts +15 -0
  299. package/dist/lib/components/RadioGroup/RadioGroupRoot.js +62 -0
  300. package/dist/lib/components/RadioGroup/index.d.ts +6 -0
  301. package/dist/lib/components/RadioGroup/index.js +7 -0
  302. package/dist/lib/components/ScrollArea/index.d.ts +9 -0
  303. package/dist/lib/components/ScrollArea/index.js +39 -0
  304. package/dist/lib/components/SegmentedControl/SegmentedControlItem.d.ts +6 -0
  305. package/dist/lib/components/SegmentedControl/SegmentedControlItem.js +35 -0
  306. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.d.ts +14 -0
  307. package/dist/lib/components/SegmentedControl/SegmentedControlRoot.js +55 -0
  308. package/dist/lib/components/SegmentedControl/index.d.ts +6 -0
  309. package/dist/lib/components/SegmentedControl/index.js +7 -0
  310. package/dist/lib/components/Select/index.d.ts +36 -0
  311. package/dist/lib/components/Select/index.js +112 -0
  312. package/dist/lib/components/Separator/index.d.ts +11 -0
  313. package/dist/lib/components/Separator/index.js +55 -0
  314. package/dist/lib/components/SideBar/index.d.ts +21 -0
  315. package/dist/lib/components/SideBar/index.js +71 -0
  316. package/dist/lib/components/Skeleton/index.d.ts +14 -0
  317. package/dist/lib/components/Skeleton/index.js +46 -0
  318. package/dist/lib/components/Slider/index.d.ts +15 -0
  319. package/dist/lib/components/Slider/index.js +56 -0
  320. package/dist/lib/components/Spinner/index.d.ts +15 -0
  321. package/dist/lib/components/Spinner/index.js +50 -0
  322. package/dist/lib/components/TabNav/index.d.ts +15 -0
  323. package/dist/lib/components/TabNav/index.js +53 -0
  324. package/dist/lib/components/Table/index.d.ts +30 -0
  325. package/dist/lib/components/Table/index.js +104 -0
  326. package/dist/lib/components/Tabs/DynamicTabs.d.ts +30 -0
  327. package/dist/lib/components/Tabs/DynamicTabs.js +72 -0
  328. package/dist/lib/components/Tabs/index.d.ts +23 -0
  329. package/dist/lib/components/Tabs/index.js +68 -0
  330. package/dist/lib/components/TextArea/index.d.ts +16 -0
  331. package/dist/lib/components/TextArea/index.js +66 -0
  332. package/dist/lib/components/TextField/index.d.ts +21 -0
  333. package/dist/lib/components/TextField/index.js +64 -0
  334. package/dist/lib/components/Timeline/TimelineConnector.d.ts +6 -0
  335. package/dist/lib/components/Timeline/TimelineConnector.js +34 -0
  336. package/dist/lib/components/Timeline/TimelineContent.d.ts +6 -0
  337. package/dist/lib/components/Timeline/TimelineContent.js +34 -0
  338. package/dist/lib/components/Timeline/TimelineDescription.d.ts +6 -0
  339. package/dist/lib/components/Timeline/TimelineDescription.js +34 -0
  340. package/dist/lib/components/Timeline/TimelineHeader.d.ts +6 -0
  341. package/dist/lib/components/Timeline/TimelineHeader.js +34 -0
  342. package/dist/lib/components/Timeline/TimelineIcon.d.ts +8 -0
  343. package/dist/lib/components/Timeline/TimelineIcon.js +43 -0
  344. package/dist/lib/components/Timeline/TimelineItem.d.ts +6 -0
  345. package/dist/lib/components/Timeline/TimelineItem.js +34 -0
  346. package/dist/lib/components/Timeline/TimelineRoot.d.ts +11 -0
  347. package/dist/lib/components/Timeline/TimelineRoot.js +53 -0
  348. package/dist/lib/components/Timeline/TimelineTime.d.ts +8 -0
  349. package/dist/lib/components/Timeline/TimelineTime.js +46 -0
  350. package/dist/lib/components/Timeline/TimelineTitle.d.ts +8 -0
  351. package/dist/lib/components/Timeline/TimelineTitle.js +46 -0
  352. package/dist/lib/components/Timeline/index.d.ts +13 -0
  353. package/dist/lib/components/Timeline/index.js +21 -0
  354. package/dist/lib/components/Toast/ToastActionButton.d.ts +14 -0
  355. package/dist/lib/components/Toast/ToastActionButton.js +72 -0
  356. package/dist/lib/components/Toast/ToastDescription.d.ts +13 -0
  357. package/dist/lib/components/Toast/ToastDescription.js +54 -0
  358. package/dist/lib/components/Toast/ToastRoot.d.ts +27 -0
  359. package/dist/lib/components/Toast/ToastRoot.js +98 -0
  360. package/dist/lib/components/Toast/ToastTitle.d.ts +13 -0
  361. package/dist/lib/components/Toast/ToastTitle.js +54 -0
  362. package/dist/lib/components/Toast/index.d.ts +8 -0
  363. package/dist/lib/components/Toast/index.js +11 -0
  364. package/dist/lib/components/Toggle/ToggleWithText.d.ts +21 -0
  365. package/dist/lib/components/Toggle/ToggleWithText.js +69 -0
  366. package/dist/lib/components/Toggle/index.d.ts +21 -0
  367. package/dist/lib/components/Toggle/index.js +69 -0
  368. package/dist/lib/components/ToggleGroup/ToggleGroupItem.d.ts +17 -0
  369. package/dist/lib/components/ToggleGroup/ToggleGroupItem.js +55 -0
  370. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.d.ts +15 -0
  371. package/dist/lib/components/ToggleGroup/ToggleGroupRoot.js +58 -0
  372. package/dist/lib/components/ToggleGroup/index.d.ts +6 -0
  373. package/dist/lib/components/ToggleGroup/index.js +7 -0
  374. package/dist/lib/components/ToggleSwitch/index.d.ts +13 -0
  375. package/dist/lib/components/ToggleSwitch/index.js +82 -0
  376. package/dist/lib/components/Tooltip/index.d.ts +19 -0
  377. package/dist/lib/components/Tooltip/index.js +54 -0
  378. package/dist/lib/components/index.d.ts +61 -1
  379. package/dist/lib/components/index.js +64 -1
  380. package/dist/lib/constants.d.ts +647 -0
  381. package/dist/lib/constants.js +895 -0
  382. package/dist/lib/dist/lib/Typography/Header/index.mjs +3 -0
  383. package/dist/lib/dist/lib/Typography/Text/index.mjs +3 -0
  384. package/dist/lib/dist/lib/Typography/Text/index.mjs.map +1 -0
  385. package/dist/lib/dist/lib/color/alpha.mjs +2 -0
  386. package/dist/lib/dist/lib/color/alpha.mjs.map +1 -0
  387. package/dist/lib/dist/lib/color/constants.mjs +2 -0
  388. package/dist/lib/dist/lib/color/constants.mjs.map +1 -0
  389. package/dist/lib/dist/lib/color/light.mjs +2 -0
  390. package/dist/lib/dist/lib/color/light.mjs.map +1 -0
  391. package/dist/lib/dist/lib/components/Accordion/index.mjs +3 -0
  392. package/dist/lib/dist/lib/components/Accordion/index.mjs.map +1 -0
  393. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs +3 -0
  394. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogAction.mjs.map +1 -0
  395. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs +3 -0
  396. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogCancel.mjs.map +1 -0
  397. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs +3 -0
  398. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogContent.mjs.map +1 -0
  399. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs +3 -0
  400. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogDescription.mjs.map +1 -0
  401. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs +3 -0
  402. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogRoot.mjs.map +1 -0
  403. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs +3 -0
  404. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTitle.mjs.map +1 -0
  405. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs +3 -0
  406. package/dist/lib/dist/lib/components/AlertDialog/AlertDialogTrigger.mjs.map +1 -0
  407. package/dist/lib/dist/lib/components/AlertDialog/index.mjs +2 -0
  408. package/dist/lib/dist/lib/components/AlertDialog/index.mjs.map +1 -0
  409. package/dist/lib/dist/lib/components/AspectRatio/index.mjs +3 -0
  410. package/dist/lib/dist/lib/components/AspectRatio/index.mjs.map +1 -0
  411. package/dist/lib/dist/lib/components/Avatar/index.mjs +3 -0
  412. package/dist/lib/dist/lib/components/Avatar/index.mjs.map +1 -0
  413. package/dist/lib/dist/lib/components/Badge/index.mjs +3 -0
  414. package/dist/lib/dist/lib/components/Badge/index.mjs.map +1 -0
  415. package/dist/lib/dist/lib/components/BarChart/index.mjs +2 -0
  416. package/dist/lib/dist/lib/components/BarChart/index.mjs.map +1 -0
  417. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs +2 -0
  418. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbEllipsis.mjs.map +1 -0
  419. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs +2 -0
  420. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbItem.mjs.map +1 -0
  421. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs +2 -0
  422. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbLink.mjs.map +1 -0
  423. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs +2 -0
  424. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbList.mjs.map +1 -0
  425. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs +2 -0
  426. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbPage.mjs.map +1 -0
  427. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs +3 -0
  428. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbRoot.mjs.map +1 -0
  429. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs +2 -0
  430. package/dist/lib/dist/lib/components/Breadcrumb/BreadcrumbSeparator.mjs.map +1 -0
  431. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs +2 -0
  432. package/dist/lib/dist/lib/components/Breadcrumb/index.mjs.map +1 -0
  433. package/dist/lib/dist/lib/components/BubbleChart/index.mjs +2 -0
  434. package/dist/lib/dist/lib/components/BubbleChart/index.mjs.map +1 -0
  435. package/dist/lib/dist/lib/components/Button/index.mjs +3 -0
  436. package/dist/lib/dist/lib/components/Button/index.mjs.map +1 -0
  437. package/dist/lib/dist/lib/components/Calendar/index.mjs +3 -0
  438. package/dist/lib/dist/lib/components/Calendar/index.mjs.map +1 -0
  439. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs +3 -0
  440. package/dist/lib/dist/lib/components/Callout/CalloutIcon.mjs.map +1 -0
  441. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs +3 -0
  442. package/dist/lib/dist/lib/components/Callout/CalloutRoot.mjs.map +1 -0
  443. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs +3 -0
  444. package/dist/lib/dist/lib/components/Callout/CalloutText.mjs.map +1 -0
  445. package/dist/lib/dist/lib/components/Callout/index.mjs +2 -0
  446. package/dist/lib/dist/lib/components/Callout/index.mjs.map +1 -0
  447. package/dist/lib/dist/lib/components/Card/index.mjs +3 -0
  448. package/dist/lib/dist/lib/components/Card/index.mjs.map +1 -0
  449. package/dist/lib/dist/lib/components/Checkbox/index.mjs +3 -0
  450. package/dist/lib/dist/lib/components/Checkbox/index.mjs.map +1 -0
  451. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs +3 -0
  452. package/dist/lib/dist/lib/components/CheckboxCard/index.mjs.map +1 -0
  453. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs +3 -0
  454. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupItem.mjs.map +1 -0
  455. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs +3 -0
  456. package/dist/lib/dist/lib/components/CheckboxGroup/CheckboxGroupRoot.mjs.map +1 -0
  457. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs +2 -0
  458. package/dist/lib/dist/lib/components/CheckboxGroup/index.mjs.map +1 -0
  459. package/dist/lib/dist/lib/components/Collapsible/index.mjs +3 -0
  460. package/dist/lib/dist/lib/components/Collapsible/index.mjs.map +1 -0
  461. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs +3 -0
  462. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuCheckboxItem.mjs.map +1 -0
  463. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs +3 -0
  464. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuContent.mjs.map +1 -0
  465. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs +2 -0
  466. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuGroup.mjs.map +1 -0
  467. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs +3 -0
  468. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItem.mjs.map +1 -0
  469. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs +3 -0
  470. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuItemIndicator.mjs.map +1 -0
  471. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs +3 -0
  472. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuLabel.mjs.map +1 -0
  473. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs +3 -0
  474. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioGroup.mjs.map +1 -0
  475. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs +3 -0
  476. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRadioItem.mjs.map +1 -0
  477. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs +3 -0
  478. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuRoot.mjs.map +1 -0
  479. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs +2 -0
  480. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSeparator.mjs.map +1 -0
  481. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs +3 -0
  482. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubContent.mjs.map +1 -0
  483. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs +3 -0
  484. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuSubTrigger.mjs.map +1 -0
  485. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs +2 -0
  486. package/dist/lib/dist/lib/components/ContextMenu/ContextMenuTrigger.mjs.map +1 -0
  487. package/dist/lib/dist/lib/components/ContextMenu/index.mjs +2 -0
  488. package/dist/lib/dist/lib/components/ContextMenu/index.mjs.map +1 -0
  489. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs +3 -0
  490. package/dist/lib/dist/lib/components/DataList/DataListItem.mjs.map +1 -0
  491. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs +3 -0
  492. package/dist/lib/dist/lib/components/DataList/DataListLabel.mjs.map +1 -0
  493. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs +3 -0
  494. package/dist/lib/dist/lib/components/DataList/DataListRoot.mjs.map +1 -0
  495. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs +3 -0
  496. package/dist/lib/dist/lib/components/DataList/DataListValue.mjs.map +1 -0
  497. package/dist/lib/dist/lib/components/DataList/index.mjs +2 -0
  498. package/dist/lib/dist/lib/components/DataList/index.mjs.map +1 -0
  499. package/dist/lib/dist/lib/components/Datepicker/index.mjs +3 -0
  500. package/dist/lib/dist/lib/components/Datepicker/index.mjs.map +1 -0
  501. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs +3 -0
  502. package/dist/lib/dist/lib/components/Dialog/DialogAction.mjs.map +1 -0
  503. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs +3 -0
  504. package/dist/lib/dist/lib/components/Dialog/DialogCancel.mjs.map +1 -0
  505. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs +3 -0
  506. package/dist/lib/dist/lib/components/Dialog/DialogContent.mjs.map +1 -0
  507. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs +3 -0
  508. package/dist/lib/dist/lib/components/Dialog/DialogDescription.mjs.map +1 -0
  509. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs +3 -0
  510. package/dist/lib/dist/lib/components/Dialog/DialogRoot.mjs.map +1 -0
  511. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs +3 -0
  512. package/dist/lib/dist/lib/components/Dialog/DialogSlot.mjs.map +1 -0
  513. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs +3 -0
  514. package/dist/lib/dist/lib/components/Dialog/DialogTitle.mjs.map +1 -0
  515. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs +2 -0
  516. package/dist/lib/dist/lib/components/Dialog/DialogTrigger.mjs.map +1 -0
  517. package/dist/lib/dist/lib/components/Dialog/index.mjs +2 -0
  518. package/dist/lib/dist/lib/components/Dialog/index.mjs.map +1 -0
  519. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs +2 -0
  520. package/dist/lib/dist/lib/components/DoughnutChart/index.mjs.map +1 -0
  521. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs +2 -0
  522. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuRadioGroup.mjs.map +1 -0
  523. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs +3 -0
  524. package/dist/lib/dist/lib/components/DropdownMenu/DropdonMenuSubContent.mjs.map +1 -0
  525. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs +3 -0
  526. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuCheckboxItem.mjs.map +1 -0
  527. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs +3 -0
  528. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuContent.mjs.map +1 -0
  529. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs +3 -0
  530. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItem.mjs.map +1 -0
  531. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs +3 -0
  532. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuItemIndicator.mjs.map +1 -0
  533. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs +3 -0
  534. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuLable.mjs.map +1 -0
  535. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs +3 -0
  536. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRadioItem.mjs.map +1 -0
  537. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs +3 -0
  538. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuRoot.mjs.map +1 -0
  539. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs +2 -0
  540. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSeparator.mjs.map +1 -0
  541. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs +2 -0
  542. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSub.mjs.map +1 -0
  543. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs +3 -0
  544. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuSubTrigger.mjs.map +1 -0
  545. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs +3 -0
  546. package/dist/lib/dist/lib/components/DropdownMenu/DropdownMenuTrigger.mjs.map +1 -0
  547. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs +2 -0
  548. package/dist/lib/dist/lib/components/DropdownMenu/index.mjs.map +1 -0
  549. package/dist/lib/dist/lib/components/Footer/index.mjs +3 -0
  550. package/dist/lib/dist/lib/components/Footer/index.mjs.map +1 -0
  551. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs +3 -0
  552. package/dist/lib/dist/lib/components/Gnb/GnbInfo.mjs.map +1 -0
  553. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs +2 -0
  554. package/dist/lib/dist/lib/components/Gnb/GnbLogo.mjs.map +1 -0
  555. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs +3 -0
  556. package/dist/lib/dist/lib/components/Gnb/GnbMenu.mjs.map +1 -0
  557. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs +3 -0
  558. package/dist/lib/dist/lib/components/Gnb/GnbMenuItem.mjs.map +1 -0
  559. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs +3 -0
  560. package/dist/lib/dist/lib/components/Gnb/GnbRoot.mjs.map +1 -0
  561. package/dist/lib/dist/lib/components/Gnb/index.mjs +2 -0
  562. package/dist/lib/dist/lib/components/Gnb/index.mjs.map +1 -0
  563. package/dist/lib/dist/lib/components/Grid/Pagination.mjs +2 -0
  564. package/dist/lib/dist/lib/components/Grid/Pagination.mjs.map +1 -0
  565. package/dist/lib/dist/lib/components/Grid/index.mjs +3 -0
  566. package/dist/lib/dist/lib/components/Grid/index.mjs.map +1 -0
  567. package/dist/lib/dist/lib/components/Grid/useGrid.mjs +3 -0
  568. package/dist/lib/dist/lib/components/Grid/useGrid.mjs.map +1 -0
  569. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs +3 -0
  570. package/dist/lib/dist/lib/components/HoverCard/HoverCardContent.mjs.map +1 -0
  571. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs +3 -0
  572. package/dist/lib/dist/lib/components/HoverCard/HoverCardRoot.mjs.map +1 -0
  573. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs +2 -0
  574. package/dist/lib/dist/lib/components/HoverCard/HoverCardTrigger.mjs.map +1 -0
  575. package/dist/lib/dist/lib/components/HoverCard/index.mjs +2 -0
  576. package/dist/lib/dist/lib/components/HoverCard/index.mjs.map +1 -0
  577. package/dist/lib/dist/lib/components/IconButton/index.mjs +3 -0
  578. package/dist/lib/dist/lib/components/IconButton/index.mjs.map +1 -0
  579. package/dist/lib/dist/lib/components/Inset/index.mjs +3 -0
  580. package/dist/lib/dist/lib/components/Inset/index.mjs.map +1 -0
  581. package/dist/lib/dist/lib/components/Label/index.mjs +3 -0
  582. package/dist/lib/dist/lib/components/Label/index.mjs.map +1 -0
  583. package/dist/lib/dist/lib/components/LineChart/index.mjs +2 -0
  584. package/dist/lib/dist/lib/components/LineChart/index.mjs.map +1 -0
  585. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs +3 -0
  586. package/dist/lib/dist/lib/components/Menubar/MenubarCheckboxItem.mjs.map +1 -0
  587. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs +3 -0
  588. package/dist/lib/dist/lib/components/Menubar/MenubarContent.mjs.map +1 -0
  589. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs +3 -0
  590. package/dist/lib/dist/lib/components/Menubar/MenubarItem.mjs.map +1 -0
  591. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs +3 -0
  592. package/dist/lib/dist/lib/components/Menubar/MenubarItemIndicator.mjs.map +1 -0
  593. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs +2 -0
  594. package/dist/lib/dist/lib/components/Menubar/MenubarMenu.mjs.map +1 -0
  595. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs +3 -0
  596. package/dist/lib/dist/lib/components/Menubar/MenubarRadioGroup.mjs.map +1 -0
  597. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs +3 -0
  598. package/dist/lib/dist/lib/components/Menubar/MenubarRadioItem.mjs.map +1 -0
  599. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs +3 -0
  600. package/dist/lib/dist/lib/components/Menubar/MenubarRoot.mjs.map +1 -0
  601. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs +2 -0
  602. package/dist/lib/dist/lib/components/Menubar/MenubarSeparator.mjs.map +1 -0
  603. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs +2 -0
  604. package/dist/lib/dist/lib/components/Menubar/MenubarSub.mjs.map +1 -0
  605. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs +3 -0
  606. package/dist/lib/dist/lib/components/Menubar/MenubarSubContent.mjs.map +1 -0
  607. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs +3 -0
  608. package/dist/lib/dist/lib/components/Menubar/MenubarSubTrigger.mjs.map +1 -0
  609. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs +3 -0
  610. package/dist/lib/dist/lib/components/Menubar/MenubarTrigger.mjs.map +1 -0
  611. package/dist/lib/dist/lib/components/Menubar/index.mjs +2 -0
  612. package/dist/lib/dist/lib/components/Menubar/index.mjs.map +1 -0
  613. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs +3 -0
  614. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuContent.mjs.map +1 -0
  615. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs +2 -0
  616. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuIndicator.mjs.map +1 -0
  617. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs +2 -0
  618. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuItem.mjs.map +1 -0
  619. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs +3 -0
  620. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuLink.mjs.map +1 -0
  621. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs +3 -0
  622. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuList.mjs.map +1 -0
  623. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs +3 -0
  624. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuRoot.mjs.map +1 -0
  625. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs +3 -0
  626. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuTrigger.mjs.map +1 -0
  627. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs +3 -0
  628. package/dist/lib/dist/lib/components/NavigationMenu/NavigationMenuViewport.mjs.map +1 -0
  629. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs +2 -0
  630. package/dist/lib/dist/lib/components/NavigationMenu/index.mjs.map +1 -0
  631. package/dist/lib/dist/lib/components/PieChart/index.mjs +2 -0
  632. package/dist/lib/dist/lib/components/PieChart/index.mjs.map +1 -0
  633. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs +3 -0
  634. package/dist/lib/dist/lib/components/Popover/PopoverClose.mjs.map +1 -0
  635. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs +3 -0
  636. package/dist/lib/dist/lib/components/Popover/PopoverContent.mjs.map +1 -0
  637. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs +3 -0
  638. package/dist/lib/dist/lib/components/Popover/PopoverRoot.mjs.map +1 -0
  639. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs +2 -0
  640. package/dist/lib/dist/lib/components/Popover/PopoverTrigger.mjs.map +1 -0
  641. package/dist/lib/dist/lib/components/Popover/index.mjs +2 -0
  642. package/dist/lib/dist/lib/components/Popover/index.mjs.map +1 -0
  643. package/dist/lib/dist/lib/components/Progress/index.mjs +3 -0
  644. package/dist/lib/dist/lib/components/Progress/index.mjs.map +1 -0
  645. package/dist/lib/dist/lib/components/RadarChart/index.mjs +2 -0
  646. package/dist/lib/dist/lib/components/RadarChart/index.mjs.map +1 -0
  647. package/dist/lib/dist/lib/components/Radio/index.mjs +3 -0
  648. package/dist/lib/dist/lib/components/Radio/index.mjs.map +1 -0
  649. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs +3 -0
  650. package/dist/lib/dist/lib/components/RadioCards/RadioCardsItem.mjs.map +1 -0
  651. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs +3 -0
  652. package/dist/lib/dist/lib/components/RadioCards/RadioCardsRoot.mjs.map +1 -0
  653. package/dist/lib/dist/lib/components/RadioCards/index.mjs +2 -0
  654. package/dist/lib/dist/lib/components/RadioCards/index.mjs.map +1 -0
  655. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs +3 -0
  656. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupItem.mjs.map +1 -0
  657. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs +3 -0
  658. package/dist/lib/dist/lib/components/RadioGroup/RadioGroupRoot.mjs.map +1 -0
  659. package/dist/lib/dist/lib/components/RadioGroup/index.mjs +2 -0
  660. package/dist/lib/dist/lib/components/RadioGroup/index.mjs.map +1 -0
  661. package/dist/lib/dist/lib/components/ScrollArea/index.mjs +3 -0
  662. package/dist/lib/dist/lib/components/ScrollArea/index.mjs.map +1 -0
  663. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs +2 -0
  664. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlItem.mjs.map +1 -0
  665. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs +3 -0
  666. package/dist/lib/dist/lib/components/SegmentedControl/SegmentedControlRoot.mjs.map +1 -0
  667. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs +2 -0
  668. package/dist/lib/dist/lib/components/SegmentedControl/index.mjs.map +1 -0
  669. package/dist/lib/dist/lib/components/Select/index.mjs +3 -0
  670. package/dist/lib/dist/lib/components/Select/index.mjs.map +1 -0
  671. package/dist/lib/dist/lib/components/Separator/index.mjs +3 -0
  672. package/dist/lib/dist/lib/components/Separator/index.mjs.map +1 -0
  673. package/dist/lib/dist/lib/components/SideBar/index.mjs +3 -0
  674. package/dist/lib/dist/lib/components/SideBar/index.mjs.map +1 -0
  675. package/dist/lib/dist/lib/components/Skeleton/index.mjs +3 -0
  676. package/dist/lib/dist/lib/components/Skeleton/index.mjs.map +1 -0
  677. package/dist/lib/dist/lib/components/Slider/index.mjs +3 -0
  678. package/dist/lib/dist/lib/components/Slider/index.mjs.map +1 -0
  679. package/dist/lib/dist/lib/components/Spinner/index.mjs +3 -0
  680. package/dist/lib/dist/lib/components/Spinner/index.mjs.map +1 -0
  681. package/dist/lib/dist/lib/components/TabNav/index.mjs +3 -0
  682. package/dist/lib/dist/lib/components/TabNav/index.mjs.map +1 -0
  683. package/dist/lib/dist/lib/components/Table/index.mjs +3 -0
  684. package/dist/lib/dist/lib/components/Table/index.mjs.map +1 -0
  685. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs +2 -0
  686. package/dist/lib/dist/lib/components/Tabs/DynamicTabs.mjs.map +1 -0
  687. package/dist/lib/dist/lib/components/Tabs/index.mjs +3 -0
  688. package/dist/lib/dist/lib/components/Tabs/index.mjs.map +1 -0
  689. package/dist/lib/dist/lib/components/TextArea/index.mjs +3 -0
  690. package/dist/lib/dist/lib/components/TextArea/index.mjs.map +1 -0
  691. package/dist/lib/dist/lib/components/TextField/index.mjs +3 -0
  692. package/dist/lib/dist/lib/components/TextField/index.mjs.map +1 -0
  693. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs +2 -0
  694. package/dist/lib/dist/lib/components/Timeline/TimelineConnector.mjs.map +1 -0
  695. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs +2 -0
  696. package/dist/lib/dist/lib/components/Timeline/TimelineContent.mjs.map +1 -0
  697. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs +2 -0
  698. package/dist/lib/dist/lib/components/Timeline/TimelineDescription.mjs.map +1 -0
  699. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs +2 -0
  700. package/dist/lib/dist/lib/components/Timeline/TimelineHeader.mjs.map +1 -0
  701. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs +3 -0
  702. package/dist/lib/dist/lib/components/Timeline/TimelineIcon.mjs.map +1 -0
  703. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs +2 -0
  704. package/dist/lib/dist/lib/components/Timeline/TimelineItem.mjs.map +1 -0
  705. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs +3 -0
  706. package/dist/lib/dist/lib/components/Timeline/TimelineRoot.mjs.map +1 -0
  707. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs +3 -0
  708. package/dist/lib/dist/lib/components/Timeline/TimelineTime.mjs.map +1 -0
  709. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs +3 -0
  710. package/dist/lib/dist/lib/components/Timeline/TimelineTitle.mjs.map +1 -0
  711. package/dist/lib/dist/lib/components/Timeline/index.mjs +2 -0
  712. package/dist/lib/dist/lib/components/Timeline/index.mjs.map +1 -0
  713. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs +3 -0
  714. package/dist/lib/dist/lib/components/Toast/ToastActionButton.mjs.map +1 -0
  715. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs +3 -0
  716. package/dist/lib/dist/lib/components/Toast/ToastDescription.mjs.map +1 -0
  717. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs +3 -0
  718. package/dist/lib/dist/lib/components/Toast/ToastRoot.mjs.map +1 -0
  719. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs +3 -0
  720. package/dist/lib/dist/lib/components/Toast/ToastTitle.mjs.map +1 -0
  721. package/dist/lib/dist/lib/components/Toast/index.mjs +2 -0
  722. package/dist/lib/dist/lib/components/Toast/index.mjs.map +1 -0
  723. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs +3 -0
  724. package/dist/lib/dist/lib/components/Toggle/ToggleWithText.mjs.map +1 -0
  725. package/dist/lib/dist/lib/components/Toggle/index.mjs +3 -0
  726. package/dist/lib/dist/lib/components/Toggle/index.mjs.map +1 -0
  727. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs +3 -0
  728. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupItem.mjs.map +1 -0
  729. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs +3 -0
  730. package/dist/lib/dist/lib/components/ToggleGroup/ToggleGroupRoot.mjs.map +1 -0
  731. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs +2 -0
  732. package/dist/lib/dist/lib/components/ToggleGroup/index.mjs.map +1 -0
  733. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs +3 -0
  734. package/dist/lib/dist/lib/components/ToggleSwitch/index.mjs.map +1 -0
  735. package/dist/lib/dist/lib/components/Tooltip/index.mjs +3 -0
  736. package/dist/lib/dist/lib/components/Tooltip/index.mjs.map +1 -0
  737. package/dist/lib/dist/lib/constants.mjs +2 -0
  738. package/dist/lib/dist/lib/constants.mjs.map +1 -0
  739. package/dist/lib/dist/lib/index.mjs +2 -0
  740. package/dist/lib/dist/lib/index.mjs.map +1 -0
  741. package/dist/lib/dist/lib/theme/ThemeProvider.mjs +3 -0
  742. package/dist/lib/dist/lib/theme/ThemeProvider.mjs.map +1 -0
  743. package/dist/lib/dist/lib/utils/useDarkMode.mjs +3 -0
  744. package/dist/lib/dist/lib/utils/useDarkMode.mjs.map +1 -0
  745. package/dist/lib/dist/lib/utils/useWindowSize.mjs +2 -0
  746. package/dist/lib/dist/lib/utils/useWindowSize.mjs.map +1 -0
  747. package/dist/lib/dist/lib/utils/utils.mjs.map +1 -0
  748. package/dist/lib/index.d.ts +2 -0
  749. package/dist/lib/index.js +2 -0
  750. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs +2 -0
  751. package/dist/lib/node_modules/@babel/runtime/helpers/esm/typeof.mjs.map +1 -0
  752. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs +2 -0
  753. package/dist/lib/node_modules/date-fns/esm/_lib/addLeadingZeros/index.mjs.map +1 -0
  754. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs +2 -0
  755. package/dist/lib/node_modules/date-fns/esm/_lib/defaultLocale/index.mjs.map +1 -0
  756. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs +2 -0
  757. package/dist/lib/node_modules/date-fns/esm/_lib/defaultOptions/index.mjs.map +1 -0
  758. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs +2 -0
  759. package/dist/lib/node_modules/date-fns/esm/_lib/format/formatters/index.mjs.map +1 -0
  760. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs +2 -0
  761. package/dist/lib/node_modules/date-fns/esm/_lib/format/lightFormatters/index.mjs.map +1 -0
  762. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs +2 -0
  763. package/dist/lib/node_modules/date-fns/esm/_lib/format/longFormatters/index.mjs.map +1 -0
  764. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs +2 -0
  765. package/dist/lib/node_modules/date-fns/esm/_lib/getTimezoneOffsetInMilliseconds/index.mjs.map +1 -0
  766. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs +2 -0
  767. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCDayOfYear/index.mjs.map +1 -0
  768. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs +2 -0
  769. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeek/index.mjs.map +1 -0
  770. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs +2 -0
  771. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCISOWeekYear/index.mjs.map +1 -0
  772. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs +2 -0
  773. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeek/index.mjs.map +1 -0
  774. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs +2 -0
  775. package/dist/lib/node_modules/date-fns/esm/_lib/getUTCWeekYear/index.mjs.map +1 -0
  776. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs +2 -0
  777. package/dist/lib/node_modules/date-fns/esm/_lib/protectedTokens/index.mjs.map +1 -0
  778. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs +2 -0
  779. package/dist/lib/node_modules/date-fns/esm/_lib/requiredArgs/index.mjs.map +1 -0
  780. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs +2 -0
  781. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeek/index.mjs.map +1 -0
  782. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs +2 -0
  783. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCISOWeekYear/index.mjs.map +1 -0
  784. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs +2 -0
  785. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeek/index.mjs.map +1 -0
  786. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs +2 -0
  787. package/dist/lib/node_modules/date-fns/esm/_lib/startOfUTCWeekYear/index.mjs.map +1 -0
  788. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs +2 -0
  789. package/dist/lib/node_modules/date-fns/esm/_lib/toInteger/index.mjs.map +1 -0
  790. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs +2 -0
  791. package/dist/lib/node_modules/date-fns/esm/addMilliseconds/index.mjs.map +1 -0
  792. package/dist/lib/node_modules/date-fns/esm/format/index.mjs +2 -0
  793. package/dist/lib/node_modules/date-fns/esm/format/index.mjs.map +1 -0
  794. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs +2 -0
  795. package/dist/lib/node_modules/date-fns/esm/isDate/index.mjs.map +1 -0
  796. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs +2 -0
  797. package/dist/lib/node_modules/date-fns/esm/isValid/index.mjs.map +1 -0
  798. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs +2 -0
  799. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildFormatLongFn/index.mjs.map +1 -0
  800. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs +2 -0
  801. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildLocalizeFn/index.mjs.map +1 -0
  802. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs +2 -0
  803. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchFn/index.mjs.map +1 -0
  804. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs +2 -0
  805. package/dist/lib/node_modules/date-fns/esm/locale/_lib/buildMatchPatternFn/index.mjs.map +1 -0
  806. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs +2 -0
  807. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatDistance/index.mjs.map +1 -0
  808. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs +2 -0
  809. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatLong/index.mjs.map +1 -0
  810. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs +2 -0
  811. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/formatRelative/index.mjs.map +1 -0
  812. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs +2 -0
  813. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/localize/index.mjs.map +1 -0
  814. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs +2 -0
  815. package/dist/lib/node_modules/date-fns/esm/locale/en-US/_lib/match/index.mjs.map +1 -0
  816. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs +2 -0
  817. package/dist/lib/node_modules/date-fns/esm/locale/en-US/index.mjs.map +1 -0
  818. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs +2 -0
  819. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatDistance/index.mjs.map +1 -0
  820. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs +2 -0
  821. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatLong/index.mjs.map +1 -0
  822. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs +2 -0
  823. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/formatRelative/index.mjs.map +1 -0
  824. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs +2 -0
  825. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/localize/index.mjs.map +1 -0
  826. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs +2 -0
  827. package/dist/lib/node_modules/date-fns/esm/locale/ko/_lib/match/index.mjs.map +1 -0
  828. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs +2 -0
  829. package/dist/lib/node_modules/date-fns/esm/locale/ko/index.mjs.map +1 -0
  830. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs +2 -0
  831. package/dist/lib/node_modules/date-fns/esm/subMilliseconds/index.mjs.map +1 -0
  832. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs +2 -0
  833. package/dist/lib/node_modules/date-fns/esm/toDate/index.mjs.map +1 -0
  834. package/dist/lib/node_modules/object-assign/index.mjs +7 -0
  835. package/dist/lib/node_modules/object-assign/index.mjs.map +1 -0
  836. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs +2 -0
  837. package/dist/lib/node_modules/prop-types/checkPropTypes.mjs.map +1 -0
  838. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs +2 -0
  839. package/dist/lib/node_modules/prop-types/factoryWithThrowingShims.mjs.map +1 -0
  840. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs +2 -0
  841. package/dist/lib/node_modules/prop-types/factoryWithTypeCheckers.mjs.map +1 -0
  842. package/dist/lib/node_modules/prop-types/index.mjs +2 -0
  843. package/dist/lib/node_modules/prop-types/index.mjs.map +1 -0
  844. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs +2 -0
  845. package/dist/lib/node_modules/prop-types/lib/ReactPropTypesSecret.mjs.map +1 -0
  846. package/dist/lib/node_modules/prop-types/lib/has.mjs +2 -0
  847. package/dist/lib/node_modules/prop-types/lib/has.mjs.map +1 -0
  848. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs +10 -0
  849. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.development.mjs.map +1 -0
  850. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs +10 -0
  851. package/dist/lib/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.mjs.map +1 -0
  852. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs +2 -0
  853. package/dist/lib/node_modules/prop-types/node_modules/react-is/index.mjs.map +1 -0
  854. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs +21 -0
  855. package/dist/lib/node_modules/react-pro-sidebar/dist/index.es.mjs.map +1 -0
  856. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs +2 -0
  857. package/dist/lib/node_modules/react-tabs/esm/components/Tab.mjs.map +1 -0
  858. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs +2 -0
  859. package/dist/lib/node_modules/react-tabs/esm/components/TabList.mjs.map +1 -0
  860. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs +2 -0
  861. package/dist/lib/node_modules/react-tabs/esm/components/TabPanel.mjs.map +1 -0
  862. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs +2 -0
  863. package/dist/lib/node_modules/react-tabs/esm/components/Tabs.mjs.map +1 -0
  864. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs +2 -0
  865. package/dist/lib/node_modules/react-tabs/esm/components/UncontrolledTabs.mjs.map +1 -0
  866. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs +2 -0
  867. package/dist/lib/node_modules/react-tabs/esm/helpers/childrenDeepMap.mjs.map +1 -0
  868. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs +2 -0
  869. package/dist/lib/node_modules/react-tabs/esm/helpers/count.mjs.map +1 -0
  870. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs +2 -0
  871. package/dist/lib/node_modules/react-tabs/esm/helpers/elementTypes.mjs.map +1 -0
  872. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs +2 -0
  873. package/dist/lib/node_modules/react-tabs/esm/helpers/propTypes.mjs.map +1 -0
  874. package/dist/lib/theme/ThemeProvider.d.ts +16 -0
  875. package/dist/lib/theme/ThemeProvider.js +29 -0
  876. package/dist/lib/theme/index.d.ts +2 -0
  877. package/dist/lib/theme/index.js +2 -0
  878. package/dist/lib/tsconfig.tsbuildinfo +1 -1
  879. package/dist/lib/types.d.ts +85 -0
  880. package/dist/lib/utils/classPrefixes.d.ts +3 -0
  881. package/dist/lib/utils/classPrefixes.js +29 -0
  882. package/dist/lib/utils/useDarkMode.d.ts +1 -0
  883. package/dist/lib/utils/useDarkMode.js +50 -0
  884. package/dist/lib/utils/useWindowSize.d.ts +1 -0
  885. package/dist/lib/utils/useWindowSize.js +17 -0
  886. package/dist/tailwind.config.js +98 -0
  887. package/dist/tsconfig.tsbuildinfo +1 -1
  888. package/package.json +57 -10
  889. package/dist/lib/components/Editor/index.mjs +0 -3
  890. package/dist/lib/constants.mjs +0 -2
  891. package/dist/lib/constants.mjs.map +0 -1
  892. package/dist/lib/index.mjs +0 -2
  893. package/dist/lib/utils/utils.mjs.map +0 -1
  894. package/dist/post-tinymce.js +0 -29
  895. package/public/tinymce/CHANGELOG.md +0 -3453
  896. package/public/tinymce/README.md +0 -73
  897. package/public/tinymce/bower.json +0 -27
  898. package/public/tinymce/composer.json +0 -52
  899. package/public/tinymce/icons/default/icons.js +0 -194
  900. package/public/tinymce/icons/default/icons.min.js +0 -1
  901. package/public/tinymce/icons/default/icons.mjs +0 -2
  902. package/public/tinymce/icons/default/icons.mjs.map +0 -1
  903. package/public/tinymce/icons/default/index.d.ts +0 -1
  904. package/public/tinymce/icons/default/index.js +0 -7
  905. package/public/tinymce/icons/default/index.mjs +0 -2
  906. package/public/tinymce/icons/default/index.mjs.map +0 -1
  907. package/public/tinymce/license.txt +0 -21
  908. package/public/tinymce/models/dom/index.d.ts +0 -1
  909. package/public/tinymce/models/dom/index.js +0 -7
  910. package/public/tinymce/models/dom/index.mjs +0 -2
  911. package/public/tinymce/models/dom/index.mjs.map +0 -1
  912. package/public/tinymce/models/dom/model.js +0 -8040
  913. package/public/tinymce/models/dom/model.min.js +0 -4
  914. package/public/tinymce/models/dom/model.mjs +0 -2
  915. package/public/tinymce/models/dom/model.mjs.map +0 -1
  916. package/public/tinymce/package.json +0 -32
  917. package/public/tinymce/plugins/advlist/index.d.ts +0 -1
  918. package/public/tinymce/plugins/advlist/index.js +0 -7
  919. package/public/tinymce/plugins/advlist/index.mjs +0 -2
  920. package/public/tinymce/plugins/advlist/index.mjs.map +0 -1
  921. package/public/tinymce/plugins/advlist/plugin.js +0 -259
  922. package/public/tinymce/plugins/advlist/plugin.min.js +0 -4
  923. package/public/tinymce/plugins/advlist/plugin.mjs +0 -2
  924. package/public/tinymce/plugins/advlist/plugin.mjs.map +0 -1
  925. package/public/tinymce/plugins/autolink/index.js +0 -7
  926. package/public/tinymce/plugins/autolink/plugin.js +0 -228
  927. package/public/tinymce/plugins/autolink/plugin.min.js +0 -4
  928. package/public/tinymce/plugins/code/index.d.ts +0 -1
  929. package/public/tinymce/plugins/code/index.js +0 -7
  930. package/public/tinymce/plugins/code/index.mjs +0 -2
  931. package/public/tinymce/plugins/code/index.mjs.map +0 -1
  932. package/public/tinymce/plugins/code/plugin.js +0 -85
  933. package/public/tinymce/plugins/code/plugin.min.js +0 -4
  934. package/public/tinymce/plugins/code/plugin.mjs +0 -2
  935. package/public/tinymce/plugins/code/plugin.mjs.map +0 -1
  936. package/public/tinymce/plugins/codesample/index.d.ts +0 -1
  937. package/public/tinymce/plugins/codesample/index.js +0 -7
  938. package/public/tinymce/plugins/codesample/index.mjs +0 -2
  939. package/public/tinymce/plugins/codesample/index.mjs.map +0 -1
  940. package/public/tinymce/plugins/codesample/plugin.d.ts +0 -45
  941. package/public/tinymce/plugins/codesample/plugin.js +0 -2463
  942. package/public/tinymce/plugins/codesample/plugin.min.js +0 -4
  943. package/public/tinymce/plugins/codesample/plugin.mjs +0 -2
  944. package/public/tinymce/plugins/codesample/plugin.mjs.map +0 -1
  945. package/public/tinymce/plugins/image/index.d.ts +0 -1
  946. package/public/tinymce/plugins/image/index.js +0 -7
  947. package/public/tinymce/plugins/image/index.mjs +0 -2
  948. package/public/tinymce/plugins/image/index.mjs.map +0 -1
  949. package/public/tinymce/plugins/image/plugin.js +0 -1505
  950. package/public/tinymce/plugins/image/plugin.min.js +0 -4
  951. package/public/tinymce/plugins/image/plugin.mjs +0 -2
  952. package/public/tinymce/plugins/image/plugin.mjs.map +0 -1
  953. package/public/tinymce/plugins/link/index.d.ts +0 -1
  954. package/public/tinymce/plugins/link/index.js +0 -7
  955. package/public/tinymce/plugins/link/index.mjs +0 -2
  956. package/public/tinymce/plugins/link/index.mjs.map +0 -1
  957. package/public/tinymce/plugins/link/plugin.js +0 -1242
  958. package/public/tinymce/plugins/link/plugin.min.js +0 -4
  959. package/public/tinymce/plugins/link/plugin.mjs +0 -2
  960. package/public/tinymce/plugins/link/plugin.mjs.map +0 -1
  961. package/public/tinymce/plugins/lists/index.d.ts +0 -1
  962. package/public/tinymce/plugins/lists/index.js +0 -7
  963. package/public/tinymce/plugins/lists/index.mjs +0 -2
  964. package/public/tinymce/plugins/lists/index.mjs.map +0 -1
  965. package/public/tinymce/plugins/lists/plugin.js +0 -2172
  966. package/public/tinymce/plugins/lists/plugin.min.js +0 -4
  967. package/public/tinymce/plugins/lists/plugin.mjs +0 -2
  968. package/public/tinymce/plugins/lists/plugin.mjs.map +0 -1
  969. package/public/tinymce/plugins/table/index.d.ts +0 -1
  970. package/public/tinymce/plugins/table/index.js +0 -7
  971. package/public/tinymce/plugins/table/index.mjs +0 -2
  972. package/public/tinymce/plugins/table/index.mjs.map +0 -1
  973. package/public/tinymce/plugins/table/plugin.js +0 -3462
  974. package/public/tinymce/plugins/table/plugin.min.js +0 -4
  975. package/public/tinymce/plugins/table/plugin.mjs +0 -2
  976. package/public/tinymce/plugins/table/plugin.mjs.map +0 -1
  977. package/public/tinymce/skins/content/default/content.css +0 -61
  978. package/public/tinymce/skins/content/default/content.js +0 -2
  979. package/public/tinymce/skins/content/default/content.min.css +0 -1
  980. package/public/tinymce/skins/content/default/content.mjs +0 -2
  981. package/public/tinymce/skins/content/default/content.mjs.map +0 -1
  982. package/public/tinymce/skins/ui/oxide/content.css +0 -785
  983. package/public/tinymce/skins/ui/oxide/content.inline.css +0 -779
  984. package/public/tinymce/skins/ui/oxide/content.inline.js +0 -2
  985. package/public/tinymce/skins/ui/oxide/content.inline.min.css +0 -1
  986. package/public/tinymce/skins/ui/oxide/content.js +0 -2
  987. package/public/tinymce/skins/ui/oxide/content.min.css +0 -1
  988. package/public/tinymce/skins/ui/oxide/content.mjs +0 -2
  989. package/public/tinymce/skins/ui/oxide/content.mjs.map +0 -1
  990. package/public/tinymce/skins/ui/oxide/skin.css +0 -3763
  991. package/public/tinymce/skins/ui/oxide/skin.js +0 -2
  992. package/public/tinymce/skins/ui/oxide/skin.min.css +0 -1
  993. package/public/tinymce/skins/ui/oxide/skin.mjs +0 -2
  994. package/public/tinymce/skins/ui/oxide/skin.mjs.map +0 -1
  995. package/public/tinymce/skins/ui/oxide/skin.shadowdom.css +0 -30
  996. package/public/tinymce/skins/ui/oxide/skin.shadowdom.js +0 -2
  997. package/public/tinymce/skins/ui/oxide/skin.shadowdom.min.css +0 -1
  998. package/public/tinymce/skins/ui/oxide-dark/content.css +0 -766
  999. package/public/tinymce/skins/ui/oxide-dark/content.inline.css +0 -779
  1000. package/public/tinymce/skins/ui/oxide-dark/content.inline.js +0 -2
  1001. package/public/tinymce/skins/ui/oxide-dark/content.inline.min.css +0 -1
  1002. package/public/tinymce/skins/ui/oxide-dark/content.js +0 -2
  1003. package/public/tinymce/skins/ui/oxide-dark/content.min.css +0 -1
  1004. package/public/tinymce/skins/ui/oxide-dark/skin.css +0 -3766
  1005. package/public/tinymce/skins/ui/oxide-dark/skin.js +0 -2
  1006. package/public/tinymce/skins/ui/oxide-dark/skin.min.css +0 -1
  1007. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.css +0 -30
  1008. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.js +0 -2
  1009. package/public/tinymce/skins/ui/oxide-dark/skin.shadowdom.min.css +0 -1
  1010. package/public/tinymce/themes/silver/index.d.ts +0 -1
  1011. package/public/tinymce/themes/silver/index.js +0 -7
  1012. package/public/tinymce/themes/silver/index.mjs +0 -2
  1013. package/public/tinymce/themes/silver/index.mjs.map +0 -1
  1014. package/public/tinymce/themes/silver/theme.js +0 -30775
  1015. package/public/tinymce/themes/silver/theme.min.js +0 -384
  1016. package/public/tinymce/themes/silver/theme.mjs +0 -2
  1017. package/public/tinymce/themes/silver/theme.mjs.map +0 -1
  1018. package/public/tinymce/tinymce.d.ts +0 -3238
  1019. package/public/tinymce/tinymce.js +0 -31779
  1020. package/public/tinymce/tinymce.min.js +0 -384
  1021. package/public/tinymce/tinymce.mjs +0 -2
  1022. package/public/tinymce/tinymce.mjs.map +0 -1
  1023. /package/dist/lib/{index.mjs.map → _virtual/index.mjs.map} +0 -0
  1024. /package/dist/lib/{components/Editor → dist/lib/Typography/Header}/index.mjs.map +0 -0
  1025. /package/dist/lib/{utils → dist/lib/utils}/utils.mjs +0 -0
  1026. /package/dist/{post-tinymce.d.ts → lib/types.js} +0 -0
@@ -1,1242 +0,0 @@
1
- /**
2
- * TinyMCE version 6.8.5 (TBD)
3
- */
4
-
5
- (function () {
6
- 'use strict';
7
-
8
- var global$5 = tinymce.util.Tools.resolve('tinymce.PluginManager');
9
-
10
- const hasProto = (v, constructor, predicate) => {
11
- var _a;
12
- if (predicate(v, constructor.prototype)) {
13
- return true;
14
- } else {
15
- return ((_a = v.constructor) === null || _a === void 0 ? void 0 : _a.name) === constructor.name;
16
- }
17
- };
18
- const typeOf = x => {
19
- const t = typeof x;
20
- if (x === null) {
21
- return 'null';
22
- } else if (t === 'object' && Array.isArray(x)) {
23
- return 'array';
24
- } else if (t === 'object' && hasProto(x, String, (o, proto) => proto.isPrototypeOf(o))) {
25
- return 'string';
26
- } else {
27
- return t;
28
- }
29
- };
30
- const isType = type => value => typeOf(value) === type;
31
- const isSimpleType = type => value => typeof value === type;
32
- const eq = t => a => t === a;
33
- const isString = isType('string');
34
- const isObject = isType('object');
35
- const isArray = isType('array');
36
- const isNull = eq(null);
37
- const isBoolean = isSimpleType('boolean');
38
- const isNullable = a => a === null || a === undefined;
39
- const isNonNullable = a => !isNullable(a);
40
- const isFunction = isSimpleType('function');
41
- const isArrayOf = (value, pred) => {
42
- if (isArray(value)) {
43
- for (let i = 0, len = value.length; i < len; ++i) {
44
- if (!pred(value[i])) {
45
- return false;
46
- }
47
- }
48
- return true;
49
- }
50
- return false;
51
- };
52
-
53
- const noop = () => {
54
- };
55
- const constant = value => {
56
- return () => {
57
- return value;
58
- };
59
- };
60
- const tripleEquals = (a, b) => {
61
- return a === b;
62
- };
63
-
64
- class Optional {
65
- constructor(tag, value) {
66
- this.tag = tag;
67
- this.value = value;
68
- }
69
- static some(value) {
70
- return new Optional(true, value);
71
- }
72
- static none() {
73
- return Optional.singletonNone;
74
- }
75
- fold(onNone, onSome) {
76
- if (this.tag) {
77
- return onSome(this.value);
78
- } else {
79
- return onNone();
80
- }
81
- }
82
- isSome() {
83
- return this.tag;
84
- }
85
- isNone() {
86
- return !this.tag;
87
- }
88
- map(mapper) {
89
- if (this.tag) {
90
- return Optional.some(mapper(this.value));
91
- } else {
92
- return Optional.none();
93
- }
94
- }
95
- bind(binder) {
96
- if (this.tag) {
97
- return binder(this.value);
98
- } else {
99
- return Optional.none();
100
- }
101
- }
102
- exists(predicate) {
103
- return this.tag && predicate(this.value);
104
- }
105
- forall(predicate) {
106
- return !this.tag || predicate(this.value);
107
- }
108
- filter(predicate) {
109
- if (!this.tag || predicate(this.value)) {
110
- return this;
111
- } else {
112
- return Optional.none();
113
- }
114
- }
115
- getOr(replacement) {
116
- return this.tag ? this.value : replacement;
117
- }
118
- or(replacement) {
119
- return this.tag ? this : replacement;
120
- }
121
- getOrThunk(thunk) {
122
- return this.tag ? this.value : thunk();
123
- }
124
- orThunk(thunk) {
125
- return this.tag ? this : thunk();
126
- }
127
- getOrDie(message) {
128
- if (!this.tag) {
129
- throw new Error(message !== null && message !== void 0 ? message : 'Called getOrDie on None');
130
- } else {
131
- return this.value;
132
- }
133
- }
134
- static from(value) {
135
- return isNonNullable(value) ? Optional.some(value) : Optional.none();
136
- }
137
- getOrNull() {
138
- return this.tag ? this.value : null;
139
- }
140
- getOrUndefined() {
141
- return this.value;
142
- }
143
- each(worker) {
144
- if (this.tag) {
145
- worker(this.value);
146
- }
147
- }
148
- toArray() {
149
- return this.tag ? [this.value] : [];
150
- }
151
- toString() {
152
- return this.tag ? `some(${ this.value })` : 'none()';
153
- }
154
- }
155
- Optional.singletonNone = new Optional(false);
156
-
157
- const nativeIndexOf = Array.prototype.indexOf;
158
- const nativePush = Array.prototype.push;
159
- const rawIndexOf = (ts, t) => nativeIndexOf.call(ts, t);
160
- const contains = (xs, x) => rawIndexOf(xs, x) > -1;
161
- const map = (xs, f) => {
162
- const len = xs.length;
163
- const r = new Array(len);
164
- for (let i = 0; i < len; i++) {
165
- const x = xs[i];
166
- r[i] = f(x, i);
167
- }
168
- return r;
169
- };
170
- const each$1 = (xs, f) => {
171
- for (let i = 0, len = xs.length; i < len; i++) {
172
- const x = xs[i];
173
- f(x, i);
174
- }
175
- };
176
- const foldl = (xs, f, acc) => {
177
- each$1(xs, (x, i) => {
178
- acc = f(acc, x, i);
179
- });
180
- return acc;
181
- };
182
- const flatten = xs => {
183
- const r = [];
184
- for (let i = 0, len = xs.length; i < len; ++i) {
185
- if (!isArray(xs[i])) {
186
- throw new Error('Arr.flatten item ' + i + ' was not an array, input: ' + xs);
187
- }
188
- nativePush.apply(r, xs[i]);
189
- }
190
- return r;
191
- };
192
- const bind = (xs, f) => flatten(map(xs, f));
193
- const findMap = (arr, f) => {
194
- for (let i = 0; i < arr.length; i++) {
195
- const r = f(arr[i], i);
196
- if (r.isSome()) {
197
- return r;
198
- }
199
- }
200
- return Optional.none();
201
- };
202
-
203
- const is = (lhs, rhs, comparator = tripleEquals) => lhs.exists(left => comparator(left, rhs));
204
- const cat = arr => {
205
- const r = [];
206
- const push = x => {
207
- r.push(x);
208
- };
209
- for (let i = 0; i < arr.length; i++) {
210
- arr[i].each(push);
211
- }
212
- return r;
213
- };
214
- const someIf = (b, a) => b ? Optional.some(a) : Optional.none();
215
-
216
- const option = name => editor => editor.options.get(name);
217
- const register$1 = editor => {
218
- const registerOption = editor.options.register;
219
- registerOption('link_assume_external_targets', {
220
- processor: value => {
221
- const valid = isString(value) || isBoolean(value);
222
- if (valid) {
223
- if (value === true) {
224
- return {
225
- value: 1,
226
- valid
227
- };
228
- } else if (value === 'http' || value === 'https') {
229
- return {
230
- value,
231
- valid
232
- };
233
- } else {
234
- return {
235
- value: 0,
236
- valid
237
- };
238
- }
239
- } else {
240
- return {
241
- valid: false,
242
- message: 'Must be a string or a boolean.'
243
- };
244
- }
245
- },
246
- default: false
247
- });
248
- registerOption('link_context_toolbar', {
249
- processor: 'boolean',
250
- default: false
251
- });
252
- registerOption('link_list', { processor: value => isString(value) || isFunction(value) || isArrayOf(value, isObject) });
253
- registerOption('link_default_target', { processor: 'string' });
254
- registerOption('link_default_protocol', {
255
- processor: 'string',
256
- default: 'https'
257
- });
258
- registerOption('link_target_list', {
259
- processor: value => isBoolean(value) || isArrayOf(value, isObject),
260
- default: true
261
- });
262
- registerOption('link_rel_list', {
263
- processor: 'object[]',
264
- default: []
265
- });
266
- registerOption('link_class_list', {
267
- processor: 'object[]',
268
- default: []
269
- });
270
- registerOption('link_title', {
271
- processor: 'boolean',
272
- default: true
273
- });
274
- registerOption('allow_unsafe_link_target', {
275
- processor: 'boolean',
276
- default: false
277
- });
278
- registerOption('link_quicklink', {
279
- processor: 'boolean',
280
- default: false
281
- });
282
- };
283
- const assumeExternalTargets = option('link_assume_external_targets');
284
- const hasContextToolbar = option('link_context_toolbar');
285
- const getLinkList = option('link_list');
286
- const getDefaultLinkTarget = option('link_default_target');
287
- const getDefaultLinkProtocol = option('link_default_protocol');
288
- const getTargetList = option('link_target_list');
289
- const getRelList = option('link_rel_list');
290
- const getLinkClassList = option('link_class_list');
291
- const shouldShowLinkTitle = option('link_title');
292
- const allowUnsafeLinkTarget = option('allow_unsafe_link_target');
293
- const useQuickLink = option('link_quicklink');
294
-
295
- var global$4 = tinymce.util.Tools.resolve('tinymce.util.Tools');
296
-
297
- const getValue = item => isString(item.value) ? item.value : '';
298
- const getText = item => {
299
- if (isString(item.text)) {
300
- return item.text;
301
- } else if (isString(item.title)) {
302
- return item.title;
303
- } else {
304
- return '';
305
- }
306
- };
307
- const sanitizeList = (list, extractValue) => {
308
- const out = [];
309
- global$4.each(list, item => {
310
- const text = getText(item);
311
- if (item.menu !== undefined) {
312
- const items = sanitizeList(item.menu, extractValue);
313
- out.push({
314
- text,
315
- items
316
- });
317
- } else {
318
- const value = extractValue(item);
319
- out.push({
320
- text,
321
- value
322
- });
323
- }
324
- });
325
- return out;
326
- };
327
- const sanitizeWith = (extracter = getValue) => list => Optional.from(list).map(list => sanitizeList(list, extracter));
328
- const sanitize = list => sanitizeWith(getValue)(list);
329
- const createUi = (name, label) => items => ({
330
- name,
331
- type: 'listbox',
332
- label,
333
- items
334
- });
335
- const ListOptions = {
336
- sanitize,
337
- sanitizeWith,
338
- createUi,
339
- getValue
340
- };
341
-
342
- const keys = Object.keys;
343
- const hasOwnProperty = Object.hasOwnProperty;
344
- const each = (obj, f) => {
345
- const props = keys(obj);
346
- for (let k = 0, len = props.length; k < len; k++) {
347
- const i = props[k];
348
- const x = obj[i];
349
- f(x, i);
350
- }
351
- };
352
- const objAcc = r => (x, i) => {
353
- r[i] = x;
354
- };
355
- const internalFilter = (obj, pred, onTrue, onFalse) => {
356
- each(obj, (x, i) => {
357
- (pred(x, i) ? onTrue : onFalse)(x, i);
358
- });
359
- };
360
- const filter = (obj, pred) => {
361
- const t = {};
362
- internalFilter(obj, pred, objAcc(t), noop);
363
- return t;
364
- };
365
- const has = (obj, key) => hasOwnProperty.call(obj, key);
366
- const hasNonNullableKey = (obj, key) => has(obj, key) && obj[key] !== undefined && obj[key] !== null;
367
-
368
- var global$3 = tinymce.util.Tools.resolve('tinymce.dom.TreeWalker');
369
-
370
- var global$2 = tinymce.util.Tools.resolve('tinymce.util.URI');
371
-
372
- const isAnchor = elm => isNonNullable(elm) && elm.nodeName.toLowerCase() === 'a';
373
- const isLink = elm => isAnchor(elm) && !!getHref(elm);
374
- const collectNodesInRange = (rng, predicate) => {
375
- if (rng.collapsed) {
376
- return [];
377
- } else {
378
- const contents = rng.cloneContents();
379
- const firstChild = contents.firstChild;
380
- const walker = new global$3(firstChild, contents);
381
- const elements = [];
382
- let current = firstChild;
383
- do {
384
- if (predicate(current)) {
385
- elements.push(current);
386
- }
387
- } while (current = walker.next());
388
- return elements;
389
- }
390
- };
391
- const hasProtocol = url => /^\w+:/i.test(url);
392
- const getHref = elm => {
393
- var _a, _b;
394
- return (_b = (_a = elm.getAttribute('data-mce-href')) !== null && _a !== void 0 ? _a : elm.getAttribute('href')) !== null && _b !== void 0 ? _b : '';
395
- };
396
- const applyRelTargetRules = (rel, isUnsafe) => {
397
- const rules = ['noopener'];
398
- const rels = rel ? rel.split(/\s+/) : [];
399
- const toString = rels => global$4.trim(rels.sort().join(' '));
400
- const addTargetRules = rels => {
401
- rels = removeTargetRules(rels);
402
- return rels.length > 0 ? rels.concat(rules) : rules;
403
- };
404
- const removeTargetRules = rels => rels.filter(val => global$4.inArray(rules, val) === -1);
405
- const newRels = isUnsafe ? addTargetRules(rels) : removeTargetRules(rels);
406
- return newRels.length > 0 ? toString(newRels) : '';
407
- };
408
- const trimCaretContainers = text => text.replace(/\uFEFF/g, '');
409
- const getAnchorElement = (editor, selectedElm) => {
410
- selectedElm = selectedElm || getLinksInSelection(editor.selection.getRng())[0] || editor.selection.getNode();
411
- if (isImageFigure(selectedElm)) {
412
- return Optional.from(editor.dom.select('a[href]', selectedElm)[0]);
413
- } else {
414
- return Optional.from(editor.dom.getParent(selectedElm, 'a[href]'));
415
- }
416
- };
417
- const isInAnchor = (editor, selectedElm) => getAnchorElement(editor, selectedElm).isSome();
418
- const getAnchorText = (selection, anchorElm) => {
419
- const text = anchorElm.fold(() => selection.getContent({ format: 'text' }), anchorElm => anchorElm.innerText || anchorElm.textContent || '');
420
- return trimCaretContainers(text);
421
- };
422
- const getLinksInSelection = rng => collectNodesInRange(rng, isLink);
423
- const getLinks$1 = elements => global$4.grep(elements, isLink);
424
- const hasLinks = elements => getLinks$1(elements).length > 0;
425
- const hasLinksInSelection = rng => getLinksInSelection(rng).length > 0;
426
- const isOnlyTextSelected = editor => {
427
- const inlineTextElements = editor.schema.getTextInlineElements();
428
- const isElement = elm => elm.nodeType === 1 && !isAnchor(elm) && !has(inlineTextElements, elm.nodeName.toLowerCase());
429
- const isInBlockAnchor = getAnchorElement(editor).exists(anchor => anchor.hasAttribute('data-mce-block'));
430
- if (isInBlockAnchor) {
431
- return false;
432
- }
433
- const rng = editor.selection.getRng();
434
- if (!rng.collapsed) {
435
- const elements = collectNodesInRange(rng, isElement);
436
- return elements.length === 0;
437
- } else {
438
- return true;
439
- }
440
- };
441
- const isImageFigure = elm => isNonNullable(elm) && elm.nodeName === 'FIGURE' && /\bimage\b/i.test(elm.className);
442
- const getLinkAttrs = data => {
443
- const attrs = [
444
- 'title',
445
- 'rel',
446
- 'class',
447
- 'target'
448
- ];
449
- return foldl(attrs, (acc, key) => {
450
- data[key].each(value => {
451
- acc[key] = value.length > 0 ? value : null;
452
- });
453
- return acc;
454
- }, { href: data.href });
455
- };
456
- const handleExternalTargets = (href, assumeExternalTargets) => {
457
- if ((assumeExternalTargets === 'http' || assumeExternalTargets === 'https') && !hasProtocol(href)) {
458
- return assumeExternalTargets + '://' + href;
459
- }
460
- return href;
461
- };
462
- const applyLinkOverrides = (editor, linkAttrs) => {
463
- const newLinkAttrs = { ...linkAttrs };
464
- if (getRelList(editor).length === 0 && !allowUnsafeLinkTarget(editor)) {
465
- const newRel = applyRelTargetRules(newLinkAttrs.rel, newLinkAttrs.target === '_blank');
466
- newLinkAttrs.rel = newRel ? newRel : null;
467
- }
468
- if (Optional.from(newLinkAttrs.target).isNone() && getTargetList(editor) === false) {
469
- newLinkAttrs.target = getDefaultLinkTarget(editor);
470
- }
471
- newLinkAttrs.href = handleExternalTargets(newLinkAttrs.href, assumeExternalTargets(editor));
472
- return newLinkAttrs;
473
- };
474
- const updateLink = (editor, anchorElm, text, linkAttrs) => {
475
- text.each(text => {
476
- if (has(anchorElm, 'innerText')) {
477
- anchorElm.innerText = text;
478
- } else {
479
- anchorElm.textContent = text;
480
- }
481
- });
482
- editor.dom.setAttribs(anchorElm, linkAttrs);
483
- editor.selection.select(anchorElm);
484
- };
485
- const createLink = (editor, selectedElm, text, linkAttrs) => {
486
- const dom = editor.dom;
487
- if (isImageFigure(selectedElm)) {
488
- linkImageFigure(dom, selectedElm, linkAttrs);
489
- } else {
490
- text.fold(() => {
491
- editor.execCommand('mceInsertLink', false, linkAttrs);
492
- }, text => {
493
- editor.insertContent(dom.createHTML('a', linkAttrs, dom.encode(text)));
494
- });
495
- }
496
- };
497
- const linkDomMutation = (editor, attachState, data) => {
498
- const selectedElm = editor.selection.getNode();
499
- const anchorElm = getAnchorElement(editor, selectedElm);
500
- const linkAttrs = applyLinkOverrides(editor, getLinkAttrs(data));
501
- editor.undoManager.transact(() => {
502
- if (data.href === attachState.href) {
503
- attachState.attach();
504
- }
505
- anchorElm.fold(() => {
506
- createLink(editor, selectedElm, data.text, linkAttrs);
507
- }, elm => {
508
- editor.focus();
509
- updateLink(editor, elm, data.text, linkAttrs);
510
- });
511
- });
512
- };
513
- const unlinkSelection = editor => {
514
- const dom = editor.dom, selection = editor.selection;
515
- const bookmark = selection.getBookmark();
516
- const rng = selection.getRng().cloneRange();
517
- const startAnchorElm = dom.getParent(rng.startContainer, 'a[href]', editor.getBody());
518
- const endAnchorElm = dom.getParent(rng.endContainer, 'a[href]', editor.getBody());
519
- if (startAnchorElm) {
520
- rng.setStartBefore(startAnchorElm);
521
- }
522
- if (endAnchorElm) {
523
- rng.setEndAfter(endAnchorElm);
524
- }
525
- selection.setRng(rng);
526
- editor.execCommand('unlink');
527
- selection.moveToBookmark(bookmark);
528
- };
529
- const unlinkDomMutation = editor => {
530
- editor.undoManager.transact(() => {
531
- const node = editor.selection.getNode();
532
- if (isImageFigure(node)) {
533
- unlinkImageFigure(editor, node);
534
- } else {
535
- unlinkSelection(editor);
536
- }
537
- editor.focus();
538
- });
539
- };
540
- const unwrapOptions = data => {
541
- const {
542
- class: cls,
543
- href,
544
- rel,
545
- target,
546
- text,
547
- title
548
- } = data;
549
- return filter({
550
- class: cls.getOrNull(),
551
- href,
552
- rel: rel.getOrNull(),
553
- target: target.getOrNull(),
554
- text: text.getOrNull(),
555
- title: title.getOrNull()
556
- }, (v, _k) => isNull(v) === false);
557
- };
558
- const sanitizeData = (editor, data) => {
559
- const getOption = editor.options.get;
560
- const uriOptions = {
561
- allow_html_data_urls: getOption('allow_html_data_urls'),
562
- allow_script_urls: getOption('allow_script_urls'),
563
- allow_svg_data_urls: getOption('allow_svg_data_urls')
564
- };
565
- const href = data.href;
566
- return {
567
- ...data,
568
- href: global$2.isDomSafe(href, 'a', uriOptions) ? href : ''
569
- };
570
- };
571
- const link = (editor, attachState, data) => {
572
- const sanitizedData = sanitizeData(editor, data);
573
- editor.hasPlugin('rtc', true) ? editor.execCommand('createlink', false, unwrapOptions(sanitizedData)) : linkDomMutation(editor, attachState, sanitizedData);
574
- };
575
- const unlink = editor => {
576
- editor.hasPlugin('rtc', true) ? editor.execCommand('unlink') : unlinkDomMutation(editor);
577
- };
578
- const unlinkImageFigure = (editor, fig) => {
579
- var _a;
580
- const img = editor.dom.select('img', fig)[0];
581
- if (img) {
582
- const a = editor.dom.getParents(img, 'a[href]', fig)[0];
583
- if (a) {
584
- (_a = a.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(img, a);
585
- editor.dom.remove(a);
586
- }
587
- }
588
- };
589
- const linkImageFigure = (dom, fig, attrs) => {
590
- var _a;
591
- const img = dom.select('img', fig)[0];
592
- if (img) {
593
- const a = dom.create('a', attrs);
594
- (_a = img.parentNode) === null || _a === void 0 ? void 0 : _a.insertBefore(a, img);
595
- a.appendChild(img);
596
- }
597
- };
598
-
599
- const isListGroup = item => hasNonNullableKey(item, 'items');
600
- const findTextByValue = (value, catalog) => findMap(catalog, item => {
601
- if (isListGroup(item)) {
602
- return findTextByValue(value, item.items);
603
- } else {
604
- return someIf(item.value === value, item);
605
- }
606
- });
607
- const getDelta = (persistentText, fieldName, catalog, data) => {
608
- const value = data[fieldName];
609
- const hasPersistentText = persistentText.length > 0;
610
- return value !== undefined ? findTextByValue(value, catalog).map(i => ({
611
- url: {
612
- value: i.value,
613
- meta: {
614
- text: hasPersistentText ? persistentText : i.text,
615
- attach: noop
616
- }
617
- },
618
- text: hasPersistentText ? persistentText : i.text
619
- })) : Optional.none();
620
- };
621
- const findCatalog = (catalogs, fieldName) => {
622
- if (fieldName === 'link') {
623
- return catalogs.link;
624
- } else if (fieldName === 'anchor') {
625
- return catalogs.anchor;
626
- } else {
627
- return Optional.none();
628
- }
629
- };
630
- const init = (initialData, linkCatalog) => {
631
- const persistentData = {
632
- text: initialData.text,
633
- title: initialData.title
634
- };
635
- const getTitleFromUrlChange = url => {
636
- var _a;
637
- return someIf(persistentData.title.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.title).getOr(''));
638
- };
639
- const getTextFromUrlChange = url => {
640
- var _a;
641
- return someIf(persistentData.text.length <= 0, Optional.from((_a = url.meta) === null || _a === void 0 ? void 0 : _a.text).getOr(url.value));
642
- };
643
- const onUrlChange = data => {
644
- const text = getTextFromUrlChange(data.url);
645
- const title = getTitleFromUrlChange(data.url);
646
- if (text.isSome() || title.isSome()) {
647
- return Optional.some({
648
- ...text.map(text => ({ text })).getOr({}),
649
- ...title.map(title => ({ title })).getOr({})
650
- });
651
- } else {
652
- return Optional.none();
653
- }
654
- };
655
- const onCatalogChange = (data, change) => {
656
- const catalog = findCatalog(linkCatalog, change).getOr([]);
657
- return getDelta(persistentData.text, change, catalog, data);
658
- };
659
- const onChange = (getData, change) => {
660
- const name = change.name;
661
- if (name === 'url') {
662
- return onUrlChange(getData());
663
- } else if (contains([
664
- 'anchor',
665
- 'link'
666
- ], name)) {
667
- return onCatalogChange(getData(), name);
668
- } else if (name === 'text' || name === 'title') {
669
- persistentData[name] = getData()[name];
670
- return Optional.none();
671
- } else {
672
- return Optional.none();
673
- }
674
- };
675
- return { onChange };
676
- };
677
- const DialogChanges = {
678
- init,
679
- getDelta
680
- };
681
-
682
- var global$1 = tinymce.util.Tools.resolve('tinymce.util.Delay');
683
-
684
- const delayedConfirm = (editor, message, callback) => {
685
- const rng = editor.selection.getRng();
686
- global$1.setEditorTimeout(editor, () => {
687
- editor.windowManager.confirm(message, state => {
688
- editor.selection.setRng(rng);
689
- callback(state);
690
- });
691
- });
692
- };
693
- const tryEmailTransform = data => {
694
- const url = data.href;
695
- const suggestMailTo = url.indexOf('@') > 0 && url.indexOf('/') === -1 && url.indexOf('mailto:') === -1;
696
- return suggestMailTo ? Optional.some({
697
- message: 'The URL you entered seems to be an email address. Do you want to add the required mailto: prefix?',
698
- preprocess: oldData => ({
699
- ...oldData,
700
- href: 'mailto:' + url
701
- })
702
- }) : Optional.none();
703
- };
704
- const tryProtocolTransform = (assumeExternalTargets, defaultLinkProtocol) => data => {
705
- const url = data.href;
706
- const suggestProtocol = assumeExternalTargets === 1 && !hasProtocol(url) || assumeExternalTargets === 0 && /^\s*www(\.|\d\.)/i.test(url);
707
- return suggestProtocol ? Optional.some({
708
- message: `The URL you entered seems to be an external link. Do you want to add the required ${ defaultLinkProtocol }:// prefix?`,
709
- preprocess: oldData => ({
710
- ...oldData,
711
- href: defaultLinkProtocol + '://' + url
712
- })
713
- }) : Optional.none();
714
- };
715
- const preprocess = (editor, data) => findMap([
716
- tryEmailTransform,
717
- tryProtocolTransform(assumeExternalTargets(editor), getDefaultLinkProtocol(editor))
718
- ], f => f(data)).fold(() => Promise.resolve(data), transform => new Promise(callback => {
719
- delayedConfirm(editor, transform.message, state => {
720
- callback(state ? transform.preprocess(data) : data);
721
- });
722
- }));
723
- const DialogConfirms = { preprocess };
724
-
725
- const getAnchors = editor => {
726
- const anchorNodes = editor.dom.select('a:not([href])');
727
- const anchors = bind(anchorNodes, anchor => {
728
- const id = anchor.name || anchor.id;
729
- return id ? [{
730
- text: id,
731
- value: '#' + id
732
- }] : [];
733
- });
734
- return anchors.length > 0 ? Optional.some([{
735
- text: 'None',
736
- value: ''
737
- }].concat(anchors)) : Optional.none();
738
- };
739
- const AnchorListOptions = { getAnchors };
740
-
741
- const getClasses = editor => {
742
- const list = getLinkClassList(editor);
743
- if (list.length > 0) {
744
- return ListOptions.sanitize(list);
745
- }
746
- return Optional.none();
747
- };
748
- const ClassListOptions = { getClasses };
749
-
750
- const parseJson = text => {
751
- try {
752
- return Optional.some(JSON.parse(text));
753
- } catch (err) {
754
- return Optional.none();
755
- }
756
- };
757
- const getLinks = editor => {
758
- const extractor = item => editor.convertURL(item.value || item.url || '', 'href');
759
- const linkList = getLinkList(editor);
760
- return new Promise(resolve => {
761
- if (isString(linkList)) {
762
- fetch(linkList).then(res => res.ok ? res.text().then(parseJson) : Promise.reject()).then(resolve, () => resolve(Optional.none()));
763
- } else if (isFunction(linkList)) {
764
- linkList(output => resolve(Optional.some(output)));
765
- } else {
766
- resolve(Optional.from(linkList));
767
- }
768
- }).then(optItems => optItems.bind(ListOptions.sanitizeWith(extractor)).map(items => {
769
- if (items.length > 0) {
770
- const noneItem = [{
771
- text: 'None',
772
- value: ''
773
- }];
774
- return noneItem.concat(items);
775
- } else {
776
- return items;
777
- }
778
- }));
779
- };
780
- const LinkListOptions = { getLinks };
781
-
782
- const getRels = (editor, initialTarget) => {
783
- const list = getRelList(editor);
784
- if (list.length > 0) {
785
- const isTargetBlank = is(initialTarget, '_blank');
786
- const enforceSafe = allowUnsafeLinkTarget(editor) === false;
787
- const safeRelExtractor = item => applyRelTargetRules(ListOptions.getValue(item), isTargetBlank);
788
- const sanitizer = enforceSafe ? ListOptions.sanitizeWith(safeRelExtractor) : ListOptions.sanitize;
789
- return sanitizer(list);
790
- }
791
- return Optional.none();
792
- };
793
- const RelOptions = { getRels };
794
-
795
- const fallbacks = [
796
- {
797
- text: 'Current window',
798
- value: ''
799
- },
800
- {
801
- text: 'New window',
802
- value: '_blank'
803
- }
804
- ];
805
- const getTargets = editor => {
806
- const list = getTargetList(editor);
807
- if (isArray(list)) {
808
- return ListOptions.sanitize(list).orThunk(() => Optional.some(fallbacks));
809
- } else if (list === false) {
810
- return Optional.none();
811
- }
812
- return Optional.some(fallbacks);
813
- };
814
- const TargetOptions = { getTargets };
815
-
816
- const nonEmptyAttr = (dom, elem, name) => {
817
- const val = dom.getAttrib(elem, name);
818
- return val !== null && val.length > 0 ? Optional.some(val) : Optional.none();
819
- };
820
- const extractFromAnchor = (editor, anchor) => {
821
- const dom = editor.dom;
822
- const onlyText = isOnlyTextSelected(editor);
823
- const text = onlyText ? Optional.some(getAnchorText(editor.selection, anchor)) : Optional.none();
824
- const url = anchor.bind(anchorElm => Optional.from(dom.getAttrib(anchorElm, 'href')));
825
- const target = anchor.bind(anchorElm => Optional.from(dom.getAttrib(anchorElm, 'target')));
826
- const rel = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'rel'));
827
- const linkClass = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'class'));
828
- const title = anchor.bind(anchorElm => nonEmptyAttr(dom, anchorElm, 'title'));
829
- return {
830
- url,
831
- text,
832
- title,
833
- target,
834
- rel,
835
- linkClass
836
- };
837
- };
838
- const collect = (editor, linkNode) => LinkListOptions.getLinks(editor).then(links => {
839
- const anchor = extractFromAnchor(editor, linkNode);
840
- return {
841
- anchor,
842
- catalogs: {
843
- targets: TargetOptions.getTargets(editor),
844
- rels: RelOptions.getRels(editor, anchor.target),
845
- classes: ClassListOptions.getClasses(editor),
846
- anchor: AnchorListOptions.getAnchors(editor),
847
- link: links
848
- },
849
- optNode: linkNode,
850
- flags: { titleEnabled: shouldShowLinkTitle(editor) }
851
- };
852
- });
853
- const DialogInfo = { collect };
854
-
855
- const handleSubmit = (editor, info) => api => {
856
- const data = api.getData();
857
- if (!data.url.value) {
858
- unlink(editor);
859
- api.close();
860
- return;
861
- }
862
- const getChangedValue = key => Optional.from(data[key]).filter(value => !is(info.anchor[key], value));
863
- const changedData = {
864
- href: data.url.value,
865
- text: getChangedValue('text'),
866
- target: getChangedValue('target'),
867
- rel: getChangedValue('rel'),
868
- class: getChangedValue('linkClass'),
869
- title: getChangedValue('title')
870
- };
871
- const attachState = {
872
- href: data.url.value,
873
- attach: data.url.meta !== undefined && data.url.meta.attach ? data.url.meta.attach : noop
874
- };
875
- DialogConfirms.preprocess(editor, changedData).then(pData => {
876
- link(editor, attachState, pData);
877
- });
878
- api.close();
879
- };
880
- const collectData = editor => {
881
- const anchorNode = getAnchorElement(editor);
882
- return DialogInfo.collect(editor, anchorNode);
883
- };
884
- const getInitialData = (info, defaultTarget) => {
885
- const anchor = info.anchor;
886
- const url = anchor.url.getOr('');
887
- return {
888
- url: {
889
- value: url,
890
- meta: { original: { value: url } }
891
- },
892
- text: anchor.text.getOr(''),
893
- title: anchor.title.getOr(''),
894
- anchor: url,
895
- link: url,
896
- rel: anchor.rel.getOr(''),
897
- target: anchor.target.or(defaultTarget).getOr(''),
898
- linkClass: anchor.linkClass.getOr('')
899
- };
900
- };
901
- const makeDialog = (settings, onSubmit, editor) => {
902
- const urlInput = [{
903
- name: 'url',
904
- type: 'urlinput',
905
- filetype: 'file',
906
- label: 'URL',
907
- picker_text: 'Browse links'
908
- }];
909
- const displayText = settings.anchor.text.map(() => ({
910
- name: 'text',
911
- type: 'input',
912
- label: 'Text to display'
913
- })).toArray();
914
- const titleText = settings.flags.titleEnabled ? [{
915
- name: 'title',
916
- type: 'input',
917
- label: 'Title'
918
- }] : [];
919
- const defaultTarget = Optional.from(getDefaultLinkTarget(editor));
920
- const initialData = getInitialData(settings, defaultTarget);
921
- const catalogs = settings.catalogs;
922
- const dialogDelta = DialogChanges.init(initialData, catalogs);
923
- const body = {
924
- type: 'panel',
925
- items: flatten([
926
- urlInput,
927
- displayText,
928
- titleText,
929
- cat([
930
- catalogs.anchor.map(ListOptions.createUi('anchor', 'Anchors')),
931
- catalogs.rels.map(ListOptions.createUi('rel', 'Rel')),
932
- catalogs.targets.map(ListOptions.createUi('target', 'Open link in...')),
933
- catalogs.link.map(ListOptions.createUi('link', 'Link list')),
934
- catalogs.classes.map(ListOptions.createUi('linkClass', 'Class'))
935
- ])
936
- ])
937
- };
938
- return {
939
- title: 'Insert/Edit Link',
940
- size: 'normal',
941
- body,
942
- buttons: [
943
- {
944
- type: 'cancel',
945
- name: 'cancel',
946
- text: 'Cancel'
947
- },
948
- {
949
- type: 'submit',
950
- name: 'save',
951
- text: 'Save',
952
- primary: true
953
- }
954
- ],
955
- initialData,
956
- onChange: (api, {name}) => {
957
- dialogDelta.onChange(api.getData, { name }).each(newData => {
958
- api.setData(newData);
959
- });
960
- },
961
- onSubmit
962
- };
963
- };
964
- const open$1 = editor => {
965
- const data = collectData(editor);
966
- data.then(info => {
967
- const onSubmit = handleSubmit(editor, info);
968
- return makeDialog(info, onSubmit, editor);
969
- }).then(spec => {
970
- editor.windowManager.open(spec);
971
- });
972
- };
973
-
974
- const register = editor => {
975
- editor.addCommand('mceLink', (_ui, value) => {
976
- if ((value === null || value === void 0 ? void 0 : value.dialog) === true || !useQuickLink(editor)) {
977
- open$1(editor);
978
- } else {
979
- editor.dispatch('contexttoolbar-show', { toolbarKey: 'quicklink' });
980
- }
981
- });
982
- };
983
-
984
- var global = tinymce.util.Tools.resolve('tinymce.util.VK');
985
-
986
- const appendClickRemove = (link, evt) => {
987
- document.body.appendChild(link);
988
- link.dispatchEvent(evt);
989
- document.body.removeChild(link);
990
- };
991
- const open = url => {
992
- const link = document.createElement('a');
993
- link.target = '_blank';
994
- link.href = url;
995
- link.rel = 'noreferrer noopener';
996
- const evt = document.createEvent('MouseEvents');
997
- evt.initMouseEvent('click', true, true, window, 0, 0, 0, 0, 0, false, false, false, false, 0, null);
998
- appendClickRemove(link, evt);
999
- };
1000
-
1001
- const getLink = (editor, elm) => editor.dom.getParent(elm, 'a[href]');
1002
- const getSelectedLink = editor => getLink(editor, editor.selection.getStart());
1003
- const hasOnlyAltModifier = e => {
1004
- return e.altKey === true && e.shiftKey === false && e.ctrlKey === false && e.metaKey === false;
1005
- };
1006
- const gotoLink = (editor, a) => {
1007
- if (a) {
1008
- const href = getHref(a);
1009
- if (/^#/.test(href)) {
1010
- const targetEl = editor.dom.select(href);
1011
- if (targetEl.length) {
1012
- editor.selection.scrollIntoView(targetEl[0], true);
1013
- }
1014
- } else {
1015
- open(a.href);
1016
- }
1017
- }
1018
- };
1019
- const openDialog = editor => () => {
1020
- editor.execCommand('mceLink', false, { dialog: true });
1021
- };
1022
- const gotoSelectedLink = editor => () => {
1023
- gotoLink(editor, getSelectedLink(editor));
1024
- };
1025
- const setupGotoLinks = editor => {
1026
- editor.on('click', e => {
1027
- const link = getLink(editor, e.target);
1028
- if (link && global.metaKeyPressed(e)) {
1029
- e.preventDefault();
1030
- gotoLink(editor, link);
1031
- }
1032
- });
1033
- editor.on('keydown', e => {
1034
- if (!e.isDefaultPrevented() && e.keyCode === 13 && hasOnlyAltModifier(e)) {
1035
- const link = getSelectedLink(editor);
1036
- if (link) {
1037
- e.preventDefault();
1038
- gotoLink(editor, link);
1039
- }
1040
- }
1041
- });
1042
- };
1043
- const toggleState = (editor, toggler) => {
1044
- editor.on('NodeChange', toggler);
1045
- return () => editor.off('NodeChange', toggler);
1046
- };
1047
- const toggleLinkState = editor => api => {
1048
- const updateState = () => {
1049
- api.setActive(!editor.mode.isReadOnly() && isInAnchor(editor, editor.selection.getNode()));
1050
- api.setEnabled(editor.selection.isEditable());
1051
- };
1052
- updateState();
1053
- return toggleState(editor, updateState);
1054
- };
1055
- const toggleLinkMenuState = editor => api => {
1056
- const updateState = () => {
1057
- api.setEnabled(editor.selection.isEditable());
1058
- };
1059
- updateState();
1060
- return toggleState(editor, updateState);
1061
- };
1062
- const hasExactlyOneLinkInSelection = editor => {
1063
- const links = editor.selection.isCollapsed() ? getLinks$1(editor.dom.getParents(editor.selection.getStart())) : getLinksInSelection(editor.selection.getRng());
1064
- return links.length === 1;
1065
- };
1066
- const toggleGotoLinkState = editor => api => {
1067
- const updateState = () => api.setEnabled(hasExactlyOneLinkInSelection(editor));
1068
- updateState();
1069
- return toggleState(editor, updateState);
1070
- };
1071
- const toggleUnlinkState = editor => api => {
1072
- const hasLinks$1 = parents => hasLinks(parents) || hasLinksInSelection(editor.selection.getRng());
1073
- const parents = editor.dom.getParents(editor.selection.getStart());
1074
- const updateEnabled = parents => {
1075
- api.setEnabled(hasLinks$1(parents) && editor.selection.isEditable());
1076
- };
1077
- updateEnabled(parents);
1078
- return toggleState(editor, e => updateEnabled(e.parents));
1079
- };
1080
-
1081
- const setup = editor => {
1082
- editor.addShortcut('Meta+K', '', () => {
1083
- editor.execCommand('mceLink');
1084
- });
1085
- };
1086
-
1087
- const setupButtons = editor => {
1088
- editor.ui.registry.addToggleButton('link', {
1089
- icon: 'link',
1090
- tooltip: 'Insert/edit link',
1091
- onAction: openDialog(editor),
1092
- onSetup: toggleLinkState(editor)
1093
- });
1094
- editor.ui.registry.addButton('openlink', {
1095
- icon: 'new-tab',
1096
- tooltip: 'Open link',
1097
- onAction: gotoSelectedLink(editor),
1098
- onSetup: toggleGotoLinkState(editor)
1099
- });
1100
- editor.ui.registry.addButton('unlink', {
1101
- icon: 'unlink',
1102
- tooltip: 'Remove link',
1103
- onAction: () => unlink(editor),
1104
- onSetup: toggleUnlinkState(editor)
1105
- });
1106
- };
1107
- const setupMenuItems = editor => {
1108
- editor.ui.registry.addMenuItem('openlink', {
1109
- text: 'Open link',
1110
- icon: 'new-tab',
1111
- onAction: gotoSelectedLink(editor),
1112
- onSetup: toggleGotoLinkState(editor)
1113
- });
1114
- editor.ui.registry.addMenuItem('link', {
1115
- icon: 'link',
1116
- text: 'Link...',
1117
- shortcut: 'Meta+K',
1118
- onSetup: toggleLinkMenuState(editor),
1119
- onAction: openDialog(editor)
1120
- });
1121
- editor.ui.registry.addMenuItem('unlink', {
1122
- icon: 'unlink',
1123
- text: 'Remove link',
1124
- onAction: () => unlink(editor),
1125
- onSetup: toggleUnlinkState(editor)
1126
- });
1127
- };
1128
- const setupContextMenu = editor => {
1129
- const inLink = 'link unlink openlink';
1130
- const noLink = 'link';
1131
- editor.ui.registry.addContextMenu('link', {
1132
- update: element => {
1133
- const isEditable = editor.dom.isEditable(element);
1134
- if (!isEditable) {
1135
- return '';
1136
- }
1137
- return hasLinks(editor.dom.getParents(element, 'a')) ? inLink : noLink;
1138
- }
1139
- });
1140
- };
1141
- const setupContextToolbars = editor => {
1142
- const collapseSelectionToEnd = editor => {
1143
- editor.selection.collapse(false);
1144
- };
1145
- const onSetupLink = buttonApi => {
1146
- const node = editor.selection.getNode();
1147
- buttonApi.setEnabled(isInAnchor(editor, node));
1148
- return noop;
1149
- };
1150
- const getLinkText = value => {
1151
- const anchor = getAnchorElement(editor);
1152
- const onlyText = isOnlyTextSelected(editor);
1153
- if (anchor.isNone() && onlyText) {
1154
- const text = getAnchorText(editor.selection, anchor);
1155
- return someIf(text.length === 0, value);
1156
- } else {
1157
- return Optional.none();
1158
- }
1159
- };
1160
- editor.ui.registry.addContextForm('quicklink', {
1161
- launch: {
1162
- type: 'contextformtogglebutton',
1163
- icon: 'link',
1164
- tooltip: 'Link',
1165
- onSetup: toggleLinkState(editor)
1166
- },
1167
- label: 'Link',
1168
- predicate: node => hasContextToolbar(editor) && isInAnchor(editor, node),
1169
- initValue: () => {
1170
- const elm = getAnchorElement(editor);
1171
- return elm.fold(constant(''), getHref);
1172
- },
1173
- commands: [
1174
- {
1175
- type: 'contextformtogglebutton',
1176
- icon: 'link',
1177
- tooltip: 'Link',
1178
- primary: true,
1179
- onSetup: buttonApi => {
1180
- const node = editor.selection.getNode();
1181
- buttonApi.setActive(isInAnchor(editor, node));
1182
- return toggleLinkState(editor)(buttonApi);
1183
- },
1184
- onAction: formApi => {
1185
- const value = formApi.getValue();
1186
- const text = getLinkText(value);
1187
- const attachState = {
1188
- href: value,
1189
- attach: noop
1190
- };
1191
- link(editor, attachState, {
1192
- href: value,
1193
- text,
1194
- title: Optional.none(),
1195
- rel: Optional.none(),
1196
- target: Optional.none(),
1197
- class: Optional.none()
1198
- });
1199
- collapseSelectionToEnd(editor);
1200
- formApi.hide();
1201
- }
1202
- },
1203
- {
1204
- type: 'contextformbutton',
1205
- icon: 'unlink',
1206
- tooltip: 'Remove link',
1207
- onSetup: onSetupLink,
1208
- onAction: formApi => {
1209
- unlink(editor);
1210
- formApi.hide();
1211
- }
1212
- },
1213
- {
1214
- type: 'contextformbutton',
1215
- icon: 'new-tab',
1216
- tooltip: 'Open link',
1217
- onSetup: onSetupLink,
1218
- onAction: formApi => {
1219
- gotoSelectedLink(editor)();
1220
- formApi.hide();
1221
- }
1222
- }
1223
- ]
1224
- });
1225
- };
1226
-
1227
- var Plugin = () => {
1228
- global$5.add('link', editor => {
1229
- register$1(editor);
1230
- setupButtons(editor);
1231
- setupMenuItems(editor);
1232
- setupContextMenu(editor);
1233
- setupContextToolbars(editor);
1234
- setupGotoLinks(editor);
1235
- register(editor);
1236
- setup(editor);
1237
- });
1238
- };
1239
-
1240
- Plugin();
1241
-
1242
- })();