@m3e/heading 1.0.6 → 1.1.0

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/dist/index.js CHANGED
@@ -19,20 +19,19 @@ INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM
19
19
  LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION OF CONTRACT, NEGLIGENCE OR
20
20
  OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION WITH THE USE OR
21
21
  PERFORMANCE OF THIS SOFTWARE.
22
- ***************************************************************************** */
23
- /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
24
-
25
-
26
- function __decorate(decorators, target, key, desc) {
27
- var c = arguments.length, r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc, d;
28
- if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);
29
- else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
30
- return c > 3 && r && Object.defineProperty(target, key, r), r;
31
- }
32
-
33
- typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
34
- var e = new Error(message);
35
- return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
22
+ ***************************************************************************** */
23
+ /* global Reflect, Promise, SuppressedError, Symbol, Iterator */
24
+
25
+ function __decorate(decorators, target, key, desc) {
26
+ var c = arguments.length,
27
+ r = c < 3 ? target : desc === null ? desc = Object.getOwnPropertyDescriptor(target, key) : desc,
28
+ d;
29
+ if (typeof Reflect === "object" && typeof Reflect.decorate === "function") r = Reflect.decorate(decorators, target, key, desc);else for (var i = decorators.length - 1; i >= 0; i--) if (d = decorators[i]) r = (c < 3 ? d(r) : c > 3 ? d(target, key, r) : d(target, key)) || r;
30
+ return c > 3 && r && Object.defineProperty(target, key, r), r;
31
+ }
32
+ typeof SuppressedError === "function" ? SuppressedError : function (error, suppressed, message) {
33
+ var e = new Error(message);
34
+ return e.name = "SuppressedError", e.error = error, e.suppressed = suppressed, e;
36
35
  };
37
36
 
38
37
  /**
@@ -40,26 +39,372 @@ typeof SuppressedError === "function" ? SuppressedError : function (error, suppr
40
39
  * Copyright 2017 Google LLC
41
40
  * SPDX-License-Identifier: BSD-3-Clause
42
41
  */
43
- const t$1=t=>(e,o)=>{ void 0!==o?o.addInitializer((()=>{customElements.define(t,e);})):customElements.define(t,e);};
42
+ const t$1 = t => (e, o) => {
43
+ void 0 !== o ? o.addInitializer(() => {
44
+ customElements.define(t, e);
45
+ }) : customElements.define(t, e);
46
+ };
44
47
 
45
48
  /**
46
49
  * @license
47
50
  * Copyright 2019 Google LLC
48
51
  * SPDX-License-Identifier: BSD-3-Clause
49
52
  */
