scb-wc-test 0.1.85 → 0.1.87
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-breadcrumb/scb-breadcrumb-item.js +3 -2
- package/mvc/components/scb-button/scb-button.js +1 -1
- package/mvc/components/scb-calendar-card/scb-calendar-card.js +29 -19
- package/mvc/components/scb-card/scb-card.js +115 -53
- package/mvc/components/scb-fact-card/scb-fact-card-content.js +46 -44
- package/mvc/components/scb-icon-button/scb-icon-button.js +1 -1
- package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +21 -8
- package/mvc/components/scb-notification-card/scb-notification-card.js +291 -170
- package/mvc/components/scb-viz/scb-viz.js +106 -107
- package/mvc/vendor/vendor-material.js +102 -102
- package/mvc/vendor/vendor.js +1 -1
- package/package.json +2 -2
- package/scb-badge/scb-badge.d.ts +1 -1
- package/scb-breadcrumb/scb-breadcrumb-item.js +3 -2
- package/scb-calendar-card/scb-calendar-card.js +71 -61
- package/scb-card/scb-card.d.ts +1 -1
- package/scb-card/scb-card.js +116 -54
- package/scb-fact-card/scb-fact-card-content.d.ts +5 -1
- package/scb-fact-card/scb-fact-card-content.js +67 -74
- package/scb-keyfigure-card/scb-keyfigure-card.d.ts +3 -1
- package/scb-keyfigure-card/scb-keyfigure-card.js +23 -11
- package/scb-notification-card/scb-notification-card.d.ts +19 -5
- package/scb-notification-card/scb-notification-card.js +336 -196
- package/scb-viz/scb-viz.d.ts +2 -2
- package/scb-viz/scb-viz.js +163 -162
- package/scb-wc-test.bundle.js +842 -635
|
@@ -1,44 +1,46 @@
|
|
|
1
|
-
import{a as
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
1
|
+
import{a as d,n as p,i as u,x as c,t as g}from"../../vendor/vendor.js";(function(){try{var n=typeof globalThis<"u"?globalThis:window;if(!n.__scb_ce_guard_installed__){n.__scb_ce_guard_installed__=!0;var i=customElements.define.bind(customElements);customElements.define=function(e,s,t){try{customElements.get(e)||i(e,s,t)}catch(r){var l=String(r||"");if(l.indexOf("already been used")===-1&&l.indexOf("NotSupportedError")===-1)throw r}}}}catch{}})();var h=Object.defineProperty,y=Object.getOwnPropertyDescriptor,o=(n,i,e,s)=>{for(var t=s>1?void 0:s?y(i,e):i,l=n.length-1,r;l>=0;l--)(r=n[l])&&(t=(s?r(i,e,t):r(t))||t);return s&&t&&h(i,e,t),t};let a=class extends u{constructor(){super(...arguments),this.title="",this.subtitle="",this.supportingText=""}render(){return c`
|
|
2
|
+
${this.title?c`<div class="label">${this.title}</div>`:""}
|
|
3
|
+
${this.subtitle?c`<div class="sub-label">${this.subtitle}</div>`:""}
|
|
4
|
+
${this.supportingText?c`<div class="supporting-text">${this.supportingText}</div>`:""}
|
|
5
|
+
|
|
6
|
+
<div class="content links">
|
|
7
|
+
<slot></slot>
|
|
8
|
+
</div>
|
|
9
|
+
`}};a.styles=d`
|
|
10
|
+
:host {
|
|
11
|
+
display: flex;
|
|
12
|
+
flex-direction: column;
|
|
13
|
+
gap: var(--spacing-3);
|
|
14
|
+
width: 100%;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.label {
|
|
18
|
+
display: flex;
|
|
19
|
+
justify-content: space-between;
|
|
20
|
+
align-items: center;
|
|
21
|
+
font-size: var(--md-sys-typescale-headline-small-size);
|
|
22
|
+
font-weight: var(--weight-bold);
|
|
23
|
+
line-height: var(--md-sys-typescale-headline-small-line-height);
|
|
24
|
+
letter-spacing: var(--md-sys-typescale-headline-small-tracking);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.sub-label {
|
|
28
|
+
font-size: var(--md-sys-typescale-title-medium-size);
|
|
29
|
+
font-weight: var(--weight-semibold);
|
|
30
|
+
line-height: var(--md-sys-typescale-title-medium-line-height);
|
|
31
|
+
letter-spacing: var(--md-sys-typescale-title-medium-tracking);
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.supporting-text {
|
|
35
|
+
font-size: var(--md-sys-typescale-body-large-size);
|
|
36
|
+
line-height: var(--md-sys-typescale-body-large-line-height);
|
|
37
|
+
letter-spacing: var(--md-sys-typescale-body-large-tracking);
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
.content.links ::slotted(*) {
|
|
41
|
+
margin-top: var(--spacing-3);
|
|
42
|
+
display: flex;
|
|
43
|
+
flex-direction: column;
|
|
44
|
+
gap: var(--spacing-3);
|
|
45
|
+
}
|
|
46
|
+
`;o([p({type:String,reflect:!0,attribute:"title"})],a.prototype,"title",2);o([p({type:String,reflect:!0,attribute:"subtitle"})],a.prototype,"subtitle",2);o([p({type:String,reflect:!0,attribute:"supporting-text"})],a.prototype,"supportingText",2);a=o([g("scb-fact-card-content")],a);
|
|
@@ -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 c}from"../../vendor/preload-helper.js";import{a as p,n as u,i as m,x as l,t as f}from"../../vendor/vendor.js";import"../../vendor/vendor-material.js";import"../scb-tooltip/scb-tooltip.js";import"../scb-button/scb-button.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(i,r,s){try{customElements.get(i)||e(i,r,s)}catch(a){var o=String(a||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw a}}}}catch{}})();var g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d=(t,e,i,r)=>{for(var s=r>1?void 0:r?v(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(s=(r?a(e,i,s):a(s))||s);return r&&s&&g(e,i,s),s};let n=class extends m{constructor(){super(...arguments),this.ariaLabel="",this.tooltip="",this.variant="standard",this.icon="home",this.toggle=!1,this.selected=!1,this.toggleofficon="add",this.toggleonicon="remove",this.disabled=!1,this.__loadedVariants=new Set,this.__iconLoaded=!1,this.__onInnerChange=()=>{const e=!!this.__getMdHost()?.selected;this.toggle&&(this.selected=e),this.dispatchEvent(new CustomEvent("change",{detail:{selected:e},bubbles:!0,composed:!0}))}}async firstUpdated(){await this.__ensureDepsLoaded(),await this.updateComplete,this.__attachChangeListener(),this.__syncAria()}updated(t){super.updated(t),t.has("variant")||t.has("toggle")||t.has("icon")||t.has("ariaLabel")||t.has("selected")||t.has("disabled")||t.has("tooltip")?this.__ensureDepsLoaded().then(()=>queueMicrotask(()=>{this.__attachChangeListener(),this.__syncAria()})):queueMicrotask(()=>this.__attachChangeListener())}disconnectedCallback(){super.disconnectedCallback(),this.__lastBtn?.removeEventListener?.("change",this.__onInnerChange),this.__lastBtn=null,this.__ariaObserver?.disconnect()}async __ensureDepsLoaded(){if(!this.__loadedVariants.has(this.variant)){switch(this.variant){case"filled":await c(()=>import("../../vendor/vendor-material.js").then(t=>t.
|
|
2
|
+
import{_ as c}from"../../vendor/preload-helper.js";import{a as p,n as u,i as m,x as l,t as f}from"../../vendor/vendor.js";import"../../vendor/vendor-material.js";import"../scb-tooltip/scb-tooltip.js";import"../scb-button/scb-button.js";(function(){try{var t=typeof globalThis<"u"?globalThis:window;if(!t.__scb_ce_guard_installed__){t.__scb_ce_guard_installed__=!0;var e=customElements.define.bind(customElements);customElements.define=function(i,r,s){try{customElements.get(i)||e(i,r,s)}catch(a){var o=String(a||"");if(o.indexOf("already been used")===-1&&o.indexOf("NotSupportedError")===-1)throw a}}}}catch{}})();var g=Object.defineProperty,v=Object.getOwnPropertyDescriptor,d=(t,e,i,r)=>{for(var s=r>1?void 0:r?v(e,i):e,o=t.length-1,a;o>=0;o--)(a=t[o])&&(s=(r?a(e,i,s):a(s))||s);return r&&s&&g(e,i,s),s};let n=class extends m{constructor(){super(...arguments),this.ariaLabel="",this.tooltip="",this.variant="standard",this.icon="home",this.toggle=!1,this.selected=!1,this.toggleofficon="add",this.toggleonicon="remove",this.disabled=!1,this.__loadedVariants=new Set,this.__iconLoaded=!1,this.__onInnerChange=()=>{const e=!!this.__getMdHost()?.selected;this.toggle&&(this.selected=e),this.dispatchEvent(new CustomEvent("change",{detail:{selected:e},bubbles:!0,composed:!0}))}}async firstUpdated(){await this.__ensureDepsLoaded(),await this.updateComplete,this.__attachChangeListener(),this.__syncAria()}updated(t){super.updated(t),t.has("variant")||t.has("toggle")||t.has("icon")||t.has("ariaLabel")||t.has("selected")||t.has("disabled")||t.has("tooltip")?this.__ensureDepsLoaded().then(()=>queueMicrotask(()=>{this.__attachChangeListener(),this.__syncAria()})):queueMicrotask(()=>this.__attachChangeListener())}disconnectedCallback(){super.disconnectedCallback(),this.__lastBtn?.removeEventListener?.("change",this.__onInnerChange),this.__lastBtn=null,this.__ariaObserver?.disconnect()}async __ensureDepsLoaded(){if(!this.__loadedVariants.has(this.variant)){switch(this.variant){case"filled":await c(()=>import("../../vendor/vendor-material.js").then(t=>t.d),__vite__mapDeps([0,1]),import.meta.url);break;case"outlined":await c(()=>import("../../vendor/vendor-material.js").then(t=>t.e),__vite__mapDeps([0,1]),import.meta.url);break;case"filled-tonal":await c(()=>import("../../vendor/vendor-material.js").then(t=>t.g),__vite__mapDeps([0,1]),import.meta.url);break;default:await c(()=>import("../../vendor/vendor-material.js").then(t=>t.h),__vite__mapDeps([0,1]),import.meta.url);break}this.__loadedVariants.add(this.variant)}this.__iconLoaded||(await c(()=>import("../../vendor/vendor-material.js").then(t=>t.i),__vite__mapDeps([0,1]),import.meta.url),this.__iconLoaded=!0)}__getMdHost(){const t=this.renderRoot.querySelector("md-filled-icon-button, md-outlined-icon-button, md-filled-tonal-icon-button, md-icon-button");if(t)return t;const e=this.renderRoot.querySelector("scb-tooltip");if(e){const i=e.querySelector("md-filled-icon-button, md-outlined-icon-button, md-filled-tonal-icon-button, md-icon-button");if(i)return i}return null}__getInnerButton(t){const e=t?.shadowRoot;return e?e.querySelector("button")||e.querySelector('[role="button"]'):null}__stripNativeTitles(t){if(!t)return;t.removeAttribute("title"),this.__getInnerButton(t)?.removeAttribute("title");const i=t.shadowRoot;i&&i.querySelectorAll("[title]").forEach(r=>r.removeAttribute("title"))}__syncAria(){const t=this.__getMdHost();if(!t)return;const e=this.__getInnerButton(t),i=(this.ariaLabel||this.getAttribute("aria-label")||"").trim()||this.icon.trim(),r=this.getAttribute("aria-controls"),s=this.getAttribute("aria-expanded");e&&(i?e.setAttribute("aria-label",i):e.removeAttribute("aria-label"),r!==null?e.setAttribute("aria-controls",r):e.removeAttribute("aria-controls"),s!==null?e.setAttribute("aria-expanded",s):e.removeAttribute("aria-expanded"),e.removeAttribute("title")),t.removeAttribute("aria-label"),t.removeAttribute("aria-controls"),t.removeAttribute("aria-expanded"),t.removeAttribute("title"),this.hasAttribute("aria-label")&&this.removeAttribute("aria-label"),this.hasAttribute("aria-controls")&&this.removeAttribute("aria-controls"),this.hasAttribute("aria-expanded")&&this.removeAttribute("aria-expanded"),this.__stripNativeTitles(t),this.__ariaObserver?.disconnect(),this.__ariaObserver=new MutationObserver(()=>{const o=this.__getMdHost(),a=this.__getInnerButton(o);if(!o||!a)return;const b=(this.ariaLabel||this.getAttribute("aria-label")||"").trim()||this.icon.trim(),h=this.getAttribute("aria-controls"),_=this.getAttribute("aria-expanded");b?a.setAttribute("aria-label",b):a.removeAttribute("aria-label"),h!==null?a.setAttribute("aria-controls",h):a.removeAttribute("aria-controls"),_!==null?a.setAttribute("aria-expanded",_):a.removeAttribute("aria-expanded"),this.__stripNativeTitles(o),o.removeAttribute("aria-label"),o.removeAttribute("aria-controls"),o.removeAttribute("aria-expanded"),o.removeAttribute("title"),this.hasAttribute("aria-label")&&this.removeAttribute("aria-label"),this.hasAttribute("aria-controls")&&this.removeAttribute("aria-controls"),this.hasAttribute("aria-expanded")&&this.removeAttribute("aria-expanded")}),this.__ariaObserver.observe(this,{attributes:!0,attributeFilter:["aria-label","aria-controls","aria-expanded"]})}__attachChangeListener(){const t=this.__getMdHost();t&&t!==this.__lastBtn&&(this.__lastBtn?.removeEventListener?.("change",this.__onInnerChange),t.addEventListener("change",this.__onInnerChange),this.__lastBtn=t),this.toggle&&t&&"selected"in t&&(t.selected=this.selected),this.__stripNativeTitles(t||null)}__renderMd(t=!1){const e=!!t,i=l`
|
|
3
3
|
<md-icon aria-hidden="true">${this.toggleofficon}</md-icon>
|
|
4
4
|
<md-icon slot="selected" aria-hidden="true">${this.toggleonicon}</md-icon>
|
|
5
5
|
`,r=l`<md-icon aria-hidden="true">${this.icon}</md-icon>`;if(this.toggle)switch(this.variant){case"filled":return l`
|
|
@@ -1,9 +1,10 @@
|
|
|
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 d}from"../../vendor/preload-helper.js";import{a as p,n as a,i as u,x as l,t as y}from"../../vendor/vendor.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 t=customElements.define.bind(customElements);customElements.define=function(s,n,o){try{customElements.get(s)||t(s,n,o)}catch(h){var c=String(h||"");if(c.indexOf("already been used")===-1&&c.indexOf("NotSupportedError")===-1)throw h}}}}catch{}})();var f=Object.defineProperty,g=Object.getOwnPropertyDescriptor,r=(e,t,s,n)=>{for(var o=n>1?void 0:n?g(t,s):t,c=e.length-1,h;c>=0;c--)(h=e[c])&&(o=(n?h(t,s,o):h(o))||o);return n&&o&&f(t,s,o),o};let i=class extends u{constructor(){super(...arguments),this.keyfigure=0,this.subtitle="",this.supportingText="",this.cardHref="",this.icon="",this.size="standard",this.unit="",this.width="",this.maxWidth="",this.height="",this.maxHeight="",this.sizing="stretch",this.__onKeyDown=e=>{(e.key==="Enter"||e.key===" ")&&this.cardHref&&(e.preventDefault(),window.location.href=this.cardHref)},this.__handleHrefNavigation=e=>{this.cardHref&&(e.target.closest("a")||(window.location.href=this.cardHref))}}formatNumber(e){if(typeof e=="number")return e.toLocaleString("sv-SE").replace(/\u00A0/g," ");const t=Number(e);return Number.isNaN(t)?String(e):t.toLocaleString("sv-SE").replace(/\u00A0/g," ")}async firstUpdated(){i.__iconLoaded||(await d(()=>import("../../vendor/vendor-material.js").then(e=>e.i),__vite__mapDeps([0,1]),import.meta.url),i.__iconLoaded=!0),i.__rippleLoaded||(await d(()=>import("../../vendor/vendor-material.js").then(e=>e.r),__vite__mapDeps([0,1]),import.meta.url),i.__rippleLoaded=!0),this.__applyInnerSizing()}render(){const e=!!this.cardHref,t=this.formatNumber(this.keyfigure),s=(this.unit||"").trim(),n=s?`${t} ${s}`:t;return l`
|
|
2
3
|
<div
|
|
3
4
|
class="scb-keyfigure-card ${e?"clickable":""} ${this.size}"
|
|
4
5
|
role=${e?"link":"group"}
|
|
5
6
|
tabindex=${e?"0":"-1"}
|
|
6
|
-
aria-label=${this.subtitle||
|
|
7
|
+
aria-label=${this.subtitle||n}
|
|
7
8
|
@click=${e?this.__handleHrefNavigation:null}
|
|
8
9
|
@keydown=${e?this.__onKeyDown:null}
|
|
9
10
|
style="cursor:${e?"pointer":"default"};"
|
|
@@ -13,8 +14,8 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
13
14
|
|
|
14
15
|
${this.keyfigure!==void 0&&this.keyfigure!==null&&this.keyfigure!==""?l`
|
|
15
16
|
<div class="keyfigure">
|
|
16
|
-
<span class="value" aria-label="${
|
|
17
|
-
${t}${
|
|
17
|
+
<span class="value" aria-label="${n}">
|
|
18
|
+
${t}${s?l`<span class="unit" aria-hidden="true">\u00A0${s}</span>`:""}
|
|
18
19
|
</span>
|
|
19
20
|
${e?l`<md-icon>arrow_forward</md-icon>`:""}
|
|
20
21
|
</div>
|
|
@@ -30,8 +31,7 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
30
31
|
</div>
|
|
31
32
|
|
|
32
33
|
<md-focus-ring></md-focus-ring>
|
|
33
|
-
`}__applyInnerSizing(){const e=this.renderRoot.querySelector(".scb-keyfigure-card");if(!e)return;this.width&&this.width.trim()!==""?(e.style.inlineSize="100%",e.style.maxInlineSize="100%"):(e.style.removeProperty("inline-size"),e.style.removeProperty("max-inline-size")),this.height&&this.height.trim()!==""||this.sizing==="stretch"?e.style.blockSize="100%":e.style.removeProperty("block-size"),this.maxHeight&&this.maxHeight.trim()!==""?e.style.maxBlockSize="100%":e.style.removeProperty("max-block-size")}updated(e){super.updated(e),e.has("width")&&(this.width?this.style.inlineSize=this.width:this.style.removeProperty("inline-size")),e.has("maxWidth")&&(this.maxWidth?this.style.maxInlineSize=this.maxWidth:this.style.removeProperty("max-inline-size")),e.has("height")&&(this.height?this.style.blockSize=this.height:this.style.removeProperty("block-size")),e.has("maxHeight")&&(this.maxHeight?this.style.maxBlockSize=this.maxHeight:this.style.removeProperty("max-block-size")),(e.has("width")||e.has("height")||e.has("maxHeight")||e.has("sizing"))&&this.__applyInnerSizing()}
|
|
34
|
-
|
|
34
|
+
`}__applyInnerSizing(){const e=this.renderRoot.querySelector(".scb-keyfigure-card");if(!e)return;this.width&&this.width.trim()!==""?(e.style.inlineSize="100%",e.style.maxInlineSize="100%"):(e.style.removeProperty("inline-size"),e.style.removeProperty("max-inline-size")),this.height&&this.height.trim()!==""||this.sizing==="stretch"?e.style.blockSize="100%":e.style.removeProperty("block-size"),this.maxHeight&&this.maxHeight.trim()!==""?e.style.maxBlockSize="100%":e.style.removeProperty("max-block-size")}updated(e){super.updated(e),e.has("width")&&(this.width?this.style.inlineSize=this.width:this.style.removeProperty("inline-size")),e.has("maxWidth")&&(this.maxWidth?this.style.maxInlineSize=this.maxWidth:this.style.removeProperty("max-inline-size")),e.has("height")&&(this.height?this.style.blockSize=this.height:this.style.removeProperty("block-size")),e.has("maxHeight")&&(this.maxHeight?this.style.maxBlockSize=this.maxHeight:this.style.removeProperty("max-block-size")),(e.has("width")||e.has("height")||e.has("maxHeight")||e.has("sizing"))&&this.__applyInnerSizing()}};i.__iconLoaded=!1;i.__rippleLoaded=!1;i.styles=p`
|
|
35
35
|
:host {
|
|
36
36
|
display: block;
|
|
37
37
|
box-sizing: border-box;
|
|
@@ -49,7 +49,6 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
49
49
|
font-feature-settings: "tnum" 0, "pnum" 1;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
|
|
53
52
|
:host([sizing="stretch"]) {
|
|
54
53
|
inline-size: 100%;
|
|
55
54
|
block-size: 100%;
|
|
@@ -118,6 +117,13 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
118
117
|
font-weight: var(--weight-semibold);
|
|
119
118
|
line-height: var(--md-sys-typescale-title-medium-line-height);
|
|
120
119
|
letter-spacing: var(--md-sys-typescale-title-medium-tracking);
|
|
120
|
+
|
|
121
|
+
white-space: normal;
|
|
122
|
+
word-break: normal;
|
|
123
|
+
overflow-wrap: normal;
|
|
124
|
+
hyphens: auto;
|
|
125
|
+
overflow: visible;
|
|
126
|
+
text-overflow: clip;
|
|
121
127
|
}
|
|
122
128
|
.sub-label a { color: inherit; text-decoration: none; }
|
|
123
129
|
|
|
@@ -125,6 +131,13 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
125
131
|
font-size: var(--md-sys-typescale-body-large-size);
|
|
126
132
|
line-height: var(--md-sys-typescale-body-large-line-height);
|
|
127
133
|
letter-spacing: var(--md-sys-typescale-body-large-tracking);
|
|
134
|
+
|
|
135
|
+
white-space: normal;
|
|
136
|
+
word-break: normal;
|
|
137
|
+
overflow-wrap: normal;
|
|
138
|
+
hyphens: auto;
|
|
139
|
+
overflow: visible;
|
|
140
|
+
text-overflow: clip;
|
|
128
141
|
}
|
|
129
142
|
|
|
130
143
|
.scb-keyfigure-card.clickable { cursor: pointer; }
|
|
@@ -134,4 +147,4 @@ import{a as d,n,i as u,x as l,t as p}from"../../vendor/vendor.js";import"../../v
|
|
|
134
147
|
line-height: var(--md-sys-typescale-display-medium-line-height);
|
|
135
148
|
letter-spacing: var(--md-sys-typescale-display-medium-tracking);
|
|
136
149
|
}
|
|
137
|
-
`;
|
|
150
|
+
`;r([a({attribute:"keyfigure"})],i.prototype,"keyfigure",2);r([a({type:String,attribute:"subtitle"})],i.prototype,"subtitle",2);r([a({type:String,attribute:"supporting-text"})],i.prototype,"supportingText",2);r([a({type:String,attribute:"card-href"})],i.prototype,"cardHref",2);r([a({type:String})],i.prototype,"icon",2);r([a({type:String})],i.prototype,"size",2);r([a({type:String})],i.prototype,"unit",2);r([a({type:String,reflect:!0})],i.prototype,"width",2);r([a({type:String,reflect:!0,attribute:"max-width"})],i.prototype,"maxWidth",2);r([a({type:String,reflect:!0})],i.prototype,"height",2);r([a({type:String,reflect:!0,attribute:"max-height"})],i.prototype,"maxHeight",2);r([a({type:String,reflect:!0})],i.prototype,"sizing",2);i=r([y("scb-keyfigure-card")],i);
|