scb-wc 0.1.78 → 0.1.80

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 (180) hide show
  1. package/README.md +41 -22
  2. package/all.js +0 -2
  3. package/index.js +88 -90
  4. package/mvc/components/all.js +0 -2
  5. package/mvc/components/scb-accordion/scb-accordion-item.js +3 -173
  6. package/mvc/components/scb-accordion/scb-accordion.js +4 -33
  7. package/mvc/components/scb-app-bar/scb-app-bar.js +2 -110
  8. package/mvc/components/scb-avatar/scb-avatar.js +2 -94
  9. package/mvc/components/scb-badge/scb-badge.js +2 -72
  10. package/mvc/components/scb-breadcrumb/scb-breadcrumb-item.js +2 -12
  11. package/mvc/components/scb-breadcrumb/scb-breadcrumb.js +4 -91
  12. package/mvc/components/scb-button/scb-button.js +47 -309
  13. package/mvc/components/scb-calendar/scb-calendar-event.js +2 -6
  14. package/mvc/components/scb-calendar/scb-calendar.js +6 -120
  15. package/mvc/components/scb-calendar-card/scb-calendar-card.js +21 -350
  16. package/mvc/components/scb-card/scb-card.js +54 -819
  17. package/mvc/components/scb-checkbox/scb-checkbox-group.js +3 -31
  18. package/mvc/components/scb-checkbox/scb-checkbox.js +5 -127
  19. package/mvc/components/scb-chip/scb-chip.js +2 -76
  20. package/mvc/components/scb-collapse/scb-collapse.js +2 -44
  21. package/mvc/components/scb-cookies-consent/scb-cookies-consent.js +7 -73
  22. package/mvc/components/scb-dialog/scb-dialog.js +2 -213
  23. package/mvc/components/scb-divider/scb-divider.js +1 -69
  24. package/mvc/components/scb-drawer/scb-drawer.js +6 -102
  25. package/mvc/components/scb-drop-zone/scb-drop-zone.js +2 -410
  26. package/mvc/components/scb-dropdown/scb-dropdown.js +17 -222
  27. package/mvc/components/scb-fab/scb-fab.js +7 -95
  28. package/mvc/components/scb-fact-card/scb-fact-card-content.js +2 -69
  29. package/mvc/components/scb-fact-card/scb-fact-card.js +2 -214
  30. package/mvc/components/scb-footer/scb-footer-section.js +1 -3
  31. package/mvc/components/scb-footer/scb-footer.js +3 -172
  32. package/mvc/components/scb-gallery-grid/scb-gallery-grid.js +2 -112
  33. package/mvc/components/scb-grid/scb-grid-item.js +1 -32
  34. package/mvc/components/scb-grid/scb-grid.js +1 -99
  35. package/mvc/components/scb-grid/scb-stack.js +1 -33
  36. package/mvc/components/scb-header/scb-header-menu-item.js +1 -5
  37. package/mvc/components/scb-header/scb-header-tab.js +1 -5
  38. package/mvc/components/scb-header/scb-header.js +75 -888
  39. package/mvc/components/scb-horizontal-scroller/scb-horizontal-scroller.js +43 -168
  40. package/mvc/components/scb-icon-button/scb-icon-button.js +59 -171
  41. package/mvc/components/scb-keyfigure-card/scb-keyfigure-card.js +17 -218
  42. package/mvc/components/scb-link/scb-link.js +4 -55
  43. package/mvc/components/scb-list/scb-list-item.js +23 -126
  44. package/mvc/components/scb-list/scb-list.js +5 -26
  45. package/mvc/components/scb-menu/scb-menu-item.js +16 -190
  46. package/mvc/components/scb-menu/scb-menu-section.js +4 -36
  47. package/mvc/components/scb-menu/scb-menu.js +5 -69
  48. package/mvc/components/scb-menu/scb-sub-menu.js +2 -7
  49. package/mvc/components/scb-nav/scb-nav-item.js +1 -28
  50. package/mvc/components/scb-nav/scb-nav.js +5 -98
  51. package/mvc/components/scb-notification-card/scb-notification-card.js +7 -364
  52. package/mvc/components/scb-options-menu/scb-options-menu-item.js +3 -50
  53. package/mvc/components/scb-options-menu/scb-options-menu.js +2 -82
  54. package/mvc/components/scb-options-menu/scb-options-sub-menu.js +2 -31
  55. package/mvc/components/scb-overlay/scb-overlay.js +3 -43
  56. package/mvc/components/scb-pagination/scb-pagination.js +19 -221
  57. package/mvc/components/scb-progress-indicator/scb-progress-indicator.js +2 -67
  58. package/mvc/components/scb-progress-stepper/scb-progress-step.js +4 -121
  59. package/mvc/components/scb-progress-stepper/scb-progress-stepper.js +2 -56
  60. package/mvc/components/scb-radio-button/scb-radio-button.js +5 -116
  61. package/mvc/components/scb-radio-button/scb-radio-group.js +2 -32
  62. package/mvc/components/scb-scrollspy/scb-scrollspy.js +2 -61
  63. package/mvc/components/scb-search/scb-search.js +5 -249
  64. package/mvc/components/scb-segmented-button/scb-segmented-button.js +1 -32
  65. package/mvc/components/scb-segmented-button/scb-segmented-item.js +2 -70
  66. package/mvc/components/scb-select/scb-select-option.js +2 -54
  67. package/mvc/components/scb-select/scb-select.js +4 -244
  68. package/mvc/components/scb-skeleton/scb-skeleton.js +2 -35
  69. package/mvc/components/scb-slider/scb-slider.js +5 -9
  70. package/mvc/components/scb-snackbar/scb-snackbar.js +9 -84
  71. package/mvc/components/scb-status-pill/scb-status-pill.js +2 -43
  72. package/mvc/components/scb-stepper/scb-step.js +8 -186
  73. package/mvc/components/scb-stepper/scb-stepper.js +2 -130
  74. package/mvc/components/scb-switch/scb-switch.js +4 -49
  75. package/mvc/components/scb-table/scb-table.js +2 -48
  76. package/mvc/components/scb-table-advanced/scb-table-advanced.js +2 -53
  77. package/mvc/components/scb-tabs/scb-primary-tab.js +2 -7
  78. package/mvc/components/scb-tabs/scb-secondary-tab.js +2 -7
  79. package/mvc/components/scb-tabs/scb-tabs.js +4 -31
  80. package/mvc/components/scb-textfield/scb-textfield.js +142 -388
  81. package/mvc/components/scb-toc/scb-toc-item.js +3 -251
  82. package/mvc/components/scb-toc/scb-toc.js +2 -16
  83. package/mvc/components/scb-tooltip/scb-tooltip.js +8 -155
  84. package/mvc/components/scb-viz/scb-viz.js +4 -619
  85. package/mvc/scb-wc-core.css +1 -1
  86. package/mvc/scb-wc-selfhost.css +1 -1
  87. package/mvc/scb-wc.css +1 -1
  88. package/mvc/vendor/assist-chip.js +3 -3
  89. package/mvc/vendor/chip-set.js +1 -1
  90. package/mvc/vendor/chip.js +2 -2
  91. package/mvc/vendor/elevation.js +2 -2
  92. package/mvc/vendor/filter-chip.js +1 -1
  93. package/mvc/vendor/focusable.js +1 -1
  94. package/mvc/vendor/form-associated.js +1 -1
  95. package/mvc/vendor/icon.js +2 -2
  96. package/mvc/vendor/lazy-focus-ring.js +2 -0
  97. package/mvc/vendor/lazy-ripple.js +2 -0
  98. package/mvc/vendor/md-focus-ring.js +2 -2
  99. package/mvc/vendor/ripple.js +2 -2
  100. package/mvc/vendor/scb-card-variants.internal.js +284 -0
  101. package/mvc/vendor/scb-chevron.js +10 -0
  102. package/mvc/vendor/scb-header-drawer.internal.js +71 -0
  103. package/mvc/vendor/shared-styles.js +1 -1
  104. package/mvc/vendor/tab-styles.js +3 -3
  105. package/mvc/vendor/validator.js +1 -1
  106. package/mvc/vendor/vendor.js +3 -4
  107. package/package.json +2 -2
  108. package/scb-accordion/scb-accordion-item.js +33 -32
  109. package/scb-app-bar/scb-app-bar.js +1 -1
  110. package/scb-button/scb-button.js +287 -259
  111. package/scb-calendar/scb-calendar.js +49 -49
  112. package/scb-calendar-card/scb-calendar-card.js +105 -59
  113. package/scb-card/scb-card-variants.internal.js +230 -0
  114. package/scb-card/scb-card.js +387 -528
  115. package/scb-checkbox/scb-checkbox.js +0 -1
  116. package/scb-chevron/scb-chevron.js +0 -1
  117. package/scb-components/scb-button/scb-button.d.ts +14 -2
  118. package/scb-components/scb-calendar/scb-calendar.d.ts +1 -0
  119. package/scb-components/scb-calendar-card/scb-calendar-card.d.ts +16 -4
  120. package/scb-components/scb-card/scb-card-variants.internal.d.ts +15 -0
  121. package/scb-components/scb-card/scb-card.d.ts +26 -9
  122. package/scb-components/scb-cookies-consent/scb-cookies-consent.d.ts +3 -0
  123. package/scb-components/scb-header/scb-header-drawer.internal.d.ts +31 -0
  124. package/scb-components/scb-header/scb-header.d.ts +1 -2
  125. package/scb-components/scb-horizontal-scroller/scb-horizontal-scroller.d.ts +6 -1
  126. package/scb-components/scb-icon-button/scb-icon-button.d.ts +28 -29
  127. package/scb-components/scb-keyfigure-card/scb-keyfigure-card.d.ts +13 -4
  128. package/scb-components/scb-list/scb-list-item.d.ts +20 -2
  129. package/scb-components/scb-list/scb-list.d.ts +1 -2
  130. package/scb-components/scb-nav/scb-nav.d.ts +2 -0
  131. package/scb-components/scb-segmented-button/scb-segmented-item.d.ts +1 -0
  132. package/scb-components/scb-select/scb-select-option.d.ts +2 -0
  133. package/scb-components/scb-toc/scb-toc-item.d.ts +1 -0
  134. package/scb-components/scb-tooltip/scb-tooltip.d.ts +2 -0
  135. package/scb-cookies-consent/scb-cookies-consent.js +43 -31
  136. package/scb-datepicker/scb-datepicker.js +27 -25
  137. package/scb-dialog/scb-dialog.js +1 -1
  138. package/scb-dropdown/scb-dropdown.js +29 -28
  139. package/scb-header/scb-header-drawer.internal.js +78 -0
  140. package/scb-header/scb-header.js +41 -89
  141. package/scb-horizontal-scroller/scb-horizontal-scroller.js +181 -88
  142. package/scb-icon-button/scb-icon-button.js +293 -205
  143. package/scb-keyfigure-card/scb-keyfigure-card.js +96 -43
  144. package/scb-list/scb-list-item.js +117 -52
  145. package/scb-list/scb-list.js +9 -9
  146. package/scb-nav/scb-nav.js +26 -23
  147. package/scb-notification-card/scb-notification-card.js +0 -2
  148. package/scb-options-menu/scb-options-menu-item.js +20 -20
  149. package/scb-pagination/scb-pagination.js +0 -1
  150. package/scb-progress-stepper/scb-progress-step.js +19 -17
  151. package/scb-radio-button/scb-radio-button.js +0 -1
  152. package/scb-search/scb-search.js +29 -28
  153. package/scb-segmented-button/scb-segmented-item.js +22 -19
  154. package/scb-select/scb-select-option.js +20 -14
  155. package/scb-select/scb-select.js +26 -26
  156. package/scb-stepper/scb-step.js +34 -31
  157. package/scb-textfield/scb-textfield.js +39 -39
  158. package/scb-toc/scb-toc-item.js +26 -26
  159. package/scb-tooltip/scb-tooltip.js +5 -4
  160. package/scb-viz/scb-viz.js +1 -1
  161. package/scb-wc-core.css +1 -1
  162. package/scb-wc-public-entry/index.d.ts +97 -0
  163. package/scb-wc-selfhost.css +1 -1
  164. package/scb-wc.bundle.js +1873 -1476
  165. package/scb-wc.css +1 -1
  166. package/scb-wc.d.ts +194 -198
  167. package/mvc/components/scb-chevron/scb-chevron.js +0 -41
  168. package/mvc/components/scb-datepicker/scb-datepicker.js +0 -296
  169. package/mvc/vendor/element-internals.js +0 -1
  170. package/mvc/vendor/filled-icon-button.js +0 -2
  171. package/mvc/vendor/filled-tonal-icon-button.js +0 -2
  172. package/mvc/vendor/form-label-activation.js +0 -1
  173. package/mvc/vendor/form-submitter.js +0 -1
  174. package/mvc/vendor/icon-button.js +0 -2
  175. package/mvc/vendor/list.js +0 -8
  176. package/mvc/vendor/outlined-icon-button.js +0 -2
  177. package/mvc/vendor/shared-styles2.js +0 -30
  178. package/scb-components/index.d.ts +0 -99
  179. package/scb-components/scb-chevron/scb-chevron.d.ts +0 -11
  180. package/scb-components/scb-datepicker/scb-datepicker.d.ts +0 -39
