@dpa-id-components/dpa-shared-components 16.0.1 → 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 -20785
- 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 +6 -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 +63 -60
- 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/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,37 @@
|
|
|
1
|
+
import UiOverlayMenu from "./UiOverlayMenu.vue";
|
|
2
|
+
import UiList from "../UiList/UiList.vue";
|
|
3
|
+
import UiListItem from "../UiListItem/UiListItem.vue";
|
|
4
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
5
|
+
|
|
6
|
+
const meta = {
|
|
7
|
+
title: "Ui/UiOverlayMenu",
|
|
8
|
+
component: UiOverlayMenu,
|
|
9
|
+
subcomponents: { UiList, UiListItem },
|
|
10
|
+
argTypes: {
|
|
11
|
+
isOpen: {
|
|
12
|
+
control: "boolean",
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
args: {
|
|
16
|
+
isOpen: true,
|
|
17
|
+
},
|
|
18
|
+
render: (args) => ({
|
|
19
|
+
setup() {
|
|
20
|
+
return { args };
|
|
21
|
+
},
|
|
22
|
+
components: { UiOverlayMenu, UiList, UiListItem },
|
|
23
|
+
template:
|
|
24
|
+
"<UiOverlayMenu v-bind='args'>" +
|
|
25
|
+
"<UiList>" +
|
|
26
|
+
"<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
|
|
27
|
+
"<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
|
|
28
|
+
"<UiListItem checkBoxMenu='true'>Test</UiListItem>" +
|
|
29
|
+
"</UiList>" +
|
|
30
|
+
"</UiOverlayMenu>",
|
|
31
|
+
}),
|
|
32
|
+
} satisfies Meta<typeof UiOverlayMenu>;
|
|
33
|
+
|
|
34
|
+
export default meta;
|
|
35
|
+
type Story = StoryObj<typeof meta>;
|
|
36
|
+
|
|
37
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
v-show="isOpen"
|
|
4
|
+
v-click-away="close"
|
|
5
|
+
class="relative size-full border-none"
|
|
6
|
+
>
|
|
7
|
+
<div
|
|
8
|
+
class="absolute right-3 top-12 z-10 block border-t bg-white px-4 py-3 shadow-lg"
|
|
9
|
+
>
|
|
10
|
+
<slot />
|
|
11
|
+
</div>
|
|
12
|
+
</div>
|
|
13
|
+
</template>
|
|
14
|
+
<script setup lang="ts">
|
|
15
|
+
import { vClickAway } from "../../directives/vClickAway.js";
|
|
16
|
+
|
|
17
|
+
withDefaults(
|
|
18
|
+
defineProps<{
|
|
19
|
+
isOpen?: boolean;
|
|
20
|
+
}>(),
|
|
21
|
+
{
|
|
22
|
+
isOpen: false,
|
|
23
|
+
},
|
|
24
|
+
);
|
|
25
|
+
const emit = defineEmits<{
|
|
26
|
+
close: [];
|
|
27
|
+
}>();
|
|
28
|
+
const close = (): void => {
|
|
29
|
+
emit("close");
|
|
30
|
+
};
|
|
31
|
+
</script>
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
# @dpa-id-components/UiRadioInputGroup
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<template>
|
|
7
|
+
<UiRadioInput
|
|
8
|
+
:options="options"
|
|
9
|
+
group-name="someName"
|
|
10
|
+
v-model="selectedOption"
|
|
11
|
+
/>
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script lang="ts" setup>
|
|
15
|
+
import { UiRadioInputGroup } from "@dpa-id-components/dpa-shared-components";
|
|
16
|
+
|
|
17
|
+
const selectedOption = ref("first option");
|
|
18
|
+
const options = computed(() => {
|
|
19
|
+
return [
|
|
20
|
+
{
|
|
21
|
+
value: "first option",
|
|
22
|
+
label: "First option",
|
|
23
|
+
selected: selectedOption.value === "first option",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
value: "second option",
|
|
27
|
+
label: "Second option",
|
|
28
|
+
selected: selectedOption.value === "second option",
|
|
29
|
+
},
|
|
30
|
+
];
|
|
31
|
+
});
|
|
32
|
+
</script>
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
### Props
|
|
36
|
+
|
|
37
|
+
| Name | Type | Default | Description |
|
|
38
|
+
| ------------ | ---------------------- | -------- | ---------------------------------------------------------------- |
|
|
39
|
+
| `options` | `Array` | -- | Array with RadioMenu specific content |
|
|
40
|
+
| `groupName` | `String` | -- | common name for Radio Input Group |
|
|
41
|
+
| `size` | `String` | `medium` | Sets the `size` attribute of the Radio Inputs |
|
|
42
|
+
| `color` | `"blue" | "gray"` | `blue` | Sets the `color` and `background` attributes of the Radio Inputs |
|
|
43
|
+
| `disabled` | `Boolean` | `false` | Whether the `Radio Input Group` is disabled |
|
|
44
|
+
| `labelClass` | `string` | `` | Custom class for the Radio Label |
|
|
45
|
+
| `class` | `string` | `` | Custom class for Wrapper |
|
|
46
|
+
|
|
47
|
+
### Events
|
|
48
|
+
|
|
49
|
+
The component uses `v-model` to determine the current selected option, therefor it emits the `update:modelValue` event but it doesn't need to be specified as you should use v-model when used as you can see in the example
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
import UiRadioInput from "./UiRadioInputGroup.vue";
|
|
2
|
+
import { describe, expect, it } from "vitest";
|
|
3
|
+
import { mount } from "@vue/test-utils";
|
|
4
|
+
|
|
5
|
+
describe("UiRadioInput", () => {
|
|
6
|
+
it("renders UiRadioInputGroup with props content", () => {
|
|
7
|
+
const wrapper = mount(UiRadioInput, {
|
|
8
|
+
props: {
|
|
9
|
+
options: [
|
|
10
|
+
{
|
|
11
|
+
label: "default name",
|
|
12
|
+
selected: false,
|
|
13
|
+
value: "default value",
|
|
14
|
+
},
|
|
15
|
+
],
|
|
16
|
+
groupName: "Options",
|
|
17
|
+
},
|
|
18
|
+
});
|
|
19
|
+
expect(wrapper.text()).toBe("default name");
|
|
20
|
+
});
|
|
21
|
+
|
|
22
|
+
it("should click change value", async () => {
|
|
23
|
+
const wrapper = mount(UiRadioInput, {
|
|
24
|
+
props: {
|
|
25
|
+
modelValue: "default value",
|
|
26
|
+
"onUpdate:modelValue": (e) => wrapper.setProps({ modelValue: e }),
|
|
27
|
+
options: [
|
|
28
|
+
{
|
|
29
|
+
label: "default name",
|
|
30
|
+
selected: true,
|
|
31
|
+
value: "default value",
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
label: "second option",
|
|
35
|
+
selected: false,
|
|
36
|
+
value: "second option",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
groupName: "Options",
|
|
40
|
+
},
|
|
41
|
+
});
|
|
42
|
+
|
|
43
|
+
await wrapper.find("input[value='second option']").setValue(true);
|
|
44
|
+
expect(wrapper.props("modelValue")).toBe("second option");
|
|
45
|
+
});
|
|
46
|
+
|
|
47
|
+
it("renders attributes on correct element", () => {
|
|
48
|
+
const wrapper = mount(UiRadioInput, {
|
|
49
|
+
props: {
|
|
50
|
+
options: [],
|
|
51
|
+
groupName: "",
|
|
52
|
+
id: "id",
|
|
53
|
+
class: "testClass gap-8",
|
|
54
|
+
"data-testid": "testId",
|
|
55
|
+
},
|
|
56
|
+
});
|
|
57
|
+
|
|
58
|
+
const root = wrapper.find(":first-child");
|
|
59
|
+
expect(root.attributes("id")).toBe("id");
|
|
60
|
+
expect(root.element.classList.contains("testClass")).toBe(true);
|
|
61
|
+
expect(root.element.classList.contains("gap-4")).toBe(false);
|
|
62
|
+
expect(root.element.classList.contains("gap-8")).toBe(true);
|
|
63
|
+
expect(root.attributes("data-testid")).toBe("testId");
|
|
64
|
+
});
|
|
65
|
+
});
|
|
@@ -0,0 +1,67 @@
|
|
|
1
|
+
import UiRadioInputGroup from "./UiRadioInputGroup.vue";
|
|
2
|
+
import { action } from "storybook/actions";
|
|
3
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
4
|
+
|
|
5
|
+
const meta = {
|
|
6
|
+
title: "Ui/UiRadioInputGroup",
|
|
7
|
+
// @ts-expect-error generic components seem to cause type issues here that aren't easy to solve
|
|
8
|
+
component: UiRadioInputGroup,
|
|
9
|
+
argTypes: {
|
|
10
|
+
options: {
|
|
11
|
+
control: "object",
|
|
12
|
+
},
|
|
13
|
+
variant: {
|
|
14
|
+
control: "select",
|
|
15
|
+
options: ["blue", "gray"],
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
control: "select",
|
|
19
|
+
options: ["small", "medium"],
|
|
20
|
+
},
|
|
21
|
+
direction: {
|
|
22
|
+
control: "select",
|
|
23
|
+
options: ["horizontal", "vertical"],
|
|
24
|
+
},
|
|
25
|
+
disabled: { control: "boolean" },
|
|
26
|
+
groupName: { control: "text" },
|
|
27
|
+
class: { control: "text" },
|
|
28
|
+
},
|
|
29
|
+
args: {
|
|
30
|
+
options: [
|
|
31
|
+
{
|
|
32
|
+
label: "Option A",
|
|
33
|
+
value: "value 1",
|
|
34
|
+
selected: true,
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
label: "Option B",
|
|
38
|
+
value: "value 2",
|
|
39
|
+
selected: false,
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
label: "Option C",
|
|
43
|
+
value: "value 3",
|
|
44
|
+
selected: false,
|
|
45
|
+
},
|
|
46
|
+
],
|
|
47
|
+
variant: "blue",
|
|
48
|
+
size: "medium",
|
|
49
|
+
direction: "horizontal",
|
|
50
|
+
disabled: false,
|
|
51
|
+
groupName: "default",
|
|
52
|
+
},
|
|
53
|
+
render: (args) => ({
|
|
54
|
+
setup() {
|
|
55
|
+
return { args };
|
|
56
|
+
},
|
|
57
|
+
components: { UiRadioInputGroup },
|
|
58
|
+
template:
|
|
59
|
+
"<UiRadioInputGroup v-bind='args' @input='input'></UiRadioInputGroup>",
|
|
60
|
+
methods: { input: action("input") },
|
|
61
|
+
}),
|
|
62
|
+
} satisfies Meta<typeof UiRadioInputGroup>;
|
|
63
|
+
|
|
64
|
+
export default meta;
|
|
65
|
+
type Story = StoryObj<typeof meta>;
|
|
66
|
+
|
|
67
|
+
export const Default: Story = {};
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<ul
|
|
3
|
+
class="flex"
|
|
4
|
+
:class="[
|
|
5
|
+
cn('gap-4', $attrs.class as HTMLAttributes['class']),
|
|
6
|
+
{
|
|
7
|
+
'flex-col': direction === 'vertical',
|
|
8
|
+
},
|
|
9
|
+
]"
|
|
10
|
+
>
|
|
11
|
+
<li v-for="option in internalOptions" :key="option.value">
|
|
12
|
+
<label class="flex items-center text-sm">
|
|
13
|
+
<input
|
|
14
|
+
v-model="pickedOption"
|
|
15
|
+
:name="groupName"
|
|
16
|
+
:value="option.value"
|
|
17
|
+
:checked="option.selected"
|
|
18
|
+
:disabled="disabled"
|
|
19
|
+
type="radio"
|
|
20
|
+
:class="cn(sizeClassName, variantClassName)"
|
|
21
|
+
class="cursor-pointer appearance-none rounded-full border-2 bg-clip-content disabled:cursor-default disabled:border-gray-500 disabled:bg-gray-500"
|
|
22
|
+
/>
|
|
23
|
+
<span
|
|
24
|
+
class="ml-1 cursor-pointer"
|
|
25
|
+
:class="[labelClass, disabled ? 'text-gray-500' : 'text-inherit']"
|
|
26
|
+
>
|
|
27
|
+
{{ option.label }}
|
|
28
|
+
</span>
|
|
29
|
+
</label>
|
|
30
|
+
</li>
|
|
31
|
+
</ul>
|
|
32
|
+
</template>
|
|
33
|
+
|
|
34
|
+
<script setup lang="ts" generic="T extends string | number">
|
|
35
|
+
import { computed, type HTMLAttributes } from "vue";
|
|
36
|
+
import { cn } from "../../utils/cn.js";
|
|
37
|
+
|
|
38
|
+
export interface UiRadioInputGroupOption<T> {
|
|
39
|
+
value: T;
|
|
40
|
+
label: string;
|
|
41
|
+
selected: boolean;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
const pickedOption = defineModel<T>();
|
|
45
|
+
const props = withDefaults(
|
|
46
|
+
defineProps<{
|
|
47
|
+
groupName: string;
|
|
48
|
+
disabled?: boolean;
|
|
49
|
+
direction?: "horizontal" | "vertical";
|
|
50
|
+
options: UiRadioInputGroupOption<T>[];
|
|
51
|
+
variant?: "blue" | "gray";
|
|
52
|
+
size?: "small" | "medium";
|
|
53
|
+
labelClass?: string;
|
|
54
|
+
}>(),
|
|
55
|
+
{
|
|
56
|
+
direction: "horizontal",
|
|
57
|
+
variant: "blue",
|
|
58
|
+
size: "medium",
|
|
59
|
+
disabled: false,
|
|
60
|
+
labelClass: "",
|
|
61
|
+
},
|
|
62
|
+
);
|
|
63
|
+
|
|
64
|
+
const variantClassName = computed(() => {
|
|
65
|
+
return props.variant === "blue"
|
|
66
|
+
? "border-blue-default checked:bg-blue-default checked:hover:bg-blue-dark hover:border-blue-dark"
|
|
67
|
+
: "border-gray-800 checked:bg-gray-800 checked:hover:bg-gray-900 hover:border-gray-900";
|
|
68
|
+
});
|
|
69
|
+
|
|
70
|
+
const sizeClassName = computed(() => {
|
|
71
|
+
return props.size === "medium" ? "h-5 w-5 p-1" : "w-4 h-4 p-[3px]";
|
|
72
|
+
});
|
|
73
|
+
|
|
74
|
+
const internalOptions = computed(() => {
|
|
75
|
+
return props.options.map((option) => {
|
|
76
|
+
return {
|
|
77
|
+
...option,
|
|
78
|
+
selected: pickedOption.value === option.value,
|
|
79
|
+
};
|
|
80
|
+
});
|
|
81
|
+
});
|
|
82
|
+
</script>
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSearchBar
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiSearchBar -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiSearchBar
|
|
9
|
+
v-model="value"
|
|
10
|
+
:placeholder="placeholder"
|
|
11
|
+
@input="handleEvent"
|
|
12
|
+
@focus="handleEvent"
|
|
13
|
+
@blur="handleEvent"
|
|
14
|
+
@keyup.enter="handleEvent"
|
|
15
|
+
/>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import UiSearchBar from "@dpa-shared-components";
|
|
20
|
+
const searchInput = ref();
|
|
21
|
+
const handleInput = (input) => {
|
|
22
|
+
searchInput.value = input;
|
|
23
|
+
}
|
|
24
|
+
</script>
|
|
25
|
+
```
|
|
26
|
+
|
|
27
|
+
### Props
|
|
28
|
+
| Name | Type | Default | Description |
|
|
29
|
+
|----------------------------|-----------|------------------|-----------------------------------------------|
|
|
30
|
+
| `placeholder` | `String` | `""` | Text for the `input`'s placeholder |
|
|
31
|
+
| `value` | `String` | `""` | The `input`'s value |
|
|
32
|
+
| `backgroundColor` | `String` | `"gray"` | sets the `background-color` of the search bar |
|
|
33
|
+
| `hiddenFilterRules` | `Number` | `0` | Number of advance search criteria |
|
|
34
|
+
| `isFilterChipEditable` | `Boolean` | `true` | Defines if the Filter Chip is editable |
|
|
35
|
+
| `executeSearchButtonTtile` | `String` | `Execute Search` | Aria-Label for searchIconBtn |
|
|
36
|
+
| `resetSearchButtonTitle` | `String` | `Reset Search` | Aria-Label for resetSearchBtn |
|
|
37
|
+
|
|
38
|
+
### Events
|
|
39
|
+
|
|
40
|
+
| Name | Type | Description |
|
|
41
|
+
| ------------------- |---------------- | -------------------------------------------------------- |
|
|
42
|
+
| `blur` | `FocusEvent` | Emitted when the `input` loses focus |
|
|
43
|
+
| `focus` | `FocusEvent` | Emitted when the `input` is focused |
|
|
44
|
+
| `reset` | `string` | Emitted when the `reset` button is clicked |
|
|
45
|
+
| `search` | `string` | Emitted when the `search` button is clicked |
|
|
46
|
+
| `submit` | `string` | |
|
|
47
|
+
| `update:modelValue` | `string` | |
|
|
48
|
+
|
|
49
|
+
### Exposes
|
|
50
|
+
|
|
51
|
+
| Name | Type | Description |
|
|
52
|
+
|------------------|--------------------|------------------------------------------------------------------|
|
|
53
|
+
| `searchInputRef` | `HTMLInputElement` | Exposes a ref to the input element to the parent component |
|
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { describe, expect, it } from "vitest";
|
|
2
|
+
import { mount, type ComponentMountingOptions } from "@vue/test-utils";
|
|
3
|
+
|
|
4
|
+
import UiSearchBar from "./UiSearchBar.vue";
|
|
5
|
+
|
|
6
|
+
function createWrapper(
|
|
7
|
+
options: ComponentMountingOptions<typeof UiSearchBar> = {},
|
|
8
|
+
) {
|
|
9
|
+
return mount(UiSearchBar, {
|
|
10
|
+
...options,
|
|
11
|
+
});
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
describe("UiSearchBar", () => {
|
|
15
|
+
it("renders the placeholder", () => {
|
|
16
|
+
const placeholder = "Example query";
|
|
17
|
+
const wrapper = createWrapper({ props: { placeholder } });
|
|
18
|
+
|
|
19
|
+
const textInput = wrapper.find("input");
|
|
20
|
+
expect(textInput.element.placeholder).toBe(placeholder);
|
|
21
|
+
});
|
|
22
|
+
|
|
23
|
+
it("renders the value", async () => {
|
|
24
|
+
const wrapper = createWrapper();
|
|
25
|
+
|
|
26
|
+
const searchQuery = "Ein Suchbegriff";
|
|
27
|
+
const textInput = wrapper.find("input");
|
|
28
|
+
await textInput.setValue(searchQuery);
|
|
29
|
+
expect(wrapper.emitted()["update:modelValue"]).toBeTruthy();
|
|
30
|
+
expect(textInput.element.value).toBe(searchQuery);
|
|
31
|
+
});
|
|
32
|
+
|
|
33
|
+
it("emits focus event", async () => {
|
|
34
|
+
const wrapper = createWrapper();
|
|
35
|
+
|
|
36
|
+
const textInput = wrapper.find("input");
|
|
37
|
+
await textInput.trigger("focus");
|
|
38
|
+
expect(wrapper.emitted("focus")).toBeTruthy();
|
|
39
|
+
});
|
|
40
|
+
|
|
41
|
+
it("emits blur event", async () => {
|
|
42
|
+
const wrapper = createWrapper();
|
|
43
|
+
|
|
44
|
+
const textInput = wrapper.find("input");
|
|
45
|
+
await textInput.trigger("blur");
|
|
46
|
+
expect(wrapper.emitted("blur")).toBeTruthy();
|
|
47
|
+
});
|
|
48
|
+
|
|
49
|
+
it("renders slots", () => {
|
|
50
|
+
const wrapper = createWrapper({
|
|
51
|
+
props: {
|
|
52
|
+
modelValue: "Test",
|
|
53
|
+
placeholder: "Suchen",
|
|
54
|
+
backgroundColor: "gray",
|
|
55
|
+
hiddenFilterRules: 0,
|
|
56
|
+
isFilterChipEditable: true,
|
|
57
|
+
},
|
|
58
|
+
slots: {
|
|
59
|
+
searchCriteriaButton: "<button>+ 1 Suchkriterium</button>",
|
|
60
|
+
extendedSearchButton: "<button>Erweiterte Suche</button>",
|
|
61
|
+
nonEditableChips: "<p>Favorite</p>",
|
|
62
|
+
editableChips: "<p>Hamburg</p>",
|
|
63
|
+
},
|
|
64
|
+
});
|
|
65
|
+
expect(wrapper.html()).toContain("<button>+ 1 Suchkriterium</button>");
|
|
66
|
+
expect(wrapper.html()).toContain("<button>Erweiterte Suche</button>");
|
|
67
|
+
expect(wrapper.html()).toContain("<p>Favorite</p>");
|
|
68
|
+
expect(wrapper.html()).toContain("<p>Hamburg</p>");
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
it("can clear input value by setting modelValue to empty string (bug fix)", async () => {
|
|
72
|
+
const wrapper = createWrapper();
|
|
73
|
+
const input = wrapper.find("input");
|
|
74
|
+
expect(input.element.value).toBe("");
|
|
75
|
+
|
|
76
|
+
await input.setValue("test");
|
|
77
|
+
expect(input.element.value).toBe("test");
|
|
78
|
+
|
|
79
|
+
await wrapper.setProps({ modelValue: "" });
|
|
80
|
+
expect(input.element.value).toBe("");
|
|
81
|
+
});
|
|
82
|
+
});
|
|
@@ -0,0 +1,192 @@
|
|
|
1
|
+
import UiSearchBar from "./UiSearchBar.vue";
|
|
2
|
+
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
3
|
+
import UiIconButton from "../UiIconButton/UiIconButton.vue";
|
|
4
|
+
import UiButton from "../UiButton/UiButton.vue";
|
|
5
|
+
import UiChip from "../UiChip/UiChip.vue";
|
|
6
|
+
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
7
|
+
|
|
8
|
+
type PropsAndStoryProps = InstanceType<typeof UiSearchBar> & {
|
|
9
|
+
hiddenFilterRules: number;
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
const meta = {
|
|
13
|
+
title: "Ui/UiSearchBar",
|
|
14
|
+
component: UiSearchBar,
|
|
15
|
+
argTypes: {
|
|
16
|
+
modelValue: { control: "text" },
|
|
17
|
+
placeholder: { control: "text" },
|
|
18
|
+
backgroundColor: {
|
|
19
|
+
control: "select",
|
|
20
|
+
options: ["gray", "white"],
|
|
21
|
+
},
|
|
22
|
+
hiddenFilterRules: { control: "number" },
|
|
23
|
+
isFilterChipEditable: { control: "boolean" },
|
|
24
|
+
hasShadow: { control: "boolean" },
|
|
25
|
+
slotClass: { control: "text" },
|
|
26
|
+
resetButtonWrapperClass: { control: "text" },
|
|
27
|
+
},
|
|
28
|
+
args: {
|
|
29
|
+
modelValue: "",
|
|
30
|
+
placeholder: "Suchen",
|
|
31
|
+
backgroundColor: "gray",
|
|
32
|
+
hiddenFilterRules: 0,
|
|
33
|
+
isFilterChipEditable: true,
|
|
34
|
+
hasShadow: false,
|
|
35
|
+
slotClass: "",
|
|
36
|
+
resetButtonWrapperClass: "",
|
|
37
|
+
},
|
|
38
|
+
} satisfies Meta<PropsAndStoryProps>;
|
|
39
|
+
|
|
40
|
+
export default meta;
|
|
41
|
+
type Story = StoryObj<PropsAndStoryProps>;
|
|
42
|
+
|
|
43
|
+
export const Default: Story = {
|
|
44
|
+
render: (args) => ({
|
|
45
|
+
components: { UiSearchBar },
|
|
46
|
+
setup() {
|
|
47
|
+
return { args };
|
|
48
|
+
},
|
|
49
|
+
template:
|
|
50
|
+
"<div class='bg-white h-24 flex items-center p-4 w-full'><UiSearchBar v-bind='args'></UiSearchBar></div>",
|
|
51
|
+
}),
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export const WithActionButtons: Story = {
|
|
55
|
+
render: (args) => ({
|
|
56
|
+
components: {
|
|
57
|
+
UiSearchBar,
|
|
58
|
+
UiButton,
|
|
59
|
+
UiIconButton,
|
|
60
|
+
UiIcon,
|
|
61
|
+
},
|
|
62
|
+
setup() {
|
|
63
|
+
const getLabelText = (num: number) => {
|
|
64
|
+
if (!num) {
|
|
65
|
+
return "";
|
|
66
|
+
}
|
|
67
|
+
if (num > 1) {
|
|
68
|
+
return `+ ${num} Suchkriterien`;
|
|
69
|
+
}
|
|
70
|
+
return "+ 1 Suchkriterium";
|
|
71
|
+
};
|
|
72
|
+
const criteriaLabelText = () => {
|
|
73
|
+
return getLabelText(args.hiddenFilterRules);
|
|
74
|
+
};
|
|
75
|
+
return { args, criteriaLabelText };
|
|
76
|
+
},
|
|
77
|
+
template: `
|
|
78
|
+
<div class="bg-white h-24 flex items-center p-4 w-full">
|
|
79
|
+
<UiSearchBar v-bind="args">
|
|
80
|
+
<template #searchCriteriaButton>
|
|
81
|
+
<div class="mr-2">
|
|
82
|
+
<span
|
|
83
|
+
v-if="criteriaLabelText"
|
|
84
|
+
class="
|
|
85
|
+
self-center
|
|
86
|
+
mr-1
|
|
87
|
+
text-xs
|
|
88
|
+
font-medium
|
|
89
|
+
whitespace-no-wrap
|
|
90
|
+
cursor-pointer
|
|
91
|
+
text-blue
|
|
92
|
+
hover:text-blue-dark
|
|
93
|
+
"
|
|
94
|
+
>
|
|
95
|
+
{{ criteriaLabelText() }}
|
|
96
|
+
</span>
|
|
97
|
+
</div>
|
|
98
|
+
</template>
|
|
99
|
+
<template #extendedSearchButton>
|
|
100
|
+
<UiButton
|
|
101
|
+
rounded
|
|
102
|
+
size="xs"
|
|
103
|
+
class="border-none mr-1 font-semibold text-gray-800 hover:text-blue-default"
|
|
104
|
+
color="transparent"
|
|
105
|
+
|
|
106
|
+
>
|
|
107
|
+
Erweiterte Suche
|
|
108
|
+
<UiIcon
|
|
109
|
+
name="chevron-down"
|
|
110
|
+
size="medium"
|
|
111
|
+
/>
|
|
112
|
+
</UiButton>
|
|
113
|
+
</template>
|
|
114
|
+
<template #resetButton>
|
|
115
|
+
<div class="mx-2">
|
|
116
|
+
<div
|
|
117
|
+
class="
|
|
118
|
+
flex
|
|
119
|
+
items-center
|
|
120
|
+
justify-center
|
|
121
|
+
flex-none
|
|
122
|
+
h-full
|
|
123
|
+
bg-gray-100
|
|
124
|
+
"
|
|
125
|
+
>
|
|
126
|
+
<UiIconButton icon-name="close" background-color="none" icon-color="gray" size="large" />
|
|
127
|
+
</div>
|
|
128
|
+
</div>
|
|
129
|
+
</template>
|
|
130
|
+
<template #searchButton>
|
|
131
|
+
<div class="flex items-center justify-center">
|
|
132
|
+
<div class="w-2 h-8 border-l border-gray-300"></div>
|
|
133
|
+
<UiIconButton icon-name="search" background-color="none" icon-color="gray" size="large" />
|
|
134
|
+
</div>
|
|
135
|
+
</template>
|
|
136
|
+
</UiSearchBar>
|
|
137
|
+
</div>`,
|
|
138
|
+
}),
|
|
139
|
+
};
|
|
140
|
+
|
|
141
|
+
export const WithChips: Story = {
|
|
142
|
+
render: (args) => ({
|
|
143
|
+
components: {
|
|
144
|
+
UiSearchBar,
|
|
145
|
+
UiButton,
|
|
146
|
+
UiIconButton,
|
|
147
|
+
UiIcon,
|
|
148
|
+
UiChip,
|
|
149
|
+
},
|
|
150
|
+
setup() {
|
|
151
|
+
return { args };
|
|
152
|
+
},
|
|
153
|
+
template: `
|
|
154
|
+
<div class="bg-white h-24 flex items-center p-4 w-full">
|
|
155
|
+
<UiSearchBar v-bind="args">
|
|
156
|
+
<template #nonEditableChips>
|
|
157
|
+
<UiChip v-if="!args.isFilterChipEditable" class="ml-2">
|
|
158
|
+
<UiIcon
|
|
159
|
+
name="pin"
|
|
160
|
+
size="small"
|
|
161
|
+
class="mr-2"
|
|
162
|
+
/>
|
|
163
|
+
<span class="text-small">Nur Top-Einträge</span>
|
|
164
|
+
<UiIconButton icon-name="close" background-color="none" icon-color="gray" size="small"
|
|
165
|
+
class="hover:bg-gray-400 active:bg-gray-500 ml-1" />
|
|
166
|
+
</UiChip>
|
|
167
|
+
</template>
|
|
168
|
+
<template #editableChips>
|
|
169
|
+
<UiChip v-if="args.value" class="ml-2">
|
|
170
|
+
<span class="text-small">{{ args.value }}</span>
|
|
171
|
+
<UiIconButton icon-name="close" background-color="none" icon-color="gray" size="small"
|
|
172
|
+
class="hover:bg-gray-400 active:bg-gray-500 ml-1" />
|
|
173
|
+
</UiChip>
|
|
174
|
+
</template>
|
|
175
|
+
<template #extendedSearchButton>
|
|
176
|
+
<UiButton
|
|
177
|
+
rounded
|
|
178
|
+
size="xs"
|
|
179
|
+
class="border-none mr-1 font-semibold text-gray-800 hover:text-blue-default"
|
|
180
|
+
color="transparent"
|
|
181
|
+
>
|
|
182
|
+
Erweiterte Suche
|
|
183
|
+
<UiIcon
|
|
184
|
+
name="chevron-down"
|
|
185
|
+
size="medium"
|
|
186
|
+
/>
|
|
187
|
+
</UiButton>
|
|
188
|
+
</template>
|
|
189
|
+
</UiSearchBar>
|
|
190
|
+
</div>`,
|
|
191
|
+
}),
|
|
192
|
+
};
|