@indielayer/ui 1.0.9 → 1.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (429) hide show
  1. package/LICENSE +1 -1
  2. package/README.md +2 -2
  3. package/{src/exports/nuxt.js → exports/nuxt.mjs} +1 -1
  4. package/{lib → exports}/nuxt.plugin.js +1 -1
  5. package/lib/_virtual/_plugin-vue_export-helper.js +9 -0
  6. package/lib/common/icons.js +18 -0
  7. package/lib/common/utils.d.ts +4 -0
  8. package/lib/common/utils.js +25 -0
  9. package/lib/components/alert/Alert.theme.d.ts +10 -8
  10. package/lib/components/alert/Alert.theme.js +41 -0
  11. package/lib/components/alert/Alert.vue.d.ts +33 -7
  12. package/lib/components/alert/Alert.vue.js +9 -0
  13. package/lib/components/alert/Alert.vue2.js +62 -0
  14. package/lib/components/alert/Alert.vue3.js +8 -0
  15. package/lib/components/alert/index.d.ts +3 -0
  16. package/lib/components/avatar/Avatar.theme.d.ts +13 -7
  17. package/lib/components/avatar/Avatar.theme.js +25 -0
  18. package/lib/components/avatar/Avatar.vue.d.ts +32 -3
  19. package/lib/components/avatar/Avatar.vue.js +9 -0
  20. package/lib/components/avatar/Avatar.vue2.js +76 -0
  21. package/lib/components/avatar/Avatar.vue3.js +7 -0
  22. package/lib/components/avatar/index.d.ts +3 -0
  23. package/lib/components/badge/Badge.theme.d.ts +10 -8
  24. package/lib/components/badge/Badge.theme.js +12 -0
  25. package/lib/components/badge/Badge.vue.d.ts +54 -9
  26. package/lib/components/badge/Badge.vue.js +94 -0
  27. package/lib/components/badge/Badge.vue2.js +4 -0
  28. package/lib/components/badge/index.d.ts +3 -0
  29. package/lib/components/breadcrumbs/Breadcrumbs.theme.d.ts +10 -8
  30. package/lib/components/breadcrumbs/Breadcrumbs.theme.js +10 -0
  31. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +20 -6
  32. package/lib/components/breadcrumbs/Breadcrumbs.vue.js +79 -0
  33. package/lib/components/breadcrumbs/Breadcrumbs.vue2.js +4 -0
  34. package/lib/components/breadcrumbs/index.d.ts +3 -0
  35. package/lib/components/button/Button.theme.d.ts +12 -9
  36. package/lib/components/button/Button.theme.js +138 -0
  37. package/lib/components/button/Button.vue.d.ts +49 -8
  38. package/lib/components/button/Button.vue.js +9 -0
  39. package/lib/components/button/Button.vue2.js +115 -0
  40. package/lib/components/button/Button.vue3.js +8 -0
  41. package/lib/components/button/ButtonGroup.theme.d.ts +12 -5
  42. package/lib/components/button/ButtonGroup.theme.js +8 -0
  43. package/lib/components/button/ButtonGroup.vue.d.ts +44 -6
  44. package/lib/components/button/ButtonGroup.vue.js +9 -0
  45. package/lib/components/button/ButtonGroup.vue2.js +54 -0
  46. package/lib/components/button/ButtonGroup.vue3.js +7 -0
  47. package/lib/components/button/index.d.ts +6 -0
  48. package/lib/components/card/Card.theme.d.ts +10 -7
  49. package/lib/components/card/Card.theme.js +8 -0
  50. package/lib/components/card/Card.vue.d.ts +17 -1
  51. package/lib/components/card/Card.vue.js +31 -0
  52. package/lib/components/card/Card.vue2.js +4 -0
  53. package/lib/components/card/index.d.ts +3 -0
  54. package/lib/components/checkbox/Checkbox.theme.d.ts +13 -10
  55. package/lib/components/checkbox/Checkbox.theme.js +52 -0
  56. package/lib/components/checkbox/Checkbox.vue.d.ts +46 -7
  57. package/lib/components/checkbox/Checkbox.vue.js +9 -0
  58. package/lib/components/checkbox/Checkbox.vue2.js +108 -0
  59. package/lib/components/checkbox/Checkbox.vue3.js +6 -0
  60. package/lib/components/checkbox/index.d.ts +3 -0
  61. package/lib/components/collapse/Collapse.theme.d.ts +10 -9
  62. package/lib/components/collapse/Collapse.theme.js +10 -0
  63. package/lib/components/collapse/Collapse.vue.d.ts +32 -2
  64. package/lib/components/collapse/Collapse.vue.js +132 -0
  65. package/lib/components/collapse/Collapse.vue2.js +4 -0
  66. package/lib/components/collapse/index.d.ts +3 -0
  67. package/lib/components/container/Container.theme.d.ts +10 -6
  68. package/lib/components/container/Container.theme.js +8 -0
  69. package/lib/components/container/Container.vue.d.ts +16 -1
  70. package/lib/components/container/Container.vue.js +30 -0
  71. package/lib/components/container/Container.vue2.js +4 -0
  72. package/lib/components/container/index.d.ts +3 -0
  73. package/lib/components/divider/Divider.theme.d.ts +10 -9
  74. package/lib/components/divider/Divider.theme.js +10 -0
  75. package/lib/components/divider/Divider.vue.d.ts +7 -1
  76. package/lib/components/divider/Divider.vue.js +53 -0
  77. package/lib/components/divider/Divider.vue2.js +4 -0
  78. package/lib/components/divider/index.d.ts +3 -0
  79. package/lib/components/drawer/Drawer.theme.d.ts +10 -7
  80. package/lib/components/drawer/Drawer.theme.js +9 -0
  81. package/lib/components/drawer/Drawer.vue.d.ts +50 -14
  82. package/lib/components/drawer/Drawer.vue.js +171 -0
  83. package/lib/components/drawer/Drawer.vue2.js +4 -0
  84. package/lib/components/drawer/index.d.ts +3 -0
  85. package/lib/components/form/Form.theme.d.ts +10 -6
  86. package/lib/components/form/Form.theme.js +8 -0
  87. package/lib/components/form/Form.vue.d.ts +34 -6
  88. package/lib/components/form/Form.vue.js +79 -0
  89. package/lib/components/form/Form.vue2.js +4 -0
  90. package/lib/components/form/index.d.ts +3 -0
  91. package/lib/components/helpers/InputError.d.ts +2 -2
  92. package/lib/components/helpers/InputError.js +18 -0
  93. package/lib/components/icon/Icon.theme.d.ts +10 -7
  94. package/lib/components/icon/Icon.theme.js +11 -0
  95. package/lib/components/icon/Icon.vue.d.ts +22 -4
  96. package/lib/components/icon/Icon.vue.js +74 -0
  97. package/lib/components/icon/Icon.vue2.js +4 -0
  98. package/lib/components/icon/index.d.ts +3 -0
  99. package/lib/components/image/Image.theme.d.ts +10 -6
  100. package/lib/components/image/Image.theme.js +8 -0
  101. package/lib/components/image/Image.vue.d.ts +6 -1
  102. package/lib/components/image/Image.vue.js +32 -0
  103. package/lib/components/image/Image.vue2.js +4 -0
  104. package/lib/components/image/index.d.ts +3 -0
  105. package/lib/components/index.d.ts +35 -45
  106. package/lib/components/index.js +92 -0
  107. package/lib/components/input/Input.theme.d.ts +12 -10
  108. package/lib/components/input/Input.theme.js +21 -0
  109. package/lib/components/input/Input.vue.d.ts +73 -22
  110. package/lib/components/input/Input.vue.js +140 -0
  111. package/lib/components/input/Input.vue2.js +4 -0
  112. package/lib/components/input/index.d.ts +3 -0
  113. package/lib/components/link/Link.theme.d.ts +10 -8
  114. package/lib/components/link/Link.theme.js +25 -0
  115. package/lib/components/link/Link.vue.d.ts +25 -2
  116. package/lib/components/link/Link.vue.js +9 -0
  117. package/lib/components/link/Link.vue2.js +48 -0
  118. package/lib/components/link/Link.vue3.js +8 -0
  119. package/lib/components/link/index.d.ts +3 -0
  120. package/lib/components/menu/Menu.theme.d.ts +10 -6
  121. package/lib/components/menu/Menu.theme.js +8 -0
  122. package/lib/components/menu/Menu.vue.d.ts +62 -9
  123. package/lib/components/menu/Menu.vue.js +133 -0
  124. package/lib/components/menu/Menu.vue2.js +4 -0
  125. package/lib/components/menu/MenuItem.theme.d.ts +13 -7
  126. package/lib/components/menu/MenuItem.theme.js +86 -0
  127. package/lib/components/menu/MenuItem.vue.d.ts +63 -14
  128. package/lib/components/menu/MenuItem.vue.js +9 -0
  129. package/lib/components/menu/MenuItem.vue2.js +143 -0
  130. package/lib/components/menu/MenuItem.vue3.js +7 -0
  131. package/lib/components/menu/index.d.ts +6 -0
  132. package/lib/components/modal/Modal.theme.d.ts +10 -13
  133. package/lib/components/modal/Modal.theme.js +17 -0
  134. package/lib/components/modal/Modal.vue.d.ts +24 -2
  135. package/lib/components/modal/Modal.vue.js +127 -0
  136. package/lib/components/modal/Modal.vue2.js +4 -0
  137. package/lib/components/modal/index.d.ts +3 -0
  138. package/lib/components/notifications/Notifications.theme.d.ts +10 -8
  139. package/lib/components/notifications/Notifications.theme.js +10 -0
  140. package/lib/components/notifications/Notifications.vue.d.ts +56 -16
  141. package/lib/components/notifications/Notifications.vue.js +234 -0
  142. package/lib/components/notifications/Notifications.vue2.js +4 -0
  143. package/lib/components/notifications/index.d.ts +3 -0
  144. package/lib/components/pagination/Pagination.theme.d.ts +10 -9
  145. package/lib/components/pagination/Pagination.theme.js +13 -0
  146. package/lib/components/pagination/Pagination.vue.d.ts +28 -5
  147. package/lib/components/pagination/Pagination.vue.js +131 -0
  148. package/lib/components/pagination/Pagination.vue2.js +4 -0
  149. package/lib/components/pagination/PaginationItem.theme.d.ts +10 -7
  150. package/lib/components/pagination/PaginationItem.theme.js +8 -0
  151. package/lib/components/pagination/PaginationItem.vue.d.ts +17 -2
  152. package/lib/components/pagination/PaginationItem.vue.js +48 -0
  153. package/lib/components/pagination/PaginationItem.vue2.js +4 -0
  154. package/lib/components/pagination/index.d.ts +6 -0
  155. package/lib/components/popover/Popover.theme.d.ts +10 -7
  156. package/lib/components/popover/Popover.theme.js +9 -0
  157. package/lib/components/popover/Popover.vue.d.ts +48 -10
  158. package/lib/components/popover/Popover.vue.js +9 -0
  159. package/lib/components/popover/Popover.vue2.js +106 -0
  160. package/lib/components/popover/Popover.vue3.js +15 -0
  161. package/lib/components/popover/PopoverContainer.theme.d.ts +10 -6
  162. package/lib/components/popover/PopoverContainer.theme.js +8 -0
  163. package/lib/components/popover/PopoverContainer.vue.d.ts +16 -1
  164. package/lib/components/popover/PopoverContainer.vue.js +30 -0
  165. package/lib/components/popover/PopoverContainer.vue2.js +4 -0
  166. package/lib/components/popover/index.d.ts +6 -0
  167. package/lib/components/progress/Progress.theme.d.ts +10 -10
  168. package/lib/components/progress/Progress.theme.js +18 -0
  169. package/lib/components/progress/Progress.vue.d.ts +21 -2
  170. package/lib/components/progress/Progress.vue.js +51 -0
  171. package/lib/components/progress/Progress.vue2.js +4 -0
  172. package/lib/components/progress/index.d.ts +3 -0
  173. package/lib/components/radio/Radio.theme.d.ts +13 -11
  174. package/lib/components/radio/Radio.theme.js +67 -0
  175. package/lib/components/radio/Radio.vue.d.ts +48 -9
  176. package/lib/components/radio/Radio.vue.js +9 -0
  177. package/lib/components/radio/Radio.vue2.js +117 -0
  178. package/lib/components/radio/Radio.vue3.js +10 -0
  179. package/lib/components/radio/index.d.ts +3 -0
  180. package/lib/components/scroll/Scroll.theme.d.ts +10 -6
  181. package/lib/components/scroll/Scroll.theme.js +8 -0
  182. package/lib/components/scroll/Scroll.vue.d.ts +20 -2
  183. package/lib/components/scroll/Scroll.vue.js +9 -0
  184. package/lib/components/scroll/Scroll.vue2.js +64 -0
  185. package/lib/components/scroll/Scroll.vue3.js +17 -0
  186. package/lib/components/scroll/index.d.ts +3 -0
  187. package/lib/components/select/Select.theme.d.ts +13 -12
  188. package/lib/components/select/Select.theme.js +23 -0
  189. package/lib/components/select/Select.vue.d.ts +44 -8
  190. package/lib/components/select/Select.vue.js +269 -0
  191. package/lib/components/select/Select.vue2.js +4 -0
  192. package/lib/components/select/index.d.ts +3 -0
  193. package/lib/components/skeleton/Skeleton.theme.d.ts +10 -6
  194. package/lib/components/skeleton/Skeleton.theme.js +8 -0
  195. package/lib/components/skeleton/Skeleton.vue.d.ts +9 -1
  196. package/lib/components/skeleton/Skeleton.vue.js +30 -0
  197. package/lib/components/skeleton/Skeleton.vue2.js +4 -0
  198. package/lib/components/skeleton/index.d.ts +3 -0
  199. package/lib/components/slider/Slider.theme.d.ts +10 -10
  200. package/lib/components/slider/Slider.theme.js +20 -0
  201. package/lib/components/slider/Slider.vue.d.ts +55 -7
  202. package/lib/components/slider/Slider.vue.js +148 -0
  203. package/lib/components/slider/Slider.vue2.js +4 -0
  204. package/lib/components/slider/index.d.ts +2 -0
  205. package/lib/components/spacer/Spacer.d.ts +1 -1
  206. package/lib/components/spacer/Spacer.js +12 -0
  207. package/lib/components/spacer/index.d.ts +1 -0
  208. package/lib/components/spinner/Spinner.vue.d.ts +14 -1
  209. package/lib/components/spinner/Spinner.vue.js +28 -0
  210. package/lib/components/spinner/Spinner.vue2.js +4 -0
  211. package/lib/components/spinner/index.d.ts +2 -0
  212. package/lib/components/tab/Tab.theme.d.ts +12 -9
  213. package/lib/components/tab/Tab.theme.js +13 -0
  214. package/lib/components/tab/Tab.vue.d.ts +44 -9
  215. package/lib/components/tab/Tab.vue.js +129 -0
  216. package/lib/components/tab/Tab.vue2.js +4 -0
  217. package/lib/components/tab/TabGroup.theme.d.ts +10 -10
  218. package/lib/components/tab/TabGroup.theme.js +27 -0
  219. package/lib/components/tab/TabGroup.vue.d.ts +61 -9
  220. package/lib/components/tab/TabGroup.vue.js +133 -0
  221. package/lib/components/tab/TabGroup.vue2.js +4 -0
  222. package/lib/components/tab/index.d.ts +4 -0
  223. package/lib/components/table/Table.theme.d.ts +10 -8
  224. package/lib/components/table/Table.theme.js +12 -0
  225. package/lib/components/table/Table.vue.d.ts +269 -51
  226. package/lib/components/table/Table.vue.js +147 -0
  227. package/lib/components/table/Table.vue2.js +4 -0
  228. package/lib/components/table/TableBody.d.ts +1 -1
  229. package/lib/components/table/TableBody.js +15 -0
  230. package/lib/components/table/TableCell.theme.d.ts +10 -7
  231. package/lib/components/table/TableCell.theme.js +11 -0
  232. package/lib/components/table/TableCell.vue.d.ts +35 -6
  233. package/lib/components/table/TableCell.vue.js +43 -0
  234. package/lib/components/table/TableCell.vue2.js +4 -0
  235. package/lib/components/table/TableHead.d.ts +1 -1
  236. package/lib/components/table/TableHead.js +19 -0
  237. package/lib/components/table/TableHeader.vue.d.ts +34 -9
  238. package/lib/components/table/TableHeader.vue.js +78 -0
  239. package/lib/components/table/TableHeader.vue2.js +4 -0
  240. package/lib/components/table/TableRow.vue.d.ts +8 -1
  241. package/lib/components/table/TableRow.vue.js +32 -0
  242. package/lib/components/table/TableRow.vue2.js +4 -0
  243. package/lib/components/table/index.d.ts +9 -0
  244. package/lib/components/tag/Tag.theme.d.ts +10 -9
  245. package/lib/components/tag/Tag.theme.js +23 -0
  246. package/lib/components/tag/Tag.vue.d.ts +31 -4
  247. package/lib/components/tag/Tag.vue.js +61 -0
  248. package/lib/components/tag/Tag.vue2.js +4 -0
  249. package/lib/components/tag/index.d.ts +2 -0
  250. package/lib/components/textarea/Textarea.theme.d.ts +13 -9
  251. package/lib/components/textarea/Textarea.theme.js +16 -0
  252. package/lib/components/textarea/Textarea.vue.d.ts +59 -17
  253. package/lib/components/textarea/Textarea.vue.js +110 -0
  254. package/lib/components/textarea/Textarea.vue2.js +4 -0
  255. package/lib/components/textarea/index.d.ts +2 -0
  256. package/lib/components/toggle/Toggle.theme.d.ts +10 -11
  257. package/lib/components/toggle/Toggle.theme.js +29 -0
  258. package/lib/components/toggle/Toggle.vue.d.ts +39 -7
  259. package/lib/components/toggle/Toggle.vue.js +110 -0
  260. package/lib/components/toggle/Toggle.vue2.js +4 -0
  261. package/lib/components/toggle/index.d.ts +2 -0
  262. package/lib/components/tooltip/Tooltip.vue.d.ts +12 -1
  263. package/lib/components/tooltip/Tooltip.vue.js +27 -0
  264. package/lib/components/tooltip/Tooltip.vue2.js +4 -0
  265. package/lib/components/tooltip/index.d.ts +2 -0
  266. package/lib/composables/colors-utils.js +19 -0
  267. package/lib/composables/colors.d.ts +6 -4
  268. package/lib/composables/colors.js +52 -0
  269. package/lib/composables/common.d.ts +1 -1
  270. package/lib/composables/common.js +17 -0
  271. package/lib/composables/css.d.ts +1 -1
  272. package/lib/composables/css.js +26 -0
  273. package/lib/composables/inputtable.d.ts +4 -4
  274. package/lib/composables/inputtable.js +78 -0
  275. package/lib/composables/interactive.js +17 -0
  276. package/lib/composables/keys.d.ts +6 -3
  277. package/lib/composables/keys.js +10 -0
  278. package/lib/composables/notifications.d.ts +1 -1
  279. package/lib/composables/notifications.js +9 -0
  280. package/lib/composables/theme.d.ts +13 -7
  281. package/lib/composables/theme.js +59 -0
  282. package/lib/create.d.ts +1 -1
  283. package/lib/create.js +19 -0
  284. package/lib/index.js +121 -0
  285. package/lib/index.umd.js +1 -0
  286. package/lib/install.js +10 -0
  287. package/lib/node_modules/.pnpm/@vueuse_core@10.2.0_vue@3.3.4/node_modules/@vueuse/core/index.js +379 -0
  288. package/lib/node_modules/.pnpm/@vueuse_shared@10.2.0_vue@3.3.4/node_modules/@vueuse/shared/index.js +90 -0
  289. package/lib/version.d.ts +1 -1
  290. package/lib/version.js +4 -0
  291. package/package.json +54 -54
  292. package/src/common/utils.ts +25 -2
  293. package/src/components/alert/Alert.theme.ts +15 -6
  294. package/src/components/alert/Alert.vue +26 -13
  295. package/src/components/alert/index.ts +3 -0
  296. package/src/components/avatar/Avatar.theme.ts +16 -4
  297. package/src/components/avatar/Avatar.vue +20 -15
  298. package/src/components/avatar/index.ts +3 -0
  299. package/src/components/badge/Badge.theme.ts +13 -3
  300. package/src/components/badge/Badge.vue +30 -15
  301. package/src/components/badge/index.ts +3 -0
  302. package/src/components/breadcrumbs/Breadcrumbs.theme.ts +12 -2
  303. package/src/components/breadcrumbs/Breadcrumbs.vue +24 -21
  304. package/src/components/breadcrumbs/index.ts +3 -0
  305. package/src/components/button/Button.theme.ts +23 -19
  306. package/src/components/button/Button.vue +30 -19
  307. package/src/components/button/ButtonGroup.theme.ts +14 -1
  308. package/src/components/button/ButtonGroup.vue +33 -19
  309. package/src/components/button/index.ts +7 -0
  310. package/src/components/card/Card.theme.ts +13 -3
  311. package/src/components/card/Card.vue +12 -7
  312. package/src/components/card/index.ts +3 -0
  313. package/src/components/checkbox/Checkbox.theme.ts +19 -7
  314. package/src/components/checkbox/Checkbox.vue +21 -12
  315. package/src/components/checkbox/index.ts +3 -0
  316. package/src/components/collapse/Collapse.theme.ts +13 -3
  317. package/src/components/collapse/Collapse.vue +28 -24
  318. package/src/components/collapse/index.ts +3 -0
  319. package/src/components/container/Container.theme.ts +12 -2
  320. package/src/components/container/Container.vue +11 -6
  321. package/src/components/container/index.ts +3 -0
  322. package/src/components/divider/Divider.theme.ts +13 -3
  323. package/src/components/divider/Divider.vue +9 -4
  324. package/src/components/divider/index.ts +3 -0
  325. package/src/components/drawer/Drawer.theme.ts +12 -2
  326. package/src/components/drawer/Drawer.vue +50 -41
  327. package/src/components/drawer/index.ts +3 -0
  328. package/src/components/form/Form.theme.ts +12 -2
  329. package/src/components/form/Form.vue +40 -31
  330. package/src/components/form/index.ts +3 -0
  331. package/src/components/helpers/InputError.tsx +2 -2
  332. package/src/components/icon/Icon.theme.ts +13 -3
  333. package/src/components/icon/Icon.vue +24 -15
  334. package/src/components/icon/__tests__/Icon.spec.ts +5 -1
  335. package/src/components/icon/index.ts +3 -0
  336. package/src/components/image/Image.theme.ts +12 -2
  337. package/src/components/image/Image.vue +8 -4
  338. package/src/components/image/index.ts +3 -0
  339. package/src/components/index.ts +35 -45
  340. package/src/components/input/Input.theme.ts +17 -6
  341. package/src/components/input/Input.vue +33 -22
  342. package/src/components/input/index.ts +3 -0
  343. package/src/components/link/Link.theme.ts +13 -3
  344. package/src/components/link/Link.vue +20 -12
  345. package/src/components/link/index.ts +3 -0
  346. package/src/components/menu/Menu.theme.ts +12 -2
  347. package/src/components/menu/Menu.vue +59 -23
  348. package/src/components/menu/MenuItem.theme.ts +17 -5
  349. package/src/components/menu/MenuItem.vue +65 -52
  350. package/src/components/menu/index.ts +7 -0
  351. package/src/components/modal/Modal.theme.ts +13 -3
  352. package/src/components/modal/Modal.vue +23 -12
  353. package/src/components/modal/index.ts +3 -0
  354. package/src/components/notifications/Notifications.theme.ts +12 -2
  355. package/src/components/notifications/Notifications.vue +53 -49
  356. package/src/components/notifications/index.ts +9 -0
  357. package/src/components/pagination/Pagination.theme.ts +15 -5
  358. package/src/components/pagination/Pagination.vue +24 -18
  359. package/src/components/pagination/PaginationItem.theme.ts +13 -3
  360. package/src/components/pagination/PaginationItem.vue +14 -10
  361. package/src/components/pagination/index.ts +7 -0
  362. package/src/components/popover/Popover.theme.ts +12 -2
  363. package/src/components/popover/Popover.vue +56 -46
  364. package/src/components/popover/PopoverContainer.theme.ts +12 -2
  365. package/src/components/popover/PopoverContainer.vue +11 -6
  366. package/src/components/popover/index.ts +7 -0
  367. package/src/components/progress/Progress.theme.ts +14 -4
  368. package/src/components/progress/Progress.vue +16 -16
  369. package/src/components/progress/index.ts +3 -0
  370. package/src/components/radio/Radio.theme.ts +19 -7
  371. package/src/components/radio/Radio.vue +24 -14
  372. package/src/components/radio/index.ts +3 -0
  373. package/src/components/scroll/Scroll.theme.ts +12 -2
  374. package/src/components/scroll/Scroll.vue +37 -26
  375. package/src/components/scroll/index.ts +3 -0
  376. package/src/components/select/Select.theme.ts +20 -6
  377. package/src/components/select/Select.vue +28 -20
  378. package/src/components/select/index.ts +3 -0
  379. package/src/components/skeleton/Skeleton.theme.ts +12 -2
  380. package/src/components/skeleton/Skeleton.vue +11 -6
  381. package/src/components/skeleton/index.ts +3 -0
  382. package/src/components/slider/Slider.theme.ts +14 -4
  383. package/src/components/slider/Slider.vue +24 -16
  384. package/src/components/slider/index.ts +2 -0
  385. package/src/components/spacer/index.ts +1 -0
  386. package/src/components/spinner/Spinner.vue +18 -8
  387. package/src/components/spinner/index.ts +2 -0
  388. package/src/components/tab/Tab.theme.ts +15 -3
  389. package/src/components/tab/Tab.vue +85 -68
  390. package/src/components/tab/TabGroup.theme.ts +15 -5
  391. package/src/components/tab/TabGroup.vue +67 -22
  392. package/src/components/tab/index.ts +5 -0
  393. package/src/components/table/Table.theme.ts +14 -4
  394. package/src/components/table/Table.vue +41 -31
  395. package/src/components/table/TableCell.theme.ts +13 -3
  396. package/src/components/table/TableCell.vue +22 -16
  397. package/src/components/table/TableHeader.vue +20 -17
  398. package/src/components/table/TableRow.vue +1 -1
  399. package/src/components/table/index.ts +10 -0
  400. package/src/components/tag/Tag.theme.ts +14 -4
  401. package/src/components/tag/Tag.vue +22 -13
  402. package/src/components/tag/index.ts +2 -0
  403. package/src/components/textarea/Textarea.theme.ts +18 -30
  404. package/src/components/textarea/Textarea.vue +28 -19
  405. package/src/components/textarea/index.ts +2 -0
  406. package/src/components/toggle/Toggle.theme.ts +16 -6
  407. package/src/components/toggle/Toggle.vue +21 -12
  408. package/src/components/toggle/index.ts +2 -0
  409. package/src/components/tooltip/Tooltip.vue +5 -0
  410. package/src/components/tooltip/index.ts +2 -0
  411. package/src/composables/colors-utils.ts +4 -346
  412. package/src/composables/colors.ts +21 -17
  413. package/src/composables/common.ts +1 -1
  414. package/src/composables/css.ts +4 -4
  415. package/src/composables/inputtable.ts +8 -8
  416. package/src/composables/interactive.ts +2 -2
  417. package/src/composables/keys.ts +6 -3
  418. package/src/composables/theme.ts +30 -27
  419. package/src/create.ts +6 -7
  420. package/src/version.ts +1 -1
  421. package/volar.d.ts +0 -2
  422. package/lib/components/tooltip/Tooltip.theme.d.ts +0 -11
  423. package/lib/index.cjs.js +0 -1
  424. package/lib/index.es.js +0 -7184
  425. package/lib/nuxt.js +0 -33
  426. package/src/components/tooltip/Tooltip.theme.ts +0 -51
  427. package/src/exports/nuxt.plugin.js +0 -8
  428. package/src/exports/tailwind.preset.js +0 -55
  429. /package/{lib → exports}/tailwind.preset.js +0 -0
