@dpa-id-components/dpa-shared-components 22.3.1 → 23.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 +9 -57
- package/package.json +21 -41
- package/src/components/UiIcon/UiIcon.vue +2 -8
- package/src/components/UiIcon/icons.ts +171 -171
- package/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +2 -8
- package/src/components/UiMediaTypeIcon/UiMediaTypeIconLoading.vue +8 -1
- package/src/tailwindPreset.css +1 -1
- package/dist/_plugin-vue_export-helper-B3ysoDQm.js +0 -8
- package/dist/activities-CNONG76g.js +0 -18
- package/dist/ai-BORdA1tP.js +0 -18
- package/dist/alert-CEh7TpHk.js +0 -18
- package/dist/alert-filled-GUQ1sv5T.js +0 -18
- package/dist/alert-k4dRvZkA.js +0 -18
- package/dist/alert-octagon-D6ymVrlL.js +0 -31
- package/dist/apps-31DLZEqJ.js +0 -18
- package/dist/archive-DxH0AmUn.js +0 -18
- package/dist/arrow-down-B9xmpEKh.js +0 -18
- package/dist/arrow-left-w89ZP810.js +0 -18
- package/dist/arrow-nav-left-CsT11yHm.js +0 -18
- package/dist/arrow-nav-right-CauLQRaf.js +0 -18
- package/dist/arrow-right-Dj7Me-mB.js +0 -18
- package/dist/arrow-up-C7yQWUg5.js +0 -18
- package/dist/arrowhead-left-D3prb6lT.js +0 -18
- package/dist/arrowhead-right-DYkeDm5p.js +0 -18
- package/dist/arrowhead-top-D6Yiw4OG.js +0 -18
- package/dist/assets/icons/activities.vue.d.ts +0 -3
- package/dist/assets/icons/ai.vue.d.ts +0 -3
- package/dist/assets/icons/alert-filled.vue.d.ts +0 -3
- package/dist/assets/icons/alert-octagon.vue.d.ts +0 -3
- package/dist/assets/icons/alert.vue.d.ts +0 -3
- package/dist/assets/icons/apps.vue.d.ts +0 -3
- package/dist/assets/icons/archive.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-down.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-left.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-nav-left.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-nav-right.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-right.vue.d.ts +0 -3
- package/dist/assets/icons/arrow-up.vue.d.ts +0 -3
- package/dist/assets/icons/arrowhead-left.vue.d.ts +0 -3
- package/dist/assets/icons/arrowhead-right.vue.d.ts +0 -3
- package/dist/assets/icons/arrowhead-top.vue.d.ts +0 -3
- package/dist/assets/icons/atmo.vue.d.ts +0 -3
- package/dist/assets/icons/audio.vue.d.ts +0 -3
- package/dist/assets/icons/bag.vue.d.ts +0 -3
- package/dist/assets/icons/bell-filled.vue.d.ts +0 -3
- package/dist/assets/icons/bell.vue.d.ts +0 -3
- package/dist/assets/icons/book.vue.d.ts +0 -3
- package/dist/assets/icons/bookmark-filled.vue.d.ts +0 -3
- package/dist/assets/icons/bookmark.vue.d.ts +0 -3
- package/dist/assets/icons/bot.vue.d.ts +0 -3
- package/dist/assets/icons/box.vue.d.ts +0 -3
- package/dist/assets/icons/bulb.vue.d.ts +0 -3
- package/dist/assets/icons/call.vue.d.ts +0 -3
- package/dist/assets/icons/camera.vue.d.ts +0 -3
- package/dist/assets/icons/check.vue.d.ts +0 -3
- package/dist/assets/icons/checklist.vue.d.ts +0 -3
- package/dist/assets/icons/checkmark-double.vue.d.ts +0 -3
- package/dist/assets/icons/checkmark.vue.d.ts +0 -3
- package/dist/assets/icons/chevron-down.vue.d.ts +0 -3
- package/dist/assets/icons/chevron-left.vue.d.ts +0 -3
- package/dist/assets/icons/chevron-right.vue.d.ts +0 -3
- package/dist/assets/icons/chevron-up.vue.d.ts +0 -3
- package/dist/assets/icons/clipboard.vue.d.ts +0 -3
- package/dist/assets/icons/clock.vue.d.ts +0 -3
- package/dist/assets/icons/close.vue.d.ts +0 -3
- package/dist/assets/icons/cloud-save.vue.d.ts +0 -3
- package/dist/assets/icons/code.vue.d.ts +0 -3
- package/dist/assets/icons/collapse.vue.d.ts +0 -3
- package/dist/assets/icons/color-palette.vue.d.ts +0 -3
- package/dist/assets/icons/comment-filled.vue.d.ts +0 -3
- package/dist/assets/icons/comment.vue.d.ts +0 -3
- package/dist/assets/icons/copy-link.vue.d.ts +0 -3
- package/dist/assets/icons/copy.vue.d.ts +0 -3
- package/dist/assets/icons/delete.vue.d.ts +0 -3
- package/dist/assets/icons/download.vue.d.ts +0 -3
- package/dist/assets/icons/dpa-id.vue.d.ts +0 -3
- package/dist/assets/icons/edit-add.vue.d.ts +0 -3
- package/dist/assets/icons/edit.vue.d.ts +0 -3
- package/dist/assets/icons/eil.vue.d.ts +0 -3
- package/dist/assets/icons/emoji-add.vue.d.ts +0 -3
- package/dist/assets/icons/emoji.vue.d.ts +0 -3
- package/dist/assets/icons/envelope.vue.d.ts +0 -3
- package/dist/assets/icons/event.vue.d.ts +0 -3
- package/dist/assets/icons/expand.vue.d.ts +0 -3
- package/dist/assets/icons/external-link.vue.d.ts +0 -3
- package/dist/assets/icons/file-pdf.vue.d.ts +0 -3
- package/dist/assets/icons/file.vue.d.ts +0 -3
- package/dist/assets/icons/filter.vue.d.ts +0 -3
- package/dist/assets/icons/flag-filled.vue.d.ts +0 -3
- package/dist/assets/icons/flag.vue.d.ts +0 -3
- package/dist/assets/icons/flags.vue.d.ts +0 -3
- package/dist/assets/icons/flash.vue.d.ts +0 -3
- package/dist/assets/icons/folder-add.vue.d.ts +0 -3
- package/dist/assets/icons/folder-filled.vue.d.ts +0 -3
- package/dist/assets/icons/folder.vue.d.ts +0 -3
- package/dist/assets/icons/gallery.vue.d.ts +0 -3
- package/dist/assets/icons/graphic.vue.d.ts +0 -3
- package/dist/assets/icons/graphics.vue.d.ts +0 -3
- package/dist/assets/icons/grid-1.vue.d.ts +0 -3
- package/dist/assets/icons/grid-2.vue.d.ts +0 -3
- package/dist/assets/icons/grid-3.vue.d.ts +0 -3
- package/dist/assets/icons/grid-4.vue.d.ts +0 -3
- package/dist/assets/icons/grid-6.vue.d.ts +0 -3
- package/dist/assets/icons/grid-9.vue.d.ts +0 -3
- package/dist/assets/icons/grid-masonry-9.vue.d.ts +0 -3
- package/dist/assets/icons/grid-masonry.vue.d.ts +0 -3
- package/dist/assets/icons/help.vue.d.ts +0 -3
- package/dist/assets/icons/home.vue.d.ts +0 -3
- package/dist/assets/icons/image-focus-point.vue.d.ts +0 -3
- package/dist/assets/icons/image.vue.d.ts +0 -3
- package/dist/assets/icons/impact-high.vue.d.ts +0 -3
- package/dist/assets/icons/impact-low.vue.d.ts +0 -3
- package/dist/assets/icons/impact-medium.vue.d.ts +0 -3
- package/dist/assets/icons/impact-very-high.vue.d.ts +0 -3
- package/dist/assets/icons/impact-very-low.vue.d.ts +0 -3
- package/dist/assets/icons/info-filled.vue.d.ts +0 -3
- package/dist/assets/icons/info.vue.d.ts +0 -3
- package/dist/assets/icons/label-filled.vue.d.ts +0 -3
- package/dist/assets/icons/label.vue.d.ts +0 -3
- package/dist/assets/icons/language.vue.d.ts +0 -3
- package/dist/assets/icons/latest.vue.d.ts +0 -3
- package/dist/assets/icons/lightbulb.vue.d.ts +0 -3
- package/dist/assets/icons/list-search.vue.d.ts +0 -3
- package/dist/assets/icons/list.vue.d.ts +0 -3
- package/dist/assets/icons/lock-filled.vue.d.ts +0 -3
- package/dist/assets/icons/lock.vue.d.ts +0 -3
- package/dist/assets/icons/mail.vue.d.ts +0 -3
- package/dist/assets/icons/map-filled.vue.d.ts +0 -3
- package/dist/assets/icons/map.vue.d.ts +0 -3
- package/dist/assets/icons/menu.vue.d.ts +0 -3
- package/dist/assets/icons/minus.vue.d.ts +0 -3
- package/dist/assets/icons/more-horizontal.vue.d.ts +0 -3
- package/dist/assets/icons/more-vertical.vue.d.ts +0 -3
- package/dist/assets/icons/move-up-down.vue.d.ts +0 -3
- package/dist/assets/icons/move.vue.d.ts +0 -3
- package/dist/assets/icons/navigation.vue.d.ts +0 -3
- package/dist/assets/icons/note.vue.d.ts +0 -3
- package/dist/assets/icons/offline.vue.d.ts +0 -3
- package/dist/assets/icons/package.vue.d.ts +0 -3
- package/dist/assets/icons/paper-plane.vue.d.ts +0 -3
- package/dist/assets/icons/pause.vue.d.ts +0 -3
- package/dist/assets/icons/pdf.vue.d.ts +0 -3
- package/dist/assets/icons/pen-check.vue.d.ts +0 -3
- package/dist/assets/icons/pen.vue.d.ts +0 -3
- package/dist/assets/icons/people.vue.d.ts +0 -3
- package/dist/assets/icons/phone.vue.d.ts +0 -3
- package/dist/assets/icons/picture.vue.d.ts +0 -3
- package/dist/assets/icons/pin.vue.d.ts +0 -3
- package/dist/assets/icons/planning.vue.d.ts +0 -3
- package/dist/assets/icons/play-filled.vue.d.ts +0 -3
- package/dist/assets/icons/play.vue.d.ts +0 -3
- package/dist/assets/icons/plus.vue.d.ts +0 -3
- package/dist/assets/icons/print.vue.d.ts +0 -3
- package/dist/assets/icons/refresh.vue.d.ts +0 -3
- package/dist/assets/icons/reset.vue.d.ts +0 -3
- package/dist/assets/icons/responsive.vue.d.ts +0 -3
- package/dist/assets/icons/rubix-thema.vue.d.ts +0 -3
- package/dist/assets/icons/save.vue.d.ts +0 -3
- package/dist/assets/icons/saved-search-filled.vue.d.ts +0 -3
- package/dist/assets/icons/saved-search.vue.d.ts +0 -3
- package/dist/assets/icons/search.vue.d.ts +0 -3
- package/dist/assets/icons/settings.vue.d.ts +0 -3
- package/dist/assets/icons/share-alternative.vue.d.ts +0 -3
- package/dist/assets/icons/share.vue.d.ts +0 -3
- package/dist/assets/icons/sidebar-filled.vue.d.ts +0 -3
- package/dist/assets/icons/sidebar.vue.d.ts +0 -3
- package/dist/assets/icons/slack.vue.d.ts +0 -3
- package/dist/assets/icons/slider-config.vue.d.ts +0 -3
- package/dist/assets/icons/spellcheck.vue.d.ts +0 -3
- package/dist/assets/icons/spinner.vue.d.ts +0 -3
- package/dist/assets/icons/standard-view.vue.d.ts +0 -3
- package/dist/assets/icons/star-filled.vue.d.ts +0 -3
- package/dist/assets/icons/star.vue.d.ts +0 -3
- package/dist/assets/icons/stop.vue.d.ts +0 -3
- package/dist/assets/icons/story.vue.d.ts +0 -3
- package/dist/assets/icons/sync.vue.d.ts +0 -3
- package/dist/assets/icons/tasks.vue.d.ts +0 -3
- package/dist/assets/icons/text.vue.d.ts +0 -3
- package/dist/assets/icons/thumbs-down.vue.d.ts +0 -3
- package/dist/assets/icons/thumbs-up-double.vue.d.ts +0 -3
- package/dist/assets/icons/thumbs-up.vue.d.ts +0 -3
- package/dist/assets/icons/topic.vue.d.ts +0 -3
- package/dist/assets/icons/union.vue.d.ts +0 -3
- package/dist/assets/icons/upload.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-divert-me.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-educate-me.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-give-me-perspective.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-help-me.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-inspire-me.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-touch-me.vue.d.ts +0 -3
- package/dist/assets/icons/user-need-update-me.vue.d.ts +0 -3
- package/dist/assets/icons/video-overlay.vue.d.ts +0 -3
- package/dist/assets/icons/video.vue.d.ts +0 -3
- package/dist/assets/icons/view-off.vue.d.ts +0 -3
- package/dist/assets/icons/view.vue.d.ts +0 -3
- package/dist/assets/icons/volume-up.vue.d.ts +0 -3
- package/dist/atmo-BYdaOrhT.js +0 -18
- package/dist/audio-BLhGEnZc.js +0 -18
- package/dist/audio-CaUo0DpR.js +0 -18
- package/dist/bag-DfUnEdIG.js +0 -15
- package/dist/bell-BUoHDgUa.js +0 -18
- package/dist/bell-filled-9k1Rm3vh.js +0 -18
- package/dist/book-DJ-BeeEm.js +0 -18
- package/dist/bookmark-C6STJXUN.js +0 -15
- package/dist/bookmark-filled-CxwMfIfF.js +0 -20
- package/dist/bot-C103nFwL.js +0 -19
- package/dist/box-DFDPFTQ7.js +0 -18
- package/dist/bulb-qwe4TWu7.js +0 -18
- package/dist/call-CfOzRaYz.js +0 -18
- package/dist/camera-BCW_KVfC.js +0 -18
- package/dist/check-CiZxunah.js +0 -18
- package/dist/checklist-CKV_EHso.js +0 -18
- package/dist/checkmark-BE0OoZGa.js +0 -18
- package/dist/checkmark-double-BJAvABOC.js +0 -18
- package/dist/chevron-down-B5PIbEio.js +0 -18
- package/dist/chevron-left-BPryaWHJ.js +0 -18
- package/dist/chevron-right-CB2iqaCO.js +0 -18
- package/dist/chevron-up-NvAEC--2.js +0 -18
- package/dist/clipboard-BsskWPLx.js +0 -18
- package/dist/clock-D3iR841r.js +0 -18
- package/dist/close-BwgoeQAp.js +0 -18
- package/dist/cloud-save-C1k851Z_.js +0 -18
- package/dist/code-CbwDeiVM.js +0 -18
- package/dist/collapse-BIUDbTyr.js +0 -18
- package/dist/color-palette-DUY9An-f.js +0 -13
- package/dist/comment-DUUDjk_v.js +0 -18
- package/dist/comment-filled-rvm3HWly.js +0 -18
- package/dist/components/UiBadge/UiBadge.vue.d.ts +0 -18
- package/dist/components/UiButton/UiButton.vue.d.ts +0 -27
- package/dist/components/UiCheckbox/UiCheckbox.vue.d.ts +0 -38
- package/dist/components/UiChip/UiChip.vue.d.ts +0 -21
- package/dist/components/UiColorPicker/UiColorPicker.vue.d.ts +0 -10
- package/dist/components/UiColorPicker/lib/colors.d.ts +0 -1
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +0 -74
- package/dist/components/UiDialog/UiDialog.vue.d.ts +0 -35
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +0 -25
- package/dist/components/UiIcon/UiIcon.vue.d.ts +0 -21
- package/dist/components/UiIcon/UiIconLoading.vue.d.ts +0 -3
- package/dist/components/UiIcon/icons.d.ts +0 -173
- package/dist/components/UiInfoContent/UiInfoContent.vue.d.ts +0 -36
- package/dist/components/UiInput/UiInput.vue.d.ts +0 -38
- package/dist/components/UiLabel/UiLabel.vue.d.ts +0 -15
- package/dist/components/UiListItem/UiListItem.vue.d.ts +0 -34
- package/dist/components/UiMediaTypeIcon/UiMediaTypeIcon.vue.d.ts +0 -11
- package/dist/components/UiMediaTypeIcon/UiMediaTypeIconLoading.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/alert.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/audio.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/gallery.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/graphic.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/package.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/picture.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/story.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/text.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons/video.vue.d.ts +0 -3
- package/dist/components/UiMediaTypeIcon/icons.d.ts +0 -11
- package/dist/components/UiMenu/UiMenu.vue.d.ts +0 -76
- package/dist/components/UiPopover/UiPopover.vue.d.ts +0 -49
- package/dist/components/UiRadioButton/UiRadioButton.vue.d.ts +0 -35
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +0 -40
- package/dist/components/UiSearchInput/UiSearchInput.vue.d.ts +0 -45
- package/dist/components/UiSelect/UiSelect.vue.d.ts +0 -37
- package/dist/components/UiSkeletonBox/UiSkeletonBox.vue.d.ts +0 -8
- package/dist/components/UiSnackbar/UiSnackbar.vue.d.ts +0 -29
- package/dist/components/UiSpinner/UiSpinner.vue.d.ts +0 -7
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +0 -28
- package/dist/components/UiTooltip/UiTooltip.vue.d.ts +0 -23
- package/dist/components/index.d.ts +0 -29
- package/dist/compositions/index.d.ts +0 -1
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +0 -8
- package/dist/copy-DIcAlkg5.js +0 -19
- package/dist/copy-link-Dy9otjUI.js +0 -18
- package/dist/delete-BI38E8vg.js +0 -18
- package/dist/directives/index.d.ts +0 -1
- package/dist/directives/vClickAway.d.ts +0 -5
- package/dist/download-COkMFqqt.js +0 -18
- package/dist/dpa-id-lBIeVHgX.js +0 -18
- package/dist/dpa-shared-components.d.ts +0 -2
- package/dist/dpa-shared-components.js +0 -15113
- package/dist/edit-DFZucLKb.js +0 -18
- package/dist/edit-add-Cx7x5gfl.js +0 -18
- package/dist/eil-BjfC8db7.js +0 -18
- package/dist/emoji-CZAa65rh.js +0 -18
- package/dist/emoji-add-Bdw-xZuW.js +0 -18
- package/dist/envelope-BL-sHuqE.js +0 -16
- package/dist/event-C6fYIB3A.js +0 -13
- package/dist/expand-CbaTiURl.js +0 -18
- package/dist/external-link-DKF31dpS.js +0 -18
- package/dist/file-DWQzWW7U.js +0 -18
- package/dist/file-pdf-C4WTAvL4.js +0 -18
- package/dist/filter-kGJtnOhb.js +0 -18
- package/dist/flag-L7yd4mwV.js +0 -18
- package/dist/flag-filled-CTDa2efs.js +0 -18
- package/dist/flags-Dl7zJKmO.js +0 -19
- package/dist/flash-DZhODZa2.js +0 -18
- package/dist/folder-9Uwlobw5.js +0 -18
- package/dist/folder-add-BTNpiyeV.js +0 -18
- package/dist/folder-filled-VCsVbqgw.js +0 -18
- package/dist/gallery-CaJoU7iC.js +0 -18
- package/dist/gallery-D-A6Lk4l.js +0 -21
- package/dist/graphic-BHfsGi2Y.js +0 -18
- package/dist/graphic-BtBeBP53.js +0 -18
- package/dist/graphics-BQsurkrS.js +0 -21
- package/dist/grid-1-CYbZv-UT.js +0 -18
- package/dist/grid-2-BTFSXvzD.js +0 -18
- package/dist/grid-3-BjlnBMzz.js +0 -18
- package/dist/grid-4-BQUX0ES8.js +0 -18
- package/dist/grid-6-CBmGEiqx.js +0 -18
- package/dist/grid-9-B4NrxHyA.js +0 -18
- package/dist/grid-masonry-9-5-pMpPJP.js +0 -19
- package/dist/grid-masonry-CQKadmp9.js +0 -18
- package/dist/help-DRp9OUcp.js +0 -18
- package/dist/home-BXPuwKXk.js +0 -18
- package/dist/image-BuaeqPub.js +0 -18
- package/dist/image-focus-point-TJFo_N1n.js +0 -18
- package/dist/impact-high-DVgcn-Ae.js +0 -18
- package/dist/impact-low-CsvuPmk_.js +0 -18
- package/dist/impact-medium-GY_OHSc1.js +0 -18
- package/dist/impact-very-high-B3en_oYR.js +0 -18
- package/dist/impact-very-low-Bb-zEAGB.js +0 -18
- package/dist/index.d.ts +0 -4
- package/dist/info-CaNyekC4.js +0 -18
- package/dist/info-filled-BMA19BzN.js +0 -18
- package/dist/label-Bw1zj9W1.js +0 -18
- package/dist/label-filled-DrguwEbm.js +0 -18
- package/dist/language-rz5Z2ZmC.js +0 -18
- package/dist/latest-ChE2cmSz.js +0 -18
- package/dist/lightbulb-DNR4PX3F.js +0 -16
- package/dist/list-Cz72rNRB.js +0 -18
- package/dist/list-search-BFpET5qV.js +0 -22
- package/dist/lock-DJTDJhgw.js +0 -18
- package/dist/lock-filled-DRjvJBj3.js +0 -18
- package/dist/mail-Bkf5whgc.js +0 -18
- package/dist/map-filled-DOurRYP3.js +0 -18
- package/dist/map-xA3002JW.js +0 -18
- package/dist/menu-2v2TRGv7.js +0 -18
- package/dist/minus-BHrEG9BZ.js +0 -18
- package/dist/more-horizontal-BiLFHNjR.js +0 -18
- package/dist/more-vertical-MHbB9_He.js +0 -18
- package/dist/move-C2Mel2Fs.js +0 -18
- package/dist/move-up-down-CX9AFsb5.js +0 -18
- package/dist/navigation-BxUEjd2D.js +0 -18
- package/dist/note-JDaeQ7KP.js +0 -18
- package/dist/offline-DTVkLzxG.js +0 -18
- package/dist/package-Cqki3iBp.js +0 -18
- package/dist/package-a6wVeuDo.js +0 -18
- package/dist/paper-plane-DAhJxCyF.js +0 -18
- package/dist/pause-D9YWbY88.js +0 -18
- package/dist/pdf-DYHgIGl5.js +0 -18
- package/dist/pen-DpSe4QTA.js +0 -15
- package/dist/pen-check-B6w-qyKk.js +0 -15
- package/dist/people-L-RBpthJ.js +0 -18
- package/dist/phone-D9f_M1qn.js +0 -18
- package/dist/picture-CN4X8eKB.js +0 -18
- package/dist/picture-CmfKLBKL.js +0 -18
- package/dist/pin-BxwEBnT3.js +0 -18
- package/dist/planning-f_b-yvy0.js +0 -18
- package/dist/play-B3HQvb0Y.js +0 -18
- package/dist/play-filled-D5vhGrVt.js +0 -18
- package/dist/plus-C8VUl4nl.js +0 -18
- package/dist/print-l0oxfj0P.js +0 -18
- package/dist/refresh-NFCjjw_E.js +0 -18
- package/dist/renovate.json +0 -25
- package/dist/reset-ejMu30sL.js +0 -18
- package/dist/responsive-DxkuLBT-.js +0 -19
- package/dist/rubix-thema-C_AFU2TJ.js +0 -18
- package/dist/save-CXjuYnpN.js +0 -18
- package/dist/saved-search-CFvfKYcT.js +0 -19
- package/dist/saved-search-filled-CzEFnSAz.js +0 -21
- package/dist/search-DCYa9f-a.js +0 -18
- package/dist/settings-D744QSWD.js +0 -18
- package/dist/share-D4fImRnp.js +0 -18
- package/dist/share-alternative-jYDTaOhB.js +0 -18
- package/dist/sidebar-CymSOARn.js +0 -15
- package/dist/sidebar-filled-gWTXdyC3.js +0 -19
- package/dist/slack-CxvOlRRy.js +0 -18
- package/dist/slider-config-D65lpbtz.js +0 -18
- package/dist/spellcheck-CAd06Iwp.js +0 -18
- package/dist/spinner-C2v5HebP.js +0 -32
- package/dist/src/components/UiBadge/README.md +0 -29
- package/dist/src/components/UiBadge/UiBadge.spec.ts +0 -26
- package/dist/src/components/UiBadge/UiBadge.stories.ts +0 -91
- package/dist/src/components/UiBadge/UiBadge.vue +0 -41
- package/dist/src/components/UiButton/README.md +0 -54
- package/dist/src/components/UiButton/UiButton.spec.ts +0 -109
- package/dist/src/components/UiButton/UiButton.stories.ts +0 -103
- package/dist/src/components/UiButton/UiButton.vue +0 -85
- package/dist/src/components/UiCheckbox/README.md +0 -33
- package/dist/src/components/UiCheckbox/UiCheckbox.spec.ts +0 -47
- package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +0 -98
- package/dist/src/components/UiCheckbox/UiCheckbox.vue +0 -86
- package/dist/src/components/UiChip/README.md +0 -35
- package/dist/src/components/UiChip/UiChip.spec.ts +0 -20
- package/dist/src/components/UiChip/UiChip.stories.ts +0 -75
- package/dist/src/components/UiChip/UiChip.vue +0 -43
- package/dist/src/components/UiColorPicker/README.md +0 -31
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +0 -40
- package/dist/src/components/UiColorPicker/UiColorPicker.stories.ts +0 -44
- package/dist/src/components/UiColorPicker/UiColorPicker.vue +0 -69
- package/dist/src/components/UiColorPicker/lib/colors.ts +0 -11
- package/dist/src/components/UiDatePicker/README.md +0 -89
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +0 -143
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +0 -308
- package/dist/src/components/UiDatePicker/UiDatePicker.vue +0 -418
- package/dist/src/components/UiDialog/README.md +0 -45
- package/dist/src/components/UiDialog/UiDialog.spec.ts +0 -53
- package/dist/src/components/UiDialog/UiDialog.stories.ts +0 -71
- package/dist/src/components/UiDialog/UiDialog.vue +0 -143
- package/dist/src/components/UiFilterBadge/README.md +0 -31
- package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +0 -61
- package/dist/src/components/UiFilterBadge/UiFilterBadge.stories.ts +0 -28
- package/dist/src/components/UiFilterBadge/UiFilterBadge.vue +0 -45
- package/dist/src/components/UiIcon/README.md +0 -32
- package/dist/src/components/UiIcon/UiIcon.spec.ts +0 -56
- package/dist/src/components/UiIcon/UiIcon.stories.ts +0 -71
- package/dist/src/components/UiIcon/UiIcon.vue +0 -59
- package/dist/src/components/UiIcon/UiIconLoading.vue +0 -8
- package/dist/src/components/UiIcon/icons.ts +0 -175
- package/dist/src/components/UiInfoContent/README.md +0 -42
- package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +0 -51
- package/dist/src/components/UiInfoContent/UiInfoContent.stories.ts +0 -35
- package/dist/src/components/UiInfoContent/UiInfoContent.vue +0 -70
- package/dist/src/components/UiInput/README.md +0 -61
- package/dist/src/components/UiInput/UiInput.spec.ts +0 -228
- package/dist/src/components/UiInput/UiInput.stories.ts +0 -163
- package/dist/src/components/UiInput/UiInput.vue +0 -154
- package/dist/src/components/UiLabel/README.md +0 -24
- package/dist/src/components/UiLabel/UiLabel.vue +0 -16
- package/dist/src/components/UiListItem/README.md +0 -46
- package/dist/src/components/UiListItem/UiListItem.spec.ts +0 -99
- package/dist/src/components/UiListItem/UiListItem.stories.ts +0 -58
- package/dist/src/components/UiListItem/UiListItem.vue +0 -89
- package/dist/src/components/UiMediaTypeIcon/README.md +0 -22
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.stories.ts +0 -71
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +0 -48
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIconLoading.vue +0 -1
- package/dist/src/components/UiMediaTypeIcon/icons/alert.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/audio.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/gallery.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/graphic.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/package.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/picture.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/story.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/text.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons/video.vue +0 -13
- package/dist/src/components/UiMediaTypeIcon/icons.ts +0 -11
- package/dist/src/components/UiMenu/README.md +0 -150
- package/dist/src/components/UiMenu/UiMenu.spec.ts +0 -307
- package/dist/src/components/UiMenu/UiMenu.stories.ts +0 -410
- package/dist/src/components/UiMenu/UiMenu.vue +0 -283
- package/dist/src/components/UiPopover/README.md +0 -56
- package/dist/src/components/UiPopover/UiPopover.stories.ts +0 -49
- package/dist/src/components/UiPopover/UiPopover.vue +0 -210
- package/dist/src/components/UiRadioButton/README.md +0 -44
- package/dist/src/components/UiRadioButton/UiRadioButton.stories.ts +0 -94
- package/dist/src/components/UiRadioButton/UiRadioButton.vue +0 -82
- package/dist/src/components/UiSearchBar/README.md +0 -56
- package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +0 -65
- package/dist/src/components/UiSearchBar/UiSearchBar.stories.ts +0 -90
- package/dist/src/components/UiSearchBar/UiSearchBar.vue +0 -128
- package/dist/src/components/UiSearchInput/README.md +0 -58
- package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +0 -45
- package/dist/src/components/UiSearchInput/UiSearchInput.stories.ts +0 -61
- package/dist/src/components/UiSearchInput/UiSearchInput.vue +0 -178
- package/dist/src/components/UiSelect/README.md +0 -54
- package/dist/src/components/UiSelect/UiSelect.spec.ts +0 -110
- package/dist/src/components/UiSelect/UiSelect.stories.ts +0 -101
- package/dist/src/components/UiSelect/UiSelect.vue +0 -126
- package/dist/src/components/UiSkeletonBox/README.md +0 -28
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +0 -15
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.stories.ts +0 -33
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.vue +0 -33
- package/dist/src/components/UiSnackbar/README.md +0 -55
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +0 -109
- package/dist/src/components/UiSnackbar/UiSnackbar.stories.ts +0 -63
- package/dist/src/components/UiSnackbar/UiSnackbar.vue +0 -84
- package/dist/src/components/UiSpinner/README.md +0 -28
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +0 -45
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +0 -44
- package/dist/src/components/UiSpinner/UiSpinner.vue +0 -71
- package/dist/src/components/UiToggleButton/README.md +0 -43
- package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +0 -75
- package/dist/src/components/UiToggleButton/UiToggleButton.stories.ts +0 -93
- package/dist/src/components/UiToggleButton/UiToggleButton.vue +0 -63
- package/dist/src/components/UiTooltip/README.md +0 -51
- package/dist/src/components/UiTooltip/UiTooltip.spec.ts +0 -159
- package/dist/src/components/UiTooltip/UiTooltip.stories.ts +0 -64
- package/dist/src/components/UiTooltip/UiTooltip.vue +0 -99
- package/dist/src/components/index.ts +0 -60
- package/dist/src/compositions/index.ts +0 -1
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.ts +0 -23
- package/dist/src/compositions/useBreakpoints/UseBreakpoints.stories.vue +0 -15
- package/dist/src/compositions/useBreakpoints/useBreakpoints.ts +0 -28
- package/dist/src/directives/index.ts +0 -1
- package/dist/src/directives/vClickAway.ts +0 -38
- package/dist/src/index.ts +0 -6
- package/dist/src/tailwindPreset.css +0 -239
- package/dist/src/types/index.ts +0 -1
- package/dist/src/utils/cn.spec.ts +0 -29
- package/dist/src/utils/cn.ts +0 -14
- package/dist/src/utils/index.ts +0 -1
- package/dist/standard-view-BoYytoMT.js +0 -15
- package/dist/star-filled-CpCXunl1.js +0 -15
- package/dist/star-h8P_5_mG.js +0 -18
- package/dist/stop-CUitimZI.js +0 -18
- package/dist/story-DHD4LNQr.js +0 -18
- package/dist/story-DRn-XI6F.js +0 -18
- package/dist/style.css +0 -3
- package/dist/sync-Y2eA3WT_.js +0 -18
- package/dist/tailwindPreset.css +0 -239
- package/dist/tasks-C2MvrwpO.js +0 -18
- package/dist/text-C4wZ-s0Z.js +0 -18
- package/dist/text-C7Bt0-5h.js +0 -18
- package/dist/thumbs-down-DRz1ad6Z.js +0 -19
- package/dist/thumbs-up-Tt4RC_93.js +0 -19
- package/dist/thumbs-up-double-BiN5UiKl.js +0 -19
- package/dist/topic-D6_NwX-F.js +0 -18
- package/dist/types/index.d.ts +0 -1
- package/dist/union-s1aVCIT5.js +0 -13
- package/dist/upload-Csz6PEGc.js +0 -18
- package/dist/user-need-divert-me-NGIF6wBc.js +0 -18
- package/dist/user-need-educate-me-B5uX-I2R.js +0 -20
- package/dist/user-need-give-me-perspective-D1ivktbZ.js +0 -20
- package/dist/user-need-help-me-Re-fEjwm.js +0 -18
- package/dist/user-need-inspire-me-CvRPwxt2.js +0 -21
- package/dist/user-need-touch-me-D025Uac5.js +0 -20
- package/dist/user-need-update-me-DU3SfxYI.js +0 -20
- package/dist/utils/cn.d.ts +0 -10
- package/dist/utils/index.d.ts +0 -1
- package/dist/video-07EjnCpD.js +0 -18
- package/dist/video-B0IVRe8t.js +0 -18
- package/dist/video-overlay-blAbosdl.js +0 -19
- package/dist/view-BrJ61_ek.js +0 -18
- package/dist/view-off-Chs7NQif.js +0 -18
- package/dist/volume-up-BDZJhktI.js +0 -18
- package/src/assets/icons/activities.vue +0 -13
- package/src/assets/icons/ai.vue +0 -13
- package/src/assets/icons/alert-filled.vue +0 -13
- package/src/assets/icons/alert-octagon.vue +0 -24
- package/src/assets/icons/alert.vue +0 -13
- package/src/assets/icons/apps.vue +0 -13
- package/src/assets/icons/archive.vue +0 -13
- package/src/assets/icons/arrow-down.vue +0 -13
- package/src/assets/icons/arrow-left.vue +0 -13
- package/src/assets/icons/arrow-nav-left.vue +0 -13
- package/src/assets/icons/arrow-nav-right.vue +0 -13
- package/src/assets/icons/arrow-right.vue +0 -13
- package/src/assets/icons/arrow-up.vue +0 -13
- package/src/assets/icons/arrowhead-left.vue +0 -13
- package/src/assets/icons/arrowhead-right.vue +0 -13
- package/src/assets/icons/arrowhead-top.vue +0 -13
- package/src/assets/icons/atmo.vue +0 -13
- package/src/assets/icons/audio.vue +0 -13
- package/src/assets/icons/bag.vue +0 -12
- package/src/assets/icons/bell-filled.vue +0 -13
- package/src/assets/icons/bell.vue +0 -13
- package/src/assets/icons/book.vue +0 -13
- package/src/assets/icons/bookmark-filled.vue +0 -15
- package/src/assets/icons/bookmark.vue +0 -12
- package/src/assets/icons/bot.vue +0 -14
- package/src/assets/icons/box.vue +0 -13
- package/src/assets/icons/bulb.vue +0 -13
- package/src/assets/icons/call.vue +0 -13
- package/src/assets/icons/camera.vue +0 -13
- package/src/assets/icons/check.vue +0 -13
- package/src/assets/icons/checklist.vue +0 -13
- package/src/assets/icons/checkmark-double.vue +0 -13
- package/src/assets/icons/checkmark.vue +0 -13
- package/src/assets/icons/chevron-down.vue +0 -13
- package/src/assets/icons/chevron-left.vue +0 -13
- package/src/assets/icons/chevron-right.vue +0 -13
- package/src/assets/icons/chevron-up.vue +0 -13
- package/src/assets/icons/clipboard.vue +0 -13
- package/src/assets/icons/clock.vue +0 -13
- package/src/assets/icons/close.vue +0 -13
- package/src/assets/icons/cloud-save.vue +0 -13
- package/src/assets/icons/code.vue +0 -13
- package/src/assets/icons/collapse.vue +0 -13
- package/src/assets/icons/color-palette.vue +0 -19
- package/src/assets/icons/comment-filled.vue +0 -13
- package/src/assets/icons/comment.vue +0 -13
- package/src/assets/icons/copy-link.vue +0 -13
- package/src/assets/icons/copy.vue +0 -14
- package/src/assets/icons/delete.vue +0 -13
- package/src/assets/icons/download.vue +0 -13
- package/src/assets/icons/dpa-id.vue +0 -13
- package/src/assets/icons/edit-add.vue +0 -13
- package/src/assets/icons/edit.vue +0 -13
- package/src/assets/icons/eil.vue +0 -13
- package/src/assets/icons/emoji-add.vue +0 -13
- package/src/assets/icons/emoji.vue +0 -13
- package/src/assets/icons/envelope.vue +0 -13
- package/src/assets/icons/event.vue +0 -7
- package/src/assets/icons/expand.vue +0 -13
- package/src/assets/icons/external-link.vue +0 -13
- package/src/assets/icons/file-pdf.vue +0 -13
- package/src/assets/icons/file.vue +0 -13
- package/src/assets/icons/filter.vue +0 -13
- package/src/assets/icons/flag-filled.vue +0 -13
- package/src/assets/icons/flag.vue +0 -13
- package/src/assets/icons/flags.vue +0 -14
- package/src/assets/icons/flash.vue +0 -13
- package/src/assets/icons/folder-add.vue +0 -13
- package/src/assets/icons/folder-filled.vue +0 -13
- package/src/assets/icons/folder.vue +0 -13
- package/src/assets/icons/gallery.vue +0 -17
- package/src/assets/icons/graphic.vue +0 -13
- package/src/assets/icons/graphics.vue +0 -17
- package/src/assets/icons/grid-1.vue +0 -13
- package/src/assets/icons/grid-2.vue +0 -13
- package/src/assets/icons/grid-3.vue +0 -13
- package/src/assets/icons/grid-4.vue +0 -13
- package/src/assets/icons/grid-6.vue +0 -13
- package/src/assets/icons/grid-9.vue +0 -13
- package/src/assets/icons/grid-masonry-9.vue +0 -14
- package/src/assets/icons/grid-masonry.vue +0 -13
- package/src/assets/icons/help.vue +0 -13
- package/src/assets/icons/home.vue +0 -13
- package/src/assets/icons/image-focus-point.vue +0 -13
- package/src/assets/icons/image.vue +0 -13
- package/src/assets/icons/impact-high.vue +0 -13
- package/src/assets/icons/impact-low.vue +0 -13
- package/src/assets/icons/impact-medium.vue +0 -13
- package/src/assets/icons/impact-very-high.vue +0 -13
- package/src/assets/icons/impact-very-low.vue +0 -13
- package/src/assets/icons/info-filled.vue +0 -13
- package/src/assets/icons/info.vue +0 -13
- package/src/assets/icons/label-filled.vue +0 -13
- package/src/assets/icons/label.vue +0 -13
- package/src/assets/icons/language.vue +0 -13
- package/src/assets/icons/latest.vue +0 -13
- package/src/assets/icons/lightbulb.vue +0 -28
- package/src/assets/icons/list-search.vue +0 -17
- package/src/assets/icons/list.vue +0 -13
- package/src/assets/icons/lock-filled.vue +0 -13
- package/src/assets/icons/lock.vue +0 -13
- package/src/assets/icons/mail.vue +0 -13
- package/src/assets/icons/map-filled.vue +0 -13
- package/src/assets/icons/map.vue +0 -13
- package/src/assets/icons/menu.vue +0 -13
- package/src/assets/icons/minus.vue +0 -13
- package/src/assets/icons/more-horizontal.vue +0 -13
- package/src/assets/icons/more-vertical.vue +0 -13
- package/src/assets/icons/move-up-down.vue +0 -13
- package/src/assets/icons/move.vue +0 -13
- package/src/assets/icons/navigation.vue +0 -13
- package/src/assets/icons/note.vue +0 -13
- package/src/assets/icons/offline.vue +0 -13
- package/src/assets/icons/package.vue +0 -13
- package/src/assets/icons/paper-plane.vue +0 -13
- package/src/assets/icons/pause.vue +0 -13
- package/src/assets/icons/pdf.vue +0 -13
- package/src/assets/icons/pen-check.vue +0 -12
- package/src/assets/icons/pen.vue +0 -12
- package/src/assets/icons/people.vue +0 -13
- package/src/assets/icons/phone.vue +0 -13
- package/src/assets/icons/picture.vue +0 -13
- package/src/assets/icons/pin.vue +0 -13
- package/src/assets/icons/planning.vue +0 -13
- package/src/assets/icons/play-filled.vue +0 -13
- package/src/assets/icons/play.vue +0 -13
- package/src/assets/icons/plus.vue +0 -13
- package/src/assets/icons/print.vue +0 -13
- package/src/assets/icons/refresh.vue +0 -13
- package/src/assets/icons/reset.vue +0 -13
- package/src/assets/icons/responsive.vue +0 -14
- package/src/assets/icons/rubix-thema.vue +0 -13
- package/src/assets/icons/save.vue +0 -13
- package/src/assets/icons/saved-search-filled.vue +0 -16
- package/src/assets/icons/saved-search.vue +0 -14
- package/src/assets/icons/search.vue +0 -13
- package/src/assets/icons/settings.vue +0 -13
- package/src/assets/icons/share-alternative.vue +0 -13
- package/src/assets/icons/share.vue +0 -13
- package/src/assets/icons/sidebar-filled.vue +0 -14
- package/src/assets/icons/sidebar.vue +0 -30
- package/src/assets/icons/slack.vue +0 -13
- package/src/assets/icons/slider-config.vue +0 -13
- package/src/assets/icons/spellcheck.vue +0 -13
- package/src/assets/icons/spinner.vue +0 -31
- package/src/assets/icons/standard-view.vue +0 -12
- package/src/assets/icons/star-filled.vue +0 -12
- package/src/assets/icons/star.vue +0 -13
- package/src/assets/icons/stop.vue +0 -13
- package/src/assets/icons/story.vue +0 -13
- package/src/assets/icons/sync.vue +0 -13
- package/src/assets/icons/tasks.vue +0 -13
- package/src/assets/icons/text.vue +0 -13
- package/src/assets/icons/thumbs-down.vue +0 -14
- package/src/assets/icons/thumbs-up-double.vue +0 -14
- package/src/assets/icons/thumbs-up.vue +0 -14
- package/src/assets/icons/topic.vue +0 -13
- package/src/assets/icons/union.vue +0 -7
- package/src/assets/icons/upload.vue +0 -13
- package/src/assets/icons/user-need-divert-me.vue +0 -13
- package/src/assets/icons/user-need-educate-me.vue +0 -15
- package/src/assets/icons/user-need-give-me-perspective.vue +0 -15
- package/src/assets/icons/user-need-help-me.vue +0 -13
- package/src/assets/icons/user-need-inspire-me.vue +0 -16
- package/src/assets/icons/user-need-touch-me.vue +0 -15
- package/src/assets/icons/user-need-update-me.vue +0 -15
- package/src/assets/icons/video-overlay.vue +0 -14
- package/src/assets/icons/video.vue +0 -13
- package/src/assets/icons/view-off.vue +0 -13
- package/src/assets/icons/view.vue +0 -13
- package/src/assets/icons/volume-up.vue +0 -13
- /package/{dist/eslint.base.config.js → config/eslint.config.js} +0 -0
- /package/{dist → config}/prettier.config.js +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/activities.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/ai.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/alert-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/alert-octagon.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/alert.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/apps.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/archive.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-down.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-left.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-nav-left.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-nav-right.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-right.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrow-up.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrowhead-left.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrowhead-right.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/arrowhead-top.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/atmo.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/audio.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bag.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bell-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bell.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/book.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bookmark-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bookmark.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bot.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/box.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/bulb.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/call.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/camera.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/check.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/checklist.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/checkmark-double.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/checkmark.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/chevron-down.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/chevron-left.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/chevron-right.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/chevron-up.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/clipboard.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/clock.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/close.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/cloud-save.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/code.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/collapse.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/color-palette.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/comment-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/comment.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/copy-link.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/copy.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/delete.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/download.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/dpa-id.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/edit-add.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/edit.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/eil.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/emoji-add.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/emoji.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/envelope.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/event.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/expand.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/external-link.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/file-pdf.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/file.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/filter.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/flag-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/flag.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/flags.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/flash.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/folder-add.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/folder-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/folder.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/gallery.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/graphic.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/graphics.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-1.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-2.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-3.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-4.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-6.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-9.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-masonry-9.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/grid-masonry.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/help.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/home.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/image-focus-point.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/image.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/impact-high.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/impact-low.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/impact-medium.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/impact-very-high.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/impact-very-low.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/info-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/info.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/label-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/label.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/language.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/latest.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/lightbulb.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/list-search.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/list.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/lock-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/lock.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/mail.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/map-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/map.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/menu.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/minus.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/more-horizontal.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/more-vertical.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/move-up-down.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/move.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/navigation.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/note.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/offline.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/package.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/paper-plane.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/pause.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/pdf.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/pen-check.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/pen.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/people.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/phone.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/picture.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/pin.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/planning.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/play-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/play.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/plus.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/print.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/refresh.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/reset.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/responsive.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/rubix-thema.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/save.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/saved-search-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/saved-search.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/search.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/settings.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/share-alternative.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/share.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/sidebar-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/sidebar.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/slack.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/slider-config.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/spellcheck.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/spinner.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/standard-view.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/star-filled.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/star.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/stop.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/story.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/sync.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/tasks.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/text.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/thumbs-down.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/thumbs-up-double.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/thumbs-up.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/topic.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/union.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/upload.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-divert-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-educate-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-give-me-perspective.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-help-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-inspire-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-touch-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/user-need-update-me.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/video-overlay.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/video.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/view-off.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/view.vue +0 -0
- /package/{dist/src/assets → src/components/UiIcon}/icons/volume-up.vue +0 -0
|
@@ -1,410 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
import { action } from "storybook/actions";
|
|
3
|
-
import { ref } from "vue";
|
|
4
|
-
|
|
5
|
-
import { icons } from "../UiIcon/icons.ts";
|
|
6
|
-
|
|
7
|
-
import UiMenu, {
|
|
8
|
-
type UiMenuGroupedOption,
|
|
9
|
-
type UiMenuOptionType,
|
|
10
|
-
type UiMenuSelectedOption,
|
|
11
|
-
} from "./UiMenu.vue";
|
|
12
|
-
|
|
13
|
-
const meta = {
|
|
14
|
-
title: "Ui/UiMenu",
|
|
15
|
-
// @ts-expect-error generic components seem to cause type issues here that aren't easy to solve
|
|
16
|
-
component: UiMenu,
|
|
17
|
-
argTypes: {
|
|
18
|
-
options: { control: false },
|
|
19
|
-
groupedOptions: { control: false },
|
|
20
|
-
iconLeft: {
|
|
21
|
-
control: "select",
|
|
22
|
-
options: Object.keys(icons),
|
|
23
|
-
},
|
|
24
|
-
},
|
|
25
|
-
args: {
|
|
26
|
-
isOpen: false,
|
|
27
|
-
floatingUiPlacement: "bottom-start",
|
|
28
|
-
animate: true,
|
|
29
|
-
|
|
30
|
-
// Button slot
|
|
31
|
-
disabled: false,
|
|
32
|
-
active: false,
|
|
33
|
-
iconLeft: undefined,
|
|
34
|
-
buttonAppearance: "outline-subtle",
|
|
35
|
-
filterButtonSize: undefined,
|
|
36
|
-
defaultTitle: "Default Title",
|
|
37
|
-
multiLabel: "selected options",
|
|
38
|
-
noTitle: false,
|
|
39
|
-
|
|
40
|
-
// Search
|
|
41
|
-
hasSearch: false,
|
|
42
|
-
query: "",
|
|
43
|
-
searchPlaceholder: "Suchen",
|
|
44
|
-
hasAutoFocus: true,
|
|
45
|
-
hasResetOption: false,
|
|
46
|
-
resetLabel: "Zurücksetzen",
|
|
47
|
-
|
|
48
|
-
// Menu
|
|
49
|
-
iconSize: "sm",
|
|
50
|
-
imageShape: "square",
|
|
51
|
-
checkboxAppearance: "primary",
|
|
52
|
-
listVariant: "blank",
|
|
53
|
-
},
|
|
54
|
-
} satisfies Meta<typeof UiMenu>;
|
|
55
|
-
|
|
56
|
-
export default meta;
|
|
57
|
-
type Story = StoryObj<typeof meta>;
|
|
58
|
-
|
|
59
|
-
export const Default: Story = {
|
|
60
|
-
args: {
|
|
61
|
-
buttonAppearance: "fill-emphasis",
|
|
62
|
-
},
|
|
63
|
-
render: (args) => ({
|
|
64
|
-
setup() {
|
|
65
|
-
const options = ref<UiMenuOptionType<string>[]>([
|
|
66
|
-
{
|
|
67
|
-
label: "Option 1",
|
|
68
|
-
value: "value 1",
|
|
69
|
-
selected: true,
|
|
70
|
-
iconName: "info",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
label: "Option 2 is really long, much longer than the rest",
|
|
74
|
-
value: "value 2",
|
|
75
|
-
selected: false,
|
|
76
|
-
iconName: "alert",
|
|
77
|
-
hasDividerAbove: true,
|
|
78
|
-
},
|
|
79
|
-
{
|
|
80
|
-
label: "Option 3",
|
|
81
|
-
value: "value 3",
|
|
82
|
-
selected: false,
|
|
83
|
-
iconName: "bulb",
|
|
84
|
-
},
|
|
85
|
-
{
|
|
86
|
-
label: "Option 4",
|
|
87
|
-
value: "value 4",
|
|
88
|
-
selected: false,
|
|
89
|
-
iconName: "language",
|
|
90
|
-
},
|
|
91
|
-
]);
|
|
92
|
-
const filteredOptions = ref(Array.from(options.value));
|
|
93
|
-
|
|
94
|
-
const onSelect = (selectedOption: UiMenuSelectedOption<string>) => {
|
|
95
|
-
for (const option of filteredOptions.value) {
|
|
96
|
-
option.selected =
|
|
97
|
-
option.value === selectedOption.value ? true : false;
|
|
98
|
-
}
|
|
99
|
-
};
|
|
100
|
-
|
|
101
|
-
const onUpdateQuery = (value: string) => {
|
|
102
|
-
filteredOptions.value = options.value.filter((option) =>
|
|
103
|
-
option.label.toLowerCase().includes(value.toLowerCase()),
|
|
104
|
-
);
|
|
105
|
-
};
|
|
106
|
-
|
|
107
|
-
return {
|
|
108
|
-
args,
|
|
109
|
-
onSelect,
|
|
110
|
-
onUpdateQuery,
|
|
111
|
-
filteredOptions,
|
|
112
|
-
options,
|
|
113
|
-
};
|
|
114
|
-
},
|
|
115
|
-
components: { UiMenu },
|
|
116
|
-
template: /*html*/ `
|
|
117
|
-
<aside>
|
|
118
|
-
<UiMenu
|
|
119
|
-
v-bind="args"
|
|
120
|
-
v-model:query="args.query"
|
|
121
|
-
:options="filteredOptions"
|
|
122
|
-
@option-selected="(option)=> { onSelect(option); optionSelected(option); }"
|
|
123
|
-
@update:query="(value) => { onUpdateQuery(value); updateQuery(value); }"
|
|
124
|
-
/>
|
|
125
|
-
</aside>
|
|
126
|
-
`,
|
|
127
|
-
methods: {
|
|
128
|
-
optionSelected: action("option-selected"),
|
|
129
|
-
updateQuery: action("update:query"),
|
|
130
|
-
},
|
|
131
|
-
}),
|
|
132
|
-
};
|
|
133
|
-
|
|
134
|
-
export const WidthOverride: Story = {
|
|
135
|
-
args: {
|
|
136
|
-
buttonAppearance: "fill-emphasis",
|
|
137
|
-
},
|
|
138
|
-
render: (args) => ({
|
|
139
|
-
setup() {
|
|
140
|
-
const options = ref<UiMenuOptionType<string>[]>([
|
|
141
|
-
{
|
|
142
|
-
label: "Option 1",
|
|
143
|
-
value: "value 1",
|
|
144
|
-
selected: true,
|
|
145
|
-
iconName: "info",
|
|
146
|
-
},
|
|
147
|
-
{
|
|
148
|
-
label: "Option 2 is really long, much longer than the rest",
|
|
149
|
-
value: "value 2",
|
|
150
|
-
selected: false,
|
|
151
|
-
iconName: "alert",
|
|
152
|
-
hasDividerAbove: true,
|
|
153
|
-
},
|
|
154
|
-
{
|
|
155
|
-
label: "Option 3",
|
|
156
|
-
value: "value 3",
|
|
157
|
-
selected: false,
|
|
158
|
-
iconName: "bulb",
|
|
159
|
-
},
|
|
160
|
-
{
|
|
161
|
-
label: "Option 4",
|
|
162
|
-
value: "value 4",
|
|
163
|
-
selected: false,
|
|
164
|
-
iconName: "language",
|
|
165
|
-
},
|
|
166
|
-
]);
|
|
167
|
-
const filteredOptions = ref(Array.from(options.value));
|
|
168
|
-
|
|
169
|
-
const onSelect = (selectedOption: UiMenuSelectedOption<string>) => {
|
|
170
|
-
for (const option of filteredOptions.value) {
|
|
171
|
-
option.selected =
|
|
172
|
-
option.value === selectedOption.value ? true : false;
|
|
173
|
-
}
|
|
174
|
-
};
|
|
175
|
-
|
|
176
|
-
const onUpdateQuery = (value: string) => {
|
|
177
|
-
filteredOptions.value = options.value.filter((option) =>
|
|
178
|
-
option.label.toLowerCase().includes(value.toLowerCase()),
|
|
179
|
-
);
|
|
180
|
-
};
|
|
181
|
-
|
|
182
|
-
return {
|
|
183
|
-
args,
|
|
184
|
-
onSelect,
|
|
185
|
-
onUpdateQuery,
|
|
186
|
-
filteredOptions,
|
|
187
|
-
options,
|
|
188
|
-
};
|
|
189
|
-
},
|
|
190
|
-
components: { UiMenu },
|
|
191
|
-
template: /*html*/ `
|
|
192
|
-
<aside class="w-70 h-200 p-4 bg-neutral-pale space-y-4">
|
|
193
|
-
<UiMenu
|
|
194
|
-
class="w-full"
|
|
195
|
-
v-bind="args"
|
|
196
|
-
v-model:query="args.query"
|
|
197
|
-
:options="filteredOptions"
|
|
198
|
-
@option-selected="(option)=> { onSelect(option); optionSelected(option); }"
|
|
199
|
-
@update:query="(value) => { onUpdateQuery(value); updateQuery(value); }"
|
|
200
|
-
/>
|
|
201
|
-
<UiMenu
|
|
202
|
-
class="w-full"
|
|
203
|
-
v-bind="args"
|
|
204
|
-
:disabled="true"
|
|
205
|
-
/>
|
|
206
|
-
</aside>
|
|
207
|
-
`,
|
|
208
|
-
methods: {
|
|
209
|
-
optionSelected: action("option-selected"),
|
|
210
|
-
updateQuery: action("update:query"),
|
|
211
|
-
},
|
|
212
|
-
}),
|
|
213
|
-
};
|
|
214
|
-
|
|
215
|
-
export const GroupedOptions: Story = {
|
|
216
|
-
args: {
|
|
217
|
-
hasResetOption: true,
|
|
218
|
-
hasSearch: true,
|
|
219
|
-
resetLabel: "Zurücksetzen",
|
|
220
|
-
searchPlaceholder: "Suchen",
|
|
221
|
-
buttonAppearance: "outline-subtle",
|
|
222
|
-
listVariant: "checkbox",
|
|
223
|
-
defaultTitle: "Optionen",
|
|
224
|
-
hasAutoFocus: true,
|
|
225
|
-
},
|
|
226
|
-
render: (args) => ({
|
|
227
|
-
setup() {
|
|
228
|
-
const groupedOptions = ref<UiMenuGroupedOption<string>[]>([
|
|
229
|
-
{
|
|
230
|
-
options: [
|
|
231
|
-
{
|
|
232
|
-
label: "Four Tet",
|
|
233
|
-
value: "four-tet",
|
|
234
|
-
selected: true,
|
|
235
|
-
},
|
|
236
|
-
{
|
|
237
|
-
label: "Floating Points",
|
|
238
|
-
value: "floating-points",
|
|
239
|
-
selected: false,
|
|
240
|
-
},
|
|
241
|
-
{
|
|
242
|
-
label: "Burial",
|
|
243
|
-
value: "burial",
|
|
244
|
-
selected: false,
|
|
245
|
-
},
|
|
246
|
-
{
|
|
247
|
-
label: "Daphni",
|
|
248
|
-
value: "daphni",
|
|
249
|
-
selected: false,
|
|
250
|
-
},
|
|
251
|
-
],
|
|
252
|
-
},
|
|
253
|
-
{
|
|
254
|
-
groupLabel: "Aliases",
|
|
255
|
-
options: [
|
|
256
|
-
{
|
|
257
|
-
label: "KH",
|
|
258
|
-
value: "alias-1",
|
|
259
|
-
selected: true,
|
|
260
|
-
},
|
|
261
|
-
{
|
|
262
|
-
label: "△▃△▓",
|
|
263
|
-
value: "alias-2",
|
|
264
|
-
selected: false,
|
|
265
|
-
},
|
|
266
|
-
{
|
|
267
|
-
label: "⣎⡇ꉺლ༽இ•̛)ྀ◞ ༎ຶ ༽ৣৢ؞ৢ؞ؖ ꉺლ",
|
|
268
|
-
value: "alias-3",
|
|
269
|
-
selected: false,
|
|
270
|
-
},
|
|
271
|
-
{
|
|
272
|
-
label: "00110100 01010100",
|
|
273
|
-
value: "alias-4",
|
|
274
|
-
selected: false,
|
|
275
|
-
},
|
|
276
|
-
{
|
|
277
|
-
label: "4T Recordings",
|
|
278
|
-
value: "alias-5",
|
|
279
|
-
selected: false,
|
|
280
|
-
},
|
|
281
|
-
{
|
|
282
|
-
label: "4TLRPercussions",
|
|
283
|
-
value: "alias-6",
|
|
284
|
-
selected: false,
|
|
285
|
-
},
|
|
286
|
-
{
|
|
287
|
-
label: "00000ooooo",
|
|
288
|
-
value: "alias-7",
|
|
289
|
-
selected: false,
|
|
290
|
-
},
|
|
291
|
-
{
|
|
292
|
-
label: "Joshua Falken",
|
|
293
|
-
value: "alias-8",
|
|
294
|
-
selected: false,
|
|
295
|
-
},
|
|
296
|
-
],
|
|
297
|
-
},
|
|
298
|
-
]);
|
|
299
|
-
const filteredOptions = ref(Array.from(groupedOptions.value));
|
|
300
|
-
|
|
301
|
-
const onSelect = (selectedOption: UiMenuSelectedOption<string>) => {
|
|
302
|
-
for (const { options } of filteredOptions.value) {
|
|
303
|
-
const option = options.find(
|
|
304
|
-
({ value }) => value === selectedOption.value,
|
|
305
|
-
);
|
|
306
|
-
if (option) {
|
|
307
|
-
option.selected = !option.selected;
|
|
308
|
-
break;
|
|
309
|
-
}
|
|
310
|
-
}
|
|
311
|
-
};
|
|
312
|
-
|
|
313
|
-
const onUpdateQuery = (value: string) => {
|
|
314
|
-
filteredOptions.value = groupedOptions.value.map(
|
|
315
|
-
({ groupLabel, options }) => ({
|
|
316
|
-
groupLabel,
|
|
317
|
-
options: options.filter((option) =>
|
|
318
|
-
option.label.toLowerCase().includes(value.toLowerCase()),
|
|
319
|
-
),
|
|
320
|
-
}),
|
|
321
|
-
);
|
|
322
|
-
};
|
|
323
|
-
|
|
324
|
-
return {
|
|
325
|
-
args,
|
|
326
|
-
groupedOptions,
|
|
327
|
-
filteredOptions,
|
|
328
|
-
onSelect,
|
|
329
|
-
onUpdateQuery,
|
|
330
|
-
};
|
|
331
|
-
},
|
|
332
|
-
components: { UiMenu },
|
|
333
|
-
template: /*html*/ `
|
|
334
|
-
<UiMenu
|
|
335
|
-
v-bind="args"
|
|
336
|
-
v-model:query="args.query"
|
|
337
|
-
:grouped-options="filteredOptions"
|
|
338
|
-
@option-selected="(option)=> { onSelect(option); optionSelected(option); }"
|
|
339
|
-
@update:query="(value) => { onUpdateQuery(value); updateQuery(value); }"
|
|
340
|
-
/>
|
|
341
|
-
`,
|
|
342
|
-
methods: {
|
|
343
|
-
optionSelected: action("option-selected"),
|
|
344
|
-
updateQuery: action("update:query"),
|
|
345
|
-
},
|
|
346
|
-
}),
|
|
347
|
-
};
|
|
348
|
-
|
|
349
|
-
export const WithImages: Story = {
|
|
350
|
-
render: (args) => ({
|
|
351
|
-
setup() {
|
|
352
|
-
const options = ref<UiMenuOptionType<string>[]>([
|
|
353
|
-
{
|
|
354
|
-
label: "T-Online",
|
|
355
|
-
value: "t-online",
|
|
356
|
-
selected: true,
|
|
357
|
-
imageSrc:
|
|
358
|
-
"https://t1.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://www.t-online.de&size=24",
|
|
359
|
-
},
|
|
360
|
-
{
|
|
361
|
-
label: "Spiegel",
|
|
362
|
-
value: "spiegel",
|
|
363
|
-
selected: false,
|
|
364
|
-
imageSrc:
|
|
365
|
-
"https://t0.gstatic.com/faviconV2?client=SOCIAL&type=FAVICON&fallback_opts=TYPE,SIZE,URL&url=https://www.spiegel.de&size=24",
|
|
366
|
-
},
|
|
367
|
-
]);
|
|
368
|
-
const filteredOptions = ref(Array.from(options.value));
|
|
369
|
-
|
|
370
|
-
const onSelect = (selectedOption: UiMenuSelectedOption<string>) => {
|
|
371
|
-
for (const option of filteredOptions.value) {
|
|
372
|
-
if (option.value === selectedOption.value) {
|
|
373
|
-
option.selected = !option.selected;
|
|
374
|
-
}
|
|
375
|
-
}
|
|
376
|
-
};
|
|
377
|
-
|
|
378
|
-
const onUpdateQuery = (value: string) => {
|
|
379
|
-
filteredOptions.value = options.value.filter((option) =>
|
|
380
|
-
option.label.toLowerCase().includes(value.toLowerCase()),
|
|
381
|
-
);
|
|
382
|
-
};
|
|
383
|
-
|
|
384
|
-
return {
|
|
385
|
-
args,
|
|
386
|
-
onSelect,
|
|
387
|
-
onUpdateQuery,
|
|
388
|
-
filteredOptions,
|
|
389
|
-
options,
|
|
390
|
-
};
|
|
391
|
-
},
|
|
392
|
-
components: { UiMenu },
|
|
393
|
-
template: /*html*/ `
|
|
394
|
-
<UiMenu
|
|
395
|
-
v-bind="args"
|
|
396
|
-
v-model:query="args.query"
|
|
397
|
-
:options="filteredOptions"
|
|
398
|
-
@option-selected="(option)=> { onSelect(option); optionSelected(option); }"
|
|
399
|
-
@update:query="(value) => { onUpdateQuery(value); updateQuery(value); }"
|
|
400
|
-
/>
|
|
401
|
-
`,
|
|
402
|
-
methods: {
|
|
403
|
-
optionSelected: action("option-selected"),
|
|
404
|
-
updateQuery: action("update:query"),
|
|
405
|
-
},
|
|
406
|
-
}),
|
|
407
|
-
args: {
|
|
408
|
-
listVariant: "checkbox",
|
|
409
|
-
},
|
|
410
|
-
};
|
|
@@ -1,283 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<UiPopover
|
|
3
|
-
:initially-open="isOpen"
|
|
4
|
-
:animate
|
|
5
|
-
:placement="floatingUiPlacement"
|
|
6
|
-
@toggle="$event ? $emit('open') : $emit('close')"
|
|
7
|
-
>
|
|
8
|
-
<template #button="{ toggle, isOpen: isPopoverOpen }">
|
|
9
|
-
<UiButton
|
|
10
|
-
class="w-full justify-between"
|
|
11
|
-
:class="{
|
|
12
|
-
'border-neutral-subtle': isPopoverOpen,
|
|
13
|
-
}"
|
|
14
|
-
:appearance="active ? 'fill-emphasis' : buttonAppearance"
|
|
15
|
-
:disabled
|
|
16
|
-
:size="filterButtonSize"
|
|
17
|
-
data-testid="menu-button"
|
|
18
|
-
@click="toggle"
|
|
19
|
-
>
|
|
20
|
-
<div class="flex min-w-0 items-center gap-2 overflow-hidden">
|
|
21
|
-
<UiIcon v-if="iconLeft" class="shrink-0" :name="iconLeft" size="sm" />
|
|
22
|
-
<span class="truncate">{{ selectedOptionLabel }}</span>
|
|
23
|
-
</div>
|
|
24
|
-
<UiIcon class="shrink-0" name="chevron-down" size="sm" />
|
|
25
|
-
</UiButton>
|
|
26
|
-
</template>
|
|
27
|
-
|
|
28
|
-
<div
|
|
29
|
-
class="block w-max max-w-full divide-y overflow-hidden rounded-lg border border-neutral-faint bg-neutral text-base/6 shadow-md focus:outline-hidden sm:text-sm/5"
|
|
30
|
-
>
|
|
31
|
-
<div
|
|
32
|
-
v-if="hasSearch"
|
|
33
|
-
class="flex items-center gap-2 rounded-t-lg p-2 text-neutral-primary [&:has(>input:focus-visible)]:focus-outline [&:has(>input:focus-visible)]:-outline-offset-2"
|
|
34
|
-
>
|
|
35
|
-
<UiIcon
|
|
36
|
-
class="shrink-0 text-neutral-emphasis"
|
|
37
|
-
name="search"
|
|
38
|
-
size="sm"
|
|
39
|
-
/>
|
|
40
|
-
<input
|
|
41
|
-
ref="search-input"
|
|
42
|
-
v-model="queryModel"
|
|
43
|
-
type="text"
|
|
44
|
-
spellcheck="false"
|
|
45
|
-
class="w-full text-sm/4 focus:outline-hidden"
|
|
46
|
-
:placeholder="searchPlaceholder"
|
|
47
|
-
data-testid="menu-search-input"
|
|
48
|
-
/>
|
|
49
|
-
</div>
|
|
50
|
-
|
|
51
|
-
<slot
|
|
52
|
-
v-bind="{
|
|
53
|
-
checkboxAppearance,
|
|
54
|
-
iconSize,
|
|
55
|
-
imageShape,
|
|
56
|
-
listVariant,
|
|
57
|
-
options,
|
|
58
|
-
groupedOptions,
|
|
59
|
-
}"
|
|
60
|
-
>
|
|
61
|
-
<ul
|
|
62
|
-
v-if="processedOptions.some(({ options }) => options.length > 0)"
|
|
63
|
-
class="max-h-80 overflow-y-auto"
|
|
64
|
-
data-testid="menu-option-list"
|
|
65
|
-
>
|
|
66
|
-
<template
|
|
67
|
-
v-for="group in processedOptions"
|
|
68
|
-
:key="`group-${group.groupLabel ?? 'default'}`"
|
|
69
|
-
>
|
|
70
|
-
<template v-if="group.options.length > 0">
|
|
71
|
-
<li
|
|
72
|
-
v-if="group.groupLabel"
|
|
73
|
-
class="flex h-6 items-center bg-neutral-faint px-2 text-xs font-semibold tracking-wider text-neutral-subtle uppercase"
|
|
74
|
-
>
|
|
75
|
-
{{ group.groupLabel }}
|
|
76
|
-
</li>
|
|
77
|
-
|
|
78
|
-
<UiListItem
|
|
79
|
-
v-for="(option, index) in group.options"
|
|
80
|
-
:key="`option-${option.value}`"
|
|
81
|
-
:selected="option.selected"
|
|
82
|
-
:selectable="listVariant === 'selectable'"
|
|
83
|
-
:is-checked="option.selected"
|
|
84
|
-
:check-box-menu="listVariant === 'checkbox'"
|
|
85
|
-
:icon-size="iconSize"
|
|
86
|
-
:image-shape="imageShape"
|
|
87
|
-
:image-src="option.imageSrc"
|
|
88
|
-
:icon-name="option.iconName"
|
|
89
|
-
:checkbox-appearance="checkboxAppearance"
|
|
90
|
-
:class="{
|
|
91
|
-
'first:rounded-t-lg': !hasSearch,
|
|
92
|
-
'last:rounded-b-lg': !hasResetOption,
|
|
93
|
-
'border-t': option.hasDividerAbove,
|
|
94
|
-
}"
|
|
95
|
-
:data-testid="`menu-option-button-${index}`"
|
|
96
|
-
@list-item-click="selectOption(option)"
|
|
97
|
-
>{{ option.label }}</UiListItem
|
|
98
|
-
>
|
|
99
|
-
</template>
|
|
100
|
-
</template>
|
|
101
|
-
</ul>
|
|
102
|
-
</slot>
|
|
103
|
-
|
|
104
|
-
<div v-if="hasResetOption" class="px-2 pt-1.5 pb-2 text-neutral-primary">
|
|
105
|
-
<UiButton
|
|
106
|
-
appearance="outline-emphasis"
|
|
107
|
-
:disabled="disabledReset"
|
|
108
|
-
icon-name="reset"
|
|
109
|
-
size="xs"
|
|
110
|
-
data-testid="menu-search-reset-button"
|
|
111
|
-
@click="
|
|
112
|
-
queryModel = '';
|
|
113
|
-
$emit('reset');
|
|
114
|
-
"
|
|
115
|
-
>
|
|
116
|
-
<UiIcon name="reset" />
|
|
117
|
-
{{ resetLabel }}
|
|
118
|
-
</UiButton>
|
|
119
|
-
</div>
|
|
120
|
-
</div>
|
|
121
|
-
</UiPopover>
|
|
122
|
-
</template>
|
|
123
|
-
|
|
124
|
-
<script setup lang="ts" generic="Value">
|
|
125
|
-
import type { Placement } from "@floating-ui/vue";
|
|
126
|
-
import { computed, onMounted, useTemplateRef } from "vue";
|
|
127
|
-
|
|
128
|
-
import UiButton from "../UiButton/UiButton.vue";
|
|
129
|
-
import type { UiIconName } from "../UiIcon/UiIcon.vue";
|
|
130
|
-
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
131
|
-
import UiListItem from "../UiListItem/UiListItem.vue";
|
|
132
|
-
import UiPopover from "../UiPopover/UiPopover.vue";
|
|
133
|
-
|
|
134
|
-
export type UiMenuOptionType<Value = unknown> = {
|
|
135
|
-
label: string;
|
|
136
|
-
imageSrc?: string;
|
|
137
|
-
iconName?: UiIconName;
|
|
138
|
-
selected: boolean;
|
|
139
|
-
value: Value;
|
|
140
|
-
/** @default false */
|
|
141
|
-
hasDividerAbove?: boolean;
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export type UiMenuSelectedOption<Value = unknown> = UiMenuOptionType<Value> & {
|
|
145
|
-
index: number;
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
export type UiMenuGroupedOption<Value = unknown> = {
|
|
149
|
-
groupLabel?: string;
|
|
150
|
-
options: UiMenuOptionType<Value>[];
|
|
151
|
-
};
|
|
152
|
-
|
|
153
|
-
defineSlots<{
|
|
154
|
-
default?: (props: {
|
|
155
|
-
checkboxAppearance: typeof checkboxAppearance;
|
|
156
|
-
iconSize: typeof iconSize;
|
|
157
|
-
imageShape: typeof imageShape;
|
|
158
|
-
listVariant: typeof listVariant;
|
|
159
|
-
options: typeof options;
|
|
160
|
-
groupedOptions: typeof groupedOptions;
|
|
161
|
-
}) => any;
|
|
162
|
-
}>();
|
|
163
|
-
|
|
164
|
-
const queryModel = defineModel<string>("query", { default: "" });
|
|
165
|
-
|
|
166
|
-
const {
|
|
167
|
-
options = undefined,
|
|
168
|
-
groupedOptions = undefined,
|
|
169
|
-
isOpen = false,
|
|
170
|
-
floatingUiPlacement = "bottom-start",
|
|
171
|
-
animate = false,
|
|
172
|
-
|
|
173
|
-
// Button slot
|
|
174
|
-
disabled = false,
|
|
175
|
-
active = false,
|
|
176
|
-
iconLeft = null,
|
|
177
|
-
buttonAppearance = "outline-subtle",
|
|
178
|
-
filterButtonSize = "sm",
|
|
179
|
-
defaultTitle = "",
|
|
180
|
-
multiLabel = "",
|
|
181
|
-
noTitle = false,
|
|
182
|
-
|
|
183
|
-
// Search
|
|
184
|
-
hasSearch = false,
|
|
185
|
-
searchPlaceholder = "",
|
|
186
|
-
hasAutoFocus = false,
|
|
187
|
-
hasResetOption = false,
|
|
188
|
-
resetLabel = "",
|
|
189
|
-
|
|
190
|
-
// Menu
|
|
191
|
-
iconSize = "sm",
|
|
192
|
-
imageShape = "square",
|
|
193
|
-
checkboxAppearance = "primary",
|
|
194
|
-
listVariant = "blank",
|
|
195
|
-
} = defineProps<{
|
|
196
|
-
options?: UiMenuOptionType<Value>[];
|
|
197
|
-
groupedOptions?: UiMenuGroupedOption<Value>[];
|
|
198
|
-
isOpen?: boolean;
|
|
199
|
-
floatingUiPlacement?: Placement;
|
|
200
|
-
animate?: boolean;
|
|
201
|
-
|
|
202
|
-
// Button slot
|
|
203
|
-
disabled?: boolean;
|
|
204
|
-
active?: boolean;
|
|
205
|
-
iconLeft?: UiIconName;
|
|
206
|
-
buttonAppearance?:
|
|
207
|
-
| "fill-emphasis"
|
|
208
|
-
| "fill-subtle"
|
|
209
|
-
| "outline-emphasis"
|
|
210
|
-
| "outline-subtle"
|
|
211
|
-
| "ghost";
|
|
212
|
-
filterButtonSize?: "sm" | "xs";
|
|
213
|
-
defaultTitle?: string;
|
|
214
|
-
multiLabel?: string;
|
|
215
|
-
noTitle?: boolean;
|
|
216
|
-
|
|
217
|
-
// Search
|
|
218
|
-
hasSearch?: boolean;
|
|
219
|
-
searchPlaceholder?: string;
|
|
220
|
-
hasAutoFocus?: boolean;
|
|
221
|
-
hasResetOption?: boolean;
|
|
222
|
-
resetLabel?: string;
|
|
223
|
-
|
|
224
|
-
// Menu
|
|
225
|
-
iconSize?: "sm" | "md" | "lg";
|
|
226
|
-
imageShape?: "rounded" | "square";
|
|
227
|
-
checkboxAppearance?: "primary" | "secondary";
|
|
228
|
-
listVariant?: "checkbox" | "selectable" | "blank";
|
|
229
|
-
}>();
|
|
230
|
-
|
|
231
|
-
const emit = defineEmits<{
|
|
232
|
-
open: [];
|
|
233
|
-
close: [];
|
|
234
|
-
"option-selected": [UiMenuSelectedOption<Value>];
|
|
235
|
-
reset: [];
|
|
236
|
-
}>();
|
|
237
|
-
|
|
238
|
-
const searchInputRef = useTemplateRef("search-input");
|
|
239
|
-
|
|
240
|
-
onMounted(() => {
|
|
241
|
-
if (hasAutoFocus) {
|
|
242
|
-
searchInputRef.value?.focus();
|
|
243
|
-
}
|
|
244
|
-
});
|
|
245
|
-
|
|
246
|
-
const processedOptions = computed<UiMenuGroupedOption<Value>[]>(
|
|
247
|
-
() => groupedOptions ?? [{ options: options ?? [] }],
|
|
248
|
-
);
|
|
249
|
-
|
|
250
|
-
const disabledReset = computed(() => {
|
|
251
|
-
return processedOptions.value
|
|
252
|
-
.flatMap(({ options }) => options)
|
|
253
|
-
.every((option) => !option.selected);
|
|
254
|
-
});
|
|
255
|
-
|
|
256
|
-
const selectedOptionLabel = computed<string>(() => {
|
|
257
|
-
if (noTitle) {
|
|
258
|
-
return defaultTitle;
|
|
259
|
-
}
|
|
260
|
-
|
|
261
|
-
const selectedOptions = processedOptions.value
|
|
262
|
-
.flatMap((group) => group.options)
|
|
263
|
-
.filter((option) => option.selected);
|
|
264
|
-
|
|
265
|
-
if (selectedOptions.length === 0) {
|
|
266
|
-
return defaultTitle;
|
|
267
|
-
}
|
|
268
|
-
|
|
269
|
-
if (selectedOptions.length === 1) {
|
|
270
|
-
return selectedOptions[0].label;
|
|
271
|
-
}
|
|
272
|
-
|
|
273
|
-
return `${selectedOptions.length} ${multiLabel}`.trim();
|
|
274
|
-
});
|
|
275
|
-
|
|
276
|
-
const selectOption = (selectedOption: UiMenuOptionType<Value>): void => {
|
|
277
|
-
const index = processedOptions.value
|
|
278
|
-
.flatMap((group) => group.options)
|
|
279
|
-
.findIndex(({ value }) => value === selectedOption.value);
|
|
280
|
-
|
|
281
|
-
emit("option-selected", { ...selectedOption, index });
|
|
282
|
-
};
|
|
283
|
-
</script>
|