q2-tecton-elements 1.73.0 → 1.73.1

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 (94) hide show
  1. package/dist/bundle-report.json +16 -21
  2. package/dist/cjs/q2-avatar.cjs.entry.js +34 -1
  3. package/dist/cjs/q2-badge_2.cjs.entry.js +1 -1
  4. package/dist/cjs/q2-checkbox_2.cjs.entry.js +1 -1
  5. package/dist/cjs/q2-message.cjs.entry.js +1 -1
  6. package/dist/cjs/q2-pagination.cjs.entry.js +11 -5
  7. package/dist/cjs/q2-pill.cjs.entry.js +2 -2
  8. package/dist/cjs/q2-relative-time.cjs.entry.js +1 -1
  9. package/dist/cjs/q2-resize-observer.cjs.entry.js +1 -1
  10. package/dist/cjs/q2-search.cjs.entry.js +1 -1
  11. package/dist/cjs/q2-section.cjs.entry.js +2 -2
  12. package/dist/cjs/q2-stepper-pane.cjs.entry.js +1 -1
  13. package/dist/cjs/q2-stepper-vertical.cjs.entry.js +1 -1
  14. package/dist/cjs/q2-stepper.cjs.entry.js +1 -1
  15. package/dist/cjs/q2-surface.cjs.entry.js +1 -1
  16. package/dist/cjs/q2-tab-container.cjs.entry.js +1 -1
  17. package/dist/cjs/q2-tab-pane.cjs.entry.js +1 -1
  18. package/dist/cjs/tecton-tab-pane.cjs.entry.js +2 -2
  19. package/dist/collection/components/q2-avatar/q2-avatar.js +34 -1
  20. package/dist/collection/components/q2-avatar/test/q2-avatar-test.vr.js +79 -4
  21. package/dist/collection/components/q2-input/formatting/phone-number-formats.js +1 -1
  22. package/dist/collection/components/q2-message/q2-message.css +1 -1
  23. package/dist/collection/components/q2-message/test/q2-message-test.vr.js +11 -2
  24. package/dist/collection/components/q2-pagination/q2-pagination.css +17 -0
  25. package/dist/collection/components/q2-pagination/q2-pagination.js +10 -4
  26. package/dist/collection/components/q2-pagination/test/q2-pagination-test.vr.js +39 -0
  27. package/dist/collection/components/q2-pill/q2-pill.css +14 -10
  28. package/dist/collection/components/q2-pill/q2-pill.js +1 -1
  29. package/dist/collection/components/q2-pill/test/q2-pill-test.vr.js +25 -0
  30. package/dist/collection/components/q2-relative-time/q2-relative-time.js +1 -1
  31. package/dist/collection/components/q2-resize-observer/q2-resize-observer.js +1 -1
  32. package/dist/collection/components/q2-search/q2-search.js +1 -1
  33. package/dist/collection/components/q2-section/q2-section.js +2 -2
  34. package/dist/collection/components/q2-stepper/q2-stepper.js +1 -1
  35. package/dist/collection/components/q2-stepper-pane/q2-stepper-pane.js +1 -1
  36. package/dist/collection/components/q2-stepper-vertical/q2-stepper-vertical.js +1 -1
  37. package/dist/collection/components/q2-surface/q2-surface.js +1 -1
  38. package/dist/collection/components/q2-tab-container/q2-tab-container.js +1 -1
  39. package/dist/collection/components/q2-tab-pane/q2-tab-pane.js +1 -1
  40. package/dist/collection/components/q2-tag/q2-tag.js +1 -1
  41. package/dist/collection/components/tecton-tab-pane/tecton-tab-pane.js +2 -2
  42. package/dist/components/q2-avatar2.js +41 -27
  43. package/dist/components/q2-input2.js +1 -1
  44. package/dist/components/q2-message2.js +1 -1
  45. package/dist/components/q2-pagination.js +37 -35
  46. package/dist/components/q2-pill.js +43 -40
  47. package/dist/components/q2-relative-time.js +1 -1
  48. package/dist/components/q2-resize-observer2.js +23 -23
  49. package/dist/components/q2-search.js +4 -4
  50. package/dist/components/q2-section.js +15 -15
  51. package/dist/components/q2-stepper-pane.js +29 -29
  52. package/dist/components/q2-stepper-vertical.js +4 -4
  53. package/dist/components/q2-stepper.js +12 -12
  54. package/dist/components/q2-surface.js +3 -3
  55. package/dist/components/q2-tab-container.js +16 -16
  56. package/dist/components/q2-tab-pane.js +6 -6
  57. package/dist/components/q2-tag2.js +5 -5
  58. package/dist/components/tecton-tab-pane.js +6 -6
  59. package/dist/esm/q2-avatar.entry.js +34 -1
  60. package/dist/esm/q2-badge_2.entry.js +1 -1
  61. package/dist/esm/q2-checkbox_2.entry.js +1 -1
  62. package/dist/esm/q2-message.entry.js +1 -1
  63. package/dist/esm/q2-pagination.entry.js +11 -5
  64. package/dist/esm/q2-pill.entry.js +2 -2
  65. package/dist/esm/q2-relative-time.entry.js +1 -1
  66. package/dist/esm/q2-resize-observer.entry.js +1 -1
  67. package/dist/esm/q2-search.entry.js +1 -1
  68. package/dist/esm/q2-section.entry.js +2 -2
  69. package/dist/esm/q2-stepper-pane.entry.js +1 -1
  70. package/dist/esm/q2-stepper-vertical.entry.js +1 -1
  71. package/dist/esm/q2-stepper.entry.js +1 -1
  72. package/dist/esm/q2-surface.entry.js +1 -1
  73. package/dist/esm/q2-tab-container.entry.js +1 -1
  74. package/dist/esm/q2-tab-pane.entry.js +1 -1
  75. package/dist/esm/tecton-tab-pane.entry.js +2 -2
  76. package/dist/q2-tecton-elements/q2-avatar.entry.js +24 -10
  77. package/dist/q2-tecton-elements/q2-badge_2.entry.js +1 -1
  78. package/dist/q2-tecton-elements/q2-checkbox_2.entry.js +5 -5
  79. package/dist/q2-tecton-elements/q2-message.entry.js +1 -1
  80. package/dist/q2-tecton-elements/q2-pagination.entry.js +51 -49
  81. package/dist/q2-tecton-elements/q2-pill.entry.js +38 -35
  82. package/dist/q2-tecton-elements/q2-relative-time.entry.js +4 -4
  83. package/dist/q2-tecton-elements/q2-resize-observer.entry.js +1 -1
  84. package/dist/q2-tecton-elements/q2-search.entry.js +30 -30
  85. package/dist/q2-tecton-elements/q2-section.entry.js +11 -11
  86. package/dist/q2-tecton-elements/q2-stepper-pane.entry.js +12 -12
  87. package/dist/q2-tecton-elements/q2-stepper-vertical.entry.js +4 -4
  88. package/dist/q2-tecton-elements/q2-stepper.entry.js +12 -12
  89. package/dist/q2-tecton-elements/q2-surface.entry.js +15 -15
  90. package/dist/q2-tecton-elements/q2-tab-container.entry.js +14 -14
  91. package/dist/q2-tecton-elements/q2-tab-pane.entry.js +4 -4
  92. package/dist/q2-tecton-elements/tecton-tab-pane.entry.js +9 -9
  93. package/dist/types/components/q2-avatar/q2-avatar.d.ts +5 -0
  94. package/package.json +3 -3