50
- const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShadow)&&"adoptedStyleSheets"in Document.prototype&&"replace"in CSSStyleSheet.prototype,s=Symbol(),o$2=new WeakMap;let n$2 = class n{constructor(t,e,o){if(this._$cssResult$=true,o!==s)throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");this.cssText=t,this.t=e;}get styleSheet(){let t=this.o;const s=this.t;if(e$1&&void 0===t){const e=void 0!==s&&1===s.length;e&&(t=o$2.get(s)),void 0===t&&((this.o=t=new CSSStyleSheet).replaceSync(this.cssText),e&&o$2.set(s,t));}return t}toString(){return this.cssText}};const r$2=t=>new n$2("string"==typeof t?t:t+"",void 0,s),S=(s,o)=>{if(e$1)s.adoptedStyleSheets=o.map((t=>t instanceof CSSStyleSheet?t:t.styleSheet));else for(const e of o){const o=document.createElement("style"),n=t.litNonce;void 0!==n&&o.setAttribute("nonce",n),o.textContent=e.cssText,s.appendChild(o);}},c$1=e$1?t=>t:t=>t instanceof CSSStyleSheet?(t=>{let e="";for(const s of t.cssRules)e+=s.cssText;return r$2(e)})(t):t;
53
+ const t = globalThis,
54
+ e$1 = t.ShadowRoot && (void 0 === t.ShadyCSS || t.ShadyCSS.nativeShadow) && "adoptedStyleSheets" in Document.prototype && "replace" in CSSStyleSheet.prototype,
55
+ s = Symbol(),
56
+ o$2 = new WeakMap();
57
+ let n$2 = class n {
58
+ constructor(t, e, o) {
59
+ if (this._$cssResult$ = true, o !== s) throw Error("CSSResult is not constructable. Use `unsafeCSS` or `css` instead.");
60
+ this.cssText = t, this.t = e;
61
+ }
62
+ get styleSheet() {
63
+ let t = this.o;
64
+ const s = this.t;
65
+ if (e$1 && void 0 === t) {
66
+ const e = void 0 !== s && 1 === s.length;
67
+ e && (t = o$2.get(s)), void 0 === t && ((this.o = t = new CSSStyleSheet()).replaceSync(this.cssText), e && o$2.set(s, t));
68
+ }
69
+ return t;
70
+ }
71
+ toString() {
72
+ return this.cssText;
73
+ }
74
+ };
75
+ const r$2 = t => new n$2("string" == typeof t ? t : t + "", void 0, s),
76
+ S = (s, o) => {
77
+ if (e$1) s.adoptedStyleSheets = o.map(t => t instanceof CSSStyleSheet ? t : t.styleSheet);else for (const e of o) {
78
+ const o = document.createElement("style"),
79
+ n = t.litNonce;
80
+ void 0 !== n && o.setAttribute("nonce", n), o.textContent = e.cssText, s.appendChild(o);
81
+ }
82
+ },
83
+ c$1 = e$1 ? t => t : t => t instanceof CSSStyleSheet ? (t => {
84
+ let e = "";
85
+ for (const s of t.cssRules) e += s.cssText;
86
+ return r$2(e);
87
+ })(t) : t;
51
88
 
52
89
  /**
53
90
  * @license
54
91
  * Copyright 2017 Google LLC
55
92
  * SPDX-License-Identifier: BSD-3-Clause
56
- */const{is:i,defineProperty:e,getOwnPropertyDescriptor:h,getOwnPropertyNames:r$1,getOwnPropertySymbols:o$1,getPrototypeOf:n$1}=Object,a=globalThis,c=a.trustedTypes,l=c?c.emptyScript:"",p=a.reactiveElementPolyfillSupport,d=(t,s)=>t,u={toAttribute(t,s){switch(s){case Boolean:t=t?l:null;break;case Object:case Array:t=null==t?t:JSON.stringify(t);}return t},fromAttribute(t,s){let i=t;switch(s){case Boolean:i=null!==t;break;case Number:i=null===t?null:Number(t);break;case Object:case Array:try{i=JSON.parse(t);}catch(t){i=null;}}return i}},f=(t,s)=>!i(t,s),b={attribute:true,type:String,converter:u,reflect:false,useDefault:false,hasChanged:f};Symbol.metadata??=Symbol("metadata"),a.litPropertyMetadata??=new WeakMap;class y extends HTMLElement{static addInitializer(t){this._$Ei(),(this.l??=[]).push(t);}static get observedAttributes(){return this.finalize(),this._$Eh&&[...this._$Eh.keys()]}static createProperty(t,s=b){if(s.state&&(s.attribute=false),this._$Ei(),this.prototype.hasOwnProperty(t)&&((s=Object.create(s)).wrapped=true),this.elementProperties.set(t,s),!s.noAccessor){const i=Symbol(),h=this.getPropertyDescriptor(t,i,s);void 0!==h&&e(this.prototype,t,h);}}static getPropertyDescriptor(t,s,i){const{get:e,set:r}=h(this.prototype,t)??{get(){return this[s]},set(t){this[s]=t;}};return {get:e,set(s){const h=e?.call(this);r?.call(this,s),this.requestUpdate(t,h,i);},configurable:true,enumerable:true}}static getPropertyOptions(t){return this.elementProperties.get(t)??b}static _$Ei(){if(this.hasOwnProperty(d("elementProperties")))return;const t=n$1(this);t.finalize(),void 0!==t.l&&(this.l=[...t.l]),this.elementProperties=new Map(t.elementProperties);}static finalize(){if(this.hasOwnProperty(d("finalized")))return;if(this.finalized=true,this._$Ei(),this.hasOwnProperty(d("properties"))){const t=this.properties,s=[...r$1(t),...o$1(t)];for(const i of s)this.createProperty(i,t[i]);}const t=this[Symbol.metadata];if(null!==t){const s=litPropertyMetadata.get(t);if(void 0!==s)for(const[t,i]of s)this.elementProperties.set(t,i);}this._$Eh=new Map;for(const[t,s]of this.elementProperties){const i=this._$Eu(t,s);void 0!==i&&this._$Eh.set(i,t);}this.elementStyles=this.finalizeStyles(this.styles);}static finalizeStyles(s){const i=[];if(Array.isArray(s)){const e=new Set(s.flat(1/0).reverse());for(const s of e)i.unshift(c$1(s));}else void 0!==s&&i.push(c$1(s));return i}static _$Eu(t,s){const i=s.attribute;return false===i?void 0:"string"==typeof i?i:"string"==typeof t?t.toLowerCase():void 0}constructor(){super(),this._$Ep=void 0,this.isUpdatePending=false,this.hasUpdated=false,this._$Em=null,this._$Ev();}_$Ev(){this._$ES=new Promise((t=>this.enableUpdating=t)),this._$AL=new Map,this._$E_(),this.requestUpdate(),this.constructor.l?.forEach((t=>t(this)));}addController(t){(this._$EO??=new Set).add(t),void 0!==this.renderRoot&&this.isConnected&&t.hostConnected?.();}removeController(t){this._$EO?.delete(t);}_$E_(){const t=new Map,s=this.constructor.elementProperties;for(const i of s.keys())this.hasOwnProperty(i)&&(t.set(i,this[i]),delete this[i]);t.size>0&&(this._$Ep=t);}createRenderRoot(){const t=this.shadowRoot??this.attachShadow(this.constructor.shadowRootOptions);return S(t,this.constructor.elementStyles),t}connectedCallback(){this.renderRoot??=this.createRenderRoot(),this.enableUpdating(true),this._$EO?.forEach((t=>t.hostConnected?.()));}enableUpdating(t){}disconnectedCallback(){this._$EO?.forEach((t=>t.hostDisconnected?.()));}attributeChangedCallback(t,s,i){this._$AK(t,i);}_$ET(t,s){const i=this.constructor.elementProperties.get(t),e=this.constructor._$Eu(t,i);if(void 0!==e&&true===i.reflect){const h=(void 0!==i.converter?.toAttribute?i.converter:u).toAttribute(s,i.type);this._$Em=t,null==h?this.removeAttribute(e):this.setAttribute(e,h),this._$Em=null;}}_$AK(t,s){const i=this.constructor,e=i._$Eh.get(t);if(void 0!==e&&this._$Em!==e){const t=i.getPropertyOptions(e),h="function"==typeof t.converter?{fromAttribute:t.converter}:void 0!==t.converter?.fromAttribute?t.converter:u;this._$Em=e;const r=h.fromAttribute(s,t.type);this[e]=r??this._$Ej?.get(e)??r,this._$Em=null;}}requestUpdate(t,s,i){if(void 0!==t){const e=this.constructor,h=this[t];if(i??=e.getPropertyOptions(t),!((i.hasChanged??f)(h,s)||i.useDefault&&i.reflect&&h===this._$Ej?.get(t)&&!this.hasAttribute(e._$Eu(t,i))))return;this.C(t,s,i);} false===this.isUpdatePending&&(this._$ES=this._$EP());}C(t,s,{useDefault:i,reflect:e,wrapped:h},r){i&&!(this._$Ej??=new Map).has(t)&&(this._$Ej.set(t,r??s??this[t]),true!==h||void 0!==r)||(this._$AL.has(t)||(this.hasUpdated||i||(s=void 0),this._$AL.set(t,s)),true===e&&this._$Em!==t&&(this._$Eq??=new Set).add(t));}async _$EP(){this.isUpdatePending=true;try{await this._$ES;}catch(t){Promise.reject(t);}const t=this.scheduleUpdate();return null!=t&&await t,!this.isUpdatePending}scheduleUpdate(){return this.performUpdate()}performUpdate(){if(!this.isUpdatePending)return;if(!this.hasUpdated){if(this.renderRoot??=this.createRenderRoot(),this._$Ep){for(const[t,s]of this._$Ep)this[t]=s;this._$Ep=void 0;}const t=this.constructor.elementProperties;if(t.size>0)for(const[s,i]of t){const{wrapped:t}=i,e=this[s];true!==t||this._$AL.has(s)||void 0===e||this.C(s,void 0,i,e);}}let t=false;const s=this._$AL;try{t=this.shouldUpdate(s),t?(this.willUpdate(s),this._$EO?.forEach((t=>t.hostUpdate?.())),this.update(s)):this._$EM();}catch(s){throw t=false,this._$EM(),s}t&&this._$AE(s);}willUpdate(t){}_$AE(t){this._$EO?.forEach((t=>t.hostUpdated?.())),this.hasUpdated||(this.hasUpdated=true,this.firstUpdated(t)),this.updated(t);}_$EM(){this._$AL=new Map,this.isUpdatePending=false;}get updateComplete(){return this.getUpdateComplete()}getUpdateComplete(){return this._$ES}shouldUpdate(t){return true}update(t){this._$Eq&&=this._$Eq.forEach((t=>this._$ET(t,this[t]))),this._$EM();}updated(t){}firstUpdated(t){}}y.elementStyles=[],y.shadowRootOptions={mode:"open"},y[d("elementProperties")]=new Map,y[d("finalized")]=new Map,p?.({ReactiveElement:y}),(a.reactiveElementVersions??=[]).push("2.1.1");
93
+ */
94
+ const {
95
+ is: i,
96
+ defineProperty: e,
97
+ getOwnPropertyDescriptor: h,
98
+ getOwnPropertyNames: r$1,
99
+ getOwnPropertySymbols: o$1,
100
+ getPrototypeOf: n$1
101
+ } = Object,
102
+ a = globalThis,
103
+ c = a.trustedTypes,
104
+ l = c ? c.emptyScript : "",
105
+ p = a.reactiveElementPolyfillSupport,
106
+ d = (t, s) => t,
107
+ u = {
108
+ toAttribute(t, s) {
109
+ switch (s) {
110
+ case Boolean:
111
+ t = t ? l : null;
112
+ break;
113
+ case Object:
114
+ case Array:
115
+ t = null == t ? t : JSON.stringify(t);
116
+ }
117
+ return t;
118
+ },
119
+ fromAttribute(t, s) {
120
+ let i = t;
121
+ switch (s) {
122
+ case Boolean:
123
+ i = null !== t;
124
+ break;
125
+ case Number:
126
+ i = null === t ? null : Number(t);
127
+ break;
128
+ case Object:
129
+ case Array:
130
+ try {
131
+ i = JSON.parse(t);
132
+ } catch (t) {
133
+ i = null;
134
+ }
135
+ }
136
+ return i;
137
+ }
138
+ },
139
+ f = (t, s) => !i(t, s),
140
+ b = {
141
+ attribute: true,
142
+ type: String,
143
+ converter: u,
144
+ reflect: false,
145
+ useDefault: false,
146
+ hasChanged: f
147
+ };
148
+ Symbol.metadata ??= Symbol("metadata"), a.litPropertyMetadata ??= new WeakMap();
149
+ class y extends HTMLElement {
150
+ static addInitializer(t) {
151
+ this._$Ei(), (this.l ??= []).push(t);
152
+ }
153
+ static get observedAttributes() {
154
+ return this.finalize(), this._$Eh && [...this._$Eh.keys()];
155
+ }
156
+ static createProperty(t, s = b) {
157
+ if (s.state && (s.attribute = false), this._$Ei(), this.prototype.hasOwnProperty(t) && ((s = Object.create(s)).wrapped = true), this.elementProperties.set(t, s), !s.noAccessor) {
158
+ const i = Symbol(),
159
+ h = this.getPropertyDescriptor(t, i, s);
160
+ void 0 !== h && e(this.prototype, t, h);
161
+ }
162
+ }
163
+ static getPropertyDescriptor(t, s, i) {
164
+ const {
165
+ get: e,
166
+ set: r
167
+ } = h(this.prototype, t) ?? {
168
+ get() {
169
+ return this[s];
170
+ },
171
+ set(t) {
172
+ this[s] = t;
173
+ }
174
+ };
175
+ return {
176
+ get: e,
177
+ set(s) {
178
+ const h = e?.call(this);
179
+ r?.call(this, s), this.requestUpdate(t, h, i);
180
+ },
181
+ configurable: true,
182
+ enumerable: true
183
+ };
184
+ }
185
+ static getPropertyOptions(t) {
186
+ return this.elementProperties.get(t) ?? b;
187
+ }
188
+ static _$Ei() {
189
+ if (this.hasOwnProperty(d("elementProperties"))) return;
190
+ const t = n$1(this);
191
+ t.finalize(), void 0 !== t.l && (this.l = [...t.l]), this.elementProperties = new Map(t.elementProperties);
192
+ }
193
+ static finalize() {
194
+ if (this.hasOwnProperty(d("finalized"))) return;
195
+ if (this.finalized = true, this._$Ei(), this.hasOwnProperty(d("properties"))) {
196
+ const t = this.properties,
197
+ s = [...r$1(t), ...o$1(t)];
198
+ for (const i of s) this.createProperty(i, t[i]);
199
+ }
200
+ const t = this[Symbol.metadata];
201
+ if (null !== t) {
202
+ const s = litPropertyMetadata.get(t);
203
+ if (void 0 !== s) for (const [t, i] of s) this.elementProperties.set(t, i);
204
+ }
205
+ this._$Eh = new Map();
206
+ for (const [t, s] of this.elementProperties) {
207
+ const i = this._$Eu(t, s);
208
+ void 0 !== i && this._$Eh.set(i, t);
209
+ }
210
+ this.elementStyles = this.finalizeStyles(this.styles);
211
+ }
212
+ static finalizeStyles(s) {
213
+ const i = [];
214
+ if (Array.isArray(s)) {
215
+ const e = new Set(s.flat(1 / 0).reverse());
216
+ for (const s of e) i.unshift(c$1(s));
217
+ } else void 0 !== s && i.push(c$1(s));
218
+ return i;
219
+ }
220
+ static _$Eu(t, s) {
221
+ const i = s.attribute;
222
+ return false === i ? void 0 : "string" == typeof i ? i : "string" == typeof t ? t.toLowerCase() : void 0;
223
+ }
224
+ constructor() {
225
+ super(), this._$Ep = void 0, this.isUpdatePending = false, this.hasUpdated = false, this._$Em = null, this._$Ev();
226
+ }
227
+ _$Ev() {
228
+ this._$ES = new Promise(t => this.enableUpdating = t), this._$AL = new Map(), this._$E_(), this.requestUpdate(), this.constructor.l?.forEach(t => t(this));
229
+ }
230
+ addController(t) {
231
+ (this._$EO ??= new Set()).add(t), void 0 !== this.renderRoot && this.isConnected && t.hostConnected?.();
232
+ }
233
+ removeController(t) {
234
+ this._$EO?.delete(t);
235
+ }
236
+ _$E_() {
237
+ const t = new Map(),
238
+ s = this.constructor.elementProperties;
239
+ for (const i of s.keys()) this.hasOwnProperty(i) && (t.set(i, this[i]), delete this[i]);
240
+ t.size > 0 && (this._$Ep = t);
241
+ }
242
+ createRenderRoot() {
243
+ const t = this.shadowRoot ?? this.attachShadow(this.constructor.shadowRootOptions);
244
+ return S(t, this.constructor.elementStyles), t;
245
+ }
246
+ connectedCallback() {
247
+ this.renderRoot ??= this.createRenderRoot(), this.enableUpdating(true), this._$EO?.forEach(t => t.hostConnected?.());
248
+ }
249
+ enableUpdating(t) {}
250
+ disconnectedCallback() {
251
+ this._$EO?.forEach(t => t.hostDisconnected?.());
252
+ }
253
+ attributeChangedCallback(t, s, i) {
254
+ this._$AK(t, i);
255
+ }
256
+ _$ET(t, s) {
257
+ const i = this.constructor.elementProperties.get(t),
258
+ e = this.constructor._$Eu(t, i);
259
+ if (void 0 !== e && true === i.reflect) {
260
+ const h = (void 0 !== i.converter?.toAttribute ? i.converter : u).toAttribute(s, i.type);
261
+ this._$Em = t, null == h ? this.removeAttribute(e) : this.setAttribute(e, h), this._$Em = null;
262
+ }
263
+ }
264
+ _$AK(t, s) {
265
+ const i = this.constructor,
266
+ e = i._$Eh.get(t);
267
+ if (void 0 !== e && this._$Em !== e) {
268
+ const t = i.getPropertyOptions(e),
269
+ h = "function" == typeof t.converter ? {
270
+ fromAttribute: t.converter
271
+ } : void 0 !== t.converter?.fromAttribute ? t.converter : u;
272
+ this._$Em = e;
273
+ const r = h.fromAttribute(s, t.type);
274
+ this[e] = r ?? this._$Ej?.get(e) ?? r, this._$Em = null;
275
+ }
276
+ }
277
+ requestUpdate(t, s, i) {
278
+ if (void 0 !== t) {
279
+ const e = this.constructor,
280
+ h = this[t];
281
+ if (i ??= e.getPropertyOptions(t), !((i.hasChanged ?? f)(h, s) || i.useDefault && i.reflect && h === this._$Ej?.get(t) && !this.hasAttribute(e._$Eu(t, i)))) return;
282
+ this.C(t, s, i);
283
+ }
284
+ false === this.isUpdatePending && (this._$ES = this._$EP());
285
+ }
286
+ C(t, s, {
287
+ useDefault: i,
288
+ reflect: e,
289
+ wrapped: h
290
+ }, r) {
291
+ i && !(this._$Ej ??= new Map()).has(t) && (this._$Ej.set(t, r ?? s ?? this[t]), true !== h || void 0 !== r) || (this._$AL.has(t) || (this.hasUpdated || i || (s = void 0), this._$AL.set(t, s)), true === e && this._$Em !== t && (this._$Eq ??= new Set()).add(t));
292
+ }
293
+ async _$EP() {
294
+ this.isUpdatePending = true;
295
+ try {
296
+ await this._$ES;
297
+ } catch (t) {
298
+ Promise.reject(t);
299
+ }
300
+ const t = this.scheduleUpdate();
301
+ return null != t && (await t), !this.isUpdatePending;
302
+ }
303
+ scheduleUpdate() {
304
+ return this.performUpdate();
305
+ }
306
+ performUpdate() {
307
+ if (!this.isUpdatePending) return;
308
+ if (!this.hasUpdated) {
309
+ if (this.renderRoot ??= this.createRenderRoot(), this._$Ep) {
310
+ for (const [t, s] of this._$Ep) this[t] = s;
311
+ this._$Ep = void 0;
312
+ }
313
+ const t = this.constructor.elementProperties;
314
+ if (t.size > 0) for (const [s, i] of t) {
315
+ const {
316
+ wrapped: t
317
+ } = i,
318
+ e = this[s];
319
+ true !== t || this._$AL.has(s) || void 0 === e || this.C(s, void 0, i, e);
320
+ }
321
+ }
322
+ let t = false;
323
+ const s = this._$AL;
324
+ try {
325
+ t = this.shouldUpdate(s), t ? (this.willUpdate(s), this._$EO?.forEach(t => t.hostUpdate?.()), this.update(s)) : this._$EM();
326
+ } catch (s) {
327
+ throw t = false, this._$EM(), s;
328
+ }
329
+ t && this._$AE(s);
330
+ }
331
+ willUpdate(t) {}
332
+ _$AE(t) {
333
+ this._$EO?.forEach(t => t.hostUpdated?.()), this.hasUpdated || (this.hasUpdated = true, this.firstUpdated(t)), this.updated(t);
334
+ }
335
+ _$EM() {
336
+ this._$AL = new Map(), this.isUpdatePending = false;
337
+ }
338
+ get updateComplete() {
339
+ return this.getUpdateComplete();
340
+ }
341
+ getUpdateComplete() {
342
+ return this._$ES;
343
+ }
344
+ shouldUpdate(t) {
345
+ return true;
346
+ }
347
+ update(t) {
348
+ this._$Eq &&= this._$Eq.forEach(t => this._$ET(t, this[t])), this._$EM();
349
+ }
350
+ updated(t) {}
351
+ firstUpdated(t) {}
352
+ }
353
+ y.elementStyles = [], y.shadowRootOptions = {
354
+ mode: "open"
355
+ }, y[d("elementProperties")] = new Map(), y[d("finalized")] = new Map(), p?.({
356
+ ReactiveElement: y
357
+ }), (a.reactiveElementVersions ??= []).push("2.1.1");
57
358
 
58
359
  /**
59
360
  * @license
60
361
  * Copyright 2017 Google LLC
61
362
  * SPDX-License-Identifier: BSD-3-Clause
62
- */const o={attribute:true,type:String,converter:u,reflect:false,hasChanged:f},r=(t=o,e,r)=>{const{kind:n,metadata:i}=r;let s=globalThis.litPropertyMetadata.get(i);if(void 0===s&&globalThis.litPropertyMetadata.set(i,s=new Map),"setter"===n&&((t=Object.create(t)).wrapped=true),s.set(r.name,t),"accessor"===n){const{name:o}=r;return {set(r){const n=e.get.call(this);e.set.call(this,r),this.requestUpdate(o,n,t);},init(e){return void 0!==e&&this.C(o,void 0,t,e),e}}}if("setter"===n){const{name:o}=r;return function(r){const n=this[o];e.call(this,r),this.requestUpdate(o,n,t);}}throw Error("Unsupported decorator location: "+n)};function n(t){return (e,o)=>"object"==typeof o?r(t,e,o):((t,e,o)=>{const r=e.hasOwnProperty(o);return e.constructor.createProperty(o,t),r?Object.getOwnPropertyDescriptor(e,o):void 0})(t,e,o)}
363
+ */
364
+ const o = {
365
+ attribute: true,
366
+ type: String,
367
+ converter: u,
368
+ reflect: false,
369
+ hasChanged: f
370
+ },
371
+ r = (t = o, e, r) => {
372
+ const {
373
+ kind: n,
374
+ metadata: i
375
+ } = r;
376
+ let s = globalThis.litPropertyMetadata.get(i);
377
+ if (void 0 === s && globalThis.litPropertyMetadata.set(i, s = new Map()), "setter" === n && ((t = Object.create(t)).wrapped = true), s.set(r.name, t), "accessor" === n) {
378
+ const {
379
+ name: o
380
+ } = r;
381
+ return {
382
+ set(r) {
383
+ const n = e.get.call(this);
384
+ e.set.call(this, r), this.requestUpdate(o, n, t);
385
+ },
386
+ init(e) {
387
+ return void 0 !== e && this.C(o, void 0, t, e), e;
388
+ }
389
+ };
390
+ }
391
+ if ("setter" === n) {
392
+ const {
393
+ name: o
394
+ } = r;
395
+ return function (r) {
396
+ const n = this[o];
397
+ e.call(this, r), this.requestUpdate(o, n, t);
398
+ };
399
+ }
400
+ throw Error("Unsupported decorator location: " + n);
401
+ };
402
+ function n(t) {
403
+ return (e, o) => "object" == typeof o ? r(t, e, o) : ((t, e, o) => {
404
+ const r = e.hasOwnProperty(o);
405
+ return e.constructor.createProperty(o, t), r ? Object.getOwnPropertyDescriptor(e, o) : void 0;
406
+ })(t, e, o);
407
+ }
63
408
 
64
409
  /**
65
410
  * A heading to a page or section.
@@ -200,202 +545,53 @@ const t=globalThis,e$1=t.ShadowRoot&&(void 0===t.ShadyCSS||t.ShadyCSS.nativeShad
200
545
  * @cssprop --md-sys-typescale-emphasized-label-small-line-height - Line height for emphasized Label Small text
201
546
  */
202
547
  let M3eHeadingElement = class M3eHeadingElement extends LitElement {
203
- constructor() {
204
- super(...arguments);
205
- /**
206
- * Whether the heading uses an emphasized typescale.
207
- * @default false
208
- */
209
- this.emphasized = false;
210
- /**
211
- * The appearance variant of the heading.
212
- * @default "display"
213
- */
214
- this.variant = "display";
215
- /**
216
- * The size of the heading.
217
- * @default "medium"
218
- */
219
- this.size = "medium";
220
- }
221
- /** @inheritdoc */
222
- update(changedProperties) {
223
- super.update(changedProperties);
224
- if (changedProperties.has("level")) {
225
- this.ariaLevel = this.level !== undefined ? `${this.level}` : null;
226
- this.role = this.ariaLevel ? "heading" : null;
227
- }
228
- }
229
- /** @inheritdoc */
230
- render() {
231
- return html `<slot></slot>`;
548
+ constructor() {
549
+ super(...arguments);
550
+ /**
551
+ * Whether the heading uses an emphasized typescale.
552
+ * @default false
553
+ */
554
+ this.emphasized = false;
555
+ /**
556
+ * The appearance variant of the heading.
557
+ * @default "display"
558
+ */
559
+ this.variant = "display";
560
+ /**
561
+ * The size of the heading.
562
+ * @default "medium"
563
+ */
564
+ this.size = "medium";
565
+ }
566
+ /** @inheritdoc */
567
+ update(changedProperties) {
568
+ super.update(changedProperties);
569
+ if (changedProperties.has("level")) {
570
+ this.ariaLevel = this.level !== undefined ? `${this.level}` : null;
571
+ this.role = this.ariaLevel ? "heading" : null;
232
572
  }
573
+ }
574
+ /** @inheritdoc */
575
+ render() {
576
+ return html`<slot></slot>`;
577
+ }
233
578
  };
234
579
  /** The styles of the element. */
235
- M3eHeadingElement.styles = css `
236
- :host {
237
- display: block;
238
- }
239
- :host([variant="display"][size="large"]:not([emphasized])) {
240
- font-size: ${DesignToken.typescale.standard.display.large.fontSize};
241
- font-weight: ${DesignToken.typescale.standard.display.large.fontWeight};
242
- line-height: ${DesignToken.typescale.standard.display.large.lineHeight};
243
- letter-spacing: ${DesignToken.typescale.standard.display.large.tracking};
244
- }
245
- :host([variant="display"][size="medium"]:not([emphasized])) {
246
- font-size: ${DesignToken.typescale.standard.display.medium.fontSize};
247
- font-weight: ${DesignToken.typescale.standard.display.medium.fontWeight};
248
- line-height: ${DesignToken.typescale.standard.display.medium.lineHeight};
249
- letter-spacing: ${DesignToken.typescale.standard.display.medium.tracking};
250
- }
251
- :host([variant="display"][size="small"]:not([emphasized])) {
252
- font-size: ${DesignToken.typescale.standard.display.small.fontSize};
253
- font-weight: ${DesignToken.typescale.standard.display.small.fontWeight};
254
- line-height: ${DesignToken.typescale.standard.display.small.lineHeight};
255
- letter-spacing: ${DesignToken.typescale.standard.display.small.tracking};
256
- }
257
- :host([variant="headline"][size="large"]:not([emphasized])) {
258
- font-size: ${DesignToken.typescale.standard.headline.large.fontSize};
259
- font-weight: ${DesignToken.typescale.standard.headline.large.fontWeight};
260
- line-height: ${DesignToken.typescale.standard.headline.large.lineHeight};
261
- letter-spacing: ${DesignToken.typescale.standard.headline.large.tracking};
262
- }
263
- :host([variant="headline"][size="medium"]:not([emphasized])) {
264
- font-size: ${DesignToken.typescale.standard.headline.medium.fontSize};
265
- font-weight: ${DesignToken.typescale.standard.headline.medium.fontWeight};
266
- line-height: ${DesignToken.typescale.standard.headline.medium.lineHeight};
267
- letter-spacing: ${DesignToken.typescale.standard.headline.medium.tracking};
268
- }
269
- :host([variant="headline"][size="small"]:not([emphasized])) {
270
- font-size: ${DesignToken.typescale.standard.headline.small.fontSize};
271
- font-weight: ${DesignToken.typescale.standard.headline.small.fontWeight};
272
- line-height: ${DesignToken.typescale.standard.headline.small.lineHeight};
273
- letter-spacing: ${DesignToken.typescale.standard.headline.small.tracking};
274
- }
275
- :host([variant="title"][size="large"]:not([emphasized])) {
276
- font-size: ${DesignToken.typescale.standard.title.large.fontSize};
277
- font-weight: ${DesignToken.typescale.standard.title.large.fontWeight};
278
- line-height: ${DesignToken.typescale.standard.title.large.lineHeight};
279
- letter-spacing: ${DesignToken.typescale.standard.title.large.tracking};
280
- }
281
- :host([variant="title"][size="medium"]:not([emphasized])) {
282
- font-size: ${DesignToken.typescale.standard.title.medium.fontSize};
283
- font-weight: ${DesignToken.typescale.standard.title.medium.fontWeight};
284
- line-height: ${DesignToken.typescale.standard.title.medium.lineHeight};
285
- letter-spacing: ${DesignToken.typescale.standard.title.medium.tracking};
286
- }
287
- :host([variant="title"][size="small"]:not([emphasized])) {
288
- font-size: ${DesignToken.typescale.standard.title.small.fontSize};
289
- font-weight: ${DesignToken.typescale.standard.title.small.fontWeight};
290
- line-height: ${DesignToken.typescale.standard.title.small.lineHeight};
291
- letter-spacing: ${DesignToken.typescale.standard.title.small.tracking};
292
- }
293
- :host([variant="label"][size="large"]:not([emphasized])) {
294
- font-size: ${DesignToken.typescale.standard.label.large.fontSize};
295
- font-weight: ${DesignToken.typescale.standard.label.large.fontWeight};
296
- line-height: ${DesignToken.typescale.standard.label.large.lineHeight};
297
- letter-spacing: ${DesignToken.typescale.standard.label.large.tracking};
298
- }
299
- :host([variant="label"][size="medium"]:not([emphasized])) {
300
- font-size: ${DesignToken.typescale.standard.label.medium.fontSize};
301
- font-weight: ${DesignToken.typescale.standard.label.medium.fontWeight};
302
- line-height: ${DesignToken.typescale.standard.label.medium.lineHeight};
303
- letter-spacing: ${DesignToken.typescale.standard.label.medium.tracking};
304
- }
305
- :host([variant="label"][size="small"]:not([emphasized])) {
306
- font-size: ${DesignToken.typescale.standard.label.small.fontSize};
307
- font-weight: ${DesignToken.typescale.standard.label.small.fontWeight};
308
- line-height: ${DesignToken.typescale.standard.label.small.lineHeight};
309
- letter-spacing: ${DesignToken.typescale.standard.label.small.tracking};
310
- }
311
- :host([variant="display"][size="large"][emphasized]) {
312
- font-size: ${DesignToken.typescale.emphasized.display.large.fontSize};
313
- font-weight: ${DesignToken.typescale.emphasized.display.large.fontWeight};
314
- line-height: ${DesignToken.typescale.emphasized.display.large.lineHeight};
315
- letter-spacing: ${DesignToken.typescale.emphasized.display.large.tracking};
316
- }
317
- :host([variant="display"][size="medium"][emphasized]) {
318
- font-size: ${DesignToken.typescale.emphasized.display.medium.fontSize};
319
- font-weight: ${DesignToken.typescale.emphasized.display.medium.fontWeight};
320
- line-height: ${DesignToken.typescale.emphasized.display.medium.lineHeight};
321
- letter-spacing: ${DesignToken.typescale.emphasized.display.medium.tracking};
322
- }
323
- :host([variant="display"][size="small"][emphasized]) {
324
- font-size: ${DesignToken.typescale.emphasized.display.small.fontSize};
325
- font-weight: ${DesignToken.typescale.emphasized.display.small.fontWeight};
326
- line-height: ${DesignToken.typescale.emphasized.display.small.lineHeight};
327
- letter-spacing: ${DesignToken.typescale.emphasized.display.small.tracking};
328
- }
329
- :host([variant="headline"][size="large"][emphasized]) {
330
- font-size: ${DesignToken.typescale.emphasized.headline.large.fontSize};
331
- font-weight: ${DesignToken.typescale.emphasized.headline.large.fontWeight};
332
- line-height: ${DesignToken.typescale.emphasized.headline.large.lineHeight};
333
- letter-spacing: ${DesignToken.typescale.emphasized.headline.large.tracking};
334
- }
335
- :host([variant="headline"][size="medium"][emphasized]) {
336
- font-size: ${DesignToken.typescale.emphasized.headline.medium.fontSize};
337
- font-weight: ${DesignToken.typescale.emphasized.headline.medium.fontWeight};
338
- line-height: ${DesignToken.typescale.emphasized.headline.medium.lineHeight};
339
- letter-spacing: ${DesignToken.typescale.emphasized.headline.medium.tracking};
340
- }
341
- :host([variant="headline"][size="small"][emphasized]) {
342
- font-size: ${DesignToken.typescale.emphasized.headline.small.fontSize};
343
- font-weight: ${DesignToken.typescale.emphasized.headline.small.fontWeight};
344
- line-height: ${DesignToken.typescale.emphasized.headline.small.lineHeight};
345
- letter-spacing: ${DesignToken.typescale.emphasized.headline.small.tracking};
346
- }
347
- :host([variant="title"][size="large"][emphasized]) {
348
- font-size: ${DesignToken.typescale.emphasized.title.large.fontSize};
349
- font-weight: ${DesignToken.typescale.emphasized.title.large.fontWeight};
350
- line-height: ${DesignToken.typescale.emphasized.title.large.lineHeight};
351
- letter-spacing: ${DesignToken.typescale.emphasized.title.large.tracking};
352
- }
353
- :host([variant="title"][size="medium"][emphasized]) {
354
- font-size: ${DesignToken.typescale.emphasized.title.medium.fontSize};
355
- font-weight: ${DesignToken.typescale.emphasized.title.medium.fontWeight};
356
- line-height: ${DesignToken.typescale.emphasized.title.medium.lineHeight};
357
- letter-spacing: ${DesignToken.typescale.emphasized.title.medium.tracking};
358
- }
359
- :host([variant="title"][size="small"][emphasized]) {
360
- font-size: ${DesignToken.typescale.emphasized.title.small.fontSize};
361
- font-weight: ${DesignToken.typescale.emphasized.title.small.fontWeight};
362
- line-height: ${DesignToken.typescale.emphasized.title.small.lineHeight};
363
- letter-spacing: ${DesignToken.typescale.emphasized.title.small.tracking};
364
- }
365
- :host([variant="label"][size="large"][emphasized]) {
366
- font-size: ${DesignToken.typescale.emphasized.label.large.fontSize};
367
- font-weight: ${DesignToken.typescale.emphasized.label.large.fontWeight};
368
- line-height: ${DesignToken.typescale.emphasized.label.large.lineHeight};
369
- letter-spacing: ${DesignToken.typescale.emphasized.label.large.tracking};
370
- }
371
- :host([variant="label"][size="medium"][emphasized]) {
372
- font-size: ${DesignToken.typescale.emphasized.label.medium.fontSize};
373
- font-weight: ${DesignToken.typescale.emphasized.label.medium.fontWeight};
374
- line-height: ${DesignToken.typescale.emphasized.label.medium.lineHeight};
375
- letter-spacing: ${DesignToken.typescale.emphasized.label.medium.tracking};
376
- }
377
- :host([variant="label"][size="small"][emphasized]) {
378
- font-size: ${DesignToken.typescale.emphasized.label.small.fontSize};
379
- font-weight: ${DesignToken.typescale.emphasized.label.small.fontWeight};
380
- line-height: ${DesignToken.typescale.emphasized.label.small.lineHeight};
381
- letter-spacing: ${DesignToken.typescale.emphasized.label.small.tracking};
382
- }
383
- `;
384
- __decorate([
385
- n({ type: Boolean, reflect: true })
386
- ], M3eHeadingElement.prototype, "emphasized", void 0);
387
- __decorate([
388
- n({ reflect: true })
389
- ], M3eHeadingElement.prototype, "variant", void 0);
390
- __decorate([
391
- n({ reflect: true })
392
- ], M3eHeadingElement.prototype, "size", void 0);
393
- __decorate([
394
- n({ type: Number })
395
- ], M3eHeadingElement.prototype, "level", void 0);
396
- M3eHeadingElement = __decorate([
397
- t$1("m3e-heading")
398
- ], M3eHeadingElement);
580
+ M3eHeadingElement.styles = css`:host { display: block; } :host([variant="display"][size="large"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.display.large.fontSize}; font-weight: ${DesignToken.typescale.standard.display.large.fontWeight}; line-height: ${DesignToken.typescale.standard.display.large.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.display.large.tracking}; } :host([variant="display"][size="medium"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.display.medium.fontSize}; font-weight: ${DesignToken.typescale.standard.display.medium.fontWeight}; line-height: ${DesignToken.typescale.standard.display.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.display.medium.tracking}; } :host([variant="display"][size="small"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.display.small.fontSize}; font-weight: ${DesignToken.typescale.standard.display.small.fontWeight}; line-height: ${DesignToken.typescale.standard.display.small.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.display.small.tracking}; } :host([variant="headline"][size="large"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.headline.large.fontSize}; font-weight: ${DesignToken.typescale.standard.headline.large.fontWeight}; line-height: ${DesignToken.typescale.standard.headline.large.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.headline.large.tracking}; } :host([variant="headline"][size="medium"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.headline.medium.fontSize}; font-weight: ${DesignToken.typescale.standard.headline.medium.fontWeight}; line-height: ${DesignToken.typescale.standard.headline.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.headline.medium.tracking}; } :host([variant="headline"][size="small"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.headline.small.fontSize}; font-weight: ${DesignToken.typescale.standard.headline.small.fontWeight}; line-height: ${DesignToken.typescale.standard.headline.small.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.headline.small.tracking}; } :host([variant="title"][size="large"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.title.large.fontSize}; font-weight: ${DesignToken.typescale.standard.title.large.fontWeight}; line-height: ${DesignToken.typescale.standard.title.large.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.title.large.tracking}; } :host([variant="title"][size="medium"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.title.medium.fontSize}; font-weight: ${DesignToken.typescale.standard.title.medium.fontWeight}; line-height: ${DesignToken.typescale.standard.title.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.title.medium.tracking}; } :host([variant="title"][size="small"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.title.small.fontSize}; font-weight: ${DesignToken.typescale.standard.title.small.fontWeight}; line-height: ${DesignToken.typescale.standard.title.small.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.title.small.tracking}; } :host([variant="label"][size="large"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.label.large.fontSize}; font-weight: ${DesignToken.typescale.standard.label.large.fontWeight}; line-height: ${DesignToken.typescale.standard.label.large.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.label.large.tracking}; } :host([variant="label"][size="medium"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.label.medium.fontSize}; font-weight: ${DesignToken.typescale.standard.label.medium.fontWeight}; line-height: ${DesignToken.typescale.standard.label.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.label.medium.tracking}; } :host([variant="label"][size="small"]:not([emphasized])) { font-size: ${DesignToken.typescale.standard.label.small.fontSize}; font-weight: ${DesignToken.typescale.standard.label.small.fontWeight}; line-height: ${DesignToken.typescale.standard.label.small.lineHeight}; letter-spacing: ${DesignToken.typescale.standard.label.small.tracking}; } :host([variant="display"][size="large"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.display.large.fontSize}; font-weight: ${DesignToken.typescale.emphasized.display.large.fontWeight}; line-height: ${DesignToken.typescale.emphasized.display.large.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.display.large.tracking}; } :host([variant="display"][size="medium"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.display.medium.fontSize}; font-weight: ${DesignToken.typescale.emphasized.display.medium.fontWeight}; line-height: ${DesignToken.typescale.emphasized.display.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.display.medium.tracking}; } :host([variant="display"][size="small"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.display.small.fontSize}; font-weight: ${DesignToken.typescale.emphasized.display.small.fontWeight}; line-height: ${DesignToken.typescale.emphasized.display.small.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.display.small.tracking}; } :host([variant="headline"][size="large"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.headline.large.fontSize}; font-weight: ${DesignToken.typescale.emphasized.headline.large.fontWeight}; line-height: ${DesignToken.typescale.emphasized.headline.large.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.headline.large.tracking}; } :host([variant="headline"][size="medium"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.headline.medium.fontSize}; font-weight: ${DesignToken.typescale.emphasized.headline.medium.fontWeight}; line-height: ${DesignToken.typescale.emphasized.headline.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.headline.medium.tracking}; } :host([variant="headline"][size="small"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.headline.small.fontSize}; font-weight: ${DesignToken.typescale.emphasized.headline.small.fontWeight}; line-height: ${DesignToken.typescale.emphasized.headline.small.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.headline.small.tracking}; } :host([variant="title"][size="large"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.title.large.fontSize}; font-weight: ${DesignToken.typescale.emphasized.title.large.fontWeight}; line-height: ${DesignToken.typescale.emphasized.title.large.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.title.large.tracking}; } :host([variant="title"][size="medium"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.title.medium.fontSize}; font-weight: ${DesignToken.typescale.emphasized.title.medium.fontWeight}; line-height: ${DesignToken.typescale.emphasized.title.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.title.medium.tracking}; } :host([variant="title"][size="small"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.title.small.fontSize}; font-weight: ${DesignToken.typescale.emphasized.title.small.fontWeight}; line-height: ${DesignToken.typescale.emphasized.title.small.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.title.small.tracking}; } :host([variant="label"][size="large"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.label.large.fontSize}; font-weight: ${DesignToken.typescale.emphasized.label.large.fontWeight}; line-height: ${DesignToken.typescale.emphasized.label.large.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.label.large.tracking}; } :host([variant="label"][size="medium"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.label.medium.fontSize}; font-weight: ${DesignToken.typescale.emphasized.label.medium.fontWeight}; line-height: ${DesignToken.typescale.emphasized.label.medium.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.label.medium.tracking}; } :host([variant="label"][size="small"][emphasized]) { font-size: ${DesignToken.typescale.emphasized.label.small.fontSize}; font-weight: ${DesignToken.typescale.emphasized.label.small.fontWeight}; line-height: ${DesignToken.typescale.emphasized.label.small.lineHeight}; letter-spacing: ${DesignToken.typescale.emphasized.label.small.tracking}; }`;
581
+ __decorate([n({
582
+ type: Boolean,
583
+ reflect: true
584
+ })], M3eHeadingElement.prototype, "emphasized", void 0);
585
+ __decorate([n({
586
+ reflect: true
587
+ })], M3eHeadingElement.prototype, "variant", void 0);
588
+ __decorate([n({
589
+ reflect: true
590
+ })], M3eHeadingElement.prototype, "size", void 0);
591
+ __decorate([n({
592
+ type: Number
593
+ })], M3eHeadingElement.prototype, "level", void 0);
594
+ M3eHeadingElement = __decorate([t$1("m3e-heading")], M3eHeadingElement);
399
595
 
400
596
  export { M3eHeadingElement };
401
597
  //# sourceMappingURL=index.js.map