scb-wc 0.1.96 → 0.1.98
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/mvc/components/scb-dialog/scb-dialog.js +1 -1
- package/mvc/components/scb-header/scb-header.js +1 -1
- package/mvc/components/scb-list/scb-list-item.js +1 -1
- package/mvc/components/scb-select/scb-select.js +1 -1
- package/mvc/components/scb-stepper/scb-stepper.js +2 -2
- package/package.json +2 -2
- package/scb-dialog/scb-dialog.js +4 -1
- package/scb-header/scb-header.js +2 -1
- package/scb-list/scb-list-item.js +2 -1
- package/scb-select/scb-select.js +4 -1
- package/scb-stepper/scb-stepper.js +4 -1
- package/scb-wc.bundle.js +5 -5
|
@@ -51,4 +51,4 @@ import{g as p,h as f,m as b,p as s,v as r,y as v}from"../../vendor/vendor.js";im
|
|
|
51
51
|
>
|
|
52
52
|
${this.renderBody(e,t)}
|
|
53
53
|
</div>
|
|
54
|
-
`}},h.styles=v`@keyframes scb-kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes scb-kf-fade-out{0%{opacity:1}to{opacity:0}}:host{display:block;position:relative;font-family:var(--brand-font, Inter, Arial, sans-serif);margin-block-start:var(--scb-dialog-spacing-block-start, 0);margin-block-end:var(--scb-dialog-spacing-block-end, 0);margin-inline-start:var(--scb-dialog-spacing-inline-start, 0);margin-inline-end:var(--scb-dialog-spacing-inline-end, 0)}.scrim{position:var(--scb-dialog-scrim-position, fixed);inset:0;background:color-mix(in srgb,var(--md-sys-color-scrim) 32%,transparent);z-index:var(--z-dialog-scrim, 1000);opacity:1;transition:opacity var(--motion-duration-short, 0.25s);transition-timing-function:var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));height:var(--scb-dialog-scrim-height, auto)}.container{outline:0;position:var(--scb-dialog-container-position, fixed);inset:50%auto auto 50%;transform:translate(-50%,-50%) scale(1);background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);border-radius:var(--scb-dialog-radius, var(--spacing-5, 16px));box-shadow:0 var(--spacing-1, 2px) var(--spacing-5, 16px) color-mix(in srgb,var(--md-sys-color-shadow) 20%,transparent);min-width:var(--scb-dialog-min-w, 340px);width:var(--scb-dialog-width, auto);max-width:var(--scb-dialog-max-w, 90vw);max-height:var(--scb-dialog-max-h, 90vh);display:flex;flex-direction:column;padding:var(--scb-dialog-padding, var(--spacing-7, 24px));z-index:var(--z-dialog, 1001);opacity:1;transition:opacity var(--motion-duration-medium, 0.3s),transform var(--motion-duration-medium, 0.3s);transition-timing-function:var(--motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(:not([open])) .container,:host(:not([open])) .scrim{opacity:0;pointer-events:none}:host([open]) .scrim{animation:var(--motion-keyframe-fade-in, scb-kf-fade-in) var(--motion-duration-short, 0.25s) var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)) both}:host([open]) .container{animation:var(--motion-keyframe-fade-in, scb-kf-fade-in) var(--motion-duration-medium, 0.3s) var(--motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)) both}.header{display:flex;align-items:flex-start;gap:var(--spacing-4, 12px);margin-bottom:var(--spacing-5, 16px)}.header .title{display:flex;flex-direction:column;gap:var(--spacing-3, 8px)}.header .label{font-weight:var(--md-sys-typescale-headline-small-weight, 700);font-size:var(--md-sys-typescale-headline-small-size, 1.5rem);line-height:var(--md-sys-typescale-headline-small-line-height, 2rem)}.header .close{margin-left:auto}.dialog-icon{inline-size:var(--scb-dialog-icon-size, var(--spacing-7, 24px));block-size:var(--scb-dialog-icon-size, var(--spacing-7, 24px))}.content{flex:1 1 auto;overflow:auto;margin-bottom:var(--spacing-5, 16px);color:var(--md-sys-color-on-surface-variant)}.content-surface{border-radius:calc(var(--scb-dialog-radius, var(--spacing-5, 16px)) - var(--spacing-2, 4px));overflow:hidden;background:var(--md-sys-color-surface-container-lowest, var(--md-sys-color-surface))}:host([variant="iframe"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-iframe, var(--scb-dialog-min-w-floating, 360px));--scb-dialog-padding:var(--scb-dialog-padding-iframe, var(--spacing-3, 8px) var(--spacing-3, 8px) var(--spacing-3, 8px))}:host([variant="iframe"]) .header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--spacing-2, 4px);margin-bottom:var(--spacing-3, 8px);padding-block:var(--scb-dialog-header-padding-block-iframe, var(--spacing-3, 8px));padding-inline-start:var(--scb-dialog-header-padding-inline-start-iframe, var(--spacing-3, 8px));padding-inline-end:var(--scb-dialog-header-padding-inline-end-iframe, var(--spacing-3, 8px))}:host([variant="iframe"]) .header .title{min-width:0}:host([variant="iframe"]) .header .label{padding-inline-start:var(--scb-dialog-header-label-padding-inline-start-iframe, 0)}:host([variant="iframe"]) .header .close{margin-left:0;align-self:start;justify-self:end;margin-top:var(--spacing-negative-2, -4px);margin-right:var(--spacing-negative-4, -12px)}:host([variant="iframe"]) .content{margin-bottom:0;color:inherit}:host([variant="iframe"]) .content-surface{block-size:100%}:host([variant="iframe"]) ::slotted(iframe){display:block;inline-size:100%;block-size:var(--scb-dialog-iframe-height, min(70vh, 720px));border:0;background:var(--md-sys-color-surface-container-lowest, var(--md-sys-color-surface))}.actions{display:flex;align-items:center;gap:var(--spacing-3, 8px);justify-content:flex-end}.actions .start{margin-right:auto}:host([variant="choose"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-choose, 280px)}:host([variant="alert"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-alert, 320px)}:host([variant="confirm"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-confirm, 360px)}:host([variant="form"]) form{display:grid;grid-template-columns:1fr;gap:var(--scb-form-gap, var(--spacing-6, 20px))}:host([variant="form"]) .content{overflow:visible}:host([variant="floating"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-floating, 360px)}:host([variant="choose"]) ::slotted(scb-radio-button){display:block;margin-block:var(--scb-choice-gap, 6px)}`,h);n([s({type:Boolean,reflect:!0,converter:g})],a.prototype,"open",void 0);n([s({type:String,attribute:"max-w",reflect:!0})],a.prototype,"maxW",void 0);n([s({type:String,attribute:"max-h",reflect:!0})],a.prototype,"maxH",void 0);n([s({type:Number,attribute:"z-index",reflect:!0})],a.prototype,"zIndex",void 0);n([s({type:Boolean,attribute:!1})],a.prototype,"inSb",void 0);n([s({type:Boolean,attribute:"scrim-close",converter:g})],a.prototype,"scrimClose",void 0);n([s({type:String,reflect:!0})],a.prototype,"spacing",void 0);n([s({type:String,attribute:"spacing-top",reflect:!0})],a.prototype,"spacingTop",void 0);n([s({type:String,attribute:"spacing-bottom",reflect:!0})],a.prototype,"spacingBottom",void 0);n([s({type:String,attribute:"spacing-left",reflect:!0})],a.prototype,"spacingLeft",void 0);n([s({type:String,attribute:"spacing-right",reflect:!0})],a.prototype,"spacingRight",void 0);n([s({type:String})],a.prototype,"variant",void 0);n([s({type:String})],a.prototype,"label",void 0);n([s({type:String})],a.prototype,"icon",void 0);n([s({type:String,attribute:"supporting-text"})],a.prototype,"supportingText",void 0);n([s({type:String,attribute:"ok-button"})],a.prototype,"okButton",void 0);n([s({type:String,attribute:"cancel-button"})],a.prototype,"cancelButton",void 0);n([s({type:String,attribute:"delete-button"})],a.prototype,"deleteButton",void 0);n([s({type:String,attribute:"confirm-button"})],a.prototype,"confirmButton",void 0);n([s({type:String,attribute:"deny-button"})],a.prototype,"denyButton",void 0);n([s({type:String,attribute:"reset-button"})],a.prototype,"resetButton",void 0);n([s({type:String,attribute:"submit-button"})],a.prototype,"submitButton",void 0);n([s({type:String,attribute:"form-id"})],a.prototype,"formId",void 0);n([s({type:String,attribute:"form-action"})],a.prototype,"formAction",void 0);n([s({type:String,attribute:"form-method"})],a.prototype,"formMethod",void 0);a=n([b("scb-dialog")],a);
|
|
54
|
+
`}},h.styles=v`@keyframes scb-kf-fade-in{0%{opacity:0}to{opacity:1}}@keyframes scb-kf-fade-out{0%{opacity:1}to{opacity:0}}:host{display:block;position:relative;font-family:var(--brand-font, Inter, Arial, sans-serif);margin-block-start:var(--scb-dialog-spacing-block-start, 0);margin-block-end:var(--scb-dialog-spacing-block-end, 0);margin-inline-start:var(--scb-dialog-spacing-inline-start, 0);margin-inline-end:var(--scb-dialog-spacing-inline-end, 0)}.scrim{position:var(--scb-dialog-scrim-position, fixed);inset:0;background:color-mix(in srgb,var(--md-sys-color-scrim) 32%,transparent);z-index:var(--z-dialog-scrim, 1000);opacity:1;transition:opacity var(--motion-duration-short, 0.25s);transition-timing-function:var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1));height:var(--scb-dialog-scrim-height, auto)}.container{outline:0;position:var(--scb-dialog-container-position, fixed);inset:50%auto auto 50%;transform:translate(-50%,-50%) scale(1);background:var(--md-sys-color-surface);color:var(--md-sys-color-on-surface);border-radius:var(--scb-dialog-radius, var(--spacing-5, 16px));box-shadow:0 var(--spacing-1, 2px) var(--spacing-5, 16px) color-mix(in srgb,var(--md-sys-color-shadow) 20%,transparent);min-width:var(--scb-dialog-min-w, 340px);width:var(--scb-dialog-width, auto);max-width:var(--scb-dialog-max-w, 90vw);max-height:var(--scb-dialog-max-h, 90vh);display:flex;flex-direction:column;padding:var(--scb-dialog-padding, var(--spacing-7, 24px));z-index:var(--z-dialog, 1001);opacity:1;transition:opacity var(--motion-duration-medium, 0.3s),transform var(--motion-duration-medium, 0.3s);transition-timing-function:var(--motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1))}:host(:not([open])) .container,:host(:not([open])) .scrim{opacity:0;pointer-events:none}:host([open]) .scrim{animation:var(--motion-keyframe-fade-in, scb-kf-fade-in) var(--motion-duration-short, 0.25s) var(--motion-easing-standard, cubic-bezier(0.2, 0, 0, 1)) both}:host([open]) .container{animation:var(--motion-keyframe-fade-in, scb-kf-fade-in) var(--motion-duration-medium, 0.3s) var(--motion-easing-emphasized-decelerate, cubic-bezier(0.05, 0.7, 0.1, 1)) both}.header{display:flex;align-items:flex-start;gap:var(--spacing-4, 12px);margin-bottom:var(--spacing-5, 16px)}.header .title{display:flex;flex-direction:column;gap:var(--spacing-3, 8px)}.header .label{font-weight:var(--md-sys-typescale-headline-small-weight, 700);font-size:var(--md-sys-typescale-headline-small-size, 1.5rem);line-height:var(--md-sys-typescale-headline-small-line-height, 2rem)}.header .close{margin-left:auto}.dialog-icon{inline-size:var(--scb-dialog-icon-size, var(--spacing-7, 24px));block-size:var(--scb-dialog-icon-size, var(--spacing-7, 24px))}.content{flex:1 1 auto;overflow:auto;margin-bottom:var(--spacing-5, 16px);color:var(--md-sys-color-on-surface-variant)}.content-surface{border-radius:calc(var(--scb-dialog-radius, var(--spacing-5, 16px)) - var(--spacing-2, 4px));overflow:hidden;background:var(--md-sys-color-surface-container-lowest, var(--md-sys-color-surface))}:host([variant="iframe"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-iframe, var(--scb-dialog-min-w-floating, 360px));--scb-dialog-padding:var(--scb-dialog-padding-iframe, var(--spacing-3, 8px) var(--spacing-3, 8px) var(--spacing-3, 8px))}:host([variant="iframe"]) .header{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:var(--spacing-2, 4px);margin-bottom:var(--spacing-3, 8px);padding-block:var(--scb-dialog-header-padding-block-iframe, var(--spacing-3, 8px));padding-inline-start:var(--scb-dialog-header-padding-inline-start-iframe, var(--spacing-3, 8px));padding-inline-end:var(--scb-dialog-header-padding-inline-end-iframe, var(--spacing-3, 8px))}:host([variant="iframe"]) .header .title{min-width:0}:host([variant="iframe"]) .header .label{padding-inline-start:var(--scb-dialog-header-label-padding-inline-start-iframe, 0)}:host([variant="iframe"]) .header .close{margin-left:0;align-self:start;justify-self:end;margin-top:var(--spacing-negative-2, -4px);margin-right:var(--spacing-negative-4, -12px)}:host([variant="iframe"]) .content{margin-bottom:0;color:inherit}:host([variant="iframe"]) .content-surface{block-size:100%}:host([variant="iframe"]) ::slotted(iframe){display:block;inline-size:100%;block-size:var(--scb-dialog-iframe-height, min(70vh, 720px));border:0;background:var(--md-sys-color-surface-container-lowest, var(--md-sys-color-surface))}.actions{display:flex;align-items:center;gap:var(--spacing-3, 8px);justify-content:flex-end}.actions .start{margin-right:auto}:host([variant="choose"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-choose, 280px)}:host([variant="alert"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-alert, 320px)}:host([variant="confirm"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-confirm, 360px)}:host([variant="form"]) form{display:grid;grid-template-columns:1fr;gap:var(--scb-form-gap, var(--spacing-6, 20px))}:host([variant="form"]) .content{overflow:visible}:host([variant="floating"]) .container{--scb-dialog-min-w:var(--scb-dialog-min-w-floating, 360px)}:host([variant="choose"]) ::slotted(scb-radio-button){display:block;margin-block:var(--scb-choice-gap, 6px)}`,h);n([s({type:Boolean,reflect:!0,converter:g})],a.prototype,"open",void 0);n([s({type:String,attribute:"max-w",reflect:!0})],a.prototype,"maxW",void 0);n([s({type:String,attribute:"max-h",reflect:!0})],a.prototype,"maxH",void 0);n([s({type:Number,attribute:"z-index",reflect:!0})],a.prototype,"zIndex",void 0);n([s({type:Boolean,attribute:!1})],a.prototype,"inSb",void 0);n([s({type:Boolean,attribute:"scrim-close",converter:g})],a.prototype,"scrimClose",void 0);n([s({type:String,reflect:!0})],a.prototype,"spacing",void 0);n([s({type:String,attribute:"spacing-top",reflect:!0})],a.prototype,"spacingTop",void 0);n([s({type:String,attribute:"spacing-bottom",reflect:!0})],a.prototype,"spacingBottom",void 0);n([s({type:String,attribute:"spacing-left",reflect:!0})],a.prototype,"spacingLeft",void 0);n([s({type:String,attribute:"spacing-right",reflect:!0})],a.prototype,"spacingRight",void 0);n([s({type:String,reflect:!0})],a.prototype,"variant",void 0);n([s({type:String})],a.prototype,"label",void 0);n([s({type:String})],a.prototype,"icon",void 0);n([s({type:String,attribute:"supporting-text"})],a.prototype,"supportingText",void 0);n([s({type:String,attribute:"ok-button"})],a.prototype,"okButton",void 0);n([s({type:String,attribute:"cancel-button"})],a.prototype,"cancelButton",void 0);n([s({type:String,attribute:"delete-button"})],a.prototype,"deleteButton",void 0);n([s({type:String,attribute:"confirm-button"})],a.prototype,"confirmButton",void 0);n([s({type:String,attribute:"deny-button"})],a.prototype,"denyButton",void 0);n([s({type:String,attribute:"reset-button"})],a.prototype,"resetButton",void 0);n([s({type:String,attribute:"submit-button"})],a.prototype,"submitButton",void 0);n([s({type:String,attribute:"form-id"})],a.prototype,"formId",void 0);n([s({type:String,attribute:"form-action"})],a.prototype,"formAction",void 0);n([s({type:String,attribute:"form-method"})],a.prototype,"formMethod",void 0);a=n([b("scb-dialog")],a);
|
|
@@ -365,4 +365,4 @@ import{f as k,g as w,h as D,m as I,p as h,v as m,y as R}from"../../vendor/vendor
|
|
|
365
365
|
var(--md-sys-typescale-title-small-size, 1rem)
|
|
366
366
|
);line-height:var(--scb-header-tab-line-height,
|
|
367
367
|
var(--md-sys-typescale-title-small-line-height, 1.5rem)
|
|
368
|
-
);font-weight:var(--md-sys-typescale-title-small-weight, 500);letter-spacing:var(--md-sys-typescale-title-small-tracking, 0);color:var(--md-sys-color-on-surface);white-space:nowrap;border-radius:0;outline:0}.tab-link[aria-current=page]{color:var(--md-sys-color-primary)}.tab-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:999px 999px 0 0;background-color:transparent}.tab-link[aria-current=page]::after{background-color:var(--md-sys-color-primary)}.tab-link:focus-visible{outline:0}.header-icon-button:focus-visible md-focus-ring,.header-search-clear:focus-visible md-focus-ring,.header-text-button:focus-visible md-focus-ring,.search-submit:focus-visible md-focus-ring,.tab-link:focus-visible+md-focus-ring,.utility-link:focus-visible md-focus-ring{display:block}.header-text-button,.utility-link{position:relative}.header-icon-button,.header-text-button,.search-submit,.utility-link{border:0;font:inherit;letter-spacing:0;-webkit-tap-highlight-color:transparent}.search-submit{position:relative}.header-text-button,.search-submit,.utility-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-block-size:calc(var(--md-sys-typescale-label-small-line-height, 20px) + ((var(--spacing-4, 12px) - var(--spacing-1, 2px))*2));padding-block:calc(var(--spacing-4, 12px) - var(--spacing-1, 2px));padding-inline:var(--spacing-5, 16px);border-radius:var(--radius-full, 1000px);color:var(--md-sys-color-primary, var(--p-40, #1f44ff));font-family:var(--md-sys-typescale-label-small-font, var(--brand-font, Inter), sans-serif);font-size:var(--md-sys-typescale-label-small-size, 14px);line-height:var(--md-sys-typescale-label-small-line-height, 20px);font-weight:var(--md-sys-typescale-label-small-weight, 600);text-decoration:none;background:0 0;cursor:pointer;white-space:nowrap}.header-text-button:hover,.utility-link:hover{background:color-mix(in srgb,var(--md-sys-color-primary, #1f44ff) 8%,transparent)}.search-submit{min-block-size:var(--scb-search-height, var(--scale-11, 48px));min-inline-size:var(--scale-12, 64px);color:var(--md-sys-color-on-secondary-container, var(--p-30, #1e00be));background:var(--md-sys-color-secondary-container, var(--p-90, #d6f1ff))}.search-submit:hover{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #d6f1ff) 92%,var(--md-sys-color-on-secondary-container, #1e00be))}.header-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:calc(var(--icon-size-medium, 24px) + (var(--spacing-3, 12px)*2));block-size:calc(var(--icon-size-medium, 24px) + (var(--spacing-3, 12px)*2));padding:0;border-radius:var(--radius-full, 1000px);color:var(--md-sys-color-on-surface, #1b1b1f);background:0 0;cursor:pointer}.mobile-search-close,.mobile-search-trigger{color:var(--md-sys-color-on-secondary-container, var(--p-30, #1e00be));background:var(--md-sys-color-secondary-container, var(--p-90, #d6f1ff))}@media (min-width:600px){.mobile-search-trigger.header-icon-button{display:none}}.header-icon-button:hover,.header-search-clear:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.mobile-search-close:hover,.mobile-search-trigger:hover{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #d6f1ff) 92%,var(--md-sys-color-on-secondary-container, #1e00be))}.header-icon-button:focus,.header-icon-button:focus-visible,.header-search-clear:focus,.header-search-clear:focus-visible,.header-text-button:focus,.header-text-button:focus-visible,.search-submit:focus,.search-submit:focus-visible,.utility-link:focus,.utility-link:focus-visible{outline:0}.header-icon-button:focus-visible,.header-search-clear:focus-visible,.header-text-button:focus-visible,.search-submit:focus-visible,.utility-link:focus-visible{outline:0}.header-icon-button md-focus-ring,.header-search-clear md-focus-ring,.header-text-button md-focus-ring,.search-submit md-focus-ring,.utility-link md-focus-ring{position:absolute;inset:var(--spacing-neg-2, -4px);pointer-events:none;display:none;border-radius:inherit}.header-text-button{gap:var(--spacing-3, 8px)}.header-text-button .header-symbol{inline-size:var(--icon-size-small, 20px);font-size:var(--icon-size-small, 20px);line-height:var(--icon-size-small, 20px)}.header-symbol,.sr-only{overflow:hidden;white-space:nowrap}.header-symbol{display:inline-block;inline-size:1em;block-size:1em;font-family:"Material Symbols Outlined";font-size:var(--icon-size-medium, 24px);line-height:1;text-align:center;text-transform:none;word-wrap:normal;direction:ltr;font-feature-settings:"liga"1;font-variation-settings:"FILL"0,"wght"400,"GRAD"0,"opsz"24;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-symbol.scb-svg-icon{fill:currentColor;font:inherit}.header-search-icon.header-symbol{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--scb-header-search-leading-size);font-size:var(--scb-header-search-icon-size)}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);border:0}.drawer-close{box-sizing:border-box;display:flex;justify-content:flex-end;padding-block-start:var(--spacing-4, 12px);padding-inline:var(--spacing-4, 12px);background:var(--md-sys-color-surface-container-lowest)}.drawer-close[hidden]{display:none}.drawer-close ::slotted(*){flex:0 0 auto}.divider{border-bottom:var(--stroke-border, 1px) solid var(--md-sys-color-outline-variant, #e0e0e0);position:relative;z-index:0}:host([data-hide-logo-text]) .logo-text{display:none}`,T);c([h({type:String,attribute:"max-width"})],o.prototype,"maxWidth",void 0);c([h({type:String,reflect:!0})],o.prototype,"spacing",void 0);c([h({type:String,attribute:"spacing-top",reflect:!0})],o.prototype,"spacingTop",void 0);c([h({type:String,attribute:"spacing-bottom",reflect:!0})],o.prototype,"spacingBottom",void 0);c([h({type:String,reflect:!0,converter:N})],o.prototype,"size",void 0);c([h({type:String,attribute:"logo-text"})],o.prototype,"logoText",void 0);c([h({type:String,attribute:"logotype-text"})],o.prototype,"logotypeText",void 0);c([h({type:String,attribute:"logo-alt"})],o.prototype,"logoAlt",void 0);c([h({type:String,attribute:"logo-href"})],o.prototype,"logoHref",void 0);c([h({type:String,attribute:"logo-src"})],o.prototype,"logoSrc",void 0);c([h({type:String,attribute:"logo-width"})],o.prototype,"logoWidth",void 0);c([h({type:String,attribute:"logo-height"})],o.prototype,"logoHeight",void 0);c([h({type:String,attribute:"logo-aspect-ratio"})],o.prototype,"logoAspectRatio",void 0);c([h({type:Boolean,attribute:"logo-invert-dm",reflect:!0,converter:z})],o.prototype,"logoInvertDm",void 0);c([h({type:Boolean,reflect:!0})],o.prototype,"banner",void 0);c([h({type:String,attribute:"banner-label"})],o.prototype,"bannerLabel",void 0);c([h({type:Array,attribute:"tabs",converter:o._JSON_ARRAY})],o.prototype,"tabs",void 0);c([h({type:Number,attribute:"active-tab"})],o.prototype,"activeTab",void 0);c([h({type:Boolean,attribute:"reserve-tabs",reflect:!0,converter:z})],o.prototype,"reserveTabs",void 0);c([h({type:Number,attribute:"reserve-tabs-count"})],o.prototype,"reserveTabsCount",void 0);c([h({type:String,attribute:"reserve-tabs-widths"})],o.prototype,"reserveTabsWidths",void 0);c([h({type:Boolean,attribute:"layout-pending",reflect:!0,converter:z})],o.prototype,"layoutPending",void 0);c([h({type:Array,attribute:"utility-items",converter:o._JSON_ARRAY})],o.prototype,"utilityItems",void 0);c([h({type:String,attribute:"search-placeholder"})],o.prototype,"searchPlaceholder",void 0);c([h({type:String,attribute:"search-button-label"})],o.prototype,"searchButtonLabel",void 0);c([h({type:String,attribute:"menu-label"})],o.prototype,"menuLabel",void 0);c([h({type:String,attribute:"menu-button-label"})],o.prototype,"menuButtonLabel",void 0);c([h({type:String,attribute:"menu-sub-label"})],o.prototype,"menuSubLabel",void 0);c([h({type:String,attribute:"menu-section-label"})],o.prototype,"menuSectionLabel",void 0);c([h({type:String,attribute:"menu-search-placeholder"})],o.prototype,"menuSearchPlaceholder",void 0);c([h({type:Array,attribute:"menu-data",converter:o._JSON_ARRAY})],o.prototype,"menuData",void 0);c([h({type:Boolean,attribute:"defer-drawer",reflect:!0,converter:z})],o.prototype,"deferDrawer",void 0);c([h({type:Boolean,attribute:"show-drawer",reflect:!0,converter:M})],o.prototype,"showDrawer",void 0);c([h({type:Boolean,attribute:"always-show-menu-button",reflect:!0,converter:z})],o.prototype,"alwaysShowMenuButton",void 0);c([h({type:Boolean,attribute:"show-search",reflect:!0,converter:M})],o.prototype,"showSearch",void 0);c([h({type:Boolean,attribute:"include-utility-in-menu",reflect:!0,converter:z})],o.prototype,"includeUtilityInMenu",void 0);c([h({type:Boolean,attribute:"drawer-overlay",reflect:!0,converter:M})],o.prototype,"drawerOverlay",void 0);c([h({type:String,attribute:"search-max"})],o.prototype,"searchMax",void 0);c([h({type:String,attribute:"search-min"})],o.prototype,"searchMin",void 0);c([h({type:String,attribute:"search-height"})],o.prototype,"searchHeight",void 0);c([h({type:String,attribute:"search-text",reflect:!0})],o.prototype,"searchText",void 0);c([k()],o.prototype,"_drawerId",void 0);c([k()],o.prototype,"_menuExpanded",void 0);c([k()],o.prototype,"_searchId",void 0);c([k()],o.prototype,"_drawerReady",void 0);c([k()],o.prototype,"_mobileSearchOpen",void 0);c([k()],o.prototype,"_slotNavItems",void 0);c([k()],o.prototype,"_slotUtils",void 0);c([k()],o.prototype,"_slotMenu",void 0);c([k()],o.prototype,"_collapsed",void 0);c([k()],o.prototype,"_hideLogoText",void 0);o=P=c([I("scb-header")],o);
|
|
368
|
+
);font-weight:var(--md-sys-typescale-title-small-weight, 500);letter-spacing:var(--md-sys-typescale-title-small-tracking, 0);color:var(--md-sys-color-on-surface);white-space:nowrap;border-radius:0;outline:0}.tab-link[aria-current=page]{color:var(--md-sys-color-primary)}.tab-link::after{content:"";position:absolute;left:0;right:0;bottom:0;height:3px;border-radius:999px 999px 0 0;background-color:transparent}.tab-link[aria-current=page]::after{background-color:var(--md-sys-color-primary)}.tab-link:focus-visible{outline:0}.header-icon-button:focus-visible md-focus-ring,.header-search-clear:focus-visible md-focus-ring,.header-text-button:focus-visible md-focus-ring,.search-submit:focus-visible md-focus-ring,.tab-link:focus-visible+md-focus-ring,.utility-link:focus-visible md-focus-ring{display:block}.header-text-button,.utility-link{position:relative}.header-icon-button,.header-text-button,.search-submit,.utility-link{border:0;font:inherit;letter-spacing:0;-webkit-tap-highlight-color:transparent}.search-submit{position:relative}.header-text-button,.search-submit,.utility-link{box-sizing:border-box;display:inline-flex;align-items:center;justify-content:center;min-block-size:calc(var(--md-sys-typescale-label-small-line-height, 20px) + ((var(--spacing-4, 12px) - var(--spacing-1, 2px))*2));padding-block:calc(var(--spacing-4, 12px) - var(--spacing-1, 2px));padding-inline:var(--spacing-5, 16px);border-radius:var(--radius-full, 1000px);color:var(--md-sys-color-primary, var(--p-40, #1f44ff));font-family:var(--md-sys-typescale-label-small-font, var(--brand-font, Inter), sans-serif);font-size:var(--md-sys-typescale-label-small-size, 14px);line-height:var(--md-sys-typescale-label-small-line-height, 20px);font-weight:var(--md-sys-typescale-label-small-weight, 600);text-decoration:none;background:0 0;cursor:pointer;white-space:nowrap}.header-text-button:hover,.utility-link:hover{background:color-mix(in srgb,var(--md-sys-color-primary, #1f44ff) 8%,transparent)}.search-submit{min-block-size:var(--scb-search-height, var(--scale-11, 48px));min-inline-size:var(--scale-12, 64px);color:var(--md-sys-color-on-secondary-container, var(--p-30, #1e00be));background:var(--md-sys-color-secondary-container, var(--p-90, #d6f1ff))}.search-submit:hover{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #d6f1ff) 92%,var(--md-sys-color-on-secondary-container, #1e00be))}.header-icon-button{position:relative;display:inline-flex;align-items:center;justify-content:center;inline-size:calc(var(--icon-size-medium, 24px) + (var(--spacing-3, 12px)*2));block-size:calc(var(--icon-size-medium, 24px) + (var(--spacing-3, 12px)*2));padding:0;border-radius:var(--radius-full, 1000px);color:var(--md-sys-color-on-surface, #1b1b1f);background:0 0;cursor:pointer}.mobile-search-close,.mobile-search-trigger{color:var(--md-sys-color-on-secondary-container, var(--p-30, #1e00be));background:var(--md-sys-color-secondary-container, var(--p-90, #d6f1ff))}@media (min-width:600px){.mobile-search-trigger.header-icon-button{display:none}}.header-icon-button:hover,.header-search-clear:hover{background:color-mix(in srgb,currentColor 8%,transparent)}.mobile-search-close:hover,.mobile-search-trigger:hover{background:color-mix(in srgb,var(--md-sys-color-secondary-container, #d6f1ff) 92%,var(--md-sys-color-on-secondary-container, #1e00be))}.header-icon-button:focus,.header-icon-button:focus-visible,.header-search-clear:focus,.header-search-clear:focus-visible,.header-text-button:focus,.header-text-button:focus-visible,.search-submit:focus,.search-submit:focus-visible,.utility-link:focus,.utility-link:focus-visible{outline:0}.header-icon-button:focus-visible,.header-search-clear:focus-visible,.header-text-button:focus-visible,.search-submit:focus-visible,.utility-link:focus-visible{outline:0}.header-icon-button md-focus-ring,.header-search-clear md-focus-ring,.header-text-button md-focus-ring,.search-submit md-focus-ring,.utility-link md-focus-ring{position:absolute;inset:var(--spacing-neg-2, -4px);pointer-events:none;display:none;border-radius:inherit}.header-text-button{gap:var(--spacing-3, 8px)}.header-text-button .header-symbol{inline-size:var(--icon-size-small, 20px);font-size:var(--icon-size-small, 20px);line-height:var(--icon-size-small, 20px)}.header-symbol,.sr-only{overflow:hidden;white-space:nowrap}.header-symbol{display:inline-block;inline-size:1em;block-size:1em;font-family:"Material Symbols Outlined";font-size:var(--icon-size-medium, 24px);line-height:1;text-align:center;text-transform:none;word-wrap:normal;direction:ltr;font-feature-settings:"liga"1;font-variation-settings:"FILL"0,"wght"400,"GRAD"0,"opsz"24;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.header-symbol.scb-svg-icon{fill:currentColor;font:inherit}.header-search-icon.header-symbol{display:inline-flex;align-items:center;justify-content:center;inline-size:var(--scb-header-search-leading-size);font-size:var(--scb-header-search-icon-size)}.sr-only{position:absolute;inline-size:1px;block-size:1px;padding:0;margin:-1px;clip:rect(0,0,0,0);border:0}.drawer-close{box-sizing:border-box;display:flex;justify-content:flex-end;padding-block-start:var(--spacing-4, 12px);padding-inline:var(--spacing-4, 12px);background:var(--md-sys-color-surface-container-lowest)}.drawer-close[hidden]{display:none}.drawer-close ::slotted(*){flex:0 0 auto}.divider{border-bottom:var(--stroke-border, 1px) solid var(--md-sys-color-outline-variant, #e0e0e0);position:relative;z-index:0}:host([data-hide-logo-text]) .logo-text{display:none}`,T);c([h({type:String,attribute:"max-width"})],o.prototype,"maxWidth",void 0);c([h({type:String,reflect:!0})],o.prototype,"spacing",void 0);c([h({type:String,attribute:"spacing-top",reflect:!0})],o.prototype,"spacingTop",void 0);c([h({type:String,attribute:"spacing-bottom",reflect:!0})],o.prototype,"spacingBottom",void 0);c([h({type:String,reflect:!0,converter:N})],o.prototype,"size",void 0);c([h({type:String,attribute:"logo-text"})],o.prototype,"logoText",void 0);c([h({type:String,attribute:"logotype-text"})],o.prototype,"logotypeText",void 0);c([h({type:String,attribute:"logo-alt"})],o.prototype,"logoAlt",void 0);c([h({type:String,attribute:"logo-href"})],o.prototype,"logoHref",void 0);c([h({type:String,attribute:"logo-src"})],o.prototype,"logoSrc",void 0);c([h({type:String,attribute:"logo-width"})],o.prototype,"logoWidth",void 0);c([h({type:String,attribute:"logo-height"})],o.prototype,"logoHeight",void 0);c([h({type:String,attribute:"logo-aspect-ratio"})],o.prototype,"logoAspectRatio",void 0);c([h({type:Boolean,attribute:"logo-invert-dm",reflect:!0,converter:z})],o.prototype,"logoInvertDm",void 0);c([h({type:Boolean,reflect:!0})],o.prototype,"banner",void 0);c([h({type:String,attribute:"banner-label"})],o.prototype,"bannerLabel",void 0);c([h({type:Array,attribute:"tabs",converter:o._JSON_ARRAY})],o.prototype,"tabs",void 0);c([h({type:Number,attribute:"active-tab",reflect:!0})],o.prototype,"activeTab",void 0);c([h({type:Boolean,attribute:"reserve-tabs",reflect:!0,converter:z})],o.prototype,"reserveTabs",void 0);c([h({type:Number,attribute:"reserve-tabs-count"})],o.prototype,"reserveTabsCount",void 0);c([h({type:String,attribute:"reserve-tabs-widths"})],o.prototype,"reserveTabsWidths",void 0);c([h({type:Boolean,attribute:"layout-pending",reflect:!0,converter:z})],o.prototype,"layoutPending",void 0);c([h({type:Array,attribute:"utility-items",converter:o._JSON_ARRAY})],o.prototype,"utilityItems",void 0);c([h({type:String,attribute:"search-placeholder"})],o.prototype,"searchPlaceholder",void 0);c([h({type:String,attribute:"search-button-label"})],o.prototype,"searchButtonLabel",void 0);c([h({type:String,attribute:"menu-label"})],o.prototype,"menuLabel",void 0);c([h({type:String,attribute:"menu-button-label"})],o.prototype,"menuButtonLabel",void 0);c([h({type:String,attribute:"menu-sub-label"})],o.prototype,"menuSubLabel",void 0);c([h({type:String,attribute:"menu-section-label"})],o.prototype,"menuSectionLabel",void 0);c([h({type:String,attribute:"menu-search-placeholder"})],o.prototype,"menuSearchPlaceholder",void 0);c([h({type:Array,attribute:"menu-data",converter:o._JSON_ARRAY})],o.prototype,"menuData",void 0);c([h({type:Boolean,attribute:"defer-drawer",reflect:!0,converter:z})],o.prototype,"deferDrawer",void 0);c([h({type:Boolean,attribute:"show-drawer",reflect:!0,converter:M})],o.prototype,"showDrawer",void 0);c([h({type:Boolean,attribute:"always-show-menu-button",reflect:!0,converter:z})],o.prototype,"alwaysShowMenuButton",void 0);c([h({type:Boolean,attribute:"show-search",reflect:!0,converter:M})],o.prototype,"showSearch",void 0);c([h({type:Boolean,attribute:"include-utility-in-menu",reflect:!0,converter:z})],o.prototype,"includeUtilityInMenu",void 0);c([h({type:Boolean,attribute:"drawer-overlay",reflect:!0,converter:M})],o.prototype,"drawerOverlay",void 0);c([h({type:String,attribute:"search-max"})],o.prototype,"searchMax",void 0);c([h({type:String,attribute:"search-min"})],o.prototype,"searchMin",void 0);c([h({type:String,attribute:"search-height"})],o.prototype,"searchHeight",void 0);c([h({type:String,attribute:"search-text",reflect:!0})],o.prototype,"searchText",void 0);c([k()],o.prototype,"_drawerId",void 0);c([k()],o.prototype,"_menuExpanded",void 0);c([k()],o.prototype,"_searchId",void 0);c([k()],o.prototype,"_drawerReady",void 0);c([k()],o.prototype,"_mobileSearchOpen",void 0);c([k()],o.prototype,"_slotNavItems",void 0);c([k()],o.prototype,"_slotUtils",void 0);c([k()],o.prototype,"_slotMenu",void 0);c([k()],o.prototype,"_collapsed",void 0);c([k()],o.prototype,"_hideLogoText",void 0);o=P=c([I("scb-header")],o);
|
|
@@ -47,4 +47,4 @@ import{g as n,h as y,m as w,p as a,v as o,y as k}from"../../vendor/vendor.js";im
|
|
|
47
47
|
</div>
|
|
48
48
|
|
|
49
49
|
${this.__focusRingLoaded?o`<md-focus-ring></md-focus-ring>`:n}
|
|
50
|
-
`}};e([a({type:String,reflect:!0,attribute:"type"})],i.prototype,"type",void 0);e([a({type:String})],i.prototype,"href",void 0);e([a({type:String,attribute:"item-href"})],i.prototype,"itemHref",void 0);e([a({type:String,attribute:"target"})],i.prototype,"target",void 0);e([a({type:Boolean,attribute:"disabled"})],i.prototype,"disabled",void 0);e([a({type:String,reflect:!0})],i.prototype,"label",void 0);e([a({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",void 0);e([a({type:String,attribute:"overline"})],i.prototype,"overline",void 0);e([a({type:Boolean})],i.prototype,"leading",void 0);e([a({type:String,attribute:"leading-variant",reflect:!0})],i.prototype,"leadingVariant",void 0);e([a({type:String,attribute:"leading-icon"})],i.prototype,"leadingIcon",void 0);e([a({type:String,attribute:"avatar-label"})],i.prototype,"avatarLabel",void 0);e([a({type:String,attribute:"avatar-alt"})],i.prototype,"avatarAlt",void 0);e([a({type:String,attribute:"avatar-variant"})],i.prototype,"avatarVariant",void 0);e([a({type:String,attribute:"avatar-src"})],i.prototype,"avatarSrc",void 0);e([a({type:String,reflect:!0,attribute:"img-href-image"})],i.prototype,"imgHrefImage",void 0);e([a({type:Boolean})],i.prototype,"trailing",void 0);e([a({type:String,attribute:"trailing-variant",reflect:!0})],i.prototype,"trailingVariant",void 0);e([a({type:String,attribute:"trailing-icon"})],i.prototype,"trailingIcon",void 0);e([a({type:String,attribute:"trailing-switch-label"})],i.prototype,"trailingSwitchLabel",void 0);e([a({type:String,attribute:"trailing-switch-width"})],i.prototype,"trailingSwitchWidth",void 0);e([a({type:Boolean,attribute:"trailing-switch-selected",reflect:!0})],i.prototype,"trailingSwitchSelected",void 0);e([a({type:Number,reflect:!0})],i.prototype,"density",void 0);e([a({type:Boolean,attribute:"no-divider",reflect:!0})],i.prototype,"noDivider",void 0);i=e([w("scb-list-item")],i);
|
|
50
|
+
`}};e([a({type:String,reflect:!0,attribute:"type"})],i.prototype,"type",void 0);e([a({type:String})],i.prototype,"href",void 0);e([a({type:String,attribute:"item-href"})],i.prototype,"itemHref",void 0);e([a({type:String,attribute:"target"})],i.prototype,"target",void 0);e([a({type:Boolean,attribute:"disabled",reflect:!0})],i.prototype,"disabled",void 0);e([a({type:String,reflect:!0})],i.prototype,"label",void 0);e([a({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",void 0);e([a({type:String,attribute:"overline"})],i.prototype,"overline",void 0);e([a({type:Boolean})],i.prototype,"leading",void 0);e([a({type:String,attribute:"leading-variant",reflect:!0})],i.prototype,"leadingVariant",void 0);e([a({type:String,attribute:"leading-icon"})],i.prototype,"leadingIcon",void 0);e([a({type:String,attribute:"avatar-label"})],i.prototype,"avatarLabel",void 0);e([a({type:String,attribute:"avatar-alt"})],i.prototype,"avatarAlt",void 0);e([a({type:String,attribute:"avatar-variant"})],i.prototype,"avatarVariant",void 0);e([a({type:String,attribute:"avatar-src"})],i.prototype,"avatarSrc",void 0);e([a({type:String,reflect:!0,attribute:"img-href-image"})],i.prototype,"imgHrefImage",void 0);e([a({type:Boolean})],i.prototype,"trailing",void 0);e([a({type:String,attribute:"trailing-variant",reflect:!0})],i.prototype,"trailingVariant",void 0);e([a({type:String,attribute:"trailing-icon"})],i.prototype,"trailingIcon",void 0);e([a({type:String,attribute:"trailing-switch-label"})],i.prototype,"trailingSwitchLabel",void 0);e([a({type:String,attribute:"trailing-switch-width"})],i.prototype,"trailingSwitchWidth",void 0);e([a({type:Boolean,attribute:"trailing-switch-selected",reflect:!0})],i.prototype,"trailingSwitchSelected",void 0);e([a({type:Number,reflect:!0})],i.prototype,"density",void 0);e([a({type:Boolean,attribute:"no-divider",reflect:!0})],i.prototype,"noDivider",void 0);i=e([w("scb-list-item")],i);
|
|
@@ -41,4 +41,4 @@ import{a as p,h as u,m as b,p as l,v as d,y as g}from"../../vendor/vendor.js";im
|
|
|
41
41
|
<slot @slotchange="${()=>{this.requestUpdate()}}"></slot>
|
|
42
42
|
</div>
|
|
43
43
|
</div>
|
|
44
|
-
`}},c.formAssociated=!0,c.styles=g`:host{display:flex;flex-direction:column;color:var(--md-sys-color-on-surface);font-family:var(--brand-font);--scb-select-max-width:400px;--scb-select-padding-x:var(--spacing-5);--scb-select-padding-y:var(--spacing-2);--scb-select-min-height:56px;--scb-select-font-size:var(--md-sys-typescale-body-large-size);--scb-select-line-height:var(--md-sys-typescale-body-large-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-large-tracking);--scb-select-label-font-size:var(--md-sys-typescale-label-medium-size);--scb-select-label-line-height:var(--md-sys-typescale-label-medium-line-height);--scb-select-label-letter-spacing:var(--md-sys-typescale-label-medium-tracking);--scb-select-supporting-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-supporting-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-supporting-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-label-gap:var(--spacing-3);max-width:var(--scb-select-max-width);width:100%;margin-block-start:var(--scb-select-spacing-block-start, 0);margin-block-end:var(--scb-select-spacing-block-end, 0);margin-inline-start:var(--scb-select-spacing-inline-start, 0);margin-inline-end:var(--scb-select-spacing-inline-end, 0)}:host([disabled]){pointer-events:none;opacity:.38}:host([size='extra-small']),:host([size='medium']),:host([size='small']){--scb-select-label-font-size:var(--md-sys-typescale-label-small-size);--scb-select-label-line-height:var(--md-sys-typescale-label-small-line-height);--scb-select-label-letter-spacing:var(--md-sys-typescale-label-small-tracking);--scb-select-supporting-font-size:var(--md-sys-typescale-body-small-size);--scb-select-supporting-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-supporting-letter-spacing:var(--md-sys-typescale-body-small-tracking);--scb-select-option-padding-y:var(--spacing-2)}:host([size='medium']){--scb-select-padding-x:var(--spacing-4);--scb-select-padding-y:var(--spacing-3);--scb-select-min-height:48px;--scb-select-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-option-padding-x:var(--spacing-4);--scb-select-option-gap:var(--spacing-3);--scb-select-option-min-height:40px;--scb-select-option-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-option-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-option-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-option-icon-size:var(--icon-size-small, 20px)}:host([size='extra-small']),:host([size='small']){--scb-select-font-size:var(--md-sys-typescale-body-small-size);--scb-select-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-small-tracking);--scb-select-option-font-size:var(--md-sys-typescale-body-small-size);--scb-select-option-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-option-letter-spacing:var(--md-sys-typescale-body-small-tracking)}:host([size='small']){--scb-select-padding-x:var(--spacing-4);--scb-select-padding-y:var(--spacing-3);--scb-select-min-height:40px;--scb-select-option-padding-x:var(--spacing-4);--scb-select-option-gap:var(--spacing-3);--scb-select-option-min-height:40px;--scb-select-option-icon-size:var(--icon-size-small, 20px)}:host([size='extra-small']){--scb-select-padding-x:var(--spacing-3);--scb-select-padding-y:var(--spacing-2);--scb-select-min-height:32px;--scb-select-option-padding-x:var(--spacing-3);--scb-select-option-gap:var(--spacing-2);--scb-select-option-min-height:32px;--scb-select-option-icon-size:var(--icon-size-extra-small, 16px)}.select{position:relative;background:var(--md-sys-color-surface);cursor:pointer;border-radius:var(--md-sys-shape-corner-small);border:1px solid var(--md-sys-color-outline);outline:1px solid transparent;transition:border .2s}:host .select:hover,:host([open]) .select{outline:1px solid var(--md-sys-color-outline)}.selected-value{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;border:0;background:0 0;font:inherit;color:inherit;padding:0;outline:0;cursor:pointer;font-size:var(--scb-select-font-size);line-height:var(--scb-select-line-height);letter-spacing:var(--scb-select-letter-spacing)}.selected-value-container:focus-within{outline:0}.select-label{display:block;font-size:var(--scb-select-label-font-size);font-weight:var(--weight-semibold);line-height:var(--scb-select-label-line-height);letter-spacing:var(--scb-select-label-letter-spacing)}.select-label--without-supporting,.select-sub-label{margin-bottom:var(--scb-select-label-gap)}.select-sub-label{display:block;font-size:var(--scb-select-supporting-font-size);line-height:var(--scb-select-supporting-line-height);letter-spacing:var(--scb-select-supporting-letter-spacing);font-weight:var(--weight-regular);color:var(--md-sys-color-on-surface-variant)}md-focus-ring{position:absolute;border-radius:8px}.arrow,.options{position:absolute;pointer-events:none}.arrow{right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.options{left:0;right:0;top:calc(100% + 3px);z-index:10;max-height:0;overflow-y:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .15s linear .15s,visibility 0s linear .3s;visibility:hidden;opacity:0;border-radius:var(--md-sys-shape-corner-small);background:var(--md-sys-color-surface);padding:8px 0;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.options::-webkit-scrollbar{width:12px;background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}.options::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-small);border:4px solid var(--md-sys-color-surface)}.options::-webkit-scrollbar-track{background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}:host([open]) .options{max-height:240px;visibility:visible;pointer-events:auto;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity 0s linear 0s,visibility 0s linear 0s;opacity:1}.options.options--scroll{overflow-y:auto}.option[aria-selected=true]{background:#e6f0fa}.option[aria-disabled=true]{color:#aaa;pointer-events:none}.selected-value-container{height:100%;min-height:var(--scb-select-min-height);box-sizing:border-box;position:relative;display:flex;align-items:center;padding:var(--scb-select-padding-y) 52px var(--scb-select-padding-y) var(--scb-select-padding-x)}:host([size='extra-small']) .selected-value-container{padding-right:44px}`,c);a([l({type:String})],i.prototype,"variant",void 0);a([l({type:String})],i.prototype,"value",void 0);a([l({type:Array})],i.prototype,"values",void 0);a([l({type:Boolean})],i.prototype,"disabled",void 0);a([l({type:Boolean,reflect:!0})],i.prototype,"required",void 0);a([l({type:Boolean,reflect:!0})],i.prototype,"open",void 0);a([l({type:String})],i.prototype,"label",void 0);a([l({type:String})],i.prototype,"name",void 0);a([l({type:String})],i.prototype,"placeholder",void 0);a([l({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",void 0);a([l({type:Boolean,attribute:"with-radiobuttons"})],i.prototype,"withRadiobuttons",void 0);a([l({type:Boolean,attribute:"no-highlight-selected",reflect:!0})],i.prototype,"noHighlightSelected",void 0);a([l({type:String,reflect:!0})],i.prototype,"size",void 0);a([l({type:String,reflect:!0})],i.prototype,"spacing",void 0);a([l({type:String,attribute:"spacing-top",reflect:!0})],i.prototype,"spacingTop",void 0);a([l({type:String,attribute:"spacing-bottom",reflect:!0})],i.prototype,"spacingBottom",void 0);a([l({type:String,attribute:"spacing-left",reflect:!0})],i.prototype,"spacingLeft",void 0);a([l({type:String,attribute:"spacing-right",reflect:!0})],i.prototype,"spacingRight",void 0);a([l({type:String,attribute:"z-index"})],i.prototype,"zIndex",void 0);i=a([b("scb-select")],i);
|
|
44
|
+
`}},c.formAssociated=!0,c.styles=g`:host{display:flex;flex-direction:column;color:var(--md-sys-color-on-surface);font-family:var(--brand-font);--scb-select-max-width:400px;--scb-select-padding-x:var(--spacing-5);--scb-select-padding-y:var(--spacing-2);--scb-select-min-height:56px;--scb-select-font-size:var(--md-sys-typescale-body-large-size);--scb-select-line-height:var(--md-sys-typescale-body-large-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-large-tracking);--scb-select-label-font-size:var(--md-sys-typescale-label-medium-size);--scb-select-label-line-height:var(--md-sys-typescale-label-medium-line-height);--scb-select-label-letter-spacing:var(--md-sys-typescale-label-medium-tracking);--scb-select-supporting-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-supporting-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-supporting-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-label-gap:var(--spacing-3);max-width:var(--scb-select-max-width);width:100%;margin-block-start:var(--scb-select-spacing-block-start, 0);margin-block-end:var(--scb-select-spacing-block-end, 0);margin-inline-start:var(--scb-select-spacing-inline-start, 0);margin-inline-end:var(--scb-select-spacing-inline-end, 0)}:host([disabled]){pointer-events:none;opacity:.38}:host([size='extra-small']),:host([size='medium']),:host([size='small']){--scb-select-label-font-size:var(--md-sys-typescale-label-small-size);--scb-select-label-line-height:var(--md-sys-typescale-label-small-line-height);--scb-select-label-letter-spacing:var(--md-sys-typescale-label-small-tracking);--scb-select-supporting-font-size:var(--md-sys-typescale-body-small-size);--scb-select-supporting-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-supporting-letter-spacing:var(--md-sys-typescale-body-small-tracking);--scb-select-option-padding-y:var(--spacing-2)}:host([size='medium']){--scb-select-padding-x:var(--spacing-4);--scb-select-padding-y:var(--spacing-3);--scb-select-min-height:48px;--scb-select-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-option-padding-x:var(--spacing-4);--scb-select-option-gap:var(--spacing-3);--scb-select-option-min-height:40px;--scb-select-option-font-size:var(--md-sys-typescale-body-medium-size);--scb-select-option-line-height:var(--md-sys-typescale-body-medium-line-height);--scb-select-option-letter-spacing:var(--md-sys-typescale-body-medium-tracking);--scb-select-option-icon-size:var(--icon-size-small, 20px)}:host([size='extra-small']),:host([size='small']){--scb-select-font-size:var(--md-sys-typescale-body-small-size);--scb-select-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-letter-spacing:var(--md-sys-typescale-body-small-tracking);--scb-select-option-font-size:var(--md-sys-typescale-body-small-size);--scb-select-option-line-height:var(--md-sys-typescale-body-small-line-height);--scb-select-option-letter-spacing:var(--md-sys-typescale-body-small-tracking)}:host([size='small']){--scb-select-padding-x:var(--spacing-4);--scb-select-padding-y:var(--spacing-3);--scb-select-min-height:40px;--scb-select-option-padding-x:var(--spacing-4);--scb-select-option-gap:var(--spacing-3);--scb-select-option-min-height:40px;--scb-select-option-icon-size:var(--icon-size-small, 20px)}:host([size='extra-small']){--scb-select-padding-x:var(--spacing-3);--scb-select-padding-y:var(--spacing-2);--scb-select-min-height:32px;--scb-select-option-padding-x:var(--spacing-3);--scb-select-option-gap:var(--spacing-2);--scb-select-option-min-height:32px;--scb-select-option-icon-size:var(--icon-size-extra-small, 16px)}.select{position:relative;background:var(--md-sys-color-surface);cursor:pointer;border-radius:var(--md-sys-shape-corner-small);border:1px solid var(--md-sys-color-outline);outline:1px solid transparent;transition:border .2s}:host .select:hover,:host([open]) .select{outline:1px solid var(--md-sys-color-outline)}.selected-value{flex:1 1 auto;min-width:0;overflow:hidden;text-overflow:ellipsis;white-space:nowrap;display:block;border:0;background:0 0;font:inherit;color:inherit;padding:0;outline:0;cursor:pointer;font-size:var(--scb-select-font-size);line-height:var(--scb-select-line-height);letter-spacing:var(--scb-select-letter-spacing)}.selected-value-container:focus-within{outline:0}.select-label{display:block;font-size:var(--scb-select-label-font-size);font-weight:var(--weight-semibold);line-height:var(--scb-select-label-line-height);letter-spacing:var(--scb-select-label-letter-spacing)}.select-label--without-supporting,.select-sub-label{margin-bottom:var(--scb-select-label-gap)}.select-sub-label{display:block;font-size:var(--scb-select-supporting-font-size);line-height:var(--scb-select-supporting-line-height);letter-spacing:var(--scb-select-supporting-letter-spacing);font-weight:var(--weight-regular);color:var(--md-sys-color-on-surface-variant)}md-focus-ring{position:absolute;border-radius:8px}.arrow,.options{position:absolute;pointer-events:none}.arrow{right:8px;top:50%;transform:translateY(-50%);display:flex;align-items:center;justify-content:center}.options{left:0;right:0;top:calc(100% + 3px);z-index:10;max-height:0;overflow-y:hidden;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity .15s linear .15s,visibility 0s linear .3s;visibility:hidden;opacity:0;border-radius:var(--md-sys-shape-corner-small);background:var(--md-sys-color-surface);padding:8px 0;box-shadow:0 1px 2px 0 rgba(0,0,0,.3),0 2px 6px 2px rgba(0,0,0,.15)}.options::-webkit-scrollbar{width:12px;background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}.options::-webkit-scrollbar-thumb{background:var(--md-sys-color-outline);border-radius:var(--md-sys-shape-corner-small);border:4px solid var(--md-sys-color-surface)}.options::-webkit-scrollbar-track{background:var(--md-sys-color-surface);border-radius:var(--md-sys-shape-corner-small)}:host([open]) .options{max-height:240px;visibility:visible;pointer-events:auto;transition:max-height .3s cubic-bezier(.4,0,.2,1),opacity 0s linear 0s,visibility 0s linear 0s;opacity:1}.options.options--scroll{overflow-y:auto}.option[aria-selected=true]{background:#e6f0fa}.option[aria-disabled=true]{color:#aaa;pointer-events:none}.selected-value-container{height:100%;min-height:var(--scb-select-min-height);box-sizing:border-box;position:relative;display:flex;align-items:center;padding:var(--scb-select-padding-y) 52px var(--scb-select-padding-y) var(--scb-select-padding-x)}:host([size='extra-small']) .selected-value-container{padding-right:44px}`,c);a([l({type:String})],i.prototype,"variant",void 0);a([l({type:String})],i.prototype,"value",void 0);a([l({type:Array})],i.prototype,"values",void 0);a([l({type:Boolean,reflect:!0})],i.prototype,"disabled",void 0);a([l({type:Boolean,reflect:!0})],i.prototype,"required",void 0);a([l({type:Boolean,reflect:!0})],i.prototype,"open",void 0);a([l({type:String})],i.prototype,"label",void 0);a([l({type:String})],i.prototype,"name",void 0);a([l({type:String})],i.prototype,"placeholder",void 0);a([l({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",void 0);a([l({type:Boolean,attribute:"with-radiobuttons"})],i.prototype,"withRadiobuttons",void 0);a([l({type:Boolean,attribute:"no-highlight-selected",reflect:!0})],i.prototype,"noHighlightSelected",void 0);a([l({type:String,reflect:!0})],i.prototype,"size",void 0);a([l({type:String,reflect:!0})],i.prototype,"spacing",void 0);a([l({type:String,attribute:"spacing-top",reflect:!0})],i.prototype,"spacingTop",void 0);a([l({type:String,attribute:"spacing-bottom",reflect:!0})],i.prototype,"spacingBottom",void 0);a([l({type:String,attribute:"spacing-left",reflect:!0})],i.prototype,"spacingLeft",void 0);a([l({type:String,attribute:"spacing-right",reflect:!0})],i.prototype,"spacingRight",void 0);a([l({type:String,attribute:"z-index"})],i.prototype,"zIndex",void 0);i=a([b("scb-select")],i);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{h as _,m as x,p as l,v as k,y as w}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as p}from"../../vendor/decorate.js";import{n as I,t as c}from"../../vendor/assertClassBrand.js";import{n as
|
|
1
|
+
import{h as _,m as x,p as l,v as k,y as w}from"../../vendor/vendor.js";import"../../vendor/vendor-lit.js";import{t as p}from"../../vendor/decorate.js";import{n as I,t as c}from"../../vendor/assertClassBrand.js";import{n as f,r as y,t as b}from"../../vendor/classPrivateFieldGet2.js";import"./scb-step.js";(function(){try{var n=typeof globalThis<"u"?globalThis:window;if(!n.__scb_ce_guard_installed__){n.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(e,s,r){try{customElements.get(e)||t(e,s,r)}catch(h){var i=String(h||"");if(i.indexOf("already been used")===-1&&i.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var v,d,a,u,o=(v=new WeakMap,d=new WeakMap,a=new WeakSet,u=class extends _{constructor(...t){super(...t),I(this,a),y(this,v,void 0),y(this,d,void 0),this.type="",this.label="",this.changeOnCompleted=!1,this.variant="horizontal",this.symbolVariant="number",this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this.activeIndex=0,f(d,this,0),this._onKeyNav=e=>{const s=this._getSteps(),r=this.activeIndex;let i=r;e.detail.key==="ArrowRight"?r<s.length-1?i=r+1:i=0:e.detail.key==="ArrowLeft"&&(r>0?i=r-1:i=s.length-1),i!==r&&(this._onStepClick(i),setTimeout(()=>{const h=s[i].shadowRoot?.querySelector(".scb-step-content");h&&"focus"in h&&typeof h.focus=="function"&&h.focus()},0))},this._onStepContainerClick=e=>{const s=this._getSteps(),r=e.composedPath(),i=s.findIndex(h=>r.includes(h));i!==-1&&this._onStepClick(i)},this._onSlotChange=()=>{const e=this._getSteps();if(e.length===0){this.activeIndex=0;return}this.activeIndex>e.length-1?this.activeIndex=e.length-1:this.activeIndex<0&&(this.activeIndex=0),this._updateSteps(),c(a,this,m).call(this)}}_onStepClick(t){const e=this.activeIndex;this.activeIndex=t,this._updateSteps(),this.dispatchEvent(new CustomEvent("step-change",{detail:{index:this.activeIndex,step:this._getSteps()[this.activeIndex]},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("stepchange",{detail:{index:this.activeIndex,step:this._getSteps()[this.activeIndex]},bubbles:!0,composed:!0})),t>e?(this.dispatchEvent(new CustomEvent("step-next",{detail:{from:e,to:t,step:this._getSteps()[t]},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("stepnext",{detail:{from:e,to:t,step:this._getSteps()[t]},bubbles:!0,composed:!0}))):t<e&&(this.dispatchEvent(new CustomEvent("step-prev",{detail:{from:e,to:t,step:this._getSteps()[t]},bubbles:!0,composed:!0})),this.dispatchEvent(new CustomEvent("stepprev",{detail:{from:e,to:t,step:this._getSteps()[t]},bubbles:!0,composed:!0})))}nextStep(){const t=this._getSteps();this.activeIndex<t.length-1&&this._onStepClick(this.activeIndex+1)}prevStep(){this.activeIndex>0&&this._onStepClick(this.activeIndex-1)}getActiveIndex(){return this.activeIndex}_updateSteps(){const t=this._getSteps();this.style.setProperty("--scb-stepper-step-count",String(Math.max(1,t.length))),t.forEach((e,s)=>{e.active=s===this.activeIndex,e.completed=s<this.activeIndex,e.islast=!1,e.changeOnCompleted=this.changeOnCompleted,e.number=s+1,e.variant=this.variant,e.symbolVariant=this.symbolVariant}),t.length>0&&(t[t.length-1].islast=!0)}_getSteps(){return Array.from(this.querySelectorAll("scb-step"))}firstUpdated(t){this._updateSteps(),c(a,this,S).call(this),c(a,this,m).call(this)}updated(t){this._updateSteps(),(t.has("variant")||t.has("symbolVariant"))&&c(a,this,m).call(this),(t.has("spacing")||t.has("spacingTop")||t.has("spacingBottom")||t.has("spacingLeft")||t.has("spacingRight"))&&c(a,this,S).call(this)}render(){return k`
|
|
2
2
|
<div
|
|
3
3
|
class="steps"
|
|
4
4
|
role="list"
|
|
@@ -8,4 +8,4 @@ import{h as _,m as x,p as l,v as k,y as w}from"../../vendor/vendor.js";import"..
|
|
|
8
8
|
>
|
|
9
9
|
<slot @slotchange=${this._onSlotChange}></slot>
|
|
10
10
|
</div>
|
|
11
|
-
`}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<"u"&&(
|
|
11
|
+
`}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<"u"&&(f(v,this,new ResizeObserver(()=>{c(a,this,m).call(this)})),b(v,this).observe(this))}disconnectedCallback(){b(v,this)&&(b(v,this).disconnect(),f(v,this,void 0)),b(d,this)&&(cancelAnimationFrame(b(d,this)),f(d,this,0)),super.disconnectedCallback()}},u.styles=w`:host{--scb-stepper-width:100%;--scb-stepper-height:100%;--scb-stepper-step-count:1;--scb-stepper-connector-gap:var(--spacing-2);--scb-stepper-symbol-size:var(--icon-size-medium);display:block;padding:var(--spacing-5)0;width:100%;color:var(--md-sys-color-on-surface);font-family:var(--brand-font);max-width:var(--scb-stepper-width);height:var(--scb-stepper-height);margin-block-start:var(--scb-stepper-spacing-block-start, 0);margin-block-end:var(--scb-stepper-spacing-block-end, 0);margin-inline-start:var(--scb-stepper-spacing-inline-start, 0);margin-inline-end:var(--scb-stepper-spacing-inline-end, 0)}.steps{display:flex;flex-direction:row;align-items:stretch;justify-content:center;position:relative;width:100%;gap:0;height:100%}:host([variant='vertical']) .steps{flex-direction:column;gap:var(--spacing-8)}:host([symbol-variant='marker']){--scb-stepper-symbol-size:16px}::slotted(scb-step){position:relative;z-index:1;width:100%;min-width:0}:host([variant='horizontal']) ::slotted(scb-step){flex:var(--scb-step-width-weight, 1)1 0}:host([variant='horizontal']) ::slotted(scb-step)::after,:host([variant='horizontal']) ::slotted(scb-step)::before{content:"";position:absolute;top:calc(var(--spacing-4) + (var(--scb-stepper-symbol-size)/2));height:1px;background-color:var(--n-70);transition:background-color var(--motion-duration-medium) var(--motion-easing-standard);z-index:0;pointer-events:none}:host([variant='horizontal']) ::slotted(scb-step)::before{left:0;right:calc(50% + (var(--scb-stepper-symbol-size)/2) + var(--scb-stepper-connector-gap))}:host([variant='horizontal']) ::slotted(scb-step)::after{left:calc(50% + (var(--scb-stepper-symbol-size)/2) + var(--scb-stepper-connector-gap));right:0}:host([variant='horizontal']) ::slotted(scb-step:first-child)::before,:host([variant='horizontal']) ::slotted(scb-step:last-child)::after{display:none}:host([variant='horizontal']) ::slotted(scb-step[active])::before,:host([variant='horizontal']) ::slotted(scb-step[completed])::after,:host([variant='horizontal']) ::slotted(scb-step[completed])::before{background-color:var(--md-sys-color-primary)}::slotted(scb-step[variant=vertical][completed]:not(:last-child))::after,::slotted(scb-step[variant=vertical][symbol-variant=marker][completed]:not(:last-child))::after{background-color:var(--md-sys-color-primary)}::slotted(scb-step[variant=vertical]:not(:first-child))::before{display:none}::slotted(scb-step[variant=vertical]:not(:last-child))::after,::slotted(scb-step[variant=vertical][symbol-variant=marker]:not(:last-child))::after{content:"";position:absolute;left:28px;top:52px;width:1px;height:calc(100% - 16px);background-color:var(--n-70);transition:background-color var(--motion-duration-medium) var(--motion-easing-standard);z-index:0;transform:translateX(-50%)}::slotted(scb-step[variant=vertical][symbol-variant=marker]:not(:last-child))::after{left:20px;top:38px;height:calc(100% - 2px)}::slotted(scb-step[symbol-variant=marker]:not(:first-child))::before{top:20px}`,u);function S(){const n=c(a,this,g).call(this,this.spacing),t=c(a,this,g).call(this,this.spacingTop)??n,e=c(a,this,g).call(this,this.spacingBottom)??n,s=c(a,this,g).call(this,this.spacingLeft),r=c(a,this,g).call(this,this.spacingRight);t?this.style.setProperty("--scb-stepper-spacing-block-start",t):this.style.removeProperty("--scb-stepper-spacing-block-start"),e?this.style.setProperty("--scb-stepper-spacing-block-end",e):this.style.removeProperty("--scb-stepper-spacing-block-end"),s?this.style.setProperty("--scb-stepper-spacing-inline-start",s):this.style.removeProperty("--scb-stepper-spacing-inline-start"),r?this.style.setProperty("--scb-stepper-spacing-inline-end",r):this.style.removeProperty("--scb-stepper-spacing-inline-end")}function g(n){if(!n)return;const t=String(n).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}function m(){b(d,this)||f(d,this,requestAnimationFrame(()=>{f(d,this,0),c(a,this,C).call(this)}))}function C(){const n=this._getSteps();n.length!==0&&n.forEach(t=>{const e=t.shadowRoot;if(!e)return;const s=e.querySelector(".label"),r=e.querySelector(".scb-step-content");if(!s)return;if(this.variant!=="horizontal"){s.style.removeProperty("max-width"),s.style.removeProperty("white-space"),s.style.removeProperty("word-break"),s.style.removeProperty("overflow-wrap");return}s.style.maxWidth="none",s.style.whiteSpace="nowrap",s.style.wordBreak="normal",s.style.overflowWrap="normal";const i=r?.clientWidth??t.clientWidth;i>0&&s.scrollWidth>i&&(s.style.maxWidth="100%",s.style.whiteSpace="normal",s.style.wordBreak="break-word",s.style.overflowWrap="anywhere")})}p([l({type:String,reflect:!0})],o.prototype,"type",void 0);p([l({type:String,reflect:!0})],o.prototype,"label",void 0);p([l({type:Boolean,reflect:!0,attribute:"change-on-completed"})],o.prototype,"changeOnCompleted",void 0);p([l({type:String,reflect:!0})],o.prototype,"variant",void 0);p([l({type:String,reflect:!0,attribute:"symbol-variant"})],o.prototype,"symbolVariant",void 0);p([l({type:String,reflect:!0})],o.prototype,"spacing",void 0);p([l({type:String,attribute:"spacing-top",reflect:!0})],o.prototype,"spacingTop",void 0);p([l({type:String,attribute:"spacing-bottom",reflect:!0})],o.prototype,"spacingBottom",void 0);p([l({type:String,attribute:"spacing-left",reflect:!0})],o.prototype,"spacingLeft",void 0);p([l({type:String,attribute:"spacing-right",reflect:!0})],o.prototype,"spacingRight",void 0);p([l({type:Number,reflect:!0,attribute:"active-index"})],o.prototype,"activeIndex",void 0);o=p([x("scb-stepper")],o);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "scb-wc",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.98",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"module": "index.js",
|
|
@@ -462,5 +462,5 @@
|
|
|
462
462
|
},
|
|
463
463
|
"./mvc/*": "./mvc/*"
|
|
464
464
|
},
|
|
465
|
-
"buildHash": "
|
|
465
|
+
"buildHash": "CA3573C2CD351C3282B58A3C85625880075A53C1010C1F0E322462CBAF661C6B"
|
|
466
466
|
}
|
package/scb-dialog/scb-dialog.js
CHANGED
|
@@ -546,7 +546,10 @@ e([o({
|
|
|
546
546
|
type: String,
|
|
547
547
|
attribute: "spacing-right",
|
|
548
548
|
reflect: !0
|
|
549
|
-
})], c.prototype, "spacingRight", void 0), e([o({
|
|
549
|
+
})], c.prototype, "spacingRight", void 0), e([o({
|
|
550
|
+
type: String,
|
|
551
|
+
reflect: !0
|
|
552
|
+
})], c.prototype, "variant", void 0), e([o({ type: String })], c.prototype, "label", void 0), e([o({ type: String })], c.prototype, "icon", void 0), e([o({
|
|
550
553
|
type: String,
|
|
551
554
|
attribute: "supporting-text"
|
|
552
555
|
})], c.prototype, "supportingText", void 0), e([o({
|
package/scb-header/scb-header.js
CHANGED
|
@@ -1869,7 +1869,8 @@ e([o({
|
|
|
1869
1869
|
converter: p._JSON_ARRAY
|
|
1870
1870
|
})], p.prototype, "tabs", void 0), e([o({
|
|
1871
1871
|
type: Number,
|
|
1872
|
-
attribute: "active-tab"
|
|
1872
|
+
attribute: "active-tab",
|
|
1873
|
+
reflect: !0
|
|
1873
1874
|
})], p.prototype, "activeTab", void 0), e([o({
|
|
1874
1875
|
type: Boolean,
|
|
1875
1876
|
attribute: "reserve-tabs",
|
|
@@ -310,7 +310,8 @@ e([o({
|
|
|
310
310
|
attribute: "target"
|
|
311
311
|
})], d.prototype, "target", void 0), e([o({
|
|
312
312
|
type: Boolean,
|
|
313
|
-
attribute: "disabled"
|
|
313
|
+
attribute: "disabled",
|
|
314
|
+
reflect: !0
|
|
314
315
|
})], d.prototype, "disabled", void 0), e([o({
|
|
315
316
|
type: String,
|
|
316
317
|
reflect: !0
|
package/scb-select/scb-select.js
CHANGED
|
@@ -474,7 +474,10 @@ var c = class extends n {
|
|
|
474
474
|
`;
|
|
475
475
|
}
|
|
476
476
|
};
|
|
477
|
-
t([o({ type: String })], c.prototype, "variant", void 0), t([o({ type: String })], c.prototype, "value", void 0), t([o({ type: Array })], c.prototype, "values", void 0), t([o({
|
|
477
|
+
t([o({ type: String })], c.prototype, "variant", void 0), t([o({ type: String })], c.prototype, "value", void 0), t([o({ type: Array })], c.prototype, "values", void 0), t([o({
|
|
478
|
+
type: Boolean,
|
|
479
|
+
reflect: !0
|
|
480
|
+
})], c.prototype, "disabled", void 0), t([o({
|
|
478
481
|
type: Boolean,
|
|
479
482
|
reflect: !0
|
|
480
483
|
})], c.prototype, "required", void 0), t([o({
|
|
@@ -293,7 +293,10 @@ e([a({
|
|
|
293
293
|
type: Boolean,
|
|
294
294
|
reflect: !0,
|
|
295
295
|
attribute: "change-on-completed"
|
|
296
|
-
})], o.prototype, "changeOnCompleted", void 0), e([a({
|
|
296
|
+
})], o.prototype, "changeOnCompleted", void 0), e([a({
|
|
297
|
+
type: String,
|
|
298
|
+
reflect: !0
|
|
299
|
+
})], o.prototype, "variant", void 0), e([a({
|
|
297
300
|
type: String,
|
|
298
301
|
reflect: !0,
|
|
299
302
|
attribute: "symbol-variant"
|
package/scb-wc.bundle.js
CHANGED
|
@@ -1838,7 +1838,7 @@
|
|
|
1838
1838
|
</div>
|
|
1839
1839
|
|
|
1840
1840
|
${this.__focusRingLoaded?x`<md-focus-ring></md-focus-ring>`:S}
|
|
1841
|
-
`}},P([_({type:String,reflect:!0,attribute:`type`})],L.prototype,`type`,void 0),P([_({type:String})],L.prototype,`href`,void 0),P([_({type:String,attribute:`item-href`})],L.prototype,`itemHref`,void 0),P([_({type:String,attribute:`target`})],L.prototype,`target`,void 0),P([_({type:Boolean,attribute:`disabled
|
|
1841
|
+
`}},P([_({type:String,reflect:!0,attribute:`type`})],L.prototype,`type`,void 0),P([_({type:String})],L.prototype,`href`,void 0),P([_({type:String,attribute:`item-href`})],L.prototype,`itemHref`,void 0),P([_({type:String,attribute:`target`})],L.prototype,`target`,void 0),P([_({type:Boolean,attribute:`disabled`,reflect:!0})],L.prototype,`disabled`,void 0),P([_({type:String,reflect:!0})],L.prototype,`label`,void 0),P([_({type:String,attribute:`supporting-text`})],L.prototype,`supportingText`,void 0),P([_({type:String,attribute:`overline`})],L.prototype,`overline`,void 0),P([_({type:Boolean})],L.prototype,`leading`,void 0),P([_({type:String,attribute:`leading-variant`,reflect:!0})],L.prototype,`leadingVariant`,void 0),P([_({type:String,attribute:`leading-icon`})],L.prototype,`leadingIcon`,void 0),P([_({type:String,attribute:`avatar-label`})],L.prototype,`avatarLabel`,void 0),P([_({type:String,attribute:`avatar-alt`})],L.prototype,`avatarAlt`,void 0),P([_({type:String,attribute:`avatar-variant`})],L.prototype,`avatarVariant`,void 0),P([_({type:String,attribute:`avatar-src`})],L.prototype,`avatarSrc`,void 0),P([_({type:String,reflect:!0,attribute:`img-href-image`})],L.prototype,`imgHrefImage`,void 0),P([_({type:Boolean})],L.prototype,`trailing`,void 0),P([_({type:String,attribute:`trailing-variant`,reflect:!0})],L.prototype,`trailingVariant`,void 0),P([_({type:String,attribute:`trailing-icon`})],L.prototype,`trailingIcon`,void 0),P([_({type:String,attribute:`trailing-switch-label`})],L.prototype,`trailingSwitchLabel`,void 0),P([_({type:String,attribute:`trailing-switch-width`})],L.prototype,`trailingSwitchWidth`,void 0),P([_({type:Boolean,attribute:`trailing-switch-selected`,reflect:!0})],L.prototype,`trailingSwitchSelected`,void 0),P([_({type:Number,reflect:!0})],L.prototype,`density`,void 0),P([_({type:Boolean,attribute:`no-divider`,reflect:!0})],L.prototype,`noDivider`,void 0),L=P([a(`scb-list-item`)],L)})),Vc=n({ScbList:()=>Hc}),Hc,Uc=t((()=>{w(),b(),Bc(),F(),Hc=class extends C{constructor(...e){super(...e),this.noDivider=!1,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._onSlotChange=()=>this._setupItems()}firstUpdated(){this._setupItems(),this._applySpacing()}updated(e){super.updated(e),(e.has(`spacing`)||e.has(`spacingTop`)||e.has(`spacingBottom`)||e.has(`spacingLeft`)||e.has(`spacingRight`))&&this._applySpacing()}_getItems(){return(this._slotEl?.assignedElements({flatten:!0})??[]).filter(e=>e instanceof HTMLElement)}_isItemDisabled(e){return e.hasAttribute(`disabled`)||e.getAttribute(`aria-disabled`)===`true`}_setupItems(){let e=this._getItems(),t=e.filter(e=>!this._isItemDisabled(e)),n=t.find(e=>e.getAttribute(`tabindex`)===`0`)??t[0]??null;e.forEach(e=>{e.hasAttribute(`role`)||e.setAttribute(`role`,`listitem`),e.setAttribute(`tabindex`,e===n?`0`:`-1`)});let r=this.renderRoot?.querySelector(`.list`);r&&!r.hasAttribute(`data-kbd`)&&(r.setAttribute(`data-kbd`,`true`),r.addEventListener(`keydown`,e=>this._onKeyDown(e)))}_onKeyDown(e){let t=this._getItems().filter(e=>!this._isItemDisabled(e));if(!t.length)return;let n=t.findIndex(e=>e.getAttribute(`tabindex`)===`0`),r=e=>{let n=(e%t.length+t.length)%t.length;t.forEach(e=>e.setAttribute(`tabindex`,`-1`));let r=t[n];r.setAttribute(`tabindex`,`0`),r.focus()};switch(e.key){case`ArrowDown`:case`ArrowRight`:e.preventDefault(),r(n<0?0:n+1);break;case`ArrowUp`:case`ArrowLeft`:e.preventDefault(),r(n<0?0:n-1);break;case`Home`:e.preventDefault(),r(0);break;case`End`:e.preventDefault(),r(t.length-1);break;default:break}}_mapSpacingToken(e){if(!e)return;let t=String(e).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}_applySpacing(){let e=this._mapSpacingToken(this.spacing),t=this._mapSpacingToken(this.spacingTop)??e,n=this._mapSpacingToken(this.spacingBottom)??e,r=this._mapSpacingToken(this.spacingLeft),i=this._mapSpacingToken(this.spacingRight);t?this.style.marginBlockStart=t:this.style.removeProperty(`margin-block-start`),n?this.style.marginBlockEnd=n:this.style.removeProperty(`margin-block-end`),r?this.style.marginInlineStart=r:this.style.removeProperty(`margin-inline-start`),i?this.style.marginInlineEnd=i:this.style.removeProperty(`margin-inline-end`)}static{this.styles=[p`
|
|
1842
1842
|
:host {
|
|
1843
1843
|
display: block;
|
|
1844
1844
|
--scb-list-bg: transparent;
|
|
@@ -5632,7 +5632,7 @@
|
|
|
5632
5632
|
>
|
|
5633
5633
|
${this.renderBody(e,t)}
|
|
5634
5634
|
</div>
|
|
5635
|
-
`}};P([_({type:Boolean,reflect:!0,converter:Cu})],U.prototype,`open`,void 0),P([_({type:String,attribute:`max-w`,reflect:!0})],U.prototype,`maxW`,void 0),P([_({type:String,attribute:`max-h`,reflect:!0})],U.prototype,`maxH`,void 0),P([_({type:Number,attribute:`z-index`,reflect:!0})],U.prototype,`zIndex`,void 0),P([_({type:Boolean,attribute:!1})],U.prototype,`inSb`,void 0),P([_({type:Boolean,attribute:`scrim-close`,converter:Cu})],U.prototype,`scrimClose`,void 0),P([_({type:String,reflect:!0})],U.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],U.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],U.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],U.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],U.prototype,`spacingRight`,void 0),P([_({type:String})],U.prototype,`variant`,void 0),P([_({type:String})],U.prototype,`label`,void 0),P([_({type:String})],U.prototype,`icon`,void 0),P([_({type:String,attribute:`supporting-text`})],U.prototype,`supportingText`,void 0),P([_({type:String,attribute:`ok-button`})],U.prototype,`okButton`,void 0),P([_({type:String,attribute:`cancel-button`})],U.prototype,`cancelButton`,void 0),P([_({type:String,attribute:`delete-button`})],U.prototype,`deleteButton`,void 0),P([_({type:String,attribute:`confirm-button`})],U.prototype,`confirmButton`,void 0),P([_({type:String,attribute:`deny-button`})],U.prototype,`denyButton`,void 0),P([_({type:String,attribute:`reset-button`})],U.prototype,`resetButton`,void 0),P([_({type:String,attribute:`submit-button`})],U.prototype,`submitButton`,void 0),P([_({type:String,attribute:`form-id`})],U.prototype,`formId`,void 0),P([_({type:String,attribute:`form-action`})],U.prototype,`formAction`,void 0),P([_({type:String,attribute:`form-method`})],U.prototype,`formMethod`,void 0),U=P([a(`scb-dialog`)],U),w(),b(),Yc(),Uc(),N(),F();var wu={fromAttribute(e){if(e===null)return!1;let t=e.trim().toLowerCase();return t!==`false`&&t!==`0`&&t!==`no`}},Tu=class extends C{constructor(...e){super(...e),this._lastActiveDay=null,this.lang=`sv`,this.disableWeekend=!1,this.publicHolidays=!0,this.displayYear=new Date().getFullYear(),this.displayMonth=new Date().getMonth()+1,this.selectedDate=``,this.eventsJson=void 0,this._eventsFromJson=null,this._eventsJsonLast=void 0,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._mutationObserver=null,this._syncingDisplay=!1,this._onCalendarKeyDown=e=>{let t=Array.from(this.shadowRoot?.querySelectorAll(`.calendar-day.has-event`)??[]),n=this.shadowRoot?.activeElement,r=n&&t.includes(n)?n:document.activeElement,i=t.indexOf(r);if(i===-1)return;let a=i,o=this.disableWeekend?5:7;switch(e.key){case`ArrowRight`:a=i+1<t.length?i+1:i;break;case`ArrowLeft`:a=i-1>=0?i-1:i;break;case`ArrowDown`:a=i+o<t.length?i+o:i;break;case`ArrowUp`:a=i-o>=0?i-o:i;break;default:return}a!==i&&(e.preventDefault(),t[a].focus())},this._onEventChanged=()=>{this.requestUpdate()},this._today=new Date,this._current=new Date,this._popupEvent=null,this._handleDialogClose=()=>{this._popupEvent=null,this.requestUpdate(),this._restoreDayFocus()},this._restoreDayFocus=()=>{this._lastActiveDay&&setTimeout(()=>{this._lastActiveDay?.focus(),this._lastActiveDay=null},0)},this._easterDateCalculated={}}get value(){return this.selectedDate}set value(e){let t=(e??``)+``;t!==this.selectedDate&&(this.selectedDate=t)}static get observedAttributes(){return[...super.observedAttributes??[],`value`]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`value`&&(this.value=n??``)}static{this.styles=p`
|
|
5635
|
+
`}};P([_({type:Boolean,reflect:!0,converter:Cu})],U.prototype,`open`,void 0),P([_({type:String,attribute:`max-w`,reflect:!0})],U.prototype,`maxW`,void 0),P([_({type:String,attribute:`max-h`,reflect:!0})],U.prototype,`maxH`,void 0),P([_({type:Number,attribute:`z-index`,reflect:!0})],U.prototype,`zIndex`,void 0),P([_({type:Boolean,attribute:!1})],U.prototype,`inSb`,void 0),P([_({type:Boolean,attribute:`scrim-close`,converter:Cu})],U.prototype,`scrimClose`,void 0),P([_({type:String,reflect:!0})],U.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],U.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],U.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],U.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],U.prototype,`spacingRight`,void 0),P([_({type:String,reflect:!0})],U.prototype,`variant`,void 0),P([_({type:String})],U.prototype,`label`,void 0),P([_({type:String})],U.prototype,`icon`,void 0),P([_({type:String,attribute:`supporting-text`})],U.prototype,`supportingText`,void 0),P([_({type:String,attribute:`ok-button`})],U.prototype,`okButton`,void 0),P([_({type:String,attribute:`cancel-button`})],U.prototype,`cancelButton`,void 0),P([_({type:String,attribute:`delete-button`})],U.prototype,`deleteButton`,void 0),P([_({type:String,attribute:`confirm-button`})],U.prototype,`confirmButton`,void 0),P([_({type:String,attribute:`deny-button`})],U.prototype,`denyButton`,void 0),P([_({type:String,attribute:`reset-button`})],U.prototype,`resetButton`,void 0),P([_({type:String,attribute:`submit-button`})],U.prototype,`submitButton`,void 0),P([_({type:String,attribute:`form-id`})],U.prototype,`formId`,void 0),P([_({type:String,attribute:`form-action`})],U.prototype,`formAction`,void 0),P([_({type:String,attribute:`form-method`})],U.prototype,`formMethod`,void 0),U=P([a(`scb-dialog`)],U),w(),b(),Yc(),Uc(),N(),F();var wu={fromAttribute(e){if(e===null)return!1;let t=e.trim().toLowerCase();return t!==`false`&&t!==`0`&&t!==`no`}},Tu=class extends C{constructor(...e){super(...e),this._lastActiveDay=null,this.lang=`sv`,this.disableWeekend=!1,this.publicHolidays=!0,this.displayYear=new Date().getFullYear(),this.displayMonth=new Date().getMonth()+1,this.selectedDate=``,this.eventsJson=void 0,this._eventsFromJson=null,this._eventsJsonLast=void 0,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this._mutationObserver=null,this._syncingDisplay=!1,this._onCalendarKeyDown=e=>{let t=Array.from(this.shadowRoot?.querySelectorAll(`.calendar-day.has-event`)??[]),n=this.shadowRoot?.activeElement,r=n&&t.includes(n)?n:document.activeElement,i=t.indexOf(r);if(i===-1)return;let a=i,o=this.disableWeekend?5:7;switch(e.key){case`ArrowRight`:a=i+1<t.length?i+1:i;break;case`ArrowLeft`:a=i-1>=0?i-1:i;break;case`ArrowDown`:a=i+o<t.length?i+o:i;break;case`ArrowUp`:a=i-o>=0?i-o:i;break;default:return}a!==i&&(e.preventDefault(),t[a].focus())},this._onEventChanged=()=>{this.requestUpdate()},this._today=new Date,this._current=new Date,this._popupEvent=null,this._handleDialogClose=()=>{this._popupEvent=null,this.requestUpdate(),this._restoreDayFocus()},this._restoreDayFocus=()=>{this._lastActiveDay&&setTimeout(()=>{this._lastActiveDay?.focus(),this._lastActiveDay=null},0)},this._easterDateCalculated={}}get value(){return this.selectedDate}set value(e){let t=(e??``)+``;t!==this.selectedDate&&(this.selectedDate=t)}static get observedAttributes(){return[...super.observedAttributes??[],`value`]}attributeChangedCallback(e,t,n){super.attributeChangedCallback(e,t,n),e===`value`&&(this.value=n??``)}static{this.styles=p`
|
|
5636
5636
|
:host {
|
|
5637
5637
|
display: block;
|
|
5638
5638
|
margin-block-start: var(--scb-calendar-spacing-block-start, 0);
|
|
@@ -10475,7 +10475,7 @@
|
|
|
10475
10475
|
</clipPath>
|
|
10476
10476
|
</defs>
|
|
10477
10477
|
</svg>
|
|
10478
|
-
`}};P([_({type:String,attribute:`max-width`})],X.prototype,`maxWidth`,void 0),P([_({type:String,reflect:!0})],X.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],X.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],X.prototype,`spacingBottom`,void 0),P([_({type:String,reflect:!0,converter:Jd})],X.prototype,`size`,void 0),P([_({type:String,attribute:`logo-text`})],X.prototype,`logoText`,void 0),P([_({type:String,attribute:`logotype-text`})],X.prototype,`logotypeText`,void 0),P([_({type:String,attribute:`logo-alt`})],X.prototype,`logoAlt`,void 0),P([_({type:String,attribute:`logo-href`})],X.prototype,`logoHref`,void 0),P([_({type:String,attribute:`logo-src`})],X.prototype,`logoSrc`,void 0),P([_({type:String,attribute:`logo-width`})],X.prototype,`logoWidth`,void 0),P([_({type:String,attribute:`logo-height`})],X.prototype,`logoHeight`,void 0),P([_({type:String,attribute:`logo-aspect-ratio`})],X.prototype,`logoAspectRatio`,void 0),P([_({type:Boolean,attribute:`logo-invert-dm`,reflect:!0,converter:qd})],X.prototype,`logoInvertDm`,void 0),P([_({type:Boolean,reflect:!0})],X.prototype,`banner`,void 0),P([_({type:String,attribute:`banner-label`})],X.prototype,`bannerLabel`,void 0),P([_({type:Array,attribute:`tabs`,converter:X._JSON_ARRAY})],X.prototype,`tabs`,void 0),P([_({type:Number,attribute:`active-tab
|
|
10478
|
+
`}};P([_({type:String,attribute:`max-width`})],X.prototype,`maxWidth`,void 0),P([_({type:String,reflect:!0})],X.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],X.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],X.prototype,`spacingBottom`,void 0),P([_({type:String,reflect:!0,converter:Jd})],X.prototype,`size`,void 0),P([_({type:String,attribute:`logo-text`})],X.prototype,`logoText`,void 0),P([_({type:String,attribute:`logotype-text`})],X.prototype,`logotypeText`,void 0),P([_({type:String,attribute:`logo-alt`})],X.prototype,`logoAlt`,void 0),P([_({type:String,attribute:`logo-href`})],X.prototype,`logoHref`,void 0),P([_({type:String,attribute:`logo-src`})],X.prototype,`logoSrc`,void 0),P([_({type:String,attribute:`logo-width`})],X.prototype,`logoWidth`,void 0),P([_({type:String,attribute:`logo-height`})],X.prototype,`logoHeight`,void 0),P([_({type:String,attribute:`logo-aspect-ratio`})],X.prototype,`logoAspectRatio`,void 0),P([_({type:Boolean,attribute:`logo-invert-dm`,reflect:!0,converter:qd})],X.prototype,`logoInvertDm`,void 0),P([_({type:Boolean,reflect:!0})],X.prototype,`banner`,void 0),P([_({type:String,attribute:`banner-label`})],X.prototype,`bannerLabel`,void 0),P([_({type:Array,attribute:`tabs`,converter:X._JSON_ARRAY})],X.prototype,`tabs`,void 0),P([_({type:Number,attribute:`active-tab`,reflect:!0})],X.prototype,`activeTab`,void 0),P([_({type:Boolean,attribute:`reserve-tabs`,reflect:!0,converter:qd})],X.prototype,`reserveTabs`,void 0),P([_({type:Number,attribute:`reserve-tabs-count`})],X.prototype,`reserveTabsCount`,void 0),P([_({type:String,attribute:`reserve-tabs-widths`})],X.prototype,`reserveTabsWidths`,void 0),P([_({type:Boolean,attribute:`layout-pending`,reflect:!0,converter:qd})],X.prototype,`layoutPending`,void 0),P([_({type:Array,attribute:`utility-items`,converter:X._JSON_ARRAY})],X.prototype,`utilityItems`,void 0),P([_({type:String,attribute:`search-placeholder`})],X.prototype,`searchPlaceholder`,void 0),P([_({type:String,attribute:`search-button-label`})],X.prototype,`searchButtonLabel`,void 0),P([_({type:String,attribute:`menu-label`})],X.prototype,`menuLabel`,void 0),P([_({type:String,attribute:`menu-button-label`})],X.prototype,`menuButtonLabel`,void 0),P([_({type:String,attribute:`menu-sub-label`})],X.prototype,`menuSubLabel`,void 0),P([_({type:String,attribute:`menu-section-label`})],X.prototype,`menuSectionLabel`,void 0),P([_({type:String,attribute:`menu-search-placeholder`})],X.prototype,`menuSearchPlaceholder`,void 0),P([_({type:Array,attribute:`menu-data`,converter:X._JSON_ARRAY})],X.prototype,`menuData`,void 0),P([_({type:Boolean,attribute:`defer-drawer`,reflect:!0,converter:qd})],X.prototype,`deferDrawer`,void 0),P([_({type:Boolean,attribute:`show-drawer`,reflect:!0,converter:Kd})],X.prototype,`showDrawer`,void 0),P([_({type:Boolean,attribute:`always-show-menu-button`,reflect:!0,converter:qd})],X.prototype,`alwaysShowMenuButton`,void 0),P([_({type:Boolean,attribute:`show-search`,reflect:!0,converter:Kd})],X.prototype,`showSearch`,void 0),P([_({type:Boolean,attribute:`include-utility-in-menu`,reflect:!0,converter:qd})],X.prototype,`includeUtilityInMenu`,void 0),P([_({type:Boolean,attribute:`drawer-overlay`,reflect:!0,converter:Kd})],X.prototype,`drawerOverlay`,void 0),P([_({type:String,attribute:`search-max`})],X.prototype,`searchMax`,void 0),P([_({type:String,attribute:`search-min`})],X.prototype,`searchMin`,void 0),P([_({type:String,attribute:`search-height`})],X.prototype,`searchHeight`,void 0),P([_({type:String,attribute:`search-text`,reflect:!0})],X.prototype,`searchText`,void 0),P([v()],X.prototype,`_drawerId`,void 0),P([v()],X.prototype,`_menuExpanded`,void 0),P([v()],X.prototype,`_searchId`,void 0),P([v()],X.prototype,`_drawerReady`,void 0),P([v()],X.prototype,`_mobileSearchOpen`,void 0),P([v()],X.prototype,`_slotNavItems`,void 0),P([v()],X.prototype,`_slotUtils`,void 0),P([v()],X.prototype,`_slotMenu`,void 0),P([v()],X.prototype,`_collapsed`,void 0),P([v()],X.prototype,`_hideLogoText`,void 0),X=Wd=P([a(`scb-header`)],X),w(),b(),F();var Yd={fromAttribute:e=>e??``,toAttribute:e=>typeof e==`string`?e.trim()===``?null:e:null},Xd,Zd,Qd;function $d(){return Xd??=Promise.resolve().then(()=>(N(),ec)),Xd}function ef(){return Zd??=Promise.resolve().then(()=>(mc(),uc)),Zd}function tf(){return Qd??=Promise.resolve().then(()=>(k(),Li)),Qd}var nf=class extends C{constructor(...e){super(...e),this.__focusRingRequested=!1,this.__focusRingLoaded=!1,this.__rippleRequested=!1,this.__rippleLoaded=!1,this.__pendingRippleClick=!1,this.keyfigure=0,this.subtitle=``,this.supportingText=``,this.cardHref=``,this.href=``,this.icon=``,this.size=`large`,this.unit=``,this.width=``,this.maxWidth=``,this.height=``,this.maxHeight=``,this.sizing=``,this.spacing=void 0,this.spacingTop=void 0,this.spacingBottom=void 0,this.spacingLeft=void 0,this.spacingRight=void 0,this.__onPointerInteraction=e=>{this.__ensureRipple(e)},this.__ensureFocusRingOnFocusVisible=()=>{this.__focusRingLoaded||this.__focusRingRequested||(this.__focusRingRequested=!0,$d().then(({ensureFocusRingReady:e})=>e()).then(()=>{this.__focusRingLoaded=!0,this.requestUpdate()}))},this.__onKeyDown=e=>{let t=this.__effectiveHref;(e.key===`Enter`||e.key===` `)&&t&&(e.preventDefault(),this.__navigate(t,e))},this.__handleHrefNavigation=e=>{let t=this.__effectiveHref;t&&((!this.__rippleLoaded||this.__pendingRippleEvent)&&(this.__pendingRippleClick=!0,this.__ensureRipple()),!e.target.closest(`a`)&&this.__navigate(t,e))}}static{this.styles=p`
|
|
10479
10479
|
:host {
|
|
10480
10480
|
display: block;
|
|
10481
10481
|
box-sizing: border-box;
|
|
@@ -12642,7 +12642,7 @@
|
|
|
12642
12642
|
<slot @slotchange="${()=>{this.requestUpdate()}}"></slot>
|
|
12643
12643
|
</div>
|
|
12644
12644
|
</div>
|
|
12645
|
-
`}};P([_({type:String})],Q.prototype,`variant`,void 0),P([_({type:String})],Q.prototype,`value`,void 0),P([_({type:Array})],Q.prototype,`values`,void 0),P([_({type:Boolean})],Q.prototype,`disabled`,void 0),P([_({type:Boolean,reflect:!0})],Q.prototype,`required`,void 0),P([_({type:Boolean,reflect:!0})],Q.prototype,`open`,void 0),P([_({type:String})],Q.prototype,`label`,void 0),P([_({type:String})],Q.prototype,`name`,void 0),P([_({type:String})],Q.prototype,`placeholder`,void 0),P([_({type:String,attribute:`supporting-text`})],Q.prototype,`supportingText`,void 0),P([_({type:Boolean,attribute:`with-radiobuttons`})],Q.prototype,`withRadiobuttons`,void 0),P([_({type:Boolean,attribute:`no-highlight-selected`,reflect:!0})],Q.prototype,`noHighlightSelected`,void 0),P([_({type:String,reflect:!0})],Q.prototype,`size`,void 0),P([_({type:String,reflect:!0})],Q.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],Q.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],Q.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],Q.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],Q.prototype,`spacingRight`,void 0),P([_({type:String,attribute:`z-index`})],Q.prototype,`zIndex`,void 0),Q=P([a(`scb-select`)],Q),Ud(),w(),b(),F();var _f=class extends C{constructor(...e){super(...e),this.ticks=!1,this.step=5,this.value=20,this.range=!1,this.valueStart=0,this.valueEnd=100,this.min=0,this.max=100,this.labeled=!0,this.disabled=!1,this.name=``}static{this.styles=p`
|
|
12645
|
+
`}};P([_({type:String})],Q.prototype,`variant`,void 0),P([_({type:String})],Q.prototype,`value`,void 0),P([_({type:Array})],Q.prototype,`values`,void 0),P([_({type:Boolean,reflect:!0})],Q.prototype,`disabled`,void 0),P([_({type:Boolean,reflect:!0})],Q.prototype,`required`,void 0),P([_({type:Boolean,reflect:!0})],Q.prototype,`open`,void 0),P([_({type:String})],Q.prototype,`label`,void 0),P([_({type:String})],Q.prototype,`name`,void 0),P([_({type:String})],Q.prototype,`placeholder`,void 0),P([_({type:String,attribute:`supporting-text`})],Q.prototype,`supportingText`,void 0),P([_({type:Boolean,attribute:`with-radiobuttons`})],Q.prototype,`withRadiobuttons`,void 0),P([_({type:Boolean,attribute:`no-highlight-selected`,reflect:!0})],Q.prototype,`noHighlightSelected`,void 0),P([_({type:String,reflect:!0})],Q.prototype,`size`,void 0),P([_({type:String,reflect:!0})],Q.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],Q.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],Q.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],Q.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],Q.prototype,`spacingRight`,void 0),P([_({type:String,attribute:`z-index`})],Q.prototype,`zIndex`,void 0),Q=P([a(`scb-select`)],Q),Ud(),w(),b(),F();var _f=class extends C{constructor(...e){super(...e),this.ticks=!1,this.step=5,this.value=20,this.range=!1,this.valueStart=0,this.valueEnd=100,this.min=0,this.max=100,this.labeled=!0,this.disabled=!1,this.name=``}static{this.styles=p`
|
|
12646
12646
|
:host {
|
|
12647
12647
|
display: block;
|
|
12648
12648
|
}
|
|
@@ -13218,7 +13218,7 @@
|
|
|
13218
13218
|
>
|
|
13219
13219
|
<slot @slotchange=${this._onSlotChange}></slot>
|
|
13220
13220
|
</div>
|
|
13221
|
-
`}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<`u`&&(this.#e=new ResizeObserver(()=>{this.#i()}),this.#e.observe(this))}disconnectedCallback(){this.#e&&=(this.#e.disconnect(),void 0),this.#t&&=(cancelAnimationFrame(this.#t),0),super.disconnectedCallback()}#n(){let e=this.#r(this.spacing),t=this.#r(this.spacingTop)??e,n=this.#r(this.spacingBottom)??e,r=this.#r(this.spacingLeft),i=this.#r(this.spacingRight);t?this.style.setProperty(`--scb-stepper-spacing-block-start`,t):this.style.removeProperty(`--scb-stepper-spacing-block-start`),n?this.style.setProperty(`--scb-stepper-spacing-block-end`,n):this.style.removeProperty(`--scb-stepper-spacing-block-end`),r?this.style.setProperty(`--scb-stepper-spacing-inline-start`,r):this.style.removeProperty(`--scb-stepper-spacing-inline-start`),i?this.style.setProperty(`--scb-stepper-spacing-inline-end`,i):this.style.removeProperty(`--scb-stepper-spacing-inline-end`)}#r(e){if(!e)return;let t=String(e).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}#i(){this.#t||=requestAnimationFrame(()=>{this.#t=0,this.#a()})}#a(){let e=this._getSteps();e.length!==0&&e.forEach(e=>{let t=e.shadowRoot;if(!t)return;let n=t.querySelector(`.label`),r=t.querySelector(`.scb-step-content`);if(!n)return;if(this.variant!==`horizontal`){n.style.removeProperty(`max-width`),n.style.removeProperty(`white-space`),n.style.removeProperty(`word-break`),n.style.removeProperty(`overflow-wrap`);return}n.style.maxWidth=`none`,n.style.whiteSpace=`nowrap`,n.style.wordBreak=`normal`,n.style.overflowWrap=`normal`;let i=r?.clientWidth??e.clientWidth;i>0&&n.scrollWidth>i&&(n.style.maxWidth=`100%`,n.style.whiteSpace=`normal`,n.style.wordBreak=`break-word`,n.style.overflowWrap=`anywhere`)})}};P([_({type:String,reflect:!0})],xf.prototype,`type`,void 0),P([_({type:String,reflect:!0})],xf.prototype,`label`,void 0),P([_({type:Boolean,reflect:!0,attribute:`change-on-completed`})],xf.prototype,`changeOnCompleted`,void 0),P([_({type:String})],xf.prototype,`variant`,void 0),P([_({type:String,reflect:!0,attribute:`symbol-variant`})],xf.prototype,`symbolVariant`,void 0),P([_({type:String,reflect:!0})],xf.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],xf.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],xf.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],xf.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],xf.prototype,`spacingRight`,void 0),P([_({type:Number,reflect:!0,attribute:`active-index`})],xf.prototype,`activeIndex`,void 0),xf=P([a(`scb-stepper`)],xf),w(),b(),Yc(),F();var Sf=96,Cf=32,wf=class extends C{constructor(...e){super(...e),this.dataSorting=!1,this.columnWidthMode=`auto`,this._sortedColumn=null,this._sortDirection=`asc`,this._columnWidthFrame=null,this._onSlotChange=()=>{this._attachThListeners()}}static{this.styles=p`
|
|
13221
|
+
`}connectedCallback(){super.connectedCallback(),typeof ResizeObserver<`u`&&(this.#e=new ResizeObserver(()=>{this.#i()}),this.#e.observe(this))}disconnectedCallback(){this.#e&&=(this.#e.disconnect(),void 0),this.#t&&=(cancelAnimationFrame(this.#t),0),super.disconnectedCallback()}#n(){let e=this.#r(this.spacing),t=this.#r(this.spacingTop)??e,n=this.#r(this.spacingBottom)??e,r=this.#r(this.spacingLeft),i=this.#r(this.spacingRight);t?this.style.setProperty(`--scb-stepper-spacing-block-start`,t):this.style.removeProperty(`--scb-stepper-spacing-block-start`),n?this.style.setProperty(`--scb-stepper-spacing-block-end`,n):this.style.removeProperty(`--scb-stepper-spacing-block-end`),r?this.style.setProperty(`--scb-stepper-spacing-inline-start`,r):this.style.removeProperty(`--scb-stepper-spacing-inline-start`),i?this.style.setProperty(`--scb-stepper-spacing-inline-end`,i):this.style.removeProperty(`--scb-stepper-spacing-inline-end`)}#r(e){if(!e)return;let t=String(e).trim();if(t)return/^\d+$/.test(t)?`var(--spacing-${Math.max(0,Math.min(14,parseInt(t,10)))})`:t}#i(){this.#t||=requestAnimationFrame(()=>{this.#t=0,this.#a()})}#a(){let e=this._getSteps();e.length!==0&&e.forEach(e=>{let t=e.shadowRoot;if(!t)return;let n=t.querySelector(`.label`),r=t.querySelector(`.scb-step-content`);if(!n)return;if(this.variant!==`horizontal`){n.style.removeProperty(`max-width`),n.style.removeProperty(`white-space`),n.style.removeProperty(`word-break`),n.style.removeProperty(`overflow-wrap`);return}n.style.maxWidth=`none`,n.style.whiteSpace=`nowrap`,n.style.wordBreak=`normal`,n.style.overflowWrap=`normal`;let i=r?.clientWidth??e.clientWidth;i>0&&n.scrollWidth>i&&(n.style.maxWidth=`100%`,n.style.whiteSpace=`normal`,n.style.wordBreak=`break-word`,n.style.overflowWrap=`anywhere`)})}};P([_({type:String,reflect:!0})],xf.prototype,`type`,void 0),P([_({type:String,reflect:!0})],xf.prototype,`label`,void 0),P([_({type:Boolean,reflect:!0,attribute:`change-on-completed`})],xf.prototype,`changeOnCompleted`,void 0),P([_({type:String,reflect:!0})],xf.prototype,`variant`,void 0),P([_({type:String,reflect:!0,attribute:`symbol-variant`})],xf.prototype,`symbolVariant`,void 0),P([_({type:String,reflect:!0})],xf.prototype,`spacing`,void 0),P([_({type:String,attribute:`spacing-top`,reflect:!0})],xf.prototype,`spacingTop`,void 0),P([_({type:String,attribute:`spacing-bottom`,reflect:!0})],xf.prototype,`spacingBottom`,void 0),P([_({type:String,attribute:`spacing-left`,reflect:!0})],xf.prototype,`spacingLeft`,void 0),P([_({type:String,attribute:`spacing-right`,reflect:!0})],xf.prototype,`spacingRight`,void 0),P([_({type:Number,reflect:!0,attribute:`active-index`})],xf.prototype,`activeIndex`,void 0),xf=P([a(`scb-stepper`)],xf),w(),b(),Yc(),F();var Sf=96,Cf=32,wf=class extends C{constructor(...e){super(...e),this.dataSorting=!1,this.columnWidthMode=`auto`,this._sortedColumn=null,this._sortDirection=`asc`,this._columnWidthFrame=null,this._onSlotChange=()=>{this._attachThListeners()}}static{this.styles=p`
|
|
13222
13222
|
:host {
|
|
13223
13223
|
display: block;
|
|
13224
13224
|
color: var(--md-sys-color-on-surface);
|