scb-wc-test 0.1.11 → 0.1.12
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-accordion/scb-accordion-item.js +21 -61
- package/mvc/components/scb-app-bar/scb-app-bar.js +1 -1
- package/mvc/components/scb-avatar/scb-avatar.js +1 -1
- package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +1 -1
- package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +1 -1
- package/mvc/components/scb-button/scb-button.js +1 -1
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +161 -122
- package/mvc/components/scb-card/scb-card.js +223 -217
- package/mvc/components/scb-checkbox/scb-checkbox-group.js +1 -1
- package/mvc/components/scb-checkbox/scb-checkbox.js +9 -11
- package/mvc/components/scb-chips/scb-chip.js +1 -1
- package/mvc/components/scb-dialog/scb-dialog.js +2 -2
- package/mvc/components/scb-divider/scb-divider.js +43 -53
- package/mvc/components/scb-drawer/scb-drawer-item.js +2 -2
- package/mvc/components/scb-drawer/scb-drawer-section.js +4 -4
- package/mvc/components/scb-drawer/scb-drawer.js +1 -1
- package/mvc/components/scb-drawer/scb-sub-drawer.js +1 -1
- package/mvc/components/scb-fact-card/scb-fact-card-content.js +1 -1
- package/mvc/components/scb-fact-card/scb-fact-card.js +68 -55
- package/mvc/components/scb-footer/scb-footer-section.js +2 -2
- package/mvc/components/scb-footer/scb-footer.js +1 -1
- package/mvc/components/scb-grid/scb-grid-item.js +5 -3
- package/mvc/components/scb-grid/scb-grid.js +27 -10
- package/mvc/components/scb-grid/scb-stack.js +10 -6
- package/mvc/components/scb-header/scb-header-drawer-group.js +1 -1
- package/mvc/components/scb-header/scb-header-drawer-item.js +1 -1
- package/mvc/components/scb-header/scb-header-tab.js +1 -1
- package/mvc/components/scb-header/scb-header-utility.js +1 -1
- package/mvc/components/scb-header/scb-header.js +53 -49
- package/mvc/components/scb-icon-button/scb-icon-button.js +45 -80
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +84 -58
- package/mvc/components/scb-link/scb-link.js +39 -16
- package/mvc/components/scb-list/scb-list-item.js +115 -37
- package/mvc/components/scb-list/scb-list.js +16 -7
- package/mvc/components/scb-menu/scb-menu-item.js +1 -1
- package/mvc/components/scb-menu/scb-menu.js +1 -1
- package/mvc/components/scb-menu/scb-sub-menu.js +1 -1
- package/mvc/components/scb-notification/scb-notification.js +1 -1
- package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +1 -1
- package/mvc/components/scb-radio-button/scb-radio-button.js +29 -36
- package/mvc/components/scb-radio-button/scb-radio-group.js +1 -1
- package/mvc/components/scb-search/scb-search.js +48 -37
- package/mvc/components/scb-snackbar/scb-snackbar.js +8 -8
- package/mvc/components/scb-status-pill/scb-status-pill.js +1 -1
- package/mvc/components/scb-switch/scb-switch.js +1 -1
- package/mvc/components/scb-tabs/scb-primary-tab.js +1 -1
- package/mvc/components/scb-tabs/scb-secondary-tab.js +1 -1
- package/mvc/components/scb-tabs/scb-tabs.js +1 -1
- package/mvc/components/scb-textfield/scb-textfield.js +1 -1
- package/mvc/components/scb-toc/scb-toc-item.js +1 -1
- package/mvc/components/scb-toc/scb-toc.js +2 -2
- package/mvc/components/scb-tooltip/scb-tooltip.js +1 -1
- package/mvc/vendor/vendor-material.js +232 -312
- package/mvc/vendor/vendor.js +19 -23
- package/package.json +2 -2
- package/scb-accordion/scb-accordion-item.js +47 -98
- package/scb-calendar-card/scb-calendar-card.d.ts +3 -3
- package/scb-calendar-card/scb-calendar-card.js +196 -149
- package/scb-card/scb-card.d.ts +8 -3
- package/scb-card/scb-card.js +265 -250
- package/scb-checkbox/scb-checkbox.d.ts +1 -0
- package/scb-checkbox/scb-checkbox.js +56 -49
- package/scb-divider/scb-divider.d.ts +16 -4
- package/scb-divider/scb-divider.js +63 -69
- package/scb-fact-card/scb-fact-card.d.ts +8 -7
- package/scb-fact-card/scb-fact-card.js +100 -78
- package/scb-grid/scb-grid-item.d.ts +7 -2
- package/scb-grid/scb-grid-item.js +47 -33
- package/scb-grid/scb-grid.d.ts +7 -3
- package/scb-grid/scb-grid.js +57 -21
- package/scb-grid/scb-stack.d.ts +5 -1
- package/scb-grid/scb-stack.js +57 -31
- package/scb-header/scb-header.d.ts +1 -2
- package/scb-header/scb-header.js +154 -162
- package/scb-icon-button/scb-icon-button.d.ts +15 -11
- package/scb-icon-button/scb-icon-button.js +149 -132
- package/scb-keyfigure-card/scb-keyfigure-card.d.ts +6 -1
- package/scb-keyfigure-card/scb-keyfigure-card.js +139 -93
- package/scb-link/scb-link.d.ts +1 -0
- package/scb-link/scb-link.js +65 -38
- package/scb-list/scb-list-item.d.ts +8 -5
- package/scb-list/scb-list-item.js +183 -73
- package/scb-list/scb-list.d.ts +5 -0
- package/scb-list/scb-list.js +71 -21
- package/scb-radio-button/scb-radio-button.js +46 -53
- package/scb-search/scb-search.d.ts +8 -0
- package/scb-search/scb-search.js +176 -139
- package/scb-wc-test.bundle.js +1499 -1361
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as h}from"../../vendor/preload-helper.js";import{
|
|
2
|
+
import{_ as h}from"../../vendor/preload-helper.js";import{a as g,n,i as u,E as p,x as l,t as v}from"../../vendor/vendor.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var a=customElements.define.bind(customElements);customElements.define=function(o,i,s){try{customElements.get(o)||a(o,i,s)}catch(c){var d=String(c||"");if(d.indexOf("already been used")===-1&&d.indexOf("NotSupportedError")===-1)throw c}}}}catch{}})();var m=Object.defineProperty,b=Object.getOwnPropertyDescriptor,r=(t,a,o,i)=>{for(var s=i>1?void 0:i?b(a,o):a,d=t.length-1,c;d>=0;d--)(c=t[d])&&(s=(i?c(a,o,s):c(s))||s);return i&&s&&m(a,o,s),s};let e=class extends u{constructor(){super(...arguments),this.expanded=!1,this.label="",this.content="",this.overline="",this.supportingText="",this.leading=!1,this.leadingVariant="",this.leadingIcon="",this.imgHrefImage="",this.avatarLabel="",this.avatarAlt="",this.avatarVariant="icon",this.avatarSrc="",this.density=0,this._unique=e._uid(),this.toggleAccordion=()=>{const t=this.closest("scb-accordion");t?.hasAttribute("detached")||t.querySelectorAll("scb-accordion-item").forEach(o=>{o!==this&&(o.expanded=!1,o._applyInert(),o._setBottomMaxHeight(o))}),this.expanded=!this.expanded,this._applyInert(),this._setBottomMaxHeight(this)},this._onSlotChange=()=>{this.expanded&&this._setBottomMaxHeight(this)},this._onContentLoad=()=>{this.expanded&&this._setBottomMaxHeight(this)}}static _uid(){return globalThis.crypto?.randomUUID?.()??`${e._uidPrefix}-${++e._uidSeq}`}async firstUpdated(){e._mdIconLoaded||(await h(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url),e._mdIconLoaded=!0),e._mdRippleLoaded||(await h(()=>import("../../vendor/vendor-material.js").then(t=>t.r),__vite__mapDeps([0,1]),import.meta.url),e._mdRippleLoaded=!0),this._applyInert(),this._bottomEl()?.addEventListener("load",this._onContentLoad,!0)}disconnectedCallback(){this._bottomEl()?.removeEventListener("load",this._onContentLoad,!0),super.disconnectedCallback()}_setBottomMaxHeight(t){const a=t._bottomEl();a&&(t.expanded?(a.style.maxHeight=`${a.scrollHeight}px`,setTimeout(()=>a.style.maxHeight="unset",160)):(a.style.maxHeight=`${a.scrollHeight}px`,requestAnimationFrame(()=>a.style.maxHeight="0")))}_onKeyDown(t){const a=this.closest("scb-accordion"),i=Array.from(a?.querySelectorAll("scb-accordion-item")||[]).map(c=>c.renderRoot.querySelector(".scb-accordion-top")).filter(c=>!!c),s=t.currentTarget,d=i.indexOf(s);switch(t.key){case"Enter":case" ":t.preventDefault(),this.toggleAccordion();break;case"ArrowDown":t.preventDefault(),d<i.length-1&&i[d+1].focus();break;case"ArrowUp":t.preventDefault(),d>0&&i[d-1].focus();break;case"Home":t.preventDefault(),i.length&&i[0].focus();break;case"End":t.preventDefault(),i.length&&i[i.length-1].focus();break}}_renderLeading(){if(!this.leading)return p;switch(this.leadingVariant){case"icon":return l`<md-icon>${this.leadingIcon}</md-icon>`;case"avatar":return l`
|
|
3
3
|
<scb-avatar
|
|
4
4
|
label=${this.avatarLabel}
|
|
5
5
|
alt=${this.avatarAlt}
|
|
@@ -8,7 +8,7 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
8
8
|
shape="circular"
|
|
9
9
|
variant=${this.avatarVariant}
|
|
10
10
|
></scb-avatar>
|
|
11
|
-
`;case"image":return l`<img part="leading-image" class="img" src="${this.imgHrefImage}" alt=""
|
|
11
|
+
`;case"image":return this.imgHrefImage?l`<img part="leading-image" class="img" src="${this.imgHrefImage}" alt="" />`:p;default:return p}}_bottomEl(){return this.renderRoot.querySelector(".scb-accordion-bottom")}_applyInert(){const t=this._bottomEl();t&&(this.expanded?(t.removeAttribute("inert"),t.setAttribute("aria-hidden","false")):(t.setAttribute("inert",""),t.setAttribute("aria-hidden","true")))}updated(t){t.has("expanded")&&(this._applyInert(),this._setBottomMaxHeight(this))}render(){const t=`bottom-${this._unique}`,a=`header-${this._unique}`;return l`
|
|
12
12
|
<div part="scb-accordion-item" class="scb-accordion-item">
|
|
13
13
|
<div
|
|
14
14
|
id=${a}
|
|
@@ -20,20 +20,17 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
20
20
|
@click=${this.toggleAccordion}
|
|
21
21
|
@keydown=${this._onKeyDown}
|
|
22
22
|
>
|
|
23
|
-
<!-- Ripple för press/hover/focus state-layer -->
|
|
24
23
|
<md-ripple></md-ripple>
|
|
25
24
|
|
|
26
25
|
${this.leading?l`<div class="leading">${this._renderLeading()}</div>`:p}
|
|
27
26
|
|
|
28
27
|
<div class="texts">
|
|
29
|
-
${
|
|
28
|
+
${this.overline?l`<div class="overline">${this.overline}</div>`:p}
|
|
30
29
|
<div class="label">${this.label}</div>
|
|
31
|
-
${
|
|
30
|
+
${this.supportingText?l`<div class="supporting-text">${this.supportingText}</div>`:p}
|
|
32
31
|
</div>
|
|
33
32
|
|
|
34
|
-
<md-icon class="chevron">
|
|
35
|
-
${this.expanded?"keyboard_arrow_up":"keyboard_arrow_down"}
|
|
36
|
-
</md-icon>
|
|
33
|
+
<md-icon class="chevron">${this.expanded?"keyboard_arrow_up":"keyboard_arrow_down"}</md-icon>
|
|
37
34
|
</div>
|
|
38
35
|
|
|
39
36
|
<div
|
|
@@ -73,32 +70,23 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
73
70
|
flex-direction: row;
|
|
74
71
|
align-items: center;
|
|
75
72
|
cursor: pointer;
|
|
76
|
-
/* default density 0: 24px över/under, 16px i sidled */
|
|
77
73
|
padding-block: var(--spacing-7, 24px);
|
|
78
74
|
padding-inline: var(--spacing-5, 16px);
|
|
79
75
|
outline: none;
|
|
80
|
-
/* för att undvika rundade hörn på hover */
|
|
81
76
|
border-radius: var(--radius-none, 0px);
|
|
82
77
|
gap: var(--spacing-5, 16px);
|
|
83
78
|
color: var(--md-sys-color-on-surface);
|
|
84
|
-
/* För ripple */
|
|
85
79
|
position: relative;
|
|
86
80
|
overflow: hidden;
|
|
87
81
|
-webkit-tap-highlight-color: transparent;
|
|
88
82
|
}
|
|
89
|
-
.scb-accordion-top:hover {
|
|
90
|
-
/* Inga runda hörn på hover */
|
|
91
|
-
border-radius: var(--scb-accordion-hover-radius);
|
|
92
|
-
}
|
|
93
|
-
|
|
83
|
+
.scb-accordion-top:hover { border-radius: var(--scb-accordion-hover-radius); }
|
|
94
84
|
.scb-accordion-top:focus-visible {
|
|
95
85
|
outline: var(--_focus-width) solid var(--md-focus-ring-color, var(--p-40));
|
|
96
86
|
outline-offset: var(--spacing-1, 2px);
|
|
97
|
-
/* Tillåt runda hörn endast vid fokusmarkering */
|
|
98
87
|
border-radius: var(--_focus-radius);
|
|
99
88
|
}
|
|
100
89
|
|
|
101
|
-
/* Om både om hosten har data-density och om en förälder har det. */
|
|
102
90
|
:host([density="-2"]) .scb-accordion-top,
|
|
103
91
|
:host-context([data-density="-2"]) .scb-accordion-top {
|
|
104
92
|
padding-block: var(--spacing-5, 16px);
|
|
@@ -125,7 +113,7 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
125
113
|
max-height: 100%;
|
|
126
114
|
}
|
|
127
115
|
|
|
128
|
-
.label {
|
|
116
|
+
.label {
|
|
129
117
|
font-family: var(--brand-font);
|
|
130
118
|
font-size: var(--md-sys-typescale-title-large-size);
|
|
131
119
|
line-height: var(--md-sys-typescale-title-large-line-height);
|
|
@@ -133,9 +121,9 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
133
121
|
letter-spacing: var(--md-sys-typescale-title-large-tracking);
|
|
134
122
|
color: var(--md-sys-color-on-surface);
|
|
135
123
|
}
|
|
136
|
-
.overline {
|
|
124
|
+
.overline {
|
|
137
125
|
font-family: var(--brand-font);
|
|
138
|
-
font-size: var(--md-sys-typescale-label-medium-size);
|
|
126
|
+
font-size: var(--md-sys-typescale-label-medium-size);
|
|
139
127
|
line-height: var(--md-sys-typescale-label-medium-line-height);
|
|
140
128
|
font-weight: var(--weight-regular);
|
|
141
129
|
letter-spacing: var(--md-sys-typescale-label-medium-tracking);
|
|
@@ -143,52 +131,24 @@ import{_ as h}from"../../vendor/preload-helper.js";import{b as g,n,i as u,E as p
|
|
|
143
131
|
}
|
|
144
132
|
.supporting-text {
|
|
145
133
|
font-family: var(--brand-font);
|
|
146
|
-
font-size: var(--md-sys-typescale-body-medium-size);
|
|
134
|
+
font-size: var(--md-sys-typescale-body-medium-size);
|
|
147
135
|
line-height: var(--md-sys-typescale-body-medium-line-height);
|
|
148
136
|
font-weight: var(--weight-regular);
|
|
149
137
|
letter-spacing: var(--md-sys-typescale-body-medium-tracking);
|
|
150
138
|
color: var(--md-sys-color-on-surface-variant);
|
|
151
139
|
}
|
|
152
140
|
|
|
153
|
-
.leading {
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
141
|
+
.leading { align-self: center; display: grid; place-items: center; }
|
|
142
|
+
.img {
|
|
143
|
+
width: calc(var(--icon-size-large, 40px) + var(--spacing-5, 16px));
|
|
144
|
+
height: calc(var(--icon-size-large, 40px) + var(--spacing-5, 16px));
|
|
145
|
+
object-fit: contain;
|
|
146
|
+
border-radius: var(--radius-s, 8px);
|
|
157
147
|
}
|
|
158
148
|
|
|
159
|
-
.
|
|
160
|
-
|
|
161
|
-
height: var(--icon-size-small, 24px);
|
|
162
|
-
display: flex;
|
|
163
|
-
object-fit: contain;
|
|
164
|
-
}
|
|
165
|
-
.img {
|
|
166
|
-
width: calc(var(--icon-size-large, 40px) + var(--spacing-5, 16px));
|
|
167
|
-
height: calc(var(--icon-size-large, 40px) + var(--spacing-5, 16px));
|
|
168
|
-
object-fit: contain;
|
|
169
|
-
border-radius: var(--radius-s, 8px);
|
|
170
|
-
}
|
|
171
|
-
|
|
172
|
-
.texts {
|
|
173
|
-
display: grid;
|
|
174
|
-
gap: var(--spacing-1, 2px);
|
|
175
|
-
}
|
|
149
|
+
.texts { display: grid; gap: var(--spacing-1, 2px); }
|
|
150
|
+
.chevron { margin-left: auto; padding-top: var(--scb-accordion-chevron-nudge-y, 3px); font-size: var(--icon-size-small, 24px); }
|
|
176
151
|
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
padding-top: var(--scb-accordion-chevron-nudge-y, 3px);
|
|
181
|
-
font-size: var(--icon-size-small, 24px);
|
|
182
|
-
}
|
|
183
|
-
|
|
184
|
-
/* Ripple ska fylla den klickbara ytan och ärver ev. rundning vid fokus */
|
|
185
|
-
md-ripple {
|
|
186
|
-
border-radius: inherit;
|
|
187
|
-
inset: 0;
|
|
188
|
-
position: absolute;
|
|
189
|
-
pointer-events: none;
|
|
190
|
-
}
|
|
191
|
-
@media (prefers-reduced-motion: reduce) {
|
|
192
|
-
md-ripple { display: none; } /* endast fokusring visas */
|
|
193
|
-
}
|
|
194
|
-
`];o([n({type:Boolean})],e.prototype,"expanded",2);o([n({type:String,reflect:!0})],e.prototype,"label",2);o([n({type:String})],e.prototype,"content",2);o([n({type:String,attribute:"overline"})],e.prototype,"overline",2);o([n({type:String,attribute:"supporting-text"})],e.prototype,"supportingText",2);o([n({type:Boolean})],e.prototype,"leading",2);o([n({type:String,attribute:"leading-variant",reflect:!0})],e.prototype,"leadingVariant",2);o([n({type:String,attribute:"leading-icon"})],e.prototype,"leadingIcon",2);o([n({type:String,attribute:"img-href-image",reflect:!0})],e.prototype,"imgHrefImage",2);o([n({type:String,attribute:"avatar-label"})],e.prototype,"avatarLabel",2);o([n({type:String,attribute:"avatar-alt"})],e.prototype,"avatarAlt",2);o([n({type:String,attribute:"avatar-variant"})],e.prototype,"avatarVariant",2);o([n({type:String,attribute:"avatar-src"})],e.prototype,"avatarSrc",2);o([n({type:Number,reflect:!0})],e.prototype,"density",2);e=o([v("scb-accordion-item")],e);
|
|
152
|
+
md-ripple { border-radius: inherit; inset: 0; position: absolute; pointer-events: none; }
|
|
153
|
+
@media (prefers-reduced-motion: reduce) { md-ripple { display: none; } }
|
|
154
|
+
`];r([n({type:Boolean})],e.prototype,"expanded",2);r([n({type:String,reflect:!0})],e.prototype,"label",2);r([n({type:String})],e.prototype,"content",2);r([n({type:String,attribute:"overline"})],e.prototype,"overline",2);r([n({type:String,attribute:"supporting-text"})],e.prototype,"supportingText",2);r([n({type:Boolean})],e.prototype,"leading",2);r([n({type:String,attribute:"leading-variant",reflect:!0})],e.prototype,"leadingVariant",2);r([n({type:String,attribute:"leading-icon"})],e.prototype,"leadingIcon",2);r([n({type:String,attribute:"img-href-image",reflect:!0})],e.prototype,"imgHrefImage",2);r([n({type:String,attribute:"avatar-label"})],e.prototype,"avatarLabel",2);r([n({type:String,attribute:"avatar-alt"})],e.prototype,"avatarAlt",2);r([n({type:String,attribute:"avatar-variant"})],e.prototype,"avatarVariant",2);r([n({type:String,attribute:"avatar-src"})],e.prototype,"avatarSrc",2);r([n({type:Number,reflect:!0})],e.prototype,"density",2);e=r([v("scb-accordion-item")],e);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{
|
|
1
|
+
import{a as h,n as d,i as c,x as r,t as m}from"../../vendor/vendor.js";import"../scb-icon-button/scb-icon-button.js";import"../scb-search/scb-search.js";import"../../vendor/preload-helper.js";import"../../vendor/vendor-material.js";import"../scb-tooltip/scb-tooltip.js";import"../scb-button/scb-button.js";import"../scb-list/scb-list.js";import"../scb-list/scb-list-item.js";(function(){try{var n=typeof globalThis<"u"?globalThis:window;if(!n.__scb_ce_guard_installed__){n.__scb_ce_guard_installed__=!0;var a=customElements.define.bind(customElements);customElements.define=function(t,o,e){try{customElements.get(t)||a(t,o,e)}catch(s){var l=String(s||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw s}}}}catch{}})();var g=Object.defineProperty,f=Object.getOwnPropertyDescriptor,p=(n,a,t,o)=>{for(var e=o>1?void 0:o?f(a,t):a,l=n.length-1,s;l>=0;l--)(s=n[l])&&(e=(o?s(a,t,e):s(e))||e);return o&&e&&g(a,t,e),e};let i=class extends c{constructor(){super(...arguments),this.title="App title",this.type="default",this.position="default",this.searchSupportingText=""}render(){switch(this.type){case"small-flexible":return r`
|
|
2
2
|
<header class="small-flexible ${this.position=="bottom"?"position-bottom":this.position=="top"?"position-top":""}" role="banner" aria-label="Small app bar">
|
|
3
3
|
<div class="leading">
|
|
4
4
|
<slot name="leading"></slot>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as m}from"../../vendor/preload-helper.js";import{
|
|
2
|
+
import{_ as m}from"../../vendor/preload-helper.js";import{a as _,n as l,r as p,i as u,E as d,x as n,t as g}from"../../vendor/vendor.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var i=customElements.define.bind(customElements);customElements.define=function(r,s,o){try{customElements.get(r)||i(r,s,o)}catch(h){var c=String(h||"");if(c.indexOf("already been used")===-1&&c.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var v=Object.defineProperty,f=Object.getOwnPropertyDescriptor,a=(t,i,r,s)=>{for(var o=s>1?void 0:s?f(i,r):i,c=t.length-1,h;c>=0;c--)(h=t[c])&&(o=(s?h(i,r,o):h(o))||o);return s&&o&&v(i,r,o),o};let e=class extends u{constructor(){super(...arguments),this.src="",this.alt="",this.label="",this.size="medium",this.shape="circular",this.iconName="",this.variant="image",this._imgError=!1,this._hasIconSlot=!1,this._onImgLoad=()=>{this._imgError=!1,this.dispatchEvent(new CustomEvent("image-load",{bubbles:!0,composed:!0}))},this._onImgError=()=>{this._imgError=!0,this.dispatchEvent(new CustomEvent("image-error",{bubbles:!0,composed:!0}))},this._onIconSlotChange=t=>{const i=t.currentTarget;this._hasIconSlot=(i.assignedNodes({flatten:!0})||[]).length>0}}async firstUpdated(){this.variant==="icon"&&await m(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url)}_initials(){const t=(this.label||this.alt||"").trim();if(!t)return"?";const i=t.split(/\s+/).filter(Boolean);if(i.length===1)return i[0].slice(0,1).toUpperCase();const r=i[0].slice(0,1),s=i[i.length-1].slice(0,1);return(r+s).toUpperCase()}_ariaLabel(){const t=(this.label||this.alt||"").trim();return t||null}render(){const t=this._ariaLabel(),i=this.variant==="image"&&!!this.src&&!this._imgError,r=n`${d}
|
|
3
3
|
<slot name="icon" @slotchange=${this._onIconSlotChange}></slot>
|
|
4
4
|
${this._hasIconSlot?d:this.iconName?n`<md-icon aria-hidden="true">${this.iconName}</md-icon>`:n`<div class="fallback" part="fallback">${this._initials()}</div>`}
|
|
5
5
|
`,s=i?n`<img class="photo" part="image" src=${this.src} alt=${this.alt}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as l,t as b,i as p,
|
|
1
|
+
import{n as l,t as b,i as p,a as d,x as u}from"../../vendor/vendor.js";(function(){try{var i=typeof globalThis<"u"?globalThis:window;if(!i.__scb_ce_guard_installed__){i.__scb_ce_guard_installed__=!0;var t=customElements.define.bind(customElements);customElements.define=function(r,s,e){try{customElements.get(r)||t(r,s,e)}catch(n){var a=String(n||"");if(a.indexOf("already been used")===-1&&a.indexOf("NotSupportedError")===-1)throw n}}}}catch{}})();var f=Object.defineProperty,m=Object.getOwnPropertyDescriptor,o=(i,t,r,s)=>{for(var e=s>1?void 0:s?m(t,r):t,a=i.length-1,n;a>=0;a--)(n=i[a])&&(e=(s?n(t,r,e):n(e))||e);return s&&e&&f(t,r,e),e};let c=class extends p{constructor(){super(...arguments),this.label="",this.isCurrent=!1,this.href=""}static get styles(){return d`
|
|
2
2
|
.breadcrumb-separator {
|
|
3
3
|
margin: 0 8px;
|
|
4
4
|
color: var(--md-sys-color-on-surface);
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import{n as d,t as m,i as b,
|
|
1
|
+
import{n as d,t as m,i as b,a as p,x as o}from"../../vendor/vendor.js";import"./scb-breadcrumb-item.js";import"../../vendor/vendor-material.js";(function(){try{var e=typeof globalThis<"u"?globalThis:window;if(!e.__scb_ce_guard_installed__){e.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(s,t,a){try{customElements.get(s)||r(s,t,a)}catch(i){var l=String(i||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw i}}}}catch{}})();var u=Object.defineProperty,h=Object.getOwnPropertyDescriptor,c=(e,r,s,t)=>{for(var a=t>1?void 0:t?h(r,s):r,l=e.length-1,i;l>=0;l--)(i=e[l])&&(a=(t?i(r,s,a):i(a))||a);return t&&a&&u(r,s,a),a};let n=class extends b{constructor(){super(...arguments),this.showAll=!1}static get styles(){return p`
|
|
2
2
|
.scb-breadcrumb {
|
|
3
3
|
display: flex;
|
|
4
4
|
align-items: center;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as h}from"../../vendor/preload-helper.js";import{i as b,
|
|
2
|
+
import{_ as h}from"../../vendor/preload-helper.js";import{i as b,a as m,x as u,E as e,n as c,t as f}from"../../vendor/vendor.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var r=customElements.define.bind(customElements);customElements.define=function(i,n,a){try{customElements.get(i)||r(i,n,a)}catch(d){var o=String(d||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var p=Object.defineProperty,_=Object.getOwnPropertyDescriptor,s=(t,r,i,n)=>{for(var a=n>1?void 0:n?_(r,i):r,o=t.length-1,d;o>=0;o--)(d=t[o])&&(a=(n?d(r,i,a):d(a))||a);return n&&a&&p(r,i,a),a};let l=class extends b{constructor(){super(...arguments),this.variant="filled",this.type="button",this.label="Button",this.trailingIcon=!1,this.icon="",this.disabled=!1,this.href="",this.target="",this.rel="",this.__loadedButtons=new Set,this.__iconLoaded=!1}async __ensureDepsLoaded(){if(!this.__loadedButtons.has(this.variant)){switch(this.variant){case"filled":await h(()=>import("../../vendor/vendor-material.js").then(t=>t.f),__vite__mapDeps([0,1]),import.meta.url);break;case"outlined":await h(()=>import("../../vendor/vendor-material.js").then(t=>t.o),__vite__mapDeps([0,1]),import.meta.url);break;case"filled-tonal":await h(()=>import("../../vendor/vendor-material.js").then(t=>t.c),__vite__mapDeps([0,1]),import.meta.url);break;case"text":await h(()=>import("../../vendor/vendor-material.js").then(t=>t.t),__vite__mapDeps([0,1]),import.meta.url);break}this.__loadedButtons.add(this.variant)}this.icon&&!this.__iconLoaded&&(await h(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url),this.__iconLoaded=!0)}__getInnerButton(){return this.renderRoot.querySelector("md-filled-button, md-outlined-button, md-filled-tonal-button, md-text-button")}__syncAriaToInner(){const t=this.__getInnerButton();if(!t)return;const r=this.getAttribute("aria-controls");r&&t.setAttribute("aria-controls",r);const i=this.getAttribute("aria-expanded");i!==null&&(t.setAttribute("aria-expanded",i),this.removeAttribute("aria-expanded")),this.__ariaObserver?.disconnect(),this.__ariaObserver=new MutationObserver(n=>{const a=this.__getInnerButton();if(a){for(const o of n)if(!(o.type!=="attributes"||!o.attributeName)&&(o.attributeName==="aria-controls"||o.attributeName==="aria-expanded")){const d=this.getAttribute(o.attributeName);d===null?a.removeAttribute(o.attributeName):a.setAttribute(o.attributeName,d),o.attributeName==="aria-expanded"&&this.removeAttribute("aria-expanded")}}}),this.__ariaObserver.observe(this,{attributes:!0,attributeFilter:["aria-controls","aria-expanded"]})}firstUpdated(){(this.type==="submit"||this.type==="reset")&&this.addEventListener("click",()=>{if(!this.disabled){const t=this.closest("form");t&&(this.type==="submit"&&t.requestSubmit(),this.type==="reset"&&t.reset())}}),this.__ensureDepsLoaded(),this.__syncAriaToInner()}updated(t){(t.has("variant")||t.has("icon")&&this.icon)&&this.__ensureDepsLoaded(),t.has("variant")&&this.__syncAriaToInner()}disconnectedCallback(){this.__ariaObserver?.disconnect(),super.disconnectedCallback()}static get styles(){return m`
|
|
3
3
|
/* Gör hosten stretchbar i t.ex. flex/grid */
|
|
4
4
|
:host {
|
|
5
5
|
display: inline-flex;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
const __vite__mapDeps=(i,m=__vite__mapDeps,d=(m.f||(m.f=["../../vendor/vendor-material.js","../../vendor/vendor.js"])))=>i.map(i=>d[i]);
|
|
2
|
-
import{_ as
|
|
2
|
+
import{_ as p}from"../../vendor/preload-helper.js";import{a as h,n as r,i as f,x as c,t as g}from"../../vendor/vendor.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var o=customElements.define.bind(customElements);customElements.define=function(s,l,i){try{customElements.get(s)||o(s,l,i)}catch(d){var n=String(d||"");if(n.indexOf("already been used")===-1&&n.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,a=(t,o,s,l)=>{for(var i=l>1?void 0:l?v(o,s):o,n=t.length-1,d;n>=0;n--)(d=t[n])&&(i=(l?d(o,s,i):d(i))||i);return l&&i&&u(o,s,i),i};let e=class extends f{constructor(){super(...arguments),this.variant="default",this.direction="horizontal",this.header="",this.subtitle="",this.supportingText="",this.cardHref="",this.showMedia=null,this.fullHeight=!1,this.fullWidth=!1,this.stretch=!1}async firstUpdated(){e.__iconLoaded||(await p(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url),e.__iconLoaded=!0),e.__rippleLoaded||(await p(()=>import("../../vendor/vendor-material.js").then(t=>t.r),__vite__mapDeps([0,1]),import.meta.url),e.__rippleLoaded=!0)}render(){const t=this.variant?`${this.variant.toLowerCase()}`:"",o=this.direction?`${this.direction.toLowerCase()}`:"",s=this.cardHref?"clickable":"",l=new Date().getDate(),i=new Date().toLocaleString("default",{month:"short"}).replace(".","");return c`
|
|
3
3
|
<div
|
|
4
|
-
class="calendar-card ${
|
|
4
|
+
class="calendar-card ${o} ${s} ${t}"
|
|
5
5
|
role="${this.cardHref?"link":"group"}"
|
|
6
6
|
aria-label="${this.header||"Kalenderkort"}"
|
|
7
7
|
tabindex="${this.cardHref?"0":"-1"}"
|
|
@@ -9,132 +9,171 @@ import{_ as c}from"../../vendor/preload-helper.js";import{b as h,n as d,i as g,x
|
|
|
9
9
|
@keydown="${this.cardHref?this._onKeyDown:null}"
|
|
10
10
|
style="cursor: ${this.cardHref?"pointer":"default"};"
|
|
11
11
|
>
|
|
12
|
-
${this.cardHref?
|
|
13
|
-
${this.showMedia?
|
|
14
|
-
<div class="media" aria-label="Datum: ${
|
|
15
|
-
<div class="day">${
|
|
12
|
+
${this.cardHref?c`<md-ripple></md-ripple>`:""}
|
|
13
|
+
${this.showMedia?c`
|
|
14
|
+
<div class="media" aria-label="Datum: ${l} ${i}">
|
|
15
|
+
<div class="day">${l}</div>
|
|
16
16
|
<div class="month">${i}</div>
|
|
17
17
|
</div>`:""}
|
|
18
18
|
<div class="container">
|
|
19
19
|
<div class="header-container">
|
|
20
20
|
<div class="header">${this.header}</div>
|
|
21
|
-
${this.cardHref?
|
|
21
|
+
${this.cardHref?c`<md-icon>arrow_forward</md-icon>`:""}
|
|
22
22
|
</div>
|
|
23
|
-
${this.subtitle?
|
|
24
|
-
${this.supportingText?
|
|
23
|
+
${this.subtitle?c`<div class="subtitle">${this.subtitle}</div>`:""}
|
|
24
|
+
${this.supportingText?c`<div class="supporting-text">${this.supportingText}</div>`:""}
|
|
25
25
|
</div>
|
|
26
26
|
</div>
|
|
27
27
|
`}_onKeyDown(t){(t.key==="Enter"||t.key===" ")&&this.cardHref&&(window.open(this.cardHref,"_self"),t.preventDefault())}};e.__iconLoaded=!1;e.__rippleLoaded=!1;e.styles=h`
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
28
|
+
:host { display:block; }
|
|
29
|
+
|
|
30
|
+
:host([stretch]) { block-size: 100%; }
|
|
31
|
+
:host([stretch]) .calendar-card { block-size: 100%; }
|
|
32
|
+
|
|
33
|
+
:host([full-height]) { block-size: 100%; }
|
|
34
|
+
:host([full-height]) .calendar-card { block-size: 100%; }
|
|
35
|
+
|
|
36
|
+
:host([full-width]) { max-width: none; width: 100%; }
|
|
37
|
+
:host([full-width]) .calendar-card.horizontal,
|
|
38
|
+
:host([full-width]) .calendar-card.vertical {
|
|
39
|
+
max-width: none;
|
|
40
|
+
width: 100%;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.calendar-card {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
|
|
47
|
+
position: relative;
|
|
48
|
+
display: flex;
|
|
49
|
+
color: var(--md-sys-color-on-surface, #0F0865);
|
|
50
|
+
font-family: var(--brand, Inter);
|
|
51
|
+
font-style: normal;
|
|
52
|
+
flex-direction: column;
|
|
53
|
+
align-items: flex-start;
|
|
54
|
+
gap: var(--spacing-spacing-3, 8px);
|
|
55
|
+
align-self: stretch;
|
|
56
|
+
cursor: pointer;
|
|
57
|
+
transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease, border-color .18s ease;
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.calendar-card.vertical {
|
|
61
|
+
max-width: var(--scb-calendar-card-max-w, 360px);
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.calendar-card.horizontal {
|
|
65
|
+
flex-direction: row;
|
|
66
|
+
max-width: none;
|
|
67
|
+
width: 100%;
|
|
68
|
+
gap: var(--spacing-spacing-6, 20px);
|
|
69
|
+
min-block-size: 112px;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.calendar-card.outlined {
|
|
73
|
+
border-radius: var(--radius-large, 16px);
|
|
74
|
+
border: 1px solid var(--md-sys-color-outline-variant, #CCC);
|
|
75
|
+
background: var(--md-sys-color-surface, #FFF);
|
|
76
|
+
padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
|
|
77
|
+
}
|
|
78
|
+
|
|
79
|
+
.calendar-card.filled {
|
|
80
|
+
border-radius: var(--radius-large, 16px);
|
|
81
|
+
background: var(--md-sys-color-surface-dim, #F9F8EF);
|
|
82
|
+
padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.calendar-card.filled .media {
|
|
86
|
+
background: var(--md-sys-color-surface, #FFF);
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
md-ripple { border-radius: var(--radius-l, 16px); }
|
|
90
|
+
|
|
91
|
+
.media {
|
|
92
|
+
display: flex;
|
|
93
|
+
width: var(--spacing-spacing-11, 64px);
|
|
94
|
+
min-width: var(--spacing-spacing-11, 64px);
|
|
95
|
+
max-width: var(--spacing-spacing-11, 64px);
|
|
96
|
+
height: var(--spacing-spacing-11, 64px);
|
|
97
|
+
padding: var(--spacing-spacing-0, 0) 0;
|
|
98
|
+
flex-direction: column;
|
|
99
|
+
justify-content: center;
|
|
100
|
+
align-items: center;
|
|
101
|
+
gap: var(--spacing-spacing-2, 4px);
|
|
102
|
+
border-radius: var(--radius-small, 8px);
|
|
103
|
+
background: var(--md-sys-color-surface-dim, #F9F8EF);
|
|
104
|
+
}
|
|
105
|
+
.calendar-card.horizontal .media { align-self: center; }
|
|
106
|
+
|
|
107
|
+
.media .day {
|
|
108
|
+
font-size: var(--scale-07, 28px);
|
|
109
|
+
font-weight: var(--weight-bold, 700);
|
|
110
|
+
line-height: 100%;
|
|
111
|
+
letter-spacing: -0.6px;
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.media .month {
|
|
115
|
+
font-size: var(--scale-02, 14px);
|
|
116
|
+
font-weight: var(--weight-regular, 400);
|
|
117
|
+
line-height: 100%;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.container {
|
|
121
|
+
flex: 1 1 auto;
|
|
122
|
+
min-width: 0;
|
|
123
|
+
display: flex;
|
|
124
|
+
flex-direction: column;
|
|
125
|
+
gap: var(--spacing-spacing-2, 4px);
|
|
126
|
+
width: 100%;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
.header-container {
|
|
130
|
+
width: 100%;
|
|
131
|
+
flex: 0 0 auto;
|
|
132
|
+
display: flex;
|
|
133
|
+
align-items: center;
|
|
134
|
+
gap: 10px;
|
|
135
|
+
padding-top: var(--spacing-pacing-1, 2px);
|
|
136
|
+
color:inherit;
|
|
137
|
+
text-decoration: none;
|
|
138
|
+
min-block-size: 32px;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.header {
|
|
142
|
+
font-size: var(--md-sys-typescale-headline-small-size, 24px);
|
|
143
|
+
font-weight: var(--weight-bold, 700);
|
|
144
|
+
line-height: var(--md-sys-typescale-headline-small-line-height2, 30px);
|
|
145
|
+
letter-spacing: var(--md-sys-typescale-headline-small-tracking, -0.6px);
|
|
146
|
+
flex: 1 1 0;
|
|
147
|
+
min-width: 0;
|
|
148
|
+
overflow: hidden;
|
|
149
|
+
text-overflow: ellipsis;
|
|
150
|
+
white-space: nowrap;
|
|
151
|
+
}
|
|
152
|
+
|
|
153
|
+
.header-container md-icon {
|
|
154
|
+
inline-size: 20px;
|
|
155
|
+
block-size: 20px;
|
|
156
|
+
flex: 0 0 auto;
|
|
157
|
+
}
|
|
158
|
+
|
|
159
|
+
.subtitle {
|
|
160
|
+
font-size: var(--md-sys-typescale-title-medium-size, 18px);
|
|
161
|
+
font-weight: var(--weight-semibold, 600);
|
|
162
|
+
line-height: var(--md-sys-typescale-title-medium-line-height, 26px);
|
|
163
|
+
letter-spacing: var(--md-sys-typescale-title-medium-tracking, -0.3px);
|
|
164
|
+
overflow: hidden;
|
|
165
|
+
text-overflow: ellipsis;
|
|
166
|
+
white-space: nowrap;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
.supporting-text {
|
|
170
|
+
font-size: var(--md-sys-typescale-body-large-size, 18px);
|
|
171
|
+
font-weight: var(--weight-regular, 400);
|
|
172
|
+
line-height: var(--md-sys-typescale-body-large-line-height, 26px);
|
|
173
|
+
letter-spacing: var(--md-sys-typescale-body-large-tracking, -0.3px);
|
|
174
|
+
display: -webkit-box;
|
|
175
|
+
-webkit-line-clamp: 2;
|
|
176
|
+
-webkit-box-orient: vertical;
|
|
177
|
+
overflow: hidden;
|
|
178
|
+
}
|
|
179
|
+
`;a([r({type:String,reflect:!0})],e.prototype,"variant",2);a([r({type:String,reflect:!0})],e.prototype,"direction",2);a([r({type:String})],e.prototype,"header",2);a([r({type:String})],e.prototype,"subtitle",2);a([r({type:String,attribute:"supporting-text"})],e.prototype,"supportingText",2);a([r({type:String,attribute:"card-href"})],e.prototype,"cardHref",2);a([r({type:Boolean,reflect:!0,attribute:"show-media"})],e.prototype,"showMedia",2);a([r({type:Boolean,reflect:!0,attribute:"full-height"})],e.prototype,"fullHeight",2);a([r({type:Boolean,reflect:!0,attribute:"full-width"})],e.prototype,"fullWidth",2);a([r({type:Boolean,reflect:!0})],e.prototype,"stretch",2);e=a([g("scb-calendar-card")],e);
|