@dpa-id-components/dpa-shared-components 21.1.1 → 22.0.0-next.1

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 (554) hide show
  1. package/dist/{alert-fill-BHn_Z4vo.js → alert-filled-COSmQYAa.js} +1 -1
  2. package/dist/{bell-fill-DHRfa4cC.js → bell-filled-7gfK8601.js} +1 -1
  3. package/dist/{bookmark-outlined-D41PleT8.js → bookmark-D65iW--h.js} +1 -1
  4. package/dist/{bookmark-DNJYJq0J.js → bookmark-filled-5lCW1BfF.js} +1 -1
  5. package/dist/{comment-fill-Dc-swkQu.js → comment-filled-Cl_qZ6Fz.js} +1 -1
  6. package/dist/components/UiBadge/UiBadge.vue.d.ts +3 -16
  7. package/dist/components/UiButton/UiButton.vue.d.ts +15 -21
  8. package/dist/components/UiButtonGroup/UiButtonGroup.vue.d.ts +5 -11
  9. package/dist/components/UiCheckbox/UiCheckbox.vue.d.ts +14 -21
  10. package/dist/components/UiChip/UiChip.vue.d.ts +11 -12
  11. package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +6 -8
  12. package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +47 -84
  13. package/dist/components/UiDialog/UiDialog.vue.d.ts +20 -37
  14. package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +10 -9
  15. package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +26 -10
  16. package/dist/components/UiIcon/UiIcon.vue.d.ts +11 -6
  17. package/dist/components/UiIcon/icons.d.ts +14 -39
  18. package/dist/components/UiIconButton/UiIconButton.vue.d.ts +15 -6
  19. package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +17 -10
  20. package/dist/components/UiInput/UiInput.vue.d.ts +6 -48
  21. package/dist/components/UiList/UiList.vue.d.ts +5 -11
  22. package/dist/components/UiListItem/UiListItem.vue.d.ts +12 -24
  23. package/dist/components/UiMenu/UiMenu.vue.d.ts +30 -35
  24. package/dist/components/UiMenu/UiMenuItem.vue.d.ts +8 -5
  25. package/dist/components/UiMenu/UiMenuList.vue.d.ts +13 -11
  26. package/dist/components/UiPopover/UiPopover.vue.d.ts +45 -0
  27. package/dist/components/UiRadioButton/UiRadioButton.vue.d.ts +35 -0
  28. package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +27 -31
  29. package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +16 -39
  30. package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +2 -2
  31. package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +1 -5
  32. package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +4 -10
  33. package/dist/components/UiSpinner/UiSpinner.vue.d.ts +5 -8
  34. package/dist/components/UiTextButton/UiTextButton.vue.d.ts +22 -13
  35. package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +10 -24
  36. package/dist/components/UiTooltip/UiTooltip.vue.d.ts +3 -31
  37. package/dist/components/index.d.ts +3 -4
  38. package/dist/dpa-shared-components.js +4263 -4873
  39. package/dist/{flag-fill-C3XgapYW.js → flag-filled-VmJW-U0p.js} +1 -1
  40. package/dist/{folder-fill-CnEmPx6c.js → folder-filled-D6pmcH0e.js} +1 -1
  41. package/dist/{image focus point-D_hUlTWi.js → image-focus-point-BJ7HhehR.js} +1 -1
  42. package/dist/{info-fill-DlgeXJbI.js → info-filled-PYbvwGmZ.js} +1 -1
  43. package/dist/{map-outline-uvK8An7m.js → map-FF2zfEGP.js} +1 -1
  44. package/dist/{map-BMOQGCce.js → map-filled-Y8JaYK4Y.js} +1 -1
  45. package/dist/{video-rounded-ISWC3gUM.js → play-CArB2O7k.js} +1 -1
  46. package/dist/{saved-search-fill-CPoyaMRU.js → saved-search-filled-CNz5iwu_.js} +1 -1
  47. package/dist/{sidebar-fill-CBSJYVQQ.js → sidebar-filled-BnnqCUYl.js} +1 -1
  48. package/dist/spinner-CrCQ6H6L.js +32 -0
  49. package/dist/src/assets/icons/{bookmark-fill.vue → bookmark-filled.vue} +1 -1
  50. package/dist/src/assets/icons/bookmark.vue +4 -7
  51. package/dist/src/assets/icons/flag-filled.vue +4 -4
  52. package/dist/src/assets/icons/folder-filled.vue +4 -4
  53. package/dist/src/assets/icons/info-filled.vue +4 -4
  54. package/dist/src/assets/icons/map-filled.vue +13 -0
  55. package/dist/src/assets/icons/map.vue +1 -1
  56. package/dist/src/assets/icons/play.vue +1 -1
  57. package/dist/src/assets/icons/spinner.vue +27 -3
  58. package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +3 -3
  59. package/dist/src/components/DpaMediaItem/DpaMediaItem.vue +17 -17
  60. package/dist/src/components/UiBadge/README.md +8 -13
  61. package/dist/src/components/UiBadge/UiBadge.spec.ts +9 -15
  62. package/dist/src/components/UiBadge/UiBadge.stories.ts +52 -42
  63. package/dist/src/components/UiBadge/UiBadge.vue +29 -77
  64. package/dist/src/components/UiButton/README.md +20 -18
  65. package/dist/src/components/UiButton/UiButton.spec.ts +12 -41
  66. package/dist/src/components/UiButton/UiButton.stories.ts +53 -33
  67. package/dist/src/components/UiButton/UiButton.vue +55 -111
  68. package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +3 -2
  69. package/dist/src/components/UiButtonGroup/UiButtonGroup.vue +23 -1
  70. package/dist/src/components/UiCard/UiCard.vue +3 -3
  71. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +4 -2
  72. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +1 -1
  73. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +2 -3
  74. package/dist/src/components/UiCheckbox/README.md +4 -16
  75. package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +15 -141
  76. package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +18 -32
  77. package/dist/src/components/UiCheckbox/UiCheckbox.vue +48 -84
  78. package/dist/src/components/UiChip/README.md +10 -5
  79. package/dist/src/components/UiChip/UiChip.spec.ts +5 -60
  80. package/dist/src/components/UiChip/UiChip.stories.ts +53 -17
  81. package/dist/src/components/UiChip/UiChip.vue +31 -33
  82. package/dist/src/components/UiCollapseNavigation/README.md +3 -3
  83. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +12 -12
  84. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +8 -6
  85. package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +12 -24
  86. package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +5 -6
  87. package/dist/src/components/UiColorPicker/UiColorPicker.vue +21 -60
  88. package/dist/src/components/UiColorPicker/lib/colors.ts +9 -9
  89. package/dist/src/components/UiDatePicker/README.md +68 -46
  90. package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +92 -284
  91. package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +210 -196
  92. package/dist/src/components/UiDatePicker/UiDatePicker.vue +301 -432
  93. package/dist/src/components/UiDialog/README.md +17 -22
  94. package/dist/src/components/UiDialog/UiDialog.spec.ts +3 -110
  95. package/dist/src/components/UiDialog/UiDialog.stories.ts +45 -54
  96. package/dist/src/components/UiDialog/UiDialog.vue +75 -104
  97. package/dist/src/components/UiFilterBadge/README.md +7 -7
  98. package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +47 -3
  99. package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +3 -18
  100. package/dist/src/components/UiFilterBadge/UiFilterBadge.vue +31 -26
  101. package/dist/src/components/UiFilterButton/README.md +2 -0
  102. package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +1 -1
  103. package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +2 -1
  104. package/dist/src/components/UiFilterButton/UiFilterButton.vue +31 -23
  105. package/dist/src/components/UiIcon/UiIcon.spec.ts +3 -3
  106. package/dist/src/components/UiIcon/UiIcon.stories.ts +1 -1
  107. package/dist/src/components/UiIcon/UiIcon.vue +24 -25
  108. package/dist/src/components/UiIcon/icons.ts +113 -141
  109. package/dist/src/components/UiIconButton/UiIconButton.spec.ts +1 -1
  110. package/dist/src/components/UiIconButton/UiIconButton.stories.ts +1 -0
  111. package/dist/src/components/UiIconButton/UiIconButton.vue +28 -10
  112. package/dist/src/components/UiInfoContent/README.md +7 -8
  113. package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +29 -21
  114. package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +11 -33
  115. package/dist/src/components/UiInfoContent/UiInfoContent.vue +34 -33
  116. package/dist/src/components/UiInput/README.md +15 -32
  117. package/dist/src/components/UiInput/UiInput.spec.ts +71 -102
  118. package/dist/src/components/UiInput/UiInput.stories.ts +67 -58
  119. package/dist/src/components/UiInput/UiInput.vue +87 -286
  120. package/dist/src/components/UiLabel/README.md +0 -9
  121. package/dist/src/components/UiLabel/UiLabel.vue +1 -1
  122. package/dist/src/components/UiList/UiList.stories.ts +1 -0
  123. package/dist/src/components/UiList/UiList.vue +22 -0
  124. package/dist/src/components/UiListItem/UiListItem.spec.ts +1 -2
  125. package/dist/src/components/UiListItem/UiListItem.stories.ts +2 -2
  126. package/dist/src/components/UiListItem/UiListItem.vue +73 -93
  127. package/dist/src/components/UiMenu/README.md +64 -7
  128. package/dist/src/components/UiMenu/UiMenu.spec.ts +87 -99
  129. package/dist/src/components/UiMenu/UiMenu.stories.ts +166 -411
  130. package/dist/src/components/UiMenu/UiMenu.vue +228 -408
  131. package/dist/src/components/UiMenu/UiMenuItem.vue +28 -9
  132. package/dist/src/components/UiMenu/UiMenuList.vue +22 -0
  133. package/dist/src/components/UiOverlay/README.md +1 -1
  134. package/dist/src/components/UiOverlay/UiOverlay.stories.ts +1 -1
  135. package/dist/src/components/UiOverlay/UiOverlay.vue +2 -2
  136. package/dist/src/components/UiOverlayMenu/README.md +1 -1
  137. package/dist/src/components/UiOverlayMenu/UiOverlayMenu.vue +3 -3
  138. package/dist/src/components/UiPopover/README.md +56 -0
  139. package/dist/src/components/UiPopover/UiPopover.stories.ts +49 -0
  140. package/dist/src/components/UiPopover/UiPopover.vue +187 -0
  141. package/dist/src/components/UiRadioButton/README.md +44 -0
  142. package/dist/src/components/UiRadioButton/UiRadioButton.stories.ts +85 -0
  143. package/dist/src/components/UiRadioButton/UiRadioButton.vue +82 -0
  144. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +5 -5
  145. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +5 -30
  146. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +44 -69
  147. package/dist/src/components/UiSearchBar/README.md +40 -37
  148. package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +6 -23
  149. package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +25 -127
  150. package/dist/src/components/UiSearchBar/UiSearchBar.vue +73 -179
  151. package/dist/src/components/UiSearchInput/UiSearchInput.vue +27 -22
  152. package/dist/src/components/UiSection/UiSection.vue +4 -4
  153. package/dist/src/components/UiSectionDivider/UiSectionDivider.vue +3 -3
  154. package/dist/src/components/UiSelect/UiSelect.stories.ts +1 -1
  155. package/dist/src/components/UiSelect/UiSelect.vue +17 -76
  156. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +1 -1
  157. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.vue +12 -17
  158. package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +45 -0
  159. package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +19 -22
  160. package/dist/src/components/UiSnackbar/UiSnackbar.vue +23 -26
  161. package/dist/src/components/UiSpinner/README.md +6 -4
  162. package/dist/src/components/UiSpinner/UiSpinner.spec.ts +33 -19
  163. package/dist/src/components/UiSpinner/UiSpinner.stories.ts +16 -20
  164. package/dist/src/components/UiSpinner/UiSpinner.vue +55 -87
  165. package/dist/src/components/UiTextButton/UiTextButton.spec.ts +3 -3
  166. package/dist/src/components/UiTextButton/UiTextButton.stories.ts +1 -0
  167. package/dist/src/components/UiTextButton/UiTextButton.vue +28 -9
  168. package/dist/src/components/UiToggleButton/README.md +16 -15
  169. package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +48 -62
  170. package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +30 -40
  171. package/dist/src/components/UiToggleButton/UiToggleButton.vue +54 -129
  172. package/dist/src/components/UiTooltip/README.md +25 -36
  173. package/dist/src/components/UiTooltip/UiTooltip.spec.ts +45 -25
  174. package/dist/src/components/UiTooltip/UiTooltip.stories.ts +21 -64
  175. package/dist/src/components/UiTooltip/UiTooltip.vue +64 -136
  176. package/dist/src/components/index.ts +4 -6
  177. package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +4 -2
  178. package/dist/src/tailwindPreset.css +161 -56
  179. package/dist/src/types/index.ts +1 -0
  180. package/dist/src/utils/cn.spec.ts +21 -4
  181. package/dist/src/utils/cn.ts +11 -4
  182. package/dist/style.css +1 -1
  183. package/dist/tailwindPreset.css +161 -56
  184. package/dist/types/index.d.ts +1 -0
  185. package/dist/utils/cn.d.ts +8 -0
  186. package/dist/{video overlay-DfhF7VpE.js → video-overlay-D6e61Eo7.js} +1 -1
  187. package/package.json +1 -2
  188. package/src/assets/icons/{bookmark-fill.vue → bookmark-filled.vue} +1 -1
  189. package/src/assets/icons/bookmark.vue +4 -7
  190. package/src/assets/icons/flag-filled.vue +4 -4
  191. package/src/assets/icons/folder-filled.vue +4 -4
  192. package/src/assets/icons/info-filled.vue +4 -4
  193. package/src/assets/icons/map-filled.vue +13 -0
  194. package/src/assets/icons/map.vue +1 -1
  195. package/src/assets/icons/play.vue +1 -1
  196. package/src/assets/icons/spinner.vue +27 -3
  197. package/src/components/DpaMediaItem/DpaMediaItem.vue +17 -17
  198. package/src/components/UiBadge/README.md +8 -13
  199. package/src/components/UiBadge/UiBadge.vue +29 -77
  200. package/src/components/UiButton/README.md +20 -18
  201. package/src/components/UiButton/UiButton.vue +55 -111
  202. package/src/components/UiButtonGroup/UiButtonGroup.vue +23 -1
  203. package/src/components/UiCard/UiCard.vue +3 -3
  204. package/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +2 -3
  205. package/src/components/UiCheckbox/README.md +4 -16
  206. package/src/components/UiCheckbox/UiCheckbox.vue +48 -84
  207. package/src/components/UiChip/README.md +10 -5
  208. package/src/components/UiChip/UiChip.vue +31 -33
  209. package/src/components/UiCollapseNavigation/README.md +3 -3
  210. package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +8 -6
  211. package/src/components/UiColorPicker/UiColorPicker.vue +21 -60
  212. package/src/components/UiColorPicker/lib/colors.ts +9 -9
  213. package/src/components/UiDatePicker/README.md +68 -46
  214. package/src/components/UiDatePicker/UiDatePicker.vue +301 -432
  215. package/src/components/UiDialog/README.md +17 -22
  216. package/src/components/UiDialog/UiDialog.vue +75 -104
  217. package/src/components/UiFilterBadge/README.md +7 -7
  218. package/src/components/UiFilterBadge/UiFilterBadge.vue +31 -26
  219. package/src/components/UiFilterButton/README.md +2 -0
  220. package/src/components/UiFilterButton/UiFilterButton.vue +31 -23
  221. package/src/components/UiIcon/UiIcon.vue +24 -25
  222. package/src/components/UiIcon/icons.ts +113 -141
  223. package/src/components/UiIconButton/UiIconButton.vue +28 -10
  224. package/src/components/UiInfoContent/README.md +7 -8
  225. package/src/components/UiInfoContent/UiInfoContent.vue +34 -33
  226. package/src/components/UiInput/README.md +15 -32
  227. package/src/components/UiInput/UiInput.vue +87 -286
  228. package/src/components/UiLabel/README.md +0 -9
  229. package/src/components/UiLabel/UiLabel.vue +1 -1
  230. package/src/components/UiList/UiList.vue +22 -0
  231. package/src/components/UiListItem/UiListItem.vue +73 -93
  232. package/src/components/UiMenu/README.md +64 -7
  233. package/src/components/UiMenu/UiMenu.vue +228 -408
  234. package/src/components/UiMenu/UiMenuItem.vue +28 -9
  235. package/src/components/UiMenu/UiMenuList.vue +22 -0
  236. package/src/components/UiOverlay/README.md +1 -1
  237. package/src/components/UiOverlay/UiOverlay.vue +2 -2
  238. package/src/components/UiOverlayMenu/README.md +1 -1
  239. package/src/components/UiOverlayMenu/UiOverlayMenu.vue +3 -3
  240. package/src/components/UiPopover/README.md +56 -0
  241. package/src/components/UiPopover/UiPopover.vue +187 -0
  242. package/src/components/UiRadioButton/README.md +44 -0
  243. package/src/components/UiRadioButton/UiRadioButton.vue +82 -0
  244. package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +44 -69
  245. package/src/components/UiSearchBar/README.md +40 -37
  246. package/src/components/UiSearchBar/UiSearchBar.vue +73 -179
  247. package/src/components/UiSearchInput/UiSearchInput.vue +27 -22
  248. package/src/components/UiSection/UiSection.vue +4 -4
  249. package/src/components/UiSectionDivider/UiSectionDivider.vue +3 -3
  250. package/src/components/UiSelect/UiSelect.vue +17 -76
  251. package/src/components/UiSkeletonBox/UiSkeletonBox.vue +12 -17
  252. package/src/components/UiSnackbar/UiSnackbar.vue +23 -26
  253. package/src/components/UiSpinner/README.md +6 -4
  254. package/src/components/UiSpinner/UiSpinner.vue +55 -87
  255. package/src/components/UiTextButton/UiTextButton.vue +28 -9
  256. package/src/components/UiToggleButton/README.md +16 -15
  257. package/src/components/UiToggleButton/UiToggleButton.vue +54 -129
  258. package/src/components/UiTooltip/README.md +25 -36
  259. package/src/components/UiTooltip/UiTooltip.vue +64 -136
  260. package/src/tailwindPreset.css +161 -56
  261. package/src/types/index.ts +1 -0
  262. package/src/utils/cn.ts +11 -4
  263. package/dist/assets/icons/flag-outline.vue.d.ts +0 -3
  264. package/dist/assets/icons/folder-fill.vue.d.ts +0 -3
  265. package/dist/assets/icons/graphic-circled.vue.d.ts +0 -3
  266. package/dist/assets/icons/graphic-filled.vue.d.ts +0 -3
  267. package/dist/assets/icons/image focus point.vue.d.ts +0 -3
  268. package/dist/assets/icons/info-fill.vue.d.ts +0 -3
  269. package/dist/assets/icons/lock-filled.vue.d.ts +0 -3
  270. package/dist/assets/icons/map-outline.vue.d.ts +0 -3
  271. package/dist/assets/icons/paperplane.vue.d.ts +0 -3
  272. package/dist/assets/icons/pause-circle.vue.d.ts +0 -3
  273. package/dist/assets/icons/picture-circled.vue.d.ts +0 -3
  274. package/dist/assets/icons/picture-filled.vue.d.ts +0 -3
  275. package/dist/assets/icons/picture-gallery.vue.d.ts +0 -3
  276. package/dist/assets/icons/play-circle.vue.d.ts +0 -3
  277. package/dist/assets/icons/play-fill.vue.d.ts +0 -3
  278. package/dist/assets/icons/plus-circle.vue.d.ts +0 -3
  279. package/dist/assets/icons/saved-search-fill.vue.d.ts +0 -3
  280. package/dist/assets/icons/sidebar-fill.vue.d.ts +0 -3
  281. package/dist/assets/icons/star-fill.vue.d.ts +0 -3
  282. package/dist/assets/icons/text-circled.vue.d.ts +0 -3
  283. package/dist/assets/icons/text-filled.vue.d.ts +0 -3
  284. package/dist/assets/icons/video overlay.vue.d.ts +0 -3
  285. package/dist/assets/icons/video-circled.vue.d.ts +0 -3
  286. package/dist/assets/icons/video-filled.vue.d.ts +0 -3
  287. package/dist/assets/icons/video-rounded.vue.d.ts +0 -3
  288. package/dist/audio-circled-amRbTaDb.js +0 -15
  289. package/dist/audio-filled-C7m_-PTb.js +0 -15
  290. package/dist/bookmark-fill-DbkrXmPt.js +0 -20
  291. package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +0 -22
  292. package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.vue.d.ts +0 -29
  293. package/dist/components/UiSimpleInput/UiSimpleInput.vue.d.ts +0 -20
  294. package/dist/filter-outline-ChWKUbSt.js +0 -16
  295. package/dist/flag-filled-CdVD_QxY.js +0 -18
  296. package/dist/flag-outline-ChGgKT6P.js +0 -18
  297. package/dist/folder-filled-zwvSw3Sd.js +0 -18
  298. package/dist/graphic-circled-BtuNYmPh.js +0 -15
  299. package/dist/graphic-filled-DXQvxz4s.js +0 -15
  300. package/dist/info-filled-Btao1rhT.js +0 -18
  301. package/dist/lock-filled-C5I60_d0.js +0 -18
  302. package/dist/paperplane-ed0y9oB6.js +0 -18
  303. package/dist/pause-circle-ab18LhX3.js +0 -19
  304. package/dist/picture-circled-DYsNZNYH.js +0 -15
  305. package/dist/picture-filled-CQYRN3Fa.js +0 -15
  306. package/dist/picture-gallery-BgWYQrqC.js +0 -16
  307. package/dist/play-BXy8WcYq.js +0 -18
  308. package/dist/play-circle-B88YxOh-.js +0 -18
  309. package/dist/play-fill-nWPoHjD3.js +0 -18
  310. package/dist/plus-circle-DKWKVMiq.js +0 -18
  311. package/dist/spinner-dy09pOOm.js +0 -13
  312. package/dist/src/assets/icons/audio-circled.vue +0 -12
  313. package/dist/src/assets/icons/audio-filled.vue +0 -12
  314. package/dist/src/assets/icons/bookmark-outlined.vue +0 -12
  315. package/dist/src/assets/icons/filter-outline.vue +0 -8
  316. package/dist/src/assets/icons/flag-fill.vue +0 -13
  317. package/dist/src/assets/icons/flag-outline.vue +0 -13
  318. package/dist/src/assets/icons/folder-fill.vue +0 -13
  319. package/dist/src/assets/icons/graphic-circled.vue +0 -12
  320. package/dist/src/assets/icons/graphic-filled.vue +0 -12
  321. package/dist/src/assets/icons/info-fill.vue +0 -13
  322. package/dist/src/assets/icons/lock-filled.vue +0 -13
  323. package/dist/src/assets/icons/map-outline.vue +0 -13
  324. package/dist/src/assets/icons/paperplane.vue +0 -13
  325. package/dist/src/assets/icons/pause-circle.vue +0 -14
  326. package/dist/src/assets/icons/picture-circled.vue +0 -12
  327. package/dist/src/assets/icons/picture-filled.vue +0 -12
  328. package/dist/src/assets/icons/picture-gallery.vue +0 -13
  329. package/dist/src/assets/icons/play-circle.vue +0 -13
  330. package/dist/src/assets/icons/play-fill.vue +0 -13
  331. package/dist/src/assets/icons/plus-circle.vue +0 -13
  332. package/dist/src/assets/icons/star-fill.vue +0 -13
  333. package/dist/src/assets/icons/text-circled.vue +0 -12
  334. package/dist/src/assets/icons/text-filled.vue +0 -12
  335. package/dist/src/assets/icons/video-circled.vue +0 -12
  336. package/dist/src/assets/icons/video-filled.vue +0 -12
  337. package/dist/src/assets/icons/video-rounded.vue +0 -13
  338. package/dist/src/components/UiAutocomplete/README.md +0 -44
  339. package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +0 -39
  340. package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +0 -46
  341. package/dist/src/components/UiAutocomplete/UiAutocomplete.vue +0 -159
  342. package/dist/src/components/UiFilterBadgeButton/README.md +0 -38
  343. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +0 -41
  344. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +0 -56
  345. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +0 -50
  346. package/dist/src/components/UiSimpleInput/README.md +0 -38
  347. package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +0 -58
  348. package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +0 -53
  349. package/dist/src/components/UiSimpleInput/UiSimpleInput.vue +0 -98
  350. package/dist/src/utils/index.spec.ts +0 -12
  351. package/dist/star-fill-DIXwg3gQ.js +0 -18
  352. package/dist/text-circled-Cykzn5-2.js +0 -15
  353. package/dist/text-filled-BwOhn26K.js +0 -15
  354. package/dist/video-circled-Bw9Miyyr.js +0 -15
  355. package/dist/video-filled-B5Td1M5L.js +0 -15
  356. package/src/assets/icons/audio-circled.vue +0 -12
  357. package/src/assets/icons/audio-filled.vue +0 -12
  358. package/src/assets/icons/bookmark-outlined.vue +0 -12
  359. package/src/assets/icons/filter-outline.vue +0 -8
  360. package/src/assets/icons/flag-fill.vue +0 -13
  361. package/src/assets/icons/flag-outline.vue +0 -13
  362. package/src/assets/icons/folder-fill.vue +0 -13
  363. package/src/assets/icons/graphic-circled.vue +0 -12
  364. package/src/assets/icons/graphic-filled.vue +0 -12
  365. package/src/assets/icons/info-fill.vue +0 -13
  366. package/src/assets/icons/lock-filled.vue +0 -13
  367. package/src/assets/icons/map-outline.vue +0 -13
  368. package/src/assets/icons/paperplane.vue +0 -13
  369. package/src/assets/icons/pause-circle.vue +0 -14
  370. package/src/assets/icons/picture-circled.vue +0 -12
  371. package/src/assets/icons/picture-filled.vue +0 -12
  372. package/src/assets/icons/picture-gallery.vue +0 -13
  373. package/src/assets/icons/play-circle.vue +0 -13
  374. package/src/assets/icons/play-fill.vue +0 -13
  375. package/src/assets/icons/plus-circle.vue +0 -13
  376. package/src/assets/icons/star-fill.vue +0 -13
  377. package/src/assets/icons/text-circled.vue +0 -12
  378. package/src/assets/icons/text-filled.vue +0 -12
  379. package/src/assets/icons/video-circled.vue +0 -12
  380. package/src/assets/icons/video-filled.vue +0 -12
  381. package/src/assets/icons/video-rounded.vue +0 -13
  382. package/src/components/UiAutocomplete/README.md +0 -44
  383. package/src/components/UiAutocomplete/UiAutocomplete.vue +0 -159
  384. package/src/components/UiFilterBadgeButton/README.md +0 -38
  385. package/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +0 -50
  386. package/src/components/UiSimpleInput/README.md +0 -38
  387. package/src/components/UiSimpleInput/UiSimpleInput.vue +0 -98
  388. /package/dist/{alert-BMmH4q6y.js → alert-CdAp0ksh.js} +0 -0
  389. /package/dist/assets/icons/{alert-fill.vue.d.ts → alert-filled.vue.d.ts} +0 -0
  390. /package/dist/assets/icons/{audio-circled.vue.d.ts → bell-filled.vue.d.ts} +0 -0
  391. /package/dist/assets/icons/{audio-filled.vue.d.ts → bookmark-filled.vue.d.ts} +0 -0
  392. /package/dist/assets/icons/{bell-fill.vue.d.ts → comment-filled.vue.d.ts} +0 -0
  393. /package/dist/assets/icons/{bookmark-fill.vue.d.ts → image-focus-point.vue.d.ts} +0 -0
  394. /package/dist/assets/icons/{bookmark-outlined.vue.d.ts → map-filled.vue.d.ts} +0 -0
  395. /package/dist/assets/icons/{comment-fill.vue.d.ts → saved-search-filled.vue.d.ts} +0 -0
  396. /package/dist/assets/icons/{filter-outline.vue.d.ts → sidebar-filled.vue.d.ts} +0 -0
  397. /package/dist/assets/icons/{flag-fill.vue.d.ts → video-overlay.vue.d.ts} +0 -0
  398. /package/dist/{audio-BN2iVbbp.js → audio-Cgg6MUeM.js} +0 -0
  399. /package/dist/{audio-DLQLFJ3x.js → audio-DS8plcCU.js} +0 -0
  400. /package/dist/{bag-Br7SrnRJ.js → bag-B28jMR7E.js} +0 -0
  401. /package/dist/{bell-kOosto6B.js → bell-k_sZgnpL.js} +0 -0
  402. /package/dist/{book-D0Xsp8As.js → book-CqUJ_JRz.js} +0 -0
  403. /package/dist/{box-Bw_tD7Nd.js → box-BCDNtaq7.js} +0 -0
  404. /package/dist/{bulb-tXJKei6j.js → bulb-12wSYpgA.js} +0 -0
  405. /package/dist/{call-BdzulBfZ.js → call-CW04DyHi.js} +0 -0
  406. /package/dist/{camera-D8so0Wqg.js → camera-CbeyxVU5.js} +0 -0
  407. /package/dist/{check-CTBqwPMY.js → check-BpPjjXqx.js} +0 -0
  408. /package/dist/{checklist-CVBb2iLT.js → checklist-CFCfO7IN.js} +0 -0
  409. /package/dist/{checkmark-BkBvk5FP.js → checkmark-DhUksPvT.js} +0 -0
  410. /package/dist/{checkmark-double-9tbcPPxC.js → checkmark-double-BNGXAUiT.js} +0 -0
  411. /package/dist/{chevron-down-BcjUrqWQ.js → chevron-down-BjZ6BFFp.js} +0 -0
  412. /package/dist/{chevron-left-DdChgK6Q.js → chevron-left-Z-D_OY2t.js} +0 -0
  413. /package/dist/{chevron-right-BR3OVahz.js → chevron-right-D1GfZQB6.js} +0 -0
  414. /package/dist/{chevron-up-R3uiTZDq.js → chevron-up-DWZ1F8w0.js} +0 -0
  415. /package/dist/{clipboard-BFi2VbBj.js → clipboard-CNCIToKK.js} +0 -0
  416. /package/dist/{clock-C3D4TRfx.js → clock-CqWSNhFX.js} +0 -0
  417. /package/dist/{close-CbIMNMG_.js → close-oHIGT_JQ.js} +0 -0
  418. /package/dist/{cloud-save-CQCTGXxN.js → cloud-save-CWTQ5IHS.js} +0 -0
  419. /package/dist/{code-ChJ2qMcZ.js → code-BD5nOHqK.js} +0 -0
  420. /package/dist/{collapse-DISUbIVr.js → collapse-D6QeCZC7.js} +0 -0
  421. /package/dist/{color-palette-B4pqFFIE.js → color-palette-BpONORjj.js} +0 -0
  422. /package/dist/{comment-CzF3hkpf.js → comment-D5RZxZWG.js} +0 -0
  423. /package/dist/{copy-CywrUiK2.js → copy-BDnlScSS.js} +0 -0
  424. /package/dist/{copy-link-DqcNlpUK.js → copy-link-BSfa58Tb.js} +0 -0
  425. /package/dist/{delete-Bl6aSpBn.js → delete-dDyi0gau.js} +0 -0
  426. /package/dist/{download-BdnIOaET.js → download-B-ZTsIBv.js} +0 -0
  427. /package/dist/{dpa-id-4HKRxUEF.js → dpa-id-DRnjTcHI.js} +0 -0
  428. /package/dist/{edit-KtC1G-_s.js → edit-BbFkVyRd.js} +0 -0
  429. /package/dist/{edit-add-DjUq6zXq.js → edit-add-CAPOsjts.js} +0 -0
  430. /package/dist/{eil-CPA4kVQM.js → eil-CzEP-9Lo.js} +0 -0
  431. /package/dist/{emoji-C2BmBFxC.js → emoji-BjLqvypC.js} +0 -0
  432. /package/dist/{emoji-add-NHqne_6m.js → emoji-add-BB4fB4th.js} +0 -0
  433. /package/dist/{envelope-BDSOA_J7.js → envelope-DftzB5Ol.js} +0 -0
  434. /package/dist/{event-Bo_sb247.js → event-FR1JMgj6.js} +0 -0
  435. /package/dist/{expand-BK_uzKmx.js → expand-DaVQ0gpz.js} +0 -0
  436. /package/dist/{external-link-BPYyKPIa.js → external-link-2Es0qWwd.js} +0 -0
  437. /package/dist/{file-B97T9C2M.js → file-AHJ00f5M.js} +0 -0
  438. /package/dist/{file-pdf-lFk-5brY.js → file-pdf-CJDdjKS0.js} +0 -0
  439. /package/dist/{filter-BIJnBkRa.js → filter-CXjBFUUg.js} +0 -0
  440. /package/dist/{flag-DNP4L-y-.js → flag-CbX4PUMS.js} +0 -0
  441. /package/dist/{flags-G-Nbo5ST.js → flags-Buo1j-9g.js} +0 -0
  442. /package/dist/{flash-9TBwsdOx.js → flash-Dlr5gL01.js} +0 -0
  443. /package/dist/{folder-s6NWFqjh.js → folder-DQwCjGZC.js} +0 -0
  444. /package/dist/{folder-add-B-l2wmwY.js → folder-add-zPr2Gmtj.js} +0 -0
  445. /package/dist/{gallery-B8I5lJ51.js → gallery-CfUbckcB.js} +0 -0
  446. /package/dist/{gallery-DSmOoCFT.js → gallery-DPl8qZQu.js} +0 -0
  447. /package/dist/{graphic-BMtcGj5R.js → graphic-BbhCuiiE.js} +0 -0
  448. /package/dist/{graphic-d-_5qmyr.js → graphic-nXH5ifxc.js} +0 -0
  449. /package/dist/{graphics-eur3JZ_7.js → graphics-Dp8pQzs-.js} +0 -0
  450. /package/dist/{grid-1-DOm2nS5Y.js → grid-1-DZUEMbtb.js} +0 -0
  451. /package/dist/{grid-2-D9XOIyFO.js → grid-2-BQ-9yylY.js} +0 -0
  452. /package/dist/{grid-3-CR1E0m9u.js → grid-3-BGhZrrCJ.js} +0 -0
  453. /package/dist/{grid-4-QKKeiUGc.js → grid-4-DY9N435A.js} +0 -0
  454. /package/dist/{grid-6-C5bCbXur.js → grid-6-B0BR3wbB.js} +0 -0
  455. /package/dist/{grid-9-FNxsRYRg.js → grid-9-BWhM7qat.js} +0 -0
  456. /package/dist/{grid-masonry-CuwXzdZ6.js → grid-masonry-1e9tYkSK.js} +0 -0
  457. /package/dist/{grid-masonry-9-CxLBpKCz.js → grid-masonry-9-DiiX1pQo.js} +0 -0
  458. /package/dist/{help-DkjfD818.js → help-CLfj4LQM.js} +0 -0
  459. /package/dist/{home-njHAfgwc.js → home-D6htLjOF.js} +0 -0
  460. /package/dist/{image-C2RlXeDP.js → image-DnYnaoeu.js} +0 -0
  461. /package/dist/{impact-high-C0SywXT1.js → impact-high-DuECIU0d.js} +0 -0
  462. /package/dist/{impact-low-yDd0jU4k.js → impact-low-DMtzvmWi.js} +0 -0
  463. /package/dist/{impact-medium-Cc_nInN7.js → impact-medium-B5-WfnV2.js} +0 -0
  464. /package/dist/{impact-very-high-DiOgG_Ji.js → impact-very-high-C1K1nCE9.js} +0 -0
  465. /package/dist/{impact-very-low-CYW4RgJO.js → impact-very-low-CXbiBK6E.js} +0 -0
  466. /package/dist/{info-NBFIJ3YI.js → info-Ca-64c_9.js} +0 -0
  467. /package/dist/{label-CTr8hHIv.js → label-D8X5FrVe.js} +0 -0
  468. /package/dist/{label-filled-CnTpOqvX.js → label-filled-DjSc-Fk4.js} +0 -0
  469. /package/dist/{language-UqPESR_Z.js → language-OE6ZfER_.js} +0 -0
  470. /package/dist/{latest-Cq12zjMs.js → latest-D0dlub5f.js} +0 -0
  471. /package/dist/{lightbulb-BpK9qU_u.js → lightbulb-DKJrsADi.js} +0 -0
  472. /package/dist/{list-DKcsNf15.js → list-BviTrZEl.js} +0 -0
  473. /package/dist/{list-search-BzZuYf_P.js → list-search-Ck6anukf.js} +0 -0
  474. /package/dist/{lock-BFfHVSog.js → lock-C5vUwbkA.js} +0 -0
  475. /package/dist/{mail-pagEqHtM.js → mail-CtA-d2d0.js} +0 -0
  476. /package/dist/{menu-j4cvnLP8.js → menu-DFzmvE6J.js} +0 -0
  477. /package/dist/{minus-CGsJ-jkT.js → minus-COmVHb9S.js} +0 -0
  478. /package/dist/{more-horizontal-CDZjG5h8.js → more-horizontal-DzHbd3yn.js} +0 -0
  479. /package/dist/{more-vertical-YUehtvol.js → more-vertical-CiJm6ZaV.js} +0 -0
  480. /package/dist/{move-CiU3PwqY.js → move-CUyDTrlz.js} +0 -0
  481. /package/dist/{move-up-down-H-qHtTwO.js → move-up-down-3AiMDXGu.js} +0 -0
  482. /package/dist/{navigation-DmqoQINO.js → navigation-BryXzz7G.js} +0 -0
  483. /package/dist/{note-BZ3q-D4L.js → note-CXIfkCb0.js} +0 -0
  484. /package/dist/{offline-CLl0pwpv.js → offline-BlqqTvjx.js} +0 -0
  485. /package/dist/{package-iJOVTpPH.js → package-BEkSqrZt.js} +0 -0
  486. /package/dist/{package-D_Bh8bgp.js → package-pKbuF39E.js} +0 -0
  487. /package/dist/{paper-plane-DcYms0cj.js → paper-plane-CwVjTgAB.js} +0 -0
  488. /package/dist/{pause-COAxeJRm.js → pause-D-nbILiS.js} +0 -0
  489. /package/dist/{pdf-BweFqxRM.js → pdf-C7o5LP5D.js} +0 -0
  490. /package/dist/{pen-CmBOMgX_.js → pen-5O6IZM5k.js} +0 -0
  491. /package/dist/{pen-check-BApB0Zi2.js → pen-check-GQoVyZ_V.js} +0 -0
  492. /package/dist/{people-D07vIou7.js → people-CFA1u84D.js} +0 -0
  493. /package/dist/{phone-B9TyVbBj.js → phone-BmL2p-7F.js} +0 -0
  494. /package/dist/{picture-D7kBYru_.js → picture-BBiWVmta.js} +0 -0
  495. /package/dist/{picture-DJRwU5Gl.js → picture-jf1PkZfY.js} +0 -0
  496. /package/dist/{pin-BlBzA8ov.js → pin-CTaBntUQ.js} +0 -0
  497. /package/dist/{planning-BhE-A4FO.js → planning-s3sRV6ix.js} +0 -0
  498. /package/dist/{plus-CmEv_iHA.js → plus-Dm-ZxxHJ.js} +0 -0
  499. /package/dist/{print-ChdLXKHj.js → print-B5fjHJZL.js} +0 -0
  500. /package/dist/{refresh-C7k19NtO.js → refresh-gU5ZZuG6.js} +0 -0
  501. /package/dist/{reset-CpXqaOj5.js → reset-CwU1iGF5.js} +0 -0
  502. /package/dist/{responsive-CKNXzAo1.js → responsive-BHNmDmM6.js} +0 -0
  503. /package/dist/{rubix-thema-Cmk-5-bm.js → rubix-thema-BZvVEFud.js} +0 -0
  504. /package/dist/{save-BX3-Z5qP.js → save-mTHDeUnL.js} +0 -0
  505. /package/dist/{saved-search-Be8D9tJ9.js → saved-search-DJO4_yPH.js} +0 -0
  506. /package/dist/{search-BeIwOzJl.js → search-B5yHBLf_.js} +0 -0
  507. /package/dist/{settings-CLChu_zl.js → settings-Hb_Y7Y53.js} +0 -0
  508. /package/dist/{share-j6ezShBH.js → share-OpdW8ZmZ.js} +0 -0
  509. /package/dist/{share-alternative-BD-WQYvk.js → share-alternative-C3pSVTYb.js} +0 -0
  510. /package/dist/{sidebar-CPe20Xae.js → sidebar-DtAUGBof.js} +0 -0
  511. /package/dist/{slack-BjvLF16S.js → slack-mCoCq7b9.js} +0 -0
  512. /package/dist/{slider-config-CTzwxojK.js → slider-config-yjKG-9r9.js} +0 -0
  513. /package/dist/{spellcheck-thqRUMx9.js → spellcheck-bP4DPCKJ.js} +0 -0
  514. /package/dist/src/assets/icons/{alert-fill.vue → alert-filled.vue} +0 -0
  515. /package/dist/src/assets/icons/{bell-fill.vue → bell-filled.vue} +0 -0
  516. /package/dist/src/assets/icons/{comment-fill.vue → comment-filled.vue} +0 -0
  517. /package/dist/src/assets/icons/{image focus point.vue → image-focus-point.vue} +0 -0
  518. /package/dist/src/assets/icons/{saved-search-fill.vue → saved-search-filled.vue} +0 -0
  519. /package/dist/src/assets/icons/{sidebar-fill.vue → sidebar-filled.vue} +0 -0
  520. /package/dist/src/assets/icons/{video overlay.vue → video-overlay.vue} +0 -0
  521. /package/dist/{standard-view-dE52BPUm.js → standard-view-CN0ixRE4.js} +0 -0
  522. /package/dist/{star-uv_o0S9H.js → star-BKWqck4u.js} +0 -0
  523. /package/dist/{star-filled-BqrpxMqq.js → star-filled-CdXMXBn7.js} +0 -0
  524. /package/dist/{stop-CrmQCpqp.js → stop-B8l9lmwT.js} +0 -0
  525. /package/dist/{story-BdUCZQmb.js → story-Cxy8EkgB.js} +0 -0
  526. /package/dist/{story-DEvV0oQv.js → story-DOxZDwJp.js} +0 -0
  527. /package/dist/{sync-CPmOdu5b.js → sync-BW_fAqt6.js} +0 -0
  528. /package/dist/{tasks-TKH8SUBe.js → tasks-DLNuebMi.js} +0 -0
  529. /package/dist/{text-7i2atLMM.js → text-Bsl2QZz3.js} +0 -0
  530. /package/dist/{text-BMhu0paW.js → text-CPSps-qh.js} +0 -0
  531. /package/dist/{thumbs-down-LH8SIeIF.js → thumbs-down-pSf_ND98.js} +0 -0
  532. /package/dist/{thumbs-up-WZQzpqKr.js → thumbs-up-Braz70N6.js} +0 -0
  533. /package/dist/{thumbs-up-double-SeGWEXZ_.js → thumbs-up-double-C6foUkOq.js} +0 -0
  534. /package/dist/{topic-63EhQ_l1.js → topic-BamlhBNV.js} +0 -0
  535. /package/dist/{union-DKjbjP-9.js → union-CYw04THu.js} +0 -0
  536. /package/dist/{upload-yjh9wxAA.js → upload-BL_iLqTa.js} +0 -0
  537. /package/dist/{user-need-divert-me-B_cSVEIY.js → user-need-divert-me-2RaqdMMH.js} +0 -0
  538. /package/dist/{user-need-educate-me-DOgCmShA.js → user-need-educate-me-CRi42bIc.js} +0 -0
  539. /package/dist/{user-need-give-me-perspective-2wacZI2F.js → user-need-give-me-perspective-BIF7v9vF.js} +0 -0
  540. /package/dist/{user-need-help-me-D4VE0IcH.js → user-need-help-me-O0XSLzP-.js} +0 -0
  541. /package/dist/{user-need-touch-me-u3n8c5IH.js → user-need-touch-me-BueJ3SSh.js} +0 -0
  542. /package/dist/{user-need-update-me-BcDyXzME.js → user-need-update-me-DP574fsn.js} +0 -0
  543. /package/dist/{video-BViz7WnQ.js → video-CWHoNlON.js} +0 -0
  544. /package/dist/{video-hhs4-tLq.js → video-DhS7zpNF.js} +0 -0
  545. /package/dist/{view-C9Xks5Gy.js → view-Bc5W8beK.js} +0 -0
  546. /package/dist/{view-off-BuSbQwX0.js → view-off-DquC2i3E.js} +0 -0
  547. /package/dist/{volume-up-BLQXZI5X.js → volume-up-DEzoW7Bq.js} +0 -0
  548. /package/src/assets/icons/{alert-fill.vue → alert-filled.vue} +0 -0
  549. /package/src/assets/icons/{bell-fill.vue → bell-filled.vue} +0 -0
  550. /package/src/assets/icons/{comment-fill.vue → comment-filled.vue} +0 -0
  551. /package/src/assets/icons/{image focus point.vue → image-focus-point.vue} +0 -0
  552. /package/src/assets/icons/{saved-search-fill.vue → saved-search-filled.vue} +0 -0
  553. /package/src/assets/icons/{sidebar-fill.vue → sidebar-filled.vue} +0 -0
  554. /package/src/assets/icons/{video overlay.vue → video-overlay.vue} +0 -0
