@livestorm/ui-vue 1.1.2 → 2.0.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 (399) hide show
  1. package/README.md +164 -32
  2. package/components-vite.js +5 -5
  3. package/components.d.ts +3 -3
  4. package/dist/UiTimelineItem.vue_vue_type_style_index_0_lang-DOLFRKcb.mjs +5565 -0
  5. package/dist/a11y-DIdrv5Mn.mjs +66 -0
  6. package/dist/breakpoints.mjs +9 -0
  7. package/dist/bus.mjs +5 -0
  8. package/dist/components.mjs +213 -1550
  9. package/dist/index.mjs +84 -166
  10. package/dist/integrations.mjs +8 -0
  11. package/dist/layouts.mjs +236 -0
  12. package/dist/responsive.mjs +25 -0
  13. package/dist/slot.mjs +21 -0
  14. package/dist/toastDSV2-wMh-UMzW.mjs +74 -0
  15. package/dist/types/index.d.ts +84 -0
  16. package/dist/types/src/components/Toast/LayoutToasts.vue.d.ts +3 -0
  17. package/dist/types/src/components/Toast/ToastMessage.vue.d.ts +21 -0
  18. package/dist/types/src/components/Toast/toastDSV2.d.ts +102 -0
  19. package/dist/types/src/components/UiActionBar/UiActionBar.vue.d.ts +44 -0
  20. package/dist/types/src/components/UiActionBar/UiActionBarItem.vue.d.ts +47 -0
  21. package/dist/types/src/components/UiActionBar/UiActionBarSeparator.vue.d.ts +3 -0
  22. package/dist/types/src/components/UiActionBar/index.d.ts +4 -0
  23. package/dist/types/src/components/UiActionBar/types.d.ts +14 -0
  24. package/dist/types/src/components/UiAnimatedLogo/UiAnimatedLogo.vue.d.ts +10 -0
  25. package/dist/types/src/components/UiAnimatedLogo/animations-links.d.ts +3 -0
  26. package/dist/types/src/components/UiAvatar/UiAvatar.vue.d.ts +55 -0
  27. package/dist/types/src/components/UiAvatar/index.d.ts +1 -0
  28. package/dist/types/src/components/UiAvatarList/UiAvatarList.vue.d.ts +28 -0
  29. package/dist/types/src/components/UiAvatarList/index.d.ts +1 -0
  30. package/dist/types/src/components/UiBadge/UiBadge.vue.d.ts +47 -0
  31. package/dist/types/src/components/UiBadge/index.d.ts +1 -0
  32. package/dist/types/src/components/UiBanner/UiBanner.vue.d.ts +96 -0
  33. package/dist/types/src/components/UiBanner/index.d.ts +2 -0
  34. package/dist/types/src/components/UiBreadcrumb/UiBreadcrumb.vue.d.ts +15 -0
  35. package/dist/types/src/components/UiBreadcrumb/index.d.ts +2 -0
  36. package/dist/types/src/components/UiButton/UiButton.vue.d.ts +249 -0
  37. package/dist/types/src/components/UiButtonGroup/UiButtonGroup.vue.d.ts +42 -0
  38. package/dist/types/src/components/UiButtonGroup/UiButtonGroupItem.vue.d.ts +21 -0
  39. package/dist/types/src/components/UiButtonGroup/index.d.ts +3 -0
  40. package/dist/types/src/components/UiButtonGroup/types.d.ts +10 -0
  41. package/dist/types/src/components/UiCard/UiCard.vue.d.ts +31 -0
  42. package/dist/types/src/components/UiCarousel/UiCarousel.vue.d.ts +63 -0
  43. package/dist/types/src/components/UiCarousel/index.d.ts +2 -0
  44. package/dist/types/src/components/UiColorField/UiColorField.vue.d.ts +19 -0
  45. package/dist/types/src/components/UiColorField/index.d.ts +2 -0
  46. package/dist/types/src/components/UiColorField/types.d.ts +29 -0
  47. package/dist/types/src/components/UiColorPicker/UiColorPicker.vue.d.ts +35 -0
  48. package/dist/types/src/components/UiColorPicker/index.d.ts +2 -0
  49. package/dist/types/src/components/UiColorPicker/types.d.ts +97 -0
  50. package/dist/types/src/components/UiDialog/MarketplaceHeaderExample.vue.d.ts +28 -0
  51. package/dist/types/src/components/UiDialog/UiDialog.vue.d.ts +18 -0
  52. package/dist/types/src/components/UiDialog/UiDialogClose.vue.d.ts +10 -0
  53. package/dist/types/src/components/UiDialog/UiDialogContent.vue.d.ts +54 -0
  54. package/dist/types/src/components/UiDialog/UiDialogFooter.vue.d.ts +13 -0
  55. package/dist/types/src/components/UiDialog/UiDialogTrigger.vue.d.ts +14 -0
  56. package/dist/types/src/components/UiDialog/index.d.ts +7 -0
  57. package/dist/types/src/components/UiDropdown/UiDropdown.vue.d.ts +42 -0
  58. package/dist/types/src/components/UiDropdown/UiDropdownContent.vue.d.ts +32 -0
  59. package/dist/types/src/components/UiDropdown/UiDropdownItem.vue.d.ts +27 -0
  60. package/dist/types/src/components/UiDropdown/UiDropdownSeparator.vue.d.ts +3 -0
  61. package/dist/types/src/components/UiDropdown/UiDropdownTrigger.vue.d.ts +45 -0
  62. package/dist/types/src/components/UiDropdown/context.d.ts +7 -0
  63. package/dist/types/src/components/UiDropdown/index.d.ts +6 -0
  64. package/dist/types/src/components/UiEmptyState/UiEmptyState.vue.d.ts +29 -0
  65. package/dist/types/src/components/UiFieldWrapper/UiFieldWrapper.vue.d.ts +36 -0
  66. package/dist/types/src/components/UiFieldWrapper/index.d.ts +1 -0
  67. package/dist/types/src/components/UiForm/UiFormField.types.d.ts +22 -0
  68. package/dist/types/src/components/UiForm/UiFormField.vue.d.ts +34 -0
  69. package/dist/types/src/components/UiForm/index.d.ts +3 -0
  70. package/dist/types/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue.d.ts +6 -0
  71. package/dist/types/src/components/UiInputCheckbox/UiInputCheckbox.vue.d.ts +108 -0
  72. package/dist/types/src/components/UiInputCheckbox/index.d.ts +2 -0
  73. package/dist/types/src/components/UiInputCheckbox/types.d.ts +1 -0
  74. package/dist/types/src/components/UiInputSelect/UiInputSelect.vue.d.ts +66 -0
  75. package/dist/types/src/components/UiInputSelect/index.d.ts +2 -0
  76. package/dist/types/src/components/UiInputSelect/types.d.ts +1 -0
  77. package/dist/types/src/components/UiInputTextarea/UiInputTextarea.vue.d.ts +49 -0
  78. package/dist/types/src/components/UiInputTextarea/index.d.ts +2 -0
  79. package/dist/types/src/components/UiInputTextarea/types.d.ts +1 -0
  80. package/dist/types/src/components/UiLabel/UiLabel.vue.d.ts +17 -0
  81. package/dist/types/src/components/UiList/UiList.vue.d.ts +27 -0
  82. package/dist/types/src/components/UiListItem/UiListItem.vue.d.ts +35 -0
  83. package/dist/types/src/components/UiLoader/UiLoader.vue.d.ts +17 -0
  84. package/dist/types/src/components/UiLogo/UiLogo.vue.d.ts +20 -0
  85. package/dist/types/src/components/UiLogo/variants/PulseVariant.vue.d.ts +3 -0
  86. package/dist/types/src/components/UiLogo/variants/TornadoVariant.vue.d.ts +3 -0
  87. package/dist/types/src/components/UiMenu/UiMenu.vue.d.ts +18 -0
  88. package/dist/types/src/components/UiMenu/UiMenuContent.vue.d.ts +30 -0
  89. package/dist/types/src/components/UiMenu/UiMenuGroup.vue.d.ts +16 -0
  90. package/dist/types/src/components/UiMenu/UiMenuItem.vue.d.ts +18 -0
  91. package/dist/types/src/components/UiMenu/UiMenuLabel.vue.d.ts +13 -0
  92. package/dist/types/src/components/UiMenu/UiMenuSeparator.vue.d.ts +13 -0
  93. package/dist/types/src/components/UiMenu/UiMenuSub.vue.d.ts +18 -0
  94. package/dist/types/src/components/UiMenu/UiMenuSubContent.vue.d.ts +32 -0
  95. package/dist/types/src/components/UiMenu/UiMenuSubTrigger.vue.d.ts +14 -0
  96. package/dist/types/src/components/UiMenu/UiMenuTrigger.vue.d.ts +14 -0
  97. package/dist/types/src/components/UiMenu/index.d.ts +10 -0
  98. package/dist/types/src/components/UiPage/UiPage.vue.d.ts +37 -0
  99. package/dist/types/src/components/UiPageHeader/UiPageHeader.vue.d.ts +33 -0
  100. package/dist/types/src/components/UiPopover/UiPopover.vue.d.ts +18 -0
  101. package/dist/types/src/components/UiPopover/UiPopoverAnchor.vue.d.ts +14 -0
  102. package/dist/types/src/components/UiPopover/UiPopoverContent.vue.d.ts +28 -0
  103. package/dist/types/src/components/UiPopover/UiPopoverTrigger.vue.d.ts +14 -0
  104. package/dist/types/src/components/UiProgress/UiProgress.vue.d.ts +15 -0
  105. package/dist/types/src/components/UiProgress/index.d.ts +2 -0
  106. package/dist/types/src/components/UiProgress/types.d.ts +4 -0
  107. package/dist/types/src/components/UiRoomButton/UiRoomButton.vue.d.ts +29 -0
  108. package/dist/types/src/components/UiShell/UiShell.vue.d.ts +24 -0
  109. package/dist/types/src/components/UiSideMenu/UiSideMenu.vue.d.ts +64 -0
  110. package/dist/types/src/components/UiSideMenu/UiSideMenuBottom.vue.d.ts +7 -0
  111. package/dist/types/src/components/UiSideMenu/UiSideMenuItem.vue.d.ts +53 -0
  112. package/dist/types/src/components/UiSideMenu/UiSideMenuItemContent.vue.d.ts +43 -0
  113. package/dist/types/src/components/UiSideMenu/UiSideMenuTop.vue.d.ts +7 -0
  114. package/dist/types/src/components/UiSideMenu/injection.d.ts +7 -0
  115. package/dist/types/src/components/UiSideMenu/types.d.ts +39 -0
  116. package/dist/types/src/components/UiSideMenu/useLabelHidden.d.ts +2 -0
  117. package/dist/types/src/components/UiSideMenu/useSideMenuLayout.d.ts +7 -0
  118. package/dist/types/src/components/UiStepper/UiStepper.vue.d.ts +18 -0
  119. package/dist/types/src/components/UiStepper/UiStepperDescription.vue.d.ts +14 -0
  120. package/dist/types/src/components/UiStepper/UiStepperIndicator.vue.d.ts +20 -0
  121. package/dist/types/src/components/UiStepper/UiStepperItem.vue.d.ts +19 -0
  122. package/dist/types/src/components/UiStepper/UiStepperSeparator.vue.d.ts +10 -0
  123. package/dist/types/src/components/UiStepper/UiStepperTitle.vue.d.ts +14 -0
  124. package/dist/types/src/components/UiStepper/index.d.ts +7 -0
  125. package/dist/types/src/components/UiTable/UiTable.vue.d.ts +20 -0
  126. package/dist/types/src/components/UiTable/UiTableBody.vue.d.ts +13 -0
  127. package/dist/types/src/components/UiTable/UiTableCell.vue.d.ts +13 -0
  128. package/dist/types/src/components/UiTable/UiTableHeader.vue.d.ts +13 -0
  129. package/dist/types/src/components/UiTable/UiTableHeaderCell.vue.d.ts +13 -0
  130. package/dist/types/src/components/UiTable/UiTableRow.vue.d.ts +16 -0
  131. package/dist/types/src/components/UiTable/index.d.ts +6 -0
  132. package/dist/types/src/components/UiTabs/UiTabs.vue.d.ts +37 -0
  133. package/dist/types/src/components/UiTabs/index.d.ts +2 -0
  134. package/dist/types/src/components/UiTag/UiTag.vue.d.ts +43 -0
  135. package/dist/types/src/components/UiTag/index.d.ts +1 -0
  136. package/dist/types/src/components/UiTextField/UiTextField.vue.d.ts +65 -0
  137. package/dist/types/src/components/UiTextField/index.d.ts +2 -0
  138. package/dist/types/src/components/UiTextField/types.d.ts +2 -0
  139. package/dist/types/src/components/UiTimeline/UiTimeline.vue.d.ts +19 -0
  140. package/dist/types/src/components/UiTimeline/UiTimelineItem.vue.d.ts +28 -0
  141. package/dist/types/src/components/UiTimeline/index.d.ts +2 -0
  142. package/dist/types/src/components/UiTooltip/UiTooltip.vue.d.ts +18 -0
  143. package/dist/types/src/components/UiTooltip/UiTooltipContent.vue.d.ts +54 -0
  144. package/dist/types/src/components/UiTooltip/UiTooltipProvider.vue.d.ts +17 -0
  145. package/dist/types/src/components/UiTooltip/UiTooltipTrigger.vue.d.ts +14 -0
  146. package/dist/types/src/components/UiTooltip/index.d.ts +4 -0
  147. package/dist/types/src/composables/useButtonStyles.d.ts +20 -0
  148. package/dist/types/src/composables/useMobileMenu.d.ts +11 -0
  149. package/dist/types/src/composables/useThemeAndModes.d.ts +34 -0
  150. package/dist/types/src/constants/index.d.ts +2 -0
  151. package/dist/types/src/constants/sizes.d.ts +2 -0
  152. package/dist/types/src/constants/themes.d.ts +22 -0
  153. package/dist/types/src/integrations/index.d.ts +1 -0
  154. package/dist/types/src/layouts/index.d.ts +2 -0
  155. package/dist/types/src/mixins/DynamicAction.d.ts +30 -0
  156. package/dist/types/src/primitives.d.ts +6 -0
  157. package/dist/types/src/theme.d.ts +1 -0
  158. package/dist/types/src/utils/a11y.d.ts +2 -0
  159. package/dist/types/src/utils/breakpoints.d.ts +9 -0
  160. package/dist/types/src/utils/bus.d.ts +2 -0
  161. package/dist/types/src/utils/clipboard.d.ts +4 -0
  162. package/dist/types/src/utils/devices.d.ts +19 -0
  163. package/dist/types/src/utils/elements.d.ts +1 -0
  164. package/dist/types/src/utils/index.d.ts +9 -0
  165. package/dist/types/src/utils/numbers.d.ts +30 -0
  166. package/dist/types/src/utils/responsive.d.ts +5 -0
  167. package/dist/types/src/utils/responsive.types.d.ts +12 -0
  168. package/dist/types/src/utils/router.d.ts +1 -0
  169. package/dist/types/src/utils/slot.d.ts +8 -0
  170. package/dist/types/src/utils/stack-view.d.ts +10 -0
  171. package/dist/types/src/utils/uid.d.ts +1 -0
  172. package/dist/types/style.d.ts +1 -0
  173. package/dist/ui-vue.css +1 -0
  174. package/dist/useThemeAndModes-DY5SDC0a.mjs +109 -0
  175. package/dist/utils.mjs +111 -0
  176. package/index.d.ts +88 -2
  177. package/index.js +169 -16
  178. package/integrations.d.ts +10 -0
  179. package/package.json +127 -58
  180. package/src/components/Toast/LayoutToasts.vue +63 -0
  181. package/src/components/Toast/ToastMessage.vue +208 -0
  182. package/src/components/Toast/toastDSV2.ts +151 -0
  183. package/src/components/UiActionBar/UiActionBar.vue +86 -0
  184. package/src/components/UiActionBar/UiActionBarItem.vue +179 -0
  185. package/src/components/UiActionBar/UiActionBarSeparator.vue +18 -0
  186. package/src/components/UiActionBar/index.ts +4 -0
  187. package/src/components/UiActionBar/types.ts +24 -0
  188. package/src/components/UiAnimatedLogo/UiAnimatedLogo.vue +47 -0
  189. package/src/components/UiAnimatedLogo/animations-links.ts +6 -0
  190. package/src/components/UiAvatar/UiAvatar.vue +186 -0
  191. package/src/components/UiAvatar/index.js +1 -0
  192. package/src/components/UiAvatarList/UiAvatarList.vue +109 -0
  193. package/src/components/UiAvatarList/index.js +1 -0
  194. package/src/components/UiBadge/UiBadge.vue +161 -0
  195. package/src/components/UiBadge/index.ts +2 -0
  196. package/src/components/UiBanner/UiBanner.vue +363 -0
  197. package/src/components/UiBanner/index.ts +2 -0
  198. package/src/components/UiBreadcrumb/UiBreadcrumb.vue +93 -0
  199. package/src/components/UiBreadcrumb/index.ts +2 -0
  200. package/src/components/UiButton/UiButton.vue +319 -0
  201. package/src/components/UiButtonGroup/UiButtonGroup.vue +198 -0
  202. package/src/components/UiButtonGroup/UiButtonGroupItem.vue +123 -0
  203. package/src/components/UiButtonGroup/index.ts +3 -0
  204. package/src/components/UiButtonGroup/types.ts +24 -0
  205. package/src/components/UiCard/UiCard.vue +112 -0
  206. package/src/components/UiCarousel/UiCarousel.vue +215 -0
  207. package/src/components/UiCarousel/index.ts +2 -0
  208. package/src/components/UiColorField/UiColorField.vue +158 -0
  209. package/src/components/UiColorField/index.ts +2 -0
  210. package/src/components/UiColorField/types.ts +30 -0
  211. package/src/components/UiColorPicker/UiColorPicker.vue +487 -0
  212. package/src/components/UiColorPicker/index.ts +2 -0
  213. package/src/components/UiColorPicker/types.ts +103 -0
  214. package/src/components/UiDialog/MarketplaceHeaderExample.vue +217 -0
  215. package/src/components/UiDialog/UiDialog.md +97 -0
  216. package/src/components/UiDialog/UiDialog.vue +16 -0
  217. package/src/components/UiDialog/UiDialogClose.vue +29 -0
  218. package/src/components/UiDialog/UiDialogContent.vue +238 -0
  219. package/src/components/UiDialog/UiDialogFooter.vue +9 -0
  220. package/src/components/UiDialog/UiDialogTrigger.vue +12 -0
  221. package/src/components/UiDialog/index.ts +18 -0
  222. package/src/components/UiDropdown/UiDropdown.vue +48 -0
  223. package/src/components/UiDropdown/UiDropdownContent.vue +72 -0
  224. package/src/components/UiDropdown/UiDropdownItem.vue +75 -0
  225. package/src/components/UiDropdown/UiDropdownSeparator.vue +7 -0
  226. package/src/components/UiDropdown/UiDropdownTrigger.vue +239 -0
  227. package/src/components/UiDropdown/context.ts +9 -0
  228. package/src/components/UiDropdown/index.ts +21 -0
  229. package/src/components/UiEmptyState/UiEmptyState.vue +80 -0
  230. package/src/components/UiFieldWrapper/UiFieldWrapper.vue +79 -0
  231. package/src/components/UiFieldWrapper/index.ts +1 -0
  232. package/src/components/UiForm/UiFormField.types.ts +24 -0
  233. package/src/components/UiForm/UiFormField.vue +66 -0
  234. package/src/components/UiForm/index.ts +3 -0
  235. package/src/components/UiHorizontalSeparator/UiHorizontalSeparator.vue +28 -0
  236. package/src/components/UiInputCheckbox/UiInputCheckbox.vue +477 -0
  237. package/src/components/UiInputCheckbox/index.ts +2 -0
  238. package/src/components/UiInputCheckbox/types.ts +1 -0
  239. package/src/components/UiInputSelect/UiInputSelect.vue +166 -0
  240. package/src/components/UiInputSelect/index.ts +2 -0
  241. package/src/components/UiInputSelect/types.ts +1 -0
  242. package/src/components/UiInputTextarea/UiInputTextarea.vue +219 -0
  243. package/src/components/UiInputTextarea/index.ts +2 -0
  244. package/src/components/UiInputTextarea/types.ts +1 -0
  245. package/src/components/UiLabel/UiLabel.vue +34 -0
  246. package/src/components/UiList/UiList.vue +45 -0
  247. package/src/components/UiListItem/UiListItem.vue +108 -0
  248. package/src/components/UiLoader/UiLoader.vue +45 -0
  249. package/src/components/UiLogo/UiLogo.vue +99 -0
  250. package/src/components/UiLogo/variants/PulseVariant.vue +51 -0
  251. package/src/components/UiLogo/variants/TornadoVariant.vue +147 -0
  252. package/src/components/UiMenu/UiMenu.vue +15 -0
  253. package/src/components/UiMenu/UiMenuContent.vue +25 -0
  254. package/src/components/UiMenu/UiMenuGroup.vue +19 -0
  255. package/src/components/UiMenu/UiMenuItem.vue +18 -0
  256. package/src/components/UiMenu/UiMenuLabel.vue +9 -0
  257. package/src/components/UiMenu/UiMenuSeparator.vue +9 -0
  258. package/src/components/UiMenu/UiMenuSub.vue +15 -0
  259. package/src/components/UiMenu/UiMenuSubContent.vue +23 -0
  260. package/src/components/UiMenu/UiMenuSubTrigger.vue +17 -0
  261. package/src/components/UiMenu/UiMenuTrigger.vue +13 -0
  262. package/src/components/UiMenu/index.ts +10 -0
  263. package/src/components/UiPage/UiPage.vue +201 -0
  264. package/src/components/UiPageHeader/UiPageHeader.vue +128 -0
  265. package/src/components/UiPopover/UiPopover.vue +16 -0
  266. package/src/components/UiPopover/UiPopoverAnchor.vue +12 -0
  267. package/src/components/UiPopover/UiPopoverContent.vue +26 -0
  268. package/src/components/UiPopover/UiPopoverTrigger.vue +19 -0
  269. package/src/components/UiProgress/UiProgress.vue +92 -0
  270. package/src/components/UiProgress/index.ts +2 -0
  271. package/src/components/UiProgress/types.ts +5 -0
  272. package/src/components/UiRoomButton/UiRoomButton.vue +240 -0
  273. package/src/components/UiShell/UiShell.vue +88 -0
  274. package/src/components/UiSideMenu/UiSideMenu.vue +513 -0
  275. package/src/components/UiSideMenu/UiSideMenuBottom.vue +27 -0
  276. package/src/components/UiSideMenu/UiSideMenuItem.vue +102 -0
  277. package/src/components/UiSideMenu/UiSideMenuItemContent.vue +172 -0
  278. package/src/components/UiSideMenu/UiSideMenuTop.vue +29 -0
  279. package/src/components/UiSideMenu/injection.ts +9 -0
  280. package/src/components/UiSideMenu/types.ts +41 -0
  281. package/src/components/UiSideMenu/useLabelHidden.ts +33 -0
  282. package/src/components/UiSideMenu/useSideMenuLayout.ts +12 -0
  283. package/src/components/UiStepper/UiStepper.vue +40 -0
  284. package/src/components/UiStepper/UiStepperDescription.vue +27 -0
  285. package/src/components/UiStepper/UiStepperIndicator.vue +93 -0
  286. package/src/components/UiStepper/UiStepperItem.vue +30 -0
  287. package/src/components/UiStepper/UiStepperSeparator.vue +49 -0
  288. package/src/components/UiStepper/UiStepperTitle.vue +24 -0
  289. package/src/components/UiStepper/index.ts +17 -0
  290. package/src/components/UiTable/UiTable.vue +24 -0
  291. package/src/components/UiTable/UiTableBody.vue +5 -0
  292. package/src/components/UiTable/UiTableCell.vue +26 -0
  293. package/src/components/UiTable/UiTableHeader.vue +17 -0
  294. package/src/components/UiTable/UiTableHeaderCell.vue +19 -0
  295. package/src/components/UiTable/UiTableRow.vue +27 -0
  296. package/src/components/UiTable/index.ts +6 -0
  297. package/src/components/UiTabs/UiTabs.vue +218 -0
  298. package/src/components/UiTabs/index.ts +5 -0
  299. package/src/components/UiTag/UiTag.vue +187 -0
  300. package/src/components/UiTag/index.js +1 -0
  301. package/src/components/UiTextField/UiTextField.vue +370 -0
  302. package/src/components/UiTextField/index.ts +2 -0
  303. package/src/components/UiTextField/types.ts +2 -0
  304. package/src/components/UiTimeline/README.md +169 -0
  305. package/src/components/UiTimeline/UiTimeline.vue +58 -0
  306. package/src/components/UiTimeline/UiTimelineItem.vue +141 -0
  307. package/src/components/UiTimeline/index.ts +2 -0
  308. package/src/components/UiTooltip/UiTooltip.vue +16 -0
  309. package/src/components/UiTooltip/UiTooltipContent.vue +86 -0
  310. package/src/components/UiTooltip/UiTooltipProvider.vue +15 -0
  311. package/src/components/UiTooltip/UiTooltipTrigger.vue +19 -0
  312. package/src/components/UiTooltip/index.js +4 -0
  313. package/src/composables/useButtonStyles.ts +242 -0
  314. package/src/composables/useMobileMenu.ts +57 -0
  315. package/src/composables/useThemeAndModes.ts +225 -0
  316. package/src/constants/index.ts +2 -0
  317. package/src/constants/sizes.ts +2 -0
  318. package/src/constants/themes.ts +34 -0
  319. package/src/css/{body.postcss → body.css} +3 -2
  320. package/src/css/reka-animations.css +209 -0
  321. package/src/css/{transitions.postcss → transitions.css} +12 -5
  322. package/src/global.d.ts +181 -0
  323. package/src/integrations/index.js +1 -0
  324. package/src/layouts/index.js +5 -0
  325. package/src/mixins/DynamicAction.js +5 -3
  326. package/src/primitives.ts +6 -0
  327. package/src/theme.ts +1 -0
  328. package/src/utils/a11y.ts +8 -0
  329. package/src/utils/{breakpoints.js → breakpoints.ts} +1 -0
  330. package/src/utils/clipboard.js +2 -2
  331. package/src/utils/devices.js +0 -3
  332. package/src/utils/index.js +2 -1
  333. package/src/utils/numbers.ts +61 -0
  334. package/src/utils/responsive.types.ts +12 -0
  335. package/src/utils/{slot.js → slot.ts} +18 -1
  336. package/style.js +3 -12
  337. package/theme.d.ts +1 -0
  338. package/.env +0 -1
  339. package/.eslintignore +0 -4
  340. package/.eslintrc.js +0 -47
  341. package/.pkg +0 -11
  342. package/babel.config.js +0 -5
  343. package/build/Dockerfile +0 -31
  344. package/ci/ci.yml +0 -54
  345. package/components-webpack.js +0 -29
  346. package/dist/environment-e70e5768.mjs +0 -1664
  347. package/dist/style.css +0 -1
  348. package/plugins.js +0 -17
  349. package/postcss.config.js +0 -1
  350. package/src/components/BaseAutocomplete/BaseAutocomplete.spec.js +0 -506
  351. package/src/components/BaseAutocomplete/BaseAutocomplete.stories.js +0 -184
  352. package/src/components/BaseAutocomplete/BaseAutocomplete.vue +0 -431
  353. package/src/components/BaseBanner/BaseBanner.spec.js +0 -32
  354. package/src/components/BaseBanner/BaseBanner.stories.js +0 -133
  355. package/src/components/BaseBanner/BaseBanner.vue +0 -229
  356. package/src/components/BaseButton/BaseButton.spec.js +0 -98
  357. package/src/components/BaseButton/BaseButton.stories.js +0 -291
  358. package/src/components/BaseButton/BaseButton.vue +0 -193
  359. package/src/components/BaseButton/__snapshots__/BaseButton.spec.js.snap +0 -37
  360. package/src/components/BaseButton/__snapshots__/BaseButton.spec.js.snap.old +0 -31
  361. package/src/components/BaseCheckbox/BaseCheckbox.stories.js +0 -82
  362. package/src/components/BaseCheckbox/BaseCheckbox.vue +0 -161
  363. package/src/components/BaseDropdownMenu/BaseDropdownMenu.stories.js +0 -84
  364. package/src/components/BaseDropdownMenu/BaseDropdownMenu.vue +0 -251
  365. package/src/components/BaseDropdownMenu/BaseDropdownMenuButton.vue +0 -26
  366. package/src/components/BaseDropdownMenu/BaseDropdownMenuDivider.vue +0 -10
  367. package/src/components/BaseDropdownMenu/BaseDropdownMenuItem.vue +0 -206
  368. package/src/components/BaseDropdownMenu/BaseDropdownMenuSearch.vue +0 -49
  369. package/src/components/BaseDropdownMenu/BaseDropdownMenuTitle.vue +0 -26
  370. package/src/components/BaseModal/BaseModal.stories.js +0 -143
  371. package/src/components/BaseModal/BaseModal.vue +0 -187
  372. package/src/components/BaseModal/BaseModalContent.vue +0 -164
  373. package/src/components/BaseModal/BaseModalContentOld.vue +0 -242
  374. package/src/components/BaseRating/BaseRating.spec.js +0 -46
  375. package/src/components/BaseRating/BaseRating.stories.js +0 -46
  376. package/src/components/BaseRating/BaseRating.vue +0 -119
  377. package/src/components/BaseSelect/BaseSelect.stories.js +0 -177
  378. package/src/components/BaseSelect/BaseSelect.vue +0 -443
  379. package/src/components/BaseSelect/BaseSelectGroup.vue +0 -34
  380. package/src/components/BaseSelect/BaseSelectOption.vue +0 -219
  381. package/src/components/BaseSwitch/BaseSwitch.stories.js +0 -44
  382. package/src/components/BaseSwitch/BaseSwitch.vue +0 -114
  383. package/src/components/BaseTag/BaseTag.stories.js +0 -123
  384. package/src/components/BaseTag/BaseTag.vue +0 -244
  385. package/src/css/button.postcss +0 -354
  386. package/src/css/checkbox-radio.postcss +0 -152
  387. package/src/css/icon.postcss +0 -9
  388. package/src/css/loader.postcss +0 -120
  389. package/src/css/popper.postcss +0 -143
  390. package/src/css/tailwind-utilities.postcss +0 -1
  391. package/src/css/tailwind.postcss +0 -2
  392. package/style-postcss.d.ts +0 -3
  393. package/style-postcss.js +0 -2
  394. package/tailwind.config.base.cjs +0 -88
  395. package/tailwind.config.js +0 -9
  396. package/tsconfig.check.json +0 -13
  397. package/tsconfig.json +0 -66
  398. package/vite.config.js +0 -43
  399. package/vitest.setup.js +0 -26
