@dpa-id-components/dpa-shared-components 20.0.3 → 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.
- package/dist/_plugin-vue_export-helper-CCTR5HVY.js +2770 -0
- package/dist/activities-BdgBJTuA.js +17 -0
- package/dist/ai-CRKea4DD.js +17 -0
- package/dist/alert-73LhoiBH.js +17 -0
- package/dist/alert-fill-CtKKZrZO.js +17 -0
- package/dist/alert-octagon-BFcCcEQq.js +30 -0
- package/dist/apps-BcyMOR4e.js +17 -0
- package/dist/archive-CMuBva_u.js +17 -0
- package/dist/arrow-down-WJdG351R.js +17 -0
- package/dist/arrow-left-H5cUyllC.js +17 -0
- package/dist/arrow-nav-left-CvZfWsrk.js +17 -0
- package/dist/arrow-nav-right-CUN92-9v.js +17 -0
- package/dist/arrow-right-Dai72xIp.js +17 -0
- package/dist/arrow-up-D9lAqZA8.js +17 -0
- package/dist/arrowhead-left-SJXGjhbq.js +17 -0
- package/dist/arrowhead-right-BhZbSG2r.js +17 -0
- package/dist/arrowhead-top-BEqJzGKA.js +17 -0
- package/dist/atmo-CZCUnUYN.js +17 -0
- package/dist/audio-CnSs3MVV.js +17 -0
- package/dist/audio-circled-Cku32Yiu.js +14 -0
- package/dist/audio-filled-CVOOatbn.js +14 -0
- package/dist/bag-Cx7iHwPQ.js +14 -0
- package/dist/bell-CwI9Vb62.js +17 -0
- package/dist/bell-fill-D-dFYpLV.js +17 -0
- package/dist/book-B0ailmur.js +17 -0
- package/dist/bookmark-CLdYV4f9.js +19 -0
- package/dist/bookmark-fill-wdEWET5w.js +19 -0
- package/dist/bookmark-outlined-Dd7PyuTU.js +14 -0
- package/dist/box-CfW1bBum.js +17 -0
- package/dist/bulb-K8jFZmfR.js +17 -0
- package/dist/call-CquDMWn4.js +17 -0
- package/dist/camera-CB6fKe82.js +17 -0
- package/dist/check-BBMwdc1e.js +17 -0
- package/dist/checklist-Df5fhkTx.js +17 -0
- package/dist/checkmark-Bk3th8aU.js +17 -0
- package/dist/checkmark-double-JBEWrsse.js +17 -0
- package/dist/chevron-down-Sq-Omasi.js +17 -0
- package/dist/chevron-left-ka3w4LWP.js +17 -0
- package/dist/chevron-right-DmvJo-Nn.js +17 -0
- package/dist/chevron-up-DakU_cBn.js +17 -0
- package/dist/clipboard-DyMMjIVc.js +17 -0
- package/dist/clock-CtkOHG1g.js +17 -0
- package/dist/close-DjFVZt2u.js +17 -0
- package/dist/cloud-save-acm4FjOr.js +17 -0
- package/dist/code-BJgY-9g3.js +17 -0
- package/dist/collapse-CalQPYhZ.js +17 -0
- package/dist/color-palette-DRN9z5Vz.js +12 -0
- package/dist/comment-CWIccK83.js +17 -0
- package/dist/comment-fill-BVza8Jz-.js +17 -0
- package/dist/components/DpaMediaItem/DpaMediaItem.vue.d.ts +22 -21
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +1 -3
- package/dist/components/UiCard/UiCard.vue.d.ts +5 -16
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.vue.d.ts +16 -9
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.vue.d.ts +14 -15
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +2 -6
- package/dist/components/UiOverlay/UiOverlay.vue.d.ts +8 -12
- package/dist/components/UiOverlayMenu/UiOverlayMenu.vue.d.ts +12 -15
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.vue.d.ts +4 -0
- package/dist/components/UiSection/UiSection.vue.d.ts +14 -14
- package/dist/components/UiSectionDivider/UiSectionDivider.vue.d.ts +9 -3
- package/dist/copy-Bk8cFSbJ.js +18 -0
- package/dist/copy-link-DOfXU7RD.js +17 -0
- package/dist/delete-DsugmFOu.js +17 -0
- package/dist/download-BeWUwd0y.js +17 -0
- package/dist/dpa-id-Ly2f4-Kw.js +17 -0
- package/dist/dpa-shared-components.js +16034 -46
- package/dist/edit-D69xOR64.js +17 -0
- package/dist/edit-add-C5WDTIjN.js +17 -0
- package/dist/eil-Cb4014LI.js +17 -0
- package/dist/emoji-D72nL3d1.js +17 -0
- package/dist/emoji-add-BrzLAJ3E.js +17 -0
- package/dist/envelope-kda2hV7_.js +15 -0
- package/dist/event-8phFSDv9.js +12 -0
- package/dist/expand-BtinEH3A.js +17 -0
- package/dist/external-link-CNYm-GlZ.js +17 -0
- package/dist/file-BOEeXxXs.js +17 -0
- package/dist/file-pdf-DJaalWDa.js +17 -0
- package/dist/filter-BjVZbhND.js +17 -0
- package/dist/filter-outline-BoEVSezK.js +15 -0
- package/dist/flag-DgOeofob.js +17 -0
- package/dist/flag-fill-BVhHWhiP.js +17 -0
- package/dist/flag-filled-CTSdIBWY.js +17 -0
- package/dist/flag-outline-BgYyW8nX.js +17 -0
- package/dist/flags-CMwN4aB0.js +18 -0
- package/dist/flash-BhAeSS1k.js +17 -0
- package/dist/folder-D79ZQ9RA.js +17 -0
- package/dist/folder-add-Ya2GcM-i.js +17 -0
- package/dist/folder-fill-Ca6bXRw-.js +17 -0
- package/dist/folder-filled-BBR8bJQL.js +17 -0
- package/dist/gallery-CsCgah-Q.js +20 -0
- package/dist/graphic-CZ1VEgbk.js +17 -0
- package/dist/graphic-circled-BYvbiPFv.js +14 -0
- package/dist/graphic-filled-B640yZW1.js +14 -0
- package/dist/graphics-DOD41Q2b.js +20 -0
- package/dist/grid-1-reX52mXX.js +17 -0
- package/dist/grid-2-biGoKZET.js +17 -0
- package/dist/grid-3-B8ccFfrT.js +17 -0
- package/dist/grid-4-CqTE5F_g.js +17 -0
- package/dist/grid-6-DbKV_eBX.js +17 -0
- package/dist/grid-9-CTSAZ4UT.js +17 -0
- package/dist/grid-masonry-9-CKioEJuZ.js +18 -0
- package/dist/grid-masonry-B593q1l6.js +17 -0
- package/dist/help-DiKackos.js +17 -0
- package/dist/home-Do4YF4Dd.js +17 -0
- package/dist/image focus point-C0vK6FzN.js +17 -0
- package/dist/image-BWGxTMMW.js +17 -0
- package/dist/impact-high-DdaQcLOu.js +17 -0
- package/dist/impact-low-zbvAdhZ1.js +17 -0
- package/dist/impact-medium-BhfzSQAK.js +17 -0
- package/dist/impact-very-high-qcPfp2yw.js +17 -0
- package/dist/impact-very-low-Dz86WvEI.js +17 -0
- package/dist/info-9llr8kqZ.js +17 -0
- package/dist/info-fill-DvyOjyX-.js +17 -0
- package/dist/info-filled-c2KLORVR.js +17 -0
- package/dist/label-DRVpH3Zf.js +17 -0
- package/dist/label-filled-CTReJE3_.js +17 -0
- package/dist/language-CaK3obhv.js +17 -0
- package/dist/latest-Bh5w8w2R.js +17 -0
- package/dist/lightbulb-D55X29rD.js +15 -0
- package/dist/list-Dm0wrpKz.js +17 -0
- package/dist/list-search-BWPAGqHW.js +21 -0
- package/dist/lock-Bair96dL.js +17 -0
- package/dist/lock-filled-BNZJ0waC.js +17 -0
- package/dist/mail-Mn2wq1aV.js +17 -0
- package/dist/map-D1irc7wN.js +17 -0
- package/dist/map-outline-B00hms9f.js +17 -0
- package/dist/menu-CVkyyeDW.js +17 -0
- package/dist/minus-B89-4r0W.js +17 -0
- package/dist/more-horizontal-BOq3UKiU.js +17 -0
- package/dist/more-vertical-CJOSDU6R.js +17 -0
- package/dist/move-B7GHCUbm.js +17 -0
- package/dist/move-up-down-Ch8L5sZC.js +17 -0
- package/dist/navigation-BTddw232.js +17 -0
- package/dist/note-BvnqgyHg.js +17 -0
- package/dist/offline-YOyb2Tfr.js +17 -0
- package/dist/package-Ckm27fjL.js +17 -0
- package/dist/paper-plane-BttsgNjZ.js +17 -0
- package/dist/paperplane-BqxbaXXQ.js +17 -0
- package/dist/pause-Du648vV9.js +17 -0
- package/dist/pause-circle-C0ua224p.js +18 -0
- package/dist/pdf-Ddg3TU0B.js +17 -0
- package/dist/pen-CQhBRQVg.js +14 -0
- package/dist/pen-check-BZme3WMH.js +14 -0
- package/dist/people-COXR5CoD.js +17 -0
- package/dist/phone-BauDKm-k.js +17 -0
- package/dist/picture-C3UMrriC.js +17 -0
- package/dist/picture-circled-DBlYCjnY.js +14 -0
- package/dist/picture-filled-O2z4--dy.js +14 -0
- package/dist/picture-gallery-C9c2zcxU.js +15 -0
- package/dist/pin-BMODlehD.js +17 -0
- package/dist/planning-Dtx9YzGr.js +17 -0
- package/dist/play-C5cuKZV0.js +17 -0
- package/dist/play-circle-CL5tEg9v.js +17 -0
- package/dist/play-fill-DSV0DW-T.js +17 -0
- package/dist/plus-DCPlMZXW.js +17 -0
- package/dist/plus-circle-DjR4qFC0.js +17 -0
- package/dist/print-DXBUPTFP.js +17 -0
- package/dist/refresh-BcwO7Jw6.js +17 -0
- package/dist/reset-B1yR8nzO.js +17 -0
- package/dist/responsive-DGZkLyEW.js +18 -0
- package/dist/rubix-thema-CCIj5kn3.js +17 -0
- package/dist/save-DvQxrVk-.js +17 -0
- package/dist/saved-search-BDu5PZQb.js +18 -0
- package/dist/saved-search-fill-BffgdGo8.js +20 -0
- package/dist/search-CXfaMRZ9.js +17 -0
- package/dist/settings-D7xABZln.js +17 -0
- package/dist/share-BQm_gGv6.js +17 -0
- package/dist/share-alternative-C4HzRC3B.js +17 -0
- package/dist/sidebar-CwFxeKOh.js +14 -0
- package/dist/sidebar-fill-BcquZLLX.js +18 -0
- package/dist/slack-CIhJ-_vs.js +17 -0
- package/dist/slider-config-5UwhkENY.js +17 -0
- package/dist/spellcheck-ClGD2dI8.js +17 -0
- package/dist/spinner-Ds5nod21.js +12 -0
- package/dist/src/components/DpaMediaItem/DpaMediaItem.vue +19 -2
- package/dist/src/components/DpaMediaItem/README.md +2 -0
- package/dist/src/components/UiCard/README.md +2 -0
- package/dist/src/components/UiCard/UiCard.vue +21 -0
- package/dist/src/components/UiCheckBoxGroup/README.md +2 -0
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +24 -7
- package/dist/src/components/UiCollapseNavigation/README.md +2 -0
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +18 -1
- package/dist/src/components/UiOverlay/README.md +2 -0
- package/dist/src/components/UiOverlay/UiOverlay.vue +20 -1
- package/dist/src/components/UiOverlayMenu/README.md +2 -0
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.vue +20 -0
- package/dist/src/components/UiRadioInputGroup/README.md +2 -0
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +19 -2
- package/dist/src/components/UiSection/README.md +2 -0
- package/dist/src/components/UiSection/UiSection.vue +19 -1
- package/dist/src/components/UiSectionDivider/README.md +2 -0
- package/dist/src/components/UiSectionDivider/UiSectionDivider.vue +19 -2
- package/dist/standard-view-hRZ2UVqX.js +14 -0
- package/dist/star-DC_rTR6e.js +17 -0
- package/dist/star-fill-B10bjB48.js +17 -0
- package/dist/star-filled-BISydRRE.js +14 -0
- package/dist/stop-D6NZK5EY.js +17 -0
- package/dist/story-B3kiPLs0.js +17 -0
- package/dist/style.css +3 -1
- package/dist/sync-B5v_sNSB.js +17 -0
- package/dist/tasks-COvP7FSq.js +17 -0
- package/dist/text--clKJFHw.js +17 -0
- package/dist/text-circled-hElWfl5W.js +14 -0
- package/dist/text-filled-BpflMH5s.js +14 -0
- package/dist/thumbs-down-BD3Dkcr3.js +18 -0
- package/dist/thumbs-up-A2jkWz64.js +18 -0
- package/dist/thumbs-up-double-Dm7agvTj.js +18 -0
- package/dist/topic-CXey3AGT.js +17 -0
- package/dist/union-DZ2yepXw.js +12 -0
- package/dist/upload-DPdFqQB3.js +17 -0
- package/dist/user-need-divert-me-DF4rOe6s.js +17 -0
- package/dist/user-need-educate-me-ClLznwAg.js +19 -0
- package/dist/user-need-give-me-perspective-BfI5mb08.js +19 -0
- package/dist/user-need-help-me-D-lptTdN.js +17 -0
- package/dist/user-need-touch-me-CikvxxHD.js +19 -0
- package/dist/user-need-update-me-Ua4YV9Bs.js +19 -0
- package/dist/video overlay-cYzYa_B7.js +18 -0
- package/dist/video-CydfS_mz.js +17 -0
- package/dist/video-circled-DcD57AXc.js +14 -0
- package/dist/video-filled-oePCRIdo.js +14 -0
- package/dist/video-rounded-DCwst-WS.js +17 -0
- package/dist/view-CJdB2aJG.js +17 -0
- package/dist/view-off-gIw--Mbm.js +17 -0
- package/dist/volume-up-BhnS1V_P.js +17 -0
- package/package.json +35 -34
- package/src/components/DpaMediaItem/DpaMediaItem.vue +19 -2
- package/src/components/DpaMediaItem/README.md +2 -0
- package/src/components/UiCard/README.md +2 -0
- package/src/components/UiCard/UiCard.vue +21 -0
- package/src/components/UiCheckBoxGroup/README.md +2 -0
- package/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +24 -7
- package/src/components/UiCollapseNavigation/README.md +2 -0
- package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +18 -1
- package/src/components/UiOverlay/README.md +2 -0
- package/src/components/UiOverlay/UiOverlay.vue +20 -1
- package/src/components/UiOverlayMenu/README.md +2 -0
- package/src/components/UiOverlayMenu/UiOverlayMenu.vue +20 -0
- package/src/components/UiRadioInputGroup/README.md +2 -0
- package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +19 -2
- package/src/components/UiSection/README.md +2 -0
- package/src/components/UiSection/UiSection.vue +19 -1
- package/src/components/UiSectionDivider/README.md +2 -0
- package/src/components/UiSectionDivider/UiSectionDivider.vue +19 -2
- package/dist/activities-Cz2THUt2.js +0 -20
- package/dist/ai-BxO156-F.js +0 -20
- package/dist/alert-B0hT2A32.js +0 -20
- package/dist/alert-fill-D0DdpQ80.js +0 -20
- package/dist/alert-octagon-GF5XW8gU.js +0 -31
- package/dist/apps-DAjc5s4K.js +0 -20
- package/dist/archive-2SY9UpUh.js +0 -20
- package/dist/arrow-down-BObZwTIe.js +0 -20
- package/dist/arrow-left-C9WMMyGu.js +0 -20
- package/dist/arrow-nav-left-CqnkS3Vk.js +0 -20
- package/dist/arrow-nav-right-CMoz9LdY.js +0 -20
- package/dist/arrow-right-D3Mro3qQ.js +0 -20
- package/dist/arrow-up-B74Ozc0J.js +0 -20
- package/dist/arrowhead-left-CWVnWJEV.js +0 -20
- package/dist/arrowhead-right-CppWehsi.js +0 -20
- package/dist/arrowhead-top-IoQgU4Tj.js +0 -20
- package/dist/atmo-DfCTES9M.js +0 -20
- package/dist/audio-TFdLWdg9.js +0 -20
- package/dist/audio-circled-DeQBz_p9.js +0 -17
- package/dist/audio-filled-CSHMcis_.js +0 -17
- package/dist/bag-Vr2DtDiO.js +0 -17
- package/dist/bell-C9dgaHFd.js +0 -20
- package/dist/bell-fill-NBY9znHq.js +0 -20
- package/dist/book-BpBsbavZ.js +0 -20
- package/dist/bookmark-BUKcSv_d.js +0 -22
- package/dist/bookmark-fill-F9CgG28y.js +0 -22
- package/dist/bookmark-outlined-tIcfWXEw.js +0 -17
- package/dist/box-B9rISUPA.js +0 -20
- package/dist/bulb-C_6Xkc4_.js +0 -20
- package/dist/call-CJkrcC3i.js +0 -20
- package/dist/camera-CSe--Sl_.js +0 -20
- package/dist/check-B2DzdTod.js +0 -20
- package/dist/checklist-4BeSClam.js +0 -20
- package/dist/checkmark-BLvDYDgY.js +0 -20
- package/dist/checkmark-double-trJtySch.js +0 -20
- package/dist/chevron-down-Db0FEzn_.js +0 -20
- package/dist/chevron-left-B551k1o6.js +0 -20
- package/dist/chevron-right-CYP-AYRz.js +0 -20
- package/dist/chevron-up-DpHckmvl.js +0 -20
- package/dist/clipboard-BvYHMeHg.js +0 -20
- package/dist/clock-BENam-UX.js +0 -20
- package/dist/close-Ckdylvqh.js +0 -20
- package/dist/cloud-save-s0Kr9Ss5.js +0 -20
- package/dist/code-BJ65kgW6.js +0 -20
- package/dist/collapse-D2FqQliB.js +0 -20
- package/dist/color-palette-CV2K_pBc.js +0 -15
- package/dist/comment-BKStUBWO.js +0 -20
- package/dist/comment-fill-CO7QR3D2.js +0 -20
- package/dist/copy-LtHbIgfI.js +0 -21
- package/dist/copy-link-D8dHmwKj.js +0 -20
- package/dist/delete-BVzhroKh.js +0 -20
- package/dist/download-QJbw0oNt.js +0 -20
- package/dist/dpa-id-BcNKUJy1.js +0 -20
- package/dist/edit-BhSJWhdC.js +0 -20
- package/dist/edit-add-DfHYwDLE.js +0 -20
- package/dist/eil-G7CaBSNH.js +0 -20
- package/dist/emoji-BloSjOO-.js +0 -20
- package/dist/emoji-add-BnA1ycrG.js +0 -20
- package/dist/envelope-CckuRAAL.js +0 -18
- package/dist/event-8aCe0Ms1.js +0 -15
- package/dist/expand-DfK7Z4GG.js +0 -20
- package/dist/external-link-CXx3pgeZ.js +0 -20
- package/dist/file-Bl1O3nVo.js +0 -20
- package/dist/file-pdf-COpfHQCo.js +0 -20
- package/dist/filter-BC87o-ln.js +0 -20
- package/dist/filter-outline-Ms0uoHoJ.js +0 -18
- package/dist/flag-CwwPG6HD.js +0 -20
- package/dist/flag-fill-Bbe_f7Fh.js +0 -20
- package/dist/flag-filled-3ZKQAo38.js +0 -20
- package/dist/flag-outline-erNjpVaI.js +0 -20
- package/dist/flags-SWvpzJRz.js +0 -21
- package/dist/flash-DW6OE_mm.js +0 -20
- package/dist/folder-DPXm4RJd.js +0 -20
- package/dist/folder-add-CUBHZ6RJ.js +0 -20
- package/dist/folder-fill-4BMyFHfd.js +0 -20
- package/dist/folder-filled-BNvdaiHy.js +0 -20
- package/dist/gallery-DciyMRbr.js +0 -24
- package/dist/graphic-6LXfLcR6.js +0 -20
- package/dist/graphic-circled-kfexxEZt.js +0 -17
- package/dist/graphic-filled-DoaJmSD3.js +0 -17
- package/dist/graphics-DSwd3TuZ.js +0 -24
- package/dist/grid-1-chBq2Fi9.js +0 -20
- package/dist/grid-2-BJLEz5N6.js +0 -20
- package/dist/grid-3-D8drpmp3.js +0 -20
- package/dist/grid-4-CslTaE59.js +0 -20
- package/dist/grid-6-PwvKNDJY.js +0 -20
- package/dist/grid-9-VplXoG9c.js +0 -20
- package/dist/grid-masonry-9-DzMxDpaD.js +0 -21
- package/dist/grid-masonry-C4mwsFvO.js +0 -20
- package/dist/help-ILqu6o5U.js +0 -20
- package/dist/home-DdufIPfl.js +0 -20
- package/dist/image focus point-DytiEeYM.js +0 -20
- package/dist/image-9uq28-_j.js +0 -20
- package/dist/impact-high-Dm7-BnhF.js +0 -20
- package/dist/impact-low-Ch9MQ-YB.js +0 -20
- package/dist/impact-medium-ClWXRpuT.js +0 -20
- package/dist/impact-very-high-vIRWtxTy.js +0 -20
- package/dist/impact-very-low-D8a1J5iK.js +0 -20
- package/dist/index-Dh9zuqxa.js +0 -17277
- package/dist/info-BjE6O0Bn.js +0 -20
- package/dist/info-fill-C7zyK41K.js +0 -20
- package/dist/info-filled-B6ueKFfv.js +0 -20
- package/dist/label-DMws5bez.js +0 -20
- package/dist/label-filled-Cw7YsrPv.js +0 -20
- package/dist/language-Cb9QNJwD.js +0 -20
- package/dist/latest-D5M1FgD2.js +0 -20
- package/dist/lightbulb-NjpSQ0vr.js +0 -18
- package/dist/list-BFpUW5HU.js +0 -20
- package/dist/list-search-CQh0YGaK.js +0 -24
- package/dist/lock-Cg4CLyot.js +0 -20
- package/dist/lock-filled-D4X8cvy0.js +0 -20
- package/dist/mail-gD9_0I2E.js +0 -20
- package/dist/map-O4exaGWD.js +0 -20
- package/dist/map-outline-QRXo9QbJ.js +0 -20
- package/dist/menu-CnUdAcwU.js +0 -20
- package/dist/minus-Dh5p7MVt.js +0 -20
- package/dist/more-horizontal-D54dJp-S.js +0 -20
- package/dist/more-vertical-CtKSGk7V.js +0 -20
- package/dist/move-Bpt6qnA5.js +0 -20
- package/dist/move-up-down-CHCrbkMG.js +0 -20
- package/dist/navigation-CeDHwJUr.js +0 -20
- package/dist/note-B4H3ymN6.js +0 -20
- package/dist/offline-NlGFYEBz.js +0 -20
- package/dist/package-BpVI6wBG.js +0 -20
- package/dist/paper-plane-DNAdpAor.js +0 -20
- package/dist/paperplane-EDNW9KPM.js +0 -20
- package/dist/pause-DNRfCKoZ.js +0 -20
- package/dist/pause-circle-BIpB-CZt.js +0 -21
- package/dist/pdf-K5Pc2Aho.js +0 -20
- package/dist/pen-BWB2Ev0Q.js +0 -17
- package/dist/pen-check-Ck7AYclb.js +0 -17
- package/dist/people-Dh8t_6MW.js +0 -20
- package/dist/phone-ACnqgIlD.js +0 -20
- package/dist/picture-circled-DOQW6i62.js +0 -17
- package/dist/picture-filled-Dc4FxIVr.js +0 -17
- package/dist/picture-gallery-DYqpd0GA.js +0 -18
- package/dist/picture-y-sZUleR.js +0 -20
- package/dist/pin-DQ32E-m4.js +0 -20
- package/dist/planning-BMTu0ztS.js +0 -20
- package/dist/play-Be9rURVZ.js +0 -20
- package/dist/play-circle-CER_S1Aa.js +0 -20
- package/dist/play-fill-Cm03uKf2.js +0 -20
- package/dist/plus-circle-PjmFyHZq.js +0 -20
- package/dist/plus-dRILtAri.js +0 -20
- package/dist/print-Bi_AOUhz.js +0 -20
- package/dist/refresh-BBjhE4nX.js +0 -20
- package/dist/reset-2q7NT8Ck.js +0 -20
- package/dist/responsive-DjFFcq8x.js +0 -21
- package/dist/rubix-thema-JIo_bY6Y.js +0 -20
- package/dist/save-ByxkL3T-.js +0 -20
- package/dist/saved-search-DOLbA7zj.js +0 -21
- package/dist/saved-search-fill-Cm-c1J8I.js +0 -23
- package/dist/search-BE4KuUxO.js +0 -20
- package/dist/settings-Cp8q2n_z.js +0 -20
- package/dist/share-8FXBviwo.js +0 -20
- package/dist/share-alternative-CTiI0w2n.js +0 -20
- package/dist/sidebar-B6jVPgT4.js +0 -17
- package/dist/sidebar-fill-4RRrVB6y.js +0 -21
- package/dist/slack-DJOyGZnJ.js +0 -20
- package/dist/slider-config-2iQFR9nP.js +0 -20
- package/dist/spellcheck-C33s8fBg.js +0 -20
- package/dist/spinner-Dr6jGBpK.js +0 -15
- package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +0 -123
- package/dist/src/components/DpaMediaItem/DpaMediaItem.stories.ts +0 -139
- package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +0 -39
- package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +0 -46
- package/dist/src/components/UiBadge/UiBadge.spec.ts +0 -32
- package/dist/src/components/UiBadge/UiBadge.stories.ts +0 -80
- package/dist/src/components/UiButton/UiButton.spec.ts +0 -136
- package/dist/src/components/UiButton/UiButton.stories.ts +0 -57
- package/dist/src/components/UiButtonGroup/UiButtonGroup.spec.ts +0 -16
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +0 -50
- package/dist/src/components/UiCard/UiCard.spec.ts +0 -16
- package/dist/src/components/UiCard/UiCard.stories.ts +0 -29
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +0 -67
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +0 -58
- package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +0 -173
- package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +0 -99
- package/dist/src/components/UiChip/UiChip.spec.ts +0 -75
- package/dist/src/components/UiChip/UiChip.stories.ts +0 -39
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.spec.ts +0 -21
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +0 -65
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +0 -52
- package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +0 -44
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +0 -335
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +0 -273
- package/dist/src/components/UiDialog/UiDialog.spec.ts +0 -160
- package/dist/src/components/UiDialog/UiDialog.stories.ts +0 -79
- package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +0 -17
- package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +0 -44
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +0 -41
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +0 -55
- package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +0 -79
- package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +0 -88
- package/dist/src/components/UiIcon/IconOverview.stories.vue +0 -23
- package/dist/src/components/UiIcon/UiIcon.spec.ts +0 -56
- package/dist/src/components/UiIcon/UiIcon.stories.ts +0 -48
- package/dist/src/components/UiIconButton/UiIconButton.spec.ts +0 -78
- package/dist/src/components/UiIconButton/UiIconButton.stories.ts +0 -63
- package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +0 -43
- package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +0 -56
- package/dist/src/components/UiInput/UiInput.spec.ts +0 -239
- package/dist/src/components/UiInput/UiInput.stories.ts +0 -127
- package/dist/src/components/UiList/UiList.spec.ts +0 -22
- package/dist/src/components/UiList/UiList.stories.ts +0 -64
- package/dist/src/components/UiListItem/UiListItem.spec.ts +0 -99
- package/dist/src/components/UiListItem/UiListItem.stories.ts +0 -83
- package/dist/src/components/UiMenu/UiMenu.spec.ts +0 -319
- package/dist/src/components/UiMenu/UiMenu.stories.ts +0 -634
- package/dist/src/components/UiOverlay/UiOverlay.spec.ts +0 -16
- package/dist/src/components/UiOverlay/UiOverlay.stories.ts +0 -21
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +0 -32
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.stories.ts +0 -38
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +0 -66
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +0 -70
- package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +0 -82
- package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +0 -191
- package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +0 -45
- package/dist/src/components/UiSearchInput/UiSearchInput.stories.ts +0 -61
- package/dist/src/components/UiSection/UiSection.spec.ts +0 -49
- package/dist/src/components/UiSection/UiSection.stories.ts +0 -60
- package/dist/src/components/UiSectionDivider/UiSectionDivider.spec.ts +0 -19
- package/dist/src/components/UiSectionDivider/UiSectionDivider.stories.ts +0 -47
- package/dist/src/components/UiSelect/UIiSelect.spec.ts +0 -102
- package/dist/src/components/UiSelect/UiSelect.stories.ts +0 -94
- package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +0 -58
- package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +0 -53
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +0 -15
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.stories.ts +0 -33
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +0 -63
- package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +0 -65
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +0 -30
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +0 -48
- package/dist/src/components/UiTextButton/UiTextButton.spec.ts +0 -99
- package/dist/src/components/UiTextButton/UiTextButton.stories.ts +0 -60
- package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +0 -89
- package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +0 -102
- package/dist/src/components/UiTooltip/UiTooltip.spec.ts +0 -139
- package/dist/src/components/UiTooltip/UiTooltip.stories.ts +0 -107
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.ts +0 -23
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +0 -12
- package/dist/src/utils/index.spec.ts +0 -12
- package/dist/standard-view-CUeVUlgi.js +0 -17
- package/dist/star-CNltUnfL.js +0 -20
- package/dist/star-fill-ChvbAL_w.js +0 -20
- package/dist/star-filled-CzLr0tv5.js +0 -17
- package/dist/stop-C0_XIYOC.js +0 -20
- package/dist/story-D73Bjde3.js +0 -20
- package/dist/sync-CBINlnr9.js +0 -20
- package/dist/tailwindPreset.css +0 -126
- package/dist/tasks-DUMH9Edy.js +0 -20
- package/dist/text-BTQHjRJT.js +0 -20
- package/dist/text-circled-C1uhwfPr.js +0 -17
- package/dist/text-filled-TEIGEgtl.js +0 -17
- package/dist/thumbs-down-d5a-prGI.js +0 -21
- package/dist/thumbs-up-WEv-WASn.js +0 -21
- package/dist/thumbs-up-double-3FYcTXHs.js +0 -21
- package/dist/topic-Bv7aYDma.js +0 -20
- package/dist/union-BsP_Wpgf.js +0 -15
- package/dist/upload-Vq-W0dGL.js +0 -20
- package/dist/user-need-divert-me-D14YG55f.js +0 -20
- package/dist/user-need-educate-me-9veVnglh.js +0 -22
- package/dist/user-need-give-me-perspective-5htB5xU9.js +0 -22
- package/dist/user-need-help-me-DLEXqicV.js +0 -20
- package/dist/user-need-touch-me-DcVccr9R.js +0 -22
- package/dist/user-need-update-me-BwQ_PvEW.js +0 -22
- package/dist/video overlay-DcZXKvyp.js +0 -21
- package/dist/video-BBQS3EHV.js +0 -20
- package/dist/video-circled-Dllfx_0n.js +0 -17
- package/dist/video-filled-Czw7h36z.js +0 -17
- package/dist/video-rounded-P84E0--n.js +0 -20
- package/dist/view-off-CEOyiBc3.js +0 -20
- package/dist/view-zTW9AGJD.js +0 -20
- package/dist/volume-up-C9_fMi_o.js +0 -20
|
@@ -1,99 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, it } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiTextButton from "./UiTextButton.vue";
|
|
5
|
-
|
|
6
|
-
describe("UiTextButton", () => {
|
|
7
|
-
it("should render defaults", () => {
|
|
8
|
-
const wrapper = mount(UiTextButton);
|
|
9
|
-
expect(wrapper.classes("font-normal")).toBe(true);
|
|
10
|
-
});
|
|
11
|
-
|
|
12
|
-
it("should render semibold font-weight", () => {
|
|
13
|
-
const wrapper = mount(UiTextButton, {
|
|
14
|
-
props: {
|
|
15
|
-
weight: "semibold",
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
expect(wrapper.classes("font-semibold")).toBe(true);
|
|
19
|
-
});
|
|
20
|
-
|
|
21
|
-
it("should render xsmall font-size", () => {
|
|
22
|
-
const wrapper = mount(UiTextButton, {
|
|
23
|
-
props: {
|
|
24
|
-
size: "xsmall",
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
expect(wrapper.classes("text-xs")).toBe(true);
|
|
28
|
-
});
|
|
29
|
-
|
|
30
|
-
it("should render small font-size", () => {
|
|
31
|
-
const wrapper = mount(UiTextButton, {
|
|
32
|
-
props: {
|
|
33
|
-
size: "small",
|
|
34
|
-
},
|
|
35
|
-
});
|
|
36
|
-
expect(wrapper.classes("text-sm")).toBe(true);
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
it("should render medium font-size", () => {
|
|
40
|
-
const wrapper = mount(UiTextButton, {
|
|
41
|
-
props: {
|
|
42
|
-
size: "medium",
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
expect(wrapper.classes("text-base")).toBe(true);
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
it("should render blue text color", () => {
|
|
49
|
-
const wrapper = mount(UiTextButton, {
|
|
50
|
-
props: {
|
|
51
|
-
color: "blue",
|
|
52
|
-
},
|
|
53
|
-
});
|
|
54
|
-
expect(wrapper.classes("text-blue-default")).toBe(true);
|
|
55
|
-
});
|
|
56
|
-
|
|
57
|
-
it("should render gray text color", () => {
|
|
58
|
-
const wrapper = mount(UiTextButton, {
|
|
59
|
-
props: {
|
|
60
|
-
color: "gray",
|
|
61
|
-
},
|
|
62
|
-
});
|
|
63
|
-
expect(wrapper.classes("text-gray-700")).toBe(true);
|
|
64
|
-
});
|
|
65
|
-
|
|
66
|
-
it("should render iconLeft", () => {
|
|
67
|
-
const iconLeft = "alert";
|
|
68
|
-
const wrapper = mount(UiTextButton, {
|
|
69
|
-
props: {
|
|
70
|
-
iconLeft,
|
|
71
|
-
},
|
|
72
|
-
});
|
|
73
|
-
expect(wrapper.findComponent({ name: "UiIcon" }).props()).toMatchObject({
|
|
74
|
-
name: iconLeft,
|
|
75
|
-
});
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
it("should render iconRight", () => {
|
|
79
|
-
const iconRight = "alert";
|
|
80
|
-
const wrapper = mount(UiTextButton, {
|
|
81
|
-
props: {
|
|
82
|
-
iconRight,
|
|
83
|
-
},
|
|
84
|
-
});
|
|
85
|
-
expect(wrapper.findComponent({ name: "UiIcon" }).props()).toMatchObject({
|
|
86
|
-
name: iconRight,
|
|
87
|
-
});
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
it("should change gray text color when placement is oncanvas", () => {
|
|
91
|
-
const wrapper = mount(UiTextButton, {
|
|
92
|
-
props: {
|
|
93
|
-
color: "gray",
|
|
94
|
-
placement: "oncanvas",
|
|
95
|
-
},
|
|
96
|
-
});
|
|
97
|
-
expect(wrapper.classes("text-gray-800")).toBe(true);
|
|
98
|
-
});
|
|
99
|
-
});
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
|
|
3
|
-
import { icons } from "../UiIcon/icons.js";
|
|
4
|
-
import UiTextButton from "./UiTextButton.vue";
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
title: "Ui/UiTextButton",
|
|
8
|
-
component: UiTextButton,
|
|
9
|
-
argTypes: {
|
|
10
|
-
color: {
|
|
11
|
-
control: "select",
|
|
12
|
-
options: ["blue", "gray"],
|
|
13
|
-
},
|
|
14
|
-
href: { control: "text" },
|
|
15
|
-
linkTarget: { control: "text" },
|
|
16
|
-
iconLeft: {
|
|
17
|
-
control: "select",
|
|
18
|
-
options: Object.keys(icons),
|
|
19
|
-
},
|
|
20
|
-
iconRight: {
|
|
21
|
-
control: "select",
|
|
22
|
-
options: Object.keys(icons),
|
|
23
|
-
},
|
|
24
|
-
placement: {
|
|
25
|
-
control: "select",
|
|
26
|
-
options: ["onsurface", "oncanvas"],
|
|
27
|
-
},
|
|
28
|
-
size: {
|
|
29
|
-
control: "select",
|
|
30
|
-
options: ["xsmall", "small", "medium"],
|
|
31
|
-
},
|
|
32
|
-
weight: {
|
|
33
|
-
control: "select",
|
|
34
|
-
options: ["regular", "semibold"],
|
|
35
|
-
},
|
|
36
|
-
},
|
|
37
|
-
args: {
|
|
38
|
-
color: "blue",
|
|
39
|
-
href: undefined,
|
|
40
|
-
iconLeft: undefined,
|
|
41
|
-
iconRight: undefined,
|
|
42
|
-
placement: "onsurface",
|
|
43
|
-
size: "medium",
|
|
44
|
-
weight: "regular",
|
|
45
|
-
linkTarget: undefined,
|
|
46
|
-
},
|
|
47
|
-
} satisfies Meta<typeof UiTextButton>;
|
|
48
|
-
|
|
49
|
-
export default meta;
|
|
50
|
-
type Story = StoryObj<typeof meta>;
|
|
51
|
-
|
|
52
|
-
export const Default: Story = {
|
|
53
|
-
render: (args) => ({
|
|
54
|
-
setup() {
|
|
55
|
-
return { args };
|
|
56
|
-
},
|
|
57
|
-
components: { UiTextButton },
|
|
58
|
-
template: "<UiTextButton v-bind='args'>Link</UiTextButton>",
|
|
59
|
-
}),
|
|
60
|
-
};
|
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, it } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiToggleButton from "./UiToggleButton.vue";
|
|
5
|
-
|
|
6
|
-
describe("UiToggleButton", () => {
|
|
7
|
-
const labelText = "Foo";
|
|
8
|
-
const wrapper = mount(UiToggleButton, {
|
|
9
|
-
props: {
|
|
10
|
-
modelValue: false,
|
|
11
|
-
disabled: false,
|
|
12
|
-
labelText: labelText,
|
|
13
|
-
},
|
|
14
|
-
});
|
|
15
|
-
|
|
16
|
-
it("shows correct label text ", () => {
|
|
17
|
-
expect(wrapper.text()).toContain(labelText);
|
|
18
|
-
});
|
|
19
|
-
|
|
20
|
-
it("emits correct event when clicked", async () => {
|
|
21
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
22
|
-
|
|
23
|
-
await input.trigger("click");
|
|
24
|
-
await wrapper.vm.$nextTick();
|
|
25
|
-
expect(wrapper.emitted()["update:modelValue"]).toBeTruthy();
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
it("should render correct colors when checked", async () => {
|
|
29
|
-
await wrapper.setProps({
|
|
30
|
-
modelValue: true,
|
|
31
|
-
color: "green",
|
|
32
|
-
});
|
|
33
|
-
|
|
34
|
-
const dot = wrapper.find(".dot");
|
|
35
|
-
const line = wrapper.find(".line");
|
|
36
|
-
expect((dot.element as HTMLInputElement).className).toContain(
|
|
37
|
-
"translate-x-full bg-green-primary",
|
|
38
|
-
);
|
|
39
|
-
expect((line.element as HTMLInputElement).className).toContain(
|
|
40
|
-
"opacity-50",
|
|
41
|
-
);
|
|
42
|
-
});
|
|
43
|
-
|
|
44
|
-
it("should render correct size when size=small", async () => {
|
|
45
|
-
await wrapper.setProps({
|
|
46
|
-
modelValue: true,
|
|
47
|
-
size: "small",
|
|
48
|
-
});
|
|
49
|
-
|
|
50
|
-
const dot = wrapper.find(".dot");
|
|
51
|
-
const line = wrapper.find(".line");
|
|
52
|
-
expect((dot.element as HTMLInputElement).className).toContain("h-4 w-4");
|
|
53
|
-
expect((line.element as HTMLInputElement).className).toContain("h-3 w-6");
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
it("should render correct size when size=large", async () => {
|
|
57
|
-
await wrapper.setProps({
|
|
58
|
-
modelValue: true,
|
|
59
|
-
size: "large",
|
|
60
|
-
});
|
|
61
|
-
|
|
62
|
-
const dot = wrapper.find(".dot");
|
|
63
|
-
const line = wrapper.find(".line");
|
|
64
|
-
expect((dot.element as HTMLInputElement).className).toContain("h-6 w-6");
|
|
65
|
-
expect((line.element as HTMLInputElement).className).toContain("h-4 w-10");
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
it("should show correct disabled value when props are set", async () => {
|
|
69
|
-
await wrapper.setProps({
|
|
70
|
-
disabled: true,
|
|
71
|
-
});
|
|
72
|
-
|
|
73
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
74
|
-
expect((input.element as HTMLInputElement).disabled).toBeTruthy();
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
it("should render slot content", () => {
|
|
78
|
-
const wrapperWithSlotContent = mount(UiToggleButton, {
|
|
79
|
-
props: {
|
|
80
|
-
modelValue: false,
|
|
81
|
-
disabled: false,
|
|
82
|
-
},
|
|
83
|
-
slots: {
|
|
84
|
-
default: "Slot Label",
|
|
85
|
-
},
|
|
86
|
-
});
|
|
87
|
-
expect(wrapperWithSlotContent.text()).toContain("Slot Label");
|
|
88
|
-
});
|
|
89
|
-
});
|
|
@@ -1,102 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
|
|
4
|
-
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
5
|
-
import UiToggleButton from "./UiToggleButton.vue";
|
|
6
|
-
|
|
7
|
-
const meta = {
|
|
8
|
-
title: "Ui/UiToggleButton",
|
|
9
|
-
component: UiToggleButton,
|
|
10
|
-
argTypes: {
|
|
11
|
-
color: {
|
|
12
|
-
control: { type: "select" },
|
|
13
|
-
options: ["blue", "green"],
|
|
14
|
-
},
|
|
15
|
-
size: {
|
|
16
|
-
control: { type: "select" },
|
|
17
|
-
options: ["small", "large"],
|
|
18
|
-
},
|
|
19
|
-
modelValue: {
|
|
20
|
-
control: "boolean",
|
|
21
|
-
},
|
|
22
|
-
disabled: {
|
|
23
|
-
control: "boolean",
|
|
24
|
-
},
|
|
25
|
-
labelText: {
|
|
26
|
-
control: "text",
|
|
27
|
-
},
|
|
28
|
-
labelSpace: {
|
|
29
|
-
control: "select",
|
|
30
|
-
options: ["default", "xl"],
|
|
31
|
-
},
|
|
32
|
-
labelPosition: {
|
|
33
|
-
control: "select",
|
|
34
|
-
options: ["left", "right"],
|
|
35
|
-
},
|
|
36
|
-
labelTextSize: {
|
|
37
|
-
control: "select",
|
|
38
|
-
options: ["xs", "sm", "md", "lg"],
|
|
39
|
-
},
|
|
40
|
-
},
|
|
41
|
-
args: {
|
|
42
|
-
color: "blue",
|
|
43
|
-
size: "small",
|
|
44
|
-
modelValue: false,
|
|
45
|
-
disabled: false,
|
|
46
|
-
labelSpace: "default",
|
|
47
|
-
labelTextSize: "xs",
|
|
48
|
-
labelPosition: "left",
|
|
49
|
-
},
|
|
50
|
-
} satisfies Meta<typeof UiToggleButton>;
|
|
51
|
-
|
|
52
|
-
export default meta;
|
|
53
|
-
type Story = StoryObj<typeof meta>;
|
|
54
|
-
|
|
55
|
-
export const Default: Story = {
|
|
56
|
-
render: (args) => ({
|
|
57
|
-
setup() {
|
|
58
|
-
const isChecked = ref(args.modelValue);
|
|
59
|
-
return { args, isChecked };
|
|
60
|
-
},
|
|
61
|
-
components: { UiToggleButton },
|
|
62
|
-
template: `
|
|
63
|
-
<UiToggleButton v-bind='args' v-model='isChecked'>
|
|
64
|
-
Label
|
|
65
|
-
</UiToggleButton>
|
|
66
|
-
`,
|
|
67
|
-
}),
|
|
68
|
-
};
|
|
69
|
-
|
|
70
|
-
export const MultipleToggles: Story = {
|
|
71
|
-
render: (args) => ({
|
|
72
|
-
setup() {
|
|
73
|
-
const isChecked = ref(args.modelValue);
|
|
74
|
-
const secondToggle = ref(true);
|
|
75
|
-
return { args, isChecked, secondToggle };
|
|
76
|
-
},
|
|
77
|
-
components: { UiToggleButton },
|
|
78
|
-
template: `
|
|
79
|
-
<UiToggleButton label-text="first" v-bind='args' v-model='isChecked' />
|
|
80
|
-
<UiToggleButton label-text="second" color="green" v-model='secondToggle' />
|
|
81
|
-
`,
|
|
82
|
-
}),
|
|
83
|
-
};
|
|
84
|
-
|
|
85
|
-
export const WithSlot: Story = {
|
|
86
|
-
args: {
|
|
87
|
-
color: "green",
|
|
88
|
-
},
|
|
89
|
-
render: (args) => ({
|
|
90
|
-
setup() {
|
|
91
|
-
const isChecked = ref(args.modelValue);
|
|
92
|
-
return { args, isChecked };
|
|
93
|
-
},
|
|
94
|
-
components: { UiToggleButton, UiIcon },
|
|
95
|
-
template: `
|
|
96
|
-
<UiToggleButton v-bind="args" v-model="isChecked">
|
|
97
|
-
<div class="flex items-center text-gray-800">
|
|
98
|
-
<UiIcon size="small" name="flag-filled" />
|
|
99
|
-
<span class="pl-1.5">Label</span></div>
|
|
100
|
-
</UiToggleButton>`,
|
|
101
|
-
}),
|
|
102
|
-
};
|
|
@@ -1,139 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, it } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiTooltip from "./UiTooltip.vue";
|
|
5
|
-
|
|
6
|
-
document.body.innerHTML = `
|
|
7
|
-
<div id="app"></div>
|
|
8
|
-
`;
|
|
9
|
-
|
|
10
|
-
describe("UiTooltip", () => {
|
|
11
|
-
it("shows correct content", () => {
|
|
12
|
-
const wrapper = mount(UiTooltip, {
|
|
13
|
-
props: {
|
|
14
|
-
fixed: false,
|
|
15
|
-
},
|
|
16
|
-
slots: {
|
|
17
|
-
default: "tooltip content",
|
|
18
|
-
},
|
|
19
|
-
});
|
|
20
|
-
expect(wrapper.text()).toBe("tooltip content");
|
|
21
|
-
});
|
|
22
|
-
|
|
23
|
-
it("uses the structured tooltip", () => {
|
|
24
|
-
const wrapper = mount(UiTooltip, {
|
|
25
|
-
props: {
|
|
26
|
-
fixed: false,
|
|
27
|
-
structuredLayout: true,
|
|
28
|
-
structuredInfo: [
|
|
29
|
-
{
|
|
30
|
-
title: "Typ",
|
|
31
|
-
description: "Termine",
|
|
32
|
-
},
|
|
33
|
-
{
|
|
34
|
-
title: "Ressort",
|
|
35
|
-
description: "Wirtschaft",
|
|
36
|
-
},
|
|
37
|
-
],
|
|
38
|
-
},
|
|
39
|
-
});
|
|
40
|
-
const firstEl = wrapper.findAll("li")[0];
|
|
41
|
-
const secondEl = wrapper.findAll("li")[1];
|
|
42
|
-
expect(firstEl.text()).toBe("TypTermine");
|
|
43
|
-
expect(secondEl.text()).toBe("RessortWirtschaft");
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
it("is not rendered without mouseover", async () => {
|
|
47
|
-
const wrapper = mount(UiTooltip, {
|
|
48
|
-
props: {
|
|
49
|
-
fixed: false,
|
|
50
|
-
},
|
|
51
|
-
slots: {
|
|
52
|
-
activator: "<button>activate</button>",
|
|
53
|
-
},
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
expect(
|
|
57
|
-
wrapper.find('[data-testid="tooltipElement"]').isVisible(),
|
|
58
|
-
).toBeFalsy();
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
it("is rendered upon mouseover", async () => {
|
|
62
|
-
const wrapper = mount(UiTooltip, {
|
|
63
|
-
props: {
|
|
64
|
-
fixed: false,
|
|
65
|
-
},
|
|
66
|
-
slots: {
|
|
67
|
-
activator: "<button>Hover me</button>",
|
|
68
|
-
default: "I'm a tooltip",
|
|
69
|
-
},
|
|
70
|
-
});
|
|
71
|
-
const activator = wrapper.find('[data-testid="activator"]');
|
|
72
|
-
await activator.trigger("mouseenter");
|
|
73
|
-
|
|
74
|
-
expect(wrapper.find('[data-testid="tooltip"]').classes("hidden")).toBe(
|
|
75
|
-
false,
|
|
76
|
-
);
|
|
77
|
-
|
|
78
|
-
expect(wrapper.find('[data-testid="tooltipElement"]').text()).toBe(
|
|
79
|
-
"I'm a tooltip",
|
|
80
|
-
);
|
|
81
|
-
});
|
|
82
|
-
|
|
83
|
-
it("is rendered in the correct position", async () => {
|
|
84
|
-
const wrapper = mount(UiTooltip, {
|
|
85
|
-
props: {
|
|
86
|
-
fixed: false,
|
|
87
|
-
position: "right",
|
|
88
|
-
},
|
|
89
|
-
slots: {
|
|
90
|
-
activator: "<button>Hover me</button>",
|
|
91
|
-
},
|
|
92
|
-
});
|
|
93
|
-
const activator = wrapper.find('[data-testid="activator"]');
|
|
94
|
-
await activator.trigger("mouseenter");
|
|
95
|
-
|
|
96
|
-
expect(
|
|
97
|
-
wrapper.find('[data-testid="tooltip"]').attributes("data-placement"),
|
|
98
|
-
).toBe("right");
|
|
99
|
-
});
|
|
100
|
-
|
|
101
|
-
it("is in a fixed position", () => {
|
|
102
|
-
const wrapper = mount(UiTooltip, {
|
|
103
|
-
props: {
|
|
104
|
-
fixed: true,
|
|
105
|
-
},
|
|
106
|
-
});
|
|
107
|
-
|
|
108
|
-
// Find Tooltip that is teleported to the body
|
|
109
|
-
const tooltip = document.querySelector(
|
|
110
|
-
'[data-testid="tooltip"]',
|
|
111
|
-
) as HTMLElement;
|
|
112
|
-
|
|
113
|
-
expect(tooltip).not.toBeNull();
|
|
114
|
-
expect(tooltip?.style.position).toBe("fixed");
|
|
115
|
-
|
|
116
|
-
// Cleanup after the test
|
|
117
|
-
wrapper.unmount();
|
|
118
|
-
});
|
|
119
|
-
|
|
120
|
-
it("shows no tooltip content when disabled", async () => {
|
|
121
|
-
const wrapper = mount(UiTooltip, {
|
|
122
|
-
props: {
|
|
123
|
-
disabled: true,
|
|
124
|
-
fixed: false,
|
|
125
|
-
},
|
|
126
|
-
slots: {
|
|
127
|
-
activator: "<button>Hover me</button>",
|
|
128
|
-
default: "I'm a Tooltip",
|
|
129
|
-
},
|
|
130
|
-
});
|
|
131
|
-
|
|
132
|
-
const activator = wrapper.find('[data-testid="activator"]');
|
|
133
|
-
|
|
134
|
-
expect(activator.exists()).toBe(true);
|
|
135
|
-
await activator.trigger("mouseenter");
|
|
136
|
-
|
|
137
|
-
expect(wrapper.find('[data-testid="tooltipElement"]').exists()).toBe(false);
|
|
138
|
-
});
|
|
139
|
-
});
|
|
@@ -1,107 +0,0 @@
|
|
|
1
|
-
import { shift } from "@floating-ui/vue";
|
|
2
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
3
|
-
|
|
4
|
-
import UiTooltip from "./UiTooltip.vue";
|
|
5
|
-
|
|
6
|
-
const meta = {
|
|
7
|
-
title: "Ui/UiTooltip",
|
|
8
|
-
component: UiTooltip,
|
|
9
|
-
argTypes: {
|
|
10
|
-
position: {
|
|
11
|
-
control: { type: "select" },
|
|
12
|
-
options: [
|
|
13
|
-
"top-start",
|
|
14
|
-
"top",
|
|
15
|
-
"top-end",
|
|
16
|
-
"right",
|
|
17
|
-
"bottom-end",
|
|
18
|
-
"bottom",
|
|
19
|
-
"bottom-start",
|
|
20
|
-
"left",
|
|
21
|
-
],
|
|
22
|
-
},
|
|
23
|
-
structuredLayout: {
|
|
24
|
-
control: "boolean",
|
|
25
|
-
},
|
|
26
|
-
structuredInfo: {
|
|
27
|
-
control: "object",
|
|
28
|
-
},
|
|
29
|
-
fixed: {
|
|
30
|
-
control: "boolean",
|
|
31
|
-
},
|
|
32
|
-
multilines: {
|
|
33
|
-
control: "boolean",
|
|
34
|
-
},
|
|
35
|
-
enterActiveClasses: {
|
|
36
|
-
control: "text",
|
|
37
|
-
},
|
|
38
|
-
leaveActiveClasses: {
|
|
39
|
-
control: "text",
|
|
40
|
-
},
|
|
41
|
-
disabled: {
|
|
42
|
-
control: "boolean",
|
|
43
|
-
},
|
|
44
|
-
},
|
|
45
|
-
args: {
|
|
46
|
-
position: "bottom",
|
|
47
|
-
structuredLayout: false,
|
|
48
|
-
structuredInfo: [],
|
|
49
|
-
fixed: false,
|
|
50
|
-
multilines: false,
|
|
51
|
-
enterActiveClasses:
|
|
52
|
-
"motion-safe:transition motion-safe:duration-300 motion-safe:delay-500",
|
|
53
|
-
leaveActiveClasses: "motion-safe:transition",
|
|
54
|
-
disabled: false,
|
|
55
|
-
},
|
|
56
|
-
render: (args) => ({
|
|
57
|
-
setup() {
|
|
58
|
-
return { args };
|
|
59
|
-
},
|
|
60
|
-
components: { UiTooltip },
|
|
61
|
-
template: `
|
|
62
|
-
<div style="margin-top: 50px; margin-left: 120px; max-width: max-content;">
|
|
63
|
-
<UiTooltip v-bind="args">
|
|
64
|
-
<template v-slot:activator>
|
|
65
|
-
<button>Target</button>
|
|
66
|
-
</template>
|
|
67
|
-
Tooltip Content
|
|
68
|
-
</UiTooltip>
|
|
69
|
-
</div>
|
|
70
|
-
`,
|
|
71
|
-
}),
|
|
72
|
-
} satisfies Meta<typeof UiTooltip>;
|
|
73
|
-
|
|
74
|
-
export default meta;
|
|
75
|
-
type Story = StoryObj<typeof meta>;
|
|
76
|
-
|
|
77
|
-
export const Default: Story = {};
|
|
78
|
-
|
|
79
|
-
export const Structured: Story = {
|
|
80
|
-
args: {
|
|
81
|
-
structuredLayout: true,
|
|
82
|
-
structuredInfo: [
|
|
83
|
-
{
|
|
84
|
-
title: "Typ",
|
|
85
|
-
description: "Termine",
|
|
86
|
-
},
|
|
87
|
-
{
|
|
88
|
-
title: "Ressort",
|
|
89
|
-
description: "Wirtschaft",
|
|
90
|
-
},
|
|
91
|
-
{
|
|
92
|
-
title: "Veranstaltungsort",
|
|
93
|
-
description: "Hamburg",
|
|
94
|
-
},
|
|
95
|
-
],
|
|
96
|
-
},
|
|
97
|
-
};
|
|
98
|
-
|
|
99
|
-
export const CustomFloatingUi: Story = {
|
|
100
|
-
args: {
|
|
101
|
-
animate: true,
|
|
102
|
-
floatingUiOptions: {
|
|
103
|
-
middleware: [shift()],
|
|
104
|
-
},
|
|
105
|
-
position: "bottom-end",
|
|
106
|
-
},
|
|
107
|
-
};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
|
|
3
|
-
import UseBreakpoints from "./UseBreakpoints.stories.vue";
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: "tailwind/UseBreakpoints.ts",
|
|
7
|
-
component: UseBreakpoints,
|
|
8
|
-
argTypes: {},
|
|
9
|
-
parameters: {},
|
|
10
|
-
} satisfies Meta<typeof UseBreakpoints>;
|
|
11
|
-
|
|
12
|
-
export default meta;
|
|
13
|
-
type Story = StoryObj<typeof meta>;
|
|
14
|
-
|
|
15
|
-
export const Default: Story = {
|
|
16
|
-
render: (args) => ({
|
|
17
|
-
setup() {
|
|
18
|
-
return { args };
|
|
19
|
-
},
|
|
20
|
-
components: { UseBreakpoints },
|
|
21
|
-
template: `<div><UseBreakpoints /></div>`,
|
|
22
|
-
}),
|
|
23
|
-
};
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<UiButton v-if="lg">Button for LG</UiButton>
|
|
3
|
-
<UiIconButton v-else title="Button" icon-name="emoji" />
|
|
4
|
-
</template>
|
|
5
|
-
|
|
6
|
-
<script setup lang="ts">
|
|
7
|
-
import UiButton from "../../components/UiButton/UiButton.vue";
|
|
8
|
-
import UiIconButton from "../../components/UiIconButton/UiIconButton.vue";
|
|
9
|
-
import { useBreakpoints } from "./useBreakpoints.js";
|
|
10
|
-
|
|
11
|
-
const { lg } = useBreakpoints();
|
|
12
|
-
</script>
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { describe, expect, test } from "vitest";
|
|
2
|
-
|
|
3
|
-
import { cn } from "./cn.js";
|
|
4
|
-
|
|
5
|
-
describe("cn", () => {
|
|
6
|
-
test.each<[Parameters<typeof cn>, ReturnType<typeof cn>]>([
|
|
7
|
-
[["items-center", "items-start"], "items-start"],
|
|
8
|
-
[["items-center", undefined], "items-center"],
|
|
9
|
-
])("works", (parameters, expected) => {
|
|
10
|
-
expect(cn(...parameters)).toBe(expected);
|
|
11
|
-
});
|
|
12
|
-
});
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as o, createElementVNode as r } from "vue";
|
|
2
|
-
import { _ as n } from "./index-Dh9zuqxa.js";
|
|
3
|
-
const s = {}, c = {
|
|
4
|
-
width: "18",
|
|
5
|
-
height: "18",
|
|
6
|
-
viewBox: "0 0 18 18",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
};
|
|
9
|
-
function d(i, t) {
|
|
10
|
-
return e(), o("svg", c, [...t[0] || (t[0] = [
|
|
11
|
-
r("path", { d: "M2 16V12H16L16.001 16H2ZM16 10H2C0.897 10 0 10.897 0 12V16C0 17.103 0.897 18 2 18H16C17.103 18 18 17.103 18 16V12C18 10.897 17.103 10 16 10ZM2 6V2H16L16.001 6H2ZM16 0H2C0.897 0 0 0.897 0 2V6C0 7.103 0.897 8 2 8H16C17.103 8 18 7.103 18 6V2C18 0.897 17.103 0 16 0Z" }, null, -1)
|
|
12
|
-
])]);
|
|
13
|
-
}
|
|
14
|
-
const l = /* @__PURE__ */ n(s, [["render", d]]);
|
|
15
|
-
export {
|
|
16
|
-
l as default
|
|
17
|
-
};
|
package/dist/star-CNltUnfL.js
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { openBlock as e, createElementBlock as L, createElementVNode as o } from "vue";
|
|
2
|
-
import { _ as r } from "./index-Dh9zuqxa.js";
|
|
3
|
-
const C = {}, n = {
|
|
4
|
-
width: "24",
|
|
5
|
-
height: "24",
|
|
6
|
-
viewBox: "0 0 24 24",
|
|
7
|
-
xmlns: "http://www.w3.org/2000/svg"
|
|
8
|
-
};
|
|
9
|
-
function s(c, t) {
|
|
10
|
-
return e(), L("svg", n, [...t[0] || (t[0] = [
|
|
11
|
-
o("path", {
|
|
12
|
-
d: "M11.9995 16.05C12.1585 16.05 12.3175 16.088 12.4625 16.163L16.2315 18.133L15.5145 13.976C15.4575 13.65 15.5665 13.318 15.8045 13.087L18.8405 10.151L14.6375 9.539C14.3125 9.492 14.0315 9.289 13.8855 8.995L11.9995 5.201L10.1135 8.995C9.96755 9.289 9.68655 9.492 9.36155 9.539L5.15855 10.151L8.19455 13.087C8.43255 13.318 8.54155 13.65 8.48455 13.976L7.76755 18.133L11.5365 16.163C11.6815 16.088 11.8405 16.05 11.9995 16.05ZM17.5615 20.955C17.4025 20.955 17.2435 20.918 17.0985 20.842L11.9995 18.178L6.90055 20.842C6.56255 21.018 6.15455 20.987 5.84955 20.763C5.54155 20.539 5.38855 20.16 5.45255 19.785L6.42455 14.157L2.30455 10.172C2.02955 9.907 1.93155 9.509 2.04855 9.146C2.16455 8.783 2.47855 8.519 2.85555 8.464L8.55655 7.636L11.1035 2.51C11.4415 1.83 12.5575 1.83 12.8955 2.51L15.4425 7.636L21.1435 8.464C21.5205 8.519 21.8345 8.783 21.9505 9.146C22.0675 9.509 21.9695 9.907 21.6945 10.172L17.5745 14.157L18.5465 19.785C18.6105 20.16 18.4575 20.539 18.1495 20.763C17.9765 20.891 17.7695 20.955 17.5615 20.955Z",
|
|
13
|
-
fill: "currentColor"
|
|
14
|
-
}, null, -1)
|
|
15
|
-
])]);
|
|
16
|
-
}
|
|
17
|
-
const _ = /* @__PURE__ */ r(C, [["render", s]]);
|
|
18
|
-
export {
|
|
19
|
-
_ as default
|
|
20
|
-
};
|