@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,228 +0,0 @@
|
|
|
1
|
-
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect, test } from "vitest";
|
|
3
|
-
|
|
4
|
-
import UiInput from "./UiInput.vue";
|
|
5
|
-
|
|
6
|
-
describe("UiInput", () => {
|
|
7
|
-
test("renders attributes on correct element", () => {
|
|
8
|
-
const wrapper = mount(UiInput, {
|
|
9
|
-
props: {
|
|
10
|
-
id: "id",
|
|
11
|
-
class: "testClass",
|
|
12
|
-
"data-testid": "testId",
|
|
13
|
-
name: "name",
|
|
14
|
-
modelValue: "value",
|
|
15
|
-
placeholder: "placeholder",
|
|
16
|
-
required: "required",
|
|
17
|
-
readonly: true,
|
|
18
|
-
disabled: true,
|
|
19
|
-
"aria-invalid": "true",
|
|
20
|
-
"aria-errormessage": "message",
|
|
21
|
-
},
|
|
22
|
-
});
|
|
23
|
-
|
|
24
|
-
const root = wrapper.find(":first-child");
|
|
25
|
-
expect(root.element.classList.contains("testClass")).toBe(true);
|
|
26
|
-
expect(root.element.getAttribute("data-testid")).not.toBe("testId");
|
|
27
|
-
|
|
28
|
-
const input = wrapper.find("input");
|
|
29
|
-
expect(input.element.classList.contains("testClass")).toBe(false);
|
|
30
|
-
expect(input.element.getAttribute("data-testid")).toBe("testId");
|
|
31
|
-
expect(input.element.getAttribute("id")).toBe("id");
|
|
32
|
-
expect(input.element.getAttribute("name")).toBe("name");
|
|
33
|
-
expect(input.element.getAttribute("placeholder")).toBe("placeholder");
|
|
34
|
-
expect(input.element.hasAttribute("required")).toBe(true);
|
|
35
|
-
expect(input.element.hasAttribute("readonly")).toBe(true);
|
|
36
|
-
expect(input.element.hasAttribute("disabled")).toBe(true);
|
|
37
|
-
expect(input.element.getAttribute("aria-invalid")).toBe("true");
|
|
38
|
-
expect(input.element.getAttribute("aria-errormessage")).toBe("message");
|
|
39
|
-
});
|
|
40
|
-
|
|
41
|
-
test("renders the label", async () => {
|
|
42
|
-
const wrapper = mount(UiInput, {
|
|
43
|
-
props: {
|
|
44
|
-
label: "Date",
|
|
45
|
-
},
|
|
46
|
-
});
|
|
47
|
-
|
|
48
|
-
expect(wrapper.find("label").text()).toBe("Date");
|
|
49
|
-
});
|
|
50
|
-
|
|
51
|
-
test("renders value", async () => {
|
|
52
|
-
const wrapper = mount(UiInput, {
|
|
53
|
-
props: {
|
|
54
|
-
modelValue: "foo",
|
|
55
|
-
},
|
|
56
|
-
});
|
|
57
|
-
|
|
58
|
-
expect(wrapper.find("input").element.value).toBe("foo");
|
|
59
|
-
});
|
|
60
|
-
|
|
61
|
-
test("changes value on input", async () => {
|
|
62
|
-
const wrapper = mount(UiInput, {
|
|
63
|
-
props: {
|
|
64
|
-
modelValue: "foo",
|
|
65
|
-
},
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
const input = wrapper.find("input");
|
|
69
|
-
expect(input.element.value).toBe("foo");
|
|
70
|
-
|
|
71
|
-
await wrapper.setProps({
|
|
72
|
-
modelValue: "bar",
|
|
73
|
-
});
|
|
74
|
-
expect(input.element.value).toBe("bar");
|
|
75
|
-
});
|
|
76
|
-
|
|
77
|
-
test("renders the info", () => {
|
|
78
|
-
const wrapper = mount(UiInput, {
|
|
79
|
-
props: {
|
|
80
|
-
inputStatus: "info",
|
|
81
|
-
},
|
|
82
|
-
slots: {
|
|
83
|
-
extra: "This is an info example",
|
|
84
|
-
},
|
|
85
|
-
});
|
|
86
|
-
|
|
87
|
-
expect(wrapper.find("input + div").text()).toBe("This is an info example");
|
|
88
|
-
});
|
|
89
|
-
|
|
90
|
-
test("renders the warning", () => {
|
|
91
|
-
const wrapper = mount(UiInput, {
|
|
92
|
-
props: {
|
|
93
|
-
inputStatus: "warning",
|
|
94
|
-
},
|
|
95
|
-
slots: {
|
|
96
|
-
extra: "This is an warning example",
|
|
97
|
-
},
|
|
98
|
-
});
|
|
99
|
-
|
|
100
|
-
expect(wrapper.find("input + div").text()).toBe(
|
|
101
|
-
"This is an warning example",
|
|
102
|
-
);
|
|
103
|
-
});
|
|
104
|
-
|
|
105
|
-
test("renders the error", async () => {
|
|
106
|
-
const wrapper = mount(UiInput, {
|
|
107
|
-
props: {
|
|
108
|
-
inputStatus: "error",
|
|
109
|
-
},
|
|
110
|
-
slots: {
|
|
111
|
-
extra: "This is an error example",
|
|
112
|
-
},
|
|
113
|
-
});
|
|
114
|
-
|
|
115
|
-
expect(wrapper.find("input + div").text()).toBe("This is an error example");
|
|
116
|
-
});
|
|
117
|
-
|
|
118
|
-
test("works without v-model", async () => {
|
|
119
|
-
const wrapper = mount(UiInput);
|
|
120
|
-
|
|
121
|
-
const input = wrapper.find("input");
|
|
122
|
-
expect(input.element.value).toBe("");
|
|
123
|
-
expect((wrapper.emitted("update:modelValue") ?? []).at(-1)).toEqual(
|
|
124
|
-
undefined,
|
|
125
|
-
);
|
|
126
|
-
|
|
127
|
-
await input.setValue("a");
|
|
128
|
-
expect(input.element.value).toBe("a");
|
|
129
|
-
expect((wrapper.emitted("update:modelValue") ?? []).at(-1)).toEqual(["a"]);
|
|
130
|
-
|
|
131
|
-
await input.setValue("ab");
|
|
132
|
-
expect(input.element.value).toBe("ab");
|
|
133
|
-
expect((wrapper.emitted("update:modelValue") ?? []).at(-1)).toEqual(["ab"]);
|
|
134
|
-
});
|
|
135
|
-
|
|
136
|
-
test("doesn't undo inputs on blur (bug fix)", async () => {
|
|
137
|
-
const wrapper = mount(UiInput);
|
|
138
|
-
const input = wrapper.find("input");
|
|
139
|
-
|
|
140
|
-
// Focus the input to trigger an internal mechanism that swaps out styles on the `label` element.
|
|
141
|
-
await input.trigger("focus");
|
|
142
|
-
await input.setValue("ab");
|
|
143
|
-
expect(input.element.value).toBe("ab");
|
|
144
|
-
|
|
145
|
-
// Blur the input to trigger an internal mechanism that swaps out styles on the `label` element (again). This can trigger a bug.
|
|
146
|
-
await input.trigger("blur");
|
|
147
|
-
expect(input.element.value).toBe("ab");
|
|
148
|
-
});
|
|
149
|
-
|
|
150
|
-
test("renders as textarea with isTextarea prop", async () => {
|
|
151
|
-
const wrapper = mount(UiInput, {
|
|
152
|
-
props: {
|
|
153
|
-
isTextarea: true,
|
|
154
|
-
},
|
|
155
|
-
});
|
|
156
|
-
|
|
157
|
-
expect(wrapper.find("textarea").exists()).toBe(true);
|
|
158
|
-
});
|
|
159
|
-
|
|
160
|
-
test("raises/lowers label correctly when making inputs and focusing/blurring the input (bug fix)", async () => {
|
|
161
|
-
const wrapper = mount(UiInput, { props: { label: "test" } });
|
|
162
|
-
|
|
163
|
-
// Initially, the label is not raised
|
|
164
|
-
const input = wrapper.find("input");
|
|
165
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(false);
|
|
166
|
-
|
|
167
|
-
// Upon focusing, the label will be raised
|
|
168
|
-
await input.trigger("focus");
|
|
169
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(true);
|
|
170
|
-
|
|
171
|
-
// Making an input keeps the label raised
|
|
172
|
-
input.element.value = "ab";
|
|
173
|
-
await input.trigger("input");
|
|
174
|
-
expect(input.element.value).toBe("ab");
|
|
175
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(true);
|
|
176
|
-
|
|
177
|
-
// Blurring the input keeps the label raised because there's now a value
|
|
178
|
-
await input.trigger("blur");
|
|
179
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(true);
|
|
180
|
-
|
|
181
|
-
// After focusing, the label is still raised
|
|
182
|
-
await input.trigger("focus");
|
|
183
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(true);
|
|
184
|
-
|
|
185
|
-
// Clearing the input but keeping the focus keeps the label raised
|
|
186
|
-
input.element.value = "";
|
|
187
|
-
await input.trigger("input");
|
|
188
|
-
expect(input.element.value).toBe("");
|
|
189
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(true);
|
|
190
|
-
|
|
191
|
-
// Blurring the input will eventually lower the label again
|
|
192
|
-
await input.trigger("blur");
|
|
193
|
-
expect(input.element.hasAttribute("data-is-label-raised")).toBe(false);
|
|
194
|
-
});
|
|
195
|
-
|
|
196
|
-
test("can clear input value by setting modelValue to empty string (bug fix)", async () => {
|
|
197
|
-
const wrapper = mount(UiInput);
|
|
198
|
-
|
|
199
|
-
const input = wrapper.find("input");
|
|
200
|
-
expect(input.element.value).toBe("");
|
|
201
|
-
|
|
202
|
-
await input.setValue("test");
|
|
203
|
-
expect(input.element.value).toBe("test");
|
|
204
|
-
|
|
205
|
-
await wrapper.setProps({ modelValue: "" });
|
|
206
|
-
expect(input.element.value).toBe("");
|
|
207
|
-
});
|
|
208
|
-
|
|
209
|
-
test("works with number model", async () => {
|
|
210
|
-
const wrapper = mount(UiInput, {
|
|
211
|
-
props: {
|
|
212
|
-
type: "number",
|
|
213
|
-
modelValue: 1,
|
|
214
|
-
},
|
|
215
|
-
});
|
|
216
|
-
|
|
217
|
-
const input = wrapper.find("input");
|
|
218
|
-
expect(input.element.value).toBe("1");
|
|
219
|
-
|
|
220
|
-
await input.setValue(2);
|
|
221
|
-
expect(input.element.value).toBe("2");
|
|
222
|
-
expect((wrapper.emitted("update:modelValue") ?? []).at(-1)).toEqual([2]);
|
|
223
|
-
|
|
224
|
-
await input.setValue(3);
|
|
225
|
-
expect(input.element.value).toBe("3");
|
|
226
|
-
expect((wrapper.emitted("update:modelValue") ?? []).at(-1)).toEqual([3]);
|
|
227
|
-
});
|
|
228
|
-
});
|
|
@@ -1,163 +0,0 @@
|
|
|
1
|
-
import type {
|
|
2
|
-
ComponentPropsAndSlots,
|
|
3
|
-
Meta,
|
|
4
|
-
StoryObj,
|
|
5
|
-
} from "@storybook/vue3-vite";
|
|
6
|
-
import { action } from "storybook/actions";
|
|
7
|
-
|
|
8
|
-
import UiInput from "./UiInput.vue";
|
|
9
|
-
|
|
10
|
-
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiInput> & {
|
|
11
|
-
name?: string;
|
|
12
|
-
placeholder?: string;
|
|
13
|
-
disabled?: boolean;
|
|
14
|
-
readonly?: boolean;
|
|
15
|
-
autocomplete?: string;
|
|
16
|
-
};
|
|
17
|
-
|
|
18
|
-
const meta = {
|
|
19
|
-
title: "forms/UiInput",
|
|
20
|
-
// @ts-expect-error generic components seem to cause type issues here that aren't easy to solve
|
|
21
|
-
component: UiInput,
|
|
22
|
-
args: {
|
|
23
|
-
// Attributes
|
|
24
|
-
name: "name",
|
|
25
|
-
placeholder: undefined,
|
|
26
|
-
disabled: false,
|
|
27
|
-
readonly: false,
|
|
28
|
-
autocomplete: "on",
|
|
29
|
-
|
|
30
|
-
// Props
|
|
31
|
-
modelValue: "",
|
|
32
|
-
type: "text",
|
|
33
|
-
inputStatus: undefined,
|
|
34
|
-
label: "",
|
|
35
|
-
isTextarea: false,
|
|
36
|
-
|
|
37
|
-
// Slots
|
|
38
|
-
default: "Name",
|
|
39
|
-
},
|
|
40
|
-
argTypes: {
|
|
41
|
-
// Attributes
|
|
42
|
-
name: { control: "text" },
|
|
43
|
-
placeholder: { control: "text" },
|
|
44
|
-
disabled: { control: "boolean" },
|
|
45
|
-
readonly: { control: "boolean" },
|
|
46
|
-
},
|
|
47
|
-
render: (args) => ({
|
|
48
|
-
components: { UiInput },
|
|
49
|
-
setup() {
|
|
50
|
-
return { args };
|
|
51
|
-
},
|
|
52
|
-
template: /*html*/ `
|
|
53
|
-
<UiInput
|
|
54
|
-
v-bind="args"
|
|
55
|
-
v-model="args.modelValue"
|
|
56
|
-
@input="input"
|
|
57
|
-
@update:modelValue="update"
|
|
58
|
-
>
|
|
59
|
-
{{ args.default }}
|
|
60
|
-
|
|
61
|
-
<template v-if="args.extra" #extra>
|
|
62
|
-
{{ args.extra }}
|
|
63
|
-
</template>
|
|
64
|
-
</UiInput>
|
|
65
|
-
`,
|
|
66
|
-
methods: {
|
|
67
|
-
input: action("input"),
|
|
68
|
-
update: action("update:modelValue"),
|
|
69
|
-
},
|
|
70
|
-
}),
|
|
71
|
-
} satisfies Meta<PropsAndCustomArgs>;
|
|
72
|
-
|
|
73
|
-
export default meta;
|
|
74
|
-
type Story = StoryObj<PropsAndCustomArgs>;
|
|
75
|
-
|
|
76
|
-
export const Default: Story = {};
|
|
77
|
-
|
|
78
|
-
export const Placeholder: Story = {
|
|
79
|
-
args: {
|
|
80
|
-
// Attributes
|
|
81
|
-
placeholder: "Some placeholder text",
|
|
82
|
-
|
|
83
|
-
// Slots
|
|
84
|
-
default: "Name",
|
|
85
|
-
},
|
|
86
|
-
};
|
|
87
|
-
|
|
88
|
-
export const StringValue: Story = {
|
|
89
|
-
args: {
|
|
90
|
-
// Props
|
|
91
|
-
modelValue: "Text value",
|
|
92
|
-
|
|
93
|
-
// Slots
|
|
94
|
-
default: "Name",
|
|
95
|
-
},
|
|
96
|
-
};
|
|
97
|
-
|
|
98
|
-
export const NumberValue: Story = {
|
|
99
|
-
args: {
|
|
100
|
-
// Attributes
|
|
101
|
-
type: "number",
|
|
102
|
-
|
|
103
|
-
// Props
|
|
104
|
-
modelValue: 2,
|
|
105
|
-
|
|
106
|
-
// Slots
|
|
107
|
-
default: "Count",
|
|
108
|
-
},
|
|
109
|
-
};
|
|
110
|
-
|
|
111
|
-
export const Errors: Story = {
|
|
112
|
-
args: {
|
|
113
|
-
// Props
|
|
114
|
-
inputStatus: "error",
|
|
115
|
-
|
|
116
|
-
// Slots
|
|
117
|
-
default: "Name",
|
|
118
|
-
extra: "This field is required.",
|
|
119
|
-
},
|
|
120
|
-
};
|
|
121
|
-
|
|
122
|
-
export const Warning: Story = {
|
|
123
|
-
args: {
|
|
124
|
-
// Props
|
|
125
|
-
inputStatus: "warning",
|
|
126
|
-
|
|
127
|
-
// Slots
|
|
128
|
-
default: "Warning",
|
|
129
|
-
extra: "Warning text",
|
|
130
|
-
},
|
|
131
|
-
};
|
|
132
|
-
|
|
133
|
-
export const Info: Story = {
|
|
134
|
-
args: {
|
|
135
|
-
// Props
|
|
136
|
-
inputStatus: "info",
|
|
137
|
-
|
|
138
|
-
// Slots
|
|
139
|
-
default: "Info",
|
|
140
|
-
extra: "Info text",
|
|
141
|
-
},
|
|
142
|
-
};
|
|
143
|
-
|
|
144
|
-
export const DateTime: Story = {
|
|
145
|
-
args: {
|
|
146
|
-
// Props
|
|
147
|
-
type: "datetime-local",
|
|
148
|
-
modelValue: "2018-06-12T19:30",
|
|
149
|
-
|
|
150
|
-
// Slots
|
|
151
|
-
default: "Date time",
|
|
152
|
-
},
|
|
153
|
-
};
|
|
154
|
-
|
|
155
|
-
export const Textarea: Story = {
|
|
156
|
-
args: {
|
|
157
|
-
// Props
|
|
158
|
-
isTextarea: true,
|
|
159
|
-
|
|
160
|
-
// Slots
|
|
161
|
-
default: "Textarea",
|
|
162
|
-
},
|
|
163
|
-
};
|
|
@@ -1,154 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<div :class="cn('relative', $attrs.class)">
|
|
3
|
-
<UiLabel
|
|
4
|
-
v-if="$slots.default || label"
|
|
5
|
-
:for="uniqueId"
|
|
6
|
-
:class="
|
|
7
|
-
cn(
|
|
8
|
-
`pointer-events-none absolute left-3 z-1 origin-left translate-y-4 px-1 text-neutral-muted transition-all duration-150 select-none [&:has(+:is(input,textarea):where(:enabled:hover))]:text-neutral-subtle [&:has(+:is(input,textarea):where(:focus))]:text-primary [&:has(+:is(input,textarea):where(:read-only:enabled:hover))]:text-neutral-subtle [&:has(+:is(input,textarea):where(:read-only:focus))]:text-neutral-subtle [&:has(+:is(input,textarea):where([aria-invalid='true']))]:text-error [&:has(+:is(input,textarea):where([aria-invalid='true']:enabled:hover))]:text-error-hover [&:has(+:is(input,textarea):where([aria-invalid='true']:focus))]:text-error-hover [&:has(+[data-is-label-raised])]:-translate-y-1/2 [&:has(+[data-is-label-raised])]:bg-neutral [&:has(+[data-is-label-raised])]:text-xs`,
|
|
9
|
-
{
|
|
10
|
-
'[&:has(+:is(input,textarea):where(:focus))]:text-neutral-subtle':
|
|
11
|
-
inputStatus === 'info',
|
|
12
|
-
'text-orange-default [&:has(+:is(input,textarea):where(:enabled:hover))]:text-orange-dark [&:has(+:is(input,textarea):where(:focus))]:text-orange-dark':
|
|
13
|
-
inputStatus === 'warning',
|
|
14
|
-
},
|
|
15
|
-
)
|
|
16
|
-
"
|
|
17
|
-
>
|
|
18
|
-
<slot>
|
|
19
|
-
{{ label }}
|
|
20
|
-
</slot>
|
|
21
|
-
</UiLabel>
|
|
22
|
-
|
|
23
|
-
<textarea
|
|
24
|
-
v-if="isTextarea"
|
|
25
|
-
:id="uniqueId"
|
|
26
|
-
v-model="model"
|
|
27
|
-
:aria-invalid="inputStatus === 'error'"
|
|
28
|
-
:aria-errormessage="
|
|
29
|
-
inputStatus === 'error' ? `${uniqueId}-extra` : undefined
|
|
30
|
-
"
|
|
31
|
-
:aria-label="label"
|
|
32
|
-
class="h-24"
|
|
33
|
-
:class="componentClass"
|
|
34
|
-
data-testid="input-value"
|
|
35
|
-
v-bind="{ ...$attrs, class: null }"
|
|
36
|
-
:data-is-label-raised="
|
|
37
|
-
$attrs.placeholder || isFocused || hasInput ? '' : undefined
|
|
38
|
-
"
|
|
39
|
-
@focus="isFocused = true"
|
|
40
|
-
@blur="isFocused = false"
|
|
41
|
-
/>
|
|
42
|
-
<input
|
|
43
|
-
v-else
|
|
44
|
-
:id="uniqueId"
|
|
45
|
-
v-model="model"
|
|
46
|
-
:aria-invalid="inputStatus === 'error'"
|
|
47
|
-
:aria-errormessage="
|
|
48
|
-
inputStatus === 'error' ? `${uniqueId}-extra` : undefined
|
|
49
|
-
"
|
|
50
|
-
:aria-label="label"
|
|
51
|
-
class="h-14"
|
|
52
|
-
:class="componentClass"
|
|
53
|
-
:type="type"
|
|
54
|
-
autocomplete="on"
|
|
55
|
-
data-testid="input-value"
|
|
56
|
-
v-bind="{ ...$attrs, class: null }"
|
|
57
|
-
:data-is-label-raised="
|
|
58
|
-
$attrs.placeholder || isFocused || hasInput ? '' : undefined
|
|
59
|
-
"
|
|
60
|
-
@focus="isFocused = true"
|
|
61
|
-
@blur="isFocused = false"
|
|
62
|
-
/>
|
|
63
|
-
|
|
64
|
-
<div
|
|
65
|
-
v-if="$slots.extra && inputStatus !== undefined"
|
|
66
|
-
:id="`${uniqueId}-extra`"
|
|
67
|
-
:class="
|
|
68
|
-
cn(
|
|
69
|
-
'rounded-b-sm px-4 py-1 text-xs/normal font-medium transition-all duration-150 ease-in-out peer-disabled:opacity-70 peer-aria-invalid:bg-error peer-aria-invalid:text-neutral peer-enabled:peer-aria-invalid:peer-hover:bg-error-hover peer-enabled:peer-aria-invalid:peer-focus:bg-error-hover',
|
|
70
|
-
{
|
|
71
|
-
'bg-neutral-faint text-neutral-primary': inputStatus === 'info',
|
|
72
|
-
'bg-orange-default text-neutral-primary peer-focus:bg-orange-dark peer-enabled:peer-hover:bg-orange-dark':
|
|
73
|
-
inputStatus === 'warning',
|
|
74
|
-
},
|
|
75
|
-
)
|
|
76
|
-
"
|
|
77
|
-
>
|
|
78
|
-
<slot name="extra" />
|
|
79
|
-
</div>
|
|
80
|
-
|
|
81
|
-
<slot name="buttons" />
|
|
82
|
-
</div>
|
|
83
|
-
</template>
|
|
84
|
-
|
|
85
|
-
<script setup lang="ts" generic="ModelValue extends string | number">
|
|
86
|
-
import { computed, ref, useId } from "vue";
|
|
87
|
-
|
|
88
|
-
import { cn } from "../../utils/cn.ts";
|
|
89
|
-
import UiLabel from "../UiLabel/UiLabel.vue";
|
|
90
|
-
|
|
91
|
-
defineOptions({
|
|
92
|
-
inheritAttrs: false,
|
|
93
|
-
});
|
|
94
|
-
|
|
95
|
-
defineSlots<{
|
|
96
|
-
/**
|
|
97
|
-
* Label content.
|
|
98
|
-
*/
|
|
99
|
-
default?: () => any;
|
|
100
|
-
/**
|
|
101
|
-
* Extra content.
|
|
102
|
-
*/
|
|
103
|
-
extra?: () => any;
|
|
104
|
-
buttons?: () => any;
|
|
105
|
-
}>();
|
|
106
|
-
|
|
107
|
-
const {
|
|
108
|
-
id = undefined,
|
|
109
|
-
type = "text",
|
|
110
|
-
label = undefined,
|
|
111
|
-
isTextarea = false,
|
|
112
|
-
inputStatus = undefined,
|
|
113
|
-
} = defineProps<{
|
|
114
|
-
id?: string;
|
|
115
|
-
type?:
|
|
116
|
-
| "date"
|
|
117
|
-
| "datetime-local"
|
|
118
|
-
| "email"
|
|
119
|
-
| "number"
|
|
120
|
-
| "password"
|
|
121
|
-
| "search"
|
|
122
|
-
| "tel"
|
|
123
|
-
| "text"
|
|
124
|
-
| "time"
|
|
125
|
-
| "url"
|
|
126
|
-
// Allows arbitrary strings while still offering autocompletion on the explicitly listed strings.
|
|
127
|
-
| (string & {});
|
|
128
|
-
label?: string;
|
|
129
|
-
isTextarea?: boolean;
|
|
130
|
-
inputStatus?: "info" | "warning" | "error";
|
|
131
|
-
}>();
|
|
132
|
-
|
|
133
|
-
const model = defineModel<ModelValue>();
|
|
134
|
-
|
|
135
|
-
const hasInput = computed(
|
|
136
|
-
() => model.value !== undefined && model.value !== "",
|
|
137
|
-
);
|
|
138
|
-
const isFocused = ref(false);
|
|
139
|
-
|
|
140
|
-
const defaultId = useId();
|
|
141
|
-
const uniqueId = computed(() => id ?? `id-${defaultId}`);
|
|
142
|
-
|
|
143
|
-
const componentClass = computed(() =>
|
|
144
|
-
cn(
|
|
145
|
-
"peer block w-full rounded-sm border border-neutral-faint p-4 text-sm text-neutral-primary outline-hidden transition duration-150 placeholder:text-neutral-soft read-only:border-neutral-faint focus:border-2 focus:border-primary focus:p-inputFocused not-read-only:enabled:cursor-pointer enabled:hover:border-neutral-subtle enabled:hover:focus:border-primary disabled:bg-neutral-whisper disabled:opacity-70 aria-invalid:rounded-b-none aria-invalid:border-2 aria-invalid:border-error aria-invalid:focus:border-error-hover aria-invalid:enabled:hover:border-error-hover",
|
|
146
|
-
{
|
|
147
|
-
"rounded-b-none focus:border-neutral-subtle enabled:hover:border-neutral-subtle":
|
|
148
|
-
inputStatus === "info",
|
|
149
|
-
"rounded-b-none border-2 border-orange-default focus:border-orange-dark enabled:hover:border-orange-dark":
|
|
150
|
-
inputStatus === "warning",
|
|
151
|
-
},
|
|
152
|
-
),
|
|
153
|
-
);
|
|
154
|
-
</script>
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
# UiLabel
|
|
2
|
-
|
|
3
|
-
Wraps the native `label` element. Currently only used to provide some default styles for labels.
|
|
4
|
-
|
|
5
|
-
## Usage
|
|
6
|
-
|
|
7
|
-
**Associate with input via `id` attribute**:
|
|
8
|
-
|
|
9
|
-
```vue
|
|
10
|
-
<UiLabel for="name-input">
|
|
11
|
-
Name
|
|
12
|
-
</UiLabel>
|
|
13
|
-
|
|
14
|
-
<UiInput id="name-input" name="name" required />
|
|
15
|
-
```
|
|
16
|
-
|
|
17
|
-
**Associate with input by wrapping**:
|
|
18
|
-
|
|
19
|
-
```vue
|
|
20
|
-
<UiLabel>
|
|
21
|
-
Name
|
|
22
|
-
<UiInput name="name" required />
|
|
23
|
-
</UiLabel>
|
|
24
|
-
```
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
<template>
|
|
2
|
-
<label :class="cn('max-w-max items-center text-sm', $attrs.class)">
|
|
3
|
-
<slot />
|
|
4
|
-
</label>
|
|
5
|
-
</template>
|
|
6
|
-
|
|
7
|
-
<script setup lang="ts">
|
|
8
|
-
import { cn } from "../../utils/cn.ts";
|
|
9
|
-
|
|
10
|
-
defineSlots<{
|
|
11
|
-
/**
|
|
12
|
-
* Label content.
|
|
13
|
-
*/
|
|
14
|
-
default: () => any;
|
|
15
|
-
}>();
|
|
16
|
-
</script>
|
|
@@ -1,46 +0,0 @@
|
|
|
1
|
-
# @dpa-shared-components/UiListItem
|
|
2
|
-
|
|
3
|
-
## Usage
|
|
4
|
-
|
|
5
|
-
```html
|
|
6
|
-
<!-- SomeComponent.vue using UiListItem -->
|
|
7
|
-
<template>
|
|
8
|
-
<UiListItem iconName="alert">
|
|
9
|
-
ListItem
|
|
10
|
-
</UiListItem>
|
|
11
|
-
</template>
|
|
12
|
-
|
|
13
|
-
<script setup lang="ts">
|
|
14
|
-
import {UiListItem} from "@dpa-id-components/dpa-shared-components";
|
|
15
|
-
</script>
|
|
16
|
-
```
|
|
17
|
-
|
|
18
|
-
## API
|
|
19
|
-
|
|
20
|
-
### Props
|
|
21
|
-
|
|
22
|
-
| Name | Type | Default | Description |
|
|
23
|
-
|-------------------|-----------------------------|------------|---------------------------------------------------------------------|
|
|
24
|
-
| `value` | `string` | `""` | Sets the value which gets emitted with the click event |
|
|
25
|
-
| `checkBoxMenu` | `Boolean` | `false` | Displays checkbox on the beginning of list item |
|
|
26
|
-
| `isChecked` | `Boolean` | `false` | Checked attribute of checkbox, if displayed |
|
|
27
|
-
| `selectable` | `Boolean` | `false` | Makes the list item selectable |
|
|
28
|
-
| `selected` | `Boolean` | `false` | Displays checkmark at the end of the list item |
|
|
29
|
-
| `overrideClasses` | `String` | `false` | Adds classes to the inner of the list item |
|
|
30
|
-
| `iconName` | `UiIconName` | | Icon to be displayed at the beginning of the list item |
|
|
31
|
-
| `iconSize` | `sm` `md` `lg` | | Size of the checkmark icon when selected and selectable is set true |
|
|
32
|
-
| `imageSrc` | `String` | `""` | Image to be displayed at the beginning of the list item. |
|
|
33
|
-
| `imageShape` | `"rounded" | "square"` | `"square"` | Shape pf the image to be displayed. |
|
|
34
|
-
| `checkboxColor` | `"blue" | "gray"` | `"blue"` | Checkbox color style. |
|
|
35
|
-
|
|
36
|
-
### Events
|
|
37
|
-
|
|
38
|
-
| Name | Type | Description |
|
|
39
|
-
|-------------------|----------|---------------------------------------|
|
|
40
|
-
| `list-item-click` | `string` | Emitted when the list item is clicked |
|
|
41
|
-
|
|
42
|
-
### Slots
|
|
43
|
-
|
|
44
|
-
| Name | Description |
|
|
45
|
-
|-----------|-------------------------------------------------|
|
|
46
|
-
| `default` | slot for the rendering the list items's content |
|