@lmvz-ds/components 0.11.4
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/LICENSE.txt +3 -0
- package/assets/LMVZ_logo_175.svg +1 -0
- package/assets/card-placeholder.svg +4 -0
- package/assets/fonts/Router-Bold.woff +0 -0
- package/assets/fonts/Router-Book.woff +0 -0
- package/assets/fonts/Router-Medium.woff +0 -0
- package/assets/icons/Logo.svg +10 -0
- package/assets/icons/actions.svg +5 -0
- package/assets/icons/adduser.svg +3 -0
- package/assets/icons/alert.svg +3 -0
- package/assets/icons/apple.svg +3 -0
- package/assets/icons/arrow-down.svg +3 -0
- package/assets/icons/arrow-left.svg +3 -0
- package/assets/icons/arrow-right.svg +3 -0
- package/assets/icons/arrow-up.svg +3 -0
- package/assets/icons/book.svg +3 -0
- package/assets/icons/bookmark.svg +3 -0
- package/assets/icons/checkmark.svg +3 -0
- package/assets/icons/chevron-down.svg +3 -0
- package/assets/icons/chevron-left.svg +3 -0
- package/assets/icons/chevron-right.svg +3 -0
- package/assets/icons/chevron-up.svg +3 -0
- package/assets/icons/close-l.svg +3 -0
- package/assets/icons/close-sm.svg +3 -0
- package/assets/icons/cog.svg +4 -0
- package/assets/icons/computer.svg +3 -0
- package/assets/icons/dashboard.svg +6 -0
- package/assets/icons/delete.svg +3 -0
- package/assets/icons/download.svg +3 -0
- package/assets/icons/edit.svg +3 -0
- package/assets/icons/external.svg +3 -0
- package/assets/icons/facebook.svg +3 -0
- package/assets/icons/favorite.svg +3 -0
- package/assets/icons/filter.svg +3 -0
- package/assets/icons/group.svg +3 -0
- package/assets/icons/hide.svg +3 -0
- package/assets/icons/home.svg +3 -0
- package/assets/icons/info.svg +3 -0
- package/assets/icons/instagram.svg +3 -0
- package/assets/icons/letter.svg +3 -0
- package/assets/icons/linkedin.svg +5 -0
- package/assets/icons/logout.svg +3 -0
- package/assets/icons/map.svg +3 -0
- package/assets/icons/minus.svg +3 -0
- package/assets/icons/navigation.svg +3 -0
- package/assets/icons/plus.svg +3 -0
- package/assets/icons/qr-scan.svg +3 -0
- package/assets/icons/question.svg +10 -0
- package/assets/icons/reader.svg +3 -0
- package/assets/icons/reset.svg +3 -0
- package/assets/icons/school.svg +3 -0
- package/assets/icons/search.svg +3 -0
- package/assets/icons/send.svg +3 -0
- package/assets/icons/settings.svg +3 -0
- package/assets/icons/share.svg +10 -0
- package/assets/icons/shopping-cart.svg +3 -0
- package/assets/icons/show.svg +3 -0
- package/assets/icons/snapchat.svg +3 -0
- package/assets/icons/sort.svg +3 -0
- package/assets/icons/speech-bubble.svg +3 -0
- package/assets/icons/star.svg +3 -0
- package/assets/icons/student.svg +3 -0
- package/assets/icons/upload.svg +3 -0
- package/assets/icons/user.svg +3 -0
- package/assets/icons/warn-circle.svg +3 -0
- package/assets/icons/warn-triangle.svg +3 -0
- package/assets/icons/whatsapp.svg +4 -0
- package/assets/icons/world.svg +10 -0
- package/assets/icons/x.svg +3 -0
- package/assets/icons/youtube.svg +3 -0
- package/assets/zukunftslinie.svg +3 -0
- package/dist/cjs/Effect-BIlTHtLK.js +19172 -0
- package/dist/cjs/_commonjsHelpers-CFO10eej.js +7 -0
- package/dist/cjs/app-globals-V2Kpy_OQ.js +5 -0
- package/dist/cjs/aria-validation-controller-B7unOPxT.js +2929 -0
- package/dist/cjs/axe-BNqwbBGU.js +32834 -0
- package/dist/cjs/component-CRc6eHcV.js +138 -0
- package/dist/cjs/element-activation-controller-DC_6T0Rt.js +31 -0
- package/dist/cjs/icons-DbL3LSmP.js +659 -0
- package/dist/cjs/index-9ZJx0550.js +2752 -0
- package/dist/cjs/index-CVw4GUo6.js +92 -0
- package/dist/cjs/index.cjs.js +96 -0
- package/dist/cjs/lmvz-action.cjs.entry.js +22 -0
- package/dist/cjs/lmvz-button.cjs.entry.js +72 -0
- package/dist/cjs/lmvz-card.cjs.entry.js +33 -0
- package/dist/cjs/lmvz-chip.cjs.entry.js +18 -0
- package/dist/cjs/lmvz-components.cjs.js +25 -0
- package/dist/cjs/lmvz-header.cjs.entry.js +134 -0
- package/dist/cjs/lmvz-icon.cjs.entry.js +76 -0
- package/dist/cjs/lmvz-input.cjs.entry.js +176 -0
- package/dist/cjs/lmvz-menuitem.cjs.entry.js +32 -0
- package/dist/cjs/loader.cjs.js +13 -0
- package/dist/collection/api/ds.constants.js +73 -0
- package/dist/collection/api/index.js +1 -0
- package/dist/collection/assets/LMVZ_logo_175.svg +1 -0
- package/dist/collection/assets/card-placeholder.svg +4 -0
- package/dist/collection/assets/fonts/Router-Bold.woff +0 -0
- package/dist/collection/assets/fonts/Router-Book.woff +0 -0
- package/dist/collection/assets/fonts/Router-Medium.woff +0 -0
- package/dist/collection/assets/icons/Logo.svg +10 -0
- package/dist/collection/assets/icons/actions.svg +5 -0
- package/dist/collection/assets/icons/adduser.svg +3 -0
- package/dist/collection/assets/icons/alert.svg +3 -0
- package/dist/collection/assets/icons/apple.svg +3 -0
- package/dist/collection/assets/icons/arrow-down.svg +3 -0
- package/dist/collection/assets/icons/arrow-left.svg +3 -0
- package/dist/collection/assets/icons/arrow-right.svg +3 -0
- package/dist/collection/assets/icons/arrow-up.svg +3 -0
- package/dist/collection/assets/icons/book.svg +3 -0
- package/dist/collection/assets/icons/bookmark.svg +3 -0
- package/dist/collection/assets/icons/checkmark.svg +3 -0
- package/dist/collection/assets/icons/chevron-down.svg +3 -0
- package/dist/collection/assets/icons/chevron-left.svg +3 -0
- package/dist/collection/assets/icons/chevron-right.svg +3 -0
- package/dist/collection/assets/icons/chevron-up.svg +3 -0
- package/dist/collection/assets/icons/close-l.svg +3 -0
- package/dist/collection/assets/icons/close-sm.svg +3 -0
- package/dist/collection/assets/icons/cog.svg +4 -0
- package/dist/collection/assets/icons/computer.svg +3 -0
- package/dist/collection/assets/icons/dashboard.svg +6 -0
- package/dist/collection/assets/icons/delete.svg +3 -0
- package/dist/collection/assets/icons/download.svg +3 -0
- package/dist/collection/assets/icons/edit.svg +3 -0
- package/dist/collection/assets/icons/external.svg +3 -0
- package/dist/collection/assets/icons/facebook.svg +3 -0
- package/dist/collection/assets/icons/favorite.svg +3 -0
- package/dist/collection/assets/icons/filter.svg +3 -0
- package/dist/collection/assets/icons/group.svg +3 -0
- package/dist/collection/assets/icons/hide.svg +3 -0
- package/dist/collection/assets/icons/home.svg +3 -0
- package/dist/collection/assets/icons/info.svg +3 -0
- package/dist/collection/assets/icons/instagram.svg +3 -0
- package/dist/collection/assets/icons/letter.svg +3 -0
- package/dist/collection/assets/icons/linkedin.svg +5 -0
- package/dist/collection/assets/icons/logout.svg +3 -0
- package/dist/collection/assets/icons/map.svg +3 -0
- package/dist/collection/assets/icons/minus.svg +3 -0
- package/dist/collection/assets/icons/navigation.svg +3 -0
- package/dist/collection/assets/icons/plus.svg +3 -0
- package/dist/collection/assets/icons/qr-scan.svg +3 -0
- package/dist/collection/assets/icons/question.svg +10 -0
- package/dist/collection/assets/icons/reader.svg +3 -0
- package/dist/collection/assets/icons/reset.svg +3 -0
- package/dist/collection/assets/icons/school.svg +3 -0
- package/dist/collection/assets/icons/search.svg +3 -0
- package/dist/collection/assets/icons/send.svg +3 -0
- package/dist/collection/assets/icons/settings.svg +3 -0
- package/dist/collection/assets/icons/share.svg +10 -0
- package/dist/collection/assets/icons/shopping-cart.svg +3 -0
- package/dist/collection/assets/icons/show.svg +3 -0
- package/dist/collection/assets/icons/snapchat.svg +3 -0
- package/dist/collection/assets/icons/sort.svg +3 -0
- package/dist/collection/assets/icons/speech-bubble.svg +3 -0
- package/dist/collection/assets/icons/star.svg +3 -0
- package/dist/collection/assets/icons/student.svg +3 -0
- package/dist/collection/assets/icons/upload.svg +3 -0
- package/dist/collection/assets/icons/user.svg +3 -0
- package/dist/collection/assets/icons/warn-circle.svg +3 -0
- package/dist/collection/assets/icons/warn-triangle.svg +3 -0
- package/dist/collection/assets/icons/whatsapp.svg +4 -0
- package/dist/collection/assets/icons/world.svg +10 -0
- package/dist/collection/assets/icons/x.svg +3 -0
- package/dist/collection/assets/icons/youtube.svg +3 -0
- package/dist/collection/assets/zukunftslinie.svg +3 -0
- package/dist/collection/collection-manifest.json +21 -0
- package/dist/collection/components/lmvz-action/lmvz-action.css +3 -0
- package/dist/collection/components/lmvz-action/lmvz-action.js +45 -0
- package/dist/collection/components/lmvz-button/lmvz-button.css +199 -0
- package/dist/collection/components/lmvz-button/lmvz-button.js +245 -0
- package/dist/collection/components/lmvz-card/lmvz-card.css +283 -0
- package/dist/collection/components/lmvz-card/lmvz-card.js +137 -0
- package/dist/collection/components/lmvz-chip/lmvz-chip.css +3 -0
- package/dist/collection/components/lmvz-chip/lmvz-chip.js +42 -0
- package/dist/collection/components/lmvz-header/lmvz-header.css +49 -0
- package/dist/collection/components/lmvz-header/lmvz-header.js +138 -0
- package/dist/collection/components/lmvz-icon/icons.js +36 -0
- package/dist/collection/components/lmvz-icon/lmvz-icon.css +82 -0
- package/dist/collection/components/lmvz-icon/lmvz-icon.js +191 -0
- package/dist/collection/components/lmvz-icon/public.js +1 -0
- package/dist/collection/components/lmvz-icon/test/icons.unit.js +89 -0
- package/dist/collection/components/lmvz-input/lmvz-input.css +201 -0
- package/dist/collection/components/lmvz-input/lmvz-input.js +847 -0
- package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.css +89 -0
- package/dist/collection/components/lmvz-menuitem/lmvz-menuitem.js +97 -0
- package/dist/collection/index.js +3 -0
- package/dist/collection/integration/header-integration.js +28 -0
- package/dist/collection/styles/buttons.css +1 -0
- package/dist/collection/styles/router-font.css +1 -0
- package/dist/collection/styles/tokens.css +1 -0
- package/dist/collection/styles/typography.css +1 -0
- package/dist/collection/themes/all.css +1 -0
- package/dist/collection/themes/dark.css +1 -0
- package/dist/collection/themes/light.css +1 -0
- package/dist/collection/utils/component.js +268 -0
- package/dist/collection/utils/effect.js +6 -0
- package/dist/collection/utils/element-activation-controller.js +27 -0
- package/dist/collection/utils/http.js +24 -0
- package/dist/collection/utils/http.test.js +46 -0
- package/dist/collection/utils/list-keyboard-controller.js +44 -0
- package/dist/collection/utils/public.js +1 -0
- package/dist/collection/utils/reactive-controller-host.js +39 -0
- package/dist/collection/utils/typing.js +1 -0
- package/dist/collection/utils/url.js +7 -0
- package/dist/collection/utils/validation/aria-validation-controller.js +124 -0
- package/dist/collection/utils/validation/svg.js +24 -0
- package/dist/components/index.d.ts +53 -0
- package/dist/components/index.js +1 -0
- package/dist/components/lmvz-action.d.ts +11 -0
- package/dist/components/lmvz-action.js +1 -0
- package/dist/components/lmvz-button.d.ts +11 -0
- package/dist/components/lmvz-button.js +1 -0
- package/dist/components/lmvz-card.d.ts +11 -0
- package/dist/components/lmvz-card.js +1 -0
- package/dist/components/lmvz-chip.d.ts +11 -0
- package/dist/components/lmvz-chip.js +1 -0
- package/dist/components/lmvz-header.d.ts +11 -0
- package/dist/components/lmvz-header.js +1 -0
- package/dist/components/lmvz-icon.d.ts +11 -0
- package/dist/components/lmvz-icon.js +1 -0
- package/dist/components/lmvz-input.d.ts +11 -0
- package/dist/components/lmvz-input.js +1 -0
- package/dist/components/lmvz-menuitem.d.ts +11 -0
- package/dist/components/lmvz-menuitem.js +1 -0
- package/dist/components/p-B3JVFwO1.js +1 -0
- package/dist/components/p-B85MJLTf.js +1 -0
- package/dist/components/p-BFwzIh71.js +1 -0
- package/dist/components/p-BaPwpeMs.js +1 -0
- package/dist/components/p-CN0JX9-m.js +1 -0
- package/dist/components/p-D1HbKFuh.js +12 -0
- package/dist/components/p-DDmjv-N_.js +1 -0
- package/dist/components/p-DMLRPGid.js +6 -0
- package/dist/esm/Effect-D9S7OTyY.js +18963 -0
- package/dist/esm/_commonjsHelpers-B85MJLTf.js +5 -0
- package/dist/esm/app-globals-DQuL1Twl.js +3 -0
- package/dist/esm/aria-validation-controller-C7nQzCCq.js +2926 -0
- package/dist/esm/axe-cRQ9Ux1I.js +32832 -0
- package/dist/esm/component-B3JVFwO1.js +132 -0
- package/dist/esm/element-activation-controller-CN0JX9-m.js +29 -0
- package/dist/esm/icons-B71gAZmE.js +655 -0
- package/dist/esm/index-Bt32KzDW.js +90 -0
- package/dist/esm/index-smGPjoDX.js +2741 -0
- package/dist/esm/index.js +85 -0
- package/dist/esm/lmvz-action.entry.js +20 -0
- package/dist/esm/lmvz-button.entry.js +70 -0
- package/dist/esm/lmvz-card.entry.js +31 -0
- package/dist/esm/lmvz-chip.entry.js +16 -0
- package/dist/esm/lmvz-components.js +21 -0
- package/dist/esm/lmvz-header.entry.js +132 -0
- package/dist/esm/lmvz-icon.entry.js +74 -0
- package/dist/esm/lmvz-input.entry.js +174 -0
- package/dist/esm/lmvz-menuitem.entry.js +30 -0
- package/dist/esm/loader.js +11 -0
- package/dist/index.cjs.js +1 -0
- package/dist/index.js +1 -0
- package/dist/lmvz-components/assets/LMVZ_logo_175.svg +1 -0
- package/dist/lmvz-components/assets/card-placeholder.svg +4 -0
- package/dist/lmvz-components/assets/fonts/Router-Bold.woff +0 -0
- package/dist/lmvz-components/assets/fonts/Router-Book.woff +0 -0
- package/dist/lmvz-components/assets/fonts/Router-Medium.woff +0 -0
- package/dist/lmvz-components/assets/icons/Logo.svg +10 -0
- package/dist/lmvz-components/assets/icons/actions.svg +5 -0
- package/dist/lmvz-components/assets/icons/adduser.svg +3 -0
- package/dist/lmvz-components/assets/icons/alert.svg +3 -0
- package/dist/lmvz-components/assets/icons/apple.svg +3 -0
- package/dist/lmvz-components/assets/icons/arrow-down.svg +3 -0
- package/dist/lmvz-components/assets/icons/arrow-left.svg +3 -0
- package/dist/lmvz-components/assets/icons/arrow-right.svg +3 -0
- package/dist/lmvz-components/assets/icons/arrow-up.svg +3 -0
- package/dist/lmvz-components/assets/icons/book.svg +3 -0
- package/dist/lmvz-components/assets/icons/bookmark.svg +3 -0
- package/dist/lmvz-components/assets/icons/checkmark.svg +3 -0
- package/dist/lmvz-components/assets/icons/chevron-down.svg +3 -0
- package/dist/lmvz-components/assets/icons/chevron-left.svg +3 -0
- package/dist/lmvz-components/assets/icons/chevron-right.svg +3 -0
- package/dist/lmvz-components/assets/icons/chevron-up.svg +3 -0
- package/dist/lmvz-components/assets/icons/close-l.svg +3 -0
- package/dist/lmvz-components/assets/icons/close-sm.svg +3 -0
- package/dist/lmvz-components/assets/icons/cog.svg +4 -0
- package/dist/lmvz-components/assets/icons/computer.svg +3 -0
- package/dist/lmvz-components/assets/icons/dashboard.svg +6 -0
- package/dist/lmvz-components/assets/icons/delete.svg +3 -0
- package/dist/lmvz-components/assets/icons/download.svg +3 -0
- package/dist/lmvz-components/assets/icons/edit.svg +3 -0
- package/dist/lmvz-components/assets/icons/external.svg +3 -0
- package/dist/lmvz-components/assets/icons/facebook.svg +3 -0
- package/dist/lmvz-components/assets/icons/favorite.svg +3 -0
- package/dist/lmvz-components/assets/icons/filter.svg +3 -0
- package/dist/lmvz-components/assets/icons/group.svg +3 -0
- package/dist/lmvz-components/assets/icons/hide.svg +3 -0
- package/dist/lmvz-components/assets/icons/home.svg +3 -0
- package/dist/lmvz-components/assets/icons/info.svg +3 -0
- package/dist/lmvz-components/assets/icons/instagram.svg +3 -0
- package/dist/lmvz-components/assets/icons/letter.svg +3 -0
- package/dist/lmvz-components/assets/icons/linkedin.svg +5 -0
- package/dist/lmvz-components/assets/icons/logout.svg +3 -0
- package/dist/lmvz-components/assets/icons/map.svg +3 -0
- package/dist/lmvz-components/assets/icons/minus.svg +3 -0
- package/dist/lmvz-components/assets/icons/navigation.svg +3 -0
- package/dist/lmvz-components/assets/icons/plus.svg +3 -0
- package/dist/lmvz-components/assets/icons/qr-scan.svg +3 -0
- package/dist/lmvz-components/assets/icons/question.svg +10 -0
- package/dist/lmvz-components/assets/icons/reader.svg +3 -0
- package/dist/lmvz-components/assets/icons/reset.svg +3 -0
- package/dist/lmvz-components/assets/icons/school.svg +3 -0
- package/dist/lmvz-components/assets/icons/search.svg +3 -0
- package/dist/lmvz-components/assets/icons/send.svg +3 -0
- package/dist/lmvz-components/assets/icons/settings.svg +3 -0
- package/dist/lmvz-components/assets/icons/share.svg +10 -0
- package/dist/lmvz-components/assets/icons/shopping-cart.svg +3 -0
- package/dist/lmvz-components/assets/icons/show.svg +3 -0
- package/dist/lmvz-components/assets/icons/snapchat.svg +3 -0
- package/dist/lmvz-components/assets/icons/sort.svg +3 -0
- package/dist/lmvz-components/assets/icons/speech-bubble.svg +3 -0
- package/dist/lmvz-components/assets/icons/star.svg +3 -0
- package/dist/lmvz-components/assets/icons/student.svg +3 -0
- package/dist/lmvz-components/assets/icons/upload.svg +3 -0
- package/dist/lmvz-components/assets/icons/user.svg +3 -0
- package/dist/lmvz-components/assets/icons/warn-circle.svg +3 -0
- package/dist/lmvz-components/assets/icons/warn-triangle.svg +3 -0
- package/dist/lmvz-components/assets/icons/whatsapp.svg +4 -0
- package/dist/lmvz-components/assets/icons/world.svg +10 -0
- package/dist/lmvz-components/assets/icons/x.svg +3 -0
- package/dist/lmvz-components/assets/icons/youtube.svg +3 -0
- package/dist/lmvz-components/assets/zukunftslinie.svg +3 -0
- package/dist/lmvz-components/index.esm.js +1 -0
- package/dist/lmvz-components/lmvz-components.esm.js +1 -0
- package/dist/lmvz-components/p-87b01940.entry.js +1 -0
- package/dist/lmvz-components/p-9faac8f3.entry.js +1 -0
- package/dist/lmvz-components/p-B3JVFwO1.js +1 -0
- package/dist/lmvz-components/p-B85MJLTf.js +1 -0
- package/dist/lmvz-components/p-CN0JX9-m.js +1 -0
- package/dist/lmvz-components/p-D1HbKFuh.js +12 -0
- package/dist/lmvz-components/p-D9S7OTyY.js +1 -0
- package/dist/lmvz-components/p-DMLRPGid.js +6 -0
- package/dist/lmvz-components/p-DQuL1Twl.js +1 -0
- package/dist/lmvz-components/p-DlIX18fw.js +1 -0
- package/dist/lmvz-components/p-DlrjrWsu.js +1 -0
- package/dist/lmvz-components/p-a4615e4b.entry.js +1 -0
- package/dist/lmvz-components/p-a8c88454.entry.js +1 -0
- package/dist/lmvz-components/p-d4b68381.entry.js +1 -0
- package/dist/lmvz-components/p-e63e239a.entry.js +1 -0
- package/dist/lmvz-components/p-f956a5e7.entry.js +1 -0
- package/dist/lmvz-components/p-fefd2fe4.entry.js +1 -0
- package/dist/lmvz-components/p-smGPjoDX.js +2 -0
- package/dist/lmvz-components/styles/buttons.css +1 -0
- package/dist/lmvz-components/styles/router-font.css +1 -0
- package/dist/lmvz-components/styles/tokens.css +1 -0
- package/dist/lmvz-components/styles/typography.css +1 -0
- package/dist/lmvz-components/themes/all.css +1 -0
- package/dist/lmvz-components/themes/dark.css +1 -0
- package/dist/lmvz-components/themes/light.css +1 -0
- package/dist/manifest.d.ts +480 -0
- package/dist/manifest.json +5184 -0
- package/dist/types/api/aria-types.d.ts +9 -0
- package/dist/types/api/ds.constants.d.ts +8 -0
- package/dist/types/api/ds.types.d.ts +39 -0
- package/dist/types/api/index.d.ts +3 -0
- package/dist/types/components/lmvz-action/lmvz-action.d.ts +6 -0
- package/dist/types/components/lmvz-button/lmvz-button.d.ts +25 -0
- package/dist/types/components/lmvz-card/lmvz-card.d.ts +11 -0
- package/dist/types/components/lmvz-chip/lmvz-chip.d.ts +4 -0
- package/dist/types/components/lmvz-header/lmvz-header.d.ts +23 -0
- package/dist/types/components/lmvz-icon/icons.d.ts +8 -0
- package/dist/types/components/lmvz-icon/lmvz-icon.d.ts +20 -0
- package/dist/types/components/lmvz-icon/public.d.ts +1 -0
- package/dist/types/components/lmvz-icon/test/icons.unit.d.ts +1 -0
- package/dist/types/components/lmvz-input/lmvz-input.d.ts +63 -0
- package/dist/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +12 -0
- package/dist/types/components.d.ts +773 -0
- package/dist/types/index.d.ts +5 -0
- package/dist/types/stencil-public-runtime.d.ts +1860 -0
- package/dist/types/utils/component.d.ts +36 -0
- package/dist/types/utils/effect.d.ts +3 -0
- package/dist/types/utils/element-activation-controller.d.ts +19 -0
- package/dist/types/utils/http.d.ts +24 -0
- package/dist/types/utils/http.test.d.ts +1 -0
- package/dist/types/utils/list-keyboard-controller.d.ts +13 -0
- package/dist/types/utils/public.d.ts +1 -0
- package/dist/types/utils/reactive-controller-host.d.ts +26 -0
- package/dist/types/utils/typing.d.ts +3 -0
- package/dist/types/utils/url.d.ts +8 -0
- package/dist/types/utils/validation/aria-validation-controller.d.ts +31 -0
- package/dist/types/utils/validation/svg.d.ts +11 -0
- package/hydrate/index.d.ts +287 -0
- package/hydrate/index.js +78213 -0
- package/hydrate/index.mjs +78203 -0
- package/hydrate/package.json +12 -0
- package/loader/cdn.js +1 -0
- package/loader/index.cjs.js +1 -0
- package/loader/index.d.ts +24 -0
- package/loader/index.es2017.js +1 -0
- package/loader/index.js +2 -0
- package/package.json +216 -0
- package/readme.md +193 -0
package/loader/cdn.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
module.exports = require('../dist/cjs/loader.cjs.js');
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
export * from '../dist/types/components';
|
|
2
|
+
export interface CustomElementsDefineOptions {
|
|
3
|
+
exclude?: string[];
|
|
4
|
+
resourcesUrl?: string;
|
|
5
|
+
syncQueue?: boolean;
|
|
6
|
+
jmp?: (c: Function) => any;
|
|
7
|
+
raf?: (c: FrameRequestCallback) => number;
|
|
8
|
+
ael?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
9
|
+
rel?: (el: EventTarget, eventName: string, listener: EventListenerOrEventListenerObject, options: boolean | AddEventListenerOptions) => void;
|
|
10
|
+
}
|
|
11
|
+
export declare function defineCustomElements(win?: Window, opts?: CustomElementsDefineOptions): void;
|
|
12
|
+
/**
|
|
13
|
+
* @deprecated
|
|
14
|
+
*/
|
|
15
|
+
export declare function applyPolyfills(): Promise<void>;
|
|
16
|
+
|
|
17
|
+
/**
|
|
18
|
+
* Used to specify a nonce value that corresponds with an application's CSP.
|
|
19
|
+
* When set, the nonce will be added to all dynamically created script and style tags at runtime.
|
|
20
|
+
* Alternatively, the nonce value can be set on a meta tag in the DOM head
|
|
21
|
+
* (<meta name="csp-nonce" content="{ nonce value here }" />) which
|
|
22
|
+
* will result in the same behavior.
|
|
23
|
+
*/
|
|
24
|
+
export declare function setNonce(nonce: string): void;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from '../dist/esm/loader.js';
|
package/loader/index.js
ADDED
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
(function(){if("undefined"!==typeof window&&void 0!==window.Reflect&&void 0!==window.customElements){var a=HTMLElement;window.HTMLElement=function(){return Reflect.construct(a,[],this.constructor)};HTMLElement.prototype=a.prototype;HTMLElement.prototype.constructor=HTMLElement;Object.setPrototypeOf(HTMLElement,a)}})();
|
|
2
|
+
export * from '../dist/esm/loader.js';
|
package/package.json
ADDED
|
@@ -0,0 +1,216 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@lmvz-ds/components",
|
|
3
|
+
"private": false,
|
|
4
|
+
"type": "module",
|
|
5
|
+
"version": "0.11.4",
|
|
6
|
+
"description": "The components of the design system",
|
|
7
|
+
"author": "Patrick Nemenz <patrick.nemenz@adesso.at>",
|
|
8
|
+
"volta": {
|
|
9
|
+
"extends": "../../package.json"
|
|
10
|
+
},
|
|
11
|
+
"publishConfig": {
|
|
12
|
+
"access": "public",
|
|
13
|
+
"registry": "https://registry.npmjs.org/"
|
|
14
|
+
},
|
|
15
|
+
"lerna": {
|
|
16
|
+
"command": {
|
|
17
|
+
"publish": {
|
|
18
|
+
"directory": "./",
|
|
19
|
+
"assets": [
|
|
20
|
+
"dist/",
|
|
21
|
+
"loader/",
|
|
22
|
+
"hydrate/",
|
|
23
|
+
{
|
|
24
|
+
"from": "src/assets/*",
|
|
25
|
+
"to": "assets"
|
|
26
|
+
}
|
|
27
|
+
]
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
"files": [
|
|
32
|
+
"dist/",
|
|
33
|
+
"loader/",
|
|
34
|
+
"hydrate/",
|
|
35
|
+
"assets/"
|
|
36
|
+
],
|
|
37
|
+
"exports": {
|
|
38
|
+
".": {
|
|
39
|
+
"types": "./dist/components/index.d.ts",
|
|
40
|
+
"import": "./dist/components/index.js"
|
|
41
|
+
},
|
|
42
|
+
"./components": {
|
|
43
|
+
"types": "./dist/components/index.d.ts",
|
|
44
|
+
"import": "./dist/components/index.js"
|
|
45
|
+
},
|
|
46
|
+
"./components/*": {
|
|
47
|
+
"types": "./dist/components/*",
|
|
48
|
+
"import": "./dist/components/*"
|
|
49
|
+
},
|
|
50
|
+
"./manifest.json": "./dist/manifest.json",
|
|
51
|
+
"./assets/*": "./assets/*",
|
|
52
|
+
"./themes/*": "./dist/lmvz-components/themes/*",
|
|
53
|
+
"./styles/*": "./dist/lmvz-components/styles/*",
|
|
54
|
+
"./components/hydrate": {
|
|
55
|
+
"types": "./hydrate/index.d.ts",
|
|
56
|
+
"import": "./hydrate/index.js"
|
|
57
|
+
},
|
|
58
|
+
"./loader": {
|
|
59
|
+
"types": "./loader/index.d.ts",
|
|
60
|
+
"import": "./loader/index.js",
|
|
61
|
+
"require": "./loader/index.cjs"
|
|
62
|
+
},
|
|
63
|
+
"./lmvz-action": {
|
|
64
|
+
"import": "./dist/components/lmvz-action.js",
|
|
65
|
+
"types": "./dist/components/lmvz-action.d.ts"
|
|
66
|
+
},
|
|
67
|
+
"./lmvz-button": {
|
|
68
|
+
"types": "./dist/components/lmvz-button.d.ts",
|
|
69
|
+
"import": "./dist/components/lmvz-button.js"
|
|
70
|
+
},
|
|
71
|
+
"./lmvz-card": {
|
|
72
|
+
"types": "./dist/components/lmvz-card.d.ts",
|
|
73
|
+
"import": "./dist/components/lmvz-card.js"
|
|
74
|
+
},
|
|
75
|
+
"./lmvz-chip": {
|
|
76
|
+
"types": "./dist/components/lmvz-chip.d.ts",
|
|
77
|
+
"import": "./dist/components/lmvz-chip.js"
|
|
78
|
+
},
|
|
79
|
+
"./lmvz-icon": {
|
|
80
|
+
"types": "./dist/components/lmvz-icon.d.ts",
|
|
81
|
+
"import": "./dist/components/lmvz-icon.js"
|
|
82
|
+
},
|
|
83
|
+
"./lmvz-input": {
|
|
84
|
+
"import": "./dist/components/lmvz-input.js",
|
|
85
|
+
"types": "./dist/components/lmvz-input.d.ts"
|
|
86
|
+
},
|
|
87
|
+
"./lmvz-header": {
|
|
88
|
+
"import": "./dist/components/lmvz-header.js",
|
|
89
|
+
"types": "./dist/components/lmvz-header.d.ts"
|
|
90
|
+
},
|
|
91
|
+
"./header-integration": {
|
|
92
|
+
"import": "./dist/components/header-integration.js",
|
|
93
|
+
"types": "./dist/components/header-integration.d.ts"
|
|
94
|
+
},
|
|
95
|
+
"./lmvz-menuitem": {
|
|
96
|
+
"import": "./dist/components/lmvz-menuitem.js",
|
|
97
|
+
"types": "./dist/components/lmvz-menuitem.d.ts"
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
"main": "dist/index.cjs.js",
|
|
101
|
+
"module": "dist/components/index.js",
|
|
102
|
+
"types": "dist/components/index.d.ts",
|
|
103
|
+
"collection": "dist/collection/collection-manifest.json",
|
|
104
|
+
"license": "UNLICENSED",
|
|
105
|
+
"repository": {
|
|
106
|
+
"type": "git",
|
|
107
|
+
"url": "https://bitbucket.org/lmvz/lmvz-ds"
|
|
108
|
+
},
|
|
109
|
+
"scripts": {
|
|
110
|
+
"start": "npm run start:integration",
|
|
111
|
+
"start:integration": "concurrently 'npm run build:css -- --watch' 'npm run build:components -- --watch'",
|
|
112
|
+
"start:dev": "stencil build --watch --dev --serve --config stencil.config.dev.ts",
|
|
113
|
+
"build": "npm run build:css && npm run build:components",
|
|
114
|
+
"build:css": "vite build --config vite-style.config.js",
|
|
115
|
+
"build:styles": "npm run build:css",
|
|
116
|
+
"build:components": "stencil build --docs --prod --config stencil.config.prod.ts",
|
|
117
|
+
"build:debug": "node --inspect-brk ../../node_modules/.bin/stencil build --debug --docs --config ./stencil.config.dev.ts",
|
|
118
|
+
"build:dev": "stencil build --config stencil.config.integration.ts --debug",
|
|
119
|
+
"test": "npm run test.spec",
|
|
120
|
+
"test.spec": "jest",
|
|
121
|
+
"test.e2e": "playwright test",
|
|
122
|
+
"lint": "concurrently 'eslint \"src/**\"' 'stylelint \"src/**/*.css\" --config ./stylelint.config.mjs'",
|
|
123
|
+
"generate": "stencil generate",
|
|
124
|
+
"update": "npx npm-check-updates -u",
|
|
125
|
+
"version:mvn": "tsx scripts/update-pom-version.ts && git add pom.xml",
|
|
126
|
+
"version": "npm run version:mvn",
|
|
127
|
+
"postpack": "npm run version:mvn && mvn clean package",
|
|
128
|
+
"postpublish": "mvn deploy"
|
|
129
|
+
},
|
|
130
|
+
"nx": {
|
|
131
|
+
"targets": {
|
|
132
|
+
"start:integration": {
|
|
133
|
+
"dependsOn": []
|
|
134
|
+
},
|
|
135
|
+
"start:dev": {
|
|
136
|
+
"dependsOn": []
|
|
137
|
+
},
|
|
138
|
+
"build:css": {
|
|
139
|
+
"cache": true,
|
|
140
|
+
"dependsOn": [
|
|
141
|
+
"^build:css"
|
|
142
|
+
],
|
|
143
|
+
"outputs": [
|
|
144
|
+
"{projectRoot}/vite-generated"
|
|
145
|
+
]
|
|
146
|
+
},
|
|
147
|
+
"build:styles": {
|
|
148
|
+
"dependsOn": []
|
|
149
|
+
},
|
|
150
|
+
"build:components": {
|
|
151
|
+
"cache": true,
|
|
152
|
+
"dependsOn": [
|
|
153
|
+
"^build:components"
|
|
154
|
+
],
|
|
155
|
+
"outputs": [
|
|
156
|
+
"{projectRoot}/src/components.d.ts",
|
|
157
|
+
"{projectRoot}/.stencil",
|
|
158
|
+
"{projectRoot}/dist",
|
|
159
|
+
"{projectRoot}/hydrate",
|
|
160
|
+
"{projectRoot}/loader",
|
|
161
|
+
"{projectRoot}/assets"
|
|
162
|
+
]
|
|
163
|
+
},
|
|
164
|
+
"postpack": {
|
|
165
|
+
"cache": true,
|
|
166
|
+
"dependsOn": [],
|
|
167
|
+
"outputs": [
|
|
168
|
+
"{projectRoot}/pom.xml",
|
|
169
|
+
"{projectRoot}/target"
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
"version:mvn": {
|
|
173
|
+
"dependsOn": [],
|
|
174
|
+
"outputs": [
|
|
175
|
+
"{projectRoot}/pom.xml"
|
|
176
|
+
]
|
|
177
|
+
},
|
|
178
|
+
"lint": {
|
|
179
|
+
"dependsOn": [
|
|
180
|
+
"^build"
|
|
181
|
+
]
|
|
182
|
+
}
|
|
183
|
+
}
|
|
184
|
+
},
|
|
185
|
+
"dependencies": {
|
|
186
|
+
"classnames": "^2.5.1",
|
|
187
|
+
"effect": "3.19.14"
|
|
188
|
+
},
|
|
189
|
+
"devDependencies": {
|
|
190
|
+
"@lmvz-ds/design-tokens": "^0.11.4",
|
|
191
|
+
"@playwright/test": "^1.55.0",
|
|
192
|
+
"@stencil-community/postcss": "^2.2.0",
|
|
193
|
+
"@stencil/angular-output-target": "1.3.0",
|
|
194
|
+
"@stencil/core": "4.43.2",
|
|
195
|
+
"@stencil/playwright": "^0.2.1",
|
|
196
|
+
"@stencil/react-output-target": "^1.2.0",
|
|
197
|
+
"@stencil/utils": "0.0.5",
|
|
198
|
+
"@stencil/vue-output-target": "^0.11.8",
|
|
199
|
+
"@types/jest": "^30.0.0",
|
|
200
|
+
"@types/postcss-import": "^14.0.3",
|
|
201
|
+
"axe-core": "^4.11.1",
|
|
202
|
+
"concurrently": "^9.2.1",
|
|
203
|
+
"jest": "^30.2.0",
|
|
204
|
+
"jest-cli": "^30.2.0",
|
|
205
|
+
"jest-stencil-runner": "^0.0.19",
|
|
206
|
+
"postcss-import": "^16.1.1",
|
|
207
|
+
"rollup-plugin-postcss": "^4.0.2",
|
|
208
|
+
"stylelint": "^17.0.0",
|
|
209
|
+
"stylelint-config-standard": "^40.0.0",
|
|
210
|
+
"stylelint-value-no-unknown-custom-properties": "^6.1.1",
|
|
211
|
+
"ts-deepmerge": "^7.0.3",
|
|
212
|
+
"tsx": "^4.21.0",
|
|
213
|
+
"vite": "^7.3.1"
|
|
214
|
+
},
|
|
215
|
+
"gitHead": "e59dc5d5385de2f565fc55bac83ca8710eefc40f"
|
|
216
|
+
}
|
package/readme.md
ADDED
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
[](https://stenciljs.com)
|
|
2
|
+
|
|
3
|
+
Stencil is a compiler for building web apps using Web Components.
|
|
4
|
+
|
|
5
|
+
# LMVZ Component Library
|
|
6
|
+
|
|
7
|
+
This is the component library of the LMVZ Design System
|
|
8
|
+
|
|
9
|
+
## About
|
|
10
|
+
|
|
11
|
+
This package uses **Stencil** to create web components—for browser-native usage—and framework-specific wrapper utils for angular and react (which are wrapped using their dedicated sibling packages).
|
|
12
|
+
It also uses **Effect** (aka. effect-ts) for improved type-safety error handling
|
|
13
|
+
|
|
14
|
+
## General Guidelines for Consuming This Package (in your project)
|
|
15
|
+
|
|
16
|
+
Always consider the Integration chapter in the Design Guide. In the context of a UI framework, consider using the specific wrapper packages: `@lmvz-ds/angular`, `@lmvz-ds/react`, `@lmvz-ds/vue`.
|
|
17
|
+
|
|
18
|
+
### Limitations
|
|
19
|
+
|
|
20
|
+
Currently, the only way to get hold of the pre-built component bundle is by installing it as a dependency from our private npm or maven repos (behind adesso's VPN). Make sure to setup this registry by copying the `.npmrc` from the @lmvz-ds root project to your workspace root.
|
|
21
|
+
|
|
22
|
+
Use the Maven WebJars variant when importing into a Spring Boot project without a node-built client. In this case, import paths described here have to be adjusted. Also see the Usage section in MAVEN_DEPLOYMENT.md.
|
|
23
|
+
|
|
24
|
+
## NPM Integration
|
|
25
|
+
|
|
26
|
+
### Installation
|
|
27
|
+
|
|
28
|
+
```bash
|
|
29
|
+
npm i @lmvz-ds/components
|
|
30
|
+
```
|
|
31
|
+
|
|
32
|
+
## Maven Integration
|
|
33
|
+
|
|
34
|
+
### Local Config
|
|
35
|
+
|
|
36
|
+
In your pom.xml add the following:
|
|
37
|
+
|
|
38
|
+
```xml
|
|
39
|
+
<repositories>
|
|
40
|
+
<repository>
|
|
41
|
+
<id>gitlab-maven</id>
|
|
42
|
+
<url>https://git.adesso.ch/api/v4/projects/1000/packages/maven</url>
|
|
43
|
+
</repository>
|
|
44
|
+
</repositories>
|
|
45
|
+
|
|
46
|
+
<dependencies>
|
|
47
|
+
<dependency>
|
|
48
|
+
<groupId>ch.lmvz.ds</groupId>
|
|
49
|
+
<artifactId>components</artifactId>
|
|
50
|
+
<version>0.3.6</version>
|
|
51
|
+
</dependency>
|
|
52
|
+
</dependencies>
|
|
53
|
+
```
|
|
54
|
+
|
|
55
|
+
Then run `mvn clean install`in your project folder.
|
|
56
|
+
|
|
57
|
+
### Accessing Resources
|
|
58
|
+
|
|
59
|
+
Once the WebJar is on your classpath, the resources are automatically available at:
|
|
60
|
+
|
|
61
|
+
```
|
|
62
|
+
/webjars/lmvz-ds/components/{version}/{filename}
|
|
63
|
+
```
|
|
64
|
+
|
|
65
|
+
For example, in a Spring Boot application:
|
|
66
|
+
|
|
67
|
+
```html
|
|
68
|
+
<link rel="stylesheet" href="/webjars/lmvz-ds/components/0.3.6/themes/light.css" />
|
|
69
|
+
<script src="/webjars/lmvz-ds/components/0.3.6/components/lmvz-button.js"></script>
|
|
70
|
+
```
|
|
71
|
+
|
|
72
|
+
## Usage
|
|
73
|
+
|
|
74
|
+
In a web app, import components directly (`import LmvzCard from '.../components/lmvz-card.js'`) or the loader (e.g., `import { defineCustomElements } from '.../loader';`) and call `defineCustomElements(window)` to register all components globally.
|
|
75
|
+
Use the CDN version (cdn.js) for direct browser inclusion via <script> tags.
|
|
76
|
+
The loader is essential when integrating Stencil components into non-Stencil projects (React, Angular, plain HTML) to ensure custom elements are defined and polyfills loaded.
|
|
77
|
+
|
|
78
|
+
### Styles
|
|
79
|
+
|
|
80
|
+
Always import one of the available themes as early in your application as possible in your main CSS file:
|
|
81
|
+
|
|
82
|
+
```css
|
|
83
|
+
@import '@lmvz-ds/components/themes/light.css';
|
|
84
|
+
```
|
|
85
|
+
|
|
86
|
+
... or in your HTML
|
|
87
|
+
|
|
88
|
+
```html
|
|
89
|
+
<link rel="stylesheet" "baseUrl/@lmvz-ds/components/themes/light.css">
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
Optionally, you can then import available `style/`-Packages:
|
|
93
|
+
|
|
94
|
+
- @lmvz-ds/components/styles/typography.css
|
|
95
|
+
- @lmvz-ds/components/styles/button.css
|
|
96
|
+
|
|
97
|
+
These will provide styles in the global CSS scope and target native DOM elements.
|
|
98
|
+
|
|
99
|
+
### Components
|
|
100
|
+
|
|
101
|
+
Components are built in standalone mode, using [`dist-custom-elements`](https://stenciljs.com/docs/custom-elements). This way, you can import the components individually, wherever they are needed.
|
|
102
|
+
|
|
103
|
+
For example, given you'd like to use `<my-component />` as part of your application, you can import the component directly via:
|
|
104
|
+
|
|
105
|
+
```tsx
|
|
106
|
+
import '@lmvz-ds/components/my-component';
|
|
107
|
+
|
|
108
|
+
function App() {
|
|
109
|
+
return (
|
|
110
|
+
<>
|
|
111
|
+
<div>
|
|
112
|
+
<my-component first="Stencil" middle="'Don't call me a framework'" last="JS"></my-component>
|
|
113
|
+
</div>
|
|
114
|
+
</>
|
|
115
|
+
);
|
|
116
|
+
}
|
|
117
|
+
|
|
118
|
+
export default App;
|
|
119
|
+
```
|
|
120
|
+
|
|
121
|
+
⚠️ The components' bundled styles will not affect native HTML elements, so you still need to import style packages you want to use globally.
|
|
122
|
+
|
|
123
|
+
## Making changes to this package
|
|
124
|
+
|
|
125
|
+
### Getting Started
|
|
126
|
+
|
|
127
|
+
```bash
|
|
128
|
+
npm install
|
|
129
|
+
```
|
|
130
|
+
|
|
131
|
+
### Workflow
|
|
132
|
+
|
|
133
|
+
See the parent project's readme for the overarching process' description.
|
|
134
|
+
|
|
135
|
+
### Configuration
|
|
136
|
+
|
|
137
|
+
Different Stencil configs are necessary, since we need the following constellations (which are not possible with a single config):
|
|
138
|
+
|
|
139
|
+
- local Stencil dev-server: classic dev build
|
|
140
|
+
- Storybook integration: prod build + source maps (dev build does not generate source files in dist/)
|
|
141
|
+
- release build: prod build without source maps
|
|
142
|
+
|
|
143
|
+
package.json exports should be generated along with the Stencil build (for new components).
|
|
144
|
+
|
|
145
|
+
### Development
|
|
146
|
+
|
|
147
|
+
Use the `start:dev` script to start Stencil's dev server.
|
|
148
|
+
(`start` will be called from the Storybook sibling package and will only run a (watching) production build).
|
|
149
|
+
|
|
150
|
+
### Building
|
|
151
|
+
|
|
152
|
+
To build the components (and styles) for production, run the build script. This will also sync changes to the wrapper projects.
|
|
153
|
+
|
|
154
|
+
```bash
|
|
155
|
+
npm run build
|
|
156
|
+
```
|
|
157
|
+
|
|
158
|
+
### Creating New Components
|
|
159
|
+
|
|
160
|
+
Always use the `lmvz-` prefix when creating new components!
|
|
161
|
+
|
|
162
|
+
```bash
|
|
163
|
+
npm run @stencil/core generate lmvz-[component name]
|
|
164
|
+
```
|
|
165
|
+
|
|
166
|
+
### Styling
|
|
167
|
+
|
|
168
|
+
Exported styles are built using vite/postcss. See `vite-style.config.js`.
|
|
169
|
+
|
|
170
|
+
For usage notes see `./styles/readme.md`.
|
|
171
|
+
|
|
172
|
+
### Testing
|
|
173
|
+
|
|
174
|
+
To run the unit tests for the components, run:
|
|
175
|
+
|
|
176
|
+
```bash
|
|
177
|
+
npm test
|
|
178
|
+
```
|
|
179
|
+
|
|
180
|
+
#### Integration Testing
|
|
181
|
+
|
|
182
|
+
Since components can be integrated in various ways, always test integrations:
|
|
183
|
+
|
|
184
|
+
- Stencil dev mode and preview (see package scripts).
|
|
185
|
+
- With the Storybook package.
|
|
186
|
+
- Angular, React, ... wrappers
|
|
187
|
+
|
|
188
|
+
#### E2E
|
|
189
|
+
|
|
190
|
+
TODOs
|
|
191
|
+
|
|
192
|
+
- Current Playwright integration is broken or will break Jest integration.
|
|
193
|
+
- Vitest-Browser + Stencil is bleeding edge and needs eval.
|