@@ -5,7 +5,7 @@
5
5
  ```html
6
6
  <!-- SomeComponent.vue using UiDialog -->
7
7
  <template>
8
- <UiDialog v-bind='args'>
8
+ <UiDialog @cancel.prevent v-bind='args'>
9
9
  <template #header>Dialog header</template>
10
10
  Dialog main
11
11
  <template #footer>Dialog footer</template>
@@ -22,29 +22,24 @@
22
22
  ### Props
23
23
 
24
24
 
25
- | Name | Type | Default | Description |
26
- |-----------------|-----------|-----------|----------------------------------------------------------------------------|
27
- | `scrollable` | `Boolean` | `false` | Adds scollability to the componbent, best used with `maxHeight` |
28
- | `maxHeight` | `String` | `""` | Sets the `max-height` style of the Dialog. |
29
- | `maxWidth` | `String` | `"600px"` | Sets the `max-width` style of the Dialog. |
30
- | `roundedBorder` | `Boolean` | `false` | Rounds the edges of the Dialog |
31
- | `hasPaddingY` | `Boolean` | `true` | Sets a vertical padding of the Dialog |
32
- | `hasPaddingX` | `Boolean` | `true` | Sets a horizontal padding of the Dialog |
33
- | `headerClasses` | `String` | `null` | A list of classes for the header slot. |
34
- | `mainClasses` | `String` | `null` | A list of classes for the main slot. |
35
- | `positionTop` | `String` | `50%` | Enter css value for vertical positioning of the Dialog (default is center) |
36
- | `closeOnEsc` | `booelan` | `false%` | The modal closes when ESC-Key is pressed |
25
+ | Name | Type | Default | Description |
26
+ |------------------|-----------|---------|---------------------------------------------------|
27
+ | `hasCloseButton` | `boolean` | `true` | Whether to show the close button |
28
+ | `closeLabel` | `string` | `undefined` | Close button label |
37
29
 
38
- ### Events
39
30
 
40
- | Name | Type | Description |
41
- |---------|--------------|-----------------------------------|
42
- | `close` | none | Emitted when the Dialog is closed |
31
+ ### Exposes
32
+
33
+ | Name | Type | Description |
34
+ |----------------|------|----------------------------------------------------------------------|
35
+ | `close` | none | Exposes the native `close()` function of a `<dialog>` element |
36
+ | `requestClose` | none | Exposes the native `requestClose()` function of a `<dialog>` element |
37
+ | `showModal` | none | Exposes the native `showModal()` function of a `<dialog>` element |
43
38
 
44
39
  ### Slots
45
40
 
46
- | Name | Description |
47
- |-----------|-------------------------------------------|
48
- | `default` | slot for the rendering the main section |
49
- | `header` | slot for the rendering the header section |
50
- | `footer` | slot for the rendering the footer section |
41
+ | Name | Description |
42
+ |-----------|--------------|
43
+ | `default` | Main content |
44
+ | `header` | Header |
45
+ | `footer` | Footer |
@@ -7,11 +7,11 @@ describe("UiDialog", () => {
7
7
  it("renders dialog with default slot content", () => {
8
8
  const wrapper = mount(UiDialog, {
9
9
  slots: {
10
+ header: "Header Slot",
10
11
  default: "Default Slot",
11
12
  },
12
13
  });
13
-
14
- expect(wrapper.find("main").text()).toBe("Default Slot");
14
+ expect(wrapper.text()).toContain("Default Slot");
15
15
  });
16
16
 
17
17
  it("renders dialog with header slot content", () => {
@@ -42,6 +42,7 @@ describe("UiDialog", () => {
42
42
  it("renders dialog with footer slot content", () => {
43
43
  const wrapper = mount(UiDialog, {
44
44
  slots: {
45
+ header: "Header Slot",
45
46
  default: "Default Slot",
46
47
  footer: "Footer Slot",
47
48
  },
@@ -49,112 +50,4 @@ describe("UiDialog", () => {
49
50
 
50
51
  expect(wrapper.find("footer").text()).toBe("Footer Slot");
51
52
  });
52
-
53
- it("has maximum height set if provided through prop", () => {
54
- const wrapper = mount(UiDialog, {
55
- slots: {
56
- default: "Default Slot",
57
- },
58
- props: {
59
- maxHeight: "100px",
60
- },
61
- });
62
-
63
- expect(
64
- wrapper
65
- .find('[data-testid="container"]')
66
- .attributes()
67
- .style.includes("max-height: 100px;"),
68
- ).toBeTruthy();
69
- });
70
-
71
- it("has maximum width set if provided through prop", () => {
72
- const wrapper = mount(UiDialog, {
73
- slots: {
74
- default: "Default Slot",
75
- },
76
- props: {
77
- maxWidth: "700px",
78
- },
79
- });
80
-
81
- expect(
82
- wrapper
83
- .find('[data-testid="container"]')
84
- .attributes()
85
- .style.includes("max-width: 700px;"),
86
- ).toBeTruthy();
87
- });
88
-
89
- it("is scrollable through prop", () => {
90
- const wrapper = mount(UiDialog, {
91
- slots: {
92
- default: "Default Slot",
93
- },
94
- props: {
95
- scrollable: true,
96
- },
97
- });
98
-
99
- expect(wrapper.find('[data-testid="container"]').classes()).toContain(
100
- "overflow-y-auto",
101
- );
102
- });
103
-
104
- it("fires 'close' event when background is clicked", async () => {
105
- const wrapper = mount(UiDialog, {
106
- slots: {
107
- default: "Default Slot",
108
- },
109
- props: {
110
- closeOnClickOutside: true,
111
- },
112
- });
113
- const bg = wrapper.find('[data-testid="background"]');
114
-
115
- await bg.trigger("click");
116
- await wrapper.vm.$nextTick();
117
- expect(wrapper.emitted().close).toBeTruthy();
118
- });
119
-
120
- it("fires 'close' event when close button is clicked", async () => {
121
- const wrapper = mount(UiDialog, {
122
- slots: {
123
- header: "Header Slot",
124
- default: "Default Slot",
125
- },
126
- props: {
127
- hasCloseButton: true,
128
- },
129
- });
130
- const btn = wrapper.find("button");
131
-
132
- await btn.trigger("click");
133
- await wrapper.vm.$nextTick();
134
- expect(wrapper.emitted().close).toBeTruthy();
135
- });
136
-
137
- it("fires 'close' event when esc key is pressed and prop is set", async () => {
138
- // Workaround to make events on `Document` Level work. See: https://test-utils.vuejs.org/api/#attachTo
139
-
140
- document.body.innerHTML = `
141
- <div>
142
- <div id="app"></div>
143
- </div>
144
- `;
145
-
146
- const wrapper = mount(UiDialog, {
147
- attachTo: "#app",
148
- slots: {
149
- header: "Header Slot",
150
- default: "Default Slot",
151
- },
152
- props: {
153
- closeOnEsc: true,
154
- },
155
- });
156
- await wrapper.trigger("keyup.Escape");
157
- await wrapper.vm.$nextTick();
158
- expect(wrapper.emitted().close).toBeTruthy();
159
- });
160
53
  });
@@ -1,54 +1,37 @@
1
1
  import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
- import { action } from "storybook/actions";
2
+ import { useTemplateRef } from "vue";
3
+
4
+ import UiButton from "../UiButton/UiButton.vue";
3
5
 
4
6
  import UiDialog from "./UiDialog.vue";
5
7
 
6
8
  const meta = {
7
9
  title: "Ui/UiDialog",
8
- component: UiDialog,
9
- argTypes: {
10
- scrollable: { control: "boolean" },
11
- roundedBorder: { control: "boolean" },
12
- hasPaddingX: { control: "boolean" },
13
- hasPaddingY: { control: "boolean" },
14
- hasCloseButton: { control: "boolean" },
15
- maxHeight: { control: "text" },
16
- maxWidth: { control: "text" },
17
- headerClasses: { control: "text" },
18
- mainClasses: { control: "text" },
19
- closeOnClickOutside: { control: "boolean" },
20
- positionTop: {
21
- control: "select",
22
- options: ["50%", "20%", "40%"],
23
- },
24
- },
25
10
  args: {
26
- scrollable: false,
27
- roundedBorder: false,
28
- hasPaddingX: true,
29
- hasPaddingY: true,
30
11
  hasCloseButton: true,
31
- maxHeight: "",
32
- maxWidth: "600px",
33
- headerClasses: "",
34
- mainClasses: "",
35
- closeOnClickOutside: true,
36
- positionTop: "50%",
37
12
  },
38
13
  render: (args) => ({
39
14
  setup() {
40
- return { args };
41
- },
42
- components: { UiDialog },
43
- template:
44
- "<UiDialog v-bind='args' @close='close'>" +
45
- "<template #header>Dialog header</template>" +
46
- "Dialog main" +
47
- "<template #footer>Dialog footer</template>" +
48
- "</UiDialog>",
49
- methods: {
50
- close: action("close"),
15
+ const dialog = useTemplateRef<InstanceType<typeof UiDialog>>("dialog");
16
+
17
+ return { args, dialog };
51
18
  },
19
+ components: { UiDialog, UiButton },
20
+ template: /*html*/ `
21
+ <UiButton @click="dialog.showModal()">Show dialog</UiButton>
22
+
23
+ <UiDialog ref="dialog" v-bind="args">
24
+ <template #header>
25
+ <h2>Heading</h2>
26
+ </template>
27
+
28
+ Main content
29
+
30
+ <template #footer>
31
+ Footer
32
+ </template>
33
+ </UiDialog>
34
+ `,
52
35
  }),
53
36
  } satisfies Meta<typeof UiDialog>;
54
37
 
@@ -57,23 +40,31 @@ type Story = StoryObj<typeof meta>;
57
40
 
58
41
  export const Default: Story = {};
59
42
 
60
- export const Scrollable: Story = {
43
+ export const PreventCloseOnEscAndClickOutside: Story = {
61
44
  args: {
62
- scrollable: true,
63
- maxHeight: "100px",
45
+ hasCloseButton: false,
64
46
  },
65
- };
47
+ render: (args) => ({
48
+ setup() {
49
+ const dialog = useTemplateRef<InstanceType<typeof UiDialog>>("dialog");
66
50
 
67
- export const RoundedBorder: Story = {
68
- args: {
69
- roundedBorder: true,
70
- },
71
- };
51
+ return { args, dialog };
52
+ },
53
+ components: { UiDialog, UiButton },
54
+ template: /*html*/ `
55
+ <UiButton @click="dialog.showModal()">Show dialog</UiButton>
72
56
 
