@indielayer/ui 2.0.0 → 2.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 (326) hide show
  1. package/docs/App.vue +19 -4
  2. package/docs/assets/css/tailwind.css +7 -1
  3. package/docs/components/Cookies.vue +3 -1
  4. package/docs/components/common/CodePreview.vue +1 -1
  5. package/docs/components/common/DocsCopyPage.vue +200 -0
  6. package/docs/components/common/DocumentPage.vue +76 -23
  7. package/docs/components/toolbar/ToolbarColorToggle.vue +29 -18
  8. package/docs/components/toolbar/ToolbarSearch.vue +4 -4
  9. package/docs/composables/useDocMeta.ts +63 -4
  10. package/docs/icons.ts +3 -0
  11. package/docs/main.ts +25 -26
  12. package/docs/pages/component/accordion/index.vue +2 -2
  13. package/docs/pages/component/alert/index.vue +2 -2
  14. package/docs/pages/component/avatar/index.vue +4 -4
  15. package/docs/pages/component/badge/index.vue +2 -2
  16. package/docs/pages/component/breadcrumbs/index.vue +2 -2
  17. package/docs/pages/component/button/button-group.vue +3 -3
  18. package/docs/pages/component/button/index.vue +14 -7
  19. package/docs/pages/component/button/tooltip.vue +10 -0
  20. package/docs/pages/component/card/index.vue +2 -2
  21. package/docs/pages/component/carousel/index.vue +2 -2
  22. package/docs/pages/component/checkbox/index.vue +5 -5
  23. package/docs/pages/component/container/index.vue +2 -2
  24. package/docs/pages/component/datepicker/index.vue +2 -2
  25. package/docs/pages/component/divider/index.vue +4 -4
  26. package/docs/pages/component/drawer/index.vue +2 -2
  27. package/docs/pages/component/empty/index.vue +3 -3
  28. package/docs/pages/component/form/index.vue +2 -2
  29. package/docs/pages/component/formGroup/index.vue +2 -2
  30. package/docs/pages/component/infiniteLoader/index.vue +3 -3
  31. package/docs/pages/component/input/index.vue +5 -5
  32. package/docs/pages/component/inputGroup/index.vue +3 -3
  33. package/docs/pages/component/inputGroup/validation.vue +6 -1
  34. package/docs/pages/component/link/index.vue +2 -2
  35. package/docs/pages/component/loader/index.vue +2 -2
  36. package/docs/pages/component/menu/index.vue +2 -2
  37. package/docs/pages/component/modal/index.vue +3 -3
  38. package/docs/pages/component/notifications/index.vue +2 -2
  39. package/docs/pages/component/pagination/index.vue +2 -2
  40. package/docs/pages/component/popover/index.vue +2 -2
  41. package/docs/pages/component/popover/usage.vue +14 -0
  42. package/docs/pages/component/progress/index.vue +3 -3
  43. package/docs/pages/component/qrCode/index.vue +2 -2
  44. package/docs/pages/component/radio/index.vue +3 -3
  45. package/docs/pages/component/scroll/index.vue +3 -3
  46. package/docs/pages/component/select/index.vue +5 -5
  47. package/docs/pages/component/skeleton/index.vue +2 -2
  48. package/docs/pages/component/slider/index.vue +2 -2
  49. package/docs/pages/component/spacer/index.vue +2 -2
  50. package/docs/pages/component/spinner/index.vue +3 -3
  51. package/docs/pages/component/table/index.vue +4 -4
  52. package/docs/pages/component/tabs/index.vue +2 -2
  53. package/docs/pages/component/tabs/usage.vue +26 -0
  54. package/docs/pages/component/tag/index.vue +2 -2
  55. package/docs/pages/component/textarea/index.vue +4 -4
  56. package/docs/pages/component/toggle/index.vue +4 -4
  57. package/docs/pages/component/upload/index.vue +2 -2
  58. package/docs/pages/component/upload/usage.vue +1 -0
  59. package/docs/pages/component/virtualGrid/index.vue +2 -2
  60. package/docs/pages/component/virtualList/index.vue +3 -3
  61. package/docs/pages/icons.vue +2 -2
  62. package/docs/router/index.ts +39 -44
  63. package/docs/search/components.json +1 -1
  64. package/docs/search/index.json +1 -1
  65. package/lib/common/buttonGroupRadius.d.ts +3 -0
  66. package/lib/common/buttonGroupRadius.js +6 -0
  67. package/lib/common/props.d.ts +1 -1
  68. package/lib/common/props.js +10 -9
  69. package/lib/components/accordion/Accordion.vue.d.ts +42 -9
  70. package/lib/components/accordion/Accordion.vue_vue_type_script_setup_true_lang.js +18 -6
  71. package/lib/components/accordion/AccordionItem.vue.d.ts +33 -6
  72. package/lib/components/accordion/AccordionItem.vue_vue_type_script_setup_true_lang.js +31 -6
  73. package/lib/components/alert/Alert.vue.d.ts +27 -6
  74. package/lib/components/alert/Alert.vue_vue_type_script_setup_true_lang.js +20 -6
  75. package/lib/components/avatar/Avatar.vue.d.ts +45 -9
  76. package/lib/components/avatar/Avatar.vue_vue_type_script_setup_true_lang.js +17 -6
  77. package/lib/components/badge/Badge.vue.d.ts +54 -9
  78. package/lib/components/badge/Badge.vue_vue_type_script_setup_true_lang.js +26 -9
  79. package/lib/components/breadcrumbs/Breadcrumbs.vue.d.ts +30 -6
  80. package/lib/components/breadcrumbs/Breadcrumbs.vue_vue_type_script_setup_true_lang.js +13 -5
  81. package/lib/components/button/Button.js +2 -2
  82. package/lib/components/button/Button.vue.d.ts +138 -28
  83. package/lib/components/button/Button.vue_vue_type_script_setup_true_lang.js +192 -70
  84. package/lib/components/button/ButtonGroup.js +4 -5
  85. package/lib/components/button/ButtonGroup.vue.d.ts +54 -10
  86. package/lib/components/button/ButtonGroup.vue_vue_type_script_setup_true_lang.js +30 -19
  87. package/lib/components/button/theme/Button.base.theme.js +6 -5
  88. package/lib/components/button/theme/Button.carbon.theme.js +6 -5
  89. package/lib/components/card/Card.vue.d.ts +3 -0
  90. package/lib/components/card/Card.vue_vue_type_script_setup_true_lang.js +4 -2
  91. package/lib/components/carousel/Carousel.vue.d.ts +21 -3
  92. package/lib/components/carousel/Carousel.vue_vue_type_script_setup_true_lang.js +23 -5
  93. package/lib/components/carousel/CarouselSlide.js +2 -2
  94. package/lib/components/carousel/CarouselSlide.vue.d.ts +3 -0
  95. package/lib/components/carousel/CarouselSlide.vue_vue_type_script_setup_true_lang.js +3 -1
  96. package/lib/components/carousel/{CarouselSlide.vue_vue_type_style_index_0_scoped_e90d2127_lang.module.js → CarouselSlide.vue_vue_type_style_index_0_scoped_4f559831_lang.module.js} +1 -1
  97. package/lib/components/checkbox/Checkbox.vue.d.ts +198 -45
  98. package/lib/components/checkbox/Checkbox.vue_vue_type_script_setup_true_lang.js +20 -3
  99. package/lib/components/container/Container.vue.d.ts +6 -0
  100. package/lib/components/container/Container.vue_vue_type_script_setup_true_lang.js +5 -2
  101. package/lib/components/datepicker/Datepicker.vue.d.ts +462 -36
  102. package/lib/components/datepicker/Datepicker.vue_vue_type_script_setup_true_lang.js +294 -153
  103. package/lib/components/divider/Divider.vue.d.ts +12 -3
  104. package/lib/components/divider/Divider.vue_vue_type_script_setup_true_lang.js +6 -2
  105. package/lib/components/drawer/Drawer.vue.d.ts +39 -6
  106. package/lib/components/drawer/Drawer.vue_vue_type_script_setup_true_lang.js +30 -7
  107. package/lib/components/empty/Empty.vue.d.ts +30 -6
  108. package/lib/components/empty/Empty.vue_vue_type_script_setup_true_lang.js +17 -4
  109. package/lib/components/form/Form.vue.d.ts +48 -9
  110. package/lib/components/form/Form.vue_vue_type_script_setup_true_lang.js +34 -7
  111. package/lib/components/formGroup/FormGroup.vue.d.ts +171 -39
  112. package/lib/components/formGroup/FormGroup.vue_vue_type_script_setup_true_lang.js +15 -9
  113. package/lib/components/icon/Icon.vue.d.ts +9 -0
  114. package/lib/components/icon/Icon.vue_vue_type_script_setup_true_lang.js +6 -3
  115. package/lib/components/image/Image.vue.d.ts +12 -3
  116. package/lib/components/image/Image.vue_vue_type_script_setup_true_lang.js +5 -1
  117. package/lib/components/index.js +18 -18
  118. package/lib/components/input/Input.vue.d.ts +291 -66
  119. package/lib/components/input/Input.vue_vue_type_script_setup_true_lang.js +53 -15
  120. package/lib/components/inputFooter/InputFooter.vue.d.ts +48 -12
  121. package/lib/components/inputFooter/InputFooter.vue_vue_type_script_setup_true_lang.js +18 -5
  122. package/lib/components/inputGroup/InputGroup.vue.d.ts +171 -39
  123. package/lib/components/inputGroup/InputGroup.vue_vue_type_script_setup_true_lang.js +6 -1
  124. package/lib/components/label/Label.vue.d.ts +78 -18
  125. package/lib/components/label/Label.vue_vue_type_script_setup_true_lang.js +28 -8
  126. package/lib/components/link/Link.js +2 -2
  127. package/lib/components/link/Link.vue.d.ts +18 -3
  128. package/lib/components/link/Link.vue_vue_type_script_setup_true_lang.js +10 -5
  129. package/lib/components/loader/Loader.vue.d.ts +30 -6
  130. package/lib/components/loader/Loader.vue_vue_type_script_setup_true_lang.js +11 -3
  131. package/lib/components/menu/Menu.vue.d.ts +51 -9
  132. package/lib/components/menu/Menu.vue_vue_type_script_setup_true_lang.js +24 -8
  133. package/lib/components/menu/MenuItem.js +2 -2
  134. package/lib/components/menu/MenuItem.vue.d.ts +198 -45
  135. package/lib/components/menu/MenuItem.vue_vue_type_script_setup_true_lang.js +84 -23
  136. package/lib/components/menu/{MenuItem.vue_vue_type_style_index_0_scoped_2a6b7341_lang.module.js → MenuItem.vue_vue_type_style_index_0_scoped_5aebaff3_lang.module.js} +1 -1
  137. package/lib/components/modal/Modal.vue.d.ts +177 -39
  138. package/lib/components/modal/Modal.vue_vue_type_script_setup_true_lang.js +104 -23
  139. package/lib/components/notifications/Notifications.vue.d.ts +24 -0
  140. package/lib/components/notifications/Notifications.vue_vue_type_script_setup_true_lang.js +39 -12
  141. package/lib/components/pagination/Pagination.vue.d.ts +12 -0
  142. package/lib/components/pagination/Pagination.vue_vue_type_script_setup_true_lang.js +8 -4
  143. package/lib/components/pagination/PaginationItem.vue.d.ts +18 -3
  144. package/lib/components/pagination/PaginationItem.vue_vue_type_script_setup_true_lang.js +8 -3
  145. package/lib/components/popover/Popover.vue.d.ts +204 -45
  146. package/lib/components/popover/Popover.vue_vue_type_script_setup_true_lang.js +157 -66
  147. package/lib/components/popover/PopoverContainer.vue.d.ts +3 -0
  148. package/lib/components/popover/PopoverContainer.vue_vue_type_script_setup_true_lang.js +3 -1
  149. package/lib/components/popover/PopoverContentBoundary.js +5 -0
  150. package/lib/components/popover/PopoverContentBoundary.vue.d.ts +9 -0
  151. package/lib/components/popover/PopoverContentBoundary.vue_vue_type_script_setup_true_lang.js +18 -0
  152. package/lib/components/popover/theme/PopoverContainer.base.theme.js +1 -1
  153. package/lib/components/progress/Progress.vue.d.ts +9 -0
  154. package/lib/components/progress/Progress.vue_vue_type_script_setup_true_lang.js +7 -4
  155. package/lib/components/qrCode/QrCode.vue.d.ts +24 -3
  156. package/lib/components/qrCode/QrCode.vue_vue_type_script_setup_true_lang.js +13 -5
  157. package/lib/components/radio/Radio.vue.d.ts +186 -42
  158. package/lib/components/radio/Radio.vue_vue_type_script_setup_true_lang.js +10 -2
  159. package/lib/components/radioButton/RadioButton.vue.d.ts +186 -42
  160. package/lib/components/radioButton/RadioButton.vue_vue_type_script_setup_true_lang.js +9 -1
  161. package/lib/components/scroll/Scroll.vue.d.ts +3 -0
  162. package/lib/components/scroll/Scroll.vue_vue_type_script_setup_true_lang.js +9 -4
  163. package/lib/components/select/Select.vue.d.ts +633 -144
  164. package/lib/components/select/Select.vue_vue_type_script_setup_true_lang.js +224 -189
  165. package/lib/components/skeleton/Skeleton.vue.d.ts +6 -0
  166. package/lib/components/skeleton/Skeleton.vue_vue_type_script_setup_true_lang.js +5 -2
  167. package/lib/components/slider/Slider.js +1 -1
  168. package/lib/components/slider/Slider.vue.d.ts +180 -39
  169. package/lib/components/slider/Slider.vue_vue_type_script_setup_true_lang.js +14 -3
  170. package/lib/components/spinner/Spinner.vue.d.ts +6 -0
  171. package/lib/components/spinner/Spinner.vue_vue_type_script_setup_true_lang.js +3 -1
  172. package/lib/components/stepper/Stepper.vue.d.ts +120 -24
  173. package/lib/components/stepper/Stepper.vue_vue_type_script_setup_true_lang.js +63 -15
  174. package/lib/components/tab/Tab.vue.d.ts +112 -31
  175. package/lib/components/tab/Tab.vue_vue_type_script_setup_true_lang.js +166 -95
  176. package/lib/components/tab/TabGroup.vue.d.ts +47 -12
  177. package/lib/components/tab/TabGroup.vue_vue_type_script_setup_true_lang.js +93 -49
  178. package/lib/components/tab/theme/Tab.base.theme.js +6 -6
  179. package/lib/components/tab/theme/Tab.carbon.theme.js +6 -6
  180. package/lib/components/tab/theme/TabGroup.base.theme.js +7 -7
  181. package/lib/components/tab/theme/TabGroup.carbon.theme.js +3 -3
  182. package/lib/components/table/Table.vue.d.ts +45 -9
  183. package/lib/components/table/Table.vue_vue_type_script_setup_true_lang.js +82 -27
  184. package/lib/components/table/TableCell.vue.d.ts +54 -12
  185. package/lib/components/table/TableCell.vue_vue_type_script_setup_true_lang.js +23 -8
  186. package/lib/components/table/TableHead.vue_vue_type_script_setup_true_lang.js +2 -1
  187. package/lib/components/table/TableHeader.vue.d.ts +18 -3
  188. package/lib/components/table/TableHeader.vue_vue_type_script_setup_true_lang.js +10 -4
  189. package/lib/components/table/TableRow.vue.d.ts +15 -3
  190. package/lib/components/table/TableRow.vue_vue_type_script_setup_true_lang.js +10 -5
  191. package/lib/components/tag/Tag.vue.d.ts +33 -6
  192. package/lib/components/tag/Tag.vue_vue_type_script_setup_true_lang.js +21 -7
  193. package/lib/components/textarea/Textarea.vue.d.ts +237 -54
  194. package/lib/components/textarea/Textarea.vue_vue_type_script_setup_true_lang.js +38 -13
  195. package/lib/components/themeProvider/ThemeProvider.vue.d.ts +10 -4
  196. package/lib/components/themeProvider/ThemeProvider.vue_vue_type_script_setup_true_lang.js +6 -1
  197. package/lib/components/toggle/Toggle.vue.d.ts +174 -39
  198. package/lib/components/toggle/Toggle.vue_vue_type_script_setup_true_lang.js +5 -1
  199. package/lib/components/tooltip/ToggleTip.vue.d.ts +24 -6
  200. package/lib/components/tooltip/ToggleTip.vue_vue_type_script_setup_true_lang.js +9 -2
  201. package/lib/components/tooltip/Tooltip.vue.d.ts +30 -6
  202. package/lib/components/tooltip/Tooltip.vue_vue_type_script_setup_true_lang.js +16 -4
  203. package/lib/components/upload/Upload.vue.d.ts +249 -57
  204. package/lib/components/upload/Upload.vue_vue_type_script_setup_true_lang.js +156 -125
  205. package/lib/components/upload/fileAccept.d.ts +6 -0
  206. package/lib/components/upload/fileAccept.js +17 -0
  207. package/lib/composables/useColors.d.ts +1 -0
  208. package/lib/composables/useColors.js +2 -1
  209. package/lib/composables/useCommon.d.ts +1 -0
  210. package/lib/composables/useCommon.js +2 -1
  211. package/lib/composables/useFocusTrap.js +1 -1
  212. package/lib/composables/useInputtable.d.ts +45 -10
  213. package/lib/composables/useInputtable.js +56 -14
  214. package/lib/composables/useInteractive.d.ts +13 -3
  215. package/lib/composables/useInteractive.js +14 -4
  216. package/lib/index.js +12 -12
  217. package/lib/index.umd.js +9 -10
  218. package/lib/themes/base/styles.d.ts +1 -1
  219. package/lib/themes/base/styles.js +1 -1
  220. package/lib/themes/carbon/styles.d.ts +1 -1
  221. package/lib/themes/carbon/styles.js +1 -1
  222. package/lib/version.d.ts +1 -1
  223. package/lib/version.js +1 -1
  224. package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue.d.ts +27 -16
  225. package/lib/virtual/components/infiniteLoader/InfiniteLoader.vue_vue_type_script_setup_true_lang.js +25 -5
  226. package/lib/virtual/components/virtualGrid/VirtualGrid.vue.d.ts +108 -86
  227. package/lib/virtual/components/virtualGrid/VirtualGrid.vue_vue_type_script_setup_true_lang.js +91 -21
  228. package/lib/virtual/components/virtualList/VirtualList.vue.d.ts +62 -48
  229. package/lib/virtual/components/virtualList/VirtualList.vue_vue_type_script_setup_true_lang.js +64 -13
  230. package/lib/virtual/components/virtualList/useDynamicRowHeight.js +4 -3
  231. package/package.json +5 -3
  232. package/src/common/buttonGroupRadius.ts +16 -0
  233. package/src/common/props.ts +10 -9
  234. package/src/components/accordion/Accordion.vue +20 -4
  235. package/src/components/accordion/AccordionItem.vue +28 -3
  236. package/src/components/alert/Alert.vue +22 -6
  237. package/src/components/avatar/Avatar.vue +20 -5
  238. package/src/components/badge/Badge.vue +24 -5
  239. package/src/components/breadcrumbs/Breadcrumbs.vue +15 -5
  240. package/src/components/button/Button.vue +140 -5
  241. package/src/components/button/ButtonGroup.vue +41 -25
  242. package/src/components/button/__tests__/ Button.spec.ts +41 -0
  243. package/src/components/button/__tests__/ ButtonGroup.spec.ts +32 -0
  244. package/src/components/button/theme/Button.base.theme.ts +4 -1
  245. package/src/components/button/theme/Button.carbon.theme.ts +5 -4
  246. package/src/components/card/Card.vue +10 -2
  247. package/src/components/carousel/Carousel.vue +22 -2
  248. package/src/components/carousel/CarouselSlide.vue +6 -0
  249. package/src/components/checkbox/Checkbox.vue +22 -3
  250. package/src/components/container/Container.vue +10 -1
  251. package/src/components/datepicker/Datepicker.vue +466 -101
  252. package/src/components/datepicker/__tests__/Datepicker.spec.ts +31 -0
  253. package/src/components/divider/Divider.vue +9 -3
  254. package/src/components/drawer/Drawer.vue +27 -2
  255. package/src/components/empty/Empty.vue +18 -3
  256. package/src/components/form/Form.vue +32 -3
  257. package/src/components/formGroup/FormGroup.vue +12 -0
  258. package/src/components/icon/Icon.vue +4 -1
  259. package/src/components/image/Image.vue +8 -2
  260. package/src/components/input/Input.vue +54 -12
  261. package/src/components/inputFooter/InputFooter.vue +21 -6
  262. package/src/components/inputGroup/InputGroup.vue +12 -1
  263. package/src/components/label/Label.vue +31 -7
  264. package/src/components/link/Link.vue +16 -5
  265. package/src/components/loader/Loader.vue +10 -2
  266. package/src/components/menu/Menu.vue +23 -5
  267. package/src/components/menu/MenuItem.vue +78 -17
  268. package/src/components/modal/Modal.vue +90 -15
  269. package/src/components/notifications/Notifications.vue +23 -0
  270. package/src/components/notifications/__tests__/Notifications.spec.ts +44 -4
  271. package/src/components/pagination/Pagination.vue +9 -1
  272. package/src/components/pagination/PaginationItem.vue +11 -2
  273. package/src/components/popover/Popover.vue +113 -18
  274. package/src/components/popover/PopoverContainer.vue +9 -1
  275. package/src/components/popover/PopoverContentBoundary.vue +32 -0
  276. package/src/components/popover/__tests__/Popover.spec.ts +51 -0
  277. package/src/components/popover/theme/PopoverContainer.base.theme.ts +1 -1
  278. package/src/components/progress/Progress.vue +8 -3
  279. package/src/components/qrCode/QrCode.vue +9 -1
  280. package/src/components/radio/Radio.vue +16 -2
  281. package/src/components/radioButton/RadioButton.vue +15 -1
  282. package/src/components/scroll/Scroll.vue +15 -4
  283. package/src/components/select/Select.vue +53 -16
  284. package/src/components/skeleton/Skeleton.vue +3 -0
  285. package/src/components/slider/Slider.vue +15 -0
  286. package/src/components/spinner/Spinner.vue +2 -0
  287. package/src/components/stepper/Stepper.vue +57 -9
  288. package/src/components/tab/Tab.vue +153 -63
  289. package/src/components/tab/TabGroup.vue +110 -26
  290. package/src/components/tab/__tests__/Tab.spec.ts +53 -0
  291. package/src/components/tab/__tests__/TabGroup.spec.ts +113 -0
  292. package/src/components/tab/theme/Tab.base.theme.ts +24 -2
  293. package/src/components/tab/theme/Tab.carbon.theme.ts +30 -7
  294. package/src/components/tab/theme/TabGroup.base.theme.ts +12 -9
  295. package/src/components/tab/theme/TabGroup.carbon.theme.ts +6 -2
  296. package/src/components/table/Table.vue +76 -19
  297. package/src/components/table/TableCell.vue +25 -6
  298. package/src/components/table/TableHead.vue +9 -2
  299. package/src/components/table/TableHeader.vue +16 -3
  300. package/src/components/table/TableRow.vue +17 -5
  301. package/src/components/tag/Tag.vue +22 -6
  302. package/src/components/textarea/Textarea.vue +40 -11
  303. package/src/components/themeProvider/ThemeProvider.vue +22 -7
  304. package/src/components/toggle/Toggle.vue +9 -1
  305. package/src/components/tooltip/ToggleTip.vue +12 -3
  306. package/src/components/tooltip/Tooltip.vue +19 -3
  307. package/src/components/upload/Upload.vue +46 -16
  308. package/src/components/upload/__tests__/fileAccept.spec.ts +39 -0
  309. package/src/components/upload/fileAccept.ts +29 -0
  310. package/src/composables/useColors.ts +1 -0
  311. package/src/composables/useCommon.ts +1 -0
  312. package/src/composables/useFocusTrap.ts +3 -1
  313. package/src/composables/useInputtable.ts +66 -10
  314. package/src/composables/useInteractive.ts +13 -3
  315. package/src/themes/base/styles.ts +2 -3
  316. package/src/themes/carbon/styles.ts +2 -3
  317. package/src/version.ts +1 -1
  318. package/src/virtual/components/infiniteLoader/InfiniteLoader.vue +33 -1
  319. package/src/virtual/components/virtualGrid/VirtualGrid.vue +104 -10
  320. package/src/virtual/components/virtualList/VirtualList.vue +73 -8
  321. package/src/virtual/components/virtualList/useDynamicRowHeight.ts +9 -2
  322. package/volar.d.ts +3 -0
  323. package/docs/layouts/simple.vue +0 -5
  324. package/lib/components/button/ButtonGroup.vue_vue_type_style_index_0_lang.module.js +0 -7
  325. /package/lib/components/button/{Button.vue_vue_type_style_index_0_scoped_4402fde2_lang.module.js → Button.vue_vue_type_style_index_0_scoped_486cb9c0_lang.module.js} +0 -0
  326. /package/lib/components/link/{Link.vue_vue_type_style_index_0_scoped_8e0e4d08_lang.module.js → Link.vue_vue_type_style_index_0_scoped_3ee61e03_lang.module.js} +0 -0