@@ -0,0 +1,17 @@
1
+ const e = () => {
2
+ }, s = Object.freeze({
3
+ size: ["xs", "sm", "md", "lg", "xl"]
4
+ });
5
+ e.props = () => ({
6
+ size: {
7
+ type: String,
8
+ default: "md",
9
+ validator: (t) => s.size.includes(t)
10
+ }
11
+ });
12
+ e.validators = () => ({
13
+ ...s
14
+ });
15
+ export {
16
+ e as useCommon
17
+ };
@@ -3,4 +3,4 @@ export interface CSSComposition {
3
3
  variable: (name: string, theme?: string, modifier?: string) => string;
4
4
  variables: (object: Record<string, string | object>, theme?: string, modifier?: string) => Record<string, string>;
5
5
  }
6
- export declare const useCSS: (namespace?: string | undefined) => CSSComposition;
6
+ export declare const useCSS: (namespace?: string) => CSSComposition;
@@ -0,0 +1,26 @@
1
+ const u = ["dark"], a = ["hover", "active", "focus", "visited"], f = (n) => u.includes(n), v = (n) => a.includes(n), d = (n) => {
2
+ const $ = (i, e, t, s) => `${r(i, t, s)}: ${e}`, r = (i, e, t) => `--x${n ? `-${n}` : ""}${e ? `-${e}` : ""}-${i}${t ? `-${t}` : ""}`, l = (i, e, t) => {
3
+ let s = {};
4
+ for (const o in i) {
5
+ const c = i[o];
6
+ if (!c)
7
+ break;
8
+ f(o) ? s = {
9
+ ...s,
10
+ ...l(c, o, t)
11
+ } : v(o) ? s = {
12
+ ...s,
13
+ ...l(c, e, o)
14
+ } : s[r(o, e, t)] = c;
15
+ }
16
+ return s;
17
+ };
18
+ return {
19
+ get: $,
20
+ variable: r,
21
+ variables: l
22
+ };
23
+ };
24
+ export {
25
+ d as useCSS
26
+ };
@@ -1,4 +1,4 @@
1
- import type { Ref, PropType } from 'vue';
1
+ import type { PropType } from 'vue';
2
2
  export interface XFormInputMethods {
3
3
  focus: () => void;
4
4
  validate: (val: any) => boolean;
@@ -10,12 +10,12 @@ export declare const useInputtable: {
10
10
  emit: any;
11
11
  withListeners?: boolean | undefined;
12
12
  }): {
13
- isFirstValidation: Ref<boolean>;
13
+ isFirstValidation: import("vue").Ref<boolean>;
14
14
  errorInternal: any;
15
- isInsideForm: any;
15
+ isInsideForm: boolean;
16
16
  inputListeners: {};
17
17
  reset: () => void;
18
- validate: (val: any) => boolean;
18
+ validate: (val?: any) => boolean;
19
19
  setError: (val: string) => void;
20
20
  };