73
- export const CustomClasses: Story = {
74
- args: {
75
- headerClasses: "bg-transparent",
76
- mainClasses:
77
- "h-16 flex flex-row justify-center items-center bg-green-night text-white mx-4 rounded-lg",
78
- },
57
+ <UiDialog ref="dialog" v-bind="args" @cancel.prevent>
58
+ <template #header>
59
+ <h2>Heading</h2>
60
+ </template>
61
+
62
+ Main content
63
+
64
+ <template #footer="{ close }">
65
+ <UiButton @click="close()">Submit</UiButton>
66
+ </template>
67
+ </UiDialog>
68
+ `,
69
+ }),
79
70
  };
@@ -1,118 +1,89 @@
1
1
  <template>
2
- <UiOverlay @close="handleClickAway">
3
- <div
4
- :class="{
5
- 'overflow-y-auto': scrollable,
6
- 'rounded-[24px]': roundedBorder,
7
- }"
8
- :style="`
9
- max-height: ${maxHeight};
10
- max-width: ${maxWidth};
11
- top: ${positionTop}
12
- `"
13
- class="fixed bg-white shadow-lg"
14
- data-testid="container"
15
- style="
16
- left: 50%;
17
- transform: translate(-50%, -50%);
18
- width: calc(100% - 2rem);
19
- "
2
+ <dialog
3
+ ref="dialog"
4
+ :class="
5
+ cn(
6
+ 'fixed inset-0 m-auto w-120 rounded-2xl bg-surface-level-1 text-current shadow-lg backdrop:bg-shadow-strong',
7
+ $attrs.class,
8
+ )
9
+ "
10
+ @click.self="dialog?.requestClose()"
11
+ @keydown.esc.prevent="dialog?.requestClose()"
12
+ >
13
+ <header
14
+ v-if="$slots.header || hasCloseButton"
15
+ class="flex flex-wrap items-center justify-between gap-4 rounded-t-2xl bg-neutral-whisper px-4 py-2"
20
16
  >
21
- <header
22
- v-if="$slots.header"
23
- :class="
24
- cn(
25
- 'flex h-12 items-center justify-between bg-gray-100 py-3 pr-2 pl-4 lg:h-14 lg:py-4 lg:pr-3 lg:pl-6',
26
- headerClasses,
27
- { 'rounded-t-[24px]': roundedBorder },
28
- )
29
- "
30
- >
31
- <slot name="header" />
32
- <UiIconButton
33
- v-if="hasCloseButton"
34
- title="Close dialog"
35
- icon-name="close"
36
- background-color="none"
37
- icon-color="gray"
38
- size="medium"
39
- class="hover:bg-gray-400 active:bg-gray-500"
40
- @click="emit('close')"
41
- ></UiIconButton>
42
- </header>
43
- <main
44
- :class="
45
- cn(mainClasses, {
46
- 'px-4 lg:px-6': hasPaddingX,
47
- 'pt-6 pb-3': hasPaddingY,
48
- })
49
- "
50
- >
51
- <slot />
52
- </main>
53
- <footer
54
- v-if="$slots.footer"
55
- class="flex justify-between px-4 py-6 lg:px-6"
17
+ <div v-if="$slots.header" class="text-lg font-semibold">
18
+ <slot name="header" v-bind="{ close, requestClose }" />
19
+ </div>
20
+
21
+ <UiButton
22
+ v-if="hasCloseButton"
23
+ class="ml-auto"
24
+ :aria-label="closeLabel"
25
+ appearance="ghost"
26
+ size="sm"
27
+ @click="close"
56
28
  >
57
- <slot name="footer" />
58
- </footer>
29
+ <UiIcon name="close" />
30
+ </UiButton>
31
+ </header>
32
+
33
+ <div v-if="$slots.default" class="space-y-2 px-4 py-3">
34
+ <slot />
59
35
  </div>
60
- </UiOverlay>
36
+
37
+ <footer
38
+ v-if="$slots.footer"
39
+ class="flex flex-wrap items-center justify-between gap-2 px-4 py-3"
40
+ >
41
+ <slot name="footer" v-bind="{ close, requestClose }" />
42
+ </footer>
43
+ </dialog>
61
44
  </template>
45
+
62
46
  <script setup lang="ts">
63
- import { useEventListener } from "@vueuse/core";
47
+ import { useTemplateRef } from "vue";
64
48
 
65
49
  import { cn } from "../../utils/cn.ts";
66
- import UiIconButton from "../UiIconButton/UiIconButton.vue";
67
- import UiOverlay from "../UiOverlay/UiOverlay.vue";
50
+ import UiButton from "../UiButton/UiButton.vue";
51
+ import UiIcon from "../UiIcon/UiIcon.vue";
52
+
53
+ const dialog = useTemplateRef<HTMLDialogElement>("dialog");
68
54
 
69
- const emit = defineEmits<{
70
- close: [];
55
+ defineSlots<{
56
+ header?: (props: {
57
+ close: typeof close;
58
+ requestClose: typeof requestClose;
59
+ }) => any;
60
+ default?: () => any;
61
+ footer?: (props: {
62
+ close: typeof close;
63
+ requestClose: typeof requestClose;
64
+ }) => any;
71
65
  }>();
72
66
 
73
- const props = withDefaults(
74
- defineProps<{
75
- scrollable?: boolean;
76
- maxWidth?: string;
77
- maxHeight?: string;
78
- roundedBorder?: boolean;
79
- hasPaddingY?: boolean;
80
- hasPaddingX?: boolean;
81
- headerClasses?: string;
82
- mainClasses?: string;
83
- hasCloseButton?: boolean;
84
- closeOnClickOutside?: boolean;
85
- positionTop?: string;
86
- closeOnEsc?: boolean;
87
- }>(),
88
- {
89
- scrollable: false,
90
- maxWidth: "600px",
91
- maxHeight: "",
92
- roundedBorder: false,
93
- hasPaddingY: true,
94
- hasPaddingX: true,
95
- headerClasses: "",
96
- mainClasses: "",
97
- hasCloseButton: false,
98
- closeOnClickOutside: true,
99
- positionTop: "50%",
100
- closeOnEsc: false,
101
- },
102
- );
67
+ const { hasCloseButton = true, closeLabel = undefined } = defineProps<{
68
+ hasCloseButton?: boolean;
69
+ closeLabel?: string;
70
+ }>();
71
+
72
+ function close() {
73
+ dialog.value?.close();
74
+ }
75
+
76
+ function requestClose() {
77
+ dialog.value?.requestClose();
78
+ }
103
79
 
104
- const handleClickAway = () => {
105
- if (props.closeOnClickOutside) {
106
- emit("close");
107
- }
108
- };
109
- const onEscapeKeyUp = (event: KeyboardEvent) => {
110
- if (props.closeOnEsc) {
111
- if (event.key === "Escape") {
112
- emit("close");
113
- }
114
- }
115
- };
80
+ function showModal() {
81
+ dialog.value?.showModal();
82
+ }
116
83
 
117
- useEventListener(document, "keyup", (event) => onEscapeKeyUp(event));
84
+ defineExpose({
85
+ showModal,
86
+ close,
87
+ requestClose,
88
+ });
118
89
  </script>
@@ -5,7 +5,7 @@
5
5
  ```html
6
6
  <!-- SomeComponent.vue using UiFilterBadge -->
7
7
  <template>
8
- <UiFilterBadge color="#123" fill="#456">Text</UiFilterBadge>
8
+ <UiFilterBadge textColor="#333" iconColor="#333">Text</UiFilterBadge>
9
9
  </template>
10
10
 
11
11
  <script>
@@ -17,12 +17,12 @@
17
17
 
18
18
  ### Props
19
19
 
20
- | Name | Type | Default | Description |
21
- |---------------|----------|---------|--------------------------------------------------------------------------------|
22
- | `color` | `String` | `#333` | Sets the color of the text. |
23
- | `fill` | `String` | `#000` | Sets the color of the wrapper and thereby of the icon. |
24
- | `iconMargin` | `String` | `` | Sets the margin beweteen the Icon and the default slot. |
25
- | `isClickable` | `Bolean` | false | If set true, Background color changes when hovered. |
20
+ | Name | Type | Default | Description |
21
+ |----------------|--------------------------------------------------|---------|--------------------------------------------------|
22
+ | `textColor` | `string` | `#000` | Sets the color of the text. |
23
+ | `iconColor` | `string` | `#333` | Sets the color of the icon. |
24
+ | `iconIsFilled` | `boolean` | `true` | If true, renders the filled version of the icon. |
25
+ | `size` | `"sm"`, `"md"`, `"lg"`, or `"xl"` | `"lg"` | Determines the font size and weight. |
26
26
 
27
27
  ### Slots
28
28
 
@@ -2,16 +2,60 @@ import { mount } from "@vue/test-utils";
2
2
  import { describe, expect, it } from "vitest";
3
3
 
4
4
  import UiFilterBadge from "./UiFilterBadge.vue";
5
+
5
6
  describe("UiFilterBadge", () => {
6
7
  it("renders with colors set", () => {
7
8
  const wrapper = mount(UiFilterBadge, {
8
9
  props: {
9
- color: "#000",
10
- fill: "#fff",
10
+ textColor: "#000",
11
+ iconColor: "#fff",
11
12
  },
12
13
  });
13
- expect(wrapper.attributes().style).toBe("color: rgb(255, 255, 255);");
14
+ const icon = wrapper.find(".inline-flex");
15
+ expect(icon.attributes().style).toBe("color: rgb(255, 255, 255);");
14
16
  const innerText = wrapper.find('[data-testid="innerText"]');
15
17
  expect(innerText.attributes().style).toBe("color: rgb(0, 0, 0);");
16
18
  });
19
+
20
+ it("renders large size by default", () => {
21
+ const wrapper = mount(UiFilterBadge);
22
+ const innerText = wrapper.find('[data-testid="innerText"]');
23
+
24
+ expect(innerText.classes("text-lg")).toBe(true);
25
+ expect(innerText.classes("font-medium")).toBe(true);
26
+ expect(innerText.classes("leading-relaxed")).toBe(true);
27
+ });
28
+
29
+ it("renders small size", () => {
30
+ const wrapper = mount(UiFilterBadge, {
31
+ props: { size: "sm" },
32
+ });
33
+ const innerText = wrapper.find('[data-testid="innerText"]');
34
+
35
+ expect(innerText.classes("text-xs")).toBe(true);
36
+ expect(innerText.classes("font-normal")).toBe(true);
37
+ expect(innerText.classes("leading-normal")).toBe(true);
38
+ });
39
+
40
+ it("renders medium size", () => {
41
+ const wrapper = mount(UiFilterBadge, {
42
+ props: { size: "md" },
43
+ });
44
+ const innerText = wrapper.find('[data-testid="innerText"]');
45
+
46
+ expect(innerText.classes("text-sm")).toBe(true);
47
+ expect(innerText.classes("font-medium")).toBe(true);
48
+ expect(innerText.classes("leading-normal")).toBe(true);
49
+ });
50
+
51
+ it("renders xl size", () => {
52
+ const wrapper = mount(UiFilterBadge, {
53
+ props: { size: "xl" },
54
+ });
55
+ const innerText = wrapper.find('[data-testid="innerText"]');
56
+
57
+ expect(innerText.classes("text-2xl")).toBe(true);
58
+ expect(innerText.classes("font-medium")).toBe(true);
59
+ expect(innerText.classes("leading-loose")).toBe(true);
60
+ });
17
61
  });
@@ -7,25 +7,10 @@ import UiFilterBadge from "./UiFilterBadge.vue";
7
7
  const meta = {
8
8
  title: "Ui/UiFilterBadge",
9
9
  component: UiFilterBadge,
10
- argTypes: {
11
- size: {
12
- control: "select",
13
- options: ["small", "medium", "large", "xl"],
14
- },
15
- color: {
16
- control: "color",
17
- },
18
- fill: {
19
- control: "color",
20
- },
21
- iconIsFilled: {
22
- control: "boolean",
23
- },
24
- },
25
10
  args: {
26
- size: "medium",
27
- color: "#666",
28
- fill: "#666",
11
+ size: "md",
12
+ textColor: "#666",
13
+ iconColor: "#666",
29
14
  iconIsFilled: true,
30
15
  },
31
16
  render: (args) => ({