@@ -7,44 +7,90 @@ declare const modalProps: {
7
7
  size: {
8
8
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
9
9
  default: string;
10
+ description: string;
10
11
  };
11
12
  position: {
12
13
  type: PropType<"top" | "bottom" | "center">;
13
14
  default: string;
15
+ description: string;
16
+ };
17
+ modelValue: {
18
+ type: BooleanConstructor;
19
+ description: string;
20
+ };
21
+ showClose: {
22
+ type: BooleanConstructor;
23
+ description: string;
14
24
  };
15
- modelValue: BooleanConstructor;
16
- showClose: BooleanConstructor;
17
25
  backdrop: {
18
26
  type: BooleanConstructor;
19
27
  default: boolean;
28
+ description: string;
20
29
  };
21
30
  hasActions: {
22
31
  type: BooleanConstructor;
23
32
  default: boolean;
33
+ description: string;
24
34
  };
25
35
  hasHeader: {
26
36
  type: BooleanConstructor;
27
37
  default: boolean;
38
+ description: string;
39
+ };
40
+ title: {
41
+ type: StringConstructor;
42
+ description: string;
43
+ };
44
+ description: {
45
+ type: StringConstructor;
46
+ description: string;
47
+ };
48
+ label: {
49
+ type: StringConstructor;
50
+ description: string;
51
+ };
52
+ loading: {
53
+ type: BooleanConstructor;
54
+ description: string;
55
+ };
56
+ loadingText: {
57
+ type: StringConstructor;
58
+ description: string;
59
+ };
60
+ fluid: {
61
+ type: BooleanConstructor;
62
+ description: string;
63
+ };
64
+ isForm: {
65
+ type: BooleanConstructor;
66
+ description: string;
67
+ };
68
+ formDisabled: {
69
+ type: BooleanConstructor;
70
+ description: string;
71
+ };
72
+ formDescription: {
73
+ type: StringConstructor;
74
+ description: string;
75
+ };
76
+ formTitle: {
77
+ type: StringConstructor;
78
+ description: string;
28
79
  };
29
- title: StringConstructor;
30
- description: StringConstructor;
31
- label: StringConstructor;
32
- loading: BooleanConstructor;
33
- loadingText: StringConstructor;
34
- fluid: BooleanConstructor;
35
- isForm: BooleanConstructor;
36
- formDisabled: BooleanConstructor;
37
- formDescription: StringConstructor;
38
- formTitle: StringConstructor;
39
80
  formAutoValidate: {
40
81
  type: BooleanConstructor;
41
82
  default: boolean;
83
+ description: string;
42
84
  };
43
85
  formErrors: {
44
86
  type: PropType<FormError | FormError[]>;
45
87
  default: () => never[];
88
+ description: string;
89
+ };
90
+ persistent: {
91
+ type: BooleanConstructor;
92
+ description: string;
46
93
  };
47
- persistent: BooleanConstructor;
48
94
  };