21
21
  emits(withListeners?: boolean): string[];
@@ -0,0 +1,78 @@
1
+ import { ref as f, watch as I, inject as F, computed as A, onMounted as B, onUnmounted as S } from "vue";
2
+ import { injectFormKey as j } from "./keys.js";
3
+ const v = (t, { focus: p, emit: u, withListeners: y = !0 }) => {
4
+ const o = f(!0), n = f(t.error), V = t.name ? t.name : (Math.random() + 1).toString(36).substring(7), s = f(V);
5
+ I(() => t.error, (e) => {
6
+ n.value = e;
7
+ }), I(() => t.name, (e) => {
8
+ e && (s.value = e);
9
+ });
10
+ const i = F(j, {
11
+ registerInput: () => {
12
+ },
13
+ unregisterInput: () => {
14
+ },
15
+ isInsideForm: !1
16
+ }), b = () => {
17
+ n.value = "", o.value = !0, u("update:modelValue", "");
18
+ }, g = (e) => {
19
+ n.value = e;
20
+ }, c = (e) => {
21
+ e = e || t.modelValue, o.value = !1;
22
+ for (let d = 0; d < t.rules.length; d++) {
23
+ const r = t.rules[d];
24
+ let a = !0;
25
+ if (typeof r == "function")
26
+ a = r(e);
27
+ else if (Array.isArray(r) && r.length === 2) {
28
+ const { 0: l, 1: m } = r;
29
+ a = l(e, m);
30
+ } else {
31
+ const l = r.fn, { options: m } = r;
32
+ a = l(e, m);
33
+ }
34
+ if (a !== !0)
35
+ return n.value = a, !1;
36
+ }
37
+ return n.value = "", !0;
38
+ }, h = y ? A(() => ({
39
+ blur: (e) => u("blur", e),
40
+ focus: (e) => u("focus", e),
41
+ input: (e) => {
42
+ t.validateOnInput && !o.value && c(e.target.value), u("update:modelValue", e.target.value);
43
+ },
44
+ change: (e) => u("change", e)
45
+ })) : {};
46
+ return B(() => {
47
+ i.registerInput(s.value, p, c, g);
48
+ }), S(() => {
49
+ i.unregisterInput(s.value);
50
+ }), {
51
+ isFirstValidation: o,
52
+ errorInternal: n,
53
+ isInsideForm: i.isInsideForm,
54
+ inputListeners: h,
55
+ reset: b,
56
+ validate: c,
57
+ setError: g
58
+ };
59
+ };
60
+ v.emits = (t = !0) => t ? ["update:modelValue", "blur", "focus", "input", "change"] : ["update:modelValue"];
61
+ v.props = () => ({
62
+ modelValue: [String, Number, Boolean, Object, Array],
63
+ name: String,
64
+ readonly: Boolean,
65
+ required: Boolean,
66
+ validateOnInput: {
67
+ type: Boolean,
68
+ default: !0
69
+ },
70
+ error: String,
71
+ rules: {
72
+ type: Array,
73
+ default: () => []
74
+ }
75
+ });
76
+ export {
77
+ v as useInputtable
78
+ };
@@ -0,0 +1,17 @@
1
+ const a = (u) => ({
2
+ focus: () => {
3
+ var o, e;
4
+ return (e = (o = u.value) == null ? void 0 : o.focus) == null ? void 0 : e.call(o);
5
+ },
6
+ blur: () => {
7
+ var o, e;
8
+ return (e = (o = u.value) == null ? void 0 : o.blur) == null ? void 0 : e.call(o);
9
+ }
10
+ });
11
+ a.props = () => ({
12
+ disabled: Boolean,
13
+ loading: Boolean
14
+ });
15
+ export {
16
+ a as useInteractive
17
+ };
@@ -1,8 +1,11 @@
1
1
  import type { InjectionKey } from 'vue';
