@dpa-id-components/dpa-shared-components 15.1.2 → 16.0.1
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 -11
- package/dist/components/UiAutocomplete/UiAutocomplete.stories.d.ts +5 -5
- package/dist/components/UiAutocomplete/UiAutocomplete.vue.d.ts +5 -5
- package/dist/components/UiBadge/UiBadge.stories.d.ts +4 -4
- package/dist/components/UiBadge/UiBadge.vue.d.ts +1 -1
- package/dist/components/UiButton/UiButton.stories.d.ts +1 -1
- package/dist/components/UiDatePicker/UiDatePicker.stories.d.ts +81 -81
- package/dist/components/UiDatePicker/UiDatePicker.vue.d.ts +40 -40
- package/dist/components/UiDialog/UiDialog.stories.d.ts +24 -24
- package/dist/components/UiDialog/UiDialog.vue.d.ts +2 -2
- package/dist/components/UiFilterBadge/UiFilterBadge.stories.d.ts +13 -13
- package/dist/components/UiFilterBadge/UiFilterBadge.vue.d.ts +1 -1
- package/dist/components/UiFilterBadgeButton/UiFilterBadgeButton.stories.d.ts +1 -1
- package/dist/components/UiFilterButton/UiFilterButton.stories.d.ts +2 -2
- package/dist/components/UiIcon/UiIcon.stories.d.ts +1 -1
- package/dist/components/UiIconButton/UiIconButton.stories.d.ts +5 -5
- package/dist/components/UiIconButton/UiIconButton.vue.d.ts +1 -1
- package/dist/components/UiInput/UiInput.stories.d.ts +24 -24
- package/dist/components/UiListItem/UiListItem.stories.d.ts +1 -1
- package/dist/components/UiMenu/UiMenu.stories.d.ts +1 -1
- package/dist/components/UiSearchBar/UiSearchBar.stories.d.ts +13 -13
- package/dist/components/UiSearchBar/UiSearchBar.vue.d.ts +5 -5
- package/dist/components/UiSnackbar/UiSnackbar.stories.d.ts +1 -1
- package/dist/components/UiTextButton/UiTextButton.stories.d.ts +2 -2
- package/dist/compositions/useBreakpoints/useBreakpoints.d.ts +1 -1
- package/dist/{dpa-shared-components.mjs → dpa-shared-components.js} +3252 -3458
- package/dist/renovate.json +17 -0
- package/dist/screens.js +7 -0
- package/dist/tailwind/screens.d.ts +8 -0
- package/dist/tailwind/tailwind.config.d.ts +210 -0
- package/dist/{tailwind.config.cjs → tailwind.config.js} +5 -9
- package/package.json +32 -32
- package/dist/dpa-shared-components.umd.js +0 -7
- package/dist/fonts.css +0 -26
- package/dist/screens.json +0 -7
- package/dist/tailwind/screens.json.d.ts +0 -10
- package/dist/tailwind/tailwind.config.d.cts +0 -3
- /package/dist/{activities-DVw-YPpO.mjs → activities-DVw-YPpO.js} +0 -0
- /package/dist/{ai-VuCGPNLN.mjs → ai-VuCGPNLN.js} +0 -0
- /package/dist/{alert-8Akg5zik.mjs → alert-8Akg5zik.js} +0 -0
- /package/dist/{alert-fill-BKlmD-Ox.mjs → alert-fill-BKlmD-Ox.js} +0 -0
- /package/dist/{alert-octagon-CTINOGwp.mjs → alert-octagon-CTINOGwp.js} +0 -0
- /package/dist/{apps-BPa2CDg6.mjs → apps-BPa2CDg6.js} +0 -0
- /package/dist/{archive-BiQtIyD3.mjs → archive-BiQtIyD3.js} +0 -0
- /package/dist/{arrow-down-D8c20gOq.mjs → arrow-down-D8c20gOq.js} +0 -0
- /package/dist/{arrow-left-U3ChWYTE.mjs → arrow-left-U3ChWYTE.js} +0 -0
- /package/dist/{arrow-nav-left-CPJd0CxY.mjs → arrow-nav-left-CPJd0CxY.js} +0 -0
- /package/dist/{arrow-nav-right-BpCpYfq1.mjs → arrow-nav-right-BpCpYfq1.js} +0 -0
- /package/dist/{arrow-right-Ciwao0RW.mjs → arrow-right-Ciwao0RW.js} +0 -0
- /package/dist/{arrow-up-D_wkwl0M.mjs → arrow-up-D_wkwl0M.js} +0 -0
- /package/dist/{arrowhead-left-BhMPEQDH.mjs → arrowhead-left-BhMPEQDH.js} +0 -0
- /package/dist/{arrowhead-right-DaGGQ1Yw.mjs → arrowhead-right-DaGGQ1Yw.js} +0 -0
- /package/dist/{arrowhead-top-BJHJNWs1.mjs → arrowhead-top-BJHJNWs1.js} +0 -0
- /package/dist/{atmo-CHCgB7_L.mjs → atmo-CHCgB7_L.js} +0 -0
- /package/dist/{audio-Ben-AXL-.mjs → audio-Ben-AXL-.js} +0 -0
- /package/dist/{audio-circled-DAMLJtP0.mjs → audio-circled-DAMLJtP0.js} +0 -0
- /package/dist/{audio-filled-CcnV_fAb.mjs → audio-filled-CcnV_fAb.js} +0 -0
- /package/dist/{bag-Bal9Hkoz.mjs → bag-Bal9Hkoz.js} +0 -0
- /package/dist/{bell-CIVm-ZI8.mjs → bell-CIVm-ZI8.js} +0 -0
- /package/dist/{bell-fill-CPucbfzE.mjs → bell-fill-CPucbfzE.js} +0 -0
- /package/dist/{book-HM1tijWO.mjs → book-HM1tijWO.js} +0 -0
- /package/dist/{bookmark-DY8C9lKP.mjs → bookmark-DY8C9lKP.js} +0 -0
- /package/dist/{bookmark-fill-240z9Et6.mjs → bookmark-fill-240z9Et6.js} +0 -0
- /package/dist/{bookmark-outlined-jLf0sXW1.mjs → bookmark-outlined-jLf0sXW1.js} +0 -0
- /package/dist/{box-DyRmQ7L_.mjs → box-DyRmQ7L_.js} +0 -0
- /package/dist/{bulb-BUswBK1_.mjs → bulb-BUswBK1_.js} +0 -0
- /package/dist/{call-BSid5Y-6.mjs → call-BSid5Y-6.js} +0 -0
- /package/dist/{camera-B8HHab20.mjs → camera-B8HHab20.js} +0 -0
- /package/dist/{check-BzCsFVqs.mjs → check-BzCsFVqs.js} +0 -0
- /package/dist/{checklist-CaqihCFj.mjs → checklist-CaqihCFj.js} +0 -0
- /package/dist/{checkmark-Bq3iMDOm.mjs → checkmark-Bq3iMDOm.js} +0 -0
- /package/dist/{checkmark-double-Bb1elViH.mjs → checkmark-double-Bb1elViH.js} +0 -0
- /package/dist/{chevron-down-BmNeEhB5.mjs → chevron-down-BmNeEhB5.js} +0 -0
- /package/dist/{chevron-left-B5Qz0PUm.mjs → chevron-left-B5Qz0PUm.js} +0 -0
- /package/dist/{chevron-right-CEZ20J26.mjs → chevron-right-CEZ20J26.js} +0 -0
- /package/dist/{chevron-up-BYP7XG1q.mjs → chevron-up-BYP7XG1q.js} +0 -0
- /package/dist/{clipboard-BFuPtrop.mjs → clipboard-BFuPtrop.js} +0 -0
- /package/dist/{clock-DjLH8KWK.mjs → clock-DjLH8KWK.js} +0 -0
- /package/dist/{close-5JgI97fh.mjs → close-5JgI97fh.js} +0 -0
- /package/dist/{cloud-save-HuDOnN6Q.mjs → cloud-save-HuDOnN6Q.js} +0 -0
- /package/dist/{code-HjxcXMhS.mjs → code-HjxcXMhS.js} +0 -0
- /package/dist/{collapse-BYbrgj2q.mjs → collapse-BYbrgj2q.js} +0 -0
- /package/dist/{color-palette-uVIeZzVM.mjs → color-palette-uVIeZzVM.js} +0 -0
- /package/dist/{comment-BKJMxf2O.mjs → comment-BKJMxf2O.js} +0 -0
- /package/dist/{comment-fill-DcK1ricK.mjs → comment-fill-DcK1ricK.js} +0 -0
- /package/dist/{copy-fB3PGMdb.mjs → copy-fB3PGMdb.js} +0 -0
- /package/dist/{copy-link-Z-VzLZHQ.mjs → copy-link-Z-VzLZHQ.js} +0 -0
- /package/dist/{delete-CV5D8fhk.mjs → delete-CV5D8fhk.js} +0 -0
- /package/dist/{download-Bdg5UWcF.mjs → download-Bdg5UWcF.js} +0 -0
- /package/dist/{dpa-id-CleGZhbJ.mjs → dpa-id-CleGZhbJ.js} +0 -0
- /package/dist/{edit-Cj1iRHjN.mjs → edit-Cj1iRHjN.js} +0 -0
- /package/dist/{edit-add-BeEmxgcL.mjs → edit-add-BeEmxgcL.js} +0 -0
- /package/dist/{eil-C1xRUE6D.mjs → eil-C1xRUE6D.js} +0 -0
- /package/dist/{emoji-BNwwtPND.mjs → emoji-BNwwtPND.js} +0 -0
- /package/dist/{emoji-add-CE_9Vj_u.mjs → emoji-add-CE_9Vj_u.js} +0 -0
- /package/dist/{envelope-H3vYxvVh.mjs → envelope-H3vYxvVh.js} +0 -0
- /package/dist/{eslint.base.config.mjs → eslint.base.config.js} +0 -0
- /package/dist/{event-BTwuXN9I.mjs → event-BTwuXN9I.js} +0 -0
- /package/dist/{expand-Bi12lU5A.mjs → expand-Bi12lU5A.js} +0 -0
- /package/dist/{external-link-CK9k2Y-O.mjs → external-link-CK9k2Y-O.js} +0 -0
- /package/dist/{file-dHozirU0.mjs → file-dHozirU0.js} +0 -0
- /package/dist/{file-pdf-DQrATE2q.mjs → file-pdf-DQrATE2q.js} +0 -0
- /package/dist/{filter-DiCvyxz0.mjs → filter-DiCvyxz0.js} +0 -0
- /package/dist/{filter-outline-5UEsJuxf.mjs → filter-outline-5UEsJuxf.js} +0 -0
- /package/dist/{flag-ZaGlQvHe.mjs → flag-ZaGlQvHe.js} +0 -0
- /package/dist/{flag-fill-KogPQ2ng.mjs → flag-fill-KogPQ2ng.js} +0 -0
- /package/dist/{flag-filled-CEPZJRJr.mjs → flag-filled-CEPZJRJr.js} +0 -0
- /package/dist/{flag-outline-Dbq0gcUa.mjs → flag-outline-Dbq0gcUa.js} +0 -0
- /package/dist/{flags-D1I6OA6U.mjs → flags-D1I6OA6U.js} +0 -0
- /package/dist/{flash-suw9pQF_.mjs → flash-suw9pQF_.js} +0 -0
- /package/dist/{folder-BJdTCJHg.mjs → folder-BJdTCJHg.js} +0 -0
- /package/dist/{folder-add-wH_L405P.mjs → folder-add-wH_L405P.js} +0 -0
- /package/dist/{folder-fill-C-0Jk8Mg.mjs → folder-fill-C-0Jk8Mg.js} +0 -0
- /package/dist/{folder-filled-DhuhtRUT.mjs → folder-filled-DhuhtRUT.js} +0 -0
- /package/dist/{gallery-CZ3mt5ui.mjs → gallery-CZ3mt5ui.js} +0 -0
- /package/dist/{graphic-BKiss2aF.mjs → graphic-BKiss2aF.js} +0 -0
- /package/dist/{graphic-circled-B-oOF_T6.mjs → graphic-circled-B-oOF_T6.js} +0 -0
- /package/dist/{graphic-filled-Q-gkg6tF.mjs → graphic-filled-Q-gkg6tF.js} +0 -0
- /package/dist/{graphics-NIAwX4dF.mjs → graphics-NIAwX4dF.js} +0 -0
- /package/dist/{grid-1-D6MIQ6XV.mjs → grid-1-D6MIQ6XV.js} +0 -0
- /package/dist/{grid-2-D-4m0EPZ.mjs → grid-2-D-4m0EPZ.js} +0 -0
- /package/dist/{grid-3-Cpuf8PZK.mjs → grid-3-Cpuf8PZK.js} +0 -0
- /package/dist/{grid-4-DLW6XdYm.mjs → grid-4-DLW6XdYm.js} +0 -0
- /package/dist/{grid-6-DVk4j2Lr.mjs → grid-6-DVk4j2Lr.js} +0 -0
- /package/dist/{grid-9-DKuhgsca.mjs → grid-9-DKuhgsca.js} +0 -0
- /package/dist/{grid-masonry-9-BEW3HIhr.mjs → grid-masonry-9-BEW3HIhr.js} +0 -0
- /package/dist/{grid-masonry-D4qeT8_q.mjs → grid-masonry-D4qeT8_q.js} +0 -0
- /package/dist/{help-NQS-iFa2.mjs → help-NQS-iFa2.js} +0 -0
- /package/dist/{home-Cytp08Lz.mjs → home-Cytp08Lz.js} +0 -0
- /package/dist/{image focus point-Rtt4u140.mjs → image focus point-Rtt4u140.js} +0 -0
- /package/dist/{image-CfSJ8jjS.mjs → image-CfSJ8jjS.js} +0 -0
- /package/dist/{impact-high-DD8VqNAY.mjs → impact-high-DD8VqNAY.js} +0 -0
- /package/dist/{impact-low-sN5vx6ca.mjs → impact-low-sN5vx6ca.js} +0 -0
- /package/dist/{impact-medium-3vU0zzS8.mjs → impact-medium-3vU0zzS8.js} +0 -0
- /package/dist/{impact-very-high-d2QAcPcf.mjs → impact-very-high-d2QAcPcf.js} +0 -0
- /package/dist/{impact-very-low-CkAtdvb6.mjs → impact-very-low-CkAtdvb6.js} +0 -0
- /package/dist/{info-Bt3XfDDd.mjs → info-Bt3XfDDd.js} +0 -0
- /package/dist/{info-fill-DE0GW7nu.mjs → info-fill-DE0GW7nu.js} +0 -0
- /package/dist/{info-filled-QmqSh3a2.mjs → info-filled-QmqSh3a2.js} +0 -0
- /package/dist/{label-ZzjOPjln.mjs → label-ZzjOPjln.js} +0 -0
- /package/dist/{label-filled-j_-BCTAD.mjs → label-filled-j_-BCTAD.js} +0 -0
- /package/dist/{language-Db7FDNWA.mjs → language-Db7FDNWA.js} +0 -0
- /package/dist/{latest-COGMKFHF.mjs → latest-COGMKFHF.js} +0 -0
- /package/dist/{lightbulb-BlpIVkbd.mjs → lightbulb-BlpIVkbd.js} +0 -0
- /package/dist/{list-CPHFH_nl.mjs → list-CPHFH_nl.js} +0 -0
- /package/dist/{list-search-8mB4oGGn.mjs → list-search-8mB4oGGn.js} +0 -0
- /package/dist/{lock-Dcj4HaSk.mjs → lock-Dcj4HaSk.js} +0 -0
- /package/dist/{lock-filled-BnsIWWZt.mjs → lock-filled-BnsIWWZt.js} +0 -0
- /package/dist/{mail-DyLMUo4A.mjs → mail-DyLMUo4A.js} +0 -0
- /package/dist/{map-BSkcSC9_.mjs → map-BSkcSC9_.js} +0 -0
- /package/dist/{map-outline-CtQ5Xeu1.mjs → map-outline-CtQ5Xeu1.js} +0 -0
- /package/dist/{menu-DnI1XC7n.mjs → menu-DnI1XC7n.js} +0 -0
- /package/dist/{minus-CmtL9u29.mjs → minus-CmtL9u29.js} +0 -0
- /package/dist/{more-horizontal-w8VrmTQK.mjs → more-horizontal-w8VrmTQK.js} +0 -0
- /package/dist/{more-vertical-C01abtJp.mjs → more-vertical-C01abtJp.js} +0 -0
- /package/dist/{move-Dwr1IUqp.mjs → move-Dwr1IUqp.js} +0 -0
- /package/dist/{move-up-down-CEjgMPm0.mjs → move-up-down-CEjgMPm0.js} +0 -0
- /package/dist/{navigation-B2tj3yaK.mjs → navigation-B2tj3yaK.js} +0 -0
- /package/dist/{note-CSgXIx_b.mjs → note-CSgXIx_b.js} +0 -0
- /package/dist/{offline-ClkLK9xU.mjs → offline-ClkLK9xU.js} +0 -0
- /package/dist/{package-BF3Gq-ZY.mjs → package-BF3Gq-ZY.js} +0 -0
- /package/dist/{paper-plane-C0N7ByKz.mjs → paper-plane-C0N7ByKz.js} +0 -0
- /package/dist/{paperplane-8HSfGeyw.mjs → paperplane-8HSfGeyw.js} +0 -0
- /package/dist/{pause-Cr5tX-Qv.mjs → pause-Cr5tX-Qv.js} +0 -0
- /package/dist/{pause-circle-BUk-hLi5.mjs → pause-circle-BUk-hLi5.js} +0 -0
- /package/dist/{pdf-BY8vfjXp.mjs → pdf-BY8vfjXp.js} +0 -0
- /package/dist/{pen-CtnxOLGw.mjs → pen-CtnxOLGw.js} +0 -0
- /package/dist/{pen-check-DTfXSboV.mjs → pen-check-DTfXSboV.js} +0 -0
- /package/dist/{people-BR25OVNz.mjs → people-BR25OVNz.js} +0 -0
- /package/dist/{phone-BZcyIb8n.mjs → phone-BZcyIb8n.js} +0 -0
- /package/dist/{picture-C_ddF04C.mjs → picture-C_ddF04C.js} +0 -0
- /package/dist/{picture-circled-DuAgejYO.mjs → picture-circled-DuAgejYO.js} +0 -0
- /package/dist/{picture-filled-COn-IAWs.mjs → picture-filled-COn-IAWs.js} +0 -0
- /package/dist/{pin-RZnvVDrr.mjs → pin-RZnvVDrr.js} +0 -0
- /package/dist/{planning-Dln9PiF4.mjs → planning-Dln9PiF4.js} +0 -0
- /package/dist/{play-DcP1gS8Z.mjs → play-DcP1gS8Z.js} +0 -0
- /package/dist/{play-circle-D95onwfe.mjs → play-circle-D95onwfe.js} +0 -0
- /package/dist/{play-fill-CCQpVi4h.mjs → play-fill-CCQpVi4h.js} +0 -0
- /package/dist/{plus-CFTk5TJS.mjs → plus-CFTk5TJS.js} +0 -0
- /package/dist/{plus-circle-BkU5XOPj.mjs → plus-circle-BkU5XOPj.js} +0 -0
- /package/dist/{prettier.config.mjs → prettier.config.js} +0 -0
- /package/dist/{print-DW4odow3.mjs → print-DW4odow3.js} +0 -0
- /package/dist/{refresh-uqtc8Aki.mjs → refresh-uqtc8Aki.js} +0 -0
- /package/dist/{reset-BtRVoCGg.mjs → reset-BtRVoCGg.js} +0 -0
- /package/dist/{responsive-_IrTKB4D.mjs → responsive-_IrTKB4D.js} +0 -0
- /package/dist/{rubix-thema-sVC4G5iu.mjs → rubix-thema-sVC4G5iu.js} +0 -0
- /package/dist/{save-BaYX-8wh.mjs → save-BaYX-8wh.js} +0 -0
- /package/dist/{saved-search-CzDFN9Qs.mjs → saved-search-CzDFN9Qs.js} +0 -0
- /package/dist/{saved-search-fill-BT4lMkNT.mjs → saved-search-fill-BT4lMkNT.js} +0 -0
- /package/dist/{search-CdtjM1hw.mjs → search-CdtjM1hw.js} +0 -0
- /package/dist/{settings-2aCocdUM.mjs → settings-2aCocdUM.js} +0 -0
- /package/dist/{share-BgiHeOjz.mjs → share-BgiHeOjz.js} +0 -0
- /package/dist/{share-alternative-C0OEZ2zo.mjs → share-alternative-C0OEZ2zo.js} +0 -0
- /package/dist/{sidebar-BiC8edWC.mjs → sidebar-BiC8edWC.js} +0 -0
- /package/dist/{sidebar-fill-DY3-S_y1.mjs → sidebar-fill-DY3-S_y1.js} +0 -0
- /package/dist/{slack-CoEfiPj5.mjs → slack-CoEfiPj5.js} +0 -0
- /package/dist/{slider-config-7zc6XVMU.mjs → slider-config-7zc6XVMU.js} +0 -0
- /package/dist/{spellcheck-C0_i11ec.mjs → spellcheck-C0_i11ec.js} +0 -0
- /package/dist/{spinner-Dq8UJY0K.mjs → spinner-Dq8UJY0K.js} +0 -0
- /package/dist/{standard-view-CcggvvEn.mjs → standard-view-CcggvvEn.js} +0 -0
- /package/dist/{star-BemQOyeI.mjs → star-BemQOyeI.js} +0 -0
- /package/dist/{star-fill-DPYFY706.mjs → star-fill-DPYFY706.js} +0 -0
- /package/dist/{star-filled-DPYFY706.mjs → star-filled-DPYFY706.js} +0 -0
- /package/dist/{stop-CLtAP4Q7.mjs → stop-CLtAP4Q7.js} +0 -0
- /package/dist/{story-NVS6w60J.mjs → story-NVS6w60J.js} +0 -0
- /package/dist/{sync-BqlSLQVE.mjs → sync-BqlSLQVE.js} +0 -0
- /package/dist/{tasks-D5lApXLs.mjs → tasks-D5lApXLs.js} +0 -0
- /package/dist/{text-R1U99X0r.mjs → text-R1U99X0r.js} +0 -0
- /package/dist/{text-circled-9QX0VhLB.mjs → text-circled-9QX0VhLB.js} +0 -0
- /package/dist/{text-filled-DszLyCjZ.mjs → text-filled-DszLyCjZ.js} +0 -0
- /package/dist/{thumbs-down-CdwHyt1J.mjs → thumbs-down-CdwHyt1J.js} +0 -0
- /package/dist/{thumbs-up-BTpkDxMZ.mjs → thumbs-up-BTpkDxMZ.js} +0 -0
- /package/dist/{thumbs-up-double-Cddorc6q.mjs → thumbs-up-double-Cddorc6q.js} +0 -0
- /package/dist/{topic-BulFKttB.mjs → topic-BulFKttB.js} +0 -0
- /package/dist/{union-BsqZS5Xl.mjs → union-BsqZS5Xl.js} +0 -0
- /package/dist/{upload-FqT5gCGS.mjs → upload-FqT5gCGS.js} +0 -0
- /package/dist/{video overlay-t3aungPx.mjs → video overlay-t3aungPx.js} +0 -0
- /package/dist/{video-Dty4YCc5.mjs → video-Dty4YCc5.js} +0 -0
- /package/dist/{video-circled-n1rEV6q0.mjs → video-circled-n1rEV6q0.js} +0 -0
- /package/dist/{video-filled-DnsnQ4Jr.mjs → video-filled-DnsnQ4Jr.js} +0 -0
- /package/dist/{video-rounded-BF3e23iS.mjs → video-rounded-BF3e23iS.js} +0 -0
- /package/dist/{view-C-6vs1rZ.mjs → view-C-6vs1rZ.js} +0 -0
- /package/dist/{view-off-DeL0zT9Z.mjs → view-off-DeL0zT9Z.js} +0 -0
- /package/dist/{volume-up-BtqBUF0O.mjs → volume-up-BtqBUF0O.js} +0 -0
package/README.md
CHANGED
|
@@ -36,19 +36,17 @@ To have the styling working correctly you have to extend the tailwind config in
|
|
|
36
36
|
|
|
37
37
|
Please ensure that the version of Tailwind in your host application meets the version specified under `peerDependencies` in `package.json`.
|
|
38
38
|
|
|
39
|
-
```
|
|
40
|
-
import sharedComponentsConfig from
|
|
41
|
-
import { Config } from
|
|
39
|
+
```typescript
|
|
40
|
+
import sharedComponentsConfig from "@dpa-id-components/dpa-shared-components/tailwindConfig";
|
|
41
|
+
import { Config } from "tailwindcss";
|
|
42
42
|
|
|
43
43
|
export default {
|
|
44
44
|
presets: [sharedComponentsConfig],
|
|
45
45
|
content: [
|
|
46
46
|
// ... your content globs ...
|
|
47
|
-
|
|
48
|
-
]
|
|
49
|
-
}
|
|
50
|
-
satisfies
|
|
51
|
-
Config
|
|
47
|
+
"./node_modules/@dpa-id-components/dpa-shared-components/**/*.js",
|
|
48
|
+
],
|
|
49
|
+
} satisfies Config
|
|
52
50
|
```
|
|
53
51
|
|
|
54
52
|
The tailwind config is located at `./src/tailwind/tailwind.config.ts`.
|
|
@@ -129,7 +127,7 @@ a `jsdom` environment.
|
|
|
129
127
|
To run the tests run
|
|
130
128
|
|
|
131
129
|
```shell
|
|
132
|
-
npm run test
|
|
130
|
+
npm run test:unit:watch
|
|
133
131
|
```
|
|
134
132
|
|
|
135
133
|
The tests automatically are run as a watch task.
|
|
@@ -143,7 +141,7 @@ storybook can't handle the vue plugin.
|
|
|
143
141
|
To start storybook locally run
|
|
144
142
|
|
|
145
143
|
```shell
|
|
146
|
-
npm run
|
|
144
|
+
npm run dev
|
|
147
145
|
```
|
|
148
146
|
|
|
149
147
|
A deployed version of the storybook can be found [here](https://dpa-gmbh.github.io/dpa-shared-components/).
|
|
@@ -179,7 +177,7 @@ If linking doesn't seem to work, you can try to clear your vite-cache by deletin
|
|
|
179
177
|
## SVG icons
|
|
180
178
|
|
|
181
179
|
To add SVG icons, just copy the .svg file to `./src/assets/icons`. Preferably you add the filename also to
|
|
182
|
-
the
|
|
180
|
+
the `iconNames.ts` so it's available in Storybook as option and in the overview.
|
|
183
181
|
SVGs get loaded by [vite-svg-loader](https://github.com/jpkleemans/vite-svg-loader), which optimizes the SVGs
|
|
184
182
|
with [svgo](https://github.com/svg/svgo). Config can be added in `vite.config.ts` and `./.storybook/main.ts` (
|
|
185
183
|
duplicated since Storybook can't handle the vite config plugins).
|
|
@@ -46,7 +46,7 @@ declare const meta: {
|
|
|
46
46
|
readonly warningMessage?: string | undefined;
|
|
47
47
|
readonly isTextarea?: boolean | undefined;
|
|
48
48
|
readonly infoText?: string | undefined;
|
|
49
|
-
readonly inputStatus?: ("
|
|
49
|
+
readonly inputStatus?: ("default" | "info" | "error" | "readonly" | "warning") | undefined;
|
|
50
50
|
readonly isUiAutocomplete?: boolean | undefined;
|
|
51
51
|
readonly onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
52
52
|
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -87,7 +87,7 @@ declare const meta: {
|
|
|
87
87
|
warningMessage?: string;
|
|
88
88
|
isTextarea?: boolean;
|
|
89
89
|
infoText?: string;
|
|
90
|
-
inputStatus?: "
|
|
90
|
+
inputStatus?: "default" | "info" | "error" | "readonly" | "warning";
|
|
91
91
|
isUiAutocomplete?: boolean;
|
|
92
92
|
}> & Readonly<{
|
|
93
93
|
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -118,7 +118,7 @@ declare const meta: {
|
|
|
118
118
|
warningMessage: string;
|
|
119
119
|
isTextarea: boolean;
|
|
120
120
|
infoText: string;
|
|
121
|
-
inputStatus: "
|
|
121
|
+
inputStatus: "default" | "info" | "error" | "readonly" | "warning";
|
|
122
122
|
isUiAutocomplete: boolean;
|
|
123
123
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
124
124
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -155,7 +155,7 @@ declare const meta: {
|
|
|
155
155
|
warningMessage: string;
|
|
156
156
|
isTextarea: boolean;
|
|
157
157
|
infoText: string;
|
|
158
|
-
inputStatus: "
|
|
158
|
+
inputStatus: "default" | "info" | "error" | "readonly" | "warning";
|
|
159
159
|
isUiAutocomplete: boolean;
|
|
160
160
|
}> & Omit<Readonly<{
|
|
161
161
|
modelValue?: string;
|
|
@@ -174,7 +174,7 @@ declare const meta: {
|
|
|
174
174
|
warningMessage?: string;
|
|
175
175
|
isTextarea?: boolean;
|
|
176
176
|
infoText?: string;
|
|
177
|
-
inputStatus?: "
|
|
177
|
+
inputStatus?: "default" | "info" | "error" | "readonly" | "warning";
|
|
178
178
|
isUiAutocomplete?: boolean;
|
|
179
179
|
}> & Readonly<{
|
|
180
180
|
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -37,7 +37,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
37
37
|
readonly warningMessage?: string | undefined;
|
|
38
38
|
readonly isTextarea?: boolean | undefined;
|
|
39
39
|
readonly infoText?: string | undefined;
|
|
40
|
-
readonly inputStatus?: ("
|
|
40
|
+
readonly inputStatus?: ("default" | "info" | "error" | "readonly" | "warning") | undefined;
|
|
41
41
|
readonly isUiAutocomplete?: boolean | undefined;
|
|
42
42
|
readonly onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
43
43
|
readonly onFocus?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -78,7 +78,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
78
78
|
warningMessage?: string;
|
|
79
79
|
isTextarea?: boolean;
|
|
80
80
|
infoText?: string;
|
|
81
|
-
inputStatus?: "
|
|
81
|
+
inputStatus?: "default" | "info" | "error" | "readonly" | "warning";
|
|
82
82
|
isUiAutocomplete?: boolean;
|
|
83
83
|
}> & Readonly<{
|
|
84
84
|
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -109,7 +109,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
109
109
|
warningMessage: string;
|
|
110
110
|
isTextarea: boolean;
|
|
111
111
|
infoText: string;
|
|
112
|
-
inputStatus: "
|
|
112
|
+
inputStatus: "default" | "info" | "error" | "readonly" | "warning";
|
|
113
113
|
isUiAutocomplete: boolean;
|
|
114
114
|
}, {}, string, {}, import('vue').GlobalComponents, import('vue').GlobalDirectives, string, import('vue').ComponentProvideOptions> & {
|
|
115
115
|
beforeCreate?: (() => void) | (() => void)[];
|
|
@@ -146,7 +146,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
146
146
|
warningMessage: string;
|
|
147
147
|
isTextarea: boolean;
|
|
148
148
|
infoText: string;
|
|
149
|
-
inputStatus: "
|
|
149
|
+
inputStatus: "default" | "info" | "error" | "readonly" | "warning";
|
|
150
150
|
isUiAutocomplete: boolean;
|
|
151
151
|
}> & Omit<Readonly<{
|
|
152
152
|
modelValue?: string;
|
|
@@ -165,7 +165,7 @@ declare const _default: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {
|
|
|
165
165
|
warningMessage?: string;
|
|
166
166
|
isTextarea?: boolean;
|
|
167
167
|
infoText?: string;
|
|
168
|
-
inputStatus?: "
|
|
168
|
+
inputStatus?: "default" | "info" | "error" | "readonly" | "warning";
|
|
169
169
|
isUiAutocomplete?: boolean;
|
|
170
170
|
}> & Readonly<{
|
|
171
171
|
onBlur?: ((args_0: FocusEvent) => any) | undefined;
|
|
@@ -11,9 +11,9 @@ declare const meta: {
|
|
|
11
11
|
small?: boolean;
|
|
12
12
|
screenReaderText?: string;
|
|
13
13
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, import('vue').PublicProps, {
|
|
14
|
-
text: string;
|
|
15
14
|
trim: boolean;
|
|
16
15
|
small: boolean;
|
|
16
|
+
text: string;
|
|
17
17
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
18
18
|
iconName: import('..').UiIconName | null;
|
|
19
19
|
mobileTrim: boolean;
|
|
@@ -34,9 +34,9 @@ declare const meta: {
|
|
|
34
34
|
small?: boolean;
|
|
35
35
|
screenReaderText?: string;
|
|
36
36
|
}> & Readonly<{}>, {}, {}, {}, {}, {
|
|
37
|
-
text: string;
|
|
38
37
|
trim: boolean;
|
|
39
38
|
small: boolean;
|
|
39
|
+
text: string;
|
|
40
40
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
41
41
|
iconName: import('..').UiIconName | null;
|
|
42
42
|
mobileTrim: boolean;
|
|
@@ -54,9 +54,9 @@ declare const meta: {
|
|
|
54
54
|
small?: boolean;
|
|
55
55
|
screenReaderText?: string;
|
|
56
56
|
}> & Readonly<{}>, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, {
|
|
57
|
-
text: string;
|
|
58
57
|
trim: boolean;
|
|
59
58
|
small: boolean;
|
|
59
|
+
text: string;
|
|
60
60
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
61
61
|
iconName: import('..').UiIconName | null;
|
|
62
62
|
mobileTrim: boolean;
|
|
@@ -76,7 +76,7 @@ declare const meta: {
|
|
|
76
76
|
};
|
|
77
77
|
iconName: {
|
|
78
78
|
control: "select";
|
|
79
|
-
options: ("activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "list-search" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "package" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "
|
|
79
|
+
options: ("search" | "print" | "responsive" | "activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "list-search" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "package" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "refresh" | "reset" | "rubix-thema" | "save" | "saved-search" | "saved-search-fill" | "settings" | "share" | "share-alternative" | "sidebar" | "sidebar-fill" | "slack" | "slider-config" | "spellcheck" | "spinner" | "standard-view" | "star" | "star-fill" | "star-filled" | "stop" | "story" | "sync" | "tasks" | "text" | "text-circled" | "text-filled" | "thumbs-down" | "thumbs-up" | "thumbs-up-double" | "topic" | "union" | "upload" | "video" | "video overlay" | "video-circled" | "video-filled" | "video-rounded" | "view" | "view-off" | "volume-up" | null)[];
|
|
80
80
|
};
|
|
81
81
|
mobileTrim: {
|
|
82
82
|
control: "boolean";
|
|
@@ -18,9 +18,9 @@ declare function __VLS_template(): {
|
|
|
18
18
|
};
|
|
19
19
|
type __VLS_TemplateResult = ReturnType<typeof __VLS_template>;
|
|
20
20
|
declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}, {}, {}, import('vue').ComponentOptionsMixin, import('vue').ComponentOptionsMixin, {}, string, import('vue').PublicProps, Readonly<__VLS_Props> & Readonly<{}>, {
|
|
21
|
-
text: string;
|
|
22
21
|
trim: boolean;
|
|
23
22
|
small: boolean;
|
|
23
|
+
text: string;
|
|
24
24
|
color: "red" | "red-dark" | "orange" | "purple" | "blue" | "white" | "gray-300" | "gray-600" | "gray-800" | "black" | "green-neon" | "green-primary" | "neon-green" | "primary-green";
|
|
25
25
|
iconName: UiIconName | null;
|
|
26
26
|
mobileTrim: boolean;
|
|
@@ -79,7 +79,7 @@ declare const meta: {
|
|
|
79
79
|
argTypes: {
|
|
80
80
|
iconName: {
|
|
81
81
|
control: "select";
|
|
82
|
-
options: ("activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "list-search" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "package" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "
|
|
82
|
+
options: ("search" | "print" | "responsive" | "activities" | "alert" | "alert-fill" | "alert-octagon" | "ai" | "apps" | "archive" | "arrow-left" | "arrow-nav-left" | "arrow-nav-right" | "arrow-up" | "arrow-right" | "arrow-down" | "arrowhead-left" | "arrowhead-right" | "arrowhead-top" | "atmo" | "audio" | "audio-circled" | "audio-filled" | "bag" | "bell" | "bell-fill" | "book" | "bookmark" | "bookmark-fill" | "bookmark-outlined" | "box" | "bulb" | "call" | "camera" | "check" | "checklist" | "checkmark" | "checkmark-double" | "chevron-down" | "chevron-left" | "chevron-right" | "chevron-up" | "clipboard" | "clock" | "close" | "cloud-save" | "code" | "collapse" | "color-palette" | "comment" | "comment-fill" | "copy" | "copy-link" | "delete" | "download" | "dpa-id" | "edit" | "edit-add" | "eil" | "emoji" | "emoji-add" | "envelope" | "event" | "expand" | "external-link" | "file" | "file-pdf" | "filter" | "filter-outline" | "flag" | "flag-fill" | "flag-filled" | "flag-outline" | "flags" | "flash" | "folder" | "folder-add" | "folder-fill" | "folder-filled" | "gallery" | "graphic" | "graphic-circled" | "graphic-filled" | "graphics" | "grid-1" | "grid-2" | "grid-3" | "grid-4" | "grid-6" | "grid-9" | "grid-masonry" | "grid-masonry-9" | "help" | "home" | "image" | "image focus point" | "impact-high" | "impact-low" | "impact-medium" | "impact-very-high" | "impact-very-low" | "info" | "info-fill" | "info-filled" | "label" | "label-filled" | "language" | "latest" | "lightbulb" | "list" | "list-search" | "lock" | "lock-filled" | "mail" | "map" | "map-outline" | "menu" | "minus" | "more-horizontal" | "more-vertical" | "move" | "move-up-down" | "navigation" | "note" | "offline" | "package" | "paper-plane" | "paperplane" | "pause" | "pause-circle" | "pdf" | "pen" | "pen-check" | "people" | "phone" | "picture" | "picture-circled" | "picture-filled" | "pin" | "planning" | "play" | "play-circle" | "play-fill" | "plus" | "plus-circle" | "refresh" | "reset" | "rubix-thema" | "save" | "saved-search" | "saved-search-fill" | "settings" | "share" | "share-alternative" | "sidebar" | "sidebar-fill" | "slack" | "slider-config" | "spellcheck" | "spinner" | "standard-view" | "star" | "star-fill" | "star-filled" | "stop" | "story" | "sync" | "tasks" | "text" | "text-circled" | "text-filled" | "thumbs-down" | "thumbs-up" | "thumbs-up-double" | "topic" | "union" | "upload" | "video" | "video overlay" | "video-circled" | "video-filled" | "video-rounded" | "view" | "view-off" | "volume-up")[];
|
|
83
83
|
};
|
|
84
84
|
disabled: {
|
|
85
85
|
control: "boolean";
|