@@ -1,17 +1,17 @@
1
- import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js";
2
- import "../scb-list/scb-list.js";
1
+ import { addLazyFocusRingListeners as e } from "../shared/lazy-focus-ring.js";
2
+ import { __decorate as t } from "../_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js";
3
3
  import "../scb-icon-button/scb-icon-button.js";
4
4
  import "./scb-calendar-event.js";
5
5
  import "../scb-dialog/scb-dialog.js";
6
- import { LitElement as t, css as n, html as r } from "lit";
7
- import { customElement as i, property as a } from "lit/decorators.js";
8
- import "@material/web/focus/md-focus-ring.js";
6
+ import "../scb-list/scb-list.js";
7
+ import { LitElement as n, css as r, html as i } from "lit";
8
+ import { customElement as a, property as o } from "lit/decorators.js";
9
9
  //#region src/scb-components/scb-calendar/scb-calendar.ts
10
- var o = { fromAttribute(e) {
10
+ var s = { fromAttribute(e) {
11
11
  if (e === null) return !1;
12
12
  let t = e.trim().toLowerCase();
13
13
  return t !== "false" && t !== "0" && t !== "no";
14
- } }, s = class extends t {
14
+ } }, c = class extends n {
15
15
  constructor(...e) {
16
16
  super(...e), this._lastActiveDay = null, this.lang = "sv", this.disableWeekend = !1, this.publicHolidays = !0, this.displayYear = (/* @__PURE__ */ new Date()).getFullYear(), this.displayMonth = (/* @__PURE__ */ new Date()).getMonth() + 1, this.selectedDate = "", this.eventsJson = void 0, this._eventsFromJson = null, this._eventsJsonLast = void 0, this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this._mutationObserver = null, this._syncingDisplay = !1, this._onCalendarKeyDown = (e) => {
17
17
  let t = Array.from(this.shadowRoot?.querySelectorAll(".calendar-day.has-event") ?? []), n = this.shadowRoot?.activeElement, r = n && t.includes(n) ? n : document.activeElement, i = t.indexOf(r);
@@ -57,7 +57,7 @@ var o = { fromAttribute(e) {
57
57
  super.attributeChangedCallback(e, t, n), e === "value" && (this.value = n ?? "");
58
58
  }
59
59
  static {
60
- this.styles = n`
60
+ this.styles = r`
61
61
  :host {
62
62
  display: block;
63
63
  margin-block-start: var(--scb-calendar-spacing-block-start, 0);
@@ -174,14 +174,14 @@ var o = { fromAttribute(e) {
174
174
  `;
175
175
  }
176
176
  connectedCallback() {
177
- super.connectedCallback(), this.#e();
178
- let e = Number(this.displayYear), t = Number(this.displayMonth);
179
- !Number.isNaN(e) && !Number.isNaN(t) && t >= 1 && t <= 12 && (this._current = new Date(e, t - 1, 1)), this._syncDisplayFromCurrent(!1), this.addEventListener("change", this._onEventChanged), this._mutationObserver = new MutationObserver(() => {
177
+ super.connectedCallback(), this._removeLazyFocusRingListeners = e(this, this.renderRoot), this.#e();
178
+ let t = Number(this.displayYear), n = Number(this.displayMonth);
179
+ !Number.isNaN(t) && !Number.isNaN(n) && n >= 1 && n <= 12 && (this._current = new Date(t, n - 1, 1)), this._syncDisplayFromCurrent(!1), this.addEventListener("change", this._onEventChanged), this._mutationObserver = new MutationObserver(() => {
180
180
  this.requestUpdate();
181
181
  }), this._mutationObserver.observe(this, { childList: !0 }), this.addEventListener("keydown", this._onCalendarKeyDown);
182
182
  }
183
183
  disconnectedCallback() {
184
- this.removeEventListener("change", this._onEventChanged), super.disconnectedCallback(), this._mutationObserver &&= (this._mutationObserver.disconnect(), null), this.removeEventListener("keydown", this._onCalendarKeyDown);
184
+ this.removeEventListener("change", this._onEventChanged), this._removeLazyFocusRingListeners?.(), this._removeLazyFocusRingListeners = void 0, super.disconnectedCallback(), this._mutationObserver &&= (this._mutationObserver.disconnect(), null), this.removeEventListener("keydown", this._onCalendarKeyDown);
185
185
  }
186
186
  mapSpacingToken(e) {
187
187
  if (!e) return;
@@ -485,7 +485,7 @@ var o = { fromAttribute(e) {
485
485
  return null;
486
486
  }
487
487
  render() {
488
- let e = this._current.getFullYear(), t = this._current.getMonth(), n = this._daysInMonth(e, t), i = this._firstDayOfWeek(e, t), a = this._today, o = this.lang === "en", s = o ? [
488
+ let e = this._current.getFullYear(), t = this._current.getMonth(), n = this._daysInMonth(e, t), r = this._firstDayOfWeek(e, t), a = this._today, o = this.lang === "en", s = o ? [
489
489
  "January",
490
490
  "February",
491
491
  "March",
@@ -548,21 +548,21 @@ var o = { fromAttribute(e) {
548
548
  ], p = f;
549
549
  for (let d = 0; d < l.length; d++) {
550
550
  let f = l[d];
551
- if (s === 0 && f < i) {
551
+ if (s === 0 && f < r) {
552
552
  if (!this.disableWeekend || f < 5) {
553
- let n = t === 0 ? 11 : t - 1, a = t === 0 ? e - 1 : e, o = this._daysInMonth(a, n) - (i - f - 1);
554
- c.push(r`
553
+ let n = t === 0 ? 11 : t - 1, a = t === 0 ? e - 1 : e, o = this._daysInMonth(a, n) - (r - f - 1);
554
+ c.push(i`
555
555
  <div class="calendar-day calendar-day--other">
556
556
  <span class="calendar-day-number">${o}</span>
557
557
  </div>
558
558
  `);
559
559
  }
560
- } else if (p > n) c.push(r`<div></div>`);
560
+ } else if (p > n) c.push(i`<div></div>`);
561
561
  else {
562
- let i = new Date(e, t, p);
563
- if (this.disableWeekend) for (; i.getDay() === 0 || i.getDay() === 6;) p++, i = new Date(e, t, p);
562
+ let r = new Date(e, t, p);
563
+ if (this.disableWeekend) for (; r.getDay() === 0 || r.getDay() === 6;) p++, r = new Date(e, t, p);
564
564
  if (p > n) {
565
- c.push(r`<div></div>`);
565
+ c.push(i`<div></div>`);
566
566
  continue;
567
567
  }
568
568
  let s = a.getFullYear() === e && a.getMonth() === t && a.getDate() === p, l = `${e}-${String(t + 1).padStart(2, "0")}-${String(p).padStart(2, "0")}`, d = new Date(e, t, p), f = !1, m = null;
@@ -584,7 +584,7 @@ var o = { fromAttribute(e) {
584
584
  prefix: n
585
585
  };
586
586
  });
587
- c.push(r`
587
+ c.push(i`
588
588
  <div
589
589
  class="calendar-day${s ? " today" : ""}${h.length ? " has-event" : ""}${f ? " calendar-day--holiday" : ""}"
590
590
  tabindex=${h.length ? "0" : void 0}
@@ -603,51 +603,51 @@ var o = { fromAttribute(e) {
603
603
  aria-label=${m || (h.length ? h.length === 1 ? h[0].title : h.map((e) => e.title).join(", ") : void 0)}
604
604
  >
605
605
  <md-focus-ring inward></md-focus-ring>
606
- <span class="calendar-day-number">${p} ${m ? r`<span class="calendar-day-holiday-name">${m}</span>` : ""}</span>
606
+ <span class="calendar-day-number">${p} ${m ? i`<span class="calendar-day-holiday-name">${m}</span>` : ""}</span>
607
607
  <div class="calendar-titles-wrapper">
608
- ${g.map((e) => r`<span class="calendar-day-event-title">${e.prefix || ""}${e.title}</span>`)}
608
+ ${g.map((e) => i`<span class="calendar-day-event-title">${e.prefix || ""}${e.title}</span>`)}
609
609
  </div>
610
610
  </div>
611
611
  `), p++;
612
612
  }
613
613
  }
614
- if (f = p, d.push(r`<div class="calendar-grid">${c}</div>`), f > n) break;
614
+ if (f = p, d.push(i`<div class="calendar-grid">${c}</div>`), f > n) break;
615
615
  }
616
- return r`
616
+ return i`
617
617
  <div class="calendar-header">
618
618
  <scb-icon-button @click=${this._prevMonth} icon="chevron_left" aria-label="${o ? "Previous month" : "Föregående månad"}"></scb-icon-button>
619
619
  <span>${s[t]} ${e}</span>
620
620
  <scb-icon-button @click=${this._nextMonth} icon="chevron_right" aria-label="${o ? "Next month" : "Nästa månad"}"></scb-icon-button>
621
621
  </div>
622
622
  <div class="calendar-grid calendar-grid-days">
623
- ${c.map((e) => r`<div>${e}</div>`)}
623
+ ${c.map((e) => i`<div>${e}</div>`)}
624
624
  </div>
625
625
  <div class="calendar-weeks">
626
626
  ${d}
627
627
  </div>
628
- ${this._popupEvent && Array.isArray(this._popupEvent.events) ? r`
628
+ ${this._popupEvent && Array.isArray(this._popupEvent.events) ? i`
629
629
  <scb-dialog variant="floating" open label="${o ? "Events" : "Händelser"} ${this._popupEvent.date}">
630
630
  <scb-list>
631
631
  ${[...this._popupEvent.events].sort((e, t) => {
632
632
  let n = e.start && e.start.includes("T") ? e.start : e.end && e.end.includes("T") ? e.end : "", r = t.start && t.start.includes("T") ? t.start : t.end && t.end.includes("T") ? t.end : "", i = n && n.includes("T"), a = r && r.includes("T");
633
633
  return i && a ? n.localeCompare(r) : i ? -1 : a ? 1 : e.title.localeCompare(t.title);
634
634
  }).map((e) => {
635
- let t = this._popupEvent?.date ?? "", n = "", i = "", a = "";
635
+ let t = this._popupEvent?.date ?? "", n = "", r = "", a = "";
636
636
  if (e.start && e.end) {
637
- let r = e.start.split("T")[0], s = e.end.split("T")[0];
638
- r === s && e.start.includes("T") && e.end.includes("T") ? n = e.start.split("T")[1].substring(0, 5) + " – " + e.end.split("T")[1].substring(0, 5) : t === r && e.start.includes("T") && (n = "Start: " + e.start.split("T")[1].substring(0, 5) + (o ? " (Extended event) " : " (Flerdagsevenemang) ")), t === s && e.end.includes("T") && r !== s && (a = (o ? "End: " : "Slut: ") + e.end.split("T")[1].substring(0, 5)), t !== r && (i = o ? "cont. " : "fort. ");
637
+ let i = e.start.split("T")[0], s = e.end.split("T")[0];
638
+ i === s && e.start.includes("T") && e.end.includes("T") ? n = e.start.split("T")[1].substring(0, 5) + " – " + e.end.split("T")[1].substring(0, 5) : t === i && e.start.includes("T") && (n = "Start: " + e.start.split("T")[1].substring(0, 5) + (o ? " (Extended event) " : " (Flerdagsevenemang) ")), t === s && e.end.includes("T") && i !== s && (a = (o ? "End: " : "Slut: ") + e.end.split("T")[1].substring(0, 5)), t !== i && (r = o ? "cont. " : "fort. ");
639
639
  } else e.start && e.start.includes("T") && (n = e.start.split("T")[1].substring(0, 5));
640
- return e.href ? r`
640
+ return e.href ? i`
641
641
  <scb-list-item
642
642
  type="link"
643
643
  item-href="${e.href}"
644
- label="${i}${e.title}"
644
+ label="${r}${e.title}"
645
645
  supporting-text="${e.description ? e.description : ""}"
646
646
  overline="${n || ""}${a || ""}"
647
647
  >
648
- </scb-list-item>` : r`
648
+ </scb-list-item>` : i`
649
649
  <scb-list-item
650
- label="${i}${e.title}"
650
+ label="${r}${e.title}"
651
651
  supporting-text="${e.description ? e.description : ""}"
652
652
  overline="${n || ""}${a || ""}"
653
653
  >
@@ -659,49 +659,49 @@ var o = { fromAttribute(e) {
659
659
  `;
660
660
  }
661
661
  };
662
- e([a({ type: String })], s.prototype, "lang", void 0), e([a({
662
+ t([o({ type: String })], c.prototype, "lang", void 0), t([o({
663
663
  type: Boolean,
664
664
  attribute: "disable-weekend",
665
665
  reflect: !0,
666
- converter: o
667
- })], s.prototype, "disableWeekend", void 0), e([a({
666
+ converter: s
667
+ })], c.prototype, "disableWeekend", void 0), t([o({
668
668
  type: Boolean,
669
669
  attribute: "public-holidays",
670
- converter: o
671
- })], s.prototype, "publicHolidays", void 0), e([a({
670
+ converter: s
671
+ })], c.prototype, "publicHolidays", void 0), t([o({
672
672
  type: Number,
673
673
  attribute: "display-year",
674
674
  reflect: !0
675
- })], s.prototype, "displayYear", void 0), e([a({
675
+ })], c.prototype, "displayYear", void 0), t([o({
676
676
  type: Number,
677
677
  attribute: "display-month",
678
678
  reflect: !0
679
- })], s.prototype, "displayMonth", void 0), e([a({
679
+ })], c.prototype, "displayMonth", void 0), t([o({
680
680
  type: String,
681
681
  attribute: "selected-date",
682
682
  reflect: !0
683
- })], s.prototype, "selectedDate", void 0), e([a({ attribute: !1 })], s.prototype, "events", void 0), e([a({
683
+ })], c.prototype, "selectedDate", void 0), t([o({ attribute: !1 })], c.prototype, "events", void 0), t([o({
684
684
  type: String,
685
685
  attribute: "events-json"
686
- })], s.prototype, "eventsJson", void 0), e([a({
686
+ })], c.prototype, "eventsJson", void 0), t([o({
687
687
  type: String,
688
688
  reflect: !0
689
- })], s.prototype, "spacing", void 0), e([a({
689
+ })], c.prototype, "spacing", void 0), t([o({
690
690
  type: String,
691
691
  attribute: "spacing-top",
692
692
  reflect: !0
693
- })], s.prototype, "spacingTop", void 0), e([a({
693
+ })], c.prototype, "spacingTop", void 0), t([o({
694
694
  type: String,
695
695
  attribute: "spacing-bottom",
696
696
  reflect: !0
697
- })], s.prototype, "spacingBottom", void 0), e([a({
697
+ })], c.prototype, "spacingBottom", void 0), t([o({
698
698
  type: String,
699
699
  attribute: "spacing-left",
700
700
  reflect: !0
701
- })], s.prototype, "spacingLeft", void 0), e([a({
701
+ })], c.prototype, "spacingLeft", void 0), t([o({
702
702
  type: String,
703
703
  attribute: "spacing-right",
704
704
  reflect: !0
705
- })], s.prototype, "spacingRight", void 0), s = e([i("scb-calendar")], s);
705
+ })], c.prototype, "spacingRight", void 0), c = t([a("scb-calendar")], c);
706
706
  //#endregion
707
- export { s as ScbCalendar };
707
+ export { c as ScbCalendar };
@@ -1,23 +1,26 @@
1
1
  import { __decorate as e } from "../_virtual/_@oxc-project_runtime@0.126.0/helpers/decorate.js";
2
2
  import { LitElement as t, css as n, html as r } from "lit";
3
3
  import { customElement as i, property as a } from "lit/decorators.js";
4
- import "@material/web/focus/md-focus-ring.js";
5
4
  //#region src/scb-components/scb-calendar-card/scb-calendar-card.ts
6
- var o, s = {
5
+ var o = new Intl.DateTimeFormat("sv-SE", { month: "short" }), s = {
7
6
  fromAttribute: (e) => e ?? "",
8
7
  toAttribute: (e) => typeof e == "string" ? e.trim() === "" ? null : e : null
9
- }, c = class extends t {
10
- static {
11
- o = this;
12
- }
8
+ }, c, l;
9
+ function u() {
10
+ return c ??= import("../shared/lazy-focus-ring.js"), c;
11
+ }
12
+ function d() {
13
+ return l ??= import("../shared/lazy-ripple.js"), l;
14
+ }
15
+ var f = class extends t {
13
16
  constructor(...e) {
14
- super(...e), this.variant = "default", this.size = "medium", this.date = null, this.direction = "horizontal", this.title = "", this.calendarCardTitle = "", this.subtitle = "", this.supportingText = "", this.cardHref = "", this.cardHrefNav = "", this.showMedia = null, this.mediaWidth = "", this.mediaHeight = "", this.mediaAspect = "", this.width = "", this.maxWidth = "", this.minWidth = "", this.height = "", this.maxHeight = "", this.minHeight = "", this.sizing = "", this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0;
15
- }
16
- static {
17
- this.__iconLoaded = !1;
18
- }
19
- static {
20
- this.__rippleLoaded = !1;
17
+ super(...e), this.variant = "default", this.size = "medium", this.date = null, this.direction = "horizontal", this.title = "", this.calendarCardTitle = "", this.subtitle = "", this.supportingText = "", this.cardHref = "", this.cardHrefNav = "", this.showMedia = null, this.mediaWidth = "", this.mediaHeight = "", this.mediaAspect = "", this.width = "", this.maxWidth = "", this.minWidth = "", this.height = "", this.maxHeight = "", this.minHeight = "", this.sizing = "", this.spacing = void 0, this.spacingTop = void 0, this.spacingBottom = void 0, this.spacingLeft = void 0, this.spacingRight = void 0, this.__focusRingRequested = !1, this.__focusRingLoaded = !1, this.__rippleRequested = !1, this.__rippleLoaded = !1, this.__pendingRippleClick = !1, this.__onPointerInteraction = (e) => {
18
+ this.__ensureRipple(e);
19
+ }, this.__ensureFocusRingOnFocusVisible = () => {
20
+ this.__focusRingLoaded || this.__focusRingRequested || (this.__focusRingRequested = !0, u().then(({ ensureFocusRingReady: e }) => e()).then(() => {
21
+ this.__focusRingLoaded = !0, this.requestUpdate();
22
+ }));
23
+ };
21
24
  }
22
25
  __hasSlottedContent(e) {
23
26
  return !!this.querySelector(`[slot="${e}"]`);
@@ -25,17 +28,17 @@ var o, s = {
25
28
  __getSlottedText(e) {
26
29
  return this.querySelector(`[slot="${e}"]`)?.textContent?.trim() ?? "";
27
30
  }
28
- get #e() {
31
+ get __resolvedTitle() {
29
32
  return this.__getSlottedText("heading") || this.calendarCardTitle || this.title;
30
33
  }
31
- get #t() {
34
+ get __resolvedSubtitle() {
32
35
  return this.__getSlottedText("subtitle") || this.subtitle;
33
36
  }
34
- get #n() {
35
- return this.#e || this.#t || "Kalenderkort";
37
+ get __resolvedLabel() {
38
+ return this.__resolvedTitle || this.__resolvedSubtitle || "Kalenderkort";
36
39
  }
37
- async firstUpdated() {
38
- o.__iconLoaded || (await import("@material/web/icon/icon.js"), o.__iconLoaded = !0), o.__rippleLoaded || (await import("@material/web/ripple/ripple.js"), o.__rippleLoaded = !0), this.__applyInnerSizing(), this.#i();
40
+ firstUpdated() {
41
+ this.__applyInnerSizing(), this.__applySpacing();
39
42
  }
40
43
  static {
41
44
  this.styles = n`
@@ -182,7 +185,6 @@ var o, s = {
182
185
  align-items: flex-start;
183
186
  gap: var(--scb-calendar-card-gap);
184
187
  align-self: stretch;
185
- cursor: pointer;
186
188
  transition:
187
189
  box-shadow 0.18s ease,
188
190
  transform 0.18s ease,
@@ -192,6 +194,9 @@ var o, s = {
192
194
  inline-size: 100%;
193
195
  max-inline-size: 100%;
194
196
  }
197
+ .calendar-card.clickable {
198
+ cursor: pointer;
199
+ }
195
200
 
196
201
  /* Lås standard till proportionella siffror i kortet */
197
202
  .calendar-card,
@@ -313,7 +318,7 @@ var o, s = {
313
318
  text-overflow: clip;
314
319
  }
315
320
 
316
- .title-container md-icon {
321
+ .title-container .calendar-card-icon {
317
322
  inline-size: var(--scb-calendar-card-icon-size);
318
323
  block-size: var(--scb-calendar-card-icon-size);
319
324
  flex: 0 0 auto;
@@ -327,6 +332,28 @@ var o, s = {
327
332
  justify-content: center;
328
333
  }
329
334
 
335
+ .calendar-card-icon {
336
+ display: inline-flex;
337
+ align-items: center;
338
+ justify-content: center;
339
+ overflow: hidden;
340
+ font-family: 'Material Symbols Outlined';
341
+ font-size: var(--icon-size-medium, 24px);
342
+ line-height: 1;
343
+ white-space: nowrap;
344
+ text-transform: none;
345
+ word-wrap: normal;
346
+ direction: ltr;
347
+ font-variation-settings: normal;
348
+ text-rendering: optimizeLegibility;
349
+ -webkit-font-smoothing: antialiased;
350
+ -moz-osx-font-smoothing: grayscale;
351
+ }
352
+ .calendar-card-icon.scb-svg-icon {
353
+ fill: currentColor;
354
+ font: inherit;
355
+ }
356
+
330
357
  .subtitle {
331
358
  font-family: var(--brand-font, var(--brand, "Inter"), sans-serif);
332
359
  font-size: var(--scb-calendar-card-subtitle-font-size);
@@ -371,19 +398,38 @@ var o, s = {
371
398
  }
372
399
  `;
373
400
  }
401
+ __ensureRipple(e) {
402
+ if (this.cardHref) {
403
+ if (e && (this.__pendingRippleEvent = e), this.__rippleLoaded) {
404
+ this.__syncRipple();
405
+ return;
406
+ }
407
+ this.__rippleRequested || (this.__rippleRequested = !0, d().then(({ ensureRippleReady: e }) => e()).then(() => {
408
+ this.__rippleLoaded = !0, this.requestUpdate(), this.updateComplete.then(() => this.__syncRipple());
409
+ }));
410
+ }
411
+ }
412
+ async __syncRipple() {
413
+ let e = this.renderRoot.querySelector("md-ripple"), t = this.renderRoot.querySelector(".calendar-card"), n = this.__pendingRippleEvent, r = this.__pendingRippleClick;
414
+ this.__pendingRippleEvent = void 0, this.__pendingRippleClick = !1;
415
+ let { syncRippleToControl: i } = await d();
416
+ await i(e, t, n, r);
417
+ }
374
418
  render() {
375
- let e = this.variant ? `${this.variant.toLowerCase()}` : "", t = this.direction ? `${this.direction.toLowerCase()}` : "", n = this.cardHref ? "clickable" : "", i = this.__hasSlottedContent("heading"), a = this.__hasSlottedContent("subtitle"), o = this.__hasSlottedContent("supporting-text"), s = this.calendarCardTitle || this.title, c = this.subtitle, l = this.supportingText, u = i || !!s, d = a || !!c, f = o || !!l, { day: p, month: m } = this.#r(), h = this.mediaWidth && this.mediaWidth.trim() !== "" ? this.mediaWidth : "", g = this.mediaHeight && this.mediaHeight.trim() !== "" ? this.mediaHeight : "", _ = this.mediaAspect && this.mediaAspect.trim() !== "" ? this.mediaAspect : "", v = `${h ? `inline-size:${h};` : ""}${g ? `block-size:${g};` : ""}${_ ? `aspect-ratio:${_};` : ""}`;
419
+ let e = this.variant ? `${this.variant.toLowerCase()}` : "", t = this.direction ? `${this.direction.toLowerCase()}` : "", n = this.cardHref ? "clickable" : "", i = this.__hasSlottedContent("heading"), a = this.__hasSlottedContent("subtitle"), o = this.__hasSlottedContent("supporting-text"), s = this.calendarCardTitle || this.title, c = this.subtitle, l = this.supportingText, u = i || !!s, d = a || !!c, f = o || !!l, { day: p, month: m } = this.__getDateParts(), h = this.mediaWidth && this.mediaWidth.trim() !== "" ? this.mediaWidth : "", g = this.mediaHeight && this.mediaHeight.trim() !== "" ? this.mediaHeight : "", _ = this.mediaAspect && this.mediaAspect.trim() !== "" ? this.mediaAspect : "", v = `${h ? `inline-size:${h};` : ""}${g ? `block-size:${g};` : ""}${_ ? `aspect-ratio:${_};` : ""}`;
376
420
  return r`
377
421
  <div
378
422
  class="calendar-card ${t} ${n} ${e}"
379
423
  role="${this.cardHref ? "link" : "group"}"
380
- aria-label="${this.#n}"
424
+ aria-label="${this.__resolvedLabel}"
381
425
  tabindex="${this.cardHref ? "0" : "-1"}"
382
426
  @click=${this.cardHref ? this._handleHrefNavigation : null}
383
427
  @keydown=${this.cardHref ? this._onKeyDown : null}
384
- style="cursor: ${this.cardHref ? "pointer" : "default"};"
428
+ @focusin=${this.cardHref ? this.__ensureFocusRingOnFocusVisible : null}
429
+ @pointerenter=${this.cardHref ? this.__onPointerInteraction : null}
430
+ @pointerdown=${this.cardHref ? this.__onPointerInteraction : null}
385
431
  >
386
- ${this.cardHref ? r`<md-ripple></md-ripple>` : ""}
432
+ ${this.cardHref && this.__rippleLoaded ? r`<md-ripple></md-ripple>` : ""}
387
433
  ${this.showMedia ? r`
388
434
  <div class="media" style="${v}" aria-label="Datum: ${p} ${m}">
389
435
  <div class="day">${p}</div>
@@ -396,7 +442,7 @@ var o, s = {
396
442
  ${u ? r`
397
443
  <div class="title-container">
398
444
  <div class="title">${i ? r`<slot name="heading"></slot>` : s}</div>
399
- ${this.cardHref ? r`<div class="icon-container"><md-icon>arrow_forward</md-icon></div>` : ""}
445
+ ${this.cardHref ? r`<div class="icon-container"><md-icon class="calendar-card-icon" aria-hidden="true">arrow_forward</md-icon></div>` : ""}
400
446
  </div>
401
447
  ` : ""}
402
448
  ${d ? r`<div class="subtitle">${a ? r`<slot name="subtitle"></slot>` : c}</div>` : ""}
@@ -409,10 +455,10 @@ var o, s = {
409
455
  ` : ""}
410
456
  </div>
411
457
  </div>
412
- ${this.cardHref ? r`<md-focus-ring></md-focus-ring>` : ""}
458
+ ${this.cardHref && this.__focusRingLoaded ? r`<md-focus-ring></md-focus-ring>` : ""}
413
459
  `;
414
460
  }
415
- #r() {
461
+ __getDateParts() {
416
462
  let e = {
417
463
  day: 1,
418
464
  month: "Jan"
@@ -423,7 +469,7 @@ var o, s = {
423
469
  return Number.isNaN(e.getTime()) ? null : e;
424
470
  })();
425
471
  if (!t) return e;
426
- let n = t.getDate(), r = new Intl.DateTimeFormat("sv-SE", { month: "short" }).format(t).replace(".", "").trim();
472
+ let n = t.getDate(), r = o.format(t).replace(".", "").trim();
427
473
  return {
428
474
  day: n,
429
475
  month: r.charAt(0).toUpperCase() + r.slice(1)
@@ -437,113 +483,113 @@ var o, s = {
437
483
  (e.key === "Enter" || e.key === " ") && this.cardHref && (window.open(this.cardHref, "_self"), e.preventDefault());
438
484
  }
439
485
  _handleHrefNavigation() {
440
- this.cardHref && (this.cardHrefNav === "tab" ? window.open(this.cardHref, "_blank") : this.cardHrefNav === "window" ? window.open(this.cardHref, "_blank", "noopener,noreferrer,width=800,height=600") : window.open(this.cardHref, "_self"));
486
+ this.cardHref && ((!this.__rippleLoaded || this.__pendingRippleEvent) && (this.__pendingRippleClick = !0, this.__ensureRipple()), this.cardHrefNav === "tab" ? window.open(this.cardHref, "_blank") : this.cardHrefNav === "window" ? window.open(this.cardHref, "_blank", "noopener,noreferrer,width=800,height=600") : window.open(this.cardHref, "_self"));
441
487
  }
442
488
  mapSpacingToken(e) {
443
489
  if (!e) return;
444
490
  let t = String(e).trim();
445
491
  if (t) return /^\d+$/.test(t) ? `var(--spacing-${Math.max(0, Math.min(14, parseInt(t, 10)))})` : t;
446
492
  }
447
- #i() {
493
+ __applySpacing() {
448
494
  let e = this.mapSpacingToken(this.spacing), t = this.mapSpacingToken(this.spacingTop) ?? e, n = this.mapSpacingToken(this.spacingBottom) ?? e, r = this.mapSpacingToken(this.spacingLeft), i = this.mapSpacingToken(this.spacingRight);
449
495
  t ? this.style.setProperty("--scb-calendar-card-spacing-block-start", t) : this.style.removeProperty("--scb-calendar-card-spacing-block-start"), n ? this.style.setProperty("--scb-calendar-card-spacing-block-end", n) : this.style.removeProperty("--scb-calendar-card-spacing-block-end"), r ? this.style.setProperty("--scb-calendar-card-spacing-inline-start", r) : this.style.removeProperty("--scb-calendar-card-spacing-inline-start"), i ? this.style.setProperty("--scb-calendar-card-spacing-inline-end", i) : this.style.removeProperty("--scb-calendar-card-spacing-inline-end");
450
496
  }
451
497
  updated(e) {
452
- e.has("width") && (this.width ? this.style.inlineSize = this.width : this.style.removeProperty("inline-size")), e.has("maxWidth") && (this.maxWidth ? this.style.maxInlineSize = this.maxWidth : this.style.removeProperty("max-inline-size")), e.has("minWidth") && (this.minWidth ? this.style.minInlineSize = this.minWidth : this.style.removeProperty("min-inline-size")), e.has("height") && (this.height ? this.style.blockSize = this.height : this.style.removeProperty("block-size")), e.has("maxHeight") && (this.maxHeight ? this.style.maxBlockSize = this.maxHeight : this.style.removeProperty("max-block-size")), e.has("minHeight") && (this.minHeight ? this.style.minBlockSize = this.minHeight : this.style.removeProperty("min-block-size")), (e.has("width") || e.has("height") || e.has("maxHeight") || e.has("sizing")) && this.__applyInnerSizing(), (e.has("spacing") || e.has("spacingTop") || e.has("spacingBottom") || e.has("spacingLeft") || e.has("spacingRight")) && this.#i();
498
+ e.has("width") && (this.width ? this.style.inlineSize = this.width : this.style.removeProperty("inline-size")), e.has("maxWidth") && (this.maxWidth ? this.style.maxInlineSize = this.maxWidth : this.style.removeProperty("max-inline-size")), e.has("minWidth") && (this.minWidth ? this.style.minInlineSize = this.minWidth : this.style.removeProperty("min-inline-size")), e.has("height") && (this.height ? this.style.blockSize = this.height : this.style.removeProperty("block-size")), e.has("maxHeight") && (this.maxHeight ? this.style.maxBlockSize = this.maxHeight : this.style.removeProperty("max-block-size")), e.has("minHeight") && (this.minHeight ? this.style.minBlockSize = this.minHeight : this.style.removeProperty("min-block-size")), (e.has("width") || e.has("height") || e.has("maxHeight") || e.has("sizing")) && this.__applyInnerSizing(), (e.has("spacing") || e.has("spacingTop") || e.has("spacingBottom") || e.has("spacingLeft") || e.has("spacingRight")) && this.__applySpacing();
453
499
  }
454
500
  };
455
501
  e([a({
456
502
  type: String,
457
503
  reflect: !0
458
- })], c.prototype, "variant", void 0), e([a({
504
+ })], f.prototype, "variant", void 0), e([a({
459
505
  type: String,
460
506
  reflect: !0
461
- })], c.prototype, "size", void 0), e([a({
507
+ })], f.prototype, "size", void 0), e([a({
462
508
  type: String,
463
509
  attribute: "date"
464
- })], c.prototype, "date", void 0), e([a({
510
+ })], f.prototype, "date", void 0), e([a({
465
511
  type: String,
466
512
  reflect: !0
467
- })], c.prototype, "direction", void 0), e([a({
513
+ })], f.prototype, "direction", void 0), e([a({
468
514
  type: String,
469
515
  reflect: !0,
470
516
  converter: s
471
- })], c.prototype, "title", void 0), e([a({
517
+ })], f.prototype, "title", void 0), e([a({
472
518
  type: String,
473
519
  attribute: "calendar-card-title",
474
520
  reflect: !0,
475
521
  converter: s
476
- })], c.prototype, "calendarCardTitle", void 0), e([a({
522
+ })], f.prototype, "calendarCardTitle", void 0), e([a({
477
523
  type: String,
478
524
  reflect: !0,
479
525
  converter: s
480
- })], c.prototype, "subtitle", void 0), e([a({
526
+ })], f.prototype, "subtitle", void 0), e([a({
481
527
  type: String,
482
528
  attribute: "supporting-text",
483
529
  reflect: !0,
484
530
  converter: s
485
- })], c.prototype, "supportingText", void 0), e([a({
531
+ })], f.prototype, "supportingText", void 0), e([a({
486
532
  type: String,
487
533
  attribute: "card-href"
488
- })], c.prototype, "cardHref", void 0), e([a({
534
+ })], f.prototype, "cardHref", void 0), e([a({
489
535
  type: String,
490
536
  attribute: "card-href-nav"
491
- })], c.prototype, "cardHrefNav", void 0), e([a({
537
+ })], f.prototype, "cardHrefNav", void 0), e([a({
492
538
  type: Boolean,
493
539
  reflect: !0,
494
540
  attribute: "show-media"
495
- })], c.prototype, "showMedia", void 0), e([a({
541
+ })], f.prototype, "showMedia", void 0), e([a({
496
542
  type: String,
497
543
  attribute: "media-width"
498
- })], c.prototype, "mediaWidth", void 0), e([a({
544
+ })], f.prototype, "mediaWidth", void 0), e([a({
499
545
  type: String,
500
546
  attribute: "media-height"
501
- })], c.prototype, "mediaHeight", void 0), e([a({
547
+ })], f.prototype, "mediaHeight", void 0), e([a({
502
548
  type: String,
503
549
  attribute: "media-aspect"
504
- })], c.prototype, "mediaAspect", void 0), e([a({
550
+ })], f.prototype, "mediaAspect", void 0), e([a({
505
551
  type: String,
506
552
  reflect: !0
507
- })], c.prototype, "width", void 0), e([a({
553
+ })], f.prototype, "width", void 0), e([a({
508
554
  type: String,
509
555
  reflect: !0,
510
556
  attribute: "max-width"
511
- })], c.prototype, "maxWidth", void 0), e([a({
557
+ })], f.prototype, "maxWidth", void 0), e([a({
512
558
  type: String,
513
559
  attribute: "min-width"
514
- })], c.prototype, "minWidth", void 0), e([a({
560
+ })], f.prototype, "minWidth", void 0), e([a({
515
561
  type: String,
516
562
  reflect: !0
517
- })], c.prototype, "height", void 0), e([a({
563
+ })], f.prototype, "height", void 0), e([a({
518
564
  type: String,
519
565
  reflect: !0,
520
566
  attribute: "max-height"
521
- })], c.prototype, "maxHeight", void 0), e([a({
567
+ })], f.prototype, "maxHeight", void 0), e([a({
522
568
  type: String,
523
569
  attribute: "min-height"
524
- })], c.prototype, "minHeight", void 0), e([a({
570
+ })], f.prototype, "minHeight", void 0), e([a({
525
571
  type: String,
526
572
  reflect: !0,
527
573
  converter: s
528
- })], c.prototype, "sizing", void 0), e([a({
574
+ })], f.prototype, "sizing", void 0), e([a({
529
575
  type: String,
530
576
  reflect: !0
531
- })], c.prototype, "spacing", void 0), e([a({
577
+ })], f.prototype, "spacing", void 0), e([a({
532
578
  type: String,
533
579
  attribute: "spacing-top",
534
580
  reflect: !0
535
- })], c.prototype, "spacingTop", void 0), e([a({
581
+ })], f.prototype, "spacingTop", void 0), e([a({
536
582
  type: String,
537
583
  attribute: "spacing-bottom",
538
584
  reflect: !0
539
- })], c.prototype, "spacingBottom", void 0), e([a({
585
+ })], f.prototype, "spacingBottom", void 0), e([a({
540
586
  type: String,
541
587
  attribute: "spacing-left",
542
588
  reflect: !0
543
- })], c.prototype, "spacingLeft", void 0), e([a({
589
+ })], f.prototype, "spacingLeft", void 0), e([a({
544
590
  type: String,
545
591
  attribute: "spacing-right",
546
592
  reflect: !0
547
- })], c.prototype, "spacingRight", void 0), c = o = e([i("scb-calendar-card")], c);
593
+ })], f.prototype, "spacingRight", void 0), f = e([i("scb-calendar-card")], f);
548
594
  //#endregion
549
- export { c as ScbCalendarCard };
595
+ export { f as ScbCalendarCard };