@dpa-id-components/dpa-shared-components 22.3.0 → 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 +25 -45
- 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/components/UiMenu/UiMenu.vue +2 -0
- 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 -15105
- 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 -281
- 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-s0Z2.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,110 +0,0 @@
|
|
|
1
|
-
import { type ComponentMountingOptions, mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiSelect from "./UiSelect.vue";
|
|
5
|
-
|
|
6
|
-
function createWrapper(
|
|
7
|
-
options: ComponentMountingOptions<typeof UiSelect> = {},
|
|
8
|
-
) {
|
|
9
|
-
return mount(UiSelect, options);
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
describe("UiSelect", () => {
|
|
13
|
-
test("renders attributes on correct element", () => {
|
|
14
|
-
const wrapper = createWrapper({
|
|
15
|
-
props: {
|
|
16
|
-
id: "id",
|
|
17
|
-
class: "class",
|
|
18
|
-
name: "name",
|
|
19
|
-
modelValue: "value",
|
|
20
|
-
placeholder: "placeholder",
|
|
21
|
-
required: "required",
|
|
22
|
-
disabled: true,
|
|
23
|
-
"aria-invalid": "true",
|
|
24
|
-
"aria-errormessage": "message",
|
|
25
|
-
},
|
|
26
|
-
});
|
|
27
|
-
|
|
28
|
-
const root = wrapper.find(":first-child");
|
|
29
|
-
expect(root.element.classList.contains("class")).toBe(true);
|
|
30
|
-
|
|
31
|
-
const select = wrapper.find("select");
|
|
32
|
-
expect(select.element.classList.contains("class")).toBe(false);
|
|
33
|
-
expect(select.element.getAttribute("id")).toBe("id");
|
|
34
|
-
expect(select.element.getAttribute("name")).toBe("name");
|
|
35
|
-
expect(select.element.hasAttribute("required")).toBe(true);
|
|
36
|
-
expect(select.element.hasAttribute("disabled")).toBe(true);
|
|
37
|
-
expect(select.element.getAttribute("aria-invalid")).toBe("true");
|
|
38
|
-
expect(select.element.getAttribute("aria-errormessage")).toBe("message");
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
test("implements working v-model interface", async () => {
|
|
42
|
-
const wrapper = createWrapper({
|
|
43
|
-
slots: {
|
|
44
|
-
default: {
|
|
45
|
-
template: /*html*/ `
|
|
46
|
-
Options
|
|
47
|
-
`,
|
|
48
|
-
},
|
|
49
|
-
options: {
|
|
50
|
-
template: /*html*/ `
|
|
51
|
-
<option value="primary">Primary</option>
|
|
52
|
-
<option value="secondary">Secondary</option>
|
|
53
|
-
<option value="tertiary">Tertiary</option>
|
|
54
|
-
`,
|
|
55
|
-
},
|
|
56
|
-
},
|
|
57
|
-
props: {
|
|
58
|
-
modelValue: "primary",
|
|
59
|
-
},
|
|
60
|
-
});
|
|
61
|
-
const select = wrapper.find("select");
|
|
62
|
-
expect(select.element.value).toBe("primary");
|
|
63
|
-
|
|
64
|
-
let lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
65
|
-
expect(lastEvent).toEqual(undefined);
|
|
66
|
-
|
|
67
|
-
await select.setValue("secondary");
|
|
68
|
-
expect(select.element.value).toBe("secondary");
|
|
69
|
-
lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
70
|
-
expect(lastEvent).toEqual(["secondary"]);
|
|
71
|
-
|
|
72
|
-
await select.setValue("tertiary");
|
|
73
|
-
expect(select.element.value).toBe("tertiary");
|
|
74
|
-
lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
75
|
-
expect(lastEvent).toEqual(["tertiary"]);
|
|
76
|
-
});
|
|
77
|
-
|
|
78
|
-
test("works without v-model", async () => {
|
|
79
|
-
const wrapper = createWrapper({
|
|
80
|
-
slots: {
|
|
81
|
-
default: {
|
|
82
|
-
template: /*html*/ `
|
|
83
|
-
Options
|
|
84
|
-
`,
|
|
85
|
-
},
|
|
86
|
-
options: {
|
|
87
|
-
template: /*html*/ `
|
|
88
|
-
<option value="">None</option>
|
|
89
|
-
<option value="primary">Primary</option>
|
|
90
|
-
<option value="secondary">Secondary</option>
|
|
91
|
-
`,
|
|
92
|
-
},
|
|
93
|
-
},
|
|
94
|
-
});
|
|
95
|
-
const select = wrapper.find("select");
|
|
96
|
-
expect(select.element.value).toBe("");
|
|
97
|
-
let lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
98
|
-
expect(lastEvent).toEqual(undefined);
|
|
99
|
-
|
|
100
|
-
await select.setValue("primary");
|
|
101
|
-
expect(select.element.value).toBe("primary");
|
|
102
|
-
lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
103
|
-
expect(lastEvent).toEqual(["primary"]);
|
|
104
|
-
|
|
105
|
-
await select.setValue("secondary");
|
|
106
|
-
expect(select.element.value).toBe("secondary");
|
|
107
|
-
lastEvent = (wrapper.emitted<string>("update:modelValue") ?? []).at(-1);
|
|
108
|
-
expect(lastEvent).toEqual(["secondary"]);
|
|
109
|
-
});
|
|
110
|
-
});
|
|
@@ -1,101 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentPropsAndSlots,
|
|
3
|
-
Meta,
|
|
4
|
-
StoryObj,
|
|
5
|
-
} from "@storybook/vue3-vite";
|
|
6
|
-
|
|
7
|
-
import UiSelect from "./UiSelect.vue";
|
|
8
|
-
|
|
9
|
-
const options: string[] = [
|
|
10
|
-
"backlog",
|
|
11
|
-
"to-do",
|
|
12
|
-
"progress",
|
|
13
|
-
"code-review",
|
|
14
|
-
"deployment",
|
|
15
|
-
"approval",
|
|
16
|
-
"done",
|
|
17
|
-
];
|
|
18
|
-
|
|
19
|
-
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiSelect> & {
|
|
20
|
-
name?: string;
|
|
21
|
-
disabled?: boolean;
|
|
22
|
-
};
|
|
23
|
-
|
|
24
|
-
const meta = {
|
|
25
|
-
title: "forms/UiSelect",
|
|
26
|
-
component: UiSelect,
|
|
27
|
-
args: {
|
|
28
|
-
// Attributes
|
|
29
|
-
name: "status",
|
|
30
|
-
disabled: false,
|
|
31
|
-
|
|
32
|
-
// Props
|
|
33
|
-
modelValue: "progress",
|
|
34
|
-
|
|
35
|
-
// Slots
|
|
36
|
-
default: "Status",
|
|
37
|
-
options,
|
|
38
|
-
},
|
|
39
|
-
argTypes: {
|
|
40
|
-
// Attributes
|
|
41
|
-
name: { control: "text" },
|
|
42
|
-
disabled: { control: "boolean" },
|
|
43
|
-
|
|
44
|
-
// Props
|
|
45
|
-
modelValue: { control: "select", options },
|
|
46
|
-
},
|
|
47
|
-
} satisfies Meta<PropsAndCustomArgs>;
|
|
48
|
-
|
|
49
|
-
export default meta;
|
|
50
|
-
type Story = StoryObj<PropsAndCustomArgs>;
|
|
51
|
-
|
|
52
|
-
export const Default: Story = {
|
|
53
|
-
render: (args) => ({
|
|
54
|
-
setup() {
|
|
55
|
-
return { args };
|
|
56
|
-
},
|
|
57
|
-
components: { UiSelect },
|
|
58
|
-
template: /*html*/ `
|
|
59
|
-
<UiSelect
|
|
60
|
-
v-model="args.modelValue"
|
|
61
|
-
v-bind="args"
|
|
62
|
-
>
|
|
63
|
-
{{ args.default }}
|
|
64
|
-
|
|
65
|
-
<template #options>
|
|
66
|
-
<option
|
|
67
|
-
v-for="(option, index) in args.options"
|
|
68
|
-
:key="index"
|
|
69
|
-
:value="option"
|
|
70
|
-
>
|
|
71
|
-
{{ option }}
|
|
72
|
-
</option>
|
|
73
|
-
</template>
|
|
74
|
-
|
|
75
|
-
<template v-if="args.errors" #errors>
|
|
76
|
-
{{ args.errors }}
|
|
77
|
-
</template>
|
|
78
|
-
</UiSelect>
|
|
79
|
-
`,
|
|
80
|
-
}),
|
|
81
|
-
};
|
|
82
|
-
|
|
83
|
-
export const WithoutInitialValue: Story = {
|
|
84
|
-
render: Default.render,
|
|
85
|
-
args: {
|
|
86
|
-
...meta.args,
|
|
87
|
-
|
|
88
|
-
// Props
|
|
89
|
-
modelValue: undefined,
|
|
90
|
-
|
|
91
|
-
// Slots
|
|
92
|
-
options: options.concat(""),
|
|
93
|
-
},
|
|
94
|
-
};
|
|
95
|
-
|
|
96
|
-
export const Errors: Story = {
|
|
97
|
-
args: {
|
|
98
|
-
errors: "This field is required.",
|
|
99
|
-
},
|
|
100
|
-
...Default,
|
|
101
|
-
};
|
|
@@ -1,126 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="cn('relative', $attrs.class)">
|
|
3
|
-
<UiLabel
|
|
4
|
-
v-if="$slots.default"
|
|
5
|
-
:for="uniqueId"
|
|
6
|
-
:class="
|
|
7
|
-
cn(
|
|
8
|
-
'absolute left-3 z-1 origin-left px-1 text-neutral-muted transition-all duration-150 [*:has(+select:where(:enabled:hover))]:text-neutral-subtle [*:has(+select:where(:focus))]:text-primary [*:has(+select:where([aria-invalid=true]))]:text-error [*:has(+select:where([aria-invalid=true]:enabled:hover))]:text-error-hover [*:has(+select:where([aria-invalid=true]:focus))]:text-error-hover',
|
|
9
|
-
model !== undefined
|
|
10
|
-
? '-translate-y-1/2 bg-neutral text-xs'
|
|
11
|
-
: 'translate-y-4',
|
|
12
|
-
)
|
|
13
|
-
"
|
|
14
|
-
>
|
|
15
|
-
<slot />
|
|
16
|
-
</UiLabel>
|
|
17
|
-
|
|
18
|
-
<select
|
|
19
|
-
:id="uniqueId"
|
|
20
|
-
v-model="model"
|
|
21
|
-
:aria-invalid="Boolean($slots.errors)"
|
|
22
|
-
:aria-errormessage="$slots.errors ? `${uniqueId}-errors` : undefined"
|
|
23
|
-
class="peer disabled:text-color-neutral-soft h-14 w-full appearance-none rounded-t-sm border border-neutral-faint p-4 pr-2 text-left text-sm text-neutral-primary transition-all duration-150 outline-none not-aria-invalid:rounded-b-sm placeholder:text-neutral-muted focus:border-2 focus:border-primary focus:p-inputFocused not-read-only:enabled:cursor-pointer enabled:not-focus:hover:border-neutral-subtle disabled:border-neutral-muted disabled:opacity-70 aria-invalid:border-2 aria-invalid:border-error aria-invalid:focus:border-error-hover enabled:aria-invalid:hover:border-error-hover"
|
|
24
|
-
v-bind="{ ...$attrs, class: null }"
|
|
25
|
-
>
|
|
26
|
-
<slot name="options" />
|
|
27
|
-
</select>
|
|
28
|
-
|
|
29
|
-
<UiIcon
|
|
30
|
-
class="pointer-events-none absolute top-4 right-3"
|
|
31
|
-
name="chevron-down"
|
|
32
|
-
/>
|
|
33
|
-
|
|
34
|
-
<div
|
|
35
|
-
v-if="$slots.errors"
|
|
36
|
-
:id="`${uniqueId}-errors`"
|
|
37
|
-
class="rounded-b-sm bg-error px-4 py-1 text-xs/normal font-medium text-neutral transition-all duration-150 ease-in-out peer-focus:bg-error-hover peer-enabled:peer-hover:bg-error-hover peer-disabled:opacity-70"
|
|
38
|
-
>
|
|
39
|
-
<slot name="errors" />
|
|
40
|
-
</div>
|
|
41
|
-
</div>
|
|
42
|
-
</template>
|
|
43
|
-
|
|
44
|
-
<script setup lang="ts">
|
|
45
|
-
import { computed, useId } from "vue";
|
|
46
|
-
|
|
47
|
-
import { cn } from "../../utils/cn.ts";
|
|
48
|
-
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
49
|
-
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
50
|
-
|
|
51
|
-
defineOptions({
|
|
52
|
-
inheritAttrs: false,
|
|
53
|
-
});
|
|
54
|
-
|
|
55
|
-
defineSlots<{
|
|
56
|
-
/**
|
|
57
|
-
* Label content.
|
|
58
|
-
*/
|
|
59
|
-
default: () => any;
|
|
60
|
-
/**
|
|
61
|
-
* Error content.
|
|
62
|
-
*/
|
|
63
|
-
errors?: () => any;
|
|
64
|
-
/**
|
|
65
|
-
* Select options.
|
|
66
|
-
*/
|
|
67
|
-
options: () => any;
|
|
68
|
-
}>();
|
|
69
|
-
|
|
70
|
-
const { id = undefined } = defineProps<{
|
|
71
|
-
/**
|
|
72
|
-
* ID of the `select` element. Used for the `label`'s `for` attribute if the `default` slot is provided.
|
|
73
|
-
*/
|
|
74
|
-
id?: string;
|
|
75
|
-
}>();
|
|
76
|
-
|
|
77
|
-
const model = defineModel<string>();
|
|
78
|
-
|
|
79
|
-
const defaultId = useId();
|
|
80
|
-
const uniqueId = computed(() => id ?? `id-${defaultId}`);
|
|
81
|
-
</script>
|
|
82
|
-
|
|
83
|
-
<style scoped>
|
|
84
|
-
@reference "../../tailwindPreset.css";
|
|
85
|
-
|
|
86
|
-
select,
|
|
87
|
-
::picker(select) {
|
|
88
|
-
appearance: base-select;
|
|
89
|
-
}
|
|
90
|
-
|
|
91
|
-
::picker(select) {
|
|
92
|
-
@apply my-1 overscroll-none rounded-lg border border-neutral-faint shadow-md;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
select::picker-icon {
|
|
96
|
-
@apply hidden;
|
|
97
|
-
}
|
|
98
|
-
|
|
99
|
-
select > :deep(option) {
|
|
100
|
-
@apply flex items-center px-4 py-1.5 focus-visible:focus-outline;
|
|
101
|
-
|
|
102
|
-
&:first-child {
|
|
103
|
-
@apply rounded-t-lg;
|
|
104
|
-
}
|
|
105
|
-
|
|
106
|
-
&:last-child {
|
|
107
|
-
@apply rounded-b-lg;
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&:enabled:hover {
|
|
111
|
-
@apply bg-neutral-pale;
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
&:focus-visible {
|
|
115
|
-
@apply -outline-offset-2;
|
|
116
|
-
}
|
|
117
|
-
|
|
118
|
-
&::checkmark {
|
|
119
|
-
@apply order-1 ml-auto text-lg;
|
|
120
|
-
}
|
|
121
|
-
|
|
122
|
-
& + option {
|
|
123
|
-
@apply border-t border-neutral-whisper;
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
</style>
|
|
@@ -1,28 +0,0 @@
|
|
|
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
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiSkeletonBox from "./UiSkeletonBox.vue";
|
|
5
|
-
|
|
6
|
-
describe("UiSkeletonBox", () => {
|
|
7
|
-
const wrapper = mount(UiSkeletonBox);
|
|
8
|
-
|
|
9
|
-
test("renders default", () => {
|
|
10
|
-
expect(wrapper.classes("inline-block")).toBe(true);
|
|
11
|
-
expect(wrapper.classes("animate-pulse")).toBe(true);
|
|
12
|
-
expect(wrapper.classes("rounded-sm")).toBe(true);
|
|
13
|
-
expect(wrapper.classes("bg-neutral-pale")).toBe(true);
|
|
14
|
-
});
|
|
15
|
-
});
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
|
|
3
|
-
import UiSkeletonBox from "./UiSkeletonBox.vue";
|
|
4
|
-
|
|
5
|
-
const meta = {
|
|
6
|
-
title: "Ui/UiSkeletonBox",
|
|
7
|
-
component: UiSkeletonBox,
|
|
8
|
-
argTypes: {
|
|
9
|
-
maxWidth: { type: "number" },
|
|
10
|
-
minWidth: { type: "number" },
|
|
11
|
-
dynamicSize: { type: "boolean" },
|
|
12
|
-
},
|
|
13
|
-
args: {
|
|
14
|
-
maxWidth: 100,
|
|
15
|
-
minWidth: 80,
|
|
16
|
-
dynamicSize: true,
|
|
17
|
-
},
|
|
18
|
-
parameters: {
|
|
19
|
-
backgrounds: { default: "white" },
|
|
20
|
-
},
|
|
21
|
-
render: (args) => ({
|
|
22
|
-
setup() {
|
|
23
|
-
return { args };
|
|
24
|
-
},
|
|
25
|
-
components: { UiSkeletonBox },
|
|
26
|
-
template: "<UiSkeletonBox v-bind='args'></UiSkeletonBox>",
|
|
27
|
-
}),
|
|
28
|
-
} satisfies Meta<typeof UiSkeletonBox>;
|
|
29
|
-
|
|
30
|
-
export default meta;
|
|
31
|
-
type Story = StoryObj<typeof meta>;
|
|
32
|
-
|
|
33
|
-
export const Default: Story = {};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<span
|
|
3
|
-
class="inline-block animate-pulse rounded-sm bg-neutral-pale"
|
|
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 {
|
|
15
|
-
maxWidth = 100,
|
|
16
|
-
minWidth = 80,
|
|
17
|
-
dynamicSize = false,
|
|
18
|
-
} = defineProps<{
|
|
19
|
-
maxWidth?: number;
|
|
20
|
-
minWidth?: number;
|
|
21
|
-
dynamicSize?: boolean;
|
|
22
|
-
}>();
|
|
23
|
-
|
|
24
|
-
/**
|
|
25
|
-
* Use either given width or random width between min and max value
|
|
26
|
-
*/
|
|
27
|
-
const computedWidth = computed(() => {
|
|
28
|
-
return (
|
|
29
|
-
dynamicSize &&
|
|
30
|
-
`${Math.floor(Math.random() * (maxWidth - minWidth) + minWidth)}%`
|
|
31
|
-
);
|
|
32
|
-
});
|
|
33
|
-
</script>
|
|
@@ -1,55 +0,0 @@
|
|
|
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 |
|
|
@@ -1,109 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
5
|
-
|
|
6
|
-
import UiSnackbar from "./UiSnackbar.vue";
|
|
7
|
-
|
|
8
|
-
describe("UiSnackbar", () => {
|
|
9
|
-
test("displays a text message via the default slot", () => {
|
|
10
|
-
const wrapper = mount(UiSnackbar, {
|
|
11
|
-
slots: {
|
|
12
|
-
default: "Hello, from snackbar",
|
|
13
|
-
},
|
|
14
|
-
props: {
|
|
15
|
-
isShown: true,
|
|
16
|
-
},
|
|
17
|
-
});
|
|
18
|
-
|
|
19
|
-
expect(wrapper.text()).toBe("Hello, from snackbar");
|
|
20
|
-
});
|
|
21
|
-
|
|
22
|
-
test("Is not visible when props don't say so", () => {
|
|
23
|
-
const wrapper = mount(UiSnackbar, {
|
|
24
|
-
slots: {
|
|
25
|
-
default: "Hello, from snackbar",
|
|
26
|
-
},
|
|
27
|
-
props: {
|
|
28
|
-
isShown: false,
|
|
29
|
-
},
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
expect(wrapper.find("div").exists()).toBe(false);
|
|
33
|
-
});
|
|
34
|
-
|
|
35
|
-
test("displays an SVG icon via the icon slot", () => {
|
|
36
|
-
const wrapper = mount(UiSnackbar, {
|
|
37
|
-
slots: {
|
|
38
|
-
default: "Hello, from snackbar",
|
|
39
|
-
iconName: "close",
|
|
40
|
-
},
|
|
41
|
-
props: {
|
|
42
|
-
isShown: true,
|
|
43
|
-
},
|
|
44
|
-
});
|
|
45
|
-
|
|
46
|
-
expect(wrapper.findComponent(UiIcon)).toBeTruthy();
|
|
47
|
-
});
|
|
48
|
-
|
|
49
|
-
test("has an action button via the action slot", () => {
|
|
50
|
-
const wrapper = mount(UiSnackbar, {
|
|
51
|
-
slots: {
|
|
52
|
-
default: "Hello, from snackbar",
|
|
53
|
-
action: "click me",
|
|
54
|
-
},
|
|
55
|
-
props: {
|
|
56
|
-
isShown: true,
|
|
57
|
-
},
|
|
58
|
-
});
|
|
59
|
-
const actionButton = wrapper.find("button");
|
|
60
|
-
actionButton.trigger("click");
|
|
61
|
-
|
|
62
|
-
expect(wrapper.emitted()["action-click"]).toBeTruthy();
|
|
63
|
-
});
|
|
64
|
-
|
|
65
|
-
test("snackbar type success has green background", () => {
|
|
66
|
-
const wrapper = mount(UiSnackbar, {
|
|
67
|
-
slots: {
|
|
68
|
-
default: "Hello, from success snackbar",
|
|
69
|
-
},
|
|
70
|
-
props: {
|
|
71
|
-
type: "success",
|
|
72
|
-
isShown: true,
|
|
73
|
-
},
|
|
74
|
-
});
|
|
75
|
-
|
|
76
|
-
const coloredDiv = wrapper.find(".flex.items-center.rounded-full");
|
|
77
|
-
expect(coloredDiv.classes("bg-accent-green")).toBe(true);
|
|
78
|
-
});
|
|
79
|
-
|
|
80
|
-
test("snackbar type error has red background", () => {
|
|
81
|
-
const wrapper = mount(UiSnackbar, {
|
|
82
|
-
slots: {
|
|
83
|
-
default: "Hello, from error snackbar",
|
|
84
|
-
},
|
|
85
|
-
props: {
|
|
86
|
-
type: "error",
|
|
87
|
-
isShown: true,
|
|
88
|
-
},
|
|
89
|
-
});
|
|
90
|
-
|
|
91
|
-
const coloredDiv = wrapper.find(".flex.items-center.rounded-full");
|
|
92
|
-
expect(coloredDiv.classes("bg-accent-red")).toBe(true);
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
test("snackbar type info has gray-900 background", () => {
|
|
96
|
-
const wrapper = mount(UiSnackbar, {
|
|
97
|
-
slots: {
|
|
98
|
-
default: "Hello, from info snackbar",
|
|
99
|
-
},
|
|
100
|
-
props: {
|
|
101
|
-
type: "info",
|
|
102
|
-
isShown: true,
|
|
103
|
-
},
|
|
104
|
-
});
|
|
105
|
-
|
|
106
|
-
const coloredDiv = wrapper.find(".flex.items-center.rounded-full");
|
|
107
|
-
expect(coloredDiv.classes("bg-neutral-primary")).toBe(true);
|
|
108
|
-
});
|
|
109
|
-
});
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
|
|
4
|
-
import { icons } from "../UiIcon/icons.ts";
|
|
5
|
-
|
|
6
|
-
import UiSnackbar from "./UiSnackbar.vue";
|
|
7
|
-
|
|
8
|
-
const meta = {
|
|
9
|
-
title: "Ui/UiSnackbar",
|
|
10
|
-
component: UiSnackbar,
|
|
11
|
-
argTypes: {
|
|
12
|
-
iconName: {
|
|
13
|
-
control: "select",
|
|
14
|
-
options: [null, ...Object.keys(icons)],
|
|
15
|
-
description:
|
|
16
|
-
"Name of the icon to display. If not set, uses alert-fill for error.",
|
|
17
|
-
},
|
|
18
|
-
iconSize: {
|
|
19
|
-
control: "select",
|
|
20
|
-
options: ["sm", "md", "lg"],
|
|
21
|
-
description: "Size of the icon.",
|
|
22
|
-
},
|
|
23
|
-
"action-click": { action: "action-click" },
|
|
24
|
-
input: { action: "input" },
|
|
25
|
-
},
|
|
26
|
-
args: {
|
|
27
|
-
position: "left",
|
|
28
|
-
isShown: true,
|
|
29
|
-
iconName: undefined,
|
|
30
|
-
iconSize: "md",
|
|
31
|
-
type: "info",
|
|
32
|
-
},
|
|
33
|
-
render: (args) => ({
|
|
34
|
-
setup() {
|
|
35
|
-
const isVisible = ref(args.isShown);
|
|
36
|
-
|
|
37
|
-
const toggle = () => {
|
|
38
|
-
isVisible.value = !isVisible.value;
|
|
39
|
-
};
|
|
40
|
-
return { args, isVisible, toggle };
|
|
41
|
-
},
|
|
42
|
-
components: { UiSnackbar },
|
|
43
|
-
template: `
|
|
44
|
-
<div>
|
|
45
|
-
<button @click="toggle">toggle snackbar</button>
|
|
46
|
-
<UiSnackbar
|
|
47
|
-
v-bind="args"
|
|
48
|
-
:is-shown="isVisible"
|
|
49
|
-
@action-click="args['action-click']"
|
|
50
|
-
@input="args.input"
|
|
51
|
-
>
|
|
52
|
-
This is a message
|
|
53
|
-
<template #action>Action</template>
|
|
54
|
-
</UiSnackbar>
|
|
55
|
-
</div>
|
|
56
|
-
`,
|
|
57
|
-
}),
|
|
58
|
-
} as Meta<typeof UiSnackbar & { "action-click": any; input: any }>;
|
|
59
|
-
|
|
60
|
-
export default meta;
|
|
61
|
-
type Story = StoryObj<typeof meta>;
|
|
62
|
-
|
|
63
|
-
export const Default: Story = {};
|