scb-wc-test 0.1.23 → 0.1.24

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.
Files changed (38) hide show
  1. package/mvc/components/scb-calendar-card/scb-calendar-card.js +223 -195
  2. package/mvc/components/scb-card/scb-card.js +148 -101
  3. package/mvc/components/scb-checkbox/scb-checkbox.js +6 -6
  4. package/mvc/components/scb-drawer/scb-drawer-item.js +1 -1
  5. package/mvc/components/scb-drawer/scb-drawer-section.js +2 -2
  6. package/mvc/components/scb-drawer/scb-drawer.js +88 -80
  7. package/mvc/components/scb-drawer/scb-sub-drawer.js +3 -3
  8. package/mvc/components/scb-fact-card/scb-fact-card.js +68 -16
  9. package/mvc/components/scb-footer/scb-footer.js +20 -13
  10. package/mvc/components/scb-header/scb-header.js +13 -14
  11. package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +31 -22
  12. package/mvc/components/scb-list/scb-list-item.js +22 -11
  13. package/mvc/components/scb-search/scb-search.js +1 -1
  14. package/mvc/components/scb-tabs/scb-primary-tab.js +1 -1
  15. package/mvc/components/scb-tabs/scb-secondary-tab.js +1 -1
  16. package/mvc/components/scb-tabs/scb-tabs.js +2 -2
  17. package/mvc/vendor/vendor-material.js +118 -118
  18. package/mvc/vendor/vendor.js +1 -1
  19. package/package.json +2 -2
  20. package/scb-calendar-card/scb-calendar-card.d.ts +14 -3
  21. package/scb-calendar-card/scb-calendar-card.js +259 -211
  22. package/scb-card/scb-card.d.ts +11 -6
  23. package/scb-card/scb-card.js +227 -170
  24. package/scb-checkbox/scb-checkbox.d.ts +1 -0
  25. package/scb-checkbox/scb-checkbox.js +57 -53
  26. package/scb-drawer/scb-drawer.d.ts +3 -26
  27. package/scb-drawer/scb-drawer.js +123 -120
  28. package/scb-drawer/scb-sub-drawer.js +4 -4
  29. package/scb-fact-card/scb-fact-card.d.ts +12 -5
  30. package/scb-fact-card/scb-fact-card.js +142 -73
  31. package/scb-footer/scb-footer.d.ts +2 -0
  32. package/scb-footer/scb-footer.js +52 -40
  33. package/scb-header/scb-header.d.ts +9 -0
  34. package/scb-header/scb-header.js +196 -173
  35. package/scb-keyfigure-card/scb-keyfigure-card.d.ts +13 -4
  36. package/scb-keyfigure-card/scb-keyfigure-card.js +69 -46
  37. package/scb-list/scb-list-item.js +51 -40
  38. package/scb-wc-test.bundle.js +741 -584
