@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
|
@@ -1,931 +0,0 @@
|
|
|
1
|
-
/* eslint-disable */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/**
|
|
4
|
-
* This is an autogenerated file created by the Stencil compiler.
|
|
5
|
-
* It contains typing information for all components that exist in this project.
|
|
6
|
-
*/
|
|
7
|
-
import { HTMLStencilElement, JSXBase } from "./stencil-public-runtime";
|
|
8
|
-
import { Button, Icon, Input } from "./api";
|
|
9
|
-
import { FormRef } from "./utils/component";
|
|
10
|
-
export { Button, Icon, Input } from "./api";
|
|
11
|
-
export { FormRef } from "./utils/component";
|
|
12
|
-
export namespace Components {
|
|
13
|
-
interface LmvzAction {
|
|
14
|
-
}
|
|
15
|
-
interface LmvzButton {
|
|
16
|
-
/**
|
|
17
|
-
* Whether the button is disabled
|
|
18
|
-
* @default false
|
|
19
|
-
*/
|
|
20
|
-
"disabled": boolean;
|
|
21
|
-
/**
|
|
22
|
-
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
23
|
-
*/
|
|
24
|
-
"form"?: FormRef;
|
|
25
|
-
/**
|
|
26
|
-
* Scale of the button
|
|
27
|
-
* @default 'default'
|
|
28
|
-
*/
|
|
29
|
-
"scale": Button.Scale;
|
|
30
|
-
/**
|
|
31
|
-
* @readonly
|
|
32
|
-
* @default 0
|
|
33
|
-
*/
|
|
34
|
-
"ti": number;
|
|
35
|
-
/**
|
|
36
|
-
* @default 'button'
|
|
37
|
-
*/
|
|
38
|
-
"type": 'submit' | 'button';
|
|
39
|
-
/**
|
|
40
|
-
* Variant of the button
|
|
41
|
-
* @default 'secondary', since the primary button should be marked as such in context
|
|
42
|
-
*/
|
|
43
|
-
"variant": Button.Variant;
|
|
44
|
-
}
|
|
45
|
-
interface LmvzCard {
|
|
46
|
-
/**
|
|
47
|
-
* Card title (required)
|
|
48
|
-
*/
|
|
49
|
-
"cardTitle": string;
|
|
50
|
-
/**
|
|
51
|
-
* Optional description
|
|
52
|
-
*/
|
|
53
|
-
"description"?: string;
|
|
54
|
-
/**
|
|
55
|
-
* Optional image URL; placeholder used if omitted
|
|
56
|
-
*/
|
|
57
|
-
"imageUrl"?: string;
|
|
58
|
-
/**
|
|
59
|
-
* Primary action button label
|
|
60
|
-
* @default ''
|
|
61
|
-
*/
|
|
62
|
-
"primaryActionLabel": string;
|
|
63
|
-
}
|
|
64
|
-
interface LmvzChip {
|
|
65
|
-
"text": string;
|
|
66
|
-
}
|
|
67
|
-
/**
|
|
68
|
-
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
69
|
-
*/
|
|
70
|
-
interface LmvzHeader {
|
|
71
|
-
"lmvzActiveNav"?: string;
|
|
72
|
-
/**
|
|
73
|
-
* @readonly
|
|
74
|
-
* @default 'banner'
|
|
75
|
-
*/
|
|
76
|
-
"role": string;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from our predefined icon set.
|
|
80
|
-
* It uses an IntersectionObserver to defer loading the icon until it becomes visible in the viewport. Once loaded, icon data is cached across instances.
|
|
81
|
-
*/
|
|
82
|
-
interface LmvzIcon {
|
|
83
|
-
"ariaLabel"?: string;
|
|
84
|
-
/**
|
|
85
|
-
* The name of the icon to display (required).
|
|
86
|
-
*/
|
|
87
|
-
"icon": Icon.IconName;
|
|
88
|
-
/**
|
|
89
|
-
* The size of the icon (optional, default is 'md').
|
|
90
|
-
* @default 'md'
|
|
91
|
-
*/
|
|
92
|
-
"size"?: Icon.Size;
|
|
93
|
-
/**
|
|
94
|
-
* The weight/style of the icon (optional, default is 'medium').
|
|
95
|
-
* @default 'medium'
|
|
96
|
-
*/
|
|
97
|
-
"weight"?: Icon.IconWeight;
|
|
98
|
-
}
|
|
99
|
-
/**
|
|
100
|
-
* Input component with floating label, (form) validation, and slotted content support.
|
|
101
|
-
* @example ```html
|
|
102
|
-
* <lmvz-input
|
|
103
|
-
* label="Email"
|
|
104
|
-
* type="email"
|
|
105
|
-
* required
|
|
106
|
-
* autocomplete="email"
|
|
107
|
-
* helper-text="We'll never share your email"
|
|
108
|
-
* ></lmvz-input>
|
|
109
|
-
* ```
|
|
110
|
-
* @example ```typescript
|
|
111
|
-
* const input = document.querySelector('lmvz-input');
|
|
112
|
-
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
113
|
-
* await input.focus();
|
|
114
|
-
* ```
|
|
115
|
-
*/
|
|
116
|
-
interface LmvzInput {
|
|
117
|
-
/**
|
|
118
|
-
* Autocapitalize attribute for mobile keyboards
|
|
119
|
-
* @default undefined
|
|
120
|
-
*/
|
|
121
|
-
"autocapitalize"?: Input.Autocapitalize;
|
|
122
|
-
/**
|
|
123
|
-
* Autocomplete attribute for form autofill
|
|
124
|
-
*/
|
|
125
|
-
"autocomplete"?: Input.Autocomplete;
|
|
126
|
-
/**
|
|
127
|
-
* Autocorrect attribute for mobile keyboards
|
|
128
|
-
* @default undefined
|
|
129
|
-
*/
|
|
130
|
-
"autocorrect"?: 'on' | 'off';
|
|
131
|
-
/**
|
|
132
|
-
* Whether the input should autofocus
|
|
133
|
-
* @default false
|
|
134
|
-
*/
|
|
135
|
-
"autofocus": boolean;
|
|
136
|
-
/**
|
|
137
|
-
* Removes focus from the input
|
|
138
|
-
*/
|
|
139
|
-
"blurInput": () => Promise<void>;
|
|
140
|
-
/**
|
|
141
|
-
* Returns whether the input satisfies its validation constraints
|
|
142
|
-
*/
|
|
143
|
-
"checkValidity": () => Promise<boolean>;
|
|
144
|
-
/**
|
|
145
|
-
* Whether the input is disabled
|
|
146
|
-
* @default false
|
|
147
|
-
*/
|
|
148
|
-
"disabled": boolean;
|
|
149
|
-
/**
|
|
150
|
-
* Whether the input is in an error state When not set manually, this will automatically reflect native HTML5 validation state
|
|
151
|
-
* @default false
|
|
152
|
-
*/
|
|
153
|
-
"error": boolean;
|
|
154
|
-
/**
|
|
155
|
-
* Error message to display when error is true
|
|
156
|
-
*/
|
|
157
|
-
"errorMessage"?: string;
|
|
158
|
-
/**
|
|
159
|
-
* Sets focus on the input
|
|
160
|
-
*/
|
|
161
|
-
"focusInput": () => Promise<void>;
|
|
162
|
-
/**
|
|
163
|
-
* Form id to associate with
|
|
164
|
-
*/
|
|
165
|
-
"form"?: string;
|
|
166
|
-
/**
|
|
167
|
-
* 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.
|
|
168
|
-
*/
|
|
169
|
-
"getInputElement": () => Promise<HTMLInputElement | undefined>;
|
|
170
|
-
/**
|
|
171
|
-
* Helper text displayed below the input
|
|
172
|
-
*/
|
|
173
|
-
"helperText"?: string;
|
|
174
|
-
/**
|
|
175
|
-
* Input mode for mobile keyboards
|
|
176
|
-
*/
|
|
177
|
-
"inputmode"?: Input.Inputmode;
|
|
178
|
-
/**
|
|
179
|
-
* Label text for the input
|
|
180
|
-
*/
|
|
181
|
-
"label": string;
|
|
182
|
-
/**
|
|
183
|
-
* Maximum value for number/date inputs
|
|
184
|
-
*/
|
|
185
|
-
"max"?: number | string;
|
|
186
|
-
/**
|
|
187
|
-
* Maximum length for text inputs
|
|
188
|
-
*/
|
|
189
|
-
"maxlength"?: number;
|
|
190
|
-
/**
|
|
191
|
-
* Minimum value for number/date inputs
|
|
192
|
-
*/
|
|
193
|
-
"min"?: number | string;
|
|
194
|
-
/**
|
|
195
|
-
* Minimum length for text inputs
|
|
196
|
-
*/
|
|
197
|
-
"minlength"?: number;
|
|
198
|
-
/**
|
|
199
|
-
* Name attribute for the input
|
|
200
|
-
*/
|
|
201
|
-
"name"?: string;
|
|
202
|
-
/**
|
|
203
|
-
* Validation pattern (regex)
|
|
204
|
-
*/
|
|
205
|
-
"pattern"?: string;
|
|
206
|
-
/**
|
|
207
|
-
* Placeholder text
|
|
208
|
-
*/
|
|
209
|
-
"placeholder"?: string;
|
|
210
|
-
/**
|
|
211
|
-
* Whether the input is readonly
|
|
212
|
-
* @default false
|
|
213
|
-
*/
|
|
214
|
-
"readonly": boolean;
|
|
215
|
-
/**
|
|
216
|
-
* Reports validation errors to the user
|
|
217
|
-
*/
|
|
218
|
-
"reportValidity": () => Promise<boolean>;
|
|
219
|
-
/**
|
|
220
|
-
* Whether the input is required
|
|
221
|
-
* @default false
|
|
222
|
-
*/
|
|
223
|
-
"required": boolean;
|
|
224
|
-
/**
|
|
225
|
-
* Selects the text in the input
|
|
226
|
-
*/
|
|
227
|
-
"select": () => Promise<void>;
|
|
228
|
-
"setValue": (newValue: string | undefined) => Promise<void>;
|
|
229
|
-
/**
|
|
230
|
-
* Spellcheck attribute
|
|
231
|
-
* @default undefined
|
|
232
|
-
*/
|
|
233
|
-
"spellcheck"?: boolean;
|
|
234
|
-
/**
|
|
235
|
-
* Step interval for number inputs
|
|
236
|
-
*/
|
|
237
|
-
"step"?: number | string;
|
|
238
|
-
/**
|
|
239
|
-
* Type of the input
|
|
240
|
-
* @default 'text'
|
|
241
|
-
*/
|
|
242
|
-
"type": Input.Type;
|
|
243
|
-
/**
|
|
244
|
-
* Value of the input
|
|
245
|
-
*/
|
|
246
|
-
"value"?: string;
|
|
247
|
-
}
|
|
248
|
-
/**
|
|
249
|
-
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
250
|
-
*/
|
|
251
|
-
interface LmvzMenuitem {
|
|
252
|
-
/**
|
|
253
|
-
* @readonly
|
|
254
|
-
* @default 'menuitem'
|
|
255
|
-
*/
|
|
256
|
-
"role": string;
|
|
257
|
-
/**
|
|
258
|
-
* @readonly
|
|
259
|
-
* @default 0
|
|
260
|
-
*/
|
|
261
|
-
"ti": number;
|
|
262
|
-
}
|
|
263
|
-
/**
|
|
264
|
-
* Select component with floating label and pill-shaped trigger.
|
|
265
|
-
* Wraps a native `<select>` element for full keyboard and form support.
|
|
266
|
-
* @example ```html
|
|
267
|
-
* <lmvz-select label="Country" name="country">
|
|
268
|
-
* <option value="ch">Switzerland</option>
|
|
269
|
-
* <option value="de">Germany</option>
|
|
270
|
-
* <option value="at">Austria</option>
|
|
271
|
-
* </lmvz-select>
|
|
272
|
-
* ```
|
|
273
|
-
* @example ```typescript
|
|
274
|
-
* const select = document.querySelector('lmvz-select');
|
|
275
|
-
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
276
|
-
* ```
|
|
277
|
-
*/
|
|
278
|
-
interface LmvzSelect {
|
|
279
|
-
/**
|
|
280
|
-
* Whether the select is disabled.
|
|
281
|
-
* @default false
|
|
282
|
-
*/
|
|
283
|
-
"disabled": boolean;
|
|
284
|
-
/**
|
|
285
|
-
* Helper text displayed below the select field.
|
|
286
|
-
*/
|
|
287
|
-
"helperText"?: string;
|
|
288
|
-
/**
|
|
289
|
-
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
290
|
-
*/
|
|
291
|
-
"label": string;
|
|
292
|
-
/**
|
|
293
|
-
* Name attribute passed to the native select for form submission.
|
|
294
|
-
*/
|
|
295
|
-
"name"?: string;
|
|
296
|
-
/**
|
|
297
|
-
* Whether a value is required.
|
|
298
|
-
* @default false
|
|
299
|
-
*/
|
|
300
|
-
"required": boolean;
|
|
301
|
-
/**
|
|
302
|
-
* Currently selected value.
|
|
303
|
-
*/
|
|
304
|
-
"value"?: string;
|
|
305
|
-
}
|
|
306
|
-
}
|
|
307
|
-
export interface LmvzActionCustomEvent<T> extends CustomEvent<T> {
|
|
308
|
-
detail: T;
|
|
309
|
-
target: HTMLLmvzActionElement;
|
|
310
|
-
}
|
|
311
|
-
export interface LmvzButtonCustomEvent<T> extends CustomEvent<T> {
|
|
312
|
-
detail: T;
|
|
313
|
-
target: HTMLLmvzButtonElement;
|
|
314
|
-
}
|
|
315
|
-
export interface LmvzCardCustomEvent<T> extends CustomEvent<T> {
|
|
316
|
-
detail: T;
|
|
317
|
-
target: HTMLLmvzCardElement;
|
|
318
|
-
}
|
|
319
|
-
export interface LmvzInputCustomEvent<T> extends CustomEvent<T> {
|
|
320
|
-
detail: T;
|
|
321
|
-
target: HTMLLmvzInputElement;
|
|
322
|
-
}
|
|
323
|
-
export interface LmvzMenuitemCustomEvent<T> extends CustomEvent<T> {
|
|
324
|
-
detail: T;
|
|
325
|
-
target: HTMLLmvzMenuitemElement;
|
|
326
|
-
}
|
|
327
|
-
export interface LmvzSelectCustomEvent<T> extends CustomEvent<T> {
|
|
328
|
-
detail: T;
|
|
329
|
-
target: HTMLLmvzSelectElement;
|
|
330
|
-
}
|
|
331
|
-
declare global {
|
|
332
|
-
interface HTMLLmvzActionElementEventMap {
|
|
333
|
-
"actionClick": MouseEvent;
|
|
334
|
-
}
|
|
335
|
-
interface HTMLLmvzActionElement extends Components.LmvzAction, HTMLStencilElement {
|
|
336
|
-
addEventListener<K extends keyof HTMLLmvzActionElementEventMap>(type: K, listener: (this: HTMLLmvzActionElement, ev: LmvzActionCustomEvent<HTMLLmvzActionElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
337
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
338
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
339
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
340
|
-
removeEventListener<K extends keyof HTMLLmvzActionElementEventMap>(type: K, listener: (this: HTMLLmvzActionElement, ev: LmvzActionCustomEvent<HTMLLmvzActionElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
341
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
342
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
343
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
344
|
-
}
|
|
345
|
-
var HTMLLmvzActionElement: {
|
|
346
|
-
prototype: HTMLLmvzActionElement;
|
|
347
|
-
new (): HTMLLmvzActionElement;
|
|
348
|
-
};
|
|
349
|
-
interface HTMLLmvzButtonElementEventMap {
|
|
350
|
-
"lmvzActivation": void;
|
|
351
|
-
}
|
|
352
|
-
interface HTMLLmvzButtonElement extends Components.LmvzButton, HTMLStencilElement {
|
|
353
|
-
addEventListener<K extends keyof HTMLLmvzButtonElementEventMap>(type: K, listener: (this: HTMLLmvzButtonElement, ev: LmvzButtonCustomEvent<HTMLLmvzButtonElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
354
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
355
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
356
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
357
|
-
removeEventListener<K extends keyof HTMLLmvzButtonElementEventMap>(type: K, listener: (this: HTMLLmvzButtonElement, ev: LmvzButtonCustomEvent<HTMLLmvzButtonElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
358
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
359
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
360
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
361
|
-
}
|
|
362
|
-
var HTMLLmvzButtonElement: {
|
|
363
|
-
prototype: HTMLLmvzButtonElement;
|
|
364
|
-
new (): HTMLLmvzButtonElement;
|
|
365
|
-
};
|
|
366
|
-
interface HTMLLmvzCardElementEventMap {
|
|
367
|
-
"primaryAction": PointerEvent;
|
|
368
|
-
}
|
|
369
|
-
interface HTMLLmvzCardElement extends Components.LmvzCard, HTMLStencilElement {
|
|
370
|
-
addEventListener<K extends keyof HTMLLmvzCardElementEventMap>(type: K, listener: (this: HTMLLmvzCardElement, ev: LmvzCardCustomEvent<HTMLLmvzCardElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
371
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
372
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
373
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
374
|
-
removeEventListener<K extends keyof HTMLLmvzCardElementEventMap>(type: K, listener: (this: HTMLLmvzCardElement, ev: LmvzCardCustomEvent<HTMLLmvzCardElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
375
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
376
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
377
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
378
|
-
}
|
|
379
|
-
var HTMLLmvzCardElement: {
|
|
380
|
-
prototype: HTMLLmvzCardElement;
|
|
381
|
-
new (): HTMLLmvzCardElement;
|
|
382
|
-
};
|
|
383
|
-
interface HTMLLmvzChipElement extends Components.LmvzChip, HTMLStencilElement {
|
|
384
|
-
}
|
|
385
|
-
var HTMLLmvzChipElement: {
|
|
386
|
-
prototype: HTMLLmvzChipElement;
|
|
387
|
-
new (): HTMLLmvzChipElement;
|
|
388
|
-
};
|
|
389
|
-
/**
|
|
390
|
-
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
391
|
-
*/
|
|
392
|
-
interface HTMLLmvzHeaderElement extends Components.LmvzHeader, HTMLStencilElement {
|
|
393
|
-
}
|
|
394
|
-
var HTMLLmvzHeaderElement: {
|
|
395
|
-
prototype: HTMLLmvzHeaderElement;
|
|
396
|
-
new (): HTMLLmvzHeaderElement;
|
|
397
|
-
};
|
|
398
|
-
/**
|
|
399
|
-
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from our predefined icon set.
|
|
400
|
-
* It uses an IntersectionObserver to defer loading the icon until it becomes visible in the viewport. Once loaded, icon data is cached across instances.
|
|
401
|
-
*/
|
|
402
|
-
interface HTMLLmvzIconElement extends Components.LmvzIcon, HTMLStencilElement {
|
|
403
|
-
}
|
|
404
|
-
var HTMLLmvzIconElement: {
|
|
405
|
-
prototype: HTMLLmvzIconElement;
|
|
406
|
-
new (): HTMLLmvzIconElement;
|
|
407
|
-
};
|
|
408
|
-
interface HTMLLmvzInputElementEventMap {
|
|
409
|
-
"lmvzInput": string;
|
|
410
|
-
}
|
|
411
|
-
/**
|
|
412
|
-
* Input component with floating label, (form) validation, and slotted content support.
|
|
413
|
-
* @example ```html
|
|
414
|
-
* <lmvz-input
|
|
415
|
-
* label="Email"
|
|
416
|
-
* type="email"
|
|
417
|
-
* required
|
|
418
|
-
* autocomplete="email"
|
|
419
|
-
* helper-text="We'll never share your email"
|
|
420
|
-
* ></lmvz-input>
|
|
421
|
-
* ```
|
|
422
|
-
* @example ```typescript
|
|
423
|
-
* const input = document.querySelector('lmvz-input');
|
|
424
|
-
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
425
|
-
* await input.focus();
|
|
426
|
-
* ```
|
|
427
|
-
*/
|
|
428
|
-
interface HTMLLmvzInputElement extends Components.LmvzInput, HTMLStencilElement {
|
|
429
|
-
addEventListener<K extends keyof HTMLLmvzInputElementEventMap>(type: K, listener: (this: HTMLLmvzInputElement, ev: LmvzInputCustomEvent<HTMLLmvzInputElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
430
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
431
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
432
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
433
|
-
removeEventListener<K extends keyof HTMLLmvzInputElementEventMap>(type: K, listener: (this: HTMLLmvzInputElement, ev: LmvzInputCustomEvent<HTMLLmvzInputElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
434
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
435
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
436
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
437
|
-
}
|
|
438
|
-
var HTMLLmvzInputElement: {
|
|
439
|
-
prototype: HTMLLmvzInputElement;
|
|
440
|
-
new (): HTMLLmvzInputElement;
|
|
441
|
-
};
|
|
442
|
-
interface HTMLLmvzMenuitemElementEventMap {
|
|
443
|
-
"lmvzActivation": void;
|
|
444
|
-
}
|
|
445
|
-
/**
|
|
446
|
-
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
447
|
-
*/
|
|
448
|
-
interface HTMLLmvzMenuitemElement extends Components.LmvzMenuitem, HTMLStencilElement {
|
|
449
|
-
addEventListener<K extends keyof HTMLLmvzMenuitemElementEventMap>(type: K, listener: (this: HTMLLmvzMenuitemElement, ev: LmvzMenuitemCustomEvent<HTMLLmvzMenuitemElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
450
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
451
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
452
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
453
|
-
removeEventListener<K extends keyof HTMLLmvzMenuitemElementEventMap>(type: K, listener: (this: HTMLLmvzMenuitemElement, ev: LmvzMenuitemCustomEvent<HTMLLmvzMenuitemElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
454
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
455
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
456
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
457
|
-
}
|
|
458
|
-
var HTMLLmvzMenuitemElement: {
|
|
459
|
-
prototype: HTMLLmvzMenuitemElement;
|
|
460
|
-
new (): HTMLLmvzMenuitemElement;
|
|
461
|
-
};
|
|
462
|
-
interface HTMLLmvzSelectElementEventMap {
|
|
463
|
-
"lmvzChange": string;
|
|
464
|
-
}
|
|
465
|
-
/**
|
|
466
|
-
* Select component with floating label and pill-shaped trigger.
|
|
467
|
-
* Wraps a native `<select>` element for full keyboard and form support.
|
|
468
|
-
* @example ```html
|
|
469
|
-
* <lmvz-select label="Country" name="country">
|
|
470
|
-
* <option value="ch">Switzerland</option>
|
|
471
|
-
* <option value="de">Germany</option>
|
|
472
|
-
* <option value="at">Austria</option>
|
|
473
|
-
* </lmvz-select>
|
|
474
|
-
* ```
|
|
475
|
-
* @example ```typescript
|
|
476
|
-
* const select = document.querySelector('lmvz-select');
|
|
477
|
-
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
478
|
-
* ```
|
|
479
|
-
*/
|
|
480
|
-
interface HTMLLmvzSelectElement extends Components.LmvzSelect, HTMLStencilElement {
|
|
481
|
-
addEventListener<K extends keyof HTMLLmvzSelectElementEventMap>(type: K, listener: (this: HTMLLmvzSelectElement, ev: LmvzSelectCustomEvent<HTMLLmvzSelectElementEventMap[K]>) => any, options?: boolean | AddEventListenerOptions): void;
|
|
482
|
-
addEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
483
|
-
addEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | AddEventListenerOptions): void;
|
|
484
|
-
addEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | AddEventListenerOptions): void;
|
|
485
|
-
removeEventListener<K extends keyof HTMLLmvzSelectElementEventMap>(type: K, listener: (this: HTMLLmvzSelectElement, ev: LmvzSelectCustomEvent<HTMLLmvzSelectElementEventMap[K]>) => any, options?: boolean | EventListenerOptions): void;
|
|
486
|
-
removeEventListener<K extends keyof DocumentEventMap>(type: K, listener: (this: Document, ev: DocumentEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
487
|
-
removeEventListener<K extends keyof HTMLElementEventMap>(type: K, listener: (this: HTMLElement, ev: HTMLElementEventMap[K]) => any, options?: boolean | EventListenerOptions): void;
|
|
488
|
-
removeEventListener(type: string, listener: EventListenerOrEventListenerObject, options?: boolean | EventListenerOptions): void;
|
|
489
|
-
}
|
|
490
|
-
var HTMLLmvzSelectElement: {
|
|
491
|
-
prototype: HTMLLmvzSelectElement;
|
|
492
|
-
new (): HTMLLmvzSelectElement;
|
|
493
|
-
};
|
|
494
|
-
interface HTMLElementTagNameMap {
|
|
495
|
-
"lmvz-action": HTMLLmvzActionElement;
|
|
496
|
-
"lmvz-button": HTMLLmvzButtonElement;
|
|
497
|
-
"lmvz-card": HTMLLmvzCardElement;
|
|
498
|
-
"lmvz-chip": HTMLLmvzChipElement;
|
|
499
|
-
"lmvz-header": HTMLLmvzHeaderElement;
|
|
500
|
-
"lmvz-icon": HTMLLmvzIconElement;
|
|
501
|
-
"lmvz-input": HTMLLmvzInputElement;
|
|
502
|
-
"lmvz-menuitem": HTMLLmvzMenuitemElement;
|
|
503
|
-
"lmvz-select": HTMLLmvzSelectElement;
|
|
504
|
-
}
|
|
505
|
-
}
|
|
506
|
-
declare namespace LocalJSX {
|
|
507
|
-
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 };
|
|
508
|
-
|
|
509
|
-
interface LmvzAction {
|
|
510
|
-
"onActionClick"?: (event: LmvzActionCustomEvent<MouseEvent>) => void;
|
|
511
|
-
}
|
|
512
|
-
interface LmvzButton {
|
|
513
|
-
/**
|
|
514
|
-
* Whether the button is disabled
|
|
515
|
-
* @default false
|
|
516
|
-
*/
|
|
517
|
-
"disabled"?: boolean;
|
|
518
|
-
/**
|
|
519
|
-
* The HTML form element or form element id. Used to submit a form when the button is not a child of the form.
|
|
520
|
-
*/
|
|
521
|
-
"form"?: FormRef;
|
|
522
|
-
/**
|
|
523
|
-
* Event emitted when the button is activated, either by a click or by pressing "Enter" when the button is focused.
|
|
524
|
-
*/
|
|
525
|
-
"onLmvzActivation"?: (event: LmvzButtonCustomEvent<void>) => void;
|
|
526
|
-
/**
|
|
527
|
-
* Scale of the button
|
|
528
|
-
* @default 'default'
|
|
529
|
-
*/
|
|
530
|
-
"scale"?: Button.Scale;
|
|
531
|
-
/**
|
|
532
|
-
* @readonly
|
|
533
|
-
* @default 0
|
|
534
|
-
*/
|
|
535
|
-
"ti"?: number;
|
|
536
|
-
/**
|
|
537
|
-
* @default 'button'
|
|
538
|
-
*/
|
|
539
|
-
"type"?: 'submit' | 'button';
|
|
540
|
-
/**
|
|
541
|
-
* Variant of the button
|
|
542
|
-
* @default 'secondary', since the primary button should be marked as such in context
|
|
543
|
-
*/
|
|
544
|
-
"variant"?: Button.Variant;
|
|
545
|
-
}
|
|
546
|
-
interface LmvzCard {
|
|
547
|
-
/**
|
|
548
|
-
* Card title (required)
|
|
549
|
-
*/
|
|
550
|
-
"cardTitle": string;
|
|
551
|
-
/**
|
|
552
|
-
* Optional description
|
|
553
|
-
*/
|
|
554
|
-
"description"?: string;
|
|
555
|
-
/**
|
|
556
|
-
* Optional image URL; placeholder used if omitted
|
|
557
|
-
*/
|
|
558
|
-
"imageUrl"?: string;
|
|
559
|
-
/**
|
|
560
|
-
* Event emitted when primary button is clicked
|
|
561
|
-
*/
|
|
562
|
-
"onPrimaryAction"?: (event: LmvzCardCustomEvent<PointerEvent>) => void;
|
|
563
|
-
/**
|
|
564
|
-
* Primary action button label
|
|
565
|
-
* @default ''
|
|
566
|
-
*/
|
|
567
|
-
"primaryActionLabel"?: string;
|
|
568
|
-
}
|
|
569
|
-
interface LmvzChip {
|
|
570
|
-
"text": string;
|
|
571
|
-
}
|
|
572
|
-
/**
|
|
573
|
-
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
574
|
-
*/
|
|
575
|
-
interface LmvzHeader {
|
|
576
|
-
"lmvzActiveNav"?: string;
|
|
577
|
-
/**
|
|
578
|
-
* @readonly
|
|
579
|
-
* @default 'banner'
|
|
580
|
-
*/
|
|
581
|
-
"role"?: string;
|
|
582
|
-
}
|
|
583
|
-
/**
|
|
584
|
-
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from our predefined icon set.
|
|
585
|
-
* It uses an IntersectionObserver to defer loading the icon until it becomes visible in the viewport. Once loaded, icon data is cached across instances.
|
|
586
|
-
*/
|
|
587
|
-
interface LmvzIcon {
|
|
588
|
-
"ariaLabel"?: string;
|
|
589
|
-
/**
|
|
590
|
-
* The name of the icon to display (required).
|
|
591
|
-
*/
|
|
592
|
-
"icon": Icon.IconName;
|
|
593
|
-
/**
|
|
594
|
-
* The size of the icon (optional, default is 'md').
|
|
595
|
-
* @default 'md'
|
|
596
|
-
*/
|
|
597
|
-
"size"?: Icon.Size;
|
|
598
|
-
/**
|
|
599
|
-
* The weight/style of the icon (optional, default is 'medium').
|
|
600
|
-
* @default 'medium'
|
|
601
|
-
*/
|
|
602
|
-
"weight"?: Icon.IconWeight;
|
|
603
|
-
}
|
|
604
|
-
/**
|
|
605
|
-
* Input component with floating label, (form) validation, and slotted content support.
|
|
606
|
-
* @example ```html
|
|
607
|
-
* <lmvz-input
|
|
608
|
-
* label="Email"
|
|
609
|
-
* type="email"
|
|
610
|
-
* required
|
|
611
|
-
* autocomplete="email"
|
|
612
|
-
* helper-text="We'll never share your email"
|
|
613
|
-
* ></lmvz-input>
|
|
614
|
-
* ```
|
|
615
|
-
* @example ```typescript
|
|
616
|
-
* const input = document.querySelector('lmvz-input');
|
|
617
|
-
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
618
|
-
* await input.focus();
|
|
619
|
-
* ```
|
|
620
|
-
*/
|
|
621
|
-
interface LmvzInput {
|
|
622
|
-
/**
|
|
623
|
-
* Autocapitalize attribute for mobile keyboards
|
|
624
|
-
* @default undefined
|
|
625
|
-
*/
|
|
626
|
-
"autocapitalize"?: Input.Autocapitalize;
|
|
627
|
-
/**
|
|
628
|
-
* Autocomplete attribute for form autofill
|
|
629
|
-
*/
|
|
630
|
-
"autocomplete"?: Input.Autocomplete;
|
|
631
|
-
/**
|
|
632
|
-
* Autocorrect attribute for mobile keyboards
|
|
633
|
-
* @default undefined
|
|
634
|
-
*/
|
|
635
|
-
"autocorrect"?: 'on' | 'off';
|
|
636
|
-
/**
|
|
637
|
-
* Whether the input should autofocus
|
|
638
|
-
* @default false
|
|
639
|
-
*/
|
|
640
|
-
"autofocus"?: boolean;
|
|
641
|
-
/**
|
|
642
|
-
* Whether the input is disabled
|
|
643
|
-
* @default false
|
|
644
|
-
*/
|
|
645
|
-
"disabled"?: boolean;
|
|
646
|
-
/**
|
|
647
|
-
* Whether the input is in an error state When not set manually, this will automatically reflect native HTML5 validation state
|
|
648
|
-
* @default false
|
|
649
|
-
*/
|
|
650
|
-
"error"?: boolean;
|
|
651
|
-
/**
|
|
652
|
-
* Error message to display when error is true
|
|
653
|
-
*/
|
|
654
|
-
"errorMessage"?: string;
|
|
655
|
-
/**
|
|
656
|
-
* Form id to associate with
|
|
657
|
-
*/
|
|
658
|
-
"form"?: string;
|
|
659
|
-
/**
|
|
660
|
-
* Helper text displayed below the input
|
|
661
|
-
*/
|
|
662
|
-
"helperText"?: string;
|
|
663
|
-
/**
|
|
664
|
-
* Input mode for mobile keyboards
|
|
665
|
-
*/
|
|
666
|
-
"inputmode"?: Input.Inputmode;
|
|
667
|
-
/**
|
|
668
|
-
* Label text for the input
|
|
669
|
-
*/
|
|
670
|
-
"label": string;
|
|
671
|
-
/**
|
|
672
|
-
* Maximum value for number/date inputs
|
|
673
|
-
*/
|
|
674
|
-
"max"?: number | string;
|
|
675
|
-
/**
|
|
676
|
-
* Maximum length for text inputs
|
|
677
|
-
*/
|
|
678
|
-
"maxlength"?: number;
|
|
679
|
-
/**
|
|
680
|
-
* Minimum value for number/date inputs
|
|
681
|
-
*/
|
|
682
|
-
"min"?: number | string;
|
|
683
|
-
/**
|
|
684
|
-
* Minimum length for text inputs
|
|
685
|
-
*/
|
|
686
|
-
"minlength"?: number;
|
|
687
|
-
/**
|
|
688
|
-
* Name attribute for the input
|
|
689
|
-
*/
|
|
690
|
-
"name"?: string;
|
|
691
|
-
"onLmvzInput"?: (event: LmvzInputCustomEvent<string>) => void;
|
|
692
|
-
/**
|
|
693
|
-
* Validation pattern (regex)
|
|
694
|
-
*/
|
|
695
|
-
"pattern"?: string;
|
|
696
|
-
/**
|
|
697
|
-
* Placeholder text
|
|
698
|
-
*/
|
|
699
|
-
"placeholder"?: string;
|
|
700
|
-
/**
|
|
701
|
-
* Whether the input is readonly
|
|
702
|
-
* @default false
|
|
703
|
-
*/
|
|
704
|
-
"readonly"?: boolean;
|
|
705
|
-
/**
|
|
706
|
-
* Whether the input is required
|
|
707
|
-
* @default false
|
|
708
|
-
*/
|
|
709
|
-
"required"?: boolean;
|
|
710
|
-
/**
|
|
711
|
-
* Spellcheck attribute
|
|
712
|
-
* @default undefined
|
|
713
|
-
*/
|
|
714
|
-
"spellcheck"?: boolean;
|
|
715
|
-
/**
|
|
716
|
-
* Step interval for number inputs
|
|
717
|
-
*/
|
|
718
|
-
"step"?: number | string;
|
|
719
|
-
/**
|
|
720
|
-
* Type of the input
|
|
721
|
-
* @default 'text'
|
|
722
|
-
*/
|
|
723
|
-
"type"?: Input.Type;
|
|
724
|
-
/**
|
|
725
|
-
* Value of the input
|
|
726
|
-
*/
|
|
727
|
-
"value"?: string;
|
|
728
|
-
}
|
|
729
|
-
/**
|
|
730
|
-
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
731
|
-
*/
|
|
732
|
-
interface LmvzMenuitem {
|
|
733
|
-
/**
|
|
734
|
-
* Event emitted when the menu item is activated, either by a click or by pressing "Enter" or "Space" while the menu item is focused.
|
|
735
|
-
*/
|
|
736
|
-
"onLmvzActivation"?: (event: LmvzMenuitemCustomEvent<void>) => void;
|
|
737
|
-
/**
|
|
738
|
-
* @readonly
|
|
739
|
-
* @default 'menuitem'
|
|
740
|
-
*/
|
|
741
|
-
"role"?: string;
|
|
742
|
-
/**
|
|
743
|
-
* @readonly
|
|
744
|
-
* @default 0
|
|
745
|
-
*/
|
|
746
|
-
"ti"?: number;
|
|
747
|
-
}
|
|
748
|
-
/**
|
|
749
|
-
* Select component with floating label and pill-shaped trigger.
|
|
750
|
-
* Wraps a native `<select>` element for full keyboard and form support.
|
|
751
|
-
* @example ```html
|
|
752
|
-
* <lmvz-select label="Country" name="country">
|
|
753
|
-
* <option value="ch">Switzerland</option>
|
|
754
|
-
* <option value="de">Germany</option>
|
|
755
|
-
* <option value="at">Austria</option>
|
|
756
|
-
* </lmvz-select>
|
|
757
|
-
* ```
|
|
758
|
-
* @example ```typescript
|
|
759
|
-
* const select = document.querySelector('lmvz-select');
|
|
760
|
-
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
761
|
-
* ```
|
|
762
|
-
*/
|
|
763
|
-
interface LmvzSelect {
|
|
764
|
-
/**
|
|
765
|
-
* Whether the select is disabled.
|
|
766
|
-
* @default false
|
|
767
|
-
*/
|
|
768
|
-
"disabled"?: boolean;
|
|
769
|
-
/**
|
|
770
|
-
* Helper text displayed below the select field.
|
|
771
|
-
*/
|
|
772
|
-
"helperText"?: string;
|
|
773
|
-
/**
|
|
774
|
-
* Label text displayed as a placeholder when no value is selected, and floated above the trigger when a value is present.
|
|
775
|
-
*/
|
|
776
|
-
"label": string;
|
|
777
|
-
/**
|
|
778
|
-
* Name attribute passed to the native select for form submission.
|
|
779
|
-
*/
|
|
780
|
-
"name"?: string;
|
|
781
|
-
/**
|
|
782
|
-
* Emitted when the user selects a new option. Detail contains the new value.
|
|
783
|
-
*/
|
|
784
|
-
"onLmvzChange"?: (event: LmvzSelectCustomEvent<string>) => void;
|
|
785
|
-
/**
|
|
786
|
-
* Whether a value is required.
|
|
787
|
-
* @default false
|
|
788
|
-
*/
|
|
789
|
-
"required"?: boolean;
|
|
790
|
-
/**
|
|
791
|
-
* Currently selected value.
|
|
792
|
-
*/
|
|
793
|
-
"value"?: string;
|
|
794
|
-
}
|
|
795
|
-
|
|
796
|
-
interface LmvzButtonAttributes {
|
|
797
|
-
"ti": number;
|
|
798
|
-
"scale": Button.Scale;
|
|
799
|
-
"variant": Button.Variant;
|
|
800
|
-
"disabled": boolean;
|
|
801
|
-
"type": 'submit' | 'button';
|
|
802
|
-
"form": FormRef;
|
|
803
|
-
}
|
|
804
|
-
interface LmvzCardAttributes {
|
|
805
|
-
"cardTitle": string;
|
|
806
|
-
"imageUrl": string;
|
|
807
|
-
"description": string;
|
|
808
|
-
"primaryActionLabel": string;
|
|
809
|
-
}
|
|
810
|
-
interface LmvzChipAttributes {
|
|
811
|
-
"text": string;
|
|
812
|
-
}
|
|
813
|
-
interface LmvzHeaderAttributes {
|
|
814
|
-
"role": string;
|
|
815
|
-
"lmvzActiveNav": string;
|
|
816
|
-
}
|
|
817
|
-
interface LmvzIconAttributes {
|
|
818
|
-
"icon": Icon.IconName;
|
|
819
|
-
"weight": Icon.IconWeight;
|
|
820
|
-
"size": Icon.Size;
|
|
821
|
-
"ariaLabel": string;
|
|
822
|
-
}
|
|
823
|
-
interface LmvzInputAttributes {
|
|
824
|
-
"value": string;
|
|
825
|
-
"label": string;
|
|
826
|
-
"helperText": string;
|
|
827
|
-
"placeholder": string;
|
|
828
|
-
"disabled": boolean;
|
|
829
|
-
"readonly": boolean;
|
|
830
|
-
"required": boolean;
|
|
831
|
-
"name": string;
|
|
832
|
-
"type": Input.Type;
|
|
833
|
-
"errorMessage": string;
|
|
834
|
-
"autocomplete": Input.Autocomplete;
|
|
835
|
-
"inputmode": Input.Inputmode;
|
|
836
|
-
"autocorrect": 'on' | 'off';
|
|
837
|
-
"autocapitalize": Input.Autocapitalize;
|
|
838
|
-
"spellcheck": boolean;
|
|
839
|
-
"autofocus": boolean;
|
|
840
|
-
"minlength": number;
|
|
841
|
-
"maxlength": number;
|
|
842
|
-
"pattern": string;
|
|
843
|
-
"min": string;
|
|
844
|
-
"max": string;
|
|
845
|
-
"step": string;
|
|
846
|
-
"form": string;
|
|
847
|
-
"error": boolean;
|
|
848
|
-
}
|
|
849
|
-
interface LmvzMenuitemAttributes {
|
|
850
|
-
"role": string;
|
|
851
|
-
"ti": number;
|
|
852
|
-
}
|
|
853
|
-
interface LmvzSelectAttributes {
|
|
854
|
-
"value": string;
|
|
855
|
-
"label": string;
|
|
856
|
-
"helperText": string;
|
|
857
|
-
"disabled": boolean;
|
|
858
|
-
"required": boolean;
|
|
859
|
-
"name": string;
|
|
860
|
-
}
|
|
861
|
-
|
|
862
|
-
interface IntrinsicElements {
|
|
863
|
-
"lmvz-action": LmvzAction;
|
|
864
|
-
"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] };
|
|
865
|
-
"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"]>;
|
|
866
|
-
"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"]>;
|
|
867
|
-
"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] };
|
|
868
|
-
"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"]>;
|
|
869
|
-
"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"]>;
|
|
870
|
-
"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] };
|
|
871
|
-
"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"]>;
|
|
872
|
-
}
|
|
873
|
-
}
|
|
874
|
-
export { LocalJSX as JSX };
|
|
875
|
-
declare module "@stencil/core" {
|
|
876
|
-
export namespace JSX {
|
|
877
|
-
interface IntrinsicElements {
|
|
878
|
-
"lmvz-action": LocalJSX.IntrinsicElements["lmvz-action"] & JSXBase.HTMLAttributes<HTMLLmvzActionElement>;
|
|
879
|
-
"lmvz-button": LocalJSX.IntrinsicElements["lmvz-button"] & JSXBase.HTMLAttributes<HTMLLmvzButtonElement>;
|
|
880
|
-
"lmvz-card": LocalJSX.IntrinsicElements["lmvz-card"] & JSXBase.HTMLAttributes<HTMLLmvzCardElement>;
|
|
881
|
-
"lmvz-chip": LocalJSX.IntrinsicElements["lmvz-chip"] & JSXBase.HTMLAttributes<HTMLLmvzChipElement>;
|
|
882
|
-
/**
|
|
883
|
-
* An accessible, application-style navigation header component, that renders two connected levels of navigation.
|
|
884
|
-
*/
|
|
885
|
-
"lmvz-header": LocalJSX.IntrinsicElements["lmvz-header"] & JSXBase.HTMLAttributes<HTMLLmvzHeaderElement>;
|
|
886
|
-
/**
|
|
887
|
-
* `lmvz-icon` is a web component that lazy-loads and displays an SVG icon from our predefined icon set.
|
|
888
|
-
* It uses an IntersectionObserver to defer loading the icon until it becomes visible in the viewport. Once loaded, icon data is cached across instances.
|
|
889
|
-
*/
|
|
890
|
-
"lmvz-icon": LocalJSX.IntrinsicElements["lmvz-icon"] & JSXBase.HTMLAttributes<HTMLLmvzIconElement>;
|
|
891
|
-
/**
|
|
892
|
-
* Input component with floating label, (form) validation, and slotted content support.
|
|
893
|
-
* @example ```html
|
|
894
|
-
* <lmvz-input
|
|
895
|
-
* label="Email"
|
|
896
|
-
* type="email"
|
|
897
|
-
* required
|
|
898
|
-
* autocomplete="email"
|
|
899
|
-
* helper-text="We'll never share your email"
|
|
900
|
-
* ></lmvz-input>
|
|
901
|
-
* ```
|
|
902
|
-
* @example ```typescript
|
|
903
|
-
* const input = document.querySelector('lmvz-input');
|
|
904
|
-
* input.addEventListener('input', (e) => console.log(e.target.value));
|
|
905
|
-
* await input.focus();
|
|
906
|
-
* ```
|
|
907
|
-
*/
|
|
908
|
-
"lmvz-input": LocalJSX.IntrinsicElements["lmvz-input"] & JSXBase.HTMLAttributes<HTMLLmvzInputElement>;
|
|
909
|
-
/**
|
|
910
|
-
* A menu item component to be used within the `lmvz-header` component's navigation slots.
|
|
911
|
-
*/
|
|
912
|
-
"lmvz-menuitem": LocalJSX.IntrinsicElements["lmvz-menuitem"] & JSXBase.HTMLAttributes<HTMLLmvzMenuitemElement>;
|
|
913
|
-
/**
|
|
914
|
-
* Select component with floating label and pill-shaped trigger.
|
|
915
|
-
* Wraps a native `<select>` element for full keyboard and form support.
|
|
916
|
-
* @example ```html
|
|
917
|
-
* <lmvz-select label="Country" name="country">
|
|
918
|
-
* <option value="ch">Switzerland</option>
|
|
919
|
-
* <option value="de">Germany</option>
|
|
920
|
-
* <option value="at">Austria</option>
|
|
921
|
-
* </lmvz-select>
|
|
922
|
-
* ```
|
|
923
|
-
* @example ```typescript
|
|
924
|
-
* const select = document.querySelector('lmvz-select');
|
|
925
|
-
* select.addEventListener('lmvzChange', (e) => console.log(e.detail));
|
|
926
|
-
* ```
|
|
927
|
-
*/
|
|
928
|
-
"lmvz-select": LocalJSX.IntrinsicElements["lmvz-select"] & JSXBase.HTMLAttributes<HTMLLmvzSelectElement>;
|
|
929
|
-
}
|
|
930
|
-
}
|
|
931
|
-
}
|