@lmvz-ds/components 0.34.0 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +12 -0
- package/README.md +10 -0
- package/cjs/{async.util-BQ60l-WC.js → async.util-Dnl6c82X.js} +1 -0
- package/cjs/{list-keyboard-controller-Dm5S_l0D.js → directional-focus-controller-DBat-oF7.js} +13 -1
- package/cjs/element-activation-controller-BHqCUgQv.js +57 -0
- package/cjs/{element.util-Dbyc8yUG.js → element.util-CRS_YJ59.js} +10 -2
- package/cjs/lmvz-action-list.cjs.entry.js +9 -6
- package/cjs/lmvz-action.cjs.entry.js +1 -1
- package/cjs/lmvz-button-group.cjs.entry.js +1 -1
- package/cjs/lmvz-button_2.cjs.entry.js +6 -7
- package/cjs/lmvz-card.cjs.entry.js +1 -1
- package/cjs/lmvz-checkbox.cjs.entry.js +2 -2
- package/cjs/lmvz-chip.cjs.entry.js +2 -2
- package/cjs/lmvz-components.cjs.js +1 -1
- package/cjs/lmvz-header_2.cjs.entry.js +10 -7
- package/cjs/lmvz-input.cjs.entry.js +4 -4
- package/cjs/lmvz-link.cjs.entry.js +1 -1
- package/cjs/lmvz-menuitem.cjs.entry.js +3 -2
- package/cjs/lmvz-message.cjs.entry.js +43 -10
- package/cjs/lmvz-modal.cjs.entry.js +4 -4
- package/cjs/lmvz-popover.cjs.entry.js +48 -28
- package/cjs/lmvz-radio.cjs.entry.js +2 -2
- package/cjs/lmvz-select.cjs.entry.js +2 -2
- package/cjs/lmvz-snackbar.cjs.entry.js +1 -1
- package/cjs/lmvz-tab.cjs.entry.js +1 -1
- package/cjs/lmvz-tabs.cjs.entry.js +10 -7
- package/cjs/lmvz-toggle.cjs.entry.js +4 -4
- package/cjs/loader.cjs.js +1 -1
- package/{esm/reactive-controller-host-FBuCCcFC.js → cjs/reactive-controller-host-Bc6B_T45.js} +19 -1
- package/cjs/{stencil.util-DxdYjVoH.js → stencil.util-CBrPLd-F.js} +1 -1
- package/collection/components/lmvz-action/lmvz-action.js +1 -1
- package/collection/components/lmvz-action-list/lmvz-action-list.css +7 -7
- package/collection/components/lmvz-action-list/lmvz-action-list.js +26 -2
- package/collection/components/lmvz-button/lmvz-button.css +7 -7
- package/collection/components/lmvz-button/lmvz-button.js +1 -2
- package/collection/components/lmvz-card/lmvz-card.css +10 -10
- package/collection/components/lmvz-checkbox/lmvz-checkbox.css +8 -8
- package/collection/components/lmvz-chip/lmvz-chip.css +20 -20
- package/collection/components/lmvz-header/lmvz-header.css +3 -3
- package/collection/components/lmvz-header/lmvz-header.js +26 -2
- package/collection/components/lmvz-icon/lmvz-icon.css +1 -1
- package/collection/components/lmvz-input/lmvz-input.css +3 -3
- package/collection/components/lmvz-link/lmvz-link.css +6 -4
- package/collection/components/lmvz-message/lmvz-message.css +5 -5
- package/collection/components/lmvz-message/lmvz-message.js +42 -9
- package/collection/components/lmvz-modal/lmvz-modal.css +5 -5
- package/collection/components/lmvz-modal/lmvz-modal.js +1 -1
- package/collection/components/lmvz-modal/test/testing.js +36 -0
- package/collection/components/lmvz-popover/lmvz-popover.js +55 -28
- package/collection/components/lmvz-radio/lmvz-radio.css +9 -9
- package/collection/components/lmvz-select/lmvz-select.css +5 -5
- package/collection/components/lmvz-snackbar/lmvz-snackbar.css +13 -13
- package/collection/components/lmvz-tab/lmvz-tab.css +9 -9
- package/collection/components/lmvz-tabs/lmvz-tabs.css +2 -2
- package/collection/components/lmvz-tabs/lmvz-tabs.js +22 -2
- package/collection/components/lmvz-toggle/lmvz-toggle.css +3 -3
- package/collection/utils/aria/{list-keyboard-controller.js → directional-focus-controller.js} +11 -0
- package/collection/utils/aria/element-activation-controller.js +27 -11
- package/collection/utils/data/{event.utilt.js → event.util.js} +8 -0
- package/collection/utils/element/element.util.js +9 -2
- package/collection/utils/stencil/reactive-controller-host.js +14 -0
- package/components/index.js +1 -1
- package/components/lmvz-action-list.js +1 -1
- package/components/lmvz-action.js +1 -1
- package/components/lmvz-button-group.js +1 -1
- package/components/lmvz-button.js +1 -1
- package/components/lmvz-card.js +1 -1
- package/components/lmvz-checkbox.js +1 -1
- package/components/lmvz-chip.js +1 -1
- package/components/lmvz-header.js +1 -1
- package/components/lmvz-icon.js +1 -1
- package/components/lmvz-input.js +1 -1
- package/components/lmvz-link.js +1 -1
- package/components/lmvz-menuitem.js +1 -1
- package/components/lmvz-message.js +1 -1
- package/components/lmvz-modal.js +1 -1
- package/components/lmvz-popover.js +1 -1
- package/components/lmvz-radio.js +1 -1
- package/components/lmvz-select.js +1 -1
- package/components/lmvz-snackbar.js +1 -1
- package/components/lmvz-tab.js +1 -1
- package/components/lmvz-tabs.js +1 -1
- package/components/lmvz-toggle.js +1 -1
- package/components/p-BVzxNP7h.js +1 -0
- package/components/p-CgK6-SEe.js +1 -0
- package/components/{p-De-xQqdU.js → p-Chj7BuUZ.js} +1 -1
- package/components/p-CxLd309t.js +1 -0
- package/components/{p-D7S1WiEC.js → p-D5FL8n1q.js} +1 -1
- package/components/p-DLUsBYJH.js +1 -0
- package/components/p-DZj20TV1.js +1 -0
- package/components/p-bh9cItsP.js +1 -0
- package/components/p-zMWemcoB.js +1 -0
- package/esm/{async.util-D9nUtvTm.js → async.util-DZj20TV1.js} +1 -1
- package/esm/{list-keyboard-controller-tle6IRkv.js → directional-focus-controller-DgAdCZrG.js} +13 -2
- package/esm/element-activation-controller-7PNSl6io.js +54 -0
- package/esm/{element.util-B0eCxdyI.js → element.util-BFcYfHYq.js} +10 -3
- package/esm/lmvz-action-list.entry.js +8 -5
- package/esm/lmvz-action.entry.js +1 -1
- package/esm/lmvz-button-group.entry.js +1 -1
- package/esm/lmvz-button_2.entry.js +6 -7
- package/esm/lmvz-card.entry.js +1 -1
- package/esm/lmvz-checkbox.entry.js +2 -2
- package/esm/lmvz-chip.entry.js +2 -2
- package/esm/lmvz-components.js +1 -1
- package/esm/lmvz-header_2.entry.js +9 -6
- package/esm/lmvz-input.entry.js +4 -4
- package/esm/lmvz-link.entry.js +1 -1
- package/esm/lmvz-menuitem.entry.js +3 -2
- package/esm/lmvz-message.entry.js +43 -10
- package/esm/lmvz-modal.entry.js +4 -4
- package/esm/lmvz-popover.entry.js +48 -28
- package/esm/lmvz-radio.entry.js +2 -2
- package/esm/lmvz-select.entry.js +2 -2
- package/esm/lmvz-snackbar.entry.js +1 -1
- package/esm/lmvz-tab.entry.js +1 -1
- package/esm/lmvz-tabs.entry.js +8 -5
- package/esm/lmvz-toggle.entry.js +4 -4
- package/esm/loader.js +1 -1
- package/{cjs/reactive-controller-host-B_lZtcA6.js → esm/reactive-controller-host-CICeIanv.js} +15 -3
- package/esm/{stencil.util-wGFRYLwZ.js → stencil.util-D2-5rsN3.js} +1 -1
- package/hydrate/index.js +229 -114
- package/hydrate/index.mjs +229 -114
- package/lmvz-components/lmvz-components.esm.js +1 -1
- package/lmvz-components/{p-b0626234.entry.js → p-0c05f24b.entry.js} +1 -1
- package/lmvz-components/{p-b67ff2d1.entry.js → p-194a3af5.entry.js} +1 -1
- package/lmvz-components/{p-585470ef.entry.js → p-24d13be6.entry.js} +1 -1
- package/lmvz-components/p-4416d688.entry.js +1 -0
- package/lmvz-components/{p-08613ba2.entry.js → p-46edf36f.entry.js} +1 -1
- package/lmvz-components/{p-bfde444e.entry.js → p-489d9912.entry.js} +1 -1
- package/lmvz-components/p-5ff55ba9.entry.js +1 -0
- package/lmvz-components/{p-03c38ff2.entry.js → p-888e04d7.entry.js} +1 -1
- package/lmvz-components/p-9dc420e2.entry.js +1 -0
- package/lmvz-components/p-BFcYfHYq.js +1 -0
- package/lmvz-components/p-BuEA0MWd.js +1 -0
- package/lmvz-components/p-CICeIanv.js +1 -0
- package/lmvz-components/p-DZj20TV1.js +1 -0
- package/lmvz-components/p-a887018d.entry.js +1 -0
- package/lmvz-components/p-aaa7691c.entry.js +1 -0
- package/lmvz-components/p-af48eccb.entry.js +1 -0
- package/lmvz-components/{p-9b7ce515.entry.js → p-bc237ab7.entry.js} +1 -1
- package/lmvz-components/p-bh9cItsP.js +1 -0
- package/lmvz-components/{p-2036044c.entry.js → p-c2544495.entry.js} +1 -1
- package/lmvz-components/{p-ddc28256.entry.js → p-d4154a65.entry.js} +1 -1
- package/lmvz-components/p-e4ce63b3.entry.js +1 -0
- package/lmvz-components/{p-11de5905.entry.js → p-eb4c5a6f.entry.js} +1 -1
- package/lmvz-components/{p-6140866f.entry.js → p-eb62d4af.entry.js} +1 -1
- package/lmvz-components/{p-ce1a9f39.entry.js → p-ecbd9e93.entry.js} +1 -1
- package/lmvz-components/{p-4254aa38.entry.js → p-f42b16e6.entry.js} +1 -1
- package/lmvz-components/p-wlMjNjuv.js +1 -0
- package/manifest.json +79 -5
- package/package.json +1 -1
- package/types/api/ds.constants.d.ts +1 -0
- package/types/components/lmvz-action/lmvz-action.d.ts +1 -0
- package/types/components/lmvz-action-list/lmvz-action-list.d.ts +3 -1
- package/types/components/lmvz-button/lmvz-button.d.ts +2 -1
- package/types/components/lmvz-button-group/lmvz-button-group.d.ts +1 -0
- package/types/components/lmvz-card/lmvz-card.d.ts +1 -0
- package/types/components/lmvz-checkbox/lmvz-checkbox.d.ts +1 -0
- package/types/components/lmvz-chip/lmvz-chip.d.ts +1 -0
- package/types/components/lmvz-header/lmvz-header.d.ts +4 -2
- package/types/components/lmvz-icon/lmvz-icon.d.ts +1 -0
- package/types/components/lmvz-input/lmvz-input.d.ts +1 -0
- package/types/components/lmvz-link/lmvz-link.d.ts +1 -0
- package/types/components/lmvz-menuitem/lmvz-menuitem.d.ts +1 -0
- package/types/components/lmvz-message/lmvz-message.d.ts +1 -0
- package/types/components/lmvz-message/public.d.ts +1 -0
- package/types/components/lmvz-modal/lmvz-modal.d.ts +1 -0
- package/types/components/lmvz-modal/test/testing.d.ts +10 -0
- package/types/components/lmvz-popover/lmvz-popover.d.ts +6 -3
- package/types/components/lmvz-radio/lmvz-radio.d.ts +1 -0
- package/types/components/lmvz-select/lmvz-select.d.ts +1 -0
- package/types/components/lmvz-snackbar/lmvz-snackbar.d.ts +1 -0
- package/types/components/lmvz-snackbar/public.d.ts +1 -0
- package/types/components/lmvz-snackbar/snackbar-controller.d.ts +1 -0
- package/types/components/lmvz-spinner/lmvz-spinner.d.ts +1 -0
- package/types/components/lmvz-tab/lmvz-tab.d.ts +1 -0
- package/types/components/lmvz-tabs/lmvz-tabs.d.ts +3 -1
- package/types/components/lmvz-toggle/lmvz-toggle.d.ts +1 -0
- package/types/components.d.ts +18 -0
- package/types/index.d.ts +1 -0
- package/types/utils/aria/aria-validation-controller.d.ts +1 -0
- package/types/utils/aria/aria.constants.d.ts +1 -0
- package/types/utils/aria/{list-keyboard-controller.d.ts → directional-focus-controller.d.ts} +13 -2
- package/types/utils/aria/element-activation-controller.d.ts +11 -2
- package/types/utils/async/async.util.d.ts +1 -0
- package/types/utils/data/event.util.d.ts +6 -0
- package/types/utils/data/number.util.d.ts +1 -0
- package/types/utils/data/object.util.d.ts +1 -0
- package/types/utils/data/time.util.d.ts +1 -0
- package/types/utils/element/element.util.d.ts +2 -0
- package/types/utils/environment.d.ts +1 -0
- package/types/utils/icons/icons-registry.d.ts +1 -0
- package/types/utils/icons/icons.d.ts +1 -0
- package/types/utils/icons/icons.unit.d.ts +1 -0
- package/types/utils/icons/public.d.ts +1 -0
- package/types/utils/public.d.ts +1 -0
- package/types/utils/radio/radio-group-controller.d.ts +1 -0
- package/types/utils/stencil/assets.d.ts +1 -0
- package/types/utils/stencil/reactive-controller-host.d.ts +8 -1
- package/types/utils/stencil/stencil.util.d.ts +1 -0
- package/cjs/element-activation-controller-DC_6T0Rt.js +0 -31
- package/components/p-BhSTYZC6.js +0 -1
- package/components/p-CE-QR3Tp.js +0 -1
- package/components/p-CK3Ixl1K.js +0 -1
- package/components/p-CN0JX9-m.js +0 -1
- package/components/p-D-2gj6LP.js +0 -1
- package/components/p-D9nUtvTm.js +0 -1
- package/components/p-DAMVH-31.js +0 -1
- package/esm/element-activation-controller-CN0JX9-m.js +0 -29
- package/lmvz-components/p-45c3ccb6.entry.js +0 -1
- package/lmvz-components/p-49e98627.entry.js +0 -1
- package/lmvz-components/p-4f005b23.entry.js +0 -1
- package/lmvz-components/p-50063516.entry.js +0 -1
- package/lmvz-components/p-9f8fd077.entry.js +0 -1
- package/lmvz-components/p-B0eCxdyI.js +0 -1
- package/lmvz-components/p-BhSTYZC6.js +0 -1
- package/lmvz-components/p-CN0JX9-m.js +0 -1
- package/lmvz-components/p-D9nUtvTm.js +0 -1
- package/lmvz-components/p-DuLiExhX.js +0 -1
- package/lmvz-components/p-FBuCCcFC.js +0 -1
- package/lmvz-components/p-cc2734e9.entry.js +0 -1
- package/lmvz-components/p-fd455288.entry.js +0 -1
- package/types/utils/data/event.utilt.d.ts +0 -4
package/cjs/loader.cjs.js
CHANGED
|
@@ -6,7 +6,7 @@ var appGlobals = require('./app-globals-V2Kpy_OQ.js');
|
|
|
6
6
|
const defineCustomElements = async (win, options) => {
|
|
7
7
|
if (typeof window === 'undefined') return undefined;
|
|
8
8
|
await appGlobals.globalScripts();
|
|
9
|
-
return index.bootstrapLazy([["lmvz-modal.cjs",[[769,"lmvz-modal",{"open":[1540],"closeLabel":[1,"close-label"],"hasHeader":[32]},[[0,"submit","handleFormDialogSubmit"]],{"open":[{"handleOpenChange":0}]}]]],["lmvz-message.cjs",[[769,"lmvz-message",{"type":[513],"live":[1],"leadingIcon":[4,"leading-icon"],"dismissible":[4],"closeLabel":[1,"close-label"],"actionLabel":[1,"action-label"]}]]],["lmvz-snackbar.cjs",[[513,"lmvz-snackbar",{"status":[1537],"message":[1025],"duration":[1026],"priority":[1025],"actionLabel":[1025,"action-label"],"animationClass":[32],"show":[64],"hide":[64]},null,{"status":[{"onStatusChange":0}]}]]],["lmvz-link.cjs",[[785,"lmvz-link",{"href":[513],"target":[513],"rel":[1],"type":[1537],"externalLabel":[1,"external-label"]},null,{"type":[{"normalizeType":0}]}]]],["lmvz-header_2.cjs",[[769,"lmvz-header",{"role":[2561],"lmvzActiveNav":[1,"lmvz-active-nav"]},null,{"lmvzActiveNav":[{"handleActiveNavChange":0}]}],[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-action.cjs",[[257,"lmvz-action"]]],["lmvz-action-list.cjs",[[774,"lmvz-action-list",{"label":[1]}]]],["lmvz-card.cjs",[[774,"lmvz-card",{"cardTitle":[1,"card-title"],"imageUrl":[1,"image-url"],"description":[1],"primaryActionLabel":[1,"primary-action-label"]}]]],["lmvz-checkbox.cjs",[[578,"lmvz-checkbox",{"label":[1],"checked":[1540],"value":[1],"name":[1],"disabled":[516],"required":[516],"error":[516],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"form":[1],"autofocus":[4],"checkedState":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64]},null,{"checked":[{"handleCheckedChange":0}]}]]],["lmvz-chip.cjs",[[769,"lmvz-chip",{"type":[1537],"size":[1537]},null,{"type":[{"normalizeType":0}],"size":[{"normalizeSize":0}]}]]],["lmvz-input.cjs",[[838,"lmvz-input",{"value":[1025],"label":[1],"helperText":[1,"helper-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"required":[516],"name":[1],"type":[1],"errorMessage":[1,"error-message"],"autocomplete":[1],"inputmode":[1],"autocorrect":[1],"autocapitalize":[1],"spellcheck":[4],"autofocus":[4],"minlength":[2],"maxlength":[2],"pattern":[1],"min":[8],"max":[8],"step":[8],"form":[1],"size":[513],"error":[6660],"nativeError":[32],"setValue":[64],"focusInput":[64],"blurInput":[64],"select":[64],"checkValidity":[64],"reportValidity":[64],"getInputElement":[64]},null,{"value":[{"handleValueChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-menuitem.cjs",[[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-popover.cjs",[[769,"lmvz-popover",{"open":[1540],"anchor":[1],"placement":[1],"size":[1],"autoFocus":[4,"auto-focus"],"label":[1],"show":[64],"hide":[64],"toggle":[64]},null,{"open":[{"handleOpenChange":0}],"anchor":[{"handleAnchorChange":
|
|
9
|
+
return index.bootstrapLazy([["lmvz-modal.cjs",[[769,"lmvz-modal",{"open":[1540],"closeLabel":[1,"close-label"],"hasHeader":[32]},[[0,"submit","handleFormDialogSubmit"]],{"open":[{"handleOpenChange":0}]}]]],["lmvz-message.cjs",[[769,"lmvz-message",{"type":[513],"live":[1],"leadingIcon":[4,"leading-icon"],"dismissible":[4],"closeLabel":[1,"close-label"],"actionLabel":[1,"action-label"]}]]],["lmvz-snackbar.cjs",[[513,"lmvz-snackbar",{"status":[1537],"message":[1025],"duration":[1026],"priority":[1025],"actionLabel":[1025,"action-label"],"animationClass":[32],"show":[64],"hide":[64]},null,{"status":[{"onStatusChange":0}]}]]],["lmvz-link.cjs",[[785,"lmvz-link",{"href":[513],"target":[513],"rel":[1],"type":[1537],"externalLabel":[1,"external-label"]},null,{"type":[{"normalizeType":0}]}]]],["lmvz-header_2.cjs",[[769,"lmvz-header",{"role":[2561],"lmvzActiveNav":[1,"lmvz-active-nav"],"initFocus":[64]},null,{"lmvzActiveNav":[{"handleActiveNavChange":0}]}],[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-action.cjs",[[257,"lmvz-action"]]],["lmvz-action-list.cjs",[[774,"lmvz-action-list",{"label":[1],"initFocus":[64]}]]],["lmvz-card.cjs",[[774,"lmvz-card",{"cardTitle":[1,"card-title"],"imageUrl":[1,"image-url"],"description":[1],"primaryActionLabel":[1,"primary-action-label"]}]]],["lmvz-checkbox.cjs",[[578,"lmvz-checkbox",{"label":[1],"checked":[1540],"value":[1],"name":[1],"disabled":[516],"required":[516],"error":[516],"errorMessage":[1,"error-message"],"helperText":[1,"helper-text"],"form":[1],"autofocus":[4],"checkedState":[32],"focusInput":[64],"checkValidity":[64],"reportValidity":[64]},null,{"checked":[{"handleCheckedChange":0}]}]]],["lmvz-chip.cjs",[[769,"lmvz-chip",{"type":[1537],"size":[1537]},null,{"type":[{"normalizeType":0}],"size":[{"normalizeSize":0}]}]]],["lmvz-input.cjs",[[838,"lmvz-input",{"value":[1025],"label":[1],"helperText":[1,"helper-text"],"placeholder":[1],"disabled":[516],"readonly":[516],"required":[516],"name":[1],"type":[1],"errorMessage":[1,"error-message"],"autocomplete":[1],"inputmode":[1],"autocorrect":[1],"autocapitalize":[1],"spellcheck":[4],"autofocus":[4],"minlength":[2],"maxlength":[2],"pattern":[1],"min":[8],"max":[8],"step":[8],"form":[1],"size":[513],"error":[6660],"nativeError":[32],"setValue":[64],"focusInput":[64],"blurInput":[64],"select":[64],"checkValidity":[64],"reportValidity":[64],"getInputElement":[64]},null,{"value":[{"handleValueChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-menuitem.cjs",[[774,"lmvz-menuitem",{"role":[2561],"ti":[2562,"tabindex"]}]]],["lmvz-popover.cjs",[[769,"lmvz-popover",{"open":[1540],"anchor":[1],"placement":[1],"size":[1],"autoFocus":[4,"auto-focus"],"label":[1],"anchorEl":[32],"show":[64],"hide":[64],"toggle":[64]},null,{"open":[{"handleOpenChange":0}],"anchor":[{"handleAnchorChange":1}]}]]],["lmvz-radio.cjs",[[578,"lmvz-radio",{"label":[1],"checked":[1540],"value":[1],"name":[1],"disabled":[516],"required":[516],"error":[516],"helperText":[1,"helper-text"],"form":[513],"autofocus":[4],"focusInput":[64],"checkValidity":[64],"reportValidity":[64]},[[0,"keydown","handleKeydown"]],{"checked":[{"handleCheckedChange":0}],"value":[{"handleValueChange":0}],"label":[{"handleLabelChange":0}]}]]],["lmvz-select.cjs",[[774,"lmvz-select",{"value":[1025],"label":[1],"helperText":[1,"helper-text"],"disabled":[516],"required":[516],"name":[1],"size":[513],"highlighted":[516],"selectedLabel":[32]},null,{"value":[{"handleValueChange":0}]}]]],["lmvz-spinner.cjs",[[513,"lmvz-spinner",{"size":[513],"ariaLabel":[513,"aria-label"]}]]],["lmvz-tab.cjs",[[785,"lmvz-tab",{"value":[513],"disabled":[516],"selected":[516],"vertical":[516]}]]],["lmvz-tabs.cjs",[[769,"lmvz-tabs",{"value":[1537],"orientation":[1537],"resolvedValue":[32],"initFocus":[64],"activateTab":[64],"getTabElements":[64],"setTabPanelIds":[64]},null,{"value":[{"handleValueChange":0}],"orientation":[{"handleOrientationChange":0}]}]]],["lmvz-toggle.cjs",[[578,"lmvz-toggle",{"label":[1],"checked":[1540],"disabled":[516],"required":[516],"name":[1],"value":[1],"form":[1],"focusToggle":[64],"blurToggle":[64],"checkValidity":[64],"reportValidity":[64],"getInputElement":[64]},null,{"checked":[{"handleCheckedChange":0}],"disabled":[{"handleDisabledChange":0}]}]]],["lmvz-button-group.cjs",[[769,"lmvz-button-group",{"stacked":[516],"primaryEnabledAction":[2064],"hasActions":[2052,"has-actions"]}]]],["lmvz-button_2.cjs",[[785,"lmvz-button",{"ti":[514,"tabindex"],"scale":[513],"variant":[513],"disabled":[516],"type":[1],"form":[1],"formMethod":[1,"form-method"],"name":[1],"value":[1],"buttonRole":[1,"button-role"]}],[514,"lmvz-icon",{"icon":[513],"weight":[513],"size":[513],"iconset":[513],"ariaLabel":[513,"aria-label"],"iconData":[32],"visible":[32]},null,{"icon":[{"loadIconPathData":0}],"iconset":[{"loadIconPathData":0}]}]]]], options);
|
|
10
10
|
};
|
|
11
11
|
|
|
12
12
|
exports.setNonce = index.setNonce;
|
package/{esm/reactive-controller-host-FBuCCcFC.js → cjs/reactive-controller-host-Bc6B_T45.js}
RENAMED
|
@@ -1,3 +1,6 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
const META_BASE = '__LMVZ__';
|
|
1
4
|
class ReactiveControllerHost {
|
|
2
5
|
controllers = new Set();
|
|
3
6
|
addController(controller) {
|
|
@@ -37,5 +40,20 @@ class ReactiveControllerHost {
|
|
|
37
40
|
this.activeControllers.forEach((controller) => controller.hostDidUpdate?.());
|
|
38
41
|
}
|
|
39
42
|
}
|
|
43
|
+
function registerLmvzComponentMetaInfo(el, key, info) {
|
|
44
|
+
if (!el) {
|
|
45
|
+
console.warn('component is undefined');
|
|
46
|
+
return;
|
|
47
|
+
}
|
|
48
|
+
const cmp = el;
|
|
49
|
+
if (!cmp[META_BASE])
|
|
50
|
+
cmp[META_BASE] = {};
|
|
51
|
+
cmp[META_BASE][key] = info;
|
|
52
|
+
}
|
|
53
|
+
function getLmvzComponentMetaInfo(el, key) {
|
|
54
|
+
return el?.[META_BASE]?.[key];
|
|
55
|
+
}
|
|
40
56
|
|
|
41
|
-
|
|
57
|
+
exports.ReactiveControllerHost = ReactiveControllerHost;
|
|
58
|
+
exports.getLmvzComponentMetaInfo = getLmvzComponentMetaInfo;
|
|
59
|
+
exports.registerLmvzComponentMetaInfo = registerLmvzComponentMetaInfo;
|
|
@@ -5,7 +5,7 @@ export class LmvzAction {
|
|
|
5
5
|
this.actionClick.emit(event);
|
|
6
6
|
}
|
|
7
7
|
render() {
|
|
8
|
-
return (h(Host, { key: '
|
|
8
|
+
return (h(Host, { key: '4d83f95393704400034fef7313ac52bcc100be95', onClick: this._onClick.bind(this) }, h("slot", { key: 'ffbdeca0877eb9a76bc4ac1b8b77b37b60fdabd5' })));
|
|
9
9
|
}
|
|
10
10
|
static get is() { return "lmvz-action"; }
|
|
11
11
|
static get encapsulation() { return "shadow"; }
|
|
@@ -25,7 +25,7 @@ h6 {
|
|
|
25
25
|
hr {
|
|
26
26
|
height: 0;
|
|
27
27
|
border: none;
|
|
28
|
-
margin: var(--lmvz-dimension-4
|
|
28
|
+
margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0;
|
|
29
29
|
border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0);
|
|
30
30
|
}
|
|
31
31
|
|
|
@@ -129,17 +129,17 @@ button.primary:not([disabled], .disabled):active {
|
|
|
129
129
|
button.danger {
|
|
130
130
|
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary, #ffffff));
|
|
131
131
|
--lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent);
|
|
132
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
132
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
133
133
|
}
|
|
134
134
|
|
|
135
135
|
button.danger:not([disabled], .disabled):hover {
|
|
136
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #
|
|
137
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
136
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #fbdfe0));
|
|
137
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
138
138
|
}
|
|
139
139
|
|
|
140
140
|
button.danger:not([disabled], .disabled):active {
|
|
141
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #
|
|
142
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
141
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #e8454b));
|
|
142
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
143
143
|
}
|
|
144
144
|
|
|
145
145
|
button.tertiary {
|
|
@@ -162,7 +162,7 @@ button.small {
|
|
|
162
162
|
--lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)));
|
|
163
163
|
--lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem)));
|
|
164
164
|
--lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem)));
|
|
165
|
-
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.
|
|
165
|
+
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5
|
|
166
166
|
Router));
|
|
167
167
|
}
|
|
168
168
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Host, h } from "@stencil/core";
|
|
2
2
|
import { AriaValidationController } from "../../utils/aria/aria-validation-controller";
|
|
3
|
-
import { DirectionalFocusController } from "../../utils/aria/
|
|
3
|
+
import { DirectionalFocusController } from "../../utils/aria/directional-focus-controller";
|
|
4
4
|
import { isLmvzButton } from "../../utils/element/element.util";
|
|
5
5
|
import { ReactiveControllerHost } from "../../utils/stencil/reactive-controller-host";
|
|
6
6
|
export class LmvzActionList extends ReactiveControllerHost {
|
|
@@ -29,6 +29,9 @@ export class LmvzActionList extends ReactiveControllerHost {
|
|
|
29
29
|
this.handleSlotChange();
|
|
30
30
|
super.componentDidLoad();
|
|
31
31
|
}
|
|
32
|
+
async initFocus() {
|
|
33
|
+
this.focusController.initFocus();
|
|
34
|
+
}
|
|
32
35
|
handleSlotChange = () => {
|
|
33
36
|
const slot = this.slotEl;
|
|
34
37
|
if (!slot)
|
|
@@ -49,7 +52,7 @@ export class LmvzActionList extends ReactiveControllerHost {
|
|
|
49
52
|
};
|
|
50
53
|
render() {
|
|
51
54
|
const ariaLabel = this.label || undefined;
|
|
52
|
-
return (h(Host, { key: '
|
|
55
|
+
return (h(Host, { key: '9dee495856e733cb17f30d0d8588362a8dcb28ce', role: "menu", "aria-label": ariaLabel }, h("slot", { key: 'c6454dbbe63eed5be01f3247934245d1cc1ad6e2', onSlotchange: this.handleSlotChange, ref: (el) => (this.slotEl = el) })));
|
|
53
56
|
}
|
|
54
57
|
static get is() { return "lmvz-action-list"; }
|
|
55
58
|
static get encapsulation() { return "scoped"; }
|
|
@@ -86,6 +89,27 @@ export class LmvzActionList extends ReactiveControllerHost {
|
|
|
86
89
|
}
|
|
87
90
|
};
|
|
88
91
|
}
|
|
92
|
+
static get methods() {
|
|
93
|
+
return {
|
|
94
|
+
"initFocus": {
|
|
95
|
+
"complexType": {
|
|
96
|
+
"signature": "() => Promise<void>",
|
|
97
|
+
"parameters": [],
|
|
98
|
+
"references": {
|
|
99
|
+
"Promise": {
|
|
100
|
+
"location": "global",
|
|
101
|
+
"id": "global::Promise"
|
|
102
|
+
}
|
|
103
|
+
},
|
|
104
|
+
"return": "Promise<void>"
|
|
105
|
+
},
|
|
106
|
+
"docs": {
|
|
107
|
+
"text": "Programmatically set focus to the first managed element.",
|
|
108
|
+
"tags": []
|
|
109
|
+
}
|
|
110
|
+
}
|
|
111
|
+
};
|
|
112
|
+
}
|
|
89
113
|
static get elementRef() { return "el"; }
|
|
90
114
|
}
|
|
91
115
|
function collectInteractiveButtonsRecursively(el, collection) {
|
|
@@ -58,7 +58,7 @@ h6 {
|
|
|
58
58
|
hr {
|
|
59
59
|
height: 0;
|
|
60
60
|
border: none;
|
|
61
|
-
margin: var(--lmvz-dimension-4
|
|
61
|
+
margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0;
|
|
62
62
|
border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0);
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -157,17 +157,17 @@ button.primary:not([disabled], .disabled):active {
|
|
|
157
157
|
button.danger {
|
|
158
158
|
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary, #ffffff));
|
|
159
159
|
--lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent);
|
|
160
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
160
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
161
161
|
}
|
|
162
162
|
|
|
163
163
|
button.danger:not([disabled], .disabled):hover {
|
|
164
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #
|
|
165
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
164
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #fbdfe0));
|
|
165
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
166
166
|
}
|
|
167
167
|
|
|
168
168
|
button.danger:not([disabled], .disabled):active {
|
|
169
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #
|
|
170
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
169
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #e8454b));
|
|
170
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
171
171
|
}
|
|
172
172
|
|
|
173
173
|
button.tertiary {
|
|
@@ -190,7 +190,7 @@ button.small {
|
|
|
190
190
|
--lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)));
|
|
191
191
|
--lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem)));
|
|
192
192
|
--lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem)));
|
|
193
|
-
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.
|
|
193
|
+
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5
|
|
194
194
|
Router));
|
|
195
195
|
}
|
|
196
196
|
|
|
@@ -29,7 +29,6 @@ export class LmvzButton extends ReactiveControllerHost {
|
|
|
29
29
|
this.addController(new AriaValidationController(this));
|
|
30
30
|
this.addController(new ElementActivationController(this, {
|
|
31
31
|
localHandler: this.handleClick.bind(this),
|
|
32
|
-
keys: ['Enter'],
|
|
33
32
|
}));
|
|
34
33
|
}
|
|
35
34
|
connectedCallback() {
|
|
@@ -90,7 +89,7 @@ export class LmvzButton extends ReactiveControllerHost {
|
|
|
90
89
|
};
|
|
91
90
|
render() {
|
|
92
91
|
this.renderHiddenButton();
|
|
93
|
-
return (h(Host, { key: '
|
|
92
|
+
return (h(Host, { key: 'eb0ee982f50f1e41b2aa72a0598d739b972cbcdf', role: "presentation" }, h("button", { key: 'aed6f44f51222e31d5f1deec952c0d81b8f1200a', ref: (e) => (this.validationEl = e), part: "button", role: this.buttonRole, disabled: this.disabled, type: this.type, class: classNames(this.variant ?? 'secondary', { [this.scale ?? '']: !!this.scale, disabled: this.disabled }), ...this.inheritedAttributes }, h("slot", { key: '2aaedfde3c0d6ebf426f20a8489b22c2a356767e' }))));
|
|
94
93
|
}
|
|
95
94
|
static get is() { return "lmvz-button"; }
|
|
96
95
|
static get encapsulation() { return "shadow"; }
|
|
@@ -58,7 +58,7 @@ h6 {
|
|
|
58
58
|
hr {
|
|
59
59
|
height: 0;
|
|
60
60
|
border: none;
|
|
61
|
-
margin: var(--lmvz-dimension-4
|
|
61
|
+
margin: var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem)) 0;
|
|
62
62
|
border-top: var(--lmvz-semantic-border-width-default, 1px) solid var(--lmvz-semantic-color-border-subtle, #f0f0f0);
|
|
63
63
|
}
|
|
64
64
|
|
|
@@ -158,17 +158,17 @@ button.primary:not([disabled], .disabled):active {
|
|
|
158
158
|
button.danger {
|
|
159
159
|
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-int-tertiary, #ffffff));
|
|
160
160
|
--lmvz-button-border-color: var(--lmvz-button-border-color-override, transparent);
|
|
161
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
161
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
162
162
|
}
|
|
163
163
|
|
|
164
164
|
button.danger:not([disabled], .disabled):hover {
|
|
165
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #
|
|
166
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
165
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-danger, #fbdfe0));
|
|
166
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
167
167
|
}
|
|
168
168
|
|
|
169
169
|
button.danger:not([disabled], .disabled):active {
|
|
170
|
-
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #
|
|
171
|
-
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #
|
|
170
|
+
--lmvz-button-background: var(--lmvz-button-background-override, var(--lmvz-semantic-color-status-on-danger-subtle, #e8454b));
|
|
171
|
+
--lmvz-button-color: var(--lmvz-button-color-override, var(--lmvz-semantic-color-status-on-danger, #a31419));
|
|
172
172
|
}
|
|
173
173
|
|
|
174
174
|
button.tertiary {
|
|
@@ -191,7 +191,7 @@ button.small {
|
|
|
191
191
|
--lmvz-button-padding-block: var(--lmvz-button-padding-block-override, var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem)));
|
|
192
192
|
--lmvz-button-gap: var(--lmvz-button-gap-override, var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem)));
|
|
193
193
|
--lmvz-button-min-height: var(--lmvz-button-min-height-override, var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem)));
|
|
194
|
-
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.
|
|
194
|
+
--lmvz-button-font: var(--lmvz-button-font-override, var(--lmvz-typography-label-sm-strong, normal 700 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5
|
|
195
195
|
Router));
|
|
196
196
|
}
|
|
197
197
|
|
|
@@ -221,7 +221,7 @@ button.large {
|
|
|
221
221
|
}
|
|
222
222
|
.top {
|
|
223
223
|
display: flex;
|
|
224
|
-
padding: var(--lmvz-dimension-8
|
|
224
|
+
padding: var(--lmvz-dimension-12-8, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem));
|
|
225
225
|
flex-direction: column;
|
|
226
226
|
justify-content: center;
|
|
227
227
|
align-items: center;
|
|
@@ -230,7 +230,7 @@ button.large {
|
|
|
230
230
|
.bottom {
|
|
231
231
|
display: flex;
|
|
232
232
|
min-width: 150px;
|
|
233
|
-
padding: var(--lmvz-dimension-4
|
|
233
|
+
padding: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem)) var(--lmvz-dimension-14-10, clamp(0.63rem, 0.56rem + 0.26vw, 0.88rem));
|
|
234
234
|
flex-direction: column;
|
|
235
235
|
align-items: flex-start;
|
|
236
236
|
align-self: stretch;
|
|
@@ -244,7 +244,7 @@ button.large {
|
|
|
244
244
|
|
|
245
245
|
padding-bottom: var(--lmvz-global-s4, 4px);
|
|
246
246
|
overflow-wrap: break-word;
|
|
247
|
-
font: var(--lmvz-typography-heading-2xl, 500 clamp(
|
|
247
|
+
font: var(--lmvz-typography-heading-2xl, 500 clamp(2rem, 1.82rem + 0.78vw, 2.75rem) / 1.4
|
|
248
248
|
Router);
|
|
249
249
|
}
|
|
250
250
|
.description {
|
|
@@ -45,9 +45,9 @@
|
|
|
45
45
|
|
|
46
46
|
--checkbox-bg: var(--lmvz-semantic-color-surface-input-primary, #ffffff);
|
|
47
47
|
--checkbox-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0);
|
|
48
|
-
--checkbox-border-color-hover: var(--lmvz-semantic-color-border-hover, #
|
|
48
|
+
--checkbox-border-color-hover: var(--lmvz-semantic-color-border-hover, #a1a1a1);
|
|
49
49
|
--checkbox-border-color-checked: var(--lmvz-semantic-color-border-active, #0f8acc);
|
|
50
|
-
--checkbox-border-color-error: var(--lmvz-semantic-color-status-on-danger, #
|
|
50
|
+
--checkbox-border-color-error: var(--lmvz-semantic-color-status-on-danger, #a31419);
|
|
51
51
|
|
|
52
52
|
--checkbox-wrapper-bg-hover: var(--lmvz-semantic-color-int-tertiary-hover, #f0f0f0);
|
|
53
53
|
--checkbox-wrapper-bg-checked: var(--lmvz-semantic-color-status-active, #f6fbfe);
|
|
@@ -58,8 +58,8 @@
|
|
|
58
58
|
|
|
59
59
|
--checkbox-label-color: var(--lmvz-semantic-color-on-surface-primary, #000000);
|
|
60
60
|
--checkbox-label-color-checked: var(--lmvz-semantic-color-status-on-active, #0e7ab4);
|
|
61
|
-
--checkbox-helper-color: var(--lmvz-semantic-color-on-surface-secondary, #
|
|
62
|
-
--checkbox-error-color: var(--lmvz-semantic-color-status-on-danger, #
|
|
61
|
+
--checkbox-helper-color: var(--lmvz-semantic-color-on-surface-secondary, #545454);
|
|
62
|
+
--checkbox-error-color: var(--lmvz-semantic-color-status-on-danger, #a31419);
|
|
63
63
|
--checkbox-focus-color: var(--lmvz-semantic-color-status-on-active, #0e7ab4);
|
|
64
64
|
|
|
65
65
|
--checkbox-easing: var(--lmvz-global-easing-default, ease);
|
|
@@ -69,8 +69,8 @@
|
|
|
69
69
|
display: flex;
|
|
70
70
|
align-items: center;
|
|
71
71
|
gap: var(--lmvz-component-input-md-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem));
|
|
72
|
-
padding-block: var(--lmvz-dimension-2
|
|
73
|
-
padding-inline: var(--lmvz-dimension-4
|
|
72
|
+
padding-block: var(--lmvz-dimension-8-2, clamp(0.13rem, 0.03rem + 0.39vw, 0.5rem));
|
|
73
|
+
padding-inline: var(--lmvz-dimension-10-4, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem));
|
|
74
74
|
border-radius: var(--lmvz-semantic-border-radius-round, 999px);
|
|
75
75
|
/* WCAG 2.5.5 AAA: 44px minimum touch target */
|
|
76
76
|
/* min-block-size: 44px; */
|
|
@@ -124,13 +124,13 @@ label {
|
|
|
124
124
|
cursor: pointer;
|
|
125
125
|
}
|
|
126
126
|
.helper-text {
|
|
127
|
-
font: var(--lmvz-typography-body-sm, 400 clamp(0.
|
|
127
|
+
font: var(--lmvz-typography-body-sm, 400 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5 Router);
|
|
128
128
|
/* font-weight: 400 per DS token standard (body-sm). Note: lmvz-input.css [role='status'] incorrectly uses font-weight: 500 — DS inconsistency, see lmvz-input.css line ~153 */
|
|
129
129
|
color: var(--checkbox-helper-color);
|
|
130
130
|
margin-block-start: 2px;
|
|
131
131
|
}
|
|
132
132
|
.error-text {
|
|
133
|
-
font: var(--lmvz-typography-body-sm, 400 clamp(0.
|
|
133
|
+
font: var(--lmvz-typography-body-sm, 400 clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem) / 1.5 Router);
|
|
134
134
|
color: var(--checkbox-error-color);
|
|
135
135
|
display: block;
|
|
136
136
|
margin-block-start: 4px;
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
:host {
|
|
2
2
|
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-neutral-subtle, #d4d4d4);
|
|
3
3
|
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-neutral, #fcfcfc);
|
|
4
|
-
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-neutral, #
|
|
4
|
+
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-neutral, #000000);
|
|
5
5
|
|
|
6
|
-
padding-block: var(--lmvz-dimension-4
|
|
7
|
-
padding-inline: var(--lmvz-dimension-8
|
|
6
|
+
padding-block: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem));
|
|
7
|
+
padding-inline: var(--lmvz-dimension-10-8, clamp(0.5rem, 0.47rem + 0.13vw, 0.63rem));
|
|
8
8
|
border: 1px solid var(--lmvz-chip-border-color);
|
|
9
9
|
border-radius: var(--lmvz-semantic-border-radius-round, 999px);
|
|
10
|
-
font: var(--lmvz-typography-body-xs-strong, 500 clamp(0.63rem, 0.
|
|
10
|
+
font: var(--lmvz-typography-body-xs-strong, 500 clamp(0.63rem, 0.59rem + 0.13vw, 0.75rem) / 1.5
|
|
11
11
|
Router);
|
|
12
12
|
background-color: var(--lmvz-chip-background-color);
|
|
13
13
|
color: var(--lmvz-chip-foreground-color);
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
display: inline-flex;
|
|
16
16
|
align-items: center;
|
|
17
17
|
justify-content: center;
|
|
18
|
-
gap: var(--lmvz-dimension-4
|
|
18
|
+
gap: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem));
|
|
19
19
|
|
|
20
20
|
/* enable truncated content */
|
|
21
21
|
box-sizing: border-box;
|
|
@@ -32,11 +32,11 @@
|
|
|
32
32
|
}
|
|
33
33
|
|
|
34
34
|
:host([size='small']) {
|
|
35
|
-
padding-block: var(--lmvz-dimension-2
|
|
36
|
-
padding-inline: var(--lmvz-dimension-6
|
|
35
|
+
padding-block: var(--lmvz-dimension-4-2, clamp(0.13rem, 0.09rem + 0.13vw, 0.25rem));
|
|
36
|
+
padding-inline: var(--lmvz-dimension-8-6, clamp(0.38rem, 0.34rem + 0.13vw, 0.5rem));
|
|
37
37
|
font: var(--lmvz-typography-body-2xs-strong, 500 clamp(0.5rem, 0.47rem + 0.13vw, 0.63rem) / 1.5
|
|
38
38
|
Router);
|
|
39
|
-
gap: var(--lmvz-dimension-2
|
|
39
|
+
gap: var(--lmvz-dimension-4-2, clamp(0.13rem, 0.09rem + 0.13vw, 0.25rem));
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
::slotted(*) {
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
|
|
49
49
|
::slotted(lmvz-icon) {
|
|
50
50
|
--lmvz-component-color: var(--lmvz-chip-foreground-color);
|
|
51
|
-
--lmvz-component-size: var(--lmvz-dimension-12
|
|
51
|
+
--lmvz-component-size: var(--lmvz-dimension-14-12, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem));
|
|
52
52
|
}
|
|
53
53
|
|
|
54
54
|
:host([size='small']) ::slotted(lmvz-icon) {
|
|
55
|
-
--lmvz-component-size: var(--lmvz-dimension-10
|
|
55
|
+
--lmvz-component-size: var(--lmvz-dimension-12-10, clamp(0.63rem, 0.59rem + 0.13vw, 0.75rem));
|
|
56
56
|
}
|
|
57
57
|
|
|
58
58
|
:host([type='active']) {
|
|
@@ -62,25 +62,25 @@
|
|
|
62
62
|
}
|
|
63
63
|
|
|
64
64
|
:host([type='warning']) {
|
|
65
|
-
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-warning-subtle, #
|
|
66
|
-
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-warning, #
|
|
67
|
-
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-warning, #
|
|
65
|
+
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-warning-subtle, #e6b000);
|
|
66
|
+
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-warning, #ffeeb8);
|
|
67
|
+
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-warning, #614a00);
|
|
68
68
|
}
|
|
69
69
|
|
|
70
70
|
:host([type='success']) {
|
|
71
|
-
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-success-subtle, #
|
|
72
|
-
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-success, #
|
|
73
|
-
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-success, #
|
|
71
|
+
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-success-subtle, #4eb6a9);
|
|
72
|
+
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-success, #c2e6e1);
|
|
73
|
+
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-success, #28625b);
|
|
74
74
|
}
|
|
75
75
|
|
|
76
76
|
:host([type='error']) {
|
|
77
|
-
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-danger-subtle, #
|
|
78
|
-
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-danger, #
|
|
79
|
-
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-danger, #
|
|
77
|
+
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-danger-subtle, #e8454b);
|
|
78
|
+
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-danger, #fbdfe0);
|
|
79
|
+
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-danger, #a31419);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
:host([type='neutral']) {
|
|
83
83
|
--lmvz-chip-border-color: var(--lmvz-semantic-color-status-on-neutral-subtle, #d4d4d4);
|
|
84
84
|
--lmvz-chip-background-color: var(--lmvz-semantic-color-status-neutral, #fcfcfc);
|
|
85
|
-
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-neutral, #
|
|
85
|
+
--lmvz-chip-foreground-color: var(--lmvz-semantic-color-status-on-neutral, #000000);
|
|
86
86
|
}
|
|
@@ -8,14 +8,14 @@
|
|
|
8
8
|
|
|
9
9
|
background-color: var(--lmvz-semantic-color-surface-primary, #ffffff);
|
|
10
10
|
|
|
11
|
-
--lmvz-header-x-spacing-level-1: var(--lmvz-dimension-8
|
|
11
|
+
--lmvz-header-x-spacing-level-1: var(--lmvz-dimension-28-8, clamp(0.5rem, 0.2rem + 1.29vw, 1.75rem));
|
|
12
12
|
--lmvz-header-x-spacing-level-2: var(--lmvz-component-buttongroup-wrapper-gap-x, clamp(0.25rem, 0.16rem + 0.39vw, 0.63rem));
|
|
13
13
|
|
|
14
|
-
padding: var(--lmvz-dimension-8
|
|
14
|
+
padding: var(--lmvz-dimension-16-8, clamp(0.5rem, 0.38rem + 0.52vw, 1rem)) var(--lmvz-header-x-spacing-level-1);
|
|
15
15
|
gap: var(--lmvz-header-x-spacing-level-1);
|
|
16
16
|
|
|
17
17
|
.brand {
|
|
18
|
-
/* min-width: var(--lmvz-dimension-48
|
|
18
|
+
/* min-width: var(--lmvz-dimension-96-48); */
|
|
19
19
|
display: inline-flex;
|
|
20
20
|
justify-content: center;
|
|
21
21
|
align-items: center;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { h, Host } from "@stencil/core";
|
|
2
2
|
import { AriaValidationController } from "../../utils/aria/aria-validation-controller";
|
|
3
|
-
import { DirectionalFocusController } from "../../utils/aria/
|
|
3
|
+
import { DirectionalFocusController } from "../../utils/aria/directional-focus-controller";
|
|
4
4
|
import { ReactiveControllerHost } from "../../utils/stencil/reactive-controller-host";
|
|
5
5
|
import logo from "../../assets/icons/Logo.svg";
|
|
6
6
|
export class LmvzHeader extends ReactiveControllerHost {
|
|
@@ -33,6 +33,9 @@ export class LmvzHeader extends ReactiveControllerHost {
|
|
|
33
33
|
handleActiveNavChange() {
|
|
34
34
|
this.updateElementsActive();
|
|
35
35
|
}
|
|
36
|
+
async initFocus() {
|
|
37
|
+
this.keyboardNavigationController.initFocus();
|
|
38
|
+
}
|
|
36
39
|
componentDidLoad() {
|
|
37
40
|
this.primarySlot?.addEventListener('slotchange', this.handlePrimaryNavItemsChange.bind(this));
|
|
38
41
|
this.handlePrimaryNavItemsChange();
|
|
@@ -84,7 +87,7 @@ export class LmvzHeader extends ReactiveControllerHost {
|
|
|
84
87
|
}
|
|
85
88
|
}
|
|
86
89
|
render() {
|
|
87
|
-
return (h(Host, { key: '
|
|
90
|
+
return (h(Host, { key: 'ce4b8cf9f7687e4af97d45908e2f0e484b90684f', onFocus: this.delegateFocus.bind(this) }, h("div", { key: 'a2213d8038d126e47262c4ec18071dd4302152db', class: "brand" }, h("slot", { key: '68a0a1e2b21859d78d2f9a7d3f5c86020c52c225', name: "brand" }, h("img", { key: 'd0a878bc4c9f7a3460e857fb5aa52f1d942a0423', id: "fallback-logo-lmvz", src: logo, alt: "Lehrmittelverlag Z\u00FCrich" }))), h("nav", { key: '687791624d6ced477bc0cce73ce97b26c7d03af0', "aria-label": "Hauptnavigation" }, h("div", { key: 'a9e8fa4a57e619a3d3b1056bfc0d5df74e89f630', role: "menubar", class: "primary-menubar" }, h("slot", { key: 'f75f0a3bed2267aff902490f1905c67ad1b7e6be', name: "nav-primary", ref: (el) => (this.primarySlot = el) }), h("div", { key: '3cf2d099bed99e4ba7b32a2f3171c69663785012', role: "menu", id: "nav-secondary", class: "secondary-menubar", hidden: !this.lmvzActiveNav, ref: (el) => (this.secondaryNav = el) }, h("slot", { key: '85dbe77ea8ab62aa400640495e11e2d174ca5210', name: this.secondarySlotName, ref: (el) => (this.secondarySlot = el) })))), h("div", { key: 'cf5d135a5b969af6a2bbb5432a10f8e1b9af1dca', class: "actions" }, h("slot", { key: '1a0323668942151c071a24238039c7a216358363', name: "actions" }))));
|
|
88
91
|
}
|
|
89
92
|
static get is() { return "lmvz-header"; }
|
|
90
93
|
static get encapsulation() { return "shadow"; }
|
|
@@ -141,6 +144,27 @@ export class LmvzHeader extends ReactiveControllerHost {
|
|
|
141
144
|
}
|
|
142
145
|
};
|
|
143
146
|
}
|
|
147
|
+
static get methods() {
|
|
148
|
+
return {
|
|
149
|
+
"initFocus": {
|
|
150
|
+
"complexType": {
|
|
151
|
+
"signature": "() => Promise<void>",
|
|
152
|
+
"parameters": [],
|
|
153
|
+
"references": {
|
|
154
|
+
"Promise": {
|
|
155
|
+
"location": "global",
|
|
156
|
+
"id": "global::Promise"
|
|
157
|
+
}
|
|
158
|
+
},
|
|
159
|
+
"return": "Promise<void>"
|
|
160
|
+
},
|
|
161
|
+
"docs": {
|
|
162
|
+
"text": "Programmatically set focus to the first managed element.",
|
|
163
|
+
"tags": []
|
|
164
|
+
}
|
|
165
|
+
}
|
|
166
|
+
};
|
|
167
|
+
}
|
|
144
168
|
static get elementRef() { return "el"; }
|
|
145
169
|
static get watchers() {
|
|
146
170
|
return [{
|
|
@@ -44,7 +44,7 @@
|
|
|
44
44
|
--input-radius: var(--lmvz-component-input-radius-default, 999px);
|
|
45
45
|
--input-bg: var(--lmvz-semantic-color-surface-input-primary, #ffffff);
|
|
46
46
|
--input-border-color: var(--lmvz-semantic-color-border-default, #e0e0e0);
|
|
47
|
-
--input-border-color-hover: var(--lmvz-semantic-color-border-hover, #
|
|
47
|
+
--input-border-color-hover: var(--lmvz-semantic-color-border-hover, #a1a1a1);
|
|
48
48
|
--input-border-color-focus: var(--lmvz-semantic-color-border-active, #0f8acc);
|
|
49
49
|
--input-border-width: var(--lmvz-semantic-border-width-default, 1px);
|
|
50
50
|
|
|
@@ -57,7 +57,7 @@
|
|
|
57
57
|
--label-color: var(--lmvz-semantic-color-on-surface-input-secondary, #545454);
|
|
58
58
|
--input-text-color: var(--lmvz-semantic-color-on-surface-input-primary, #000000);
|
|
59
59
|
--helper-text-color: var(--lmvz-semantic-color-on-surface-input-secondary, #545454);
|
|
60
|
-
--error-text-color: var(--lmvz-semantic-color-status-on-danger, #
|
|
60
|
+
--error-text-color: var(--lmvz-semantic-color-status-on-danger, #a31419);
|
|
61
61
|
|
|
62
62
|
--label-minimized-bg: var(--input-bg);
|
|
63
63
|
--label-minimized-padding-x: 4px;
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
--input-height: var(--lmvz-component-input-size-sm, clamp(2rem, 1.94rem + 0.26vw, 2.25rem));
|
|
71
71
|
--input-padding-x: var(--lmvz-component-input-padding-sm, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem));
|
|
72
72
|
--input-gap: var(--lmvz-component-input-gap-sm, clamp(0.38rem, 0.31rem + 0.26vw, 0.63rem));
|
|
73
|
-
--input-font-size: var(--lmvz-component-body-sm-font-size, clamp(0.
|
|
73
|
+
--input-font-size: var(--lmvz-component-body-sm-font-size, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem));
|
|
74
74
|
}
|
|
75
75
|
:host([size='md']) {
|
|
76
76
|
--input-height: var(--lmvz-component-input-size-md, clamp(2.5rem, 2.44rem + 0.26vw, 2.75rem));
|
|
@@ -5,15 +5,17 @@
|
|
|
5
5
|
a {
|
|
6
6
|
display: inline-flex;
|
|
7
7
|
align-items: center;
|
|
8
|
-
gap: var(--lmvz-dimension-4
|
|
9
|
-
padding-inline: var(--lmvz-dimension-8
|
|
10
|
-
padding-block: var(--lmvz-dimension-6
|
|
8
|
+
gap: var(--lmvz-dimension-6-4, clamp(0.25rem, 0.22rem + 0.13vw, 0.38rem));
|
|
9
|
+
padding-inline: var(--lmvz-dimension-12-8, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem)) var(--lmvz-dimension-8-4, clamp(0.25rem, 0.19rem + 0.26vw, 0.5rem));
|
|
10
|
+
padding-block: var(--lmvz-dimension-8-6, clamp(0.38rem, 0.34rem + 0.13vw, 0.5rem));
|
|
11
11
|
border-radius: var(--lmvz-semantic-border-radius-round, 999px);
|
|
12
12
|
color: var(--lmvz-semantic-color-int-on-tertiary, #000000);
|
|
13
13
|
font: var(--lmvz-typography-body-md-strong, 500 clamp(0.88rem, 0.84rem + 0.13vw, 1rem) / 1.5
|
|
14
14
|
Router);
|
|
15
15
|
text-decoration: underline;
|
|
16
|
-
transition:
|
|
16
|
+
transition:
|
|
17
|
+
background-color 0.15s ease,
|
|
18
|
+
color 0.15s ease;
|
|
17
19
|
}
|
|
18
20
|
|
|
19
21
|
a:hover {
|
|
@@ -4,8 +4,8 @@
|
|
|
4
4
|
align-items: flex-start;
|
|
5
5
|
width: 100%;
|
|
6
6
|
|
|
7
|
-
padding: var(--lmvz-dimension-10
|
|
8
|
-
gap: var(--lmvz-dimension-8
|
|
7
|
+
padding: var(--lmvz-dimension-12-10, clamp(0.63rem, 0.59rem + 0.13vw, 0.75rem)) var(--lmvz-dimension-14-12, clamp(0.75rem, 0.72rem + 0.13vw, 0.88rem));
|
|
8
|
+
gap: var(--lmvz-dimension-12-8, clamp(0.5rem, 0.44rem + 0.26vw, 0.75rem));
|
|
9
9
|
|
|
10
10
|
border: var(--lmvz-semantic-border-width-default, 1px) solid;
|
|
11
11
|
border-radius: var(--lmvz-semantic-border-radius-md, 6px);
|
|
@@ -24,9 +24,9 @@
|
|
|
24
24
|
}
|
|
25
25
|
|
|
26
26
|
:host([type='warning']) {
|
|
27
|
-
background-color: var(--lmvz-semantic-color-status-warning, #
|
|
28
|
-
border-color: var(--lmvz-semantic-color-status-on-warning-subtle, #
|
|
29
|
-
color: var(--lmvz-semantic-color-status-on-warning, #
|
|
27
|
+
background-color: var(--lmvz-semantic-color-status-warning, #ffeeb8);
|
|
28
|
+
border-color: var(--lmvz-semantic-color-status-on-warning-subtle, #e6b000);
|
|
29
|
+
color: var(--lmvz-semantic-color-status-on-warning, #614a00);
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
.leading-icon {
|