@dpa-id-components/dpa-shared-components 22.3.1 → 23.1.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/components/UiTShirtSizeIcon/README.md +13 -0
- package/{dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue → src/components/UiTShirtSizeIcon/UiTShirtSizeIcon.vue} +7 -13
- package/src/components/UiTShirtSizeIcon/icons/l.vue +18 -0
- package/src/components/UiTShirtSizeIcon/icons/m.vue +18 -0
- package/src/components/UiTShirtSizeIcon/icons/xl.vue +18 -0
- package/src/components/UiTShirtSizeIcon/icons.ts +5 -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 -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/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/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
- /package/{dist/src/components/UiIcon/UiIconLoading.vue → src/components/UiTShirtSizeIcon/UiTShirtSizeIconLoading.vue} +0 -0
|
@@ -1,84 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<Transition
|
|
3
|
-
enter-active-class="duration-200 ease-out"
|
|
4
|
-
enter-from-class="transform opacity-0"
|
|
5
|
-
enter-to-class="opacity-100"
|
|
6
|
-
leave-active-class="duration-200 ease-in"
|
|
7
|
-
leave-from-class="opacity-100"
|
|
8
|
-
leave-to-class="transform opacity-0"
|
|
9
|
-
>
|
|
10
|
-
<div
|
|
11
|
-
v-if="isShown"
|
|
12
|
-
role="status"
|
|
13
|
-
class="fixed bottom-5 sm:bottom-12"
|
|
14
|
-
:class="{
|
|
15
|
-
'left-5 sm:left-12': position === 'left',
|
|
16
|
-
'right-5 sm:right-12': position === 'right',
|
|
17
|
-
}"
|
|
18
|
-
>
|
|
19
|
-
<div
|
|
20
|
-
class="flex items-center rounded-full px-4 py-3 shadow-md ease-in"
|
|
21
|
-
:class="{
|
|
22
|
-
'bg-accent-red text-neutral': type === 'error',
|
|
23
|
-
'bg-neutral-primary text-neutral': type === 'info',
|
|
24
|
-
'bg-accent-green text-neutral': type === 'success',
|
|
25
|
-
}"
|
|
26
|
-
>
|
|
27
|
-
<UiIcon
|
|
28
|
-
v-if="iconName || type === 'error'"
|
|
29
|
-
:name="iconName || 'alert-filled'"
|
|
30
|
-
:size="iconSize"
|
|
31
|
-
class="mr-2 text-neutral"
|
|
32
|
-
/>
|
|
33
|
-
|
|
34
|
-
<p class="text-sm/5 font-normal">
|
|
35
|
-
<slot />
|
|
36
|
-
</p>
|
|
37
|
-
|
|
38
|
-
<button
|
|
39
|
-
v-if="$slots.action"
|
|
40
|
-
ref="actionBtn"
|
|
41
|
-
type="button"
|
|
42
|
-
class="ml-3 cursor-pointer text-sm/5 font-semibold hover:underline focus:outline-hidden focus-visible:underline"
|
|
43
|
-
@click="emit('action-click')"
|
|
44
|
-
>
|
|
45
|
-
<slot name="action" />
|
|
46
|
-
</button>
|
|
47
|
-
</div>
|
|
48
|
-
</div>
|
|
49
|
-
</Transition>
|
|
50
|
-
</template>
|
|
51
|
-
|
|
52
|
-
<script setup lang="ts">
|
|
53
|
-
import { watch } from "vue";
|
|
54
|
-
|
|
55
|
-
import UiIcon, { ICON_SIZES, type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
56
|
-
|
|
57
|
-
const emit = defineEmits<{
|
|
58
|
-
input: [boolean];
|
|
59
|
-
"action-click": [];
|
|
60
|
-
}>();
|
|
61
|
-
|
|
62
|
-
const {
|
|
63
|
-
isShown = false,
|
|
64
|
-
position = "left",
|
|
65
|
-
iconName = undefined,
|
|
66
|
-
iconSize = "lg",
|
|
67
|
-
type = "info",
|
|
68
|
-
} = defineProps<{
|
|
69
|
-
isShown?: boolean;
|
|
70
|
-
position?: "left" | "right";
|
|
71
|
-
iconName?: UiIconName;
|
|
72
|
-
iconSize?: Extract<keyof typeof ICON_SIZES, "sm" | "md" | "lg">;
|
|
73
|
-
type?: "info" | "error" | "success";
|
|
74
|
-
}>();
|
|
75
|
-
|
|
76
|
-
watch(
|
|
77
|
-
() => isShown,
|
|
78
|
-
(isShown) => {
|
|
79
|
-
if (isShown) {
|
|
80
|
-
emit("input", isShown);
|
|
81
|
-
}
|
|
82
|
-
},
|
|
83
|
-
);
|
|
84
|
-
</script>
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
# @dpa-shared-components/UiSpinner
|
|
2
|
-
|
|
3
|
-
## Usage
|
|
4
|
-
|
|
5
|
-
```html
|
|
6
|
-
<!-- SomeComponent.vue using UiSpinner -->
|
|
7
|
-
<template>
|
|
8
|
-
<UiSpinner appearance="primary" size="lg"></UiSpinner>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
<script>
|
|
12
|
-
import {UiSpinner} from "@dpa-id-components/dpa-shared-components";
|
|
13
|
-
</script>
|
|
14
|
-
```
|
|
15
|
-
|
|
16
|
-
## API
|
|
17
|
-
|
|
18
|
-
### Props
|
|
19
|
-
|
|
20
|
-
| Name | Type | Default | Description |
|
|
21
|
-
|--------------|----------|-----------|-----------------------------------------------------------------------------------------|
|
|
22
|
-
| `appearance` | `String` | `primary` | Sets the color theme for the spinner, affecting both the background circle and the arc. |
|
|
23
|
-
| `size` | `String` | `lg` | sets size of the spinner |
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
### Slots
|
|
27
|
-
|
|
28
|
-
This component has no slots
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiSpinner from "./UiSpinner.vue";
|
|
5
|
-
|
|
6
|
-
describe("Spinner", () => {
|
|
7
|
-
test("renders with default props", () => {
|
|
8
|
-
const wrapper = mount(UiSpinner);
|
|
9
|
-
|
|
10
|
-
// Wrapper div should have size-6 class (lg size)
|
|
11
|
-
const wrapperDiv = wrapper.find("svg");
|
|
12
|
-
expect(wrapperDiv.classes()).toContain("size-6");
|
|
13
|
-
|
|
14
|
-
// SVG should exist and animate
|
|
15
|
-
const svg = wrapper.find("svg");
|
|
16
|
-
expect(svg.exists()).toBe(true);
|
|
17
|
-
expect(svg.classes()).toContain("animate-spin");
|
|
18
|
-
|
|
19
|
-
// Only select circles that are direct children of svg (not inside mask/defs)
|
|
20
|
-
const visibleCircles = wrapper.findAll("svg > circle");
|
|
21
|
-
expect(visibleCircles).toHaveLength(2);
|
|
22
|
-
|
|
23
|
-
// Background circle should have text-neutral-faint class
|
|
24
|
-
const bgCircle = wrapper.find("[data-testid=background-circle]");
|
|
25
|
-
expect(bgCircle.classes()).toContain("text-neutral-faint");
|
|
26
|
-
|
|
27
|
-
// Arc circle should have text-primary class
|
|
28
|
-
const arcCircle = wrapper.find("[data-testid=arc-circle]");
|
|
29
|
-
expect(arcCircle.classes()).toContain("text-primary");
|
|
30
|
-
});
|
|
31
|
-
|
|
32
|
-
test("renders neutral with opacity color class when appearance is neutral", () => {
|
|
33
|
-
const wrapper = mount(UiSpinner, {
|
|
34
|
-
props: {
|
|
35
|
-
appearance: "neutral",
|
|
36
|
-
},
|
|
37
|
-
});
|
|
38
|
-
|
|
39
|
-
const arcCircle = wrapper.find("[data-testid=arc-circle]");
|
|
40
|
-
const bgCircle = wrapper.find("[data-testid=background-circle]");
|
|
41
|
-
|
|
42
|
-
expect(arcCircle.classes()).toContain("text-neutral");
|
|
43
|
-
expect(bgCircle.classes()).toContain("text-neutral/25");
|
|
44
|
-
});
|
|
45
|
-
});
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
|
|
3
|
-
import UiButton from "../UiButton/UiButton.vue";
|
|
4
|
-
|
|
5
|
-
import UiSpinner from "./UiSpinner.vue";
|
|
6
|
-
|
|
7
|
-
const meta = {
|
|
8
|
-
title: "UI/UiSpinner",
|
|
9
|
-
component: UiSpinner,
|
|
10
|
-
args: {
|
|
11
|
-
appearance: "primary",
|
|
12
|
-
},
|
|
13
|
-
render: (args) => ({
|
|
14
|
-
components: { UiSpinner },
|
|
15
|
-
setup() {
|
|
16
|
-
return { args };
|
|
17
|
-
},
|
|
18
|
-
template: '<UiSpinner v-bind="args" ></UiSpinner>',
|
|
19
|
-
}),
|
|
20
|
-
} satisfies Meta<typeof UiSpinner>;
|
|
21
|
-
|
|
22
|
-
export default meta;
|
|
23
|
-
type Story = StoryObj<typeof meta>;
|
|
24
|
-
|
|
25
|
-
export const Default: Story = {
|
|
26
|
-
args: {
|
|
27
|
-
size: "xl",
|
|
28
|
-
appearance: "primary",
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const OnButton: Story = {
|
|
33
|
-
args: {
|
|
34
|
-
appearance: "neutral",
|
|
35
|
-
},
|
|
36
|
-
render: (args) => ({
|
|
37
|
-
components: { UiSpinner, UiButton },
|
|
38
|
-
setup() {
|
|
39
|
-
return { args };
|
|
40
|
-
},
|
|
41
|
-
template:
|
|
42
|
-
'<UiButton appearance="primary"><UiSpinner v-bind="args" ></UiSpinner></UiButton>',
|
|
43
|
-
}),
|
|
44
|
-
};
|
|
@@ -1,71 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<svg
|
|
3
|
-
class="inline-flex animate-spin"
|
|
4
|
-
:class="sizeClass"
|
|
5
|
-
width="24"
|
|
6
|
-
height="24"
|
|
7
|
-
viewBox="0 0 32 32"
|
|
8
|
-
fill="none"
|
|
9
|
-
xmlns="http://www.w3.org/2000/svg"
|
|
10
|
-
>
|
|
11
|
-
<circle
|
|
12
|
-
cx="16"
|
|
13
|
-
cy="16"
|
|
14
|
-
r="14.5"
|
|
15
|
-
data-testid="background-circle"
|
|
16
|
-
stroke="currentColor"
|
|
17
|
-
:class="backgroundClass"
|
|
18
|
-
stroke-width="3"
|
|
19
|
-
fill="none"
|
|
20
|
-
/>
|
|
21
|
-
<circle
|
|
22
|
-
cx="16"
|
|
23
|
-
cy="16"
|
|
24
|
-
r="14.5"
|
|
25
|
-
data-testid="arc-circle"
|
|
26
|
-
stroke="currentColor"
|
|
27
|
-
:class="arcClass"
|
|
28
|
-
stroke-width="3"
|
|
29
|
-
fill="none"
|
|
30
|
-
stroke-dasharray="22.78 68.33"
|
|
31
|
-
stroke-linecap="square"
|
|
32
|
-
/>
|
|
33
|
-
</svg>
|
|
34
|
-
</template>
|
|
35
|
-
|
|
36
|
-
<script setup lang="ts">
|
|
37
|
-
import { computed } from "vue";
|
|
38
|
-
|
|
39
|
-
export interface SpinnerProps {
|
|
40
|
-
appearance?: "primary" | "neutral";
|
|
41
|
-
size?: "sm" | "md" | "lg" | "xl";
|
|
42
|
-
}
|
|
43
|
-
|
|
44
|
-
const { appearance = "primary", size = "lg" } = defineProps<SpinnerProps>();
|
|
45
|
-
|
|
46
|
-
const sizeClass = computed(() => {
|
|
47
|
-
const sizes = {
|
|
48
|
-
sm: "size-4",
|
|
49
|
-
md: "size-5",
|
|
50
|
-
lg: "size-6",
|
|
51
|
-
xl: "size-8",
|
|
52
|
-
};
|
|
53
|
-
return sizes[size];
|
|
54
|
-
});
|
|
55
|
-
|
|
56
|
-
const arcClass = computed(() => {
|
|
57
|
-
const variants = {
|
|
58
|
-
primary: "text-primary",
|
|
59
|
-
neutral: "text-neutral",
|
|
60
|
-
};
|
|
61
|
-
return variants[appearance];
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
const backgroundClass = computed(() => {
|
|
65
|
-
const variants = {
|
|
66
|
-
primary: "text-neutral-faint",
|
|
67
|
-
neutral: "text-neutral/25",
|
|
68
|
-
};
|
|
69
|
-
return variants[appearance];
|
|
70
|
-
});
|
|
71
|
-
</script>
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
# @dpa-shared-components/UiToggleButton
|
|
2
|
-
|
|
3
|
-
## Usage
|
|
4
|
-
|
|
5
|
-
```html
|
|
6
|
-
<!-- SomeComponent.vue using UiToggleButton -->
|
|
7
|
-
<template>
|
|
8
|
-
<UiToggleButton v-model="value">Toggle me</UiToggleButton>
|
|
9
|
-
</template>
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
<script setup lang="ts">
|
|
13
|
-
import { UiToggleButton } from "@dpa-id-components/dpa-shared-components";
|
|
14
|
-
</script>
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
## API
|
|
19
|
-
|
|
20
|
-
### Props
|
|
21
|
-
|
|
22
|
-
| Name | Type | Default | Description |
|
|
23
|
-
|-----------------|-----------|---------|--------------------------------------------------------------|
|
|
24
|
-
| `id` | `String` | | Sets the `id` of the input. Auto-generated if not provided. |
|
|
25
|
-
| `modelValue` | `Boolean` | `false` | The `checked` state of the checkbox |
|
|
26
|
-
| `labelPosition` | `String` | `left` | To place the label to the right side set this to `"right"` |
|
|
27
|
-
| `size` | `String` | `sm` | Sets the element's size to either `"sm"` or `"lg"` |
|
|
28
|
-
|
|
29
|
-
### Attributes
|
|
30
|
-
|
|
31
|
-
HTML attributes like `disabled`, `aria-label`, etc. are forwarded to the underlying `<input>` element via `v-bind="$attrs"`.
|
|
32
|
-
|
|
33
|
-
### Slots
|
|
34
|
-
|
|
35
|
-
| Name | Description |
|
|
36
|
-
|-----------|---------------|
|
|
37
|
-
| `default` | Label content |
|
|
38
|
-
|
|
39
|
-
### Events
|
|
40
|
-
|
|
41
|
-
| Name | Type | Description |
|
|
42
|
-
|----------------------|-----------|----------------------------------------|
|
|
43
|
-
| `update:model-value` | `boolean` | |
|
|
@@ -1,75 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiToggleButton from "./UiToggleButton.vue";
|
|
5
|
-
|
|
6
|
-
function mountToggle(props = {}, slotContent = "Label") {
|
|
7
|
-
return mount(UiToggleButton, {
|
|
8
|
-
props,
|
|
9
|
-
slots: { default: slotContent },
|
|
10
|
-
});
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
describe("UiToggleButton", () => {
|
|
14
|
-
test("renders with correct defaults when no props are provided", () => {
|
|
15
|
-
const wrapper = mountToggle();
|
|
16
|
-
|
|
17
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
18
|
-
const inputEl = input.element as HTMLInputElement;
|
|
19
|
-
|
|
20
|
-
expect(inputEl.checked).toBe(false);
|
|
21
|
-
expect(inputEl.disabled).toBe(false);
|
|
22
|
-
expect(input.attributes("id")).toBeTruthy();
|
|
23
|
-
});
|
|
24
|
-
|
|
25
|
-
test("renders slot content", () => {
|
|
26
|
-
const wrapper = mountToggle({}, "Slot Label");
|
|
27
|
-
|
|
28
|
-
expect(wrapper.text()).toContain("Slot Label");
|
|
29
|
-
});
|
|
30
|
-
|
|
31
|
-
test("emits update:modelValue when clicked", async () => {
|
|
32
|
-
const wrapper = mountToggle({ modelValue: false });
|
|
33
|
-
|
|
34
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
35
|
-
await input.setValue(true);
|
|
36
|
-
|
|
37
|
-
expect(wrapper.emitted("update:modelValue")).toBeTruthy();
|
|
38
|
-
expect(wrapper.emitted("update:modelValue")?.[0]).toEqual([true]);
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
test("emits update:modelValue false when toggled from true", async () => {
|
|
42
|
-
const wrapper = mountToggle({ modelValue: true });
|
|
43
|
-
|
|
44
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
45
|
-
await input.setValue(false);
|
|
46
|
-
|
|
47
|
-
expect(wrapper.emitted("update:modelValue")).toBeTruthy();
|
|
48
|
-
expect(wrapper.emitted("update:modelValue")?.[0]).toEqual([false]);
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
test("disables the input when disabled prop is set", () => {
|
|
52
|
-
const wrapper = mountToggle({ disabled: true });
|
|
53
|
-
|
|
54
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
55
|
-
|
|
56
|
-
expect((input.element as HTMLInputElement).disabled).toBe(true);
|
|
57
|
-
});
|
|
58
|
-
|
|
59
|
-
test("does not emit update:modelValue when disabled", async () => {
|
|
60
|
-
const wrapper = mountToggle({ disabled: true, modelValue: false });
|
|
61
|
-
|
|
62
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
63
|
-
await input.setValue(true);
|
|
64
|
-
|
|
65
|
-
expect(wrapper.emitted("update:modelValue")).toBeFalsy();
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
test("uses provided id on the input", () => {
|
|
69
|
-
const wrapper = mountToggle({ id: "custom-id" });
|
|
70
|
-
|
|
71
|
-
const input = wrapper.find("[data-testid='toggleButton']");
|
|
72
|
-
|
|
73
|
-
expect(input.attributes("id")).toBe("custom-id");
|
|
74
|
-
});
|
|
75
|
-
});
|
|
@@ -1,93 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
-
import { ref } from "vue";
|
|
3
|
-
|
|
4
|
-
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
5
|
-
|
|
6
|
-
import UiToggleButton from "./UiToggleButton.vue";
|
|
7
|
-
|
|
8
|
-
const meta = {
|
|
9
|
-
title: "forms/UiToggleButton",
|
|
10
|
-
component: UiToggleButton,
|
|
11
|
-
argTypes: {
|
|
12
|
-
size: {
|
|
13
|
-
control: { type: "select" },
|
|
14
|
-
options: ["sm", "lg"],
|
|
15
|
-
},
|
|
16
|
-
modelValue: {
|
|
17
|
-
control: "boolean",
|
|
18
|
-
},
|
|
19
|
-
labelPosition: {
|
|
20
|
-
control: "select",
|
|
21
|
-
options: ["left", "right"],
|
|
22
|
-
},
|
|
23
|
-
},
|
|
24
|
-
args: {
|
|
25
|
-
size: "sm",
|
|
26
|
-
modelValue: false,
|
|
27
|
-
labelPosition: "left",
|
|
28
|
-
},
|
|
29
|
-
} satisfies Meta<typeof UiToggleButton>;
|
|
30
|
-
|
|
31
|
-
export default meta;
|
|
32
|
-
type Story = StoryObj<typeof meta>;
|
|
33
|
-
|
|
34
|
-
export const Default: Story = {
|
|
35
|
-
render: (args) => ({
|
|
36
|
-
setup() {
|
|
37
|
-
const isChecked = ref(args.modelValue);
|
|
38
|
-
return { args, isChecked };
|
|
39
|
-
},
|
|
40
|
-
components: { UiToggleButton },
|
|
41
|
-
template: `
|
|
42
|
-
<UiToggleButton v-bind='args' v-model='isChecked'>
|
|
43
|
-
Label
|
|
44
|
-
</UiToggleButton>
|
|
45
|
-
`,
|
|
46
|
-
}),
|
|
47
|
-
};
|
|
48
|
-
|
|
49
|
-
export const WithIcon: Story = {
|
|
50
|
-
render: (args) => ({
|
|
51
|
-
setup() {
|
|
52
|
-
const isChecked = ref(args.modelValue);
|
|
53
|
-
return { args, isChecked };
|
|
54
|
-
},
|
|
55
|
-
components: { UiToggleButton, UiIcon },
|
|
56
|
-
template: `
|
|
57
|
-
<UiToggleButton v-bind="args" v-model="isChecked">
|
|
58
|
-
<div class="flex items-center">
|
|
59
|
-
<UiIcon size="sm" name="flag" />
|
|
60
|
-
<span class="pl-1.5">Label</span></div>
|
|
61
|
-
</UiToggleButton>`,
|
|
62
|
-
}),
|
|
63
|
-
};
|
|
64
|
-
|
|
65
|
-
export const WithoutLabel: Story = {
|
|
66
|
-
render: (args) => ({
|
|
67
|
-
setup() {
|
|
68
|
-
const isChecked = ref(args.modelValue);
|
|
69
|
-
return { args, isChecked };
|
|
70
|
-
},
|
|
71
|
-
components: { UiToggleButton },
|
|
72
|
-
template: `
|
|
73
|
-
<UiToggleButton v-bind="args" v-model="isChecked">
|
|
74
|
-
<span class="sr-only">Accessible label</span>
|
|
75
|
-
</UiToggleButton>
|
|
76
|
-
`,
|
|
77
|
-
}),
|
|
78
|
-
};
|
|
79
|
-
|
|
80
|
-
export const Disabled: Story = {
|
|
81
|
-
render: (args) => ({
|
|
82
|
-
setup() {
|
|
83
|
-
const isChecked = ref(args.modelValue);
|
|
84
|
-
return { args, isChecked };
|
|
85
|
-
},
|
|
86
|
-
components: { UiToggleButton },
|
|
87
|
-
template: `
|
|
88
|
-
<UiToggleButton v-bind="args" v-model="isChecked" disabled>
|
|
89
|
-
Label
|
|
90
|
-
</UiToggleButton>
|
|
91
|
-
`,
|
|
92
|
-
}),
|
|
93
|
-
};
|
|
@@ -1,63 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<UiLabel
|
|
3
|
-
:for="toggleId"
|
|
4
|
-
:class="
|
|
5
|
-
cn(
|
|
6
|
-
'inline-flex cursor-pointer gap-2 align-middle leading-4 font-normal text-neutral-emphasis',
|
|
7
|
-
$attrs.class,
|
|
8
|
-
)
|
|
9
|
-
"
|
|
10
|
-
>
|
|
11
|
-
<slot v-if="labelPosition === 'left'" />
|
|
12
|
-
|
|
13
|
-
<input
|
|
14
|
-
:id="toggleId"
|
|
15
|
-
v-model="model"
|
|
16
|
-
class="relative appearance-none rounded-full shadow-inner transition-opacity duration-200 ease-in-out after:absolute after:-left-1 after:block after:rounded-full after:shadow-sm after:transition-transform after:duration-200 after:ease-in-out after:content-[''] enabled:cursor-pointer"
|
|
17
|
-
:class="{
|
|
18
|
-
'bg-secondary-emphasis after:translate-x-full after:bg-secondary':
|
|
19
|
-
model,
|
|
20
|
-
'bg-neutral-faint after:bg-neutral-muted': !model,
|
|
21
|
-
'h-3 w-6 after:-top-0.5 after:size-4': size === 'sm',
|
|
22
|
-
'h-4 w-10 after:-top-1 after:size-6': size === 'lg',
|
|
23
|
-
}"
|
|
24
|
-
type="checkbox"
|
|
25
|
-
role="switch"
|
|
26
|
-
data-testid="toggleButton"
|
|
27
|
-
v-bind="{ ...$attrs, class: null }"
|
|
28
|
-
/>
|
|
29
|
-
|
|
30
|
-
<slot v-if="labelPosition === 'right'" />
|
|
31
|
-
</UiLabel>
|
|
32
|
-
</template>
|
|
33
|
-
|
|
34
|
-
<script setup lang="ts">
|
|
35
|
-
import { computed, useId } from "vue";
|
|
36
|
-
|
|
37
|
-
import { cn } from "../../utils/cn.ts";
|
|
38
|
-
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
39
|
-
|
|
40
|
-
defineOptions({ inheritAttrs: false });
|
|
41
|
-
|
|
42
|
-
const model = defineModel<boolean>({ default: false });
|
|
43
|
-
|
|
44
|
-
defineSlots<{
|
|
45
|
-
/**
|
|
46
|
-
* Label content.
|
|
47
|
-
*/
|
|
48
|
-
default: () => any;
|
|
49
|
-
}>();
|
|
50
|
-
|
|
51
|
-
const {
|
|
52
|
-
id = undefined,
|
|
53
|
-
labelPosition = "left",
|
|
54
|
-
size = "sm",
|
|
55
|
-
} = defineProps<{
|
|
56
|
-
id?: string;
|
|
57
|
-
labelPosition?: "left" | "right";
|
|
58
|
-
size?: "sm" | "lg";
|
|
59
|
-
}>();
|
|
60
|
-
|
|
61
|
-
const defaultId = useId();
|
|
62
|
-
const toggleId = computed(() => id ?? `id-${defaultId}`);
|
|
63
|
-
</script>
|
|
@@ -1,51 +0,0 @@
|
|
|
1
|
-
# @dpa-shared-components/UiTooltip
|
|
2
|
-
|
|
3
|
-
## Usage
|
|
4
|
-
|
|
5
|
-
```html
|
|
6
|
-
<!-- SomeComponent.vue using UiTooltip -->
|
|
7
|
-
<template>
|
|
8
|
-
<UiTooltip>
|
|
9
|
-
<template #activator>
|
|
10
|
-
<button>Target</button>
|
|
11
|
-
</template>
|
|
12
|
-
Tooltip Content
|
|
13
|
-
</UiTooltip>
|
|
14
|
-
</template>
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
<script lang="ts" setup>
|
|
18
|
-
import UiTooltip from "@dpa-id-components/dpa-shared-components";
|
|
19
|
-
</script>
|
|
20
|
-
```
|
|
21
|
-
|
|
22
|
-
## API
|
|
23
|
-
|
|
24
|
-
### Props
|
|
25
|
-
|
|
26
|
-
| Name | Type | Default | Description |
|
|
27
|
-
|---------------------|-----------------------------|-------------------------------------|-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
28
|
-
| `position` | `Placement` | `bottom` | Position of the tooltip relative to the activator slot |
|
|
29
|
-
| `fixed` | `Boolean` | `true` | Whether the tooltip positioning is fixed instead of absolute |
|
|
30
|
-
| `floatingUiOptions` | `UseFloatingOptions` | `null` | Options for [Floating Ui](https://floating-ui.com/) [Interface](https://github.com/floating-ui/floating-ui/blob/afca34cc59321569ccfca9b41934859809c47a3d/packages/vue/src/types.ts#L60) |
|
|
31
|
-
| `animate` | `Boolean` | `false` | Whether the tooltip should be animated |
|
|
32
|
-
| `hidden` | `Boolean` | `false` | Allows you to turn off the tooltip content, useful for scenarios like mobile devices where tooltips may not be needed. |
|
|
33
|
-
|
|
34
|
-
### Attributes
|
|
35
|
-
|
|
36
|
-
### Attributes
|
|
37
|
-
|
|
38
|
-
The `class` attribute is forwarded to the component's root element, so e.g. `<UiTooltip class="mt-4">` styles the outer wrapper (useful for layout or positioning).
|
|
39
|
-
The root element has `inline-block` and `align-middle` as default classes, which can be overridden via `tailwind-merge`.
|
|
40
|
-
|
|
41
|
-
All other attributes (`aria-*`, `data-*`, event listeners, etc.) are forwarded to the inner tooltip content element via `v-bind="$attrs"`.
|
|
42
|
-
|
|
43
|
-
To style the tooltip content itself, wrap the slot content in your own element with the desired classes.
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
### Slots
|
|
47
|
-
|
|
48
|
-
| Name | Description |
|
|
49
|
-
|-------------|----------------------------------------------|
|
|
50
|
-
| `default` | Default slot for text/content of the tooltip |
|
|
51
|
-
| `activator` | Slot for tooltip activator |
|