2
- export declare const injectTabKey: InjectionKey<any>;
3
- export declare const injectFormKey: InjectionKey<any>;
2
+ import type { FormInjection } from '../components/form/Form.vue';
3
+ import type { TabGroupInjection } from '../components/tab/TabGroup.vue';
4
+ import type { ButtonGroupInjection } from '../components/button/ButtonGroup.vue';
5
+ export declare const injectTabKey: InjectionKey<TabGroupInjection>;
6
+ export declare const injectFormKey: InjectionKey<FormInjection>;
4
7
  export declare const injectThemeKey: InjectionKey<any>;
5
8
  export declare const injectIconsKey: InjectionKey<any>;
6
9
  export declare const injectColorsKey: InjectionKey<any>;
7
- export declare const injectButtonGroupKey: InjectionKey<any>;
10
+ export declare const injectButtonGroupKey: InjectionKey<ButtonGroupInjection>;
8
11
  export declare const injectNotificationKey: InjectionKey<any>;
@@ -0,0 +1,10 @@
1
+ const o = Symbol(), t = Symbol(), e = Symbol(), n = Symbol(), c = Symbol(), y = Symbol(), i = Symbol();
2
+ export {
3
+ y as injectButtonGroupKey,
4
+ c as injectColorsKey,
5
+ t as injectFormKey,
6
+ n as injectIconsKey,
7
+ i as injectNotificationKey,
8
+ o as injectTabKey,
9
+ e as injectThemeKey
10
+ };
@@ -1 +1 @@
1
- export declare const useNotifications: (key?: string | symbol | undefined) => any;
1
+ export declare const useNotifications: (key?: symbol | string) => any;
@@ -0,0 +1,9 @@
1
+ import { inject as o } from "vue";
2
+ import { injectNotificationKey as n } from "./keys.js";
3
+ const a = (i) => {
4
+ const t = o(i || n);
5
+ return t || console.warn("useNotifications must have a parent wrapped with Notifications component"), t;
6
+ };
7
+ export {
8
+ a as useNotifications
9
+ };
@@ -1,20 +1,26 @@
1
- import { type StyleValue } from 'vue';
1
+ import { type StyleValue, type Slots, type UnwrapNestedRefs, type UnwrapRef, type MaybeRef } from 'vue';
2
2
  import { type ColorComposition } from './colors';