package/dist/index.mjs CHANGED
@@ -1,168 +1,86 @@
1
- import { i as w } from "./environment-e70e5768.mjs";
2
- import { d as J, c as X, B as $, a as K, b as Z } from "./environment-e70e5768.mjs";
3
- import h from "floating-vue";
4
- import k from "vue-safe-teleport";
5
- import { computed as B, reactive as f } from "vue";
6
- import "mitt";
7
- import "@vueuse/core";
8
- import "i18next";
9
- import "vue-router";
10
- const v = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino/i, S = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i;
11
- function x(e) {
12
- return v.test(e) || S.test(e.slice(0, 4));
13
- }
14
- const y = /(android|bb\d+|meego).+mobile|avantgo|bada\/|blackberry|blazer|compal|elaine|FBAN|FBAV|fennec|hiptop|iemobile|ip(hone|od)|Instagram|iris|kindle|lge |maemo|midp|mmp|mobile.+firefox|netfront|opera m(ob|in)i|palm( os)?|phone|p(ixi|re)\/|plucker|pocket|psp|series(4|6)0|symbian|treo|up\.(browser|link)|vodafone|wap|windows ce|xda|xiino|android|ipad|playbook|silk/i, C = /1207|6310|6590|3gso|4thp|50[1-6]i|770s|802s|a wa|abac|ac(er|oo|s\-)|ai(ko|rn)|al(av|ca|co)|amoi|an(ex|ny|yw)|aptu|ar(ch|go)|as(te|us)|attw|au(di|\-m|r |s )|avan|be(ck|ll|nq)|bi(lb|rd)|bl(ac|az)|br(e|v)w|bumb|bw\-(n|u)|c55\/|capi|ccwa|cdm\-|cell|chtm|cldc|cmd\-|co(mp|nd)|craw|da(it|ll|ng)|dbte|dc\-s|devi|dica|dmob|do(c|p)o|ds(12|\-d)|el(49|ai)|em(l2|ul)|er(ic|k0)|esl8|ez([4-7]0|os|wa|ze)|fetc|fly(\-|_)|g1 u|g560|gene|gf\-5|g\-mo|go(\.w|od)|gr(ad|un)|haie|hcit|hd\-(m|p|t)|hei\-|hi(pt|ta)|hp( i|ip)|hs\-c|ht(c(\-| |_|a|g|p|s|t)|tp)|hu(aw|tc)|i\-(20|go|ma)|i230|iac( |\-|\/)|ibro|idea|ig01|ikom|im1k|inno|ipaq|iris|ja(t|v)a|jbro|jemu|jigs|kddi|keji|kgt( |\/)|klon|kpt |kwc\-|kyo(c|k)|le(no|xi)|lg( g|\/(k|l|u)|50|54|\-[a-w])|libw|lynx|m1\-w|m3ga|m50\/|ma(te|ui|xo)|mc(01|21|ca)|m\-cr|me(rc|ri)|mi(o8|oa|ts)|mmef|mo(01|02|bi|de|do|t(\-| |o|v)|zz)|mt(50|p1|v )|mwbp|mywa|n10[0-2]|n20[2-3]|n30(0|2)|n50(0|2|5)|n7(0(0|1)|10)|ne((c|m)\-|on|tf|wf|wg|wt)|nok(6|i)|nzph|o2im|op(ti|wv)|oran|owg1|p800|pan(a|d|t)|pdxg|pg(13|\-([1-8]|c))|phil|pire|pl(ay|uc)|pn\-2|po(ck|rt|se)|prox|psio|pt\-g|qa\-a|qc(07|12|21|32|60|\-[2-7]|i\-)|qtek|r380|r600|raks|rim9|ro(ve|zo)|s55\/|sa(ge|ma|mm|ms|ny|va)|sc(01|h\-|oo|p\-)|sdk\/|se(c(\-|0|1)|47|mc|nd|ri)|sgh\-|shar|sie(\-|m)|sk\-0|sl(45|id)|sm(al|ar|b3|it|t5)|so(ft|ny)|sp(01|h\-|v\-|v )|sy(01|mb)|t2(18|50)|t6(00|10|18)|ta(gt|lk)|tcl\-|tdg\-|tel(i|m)|tim\-|t\-mo|to(pl|sh)|ts(70|m\-|m3|m5)|tx\-9|up(\.b|g1|si)|utst|v400|v750|veri|vi(rg|te)|vk(40|5[0-3]|\-v)|vm40|voda|vulc|vx(52|53|60|61|70|80|81|83|85|98)|w3c(\-| )|webc|whit|wi(g |nc|nw)|wmlb|wonu|x700|yas\-|your|zeto|zte\-/i, A = /Googlebot\/|Googlebot-Mobile|Googlebot-Image|Googlebot-News|Googlebot-Video|AdsBot-Google([^-]|$)|AdsBot-Google-Mobile|Feedfetcher-Google|Mediapartners-Google|Mediapartners \(Googlebot\)|APIs-Google|bingbot|Slurp|[wW]get|LinkedInBot|Python-urllib|python-requests|aiohttp|httpx|libwww-perl|httpunit|nutch|Go-http-client|phpcrawl|msnbot|jyxobot|FAST-WebCrawler|FAST Enterprise Crawler|BIGLOTRON|Teoma|convera|seekbot|Gigabot|Gigablast|exabot|ia_archiver|GingerCrawler|webmon |HTTrack|grub.org|UsineNouvelleCrawler|antibot|netresearchserver|speedy|fluffy|findlink|msrbot|panscient|yacybot|AISearchBot|ips-agent|tagoobot|MJ12bot|woriobot|yanga|buzzbot|mlbot|YandexBot|YandexImages|YandexAccessibilityBot|YandexMobileBot|YandexMetrika|YandexTurbo|YandexImageResizer|YandexVideo|YandexAdNet|YandexBlogs|YandexCalendar|YandexDirect|YandexFavicons|YaDirectFetcher|YandexForDomain|YandexMarket|YandexMedia|YandexMobileScreenShotBot|YandexNews|YandexOntoDB|YandexPagechecker|YandexPartner|YandexRCA|YandexSearchShop|YandexSitelinks|YandexSpravBot|YandexTracker|YandexVertis|YandexVerticals|YandexWebmaster|YandexScreenshotBot|purebot|Linguee Bot|CyberPatrol|voilabot|Baiduspider|citeseerxbot|spbot|twengabot|postrank|TurnitinBot|scribdbot|page2rss|sitebot|linkdex|Adidxbot|ezooms|dotbot|Mail.RU_Bot|discobot|heritrix|findthatfile|europarchive.org|NerdByNature.Bot|sistrix crawler|Ahrefs(Bot|SiteAudit)|fuelbot|CrunchBot|IndeedBot|mappydata|woobot|ZoominfoBot|PrivacyAwareBot|Multiviewbot|SWIMGBot|Grobbot|eright|Apercite|semanticbot|Aboundex|domaincrawler|wbsearchbot|summify|CCBot|edisterbot|seznambot|ec2linkfinder|gslfbot|aiHitBot|intelium_bot|facebookexternalhit|Yeti|RetrevoPageAnalyzer|lb-spider|Sogou|lssbot|careerbot|wotbox|wocbot|ichiro|DuckDuckBot|lssrocketcrawler|drupact|webcompanycrawler|acoonbot|openindexspider|gnam gnam spider|web-archive-net.com.bot|backlinkcrawler|coccoc|integromedb|content crawler spider|toplistbot|it2media-domain-crawler|ip-web-crawler.com|siteexplorer.info|elisabot|proximic|changedetection|arabot|WeSEE:Search|niki-bot|CrystalSemanticsBot|rogerbot|360Spider|psbot|InterfaxScanBot|CC Metadata Scaper|g00g1e.net|GrapeshotCrawler|urlappendbot|brainobot|fr-crawler|binlar|SimpleCrawler|Twitterbot|cXensebot|smtbot|bnf.fr_bot|A6-Indexer|ADmantX|Facebot|OrangeBot\/|memorybot|AdvBot|MegaIndex|SemanticScholarBot|ltx71|nerdybot|xovibot|BUbiNG|Qwantify|archive.org_bot|Applebot|TweetmemeBot|crawler4j|findxbot|S[eE][mM]rushBot|yoozBot|lipperhey|Y!J|Domain Re-Animator Bot|AddThis|Screaming Frog SEO Spider|MetaURI|Scrapy|Livelap[bB]ot|OpenHoseBot|CapsuleChecker|collection@infegy.com|IstellaBot|DeuSu\/|betaBot|Cliqzbot\/|MojeekBot\/|netEstate NE Crawler|SafeSearch microdata crawler|Gluten Free Crawler\/|Sonic|Sysomos|Trove|deadlinkchecker|Slack-ImgProxy|Embedly|RankActiveLinkBot|iskanie|SafeDNSBot|SkypeUriPreview|Veoozbot|Slackbot|redditbot|datagnionbot|Google-Adwords-Instant|adbeat_bot|WhatsApp|contxbot|pinterest.com.bot|electricmonk|GarlikCrawler|BingPreview\/|vebidoobot|FemtosearchBot|Yahoo Link Preview|MetaJobBot|DomainStatsBot|mindUpBot|Daum\/|Jugendschutzprogramm-Crawler|Xenu Link Sleuth|Pcore-HTTP|moatbot|KosmioBot|pingdom|AppInsights|PhantomJS|Gowikibot|PiplBot|Discordbot|TelegramBot|Jetslide|newsharecounts|James BOT|Bark[rR]owler|TinEye|SocialRankIOBot|trendictionbot|Ocarinabot|epicbot|Primalbot|DuckDuckGo-Favicons-Bot|GnowitNewsbot|Leikibot|LinkArchiver|YaK\/|PaperLiBot|Digg Deeper|dcrawl|Snacktory|AndersPinkBot|Fyrebot|EveryoneSocialBot|Mediatoolkitbot|Luminator-robots|ExtLinksBot|SurveyBot|NING\/|okhttp|Nuzzel|omgili|PocketParser|YisouSpider|um-LN|ToutiaoSpider|MuckRack|Jamie's Spider|AHC\/|NetcraftSurveyAgent|Laserlikebot|^Apache-HttpClient|AppEngine-Google|Jetty|Upflow|Thinklab|Traackr.com|Twurly|Mastodon|http_get|DnyzBot|botify|007ac9 Crawler|BehloolBot|BrandVerity|check_http|BDCbot|ZumBot|EZID|ICC-Crawler|ArchiveBot|^LCC |filterdb.iss.net\/crawler|BLP_bbot|BomboraBot|Buck\/|Companybook-Crawler|Genieo|magpie-crawler|MeltwaterNews|Moreover|newspaper\/|ScoutJet|(^| )sentry\/|StorygizeBot|UptimeRobot|OutclicksBot|seoscanners|Hatena|Google Web Preview|MauiBot|AlphaBot|SBL-BOT|IAS crawler|adscanner|Netvibes|acapbot|Baidu-YunGuanCe|bitlybot|blogmuraBot|Bot.AraTurka.com|bot-pge.chlooe.com|BoxcarBot|BTWebClient|ContextAd Bot|Digincore bot|Disqus|Feedly|Fetch\/|Fever|Flamingo_SearchEngine|FlipboardProxy|g2reader-bot|G2 Web Services|imrbot|K7MLWCBot|Kemvibot|Landau-Media-Spider|linkapediabot|vkShare|Siteimprove.com|BLEXBot\/|DareBoost|ZuperlistBot\/|Miniflux\/|Feedspot|Diffbot\/|SEOkicks|tracemyfile|Nimbostratus-Bot|zgrab|PR-CY.RU|AdsTxtCrawler|Datafeedwatch|Zabbix|TangibleeBot|google-xrawler|axios|Amazon CloudFront|Pulsepoint|CloudFlare-AlwaysOnline|Google-Structured-Data-Testing-Tool|WordupInfoSearch|WebDataStats|HttpUrlConnection|Seekport Crawler|ZoomBot|VelenPublicWebCrawler|MoodleBot|jpg-newsbot|outbrain|W3C_Validator|Validator\.nu|W3C-checklink|W3C-mobileOK|W3C_I18n-Checker|FeedValidator|W3C_CSS_Validator|W3C_Unicorn|Google-PhysicalWeb|Blackboard|ICBot\/|BazQux|Twingly|Rivva|Experibot|awesomecrawler|Dataprovider.com|GroupHigh\/|theoldreader.com|AnyEvent|Uptimebot\.org|Nmap Scripting Engine|2ip.ru|Clickagy|Caliperbot|MBCrawler|online-webceo-bot|B2B Bot|AddSearchBot|Google Favicon|HubSpot|Chrome-Lighthouse|HeadlessChrome|CheckMarkNetwork\/|www\.uptime\.com|Streamline3Bot\/|serpstatbot\/|MixnodeCache\/|^curl|SimpleScraper|RSSingBot|Jooblebot|fedoraplanet|Friendica|NextCloud|Tiny Tiny RSS|RegionStuttgartBot|Bytespider|Datanyze|Google-Site-Verification|TrendsmapResolver|tweetedtimes|NTENTbot|Gwene|SimplePie|SearchAtlas|Superfeedr|feedbot|UT-Dorkbot|Amazonbot|SerendeputyBot|Eyeotabot|officestorebot|Neticle Crawler|SurdotlyBot|LinkisBot|AwarioSmartBot|AwarioRssBot|RyteBot|FreeWebMonitoring SiteChecker|AspiegelBot|NAVER Blog Rssbot|zenback bot|SentiBot|Domains Project\/|Pandalytics|VKRobot|bidswitchbot|tigerbot|NIXStatsbot|Atom Feed Robot|Curebot|PagePeeker\/|Vigil\/|rssbot\/|startmebot\/|JobboerseBot|seewithkids|NINJA bot|Cutbot|BublupBot|BrandONbot|RidderBot|Taboolabot|Dubbotbot|FindITAnswersbot|infoobot|Refindbot|BlogTraffic\/\d\.\d+ Feed-Fetcher|SeobilityBot|Cincraw|Dragonbot|VoluumDSP-content-bot|FreshRSS|BitBot|^PHP-Curl-Class|Google-Certificates-Bridge/;
15
- function M(e) {
16
- return y.test(e) || C.test(e.slice(0, 4));
17
- }
18
- function T(e) {
19
- return /iPad|iPhone|iPod/.test(e);
20
- }
21
- function z(e) {
22
- return /android/i.test(e);
23
- }
24
- function E(e) {
25
- return /Windows/.test(e);
26
- }
27
- function G(e) {
28
- return /Mac OS X/.test(e);
29
- }
30
- const P = [
31
- { name: "Samsung", test: /SamsungBrowser/i },
32
- { name: "Edge", test: /edg([ea]|ios|)\//i },
33
- { name: "Firefox", test: /firefox|iceweasel|fxios/i },
34
- { name: "Chrome", test: /chrome|crios|crmo/i },
35
- { name: "Safari", test: /safari|applewebkit/i }
36
- ];
37
- function R(e) {
38
- for (const o of P)
39
- if (o.test.test(e))
40
- return o.name;
41
- return "";
42
- }
43
- function D(e, o) {
44
- let t = !1, i = !1, a = !1, r = !1;
45
- if (o === "Amazon CloudFront")
46
- e["cloudfront-is-mobile-viewer"] === "true" && (t = !0, i = !0), e["cloudfront-is-tablet-viewer"] === "true" && (t = !1, i = !0), e["cloudfront-is-desktop-viewer"] === "true" && (t = !1, i = !1), e["cloudfront-is-ios-viewer"] === "true" && (a = !0), e["cloudfront-is-android-viewer"] === "true" && (r = !0);
47
- else if (e && e["cf-device-type"])
48
- switch (e["cf-device-type"]) {
49
- case "mobile":
50
- t = !0, i = !0;
51
- break;
52
- case "tablet":
53
- t = !1, i = !0;
54
- break;
55
- case "desktop":
56
- t = !1, i = !1;
57
- break;
58
- }
59
- else
60
- t = x(o), i = M(o), a = T(o), r = z(o);
61
- const l = E(o), c = G(o), n = R(o), d = n === "Safari", b = n === "Firefox", m = n === "Edge", p = n === "Chrome", u = n === "Samsung", g = A.test(o);
62
- return {
63
- userAgent: o,
64
- isMobile: t,
65
- isMobileOrTablet: i,
66
- isTablet: !t && i,
67
- isDesktop: !i,
68
- isIos: a,
69
- isAndroid: r,
70
- isWindows: l,
71
- isMacOS: c,
72
- isApple: c || a,
73
- isDesktopOrTablet: !t,
74
- isSafari: d,
75
- isFirefox: b,
76
- isEdge: m,
77
- isChrome: p,
78
- isSamsung: u,
79
- isCrawler: g
80
- };
81
- }
82
- let s;
83
- const F = {
84
- install(e, o) {
85
- const t = Object.assign({}, {
86
- computed: {}
87
- }, o), i = {};
88
- for (const a in t.computed)
89
- i[a] = B(() => t.computed[a](s));
90
- if ({}.RESPONSIVE_V2) {
91
- let a;
92
- const r = "Mozilla/5.0 (Macintosh; Intel Mac OS X 10_13_2) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/64.0.3282.39 Safari/537.36";
93
- a = D({}, navigator.userAgent ?? r), e.config.globalProperties.$device = a;
94
- const l = {
95
- get mobile() {
96
- return a.isMobile;
97
- },
98
- get tablet() {
99
- return a.isTablet;
100
- },
101
- get width() {
102
- throw new Error("Don't do this please");
103
- },
104
- get height() {
105
- throw new Error("Don't do this please");
106
- }
107
- };
108
- e.config.globalProperties.$responsive = l;
109
- } else
110
- s = f({
111
- width: window.innerWidth,
112
- height: window.innerHeight,
113
- ...i
114
- }), e.config.globalProperties.$responsive = s, window.addEventListener("resize", () => {
115
- s.width = window.innerWidth, s.height = window.innerHeight;
116
- });
117
- }
118
- };
119
- function I(e) {
120
- return {
121
- boundary: document.body,
122
- distance: 4,
123
- themes: {
124
- tooltip: {
125
- delay: { show: 400, hide: 0 }
126
- },
127
- "small-tooltip": {
128
- $extend: "tooltip"
129
- },
130
- dropdown: {
131
- computeTransformOrigin: !0,
132
- positioningDisabled: e
133
- },
134
- select: {
135
- $extend: "dropdown",
136
- placement: "bottom-start",
137
- distance: 6,
138
- autoSize: "min",
139
- autoBoundaryMaxSize: !0,
140
- handleResize: !0,
141
- eagerMount: !0
142
- },
143
- "help-module": {
144
- $extend: "dropdown",
145
- placement: "top-end",
146
- distance: 16,
147
- strategy: "fixed",
148
- overflowPadding: 32,
149
- flip: !1,
150
- autoBoundaryMaxSize: !0
151
- },
152
- "stage-dropdown": {
153
- $extend: "dropdown"
154
- }
155
- }
156
- };
157
- }
158
- function H(e) {
159
- e.use(h, I(w())), e.use(F), e.use(k);
160
- }
1
+ import { _ as e, a as s, b as o, c as U, d as r, e as t, f as n, g as p, h as l, U as u, i as d, j as g, k as T, l as S, m, n as b, o as C, p as M, q as I, r as B, s as c, t as D, u as P, v as L, w as v, x as A, y as w, z as F, A as h, B as x, C as H, D as k, E as G, F as f, G as y, H as R, I as j, J as q, K as z, L as E, M as W, N as J, O as K, P as N, Q as O, R as Q, S as V, T as X, V as Y, W as Z, X as _, Y as $, Z as aa, $ as ia, a0 as ea, a1 as sa, a2 as oa, a3 as Ua, a4 as ra, a5 as ta, a6 as na, a7 as pa, a8 as la, a9 as ua, aa as da, ab as ga, ac as Ta, ad as Sa, ae as ma, af as ba, ag as Ca, ah as Ma, ai as Ia, aj as Ba, ak as ca, al as Da, am as Pa, an as La, ao as va, ap as Aa, aq as wa, ar as Fa, as as ha } from "./UiTimelineItem.vue_vue_type_style_index_0_lang-DOLFRKcb.mjs";
161
2
  export {
162
- J as LsAutocomplete,
163
- X as LsBanner,
164
- $ as LsButton,
165
- K as LsCheckbox,
166
- Z as LsModal,
167
- H as install
3
+ e as UiActionBar,
4
+ s as UiActionBarItem,
5
+ o as UiActionBarSeparator,
6
+ U as UiAnimatedLogo,
7
+ r as UiAvatar,
8
+ t as UiAvatarList,
9
+ n as UiBadge,
10
+ p as UiBanner,
11
+ l as UiBreadcrumb,
12
+ u as UiButton,
13
+ d as UiButtonGroup,
14
+ g as UiButtonGroupItem,
15
+ T as UiCard,
16
+ S as UiCarousel,
17
+ m as UiColorField,
18
+ b as UiColorPicker,
19
+ C as UiDialog,
20
+ M as UiDialogClose,
21
+ I as UiDialogContent,
22
+ B as UiDialogFooter,
23
+ c as UiDialogTrigger,
24
+ D as UiDropdown,
25
+ P as UiDropdownContent,
26
+ L as UiDropdownItem,
27
+ v as UiDropdownSeparator,
28
+ A as UiDropdownTrigger,
29
+ w as UiEmptyState,
30
+ F as UiFieldWrapper,
31
+ h as UiFormField,
32
+ x as UiHorizontalSeparator,
33
+ H as UiInputCheckbox,
34
+ k as UiInputSelect,
35
+ G as UiInputTextarea,
36
+ f as UiLabel,
37
+ y as UiList,
38
+ R as UiListItem,
39
+ j as UiLoader,
40
+ q as UiLogo,
41
+ z as UiMenu,
42
+ E as UiMenuContent,
43
+ W as UiMenuGroup,
44
+ J as UiMenuItem,
45
+ K as UiMenuLabel,
46
+ N as UiMenuSeparator,
47
+ O as UiMenuSub,
48
+ Q as UiMenuSubContent,
49
+ V as UiMenuSubTrigger,
50
+ X as UiMenuTrigger,
51
+ Y as UiPage,
52
+ Z as UiPageHeader,
53
+ _ as UiPopover,
54
+ $ as UiPopoverAnchor,
55
+ aa as UiPopoverContent,
56
+ ia as UiPopoverTrigger,
57
+ ea as UiProgress,
58
+ sa as UiRoomButton,
59
+ oa as UiShell,
60
+ Ua as UiSideMenu,
61
+ ra as UiSideMenuBottom,
62
+ ta as UiSideMenuItem,
63
+ na as UiSideMenuItemContent,
64
+ pa as UiSideMenuTop,
65
+ la as UiStepper,
66
+ ua as UiStepperDescription,
67
+ da as UiStepperIndicator,
68
+ ga as UiStepperItem,
69
+ Ta as UiStepperSeparator,
70
+ Sa as UiStepperTitle,
71
+ ma as UiTable,
72
+ ba as UiTableBody,
73
+ Ca as UiTableCell,
74
+ Ma as UiTableHeader,
75
+ Ia as UiTableHeaderCell,
76
+ Ba as UiTableRow,
77
+ ca as UiTabs,
78
+ Da as UiTag,
79
+ Pa as UiTextField,
80
+ La as UiTimeline,
81
+ va as UiTimelineItem,
82
+ Aa as UiTooltip,
83
+ wa as UiTooltipContent,
84
+ Fa as UiTooltipProvider,
85
+ ha as UiTooltipTrigger
168
86
  };
@@ -0,0 +1,8 @@
1
+ import { a as o, c as e, o as t, r, u as T } from "./toastDSV2-wMh-UMzW.mjs";
2
+ export {
3
+ o as cancelCloseTimer,
4
+ e as closeToast,
5
+ t as openToast,
6
+ r as resetToasts,
7
+ T as useToasts
8
+ };
@@ -0,0 +1,236 @@
1
+ import { defineComponent as I, computed as w, ref as C, onMounted as M, resolveComponent as E, createElementBlock as n, openBlock as t, createElementVNode as v, createCommentVNode as a, createBlock as y, resolveDynamicComponent as P, normalizeProps as z, guardReactiveProps as H, Fragment as k, normalizeClass as b, normalizeStyle as N, toDisplayString as f, withKeys as S, withCtx as h, createTextVNode as B, getCurrentInstance as D, createVNode as L, Transition as V, TransitionGroup as A, renderList as j, unref as x, mergeProps as K } from "vue";
2
+ import { u as R } from "./toastDSV2-wMh-UMzW.mjs";
3
+ import { u as U } from "./useThemeAndModes-DY5SDC0a.mjs";
4
+ const F = ["data-testid"], G = {
5
+ key: 1,
6
+ class: "absolute h-1 bg-grey-100 top-0 left-0 w-full"
7
+ }, O = { class: "shrink-0" }, W = { class: "flex flex-col flex-1 sm:row-start-1 min-w-0 wrap-break-word" }, X = {
8
+ key: 0,
9
+ class: "text-content-text-md-bold text-text-neutral-base"
10
+ }, Y = {
11
+ key: 1,
12
+ class: "text-content-text-md-regular"
13
+ }, q = {
14
+ key: 2,
15
+ class: "text-content-text-md-regular text-text-neutral-subtle mt-1"
16
+ }, J = { class: "row-start-1 h-4 w-8 justify-self-end" }, Q = {
17
+ key: 2,
18
+ class: "row-start-3 col-start-1 col-end-3 w-full grid sm:flex sm:col-start-2 mt-3 gap-2 justify-self-end"
19
+ }, Z = /* @__PURE__ */ I({
20
+ __name: "ToastMessage",
21
+ props: {
22
+ message: {},
23
+ id: {},
24
+ title: {},
25
+ info: {},
26
+ type: { default: "info" },
27
+ time: { type: [Number, Boolean] },
28
+ progessIndeterminate: { type: Boolean },
29
+ customIcon: {},
30
+ confirmLabel: {},
31
+ confirmHref: {},
32
+ confirmHrefTarget: { default: "_blank" },
33
+ confirmTo: {},
34
+ confirmIcon: {},
35
+ confirmColor: {},
36
+ cancelLabel: {},
37
+ locked: { type: Boolean, default: !1 },
38
+ closable: { type: Boolean, default: !0 },
39
+ component: {},
40
+ componentProps: {}
41
+ },
42
+ emits: [
43
+ "close",
44
+ "confirm",
45
+ "cancel",
46
+ "mouseenter",
47
+ "mouseleave"
48
+ ],
49
+ setup(u, { emit: p }) {
50
+ const e = u, l = p, g = w(() => {
51
+ if (e.customIcon) return e.customIcon;
52
+ switch (e.type) {
53
+ case "alert":
54
+ return "i-ls-x-circle !text-text-danger-base";
55
+ case "warning":
56
+ return "i-ls-alert-triangle !text-text-warning-base";
57
+ case "info":
58
+ return "i-ls-info text-text-primary-base";
59
+ case "success":
60
+ return "i-ls-check-circle text-text-success-base";
61
+ default:
62
+ return;
63
+ }
64
+ }), c = C(!1), m = C(!1), _ = w(() => e.progessIndeterminate || e.time && ["success", "info"].includes(e.type));
65
+ function T() {
66
+ m.value = !1, l("mouseleave"), e.time && (c.value = !1, setTimeout(() => {
67
+ c.value = !0;
68
+ }, 100));
69
+ }
70
+ e.time && setTimeout(() => {
71
+ c.value = !0;
72
+ }, 100);
73
+ const r = C(), { addElementToWatch: i } = U();
74
+ return M(() => {
75
+ r.value && i(
76
+ "content",
77
+ {
78
+ selector: '[data-name="ui-toast-message"]',
79
+ element: r.value,
80
+ modeOverride: "light"
81
+ }
82
+ );
83
+ }), (s, o) => {
84
+ const $ = E("UiButton");
85
+ return t(), n("div", {
86
+ class: "relative grid grid-flow-col grid-rows-[auto_auto_auto] sm:grid-rows-1 sm:grid-cols-[auto_1fr_auto] items-start p-4 bg-surface-neutral-bg-main shadow-shadows-drop-shadow-lg rounded-xl gap-x-0 overflow-hidden",
87
+ "data-testid": `toast-message-${String(u.id)}`,
88
+ "data-colors-semantic": "light",
89
+ "data-name": "ui-toast-message",
90
+ onMouseenter: o[4] || (o[4] = (d) => (m.value = !0, l("mouseenter"))),
91
+ onMouseleave: T
92
+ }, [
93
+ e.component ? (t(), n("div", {
94
+ key: 0,
95
+ ref_key: "Toast",
96
+ ref: r,
97
+ class: "flex-1 min-w-0"
98
+ }, [
99
+ (t(), y(P({ ...e.component }), z(H(e.componentProps)), null, 16))
100
+ ], 512)) : (t(), n(k, { key: 1 }, [
101
+ _.value ? (t(), n(k, { key: 0 }, [
102
+ u.time ? (t(), n("div", {
103
+ key: 0,
104
+ ref_key: "Toast",
105
+ ref: r,
106
+ class: b(["absolute opacity-100 transition-opacity duration-300 h-1 bg-grey-100 top-0 left-0 w-full", {
107
+ "opacity-0!": m.value
108
+ }])
109
+ }, [
110
+ u.time ? (t(), n("div", {
111
+ key: 0,
112
+ class: b(["h-full w-0 ease-linear duration-1000", [c.value ? "w-full transition-all" : "transition-none", {
113
+ "bg-green-600": e.type === "success",
114
+ "bg-livestorm-600": e.type === "info"
115
+ }]]),
116
+ style: N({
117
+ transitionDuration: `${e.time / 1e3}s`
118
+ })
119
+ }, null, 6)) : a("", !0)
120
+ ], 2)) : e.progessIndeterminate ? (t(), n("div", G, [...o[5] || (o[5] = [
121
+ v("div", { class: "animate-progress-indeterminate w-full h-full bg-red-600 origin-left-right" }, null, -1)
122
+ ])])) : a("", !0)
123
+ ], 64)) : a("", !0),
124
+ v("div", O, [
125
+ g.value ? (t(), n("div", {
126
+ key: 0,
127
+ class: b(["w-4 h-4 mt-0.5 mr-3 shrink-0 mb-2 sm:mb-0", g.value])
128
+ }, null, 2)) : a("", !0)
129
+ ]),
130
+ v("div", W, [
131
+ e.title || e.message ? (t(), n("span", X, f(e.title || e.message), 1)) : a("", !0),
132
+ e.title && e.message ? (t(), n("p", Y, f(e.message), 1)) : a("", !0),
133
+ e.info ? (t(), n("p", q, f(e.info), 1)) : a("", !0)
134
+ ])
135
+ ], 64)),
136
+ v("div", J, [
137
+ !e.locked && e.closable ? (t(), y($, {
138
+ key: 0,
139
+ "data-testid": `toast-close-${String(e.id)}`,
140
+ color: "neutral",
141
+ variant: "tertiary",
142
+ icon: "i-ls-x",
143
+ size: "md",
144
+ "aria-label": "close",
145
+ class: "-top-[10px] -right-[2px] sm:row-start-1",
146
+ onClick: o[0] || (o[0] = (d) => l("close")),
147
+ onKeydown: o[1] || (o[1] = S((d) => l("close"), ["enter"]))
148
+ }, null, 8, ["data-testid"])) : a("", !0)
149
+ ]),
150
+ e.confirmLabel || e.cancelLabel ? (t(), n("div", Q, [
151
+ e.confirmLabel ? (t(), y($, {
152
+ key: 0,
153
+ href: e.confirmHref,
154
+ to: e.confirmTo,
155
+ target: e.confirmHrefTarget,
156
+ icon: e.confirmIcon,
157
+ color: "primary",
158
+ variant: "cta",
159
+ class: "w-full sm:w-auto",
160
+ onClick: o[2] || (o[2] = (d) => s.$emit("confirm", d))
161
+ }, {
162
+ default: h(() => [
163
+ B(f(e.confirmLabel), 1)
164
+ ]),
165
+ _: 1
166
+ }, 8, ["href", "to", "target", "icon"])) : a("", !0),
167
+ e.cancelLabel ? (t(), y($, {
168
+ key: 1,
169
+ color: "neutral-invert",
170
+ variant: "cta",
171
+ class: "w-full sm:w-auto",
172
+ onClick: o[3] || (o[3] = (d) => s.$emit("cancel"))
173
+ }, {
174
+ default: h(() => [
175
+ B(f(e.cancelLabel), 1)
176
+ ]),
177
+ _: 1
178
+ })) : a("", !0)
179
+ ])) : a("", !0)
180
+ ], 40, F);
181
+ };
182
+ }
183
+ }), ee = {
184
+ key: 0,
185
+ "data-testid": "layout-toasts-locked",
186
+ class: "bg-alpha-black-300 fixed inset-0 z-[8000]"
187
+ }, te = 3, ae = /* @__PURE__ */ I({
188
+ __name: "LayoutToasts",
189
+ setup(u) {
190
+ const p = D();
191
+ if (!p)
192
+ throw new Error("No current instance found");
193
+ const e = w(() => p.appContext.config.globalProperties.$responsive), { toasts: l, closeToast: g, cancelCloseTimer: c, openToast: m } = R(), _ = w(() => l.value.some((r) => r.locked));
194
+ function T(r) {
195
+ const i = r.getBoundingClientRect(), { style: s } = r;
196
+ s.top = `${i.top}px`, s.left = `${i.left}px`, s.width = `${i.width}px`, s.height = `${i.height}px`;
197
+ }
198
+ return (r, i) => (t(), n(k, null, [
199
+ L(V, {
200
+ duration: 200,
201
+ appear: ""
202
+ }, {
203
+ default: h(() => [
204
+ _.value ? (t(), n("div", ee)) : a("", !0)
205
+ ]),
206
+ _: 1
207
+ }),
208
+ L(A, {
209
+ name: "list",
210
+ tag: "div",
211
+ class: b([e.value?.mobile ? "m-4 right-0" : "m-8 max-w-md w-full", "fixed left-0 bottom-0 flex flex-col gap-2 z-max"]),
212
+ onBeforeLeave: T
213
+ }, {
214
+ default: h(() => [
215
+ (t(!0), n(k, null, j(x(l).slice(0, te), (s) => (t(), n("div", {
216
+ key: s.id,
217
+ class: "w-full sm:max-w-[400px]"
218
+ }, [
219
+ L(Z, K({ ref_for: !0 }, s, {
220
+ class: "bg-surface-neutral-bg-main p-3 rounded-2xl",
221
+ onClose: (o) => x(g)(s.id),
222
+ onMouseenter: (o) => x(c)(s.id),
223
+ onMouseleave: (o) => s.time ? x(m)({ id: s.id }) : null,
224
+ onConfirm: (o) => s.confirmEventHook.trigger(void 0),
225
+ onCancel: (o) => s.cancelEventHook.trigger(void 0)
226
+ }), null, 16, ["onClose", "onMouseenter", "onMouseleave", "onConfirm", "onCancel"])
227
+ ]))), 128))
228
+ ]),
229
+ _: 1
230
+ }, 8, ["class"])
231
+ ], 64));
232
+ }
233
+ });
234
+ export {
235
+ ae as LayoutToasts
236
+ };
@@ -0,0 +1,25 @@
1
+ import { computed as r, reactive as d } from "vue";
2
+ let e;
3
+ function c() {
4
+ return e;
5
+ }
6
+ const w = {
7
+ install(o, s) {
8
+ const i = Object.assign({}, {
9
+ computed: {}
10
+ }, s), n = {};
11
+ for (const t in i.computed)
12
+ n[t] = r(() => i.computed[t](e));
13
+ e = d({
14
+ width: window.innerWidth,
15
+ height: window.innerHeight,
16
+ ...n
17
+ }), o.config.globalProperties.$responsive = e, window.addEventListener("resize", () => {
18
+ e.width = window.innerWidth, e.height = window.innerHeight;
19
+ });
20
+ }
21
+ };
22
+ export {
23
+ w as default,
24
+ c as useResponsive
25
+ };
package/dist/slot.mjs ADDED
@@ -0,0 +1,21 @@
1
+ import { useSlots as m, isVNode as n, Comment as a, Fragment as o } from "vue";
2
+ function i() {
3
+ const t = m();
4
+ return new Proxy(t, {
5
+ // @ts-expect-error
6
+ get: (s, f) => (...p) => u(s[f]?.(...p))
7
+ });
8
+ }
9
+ function u(t) {
10
+ return t && t.some((r) => n(r) ? !(r.type === a || r.type === o && !u(r.children)) : !0) ? t : null;
11
+ }
12
+ const y = ({ vnodes: t }) => t;
13
+ function e(t) {
14
+ return t ? t.map((r) => n(r) ? r.props?.vnodes ? e(r.props.vnodes) : r.type === o ? e(r.children) : r : r).flat(10) : null;
15
+ }
16
+ export {
17
+ y as RenderSlot,
18
+ u as getSlotAsComponent,
19
+ e as unwrapFragments,
20
+ i as useSlotsAsComponents
21
+ };
@@ -0,0 +1,74 @@
1
+ import { ref as m } from "vue";
2
+ import { createEventHook as a } from "@vueuse/core";
3
+ let T = 1;
4
+ const d = {
5
+ success: 3 * 1e3,
6
+ info: 7 * 1e3
7
+ }, n = m([]);
8
+ function b() {
9
+ return {
10
+ toasts: n,
11
+ closeToast: c,
12
+ openToast: v,
13
+ cancelCloseTimer: E
14
+ };
15
+ }
16
+ function v(e) {
17
+ let t, i = n.value.find((o) => o.id === e.id);
18
+ const s = a(), r = a();
19
+ if (i)
20
+ t = i.id, Object.assign(i, {
21
+ ...e
22
+ }), e.id && Object.keys(e).length === 1 && u(i);
23
+ else {
24
+ t = e.id ?? T++;
25
+ const o = e.type || "info", l = o === "success" || o === "info", f = e.time === !0 ? l ? d[o] : void 0 : typeof e.time == "number" ? e.time : void 0;
26
+ i = {
27
+ ...e,
28
+ id: t,
29
+ closeTimer: null,
30
+ confirmEventHook: s,
31
+ cancelEventHook: r,
32
+ time: f,
33
+ type: o
34
+ }, n.value.push(i), u(i);
35
+ }
36
+ return {
37
+ id: t,
38
+ close: () => {
39
+ c(t);
40
+ },
41
+ onConfirm: s.on,
42
+ onCancel: r.on
43
+ };
44
+ }
45
+ function c(e) {
46
+ const t = n.value.find((i) => i.id === e);
47
+ t && (clearTimeout(t.closeTimer), y(e));
48
+ }
49
+ function E(e) {
50
+ const t = n.value.find((i) => i.id === e);
51
+ t && clearTimeout(t.closeTimer);
52
+ }
53
+ function h() {
54
+ n.value = [];
55
+ }
56
+ function y(e) {
57
+ const t = n.value.findIndex((i) => i.id === e);
58
+ t !== -1 && n.value.splice(t, 1);
59
+ }
60
+ function u(e) {
61
+ e.time && (e.closeTimer = setTimeout(
62
+ () => {
63
+ c(e.id);
64
+ },
65
+ e.time
66
+ ));
67
+ }
68
+ export {
69
+ E as a,
70
+ c,
71
+ v as o,
72
+ h as r,
73
+ b as u
74
+ };