@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,52 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSearchInput
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<template>
|
|
7
|
+
<UiSearchInput
|
|
8
|
+
:has-add-entry-option="true"
|
|
9
|
+
:model-value="internalValue"
|
|
10
|
+
label="This is a Label"
|
|
11
|
+
placeholder="This is a placeholder"
|
|
12
|
+
@update:model-value="handleInput"
|
|
13
|
+
@handle-keypress="handleKeypress"
|
|
14
|
+
@blur="handleBlur"
|
|
15
|
+
/>
|
|
16
|
+
</template>
|
|
17
|
+
|
|
18
|
+
<script setup lang="ts">
|
|
19
|
+
import { UiSearchInput } from "./UiSearchInput.vue";
|
|
20
|
+
|
|
21
|
+
const internalValue = ref([""]);
|
|
22
|
+
function handleInput(newValue) {
|
|
23
|
+
internalValue.value = newValue;
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
function handleKeypress({ event, value }) {
|
|
27
|
+
if (event.key === 'Enter') {
|
|
28
|
+
// do something when enter key is pressed
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
function handleBlur(value) {
|
|
33
|
+
// value is the same as from handleInput
|
|
34
|
+
}
|
|
35
|
+
</script>
|
|
36
|
+
```
|
|
37
|
+
|
|
38
|
+
### Props
|
|
39
|
+
| Name | Type | Default | Description |
|
|
40
|
+
|---------------------|------------|-----------------------|-----------------------------------------------------------|
|
|
41
|
+
| `hadAddEntryOption` | `boolean` | `false` | Ability to add more search input |
|
|
42
|
+
| `modelValue` | `string[]` | `required` | Array of string arrays with the values of the input Field |
|
|
43
|
+
| `label` | `string` | `""` | Sets Label for the input field |
|
|
44
|
+
| `placeholder` | `string` | `Default placeholder` | Sets Placeholder attribute for the input |
|
|
45
|
+
|
|
46
|
+
### Events
|
|
47
|
+
|
|
48
|
+
| Name | Type | Description |
|
|
49
|
+
|---------------------|-----------------------|-------------------------------------------------------------------------------------|
|
|
50
|
+
| `update:modelValue` | `UpdateValueEvent` | Emits the Array of strings so the parent can handle the modification |
|
|
51
|
+
| `handleKeypress` | `HandleKeypressEvent` | Emits the keyboard event and the array of strings |
|
|
52
|
+
| `blur` | `BlurEven` | Emits blur event of the input field and transports the values entered at this point |
|
|
@@ -0,0 +1,144 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div
|
|
3
|
+
class="mb-4 grid text-gray-900 lg:mb-0 lg:grid-rows-1 lg:gap-y-5"
|
|
4
|
+
:class="{
|
|
5
|
+
'lg:grid-cols-[224px_1fr]': hasLabel,
|
|
6
|
+
'lg:grid-cols-1': !hasLabel,
|
|
7
|
+
}"
|
|
8
|
+
>
|
|
9
|
+
<div
|
|
10
|
+
v-if="hasLabel"
|
|
11
|
+
class="col-span-1 flex items-center pr-5 text-sm lg:py-2"
|
|
12
|
+
>
|
|
13
|
+
<label class="font-medium">{{ label }}</label>
|
|
14
|
+
<slot name="tooltip"></slot>
|
|
15
|
+
</div>
|
|
16
|
+
|
|
17
|
+
<div
|
|
18
|
+
v-for="(value, index) in internalValue"
|
|
19
|
+
:key="index"
|
|
20
|
+
:class="inputWrapperClass"
|
|
21
|
+
>
|
|
22
|
+
<div class="flex items-center">
|
|
23
|
+
<input
|
|
24
|
+
ref="inputs"
|
|
25
|
+
:value="internalValue[index]"
|
|
26
|
+
type="text"
|
|
27
|
+
class="w-full py-1 pb-2 text-sm focus:outline-none"
|
|
28
|
+
:placeholder="placeholder"
|
|
29
|
+
@input="updateValue(index, ($event.target as HTMLInputElement).value)"
|
|
30
|
+
@blur="handleBlur"
|
|
31
|
+
@keyup.delete="
|
|
32
|
+
deleteRow(index, ($event.target as HTMLInputElement).value)
|
|
33
|
+
"
|
|
34
|
+
@keydown="
|
|
35
|
+
handleKeydown(
|
|
36
|
+
index,
|
|
37
|
+
($event.target as HTMLInputElement).value,
|
|
38
|
+
$event,
|
|
39
|
+
)
|
|
40
|
+
"
|
|
41
|
+
/>
|
|
42
|
+
<UiIconButton
|
|
43
|
+
v-if="hasAddEntryOption && isLastIndex(index)"
|
|
44
|
+
icon-name="plus-circle"
|
|
45
|
+
icon-color="gray"
|
|
46
|
+
background-color="none"
|
|
47
|
+
size="medium"
|
|
48
|
+
title="Add Row"
|
|
49
|
+
data-testid="add-entry"
|
|
50
|
+
:disabled="!canAddRow"
|
|
51
|
+
@click="addRow"
|
|
52
|
+
/>
|
|
53
|
+
</div>
|
|
54
|
+
</div>
|
|
55
|
+
</div>
|
|
56
|
+
</template>
|
|
57
|
+
|
|
58
|
+
<script setup lang="ts">
|
|
59
|
+
import { computed, nextTick, ref, watchEffect } from "vue";
|
|
60
|
+
import UiIconButton from "../UiIconButton/UiIconButton.vue";
|
|
61
|
+
|
|
62
|
+
const props = withDefaults(
|
|
63
|
+
defineProps<{
|
|
64
|
+
hasAddEntryOption?: boolean;
|
|
65
|
+
label?: string;
|
|
66
|
+
modelValue: string[];
|
|
67
|
+
placeholder?: string;
|
|
68
|
+
}>(),
|
|
69
|
+
{
|
|
70
|
+
hasAddEntryOption: false,
|
|
71
|
+
placeholder: "Default placeholder",
|
|
72
|
+
label: "",
|
|
73
|
+
},
|
|
74
|
+
);
|
|
75
|
+
|
|
76
|
+
const internalValue = ref([""]);
|
|
77
|
+
|
|
78
|
+
const stopPropWatching = watchEffect(() => {
|
|
79
|
+
internalValue.value = props.modelValue;
|
|
80
|
+
});
|
|
81
|
+
|
|
82
|
+
const inputs = ref<HTMLInputElement[] | null>(null);
|
|
83
|
+
const addRow = async () => {
|
|
84
|
+
internalValue.value.push("");
|
|
85
|
+
if (inputs.value) {
|
|
86
|
+
await nextTick();
|
|
87
|
+
inputs.value[inputs.value?.length - 1].focus();
|
|
88
|
+
}
|
|
89
|
+
};
|
|
90
|
+
|
|
91
|
+
const canAddRow = computed(() => {
|
|
92
|
+
return (
|
|
93
|
+
internalValue.value[internalValue.value.length - 1].length > 0 &&
|
|
94
|
+
props.hasAddEntryOption
|
|
95
|
+
);
|
|
96
|
+
});
|
|
97
|
+
|
|
98
|
+
const deleteRow = (index: number, value: string) => {
|
|
99
|
+
if (props.hasAddEntryOption && value.length === 0 && index !== 0) {
|
|
100
|
+
internalValue.value.splice(index, 1);
|
|
101
|
+
}
|
|
102
|
+
};
|
|
103
|
+
|
|
104
|
+
const emit = defineEmits<{
|
|
105
|
+
"update:modelValue": [string[]];
|
|
106
|
+
handleKeypress: [{ event: KeyboardEvent; value: string[] }];
|
|
107
|
+
blur: [string[]];
|
|
108
|
+
}>();
|
|
109
|
+
|
|
110
|
+
function updateValue(index: number, newValue: string) {
|
|
111
|
+
stopPropWatching();
|
|
112
|
+
if (newValue.length === 0 && index > 0) {
|
|
113
|
+
return;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
internalValue.value[index] = newValue;
|
|
117
|
+
emit("update:modelValue", internalValue.value);
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
function handleKeydown(index: number, newValue: string, event: KeyboardEvent) {
|
|
121
|
+
const newValues = [...internalValue.value];
|
|
122
|
+
newValues[index] = newValue;
|
|
123
|
+
emit("handleKeypress", { event, value: newValues });
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
function handleBlur() {
|
|
127
|
+
emit("blur", internalValue.value);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
const isLastIndex = (index: number) => {
|
|
131
|
+
return index === internalValue.value.length - 1;
|
|
132
|
+
};
|
|
133
|
+
|
|
134
|
+
const hasLabel = computed(() => {
|
|
135
|
+
return props.label.length > 0;
|
|
136
|
+
});
|
|
137
|
+
|
|
138
|
+
const inputWrapperClass = computed(() => {
|
|
139
|
+
const baseClass = "border-b border-b-gray-200 self-start flex-shrink-0";
|
|
140
|
+
return hasLabel.value
|
|
141
|
+
? ["lg:col-start-2 lg:text-base", baseClass]
|
|
142
|
+
: [baseClass];
|
|
143
|
+
});
|
|
144
|
+
</script>
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSection
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiSection -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiSection size="small" vertical-padding="small" border-top border-bottom>Section Content</UiSection>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {UiSection} from "@dpa-id-components/dpa-shared-components";
|
|
13
|
+
</script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API
|
|
17
|
+
|
|
18
|
+
### Props
|
|
19
|
+
|
|
20
|
+
| Name | Type | Default | Description |
|
|
21
|
+
|-------------------|----------------------------------------|-----------|-----------------------------------------------|
|
|
22
|
+
| `size` | `"wide" | "small"` | `"wide"` | Determines the spread of the section content. |
|
|
23
|
+
| `verticalPadding` | `"small" | "large" | "none"` | `"large"` | Determines the padding of the section. |
|
|
24
|
+
| `borderTop` | `Boolean` | `false` | Displays a top border on the section. |
|
|
25
|
+
| `BorderBottom` | `Boolean` | `false` | Displays a bottom border on the section. |
|
|
26
|
+
|
|
27
|
+
### Slots
|
|
28
|
+
|
|
29
|
+
| Name | Description |
|
|
30
|
+
|-----------|----------------------------------------------|
|
|
31
|
+
| `default` | slot for the rendering the section's content |
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<section :class="borderClass" class="w-full border-gray-200 bg-white">
|
|
3
|
+
<div
|
|
4
|
+
:class="[sizeClasses[size], paddingClasses[verticalPadding]]"
|
|
5
|
+
data-testid="inner"
|
|
6
|
+
>
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
</section>
|
|
10
|
+
</template>
|
|
11
|
+
<script setup lang="ts">
|
|
12
|
+
import { computed } from "vue";
|
|
13
|
+
|
|
14
|
+
const props = withDefaults(
|
|
15
|
+
defineProps<{
|
|
16
|
+
size?: "wide" | "small";
|
|
17
|
+
verticalPadding?: "small" | "large" | "none";
|
|
18
|
+
borderTop?: boolean;
|
|
19
|
+
borderBottom?: boolean;
|
|
20
|
+
}>(),
|
|
21
|
+
{
|
|
22
|
+
size: "wide",
|
|
23
|
+
verticalPadding: "large",
|
|
24
|
+
borderTop: false,
|
|
25
|
+
borderBottom: false,
|
|
26
|
+
},
|
|
27
|
+
);
|
|
28
|
+
|
|
29
|
+
const sizeClasses: Record<string, string> = {
|
|
30
|
+
wide: "w-full md:px-28 text-gray-900 lg:flex",
|
|
31
|
+
small: "w-full lg:mx-auto lg:w-2/3",
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
const paddingClasses: Record<string, string> = {
|
|
35
|
+
small: "lg:py-12 pt-8 pb-12",
|
|
36
|
+
large: "py-24",
|
|
37
|
+
none: "py-0",
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
const borderClass = computed(() => {
|
|
41
|
+
const borderTopClass = props.borderTop ? "border-t" : "";
|
|
42
|
+
const borderBottomClass = props.borderBottom ? "border-b" : "";
|
|
43
|
+
return `${borderTopClass} ${borderBottomClass}`;
|
|
44
|
+
});
|
|
45
|
+
</script>
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSectionDivider
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiSectionDivider -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiSectionDivider></UiSectionDivider>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {UiSectionDivider} from "@dpa-id-components/dpa-shared-components";
|
|
13
|
+
</script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API
|
|
17
|
+
|
|
18
|
+
### Props
|
|
19
|
+
|
|
20
|
+
| Name | Type | Default | Description |
|
|
21
|
+
|-----------------|--------------------------|-----------|------------------------|
|
|
22
|
+
| `size` | `"large" | "small"` | `"large"` | Determines the height. |
|
|
23
|
+
| `customClasses` | `String` | `""` | Custom class string. |
|
|
24
|
+
|
|
25
|
+
### Slots
|
|
26
|
+
|
|
27
|
+
This component has no slot
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div :class="[sizeClass, customClasses]" class="bg-gray-100" />
|
|
3
|
+
</template>
|
|
4
|
+
|
|
5
|
+
<script lang="ts" setup>
|
|
6
|
+
import { computed } from "vue";
|
|
7
|
+
|
|
8
|
+
const props = withDefaults(
|
|
9
|
+
defineProps<{
|
|
10
|
+
size?: "small" | "large";
|
|
11
|
+
customClasses?: string[] | string;
|
|
12
|
+
}>(),
|
|
13
|
+
{
|
|
14
|
+
customClasses: "",
|
|
15
|
+
size: "large",
|
|
16
|
+
},
|
|
17
|
+
);
|
|
18
|
+
|
|
19
|
+
const sizeClasses: Record<string, string> = {
|
|
20
|
+
small: "h-px",
|
|
21
|
+
large: "h-4",
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
const sizeClass = computed(() => {
|
|
25
|
+
return sizeClasses[props.size];
|
|
26
|
+
});
|
|
27
|
+
</script>
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSimpleInput
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```vue
|
|
6
|
+
<template>
|
|
7
|
+
<UiSimpleInput
|
|
8
|
+
placeholder="Suchen"
|
|
9
|
+
size="small"
|
|
10
|
+
:has-icon="true"
|
|
11
|
+
@input="handleInput"
|
|
12
|
+
/>
|
|
13
|
+
</template>
|
|
14
|
+
|
|
15
|
+
<script setup>
|
|
16
|
+
import { UiSimpleInput } from "@dpa-id-components/dpa-shared-components";
|
|
17
|
+
|
|
18
|
+
const handleInput = (value) => {
|
|
19
|
+
console.log(value)
|
|
20
|
+
}
|
|
21
|
+
</script>
|
|
22
|
+
```
|
|
23
|
+
|
|
24
|
+
### Props
|
|
25
|
+
|
|
26
|
+
| Name | Type | Default | Description |
|
|
27
|
+
|---------------|------------------------------------------------------------------|-----------|--------------------------------------------|
|
|
28
|
+
| `placeholder` | `string` | " " | String of placeholder text in input field. |
|
|
29
|
+
| `size` | `"xs" | "small" | "medium" | "large" | "xl"` | `"small"` | size of search icon and placeholder text. |
|
|
30
|
+
| `hasIcon` | `boolean` | `true` | Toggles visibility of search icon. |
|
|
31
|
+
| `autofocus` | `Boolean` | `false` | Enables initial focus inside input. |
|
|
32
|
+
| `value` | `string` | Initial input value. |
|
|
33
|
+
|
|
34
|
+
### Events
|
|
35
|
+
|
|
36
|
+
| Name | Type | Description |
|
|
37
|
+
|---------|----------|-------------------------------------------------------------|
|
|
38
|
+
| `input` | `string` | Emits the string whenever the value in search input changes |
|
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<div class="flex items-center" :class="$attrs.class">
|
|
3
|
+
<UiIcon
|
|
4
|
+
v-if="hasIcon"
|
|
5
|
+
class="absolute text-gray-700"
|
|
6
|
+
name="search"
|
|
7
|
+
:size="size"
|
|
8
|
+
/>
|
|
9
|
+
<input
|
|
10
|
+
ref="autofocusRef"
|
|
11
|
+
data-testid="simple-input"
|
|
12
|
+
v-bind="{ ...$attrs, class: null }"
|
|
13
|
+
type="text"
|
|
14
|
+
spellcheck="false"
|
|
15
|
+
class="w-full focus:outline-none"
|
|
16
|
+
:class="[paddingClasses, fontSizeClasses]"
|
|
17
|
+
:placeholder="placeholder"
|
|
18
|
+
:value="value"
|
|
19
|
+
@input="updateValue($event as InputEvent)"
|
|
20
|
+
/>
|
|
21
|
+
</div>
|
|
22
|
+
</template>
|
|
23
|
+
<script lang="ts" setup>
|
|
24
|
+
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
25
|
+
import { computed, nextTick, onMounted, ref, watch } from "vue";
|
|
26
|
+
|
|
27
|
+
defineOptions({
|
|
28
|
+
inheritAttrs: false,
|
|
29
|
+
});
|
|
30
|
+
|
|
31
|
+
const emit = defineEmits<{
|
|
32
|
+
input: [string];
|
|
33
|
+
}>();
|
|
34
|
+
|
|
35
|
+
const props = withDefaults(
|
|
36
|
+
defineProps<{
|
|
37
|
+
value?: string;
|
|
38
|
+
placeholder?: string;
|
|
39
|
+
size?: "xs" | "small" | "medium" | "large" | "xl";
|
|
40
|
+
hasIcon?: boolean;
|
|
41
|
+
autofocus?: boolean;
|
|
42
|
+
}>(),
|
|
43
|
+
{
|
|
44
|
+
value: "",
|
|
45
|
+
placeholder: "",
|
|
46
|
+
size: "small",
|
|
47
|
+
hasIcon: true,
|
|
48
|
+
autofocus: false,
|
|
49
|
+
},
|
|
50
|
+
);
|
|
51
|
+
|
|
52
|
+
const autofocusRef = ref<HTMLInputElement | null>(null);
|
|
53
|
+
|
|
54
|
+
const setAutofocus = () => {
|
|
55
|
+
if (props.autofocus && autofocusRef.value) {
|
|
56
|
+
autofocusRef.value.focus();
|
|
57
|
+
}
|
|
58
|
+
};
|
|
59
|
+
|
|
60
|
+
watch(
|
|
61
|
+
() => props.autofocus,
|
|
62
|
+
() => {
|
|
63
|
+
nextTick(setAutofocus);
|
|
64
|
+
},
|
|
65
|
+
);
|
|
66
|
+
|
|
67
|
+
onMounted(async () => {
|
|
68
|
+
setAutofocus();
|
|
69
|
+
});
|
|
70
|
+
|
|
71
|
+
const paddingClasses = computed(() => {
|
|
72
|
+
if (!props.hasIcon) return "";
|
|
73
|
+
const sizeLookup = {
|
|
74
|
+
xs: "pl-4",
|
|
75
|
+
small: "pl-6",
|
|
76
|
+
medium: "pl-7",
|
|
77
|
+
large: "pl-9",
|
|
78
|
+
xl: "pl-14",
|
|
79
|
+
};
|
|
80
|
+
return sizeLookup[props.size as keyof typeof sizeLookup];
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
const fontSizeClasses = computed(() => {
|
|
84
|
+
const sizeLookup = {
|
|
85
|
+
xs: "text-xs",
|
|
86
|
+
small: "text-sm",
|
|
87
|
+
medium: "text-base",
|
|
88
|
+
large: "text-lg",
|
|
89
|
+
xl: "text-xl",
|
|
90
|
+
};
|
|
91
|
+
return sizeLookup[props.size as keyof typeof sizeLookup];
|
|
92
|
+
});
|
|
93
|
+
|
|
94
|
+
const updateValue = ({ target }: InputEvent): void => {
|
|
95
|
+
emit("input", (target as HTMLInputElement).value);
|
|
96
|
+
};
|
|
97
|
+
</script>
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
# @dpa-shared-components/UiSkeletonBox
|
|
2
|
+
|
|
3
|
+
## Usage
|
|
4
|
+
|
|
5
|
+
```html
|
|
6
|
+
<!-- SomeComponent.vue using UiSkeletonBox -->
|
|
7
|
+
<template>
|
|
8
|
+
<UiSkeletonBox dynamicSize></UiSkeletonBox>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script>
|
|
12
|
+
import {UiSkeletonBox} from "@dpa-id-components/dpa-shared-components";
|
|
13
|
+
</script>
|
|
14
|
+
```
|
|
15
|
+
|
|
16
|
+
## API
|
|
17
|
+
|
|
18
|
+
### Props
|
|
19
|
+
|
|
20
|
+
| Name | Type | Default | Description |
|
|
21
|
+
|---------------|-----------|---------|------------------------------------|
|
|
22
|
+
| `dynamicSize` | `Boolean` | `false` | If true, generates a random width. |
|
|
23
|
+
| `maxWidth` | `Number` | `100` | Max width for random width. |
|
|
24
|
+
| `minWidth` | `Number` | `80` | Min width for random width. |
|
|
25
|
+
|
|
26
|
+
### Slots
|
|
27
|
+
|
|
28
|
+
This component has no slots
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<span
|
|
3
|
+
class="inline-block animate-pulse rounded bg-gray-200"
|
|
4
|
+
:class="{
|
|
5
|
+
'h-4 w-full': dynamicSize,
|
|
6
|
+
}"
|
|
7
|
+
:style="{ width: computedWidth as string }"
|
|
8
|
+
/>
|
|
9
|
+
</template>
|
|
10
|
+
|
|
11
|
+
<script setup lang="ts">
|
|
12
|
+
import { computed } from "vue";
|
|
13
|
+
|
|
14
|
+
const props = withDefaults(
|
|
15
|
+
defineProps<{
|
|
16
|
+
maxWidth?: number;
|
|
17
|
+
minWidth?: number;
|
|
18
|
+
dynamicSize?: boolean;
|
|
19
|
+
}>(),
|
|
20
|
+
{
|
|
21
|
+
maxWidth: 100,
|
|
22
|
+
minWidth: 80,
|
|
23
|
+
dynamicSize: false,
|
|
24
|
+
},
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* Use either given width or random width between min and max value
|
|
29
|
+
*/
|
|
30
|
+
const computedWidth = computed(() => {
|
|
31
|
+
return (
|
|
32
|
+
props.dynamicSize &&
|
|
33
|
+
`${Math.floor(
|
|
34
|
+
Math.random() * (props.maxWidth - props.minWidth) + props.minWidth,
|
|
35
|
+
)}%`
|
|
36
|
+
);
|
|
37
|
+
});
|
|
38
|
+
</script>
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
# @dpa-id-components/UiSnackbar
|
|
2
|
+
|
|
3
|
+
## Installation
|
|
4
|
+
|
|
5
|
+
```
|
|
6
|
+
yarn add @dpa-id-components/UiSnackbar
|
|
7
|
+
```
|
|
8
|
+
|
|
9
|
+
## Usage
|
|
10
|
+
|
|
11
|
+
```html
|
|
12
|
+
<!-- SomeComponent.vue using UiSnackbar -->
|
|
13
|
+
<template>
|
|
14
|
+
<UiSnackbar :is-shown="isVisible" @action-click="handleAction">
|
|
15
|
+
HELLO
|
|
16
|
+
<template #action>action</template>
|
|
17
|
+
</UiSnackbar>
|
|
18
|
+
</template>
|
|
19
|
+
|
|
20
|
+
<script setup lang="ts">
|
|
21
|
+
import UiSnackbar from "@dpa-id-components/UiSnackbar";
|
|
22
|
+
|
|
23
|
+
const isVisible = ref(false);
|
|
24
|
+
|
|
25
|
+
const handleAction = () => {
|
|
26
|
+
console.log("do something");
|
|
27
|
+
};
|
|
28
|
+
</script>
|
|
29
|
+
```
|
|
30
|
+
|
|
31
|
+
## API
|
|
32
|
+
|
|
33
|
+
### Props
|
|
34
|
+
|
|
35
|
+
| Name | Type | Default | Description |
|
|
36
|
+
| ---------- | -------------------------------- | -------- | ------------------------------------------------------------ |
|
|
37
|
+
| `isShown` | `boolean` | `false` | Visibility of the snackbar. |
|
|
38
|
+
| `position` | `left` or `right` | `left` | Location of the snackbar, fixed in the viewport. |
|
|
39
|
+
| `iconName` | `UiIconName` | required | Sets the `name`, which determines which svg is used as icon. |
|
|
40
|
+
| `iconSize` | `small`, `medium`, `large` | `medium` | Sets the `size` of the icon. |
|
|
41
|
+
| `type` | `info`, `warning` | `info` | Sets the overall design of the snackbar. |
|
|
42
|
+
|
|
43
|
+
### Slots
|
|
44
|
+
|
|
45
|
+
| Name | Description |
|
|
46
|
+
| --------- | --------------------------------------- |
|
|
47
|
+
| `default` | Default slot for text of the snackbar |
|
|
48
|
+
| `action` | Optional slot for text in action button |
|
|
49
|
+
|
|
50
|
+
### Events
|
|
51
|
+
|
|
52
|
+
| Name | Type | Description |
|
|
53
|
+
| -------------- | --------- | -------------------------------------- |
|
|
54
|
+
| `action-click` | none | Emitted when the action is clicked |
|
|
55
|
+
| `input` | `boolean` | Emitted when the snackbar gets visible |
|
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<transition
|
|
3
|
+
enter-active-class="duration-200 ease-out"
|
|
4
|
+
enter-from-class="transform opacity-0"
|
|
5
|
+
enter-to-class="opacity-100"
|
|
6
|
+
leave-active-class="duration-200 ease-in"
|
|
7
|
+
leave-from-class="opacity-100"
|
|
8
|
+
leave-to-class="transform opacity-0"
|
|
9
|
+
>
|
|
10
|
+
<div
|
|
11
|
+
v-if="isShown"
|
|
12
|
+
role="status"
|
|
13
|
+
class="fixed bottom-5 sm:bottom-12"
|
|
14
|
+
:class="{
|
|
15
|
+
'left-5 sm:left-12': position === 'left',
|
|
16
|
+
'right-5 sm:right-12': position === 'right',
|
|
17
|
+
}"
|
|
18
|
+
>
|
|
19
|
+
<div
|
|
20
|
+
class="flex items-center rounded-full px-4 py-3 shadow-md ease-in"
|
|
21
|
+
:class="{
|
|
22
|
+
'bg-red-500 text-white': type === 'error',
|
|
23
|
+
'bg-gray-900 text-white': type === 'info',
|
|
24
|
+
'bg-green-primary text-white': type === 'success',
|
|
25
|
+
}"
|
|
26
|
+
>
|
|
27
|
+
<UiIcon
|
|
28
|
+
v-if="iconName || type === 'error'"
|
|
29
|
+
:name="iconName || 'alert-fill'"
|
|
30
|
+
:size="iconSize"
|
|
31
|
+
class="mr-2 text-white"
|
|
32
|
+
/>
|
|
33
|
+
|
|
34
|
+
<p class="text-sm font-normal leading-5">
|
|
35
|
+
<slot />
|
|
36
|
+
</p>
|
|
37
|
+
|
|
38
|
+
<button
|
|
39
|
+
v-if="$slots.action"
|
|
40
|
+
ref="actionBtn"
|
|
41
|
+
type="button"
|
|
42
|
+
class="pointer ml-3 text-sm font-bold leading-5 hover:underline focus:outline-none focus-visible:underline"
|
|
43
|
+
@click="emit('action-click')"
|
|
44
|
+
>
|
|
45
|
+
<slot name="action" />
|
|
46
|
+
</button>
|
|
47
|
+
</div>
|
|
48
|
+
</div>
|
|
49
|
+
</transition>
|
|
50
|
+
</template>
|
|
51
|
+
|
|
52
|
+
<script setup lang="ts">
|
|
53
|
+
import { watch } from "vue";
|
|
54
|
+
import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
55
|
+
|
|
56
|
+
const emit = defineEmits<{
|
|
57
|
+
input: [boolean];
|
|
58
|
+
"action-click": [];
|
|
59
|
+
}>();
|
|
60
|
+
|
|
61
|
+
const props = withDefaults(
|
|
62
|
+
defineProps<{
|
|
63
|
+
isShown?: boolean;
|
|
64
|
+
position?: "left" | "right";
|
|
65
|
+
iconName?: UiIconName | null;
|
|
66
|
+
iconSize?: "small" | "medium" | "large";
|
|
67
|
+
type?: "info" | "error" | "success";
|
|
68
|
+
}>(),
|
|
69
|
+
{
|
|
70
|
+
isShown: false,
|
|
71
|
+
position: "left",
|
|
72
|
+
iconName: null,
|
|
73
|
+
iconSize: "large",
|
|
74
|
+
type: "info",
|
|
75
|
+
},
|
|
76
|
+
);
|
|
77
|
+
|
|
78
|
+
watch(
|
|
79
|
+
() => props.isShown,
|
|
80
|
+
(isShown) => {
|
|
81
|
+
if (isShown) {
|
|
82
|
+
emit("input", isShown);
|
|
83
|
+
}
|
|
84
|
+
},
|
|
85
|
+
);
|
|
86
|
+
</script>
|