49
95
  export type ModalSize = typeof modalSize[number];
50
96
  export type ModalPosition = typeof modalPosition[number];
@@ -59,44 +105,90 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
59
105
  size: {
60
106
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
61
107
  default: string;
108
+ description: string;
62
109
  };
63
110
  position: {
64
111
  type: PropType<"top" | "bottom" | "center">;
65
112
  default: string;
113
+ description: string;
114
+ };
115
+ modelValue: {
116
+ type: BooleanConstructor;
117
+ description: string;
118
+ };
119
+ showClose: {
120
+ type: BooleanConstructor;
121
+ description: string;
66
122
  };
67
- modelValue: BooleanConstructor;
68
- showClose: BooleanConstructor;
69
123
  backdrop: {
70
124
  type: BooleanConstructor;
71
125
  default: boolean;
126
+ description: string;
72
127
  };
73
128
  hasActions: {
74
129
  type: BooleanConstructor;
75
130
  default: boolean;
131
+ description: string;
76
132
  };
77
133
  hasHeader: {
78
134
  type: BooleanConstructor;
79
135
  default: boolean;
136
+ description: string;
137
+ };
138
+ title: {
139
+ type: StringConstructor;
140
+ description: string;
141
+ };
142
+ description: {
143
+ type: StringConstructor;
144
+ description: string;
145
+ };
146
+ label: {
147
+ type: StringConstructor;
148
+ description: string;
149
+ };
150
+ loading: {
151
+ type: BooleanConstructor;
152
+ description: string;
153
+ };
154
+ loadingText: {
155
+ type: StringConstructor;
156
+ description: string;
157
+ };
158
+ fluid: {
159
+ type: BooleanConstructor;
160
+ description: string;
161
+ };
162
+ isForm: {
163
+ type: BooleanConstructor;
164
+ description: string;
165
+ };
166
+ formDisabled: {
167
+ type: BooleanConstructor;
168
+ description: string;
169
+ };
170
+ formDescription: {
171
+ type: StringConstructor;
172
+ description: string;
173
+ };
174
+ formTitle: {
175
+ type: StringConstructor;
176
+ description: string;
80
177
  };