@@ -1,198 +1,226 @@
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 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";import"../../vendor/vendor-material.js";(function(){try{var i=typeof globalThis<"u"?globalThis:window;if(!i.__scb_ce_guard_installed__){i.__scb_ce_guard_installed__=!0;var o=customElements.define.bind(customElements);customElements.define=function(s,n,t){try{customElements.get(s)||o(s,n,t)}catch(d){var l=String(d||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var u=Object.defineProperty,v=Object.getOwnPropertyDescriptor,a=(i,o,s,n)=>{for(var t=n>1?void 0:n?v(o,s):o,l=i.length-1,d;l>=0;l--)(d=i[l])&&(t=(n?d(o,s,t):d(t))||t);return n&&t&&u(o,s,t),t};let e=class extends f{constructor(){super(...arguments),this.variant="default",this.direction="horizontal",this.title="",this.subtitle="",this.supportingText="",this.cardHref="",this.cardHrefNav="",this.showMedia=null,this.fullHeight=!1,this.fullWidth=!1,this.stretch=!1}async firstUpdated(){e.__iconLoaded||(await p(()=>import("../../vendor/vendor-material.js").then(i=>i.i),__vite__mapDeps([0,1]),import.meta.url),e.__iconLoaded=!0),e.__rippleLoaded||(await p(()=>import("../../vendor/vendor-material.js").then(i=>i.r),__vite__mapDeps([0,1]),import.meta.url),e.__rippleLoaded=!0)}render(){const i=this.variant?`${this.variant.toLowerCase()}`:"",o=this.direction?`${this.direction.toLowerCase()}`:"",s=this.cardHref?"clickable":"",n=1,t="Jan";return c`
3
- <div
4
- class="calendar-card ${o} ${s} ${i}"
5
- role="${this.cardHref?"link":"group"}"
6
- aria-label="${this.title||"Kalenderkort"}"
7
- tabindex="${this.cardHref?"0":"-1"}"
8
- @click="${this.cardHref?this._handleHrefNavigation:null}"
9
- @keydown="${this.cardHref?this._onKeyDown:null}"
10
- style="cursor: ${this.cardHref?"pointer":"default"};"
11
- >
12
- ${this.cardHref?c`<md-ripple></md-ripple>`:""}
13
- ${this.showMedia?c`
14
- <div class="media" aria-label="Datum: ${n} ${t}">
15
- <div class="day">${n}</div>
16
- <div class="month">${t}</div>
17
- </div>`:""}
18
- <div class="container">
19
- <div class="header-container">
20
- <div class="header">${this.title}</div>
21
- ${this.cardHref?c`<md-icon>arrow_forward</md-icon>`:""}
2
+ import{_ as h}from"../../vendor/preload-helper.js";import{a as p,n as r,i as g,x as c,t as m}from"../../vendor/vendor.js";import"../../vendor/vendor-material.js";(function(){try{var i=typeof globalThis<"u"?globalThis:window;if(!i.__scb_ce_guard_installed__){i.__scb_ce_guard_installed__=!0;var s=customElements.define.bind(customElements);customElements.define=function(n,o,a){try{customElements.get(n)||s(n,o,a)}catch(d){var l=String(d||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw d}}}}catch{}})();var f=Object.defineProperty,y=Object.getOwnPropertyDescriptor,t=(i,s,n,o)=>{for(var a=o>1?void 0:o?y(s,n):s,l=i.length-1,d;l>=0;l--)(d=i[l])&&(a=(o?d(s,n,a):d(a))||a);return o&&a&&f(s,n,a),a};let e=class extends g{constructor(){super(...arguments),this.variant="default",this.direction="horizontal",this.title="",this.subtitle="",this.supportingText="",this.cardHref="",this.cardHrefNav="",this.showMedia=null,this.width="",this.maxWidth="",this.minWidth="",this.height="",this.maxHeight="",this.minHeight="",this.sizing="stretch"}async firstUpdated(){e.__iconLoaded||(await h(()=>import("../../vendor/vendor-material.js").then(i=>i.i),__vite__mapDeps([0,1]),import.meta.url),e.__iconLoaded=!0),e.__rippleLoaded||(await h(()=>import("../../vendor/vendor-material.js").then(i=>i.r),__vite__mapDeps([0,1]),import.meta.url),e.__rippleLoaded=!0),this.__applyInnerSizing()}render(){const i=this.variant?`${this.variant.toLowerCase()}`:"",s=this.direction?`${this.direction.toLowerCase()}`:"",n=this.cardHref?"clickable":"",o=1,a="Jan";return c`
3
+ <div
4
+ class="calendar-card ${s} ${n} ${i}"
5
+ role="${this.cardHref?"link":"group"}"
6
+ aria-label="${this.title||"Kalenderkort"}"
7
+ tabindex="${this.cardHref?"0":"-1"}"
8
+ @click="${this.cardHref?this._handleHrefNavigation:null}"
9
+ @keydown="${this.cardHref?this._onKeyDown:null}"
10
+ style="cursor: ${this.cardHref?"pointer":"default"};"
11
+ >
12
+ ${this.cardHref?c`<md-ripple></md-ripple>`:""}
13
+ ${this.showMedia?c`
14
+ <div class="media" aria-label="Datum: ${o} ${a}">
15
+ <div class="day">${o}</div>
16
+ <div class="month">${a}</div>
17
+ </div>
18
+ `:""}
19
+ <div class="container">
20
+ <div class="header-container">
21
+ <div class="header">${this.title}</div>
22
+ ${this.cardHref?c`<md-icon>arrow_forward</md-icon>`:""}
23
+ </div>
24
+ ${this.subtitle?c`<div class="subtitle">${this.subtitle}</div>`:""}
25
+ ${this.supportingText?c`<div class="supporting-text">${this.supportingText}</div>`:""}
22
26
  </div>
23
- ${this.subtitle?c`<div class="subtitle">${this.subtitle}</div>`:""}
24
- ${this.supportingText?c`<div class="supporting-text">${this.supportingText}</div>`:""}
25
27
  </div>
26
- </div>
27
- <md-focus-ring></md-focus-ring>
28
- `}_onKeyDown(i){(i.key==="Enter"||i.key===" ")&&this.cardHref&&(window.open(this.cardHref,"_self"),i.preventDefault())}_handleHrefNavigation(){this.cardHref&&(this.cardHrefNav==="tab"?window.open(this.cardHref,"_blank"):this.cardHrefNav==="window"?window.open(this.cardHref,"_blank","noopener,noreferrer,width=800,height=600"):window.open(this.cardHref,"_self"))}};e.__iconLoaded=!1;e.__rippleLoaded=!1;e.styles=h`
29
- :host {
30
- display: block;
31
- position: relative;
32
- padding: var(--scb-calendar-card-focus-ring-gap, 4px);
33
- }
34
-
35
- :host([stretch]) { block-size: 100%; }
36
- :host([stretch]) .calendar-card { block-size: 100%; }
37
-
38
- :host([full-height]) { block-size: 100%; }
39
- :host([full-height]) .calendar-card { block-size: 100%; }
40
-
41
- :host([full-width]) { max-width: none; width: 100%; }
42
- :host([full-width]) .calendar-card.horizontal,
43
- :host([full-width]) .calendar-card.vertical {
44
- max-width: none;
45
- width: 100%;
46
- }
47
-
48
- md-focus-ring {
49
- position: absolute;
50
- inset: 0;
51
- pointer-events: none;
52
- display: none;
53
- border-radius: var(--scb-calendar-card-focus-ring-radius, var(--radius-large, 16px));
54
- }
55
- :host(:focus-within) md-focus-ring {
56
- display: block;
57
- }
58
-
59
- .calendar-card {
60
- box-sizing: border-box;
61
- overflow: hidden;
62
-
63
- position: relative;
64
- display: flex;
65
- color: var(--md-sys-color-on-surface, #0F0865);
66
- font-family: var(--brand, Inter);
67
- font-style: normal;
68
- flex-direction: column;
69
- align-items: flex-start;
70
- gap: var(--spacing-spacing-3, 8px);
71
- align-self: stretch;
72
- cursor: pointer;
73
- transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease, border-color .18s ease;
74
- }
75
-
76
- .calendar-card:focus,
77
- .calendar-card:focus-visible { outline: none; }
78
-
79
- .calendar-card.vertical {
80
- max-width: var(--scb-calendar-card-max-w, 360px);
81
- }
82
-
83
- .calendar-card.horizontal {
84
- flex-direction: row;
85
- max-width: none;
86
- width: 100%;
87
- gap: var(--spacing-spacing-6, 20px);
88
- min-block-size: 112px;
89
- }
90
-
91
- .calendar-card.outlined {
92
- border-radius: var(--radius-large, 16px);
93
- border: 1px solid var(--md-sys-color-outline-variant, #CCC);
94
- background: var(--md-sys-color-surface, #FFF);
95
- padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
96
- }
97
-
98
- .calendar-card.filled {
99
- border-radius: var(--radius-large, 16px);
100
- background: var(--md-sys-color-surface-dim, #F9F8EF);
101
- padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
102
- }
103
-
104
- .calendar-card.filled .media {
105
- background: var(--md-sys-color-surface, #FFF);
106
- }
107
-
108
- md-ripple { border-radius: var(--radius-l, 16px); }
109
-
110
- .media {
111
- display: flex;
112
- width: var(--spacing-spacing-11, 64px);
113
- min-width: var(--spacing-spacing-11, 64px);
114
- max-width: var(--spacing-spacing-11, 64px);
115
- height: var(--spacing-spacing-11, 64px);
116
- padding: var(--spacing-spacing-0, 0) 0;
117
- flex-direction: column;
118
- justify-content: center;
119
- align-items: center;
120
- gap: var(--spacing-spacing-2, 4px);
121
- border-radius: var(--radius-small, 8px);
122
- background: var(--md-sys-color-surface-dim, #F9F8EF);
123
- }
124
- .calendar-card.horizontal .media { align-self: center; }
125
-
126
- .media .day {
127
- font-size: var(--scale-07, 28px);
128
- font-weight: var(--weight-bold, 700);
129
- line-height: 100%;
130
- letter-spacing: -0.6px;
131
- }
132
-
133
- .media .month {
134
- font-size: var(--scale-02, 14px);
135
- font-weight: var(--weight-regular, 400);
136
- line-height: 100%;
137
- }
138
-
139
- .container {
140
- flex: 1 1 auto;
141
- min-width: 0;
142
- display: flex;
143
- flex-direction: column;
144
- gap: var(--spacing-spacing-2, 4px);
145
- width: 100%;
146
- }
147
-
148
- .header-container {
149
- width: 100%;
150
- flex: 0 0 auto;
151
- display: flex;
152
- align-items: center;
153
- gap: 10px;
154
- padding-top: var(--spacing-pacing-1, 2px);
155
- color:inherit;
156
- text-decoration: none;
157
- min-block-size: 32px;
158
- }
159
-
160
- .header {
161
- font-size: var(--md-sys-typescale-headline-small-size, 24px);
162
- font-weight: var(--weight-bold, 700);
163
- line-height: var(--md-sys-typescale-headline-small-line-height2, 30px);
164
- letter-spacing: var(--md-sys-typescale-headline-small-tracking, -0.6px);
165
- flex: 1 1 0;
166
- min-width: 0;
167
- overflow: hidden;
168
- text-overflow: ellipsis;
169
- white-space: nowrap;
170
- }
171
-
172
- .header-container md-icon {
173
- inline-size: 20px;
174
- block-size: 20px;
175
- flex: 0 0 auto;
176
- }
177
-
178
- .subtitle {
179
- font-size: var(--md-sys-typescale-title-medium-size, 18px);
180
- font-weight: var(--weight-semibold, 600);
181
- line-height: var(--md-sys-typescale-title-medium-line-height, 26px);
182
- letter-spacing: var(--md-sys-typescale-title-medium-tracking, -0.3px);
183
- overflow: hidden;
184
- text-overflow: ellipsis;
185
- white-space: nowrap;
186
- }
187
-
188
- .supporting-text {
189
- font-size: var(--md-sys-typescale-body-large-size, 18px);
190
- font-weight: var(--weight-regular, 400);
191
- line-height: var(--md-sys-typescale-body-large-line-height, 26px);
192
- letter-spacing: var(--md-sys-typescale-body-large-tracking, -0.3px);
193
- display: -webkit-box;
194
- -webkit-line-clamp: 2;
195
- -webkit-box-orient: vertical;
196
- overflow: hidden;
197
- }
198
- `;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,"title",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:String,attribute:"card-href-nav"})],e.prototype,"cardHrefNav",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);
28
+ <md-focus-ring></md-focus-ring>
29
+ `}__applyInnerSizing(){const i=this.renderRoot.querySelector(".calendar-card");if(!i)return;this.width&&this.width.trim()!==""?(i.style.inlineSize="100%",i.style.maxInlineSize="100%"):(i.style.removeProperty("inline-size"),i.style.removeProperty("max-inline-size")),this.height&&this.height.trim()!==""||this.sizing==="stretch"?i.style.blockSize="100%":i.style.removeProperty("block-size"),this.maxHeight&&this.maxHeight.trim()!==""?i.style.maxBlockSize="100%":i.style.removeProperty("max-block-size")}_onKeyDown(i){(i.key==="Enter"||i.key===" ")&&this.cardHref&&(window.open(this.cardHref,"_self"),i.preventDefault())}_handleHrefNavigation(){this.cardHref&&(this.cardHrefNav==="tab"?window.open(this.cardHref,"_blank"):this.cardHrefNav==="window"?window.open(this.cardHref,"_blank","noopener,noreferrer,width=800,height=600"):window.open(this.cardHref,"_self"))}updated(i){i.has("width")&&(this.width?this.style.inlineSize=this.width:this.style.removeProperty("inline-size")),i.has("maxWidth")&&(this.maxWidth?this.style.maxInlineSize=this.maxWidth:this.style.removeProperty("max-inline-size")),i.has("minWidth")&&(this.minWidth?this.style.minInlineSize=this.minWidth:this.style.removeProperty("min-inline-size")),i.has("height")&&(this.height?this.style.blockSize=this.height:this.style.removeProperty("block-size")),i.has("maxHeight")&&(this.maxHeight?this.style.maxBlockSize=this.maxHeight:this.style.removeProperty("max-block-size")),i.has("minHeight")&&(this.minHeight?this.style.minBlockSize=this.minHeight:this.style.removeProperty("min-block-size")),(i.has("width")||i.has("height")||i.has("maxHeight")||i.has("sizing"))&&this.__applyInnerSizing()}};e.__iconLoaded=!1;e.__rippleLoaded=!1;e.styles=p`
30
+ :host {
31
+ display: block;
32
+ position: relative;
33
+ box-sizing: border-box;
34
+ inline-size: 100%;
35
+ min-inline-size: 0;
36
+ padding: var(--scb-calendar-card-focus-ring-gap, 4px);
37
+ }
38
+
39
+ :host([sizing="stretch"]) {
40
+ inline-size: 100%;
41
+ block-size: 100%;
42
+ max-inline-size: none;
43
+ }
44
+
45
+ :host([sizing="content-width"]) {
46
+ display: inline-block;
47
+ inline-size: auto;
48
+ block-size: auto;
49
+ }
50
+ :host([sizing="content-width"]) .calendar-card {
51
+ inline-size: max-content;
52
+ }
53
+
54
+ :host([sizing="content-height"]) {
55
+ inline-size: 100%;
56
+ block-size: auto;
57
+ max-inline-size: none;
58
+ }
59
+
60
+ md-focus-ring {
61
+ position: absolute;
62
+ inset: 0;
63
+ pointer-events: none;
64
+ display: none;
65
+ border-radius: var(--scb-calendar-card-focus-ring-radius, var(--radius-large, 16px));
66
+ }
67
+ :host(:focus-within) md-focus-ring {
68
+ display: block;
69
+ }
70
+
71
+ .calendar-card {
72
+ box-sizing: border-box;
73
+ overflow: hidden;
74
+
75
+ position: relative;
76
+ display: flex;
77
+ color: var(--md-sys-color-on-surface, #0F0865);
78
+ font-family: var(--brand, Inter);
79
+ font-style: normal;
80
+ flex-direction: column;
81
+ align-items: flex-start;
82
+ gap: var(--spacing-spacing-3, 8px);
83
+ align-self: stretch;
84
+ cursor: pointer;
85
+ transition: box-shadow .18s ease, transform .18s ease, background-color .18s ease, border-color .18s ease;
86
+
87
+ inline-size: 100%;
88
+ max-inline-size: 100%;
89
+ }
90
+
91
+ .calendar-card:focus,
92
+ .calendar-card:focus-visible { outline: none; }
93
+
94
+ .calendar-card.horizontal {
95
+ flex-direction: row;
96
+ align-items: flex-start;
97
+ max-width: none;
98
+ width: 100%;
99
+ gap: var(--spacing-spacing-6, 20px);
100
+ min-block-size: 112px;
101
+ }
102
+
103
+ .calendar-card.outlined {
104
+ border-radius: var(--radius-large, 16px);
105
+ border: 1px solid var(--md-sys-color-outline-variant, #CCC);
106
+ background: var(--md-sys-color-surface, #FFF);
107
+ padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
108
+ }
109
+
110
+ .calendar-card.filled {
111
+ border-radius: var(--radius-large, 16px);
112
+ background: var(--md-sys-color-surface-dim, #F9F8EF);
113
+ padding: var(--spacing-spacing-7, 24px) var(--spacing-spacing-6, 20px);
114
+ }
115
+
116
+ .calendar-card.filled .media {
117
+ background: var(--md-sys-color-surface, #FFF);
118
+ }
119
+
120
+ md-ripple { border-radius: var(--radius-l, 16px); }
121
+
122
+ .media {
123
+ display: flex;
124
+ width: var(--spacing-spacing-11, 64px);
125
+ min-width: var(--spacing-spacing-11, 64px);
126
+ max-width: var(--spacing-spacing-11, 64px);
127
+ height: var(--spacing-spacing-11, 64px);
128
+ padding: var(--spacing-spacing-0, 0) 0;
129
+ flex-direction: column;
130
+ justify-content: center;
131
+ align-items: center;
132
+ gap: var(--spacing-spacing-2, 4px);
133
+ border-radius: var(--radius-small, 8px);
134
+ background: var(--md-sys-color-surface-dim, #F9F8EF);
135
+ }
136
+
137
+ .calendar-card.horizontal .media { align-self: flex-start; }
138
+
139
+ .media .day {
140
+ font-size: var(--scale-07, 28px);
141
+ font-weight: var(--weight-bold, 700);
142
+ line-height: 100%;
143
+ letter-spacing: -0.6px;
144
+ }
145
+
146
+ .media .month {
147
+ font-size: var(--scale-02, 14px);
148
+ font-weight: var(--weight-regular, 400);
149
+ line-height: 100%;
150
+ }
151
+
152
+ .container {
153
+ flex: 1 1 auto;
154
+ min-width: 0;
155
+ display: flex;
156
+ flex-direction: column;
157
+ gap: var(--spacing-spacing-2, 4px);
158
+ width: 100%;
159
+ align-self: flex-start;
160
+ }
161
+
162
+ .header-container {
163
+ width: 100%;
164
+ flex: 0 0 auto;
165
+ display: flex;
166
+ align-items: center;
167
+ gap: 10px;
168
+ padding-top: var(--spacing-pacing-1, 2px);
169
+ color: inherit;
170
+ text-decoration: none;
171
+ min-block-size: 32px;
172
+ }
173
+
174
+ .header {
175
+ font-size: var(--md-sys-typescale-headline-small-size, 24px);
176
+ font-weight: var(--weight-bold, 700);
177
+ line-height: var(--md-sys-typescale-headline-small-line-height2, 30px);
178
+ letter-spacing: var(--md-sys-typescale-headline-small-tracking, -0.6px);
179
+ flex: 1 1 auto;
180
+ min-inline-size: 0;
181
+
182
+ white-space: normal;
183
+ word-break: normal;
184
+ overflow-wrap: break-word;
185
+ hyphens: auto;
186
+
187
+ overflow: visible;
188
+ text-overflow: clip;
189
+ }
190
+
191
+ .header-container md-icon {
192
+ inline-size: 20px;
193
+ block-size: 20px;
194
+ flex: 0 0 auto;
195
+ }
196
+
197
+ .subtitle {
198
+ font-size: var(--md-sys-typescale-title-medium-size, 18px);
199
+ font-weight: var(--weight-semibold, 600);
200
+ line-height: var(--md-sys-typescale-title-medium-line-height, 26px);
201
+ letter-spacing: var(--md-sys-typescale-title-medium-tracking, -0.3px);
202
+
203
+ white-space: normal;
204
+ word-break: normal;
205
+ overflow-wrap: break-word;
206
+ hyphens: manual;
207
+
208
+ overflow: visible;
209
+ text-overflow: clip;
210
+ }
211
+
212
+ .supporting-text {
213
+ font-size: var(--md-sys-typescale-body-large-size, 18px);
214
+ font-weight: var(--weight-regular, 400);
215
+ line-height: var(--md-sys-typescale-body-large-line-height, 26px);
216
+ letter-spacing: var(--md-sys-typescale-body-large-tracking, -0.3px);
217
+
218
+ white-space: normal;
219
+ word-break: normal;
220
+ overflow-wrap: break-word;
221
+ hyphens: manual;
222
+
223
+ overflow: visible;
224
+ text-overflow: clip;
225
+ }
226
+ `;t([r({type:String,reflect:!0})],e.prototype,"variant",2);t([r({type:String,reflect:!0})],e.prototype,"direction",2);t([r({type:String})],e.prototype,"title",2);t([r({type:String})],e.prototype,"subtitle",2);t([r({type:String,attribute:"supporting-text"})],e.prototype,"supportingText",2);t([r({type:String,attribute:"card-href"})],e.prototype,"cardHref",2);t([r({type:String,attribute:"card-href-nav"})],e.prototype,"cardHrefNav",2);t([r({type:Boolean,reflect:!0,attribute:"show-media"})],e.prototype,"showMedia",2);t([r({type:String})],e.prototype,"width",2);t([r({type:String,attribute:"max-width"})],e.prototype,"maxWidth",2);t([r({type:String,attribute:"min-width"})],e.prototype,"minWidth",2);t([r({type:String})],e.prototype,"height",2);t([r({type:String,attribute:"max-height"})],e.prototype,"maxHeight",2);t([r({type:String,attribute:"min-height"})],e.prototype,"minHeight",2);t([r({type:String,reflect:!0})],e.prototype,"sizing",2);e=t([m("scb-calendar-card")],e);