@dpa-id-components/dpa-shared-components 20.0.4 → 20.0.5

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 (472) hide show
  1. package/dist/_plugin-vue_export-helper-CCTR5HVY.js +2770 -0
  2. package/dist/activities-BdgBJTuA.js +17 -0
  3. package/dist/ai-CRKea4DD.js +17 -0
  4. package/dist/alert-73LhoiBH.js +17 -0
  5. package/dist/alert-fill-CtKKZrZO.js +17 -0
  6. package/dist/alert-octagon-BFcCcEQq.js +30 -0
  7. package/dist/apps-BcyMOR4e.js +17 -0
  8. package/dist/archive-CMuBva_u.js +17 -0
  9. package/dist/arrow-down-WJdG351R.js +17 -0
  10. package/dist/arrow-left-H5cUyllC.js +17 -0
  11. package/dist/arrow-nav-left-CvZfWsrk.js +17 -0
  12. package/dist/arrow-nav-right-CUN92-9v.js +17 -0
  13. package/dist/arrow-right-Dai72xIp.js +17 -0
  14. package/dist/arrow-up-D9lAqZA8.js +17 -0
  15. package/dist/arrowhead-left-SJXGjhbq.js +17 -0
  16. package/dist/arrowhead-right-BhZbSG2r.js +17 -0
  17. package/dist/arrowhead-top-BEqJzGKA.js +17 -0
  18. package/dist/atmo-CZCUnUYN.js +17 -0
  19. package/dist/audio-CnSs3MVV.js +17 -0
  20. package/dist/audio-circled-Cku32Yiu.js +14 -0
  21. package/dist/audio-filled-CVOOatbn.js +14 -0
  22. package/dist/bag-Cx7iHwPQ.js +14 -0
  23. package/dist/bell-CwI9Vb62.js +17 -0
  24. package/dist/bell-fill-D-dFYpLV.js +17 -0
  25. package/dist/book-B0ailmur.js +17 -0
  26. package/dist/bookmark-CLdYV4f9.js +19 -0
  27. package/dist/bookmark-fill-wdEWET5w.js +19 -0
  28. package/dist/bookmark-outlined-Dd7PyuTU.js +14 -0
  29. package/dist/box-CfW1bBum.js +17 -0
  30. package/dist/bulb-K8jFZmfR.js +17 -0
  31. package/dist/call-CquDMWn4.js +17 -0
  32. package/dist/camera-CB6fKe82.js +17 -0
  33. package/dist/check-BBMwdc1e.js +17 -0
  34. package/dist/checklist-Df5fhkTx.js +17 -0
  35. package/dist/checkmark-Bk3th8aU.js +17 -0
  36. package/dist/checkmark-double-JBEWrsse.js +17 -0
  37. package/dist/chevron-down-Sq-Omasi.js +17 -0
  38. package/dist/chevron-left-ka3w4LWP.js +17 -0
  39. package/dist/chevron-right-DmvJo-Nn.js +17 -0
  40. package/dist/chevron-up-DakU_cBn.js +17 -0
  41. package/dist/clipboard-DyMMjIVc.js +17 -0
  42. package/dist/clock-CtkOHG1g.js +17 -0
  43. package/dist/close-DjFVZt2u.js +17 -0
  44. package/dist/cloud-save-acm4FjOr.js +17 -0
  45. package/dist/code-BJgY-9g3.js +17 -0
  46. package/dist/collapse-CalQPYhZ.js +17 -0
  47. package/dist/color-palette-DRN9z5Vz.js +12 -0
  48. package/dist/comment-CWIccK83.js +17 -0
  49. package/dist/comment-fill-BVza8Jz-.js +17 -0
  50. package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +1 -3
  51. package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2 -6
  52. package/dist/copy-Bk8cFSbJ.js +18 -0
  53. package/dist/copy-link-DOfXU7RD.js +17 -0
  54. package/dist/delete-DsugmFOu.js +17 -0
  55. package/dist/download-BeWUwd0y.js +17 -0
  56. package/dist/dpa-id-Ly2f4-Kw.js +17 -0
  57. package/dist/dpa-shared-components.js +16034 -46
  58. package/dist/edit-D69xOR64.js +17 -0
  59. package/dist/edit-add-C5WDTIjN.js +17 -0
  60. package/dist/eil-Cb4014LI.js +17 -0
  61. package/dist/emoji-D72nL3d1.js +17 -0
  62. package/dist/emoji-add-BrzLAJ3E.js +17 -0
  63. package/dist/envelope-kda2hV7_.js +15 -0
  64. package/dist/event-8phFSDv9.js +12 -0
  65. package/dist/expand-BtinEH3A.js +17 -0
  66. package/dist/external-link-CNYm-GlZ.js +17 -0
  67. package/dist/file-BOEeXxXs.js +17 -0
  68. package/dist/file-pdf-DJaalWDa.js +17 -0
  69. package/dist/filter-BjVZbhND.js +17 -0
  70. package/dist/filter-outline-BoEVSezK.js +15 -0
  71. package/dist/flag-DgOeofob.js +17 -0
  72. package/dist/flag-fill-BVhHWhiP.js +17 -0
  73. package/dist/flag-filled-CTSdIBWY.js +17 -0
  74. package/dist/flag-outline-BgYyW8nX.js +17 -0
  75. package/dist/flags-CMwN4aB0.js +18 -0
  76. package/dist/flash-BhAeSS1k.js +17 -0
  77. package/dist/folder-D79ZQ9RA.js +17 -0
  78. package/dist/folder-add-Ya2GcM-i.js +17 -0
  79. package/dist/folder-fill-Ca6bXRw-.js +17 -0
  80. package/dist/folder-filled-BBR8bJQL.js +17 -0
  81. package/dist/gallery-CsCgah-Q.js +20 -0
  82. package/dist/graphic-CZ1VEgbk.js +17 -0
  83. package/dist/graphic-circled-BYvbiPFv.js +14 -0
  84. package/dist/graphic-filled-B640yZW1.js +14 -0
  85. package/dist/graphics-DOD41Q2b.js +20 -0
  86. package/dist/grid-1-reX52mXX.js +17 -0
  87. package/dist/grid-2-biGoKZET.js +17 -0
  88. package/dist/grid-3-B8ccFfrT.js +17 -0
  89. package/dist/grid-4-CqTE5F_g.js +17 -0
  90. package/dist/grid-6-DbKV_eBX.js +17 -0
  91. package/dist/grid-9-CTSAZ4UT.js +17 -0
  92. package/dist/grid-masonry-9-CKioEJuZ.js +18 -0
  93. package/dist/grid-masonry-B593q1l6.js +17 -0
  94. package/dist/help-DiKackos.js +17 -0
  95. package/dist/home-Do4YF4Dd.js +17 -0
  96. package/dist/image focus point-C0vK6FzN.js +17 -0
  97. package/dist/image-BWGxTMMW.js +17 -0
  98. package/dist/impact-high-DdaQcLOu.js +17 -0
  99. package/dist/impact-low-zbvAdhZ1.js +17 -0
  100. package/dist/impact-medium-BhfzSQAK.js +17 -0
  101. package/dist/impact-very-high-qcPfp2yw.js +17 -0
  102. package/dist/impact-very-low-Dz86WvEI.js +17 -0
  103. package/dist/info-9llr8kqZ.js +17 -0
  104. package/dist/info-fill-DvyOjyX-.js +17 -0
  105. package/dist/info-filled-c2KLORVR.js +17 -0
  106. package/dist/label-DRVpH3Zf.js +17 -0
  107. package/dist/label-filled-CTReJE3_.js +17 -0
  108. package/dist/language-CaK3obhv.js +17 -0
  109. package/dist/latest-Bh5w8w2R.js +17 -0
  110. package/dist/lightbulb-D55X29rD.js +15 -0
  111. package/dist/list-Dm0wrpKz.js +17 -0
  112. package/dist/list-search-BWPAGqHW.js +21 -0
  113. package/dist/lock-Bair96dL.js +17 -0
  114. package/dist/lock-filled-BNZJ0waC.js +17 -0
  115. package/dist/mail-Mn2wq1aV.js +17 -0
  116. package/dist/map-D1irc7wN.js +17 -0
  117. package/dist/map-outline-B00hms9f.js +17 -0
  118. package/dist/menu-CVkyyeDW.js +17 -0
  119. package/dist/minus-B89-4r0W.js +17 -0
  120. package/dist/more-horizontal-BOq3UKiU.js +17 -0
  121. package/dist/more-vertical-CJOSDU6R.js +17 -0
  122. package/dist/move-B7GHCUbm.js +17 -0
  123. package/dist/move-up-down-Ch8L5sZC.js +17 -0
  124. package/dist/navigation-BTddw232.js +17 -0
  125. package/dist/note-BvnqgyHg.js +17 -0
  126. package/dist/offline-YOyb2Tfr.js +17 -0
  127. package/dist/package-Ckm27fjL.js +17 -0
  128. package/dist/paper-plane-BttsgNjZ.js +17 -0
  129. package/dist/paperplane-BqxbaXXQ.js +17 -0
  130. package/dist/pause-Du648vV9.js +17 -0
  131. package/dist/pause-circle-C0ua224p.js +18 -0
  132. package/dist/pdf-Ddg3TU0B.js +17 -0
  133. package/dist/pen-CQhBRQVg.js +14 -0
  134. package/dist/pen-check-BZme3WMH.js +14 -0
  135. package/dist/people-COXR5CoD.js +17 -0
  136. package/dist/phone-BauDKm-k.js +17 -0
  137. package/dist/picture-C3UMrriC.js +17 -0
  138. package/dist/picture-circled-DBlYCjnY.js +14 -0
  139. package/dist/picture-filled-O2z4--dy.js +14 -0
  140. package/dist/picture-gallery-C9c2zcxU.js +15 -0
  141. package/dist/pin-BMODlehD.js +17 -0
  142. package/dist/planning-Dtx9YzGr.js +17 -0
  143. package/dist/play-C5cuKZV0.js +17 -0
  144. package/dist/play-circle-CL5tEg9v.js +17 -0
  145. package/dist/play-fill-DSV0DW-T.js +17 -0
  146. package/dist/plus-DCPlMZXW.js +17 -0
  147. package/dist/plus-circle-DjR4qFC0.js +17 -0
  148. package/dist/print-DXBUPTFP.js +17 -0
  149. package/dist/refresh-BcwO7Jw6.js +17 -0
  150. package/dist/reset-B1yR8nzO.js +17 -0
  151. package/dist/responsive-DGZkLyEW.js +18 -0
  152. package/dist/rubix-thema-CCIj5kn3.js +17 -0
  153. package/dist/save-DvQxrVk-.js +17 -0
  154. package/dist/saved-search-BDu5PZQb.js +18 -0
  155. package/dist/saved-search-fill-BffgdGo8.js +20 -0
  156. package/dist/search-CXfaMRZ9.js +17 -0
  157. package/dist/settings-D7xABZln.js +17 -0
  158. package/dist/share-BQm_gGv6.js +17 -0
  159. package/dist/share-alternative-C4HzRC3B.js +17 -0
  160. package/dist/sidebar-CwFxeKOh.js +14 -0
  161. package/dist/sidebar-fill-BcquZLLX.js +18 -0
  162. package/dist/slack-CIhJ-_vs.js +17 -0
  163. package/dist/slider-config-5UwhkENY.js +17 -0
  164. package/dist/spellcheck-ClGD2dI8.js +17 -0
  165. package/dist/spinner-Ds5nod21.js +12 -0
  166. package/dist/standard-view-hRZ2UVqX.js +14 -0
  167. package/dist/star-DC_rTR6e.js +17 -0
  168. package/dist/star-fill-B10bjB48.js +17 -0
  169. package/dist/star-filled-BISydRRE.js +14 -0
  170. package/dist/stop-D6NZK5EY.js +17 -0
  171. package/dist/story-B3kiPLs0.js +17 -0
  172. package/dist/style.css +3 -1
  173. package/dist/sync-B5v_sNSB.js +17 -0
  174. package/dist/tasks-COvP7FSq.js +17 -0
  175. package/dist/text--clKJFHw.js +17 -0
  176. package/dist/text-circled-hElWfl5W.js +14 -0
  177. package/dist/text-filled-BpflMH5s.js +14 -0
  178. package/dist/thumbs-down-BD3Dkcr3.js +18 -0
  179. package/dist/thumbs-up-A2jkWz64.js +18 -0
  180. package/dist/thumbs-up-double-Dm7agvTj.js +18 -0
  181. package/dist/topic-CXey3AGT.js +17 -0
  182. package/dist/union-DZ2yepXw.js +12 -0
  183. package/dist/upload-DPdFqQB3.js +17 -0
  184. package/dist/user-need-divert-me-DF4rOe6s.js +17 -0
  185. package/dist/user-need-educate-me-ClLznwAg.js +19 -0
  186. package/dist/user-need-give-me-perspective-BfI5mb08.js +19 -0
  187. package/dist/user-need-help-me-D-lptTdN.js +17 -0
  188. package/dist/user-need-touch-me-CikvxxHD.js +19 -0
  189. package/dist/user-need-update-me-Ua4YV9Bs.js +19 -0
  190. package/dist/video overlay-cYzYa_B7.js +18 -0
  191. package/dist/video-CydfS_mz.js +17 -0
  192. package/dist/video-circled-DcD57AXc.js +14 -0
  193. package/dist/video-filled-oePCRIdo.js +14 -0
  194. package/dist/video-rounded-DCwst-WS.js +17 -0
  195. package/dist/view-CJdB2aJG.js +17 -0
  196. package/dist/view-off-gIw--Mbm.js +17 -0
  197. package/dist/volume-up-BhnS1V_P.js +17 -0
  198. package/package.json +35 -34
  199. package/dist/activities-BItpQmgu.js +0 -20
  200. package/dist/ai-Cm-McnBH.js +0 -20
  201. package/dist/alert-CeNEDpNt.js +0 -20
  202. package/dist/alert-fill-B0lRoaWM.js +0 -20
  203. package/dist/alert-octagon-BtQ73AEv.js +0 -31
  204. package/dist/apps-3kanACUQ.js +0 -20
  205. package/dist/archive-BljHECFA.js +0 -20
  206. package/dist/arrow-down-DJrB41KO.js +0 -20
  207. package/dist/arrow-left-BlUIcxAU.js +0 -20
  208. package/dist/arrow-nav-left-CcAp6o1c.js +0 -20
  209. package/dist/arrow-nav-right-ChEgRnxR.js +0 -20
  210. package/dist/arrow-right-hFJWtGpW.js +0 -20
  211. package/dist/arrow-up-BoNu3zd0.js +0 -20
  212. package/dist/arrowhead-left-DzhUups0.js +0 -20
  213. package/dist/arrowhead-right-hOUHo-YZ.js +0 -20
  214. package/dist/arrowhead-top-BeOX6ksz.js +0 -20
  215. package/dist/atmo-BtgYN91U.js +0 -20
  216. package/dist/audio-CAvvwUTx.js +0 -20
  217. package/dist/audio-circled-DM6htApH.js +0 -17
  218. package/dist/audio-filled-BXiHsP80.js +0 -17
  219. package/dist/bag-BZRsjSsd.js +0 -17
  220. package/dist/bell-CQCER096.js +0 -20
  221. package/dist/bell-fill-aChKJgaN.js +0 -20
  222. package/dist/book-BfrnlAs2.js +0 -20
  223. package/dist/bookmark-fill-DYBFy3FW.js +0 -22
  224. package/dist/bookmark-outlined-DOp0JsCL.js +0 -17
  225. package/dist/bookmark-xnF8plDG.js +0 -22
  226. package/dist/box-B6Lnf6yN.js +0 -20
  227. package/dist/bulb-DPa9HFJb.js +0 -20
  228. package/dist/call-B4640D07.js +0 -20
  229. package/dist/camera-CyqvGu-X.js +0 -20
  230. package/dist/check-tjLCS8ah.js +0 -20
  231. package/dist/checklist-C1vs7uDD.js +0 -20
  232. package/dist/checkmark-BkHI2bPJ.js +0 -20
  233. package/dist/checkmark-double-DKplMifO.js +0 -20
  234. package/dist/chevron-down-B85CwGxm.js +0 -20
  235. package/dist/chevron-left-C5QInvBD.js +0 -20
  236. package/dist/chevron-right-B-sgzAMS.js +0 -20
  237. package/dist/chevron-up-CFbWy45T.js +0 -20
  238. package/dist/clipboard-erPeA7gV.js +0 -20
  239. package/dist/clock-HNp3vlXY.js +0 -20
  240. package/dist/close-CJsVHi5R.js +0 -20
  241. package/dist/cloud-save-CDIObB0m.js +0 -20
  242. package/dist/code-BaTx6VgJ.js +0 -20
  243. package/dist/collapse-Bu-la6pV.js +0 -20
  244. package/dist/color-palette-5lvAAh6s.js +0 -15
  245. package/dist/comment-D9LJbeJY.js +0 -20
  246. package/dist/comment-fill-CQbUt74m.js +0 -20
  247. package/dist/copy-DHZyUbu5.js +0 -21
  248. package/dist/copy-link-DC8ws5K6.js +0 -20
  249. package/dist/delete-CulWxG6U.js +0 -20
  250. package/dist/download-CY5ylIrl.js +0 -20
  251. package/dist/dpa-id-DfuiGjf8.js +0 -20
  252. package/dist/edit-Btq4PiyA.js +0 -20
  253. package/dist/edit-add-dYbZZg6Z.js +0 -20
  254. package/dist/eil-BMXQ81LW.js +0 -20
  255. package/dist/emoji-Dnw_XYtb.js +0 -20
  256. package/dist/emoji-add-CoqMT2d_.js +0 -20
  257. package/dist/envelope-C6CaSbaP.js +0 -18
  258. package/dist/event-Dkhccm3A.js +0 -15
  259. package/dist/expand-Bv9IkLSc.js +0 -20
  260. package/dist/external-link-CLEA77I8.js +0 -20
  261. package/dist/file-DHHTCstj.js +0 -20
  262. package/dist/file-pdf-C82NVnIR.js +0 -20
  263. package/dist/filter-RnJPmv5W.js +0 -20
  264. package/dist/filter-outline-BMhNcOjm.js +0 -18
  265. package/dist/flag-BGkR4y9r.js +0 -20
  266. package/dist/flag-fill-Cwp8qe4S.js +0 -20
  267. package/dist/flag-filled-OAouKGWM.js +0 -20
  268. package/dist/flag-outline-Csddk9b3.js +0 -20
  269. package/dist/flags-DJiaaTsJ.js +0 -21
  270. package/dist/flash-CbboXKSe.js +0 -20
  271. package/dist/folder-CPN99zt8.js +0 -20
  272. package/dist/folder-add-B2rylsZk.js +0 -20
  273. package/dist/folder-fill-D4MUcS9N.js +0 -20
  274. package/dist/folder-filled-DHorFePq.js +0 -20
  275. package/dist/gallery-D4khnFKk.js +0 -24
  276. package/dist/graphic-ZC08BYzB.js +0 -20
  277. package/dist/graphic-circled-Df_ai6ku.js +0 -17
  278. package/dist/graphic-filled-BmrVF-pv.js +0 -17
  279. package/dist/graphics-D0ui2HZx.js +0 -24
  280. package/dist/grid-1-DeWEtrkk.js +0 -20
  281. package/dist/grid-2-CuKDAFUl.js +0 -20
  282. package/dist/grid-3-BLAmNgRJ.js +0 -20
  283. package/dist/grid-4-woVUU82i.js +0 -20
  284. package/dist/grid-6-CHRSrKJp.js +0 -20
  285. package/dist/grid-9-Dfl31Px5.js +0 -20
  286. package/dist/grid-masonry-9-B3OsdmhD.js +0 -21
  287. package/dist/grid-masonry-Cg9q2utv.js +0 -20
  288. package/dist/help-DTdd0ykb.js +0 -20
  289. package/dist/home-DgxUY3p0.js +0 -20
  290. package/dist/image focus point-D-_ag0R8.js +0 -20
  291. package/dist/image-D2o2jVS5.js +0 -20
  292. package/dist/impact-high-CAymdpYb.js +0 -20
  293. package/dist/impact-low-B0kQ1t4M.js +0 -20
  294. package/dist/impact-medium-WQkSUYFE.js +0 -20
  295. package/dist/impact-very-high-Bax2oVUR.js +0 -20
  296. package/dist/impact-very-low-BisbtKNk.js +0 -20
  297. package/dist/index-FTIb4npT.js +0 -17334
  298. package/dist/info-7KOMvxG9.js +0 -20
  299. package/dist/info-fill-EhuXRegE.js +0 -20
  300. package/dist/info-filled-D4JSH75t.js +0 -20
  301. package/dist/label-BOdJOAEk.js +0 -20
  302. package/dist/label-filled-BJsmesWI.js +0 -20
  303. package/dist/language-BvPA9B-P.js +0 -20
  304. package/dist/latest-Cb0lZ51k.js +0 -20
  305. package/dist/lightbulb-BhsWvG79.js +0 -18
  306. package/dist/list-DIA_xSrW.js +0 -20
  307. package/dist/list-search-Cd5lAh3z.js +0 -24
  308. package/dist/lock-BjBh9xdV.js +0 -20
  309. package/dist/lock-filled-Cw1pdiYT.js +0 -20
  310. package/dist/mail-C5rOL6ma.js +0 -20
  311. package/dist/map-24b5cjks.js +0 -20
  312. package/dist/map-outline-Di6SwDbX.js +0 -20
  313. package/dist/menu-DHsNM25j.js +0 -20
  314. package/dist/minus-DLLbROT1.js +0 -20
  315. package/dist/more-horizontal-CECOIkzS.js +0 -20
  316. package/dist/more-vertical-BynEXacr.js +0 -20
  317. package/dist/move-KyQyjK1S.js +0 -20
  318. package/dist/move-up-down-Cl5YMexv.js +0 -20
  319. package/dist/navigation-BLPUzjIN.js +0 -20
  320. package/dist/note-xYT6Onhw.js +0 -20
  321. package/dist/offline-ChQ2GNd-.js +0 -20
  322. package/dist/package-CmvTfPkU.js +0 -20
  323. package/dist/paper-plane-D0T_T5k_.js +0 -20
  324. package/dist/paperplane-CxotJOj1.js +0 -20
  325. package/dist/pause-DQX0PgeI.js +0 -20
  326. package/dist/pause-circle-2Lg4OC8Q.js +0 -21
  327. package/dist/pdf-BYYJ6Zpx.js +0 -20
  328. package/dist/pen-check-BnVWEQjz.js +0 -17
  329. package/dist/pen-hayXQXvR.js +0 -17
  330. package/dist/people-D7JKtqgr.js +0 -20
  331. package/dist/phone-B263YkYF.js +0 -20
  332. package/dist/picture-C-5o9qUA.js +0 -20
  333. package/dist/picture-circled-BfcNmWrH.js +0 -17
  334. package/dist/picture-filled-CAC9tCtZ.js +0 -17
  335. package/dist/picture-gallery-DwAT1Un5.js +0 -18
  336. package/dist/pin-ClEXsc0J.js +0 -20
  337. package/dist/planning-DOC1SfXc.js +0 -20
  338. package/dist/play-C0Q_8jaM.js +0 -20
  339. package/dist/play-circle-D1OKVogh.js +0 -20
  340. package/dist/play-fill-6ECJcrdN.js +0 -20
  341. package/dist/plus-C5LYepTU.js +0 -20
  342. package/dist/plus-circle-DqSgdoYW.js +0 -20
  343. package/dist/print-BZFLujFQ.js +0 -20
  344. package/dist/refresh-BDDuB36q.js +0 -20
  345. package/dist/reset-D7sQDNlF.js +0 -20
  346. package/dist/responsive-D9hU_U46.js +0 -21
  347. package/dist/rubix-thema-DwfXRtD3.js +0 -20
  348. package/dist/save-BaD6lzpj.js +0 -20
  349. package/dist/saved-search-B2cqEjaa.js +0 -21
  350. package/dist/saved-search-fill-C1_VogBI.js +0 -23
  351. package/dist/search-Btkc6aCH.js +0 -20
  352. package/dist/settings-CV3WEvQP.js +0 -20
  353. package/dist/share-BLT7lJcU.js +0 -20
  354. package/dist/share-alternative-B8N-l7ua.js +0 -20
  355. package/dist/sidebar-B9fZ29fM.js +0 -17
  356. package/dist/sidebar-fill-DlibY31h.js +0 -21
  357. package/dist/slack-Bc5o9mQu.js +0 -20
  358. package/dist/slider-config-CKo8jjgh.js +0 -20
  359. package/dist/spellcheck-CUIbR59I.js +0 -20
  360. package/dist/spinner-D8qUAVRx.js +0 -15
  361. package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +0 -123
  362. package/dist/src/components/DpaMediaItem/DpaMediaItem.stories.ts +0 -140
  363. package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +0 -39
  364. package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +0 -46
  365. package/dist/src/components/UiBadge/UiBadge.spec.ts +0 -32
  366. package/dist/src/components/UiBadge/UiBadge.stories.ts +0 -80
  367. package/dist/src/components/UiButton/UiButton.spec.ts +0 -136
  368. package/dist/src/components/UiButton/UiButton.stories.ts +0 -57
  369. package/dist/src/components/UiButtonGroup/UiButtonGroup.spec.ts +0 -16
  370. package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +0 -50
  371. package/dist/src/components/UiCard/UiCard.spec.ts +0 -16
  372. package/dist/src/components/UiCard/UiCard.stories.ts +0 -30
  373. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +0 -67
  374. package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +0 -59
  375. package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +0 -173
  376. package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +0 -99
  377. package/dist/src/components/UiChip/UiChip.spec.ts +0 -75
  378. package/dist/src/components/UiChip/UiChip.stories.ts +0 -39
  379. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.spec.ts +0 -21
  380. package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +0 -66
  381. package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +0 -52
  382. package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +0 -44
  383. package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +0 -335
  384. package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +0 -273
  385. package/dist/src/components/UiDialog/UiDialog.spec.ts +0 -160
  386. package/dist/src/components/UiDialog/UiDialog.stories.ts +0 -79
  387. package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +0 -17
  388. package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +0 -44
  389. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +0 -41
  390. package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +0 -55
  391. package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +0 -79
  392. package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +0 -88
  393. package/dist/src/components/UiIcon/IconOverview.stories.vue +0 -23
  394. package/dist/src/components/UiIcon/UiIcon.spec.ts +0 -56
  395. package/dist/src/components/UiIcon/UiIcon.stories.ts +0 -48
  396. package/dist/src/components/UiIconButton/UiIconButton.spec.ts +0 -78
  397. package/dist/src/components/UiIconButton/UiIconButton.stories.ts +0 -63
  398. package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +0 -43
  399. package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +0 -56
  400. package/dist/src/components/UiInput/UiInput.spec.ts +0 -239
  401. package/dist/src/components/UiInput/UiInput.stories.ts +0 -127
  402. package/dist/src/components/UiList/UiList.spec.ts +0 -22
  403. package/dist/src/components/UiList/UiList.stories.ts +0 -64
  404. package/dist/src/components/UiListItem/UiListItem.spec.ts +0 -99
  405. package/dist/src/components/UiListItem/UiListItem.stories.ts +0 -83
  406. package/dist/src/components/UiMenu/UiMenu.spec.ts +0 -319
  407. package/dist/src/components/UiMenu/UiMenu.stories.ts +0 -634
  408. package/dist/src/components/UiOverlay/UiOverlay.spec.ts +0 -16
  409. package/dist/src/components/UiOverlay/UiOverlay.stories.ts +0 -22
  410. package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +0 -32
  411. package/dist/src/components/UiOverlayMenu/UiOverlayMenu.stories.ts +0 -39
  412. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +0 -66
  413. package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +0 -70
  414. package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +0 -82
  415. package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +0 -191
  416. package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +0 -45
  417. package/dist/src/components/UiSearchInput/UiSearchInput.stories.ts +0 -61
  418. package/dist/src/components/UiSection/UiSection.spec.ts +0 -49
  419. package/dist/src/components/UiSection/UiSection.stories.ts +0 -61
  420. package/dist/src/components/UiSectionDivider/UiSectionDivider.spec.ts +0 -19
  421. package/dist/src/components/UiSectionDivider/UiSectionDivider.stories.ts +0 -48
  422. package/dist/src/components/UiSelect/UIiSelect.spec.ts +0 -102
  423. package/dist/src/components/UiSelect/UiSelect.stories.ts +0 -94
  424. package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +0 -58
  425. package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +0 -53
  426. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +0 -15
  427. package/dist/src/components/UiSkeletonBox/UiSkeletonBox.stories.ts +0 -33
  428. package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +0 -63
  429. package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +0 -65
  430. package/dist/src/components/UiSpinner/UiSpinner.spec.ts +0 -30
  431. package/dist/src/components/UiSpinner/UiSpinner.stories.ts +0 -48
  432. package/dist/src/components/UiTextButton/UiTextButton.spec.ts +0 -99
  433. package/dist/src/components/UiTextButton/UiTextButton.stories.ts +0 -60
  434. package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +0 -89
  435. package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +0 -102
  436. package/dist/src/components/UiTooltip/UiTooltip.spec.ts +0 -139
  437. package/dist/src/components/UiTooltip/UiTooltip.stories.ts +0 -107
  438. package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.ts +0 -23
  439. package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +0 -12
  440. package/dist/src/utils/index.spec.ts +0 -12
  441. package/dist/standard-view-Dxki5peq.js +0 -17
  442. package/dist/star-C1PxgOY0.js +0 -20
  443. package/dist/star-fill-Cu3OHX26.js +0 -20
  444. package/dist/star-filled-DwmVr3-K.js +0 -17
  445. package/dist/stop-a1HFFTYT.js +0 -20
  446. package/dist/story-cFfb6U5M.js +0 -20
  447. package/dist/sync-ByhHAcxn.js +0 -20
  448. package/dist/tailwindPreset.css +0 -126
  449. package/dist/tasks-WqVhK72A.js +0 -20
  450. package/dist/text-BQOEfeLD.js +0 -20
  451. package/dist/text-circled-8j2qlDjm.js +0 -17
  452. package/dist/text-filled-BmOtGCqw.js +0 -17
  453. package/dist/thumbs-down-CW3Ywvkl.js +0 -21
  454. package/dist/thumbs-up-DWPn4wB4.js +0 -21
  455. package/dist/thumbs-up-double-BGxmp3wM.js +0 -21
  456. package/dist/topic-Pwsjr-3w.js +0 -20
  457. package/dist/union-C0vaSL4Q.js +0 -15
  458. package/dist/upload-vCj_y1u9.js +0 -20
  459. package/dist/user-need-divert-me-BqXB1SHR.js +0 -20
  460. package/dist/user-need-educate-me-CcVzldYQ.js +0 -22
  461. package/dist/user-need-give-me-perspective-YQOka8w_.js +0 -22
  462. package/dist/user-need-help-me-ZhNnC_tG.js +0 -20
  463. package/dist/user-need-touch-me-CiRqMVvW.js +0 -22
  464. package/dist/user-need-update-me-6FCFz2fV.js +0 -22
  465. package/dist/video overlay-Cm961qqr.js +0 -21
  466. package/dist/video-Dpca01fw.js +0 -20
  467. package/dist/video-circled-D8SYUhIb.js +0 -17
  468. package/dist/video-filled-ejKuMtRA.js +0 -17
  469. package/dist/video-rounded-CgPpiIhC.js +0 -20
  470. package/dist/view-CtVEr5Rx.js +0 -20
  471. package/dist/view-off-BQketQe9.js +0 -20
  472. package/dist/volume-up-Ds4vlnwd.js +0 -20