81
- title: StringConstructor;
82
- description: StringConstructor;
83
- label: StringConstructor;
84
- loading: BooleanConstructor;
85
- loadingText: StringConstructor;
86
- fluid: BooleanConstructor;
87
- isForm: BooleanConstructor;
88
- formDisabled: BooleanConstructor;
89
- formDescription: StringConstructor;
90
- formTitle: StringConstructor;
91
178
  formAutoValidate: {
92
179
  type: BooleanConstructor;
93
180
  default: boolean;
181
+ description: string;
94
182
  };
95
183
  formErrors: {
96
184
  type: PropType<FormError | FormError[]>;
97
185
  default: () => never[];
186
+ description: string;
187
+ };
188
+ persistent: {
189
+ type: BooleanConstructor;
190
+ description: string;
98
191
  };
99
- persistent: BooleanConstructor;
100
192
  }>, {
101
193
  open: () => void;
102
194
  close: () => void;
@@ -104,44 +196,90 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
104
196
  size: {
105
197
  type: PropType<"xs" | "sm" | "md" | "lg" | "xl" | "full">;
106
198
  default: string;
199
+ description: string;
107
200
  };
108
201
  position: {
109
202
  type: PropType<"top" | "bottom" | "center">;
110
203
  default: string;
204
+ description: string;
205
+ };
206
+ modelValue: {
207
+ type: BooleanConstructor;
208
+ description: string;
209
+ };
210
+ showClose: {
211
+ type: BooleanConstructor;
212
+ description: string;
111
213
  };
112
- modelValue: BooleanConstructor;
113
- showClose: BooleanConstructor;
114
214
  backdrop: {
115
215
  type: BooleanConstructor;
116
216
  default: boolean;
217
+ description: string;
117
218
  };
118
219
  hasActions: {
119
220
  type: BooleanConstructor;
120
221
  default: boolean;
222
+ description: string;
121
223
  };
122
224
  hasHeader: {
123
225
  type: BooleanConstructor;
124
226
  default: boolean;
227
+ description: string;
228
+ };
229
+ title: {
230
+ type: StringConstructor;
231
+ description: string;
232
+ };
233
+ description: {
234
+ type: StringConstructor;
235
+ description: string;
236
+ };
237
+ label: {
238
+ type: StringConstructor;
239
+ description: string;
240
+ };
241
+ loading: {
242
+ type: BooleanConstructor;
243
+ description: string;
244
+ };
245
+ loadingText: {
246
+ type: StringConstructor;
247
+ description: string;
248
+ };
249
+ fluid: {
250
+ type: BooleanConstructor;
251
+ description: string;
252
+ };
253
+ isForm: {
254
+ type: BooleanConstructor;
255
+ description: string;
256
+ };
257
+ formDisabled: {
258
+ type: BooleanConstructor;
259
+ description: string;
260
+ };
261
+ formDescription: {
262
+ type: StringConstructor;
263
+ description: string;
264
+ };
265
+ formTitle: {
266
+ type: StringConstructor;
267
+ description: string;
125
268
  };
126
- title: StringConstructor;
127
- description: StringConstructor;
128
- label: StringConstructor;
129
- loading: BooleanConstructor;
130
- loadingText: StringConstructor;
131
- fluid: BooleanConstructor;
132
- isForm: BooleanConstructor;
133
- formDisabled: BooleanConstructor;
134
- formDescription: StringConstructor;
135
- formTitle: StringConstructor;
136
269
  formAutoValidate: {
137
270
  type: BooleanConstructor;
138
271
  default: boolean;
272
+ description: string;
139
273
  };
140
274
  formErrors: {
141
275
  type: PropType<FormError | FormError[]>;
142
276
  default: () => never[];
277
+ description: string;
278
+ };
279
+ persistent: {
280
+ type: BooleanConstructor;
281
+ description: string;
143
282
  };
144
- persistent: BooleanConstructor;
145
283
  }>> & Readonly<{
146
284
  onSubmit?: ((...args: any[]) => any) | undefined;
147
285
  "onUpdate:modelValue"?: ((...args: any[]) => any) | undefined;
@@ -24,61 +24,137 @@ var D = { key: 0 }, O = /* @__PURE__ */ m({
24
24
  "bottom"
25
25
  ]
26
26
  },
27
+ docs: {
28
+ slots: {
29
+ default: "Main modal body content.",
30
+ image: "Optional media above the header.",
31
+ header: "Replaces the default header region.",
32
+ "header-content": "Custom header content inside the default header layout.",
33
+ footer: "Replaces the default actions footer.",
34
+ actions: "Custom actions row inside the default footer.",
35
+ "cancel-action": "Cancel / dismiss control in the actions row.",
36
+ "tertiary-action": "Tertiary action control in the actions row.",
37
+ "secondary-action": "Secondary action control in the actions row.",
38
+ "primary-action": "Primary action control in the actions row."
39
+ },
40
+ emits: {
41
+ "update:modelValue": "Emitted when open state changes (v-model).",
42
+ submit: "Emitted when the inner form submits. Payload is the validation result."
43
+ },
44
+ methods: {
45
+ open: "Open the modal.",
46
+ close: "Close the modal."
47
+ }
48
+ },
27
49
  props: {
28
50
  size: {
29
51
  type: String,
30
- default: "lg"
52
+ default: "lg",
53
+ description: "Dialog width preset (xs, sm, md, lg, xl, full)."
31
54
  },
32
55
  position: {
33
56
  type: String,
34
- default: "center"
57
+ default: "center",
58
+ description: "Vertical placement of the dialog (top, center, bottom)."
59
+ },
60
+ modelValue: {
61
+ type: Boolean,
62
+ description: "Open state (v-model)."
63
+ },
64
+ showClose: {
65
+ type: Boolean,
66
+ description: "Shows a close button in the corner."
35
67
  },
36
- modelValue: Boolean,
37
- showClose: Boolean,
38
68
  backdrop: {
39
69
  type: Boolean,
40
- default: !0
70
+ default: !0,
71
+ description: "Shows a dimmed backdrop behind the dialog."
41
72
  },
42
73
  hasActions: {
43
74
  type: Boolean,
44
- default: !0
75
+ default: !0,
76
+ description: "Renders the default actions footer region when no footer slot is used."
45
77
  },
46
78
  hasHeader: {
47
79
  type: Boolean,
48
- default: !0
49
- },
50
- title: String,
51
- description: String,
52
- label: String,
53
- loading: Boolean,
54
- loadingText: String,
55
- fluid: Boolean,
56
- isForm: Boolean,
57
- formDisabled: Boolean,
58
- formDescription: String,
59
- formTitle: String,
80
+ default: !0,
81
+ description: "Renders the default header region when no header slot is used."
82
+ },
83
+ title: {
84
+ type: String,
85
+ description: "Header title text."
86
+ },
87
+ description: {
88
+ type: String,
89
+ description: "Body description shown above the default slot."
90
+ },
91
+ label: {
92
+ type: String,
93
+ description: "Small label above the title in the header."
94
+ },
95
+ loading: {
96
+ type: Boolean,
97
+ description: "Loading state for the modal (theme/visual)."
98
+ },
99
+ loadingText: {
100
+ type: String,
101
+ description: "Text shown while loading."
102
+ },
103
+ fluid: {
104
+ type: Boolean,
105
+ description: "Stretches the dialog to fill available width within its size."
106
+ },
107
+ isForm: {
108
+ type: Boolean,
109
+ description: "Wraps content in x-form and enables form submit handling."
110
+ },
111
+ formDisabled: {
112
+ type: Boolean,
113
+ description: "Disables the inner form when `isForm` is set."
114
+ },
115
+ formDescription: {
116
+ type: String,
117
+ description: "Description passed to the inner form when `isForm` is set."
118
+ },
119
+ formTitle: {
120
+ type: String,
121
+ description: "Title passed to the inner form when `isForm` is set."
122
+ },
60
123
  formAutoValidate: {
61
124
  type: Boolean,
62
- default: !0
125
+ default: !0,
126
+ description: "Auto-validate the inner form on submit when `isForm` is set."
63
127
  },
64
128
  formErrors: {
65
129
  type: [Array, Object],
66
- default: () => []
130
+ default: () => [],
131
+ description: "External form errors passed to the inner form when `isForm` is set."
67
132
  },
68
- persistent: Boolean
133
+ persistent: {
134
+ type: Boolean,
135
+ description: "Prevents closing on Escape or backdrop click."
136
+ }
69
137
  },
