@lmvz-ds/components 0.17.1 → 0.18.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +39 -0
- package/{readme.md → README.md} +3 -0
- package/assets/.DS_Store +0 -0
- package/assets/icons/.DS_Store +0 -0
- package/{dist/cjs/aria-loader-BRxRUIyi.js → cjs/aria-loader-CfFuAbJn.js} +2 -2
- package/cjs/icons-swqMn6s2.js +163 -0
- package/{dist/cjs/index-BBqtydE-.js → cjs/index--7IqZZqn.js} +22965 -11151
- package/{dist/cjs/index-CH-YLRgg.js → cjs/index-C2yDXRqP.js} +45 -10
- package/cjs/index.cjs.js +25 -0
- package/{dist/cjs → cjs}/lmvz-action.cjs.entry.js +2 -2
- package/{dist/cjs → cjs}/lmvz-button.cjs.entry.js +4 -4
- package/{dist/cjs → cjs}/lmvz-card.cjs.entry.js +24 -4
- package/{dist/cjs → cjs}/lmvz-chip.cjs.entry.js +2 -2
- package/{dist/cjs → cjs}/lmvz-components.cjs.js +3 -3
- package/{dist/cjs → cjs}/lmvz-header_2.cjs.entry.js +6 -6
- package/{dist/cjs → cjs}/lmvz-icon.cjs.entry.js +25 -14
- package/{dist/cjs → cjs}/lmvz-input.cjs.entry.js +5 -5
- package/{dist/cjs → cjs}/lmvz-menuitem.cjs.entry.js +4 -4
- package/{dist/cjs → cjs}/lmvz-select.cjs.entry.js +4 -4
- package/cjs/loader.cjs.js +13 -0
- package/cjs/logger-Bn2yoZGP.js +7189 -0
- package/{dist/cjs/reactive-controller-host-vy1TIIXv.js → cjs/reactive-controller-host-CtaVAiYJ.js} +30 -26
- package/collection/api/ds.constants.js +7 -0
- package/collection/assets/.DS_Store +0 -0
- package/collection/assets/icons/.DS_Store +0 -0
- package/{dist/collection → collection}/collection-manifest.json +2 -2
- package/{dist/collection → collection}/components/lmvz-action/lmvz-action.js +1 -1
- package/{dist/collection → collection}/components/lmvz-button/lmvz-button.js +5 -5
- package/{dist/collection → collection}/components/lmvz-card/lmvz-card.js +1 -1
- package/{dist/collection → collection}/components/lmvz-chip/lmvz-chip.js +1 -1
- package/{dist/collection → collection}/components/lmvz-header/lmvz-header.js +2 -2
- package/{dist/collection → collection}/components/lmvz-icon/lmvz-icon.css +5 -5
- package/{dist/collection → collection}/components/lmvz-icon/lmvz-icon.js +49 -18
- package/{dist/collection → collection}/components/lmvz-input/lmvz-input.js +6 -6
- package/{dist/collection → collection}/components/lmvz-menuitem/lmvz-menuitem.js +1 -1
- package/{dist/collection → collection}/components/lmvz-select/lmvz-select.js +1 -1
- package/collection/index.js +3 -0
- package/collection/integration/header-integration/header-integration.js +51 -0
- package/{dist/collection → collection}/utils/aria/aria-validation-controller.js +29 -25
- package/collection/utils/http.js +21 -0
- package/{dist/collection → collection}/utils/http.unit.js +5 -5
- package/collection/utils/icons/icons-registry.js +34 -0
- package/collection/utils/icons/icons.js +49 -0
- package/collection/utils/icons/icons.unit.js +73 -0
- package/collection/utils/icons/public.js +2 -0
- package/collection/utils/public.js +1 -0
- package/components/index.d.ts.bak +55 -0
- package/components/index.js +1 -0
- package/components/lmvz-action.d.ts.bak +11 -0
- package/components/lmvz-action.js +1 -0
- package/components/lmvz-button.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-button.js +1 -1
- package/components/lmvz-card.d.ts.bak +11 -0
- package/components/lmvz-card.js +1 -0
- package/components/lmvz-chip.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-chip.js +1 -1
- package/components/lmvz-header.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-header.js +1 -1
- package/components/lmvz-icon.d.ts.bak +11 -0
- package/components/lmvz-icon.js +1 -0
- package/components/lmvz-input.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-input.js +1 -1
- package/components/lmvz-menuitem.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-menuitem.js +1 -1
- package/components/lmvz-select.d.ts.bak +11 -0
- package/{dist/components → components}/lmvz-select.js +1 -1
- package/components/p-CBLAeife.js +1 -0
- package/components/p-C_bScbrd.js +1 -0
- package/components/p-DXOTa5VF.js +12 -0
- package/components/p-fiRXhuXK.js +1 -0
- package/{dist/esm/aria-loader-JxXwTAe5.js → esm/aria-loader-BF_AYtbb.js} +2 -2
- package/esm/icons-Ca8oMiRa.js +157 -0
- package/{dist/esm/index-BW1YMEA3.js → esm/index-7Ru1khgk.js} +23076 -11262
- package/{dist/esm/index-CQb-mBBB.js → esm/index-saW7O-EW.js} +45 -10
- package/esm/index.js +11 -0
- package/{dist/esm → esm}/lmvz-action.entry.js +2 -2
- package/{dist/esm → esm}/lmvz-button.entry.js +4 -4
- package/{dist/esm → esm}/lmvz-card.entry.js +22 -3
- package/{dist/esm → esm}/lmvz-chip.entry.js +2 -2
- package/esm/lmvz-components.js +21 -0
- package/{dist/esm → esm}/lmvz-header_2.entry.js +6 -6
- package/{dist/esm → esm}/lmvz-icon.entry.js +25 -14
- package/{dist/esm → esm}/lmvz-input.entry.js +5 -5
- package/{dist/esm → esm}/lmvz-menuitem.entry.js +4 -4
- package/{dist/esm → esm}/lmvz-select.entry.js +4 -4
- package/esm/loader.js +11 -0
- package/esm/logger-fiRXhuXK.js +6990 -0
- package/{dist/esm/reactive-controller-host-OhKYwMvP.js → esm/reactive-controller-host-sR2jJxNG.js} +30 -26
- package/hydrate/index.js +183 -3898
- package/hydrate/index.mjs +183 -3898
- package/lmvz-components/index.esm.js +1 -0
- package/lmvz-components/lmvz-components.esm.js +1 -0
- package/{dist/lmvz-components/p-b8926640.entry.js → lmvz-components/p-30b99f11.entry.js} +1 -1
- package/lmvz-components/p-43e295ba.entry.js +1 -0
- package/lmvz-components/p-5f150890.entry.js +1 -0
- package/{dist/lmvz-components/p-b9d1953f.entry.js → lmvz-components/p-77007422.entry.js} +1 -1
- package/{dist/lmvz-components/p-Bx29-tJt.js → lmvz-components/p-B3dnXEPG.js} +1 -1
- package/lmvz-components/p-Bh2Epkwf.js +1 -0
- package/lmvz-components/p-Bkfdgg0T.js +1 -0
- package/lmvz-components/p-DXOTa5VF.js +12 -0
- package/lmvz-components/p-ae4aeb0a.entry.js +1 -0
- package/lmvz-components/p-b0208356.entry.js +1 -0
- package/{dist/lmvz-components/p-4530f088.entry.js → lmvz-components/p-bfd7db0a.entry.js} +1 -1
- package/{dist/lmvz-components/p-150ecfb6.entry.js → lmvz-components/p-d2e42f6a.entry.js} +1 -1
- package/{dist/lmvz-components/p-47d7ed0e.entry.js → lmvz-components/p-ffa21507.entry.js} +1 -1
- package/lmvz-components/p-fiRXhuXK.js +1 -0
- package/lmvz-components/p-saW7O-EW.js +2 -0
- package/loader/cdn.js +1 -1
- package/loader/index.cjs.js +1 -1
- package/loader/index.d.ts +1 -1
- package/loader/index.es2017.js +1 -1
- package/loader/index.js +1 -1
- package/{dist/manifest.json → manifest.json} +65 -284
- package/package.json +44 -105
- package/types/api/ds.constants.d.ts +29 -0
- package/types/api/ds.types.d.ts +4 -0
- package/{dist/types → types}/api/index.d.ts +0 -1
- package/{dist/types → types}/components/lmvz-action/lmvz-action.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-button/lmvz-button.d.ts +2 -2
- package/{dist/types → types}/components/lmvz-card/lmvz-card.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-chip/lmvz-chip.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-header/lmvz-header.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-icon/lmvz-icon.d.ts +4 -1
- package/{dist/types → types}/components/lmvz-input/lmvz-input.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-menuitem/lmvz-menuitem.d.ts +1 -0
- package/{dist/types → types}/components/lmvz-select/lmvz-select.d.ts +1 -0
- package/types/components.d.ts +747 -0
- package/{dist/types → types}/index.d.ts +2 -2
- package/{dist/types → types}/utils/aria/aria-validation-controller.d.ts +1 -0
- package/{dist/types → types}/utils/aria/element-activation-controller.d.ts +1 -0
- package/{dist/types → types}/utils/aria/list-keyboard-controller.d.ts +1 -0
- package/{dist/types → types}/utils/assets.d.ts +1 -0
- package/{dist/types → types}/utils/component.d.ts +2 -4
- package/{dist/types → types}/utils/environment.d.ts +1 -0
- package/types/utils/http.d.ts +27 -0
- package/types/utils/http.unit.d.ts +2 -0
- package/types/utils/icons/icons-registry.d.ts +13 -0
- package/types/utils/icons/icons.d.ts +8 -0
- package/types/utils/icons/icons.unit.d.ts +8 -0
- package/types/utils/icons/public.d.ts +4 -0
- package/types/utils/public.d.ts +2 -0
- package/{dist/types → types}/utils/reactive-controller-host.d.ts +1 -0
- package/assets/icons/actions.svg +0 -5
- package/assets/icons/adduser.svg +0 -3
- package/assets/icons/alert.svg +0 -3
- package/assets/icons/apple.svg +0 -3
- package/assets/icons/arrow-down.svg +0 -3
- package/assets/icons/arrow-left.svg +0 -3
- package/assets/icons/arrow-right.svg +0 -3
- package/assets/icons/arrow-up.svg +0 -3
- package/assets/icons/book.svg +0 -3
- package/assets/icons/bookmark.svg +0 -3
- package/assets/icons/checkmark.svg +0 -3
- package/assets/icons/chevron-left.svg +0 -3
- package/assets/icons/chevron-right.svg +0 -3
- package/assets/icons/chevron-up.svg +0 -3
- package/assets/icons/close-l.svg +0 -3
- package/assets/icons/close-sm.svg +0 -3
- package/assets/icons/cog.svg +0 -4
- package/assets/icons/computer.svg +0 -3
- package/assets/icons/dashboard.svg +0 -6
- package/assets/icons/delete.svg +0 -3
- package/assets/icons/download.svg +0 -3
- package/assets/icons/edit.svg +0 -3
- package/assets/icons/external.svg +0 -3
- package/assets/icons/facebook.svg +0 -3
- package/assets/icons/favorite.svg +0 -3
- package/assets/icons/filter.svg +0 -3
- package/assets/icons/group.svg +0 -3
- package/assets/icons/hide.svg +0 -3
- package/assets/icons/home.svg +0 -3
- package/assets/icons/info.svg +0 -3
- package/assets/icons/instagram.svg +0 -3
- package/assets/icons/letter.svg +0 -3
- package/assets/icons/linkedin.svg +0 -5
- package/assets/icons/logout.svg +0 -3
- package/assets/icons/map.svg +0 -3
- package/assets/icons/minus.svg +0 -3
- package/assets/icons/navigation.svg +0 -3
- package/assets/icons/plus.svg +0 -3
- package/assets/icons/qr-scan.svg +0 -3
- package/assets/icons/question.svg +0 -10
- package/assets/icons/reader.svg +0 -3
- package/assets/icons/reset.svg +0 -3
- package/assets/icons/school.svg +0 -3
- package/assets/icons/search.svg +0 -3
- package/assets/icons/send.svg +0 -3
- package/assets/icons/settings.svg +0 -3
- package/assets/icons/share.svg +0 -10
- package/assets/icons/shopping-cart.svg +0 -3
- package/assets/icons/show.svg +0 -3
- package/assets/icons/snapchat.svg +0 -3
- package/assets/icons/sort.svg +0 -3
- package/assets/icons/speech-bubble.svg +0 -3
- package/assets/icons/star.svg +0 -3
- package/assets/icons/student.svg +0 -3
- package/assets/icons/upload.svg +0 -3
- package/assets/icons/user.svg +0 -3
- package/assets/icons/warn-circle.svg +0 -3
- package/assets/icons/warn-triangle.svg +0 -3
- package/assets/icons/whatsapp.svg +0 -4
- package/assets/icons/world.svg +0 -10
- package/assets/icons/x.svg +0 -3
- package/assets/icons/youtube.svg +0 -3
- package/dist/cjs/Effect-DdYOHaR4.js +0 -19037
- package/dist/cjs/assets-OvQ-WUwR.js +0 -26
- package/dist/cjs/icons-EHBLbidD.js +0 -653
- package/dist/cjs/index.cjs.js +0 -104
- package/dist/cjs/loader.cjs.js +0 -13
- package/dist/collection/api/ds.constants.js +0 -73
- package/dist/collection/api/index.js +0 -1
- package/dist/collection/assets/icons/actions.svg +0 -5
- package/dist/collection/assets/icons/adduser.svg +0 -3
- package/dist/collection/assets/icons/alert.svg +0 -3
- package/dist/collection/assets/icons/apple.svg +0 -3
- package/dist/collection/assets/icons/arrow-down.svg +0 -3
- package/dist/collection/assets/icons/arrow-left.svg +0 -3
- package/dist/collection/assets/icons/arrow-right.svg +0 -3
- package/dist/collection/assets/icons/arrow-up.svg +0 -3
- package/dist/collection/assets/icons/book.svg +0 -3
- package/dist/collection/assets/icons/bookmark.svg +0 -3
- package/dist/collection/assets/icons/checkmark.svg +0 -3
- package/dist/collection/assets/icons/chevron-left.svg +0 -3
- package/dist/collection/assets/icons/chevron-right.svg +0 -3
- package/dist/collection/assets/icons/chevron-up.svg +0 -3
- package/dist/collection/assets/icons/close-l.svg +0 -3
- package/dist/collection/assets/icons/close-sm.svg +0 -3
- package/dist/collection/assets/icons/cog.svg +0 -4
- package/dist/collection/assets/icons/computer.svg +0 -3
- package/dist/collection/assets/icons/dashboard.svg +0 -6
- package/dist/collection/assets/icons/delete.svg +0 -3
- package/dist/collection/assets/icons/download.svg +0 -3
- package/dist/collection/assets/icons/edit.svg +0 -3
- package/dist/collection/assets/icons/external.svg +0 -3
- package/dist/collection/assets/icons/facebook.svg +0 -3
- package/dist/collection/assets/icons/favorite.svg +0 -3
- package/dist/collection/assets/icons/filter.svg +0 -3
- package/dist/collection/assets/icons/group.svg +0 -3
- package/dist/collection/assets/icons/hide.svg +0 -3
- package/dist/collection/assets/icons/home.svg +0 -3
- package/dist/collection/assets/icons/info.svg +0 -3
- package/dist/collection/assets/icons/instagram.svg +0 -3
- package/dist/collection/assets/icons/letter.svg +0 -3
- package/dist/collection/assets/icons/linkedin.svg +0 -5
- package/dist/collection/assets/icons/logout.svg +0 -3
- package/dist/collection/assets/icons/map.svg +0 -3
- package/dist/collection/assets/icons/minus.svg +0 -3
- package/dist/collection/assets/icons/navigation.svg +0 -3
- package/dist/collection/assets/icons/plus.svg +0 -3
- package/dist/collection/assets/icons/qr-scan.svg +0 -3
- package/dist/collection/assets/icons/question.svg +0 -10
- package/dist/collection/assets/icons/reader.svg +0 -3
- package/dist/collection/assets/icons/reset.svg +0 -3
- package/dist/collection/assets/icons/school.svg +0 -3
- package/dist/collection/assets/icons/search.svg +0 -3
- package/dist/collection/assets/icons/send.svg +0 -3
- package/dist/collection/assets/icons/settings.svg +0 -3
- package/dist/collection/assets/icons/share.svg +0 -10
- package/dist/collection/assets/icons/shopping-cart.svg +0 -3
- package/dist/collection/assets/icons/show.svg +0 -3
- package/dist/collection/assets/icons/snapchat.svg +0 -3
- package/dist/collection/assets/icons/sort.svg +0 -3
- package/dist/collection/assets/icons/speech-bubble.svg +0 -3
- package/dist/collection/assets/icons/star.svg +0 -3
- package/dist/collection/assets/icons/student.svg +0 -3
- package/dist/collection/assets/icons/upload.svg +0 -3
- package/dist/collection/assets/icons/user.svg +0 -3
- package/dist/collection/assets/icons/warn-circle.svg +0 -3
- package/dist/collection/assets/icons/warn-triangle.svg +0 -3
- package/dist/collection/assets/icons/whatsapp.svg +0 -4
- package/dist/collection/assets/icons/world.svg +0 -10
- package/dist/collection/assets/icons/x.svg +0 -3
- package/dist/collection/assets/icons/youtube.svg +0 -3
- package/dist/collection/components/lmvz-icon/icons.js +0 -36
- package/dist/collection/components/lmvz-icon/public.js +0 -1
- package/dist/collection/components/lmvz-icon/test/icons.unit.js +0 -98
- package/dist/collection/index.js +0 -4
- package/dist/collection/integration/header-integration.js +0 -46
- package/dist/collection/utils/effect.js +0 -6
- package/dist/collection/utils/http.js +0 -24
- package/dist/collection/utils/public.js +0 -1
- package/dist/collection/utils/validation/svg.js +0 -24
- package/dist/components/index.js +0 -1
- package/dist/components/lmvz-action.js +0 -1
- package/dist/components/lmvz-card.js +0 -1
- package/dist/components/lmvz-icon.js +0 -1
- package/dist/components/p-BsHYIl56.js +0 -1
- package/dist/components/p-CKtksB0G.js +0 -1
- package/dist/components/p-CahBdGGN.js +0 -1
- package/dist/components/p-GKEnURpp.js +0 -1
- package/dist/components/p-vIq2biqy.js +0 -12
- package/dist/esm/Effect-9SROYpxM.js +0 -18828
- package/dist/esm/assets-CNHv_WMG.js +0 -23
- package/dist/esm/icons-B255FOe4.js +0 -649
- package/dist/esm/index.js +0 -87
- package/dist/esm/lmvz-components.js +0 -21
- package/dist/esm/loader.js +0 -11
- package/dist/ext-libs.d.ts +0 -1
- package/dist/lmvz-components/index.esm.js +0 -1
- package/dist/lmvz-components/lmvz-components.esm.js +0 -1
- package/dist/lmvz-components/p-22f67eff.entry.js +0 -1
- package/dist/lmvz-components/p-5c3f1404.entry.js +0 -1
- package/dist/lmvz-components/p-8d51e396.entry.js +0 -1
- package/dist/lmvz-components/p-9SROYpxM.js +0 -1
- package/dist/lmvz-components/p-CQb-mBBB.js +0 -2
- package/dist/lmvz-components/p-Cp76bcGb.js +0 -1
- package/dist/lmvz-components/p-Cp7cp10e.js +0 -12
- package/dist/lmvz-components/p-DyO6wO4l.js +0 -1
- package/dist/lmvz-components/p-d9c3f542.entry.js +0 -1
- package/dist/lmvz-components/p-i2508Ct1.js +0 -1
- package/dist/stencil.config.base.js +0 -44
- package/dist/stencil.config.dev.js +0 -21
- package/dist/stencil.config.integration.js +0 -26
- package/dist/stencil.config.js +0 -15
- package/dist/stencil.config.prod.js +0 -29
- package/dist/types/api/ds.constants.d.ts +0 -8
- package/dist/types/api/ds.types.d.ts +0 -39
- package/dist/types/components/lmvz-icon/icons.d.ts +0 -8
- package/dist/types/components/lmvz-icon/public.d.ts +0 -1
- package/dist/types/components/lmvz-icon/test/icons.unit.d.ts +0 -1
- package/dist/types/components.d.ts +0 -931
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.base.d.ts +0 -2
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.d.ts +0 -2
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.dev.d.ts +0 -2
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.integration.d.ts +0 -2
- package/dist/types/opt/atlassian/pipelines/agent/build/packages/components/.stencil/stencil.config.prod.d.ts +0 -2
- package/dist/types/utils/effect.d.ts +0 -3
- package/dist/types/utils/http.d.ts +0 -24
- package/dist/types/utils/http.unit.d.ts +0 -1
- package/dist/types/utils/public.d.ts +0 -1
- package/dist/types/utils/validation/svg.d.ts +0 -11
- /package/{dist/cjs → cjs}/app-globals-V2Kpy_OQ.js +0 -0
- /package/{dist/cjs → cjs}/component-Csg9MtNK.js +0 -0
- /package/{dist/cjs → cjs}/element-activation-controller-DC_6T0Rt.js +0 -0
- /package/{dist/cjs → cjs}/index-Bp6Dd2i1.js +0 -0
- /package/{dist/collection → collection}/assets/LMVZ_logo_175.svg +0 -0
- /package/{dist/collection → collection}/assets/card-placeholder.svg +0 -0
- /package/{dist/collection → collection}/assets/fonts/Router-Bold.woff +0 -0
- /package/{dist/collection → collection}/assets/fonts/Router-Book.woff +0 -0
- /package/{dist/collection → collection}/assets/fonts/Router-Medium.woff +0 -0
- /package/{dist/collection → collection}/assets/icons/Logo.svg +0 -0
- /package/{dist/collection → collection}/assets/icons/chevron-down.svg +0 -0
- /package/{dist/collection → collection}/assets/zukunftslinie.svg +0 -0
- /package/{dist/collection → collection}/components/lmvz-action/lmvz-action.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-button/lmvz-button.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-card/lmvz-card.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-chip/lmvz-chip.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-header/lmvz-header.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-input/lmvz-input.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-menuitem/lmvz-menuitem.css +0 -0
- /package/{dist/collection → collection}/components/lmvz-select/lmvz-select.css +0 -0
- /package/{dist/collection → collection}/utils/aria/element-activation-controller.js +0 -0
- /package/{dist/collection → collection}/utils/aria/list-keyboard-controller.js +0 -0
- /package/{dist/collection → collection}/utils/assets.js +0 -0
- /package/{dist/collection → collection}/utils/component.js +0 -0
- /package/{dist/collection → collection}/utils/environment.js +0 -0
- /package/{dist/collection → collection}/utils/reactive-controller-host.js +0 -0
- /package/{dist/components → components}/index.d.ts +0 -0
- /package/{dist/components → components}/lmvz-action.d.ts +0 -0
- /package/{dist/components → components}/lmvz-button.d.ts +0 -0
- /package/{dist/components → components}/lmvz-card.d.ts +0 -0
- /package/{dist/components → components}/lmvz-chip.d.ts +0 -0
- /package/{dist/components → components}/lmvz-header.d.ts +0 -0
- /package/{dist/components → components}/lmvz-icon.d.ts +0 -0
- /package/{dist/components → components}/lmvz-input.d.ts +0 -0
- /package/{dist/components → components}/lmvz-menuitem.d.ts +0 -0
- /package/{dist/components → components}/lmvz-select.d.ts +0 -0
- /package/{dist/components → components}/p-BfTCfPZ1.js +0 -0
- /package/{dist/components → components}/p-CN0JX9-m.js +0 -0
- /package/{dist/components → components}/p-DQEkWkMh.js +0 -0
- /package/{dist/esm → esm}/app-globals-DQuL1Twl.js +0 -0
- /package/{dist/esm → esm}/component-DIrAQ4IB.js +0 -0
- /package/{dist/esm → esm}/element-activation-controller-CN0JX9-m.js +0 -0
- /package/{dist/esm → esm}/index-BfTCfPZ1.js +0 -0
- /package/{dist/index.cjs.js → index.cjs.js} +0 -0
- /package/{dist/index.js → index.js} +0 -0
- /package/{dist/lmvz-components → lmvz-components}/p-BfTCfPZ1.js +0 -0
- /package/{dist/lmvz-components → lmvz-components}/p-CN0JX9-m.js +0 -0
- /package/{dist/lmvz-components → lmvz-components}/p-DIrAQ4IB.js +0 -0
- /package/{dist/lmvz-components → lmvz-components}/p-DQuL1Twl.js +0 -0
- /package/{dist/manifest.d.ts → manifest.d.ts} +0 -0
- /package/{dist/types → types}/api/aria-types.d.ts +0 -0
- /package/{dist/types → types}/stencil-public-runtime.d.ts +0 -0
|
@@ -0,0 +1,747 @@
|
|
|
1
|
+
import type { Brand } from 'effect';
|
|
2
|
+
|
|
3
|
+
export declare namespace Button {
|
|
4
|
+
export type Scale = (typeof scaleValues)[number];
|
|
5
|
+
export type Variant = LmvzDS.Variant;
|
|
6
|
+
}
|
|
7
|
+
|
|
8
|
+
export declare namespace Components {
|
|
9
|
+
export interface LmvzAction {
|
|
10
|
+
}
|
|
11
|
+
export interface LmvzButton {
|
|
12
|
+
/**
|
|
13
|
+
* Whether the button is disabled
|
|
14
|
+
* @default false
|
|
15
|
+
*/
|
|
16
|
+
"disabled": boolean;
|
|
17
|
+
/**
|
|
18
|
+
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
19
|
+
*/
|
|
20
|
+
"form"?: FormRef;
|
|
21
|
+
/**
|
|
22
|
+
* Scale of the button
|
|
23
|
+
* @default 'default'
|
|
24
|
+
*/
|
|
25
|
+
"scale": Button.Scale;
|
|
26
|
+
/**
|
|
27
|
+
* @readonly
|
|
28
|
+
* @default 0
|
|
29
|
+
*/
|
|
30
|
+
"ti": number;
|
|
31
|
+
/**
|
|
32
|
+
* @default 'button'
|
|
33
|
+
*/
|
|
34
|
+
"type": 'submit' | 'button';
|
|
35
|
+
/**
|
|
36
|
+
* Variant of the button
|
|
37
|
+
* @default 'secondary', since the primary button should be marked as such in context
|
|
38
|
+
*/
|
|
39
|
+
"variant": Button.Variant;
|
|
40
|
+
}
|
|
41
|
+
export interface LmvzCard {
|
|
42
|
+
/**
|
|
43
|
+
* Card title (required)
|
|
44
|
+
*/
|
|
45
|
+
"cardTitle": string;
|
|
46
|
+
/**
|
|
47
|
+
* Optional description
|
|
48
|
+
*/
|
|
49
|
+
"description"?: string;
|
|
50
|
+
/**
|
|
51
|
+
* Optional image URL; placeholder used if omitted
|
|
52
|
+
*/
|
|
53
|
+
"imageUrl"?: string;
|
|
54
|
+
/**
|
|
55
|
+
* Primary action button label
|
|
56
|
+
* @default ''
|
|
57
|
+
*/
|
|
58
|
+
"primaryActionLabel": string;
|
|
59
|
+
}
|
|
60
|
+
export interface LmvzChip {
|
|
61
|
+
"text": string;
|
|
62
|
+
}
|
|
63
|
+
/**
|
|
64
|
+
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
65
|
+
*/
|
|
66
|
+
export interface LmvzHeader {
|
|
67
|
+
"lmvzActiveNav"?: string;
|
|
68
|
+
/**
|
|
69
|
+
* @readonly
|
|
70
|
+
* @default 'banner'
|
|
71
|
+
*/
|
|
72
|
+
"role": string;
|
|
73
|
+
}
|
|
74
|
+
/**
|
|
75
|
+
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from the given icon set.
|
|
76
|
+
* It requires a provider to be registered in the application (once), which will supply the icon data based on the `icon` prop, for its `iconset`.
|
|
77
|
+
* Loading is deferred, using an IntersectionObserver, until the instance becomes visible in the viewport.
|
|
78
|
+
*/
|
|
79
|
+
export interface LmvzIcon {
|
|
80
|
+
"ariaLabel"?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Required Either a valid name from a registered iconset, or the icon's SVG content (inline). Will be checked against the (default) iconset.
|
|
83
|
+
*/
|
|
84
|
+
"icon": SVGString | string;
|
|
85
|
+
/**
|
|
86
|
+
* Optional custom icon iconset id. Must reference a registered custom iconset by its exported name.
|
|
87
|
+
*/
|
|
88
|
+
"iconset"?: string;
|
|
89
|
+
/**
|
|
90
|
+
* The size of the icon (optional, default is 'md').
|
|
91
|
+
* @default 'md'
|
|
92
|
+
*/
|
|
93
|
+
"size"?: Icon.Size;
|
|
94
|
+
/**
|
|
95
|
+
* The weight/style of the icon (optional, default is 'medium').
|
|
96
|
+
* @default 'medium'
|
|
97
|
+
*/
|
|
98
|
+
"weight"?: Icon.IconWeight;
|
|
99
|
+
}
|
|
100
|
+
/**
|
|
101
|
+
* Input component with floating label, (form) validation, and slotted content support.
|
|
102
|
+
* @example ```html
|
|
103
|
+
* <lmvz-input
|
|
104
|
+
* label="Email"
|
|
105
|
+
* type="email"
|
|
106
|
+
* required
|
|
107
|
+
* autocomplete="email"
|
|
108
|
+
* helper-text="We'll never share your email"
|
|
109
|
+
* ></lmvz-input>
|
|
110
|
+
* ```
|
|
111
|
+
* @example ```typescript
|
|
112
|
+
* const input = document.querySelector('lmvz-input');
|
|
113
|
+
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
114
|
+
* await input.focus();
|
|
115
|
+
* ```
|
|
116
|
+
*/
|
|
117
|
+
export interface LmvzInput {
|
|
118
|
+
/**
|
|
119
|
+
* Autocapitalize attribute for mobile keyboards
|
|
120
|
+
* @default undefined
|
|
121
|
+
*/
|
|
122
|
+
"autocapitalize"?: Input.Autocapitalize;
|
|
123
|
+
/**
|
|
124
|
+
* Autocomplete attribute for form autofill
|
|
125
|
+
*/
|
|
126
|
+
"autocomplete"?: Input.Autocomplete;
|
|
127
|
+
/**
|
|
128
|
+
* Autocorrect attribute for mobile keyboards
|
|
129
|
+
* @default undefined
|
|
130
|
+
*/
|
|
131
|
+
"autocorrect"?: 'on' | 'off';
|
|
132
|
+
/**
|
|
133
|
+
* Whether the input should autofocus
|
|
134
|
+
* @default false
|
|
135
|
+
*/
|
|
136
|
+
"autofocus": boolean;
|
|
137
|
+
/**
|
|
138
|
+
* Removes focus from the input
|
|
139
|
+
*/
|
|
140
|
+
"blurInput": () => Promise<void>;
|
|
141
|
+
/**
|
|
142
|
+
* Returns whether the input satisfies its validation constraints
|
|
143
|
+
*/
|
|
144
|
+
"checkValidity": () => Promise<boolean>;
|
|
145
|
+
/**
|
|
146
|
+
* Whether the input is disabled
|
|
147
|
+
* @default false
|
|
148
|
+
*/
|
|
149
|
+
"disabled": boolean;
|
|
150
|
+
/**
|
|
151
|
+
* Whether the input is in an error state When not set manually, this will automatically reflect native HTML5 validation state
|
|
152
|
+
* @default false
|
|
153
|
+
*/
|
|
154
|
+
"error": boolean;
|
|
155
|
+
/**
|
|
156
|
+
* Error message to display when error is true
|
|
157
|
+
*/
|
|
158
|
+
"errorMessage"?: string;
|
|
159
|
+
/**
|
|
160
|
+
* Sets focus on the input
|
|
161
|
+
*/
|
|
162
|
+
"focusInput": () => Promise<void>;
|
|
163
|
+
/**
|
|
164
|
+
* Form id to associate with
|
|
165
|
+
*/
|
|
166
|
+
"form"?: string;
|
|
167
|
+
/**
|
|
168
|
+
* Returns the native HTMLInputElement. Promise resolves when the element is ready and the input is available. If the input is not yet rendered, it waits for the component to be ready.
|
|
169
|
+
*/
|
|
170
|
+
"getInputElement": () => Promise<HTMLInputElement | undefined>;
|
|
171
|
+
/**
|
|
172
|
+
* Helper text displayed below the input
|
|
173
|
+
*/
|
|
174
|
+
"helperText"?: string;
|
|
175
|
+
/**
|
|
176
|
+
* Input mode for mobile keyboards
|
|
177
|
+
*/
|
|
178
|
+
"inputmode"?: Input.Inputmode;
|
|
179
|
+
/**
|
|
180
|
+
* Label text for the input
|
|
181
|
+
*/
|
|
182
|
+
"label": string;
|
|
183
|
+
/**
|
|
184
|
+
* Maximum value for number/date inputs
|
|
185
|
+
*/
|
|
186
|
+
"max"?: number | string;
|
|
187
|
+
/**
|
|
188
|
+
* Maximum length for text inputs
|
|
189
|
+
*/
|
|
190
|
+
"maxlength"?: number;
|
|
191
|
+
/**
|
|
192
|
+
* Minimum value for number/date inputs
|
|
193
|
+
*/
|
|
194
|
+
"min"?: number | string;
|
|
195
|
+
/**
|
|
196
|
+
* Minimum length for text inputs
|
|
197
|
+
*/
|
|
198
|
+
"minlength"?: number;
|
|
199
|
+
/**
|
|
200
|
+
* Name attribute for the input
|
|
201
|
+
*/
|
|
202
|
+
"name"?: string;
|
|
203
|
+
/**
|
|
204
|
+
* Validation pattern (regex)
|
|
205
|
+
*/
|
|
206
|
+
"pattern"?: string;
|
|
207
|
+
/**
|
|
208
|
+
* Placeholder text
|
|
209
|
+
*/
|
|
210
|
+
"placeholder"?: string;
|
|
211
|
+
/**
|
|
212
|
+
* Whether the input is readonly
|
|
213
|
+
* @default false
|
|
214
|
+
*/
|
|
215
|
+
"readonly": boolean;
|
|
216
|
+
/**
|
|
217
|
+
* Reports validation errors to the user
|
|
218
|
+
*/
|
|
219
|
+
"reportValidity": () => Promise<boolean>;
|
|
220
|
+
/**
|
|
221
|
+
* Whether the input is required
|
|
222
|
+
* @default false
|
|
223
|
+
*/
|
|
224
|
+
"required": boolean;
|
|
225
|
+
/**
|
|
226
|
+
* Selects the text in the input
|
|
227
|
+
*/
|
|
228
|
+
"select": () => Promise<void>;
|
|
229
|
+
"setValue": (newValue: string | undefined) => Promise<void>;
|
|
230
|
+
/**
|
|
231
|
+
* Spellcheck attribute
|
|
232
|
+
* @default undefined
|
|
233
|
+
*/
|
|
234
|
+
"spellcheck"?: boolean;
|
|
235
|
+
/**
|
|
236
|
+
* Step interval for number inputs
|
|
237
|
+
*/
|
|
238
|
+
"step"?: number | string;
|
|
239
|
+
/**
|
|
240
|
+
* Type of the input
|
|
241
|
+
* @default 'text'
|
|
242
|
+
*/
|
|
243
|
+
"type": Input.Type;
|
|
244
|
+
/**
|
|
245
|
+
* Value of the input
|
|
246
|
+
*/
|
|
247
|
+
"value"?: string;
|
|
248
|
+
}
|
|
249
|
+
/**
|
|
250
|
+
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
251
|
+
*/
|
|
252
|
+
export interface LmvzMenuitem {
|
|
253
|
+
/**
|
|
254
|
+
* @readonly
|
|
255
|
+
* @default 'menuitem'
|
|
256
|
+
*/
|
|
257
|
+
"role": string;
|
|
258
|
+
/**
|
|
259
|
+
* @readonly
|
|
260
|
+
* @default 0
|
|
261
|
+
*/
|
|
262
|
+
"ti": number;
|
|
263
|
+
}
|
|
264
|
+
/**
|
|
265
|
+
* Select component with floating label and pill-shaped trigger.
|
|
266
|
+
* Wraps a native `<select>` element for full keyboard and form support.
|
|
267
|
+
* @example ```html
|
|
268
|
+
* <lmvz-select label="Country" name="country">
|
|
269
|
+
* <option value="ch">Switzerland</option>
|
|
270
|
+
* <option value="de">Germany</option>
|
|
271
|
+
* <option value="at">Austria</option>
|
|
272
|
+
* </lmvz-select>
|
|
273
|
+
* ```
|
|
274
|
+
* @example ```typescript
|
|
275
|
+
* const select = document.querySelector('lmvz-select');
|
|
276
|
+
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
277
|
+
* ```
|
|
278
|
+
*/
|
|
279
|
+
export interface LmvzSelect {
|
|
280
|
+
/**
|
|
281
|
+
* Whether the select is disabled.
|
|
282
|
+
* @default false
|
|
283
|
+
*/
|
|
284
|
+
"disabled": boolean;
|
|
285
|
+
/**
|
|
286
|
+
* Helper text displayed below the select field.
|
|
287
|
+
*/
|
|
288
|
+
"helperText"?: string;
|
|
289
|
+
/**
|
|
290
|
+
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
291
|
+
*/
|
|
292
|
+
"label": string;
|
|
293
|
+
/**
|
|
294
|
+
* Name attribute passed to the native select for form submission.
|
|
295
|
+
*/
|
|
296
|
+
"name"?: string;
|
|
297
|
+
/**
|
|
298
|
+
* Whether a value is required.
|
|
299
|
+
* @default false
|
|
300
|
+
*/
|
|
301
|
+
"required": boolean;
|
|
302
|
+
/**
|
|
303
|
+
* Currently selected value.
|
|
304
|
+
*/
|
|
305
|
+
"value"?: string;
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
|
|
309
|
+
export declare type FormRef = string | HTMLFormElement | undefined;
|
|
310
|
+
|
|
311
|
+
export declare namespace Icon {
|
|
312
|
+
export type Size = (typeof iconSizes)[number];
|
|
313
|
+
export type IconWeight = (typeof iconWeights)[number];
|
|
314
|
+
}
|
|
315
|
+
|
|
316
|
+
declare const iconSizes: readonly ["xs", "sm", "md", "lg", "inherit"];
|
|
317
|
+
|
|
318
|
+
declare const iconWeights: readonly ["thin", "medium", "bold", "filled"];
|
|
319
|
+
|
|
320
|
+
export declare namespace Input {
|
|
321
|
+
export type Type = (typeof inputTypes)[number];
|
|
322
|
+
export type Autocomplete = HTMLInputElement['autocomplete'];
|
|
323
|
+
export type Inputmode = 'none' | 'text' | 'decimal' | 'numeric' | 'tel' | 'search' | 'email' | 'url';
|
|
324
|
+
export type Autocapitalize = 'off' | 'none' | 'on' | 'sentences' | 'words' | 'characters';
|
|
325
|
+
}
|
|
326
|
+
|
|
327
|
+
declare const inputTypes: readonly ["text", "email", "password", "tel", "url", "search", "number"];
|
|
328
|
+
|
|
329
|
+
export declare namespace JSX {
|
|
330
|
+
export type OneOf<K extends string, PropT, AttrT = PropT> = { [P in K]: PropT } & { [P in `attr:${K}` | `prop:${K}`]?: never } | { [P in `attr:${K}`]: AttrT } & { [P in K | `prop:${K}`]?: never } | { [P in `prop:${K}`]: PropT } & { [P in K | `attr:${K}`]?: never };
|
|
331
|
+
|
|
332
|
+
export interface LmvzAction {
|
|
333
|
+
"onActionClick"?: (event: LmvzActionCustomEvent<MouseEvent>) => void;
|
|
334
|
+
}
|
|
335
|
+
export interface LmvzButton {
|
|
336
|
+
/**
|
|
337
|
+
* Whether the button is disabled
|
|
338
|
+
* @default false
|
|
339
|
+
*/
|
|
340
|
+
"disabled"?: boolean;
|
|
341
|
+
/**
|
|
342
|
+
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
343
|
+
*/
|
|
344
|
+
"form"?: FormRef;
|
|
345
|
+
/**
|
|
346
|
+
* Event emitted when the button is activated, either by a click or by pressing "Enter" when the button is focused.
|
|
347
|
+
*/
|
|
348
|
+
"onLmvzActivation"?: (event: LmvzButtonCustomEvent<void>) => void;
|
|
349
|
+
/**
|
|
350
|
+
* Scale of the button
|
|
351
|
+
* @default 'default'
|
|
352
|
+
*/
|
|
353
|
+
"scale"?: Button.Scale;
|
|
354
|
+
/**
|
|
355
|
+
* @readonly
|
|
356
|
+
* @default 0
|
|
357
|
+
*/
|
|
358
|
+
"ti"?: number;
|
|
359
|
+
/**
|
|
360
|
+
* @default 'button'
|
|
361
|
+
*/
|
|
362
|
+
"type"?: 'submit' | 'button';
|
|
363
|
+
/**
|
|
364
|
+
* Variant of the button
|
|
365
|
+
* @default 'secondary', since the primary button should be marked as such in context
|
|
366
|
+
*/
|
|
367
|
+
"variant"?: Button.Variant;
|
|
368
|
+
}
|
|
369
|
+
export interface LmvzCard {
|
|
370
|
+
/**
|
|
371
|
+
* Card title (required)
|
|
372
|
+
*/
|
|
373
|
+
"cardTitle": string;
|
|
374
|
+
/**
|
|
375
|
+
* Optional description
|
|
376
|
+
*/
|
|
377
|
+
"description"?: string;
|
|
378
|
+
/**
|
|
379
|
+
* Optional image URL; placeholder used if omitted
|
|
380
|
+
*/
|
|
381
|
+
"imageUrl"?: string;
|
|
382
|
+
/**
|
|
383
|
+
* Event emitted when primary button is clicked
|
|
384
|
+
*/
|
|
385
|
+
"onPrimaryAction"?: (event: LmvzCardCustomEvent<PointerEvent>) => void;
|
|
386
|
+
/**
|
|
387
|
+
* Primary action button label
|
|
388
|
+
* @default ''
|
|
389
|
+
*/
|
|
390
|
+
"primaryActionLabel"?: string;
|
|
391
|
+
}
|
|
392
|
+
export interface LmvzChip {
|
|
393
|
+
"text": string;
|
|
394
|
+
}
|
|
395
|
+
/**
|
|
396
|
+
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
397
|
+
*/
|
|
398
|
+
export interface LmvzHeader {
|
|
399
|
+
"lmvzActiveNav"?: string;
|
|
400
|
+
/**
|
|
401
|
+
* @readonly
|
|
402
|
+
* @default 'banner'
|
|
403
|
+
*/
|
|
404
|
+
"role"?: string;
|
|
405
|
+
}
|
|
406
|
+
/**
|
|
407
|
+
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from the given icon set.
|
|
408
|
+
* It requires a provider to be registered in the application (once), which will supply the icon data based on the `icon` prop, for its `iconset`.
|
|
409
|
+
* Loading is deferred, using an IntersectionObserver, until the instance becomes visible in the viewport.
|
|
410
|
+
*/
|
|
411
|
+
export interface LmvzIcon {
|
|
412
|
+
"ariaLabel"?: string;
|
|
413
|
+
/**
|
|
414
|
+
* Required Either a valid name from a registered iconset, or the icon's SVG content (inline). Will be checked against the (default) iconset.
|
|
415
|
+
*/
|
|
416
|
+
"icon": SVGString | string;
|
|
417
|
+
/**
|
|
418
|
+
* Optional custom icon iconset id. Must reference a registered custom iconset by its exported name.
|
|
419
|
+
*/
|
|
420
|
+
"iconset"?: string;
|
|
421
|
+
/**
|
|
422
|
+
* The size of the icon (optional, default is 'md').
|
|
423
|
+
* @default 'md'
|
|
424
|
+
*/
|
|
425
|
+
"size"?: Icon.Size;
|
|
426
|
+
/**
|
|
427
|
+
* The weight/style of the icon (optional, default is 'medium').
|
|
428
|
+
* @default 'medium'
|
|
429
|
+
*/
|
|
430
|
+
"weight"?: Icon.IconWeight;
|
|
431
|
+
}
|
|
432
|
+
/**
|
|
433
|
+
* Input component with floating label, (form) validation, and slotted content support.
|
|
434
|
+
* @example ```html
|
|
435
|
+
* <lmvz-input
|
|
436
|
+
* label="Email"
|
|
437
|
+
* type="email"
|
|
438
|
+
* required
|
|
439
|
+
* autocomplete="email"
|
|
440
|
+
* helper-text="We'll never share your email"
|
|
441
|
+
* ></lmvz-input>
|
|
442
|
+
* ```
|
|
443
|
+
* @example ```typescript
|
|
444
|
+
* const input = document.querySelector('lmvz-input');
|
|
445
|
+
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
446
|
+
* await input.focus();
|
|
447
|
+
* ```
|
|
448
|
+
*/
|
|
449
|
+
export interface LmvzInput {
|
|
450
|
+
/**
|
|
451
|
+
* Autocapitalize attribute for mobile keyboards
|
|
452
|
+
* @default undefined
|
|
453
|
+
*/
|
|
454
|
+
"autocapitalize"?: Input.Autocapitalize;
|
|
455
|
+
/**
|
|
456
|
+
* Autocomplete attribute for form autofill
|
|
457
|
+
*/
|
|
458
|
+
"autocomplete"?: Input.Autocomplete;
|
|
459
|
+
/**
|
|
460
|
+
* Autocorrect attribute for mobile keyboards
|
|
461
|
+
* @default undefined
|
|
462
|
+
*/
|
|
463
|
+
"autocorrect"?: 'on' | 'off';
|
|
464
|
+
/**
|
|
465
|
+
* Whether the input should autofocus
|
|
466
|
+
* @default false
|
|
467
|
+
*/
|
|
468
|
+
"autofocus"?: boolean;
|
|
469
|
+
/**
|
|
470
|
+
* Whether the input is disabled
|
|
471
|
+
* @default false
|
|
472
|
+
*/
|
|
473
|
+
"disabled"?: boolean;
|
|
474
|
+
/**
|
|
475
|
+
* Whether the input is in an error state When not set manually, this will automatically reflect native HTML5 validation state
|
|
476
|
+
* @default false
|
|
477
|
+
*/
|
|
478
|
+
"error"?: boolean;
|
|
479
|
+
/**
|
|
480
|
+
* Error message to display when error is true
|
|
481
|
+
*/
|
|
482
|
+
"errorMessage"?: string;
|
|
483
|
+
/**
|
|
484
|
+
* Form id to associate with
|
|
485
|
+
*/
|
|
486
|
+
"form"?: string;
|
|
487
|
+
/**
|
|
488
|
+
* Helper text displayed below the input
|
|
489
|
+
*/
|
|
490
|
+
"helperText"?: string;
|
|
491
|
+
/**
|
|
492
|
+
* Input mode for mobile keyboards
|
|
493
|
+
*/
|
|
494
|
+
"inputmode"?: Input.Inputmode;
|
|
495
|
+
/**
|
|
496
|
+
* Label text for the input
|
|
497
|
+
*/
|
|
498
|
+
"label": string;
|
|
499
|
+
/**
|
|
500
|
+
* Maximum value for number/date inputs
|
|
501
|
+
*/
|
|
502
|
+
"max"?: number | string;
|
|
503
|
+
/**
|
|
504
|
+
* Maximum length for text inputs
|
|
505
|
+
*/
|
|
506
|
+
"maxlength"?: number;
|
|
507
|
+
/**
|
|
508
|
+
* Minimum value for number/date inputs
|
|
509
|
+
*/
|
|
510
|
+
"min"?: number | string;
|
|
511
|
+
/**
|
|
512
|
+
* Minimum length for text inputs
|
|
513
|
+
*/
|
|
514
|
+
"minlength"?: number;
|
|
515
|
+
/**
|
|
516
|
+
* Name attribute for the input
|
|
517
|
+
*/
|
|
518
|
+
"name"?: string;
|
|
519
|
+
"onLmvzInput"?: (event: LmvzInputCustomEvent<string>) => void;
|
|
520
|
+
/**
|
|
521
|
+
* Validation pattern (regex)
|
|
522
|
+
*/
|
|
523
|
+
"pattern"?: string;
|
|
524
|
+
/**
|
|
525
|
+
* Placeholder text
|
|
526
|
+
*/
|
|
527
|
+
"placeholder"?: string;
|
|
528
|
+
/**
|
|
529
|
+
* Whether the input is readonly
|
|
530
|
+
* @default false
|
|
531
|
+
*/
|
|
532
|
+
"readonly"?: boolean;
|
|
533
|
+
/**
|
|
534
|
+
* Whether the input is required
|
|
535
|
+
* @default false
|
|
536
|
+
*/
|
|
537
|
+
"required"?: boolean;
|
|
538
|
+
/**
|
|
539
|
+
* Spellcheck attribute
|
|
540
|
+
* @default undefined
|
|
541
|
+
*/
|
|
542
|
+
"spellcheck"?: boolean;
|
|
543
|
+
/**
|
|
544
|
+
* Step interval for number inputs
|
|
545
|
+
*/
|
|
546
|
+
"step"?: number | string;
|
|
547
|
+
/**
|
|
548
|
+
* Type of the input
|
|
549
|
+
* @default 'text'
|
|
550
|
+
*/
|
|
551
|
+
"type"?: Input.Type;
|
|
552
|
+
/**
|
|
553
|
+
* Value of the input
|
|
554
|
+
*/
|
|
555
|
+
"value"?: string;
|
|
556
|
+
}
|
|
557
|
+
/**
|
|
558
|
+
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
559
|
+
*/
|
|
560
|
+
export interface LmvzMenuitem {
|
|
561
|
+
/**
|
|
562
|
+
* Event emitted when the menu item is activated, either by a click or by pressing "Enter" or "Space" while the menu item is focused.
|
|
563
|
+
*/
|
|
564
|
+
"onLmvzActivation"?: (event: LmvzMenuitemCustomEvent<void>) => void;
|
|
565
|
+
/**
|
|
566
|
+
* @readonly
|
|
567
|
+
* @default 'menuitem'
|
|
568
|
+
*/
|
|
569
|
+
"role"?: string;
|
|
570
|
+
/**
|
|
571
|
+
* @readonly
|
|
572
|
+
* @default 0
|
|
573
|
+
*/
|
|
574
|
+
"ti"?: number;
|
|
575
|
+
}
|
|
576
|
+
/**
|
|
577
|
+
* Select component with floating label and pill-shaped trigger.
|
|
578
|
+
* Wraps a native `<select>` element for full keyboard and form support.
|
|
579
|
+
* @example ```html
|
|
580
|
+
* <lmvz-select label="Country" name="country">
|
|
581
|
+
* <option value="ch">Switzerland</option>
|
|
582
|
+
* <option value="de">Germany</option>
|
|
583
|
+
* <option value="at">Austria</option>
|
|
584
|
+
* </lmvz-select>
|
|
585
|
+
* ```
|
|
586
|
+
* @example ```typescript
|
|
587
|
+
* const select = document.querySelector('lmvz-select');
|
|
588
|
+
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
589
|
+
* ```
|
|
590
|
+
*/
|
|
591
|
+
export interface LmvzSelect {
|
|
592
|
+
/**
|
|
593
|
+
* Whether the select is disabled.
|
|
594
|
+
* @default false
|
|
595
|
+
*/
|
|
596
|
+
"disabled"?: boolean;
|
|
597
|
+
/**
|
|
598
|
+
* Helper text displayed below the select field.
|
|
599
|
+
*/
|
|
600
|
+
"helperText"?: string;
|
|
601
|
+
/**
|
|
602
|
+
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
603
|
+
*/
|
|
604
|
+
"label": string;
|
|
605
|
+
/**
|
|
606
|
+
* Name attribute passed to the native select for form submission.
|
|
607
|
+
*/
|
|
608
|
+
"name"?: string;
|
|
609
|
+
/**
|
|
610
|
+
* Emitted when the user selects a new option. Detail contains the new value.
|
|
611
|
+
*/
|
|
612
|
+
"onLmvzChange"?: (event: LmvzSelectCustomEvent<string>) => void;
|
|
613
|
+
/**
|
|
614
|
+
* Whether a value is required.
|
|
615
|
+
* @default false
|
|
616
|
+
*/
|
|
617
|
+
"required"?: boolean;
|
|
618
|
+
/**
|
|
619
|
+
* Currently selected value.
|
|
620
|
+
*/
|
|
621
|
+
"value"?: string;
|
|
622
|
+
}
|
|
623
|
+
|
|
624
|
+
export interface LmvzButtonAttributes {
|
|
625
|
+
"ti": number;
|
|
626
|
+
"scale": Button.Scale;
|
|
627
|
+
"variant": Button.Variant;
|
|
628
|
+
"disabled": boolean;
|
|
629
|
+
"type": 'submit' | 'button';
|
|
630
|
+
"form": FormRef;
|
|
631
|
+
}
|
|
632
|
+
export interface LmvzCardAttributes {
|
|
633
|
+
"cardTitle": string;
|
|
634
|
+
"imageUrl": string;
|
|
635
|
+
"description": string;
|
|
636
|
+
"primaryActionLabel": string;
|
|
637
|
+
}
|
|
638
|
+
export interface LmvzChipAttributes {
|
|
639
|
+
"text": string;
|
|
640
|
+
}
|
|
641
|
+
export interface LmvzHeaderAttributes {
|
|
642
|
+
"role": string;
|
|
643
|
+
"lmvzActiveNav": string;
|
|
644
|
+
}
|
|
645
|
+
export interface LmvzIconAttributes {
|
|
646
|
+
"icon": SVGString | string;
|
|
647
|
+
"weight": Icon.IconWeight;
|
|
648
|
+
"size": Icon.Size;
|
|
649
|
+
"iconset": string;
|
|
650
|
+
"ariaLabel": string;
|
|
651
|
+
}
|
|
652
|
+
export interface LmvzInputAttributes {
|
|
653
|
+
"value": string;
|
|
654
|
+
"label": string;
|
|
655
|
+
"helperText": string;
|
|
656
|
+
"placeholder": string;
|
|
657
|
+
"disabled": boolean;
|
|
658
|
+
"readonly": boolean;
|
|
659
|
+
"required": boolean;
|
|
660
|
+
"name": string;
|
|
661
|
+
"type": Input.Type;
|
|
662
|
+
"errorMessage": string;
|
|
663
|
+
"autocomplete": Input.Autocomplete;
|
|
664
|
+
"inputmode": Input.Inputmode;
|
|
665
|
+
"autocorrect": 'on' | 'off';
|
|
666
|
+
"autocapitalize": Input.Autocapitalize;
|
|
667
|
+
"spellcheck": boolean;
|
|
668
|
+
"autofocus": boolean;
|
|
669
|
+
"minlength": number;
|
|
670
|
+
"maxlength": number;
|
|
671
|
+
"pattern": string;
|
|
672
|
+
"min": string;
|
|
673
|
+
"max": string;
|
|
674
|
+
"step": string;
|
|
675
|
+
"form": string;
|
|
676
|
+
"error": boolean;
|
|
677
|
+
}
|
|
678
|
+
export interface LmvzMenuitemAttributes {
|
|
679
|
+
"role": string;
|
|
680
|
+
"ti": number;
|
|
681
|
+
}
|
|
682
|
+
export interface LmvzSelectAttributes {
|
|
683
|
+
"value": string;
|
|
684
|
+
"label": string;
|
|
685
|
+
"helperText": string;
|
|
686
|
+
"disabled": boolean;
|
|
687
|
+
"required": boolean;
|
|
688
|
+
"name": string;
|
|
689
|
+
}
|
|
690
|
+
|
|
691
|
+
export interface IntrinsicElements {
|
|
692
|
+
"lmvz-action": LmvzAction;
|
|
693
|
+
"lmvz-button": Omit<LmvzButton, keyof LmvzButtonAttributes> & { [K in keyof LmvzButton & keyof LmvzButtonAttributes]?: LmvzButton[K] } & { [K in keyof LmvzButton & keyof LmvzButtonAttributes as `attr:${K}`]?: LmvzButtonAttributes[K] } & { [K in keyof LmvzButton & keyof LmvzButtonAttributes as `prop:${K}`]?: LmvzButton[K] };
|
|
694
|
+
"lmvz-card": Omit<LmvzCard, keyof LmvzCardAttributes> & { [K in keyof LmvzCard & keyof LmvzCardAttributes]?: LmvzCard[K] } & { [K in keyof LmvzCard & keyof LmvzCardAttributes as `attr:${K}`]?: LmvzCardAttributes[K] } & { [K in keyof LmvzCard & keyof LmvzCardAttributes as `prop:${K}`]?: LmvzCard[K] } & OneOf<"cardTitle", LmvzCard["cardTitle"], LmvzCardAttributes["cardTitle"]>;
|
|
695
|
+
"lmvz-chip": Omit<LmvzChip, keyof LmvzChipAttributes> & { [K in keyof LmvzChip & keyof LmvzChipAttributes]?: LmvzChip[K] } & { [K in keyof LmvzChip & keyof LmvzChipAttributes as `attr:${K}`]?: LmvzChipAttributes[K] } & { [K in keyof LmvzChip & keyof LmvzChipAttributes as `prop:${K}`]?: LmvzChip[K] } & OneOf<"text", LmvzChip["text"], LmvzChipAttributes["text"]>;
|
|
696
|
+
"lmvz-header": Omit<LmvzHeader, keyof LmvzHeaderAttributes> & { [K in keyof LmvzHeader & keyof LmvzHeaderAttributes]?: LmvzHeader[K] } & { [K in keyof LmvzHeader & keyof LmvzHeaderAttributes as `attr:${K}`]?: LmvzHeaderAttributes[K] } & { [K in keyof LmvzHeader & keyof LmvzHeaderAttributes as `prop:${K}`]?: LmvzHeader[K] };
|
|
697
|
+
"lmvz-icon": Omit<LmvzIcon, keyof LmvzIconAttributes> & { [K in keyof LmvzIcon & keyof LmvzIconAttributes]?: LmvzIcon[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `attr:${K}`]?: LmvzIconAttributes[K] } & { [K in keyof LmvzIcon & keyof LmvzIconAttributes as `prop:${K}`]?: LmvzIcon[K] } & OneOf<"icon", LmvzIcon["icon"], LmvzIconAttributes["icon"]>;
|
|
698
|
+
"lmvz-input": Omit<LmvzInput, keyof LmvzInputAttributes> & { [K in keyof LmvzInput & keyof LmvzInputAttributes]?: LmvzInput[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `attr:${K}`]?: LmvzInputAttributes[K] } & { [K in keyof LmvzInput & keyof LmvzInputAttributes as `prop:${K}`]?: LmvzInput[K] } & OneOf<"label", LmvzInput["label"], LmvzInputAttributes["label"]>;
|
|
699
|
+
"lmvz-menuitem": Omit<LmvzMenuitem, keyof LmvzMenuitemAttributes> & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes]?: LmvzMenuitem[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `attr:${K}`]?: LmvzMenuitemAttributes[K] } & { [K in keyof LmvzMenuitem & keyof LmvzMenuitemAttributes as `prop:${K}`]?: LmvzMenuitem[K] };
|
|
700
|
+
"lmvz-select": Omit<LmvzSelect, keyof LmvzSelectAttributes> & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes]?: LmvzSelect[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `attr:${K}`]?: LmvzSelectAttributes[K] } & { [K in keyof LmvzSelect & keyof LmvzSelectAttributes as `prop:${K}`]?: LmvzSelect[K] } & OneOf<"label", LmvzSelect["label"], LmvzSelectAttributes["label"]>;
|
|
701
|
+
}
|
|
702
|
+
}
|
|
703
|
+
|
|
704
|
+
export declare interface LmvzActionCustomEvent<T> extends CustomEvent<T> {
|
|
705
|
+
detail: T;
|
|
706
|
+
target: HTMLLmvzActionElement;
|
|
707
|
+
}
|
|
708
|
+
|
|
709
|
+
export declare interface LmvzButtonCustomEvent<T> extends CustomEvent<T> {
|
|
710
|
+
detail: T;
|
|
711
|
+
target: HTMLLmvzButtonElement;
|
|
712
|
+
}
|
|
713
|
+
|
|
714
|
+
export declare interface LmvzCardCustomEvent<T> extends CustomEvent<T> {
|
|
715
|
+
detail: T;
|
|
716
|
+
target: HTMLLmvzCardElement;
|
|
717
|
+
}
|
|
718
|
+
|
|
719
|
+
declare namespace LmvzDS {
|
|
720
|
+
type Variant = (typeof variants)[number];
|
|
721
|
+
type Size = (typeof sizes)[number];
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
export declare interface LmvzInputCustomEvent<T> extends CustomEvent<T> {
|
|
725
|
+
detail: T;
|
|
726
|
+
target: HTMLLmvzInputElement;
|
|
727
|
+
}
|
|
728
|
+
|
|
729
|
+
export declare interface LmvzMenuitemCustomEvent<T> extends CustomEvent<T> {
|
|
730
|
+
detail: T;
|
|
731
|
+
target: HTMLLmvzMenuitemElement;
|
|
732
|
+
}
|
|
733
|
+
|
|
734
|
+
export declare interface LmvzSelectCustomEvent<T> extends CustomEvent<T> {
|
|
735
|
+
detail: T;
|
|
736
|
+
target: HTMLLmvzSelectElement;
|
|
737
|
+
}
|
|
738
|
+
|
|
739
|
+
declare const scaleValues: readonly ["small", "default", "large"];
|
|
740
|
+
|
|
741
|
+
declare const sizes: readonly ["xs", "sm", "md", "lg"];
|
|
742
|
+
|
|
743
|
+
export declare type SVGString = string & Brand.Brand<'SVG'>;
|
|
744
|
+
|
|
745
|
+
declare const variants: readonly ["primary", "secondary", "tertiary"];
|
|
746
|
+
|
|
747
|
+
export { }
|