@dpa-id-components/dpa-shared-components 16.0.0 → 17.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +57 -115
- package/dist/activities-DpcvJko6.js +20 -0
- package/dist/ai-DnA9QhZ6.js +20 -0
- package/dist/alert-DHAr5ZTL.js +20 -0
- package/dist/alert-fill-Be5Unh3h.js +20 -0
- package/dist/alert-octagon-GWQ_gkRo.js +31 -0
- package/dist/apps-Qb10gDaF.js +20 -0
- package/dist/archive-DEEKGv7z.js +20 -0
- package/dist/arrow-down-CQCyatZJ.js +20 -0
- package/dist/arrow-left-WAYQJfV3.js +20 -0
- package/dist/arrow-nav-left-C-HpPole.js +20 -0
- package/dist/arrow-nav-right-BlAY6Gcm.js +20 -0
- package/dist/arrow-right-D0lclnuT.js +20 -0
- package/dist/arrow-up-BIGOOTOw.js +20 -0
- package/dist/arrowhead-left-wJh6ignH.js +20 -0
- package/dist/arrowhead-right-Ckmx31iE.js +20 -0
- package/dist/arrowhead-top-B5mMgnyI.js +20 -0
- package/dist/atmo-DtEt5w7M.js +20 -0
- package/dist/audio-COlGZTYZ.js +20 -0
- package/dist/audio-circled-CXMAJvzi.js +17 -0
- package/dist/audio-filled-By7S6nGk.js +17 -0
- package/dist/bag-Cx75Wh2p.js +17 -0
- package/dist/bell-BDW5AA5I.js +20 -0
- package/dist/bell-fill-CfA8tV4j.js +20 -0
- package/dist/book-BbMjdjph.js +20 -0
- package/dist/bookmark-DwcaiohW.js +22 -0
- package/dist/bookmark-fill-Cv1s0dH9.js +22 -0
- package/dist/bookmark-outlined-xOel421o.js +17 -0
- package/dist/box-BTUrP2l1.js +20 -0
- package/dist/bulb-DmQHgXRb.js +20 -0
- package/dist/call-RY-I2-S9.js +20 -0
- package/dist/camera-Bwh0OnBe.js +20 -0
- package/dist/check-CGdOFQGV.js +20 -0
- package/dist/checklist-BYiuQ1Jg.js +20 -0
- package/dist/checkmark-Bg-2YjiX.js +20 -0
- package/dist/checkmark-double-Bt0pyTub.js +20 -0
- package/dist/chevron-down-BXBXV8jb.js +20 -0
- package/dist/chevron-left-CIHBjA71.js +20 -0
- package/dist/chevron-right-Yb9mRCqY.js +20 -0
- package/dist/chevron-up-Jz7wNFal.js +20 -0
- package/dist/clipboard-D8U0-Kt4.js +20 -0
- package/dist/clock-s1F-XdD0.js +20 -0
- package/dist/close-Co_HDzoB.js +20 -0
- package/dist/cloud-save-CeiwrIM3.js +20 -0
- package/dist/code-CJx_ait4.js +20 -0
- package/dist/collapse-L5ArCkLv.js +20 -0
- package/dist/color-palette-D2EciBaa.js +15 -0
- package/dist/comment-C3dFuUKt.js +20 -0
- package/dist/comment-fill-B55_2syv.js +20 -0
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +10 -10
- package/dist/components/UiBadge/UiBadge.vue.d.ts +1 -1
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +256 -256
- package/dist/components/UiDialog/UiDialog.vue.d.ts +2 -2
- package/dist/components/UiFilterButton/UiFilterButton.vue.d.ts +1 -1
- package/dist/components/UiIcon/UiIcon.vue.d.ts +1 -1
- package/dist/components/UiIcon/UiIconLoading.vue.d.ts +2 -0
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +2 -2
- package/dist/components/UiInput/UiInput.vue.d.ts +2 -2
- package/dist/components/UiMenu/UiMenu.vue.d.ts +11 -17
- package/dist/components/UiMenu/UiMenuItem.vue.d.ts +3 -10
- package/dist/components/UiMenu/UiMenuTypes.d.ts +8 -5
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +5 -5
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +1 -1
- package/dist/components/index.d.ts +5 -4
- package/dist/compositions/index.d.ts +1 -2
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +2 -3
- package/dist/copy-D7NMitci.js +21 -0
- package/dist/copy-link-B2yEkl1b.js +20 -0
- package/dist/delete-CGjffWKc.js +20 -0
- package/dist/directives/index.d.ts +1 -2
- package/dist/directives/vClickAway.d.ts +5 -0
- package/dist/download-bfgz5USw.js +20 -0
- package/dist/dpa-id-C2EKx50q.js +20 -0
- package/dist/dpa-shared-components.js +43 -20792
- package/dist/edit-BHZQi3pq.js +20 -0
- package/dist/edit-add-DyXfBjFv.js +20 -0
- package/dist/eil-BZVJjmqL.js +20 -0
- package/dist/emoji-KVxbbstq.js +20 -0
- package/dist/emoji-add-wXO_MbBN.js +20 -0
- package/dist/envelope-Do6EvpiE.js +18 -0
- package/dist/event-D-d-uKfX.js +15 -0
- package/dist/expand-DKYnTVUy.js +20 -0
- package/dist/external-link-pR-hj0uM.js +20 -0
- package/dist/file-DVXvfjvW.js +20 -0
- package/dist/file-pdf-3hoxOT0g.js +20 -0
- package/dist/filter-CZDLhOhZ.js +20 -0
- package/dist/filter-outline-D3XSxtPi.js +18 -0
- package/dist/flag-7Otsp-e0.js +20 -0
- package/dist/flag-fill-B3iifo27.js +20 -0
- package/dist/flag-filled-I_O4CabA.js +20 -0
- package/dist/flag-outline-BP0dWutQ.js +20 -0
- package/dist/flags-BBMSpfOZ.js +21 -0
- package/dist/flash-B9OHMM_N.js +20 -0
- package/dist/folder-BAUiA9vX.js +20 -0
- package/dist/folder-add-CSSH3Dbt.js +20 -0
- package/dist/folder-fill-CERO5mWJ.js +20 -0
- package/dist/folder-filled-D21XOvfd.js +20 -0
- package/dist/gallery-DhOzQclm.js +24 -0
- package/dist/graphic-LE33YQMT.js +20 -0
- package/dist/graphic-circled-BQ_xihS5.js +17 -0
- package/dist/graphic-filled-BKiygOme.js +17 -0
- package/dist/graphics-wd2lbyl3.js +24 -0
- package/dist/grid-1-jCczBcRm.js +20 -0
- package/dist/grid-2-hxKHNcop.js +20 -0
- package/dist/grid-3-CbmrFOr1.js +20 -0
- package/dist/grid-4-BD0Oc0gM.js +20 -0
- package/dist/grid-6-uSfmaWj_.js +20 -0
- package/dist/grid-9-C3iuLy52.js +20 -0
- package/dist/grid-masonry-9-BGi4LYFq.js +21 -0
- package/dist/grid-masonry-Cc3ikdbO.js +20 -0
- package/dist/help-B8acvxOk.js +20 -0
- package/dist/home-9de44DM0.js +20 -0
- package/dist/image focus point-DpWCCApO.js +20 -0
- package/dist/image-D5bJAfGZ.js +20 -0
- package/dist/impact-high-BPdZZv3d.js +20 -0
- package/dist/impact-low-DEb5MTNu.js +20 -0
- package/dist/impact-medium-PY53Fxc9.js +20 -0
- package/dist/impact-very-high-DssNyiQu.js +20 -0
- package/dist/impact-very-low-2LD7UD3j.js +20 -0
- package/dist/index-XKGgygaS.js +15920 -0
- package/dist/index.d.ts +4 -4
- package/dist/info-VmSmLr0v.js +20 -0
- package/dist/info-fill-D36TgQvN.js +20 -0
- package/dist/info-filled-YKv_2KDt.js +20 -0
- package/dist/label-CnBMaLd5.js +20 -0
- package/dist/label-filled-BptUL_5C.js +20 -0
- package/dist/language-BglNZNWK.js +20 -0
- package/dist/latest-au_x-Nd4.js +20 -0
- package/dist/lightbulb-D_m8bSzA.js +18 -0
- package/dist/list-9u0FlmRG.js +20 -0
- package/dist/list-search-7lV9-vTI.js +24 -0
- package/dist/lock-B5HnFuT4.js +20 -0
- package/dist/lock-filled-Dm7oA50r.js +20 -0
- package/dist/mail-E8Ep1i3g.js +20 -0
- package/dist/map-CUhI3RTs.js +20 -0
- package/dist/map-outline-WxvT9ABg.js +20 -0
- package/dist/menu-njI7x5sK.js +20 -0
- package/dist/minus-CUuEDVQf.js +20 -0
- package/dist/more-horizontal-DhuFkgmd.js +20 -0
- package/dist/more-vertical-B0Qz4coe.js +20 -0
- package/dist/move-DTMTWGff.js +20 -0
- package/dist/move-up-down-i852rbqB.js +20 -0
- package/dist/navigation-D5TBFdUh.js +20 -0
- package/dist/note-B02tXFuc.js +20 -0
- package/dist/offline-DStERtAz.js +20 -0
- package/dist/package-BzQknq-0.js +20 -0
- package/dist/paper-plane-DMjvl2ZK.js +20 -0
- package/dist/paperplane-DY7SwIbN.js +20 -0
- package/dist/pause-OlIP7H_E.js +20 -0
- package/dist/pause-circle-srsO0rgE.js +21 -0
- package/dist/pdf-B4UJAops.js +20 -0
- package/dist/pen-AEyxNxmB.js +17 -0
- package/dist/pen-check-BvA2Pz3P.js +17 -0
- package/dist/people-DXiooAgV.js +20 -0
- package/dist/phone-DqEMTWr5.js +20 -0
- package/dist/picture-GDk1nP5P.js +20 -0
- package/dist/picture-circled-Dd3F9NW6.js +17 -0
- package/dist/picture-filled-DzVP9_K-.js +17 -0
- package/dist/pin-CJX1-jvg.js +20 -0
- package/dist/planning-C3i_iRaX.js +20 -0
- package/dist/play-C8_Tjg16.js +20 -0
- package/dist/play-circle-DMMBx7_c.js +20 -0
- package/dist/play-fill-DwawLsam.js +20 -0
- package/dist/plus-DAAyrRrc.js +20 -0
- package/dist/plus-circle-nn7SkAil.js +20 -0
- package/dist/print-lG7P0int.js +20 -0
- package/dist/refresh-Cf1-Dc3H.js +20 -0
- package/dist/renovate.json +23 -0
- package/dist/reset-Dxb7qQS0.js +20 -0
- package/dist/responsive-CSaav6TV.js +21 -0
- package/dist/rubix-thema-BhgzL124.js +20 -0
- package/dist/save-C7hhGQ_5.js +20 -0
- package/dist/saved-search-fill-DI9FGxxY.js +23 -0
- package/dist/saved-search-uCNPD6t0.js +21 -0
- package/dist/search-DREcLnTL.js +20 -0
- package/dist/settings-B4K5tn_j.js +20 -0
- package/dist/share-DQmvuMHv.js +20 -0
- package/dist/share-alternative-dz3t31dE.js +20 -0
- package/dist/sidebar-D-zf8TWU.js +17 -0
- package/dist/sidebar-fill-DmiSOx__.js +21 -0
- package/dist/slack-OTtCa5MN.js +20 -0
- package/dist/slider-config-Ci_JoJfW.js +20 -0
- package/dist/spellcheck-Byef2nMF.js +20 -0
- package/dist/spinner-F_eo05Tg.js +15 -0
- package/dist/src/assets/icons/activities.vue +13 -0
- package/dist/src/assets/icons/ai.vue +13 -0
- package/dist/src/assets/icons/alert-fill.vue +13 -0
- package/dist/src/assets/icons/alert-octagon.vue +24 -0
- package/dist/src/assets/icons/alert.vue +13 -0
- package/dist/src/assets/icons/apps.vue +13 -0
- package/dist/src/assets/icons/archive.vue +13 -0
- package/dist/src/assets/icons/arrow-down.vue +13 -0
- package/dist/src/assets/icons/arrow-left.vue +13 -0
- package/dist/src/assets/icons/arrow-nav-left.vue +13 -0
- package/dist/src/assets/icons/arrow-nav-right.vue +13 -0
- package/dist/src/assets/icons/arrow-right.vue +13 -0
- package/dist/src/assets/icons/arrow-up.vue +13 -0
- package/dist/src/assets/icons/arrowhead-left.vue +13 -0
- package/dist/src/assets/icons/arrowhead-right.vue +13 -0
- package/dist/src/assets/icons/arrowhead-top.vue +13 -0
- package/dist/src/assets/icons/atmo.vue +13 -0
- package/dist/src/assets/icons/audio-circled.vue +12 -0
- package/dist/src/assets/icons/audio-filled.vue +12 -0
- package/dist/src/assets/icons/audio.vue +13 -0
- package/dist/src/assets/icons/bag.vue +12 -0
- package/dist/src/assets/icons/bell-fill.vue +13 -0
- package/dist/src/assets/icons/bell.vue +13 -0
- package/dist/src/assets/icons/book.vue +13 -0
- package/dist/src/assets/icons/bookmark-fill.vue +15 -0
- package/dist/src/assets/icons/bookmark-outlined.vue +12 -0
- package/dist/src/assets/icons/bookmark.vue +15 -0
- package/dist/src/assets/icons/box.vue +13 -0
- package/dist/src/assets/icons/bulb.vue +13 -0
- package/dist/src/assets/icons/call.vue +13 -0
- package/dist/src/assets/icons/camera.vue +13 -0
- package/dist/src/assets/icons/check.vue +13 -0
- package/dist/src/assets/icons/checklist.vue +13 -0
- package/dist/src/assets/icons/checkmark-double.vue +13 -0
- package/dist/src/assets/icons/checkmark.vue +13 -0
- package/dist/src/assets/icons/chevron-down.vue +13 -0
- package/dist/src/assets/icons/chevron-left.vue +13 -0
- package/dist/src/assets/icons/chevron-right.vue +13 -0
- package/dist/src/assets/icons/chevron-up.vue +13 -0
- package/dist/src/assets/icons/clipboard.vue +13 -0
- package/dist/src/assets/icons/clock.vue +13 -0
- package/dist/src/assets/icons/close.vue +13 -0
- package/dist/src/assets/icons/cloud-save.vue +13 -0
- package/dist/src/assets/icons/code.vue +13 -0
- package/dist/src/assets/icons/collapse.vue +13 -0
- package/dist/src/assets/icons/color-palette.vue +19 -0
- package/dist/src/assets/icons/comment-fill.vue +13 -0
- package/dist/src/assets/icons/comment.vue +13 -0
- package/dist/src/assets/icons/copy-link.vue +13 -0
- package/dist/src/assets/icons/copy.vue +14 -0
- package/dist/src/assets/icons/delete.vue +13 -0
- package/dist/src/assets/icons/download.vue +13 -0
- package/dist/src/assets/icons/dpa-id.vue +13 -0
- package/dist/src/assets/icons/edit-add.vue +13 -0
- package/dist/src/assets/icons/edit.vue +13 -0
- package/dist/src/assets/icons/eil.vue +13 -0
- package/dist/src/assets/icons/emoji-add.vue +13 -0
- package/dist/src/assets/icons/emoji.vue +13 -0
- package/dist/src/assets/icons/envelope.vue +13 -0
- package/dist/src/assets/icons/event.vue +7 -0
- package/dist/src/assets/icons/expand.vue +13 -0
- package/dist/src/assets/icons/external-link.vue +13 -0
- package/dist/src/assets/icons/file-pdf.vue +13 -0
- package/dist/src/assets/icons/file.vue +13 -0
- package/dist/src/assets/icons/filter-outline.vue +8 -0
- package/dist/src/assets/icons/filter.vue +13 -0
- package/dist/src/assets/icons/flag-fill.vue +13 -0
- package/dist/src/assets/icons/flag-filled.vue +13 -0
- package/dist/src/assets/icons/flag-outline.vue +13 -0
- package/dist/src/assets/icons/flag.vue +13 -0
- package/dist/src/assets/icons/flags.vue +14 -0
- package/dist/src/assets/icons/flash.vue +13 -0
- package/dist/src/assets/icons/folder-add.vue +13 -0
- package/dist/src/assets/icons/folder-fill.vue +13 -0
- package/dist/src/assets/icons/folder-filled.vue +13 -0
- package/dist/src/assets/icons/folder.vue +13 -0
- package/dist/src/assets/icons/gallery.vue +17 -0
- package/dist/src/assets/icons/graphic-circled.vue +12 -0
- package/dist/src/assets/icons/graphic-filled.vue +12 -0
- package/dist/src/assets/icons/graphic.vue +13 -0
- package/dist/src/assets/icons/graphics.vue +17 -0
- package/dist/src/assets/icons/grid-1.vue +13 -0
- package/dist/src/assets/icons/grid-2.vue +13 -0
- package/dist/src/assets/icons/grid-3.vue +13 -0
- package/dist/src/assets/icons/grid-4.vue +13 -0
- package/dist/src/assets/icons/grid-6.vue +13 -0
- package/dist/src/assets/icons/grid-9.vue +13 -0
- package/dist/src/assets/icons/grid-masonry-9.vue +14 -0
- package/dist/src/assets/icons/grid-masonry.vue +13 -0
- package/dist/src/assets/icons/help.vue +13 -0
- package/dist/src/assets/icons/home.vue +13 -0
- package/dist/src/assets/icons/image focus point.vue +13 -0
- package/dist/src/assets/icons/image.vue +13 -0
- package/dist/src/assets/icons/impact-high.vue +13 -0
- package/dist/src/assets/icons/impact-low.vue +13 -0
- package/dist/src/assets/icons/impact-medium.vue +13 -0
- package/dist/src/assets/icons/impact-very-high.vue +13 -0
- package/dist/src/assets/icons/impact-very-low.vue +13 -0
- package/dist/src/assets/icons/info-fill.vue +13 -0
- package/dist/src/assets/icons/info-filled.vue +13 -0
- package/dist/src/assets/icons/info.vue +13 -0
- package/dist/src/assets/icons/label-filled.vue +13 -0
- package/dist/src/assets/icons/label.vue +13 -0
- package/dist/src/assets/icons/language.vue +13 -0
- package/dist/src/assets/icons/latest.vue +13 -0
- package/dist/src/assets/icons/lightbulb.vue +28 -0
- package/dist/src/assets/icons/list-search.vue +17 -0
- package/dist/src/assets/icons/list.vue +13 -0
- package/dist/src/assets/icons/lock-filled.vue +13 -0
- package/dist/src/assets/icons/lock.vue +13 -0
- package/dist/src/assets/icons/mail.vue +13 -0
- package/dist/src/assets/icons/map-outline.vue +13 -0
- package/dist/src/assets/icons/map.vue +13 -0
- package/dist/src/assets/icons/menu.vue +13 -0
- package/dist/src/assets/icons/minus.vue +13 -0
- package/dist/src/assets/icons/more-horizontal.vue +13 -0
- package/dist/src/assets/icons/more-vertical.vue +13 -0
- package/dist/src/assets/icons/move-up-down.vue +13 -0
- package/dist/src/assets/icons/move.vue +13 -0
- package/dist/src/assets/icons/navigation.vue +13 -0
- package/dist/src/assets/icons/note.vue +13 -0
- package/dist/src/assets/icons/offline.vue +13 -0
- package/dist/src/assets/icons/package.vue +13 -0
- package/dist/src/assets/icons/paper-plane.vue +13 -0
- package/dist/src/assets/icons/paperplane.vue +13 -0
- package/dist/src/assets/icons/pause-circle.vue +14 -0
- package/dist/src/assets/icons/pause.vue +13 -0
- package/dist/src/assets/icons/pdf.vue +13 -0
- package/dist/src/assets/icons/pen-check.vue +12 -0
- package/dist/src/assets/icons/pen.vue +12 -0
- package/dist/src/assets/icons/people.vue +13 -0
- package/dist/src/assets/icons/phone.vue +13 -0
- package/dist/src/assets/icons/picture-circled.vue +12 -0
- package/dist/src/assets/icons/picture-filled.vue +12 -0
- package/dist/src/assets/icons/picture.vue +13 -0
- package/dist/src/assets/icons/pin.vue +13 -0
- package/dist/src/assets/icons/planning.vue +13 -0
- package/dist/src/assets/icons/play-circle.vue +13 -0
- package/dist/src/assets/icons/play-fill.vue +13 -0
- package/dist/src/assets/icons/play.vue +13 -0
- package/dist/src/assets/icons/plus-circle.vue +13 -0
- package/dist/src/assets/icons/plus.vue +13 -0
- package/dist/src/assets/icons/print.vue +13 -0
- package/dist/src/assets/icons/refresh.vue +13 -0
- package/dist/src/assets/icons/reset.vue +13 -0
- package/dist/src/assets/icons/responsive.vue +14 -0
- package/dist/src/assets/icons/rubix-thema.vue +13 -0
- package/dist/src/assets/icons/save.vue +13 -0
- package/dist/src/assets/icons/saved-search-fill.vue +16 -0
- package/dist/src/assets/icons/saved-search.vue +14 -0
- package/dist/src/assets/icons/search.vue +13 -0
- package/dist/src/assets/icons/settings.vue +13 -0
- package/dist/src/assets/icons/share-alternative.vue +13 -0
- package/dist/src/assets/icons/share.vue +13 -0
- package/dist/src/assets/icons/sidebar-fill.vue +14 -0
- package/dist/src/assets/icons/sidebar.vue +30 -0
- package/dist/src/assets/icons/slack.vue +13 -0
- package/dist/src/assets/icons/slider-config.vue +13 -0
- package/dist/src/assets/icons/spellcheck.vue +13 -0
- package/dist/src/assets/icons/spinner.vue +7 -0
- package/dist/src/assets/icons/standard-view.vue +12 -0
- package/dist/src/assets/icons/star-fill.vue +13 -0
- package/dist/src/assets/icons/star-filled.vue +12 -0
- package/dist/src/assets/icons/star.vue +13 -0
- package/dist/src/assets/icons/stop.vue +13 -0
- package/dist/src/assets/icons/story.vue +13 -0
- package/dist/src/assets/icons/sync.vue +13 -0
- package/dist/src/assets/icons/tasks.vue +13 -0
- package/dist/src/assets/icons/text-circled.vue +12 -0
- package/dist/src/assets/icons/text-filled.vue +12 -0
- package/dist/src/assets/icons/text.vue +13 -0
- package/dist/src/assets/icons/thumbs-down.vue +14 -0
- package/dist/src/assets/icons/thumbs-up-double.vue +14 -0
- package/dist/src/assets/icons/thumbs-up.vue +14 -0
- package/dist/src/assets/icons/topic.vue +13 -0
- package/dist/src/assets/icons/union.vue +7 -0
- package/dist/src/assets/icons/upload.vue +13 -0
- package/dist/src/assets/icons/video overlay.vue +14 -0
- package/dist/src/assets/icons/video-circled.vue +12 -0
- package/dist/src/assets/icons/video-filled.vue +12 -0
- package/dist/src/assets/icons/video-rounded.vue +13 -0
- package/dist/src/assets/icons/video.vue +13 -0
- package/dist/src/assets/icons/view-off.vue +13 -0
- package/dist/src/assets/icons/view.vue +13 -0
- package/dist/src/assets/icons/volume-up.vue +13 -0
- package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +122 -0
- package/dist/src/components/DpaMediaItem/DpaMediaItem.stories.ts +138 -0
- package/dist/src/components/DpaMediaItem/DpaMediaItem.vue +128 -0
- package/dist/src/components/DpaMediaItem/README.md +40 -0
- package/dist/src/components/UiAutocomplete/README.md +44 -0
- package/dist/src/components/UiAutocomplete/UiAutocomplete.spec.ts +38 -0
- package/dist/src/components/UiAutocomplete/UiAutocomplete.stories.ts +45 -0
- package/dist/src/components/UiAutocomplete/UiAutocomplete.vue +157 -0
- package/dist/src/components/UiBadge/README.md +34 -0
- package/dist/src/components/UiBadge/UiBadge.spec.ts +31 -0
- package/dist/src/components/UiBadge/UiBadge.stories.ts +79 -0
- package/dist/src/components/UiBadge/UiBadge.vue +93 -0
- package/dist/src/components/UiButton/README.md +53 -0
- package/dist/src/components/UiButton/UiButton.spec.ts +131 -0
- package/dist/src/components/UiButton/UiButton.stories.ts +58 -0
- package/dist/src/components/UiButton/UiButton.vue +139 -0
- package/dist/src/components/UiButtonGroup/README.md +29 -0
- package/dist/src/components/UiButtonGroup/UiButtonGroup.spec.ts +15 -0
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +43 -0
- package/dist/src/components/UiButtonGroup/UiButtonGroup.vue +7 -0
- package/dist/src/components/UiCard/README.md +30 -0
- package/dist/src/components/UiCard/UiCard.spec.ts +15 -0
- package/dist/src/components/UiCard/UiCard.stories.ts +28 -0
- package/dist/src/components/UiCard/UiCard.vue +7 -0
- package/dist/src/components/UiCheckBox/README.md +44 -0
- package/dist/src/components/UiCheckBox/UiCheckBox.spec.ts +142 -0
- package/dist/src/components/UiCheckBox/UiCheckBox.stories.ts +60 -0
- package/dist/src/components/UiCheckBox/UiCheckBox.vue +104 -0
- package/dist/src/components/UiCheckBoxGroup/README.md +33 -0
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +66 -0
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.ts +57 -0
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +89 -0
- package/dist/src/components/UiChip/README.md +30 -0
- package/dist/src/components/UiChip/UiChip.spec.ts +74 -0
- package/dist/src/components/UiChip/UiChip.stories.ts +38 -0
- package/dist/src/components/UiChip/UiChip.vue +45 -0
- package/dist/src/components/UiCollapseNavigation/README.md +35 -0
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.spec.ts +20 -0
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.stories.ts +64 -0
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +59 -0
- package/dist/src/components/UiColorPicker/README.md +31 -0
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +51 -0
- package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +42 -0
- package/dist/src/components/UiColorPicker/UiColorPicker.vue +107 -0
- package/dist/src/components/UiColorPicker/lib/colors.ts +11 -0
- package/dist/src/components/UiDatePicker/README.md +67 -0
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +301 -0
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +267 -0
- package/dist/src/components/UiDatePicker/UiDatePicker.vue +558 -0
- package/dist/src/components/UiDialog/README.md +50 -0
- package/dist/src/components/UiDialog/UiDialog.spec.ts +159 -0
- package/dist/src/components/UiDialog/UiDialog.stories.ts +78 -0
- package/dist/src/components/UiDialog/UiDialog.vue +116 -0
- package/dist/src/components/UiFilterBadge/README.md +31 -0
- package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +16 -0
- package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +43 -0
- package/dist/src/components/UiFilterBadge/UiFilterBadge.vue +39 -0
- package/dist/src/components/UiFilterBadgeButton/README.md +38 -0
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.ts +40 -0
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.ts +54 -0
- package/dist/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +50 -0
- package/dist/src/components/UiFilterButton/README.md +35 -0
- package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +79 -0
- package/dist/src/components/UiFilterButton/UiFilterButton.stories.ts +82 -0
- package/dist/src/components/UiFilterButton/UiFilterButton.vue +158 -0
- package/dist/src/components/UiIcon/IconOverview.stories.vue +23 -0
- package/dist/src/components/UiIcon/README.md +32 -0
- package/dist/src/components/UiIcon/UiIcon.spec.ts +58 -0
- package/dist/src/components/UiIcon/UiIcon.stories.ts +47 -0
- package/dist/src/components/UiIcon/UiIcon.vue +60 -0
- package/dist/src/components/UiIcon/UiIconLoading.vue +1 -0
- package/dist/src/components/UiIcon/iconNames.ts +187 -0
- package/dist/src/components/UiIconButton/README.md +38 -0
- package/dist/src/components/UiIconButton/UiIconButton.spec.ts +65 -0
- package/dist/src/components/UiIconButton/UiIconButton.stories.ts +58 -0
- package/dist/src/components/UiIconButton/UiIconButton.vue +94 -0
- package/dist/src/components/UiInfoContent/README.md +43 -0
- package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +42 -0
- package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +55 -0
- package/dist/src/components/UiInfoContent/UiInfoContent.vue +68 -0
- package/dist/src/components/UiInput/README.md +66 -0
- package/dist/src/components/UiInput/UiInput.spec.ts +238 -0
- package/dist/src/components/UiInput/UiInput.stories.ts +123 -0
- package/dist/src/components/UiInput/UiInput.vue +289 -0
- package/dist/src/components/UiList/README.md +31 -0
- package/dist/src/components/UiList/UiList.spec.ts +23 -0
- package/dist/src/components/UiList/UiList.stories.ts +63 -0
- package/dist/src/components/UiList/UiList.vue +7 -0
- package/dist/src/components/UiListItem/README.md +46 -0
- package/dist/src/components/UiListItem/UiListItem.spec.ts +99 -0
- package/dist/src/components/UiListItem/UiListItem.stories.ts +82 -0
- package/dist/src/components/UiListItem/UiListItem.vue +107 -0
- package/dist/src/components/UiMenu/README.md +95 -0
- package/dist/src/components/UiMenu/UiMenu.spec.ts +320 -0
- package/dist/src/components/UiMenu/UiMenu.stories.ts +507 -0
- package/dist/src/components/UiMenu/UiMenu.vue +444 -0
- package/dist/src/components/UiMenu/UiMenuItem.vue +57 -0
- package/dist/src/components/UiMenu/UiMenuList.vue +18 -0
- package/dist/src/components/UiMenu/UiMenuTypes.ts +20 -0
- package/dist/src/components/UiOverlay/README.md +36 -0
- package/dist/src/components/UiOverlay/UiOverlay.spec.ts +15 -0
- package/dist/src/components/UiOverlay/UiOverlay.stories.ts +20 -0
- package/dist/src/components/UiOverlay/UiOverlay.vue +17 -0
- package/dist/src/components/UiOverlayMenu/README.md +38 -0
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +31 -0
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.stories.ts +37 -0
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.vue +31 -0
- package/dist/src/components/UiRadioInputGroup/README.md +49 -0
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +65 -0
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.stories.ts +67 -0
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +82 -0
- package/dist/src/components/UiSearchBar/README.md +53 -0
- package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +82 -0
- package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +192 -0
- package/dist/src/components/UiSearchBar/UiSearchBar.vue +233 -0
- package/dist/src/components/UiSearchInput/README.md +52 -0
- package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +44 -0
- package/dist/src/components/UiSearchInput/UiSearchInput.stories.ts +60 -0
- package/dist/src/components/UiSearchInput/UiSearchInput.vue +144 -0
- package/dist/src/components/UiSection/README.md +31 -0
- package/dist/src/components/UiSection/UiSection.spec.ts +48 -0
- package/dist/src/components/UiSection/UiSection.stories.ts +59 -0
- package/dist/src/components/UiSection/UiSection.vue +45 -0
- package/dist/src/components/UiSectionDivider/README.md +27 -0
- package/dist/src/components/UiSectionDivider/UiSectionDivider.spec.ts +18 -0
- package/dist/src/components/UiSectionDivider/UiSectionDivider.stories.ts +46 -0
- package/dist/src/components/UiSectionDivider/UiSectionDivider.vue +27 -0
- package/dist/src/components/UiSimpleInput/README.md +38 -0
- package/dist/src/components/UiSimpleInput/UiSimpleInput.spec.ts +58 -0
- package/dist/src/components/UiSimpleInput/UiSimpleInput.stories.ts +52 -0
- package/dist/src/components/UiSimpleInput/UiSimpleInput.vue +97 -0
- package/dist/src/components/UiSkeletonBox/README.md +28 -0
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +14 -0
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.stories.ts +32 -0
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.vue +38 -0
- package/dist/src/components/UiSnackbar/README.md +55 -0
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +62 -0
- package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +64 -0
- package/dist/src/components/UiSnackbar/UiSnackbar.vue +86 -0
- package/dist/src/components/UiSpinner/README.md +26 -0
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +29 -0
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +47 -0
- package/dist/src/components/UiSpinner/UiSpinner.vue +103 -0
- package/dist/src/components/UiTextButton/README.md +41 -0
- package/dist/src/components/UiTextButton/UiTextButton.spec.ts +98 -0
- package/dist/src/components/UiTextButton/UiTextButton.stories.ts +59 -0
- package/dist/src/components/UiTextButton/UiTextButton.vue +153 -0
- package/dist/src/components/UiToggleButton/README.md +42 -0
- package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +88 -0
- package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +101 -0
- package/dist/src/components/UiToggleButton/UiToggleButton.vue +139 -0
- package/dist/src/components/UiTooltip/README.md +61 -0
- package/dist/src/components/UiTooltip/UiTooltip.spec.ts +113 -0
- package/dist/src/components/UiTooltip/UiTooltip.stories.ts +102 -0
- package/dist/src/components/UiTooltip/UiTooltip.vue +170 -0
- package/dist/src/components/index.ts +88 -0
- package/dist/src/compositions/index.ts +1 -0
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.ts +22 -0
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +12 -0
- package/dist/src/compositions/useBreakpoints/useBreakpoints.ts +19 -0
- package/dist/src/directives/index.ts +1 -0
- package/dist/src/directives/vClickAway.ts +38 -0
- package/dist/src/index.ts +6 -0
- package/dist/src/tailwind/imports.css +3 -0
- package/dist/src/tailwind/screens.js +7 -0
- package/dist/src/tailwind/tailwind.config.js +203 -0
- package/dist/src/utils/cn.ts +7 -0
- package/dist/src/utils/index.spec.ts +12 -0
- package/dist/src/utils/index.ts +1 -0
- package/dist/standard-view-Bfoncxjp.js +17 -0
- package/dist/star-DeIoV7O-.js +20 -0
- package/dist/star-fill-f-2wG4T9.js +20 -0
- package/dist/star-filled-DgrM56pD.js +17 -0
- package/dist/stop-iWNnAldV.js +20 -0
- package/dist/story-D095eAwe.js +20 -0
- package/dist/style.css +1 -1
- package/dist/sync-GKhr6R3c.js +20 -0
- package/dist/tasks-CYXeebUq.js +20 -0
- package/dist/text-DPbBsODn.js +20 -0
- package/dist/text-circled-B7RvoCLx.js +17 -0
- package/dist/text-filled-BfxfjvDW.js +17 -0
- package/dist/thumbs-down-11FD0yoF.js +21 -0
- package/dist/thumbs-up-B6DhPl3M.js +21 -0
- package/dist/thumbs-up-double-CjjCWfsm.js +21 -0
- package/dist/topic-D0fvzdFd.js +20 -0
- package/dist/union-CKYRumVT.js +15 -0
- package/dist/upload-ChcuNPWh.js +20 -0
- package/dist/utils/cn.d.ts +2 -0
- package/dist/utils/index.d.ts +1 -2
- package/dist/video overlay-Dsw-DZ-u.js +21 -0
- package/dist/video-B-4XVtOK.js +20 -0
- package/dist/video-circled-BiGX6-PS.js +17 -0
- package/dist/video-filled-CzradZGP.js +17 -0
- package/dist/video-rounded-jJE1t6Pc.js +20 -0
- package/dist/view-Dm2Pk0Sn.js +20 -0
- package/dist/view-off-Xsshy6wP.js +20 -0
- package/dist/volume-up-BWmu2SKB.js +20 -0
- package/package.json +67 -62
- package/src/assets/icons/activities.vue +13 -0
- package/src/assets/icons/ai.vue +13 -0
- package/src/assets/icons/alert-fill.vue +13 -0
- package/src/assets/icons/alert-octagon.vue +24 -0
- package/src/assets/icons/alert.vue +13 -0
- package/src/assets/icons/apps.vue +13 -0
- package/src/assets/icons/archive.vue +13 -0
- package/src/assets/icons/arrow-down.vue +13 -0
- package/src/assets/icons/arrow-left.vue +13 -0
- package/src/assets/icons/arrow-nav-left.vue +13 -0
- package/src/assets/icons/arrow-nav-right.vue +13 -0
- package/src/assets/icons/arrow-right.vue +13 -0
- package/src/assets/icons/arrow-up.vue +13 -0
- package/src/assets/icons/arrowhead-left.vue +13 -0
- package/src/assets/icons/arrowhead-right.vue +13 -0
- package/src/assets/icons/arrowhead-top.vue +13 -0
- package/src/assets/icons/atmo.vue +13 -0
- package/src/assets/icons/audio-circled.vue +12 -0
- package/src/assets/icons/audio-filled.vue +12 -0
- package/src/assets/icons/audio.vue +13 -0
- package/src/assets/icons/bag.vue +12 -0
- package/src/assets/icons/bell-fill.vue +13 -0
- package/src/assets/icons/bell.vue +13 -0
- package/src/assets/icons/book.vue +13 -0
- package/src/assets/icons/bookmark-fill.vue +15 -0
- package/src/assets/icons/bookmark-outlined.vue +12 -0
- package/src/assets/icons/bookmark.vue +15 -0
- package/src/assets/icons/box.vue +13 -0
- package/src/assets/icons/bulb.vue +13 -0
- package/src/assets/icons/call.vue +13 -0
- package/src/assets/icons/camera.vue +13 -0
- package/src/assets/icons/check.vue +13 -0
- package/src/assets/icons/checklist.vue +13 -0
- package/src/assets/icons/checkmark-double.vue +13 -0
- package/src/assets/icons/checkmark.vue +13 -0
- package/src/assets/icons/chevron-down.vue +13 -0
- package/src/assets/icons/chevron-left.vue +13 -0
- package/src/assets/icons/chevron-right.vue +13 -0
- package/src/assets/icons/chevron-up.vue +13 -0
- package/src/assets/icons/clipboard.vue +13 -0
- package/src/assets/icons/clock.vue +13 -0
- package/src/assets/icons/close.vue +13 -0
- package/src/assets/icons/cloud-save.vue +13 -0
- package/src/assets/icons/code.vue +13 -0
- package/src/assets/icons/collapse.vue +13 -0
- package/src/assets/icons/color-palette.vue +19 -0
- package/src/assets/icons/comment-fill.vue +13 -0
- package/src/assets/icons/comment.vue +13 -0
- package/src/assets/icons/copy-link.vue +13 -0
- package/src/assets/icons/copy.vue +14 -0
- package/src/assets/icons/delete.vue +13 -0
- package/src/assets/icons/download.vue +13 -0
- package/src/assets/icons/dpa-id.vue +13 -0
- package/src/assets/icons/edit-add.vue +13 -0
- package/src/assets/icons/edit.vue +13 -0
- package/src/assets/icons/eil.vue +13 -0
- package/src/assets/icons/emoji-add.vue +13 -0
- package/src/assets/icons/emoji.vue +13 -0
- package/src/assets/icons/envelope.vue +13 -0
- package/src/assets/icons/event.vue +7 -0
- package/src/assets/icons/expand.vue +13 -0
- package/src/assets/icons/external-link.vue +13 -0
- package/src/assets/icons/file-pdf.vue +13 -0
- package/src/assets/icons/file.vue +13 -0
- package/src/assets/icons/filter-outline.vue +8 -0
- package/src/assets/icons/filter.vue +13 -0
- package/src/assets/icons/flag-fill.vue +13 -0
- package/src/assets/icons/flag-filled.vue +13 -0
- package/src/assets/icons/flag-outline.vue +13 -0
- package/src/assets/icons/flag.vue +13 -0
- package/src/assets/icons/flags.vue +14 -0
- package/src/assets/icons/flash.vue +13 -0
- package/src/assets/icons/folder-add.vue +13 -0
- package/src/assets/icons/folder-fill.vue +13 -0
- package/src/assets/icons/folder-filled.vue +13 -0
- package/src/assets/icons/folder.vue +13 -0
- package/src/assets/icons/gallery.vue +17 -0
- package/src/assets/icons/graphic-circled.vue +12 -0
- package/src/assets/icons/graphic-filled.vue +12 -0
- package/src/assets/icons/graphic.vue +13 -0
- package/src/assets/icons/graphics.vue +17 -0
- package/src/assets/icons/grid-1.vue +13 -0
- package/src/assets/icons/grid-2.vue +13 -0
- package/src/assets/icons/grid-3.vue +13 -0
- package/src/assets/icons/grid-4.vue +13 -0
- package/src/assets/icons/grid-6.vue +13 -0
- package/src/assets/icons/grid-9.vue +13 -0
- package/src/assets/icons/grid-masonry-9.vue +14 -0
- package/src/assets/icons/grid-masonry.vue +13 -0
- package/src/assets/icons/help.vue +13 -0
- package/src/assets/icons/home.vue +13 -0
- package/src/assets/icons/image focus point.vue +13 -0
- package/src/assets/icons/image.vue +13 -0
- package/src/assets/icons/impact-high.vue +13 -0
- package/src/assets/icons/impact-low.vue +13 -0
- package/src/assets/icons/impact-medium.vue +13 -0
- package/src/assets/icons/impact-very-high.vue +13 -0
- package/src/assets/icons/impact-very-low.vue +13 -0
- package/src/assets/icons/info-fill.vue +13 -0
- package/src/assets/icons/info-filled.vue +13 -0
- package/src/assets/icons/info.vue +13 -0
- package/src/assets/icons/label-filled.vue +13 -0
- package/src/assets/icons/label.vue +13 -0
- package/src/assets/icons/language.vue +13 -0
- package/src/assets/icons/latest.vue +13 -0
- package/src/assets/icons/lightbulb.vue +28 -0
- package/src/assets/icons/list-search.vue +17 -0
- package/src/assets/icons/list.vue +13 -0
- package/src/assets/icons/lock-filled.vue +13 -0
- package/src/assets/icons/lock.vue +13 -0
- package/src/assets/icons/mail.vue +13 -0
- package/src/assets/icons/map-outline.vue +13 -0
- package/src/assets/icons/map.vue +13 -0
- package/src/assets/icons/menu.vue +13 -0
- package/src/assets/icons/minus.vue +13 -0
- package/src/assets/icons/more-horizontal.vue +13 -0
- package/src/assets/icons/more-vertical.vue +13 -0
- package/src/assets/icons/move-up-down.vue +13 -0
- package/src/assets/icons/move.vue +13 -0
- package/src/assets/icons/navigation.vue +13 -0
- package/src/assets/icons/note.vue +13 -0
- package/src/assets/icons/offline.vue +13 -0
- package/src/assets/icons/package.vue +13 -0
- package/src/assets/icons/paper-plane.vue +13 -0
- package/src/assets/icons/paperplane.vue +13 -0
- package/src/assets/icons/pause-circle.vue +14 -0
- package/src/assets/icons/pause.vue +13 -0
- package/src/assets/icons/pdf.vue +13 -0
- package/src/assets/icons/pen-check.vue +12 -0
- package/src/assets/icons/pen.vue +12 -0
- package/src/assets/icons/people.vue +13 -0
- package/src/assets/icons/phone.vue +13 -0
- package/src/assets/icons/picture-circled.vue +12 -0
- package/src/assets/icons/picture-filled.vue +12 -0
- package/src/assets/icons/picture.vue +13 -0
- package/src/assets/icons/pin.vue +13 -0
- package/src/assets/icons/planning.vue +13 -0
- package/src/assets/icons/play-circle.vue +13 -0
- package/src/assets/icons/play-fill.vue +13 -0
- package/src/assets/icons/play.vue +13 -0
- package/src/assets/icons/plus-circle.vue +13 -0
- package/src/assets/icons/plus.vue +13 -0
- package/src/assets/icons/print.vue +13 -0
- package/src/assets/icons/refresh.vue +13 -0
- package/src/assets/icons/reset.vue +13 -0
- package/src/assets/icons/responsive.vue +14 -0
- package/src/assets/icons/rubix-thema.vue +13 -0
- package/src/assets/icons/save.vue +13 -0
- package/src/assets/icons/saved-search-fill.vue +16 -0
- package/src/assets/icons/saved-search.vue +14 -0
- package/src/assets/icons/search.vue +13 -0
- package/src/assets/icons/settings.vue +13 -0
- package/src/assets/icons/share-alternative.vue +13 -0
- package/src/assets/icons/share.vue +13 -0
- package/src/assets/icons/sidebar-fill.vue +14 -0
- package/src/assets/icons/sidebar.vue +30 -0
- package/src/assets/icons/slack.vue +13 -0
- package/src/assets/icons/slider-config.vue +13 -0
- package/src/assets/icons/spellcheck.vue +13 -0
- package/src/assets/icons/spinner.vue +7 -0
- package/src/assets/icons/standard-view.vue +12 -0
- package/src/assets/icons/star-fill.vue +13 -0
- package/src/assets/icons/star-filled.vue +12 -0
- package/src/assets/icons/star.vue +13 -0
- package/src/assets/icons/stop.vue +13 -0
- package/src/assets/icons/story.vue +13 -0
- package/src/assets/icons/sync.vue +13 -0
- package/src/assets/icons/tasks.vue +13 -0
- package/src/assets/icons/text-circled.vue +12 -0
- package/src/assets/icons/text-filled.vue +12 -0
- package/src/assets/icons/text.vue +13 -0
- package/src/assets/icons/thumbs-down.vue +14 -0
- package/src/assets/icons/thumbs-up-double.vue +14 -0
- package/src/assets/icons/thumbs-up.vue +14 -0
- package/src/assets/icons/topic.vue +13 -0
- package/src/assets/icons/union.vue +7 -0
- package/src/assets/icons/upload.vue +13 -0
- package/src/assets/icons/video overlay.vue +14 -0
- package/src/assets/icons/video-circled.vue +12 -0
- package/src/assets/icons/video-filled.vue +12 -0
- package/src/assets/icons/video-rounded.vue +13 -0
- package/src/assets/icons/video.vue +13 -0
- package/src/assets/icons/view-off.vue +13 -0
- package/src/assets/icons/view.vue +13 -0
- package/src/assets/icons/volume-up.vue +13 -0
- package/src/components/DpaMediaItem/DpaMediaItem.vue +128 -0
- package/src/components/DpaMediaItem/README.md +40 -0
- package/src/components/UiAutocomplete/README.md +44 -0
- package/src/components/UiAutocomplete/UiAutocomplete.vue +157 -0
- package/src/components/UiBadge/README.md +34 -0
- package/src/components/UiBadge/UiBadge.vue +93 -0
- package/src/components/UiButton/README.md +53 -0
- package/src/components/UiButton/UiButton.vue +139 -0
- package/src/components/UiButtonGroup/README.md +29 -0
- package/src/components/UiButtonGroup/UiButtonGroup.vue +7 -0
- package/src/components/UiCard/README.md +30 -0
- package/src/components/UiCard/UiCard.vue +7 -0
- package/src/components/UiCheckBox/README.md +44 -0
- package/src/components/UiCheckBox/UiCheckBox.vue +104 -0
- package/src/components/UiCheckBoxGroup/README.md +33 -0
- package/src/components/UiCheckBoxGroup/UiCheckBoxGroup.vue +89 -0
- package/src/components/UiChip/README.md +30 -0
- package/src/components/UiChip/UiChip.vue +45 -0
- package/src/components/UiCollapseNavigation/README.md +35 -0
- package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +59 -0
- package/src/components/UiColorPicker/README.md +31 -0
- package/src/components/UiColorPicker/UiColorPicker.vue +107 -0
- package/src/components/UiColorPicker/lib/colors.ts +11 -0
- package/src/components/UiDatePicker/README.md +67 -0
- package/src/components/UiDatePicker/UiDatePicker.vue +558 -0
- package/src/components/UiDialog/README.md +50 -0
- package/src/components/UiDialog/UiDialog.vue +116 -0
- package/src/components/UiFilterBadge/README.md +31 -0
- package/src/components/UiFilterBadge/UiFilterBadge.vue +39 -0
- package/src/components/UiFilterBadgeButton/README.md +38 -0
- package/src/components/UiFilterBadgeButton/UiFilterBadgeButton.vue +50 -0
- package/src/components/UiFilterButton/README.md +35 -0
- package/src/components/UiFilterButton/UiFilterButton.vue +158 -0
- package/src/components/UiIcon/README.md +32 -0
- package/src/components/UiIcon/UiIcon.vue +60 -0
- package/src/components/UiIcon/UiIconLoading.vue +1 -0
- package/src/components/UiIcon/iconNames.ts +187 -0
- package/src/components/UiIconButton/README.md +38 -0
- package/src/components/UiIconButton/UiIconButton.vue +94 -0
- package/src/components/UiInfoContent/README.md +43 -0
- package/src/components/UiInfoContent/UiInfoContent.vue +68 -0
- package/src/components/UiInput/README.md +66 -0
- package/src/components/UiInput/UiInput.vue +289 -0
- package/src/components/UiList/README.md +31 -0
- package/src/components/UiList/UiList.vue +7 -0
- package/src/components/UiListItem/README.md +46 -0
- package/src/components/UiListItem/UiListItem.vue +107 -0
- package/src/components/UiMenu/README.md +95 -0
- package/src/components/UiMenu/UiMenu.vue +444 -0
- package/src/components/UiMenu/UiMenuItem.vue +57 -0
- package/src/components/UiMenu/UiMenuList.vue +18 -0
- package/src/components/UiMenu/UiMenuTypes.ts +20 -0
- package/src/components/UiOverlay/README.md +36 -0
- package/src/components/UiOverlay/UiOverlay.vue +17 -0
- package/src/components/UiOverlayMenu/README.md +38 -0
- package/src/components/UiOverlayMenu/UiOverlayMenu.vue +31 -0
- package/src/components/UiRadioInputGroup/README.md +49 -0
- package/src/components/UiRadioInputGroup/UiRadioInputGroup.vue +82 -0
- package/src/components/UiSearchBar/README.md +53 -0
- package/src/components/UiSearchBar/UiSearchBar.vue +233 -0
- package/src/components/UiSearchInput/README.md +52 -0
- package/src/components/UiSearchInput/UiSearchInput.vue +144 -0
- package/src/components/UiSection/README.md +31 -0
- package/src/components/UiSection/UiSection.vue +45 -0
- package/src/components/UiSectionDivider/README.md +27 -0
- package/src/components/UiSectionDivider/UiSectionDivider.vue +27 -0
- package/src/components/UiSimpleInput/README.md +38 -0
- package/src/components/UiSimpleInput/UiSimpleInput.vue +97 -0
- package/src/components/UiSkeletonBox/README.md +28 -0
- package/src/components/UiSkeletonBox/UiSkeletonBox.vue +38 -0
- package/src/components/UiSnackbar/README.md +55 -0
- package/src/components/UiSnackbar/UiSnackbar.vue +86 -0
- package/src/components/UiSpinner/README.md +26 -0
- package/src/components/UiSpinner/UiSpinner.vue +103 -0
- package/src/components/UiTextButton/README.md +41 -0
- package/src/components/UiTextButton/UiTextButton.vue +153 -0
- package/src/components/UiToggleButton/README.md +42 -0
- package/src/components/UiToggleButton/UiToggleButton.vue +139 -0
- package/src/components/UiTooltip/README.md +61 -0
- package/src/components/UiTooltip/UiTooltip.vue +170 -0
- package/src/components/index.ts +88 -0
- package/src/compositions/index.ts +1 -0
- package/src/compositions/useBreakpoints/useBreakpoints.ts +19 -0
- package/src/directives/index.ts +1 -0
- package/src/directives/vClickAway.ts +38 -0
- package/src/index.ts +6 -0
- package/src/tailwind/imports.css +3 -0
- package/src/tailwind/screens.js +7 -0
- package/src/tailwind/tailwind.config.js +203 -0
- package/src/utils/cn.ts +7 -0
- package/src/utils/index.ts +1 -0
- package/dist/activities-DVw-YPpO.js +0 -15
- package/dist/ai-VuCGPNLN.js +0 -15
- package/dist/alert-8Akg5zik.js +0 -15
- package/dist/alert-fill-BKlmD-Ox.js +0 -15
- package/dist/alert-octagon-CTINOGwp.js +0 -29
- package/dist/apps-BPa2CDg6.js +0 -15
- package/dist/archive-BiQtIyD3.js +0 -15
- package/dist/arrow-down-D8c20gOq.js +0 -15
- package/dist/arrow-left-U3ChWYTE.js +0 -15
- package/dist/arrow-nav-left-CPJd0CxY.js +0 -15
- package/dist/arrow-nav-right-BpCpYfq1.js +0 -15
- package/dist/arrow-right-Ciwao0RW.js +0 -15
- package/dist/arrow-up-D_wkwl0M.js +0 -15
- package/dist/arrowhead-left-BhMPEQDH.js +0 -19
- package/dist/arrowhead-right-DaGGQ1Yw.js +0 -19
- package/dist/arrowhead-top-BJHJNWs1.js +0 -19
- package/dist/atmo-CHCgB7_L.js +0 -15
- package/dist/audio-Ben-AXL-.js +0 -19
- package/dist/audio-circled-DAMLJtP0.js +0 -15
- package/dist/audio-filled-CcnV_fAb.js +0 -19
- package/dist/bag-Bal9Hkoz.js +0 -19
- package/dist/bell-CIVm-ZI8.js +0 -15
- package/dist/bell-fill-CPucbfzE.js +0 -15
- package/dist/book-HM1tijWO.js +0 -15
- package/dist/bookmark-DY8C9lKP.js +0 -20
- package/dist/bookmark-fill-240z9Et6.js +0 -20
- package/dist/bookmark-outlined-jLf0sXW1.js +0 -19
- package/dist/box-DyRmQ7L_.js +0 -19
- package/dist/bulb-BUswBK1_.js +0 -15
- package/dist/call-BSid5Y-6.js +0 -15
- package/dist/camera-B8HHab20.js +0 -19
- package/dist/check-BzCsFVqs.js +0 -19
- package/dist/checklist-CaqihCFj.js +0 -19
- package/dist/checkmark-Bq3iMDOm.js +0 -19
- package/dist/checkmark-double-Bb1elViH.js +0 -15
- package/dist/chevron-down-BmNeEhB5.js +0 -15
- package/dist/chevron-left-B5Qz0PUm.js +0 -15
- package/dist/chevron-right-CEZ20J26.js +0 -15
- package/dist/chevron-up-BYP7XG1q.js +0 -15
- package/dist/clipboard-BFuPtrop.js +0 -15
- package/dist/clock-DjLH8KWK.js +0 -19
- package/dist/close-5JgI97fh.js +0 -15
- package/dist/cloud-save-HuDOnN6Q.js +0 -15
- package/dist/code-HjxcXMhS.js +0 -15
- package/dist/collapse-BYbrgj2q.js +0 -15
- package/dist/color-palette-uVIeZzVM.js +0 -15
- package/dist/comment-BKJMxf2O.js +0 -15
- package/dist/comment-fill-DcK1ricK.js +0 -15
- package/dist/components/DpaMediaItem/DpaMediaItem.spec.d.ts +0 -1
- package/dist/components/DpaMediaItem/DpaMediaItem.stories.d.ts +0 -101
- package/dist/components/UiAutocomplete/UiAutocomplete.spec.d.ts +0 -1
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +0 -228
- package/dist/components/UiBadge/UiBadge.spec.d.ts +0 -1
- package/dist/components/UiBadge/UiBadge.stories.d.ts +0 -108
- package/dist/components/UiButton/UiButton.spec.d.ts +0 -1
- package/dist/components/UiButton/UiButton.stories.d.ts +0 -118
- package/dist/components/UiButtonGroup/UiButtonGroup.spec.d.ts +0 -1
- package/dist/components/UiButtonGroup/UiButtonGroup.stories.d.ts +0 -36
- package/dist/components/UiCard/UiCard.spec.d.ts +0 -1
- package/dist/components/UiCard/UiCard.stories.d.ts +0 -24
- package/dist/components/UiCheckBox/UiCheckBox.spec.d.ts +0 -1
- package/dist/components/UiCheckBox/UiCheckBox.stories.d.ts +0 -117
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.d.ts +0 -1
- package/dist/components/UiCheckBoxGroup/UiCheckBoxGroup.stories.d.ts +0 -40
- package/dist/components/UiChip/UiChip.spec.d.ts +0 -1
- package/dist/components/UiChip/UiChip.stories.d.ts +0 -66
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.spec.d.ts +0 -1
- package/dist/components/UiCollapseNavigation/UiCollapseNavigation.stories.d.ts +0 -71
- package/dist/components/UiColorPicker/UiColorPicker.spec.d.ts +0 -1
- package/dist/components/UiColorPicker/UiColorPicker.stories.d.ts +0 -27
- package/dist/components/UiDatePicker/UiDatePicker.spec.d.ts +0 -1
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +0 -5468
- package/dist/components/UiDialog/UiDialog.spec.d.ts +0 -1
- package/dist/components/UiDialog/UiDialog.stories.d.ts +0 -496
- package/dist/components/UiFilterBadge/UiFilterBadge.spec.d.ts +0 -1
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +0 -248
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.spec.d.ts +0 -1
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +0 -310
- package/dist/components/UiFilterButton/UiFilterButton.spec.d.ts +0 -1
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +0 -245
- package/dist/components/UiIcon/IconOverview.vue.d.ts +0 -5
- package/dist/components/UiIcon/UiIcon.spec.d.ts +0 -1
- package/dist/components/UiIcon/UiIcon.stories.d.ts +0 -34
- package/dist/components/UiIconButton/UiIconButton.spec.d.ts +0 -1
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +0 -141
- package/dist/components/UiInfoContent/UiInfoContent.spec.d.ts +0 -1
- package/dist/components/UiInfoContent/UiInfoContent.stories.d.ts +0 -308
- package/dist/components/UiInput/UiInput.spec.d.ts +0 -1
- package/dist/components/UiInput/UiInput.stories.d.ts +0 -756
- package/dist/components/UiList/UiList.spec.d.ts +0 -1
- package/dist/components/UiList/UiList.stories.d.ts +0 -146
- package/dist/components/UiListItem/UiListItem.spec.d.ts +0 -1
- package/dist/components/UiListItem/UiListItem.stories.d.ts +0 -519
- package/dist/components/UiMenu/UiMenu.spec.d.ts +0 -1
- package/dist/components/UiMenu/UiMenu.stories.d.ts +0 -205
- package/dist/components/UiOverlay/UiOverlay.spec.d.ts +0 -1
- package/dist/components/UiOverlay/UiOverlay.stories.d.ts +0 -121
- package/dist/components/UiOverlayMenu/UiOverlayMenu.spec.d.ts +0 -1
- package/dist/components/UiOverlayMenu/UiOverlayMenu.stories.d.ts +0 -439
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.spec.d.ts +0 -1
- package/dist/components/UiRadioInputGroup/UiRadioInputGroup.stories.d.ts +0 -150
- package/dist/components/UiSearchBar/UiSearchBar.spec.d.ts +0 -1
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +0 -191
- package/dist/components/UiSearchInput/UiSearchInput.spec.d.ts +0 -1
- package/dist/components/UiSearchInput/UiSearchInput.stories.d.ts +0 -378
- package/dist/components/UiSection/UiSection.spec.d.ts +0 -1
- package/dist/components/UiSection/UiSection.stories.d.ts +0 -82
- package/dist/components/UiSectionDivider/UiSectionDivider.spec.d.ts +0 -1
- package/dist/components/UiSectionDivider/UiSectionDivider.stories.d.ts +0 -76
- package/dist/components/UiSimpleInput/UiSimpleInput.spec.d.ts +0 -1
- package/dist/components/UiSimpleInput/UiSimpleInput.stories.d.ts +0 -141
- package/dist/components/UiSkeletonBox/UiSkeletonBox.spec.d.ts +0 -1
- package/dist/components/UiSkeletonBox/UiSkeletonBox.stories.d.ts +0 -86
- package/dist/components/UiSnackbar/UiSnackbar.spec.d.ts +0 -1
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +0 -331
- package/dist/components/UiSpinner/UiSpinner.spec.d.ts +0 -1
- package/dist/components/UiSpinner/UiSpinner.stories.d.ts +0 -73
- package/dist/components/UiTextButton/UiTextButton.spec.d.ts +0 -1
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +0 -120
- package/dist/components/UiToggleButton/UiToggleButton.spec.d.ts +0 -1
- package/dist/components/UiToggleButton/UiToggleButton.stories.d.ts +0 -140
- package/dist/components/UiTooltip/UiTooltip.spec.d.ts +0 -1
- package/dist/components/UiTooltip/UiTooltip.stories.d.ts +0 -498
- package/dist/compositions/useBreakpoints/UseBreakpoints.stories.d.ts +0 -10
- package/dist/compositions/useBreakpoints/UseBreakpoints.vue.d.ts +0 -2
- package/dist/copy-fB3PGMdb.js +0 -19
- package/dist/copy-link-Z-VzLZHQ.js +0 -29
- package/dist/delete-CV5D8fhk.js +0 -15
- package/dist/directives/clickAway/clickAway.d.ts +0 -6
- package/dist/download-Bdg5UWcF.js +0 -15
- package/dist/dpa-id-CleGZhbJ.js +0 -19
- package/dist/edit-Cj1iRHjN.js +0 -15
- package/dist/edit-add-BeEmxgcL.js +0 -15
- package/dist/eil-C1xRUE6D.js +0 -19
- package/dist/emoji-BNwwtPND.js +0 -29
- package/dist/emoji-add-CE_9Vj_u.js +0 -29
- package/dist/envelope-H3vYxvVh.js +0 -15
- package/dist/event-BTwuXN9I.js +0 -15
- package/dist/expand-Bi12lU5A.js +0 -15
- package/dist/external-link-CK9k2Y-O.js +0 -15
- package/dist/file-dHozirU0.js +0 -15
- package/dist/file-pdf-DQrATE2q.js +0 -19
- package/dist/filter-DiCvyxz0.js +0 -15
- package/dist/filter-outline-5UEsJuxf.js +0 -29
- package/dist/flag-ZaGlQvHe.js +0 -15
- package/dist/flag-fill-KogPQ2ng.js +0 -15
- package/dist/flag-filled-CEPZJRJr.js +0 -15
- package/dist/flag-outline-Dbq0gcUa.js +0 -15
- package/dist/flags-D1I6OA6U.js +0 -19
- package/dist/flash-suw9pQF_.js +0 -15
- package/dist/folder-BJdTCJHg.js +0 -15
- package/dist/folder-add-wH_L405P.js +0 -15
- package/dist/folder-fill-C-0Jk8Mg.js +0 -15
- package/dist/folder-filled-DhuhtRUT.js +0 -15
- package/dist/fonts.css +0 -26
- package/dist/gallery-CZ3mt5ui.js +0 -20
- package/dist/graphic-BKiss2aF.js +0 -15
- package/dist/graphic-circled-B-oOF_T6.js +0 -15
- package/dist/graphic-filled-Q-gkg6tF.js +0 -19
- package/dist/graphics-NIAwX4dF.js +0 -15
- package/dist/grid-1-D6MIQ6XV.js +0 -15
- package/dist/grid-2-D-4m0EPZ.js +0 -15
- package/dist/grid-3-Cpuf8PZK.js +0 -15
- package/dist/grid-4-DLW6XdYm.js +0 -15
- package/dist/grid-6-DVk4j2Lr.js +0 -15
- package/dist/grid-9-DKuhgsca.js +0 -15
- package/dist/grid-masonry-9-BEW3HIhr.js +0 -19
- package/dist/grid-masonry-D4qeT8_q.js +0 -15
- package/dist/help-NQS-iFa2.js +0 -19
- package/dist/home-Cytp08Lz.js +0 -15
- package/dist/image focus point-Rtt4u140.js +0 -19
- package/dist/image-CfSJ8jjS.js +0 -19
- package/dist/impact-high-DD8VqNAY.js +0 -29
- package/dist/impact-low-sN5vx6ca.js +0 -29
- package/dist/impact-medium-3vU0zzS8.js +0 -29
- package/dist/impact-very-high-d2QAcPcf.js +0 -29
- package/dist/impact-very-low-CkAtdvb6.js +0 -29
- package/dist/info-Bt3XfDDd.js +0 -15
- package/dist/info-fill-DE0GW7nu.js +0 -15
- package/dist/info-filled-QmqSh3a2.js +0 -15
- package/dist/label-ZzjOPjln.js +0 -19
- package/dist/label-filled-j_-BCTAD.js +0 -19
- package/dist/language-Db7FDNWA.js +0 -15
- package/dist/latest-COGMKFHF.js +0 -15
- package/dist/lightbulb-BlpIVkbd.js +0 -15
- package/dist/list-CPHFH_nl.js +0 -15
- package/dist/list-search-8mB4oGGn.js +0 -21
- package/dist/lock-Dcj4HaSk.js +0 -19
- package/dist/lock-filled-BnsIWWZt.js +0 -19
- package/dist/mail-DyLMUo4A.js +0 -15
- package/dist/map-BSkcSC9_.js +0 -19
- package/dist/map-outline-CtQ5Xeu1.js +0 -19
- package/dist/menu-DnI1XC7n.js +0 -15
- package/dist/minus-CmtL9u29.js +0 -15
- package/dist/more-horizontal-w8VrmTQK.js +0 -15
- package/dist/more-vertical-C01abtJp.js +0 -15
- package/dist/move-Dwr1IUqp.js +0 -15
- package/dist/move-up-down-CEjgMPm0.js +0 -15
- package/dist/navigation-B2tj3yaK.js +0 -15
- package/dist/note-CSgXIx_b.js +0 -19
- package/dist/offline-ClkLK9xU.js +0 -15
- package/dist/package-BF3Gq-ZY.js +0 -15
- package/dist/paper-plane-C0N7ByKz.js +0 -15
- package/dist/paperplane-8HSfGeyw.js +0 -15
- package/dist/pause-Cr5tX-Qv.js +0 -29
- package/dist/pause-circle-BUk-hLi5.js +0 -29
- package/dist/pdf-BY8vfjXp.js +0 -22
- package/dist/pen-CtnxOLGw.js +0 -15
- package/dist/pen-check-DTfXSboV.js +0 -19
- package/dist/people-BR25OVNz.js +0 -19
- package/dist/phone-BZcyIb8n.js +0 -19
- package/dist/picture-C_ddF04C.js +0 -19
- package/dist/picture-circled-DuAgejYO.js +0 -15
- package/dist/picture-filled-COn-IAWs.js +0 -19
- package/dist/pin-RZnvVDrr.js +0 -19
- package/dist/planning-Dln9PiF4.js +0 -15
- package/dist/play-DcP1gS8Z.js +0 -29
- package/dist/play-circle-D95onwfe.js +0 -19
- package/dist/play-fill-CCQpVi4h.js +0 -29
- package/dist/plus-CFTk5TJS.js +0 -15
- package/dist/plus-circle-BkU5XOPj.js +0 -15
- package/dist/print-DW4odow3.js +0 -15
- package/dist/refresh-uqtc8Aki.js +0 -15
- package/dist/reset-BtRVoCGg.js +0 -15
- package/dist/responsive-_IrTKB4D.js +0 -19
- package/dist/rubix-thema-sVC4G5iu.js +0 -19
- package/dist/save-BaYX-8wh.js +0 -15
- package/dist/saved-search-CzDFN9Qs.js +0 -29
- package/dist/saved-search-fill-BT4lMkNT.js +0 -30
- package/dist/search-CdtjM1hw.js +0 -15
- package/dist/settings-2aCocdUM.js +0 -19
- package/dist/share-BgiHeOjz.js +0 -15
- package/dist/share-alternative-C0OEZ2zo.js +0 -15
- package/dist/sidebar-BiC8edWC.js +0 -15
- package/dist/sidebar-fill-DY3-S_y1.js +0 -19
- package/dist/slack-CoEfiPj5.js +0 -15
- package/dist/slider-config-7zc6XVMU.js +0 -19
- package/dist/spellcheck-C0_i11ec.js +0 -19
- package/dist/spinner-Dq8UJY0K.js +0 -15
- package/dist/standard-view-CcggvvEn.js +0 -15
- package/dist/star-BemQOyeI.js +0 -15
- package/dist/star-fill-DPYFY706.js +0 -15
- package/dist/star-filled-DPYFY706.js +0 -15
- package/dist/stop-CLtAP4Q7.js +0 -19
- package/dist/stories/Typography/TypoClasses.d.ts +0 -2
- package/dist/stories/Typography/Typography.stories.d.ts +0 -21
- package/dist/stories/Typography/TypographyOverview.vue.d.ts +0 -5
- package/dist/story-NVS6w60J.js +0 -15
- package/dist/sync-BqlSLQVE.js +0 -15
- package/dist/tasks-D5lApXLs.js +0 -15
- package/dist/text-R1U99X0r.js +0 -15
- package/dist/text-circled-9QX0VhLB.js +0 -15
- package/dist/text-filled-DszLyCjZ.js +0 -19
- package/dist/thumbs-down-CdwHyt1J.js +0 -19
- package/dist/thumbs-up-BTpkDxMZ.js +0 -22
- package/dist/thumbs-up-double-Cddorc6q.js +0 -22
- package/dist/topic-BulFKttB.js +0 -19
- package/dist/union-BsqZS5Xl.js +0 -19
- package/dist/upload-FqT5gCGS.js +0 -15
- package/dist/video overlay-t3aungPx.js +0 -19
- package/dist/video-Dty4YCc5.js +0 -25
- package/dist/video-circled-n1rEV6q0.js +0 -15
- package/dist/video-filled-DnsnQ4Jr.js +0 -19
- package/dist/video-rounded-BF3e23iS.js +0 -19
- package/dist/view-C-6vs1rZ.js +0 -29
- package/dist/view-off-DeL0zT9Z.js +0 -19
- package/dist/volume-up-BtqBUF0O.js +0 -29
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
# @dpa-shared-components/UiCheckBoxGroup
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiCheckBoxGroup -->
|
|
7
|
+
|
|
8
|
+
<template>
|
|
9
|
+
<UiCheckBoxGroup :item="checkboxes" :first-entry-checks-all="true" @item-checked="handleEvent"
|
|
10
|
+
@checked-all="handleEvent" />
|
|
11
|
+
</template>
|
|
12
|
+
|
|
13
|
+
<script setup lang="ts">
|
|
14
|
+
import { UiCheckBoxGroup } from "@dpa-id-components/dpa-shared-components";
|
|
15
|
+
</script>
|
|
16
|
+
|
|
17
|
+
```
|
|
18
|
+
### Props
|
|
19
|
+
|
|
20
|
+
The "CheckboxItem"-Type is used. Consisting of "name", "isChecked" and "iconName"
|
|
21
|
+
|
|
22
|
+
| Name | Type | Default | Description |
|
|
23
|
+
|-----------------------|----------------|---------|--------------------------------------------------------------------------------------------------|
|
|
24
|
+
| `item` | `CheckboxItem` | `` | Adds the value to the checkbox, consiting of name, isChecked and iconName ("CheckboxItem"-Type) |
|
|
25
|
+
| `firstEntryChecksAll` | `Boolean` | `false` | Wether the first item checks all the boxes |
|
|
26
|
+
|
|
27
|
+
### Events
|
|
28
|
+
|
|
29
|
+
| Name | Type | Description |
|
|
30
|
+
|----------------|------|----------------------------------------------|
|
|
31
|
+
| `checked-all` | `boolean` | Emitted when all items are selected |
|
|
32
|
+
| `input` | `CheckboxItem[]` | |
|
|
33
|
+
| `item-checked` | `CheckboxItem` | Emitted when each individual item is checked |
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { mount } from "@vue/test-utils";
|
|
3
|
+
import UiCheckBoxGroup, { type CheckboxItem } from "./UiCheckBoxGroup.vue";
|
|
4
|
+
import { randomInt } from "crypto";
|
|
5
|
+
|
|
6
|
+
const entries = [
|
|
7
|
+
{
|
|
8
|
+
name: "alle wählen",
|
|
9
|
+
isChecked: false,
|
|
10
|
+
},
|
|
11
|
+
{
|
|
12
|
+
name: "Wissenschaft",
|
|
13
|
+
isChecked: false,
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
name: "Kultur",
|
|
17
|
+
isChecked: false,
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
name: "Sport",
|
|
21
|
+
isChecked: false,
|
|
22
|
+
},
|
|
23
|
+
] as CheckboxItem[];
|
|
24
|
+
|
|
25
|
+
describe("UiCheckBoxGroup", () => {
|
|
26
|
+
it("renders menu with prop values", async () => {
|
|
27
|
+
const wrapper = mount(UiCheckBoxGroup, {
|
|
28
|
+
props: {
|
|
29
|
+
item: entries,
|
|
30
|
+
},
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
const listElements = wrapper.findAll("li");
|
|
34
|
+
|
|
35
|
+
listElements.forEach((entry) => {
|
|
36
|
+
expect(entries.some((item) => item.name === entry.text())).toBe(true);
|
|
37
|
+
});
|
|
38
|
+
});
|
|
39
|
+
|
|
40
|
+
it("emits checked-all when first item is clicked", async () => {
|
|
41
|
+
const wrapper = mount(UiCheckBoxGroup, {
|
|
42
|
+
props: {
|
|
43
|
+
item: entries,
|
|
44
|
+
firstEntryChecksAll: true,
|
|
45
|
+
},
|
|
46
|
+
});
|
|
47
|
+
|
|
48
|
+
const firstListElement = wrapper.findAll("li")[0];
|
|
49
|
+
|
|
50
|
+
await firstListElement.trigger("click");
|
|
51
|
+
expect(wrapper.emitted()).toHaveProperty("checked-all");
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
it("emits item-checked when one item is clicked", async () => {
|
|
55
|
+
const wrapper = mount(UiCheckBoxGroup, {
|
|
56
|
+
props: {
|
|
57
|
+
item: entries,
|
|
58
|
+
},
|
|
59
|
+
});
|
|
60
|
+
|
|
61
|
+
const randomListElement = wrapper.findAll("li")[randomInt(0, 3)];
|
|
62
|
+
|
|
63
|
+
await randomListElement.trigger("click");
|
|
64
|
+
expect(wrapper.emitted()).toHaveProperty("item-checked");
|
|
65
|
+
});
|
|
66
|
+
});
|
|
@@ -0,0 +1,57 @@
|
|
|
1
|
+
import UiCheckBoxGroup from "./UiCheckBoxGroup.vue";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "Ui/UiCheckBoxGroup",
|
|
6
|
+
component: UiCheckBoxGroup,
|
|
7
|
+
argTypes: {
|
|
8
|
+
firstEntryChecksAll: { control: "boolean" },
|
|
9
|
+
disabled: { control: "boolean" },
|
|
10
|
+
},
|
|
11
|
+
args: {
|
|
12
|
+
firstEntryChecksAll: true,
|
|
13
|
+
disabled: false,
|
|
14
|
+
},
|
|
15
|
+
} satisfies Meta<typeof UiCheckBoxGroup>;
|
|
16
|
+
|
|
17
|
+
export default meta;
|
|
18
|
+
type Story = StoryObj<typeof meta>;
|
|
19
|
+
|
|
20
|
+
export const Default: Story = {
|
|
21
|
+
render: (args) => ({
|
|
22
|
+
setup() {
|
|
23
|
+
return { args };
|
|
24
|
+
},
|
|
25
|
+
components: { UiCheckBoxGroup },
|
|
26
|
+
template: "<UiCheckBoxGroup v-bind='args'/>",
|
|
27
|
+
}),
|
|
28
|
+
args: {
|
|
29
|
+
item: [
|
|
30
|
+
{
|
|
31
|
+
name: "alle Ressorts",
|
|
32
|
+
isChecked: false,
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
name: "Wirtschaft",
|
|
36
|
+
isChecked: false,
|
|
37
|
+
iconName: "clock",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
name: "Panorama",
|
|
41
|
+
isChecked: false,
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
name: "Wissenschaft",
|
|
45
|
+
isChecked: false,
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
name: "Kultur",
|
|
49
|
+
isChecked: false,
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
name: "Sport",
|
|
53
|
+
isChecked: false,
|
|
54
|
+
},
|
|
55
|
+
],
|
|
56
|
+
},
|
|
57
|
+
};
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ui-list class="grid grid-cols-2 flex-wrap border-none pt-2 lg:flex lg:pt-0">
|
|
3
|
+
<ui-list-item
|
|
4
|
+
v-for="(entry, index) in checkboxItems"
|
|
5
|
+
:key="entry.name"
|
|
6
|
+
:is-checked="entry.isChecked"
|
|
7
|
+
class="flex h-8 items-center border-none py-2 text-sm shadow-none lg:py-3"
|
|
8
|
+
check-box-menu
|
|
9
|
+
:label="entry.name"
|
|
10
|
+
:disabled="disabled"
|
|
11
|
+
:icon-name="entry.iconName"
|
|
12
|
+
@list-item-click="toggle(index)"
|
|
13
|
+
>{{ entry.name }}
|
|
14
|
+
</ui-list-item>
|
|
15
|
+
</ui-list>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import UiList from "../UiList/UiList.vue";
|
|
20
|
+
import UiListItem from "../UiListItem/UiListItem.vue";
|
|
21
|
+
import { computed, ref, watchEffect } from "vue";
|
|
22
|
+
import type { UiIconName } from "../UiIcon/UiIcon.vue";
|
|
23
|
+
|
|
24
|
+
const emit = defineEmits<{
|
|
25
|
+
"checked-all": [boolean];
|
|
26
|
+
input: [CheckboxItem[]];
|
|
27
|
+
"item-checked": [CheckboxItem];
|
|
28
|
+
}>();
|
|
29
|
+
|
|
30
|
+
export type CheckboxItem = {
|
|
31
|
+
name: string;
|
|
32
|
+
isChecked: boolean;
|
|
33
|
+
iconName?: UiIconName;
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
const props = withDefaults(
|
|
37
|
+
defineProps<{
|
|
38
|
+
item?: CheckboxItem[];
|
|
39
|
+
firstEntryChecksAll?: boolean;
|
|
40
|
+
disabled?: boolean;
|
|
41
|
+
}>(),
|
|
42
|
+
{
|
|
43
|
+
item: () => [],
|
|
44
|
+
firstEntryChecksAll: false,
|
|
45
|
+
disabled: false,
|
|
46
|
+
},
|
|
47
|
+
);
|
|
48
|
+
|
|
49
|
+
const checkboxItems = ref<CheckboxItem[]>(props.item);
|
|
50
|
+
|
|
51
|
+
watchEffect(() => {
|
|
52
|
+
checkboxItems.value = props.item;
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
const areAllChecked = computed(() => {
|
|
56
|
+
const checkboxEntries = checkboxItems.value.slice(1);
|
|
57
|
+
return checkboxEntries.every((entry: CheckboxItem) => entry.isChecked);
|
|
58
|
+
});
|
|
59
|
+
|
|
60
|
+
const toggleAll = () => {
|
|
61
|
+
checkboxItems.value = checkboxItems.value.map((entry: CheckboxItem) => {
|
|
62
|
+
const isChecked = !checkboxItems.value[0].isChecked;
|
|
63
|
+
return {
|
|
64
|
+
...entry,
|
|
65
|
+
isChecked,
|
|
66
|
+
};
|
|
67
|
+
});
|
|
68
|
+
emit("checked-all", checkboxItems.value[0].isChecked);
|
|
69
|
+
emit("input", checkboxItems.value);
|
|
70
|
+
};
|
|
71
|
+
|
|
72
|
+
const toggle = (index: number) => {
|
|
73
|
+
// With List Item Click we are overriding the normal checkbox `input` event, hence the disabled attribute has no effect
|
|
74
|
+
if (props.disabled) {
|
|
75
|
+
return;
|
|
76
|
+
}
|
|
77
|
+
if (index === 0 && props.firstEntryChecksAll) {
|
|
78
|
+
toggleAll();
|
|
79
|
+
} else {
|
|
80
|
+
checkboxItems.value[index].isChecked =
|
|
81
|
+
!checkboxItems.value[index].isChecked;
|
|
82
|
+
if (props.firstEntryChecksAll) {
|
|
83
|
+
checkboxItems.value[0].isChecked = areAllChecked.value;
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
emit("item-checked", checkboxItems.value[index]);
|
|
87
|
+
emit("input", checkboxItems.value);
|
|
88
|
+
};
|
|
89
|
+
</script>
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
# @dpa-shared-components/UiChip
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiChip -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiChip>Chip Content</UiChip>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {UiChip} from "@dpa-id-components/dpa-shared-components";
|
|
13
|
+
</script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API
|
|
17
|
+
|
|
18
|
+
### Props
|
|
19
|
+
|
|
20
|
+
| Name | Type | Default | Description |
|
|
21
|
+
|---------------|--------------------------------------------|---------|-----------------------------------------------------|
|
|
22
|
+
| `cursorStyle` | `"default" | "text" | "pointer"` | `text` | Determines the styling of the cursor while hovering |
|
|
23
|
+
| `isVisible` | `Boolean` | `true` | Sets display hidden if false, otherwise inline-flex |
|
|
24
|
+
| `size` | `"small" | "medium" | "big"` | `big` | Determines the height and font-size |
|
|
25
|
+
|
|
26
|
+
### Slots
|
|
27
|
+
|
|
28
|
+
| Name | Description |
|
|
29
|
+
|-----------|-------------------------------------------|
|
|
30
|
+
| `default` | slot for the rendering the chip's content |
|
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { mount } from "@vue/test-utils";
|
|
3
|
+
import UiChip from "./UiChip.vue";
|
|
4
|
+
|
|
5
|
+
describe("UiChip", () => {
|
|
6
|
+
it("renders big size by default", () => {
|
|
7
|
+
const wrapper = mount(UiChip);
|
|
8
|
+
|
|
9
|
+
expect(wrapper.classes("h-8")).toBe(true);
|
|
10
|
+
expect(wrapper.classes("px-2")).toBe(true);
|
|
11
|
+
expect(wrapper.classes("text-sm")).toBe(true);
|
|
12
|
+
});
|
|
13
|
+
it("renders small size", () => {
|
|
14
|
+
const wrapper = mount(UiChip, {
|
|
15
|
+
props: {
|
|
16
|
+
size: "small",
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
|
|
20
|
+
expect(wrapper.classes("h-5")).toBe(true);
|
|
21
|
+
expect(wrapper.classes("px-1")).toBe(true);
|
|
22
|
+
expect(wrapper.classes("text-xs")).toBe(true);
|
|
23
|
+
});
|
|
24
|
+
it("renders medium size", () => {
|
|
25
|
+
const wrapper = mount(UiChip, {
|
|
26
|
+
props: {
|
|
27
|
+
size: "medium",
|
|
28
|
+
},
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
expect(wrapper.classes("h-6")).toBe(true);
|
|
32
|
+
expect(wrapper.classes("px-2")).toBe(true);
|
|
33
|
+
expect(wrapper.classes("text-sm")).toBe(true);
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
it("renders hidden", () => {
|
|
37
|
+
const wrapper = mount(UiChip, {
|
|
38
|
+
props: {
|
|
39
|
+
isVisible: false,
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
expect(wrapper.classes("hidden")).toBe(true);
|
|
43
|
+
});
|
|
44
|
+
|
|
45
|
+
it("renders with pointer class", () => {
|
|
46
|
+
const wrapper = mount(UiChip, {
|
|
47
|
+
props: {
|
|
48
|
+
cursorStyle: "pointer",
|
|
49
|
+
},
|
|
50
|
+
});
|
|
51
|
+
|
|
52
|
+
expect(wrapper.classes("cursor-pointer")).toBe(true);
|
|
53
|
+
});
|
|
54
|
+
|
|
55
|
+
it("renders with text class", () => {
|
|
56
|
+
const wrapper = mount(UiChip, {
|
|
57
|
+
props: {
|
|
58
|
+
cursorStyle: "text",
|
|
59
|
+
},
|
|
60
|
+
});
|
|
61
|
+
|
|
62
|
+
expect(wrapper.classes("cursor-text")).toBe(true);
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it("renders with default class", () => {
|
|
66
|
+
const wrapper = mount(UiChip, {
|
|
67
|
+
props: {
|
|
68
|
+
cursorStyle: "default",
|
|
69
|
+
},
|
|
70
|
+
});
|
|
71
|
+
|
|
72
|
+
expect(wrapper.classes("cursor-default")).toBe(true);
|
|
73
|
+
});
|
|
74
|
+
});
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import UiChip from "./UiChip.vue";
|
|
2
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
3
|
+
|
|
4
|
+
const meta = {
|
|
5
|
+
title: "UI/UiChip",
|
|
6
|
+
component: UiChip,
|
|
7
|
+
argTypes: {
|
|
8
|
+
isVisible: {
|
|
9
|
+
control: "boolean",
|
|
10
|
+
},
|
|
11
|
+
cursorStyle: {
|
|
12
|
+
control: "select",
|
|
13
|
+
options: ["default", "text", "pointer"],
|
|
14
|
+
},
|
|
15
|
+
size: {
|
|
16
|
+
control: "select",
|
|
17
|
+
options: ["small", "medium", "big"],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
args: {
|
|
21
|
+
isVisible: true,
|
|
22
|
+
cursorStyle: "text",
|
|
23
|
+
size: "big",
|
|
24
|
+
},
|
|
25
|
+
} satisfies Meta<typeof UiChip>;
|
|
26
|
+
|
|
27
|
+
export default meta;
|
|
28
|
+
type Story = StoryObj<typeof meta>;
|
|
29
|
+
|
|
30
|
+
export const Default: Story = {
|
|
31
|
+
render: (args) => ({
|
|
32
|
+
components: { UiChip },
|
|
33
|
+
setup() {
|
|
34
|
+
return { args };
|
|
35
|
+
},
|
|
36
|
+
template: '<UiChip v-bind="args">Chip</UiChip>',
|
|
37
|
+
}),
|
|
38
|
+
};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="whitespace-no-wrap min-w-max items-center rounded-full bg-gray-300 align-middle leading-normal text-gray-900"
|
|
4
|
+
:class="[isVisible ? 'inline-flex' : 'hidden', sizeClass, cursorStyle]"
|
|
5
|
+
>
|
|
6
|
+
<slot></slot>
|
|
7
|
+
</div>
|
|
8
|
+
</template>
|
|
9
|
+
|
|
10
|
+
<script setup lang="ts">
|
|
11
|
+
import { computed } from "vue";
|
|
12
|
+
|
|
13
|
+
const props = withDefaults(
|
|
14
|
+
defineProps<{
|
|
15
|
+
cursorStyle?: "default" | "text" | "pointer";
|
|
16
|
+
isVisible?: boolean;
|
|
17
|
+
size?: "small" | "medium" | "big";
|
|
18
|
+
}>(),
|
|
19
|
+
{
|
|
20
|
+
cursorStyle: "text",
|
|
21
|
+
isVisible: true,
|
|
22
|
+
size: "big",
|
|
23
|
+
},
|
|
24
|
+
);
|
|
25
|
+
|
|
26
|
+
const cursorStyle = computed(() => {
|
|
27
|
+
const cursorStyles: Record<string, string> = {
|
|
28
|
+
default: "cursor-default",
|
|
29
|
+
text: "cursor-text",
|
|
30
|
+
pointer: "cursor-pointer",
|
|
31
|
+
};
|
|
32
|
+
|
|
33
|
+
return cursorStyles[props.cursorStyle];
|
|
34
|
+
});
|
|
35
|
+
|
|
36
|
+
const sizeClass = computed(() => {
|
|
37
|
+
const sizeClasses: Record<string, string> = {
|
|
38
|
+
small: "h-5 px-1 text-xs",
|
|
39
|
+
medium: "h-6 px-2 text-sm",
|
|
40
|
+
big: "h-8 px-2 text-sm",
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
return sizeClasses[props.size];
|
|
44
|
+
});
|
|
45
|
+
</script>
|
|
@@ -0,0 +1,35 @@
|
|
|
1
|
+
# @dpa-shared-components/UiCollapseNavigation
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiCollapseNavigation -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiCollapseNavigation headline="Menu eins">
|
|
9
|
+
<UiFilterBadgeButton label="test eins" />
|
|
10
|
+
<UiFilterBadgeButton label="test zwei" />
|
|
11
|
+
<UiFilterBadgeButton label="test drei" />
|
|
12
|
+
</UiCollapseNavigation>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script>
|
|
16
|
+
import UiCollapseNavigation from "./UiCollapseNavigation.vue";
|
|
17
|
+
</script>
|
|
18
|
+
```
|
|
19
|
+
|
|
20
|
+
## API
|
|
21
|
+
|
|
22
|
+
### Props
|
|
23
|
+
|
|
24
|
+
| Name | Type | Default | Description |
|
|
25
|
+
|-----------------|---------|---------|-----------------------------------|
|
|
26
|
+
| `headline` | string | '' | Headline of the menu |
|
|
27
|
+
| `borderTop` | boolean | true | Has top border |
|
|
28
|
+
| `openAsDefault` | boolean | true | defines default state of the menu |
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
### Slots
|
|
32
|
+
|
|
33
|
+
| Name | Description |
|
|
34
|
+
|-----------|----------------------------|
|
|
35
|
+
| `default` | slot for the menus content |
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import { shallowMount } from "@vue/test-utils";
|
|
2
|
+
import { describe, expect, it } from "vitest";
|
|
3
|
+
import UiCollapseNavigation from "./UiCollapseNavigation.vue";
|
|
4
|
+
|
|
5
|
+
describe("UiCollapseNavigation", () => {
|
|
6
|
+
it("should toggle the menu when the button is clicked", async () => {
|
|
7
|
+
const wrapper = shallowMount(UiCollapseNavigation);
|
|
8
|
+
const button = wrapper.findComponent({ name: "UiButton" });
|
|
9
|
+
|
|
10
|
+
expect(wrapper.vm.openMenu).toBe(true);
|
|
11
|
+
|
|
12
|
+
await button.trigger("click");
|
|
13
|
+
|
|
14
|
+
expect(wrapper.vm.openMenu).toBe(false);
|
|
15
|
+
|
|
16
|
+
await button.trigger("click");
|
|
17
|
+
|
|
18
|
+
expect(wrapper.vm.openMenu).toBe(true);
|
|
19
|
+
});
|
|
20
|
+
});
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import UiCollapseNavigation from "./UiCollapseNavigation.vue";
|
|
2
|
+
import UiFilterBadgeButton from "../UiFilterBadgeButton/UiFilterBadgeButton.vue";
|
|
3
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
4
|
+
|
|
5
|
+
const meta = {
|
|
6
|
+
title: "Ui/UiCollapseNavigation",
|
|
7
|
+
component: UiCollapseNavigation,
|
|
8
|
+
argTypes: {
|
|
9
|
+
headline: {
|
|
10
|
+
control: "text",
|
|
11
|
+
},
|
|
12
|
+
hasBorderTop: {
|
|
13
|
+
control: "boolean",
|
|
14
|
+
},
|
|
15
|
+
openAsDefault: {
|
|
16
|
+
control: "boolean",
|
|
17
|
+
},
|
|
18
|
+
},
|
|
19
|
+
args: {
|
|
20
|
+
headline: "Gespeicherte Suchen",
|
|
21
|
+
hasBorderTop: true,
|
|
22
|
+
openAsDefault: true,
|
|
23
|
+
},
|
|
24
|
+
} satisfies Meta<typeof UiCollapseNavigation>;
|
|
25
|
+
|
|
26
|
+
export default meta;
|
|
27
|
+
type Story = StoryObj<typeof meta>;
|
|
28
|
+
|
|
29
|
+
export const Default: Story = {
|
|
30
|
+
render: (args) => ({
|
|
31
|
+
setup() {
|
|
32
|
+
return { args };
|
|
33
|
+
},
|
|
34
|
+
components: { UiCollapseNavigation, UiFilterBadgeButton },
|
|
35
|
+
template: `
|
|
36
|
+
<UiCollapseNavigation v-bind='args' >
|
|
37
|
+
<UiFilterBadgeButton label="test eins" />
|
|
38
|
+
<UiFilterBadgeButton label="test zwei" />
|
|
39
|
+
<UiFilterBadgeButton label="test drei" />
|
|
40
|
+
</UiCollapseNavigation>
|
|
41
|
+
`,
|
|
42
|
+
}),
|
|
43
|
+
};
|
|
44
|
+
|
|
45
|
+
export const MultipleMenus: Story = {
|
|
46
|
+
render: (args) => ({
|
|
47
|
+
setup() {
|
|
48
|
+
return { args };
|
|
49
|
+
},
|
|
50
|
+
components: { UiCollapseNavigation, UiFilterBadgeButton },
|
|
51
|
+
template: `
|
|
52
|
+
<UiCollapseNavigation headline="Menu eins">
|
|
53
|
+
<UiFilterBadgeButton label="test eins" />
|
|
54
|
+
<UiFilterBadgeButton label="test zwei" />
|
|
55
|
+
<UiFilterBadgeButton label="test drei" />
|
|
56
|
+
</UiCollapseNavigation>
|
|
57
|
+
<UiCollapseNavigation headline="Menu zwei">
|
|
58
|
+
<UiFilterBadgeButton label="test vier" />
|
|
59
|
+
<UiFilterBadgeButton label="test fünf" />
|
|
60
|
+
<UiFilterBadgeButton label="test sechs" />
|
|
61
|
+
</UiCollapseNavigation>
|
|
62
|
+
`,
|
|
63
|
+
}),
|
|
64
|
+
};
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="hasBorderTop ? 'border-t-[1px] border-t-gray-300' : ''" />
|
|
3
|
+
<UiButton
|
|
4
|
+
color="transparent"
|
|
5
|
+
class="flex w-full justify-between border-none"
|
|
6
|
+
@click="toggleMenuHandler"
|
|
7
|
+
>
|
|
8
|
+
<h3 class="text-xs font-semibold uppercase tracking-widest text-gray-700">
|
|
9
|
+
{{ headline }}
|
|
10
|
+
</h3>
|
|
11
|
+
<UiIcon
|
|
12
|
+
name="chevron-down"
|
|
13
|
+
class="rounded-full text-gray-700 transition-transform duration-500 hover:bg-gray-300"
|
|
14
|
+
:class="{ 'rotate-180': openMenu }"
|
|
15
|
+
/>
|
|
16
|
+
</UiButton>
|
|
17
|
+
<transition
|
|
18
|
+
enter-active-class="duration-200"
|
|
19
|
+
enter-from-class="transform -translate-y-[20px] opacity-0"
|
|
20
|
+
enter-to-class="transform translate-y-0 opacity-1"
|
|
21
|
+
leave-active-class="duration-200"
|
|
22
|
+
leave-from-class="transform translate-y-0 opacity-1"
|
|
23
|
+
leave-to-class="transform -translate-y-[20px] opacity-0"
|
|
24
|
+
>
|
|
25
|
+
<div v-if="openMenu">
|
|
26
|
+
<slot />
|
|
27
|
+
</div>
|
|
28
|
+
</transition>
|
|
29
|
+
</template>
|
|
30
|
+
<script setup lang="ts">
|
|
31
|
+
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
32
|
+
import UiButton from "../UiButton/UiButton.vue";
|
|
33
|
+
import { ref, watchEffect } from "vue";
|
|
34
|
+
|
|
35
|
+
const props = withDefaults(
|
|
36
|
+
defineProps<{
|
|
37
|
+
headline?: string;
|
|
38
|
+
hasBorderTop?: boolean;
|
|
39
|
+
openAsDefault?: boolean;
|
|
40
|
+
}>(),
|
|
41
|
+
{
|
|
42
|
+
headline: "",
|
|
43
|
+
hasBorderTop: true,
|
|
44
|
+
openAsDefault: true,
|
|
45
|
+
},
|
|
46
|
+
);
|
|
47
|
+
|
|
48
|
+
const openMenu = ref();
|
|
49
|
+
|
|
50
|
+
watchEffect(() => {
|
|
51
|
+
openMenu.value = props.openAsDefault;
|
|
52
|
+
});
|
|
53
|
+
|
|
54
|
+
const toggleMenuHandler = () => {
|
|
55
|
+
openMenu.value = !openMenu.value;
|
|
56
|
+
};
|
|
57
|
+
|
|
58
|
+
defineExpose({ openMenu });
|
|
59
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @dpa-shared-components/UiColorPicker
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiColorPicker -->
|
|
7
|
+
<template>
|
|
8
|
+
<label for="colorPicker">Farbe wählen</label>
|
|
9
|
+
<UiColorPicker id="colorPicker" v-model="colorValue" />
|
|
10
|
+
</template>
|
|
11
|
+
|
|
12
|
+
<script setup>
|
|
13
|
+
import { UiColorPicker } from "@dpa-id-components/dpa-shared-components";
|
|
14
|
+
|
|
15
|
+
const colorValue = ref("");
|
|
16
|
+
</script>
|
|
17
|
+
```
|
|
18
|
+
|
|
19
|
+
## API
|
|
20
|
+
|
|
21
|
+
### Props
|
|
22
|
+
|
|
23
|
+
| Name | Type | Default | Description |
|
|
24
|
+
|---------------|-------------|--------------------------------------|-----------------------------------------------------|
|
|
25
|
+
| `modelValue` | `String` | `"#e53935"` (see `./lib/colors.ts`) | Color code in hexadecimal syntax |
|
|
26
|
+
|
|
27
|
+
### Events
|
|
28
|
+
|
|
29
|
+
| Name | Type | Description |
|
|
30
|
+
|---------------------|---------------------------------------------|---------------------------------------------------|
|
|
31
|
+
| `update:modelValue` | `string` (color code in hexadecimal syntax) | Emitted when a color has been selected or entered |
|