@dpa-id-components/dpa-shared-components 22.0.0-next.1 → 22.0.0-next.11
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/dist/{activities-BxyZQp7R.js → activities-CNONG76g.js} +2 -2
- package/dist/{ai-CvQQ6hUw.js → ai-BORdA1tP.js} +2 -2
- package/dist/{alert-BeP6nqRf.js → alert-CEh7TpHk.js} +2 -2
- package/dist/{alert-filled-COSmQYAa.js → alert-filled-GUQ1sv5T.js} +2 -2
- package/dist/{alert-CdAp0ksh.js → alert-k4dRvZkA.js} +2 -2
- package/dist/{alert-octagon-Cd-_T4ON.js → alert-octagon-D6ymVrlL.js} +2 -2
- package/dist/{apps-CtY6nO4d.js → apps-31DLZEqJ.js} +2 -2
- package/dist/{archive-DmV6cQ50.js → archive-DxH0AmUn.js} +2 -2
- package/dist/{arrow-down-Cfib5c-0.js → arrow-down-B9xmpEKh.js} +2 -2
- package/dist/{arrow-left-CFSY8V--.js → arrow-left-w89ZP810.js} +2 -2
- package/dist/{arrow-nav-left-BRYPr4oj.js → arrow-nav-left-CsT11yHm.js} +2 -2
- package/dist/{arrow-nav-right-PqR7W08e.js → arrow-nav-right-CauLQRaf.js} +2 -2
- package/dist/{arrow-right-ByFSLzJb.js → arrow-right-Dj7Me-mB.js} +2 -2
- package/dist/{arrow-up-DfhQKYKi.js → arrow-up-C7yQWUg5.js} +2 -2
- package/dist/{arrowhead-left-BxBCmhZy.js → arrowhead-left-D3prb6lT.js} +2 -2
- package/dist/{arrowhead-right-D6Hk6b6x.js → arrowhead-right-DYkeDm5p.js} +2 -2
- package/dist/{arrowhead-top-wkcSxZmc.js → arrowhead-top-D6Yiw4OG.js} +2 -2
- package/dist/assets/icons/lock-filled.vue.d.ts +3 -0
- package/dist/assets/icons/play-filled.vue.d.ts +3 -0
- package/dist/{atmo-CqanVC-e.js → atmo-BYdaOrhT.js} +2 -2
- package/dist/{audio-DS8plcCU.js → audio-BLhGEnZc.js} +2 -2
- package/dist/{audio-Cgg6MUeM.js → audio-CaUo0DpR.js} +2 -2
- package/dist/{bag-B28jMR7E.js → bag-DfUnEdIG.js} +2 -2
- package/dist/{bell-k_sZgnpL.js → bell-BUoHDgUa.js} +2 -2
- package/dist/{bell-filled-7gfK8601.js → bell-filled-9k1Rm3vh.js} +2 -2
- package/dist/{book-CqUJ_JRz.js → book-DJ-BeeEm.js} +2 -2
- package/dist/{bookmark-D65iW--h.js → bookmark-C6STJXUN.js} +2 -2
- package/dist/{bookmark-filled-5lCW1BfF.js → bookmark-filled-CxwMfIfF.js} +2 -2
- package/dist/{box-BCDNtaq7.js → box-DFDPFTQ7.js} +2 -2
- package/dist/{bulb-12wSYpgA.js → bulb-qwe4TWu7.js} +2 -2
- package/dist/{call-CW04DyHi.js → call-CfOzRaYz.js} +2 -2
- package/dist/{camera-CbeyxVU5.js → camera-BCW_KVfC.js} +2 -2
- package/dist/{check-BpPjjXqx.js → check-CiZxunah.js} +2 -2
- package/dist/{checklist-CFCfO7IN.js → checklist-CKV_EHso.js} +2 -2
- package/dist/{checkmark-DhUksPvT.js → checkmark-BE0OoZGa.js} +2 -2
- package/dist/{checkmark-double-BNGXAUiT.js → checkmark-double-BJAvABOC.js} +2 -2
- package/dist/{chevron-down-BjZ6BFFp.js → chevron-down-B5PIbEio.js} +2 -2
- package/dist/{chevron-left-Z-D_OY2t.js → chevron-left-BPryaWHJ.js} +2 -2
- package/dist/{chevron-right-D1GfZQB6.js → chevron-right-CB2iqaCO.js} +2 -2
- package/dist/{chevron-up-DWZ1F8w0.js → chevron-up-NvAEC--2.js} +2 -2
- package/dist/{clipboard-CNCIToKK.js → clipboard-BsskWPLx.js} +2 -2
- package/dist/{clock-CqWSNhFX.js → clock-D3iR841r.js} +2 -2
- package/dist/{close-oHIGT_JQ.js → close-BwgoeQAp.js} +2 -2
- package/dist/{cloud-save-CWTQ5IHS.js → cloud-save-C1k851Z_.js} +2 -2
- package/dist/{code-BD5nOHqK.js → code-CbwDeiVM.js} +2 -2
- package/dist/{collapse-D6QeCZC7.js → collapse-BIUDbTyr.js} +2 -2
- package/dist/{color-palette-BpONORjj.js → color-palette-DUY9An-f.js} +2 -2
- package/dist/{comment-D5RZxZWG.js → comment-DUUDjk_v.js} +2 -2
- package/dist/{comment-filled-Cl_qZ6Fz.js → comment-filled-rvm3HWly.js} +2 -2
- package/dist/components/UiBadge/UiBadge.vue.d.ts +1 -1
- package/dist/components/UiButton/UiButton.vue.d.ts +1 -1
- package/dist/components/UiCheckbox/UiCheckbox.vue.d.ts +35 -32
- package/dist/components/UiDialog/UiDialog.vue.d.ts +1 -0
- package/dist/components/UiIcon/icons.d.ts +2 -0
- package/dist/components/UiInput/UiInput.vue.d.ts +35 -32
- package/dist/components/UiListItem/UiListItem.vue.d.ts +2 -3
- package/dist/components/UiMenu/UiMenu.vue.d.ts +1 -3
- package/dist/components/UiPopover/UiPopover.vue.d.ts +5 -1
- package/dist/components/UiToggleButton/UiToggleButton.vue.d.ts +1 -1
- package/dist/{copy-BDnlScSS.js → copy-DIcAlkg5.js} +2 -2
- package/dist/{copy-link-BSfa58Tb.js → copy-link-Dy9otjUI.js} +2 -2
- package/dist/{delete-dDyi0gau.js → delete-BI38E8vg.js} +2 -2
- package/dist/{download-B-ZTsIBv.js → download-COkMFqqt.js} +2 -2
- package/dist/{dpa-id-DRnjTcHI.js → dpa-id-lBIeVHgX.js} +2 -2
- package/dist/dpa-shared-components.d.ts +1 -1
- package/dist/dpa-shared-components.js +4339 -4120
- package/dist/{edit-BbFkVyRd.js → edit-DFZucLKb.js} +2 -2
- package/dist/{edit-add-CAPOsjts.js → edit-add-Cx7x5gfl.js} +2 -2
- package/dist/{eil-CzEP-9Lo.js → eil-BjfC8db7.js} +2 -2
- package/dist/{emoji-BjLqvypC.js → emoji-CZAa65rh.js} +2 -2
- package/dist/{emoji-add-BB4fB4th.js → emoji-add-Bdw-xZuW.js} +2 -2
- package/dist/{envelope-DftzB5Ol.js → envelope-BL-sHuqE.js} +2 -2
- package/dist/eslint.base.config.js +1 -4
- package/dist/{event-FR1JMgj6.js → event-C6fYIB3A.js} +2 -2
- package/dist/{expand-DaVQ0gpz.js → expand-CbaTiURl.js} +2 -2
- package/dist/{external-link-2Es0qWwd.js → external-link-DKF31dpS.js} +2 -2
- package/dist/{file-AHJ00f5M.js → file-DWQzWW7U.js} +2 -2
- package/dist/{file-pdf-CJDdjKS0.js → file-pdf-C4WTAvL4.js} +2 -2
- package/dist/{filter-CXjBFUUg.js → filter-kGJtnOhb.js} +2 -2
- package/dist/{flag-CbX4PUMS.js → flag-L7yd4mwV.js} +2 -2
- package/dist/{flag-filled-VmJW-U0p.js → flag-filled-CTDa2efs.js} +2 -2
- package/dist/{flags-Buo1j-9g.js → flags-Dl7zJKmO.js} +2 -2
- package/dist/{flash-Dlr5gL01.js → flash-DZhODZa2.js} +2 -2
- package/dist/{folder-DQwCjGZC.js → folder-9Uwlobw5.js} +2 -2
- package/dist/{folder-add-zPr2Gmtj.js → folder-add-BTNpiyeV.js} +2 -2
- package/dist/{folder-filled-D6pmcH0e.js → folder-filled-VCsVbqgw.js} +2 -2
- package/dist/{gallery-DPl8qZQu.js → gallery-CaJoU7iC.js} +2 -2
- package/dist/{gallery-CfUbckcB.js → gallery-D-A6Lk4l.js} +2 -2
- package/dist/{graphic-BbhCuiiE.js → graphic-BHfsGi2Y.js} +2 -2
- package/dist/{graphic-nXH5ifxc.js → graphic-BtBeBP53.js} +2 -2
- package/dist/{graphics-Dp8pQzs-.js → graphics-BQsurkrS.js} +2 -2
- package/dist/{grid-1-DZUEMbtb.js → grid-1-CYbZv-UT.js} +2 -2
- package/dist/{grid-2-BQ-9yylY.js → grid-2-BTFSXvzD.js} +2 -2
- package/dist/{grid-3-BGhZrrCJ.js → grid-3-BjlnBMzz.js} +2 -2
- package/dist/{grid-4-DY9N435A.js → grid-4-BQUX0ES8.js} +2 -2
- package/dist/{grid-6-B0BR3wbB.js → grid-6-CBmGEiqx.js} +2 -2
- package/dist/{grid-9-BWhM7qat.js → grid-9-B4NrxHyA.js} +2 -2
- package/dist/{grid-masonry-9-DiiX1pQo.js → grid-masonry-9-5-pMpPJP.js} +2 -2
- package/dist/{grid-masonry-1e9tYkSK.js → grid-masonry-CQKadmp9.js} +2 -2
- package/dist/{help-CLfj4LQM.js → help-DRp9OUcp.js} +2 -2
- package/dist/{home-D6htLjOF.js → home-BXPuwKXk.js} +2 -2
- package/dist/{image-DnYnaoeu.js → image-BuaeqPub.js} +2 -2
- package/dist/{image-focus-point-BJ7HhehR.js → image-focus-point-TJFo_N1n.js} +2 -2
- package/dist/{impact-high-DuECIU0d.js → impact-high-DVgcn-Ae.js} +2 -2
- package/dist/{impact-low-DMtzvmWi.js → impact-low-CsvuPmk_.js} +2 -2
- package/dist/{impact-medium-B5-WfnV2.js → impact-medium-GY_OHSc1.js} +2 -2
- package/dist/{impact-very-high-C1K1nCE9.js → impact-very-high-B3en_oYR.js} +2 -2
- package/dist/{impact-very-low-CXbiBK6E.js → impact-very-low-Bb-zEAGB.js} +2 -2
- package/dist/{info-Ca-64c_9.js → info-CaNyekC4.js} +2 -2
- package/dist/{info-filled-PYbvwGmZ.js → info-filled-BMA19BzN.js} +2 -2
- package/dist/{label-D8X5FrVe.js → label-Bw1zj9W1.js} +2 -2
- package/dist/{label-filled-DjSc-Fk4.js → label-filled-DrguwEbm.js} +2 -2
- package/dist/{language-OE6ZfER_.js → language-rz5Z2ZmC.js} +2 -2
- package/dist/{latest-D0dlub5f.js → latest-ChE2cmSz.js} +2 -2
- package/dist/{lightbulb-DKJrsADi.js → lightbulb-DNR4PX3F.js} +2 -2
- package/dist/{list-BviTrZEl.js → list-Cz72rNRB.js} +2 -2
- package/dist/{list-search-Ck6anukf.js → list-search-BFpET5qV.js} +2 -2
- package/dist/{lock-C5vUwbkA.js → lock-DJTDJhgw.js} +2 -2
- package/dist/lock-filled-DRjvJBj3.js +18 -0
- package/dist/{mail-CtA-d2d0.js → mail-Bkf5whgc.js} +2 -2
- package/dist/{map-filled-Y8JaYK4Y.js → map-filled-DOurRYP3.js} +2 -2
- package/dist/{map-FF2zfEGP.js → map-xA3002JW.js} +2 -2
- package/dist/{menu-DFzmvE6J.js → menu-2v2TRGv7.js} +2 -2
- package/dist/{minus-COmVHb9S.js → minus-BHrEG9BZ.js} +2 -2
- package/dist/{more-horizontal-DzHbd3yn.js → more-horizontal-BiLFHNjR.js} +2 -2
- package/dist/{more-vertical-CiJm6ZaV.js → more-vertical-MHbB9_He.js} +2 -2
- package/dist/{move-CUyDTrlz.js → move-C2Mel2Fs.js} +2 -2
- package/dist/{move-up-down-3AiMDXGu.js → move-up-down-CX9AFsb5.js} +2 -2
- package/dist/{navigation-BryXzz7G.js → navigation-BxUEjd2D.js} +2 -2
- package/dist/{note-CXIfkCb0.js → note-JDaeQ7KP.js} +2 -2
- package/dist/{offline-BlqqTvjx.js → offline-DTVkLzxG.js} +2 -2
- package/dist/{package-BEkSqrZt.js → package-Cqki3iBp.js} +2 -2
- package/dist/{package-pKbuF39E.js → package-a6wVeuDo.js} +2 -2
- package/dist/{paper-plane-CwVjTgAB.js → paper-plane-DAhJxCyF.js} +2 -2
- package/dist/{pause-D-nbILiS.js → pause-D9YWbY88.js} +2 -2
- package/dist/{pdf-C7o5LP5D.js → pdf-DYHgIGl5.js} +2 -2
- package/dist/{pen-5O6IZM5k.js → pen-DpSe4QTA.js} +2 -2
- package/dist/{pen-check-GQoVyZ_V.js → pen-check-B6w-qyKk.js} +2 -2
- package/dist/{people-CFA1u84D.js → people-L-RBpthJ.js} +2 -2
- package/dist/{phone-BmL2p-7F.js → phone-D9f_M1qn.js} +2 -2
- package/dist/{picture-jf1PkZfY.js → picture-CN4X8eKB.js} +2 -2
- package/dist/{picture-BBiWVmta.js → picture-CmfKLBKL.js} +2 -2
- package/dist/{pin-CTaBntUQ.js → pin-BxwEBnT3.js} +2 -2
- package/dist/{planning-s3sRV6ix.js → planning-f_b-yvy0.js} +2 -2
- package/dist/play-B3HQvb0Y.js +18 -0
- package/dist/play-filled-D5vhGrVt.js +18 -0
- package/dist/{plus-Dm-ZxxHJ.js → plus-C8VUl4nl.js} +2 -2
- package/dist/{print-B5fjHJZL.js → print-l0oxfj0P.js} +2 -2
- package/dist/{refresh-gU5ZZuG6.js → refresh-NFCjjw_E.js} +2 -2
- package/dist/{reset-CwU1iGF5.js → reset-ejMu30sL.js} +2 -2
- package/dist/{responsive-BHNmDmM6.js → responsive-DxkuLBT-.js} +2 -2
- package/dist/{rubix-thema-BZvVEFud.js → rubix-thema-C_AFU2TJ.js} +2 -2
- package/dist/{save-mTHDeUnL.js → save-CXjuYnpN.js} +2 -2
- package/dist/{saved-search-DJO4_yPH.js → saved-search-CFvfKYcT.js} +2 -2
- package/dist/{saved-search-filled-CNz5iwu_.js → saved-search-filled-CzEFnSAz.js} +2 -2
- package/dist/{search-B5yHBLf_.js → search-DCYa9f-a.js} +2 -2
- package/dist/{settings-Hb_Y7Y53.js → settings-D744QSWD.js} +2 -2
- package/dist/{share-OpdW8ZmZ.js → share-D4fImRnp.js} +2 -2
- package/dist/{share-alternative-C3pSVTYb.js → share-alternative-jYDTaOhB.js} +2 -2
- package/dist/{sidebar-DtAUGBof.js → sidebar-CymSOARn.js} +2 -2
- package/dist/{sidebar-filled-BnnqCUYl.js → sidebar-filled-gWTXdyC3.js} +2 -2
- package/dist/{slack-mCoCq7b9.js → slack-CxvOlRRy.js} +2 -2
- package/dist/{slider-config-yjKG-9r9.js → slider-config-D65lpbtz.js} +2 -2
- package/dist/{spellcheck-bP4DPCKJ.js → spellcheck-CAd06Iwp.js} +2 -2
- package/dist/{spinner-CrCQ6H6L.js → spinner-C2v5HebP.js} +2 -2
- package/dist/src/assets/icons/lock-filled.vue +13 -0
- package/dist/src/assets/icons/play-filled.vue +13 -0
- package/dist/src/assets/icons/play.vue +1 -1
- package/dist/src/components/DpaMediaItem/DpaMediaItem.spec.ts +12 -12
- package/dist/src/components/UiBadge/UiBadge.spec.ts +3 -3
- package/dist/src/components/UiBadge/UiBadge.stories.ts +1 -1
- package/dist/src/components/UiBadge/UiBadge.vue +3 -8
- package/dist/src/components/UiButton/README.md +8 -8
- package/dist/src/components/UiButton/UiButton.spec.ts +3 -1
- package/dist/src/components/UiButton/UiButton.stories.ts +18 -1
- package/dist/src/components/UiButton/UiButton.vue +12 -7
- package/dist/src/components/UiButtonGroup/UiButtonGroup.spec.ts +2 -2
- package/dist/src/components/UiButtonGroup/UiButtonGroup.stories.ts +9 -8
- package/dist/src/components/UiCard/UiCard.spec.ts +2 -2
- package/dist/src/components/UiCheckBoxGroup/UiCheckBoxGroup.spec.ts +4 -4
- package/dist/src/components/UiCheckbox/README.md +9 -9
- package/dist/src/components/UiCheckbox/UiCheckbox.stories.ts +21 -8
- package/dist/src/components/UiCheckbox/UiCheckbox.vue +6 -2
- package/dist/src/components/UiChip/UiChip.spec.ts +4 -4
- package/dist/src/components/UiChip/UiChip.vue +2 -2
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.spec.ts +2 -2
- package/dist/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +1 -1
- package/dist/src/components/UiColorPicker/UiColorPicker.spec.ts +5 -5
- package/dist/src/components/UiDatePicker/UiDatePicker.spec.ts +12 -12
- package/dist/src/components/UiDatePicker/UiDatePicker.stories.ts +48 -28
- package/dist/src/components/UiDatePicker/UiDatePicker.vue +21 -21
- package/dist/src/components/UiDialog/UiDialog.spec.ts +5 -5
- package/dist/src/components/UiDialog/UiDialog.stories.ts +1 -0
- package/dist/src/components/UiDialog/UiDialog.vue +49 -1
- package/dist/src/components/UiFilterBadge/UiFilterBadge.spec.ts +6 -6
- package/dist/src/components/UiFilterButton/UiFilterButton.spec.ts +6 -6
- package/dist/src/components/UiIcon/UiIcon.spec.ts +4 -4
- package/dist/src/components/UiIcon/UiIcon.stories.ts +8 -4
- package/dist/src/components/UiIcon/UiIconLoading.vue +8 -1
- package/dist/src/components/UiIcon/icons.ts +2 -0
- package/dist/src/components/UiIconButton/UiIconButton.spec.ts +6 -6
- package/dist/src/components/UiInfoContent/UiInfoContent.spec.ts +6 -6
- package/dist/src/components/UiInput/README.md +28 -17
- package/dist/src/components/UiInput/UiInput.spec.ts +20 -0
- package/dist/src/components/UiInput/UiInput.stories.ts +34 -7
- package/dist/src/components/UiInput/UiInput.vue +7 -4
- package/dist/src/components/UiList/UiList.spec.ts +2 -2
- package/dist/src/components/UiListItem/README.md +0 -1
- package/dist/src/components/UiListItem/UiListItem.spec.ts +8 -8
- package/dist/src/components/UiListItem/UiListItem.vue +5 -8
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.stories.ts +8 -4
- package/dist/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
- package/dist/src/components/UiMenu/README.md +0 -2
- package/dist/src/components/UiMenu/UiMenu.spec.ts +5 -5
- package/dist/src/components/UiMenu/UiMenu.stories.ts +83 -146
- package/dist/src/components/UiMenu/UiMenu.vue +98 -102
- package/dist/src/components/UiOverlay/UiOverlay.spec.ts +2 -2
- package/dist/src/components/UiOverlayMenu/UiOverlayMenu.spec.ts +2 -2
- package/dist/src/components/UiPopover/UiPopover.stories.ts +1 -1
- package/dist/src/components/UiPopover/UiPopover.vue +30 -7
- package/dist/src/components/UiRadioButton/UiRadioButton.stories.ts +17 -8
- package/dist/src/components/UiRadioButton/UiRadioButton.vue +1 -1
- package/dist/src/components/UiRadioInputGroup/UiRadioInputGroup.spec.ts +4 -4
- package/dist/src/components/UiSearchBar/UiSearchBar.spec.ts +6 -6
- package/dist/src/components/UiSearchBar/UiSearchBar.vue +1 -1
- package/dist/src/components/UiSearchInput/UiSearchInput.spec.ts +4 -4
- package/dist/src/components/UiSection/UiSection.spec.ts +5 -5
- package/dist/src/components/UiSectionDivider/UiSectionDivider.spec.ts +3 -3
- package/dist/src/components/UiSelect/{UIiSelect.spec.ts → UiSelect.spec.ts} +16 -8
- package/dist/src/components/UiSelect/UiSelect.stories.ts +13 -6
- package/dist/src/components/UiSelect/UiSelect.vue +14 -2
- package/dist/src/components/UiSkeletonBox/UiSkeletonBox.spec.ts +2 -2
- package/dist/src/components/UiSnackbar/UiSnackbar.spec.ts +8 -8
- package/dist/src/components/UiSpinner/UiSpinner.spec.ts +4 -4
- package/dist/src/components/UiSpinner/UiSpinner.stories.ts +1 -1
- package/dist/src/components/UiSpinner/UiSpinner.vue +31 -32
- package/dist/src/components/UiTextButton/UiTextButton.spec.ts +11 -11
- package/dist/src/components/UiToggleButton/UiToggleButton.spec.ts +8 -8
- package/dist/src/components/UiToggleButton/UiToggleButton.vue +19 -31
- package/dist/src/components/UiTooltip/UiTooltip.spec.ts +9 -9
- package/dist/{standard-view-CN0ixRE4.js → standard-view-BoYytoMT.js} +2 -2
- package/dist/{star-filled-CdXMXBn7.js → star-filled-CpCXunl1.js} +2 -2
- package/dist/{star-BKWqck4u.js → star-h8P_5_mG.js} +2 -2
- package/dist/{stop-B8l9lmwT.js → stop-CUitimZI.js} +2 -2
- package/dist/{story-DOxZDwJp.js → story-DHD4LNQr.js} +2 -2
- package/dist/{story-Cxy8EkgB.js → story-DRn-XI6F.js} +2 -2
- package/dist/style.css +2 -2
- package/dist/{sync-BW_fAqt6.js → sync-Y2eA3WT_.js} +2 -2
- package/dist/{tasks-DLNuebMi.js → tasks-C2MvrwpO.js} +2 -2
- package/dist/{text-Bsl2QZz3.js → text-C4wZ-s0Z.js} +2 -2
- package/dist/{text-CPSps-qh.js → text-C7Bt0-5h.js} +2 -2
- package/dist/{thumbs-down-pSf_ND98.js → thumbs-down-DRz1ad6Z.js} +2 -2
- package/dist/{thumbs-up-Braz70N6.js → thumbs-up-Tt4RC_93.js} +2 -2
- package/dist/{thumbs-up-double-C6foUkOq.js → thumbs-up-double-BiN5UiKl.js} +2 -2
- package/dist/{topic-BamlhBNV.js → topic-D6_NwX-F.js} +2 -2
- package/dist/{union-CYw04THu.js → union-s1aVCIT5.js} +2 -2
- package/dist/{upload-BL_iLqTa.js → upload-Csz6PEGc.js} +2 -2
- package/dist/{user-need-divert-me-2RaqdMMH.js → user-need-divert-me-NGIF6wBc.js} +2 -2
- package/dist/{user-need-educate-me-CRi42bIc.js → user-need-educate-me-B5uX-I2R.js} +2 -2
- package/dist/{user-need-give-me-perspective-BIF7v9vF.js → user-need-give-me-perspective-D1ivktbZ.js} +2 -2
- package/dist/{user-need-help-me-O0XSLzP-.js → user-need-help-me-Re-fEjwm.js} +2 -2
- package/dist/{user-need-touch-me-BueJ3SSh.js → user-need-touch-me-D025Uac5.js} +2 -2
- package/dist/{user-need-update-me-DP574fsn.js → user-need-update-me-DU3SfxYI.js} +2 -2
- package/dist/{video-DhS7zpNF.js → video-07EjnCpD.js} +2 -2
- package/dist/{video-CWHoNlON.js → video-B0IVRe8t.js} +2 -2
- package/dist/{video-overlay-D6e61Eo7.js → video-overlay-blAbosdl.js} +2 -2
- package/dist/{view-Bc5W8beK.js → view-BrJ61_ek.js} +2 -2
- package/dist/{view-off-DquC2i3E.js → view-off-Chs7NQif.js} +2 -2
- package/dist/{volume-up-DEzoW7Bq.js → volume-up-BDZJhktI.js} +2 -2
- package/package.json +33 -33
- package/src/assets/icons/lock-filled.vue +13 -0
- package/src/assets/icons/play-filled.vue +13 -0
- package/src/assets/icons/play.vue +1 -1
- package/src/components/UiBadge/UiBadge.vue +3 -8
- package/src/components/UiButton/README.md +8 -8
- package/src/components/UiButton/UiButton.vue +12 -7
- package/src/components/UiCheckbox/README.md +9 -9
- package/src/components/UiCheckbox/UiCheckbox.vue +6 -2
- package/src/components/UiChip/UiChip.vue +2 -2
- package/src/components/UiCollapseNavigation/UiCollapseNavigation.vue +1 -1
- package/src/components/UiDatePicker/UiDatePicker.vue +21 -21
- package/src/components/UiDialog/UiDialog.vue +49 -1
- package/src/components/UiIcon/UiIconLoading.vue +8 -1
- package/src/components/UiIcon/icons.ts +2 -0
- package/src/components/UiInput/README.md +28 -17
- package/src/components/UiInput/UiInput.vue +7 -4
- package/src/components/UiListItem/README.md +0 -1
- package/src/components/UiListItem/UiListItem.vue +5 -8
- package/src/components/UiMediaTypeIcon/UiMediaTypeIcon.vue +1 -1
- package/src/components/UiMenu/README.md +0 -2
- package/src/components/UiMenu/UiMenu.vue +98 -102
- package/src/components/UiPopover/UiPopover.vue +30 -7
- package/src/components/UiRadioButton/UiRadioButton.vue +1 -1
- package/src/components/UiSearchBar/UiSearchBar.vue +1 -1
- package/src/components/UiSelect/UiSelect.vue +14 -2
- package/src/components/UiSpinner/UiSpinner.vue +31 -32
- package/src/components/UiToggleButton/UiToggleButton.vue +19 -31
- package/dist/play-CArB2O7k.js +0 -18
- /package/dist/{_plugin-vue_export-helper-BTgDAbhb.js → _plugin-vue_export-helper-B3ysoDQm.js} +0 -0
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/responsive.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -14,6 +14,6 @@ function o(e, i) {
|
|
|
14
14
|
fill: "currentColor"
|
|
15
15
|
}, null, -1)]]);
|
|
16
16
|
}
|
|
17
|
-
var s =
|
|
17
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/rubix-thema.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/save.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/saved-search.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -14,6 +14,6 @@ function o(e, i) {
|
|
|
14
14
|
fill: "currentColor"
|
|
15
15
|
}, null, -1)]]);
|
|
16
16
|
}
|
|
17
|
-
var s =
|
|
17
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/saved-search-filled.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -16,6 +16,6 @@ function o(e, i) {
|
|
|
16
16
|
fill: "currentColor"
|
|
17
17
|
}, null, -1)]]);
|
|
18
18
|
}
|
|
19
|
-
var s =
|
|
19
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
20
20
|
//#endregion
|
|
21
21
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/search.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/settings.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/share.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/share-alternative.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createStaticVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/sidebar.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -10,6 +10,6 @@ var i = {}, a = {
|
|
|
10
10
|
function o(e, i) {
|
|
11
11
|
return r(), t("svg", a, [...i[0] ||= [n("<path fill-rule=\"evenodd\" d=\"M2 5C2 3.89543 2.89543 3 4 3H20C21.1046 3 22 3.89543 22 5V19C22 20.1046 21.1046 21 20 21H4C2.89543 21 2 20.1046 2 19V5ZM4 5H20V19H4V5Z\" fill=\"currentColor\"></path><path fill-rule=\"evenodd\" d=\"M11 19V5H13V19H11Z\" fill=\"currentColor\"></path><path fill-rule=\"evenodd\" d=\"M5 8.5C5 8.22386 5.22386 8 5.5 8H9.5C9.77614 8 10 8.22386 10 8.5C10 8.77614 9.77614 9 9.5 9H5.5C5.22386 9 5 8.77614 5 8.5Z\" fill=\"currentColor\"></path><path fill-rule=\"evenodd\" d=\"M5 10.9C5 10.6239 5.22386 10.4 5.5 10.4H9.5C9.77614 10.4 10 10.6239 10 10.9C10 11.1762 9.77614 11.4 9.5 11.4H5.5C5.22386 11.4 5 11.1762 5 10.9Z\" fill=\"currentColor\"></path><path fill-rule=\"evenodd\" d=\"M5 13.3C5 13.0239 5.22386 12.8 5.5 12.8H9.5C9.77614 12.8 10 13.0239 10 13.3C10 13.5762 9.77614 13.8 9.5 13.8H5.5C5.22386 13.8 5 13.5762 5 13.3Z\" fill=\"currentColor\"></path>", 5)]]);
|
|
12
12
|
}
|
|
13
|
-
var s =
|
|
13
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
14
14
|
//#endregion
|
|
15
15
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/sidebar-filled.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -14,6 +14,6 @@ function o(e, i) {
|
|
|
14
14
|
fill: "currentColor"
|
|
15
15
|
}, null, -1)]]);
|
|
16
16
|
}
|
|
17
|
-
var s =
|
|
17
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
18
18
|
//#endregion
|
|
19
19
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/slack.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/slider-config.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/spellcheck.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -13,6 +13,6 @@ function o(e, i) {
|
|
|
13
13
|
fill: "currentColor"
|
|
14
14
|
}, null, -1)]]);
|
|
15
15
|
}
|
|
16
|
-
var s =
|
|
16
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
17
17
|
//#endregion
|
|
18
18
|
export { s as default };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { t as e } from "./_plugin-vue_export-helper-
|
|
1
|
+
import { t as e } from "./_plugin-vue_export-helper-B3ysoDQm.js";
|
|
2
2
|
import { createElementBlock as t, createElementVNode as n, openBlock as r } from "vue";
|
|
3
3
|
//#region src/assets/icons/spinner.vue
|
|
4
4
|
var i = {}, a = {
|
|
@@ -27,6 +27,6 @@ function o(e, i) {
|
|
|
27
27
|
"stroke-linecap": "square"
|
|
28
28
|
}, null, -1)]]);
|
|
29
29
|
}
|
|
30
|
-
var s =
|
|
30
|
+
var s = /*#__PURE__*/ e(i, [["render", o]]);
|
|
31
31
|
//#endregion
|
|
32
32
|
export { s as default };
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M12 2.11C13.0609 2.11 14.078 2.53173 14.8281 3.28188C15.5783 4.03202 16 5.04913 16 6.11V9.99965H17C17.7956 9.99965 18.5585 10.3161 19.1211 10.8786C19.6836 11.4411 19.9999 12.2041 20 12.9996V18.9996C20 19.7953 19.6837 20.5591 19.1211 21.1217C18.5585 21.6841 17.7955 21.9996 17 21.9996H7C6.2045 21.9996 5.44149 21.6841 4.87891 21.1217C4.3163 20.5591 4 19.7953 4 18.9996V12.9996C4.00009 12.2041 4.31638 11.4411 4.87891 10.8786C5.4415 10.3161 6.20443 9.99965 7 9.99965H8V6.11C8 5.04913 8.42173 4.03202 9.17188 3.28188C9.92202 2.53173 10.9391 2.11 12 2.11ZM12 13.7496C11.4478 13.7496 11.0002 14.1975 11 14.7496V16.7496C11 17.3019 11.4477 17.7496 12 17.7496C12.5523 17.7496 13 17.3019 13 16.7496V14.7496C12.9998 14.1975 12.5522 13.7496 12 13.7496ZM12 3.99965C11.4554 4.01535 10.9393 4.24678 10.5645 4.64223C10.1896 5.03767 9.98655 5.56531 10 6.11V9.99965H14V6.11C14.0135 5.56531 13.8104 5.03767 13.4355 4.64223C13.0607 4.24678 12.5446 4.01535 12 3.99965Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</template>
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
<template>
|
|
2
|
+
<svg
|
|
3
|
+
width="24"
|
|
4
|
+
height="24"
|
|
5
|
+
viewBox="0 0 24 24"
|
|
6
|
+
xmlns="http://www.w3.org/2000/svg"
|
|
7
|
+
>
|
|
8
|
+
<path
|
|
9
|
+
d="M6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z"
|
|
10
|
+
fill="currentColor"
|
|
11
|
+
/>
|
|
12
|
+
</svg>
|
|
13
|
+
</template>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
xmlns="http://www.w3.org/2000/svg"
|
|
7
7
|
>
|
|
8
8
|
<path
|
|
9
|
-
d="
|
|
9
|
+
d="M8 5.83723V18.1L17.197 11.7828L8 5.83723ZM6 4.91861C6 3.73014 7.31627 3.0137 8.31435 3.65892L18.9129 10.5105C19.8119 11.0917 19.8302 12.4005 18.9478 13.0066L8.34926 20.2864C7.35396 20.9701 6 20.2575 6 19.05V4.91861Z"
|
|
10
10
|
fill="currentColor"
|
|
11
11
|
/>
|
|
12
12
|
</svg>
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect,
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
3
|
|
|
4
4
|
import DpaMediaItem from "./DpaMediaItem.vue";
|
|
5
5
|
|
|
6
6
|
describe("DpaMediaItem", () => {
|
|
7
|
-
|
|
7
|
+
test("displays items in the time published slot", () => {
|
|
8
8
|
const wrapper = mount(DpaMediaItem, {
|
|
9
9
|
slots: {
|
|
10
10
|
timePublished: "Time Slot",
|
|
@@ -13,7 +13,7 @@ describe("DpaMediaItem", () => {
|
|
|
13
13
|
expect(wrapper.text()).toBe("Time Slot");
|
|
14
14
|
});
|
|
15
15
|
|
|
16
|
-
|
|
16
|
+
test("displays items in the description slot", () => {
|
|
17
17
|
const wrapper = mount(DpaMediaItem, {
|
|
18
18
|
slots: {
|
|
19
19
|
description: "Description",
|
|
@@ -22,7 +22,7 @@ describe("DpaMediaItem", () => {
|
|
|
22
22
|
expect(wrapper.text()).toBe("Description");
|
|
23
23
|
});
|
|
24
24
|
|
|
25
|
-
|
|
25
|
+
test("displays items in the planning slot", () => {
|
|
26
26
|
const wrapper = mount(DpaMediaItem, {
|
|
27
27
|
slots: {
|
|
28
28
|
planning: "Planning",
|
|
@@ -31,7 +31,7 @@ describe("DpaMediaItem", () => {
|
|
|
31
31
|
expect(wrapper.text()).toBe("Planning");
|
|
32
32
|
});
|
|
33
33
|
|
|
34
|
-
|
|
34
|
+
test("displays items in the textLength slot", () => {
|
|
35
35
|
const wrapper = mount(DpaMediaItem, {
|
|
36
36
|
slots: {
|
|
37
37
|
textLength: "Text Length",
|
|
@@ -40,7 +40,7 @@ describe("DpaMediaItem", () => {
|
|
|
40
40
|
expect(wrapper.text()).toBe("Text Length");
|
|
41
41
|
});
|
|
42
42
|
|
|
43
|
-
|
|
43
|
+
test("changes icon according to the genre", () => {
|
|
44
44
|
const wrapper = mount(DpaMediaItem, {
|
|
45
45
|
props: {
|
|
46
46
|
genre: "audio",
|
|
@@ -52,7 +52,7 @@ describe("DpaMediaItem", () => {
|
|
|
52
52
|
});
|
|
53
53
|
});
|
|
54
54
|
|
|
55
|
-
|
|
55
|
+
test("changes icon when fulfilled", () => {
|
|
56
56
|
const wrapper = mount(DpaMediaItem, {
|
|
57
57
|
props: {
|
|
58
58
|
genre: "audio",
|
|
@@ -66,7 +66,7 @@ describe("DpaMediaItem", () => {
|
|
|
66
66
|
});
|
|
67
67
|
});
|
|
68
68
|
|
|
69
|
-
|
|
69
|
+
test("is styled differently when fulfilled", () => {
|
|
70
70
|
const wrapper = mount(DpaMediaItem, {
|
|
71
71
|
props: {
|
|
72
72
|
isFulfilled: true,
|
|
@@ -77,7 +77,7 @@ describe("DpaMediaItem", () => {
|
|
|
77
77
|
expect(rootDiv.classes("border-neutral-faint")).toBe(true);
|
|
78
78
|
});
|
|
79
79
|
|
|
80
|
-
|
|
80
|
+
test("renders images with the correct source", () => {
|
|
81
81
|
const wrapper = mount(DpaMediaItem, {
|
|
82
82
|
props: {
|
|
83
83
|
imgSrc: "Source",
|
|
@@ -87,7 +87,7 @@ describe("DpaMediaItem", () => {
|
|
|
87
87
|
expect(wrapper.find("img").attributes().src).toBe("Source");
|
|
88
88
|
});
|
|
89
89
|
|
|
90
|
-
|
|
90
|
+
test("renders images with correct alt-text", () => {
|
|
91
91
|
const wrapper = mount(DpaMediaItem, {
|
|
92
92
|
props: {
|
|
93
93
|
imgSrc: "Source",
|
|
@@ -98,7 +98,7 @@ describe("DpaMediaItem", () => {
|
|
|
98
98
|
expect(wrapper.find("img").attributes().alt).toBe("Thumbnail :Alternative");
|
|
99
99
|
});
|
|
100
100
|
|
|
101
|
-
|
|
101
|
+
test("displays the correct image count", () => {
|
|
102
102
|
const wrapper = mount(DpaMediaItem, {
|
|
103
103
|
props: {
|
|
104
104
|
imgSrc: "Source",
|
|
@@ -109,7 +109,7 @@ describe("DpaMediaItem", () => {
|
|
|
109
109
|
expect(wrapper.find("[data-testid='imageCount']").text()).toBe("2");
|
|
110
110
|
});
|
|
111
111
|
|
|
112
|
-
|
|
112
|
+
test("is styled differently when disabled", () => {
|
|
113
113
|
const wrapper = mount(DpaMediaItem, {
|
|
114
114
|
props: {
|
|
115
115
|
isFulfilled: true,
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect,
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
3
|
|
|
4
4
|
import UiBadge from "./UiBadge.vue";
|
|
5
5
|
|
|
6
6
|
describe("UiBadge", () => {
|
|
7
|
-
|
|
7
|
+
test("renders red color by default", () => {
|
|
8
8
|
const wrapper = mount(UiBadge);
|
|
9
9
|
expect(wrapper.classes("bg-accent-red")).toBe(true);
|
|
10
10
|
});
|
|
11
11
|
|
|
12
|
-
|
|
12
|
+
test("renders badge for top-entry case", () => {
|
|
13
13
|
const wrapper = mount(UiBadge, {
|
|
14
14
|
props: {
|
|
15
15
|
appearance: "accent-green",
|
|
@@ -16,31 +16,26 @@ import UiIcon, { type UiIconName } from "../UiIcon/UiIcon.vue";
|
|
|
16
16
|
const { appearance = "accent-red", iconName = undefined } = defineProps<{
|
|
17
17
|
appearance?:
|
|
18
18
|
| "accent-red"
|
|
19
|
-
| "accent-red-dark"
|
|
20
19
|
| "accent-orange"
|
|
21
20
|
| "accent-purple"
|
|
22
21
|
| "accent-green"
|
|
23
22
|
| "primary"
|
|
24
23
|
| "neutral-primary"
|
|
25
|
-
| "neutral-emphasis"
|
|
26
24
|
| "neutral-medium"
|
|
27
25
|
| "neutral-faint";
|
|
28
26
|
iconName?: UiIconName;
|
|
29
27
|
}>();
|
|
30
28
|
|
|
31
29
|
const colorClass = computed(() => {
|
|
32
|
-
|
|
30
|
+
return {
|
|
33
31
|
"accent-red": "bg-accent-red text-neutral",
|
|
34
|
-
"accent-red-dark": "bg-accent-red-dark text-neutral",
|
|
35
32
|
"accent-orange": "bg-accent-orange text-neutral",
|
|
36
33
|
"accent-purple": "bg-accent-purple text-neutral",
|
|
37
34
|
"accent-green": "bg-accent-green text-neutral",
|
|
38
35
|
primary: "bg-primary text-neutral",
|
|
39
36
|
"neutral-primary": "bg-neutral-primary text-neutral",
|
|
40
|
-
"neutral-emphasis": "bg-neutral-emphasis text-neutral",
|
|
41
37
|
"neutral-medium": "bg-neutral-medium text-neutral",
|
|
42
|
-
"neutral-faint": "bg-neutral-faint text-neutral-
|
|
43
|
-
};
|
|
44
|
-
return colorClasses[appearance];
|
|
38
|
+
"neutral-faint": "bg-neutral-faint text-neutral-subtle",
|
|
39
|
+
}[appearance];
|
|
45
40
|
});
|
|
46
41
|
</script>
|
|
@@ -40,15 +40,15 @@ import { UiButton } from "@dpa-id-components/dpa-shared-components";
|
|
|
40
40
|
|
|
41
41
|
### Props
|
|
42
42
|
|
|
43
|
-
| Name
|
|
44
|
-
|
|
45
|
-
| `to`
|
|
46
|
-
| `size`
|
|
47
|
-
| `appearance` | `"
|
|
48
|
-
| `disabled`
|
|
43
|
+
| Name | Type | Default | Description |
|
|
44
|
+
|--------------|--------------------------------------------------------------------------------------------|-------------|----------------------------------|
|
|
45
|
+
| `to` | `RouteLocationRaw` | `undefined` | `RouterLink` `to` prop |
|
|
46
|
+
| `size` | `"xs"`, `"sm"`, `"md"`, or `"lg"` | `"md"` | |
|
|
47
|
+
| `appearance` | `"fill-emphasis"`, `"fill-subtle"`, `"outline-emphasis"`, `"outline-subtle"`, or `"ghost"` | `"primary"` | |
|
|
48
|
+
| `disabled` | `boolean` | `false` | Whether the `button` is disabled |
|
|
49
49
|
|
|
50
50
|
### Slots
|
|
51
51
|
|
|
52
|
-
| Name | Description
|
|
53
|
-
|
|
52
|
+
| Name | Description |
|
|
53
|
+
|-----------|----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|
|
|
54
54
|
| `default` | Button content. Note, that text nodes are wrapped in a `span` element to ensure they can be detected using the CSS selectors responsible for applying icon-only-specific styles. |
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import type { Meta, StoryObj } from "@storybook/vue3-vite";
|
|
2
|
+
import { ref } from "vue";
|
|
2
3
|
|
|
3
4
|
import UiIcon from "../UiIcon/UiIcon.vue";
|
|
4
5
|
|
|
@@ -9,7 +10,7 @@ const meta = {
|
|
|
9
10
|
component: UiButton,
|
|
10
11
|
args: {
|
|
11
12
|
disabled: false,
|
|
12
|
-
appearance: "
|
|
13
|
+
appearance: "fill-emphasis",
|
|
13
14
|
size: "md",
|
|
14
15
|
to: undefined,
|
|
15
16
|
},
|
|
@@ -76,3 +77,19 @@ export const IconOnlyAndAriaLabel: Story = {
|
|
|
76
77
|
`,
|
|
77
78
|
}),
|
|
78
79
|
};
|
|
80
|
+
|
|
81
|
+
export const ToggleIcon: Story = {
|
|
82
|
+
render: (args) => ({
|
|
83
|
+
setup() {
|
|
84
|
+
const isVisible = ref(false);
|
|
85
|
+
|
|
86
|
+
return { args, isVisible };
|
|
87
|
+
},
|
|
88
|
+
components: { UiButton, UiIcon },
|
|
89
|
+
template: /*html*/ `
|
|
90
|
+
<UiButton v-bind="args" aria-label="Is visible" @click="isVisible = !isVisible">
|
|
91
|
+
<UiIcon :name="isVisible ? 'view' : 'view-off'" />
|
|
92
|
+
</UiButton>
|
|
93
|
+
`,
|
|
94
|
+
}),
|
|
95
|
+
};
|
|
@@ -42,12 +42,17 @@ defineSlots<{
|
|
|
42
42
|
const {
|
|
43
43
|
to = undefined,
|
|
44
44
|
size = "md",
|
|
45
|
-
appearance = "
|
|
45
|
+
appearance = "fill-emphasis",
|
|
46
46
|
disabled = false,
|
|
47
47
|
} = defineProps<{
|
|
48
48
|
to?: RouteLocationRaw;
|
|
49
49
|
size?: keyof typeof BUTTON_SIZE_CLASSES;
|
|
50
|
-
appearance?:
|
|
50
|
+
appearance?:
|
|
51
|
+
| "fill-emphasis"
|
|
52
|
+
| "fill-subtle"
|
|
53
|
+
| "outline-emphasis"
|
|
54
|
+
| "outline-subtle"
|
|
55
|
+
| "ghost";
|
|
51
56
|
disabled?: boolean;
|
|
52
57
|
}>();
|
|
53
58
|
|
|
@@ -69,13 +74,13 @@ const attributes = computed(() => {
|
|
|
69
74
|
const appearanceClasses = computed(
|
|
70
75
|
() =>
|
|
71
76
|
({
|
|
72
|
-
|
|
77
|
+
"fill-emphasis":
|
|
73
78
|
"border-transparent bg-primary text-neutral not-disabled:hover:bg-primary-hover disabled:bg-neutral-faint disabled:text-neutral-soft",
|
|
74
|
-
|
|
79
|
+
"outline-emphasis":
|
|
75
80
|
"border-neutral-faint bg-transparent text-primary-emphasis not-disabled:hover:border-neutral-subtle not-disabled:hover:text-primary-hover disabled:text-neutral-faint",
|
|
76
|
-
"
|
|
77
|
-
"border-neutral-faint bg-
|
|
78
|
-
|
|
81
|
+
"outline-subtle":
|
|
82
|
+
"border-neutral-faint bg-transparent text-neutral-emphasis not-disabled:hover:border-neutral-subtle not-disabled:hover:text-neutral-primary disabled:text-neutral-faint",
|
|
83
|
+
"fill-subtle":
|
|
79
84
|
"border-transparent bg-neutral-subtle text-neutral not-disabled:hover:bg-neutral-emphasis disabled:bg-neutral-faint disabled:text-neutral-soft",
|
|
80
85
|
ghost:
|
|
81
86
|
"border-transparent bg-transparent text-neutral-emphasis not-disabled:hover:border-neutral-subtle not-disabled:hover:text-neutral-primary disabled:text-neutral-faint",
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect,
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
3
|
|
|
4
4
|
import UiButtonGroup from "./UiButtonGroup.vue";
|
|
5
5
|
|
|
6
6
|
describe("UiButtonGroup", () => {
|
|
7
|
-
|
|
7
|
+
test("renders UiButtonGroup with default slot content", () => {
|
|
8
8
|
const wrapper = mount(UiButtonGroup, {
|
|
9
9
|
slots: {
|
|
10
10
|
default: "Default Slot",
|
|
@@ -1,11 +1,15 @@
|
|
|
1
|
-
import type {
|
|
1
|
+
import type {
|
|
2
|
+
ComponentPropsAndSlots,
|
|
3
|
+
Meta,
|
|
4
|
+
StoryObj,
|
|
5
|
+
} from "@storybook/vue3-vite";
|
|
2
6
|
import { ref } from "vue";
|
|
3
7
|
|
|
4
8
|
import UiButton from "../UiButton/UiButton.vue";
|
|
5
9
|
|
|
6
10
|
import UiButtonGroup from "./UiButtonGroup.vue";
|
|
7
11
|
|
|
8
|
-
type
|
|
12
|
+
type PropsAndCustomArgs = ComponentPropsAndSlots<typeof UiButtonGroup> & {
|
|
9
13
|
activeButton: number;
|
|
10
14
|
};
|
|
11
15
|
|
|
@@ -15,14 +19,14 @@ const meta = {
|
|
|
15
19
|
activeButton: { control: "number" },
|
|
16
20
|
},
|
|
17
21
|
args: {
|
|
18
|
-
activeButton:
|
|
22
|
+
activeButton: 1,
|
|
19
23
|
},
|
|
20
24
|
title: "Ui/UiButtonGroup",
|
|
21
25
|
component: UiButtonGroup,
|
|
22
|
-
} satisfies Meta<
|
|
26
|
+
} satisfies Meta<PropsAndCustomArgs>;
|
|
23
27
|
|
|
24
28
|
export default meta;
|
|
25
|
-
type Story = StoryObj<
|
|
29
|
+
type Story = StoryObj<PropsAndCustomArgs>;
|
|
26
30
|
|
|
27
31
|
export const Default: Story = {
|
|
28
32
|
render: (args) => ({
|
|
@@ -46,7 +50,4 @@ export const Default: Story = {
|
|
|
46
50
|
</UiButtonGroup>
|
|
47
51
|
`,
|
|
48
52
|
}),
|
|
49
|
-
args: {
|
|
50
|
-
activeButton: 1,
|
|
51
|
-
},
|
|
52
53
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { mount } from "@vue/test-utils";
|
|
2
|
-
import { describe, expect,
|
|
2
|
+
import { describe, expect, test } from "vitest";
|
|
3
3
|
|
|
4
4
|
import UiCard from "./UiCard.vue";
|
|
5
5
|
|
|
6
6
|
describe("UiCard", () => {
|
|
7
|
-
|
|
7
|
+
test("renders Card with default slot content", () => {
|
|
8
8
|
const wrapper = mount(UiCard, {
|
|
9
9
|
slots: {
|
|
10
10
|
default: "Default Slot",
|