3
3
  import { type CSSComposition } from './css';
4
- import type { Slots } from 'vue';
5
- export declare type ThemeParams = {
6
- props: any;
4
+ export type ThemeVueClass = string | Record<string, boolean> | (string | Record<string, boolean>)[];
5
+ export type ThemeClasses<P, K extends string = string, D = undefined> = Record<K, string | ((params: ThemeParams<P, D>) => ThemeVueClass)>;
6
+ export type ThemeStyles<P, D> = StyleValue | ((params: ThemeParams<P, D>) => StyleValue);
7
+ export interface ThemeComponent<P = object, K extends string = string, D = object> {
8
+ classes?: ThemeClasses<P, K, D>;
9
+ styles?: ThemeStyles<P, D>;
10
+ }
11
+ export type ThemeParams<P = Record<string, any>, D = Record<string, any>> = {
12
+ props: UnwrapRef<P>;
7
13
  slots: Slots;
8
14
  colors: ColorComposition;
9
15
  css: CSSComposition;
10
16
  rtl?: boolean;
11
- data?: any;
17
+ data: UnwrapNestedRefs<D>;
12
18
  };
13
- export declare const useTheme: (namespace: string, defaultTheme: any, props: any, data?: any) => {
19
+ export declare const useTheme: <P extends object = object, K extends string = string, D extends object = object>(namespace: string, defaultTheme?: ThemeComponent<P, K, D>, props?: MaybeRef<P>, data?: D) => {
14
20
  classPrefix: import("vue").ComputedRef<any>;
15
21
  className: import("vue").ComputedRef<string>;
16
22
  colors: ColorComposition;
17
- classes: import("vue").ComputedRef<any>;
23
+ classes: import("vue").ComputedRef<Record<K, ThemeVueClass>>;
18
24
  styles: import("vue").ComputedRef<StyleValue>;
19
25
  css: CSSComposition;
20
26
  };
@@ -0,0 +1,59 @@
1
+ import { inject as P, computed as c, unref as r, useSlots as T } from "vue";
2
+ import { injectThemeKey as $ } from "./keys.js";
3
+ import { useColors as d } from "./colors.js";
4
+ import { useCSS as w } from "./css.js";
5
+ import { mergeRightDeep as D, smartUnref as C, isFunction as h, isObject as j } from "../common/utils.js";
6
+ const U = (s, e = {}, n = {}, l = {}) => {
7
+ const t = P($, !1), b = c(() => {
8
+ var o;
9
+ return (o = r(t)) != null && o[s] ? D(e.classes, r(t)[s].classes || {}) : e.classes;
10
+ }), f = c(() => {
11
+ var o;
12
+ return ((o = r(t)) == null ? void 0 : o.classPrefix) ?? "x-";
13
+ }), v = c(() => `${f.value}${s}`), m = c(() => {
14
+ var o;
15
+ return ((o = r(t)) == null ? void 0 : o.rtl) ?? !1;
16
+ }), a = T(), i = d(), u = w(s), y = c(() => S(b.value, {
17
+ props: r(n),
18
+ slots: a,
19
+ data: C(l),
20
+ colors: i,
21
+ css: u,
22
+ rtl: r(m)
23
+ })), O = c(() => {
24
+ var x;
25
+ const o = ((x = r(t)) == null ? void 0 : x[s]) || {}, p = {
26
+ props: r(n),
27
+ slots: a,
28
+ data: C(l),
29
+ colors: i,
30
+ css: u,
31
+ rtl: r(m)
32
+ };
33
+ return [
34
+ g(e.styles, p),
35
+ g(o.styles, p)
36
+ ];
37
+ });
38
+ return {
39
+ classPrefix: f,
40
+ className: v,
41
+ colors: i,
42
+ classes: y,
43
+ styles: O,
44
+ css: u
45
+ };
46
+ };
47
+ function S(s, e) {
48
+ const n = {};
49
+ return Object.keys(s).forEach((l) => {
50
+ const t = s[l];
51
+ n[l] = h(t) ? t(e) : j(t) ? S(t, e) : t;
52
+ }), n;
53
+ }
54
+ function g(s, e) {
55
+ return h(s) ? s(e) || {} : j(s) ? s : {};
56
+ }
57
+ export {
58
+ U as useTheme
59
+ };
package/lib/create.d.ts CHANGED
@@ -1,6 +1,6 @@
1
1
  import type { App } from 'vue';
2
2
  import type { ColorLibrary } from './composables/colors';
3
- export declare type IndielayerUIOptions = {
3
+ export type IndielayerUIOptions = {
4
4
  prefix?: string;
5
5
  components?: any;
6
6
  colors?: ColorLibrary;
package/lib/create.js ADDED
@@ -0,0 +1,19 @@
1
+ import { injectColorsKey as c, injectIconsKey as r, injectThemeKey as a } from "./composables/keys.js";
2
+ const f = {
3
+ prefix: "X"
4
+ }, l = (s = {}) => ({
5
+ install: (t, i = {}) => {
6
+ const e = {
7
+ ...f,
8
+ ...s,
9
+ ...i
10
+ };
11
+ e.components && e.components.forEach((o) => {
12
+ const n = o.name.startsWith("X") ? o.name.slice(1) : o.name;
13
+ t.component(`${e.prefix}${n}`) || t.component(`${e.prefix}${n}`, o);
14
+ }), t.provide(c, e.colors), t.provide(r, e.icons || {}), t.provide(a, e.theme || {});
15
+ }
16
+ }), $ = l;
17
+ export {
18
+ $ as default
19
+ };
package/lib/index.js ADDED
@@ -0,0 +1,121 @@
1
+ import { tailwindColors as r } from "./composables/colors-utils.js";
2
+ import { default as a } from "./version.js";
3
+ import { default as l } from "./create.js";
4
+ import { default as s } from "./install.js";
5
+ import { default as u } from "./components/alert/Alert.vue.js";
6
+ import { default as x } from "./components/avatar/Avatar.vue.js";
7
+ import { default as n } from "./components/badge/Badge.vue.js";
8
+ import { default as c } from "./components/breadcrumbs/Breadcrumbs.vue.js";
9
+ import { default as b } from "./components/button/Button.vue.js";
10
+ import { default as I } from "./components/button/ButtonGroup.vue.js";
11
+ import { default as y } from "./components/card/Card.vue.js";
12
+ import { default as j } from "./components/checkbox/Checkbox.vue.js";
13
+ import { default as v } from "./components/collapse/Collapse.vue.js";
14
+ import { default as P } from "./components/container/Container.vue.js";
15
+ import { default as N } from "./components/divider/Divider.vue.js";
16
+ import { default as k } from "./components/drawer/Drawer.vue.js";
17
+ import { default as M } from "./components/form/Form.vue.js";
18
+ import { default as A } from "./components/icon/Icon.vue.js";
19
+ import { default as F } from "./components/image/Image.vue.js";
20
+ import { default as R } from "./components/input/Input.vue.js";
21
+ import { default as J } from "./components/link/Link.vue.js";
22
+ import { default as U } from "./components/menu/Menu.vue.js";
23
+ import { default as z } from "./components/menu/MenuItem.vue.js";
24
+ import { default as Q } from "./components/modal/Modal.vue.js";
25
+ import { default as W } from "./components/notifications/Notifications.vue.js";
26
+ import { default as Z } from "./components/pagination/Pagination.vue.js";
27
+ import { default as ee } from "./components/pagination/PaginationItem.vue.js";
28
+ import { default as re } from "./components/popover/Popover.vue.js";
29
+ import { default as ae } from "./components/popover/PopoverContainer.vue.js";
30
+ import { default as le } from "./components/progress/Progress.vue.js";
31
+ import { default as se } from "./components/radio/Radio.vue.js";
32
+ import { default as ue } from "./components/scroll/Scroll.vue.js";
33
+ import { default as xe } from "./components/select/Select.vue.js";
34
+ import { default as ne } from "./components/skeleton/Skeleton.vue.js";
35
+ import { default as ce } from "./components/slider/Slider.vue.js";
36
+ import { default as be } from "./components/spacer/Spacer.js";
37
+ import { default as Ie } from "./components/spinner/Spinner.vue.js";
38
+ import { default as ye } from "./components/tab/Tab.vue.js";
39
+ import { default as je } from "./components/tab/TabGroup.vue.js";
40
+ import { default as ve } from "./components/table/Table.vue.js";
41
+ import { default as Pe } from "./components/table/TableBody.js";
42
+ import { default as Ne } from "./components/table/TableCell.vue.js";
43
+ import { default as ke } from "./components/table/TableHead.js";
44
+ import { default as Me } from "./components/table/TableHeader.vue.js";
45
+ import { default as Ae } from "./components/table/TableRow.vue.js";
46
+ import { default as Fe } from "./components/tag/Tag.vue.js";
47
+ import { default as Re } from "./components/textarea/Textarea.vue.js";
48
+ import { default as Je } from "./components/toggle/Toggle.vue.js";
49
+ import { default as Ue } from "./components/tooltip/Tooltip.vue.js";
50
+ import { injectButtonGroupKey as ze, injectColorsKey as Oe, injectFormKey as Qe, injectIconsKey as Ve, injectNotificationKey as We, injectTabKey as Ye, injectThemeKey as Ze } from "./composables/keys.js";
51
+ import { useCommon as eo } from "./composables/common.js";
52
+ import { useColors as ro } from "./composables/colors.js";
53
+ import { useCSS as ao } from "./composables/css.js";
54
+ import { useInputtable as lo } from "./composables/inputtable.js";
55
+ import { useInteractive as so } from "./composables/interactive.js";
56
+ import { useNotifications as uo } from "./composables/notifications.js";
57
+ function styleInject(css,ref){if(ref===void 0){ref={}}var insertAt=ref.insertAt;if(!css||typeof document==="undefined"){return}var head=document.head||document.getElementsByTagName("head")[0];var style=document.createElement("style");style.type="text/css";if(insertAt==="top"){if(head.firstChild){head.insertBefore(style,head.firstChild)}else{head.appendChild(style)}}else{head.appendChild(style)}if(style.styleSheet){style.styleSheet.cssText=css}else{style.appendChild(document.createTextNode(css))}};styleInject(`._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:first-child{border-top-left-radius:.375rem;border-bottom-left-radius:.375rem}._button-group_1p7wb_2:not(._button-group--rounded_1p7wb_1)>:last-child{border-top-right-radius:.375rem;border-bottom-right-radius:.375rem}._button-group--rounded_1p7wb_1>:first-of-type{border-top-left-radius:9999px;border-bottom-left-radius:9999px}._button-group--rounded_1p7wb_1>:last-child{border-top-right-radius:9999px;border-bottom-right-radius:9999px}._checkbox--glow_a1gm3_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-checkbox-glow),0 4px 6px -4px var(--x-checkbox-glow)}._alert_rqxly_2{color:var(--x-alert-text);background-color:var(--x-alert-bg);border-color:var(--x-alert-border)}._alert--glow_rqxly_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-alert-glow),0 4px 6px -4px var(--x-alert-glow)}._alert_rqxly_2.dark,.dark ._alert_rqxly_2{color:var(--x-alert-dark-text,var(--x-alert-text));background-color:var(--x-alert-dark-bg,var(--x-alert-bg));border-color:var(--x-alert-dark-border,var(--x-alert-border))}._avatar_7u83c_2{color:var(--x-avatar-text);background-color:var(--x-avatar-bg);border-color:var(--x-avatar-border)}._avatar_7u83c_2.dark,.dark ._avatar_7u83c_2{color:var(--x-avatar-dark-text,var(--x-avatar-text));background-color:var(--x-avatar-dark-bg,var(--x-avatar-bg));border-color:var(--x-avatar-dark-border,var(--x-avatar-border))}._popover_fiql7_2 ._popover-content_fiql7_3{visibility:hidden;transition-duration:.1s;transition-timing-function:cubic-bezier(0.4,0,1,1)}._popover_fiql7_2 ._popover-top_fiql7_9{--tw-translate-y:0.5rem}._popover_fiql7_2 ._popover-right_fiql7_13{--tw-translate-x:-0.5rem}._popover_fiql7_2 ._popover-bottom_fiql7_17{--tw-translate-y:-0.5rem}._popover_fiql7_2 ._popover-left_fiql7_21{--tw-translate-x:0.5rem}._popover_fiql7_2._hover_fiql7_26:hover ._popover-content_fiql7_3,._popover_fiql7_2._is-open_fiql7_25 ._popover-content_fiql7_3{visibility:visible;transition-duration:.15s;transition-timing-function:cubic-bezier(0,0,0.2,1)}._popover_fiql7_2._hover_fiql7_26:hover ._popover-top_fiql7_9,._popover_fiql7_2._is-open_fiql7_25 ._popover-top_fiql7_9{--tw-translate-y:-0.25rem}._popover_fiql7_2._hover_fiql7_26:hover ._popover-right_fiql7_13,._popover_fiql7_2._is-open_fiql7_25 ._popover-right_fiql7_13{--tw-translate-x:0.25rem}._popover_fiql7_2._hover_fiql7_26:hover ._popover-bottom_fiql7_17,._popover_fiql7_2._is-open_fiql7_25 ._popover-bottom_fiql7_17{--tw-translate-y:0.25rem}._popover_fiql7_2._hover_fiql7_26:hover ._popover-left_fiql7_21,._popover_fiql7_2._is-open_fiql7_25 ._popover-left_fiql7_21{--tw-translate-x:-0.25rem}._radio_67qot_2{border-color:var(--x-radio-border);background-color:var(--x-radio-bg)}._radio_circle_67qot_1{color:var(--x-radio-circle)}._radio--glow_67qot_1{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-radio-glow),0 4px 6px -4px var(--x-radio-glow)}._radio_67qot_2.dark,.dark ._radio_67qot_2{border-color:var(--x-radio-dark-border);background-color:var(--x-radio-dark-bg)}._radio_67qot_2.dark_circle,.dark ._radio_circle_67qot_1{color:var(--x-radio-dark-circle)}._scrollwrap_12093_2::after,._scrollwrap_12093_2::before{content:"";pointer-events:none;position:absolute;z-index:1;transition:box-shadow .2s}._scrollwrap_12093_2._horizontal_12093_12::after,._scrollwrap_12093_2._horizontal_12093_12::before{top:0;bottom:0;width:20px}._scrollwrap_12093_2._vertical_12093_19::after,._scrollwrap_12093_2._vertical_12093_19::before{right:0;left:0;height:20px}._scrollwrap_12093_2._horizontal_12093_12::before{left:0}._scrollwrap_12093_2._horizontal_12093_12::after{right:0}._scrollwrap_12093_2._vertical_12093_19::before{top:0}._scrollwrap_12093_2._vertical_12093_19::after{bottom:0}._scrollwrap_12093_2._shadow-left_12093_42::before{box-shadow:inset 12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-right_12093_46::after{box-shadow:inset -12px 0 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-top_12093_50::before{box-shadow:inset 0 12px 10px -10px rgb(0 0 0 / 7%)}._scrollwrap_12093_2._shadow-bottom_12093_54::after{box-shadow:inset 0 -12px 10px -10px rgb(0 0 0 / 7%)}._hidescroll_12093_59{-ms-overflow-style:auto;scrollbar-width:none}._hidescroll_12093_59::-webkit-scrollbar{display:none}._button_1liag_2[data-v-c70999f2]{color:var(--x-button-text);background-color:var(--x-button-bg);border-color:var(--x-button-border)}._button--glow_1liag_1[data-v-c70999f2]{box-shadow:0 0 #000,0 0 #000,0 10px 15px -3px var(--x-button-glow),0 4px 6px -4px var(--x-button-glow)}._button_1liag_2[data-v-c70999f2]:hover{color:var(--x-button-text-hover,var(--x-button-text));background-color:var(--x-button-bg-hover,var(--x-button-bg));border-color:var(--x-button-border-hover,var(--x-button-border))}._button_1liag_2[data-v-c70999f2]:active{color:var(--x-button-text-active,var(--x-button-text));background-color:var(--x-button-bg-active,var(--x-button-bg));border-color:var(--x-button-border-active,var(--x-button-border))}._button_1liag_2.dark[data-v-c70999f2],.dark ._button_1liag_2[data-v-c70999f2]{color:var(--x-button-dark-text,var(--x-button-text));background-color:var(--x-button-dark-bg,var(--x-button-bg));border-color:var(--x-button-dark-border,var(--x-button-border))}._button_1liag_2.dark[data-v-c70999f2]:hover,.dark ._button_1liag_2[data-v-c70999f2]:hover{color:var(--x-button-dark-text-hover,var(--x-button-dark-text,var(--x-button-text)));background-color:var(--x-button-dark-bg-hover,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-hover,var(--x-button-dark-border,var(--x-button-border)))}._button_1liag_2.dark[data-v-c70999f2]:active,.dark ._button_1liag_2[data-v-c70999f2]:active{color:var(--x-button-dark-text-active,var(--x-button-dark-text));background-color:var(--x-button-dark-bg-active,var(--x-button-dark-bg,var(--x-button-bg)));border-color:var(--x-button-dark-border-active,var(--x-button-dark-border,var(--x-button-border)))}._link_ke25h_2[data-v-ea737659]{color:var(--x-link-text)}._link_ke25h_2[data-v-ea737659]:hover{color:var(--x-link-text-hover,var(--x-link-text))}._link--shadow_ke25h_1[data-v-ea737659]{box-shadow:inset 0 -.315em 0 0 var(--x-link-shadow)}._link--shadow_ke25h_1[data-v-ea737659]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-shadow)}._link_ke25h_2.dark[data-v-ea737659],.dark ._link_ke25h_2[data-v-ea737659]{color:var(--x-link-dark-text)}._link_ke25h_2.dark[data-v-ea737659]:hover,.dark ._link_ke25h_2[data-v-ea737659]:hover{color:var(--x-link-dark-text-hover,var(--x-link-dark-text))}._link_ke25h_2.dark--shadow[data-v-ea737659],.dark ._link--shadow_ke25h_1[data-v-ea737659]{box-shadow:inset 0 -.315em 0 0 var(--x-link-dark-shadow)}._link_ke25h_2.dark--shadow[data-v-ea737659]:hover,.dark ._link--shadow_ke25h_1[data-v-ea737659]:hover{box-shadow:inset 0 -1.325em 0 0 var(--x-link-dark-shadow)}._menu-item_eyhiv_2[data-v-4f3fa5ad]{color:var(--x-menu-item-text);background-color:var(--x-menu-item-bg)}._menu-item_eyhiv_2[data-v-4f3fa5ad]::before{content:"";position:absolute;left:-1px;height:100%;width:1px;background-color:transparent}._menu-item_eyhiv_2[data-v-4f3fa5ad]:hover{color:var(--x-menu-item-text-hover,var(--x-menu-item-text));background-color:var(--x-menu-item-bg-hover,var(--x-menu-item-bg))}._menu-item_eyhiv_2.dark[data-v-4f3fa5ad],.dark ._menu-item_eyhiv_2[data-v-4f3fa5ad]{color:var(--x-menu-item-dark-text);background:var(--x-menu-item-dark-bg)}._menu-item_eyhiv_2.dark[data-v-4f3fa5ad]:hover,.dark ._menu-item_eyhiv_2[data-v-4f3fa5ad]:hover{color:var(--x-menu-item-dark-text-hover,var(--x-menu-item-dark-text));background-color:var(--x-menu-item-dark-bg-hover,var(--x-menu-item-dark-bg))}.x-menu-inner ._menu-item--active_eyhiv_1[data-v-4f3fa5ad]::before,.x-menu-inner ._menu-item_eyhiv_2[data-v-4f3fa5ad]:hover::before{background-color:var(--x-menu-item-border-hover)}`);
58
+ export {
59
+ u as XAlert,
60
+ x as XAvatar,
61
+ n as XBadge,
62
+ c as XBreadcrumbs,
63
+ b as XButton,
64
+ I as XButtonGroup,
65
+ y as XCard,
66
+ j as XCheckbox,
67
+ v as XCollapse,
68
+ P as XContainer,
69
+ N as XDivider,
70
+ k as XDrawer,
71
+ M as XForm,
72
+ A as XIcon,
73
+ F as XImage,
74
+ R as XInput,
75
+ J as XLink,
76
+ U as XMenu,
77
+ z as XMenuItem,
78
+ Q as XModal,
79
+ W as XNotifications,
80
+ Z as XPagination,
81
+ ee as XPaginationItem,
82
+ re as XPopover,
83
+ ae as XPopoverContainer,
84
+ le as XProgress,
85
+ se as XRadio,
86
+ ue as XScroll,
87
+ xe as XSelect,
88
+ ne as XSkeleton,
89
+ ce as XSlider,
90
+ be as XSpacer,
91
+ Ie as XSpinner,
92
+ ye as XTab,
93
+ je as XTabGroup,
94
+ ve as XTable,
95
+ Pe as XTableBody,
96
+ Ne as XTableCell,
97
+ ke as XTableHead,
98
+ Me as XTableHeader,
99
+ Ae as XTableRow,
100
+ Fe as XTag,
101
+ Re as XTextarea,
102
+ Je as XToggle,
103
+ Ue as XTooltip,
104
+ r as colors,
105
+ l as createUI,
106
+ s as default,
107
+ ze as injectButtonGroupKey,
108
+ Oe as injectColorsKey,
109
+ Qe as injectFormKey,
110
+ Ve as injectIconsKey,
111
+ We as injectNotificationKey,
112
+ Ye as injectTabKey,
113
+ Ze as injectThemeKey,
114
+ ao as useCSS,
115
+ ro as useColors,
116
+ eo as useCommon,
117
+ lo as useInputtable,
118
+ so as useInteractive,
119
+ uo as useNotifications,
120
+ a as version
121
+ };