@@ -1,39 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
-
3
- import UiList from "../UiList/UiList.vue";
4
- import UiListItem from "../UiListItem/UiListItem.vue";
5
- import UiOverlayMenu from "./UiOverlayMenu.vue";
6
-
7
- const meta = {
8
- title: "Ui/UiOverlayMenu",
9
- component: UiOverlayMenu,
10
- subcomponents: { UiList, UiListItem },
11
- argTypes: {
12
- isOpen: {
13
- control: "boolean",
14
- },
15
- },
16
- args: {
17
- isOpen: true,
18
- },
19
- render: (args) => ({
20
- setup() {
21
- return { args };
22
- },
23
- components: { UiOverlayMenu, UiList, UiListItem },
24
- template:
25
- "<UiOverlayMenu v-bind='args'>" +
26
- "<UiList>" +
27
- "<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
28
- "<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
29
- "<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
30
- "</UiList>" +
31
- "</UiOverlayMenu>",
32
- }),
33
- tags: ["deprecated"],
34
- } satisfies Meta<typeof UiOverlayMenu>;
35
-
36
- export default meta;
37
- type Story = StoryObj<typeof meta>;
38
-
39
- export const Default: Story = {};
@@ -1,66 +0,0 @@
1
- import { mount } from "@vue/test-utils";
2
- import { describe, expect, it } from "vitest";
3
-
4
- import UiRadioInput from "./UiRadioInputGroup.vue";
5
-
6
- describe("UiRadioInput", () => {
7
- it("renders UiRadioInputGroup with props content", () => {
8
- const wrapper = mount(UiRadioInput, {
9
- props: {
10
- options: [
11
- {
12
- label: "default name",
13
- selected: false,
14
- value: "default value",
15
- },
16
- ],
17
- groupName: "Options",
18
- },
19
- });
20
- expect(wrapper.text()).toBe("default name");
21
- });
22
-
23
- it("should click change value", async () => {
24
- const wrapper = mount(UiRadioInput, {
25
- props: {
26
- modelValue: "default value",
27
- "onUpdate:modelValue": (e) => wrapper.setProps({ modelValue: e }),
28
- options: [
29
- {
30
- label: "default name",
31
- selected: true,
32
- value: "default value",
33
- },
34
- {
35
- label: "second option",
36
- selected: false,
37
- value: "second option",
38
- },
39
- ],
40
- groupName: "Options",
41
- },
42
- });
43
-
44
- await wrapper.find("input[value='second option']").setValue(true);
45
- expect(wrapper.props("modelValue")).toBe("second option");
46
- });
47
-
48
- it("renders attributes on correct element", () => {
49
- const wrapper = mount(UiRadioInput, {
50
- props: {
51
- options: [],
52
- groupName: "",
53
- id: "id",
54
- class: "testClass gap-8",
55
- "data-testid": "testId",
56
- },
57
- });
58
-
59
- const root = wrapper.find(":first-child");
60
- expect(root.attributes("id")).toBe("id");
61
- expect(root.element.classList.contains("testClass")).toBe(true);
62
- expect(root.element.classList.contains("gap-4")).toBe(false);
63
- expect(root.element.classList.contains("gap-8")).toBe(true);
64
- expect(root.attributes("data-testid")).toBe("testId");
65
- });
66
- });
@@ -1,70 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
- import { action } from "storybook/actions";
3
-
4
- import UiRadioInputGroup from "./UiRadioInputGroup.vue";
5
-
6
- const meta = {
7
- title: "Ui/UiRadioInputGroup",
8
- // @ts-expect-error generic components seem to cause type issues here that aren't easy to solve
9
- component: UiRadioInputGroup,
10
- argTypes: {
11
- options: {
12
- control: "object",
13
- },
14
- variant: {
15
- control: "select",
16
- options: ["blue", "gray"],
17
- },
18
- size: {
19
- control: "select",
20
- options: ["small", "medium"],
21
- },
22
- direction: {
23
- control: "select",
24
- options: ["horizontal", "vertical"],
25
- },
26
- disabled: { control: "boolean" },
27
- groupName: { control: "text" },
28
- class: { control: "text" },
29
- },
30
- args: {
31
- options: [
32
- {
33
- label: "Option A",
34
- value: "value 1",
35
- selected: true,
36
- },
37
- {
38
- label: "Option B",
39
- value: "value 2",
40
- selected: false,
41
- },
42
- {
43
- label: "Option C",
44
- value: "value 3",
45
- selected: false,
46
- },
47
- ],
48
- variant: "blue",
49
- size: "medium",
50
- direction: "horizontal",
51
- disabled: false,
52
- groupName: "default",
53
- },
54
- render: (args) => ({
55
- setup() {
56
- return { args };
57
- },
58
- components: { UiRadioInputGroup },
59
- template:
60
- "<UiRadioInputGroup v-bind='args' @input='input'></UiRadioInputGroup>",
61
- methods: { input: action("input") },
62
- }),
63
- tags: ["deprecated"],
64
- } satisfies Meta<typeof UiRadioInputGroup>;
65
-
66
- export default meta;
67
- type Story = StoryObj<typeof meta>;
68
- // TODO: Remove this again once possible.
69
- // @ts-ignore Bogus TypeScript error
70
- export const Default: Story = {};
@@ -1,82 +0,0 @@
1
- import { type ComponentMountingOptions, mount } from "@vue/test-utils";
2
- import { describe, expect, it } from "vitest";
3
-
4
- import UiSearchBar from "./UiSearchBar.vue";
5
-
6
- function createWrapper(
7
- options: ComponentMountingOptions<typeof UiSearchBar> = {},
8
- ) {
9
- return mount(UiSearchBar, {
10
- ...options,
11
- });
12
- }
13
-
14
- describe("UiSearchBar", () => {
15
- it("renders the placeholder", () => {
16
- const placeholder = "Example query";
17
- const wrapper = createWrapper({ props: { placeholder } });
18
-
19
- const textInput = wrapper.find("input");
20
- expect(textInput.element.placeholder).toBe(placeholder);
21
- });
22
-
23
- it("renders the value", async () => {
24
- const wrapper = createWrapper();
25
-
26
- const searchQuery = "Ein Suchbegriff";
27
- const textInput = wrapper.find("input");
28
- await textInput.setValue(searchQuery);
29
- expect(wrapper.emitted()["update:modelValue"]).toBeTruthy();
30
- expect(textInput.element.value).toBe(searchQuery);
31
- });
32
-
33
- it("emits focus event", async () => {
34
- const wrapper = createWrapper();
35
-
36
- const textInput = wrapper.find("input");
37
- await textInput.trigger("focus");
38
- expect(wrapper.emitted("focus")).toBeTruthy();
39
- });
40
-
41
- it("emits blur event", async () => {
42
- const wrapper = createWrapper();
43
-
44
- const textInput = wrapper.find("input");
45
- await textInput.trigger("blur");
46
- expect(wrapper.emitted("blur")).toBeTruthy();
47
- });
48
-
49
- it("renders slots", () => {
50
- const wrapper = createWrapper({
51
- props: {
52
- modelValue: "Test",
53
- placeholder: "Suchen",
54
- backgroundColor: "gray",
55
- hiddenFilterRules: 0,
56
- isFilterChipEditable: true,
57
- },
58
- slots: {
59
- searchCriteriaButton: "<button>+ 1 Suchkriterium</button>",
60
- extendedSearchButton: "<button>Erweiterte Suche</button>",
61
- nonEditableChips: "<p>Favorite</p>",
62
- editableChips: "<p>Hamburg</p>",
63
- },
64
- });
65
- expect(wrapper.html()).toContain("<button>+ 1 Suchkriterium</button>");
66
- expect(wrapper.html()).toContain("<button>Erweiterte Suche</button>");
67
- expect(wrapper.html()).toContain("<p>Favorite</p>");
68
- expect(wrapper.html()).toContain("<p>Hamburg</p>");
69
- });
70
-
71
- it("can clear input value by setting modelValue to empty string (bug fix)", async () => {
72
- const wrapper = createWrapper();
73
- const input = wrapper.find("input");
74
- expect(input.element.value).toBe("");
75
-
76
- await input.setValue("test");
77
- expect(input.element.value).toBe("test");
78
-
79
- await wrapper.setProps({ modelValue: "" });
80
- expect(input.element.value).toBe("");
81
- });
82
- });
@@ -1,191 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
-
3
- import UiButton from "../UiButton/UiButton.vue";
4
- import UiChip from "../UiChip/UiChip.vue";
5
- import UiIcon from "../UiIcon/UiIcon.vue";
6
- import UiIconButton from "../UiIconButton/UiIconButton.vue";
7
- import UiSearchBar from "./UiSearchBar.vue";
8
-
9
- type PropsAndStoryProps = InstanceType<typeof UiSearchBar> & {
10
- hiddenFilterRules: number;
11
- };
12
-
13
- const meta = {
14
- title: "Ui/UiSearchBar",
15
- component: UiSearchBar,
16
- argTypes: {
17
- modelValue: { control: "text" },
18
- placeholder: { control: "text" },
19
- backgroundColor: {
20
- control: "select",
21
- options: ["gray", "white"],
22
- },
23
- hiddenFilterRules: { control: "number" },
24
- isFilterChipEditable: { control: "boolean" },
25
- hasShadow: { control: "boolean" },
26
- slotClass: { control: "text" },
27
- resetButtonWrapperClass: { control: "text" },
28
- },
29
- args: {
30
- modelValue: "",
31
- placeholder: "Suchen",
32
- backgroundColor: "gray",
33
- hiddenFilterRules: 0,
34
- isFilterChipEditable: true,
35
- hasShadow: false,
36
- slotClass: "",
37
- resetButtonWrapperClass: "",
38
- },
39
- } satisfies Meta<PropsAndStoryProps>;
40
-
41
- export default meta;
42
- type Story = StoryObj<PropsAndStoryProps>;
43
-
44
- export const Default: Story = {
45
- render: (args) => ({
46
- components: { UiSearchBar },
47
- setup() {
48
- return { args };
49
- },
50
- template:
51
- "<div class='bg-white h-24 flex items-center p-4 w-full'><UiSearchBar v-bind='args'></UiSearchBar></div>",
52
- }),
53
- };
54
-
55
- export const WithActionButtons: Story = {
56
- render: (args) => ({
57
- components: {
58
- UiSearchBar,
59
- UiButton,
60
- UiIconButton,
61
- UiIcon,
62
- },
63
- setup() {
64
- const getLabelText = (num: number) => {
65
- if (!num) {
66
- return "";
67
- }
68
- if (num > 1) {
69
- return `+ ${num} Suchkriterien`;
70
- }
71
- return "+ 1 Suchkriterium";
72
- };
73
- const criteriaLabelText = () => {
74
- return getLabelText(args.hiddenFilterRules);
75
- };
76
- return { args, criteriaLabelText };
77
- },
78
- template: `
79
- <div class="bg-white h-24 flex items-center p-4 w-full">
80
- <UiSearchBar v-bind="args">
81
- <template #searchCriteriaButton>
82
- <div class="mr-2">
83
- <span
84
- v-if="criteriaLabelText"
85
- class="
86
- self-center
87
- mr-1
88
- text-xs
89
- font-medium
90
- whitespace-no-wrap
91
- cursor-pointer
92
- text-blue
93
- hover:text-blue-dark
94
- "
95
- >
96
- {{ criteriaLabelText() }}
97
- </span>
98
- </div>
99
- </template>
100
- <template #extendedSearchButton>
101
- <UiButton
102
- size="xs"
103
- class="border-none mr-1 font-semibold text-gray-800 hover:text-blue-default"
104
- color="transparent"
105
-
106
- >
107
- Erweiterte Suche
108
- <UiIcon
109
- name="chevron-down"
110
- size="medium"
111
- />
112
- </UiButton>
113
- </template>
114
- <template #resetButton>
115
- <div class="mx-2">
116
- <div
117
- class="
118
- flex
119
- items-center
120
- justify-center
121
- flex-none
122
- h-full
123
- bg-gray-100
124
- "
125
- >
126
- <UiIconButton icon-name="close" background-color="none" icon-color="gray" size="large" />
127
- </div>
128
- </div>
129
- </template>
130
- <template #searchButton>
131
- <div class="flex items-center justify-center">
132
- <div class="w-2 h-8 border-l border-gray-300"></div>
133
- <UiIconButton icon-name="search" background-color="none" icon-color="gray" size="large" />
134
- </div>
135
- </template>
136
- </UiSearchBar>
137
- </div>`,
138
- }),
139
- };
140
-
141
- export const WithChips: Story = {
142
- render: (args) => ({
143
- components: {
144
- UiSearchBar,
145
- UiButton,
146
- UiIconButton,
147
- UiIcon,
148
- UiChip,
149
- },
150
- setup() {
151
- return { args };
152
- },
153
- template: `
154
- <div class="bg-white h-24 flex items-center p-4 w-full">
155
- <UiSearchBar v-bind="args">
156
- <template #nonEditableChips>
157
- <UiChip v-if="!args.isFilterChipEditable" class="ml-2">
158
- <UiIcon
159
- name="pin"
160
- size="small"
161
- class="mr-2"
162
- />
163
- <span class="text-small">Nur Top-Einträge</span>
164
- <UiIconButton icon-name="close" background-color="none" icon-color="gray" size="small"
165
- class="hover:bg-gray-400 active:bg-gray-500 ml-1" />
166
- </UiChip>
167
- </template>
168
- <template #editableChips>
169
- <UiChip v-if="args.value" class="ml-2">
170
- <span class="text-small">{{ args.value }}</span>
171
- <UiIconButton icon-name="close" background-color="none" icon-color="gray" size="small"
172
- class="hover:bg-gray-400 active:bg-gray-500 ml-1" />
173
- </UiChip>
174
- </template>
175
- <template #extendedSearchButton>
176
- <UiButton
177
- size="xs"
178
- class="border-none mr-1 font-semibold text-gray-800 hover:text-blue-default"
179
- color="transparent"
180
- >
181
- Erweiterte Suche
182
- <UiIcon
183
- name="chevron-down"
184
- size="medium"
185
- />
186
- </UiButton>
187
- </template>
188
- </UiSearchBar>
189
- </div>`,
190
- }),
191
- };
@@ -1,45 +0,0 @@
1
- import { mount } from "@vue/test-utils";
2
- import { describe, expect, it } from "vitest";
3
-
4
- import UiSearchInput from "./UiSearchInput.vue";
5
-
6
- describe("UiSearchInput", () => {
7
- const wrapper = mount(UiSearchInput, {
8
- props: {
9
- hasAddEntryOption: true,
10
- placeholder: "Default placeholder",
11
- modelValue: [""],
12
- },
13
- });
14
-
15
- it("displays and emits entries", async () => {
16
- const searchQuery = "Suchbegriff";
17
- const textInput = wrapper.find("input");
18
- await textInput.setValue(searchQuery);
19
- expect(wrapper.emitted().input).toBeTruthy();
20
- expect(textInput.element.value).toBe(searchQuery);
21
- });
22
-
23
- it("adds searchbar row when addRow button is clicked", async () => {
24
- const searchQuery = "Suchbegriff";
25
- const textInput = wrapper.find("input");
26
- await textInput.setValue(searchQuery);
27
- await textInput.trigger("input");
28
- const addRowButton = wrapper.find("button");
29
- await addRowButton.trigger("click");
30
- expect(wrapper.findAll("input")).toHaveLength(2);
31
- });
32
-
33
- it("deletes second row when there is no text in the searchbar", async () => {
34
- const searchQuery = "Suchbegriff";
35
- const textInput = wrapper.find("input");
36
- await textInput.setValue(searchQuery);
37
- await textInput.trigger("input");
38
- const addRowButton = wrapper.find("button");
39
- await addRowButton.trigger("click");
40
-
41
- const [, secondInput] = wrapper.findAll("input");
42
- await secondInput.trigger("keyup.delete");
43
- expect(wrapper.findAll("input")).toHaveLength(1);
44
- });
45
- });
@@ -1,61 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
- import { action } from "storybook/actions";
3
-
4
- import UiSearchInput from "./UiSearchInput.vue";
5
-
6
- const meta = {
7
- title: "Ui/UiSearchInput",
8
- component: UiSearchInput,
9
- argTypes: {
10
- hasAddEntryOption: {
11
- control: "boolean",
12
- },
13
- label: {
14
- control: "text",
15
- },
16
- modelValue: {
17
- control: {
18
- type: "object",
19
- },
20
- },
21
- placeholder: {
22
- control: "text",
23
- },
24
- },
25
- args: {
26
- hasAddEntryOption: false,
27
- label: "",
28
- modelValue: [""],
29
- placeholder: "Default placeholder",
30
- },
31
- parameters: {
32
- backgrounds: { default: "white" },
33
- },
34
- render: (args) => ({
35
- setup() {
36
- return { args };
37
- },
38
- components: { UiSearchInput },
39
- template:
40
- "<UiSearchInput v-bind='args' :model-value='args.modelValue' @update:model-value='action' />",
41
- methods: { action: action("update:modelValue") },
42
- }),
43
- } satisfies Meta<typeof UiSearchInput>;
44
-
45
- export default meta;
46
- type Story = StoryObj<typeof meta>;
47
-
48
- export const Default: Story = {};
49
-
50
- export const WithLabel = {
51
- args: {
52
- label: "Default label",
53
- },
54
- };
55
-
56
- export const MultipleInputs = {
57
- args: {
58
- label: "Default label",
59
- hasAddEntryOption: true,
60
- },
61
- };
@@ -1,49 +0,0 @@
1
- import { mount } from "@vue/test-utils";
2
- import { describe, expect, it } from "vitest";
3
-
4
- import UiSection from "./UiSection.vue";
5
-
6
- describe("UiSection", () => {
7
- const wrapper = mount(UiSection, {
8
- slots: {
9
- default: "Slot text",
10
- },
11
- });
12
-
13
- it("renders with slot content", () => {
14
- const inner = wrapper.find('[data-testid="inner"]');
15
-
16
- expect(inner.text()).toBe("Slot text");
17
- });
18
-
19
- it("renders with border classes", async () => {
20
- await wrapper.setProps({
21
- borderTop: true,
22
- borderBottom: true,
23
- });
24
- expect(wrapper.classes("border-t")).toBe(true);
25
- expect(wrapper.classes("border-b")).toBe(true);
26
- });
27
-
28
- it("renders with padding classes", async () => {
29
- await wrapper.setProps({
30
- verticalPadding: "small",
31
- });
32
- const inner = wrapper.find('[data-testid="inner"]');
33
-
34
- expect(inner.classes("lg:py-12")).toBe(true);
35
- expect(inner.classes("pt-8")).toBe(true);
36
- expect(inner.classes("pb-12")).toBe(true);
37
- });
38
-
39
- it("renders with size classes", async () => {
40
- await wrapper.setProps({
41
- size: "small",
42
- });
43
- const inner = wrapper.find('[data-testid="inner"]');
44
-
45
- expect(inner.classes("w-full")).toBe(true);
46
- expect(inner.classes("lg:mx-auto")).toBe(true);
47
- expect(inner.classes("lg:w-2/3")).toBe(true);
48
- });
49
- });
@@ -1,61 +0,0 @@
1
- import type { Meta, StoryObj } from "@storybook/vue3-vite";
2
-
3
- import UiSection from "./UiSection.vue";
4
-
5
- const meta = {
6
- title: "Ui/UiSection",
7
- component: UiSection,
8
- argTypes: {
9
- size: {
10
- control: "select",
11
- options: ["wide", "small"],
12
- },
13
- verticalPadding: {
14
- control: "select",
15
- options: ["small", "large", "none"],
16
- },
17
- borderTop: {
18
- control: "boolean",
19
- },
20
- borderBottom: {
21
- control: "boolean",
22
- },
23
- },
24
- args: {
25
- size: "small",
26
- verticalPadding: "large",
27
- borderTop: false,
28
- borderBottom: false,
29
- },
30
- parameters: {
31
- backgrounds: { default: "gray-100" },
32
- },
33
- tags: ["deprecated"],
34
- } satisfies Meta<typeof UiSection>;
35
-
36
- export default meta;
37
- type Story = StoryObj<typeof meta>;
38
-
39
- export const Default: Story = {
40
- render: (args) => ({
41
- setup() {
42
- return { args };
43
- },
44
- components: { UiSection },
45
- template: "<UiSection v-bind='args'>Slot</UiSection>",
46
- }),
47
- };
48
-
49
- export const Multiple: Story = {
50
- render: (args) => ({
51
- setup() {
52
- return { args };
53
- },
54
- components: { UiSection },
55
- template:
56
- "<UiSection v-bind='args'>Slot1</UiSection>" +
57
- "<UiSection v-bind='args'>Slot2</UiSection>" +
58
- "<UiSection v-bind='args'>Slot3</UiSection>" +
59
- "<UiSection v-bind='args'>Slot4</UiSection>",
60
- }),
61
- };
@@ -1,19 +0,0 @@
1
- import { mount } from "@vue/test-utils";
2
- import { describe, expect, it } from "vitest";
3
-
4
- import UiSectionDivider from "./UiSectionDivider.vue";
5
-
6
- describe("UiSectionDivider", () => {
7
- const wrapper = mount(UiSectionDivider);
8
-
9
- it("renders default size class", () => {
10
- expect(wrapper.classes("h-4")).toBe(true);
11
- });
12
-
13
- it("renders small size class", async () => {
14
- await wrapper.setProps({
15
- size: "small",
16
- });
17
- expect(wrapper.classes("h-px")).toBe(true);
18
- });
19
- });