70
138
  emits: ["update:modelValue", "submit"],
71
139
  setup(m, { expose: O, emit: k }) {
72
140
  let A = m, j = k, M = y(A.modelValue), N = y(!1), P = y(null), F = y(null), { initFocusTrap: I, clearFocusTrap: L } = s(), R;
73
141
  T(M, (e) => {
74
142
  R &&= (R(), void 0), e && setTimeout(() => {
75
- R = r(P, U, { ignore: [".v-popper__popper"] });
143
+ R = r(P, U, { ignore: [
144
+ ".v-popper__popper",
145
+ ".dp__menu",
146
+ ".dp--menu-wrapper"
147
+ ] });
76
148
  });
77
149
  });
78
150
  let z;
79
151
  T(() => A.modelValue, B, { immediate: !0 });
80
152
  async function B() {
81
153
  let e = A.modelValue;
154
+ if (typeof document > "u" || typeof window > "u") {
155
+ M.value = e, N.value = e;
156
+ return;
157
+ }
82
158
  if (e) {
83
159
  let t = window.innerWidth - document.documentElement.clientWidth;
84
160
  M.value = e, await h(), N.value = e, z = setTimeout(() => {
@@ -87,7 +163,12 @@ var D = { key: 0 }, O = /* @__PURE__ */ m({
87
163
  } else N.value = e, M.value = e, clearTimeout(z), L(), document.body.style.paddingRight = "", document.body.style.overflow = "auto";
88
164
  }
89
165
  typeof window < "u" && i(document, "keydown", H);
90
- let V = (e) => [".v-popper__popper", ".x-datepicker"].some((t) => typeof t == "string" ? Array.from(window.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t)) : !1);
166
+ let V = (e) => [
167
+ ".v-popper__popper",
168
+ ".x-datepicker",
169
+ ".dp__menu",
170
+ ".dp--menu-wrapper"
171
+ ].some((t) => typeof t == "string" ? Array.from(window.document.querySelectorAll(t)).some((t) => t === e.target || e.composedPath().includes(t)) : !1);
91
172
  function H(e) {
92
173
  e.key === "Escape" && !V(e) && M.value && !A.persistent && W();
93
174
  }
@@ -5,35 +5,43 @@ declare const notificationsProps: {
5
5
  type: PropType<"left" | "right">;
6
6
  default: string;
7
7
  validator: (value: string) => boolean;
8
+ description: string;
8
9
  };
9
10
  position: {
10
11
  type: PropType<"top" | "bottom">;
11
12
  default: string;
12
13
  validator: (value: string) => boolean;
14
+ description: string;
13
15
  };
14
16
  timeout: {
15
17
  type: NumberConstructor;
16
18
  default: number;
19
+ description: string;
17
20
  };
18
21
  removable: {
19
22
  type: BooleanConstructor;
20
23
  default: boolean;
24
+ description: string;
21
25
  };
22
26
  pauseOnHover: {
23
27
  type: BooleanConstructor;
24
28
  default: boolean;
29
+ description: string;
25
30
  };
26
31
  injectKey: {
27
32
  type: (SymbolConstructor | StringConstructor)[];
28
33
  default: import("vue").InjectionKey<NotificationInjection>;
34
+ description: string;
29
35
  };
30
36
  offset: {
31
37
  type: (StringConstructor | NumberConstructor)[];
32
38
  default: number;
39
+ description: string;
33
40
  };
34
41
  color: {
35
42
  readonly type: StringConstructor;
36
43
  readonly default: string | undefined;
44
+ readonly description: "Theme or CSS color used for the control accents.";
37
45
  };
38
46
  };
39
47
  declare const validators: {
@@ -79,35 +87,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
79
87
  type: PropType<"left" | "right">;
80
88
  default: string;
81
89
  validator: (value: string) => boolean;
90
+ description: string;
82
91
  };
83
92
  position: {
84
93
  type: PropType<"top" | "bottom">;
85
94
  default: string;
86
95
  validator: (value: string) => boolean;
96
+ description: string;
87
97
  };
88
98
  timeout: {
89
99
  type: NumberConstructor;
90
100
  default: number;
101
+ description: string;
91
102
  };
92
103
  removable: {
93
104
  type: BooleanConstructor;
94
105
  default: boolean;
106
+ description: string;
95
107
  };
96
108
  pauseOnHover: {
97
109
  type: BooleanConstructor;
98
110
  default: boolean;
111
+ description: string;
99
112
  };
100
113
  injectKey: {
101
114
  type: (SymbolConstructor | StringConstructor)[];
102
115
  default: import("vue").InjectionKey<NotificationInjection>;
116
+ description: string;
103
117
  };
104
118
  offset: {
105
119
  type: (StringConstructor | NumberConstructor)[];
106
120
  default: number;
121
+ description: string;
107
122
  };
108
123
  color: {
109
124
  readonly type: StringConstructor;
110
125
  readonly default: string | undefined;
126
+ readonly description: "Theme or CSS color used for the control accents.";
111
127
  };
112
128
  }>, {
113
129
  log: (notification: NotificationEvent | string) => void;
@@ -121,35 +137,43 @@ declare const _default: __VLS_WithTemplateSlots<import("vue").DefineComponent<im
121
137
  type: PropType<"left" | "right">;
122
138
  default: string;
123
139
  validator: (value: string) => boolean;
140
+ description: string;
124
141
  };
125
142
  position: {
126
143
  type: PropType<"top" | "bottom">;
127
144
  default: string;
128
145
  validator: (value: string) => boolean;
146
+ description: string;
129
147
  };
130
148
  timeout: {
131
149
  type: NumberConstructor;
132
150
  default: number;
151
+ description: string;
133
152
  };
134
153
  removable: {
135
154
  type: BooleanConstructor;
136
155
  default: boolean;
156
+ description: string;
137
157
  };
138
158
  pauseOnHover: {
139
159
  type: BooleanConstructor;
140
160
  default: boolean;
161
+ description: string;
141
162
  };
142
163
  injectKey: {
143
164
  type: (SymbolConstructor | StringConstructor)[];
144
165
  default: import("vue").InjectionKey<NotificationInjection>;
166
+ description: string;
145
167
  };
146
168
  offset: {
147
169
  type: (StringConstructor | NumberConstructor)[];
148
170
  default: number;
171
+ description: string;
149
172
  };
150
173
  color: {
151
174
  readonly type: StringConstructor;
152
175
  readonly default: string | undefined;
176
+ readonly description: "Theme or CSS color used for the control accents.";
153
177
  };
154
178
  }>> & Readonly<{}>, {
155
179
  removable: boolean;