@@ -1,6 +1,6 @@
1
- import { proxyCustomElement as t, HTMLElement as o, createEvent as i, h as e, transformTag as r } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as t, HTMLElement as o, createEvent as i, h as e, transformTag as a } from "@stencil/core/internal/client";
2
2
 
3
- import { e as a, o as n, i as c, w as s, l } from "./index2.js";
3
+ import { e as r, o as n, i as c, w as s, l } from "./index2.js";
4
4
 
5
5
  import { m as p } from "./mirror-emit.js";
6
6
 
@@ -39,7 +39,7 @@ const f = t(class extends o {
39
39
  value: null,
40
40
  values: [],
41
41
  active: !1
42
- }), this.scheduledAfterRender.push(a);
42
+ }), this.scheduledAfterRender.push(r);
43
43
  }, this.determineOptionCount = async () => {
44
44
  if (this.optionList) {
45
45
  const t = await this.getOptionListOptions();
@@ -100,7 +100,7 @@ const f = t(class extends o {
100
100
  var o;
101
101
  await (null === (o = this.optionList) || void 0 === o ? void 0 : o.handleExternalKeydown(t));
102
102
  }, this.handleSelectionChanges = async t => {
103
- const {multiple: o} = this, {value: i = "", values: e = []} = t, r = o ? !!e.length : !!i;
103
+ const {multiple: o} = this, {value: i = "", values: e = []} = t, a = o ? !!e.length : !!i;
104
104
  if (!this.hostElement.onchange) if (o) this.selectedOptions = e, this.value = void 0; else {
105
105
  const t = await this.getOption(i);
106
106
  this.selectedOptions = t ? [ {
@@ -111,7 +111,7 @@ const f = t(class extends o {
111
111
  p(this, [ "change", "tctChange" ], {
112
112
  value: o ? void 0 : i,
113
113
  values: e,
114
- active: r
114
+ active: a
115
115
  });
116
116
  }, this.handleSlotKeydown = t => {
117
117
  var o;
@@ -151,8 +151,8 @@ const f = t(class extends o {
151
151
  const {selectedOptions: t = []} = this, o = t.map((t => t.value)), i = await this.getOptionListOptions();
152
152
  this.optionCount && (this.active = !!o.length), this.selectedOptionElements = (null == i ? void 0 : i.filter((t => o.includes(t.value)))) || [];
153
153
  }, this.updateSlotState = () => {
154
- const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'), r = t.shadowRoot.querySelector('slot[name="popover-bottom"]'), a = (null == e ? void 0 : e.assignedNodes().length) > 0, n = (null == r ? void 0 : r.assignedNodes().length) > 0;
155
- o !== a && (this.hasPopoverTop = a), i !== n && (this.hasPopoverBottom = n);
154
+ const {hostElement: t, hasPopoverTop: o, hasPopoverBottom: i} = this, e = t.shadowRoot.querySelector('slot[name="popover-top"]'), a = t.shadowRoot.querySelector('slot[name="popover-bottom"]'), r = (null == e ? void 0 : e.assignedNodes().length) > 0, n = (null == a ? void 0 : a.assignedNodes().length) > 0;
155
+ o !== r && (this.hasPopoverTop = r), i !== n && (this.hasPopoverBottom = n);
156
156
  };
157
157
  }
158
158
  // #endregion
@@ -224,14 +224,14 @@ const f = t(class extends o {
224
224
  // #region Watchers
225
225
  selectedOptionsChanged(t) {
226
226
  var o, i;
227
- const {multiple: e} = this, r = null !== (i = null === (o = null == t ? void 0 : t[0]) || void 0 === o ? void 0 : o.value) && void 0 !== i ? i : null;
228
- e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value === r ? this.updateSelectedOptionElements() : this.value = r;
227
+ const {multiple: e} = this, a = null !== (i = null === (o = null == t ? void 0 : t[0]) || void 0 === o ? void 0 : o.value) && void 0 !== i ? i : null;
228
+ e ? (this.value && (this.value = null), this.updateSelectedOptionElements()) : this.value === a ? this.updateSelectedOptionElements() : this.value = a;
229
229
  }
230
230
  async valueChanged(t, o, i) {
231
- var e, r;
232
- const {label: a, multiple: n, selectedOptions: c, value: s} = this, l = "value" === i ? t : s, p = "label" === i ? t : a;
231
+ var e, a;
232
+ const {label: r, multiple: n, selectedOptions: c, value: s} = this, l = "value" === i ? t : s, p = "label" === i ? t : r;
233
233
  if (n) return;
234
- const d = null !== (r = null === (e = null == c ? void 0 : c[0]) || void 0 === e ? void 0 : e.value) && void 0 !== r ? r : null;
234
+ const d = null !== (a = null === (e = null == c ? void 0 : c[0]) || void 0 === e ? void 0 : e.value) && void 0 !== a ? a : null;
235
235
  if ("value" === i && t === d) this.updateSelectedOptionElements(); else {
236
236
  const o = await this.getOption(t), {value: i, display: e} = o || {
237
237
  value: l,
@@ -246,21 +246,21 @@ const f = t(class extends o {
246
246
  // #endregion
247
247
  // #region Local Methods
248
248
  get buttonContent() {
249
- const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this, r = o.length;
250
- let a;
251
- if (i && 0 !== r) {
252
- if (1 !== r) {
253
- const t = l(o[0].display), i = " +" + (r - 1);
249
+ const {label: t, selectedOptionElements: o, optionCount: i, maxLength: e} = this, a = o.length;
250
+ let r;
251
+ if (i && 0 !== a) {
252
+ if (1 !== a) {
253
+ const t = l(o[0].display), i = " +" + (a - 1);
254
254
  return {
255
255
  text: `${t}${i}`,
256
256
  truncatedText: `${this._truncate(t, e)}${i}`
257
257
  };
258
258
  }
259
- a = l(o[0].display);
260
- } else a = l(t);
259
+ r = l(o[0].display);
260
+ } else r = l(t);
261
261
  return {
262
- text: a,
263
- truncatedText: this._truncate(a, e)
262
+ text: r,
263
+ truncatedText: this._truncate(r, e)
264
264
  };
265
265
  }
266
266
  _togglePopover() {
@@ -280,7 +280,7 @@ const f = t(class extends o {
280
280
  }, l("tecton.element.optionList.optionCount", [ this.optionCount ]));
281
281
  }
282
282
  renderIcon() {
283
- const {optionCount: t, active: o} = this, i = t && o, r = i || !t ? "close" : "chevron-down";
283
+ const {optionCount: t, active: o} = this, i = t && o, a = i || !t ? "close" : "chevron-down";
284
284
  return e(i ? "button" : "div", {
285
285
  class: "btn-close",
286
286
  onClick: i && this.clearSelectedOptions || void 0,
@@ -288,11 +288,11 @@ const f = t(class extends o {
288
288
  "aria-label": i && l("tecton.element.pill.clearSelection") || void 0,
289
289
  type: i ? "button" : void 0
290
290
  }, e("q2-icon", {
291
- type: r
291
+ type: a
292
292
  }));
293
293
  }
294
294
  render() {
295
- const {optionCount: t, active: o, open: i} = this, {text: r, truncatedText: a} = this.buttonContent, n = [ "btn-wrapper" ];
295
+ const {optionCount: t, active: o, open: i} = this, {text: a, truncatedText: r} = this.buttonContent, n = [ "btn-wrapper" ];
296
296
  return (t || o) && n.push("has-icon"), t && n.push("has-options"), e("click-elsewhere", {
297
297
  key: "8cba59cde3746d0397305512334eb56357e9e5d4",
298
298
  onChange: this.onClickElsewhere
@@ -319,14 +319,17 @@ const f = t(class extends o {
319
319
  "aria-roledescription": !t && "filter",
320
320
  "aria-controls": t ? "option-list" : void 0,
321
321
  "aria-expanded": t && "" + !!i || void 0,
322
- "aria-label": r,
322
+ "aria-label": a,
323
323
  "aria-pressed": t ? void 0 : "" + !!o,
324
324
  "aria-describedby": t ? "option-description" : void 0
325
325
  }, e("slot", {
326
326
  key: "e1f4c57b7526f714cf0242e101ec0f5c39ebafa5",
327
327
  name: "decorator"
328
- }), a)), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && e("q2-popover", {
329
- key: "2777b45efbd94516a633ca4ff1e2d6a452ecbd81",
328
+ }), e("span", {
329
+ key: "98a770f6f4fabe04d886f66d57e76a4febb31353",
330
+ class: "pill-label"
331
+ }, r))), this.renderIcon(), !!t && this.renderHiddenElement()), this.optionCount > 0 && e("q2-popover", {
332
+ key: "30fb581a9eeb008262bbb3fc4a82537f1b78af28",
330
333
  ref: t => this.popoverElement = t,
331
334
  controlElement: this.primaryBtn,
332
335
  open: this.open,
@@ -336,20 +339,20 @@ const f = t(class extends o {
336
339
  align: this.popoverAlignment,
337
340
  onFocusout: this.handleFocusOut
338
341
  }, e("div", {
339
- key: "54d2c1c8814be9265b4ed8092bd3360da76cc2b0",
342
+ key: "6fc858b2064b78b2ccaafd35aefaa2e4c9e1ea07",
340
343
  class: "popover-content"
341
344
  }, e("div", {
342
- key: "fb95b6f0ab78119f0bf944fa67ec0bcf391088dc",
345
+ key: "75134f4a5d4296f6f69a70197bf1bd450c05a8e0",
343
346
  ref: t => this.popoverTopContainer = t,
344
347
  class: "popover-top-container",
345
348
  tabindex: "-1",
346
349
  hidden: !this.hasPopoverTop,
347
350
  onKeyDown: this.handleSlotKeydown
348
351
  }, e("slot", {
349
- key: "8e522c96fa1241e7c05fbc989d59f71ec2bc1d98",
352
+ key: "f570a1a19b97bd7eb4b2ae38975db95ff1153b00",
350
353
  name: "popover-top"
351
354
  })), e("q2-option-list", {
352
- key: "5e7a827ac08395399e0b04fa9074f5b6a3fa1c48",
355
+ key: "aca9ff86903dcf5b4e5138541ac20dac68955fb7",
353
356
  type: "listbox",
354
357
  ref: t => this.optionList = t,
355
358
  id: "option-list",
@@ -360,16 +363,16 @@ const f = t(class extends o {
360
363
  onPopoverState: this.onPopoverState,
361
364
  label: l("tecton.element.optionList.label", [ this.optionListLabel ])
362
365
  }, e("slot", {
363
- key: "4197780a058b3937ac748b53aef6afc5eabd8c7a"
366
+ key: "89c5f3739c36206ceecb06245ba3052491b89898"
364
367
  })), e("div", {
365
- key: "78992c83515dcfe6acbf7e09a5efced2d65c1903",
368
+ key: "8f98c6b4a59c2c0675b5648aed4a1110f0136d87",
366
369
  ref: t => this.popoverBottomContainer = t,
367
370
  class: "popover-bottom-container",
368
371
  tabindex: "-1",
369
372
  hidden: !this.hasPopoverBottom,
370
373
  onKeyDown: this.handleSlotKeydown
371
374
  }, e("slot", {
372
- key: "553f959ec8b866111b2e5c5f9090d8ddee5fd208",
375
+ key: "75ef6c235c31755e0a5b9905db16e02ff8c4eea3",
373
376
  name: "popover-bottom"
374
377
  })))));
375
378
  }
@@ -390,7 +393,7 @@ const f = t(class extends o {
390
393
  };
391
394
  }
392
395
  static get style() {
393
- return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:inline-block;position:relative;line-height:0}:host(:not(:last-child)){margin-inline-end:var(--tct-pill-margin, var(--t-pill-margin, var(--app-scale-2x, 10px)))}q2-popover,.btn-wrapper{--comp-pill-min-height:var(--tct-pill-min-height, var(--t-pill-min-height, 44px));--comp-pill-btn-height:var(--tct-pill-btn-height, var(--t-pill-btn-height, 30px))}.popover-top-container{position:sticky;top:0;z-index:5}.popover-bottom-container{position:sticky;bottom:0;z-index:5}.btn-wrapper{--comp-pill-btn-border-width:var(--tct-pill-btn-border-width, var(--t-pill-btn-border-width, 2px));--comp-close-size:0px;--comp-btn-background:var(--tct-pill-btn-background, var(--t-pill-btn-background, var(--t-base, #ffffff)));--comp-btn-box-shadow:var(--tct-pill-btn-box-shadow, none);--comp-btn-backdrop-filter:var(--tct-pill-btn-backdrop-filter, none);--comp-hover-btn-background:var(--tct-pill-hover-btn-background, var(--t-pill-hover-btn-background, var(--t-gray-13, #e6e6e6)));--comp-btn-padding:var(--tct-pill-btn-padding-inline, var(--t-pill-btn-padding-inline, var(--app-scale-3x, 15px)));--comp-btn-letter-spacing:var(--tct-pill-btn-letter-spacing, inherit);--comp-btn-color:var(--tct-pill-btn-color, var(--t-pill-btn-color, var(--t-gray-3, #262626)));--comp-active-btn-color:var(--tct-pill-active-btn-color, var(--comp-btn-background));--comp-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-7, #666666)));--comp-active-btn-box-shadow:var(--tct-pill-active-btn-box-shadow, var(--tct-pill-btn-box-shadow, none));--comp-active-btn-backdrop-filter:var(--tct-pill-active-btn-backdrop-filter, none);--comp-active-btn-border-color:var(--tct-pill-active-btn-border-color, var(--t-pill-active-btn-border-color, var(--t-gray-7, #666666)));--comp-hover-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));--comp-hover-active-btn-border-color:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));position:relative}.btn-wrapper.has-options,.btn-wrapper.has-icon{--comp-close-size:var(--comp-pill-btn-height)}:host([active]:not([active=false])) .btn-wrapper{--comp-btn-color:var(--tct-pill-active-btn-color, var(--t-pill-active-btn-color, var(--t-base, #ffffff)))}:host([theme=primary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-primary-active-background, var(--t-primary, #0079c1));--comp-active-btn-box-shadow:var(--tct-pill-primary-active-btn-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-primary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-primary-active-font-color, var(--t-primary-text, #ffffff));--comp-active-btn-border-color:var(--tct-pill-primary-active-border-color, var(--t-primary, #0079c1));--comp-hover-active-btn-background:var(--tct-pill-primary-active-hover-background, var(--t-primary-l3, #21acff));--comp-hover-active-btn-border-color:var(--tct-pill-primary-active-hover-border-color, var(--t-primary-l3, #21acff))}:host([theme=secondary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-secondary-active-background, var(--t-secondary, #b3c2cc));--comp-active-btn-box-shadow:var(--tct-pill-secondary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-secondary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-secondary-active-font-color, var(--t-secondary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-secondary-active-border-color, var(--t-secondary, #b3c2cc));--comp-hover-active-btn-background:var(--tct-pill-secondary-active-hover-background, var(--t-secondary-l3, #c9d5db));--comp-hover-active-btn-border-color:var(--tct-pill-secondary-active-hover-border-color, var(--t-secondary-l3, #c9d5db))}:host([theme=tertiary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-tertiary-active-background, var(--t-tertiary, #e8f5fc));--comp-active-btn-box-shadow:var(--tct-pill-tertiary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-tertiary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-tertiary-active-font-color, var(--t-tertiary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-tertiary-active-border-color, var(--t-tertiary, #e8f5fc));--comp-hover-active-btn-background:var(--tct-pill-tertiary-active-hover-background, var(--t-tertiary-l3, #eff8fd));--comp-hover-active-btn-border-color:var(--tct-pill-tertiary-active-hover-border-color, var(--t-tertiary-l3, #eff8fd))}.btn-height-wrapper{height:var(--comp-pill-min-height);display:flex;align-items:center;cursor:pointer}.btn-height-wrapper:focus{box-shadow:none}:host([disabled]) .btn-height-wrapper{cursor:not-allowed}.btn-close,.btn-primary{cursor:pointer;height:var(--comp-pill-btn-height);border-style:solid;border-radius:var(--tct-pill-btn-border-radius, var(--t-pill-btn-border-radius, 30px));transition-property:background, color, padding, width, opacity;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}:host([disabled]) .btn-close,:host([disabled]) .btn-primary,:host([disabled]) q2-icon{opacity:var(--tct-pill-disabled-opacity, var(--t-pill-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))));cursor:not-allowed}.btn-primary{background:var(--comp-btn-background);box-shadow:var(--comp-btn-box-shadow);backdrop-filter:var(--comp-btn-backdrop-filter);border-width:var(--comp-pill-btn-border-width);border-color:var(--tct-pill-btn-border-color, var(--t-pill-btn-border-color, var(--t-a11y-gray-color-AA, #949494)));letter-spacing:var(--comp-btn-letter-spacing);padding-inline:var(--comp-btn-padding);padding-right:calc(var(--comp-btn-padding) + var(--comp-close-size));font-size:var(--tct-pill-btn-font-size, var(--t-pill-btn-font-size, var(--app-font-size, var(--const-px-14, 14px))));font-weight:var(--tct-pill-btn-font-weight, 400);color:var(--comp-btn-color);display:flex;align-items:center;gap:var(--app-scale-1x, 5px);width:100%;text-align:start}.btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-size:1em;--tct-icon-stroke-primary:var(--tct-pill-decorator-icon-primary-stroke, var(--comp-btn-color));--tct-icon-stroke-secondary:var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-btn-color))}.btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}.btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}.btn-primary:hover{background:var(--comp-hover-btn-background)}.has-options .btn-primary,.has-icon .btn-primary{padding-right:calc(var(--tct-pill-icon-gap, var(--t-pill-icon-gap, var(--app-scale-1x, 5px))) + var(--comp-close-size))}.has-options .btn-primary{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;max-width:var(--tct-pill-max-width, var(--t-pill-max-width, 200px))}:host([active]:not([active=false])) .btn-primary{background:var(--comp-active-btn-background);box-shadow:var(--comp-active-btn-box-shadow);backdrop-filter:var(--comp-active-btn-backdrop-filter);border-color:var(--comp-active-btn-border-color);color:var(--comp-active-btn-color)}:host([active]:not([active=false])) .btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:hover{background:var(--comp-hover-active-btn-background);border-color:var(--comp-hover-active-btn-border-color)}:host([active]:not([active=false])) .btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-stroke-primary:var(--tct-pill-active-decorator-icon-primary-stroke, var(--tct-pill-decorator-icon-primary-stroke, var(--comp-active-btn-color)));--tct-icon-stroke-secondary:var(--tct-pill-active-decorator-icon-secondary-stroke, var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-active-btn-color)))}.btn-close{background:transparent;border-color:transparent;border-width:var(--comp-pill-btn-border-width);width:var(--comp-close-size);height:var(--comp-close-size);padding:0;border:0;display:inline-flex;justify-content:center;align-items:center;position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:0}.btn-close:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-close{color:var(--comp-active-btn-color)}.has-options .btn-close,.has-icon .btn-close{opacity:1}q2-icon{--tct-icon-stroke-primary:var(--tct-pill-icon-stroke, currentcolor);--tct-icon-stroke-width:var(--tct-pill-icon-stroke-width, inherit);width:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));height:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));transition-property:transform;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}div.btn-close{pointer-events:none}:host([open]) div.btn-close q2-icon{transform:rotate(180deg)}:host([active]:not([active=false])) button.btn-close:focus,:host([active]:not([active=false])) button.btn-close:hover{background:var(--tct-pill-hover-close-btn-background, var(--t-pill-hover-close-btn-background, var(--t-top-a1, rgba(13, 13, 13, 0.35))));border-color:var(--tct-pill-hover-close-btn-border-color, var(--t-pill-hover-close-btn-border-color, var(--t-top-a1, rgba(13, 13, 13, 0.35))))}q2-popover{top:calc(var(--comp-pill-min-height) - (var(--comp-pill-min-height) - var(--comp-pill-btn-height)) / 2)}:host([borderless]:not([borderless=false])) button{border-style:none}';
396
+ return '*{box-sizing:border-box}*:active{outline:none}*:focus-visible{outline:none;box-shadow:var(--const-double-focus-ring, 0 0 0 2px #ffffff, 0 0 0 4px #0066cc)}:host{box-shadow:none !important}::-moz-focus-inner{border:none}input,textarea,button{font-family:inherit;font-size:inherit;font-stretch:inherit}:host(.sr),:host(.sr) button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.sr,.sr button{border:0;clip:rect(0 0 0 0);height:1px;margin:-1px;overflow:hidden;padding:0;position:absolute;width:1px;white-space:nowrap}.hidden{display:none}:host([hidden]){display:none}.invisible{visibility:hidden}@container style(--t-prefers-motion: "reduced"){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}@container (not style(--t-prefers-motion: "normal")) and (not style(--t-prefers-motion: "reduced")){@media (prefers-reduced-motion: reduce){*,*::before,*::after{animation-duration:0.01ms !important;transition-duration:0.01ms !important;animation-delay:0ms !important;transition-delay:0ms !important}}}:host{display:inline-block;max-width:100%;position:relative;line-height:0}:host(:not(:last-child)){margin-inline-end:var(--tct-pill-margin, var(--t-pill-margin, var(--app-scale-2x, 10px)))}q2-popover,.btn-wrapper{--comp-pill-min-height:var(--tct-pill-min-height, var(--t-pill-min-height, 44px));--comp-pill-btn-height:var(--tct-pill-btn-height, var(--t-pill-btn-height, 30px))}.popover-top-container{position:sticky;top:0;z-index:5}.popover-bottom-container{position:sticky;bottom:0;z-index:5}.btn-wrapper{--comp-pill-btn-border-width:var(--tct-pill-btn-border-width, var(--t-pill-btn-border-width, 2px));--comp-close-size:0px;--comp-btn-background:var(--tct-pill-btn-background, var(--t-pill-btn-background, var(--t-base, #ffffff)));--comp-btn-box-shadow:var(--tct-pill-btn-box-shadow, none);--comp-btn-backdrop-filter:var(--tct-pill-btn-backdrop-filter, none);--comp-hover-btn-background:var(--tct-pill-hover-btn-background, var(--t-pill-hover-btn-background, var(--t-gray-13, #e6e6e6)));--comp-btn-padding:var(--tct-pill-btn-padding-inline, var(--t-pill-btn-padding-inline, var(--app-scale-3x, 15px)));--comp-btn-letter-spacing:var(--tct-pill-btn-letter-spacing, inherit);--comp-btn-color:var(--tct-pill-btn-color, var(--t-pill-btn-color, var(--t-gray-3, #262626)));--comp-active-btn-color:var(--tct-pill-active-btn-color, var(--comp-btn-background));--comp-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-7, #666666)));--comp-active-btn-box-shadow:var(--tct-pill-active-btn-box-shadow, var(--tct-pill-btn-box-shadow, none));--comp-active-btn-backdrop-filter:var(--tct-pill-active-btn-backdrop-filter, none);--comp-active-btn-border-color:var(--tct-pill-active-btn-border-color, var(--t-pill-active-btn-border-color, var(--t-gray-7, #666666)));--comp-hover-active-btn-background:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));--comp-hover-active-btn-border-color:var(--tct-pill-active-btn-background, var(--t-pill-active-btn-background, var(--t-gray-6, #4d4d4d)));position:relative}.btn-wrapper.has-options,.btn-wrapper.has-icon{--comp-close-size:var(--comp-pill-btn-height)}:host([active]:not([active=false])) .btn-wrapper{--comp-btn-color:var(--tct-pill-active-btn-color, var(--t-pill-active-btn-color, var(--t-base, #ffffff)))}:host([theme=primary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-primary-active-background, var(--t-primary, #0079c1));--comp-active-btn-box-shadow:var(--tct-pill-primary-active-btn-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-primary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-primary-active-font-color, var(--t-primary-text, #ffffff));--comp-active-btn-border-color:var(--tct-pill-primary-active-border-color, var(--t-primary, #0079c1));--comp-hover-active-btn-background:var(--tct-pill-primary-active-hover-background, var(--t-primary-l3, #21acff));--comp-hover-active-btn-border-color:var(--tct-pill-primary-active-hover-border-color, var(--t-primary-l3, #21acff))}:host([theme=secondary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-secondary-active-background, var(--t-secondary, #b3c2cc));--comp-active-btn-box-shadow:var(--tct-pill-secondary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-secondary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-secondary-active-font-color, var(--t-secondary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-secondary-active-border-color, var(--t-secondary, #b3c2cc));--comp-hover-active-btn-background:var(--tct-pill-secondary-active-hover-background, var(--t-secondary-l3, #c9d5db));--comp-hover-active-btn-border-color:var(--tct-pill-secondary-active-hover-border-color, var(--t-secondary-l3, #c9d5db))}:host([theme=tertiary]) .btn-wrapper{--comp-active-btn-background:var(--tct-pill-tertiary-active-background, var(--t-tertiary, #e8f5fc));--comp-active-btn-box-shadow:var(--tct-pill-tertiary-active-box-shadow, none);--comp-active-btn-backdrop-filter:var(--tct-pill-tertiary-active-backdrop-filter, none);--comp-active-btn-color:var(--tct-pill-tertiary-active-font-color, var(--t-tertiary-text, #141414));--comp-active-btn-border-color:var(--tct-pill-tertiary-active-border-color, var(--t-tertiary, #e8f5fc));--comp-hover-active-btn-background:var(--tct-pill-tertiary-active-hover-background, var(--t-tertiary-l3, #eff8fd));--comp-hover-active-btn-border-color:var(--tct-pill-tertiary-active-hover-border-color, var(--t-tertiary-l3, #eff8fd))}.btn-height-wrapper{min-height:var(--comp-pill-min-height);display:flex;align-items:center;cursor:pointer}.btn-height-wrapper:focus{box-shadow:none}:host([disabled]) .btn-height-wrapper{cursor:not-allowed}.btn-close,.btn-primary{cursor:pointer;min-height:var(--comp-pill-btn-height);border-style:solid;border-radius:var(--tct-pill-btn-border-radius, var(--t-pill-btn-border-radius, 30px));transition-property:background, color, padding, width, opacity;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}:host([disabled]) .btn-close,:host([disabled]) .btn-primary,:host([disabled]) q2-icon{opacity:var(--tct-pill-disabled-opacity, var(--t-pill-disabled-opacity, var(--tct-disabled-opacity, var(--app-disabled-opacity, 0.4))));cursor:not-allowed}.btn-primary{background:var(--comp-btn-background);box-shadow:var(--comp-btn-box-shadow);backdrop-filter:var(--comp-btn-backdrop-filter);border-width:var(--comp-pill-btn-border-width);border-color:var(--tct-pill-btn-border-color, var(--t-pill-btn-border-color, var(--t-a11y-gray-color-AA, #949494)));letter-spacing:var(--comp-btn-letter-spacing);padding-inline:var(--comp-btn-padding);padding-right:calc(var(--comp-btn-padding) + var(--comp-close-size));font-size:var(--tct-pill-btn-font-size, var(--t-pill-btn-font-size, var(--app-font-size, var(--const-px-14, 14px))));font-weight:var(--tct-pill-btn-font-weight, 400);color:var(--comp-btn-color);display:flex;align-items:center;gap:var(--app-scale-1x, 5px);width:100%;max-width:var(--tct-pill-max-width, var(--t-pill-max-width, calc(200 * var(--t-px-1, 1px))));min-width:0;text-align:start}.btn-primary ::slotted(q2-icon[slot=decorator]){flex-shrink:0;--tct-icon-size:1em;--tct-icon-stroke-primary:var(--tct-pill-decorator-icon-primary-stroke, var(--comp-btn-color));--tct-icon-stroke-secondary:var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-btn-color))}.btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}.btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}.btn-primary:hover{background:var(--comp-hover-btn-background)}.has-options .btn-primary,.has-icon .btn-primary{padding-right:calc(var(--tct-pill-icon-gap, var(--t-pill-icon-gap, var(--app-scale-1x, 5px))) + var(--comp-close-size))}:host([active]:not([active=false])) .btn-primary{background:var(--comp-active-btn-background);box-shadow:var(--comp-active-btn-box-shadow);backdrop-filter:var(--comp-active-btn-backdrop-filter);border-color:var(--comp-active-btn-border-color);color:var(--comp-active-btn-color)}:host([active]:not([active=false])) .btn-primary:focus{box-shadow:var(--tct-pill-btn-focus-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-primary:hover{background:var(--comp-hover-active-btn-background);border-color:var(--comp-hover-active-btn-border-color)}:host([active]:not([active=false])) .btn-primary ::slotted(q2-icon[slot=decorator]){--tct-icon-stroke-primary:var(--tct-pill-active-decorator-icon-primary-stroke, var(--tct-pill-decorator-icon-primary-stroke, var(--comp-active-btn-color)));--tct-icon-stroke-secondary:var(--tct-pill-active-decorator-icon-secondary-stroke, var(--tct-pill-decorator-icon-secondary-stroke, var(--comp-active-btn-color)))}.pill-label{text-overflow:ellipsis;overflow:hidden;white-space:nowrap;min-width:0}.btn-close{background:transparent;border-color:transparent;border-width:var(--comp-pill-btn-border-width);width:var(--comp-close-size);height:var(--comp-close-size);padding:0;border:0;display:inline-flex;justify-content:center;align-items:center;position:absolute;right:0;top:50%;transform:translateY(-50%);opacity:0}.btn-close:focus-visible{box-shadow:var(--tct-pill-btn-focus-visible-box-shadow, var(--const-double-focus-ring))}:host([active]:not([active=false])) .btn-close{color:var(--comp-active-btn-color)}.has-options .btn-close,.has-icon .btn-close{opacity:1}q2-icon{--tct-icon-stroke-primary:var(--tct-pill-icon-stroke, currentcolor);--tct-icon-stroke-width:var(--tct-pill-icon-stroke-width, inherit);width:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));height:var(--tct-pill-icon-size, var(--t-pill-icon-size, var(--const-px-18, 18px)));transition-property:transform;transition:var(--tct-pill-btn-tween, var(--t-pill-btn-tween, var(--app-tween-1, 0.2s ease)))}div.btn-close{pointer-events:none}:host([open]) div.btn-close q2-icon{transform:rotate(180deg)}:host([active]:not([active=false])) button.btn-close:focus,:host([active]:not([active=false])) button.btn-close:hover{background:var(--tct-pill-hover-close-btn-background, var(--t-pill-hover-close-btn-background, var(--t-top-a1, rgba(13, 13, 13, 0.35))));border-color:var(--tct-pill-hover-close-btn-border-color, var(--t-pill-hover-close-btn-border-color, var(--t-top-a1, rgba(13, 13, 13, 0.35))))}q2-popover{top:calc(var(--comp-pill-min-height) - (var(--comp-pill-min-height) - var(--comp-pill-btn-height)) / 2)}:host([borderless]:not([borderless=false])) button{border-style:none}';
394
397
  }
395
398
  }, [ 257, "q2-pill", {
396
399
  active: [ 1540 ],
@@ -433,23 +436,23 @@ const y = f, defineCustomElement = function() {
433
436
  [ "q2-pill", "click-elsewhere", "q2-icon", "q2-option-list", "q2-popover" ].forEach((t => {
434
437
  switch (t) {
435
438
  case "q2-pill":
436
- customElements.get(r(t)) || customElements.define(r(t), f);
439
+ customElements.get(a(t)) || customElements.define(a(t), f);
437
440
  break;
438
441
 
439
442
  case "click-elsewhere":
440
- customElements.get(r(t)) || h();
443
+ customElements.get(a(t)) || h();
441
444
  break;
442
445
 
443
446
  case "q2-icon":
444
- customElements.get(r(t)) || b();
447
+ customElements.get(a(t)) || b();
445
448
  break;
446
449
 
447
450
  case "q2-option-list":
448
- customElements.get(r(t)) || m();
451
+ customElements.get(a(t)) || m();
449
452
  break;
450
453
 
451
454
  case "q2-popover":
452
- customElements.get(r(t)) || u();
455
+ customElements.get(a(t)) || u();
453
456
  }
454
457
  }));
455
458
  };
@@ -118,7 +118,7 @@ const r = e(class extends t {
118
118
  render() {
119
119
  const {shouldShow: e, displayedMessage: t} = this;
120
120
  return i(s, {
121
- key: "c6d24ac6d794284c3f0ea654f1999ff6e201f8b1"
121
+ key: "e32fc9201354f10456368f47c0a7b6e50fd3eeb2"
122
122
  }, e ? i("time", {
123
123
  dateTime: t
124
124
  }, t) : null);
@@ -1,8 +1,8 @@
1
- import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as n, transformTag as s } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as n, transformTag as s } from "@stencil/core/internal/client";
2
2
 
3
- const o = t(class extends e {
4
- constructor(t) {
5
- super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.tctResize = i(this, "tctResize", 7),
3
+ const o = e(class extends t {
4
+ constructor(e) {
5
+ super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.tctResize = i(this, "tctResize", 7),
6
6
  this.observedElements = [],
7
7
  // #endregion
8
8
  // #region Local Methods
@@ -16,10 +16,10 @@ const o = t(class extends e {
16
16
  this.stopObserver(), this.resizeObserver = null;
17
17
  }
18
18
  componentDidLoad() {
19
- "undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((t => {
19
+ "undefined" != typeof ResizeObserver ? this.resizeObserver = new ResizeObserver((e => {
20
20
  this.tctResize.emit({
21
- entries: t
22
- }), this.currentResizeObserverEntries = t;
21
+ entries: e
22
+ }), this.currentResizeObserverEntries = e;
23
23
  })) : console.warn("ResizeObserver is not defined."), this.disabled || this.startObserver();
24
24
  }
25
25
  // #endregion
@@ -32,36 +32,36 @@ const o = t(class extends e {
32
32
  }
33
33
  // #endregion
34
34
  // #region Watchers
35
- disabledUpdated(t) {
36
- t ? this.stopObserver() : this.startObserver();
35
+ disabledUpdated(e) {
36
+ e ? this.stopObserver() : this.startObserver();
37
37
  }
38
38
  startObserver() {
39
- var t, e, i;
39
+ var e, t, i;
40
40
  const n = this.hostElement.shadowRoot.querySelector("slot");
41
41
  if (null === n) return;
42
- const s = null !== (e = null === (t = n.assignedElements) || void 0 === t ? void 0 : t.call(n, {
42
+ const s = null !== (t = null === (e = n.assignedElements) || void 0 === e ? void 0 : e.call(n, {
43
43
  flatten: !0
44
- })) && void 0 !== e ? e : [];
44
+ })) && void 0 !== t ? t : [];
45
45
  // Unwatch previous elements
46
- null === (i = this.observedElements) || void 0 === i || i.forEach((t => {
47
- var e;
48
- return null === (e = this.resizeObserver) || void 0 === e ? void 0 : e.unobserve(t);
46
+ null === (i = this.observedElements) || void 0 === i || i.forEach((e => {
47
+ var t;
48
+ return null === (t = this.resizeObserver) || void 0 === t ? void 0 : t.unobserve(e);
49
49
  })), this.observedElements = [],
50
50
  // Watch new elements
51
- s.forEach((t => {
52
- var e;
53
- null === (e = this.resizeObserver) || void 0 === e || e.observe(t), this.observedElements.push(t);
51
+ s.forEach((e => {
52
+ var t;
53
+ null === (t = this.resizeObserver) || void 0 === t || t.observe(e), this.observedElements.push(e);
54
54
  }));
55
55
  }
56
56
  stopObserver() {
57
- var t;
58
- null === (t = this.resizeObserver) || void 0 === t || t.disconnect();
57
+ var e;
58
+ null === (e = this.resizeObserver) || void 0 === e || e.disconnect();
59
59
  }
60
60
  // #endregion
61
61
  // #region Render Methods
62
62
  render() {
63
63
  return n("slot", {
64
- key: "cd3c22934ee46501f6ab1dc317ab702ba97150f3",
64
+ key: "78ea06c9c3963fe4fe145d66c42b546432d10e95",
65
65
  onSlotchange: this.handleSlotChange
66
66
  });
67
67
  }
@@ -89,8 +89,8 @@ const o = t(class extends e {
89
89
 
90
90
  function defineCustomElement() {
91
91
  if ("undefined" == typeof customElements) return;
92
- [ "q2-resize-observer" ].forEach((t => {
93
- if ("q2-resize-observer" === t) customElements.get(s(t)) || customElements.define(s(t), o);
92
+ [ "q2-resize-observer" ].forEach((e => {
93
+ if ("q2-resize-observer" === e) customElements.get(s(e)) || customElements.define(s(e), o);
94
94
  }));
95
95
  }
96
96
 
@@ -618,20 +618,20 @@ const f = t(class extends e {
618
618
  }
619
619
  render() {
620
620
  return s(o, {
621
- key: "282a0d7a6fc3199a2ae52a9a6f1c3ace8b58c00d"
621
+ key: "4b3787554c37521bc3467345cdd1d733cffba3a5"
622
622
  }, s("div", {
623
- key: "b45c3a05cfb004bf7dfbf266af0e983c9740f7e6",
623
+ key: "696caa142cffecf1e0d62afafd826dce37f75512",
624
624
  "aria-live": "polite",
625
625
  "aria-atomic": "true",
626
626
  role: "status",
627
627
  class: "sr"
628
628
  }, this.statusMessage), s("click-elsewhere", {
629
- key: "603d6b423bd6e2a6f3b90b85f13e744d157c7c61",
629
+ key: "f8b493ec8f7da09fad48f9fa30f0e9be7fbaedf4",
630
630
  class: this.wrapperClasses,
631
631
  role: "presentation",
632
632
  onChange: this.onClickElsewhere
633
633
  }, s("q2-input", {
634
- key: "267c12c340e038bb5d10133d59955b4067699fbf",
634
+ key: "44e0ad4b7825ac319dd4277ccb93d4dd66acef12",
635
635
  ref: t => this.inputField = t,
636
636
  class: "q2-search-input",
637
637
  label: this.label && h(this.label) || "",
@@ -6,9 +6,9 @@ import { m as p } from "./mirror-emit.js";
6
6
 
7
7
  import { d as l } from "./q2-btn2.js";
8
8
 
9
- import { d as f } from "./q2-icon2.js";
9
+ import { d as b } from "./q2-icon2.js";
10
10
 
11
- import { d as b } from "./q2-loading2.js";
11
+ import { d as f } from "./q2-loading2.js";
12
12
 
13
13
  const m = t(class extends e {
14
14
  constructor(t) {
@@ -127,29 +127,29 @@ const m = t(class extends e {
127
127
  i && (a ? e.push("is-closed") : s && e.push("is-transitioning"));
128
128
  const o = !this.hasYieldedHeader && !!this.label;
129
129
  return n("section", {
130
- key: "671c4611adeaff5c3e53d05a43955851d682c792",
130
+ key: "5adb22a7e6cf098fa3cf2325c945c6aa1c20b2d5",
131
131
  class: "wrapper"
132
132
  }, n("header", {
133
- key: "fb724579804c9c3dd4da39bbc45d6df5cfad3815",
133
+ key: "c04df6d07756c27374e4be85ad88848a0c1ac897",
134
134
  class: t ? "has-header" : ""
135
135
  }, n("div", {
136
- key: "76ad513b058264c1dbbeac7732120fea97586e1f",
136
+ key: "8cd09e8bf367a7510b91106b8ebd4f419faff861",
137
137
  class: "header-content",
138
138
  id: this.titleId,
139
139
  onClick: this.collapsible && this.onHeaderClick
140
140
  }, o && n("h2", {
141
- key: "6717219e621e8b605e4cbc7fa4f1f84bd4b1f20a",
141
+ key: "195e1523e68c83e294bd92d617b8c4d44e679494",
142
142
  class: "title"
143
143
  }, h(this.label)), n("div", {
144
- key: "61acf1ce4b3281aed6f35571a62f4da58d692d10",
144
+ key: "e493986ee113d44bf74b11116003939f3db24bd7",
145
145
  ref: t => this.headerSlotWrapper = t,
146
146
  class: "header-slot-wrapper"
147
147
  }, n("slot", {
148
- key: "acd5b6f6337700edf60fd03ce3d35a634eb2f97c",
148
+ key: "44f2dc2ca76acfd800a1435608a75bf6e3258d37",
149
149
  ref: t => this.headerSlot = t,
150
150
  name: "q2-section-header"
151
151
  }))), this.collapsible && !this.noCollapseIcon && n("q2-btn", {
152
- key: "02543820b86cf3d8fd103e0384d283e130fc2212",
152
+ key: "b2602555b9282c8149780f65d2fbaa65febc1f50",
153
153
  label: h(this.label || "tecton.element.section.defaultToggleLabel"),
154
154
  ariaExpanded: "" + !!this.expanded,
155
155
  ariaControls: this.contentId,
@@ -157,10 +157,10 @@ const m = t(class extends e {
157
157
  "hide-label": !0,
158
158
  onClick: this.onHeaderClick
159
159
  }, n("q2-icon", {
160
- key: "fc7484a585f815948d1bed037948f21e777336f5",
160
+ key: "62728524b58cf5cf7aa2531df1218d3bf0b40b0a",
161
161
  type: "chevron-up"
162
162
  }))), n("div", {
163
- key: "f57ce6b9a2e8f8ca589274d496362f106148b499",
163
+ key: "13ef854a01937880007fb4021b1528c1b83fe937",
164
164
  class: e.join(" "),
165
165
  id: this.contentId,
166
166
  "aria-labelledby": this.titleId,
@@ -170,12 +170,12 @@ const m = t(class extends e {
170
170
  height: this.contentHeight
171
171
  }
172
172
  }, n("div", {
173
- key: "e1473a0a5f86918df19119a62f99918e8f2203f2",
173
+ key: "866d8b0301a9c5979f5b3bd31086d25f73373709",
174
174
  ref: t => this.contentContainer = t,
175
175
  class: "content",
176
176
  tabindex: "-1"
177
177
  }, n("slot", {
178
- key: "f4f92ebdb06b45be6d70759b6b59caf31f816b04",
178
+ key: "36c97155aa106dc1587537066e031c7d6c032295",
179
179
  ref: t => this.contentSlot = t
180
180
  }))));
181
181
  }
@@ -227,11 +227,11 @@ const v = m, defineCustomElement = function() {
227
227
  break;
228
228
 
229
229
  case "q2-icon":
230
- customElements.get(a(t)) || f();
230
+ customElements.get(a(t)) || b();
231
231
  break;
232
232
 
233
233
  case "q2-loading":
234
- customElements.get(a(t)) || b();
234
+ customElements.get(a(t)) || f();
235
235
  }
236
236
  }));
237
237
  };
@@ -1,14 +1,14 @@
1
- import { proxyCustomElement as t, HTMLElement as e, createEvent as i, h as s, Host as n, Fragment as a, transformTag as o } from "@stencil/core/internal/client";
1
+ import { proxyCustomElement as e, HTMLElement as t, createEvent as i, h as s, Host as n, Fragment as a, transformTag as o } from "@stencil/core/internal/client";
2
2
 
3
3
  import { b as r } from "./component.js";
4
4
 
5
- import { c as d, n as c, l as h } from "./index2.js";
5
+ import { c as d, n as h, l as c } from "./index2.js";
6
6
 
7
7
  import { m as l } from "./mirror-emit.js";
8
8
 
9
- const p = t(class extends e {
10
- constructor(t) {
11
- super(), !1 !== t && this.__registerHost(), this.__attachShadow(), this.activeChange = i(this, "activeChange", 7),
9
+ const p = e(class extends t {
10
+ constructor(e) {
11
+ super(), !1 !== e && this.__registerHost(), this.__attachShadow(), this.activeChange = i(this, "activeChange", 7),
12
12
  this.contentChange = i(this, "contentChange", 7), this.statusChange = i(this, "statusChange", 7),
13
13
  this.tctActiveChange = i(this, "tctActiveChange", 7), this.tctStatusChange = i(this, "tctStatusChange", 7),
14
14
  // #endregion
@@ -21,45 +21,45 @@ const p = t(class extends e {
21
21
  this.hostElement.id || (this.hostElement.id = "step-" + d());
22
22
  }
23
23
  disconnectedCallback() {
24
- var t;
25
- null === (t = this.mutationObserver) || void 0 === t || t.disconnect(), this.mutationObserver = null;
24
+ var e;
25
+ null === (e = this.mutationObserver) || void 0 === e || e.disconnect(), this.mutationObserver = null;
26
26
  }
27
27
  componentWillLoad() {
28
28
  r(this.hostElement, "q2-stepper, q2-stepper-vertical"), this.checkForActiveChildren();
29
29
  }
30
30
  componentDidLoad() {
31
- const t = new MutationObserver((() => {
31
+ const e = new MutationObserver((() => {
32
32
  this.contentChange.emit();
33
33
  }));
34
- t.observe(this.hostElement, {
34
+ e.observe(this.hostElement, {
35
35
  childList: !0,
36
36
  subtree: !0,
37
37
  characterData: !0
38
- }), this.mutationObserver = t;
38
+ }), this.mutationObserver = e;
39
39
  }
40
40
  // #endregion
41
41
  // #region Watchers
42
42
  labelOrDescriptionChanged() {
43
43
  this.contentChange.emit();
44
44
  }
45
- isActiveChanged(t) {
45
+ isActiveChanged(e) {
46
46
  l(this, [ "activeChange", "tctActiveChange" ], {
47
47
  status: this.status || "",
48
- isActive: t,
48
+ isActive: e,
49
49
  id: this.hostElement.id,
50
50
  host: this.hostElement
51
51
  });
52
52
  }
53
53
  checkForActiveChildren() {
54
- this.showWithChildren && c((() => {
54
+ this.showWithChildren && h((() => {
55
55
  setTimeout((() => {
56
56
  this.isChildActive = !!this.hostElement.querySelector("[slot='children'] > q2-stepper-pane[is-active]");
57
57
  }));
58
58
  }));
59
59
  }
60
- statusChanged(t) {
60
+ statusChanged(e) {
61
61
  l(this, [ "statusChange", "tctStatusChange" ], {
62
- status: t,
62
+ status: e,
63
63
  isActive: !!this.isActive,
64
64
  id: this.hostElement.id,
65
65
  host: this.hostElement
@@ -68,36 +68,36 @@ const p = t(class extends e {
68
68
  // #endregion
69
69
  // #region Render Methods
70
70
  render() {
71
- const {label: t, isActive: e} = this;
71
+ const {label: e, isActive: t} = this;
72
72
  return s(n, {
73
- key: "6cbcc9f6363bf6f60ff2d999b9317e32691168da",
73
+ key: "3929b6bdb716394892be2bcdd933864e43f0204e",
74
74
  role: "listitem"
75
75
  }, s(a, {
76
- key: "f9b8d56b05e6d26978feab6386849498f797cca6"
76
+ key: "d913741a6b71aebef92be14fd7ee541a3d5568da"
77
77
  }, s("div", {
78
- key: "383a77ce1848255574680375e7df122bf4468f95",
78
+ key: "038d29ac861f70ad15350da7733b39eece30e538",
79
79
  role: "group",
80
80
  "aria-labelledby": "pane-label",
81
81
  tabindex: "0",
82
- hidden: !(e || this.isChildActive && this.showWithChildren)
82
+ hidden: !(t || this.isChildActive && this.showWithChildren)
83
83
  }, s("slot", {
84
- key: "9b9cf0bd60e23d9860174c5525c3f688c70411f4"
84
+ key: "56f4c0d9edfe134886d46367f2c801348267b53d"
85
85
  })), s("div", {
86
- key: "8f628fe11acfc7a8df7c84013a7eaca9d5a1327a",
86
+ key: "88bf8a9e1a6124c39d9ac4ee8906f61ac026966a",
87
87
  hidden: !0
88
88
  }, s("span", {
89
- key: "6c03721fb71d8e3c5c48a6af80ae8723575e0205",
89
+ key: "db485a5e84ab67fe714f0861fcd05c4b0bd7722f",
90
90
  id: "pane-label"
91
91
  }, s("slot", {
92
- key: "da9a253e3399d0552478a29c743fc4a73f432ddf",
92
+ key: "940a9a3a8543fd4c64425db2b7ea7b9cf079c947",
93
93
  name: "label",
94
94
  onSlotchange: () => this.contentChange.emit()
95
- }, t && h(t))), s("slot", {
96
- key: "d7229f76aedb1c96623fac655982b88d2769b9ae",
95
+ }, e && c(e))), s("slot", {
96
+ key: "74a78697ed1aa85fca66743023d303c7abea0116",
97
97
  name: "description",
98
98
  onSlotchange: () => this.contentChange.emit()
99
99
  })), s("slot", {
100
- key: "7670d7b17b74732d0dd14198dd50560d005700d1",
100
+ key: "4fb660b547a2da7dca37de9106b20b93b72aaf83",
101
101
  name: "children"
102
102
  })));
103
103
  }
@@ -160,8 +160,8 @@ const p = t(class extends e {
160
160
 
161
161
  const b = p, defineCustomElement = function() {
162
162
  if ("undefined" == typeof customElements) return;
163
- [ "q2-stepper-pane" ].forEach((t => {
164
- if ("q2-stepper-pane" === t) customElements.get(o(t)) || customElements.define(o(t), p);
163
+ [ "q2-stepper-pane" ].forEach((e => {
164
+ if ("q2-stepper-pane" === e) customElements.get(o(e)) || customElements.define(o(e), p);
165
165
  }));
166
166
  };
167
167
 
@@ -301,15 +301,15 @@ const v = t(class extends e {
301
301
  }
302
302
  render() {
303
303
  return r(i, {
304
- key: "318ce778645240cfb969f39c7df5326691b6c5ed"
304
+ key: "d2e82613e91ef3acf210781f807807b0fba8e7fc"
305
305
  }, r("ul", {
306
- key: "3af2a138e648b887b3d8f96cf2b06bb6f11d1159",
306
+ key: "1ad1e36d0fca4b0c1cf793de43d9ea9ccb76974f",
307
307
  role: "tablist"
308
308
  }, this.structuredPanes.map(((t, e) => this.renderStepBtn(t, e)))), r("div", {
309
- key: "628d3fb7485c7648d31b7a4935476a61cdfef7b4",
309
+ key: "ee710c6cb41011be7a8223ec817563cfeaeb6b71",
310
310
  role: "list"
311
311
  }, r("slot", {
312
- key: "9d616d4a7234dee7715a696d0a17d37914741b1a"
312
+ key: "0d1f6f53b73f72f163fc219de8db9736f669720d"
313
313
  })));
314
314
  }
315
315
  get hostElement() {