@sbb-esta/lyne-elements 1.14.1 → 1.15.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 (196) hide show
  1. package/autocomplete/autocomplete.d.ts +1 -1
  2. package/autocomplete/autocomplete.d.ts.map +1 -1
  3. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +1 -1
  4. package/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
  5. package/autocomplete-grid/autocomplete-grid.js +6 -6
  6. package/autocomplete.js +20 -19
  7. package/calendar/calendar.d.ts +1 -1
  8. package/calendar/calendar.d.ts.map +1 -1
  9. package/calendar.js +25 -27
  10. package/checkbox/checkbox-panel/checkbox-panel.d.ts +1 -1
  11. package/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
  12. package/checkbox/checkbox-panel.js +5 -5
  13. package/checkbox/common.js +1 -1
  14. package/clock/clock.d.ts +1 -1
  15. package/clock/clock.d.ts.map +1 -1
  16. package/clock.js +2 -2
  17. package/container/sticky-bar/sticky-bar.d.ts +29 -2
  18. package/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  19. package/container/sticky-bar.js +69 -31
  20. package/core/base-elements/link-base-element.d.ts +1 -0
  21. package/core/base-elements/link-base-element.d.ts.map +1 -1
  22. package/core/base-elements.js +46 -43
  23. package/core/config/config.d.ts +3 -0
  24. package/core/config/config.d.ts.map +1 -1
  25. package/core/controllers/media-matchers-controller.d.ts +32 -0
  26. package/core/controllers/media-matchers-controller.d.ts.map +1 -0
  27. package/core/controllers.d.ts +1 -0
  28. package/core/controllers.d.ts.map +1 -1
  29. package/core/controllers.js +75 -33
  30. package/core/dom/breakpoint.d.ts +2 -1
  31. package/core/dom/breakpoint.d.ts.map +1 -1
  32. package/core/dom.js +7 -7
  33. package/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
  34. package/core/mixins.js +8 -1
  35. package/core/styles/core/mediaqueries.scss +1 -2
  36. package/core/styles/mixins/buttons.scss +5 -5
  37. package/core/testing/event-spy.d.ts +6 -4
  38. package/core/testing/event-spy.d.ts.map +1 -1
  39. package/core/testing.js +82 -55
  40. package/custom-elements.json +953 -97
  41. package/datepicker/datepicker/datepicker.d.ts.map +1 -1
  42. package/development/autocomplete/autocomplete.d.ts +1 -1
  43. package/development/autocomplete/autocomplete.d.ts.map +1 -1
  44. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts +1 -1
  45. package/development/autocomplete-grid/autocomplete-grid/autocomplete-grid.d.ts.map +1 -1
  46. package/development/autocomplete-grid/autocomplete-grid.js +4 -3
  47. package/development/autocomplete.js +4 -3
  48. package/development/calendar/calendar.d.ts +1 -1
  49. package/development/calendar/calendar.d.ts.map +1 -1
  50. package/development/calendar.js +8 -11
  51. package/development/checkbox/checkbox-panel/checkbox-panel.d.ts +1 -1
  52. package/development/checkbox/checkbox-panel/checkbox-panel.d.ts.map +1 -1
  53. package/development/checkbox/checkbox-panel.js +2 -2
  54. package/development/checkbox/common.js +2 -2
  55. package/development/clock/clock.d.ts +1 -1
  56. package/development/clock/clock.d.ts.map +1 -1
  57. package/development/clock.js +3 -3
  58. package/development/container/sticky-bar/sticky-bar.d.ts +29 -2
  59. package/development/container/sticky-bar/sticky-bar.d.ts.map +1 -1
  60. package/development/container/sticky-bar.js +149 -36
  61. package/development/core/base-elements/link-base-element.d.ts +1 -0
  62. package/development/core/base-elements/link-base-element.d.ts.map +1 -1
  63. package/development/core/base-elements.js +5 -2
  64. package/development/core/config/config.d.ts +3 -0
  65. package/development/core/config/config.d.ts.map +1 -1
  66. package/development/core/config.js +1 -1
  67. package/development/core/controllers/media-matchers-controller.d.ts +32 -0
  68. package/development/core/controllers/media-matchers-controller.d.ts.map +1 -0
  69. package/development/core/controllers.d.ts +1 -0
  70. package/development/core/controllers.d.ts.map +1 -1
  71. package/development/core/controllers.js +65 -1
  72. package/development/core/dom/breakpoint.d.ts +2 -1
  73. package/development/core/dom/breakpoint.d.ts.map +1 -1
  74. package/development/core/dom.js +2 -2
  75. package/development/core/mixins/form-associated-checkbox-mixin.d.ts.map +1 -1
  76. package/development/core/mixins.js +9 -2
  77. package/development/core/testing/event-spy.d.ts +6 -4
  78. package/development/core/testing/event-spy.d.ts.map +1 -1
  79. package/development/core/testing.js +35 -1
  80. package/development/datepicker/datepicker/datepicker.d.ts.map +1 -1
  81. package/development/datepicker/datepicker.js +1 -1
  82. package/development/dialog/dialog.js +2 -2
  83. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +2 -0
  84. package/development/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
  85. package/development/expansion-panel/expansion-panel-header.js +7 -3
  86. package/development/file-selector/file-selector.d.ts +5 -0
  87. package/development/file-selector/file-selector.d.ts.map +1 -1
  88. package/development/file-selector.js +8 -1
  89. package/development/flip-card/flip-card/flip-card.d.ts +4 -0
  90. package/development/flip-card/flip-card/flip-card.d.ts.map +1 -1
  91. package/development/flip-card/flip-card-details.js +4 -6
  92. package/development/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
  93. package/development/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
  94. package/development/flip-card/flip-card-summary.js +9 -10
  95. package/development/flip-card/flip-card.js +26 -2
  96. package/development/form-field/form-field.js +5 -3
  97. package/development/icon/icon.d.ts +1 -1
  98. package/development/icon.js +1 -1
  99. package/development/image/image.d.ts.map +1 -1
  100. package/development/image.js +3 -19
  101. package/development/map-container.js +3 -2
  102. package/development/menu/menu/menu.d.ts +1 -0
  103. package/development/menu/menu/menu.d.ts.map +1 -1
  104. package/development/menu/menu.js +15 -11
  105. package/development/navigation/navigation-section.js +4 -14
  106. package/development/navigation/navigation.js +3 -13
  107. package/development/notification.js +3 -2
  108. package/development/paginator/paginator/paginator.d.ts +1 -5
  109. package/development/paginator/paginator/paginator.d.ts.map +1 -1
  110. package/development/paginator/paginator.js +19 -27
  111. package/development/popover/popover/popover.d.ts.map +1 -1
  112. package/development/popover/popover.js +9 -16
  113. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts +1 -1
  114. package/development/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  115. package/development/radio-button/radio-button-panel.js +2 -2
  116. package/development/sbb-tokens-BdGhUJjM.js +33 -0
  117. package/development/select/select.d.ts +6 -5
  118. package/development/select/select.d.ts.map +1 -1
  119. package/development/select.js +23 -14
  120. package/development/slider/slider.d.ts +5 -0
  121. package/development/slider/slider.d.ts.map +1 -1
  122. package/development/slider.js +8 -1
  123. package/development/table/table-wrapper/table-wrapper.d.ts +1 -1
  124. package/development/table/table-wrapper/table-wrapper.d.ts.map +1 -1
  125. package/development/table/table-wrapper.js +1 -1
  126. package/development/teaser/teaser.d.ts +2 -1
  127. package/development/teaser/teaser.d.ts.map +1 -1
  128. package/development/teaser-product/common/teaser-product-common.d.ts +1 -1
  129. package/development/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  130. package/development/teaser-product/common.js +19 -19
  131. package/development/teaser-product/teaser-product/teaser-product.d.ts +2 -1
  132. package/development/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
  133. package/development/teaser-product/teaser-product.js +44 -12
  134. package/development/teaser.js +33 -7
  135. package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +2 -1
  136. package/development/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
  137. package/development/timetable-occupancy-icon.js +11 -9
  138. package/development/toggle-check/toggle-check.d.ts +1 -1
  139. package/development/toggle-check/toggle-check.d.ts.map +1 -1
  140. package/development/toggle-check.js +2 -2
  141. package/dialog/dialog.js +1 -1
  142. package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts +2 -0
  143. package/expansion-panel/expansion-panel-header/expansion-panel-header.d.ts.map +1 -1
  144. package/expansion-panel/expansion-panel-header.js +25 -23
  145. package/file-selector/file-selector.d.ts +5 -0
  146. package/file-selector/file-selector.d.ts.map +1 -1
  147. package/file-selector.js +7 -0
  148. package/flip-card/flip-card/flip-card.d.ts +4 -0
  149. package/flip-card/flip-card/flip-card.d.ts.map +1 -1
  150. package/flip-card/flip-card-details.js +6 -6
  151. package/flip-card/flip-card-summary/flip-card-summary.d.ts +1 -1
  152. package/flip-card/flip-card-summary/flip-card-summary.d.ts.map +1 -1
  153. package/flip-card/flip-card-summary.js +8 -8
  154. package/flip-card/flip-card.js +56 -42
  155. package/icon/icon.d.ts +1 -1
  156. package/image/image.d.ts.map +1 -1
  157. package/image.js +46 -45
  158. package/map-container.js +7 -7
  159. package/menu/menu/menu.d.ts +1 -0
  160. package/menu/menu/menu.d.ts.map +1 -1
  161. package/menu/menu.js +45 -41
  162. package/navigation/navigation-section.js +7 -7
  163. package/navigation/navigation.js +8 -8
  164. package/package.json +1 -1
  165. package/paginator/paginator/paginator.d.ts +1 -5
  166. package/paginator/paginator/paginator.d.ts.map +1 -1
  167. package/paginator/paginator.js +50 -52
  168. package/popover/popover/popover.d.ts.map +1 -1
  169. package/popover/popover.js +42 -46
  170. package/radio-button/radio-button-panel/radio-button-panel.d.ts +1 -1
  171. package/radio-button/radio-button-panel/radio-button-panel.d.ts.map +1 -1
  172. package/radio-button/radio-button-panel.js +7 -7
  173. package/sbb-tokens-Dx20OtVg.js +18 -0
  174. package/select/select.d.ts +6 -5
  175. package/select/select.d.ts.map +1 -1
  176. package/select.js +55 -53
  177. package/slider/slider.d.ts +5 -0
  178. package/slider/slider.d.ts.map +1 -1
  179. package/slider.js +12 -5
  180. package/table/table-wrapper/table-wrapper.d.ts +1 -1
  181. package/table/table-wrapper/table-wrapper.d.ts.map +1 -1
  182. package/teaser/teaser.d.ts +2 -1
  183. package/teaser/teaser.d.ts.map +1 -1
  184. package/teaser-product/common/teaser-product-common.d.ts +1 -1
  185. package/teaser-product/common/teaser-product-common.d.ts.map +1 -1
  186. package/teaser-product/common.js +22 -20
  187. package/teaser-product/teaser-product/teaser-product.d.ts +2 -1
  188. package/teaser-product/teaser-product/teaser-product.d.ts.map +1 -1
  189. package/teaser-product/teaser-product.js +26 -13
  190. package/teaser.js +38 -26
  191. package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts +2 -1
  192. package/timetable-occupancy-icon/timetable-occupancy-icon.d.ts.map +1 -1
  193. package/timetable-occupancy-icon.js +45 -44
  194. package/toggle-check/toggle-check.d.ts +1 -1
  195. package/toggle-check/toggle-check.d.ts.map +1 -1
  196. package/toggle-check.js +1 -1
@@ -39,6 +39,11 @@ export declare class SbbFileSelectorElement extends SbbFileSelectorElement_base
39
39
  set files(value: File[]);
40
40
  get files(): File[];
41
41
  private _files;
42
+ /**
43
+ * Form type of element.
44
+ * @default 'file'
45
+ */
46
+ get type(): string;
42
47
  /** An event which is emitted each time the file list changes. */
43
48
  private _fileChangedEvent;
44
49
  private _counter;
@@ -1 +1 @@
1
- {"version":3,"file":"file-selector.d.ts","sourceRoot":"","sources":["../../../src/elements/file-selector/file-selector.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAE,UAAU,EAAW,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAgBpF,OAAO,EACL,KAAK,iBAAiB,EACtB,KAAK,gBAAgB,EAGtB,MAAM,mBAAmB,CAAC;AAI3B,OAAO,+BAA+B,CAAC;AACvC,OAAO,sCAAsC,CAAC;AAC9C,OAAO,YAAY,CAAC;AAEpB,MAAM,MAAM,QAAQ,GAAG,UAAU,CAAC,KAAK,CAAC;;AAExC;;;;;;;;GAQG;AACH,qBAGM,sBAAuB,SAAQ,2BAAoD;IACvF,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;MAElB;IAEX,wDAAwD;IACxD,SAA4B,OAAO,EAAE,SAAS,GAAG,UAAU,CAAa;IAExE,mCAAmC;IACnC,SAA6C,IAAI,EAAE,GAAG,GAAG,GAAG,CAAO;IAEnE,kDAAkD;IAClD,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAE1C,+EAA+E;IAC/E,SACgB,YAAY,EAAE,S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AE7B,mBAAmB,EAAE,sBAAsB,CAAC;KAC7C;CACF"}
package/file-selector.js CHANGED
@@ -101,6 +101,13 @@ let Ce = (() => {
101
101
  get files() {
102
102
  return this._files;
103
103
  }
104
+ /**
105
+ * Form type of element.
106
+ * @default 'file'
107
+ */
108
+ get type() {
109
+ return "file";
110
+ }
104
111
  /**
105
112
  * @deprecated use the 'files' property instead
106
113
  */
@@ -26,15 +26,19 @@ export declare class SbbFlipCardElement extends SbbFlipCardElement_base {
26
26
  get summary(): SbbFlipCardSummaryElement | null;
27
27
  /** Returns the slotted sbb-flip-card-details. */
28
28
  get details(): SbbFlipCardDetailsElement | null;
29
+ /** Returns the card details content element wrapper. */
30
+ private get _detailsContentElement();
29
31
  /** Whether the flip card is flipped. */
30
32
  get isFlipped(): boolean;
31
33
  /** Whether the card is flipped or not. */
32
34
  private accessor _flipped;
33
35
  private _abort;
34
36
  private _language;
37
+ private _cardDetailsResizeObserver;
35
38
  connectedCallback(): void;
36
39
  /** Toggles the state of the sbb-flip-card. */
37
40
  toggle(): void;
41
+ private _setCardDetailsHeight;
38
42
  private _accessibilityLabel;
39
43
  protected render(): TemplateResult;
40
44
  }
@@ -1 +1 @@
1
- {"version":3,"file":"flip-card.d.ts","sourceRoot":"","sources":["../../../../src/elements/flip-card/flip-card/flip-card.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,cAAc,EAAkB,UAAU,EAAE,KAAK,cAAc,EAAE,MAAM,KAAK,CAAC;AAO3F,OAAO,EAAE,YAAY,EAAE,MAAM,wBAAwB,CAAC;AAGtD,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AACzE,OAAO,KAAK,EAAE,yBAAyB,EAAE,MAAM,yBAAyB,CAAC;AAIzE,OAAO,yCAAyC,CAAC;AACjD,OAAO,6BAA6B,CAAC;;AAErC;;;;;;GAMG;AACH,qBAEM,kBAAmB,SAAQ,uBAA6B;IAC5D,OAAuB,MAAM,EAAE,cAAc,CAAS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hD,+CAA+C;IAC/C,SAAS,CAAC,IAAI,EAAE,YAAY,CAA0D;IAEtF,iDAAiD;IACjD,IAAW,OAAO,IAAI,yBAAyB,GAAG,IAAI,CAErD;IAED,iDAAiD;IACjD,IAAW,OAAO,IAAI,yBAAyB,GAAG,IAAI,CAErD;IAED,wDAAwD;IACxD,OAAO,KAAK,sBAAsB,GAEjC;IAED,wCAAwC;IACxC,IAAW,SAAS,IAAI,OAAO,CAE9B;IAED,0CAA0C;IACjC,OAAO,CAAC,QAAQ,CAAC,QAAQ,CAAS;IAE3C,OAAO,CAAC,MAAM,CAAyC;IACvD,OAAO,CAAC,SAAS,CAAmC;IACpD,OAAO,CAAC,0BAA0B,CAI/B;IAEa,iBAAiB,IAAI,IAAI;IAgBzC,8CAA8C;IACvC,MAAM,IAAI,IAAI;IAerB,OAAO,CAAC,qBAAqB;YAKf,mBAAmB;cAWd,MAAM,IAAI,cAAc;CAsB5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,eAAe,EAAE,kBAAkB,CAAC;KACrC;CACF"}
@@ -4,12 +4,12 @@ import { css as p, html as f, LitElement as m } from "lit";
4
4
  import { customElement as u } from "lit/decorators.js";
5
5
  import { IS_FOCUSABLE_QUERY as v } from "../core/a11y.js";
6
6
  import { hostAttributes as y } from "../core/decorators.js";
7
- const g = p`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-details-opacity: 0;--sbb-flip-card-details-translate-y: var(--sbb-spacing-fixed-2x);--sbb-flip-card-details-transition-delay: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x) );--sbb-flip-card-details-padding: var(--sbb-spacing-responsive-s);--sbb-flip-card-details-padding-block-end: calc( var(--sbb-spacing-responsive-s) + var(--sbb-spacing-responsive-xs) + var(--sbb-size-element-m) );display:contents}.sbb-flip-card-details--wrapper{display:grid;grid-template-rows:0fr;pointer-events:none;color:var(--sbb-color-milk);opacity:var(--sbb-flip-card-details-opacity);transform:translateY(var(--sbb-flip-card-details-translate-y));transition-property:grid-template-rows,transform,opacity;transition-duration:var(--sbb-flip-card-details-transition-duration)}:host([data-flipped]) .sbb-flip-card-details--wrapper{grid-template-rows:1fr;transition-delay:0s,var(--sbb-flip-card-details-transition-delay),var(--sbb-flip-card-details-transition-delay)}.sbb-flip-card-details{overflow:hidden;padding:var(--sbb-flip-card-details-padding);padding-block-end:var(--sbb-flip-card-details-padding-block-end)}`;
8
- let k = (() => {
7
+ const h = p`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-details-opacity: 0;--sbb-flip-card-details-translate-y: var(--sbb-spacing-fixed-2x);--sbb-flip-card-details-transition-delay: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x) );--sbb-flip-card-details-padding: var(--sbb-spacing-responsive-s);--sbb-flip-card-details-padding-block-end: calc( var(--sbb-spacing-responsive-s) + var(--sbb-spacing-responsive-xs) + var(--sbb-size-element-m) );display:contents}.sbb-flip-card-details--wrapper{position:absolute;pointer-events:none;color:var(--sbb-color-milk);opacity:var(--sbb-flip-card-details-opacity);transform:translateY(var(--sbb-flip-card-details-translate-y));transition-property:transform,opacity;transition-duration:var(--sbb-flip-card-details-transition-duration)}:host([data-flipped]) .sbb-flip-card-details--wrapper{transition-delay:var(--sbb-flip-card-details-transition-delay),var(--sbb-flip-card-details-transition-delay)}.sbb-flip-card-details{overflow:hidden;padding:var(--sbb-flip-card-details-padding);padding-block-end:var(--sbb-flip-card-details-padding-block-end)}`;
8
+ let E = (() => {
9
9
  var a;
10
10
  let d = [u("sbb-flip-card-details"), y({
11
11
  slot: "details"
12
- })], r, i = [], t, l = m;
12
+ })], i, r = [], t, l = m;
13
13
  return a = class extends l {
14
14
  constructor() {
15
15
  super(), new c(this, {
@@ -36,9 +36,9 @@ let k = (() => {
36
36
  }
37
37
  }, t = a, (() => {
38
38
  const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(l[Symbol.metadata] ?? null) : void 0;
39
- n(null, r = { value: t }, d, { kind: "class", name: t.name, metadata: e }, null, i), t = r.value, e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
40
- })(), a.styles = g, b(t, i), t;
39
+ n(null, i = { value: t }, d, { kind: "class", name: t.name, metadata: e }, null, r), t = i.value, e && Object.defineProperty(t, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
40
+ })(), a.styles = h, b(t, r), t;
41
41
  })();
42
42
  export {
43
- k as SbbFlipCardDetailsElement
43
+ E as SbbFlipCardDetailsElement
44
44
  };
@@ -10,7 +10,7 @@ export declare class SbbFlipCardSummaryElement extends LitElement {
10
10
  static styles: CSSResultGroup;
11
11
  /** The position where to render the image. */
12
12
  accessor imageAlignment: SbbFlipCardImageAlignment;
13
- protected willUpdate(_changedProperties: PropertyValues): void;
13
+ protected willUpdate(changedProperties: PropertyValues<this>): void;
14
14
  protected render(): TemplateResult;
15
15
  }
16
16
  declare global {
@@ -1 +1 @@
1
- {"version":3,"file":"flip-card-summary.d.ts","sourceRoot":"","sources":["../../../../src/elements/flip-card/flip-card-summary/flip-card-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,MAAM,MAAM,yBAAyB,GAAG,OAAO,GAAG,OAAO,CAAC;AAE1D;;;;;GAKG;AACH,qBAKM,yBAA0B,SAAQ,UAAU;IAChD,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,8CAA8C;IAC9C,SACgB,cAAc,EAAE,yBAAyB,CAAW;cAEjD,UAAU,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;cAQpD,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uBAAuB,EAAE,yBAAyB,CAAC;KACpD;CACF"}
1
+ {"version":3,"file":"flip-card-summary.d.ts","sourceRoot":"","sources":["../../../../src/elements/flip-card/flip-card-summary/flip-card-summary.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,cAAc,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAC1E,OAAO,EAAQ,UAAU,EAAE,MAAM,KAAK,CAAC;AAOvC,MAAM,MAAM,yBAAyB,GAAG,OAAO,GAAG,OAAO,CAAC;AAE1D;;;;;GAKG;AACH,qBAKM,yBAA0B,SAAQ,UAAU;IAChD,OAAuB,MAAM,EAAE,cAAc,CAAS;IAEtD,8CAA8C;IAC9C,SACgB,cAAc,EAAE,yBAAyB,CAAW;cAEjD,UAAU,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cAQzD,MAAM,IAAI,cAAc;CAU5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,uBAAuB,EAAE,yBAAyB,CAAC;KACpD;CACF"}
@@ -1,18 +1,18 @@
1
- var p = (e) => {
2
- throw TypeError(e);
1
+ var p = (a) => {
2
+ throw TypeError(a);
3
3
  };
4
- var u = (e, a, t) => a.has(e) || p("Cannot " + t);
5
- var f = (e, a, t) => (u(e, a, "read from private field"), t ? t.call(e) : a.get(e)), h = (e, a, t) => a.has(e) ? p("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, t), y = (e, a, t, i) => (u(e, a, "write to private field"), i ? i.call(e, t) : a.set(e, t), t);
4
+ var u = (a, e, t) => e.has(a) || p("Cannot " + t);
5
+ var f = (a, e, t) => (u(a, e, "read from private field"), t ? t.call(a) : e.get(a)), h = (a, e, t) => e.has(a) ? p("Cannot add the same private member more than once") : e instanceof WeakSet ? e.add(a) : e.set(a, t), y = (a, e, t, i) => (u(a, e, "write to private field"), i ? i.call(a, t) : e.set(a, t), t);
6
6
  import { __esDecorate as v, __runInitializers as o } from "tslib";
7
7
  import { css as w, html as _, LitElement as A } from "lit";
8
8
  import { customElement as x, property as S } from "lit/decorators.js";
9
9
  import { hostAttributes as z } from "../core/decorators.js";
10
- const E = w`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-summary-opacity: 1;--sbb-flip-card-summary-pointer-events: all;display:contents}.sbb-flip-card-summary{display:grid;position:absolute;pointer-events:var(--sbb-flip-card-summary-pointer-events);opacity:var(--sbb-flip-card-summary-opacity);border-radius:var(--sbb-flip-card-border-radius);overflow:hidden;grid-template-columns:1fr;grid-template-rows:auto 1fr;width:100%;height:100%;transition:all var(--sbb-flip-card-summary-transition-duration) ease-out;transition-delay:var(--sbb-flip-card-summary-transition-delay)}@media (min-width: 37.5rem){:host([image-alignment=after]) .sbb-flip-card-summary{grid-template-columns:repeat(3,1fr);grid-template-rows:1fr}}@media (min-width: 52.5rem){:host([image-alignment=after]) .sbb-flip-card-summary{grid-template-columns:repeat(2,1fr);grid-template-rows:1fr}}::slotted(sbb-title){padding-inline:var(--sbb-spacing-responsive-s);padding-block:var(--sbb-spacing-responsive-s) var(--sbb-spacing-responsive-xs);margin:0;grid-area:1/1/2/2}@media (min-width: 37.5rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/3}}@media (min-width: 52.5rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/2}}::slotted(*:not([slot=image])){transform:translateY(var(--sbb-flip-card-translate-title-y-hover, 0rem));transition:transform var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x)) var(--sbb-animation-easing)}.sbb-flip-card-summary--image-wrapper{max-height:var(--sbb-flip-card-min-height);grid-area:2/1/3/2}@media (min-width: 37.5rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/3/2/4}}@media (min-width: 52.5rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/2/2/3}}::slotted(img){object-fit:cover;width:100%;height:100%}::slotted(sbb-image){--sbb-image-border-radius: 0;--sbb-image-aspect-ratio: auto;width:100%;height:100%}`;
10
+ const E = w`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-summary-opacity: 1;--sbb-flip-card-summary-pointer-events: all;display:contents}.sbb-flip-card-summary{display:grid;min-height:var(--sbb-flip-card-min-height);pointer-events:var(--sbb-flip-card-summary-pointer-events);opacity:var(--sbb-flip-card-summary-opacity);border-radius:var(--sbb-flip-card-border-radius);overflow:hidden;grid-template-columns:minmax(0,1fr);grid-template-rows:auto minmax(0,1fr);width:100%;height:100%;transition:all var(--sbb-flip-card-summary-transition-duration) ease-out;transition-delay:var(--sbb-flip-card-summary-transition-delay)}@media (min-width: 37.5rem){:host([image-alignment=after]) .sbb-flip-card-summary{grid-template-columns:repeat(3,minmax(0,1fr));grid-template-rows:1fr}}@media (min-width: 52.5rem){:host([image-alignment=after]) .sbb-flip-card-summary{grid-template-columns:repeat(2,minmax(0,1fr));grid-template-rows:1fr}}::slotted(sbb-title){padding-inline:var(--sbb-spacing-responsive-s);padding-block:var(--sbb-spacing-responsive-s) var(--sbb-spacing-responsive-xs);margin:0;grid-area:1/1/2/2}@media (min-width: 37.5rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/3}}@media (min-width: 52.5rem){:host([image-alignment=after]) ::slotted(sbb-title){grid-area:1/1/2/2}}::slotted(*:not([slot=image])){transform:translateY(var(--sbb-flip-card-translate-title-y-hover, 0rem));transition:transform var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x)) var(--sbb-animation-easing)}.sbb-flip-card-summary--image-wrapper{grid-area:2/1/3/2}@media (min-width: 37.5rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/3/2/4}}@media (min-width: 52.5rem){:host([image-alignment=after]) .sbb-flip-card-summary--image-wrapper{grid-area:1/2/2/3}}::slotted(img){object-fit:cover;width:100%;height:100%}::slotted(sbb-image){--sbb-image-border-radius: 0;--sbb-image-aspect-ratio: auto;width:100%;height:100%}`;
11
11
  let C = (() => {
12
12
  var l, s;
13
- let e = [x("sbb-flip-card-summary"), z({
13
+ let a = [x("sbb-flip-card-summary"), z({
14
14
  slot: "summary"
15
- })], a, t = [], i, d = A, b, g = [], c = [];
15
+ })], e, t = [], i, d = A, b, g = [], c = [];
16
16
  return s = class extends d {
17
17
  constructor() {
18
18
  super(...arguments);
@@ -44,7 +44,7 @@ let C = (() => {
44
44
  const r = typeof Symbol == "function" && Symbol.metadata ? Object.create(d[Symbol.metadata] ?? null) : void 0;
45
45
  b = [S({ attribute: "image-alignment", reflect: !0 })], v(s, null, b, { kind: "accessor", name: "imageAlignment", static: !1, private: !1, access: { has: (m) => "imageAlignment" in m, get: (m) => m.imageAlignment, set: (m, n) => {
46
46
  m.imageAlignment = n;
47
- } }, metadata: r }, g, c), v(null, a = { value: i }, e, { kind: "class", name: i.name, metadata: r }, null, t), i = a.value, r && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: r });
47
+ } }, metadata: r }, g, c), v(null, e = { value: i }, a, { kind: "class", name: i.name, metadata: r }, null, t), i = e.value, r && Object.defineProperty(i, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: r });
48
48
  })(), s.styles = E, o(i, t), i;
49
49
  })();
50
50
  export {
@@ -1,30 +1,35 @@
1
- var w = (e) => {
1
+ var C = (e) => {
2
2
  throw TypeError(e);
3
3
  };
4
- var z = (e, a, s) => a.has(e) || w("Cannot " + s);
5
- var m = (e, a, s) => (z(e, a, "read from private field"), s ? s.call(e) : a.get(e)), f = (e, a, s) => a.has(e) ? w("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, s), d = (e, a, s, r) => (z(e, a, "write to private field"), r ? r.call(e, s) : a.set(e, s), s);
6
- import { __runInitializers as c, __esDecorate as u } from "tslib";
7
- import { css as L, LitElement as S, isServer as C, html as E } from "lit";
8
- import { customElement as $, property as F, state as I } from "lit/decorators.js";
9
- import { until as A } from "lit/directives/until.js";
10
- import { IS_FOCUSABLE_QUERY as D } from "../core/a11y.js";
11
- import { SbbConnectedAbortController as O, SbbLanguageController as T } from "../core/controllers.js";
12
- import { forceType as j } from "../core/decorators.js";
13
- import { EventEmitter as q } from "../core/eventing.js";
14
- import { i18nFlipCard as H, i18nReverseCard as R } from "../core/i18n.js";
15
- import { SbbHydrationMixin as U } from "../core/mixins.js";
4
+ var k = (e, a, s) => a.has(e) || C("Cannot " + s);
5
+ var m = (e, a, s) => (k(e, a, "read from private field"), s ? s.call(e) : a.get(e)), f = (e, a, s) => a.has(e) ? C("Cannot add the same private member more than once") : a instanceof WeakSet ? a.add(e) : a.set(e, s), d = (e, a, s, r) => (k(e, a, "write to private field"), r ? r.call(e, s) : a.set(e, s), s);
6
+ import { __runInitializers as c, __esDecorate as h } from "tslib";
7
+ import { ResizeController as w } from "@lit-labs/observers/resize-controller.js";
8
+ import { css as L, LitElement as S, isServer as E, html as D } from "lit";
9
+ import { customElement as H, property as R, state as $ } from "lit/decorators.js";
10
+ import { until as I } from "lit/directives/until.js";
11
+ import { IS_FOCUSABLE_QUERY as O } from "../core/a11y.js";
12
+ import { SbbConnectedAbortController as F, SbbLanguageController as A } from "../core/controllers.js";
13
+ import { forceType as T } from "../core/decorators.js";
14
+ import { EventEmitter as j } from "../core/eventing.js";
15
+ import { i18nFlipCard as q, i18nReverseCard as M } from "../core/i18n.js";
16
+ import { SbbHydrationMixin as P } from "../core/mixins.js";
16
17
  import "../button/secondary-button-static.js";
17
18
  import "../screen-reader-only.js";
18
- const B = L`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-toggle-icon-transform: rotate(0);--sbb-flip-card-background-color: var(--sbb-color-cloud);--sbb-flip-card-border-radius: var(--sbb-border-radius-4x);--sbb-flip-card-min-height: 17.5rem;--sbb-flip-card-summary-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x) );--sbb-flip-card-summary-transition-delay: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x) );--sbb-flip-card-details-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );position:relative;display:block}@media (min-width: 52.5rem){:host{--sbb-flip-card-min-height: 20rem}}@media (any-hover: hover){:host(:hover){--sbb-flip-card-background-color: var(--sbb-color-cloud-alpha-80);--sbb-flip-card-translate-title-y-hover: -.0625rem}}:host([data-flipped]){--sbb-flip-card-toggle-icon-transform: rotate(45deg);--sbb-flip-card-details-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x) );--sbb-flip-card-summary-transition-delay: 0s}:host([data-flipped]) ::slotted(sbb-flip-card-summary){--sbb-flip-card-summary-opacity: 0;--sbb-flip-card-summary-pointer-events: none}:host([data-flipped]) ::slotted(sbb-flip-card-details){--sbb-flip-card-details-opacity: 1;--sbb-flip-card-details-translate-y: 0}@media (min-width: 37.5rem) and (max-width: 52.4375rem){:host([data-image-alignment=after]){--sbb-flip-card-min-height: 15rem}}@media (min-width: 80rem){:host([data-image-alignment=after]){--sbb-flip-card-min-height: 25rem}}.sbb-flip-card{position:relative;display:flex;height:100%;flex-flow:wrap;flex-direction:column;gap:var(--sbb-spacing-responsive-xs);min-height:var(--sbb-flip-card-min-height);background-color:var(--sbb-flip-card-background-color);border-radius:var(--sbb-flip-card-border-radius);transition:var(--sbb-flip-card-summary-transition-duration) ease-out;transition-delay:var(--sbb-flip-card-summary-transition-delay);cursor:pointer}@media (forced-colors: active){.sbb-flip-card:after{content:"";border:var(--sbb-border-width-2x) solid CanvasText;border-radius:var(--sbb-flip-card-border-radius);position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}}@media (forced-colors: active) and (any-hover: hover){:host(:hover) .sbb-flip-card:after{border-color:Highlight}}.sbb-flip-card:before{content:"";opacity:0;pointer-events:none;position:absolute;inset-inline-start:var(--sbb-spacing-responsive-s);inset-block-end:var(--sbb-spacing-responsive-s);background-color:var(--sbb-color-midnight);width:var(--sbb-size-element-xs);height:var(--sbb-size-element-xs);border-radius:16rem;transition:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-3x)) ease-out}:host([data-flipped]) .sbb-flip-card:before{opacity:1;inset-inline-start:0;inset-block-end:0;width:100%;height:100%;border-radius:var(--sbb-flip-card-border-radius);transition-duration:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x))}.sbb-flip-card--toggle-button{position:absolute;inset-inline-start:var(--sbb-spacing-responsive-s);inset-block-end:var(--sbb-spacing-responsive-s)}:host([data-flipped]) .sbb-flip-card--toggle-button{--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-flip-card--toggle-button-icon{transform:var(--sbb-flip-card-toggle-icon-transform);transition:transform var(--sbb-flip-card-summary-transition-duration) ease-out}.sbb-flip-card-button{-webkit-appearance:none;-moz-appearance:none;box-sizing:border-box;margin:0;outline:none;border:none;border-radius:0;padding:0;background:none;-webkit-tap-highlight-color:transparent;color:inherit;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border-radius:var(--sbb-flip-card-border-radius);cursor:pointer}.sbb-flip-card-button:not([data-focus-origin=mouse],[data-focus-origin=touch]):focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width)}`;
19
- let ei = (() => {
19
+ const U = L`*,:before,:after{box-sizing:border-box}:host{--sbb-flip-card-toggle-icon-transform: rotate(0);--sbb-flip-card-background-color: var(--sbb-color-cloud);--sbb-flip-card-border-radius: var(--sbb-border-radius-4x);--sbb-flip-card-min-height: 17.5rem;--sbb-flip-card-summary-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x) );--sbb-flip-card-summary-transition-delay: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x) );--sbb-flip-card-details-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );position:relative;display:block}@media (min-width: 52.5rem){:host{--sbb-flip-card-min-height: 20rem}}@media (any-hover: hover){:host(:hover){--sbb-flip-card-background-color: var(--sbb-color-cloud-alpha-80);--sbb-flip-card-translate-title-y-hover: -.0625rem}}:host([data-flipped]){--sbb-flip-card-toggle-icon-transform: rotate(45deg);--sbb-flip-card-details-transition-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-2x) );--sbb-flip-card-summary-transition-delay: 0s}:host([data-flipped]) ::slotted(sbb-flip-card-summary){--sbb-flip-card-summary-opacity: 0;--sbb-flip-card-summary-pointer-events: none}:host([data-flipped]) ::slotted(sbb-flip-card-details){--sbb-flip-card-details-opacity: 1;--sbb-flip-card-details-translate-y: 0}@media (min-width: 37.5rem) and (max-width: 52.4375rem){:host([data-image-alignment=after]){--sbb-flip-card-min-height: 15rem}}@media (min-width: 80rem){:host([data-image-alignment=after]){--sbb-flip-card-min-height: 25rem}}.sbb-flip-card{position:relative;display:flex;height:100%;flex-flow:wrap;flex-direction:column;gap:var(--sbb-spacing-responsive-xs);min-height:var(--sbb-flip-card-min-height);background-color:var(--sbb-flip-card-background-color);border-radius:var(--sbb-flip-card-border-radius);transition:all var(--sbb-flip-card-summary-transition-duration) ease-out,min-height var(--sbb-flip-card-details-transition-duration);transition-delay:var(--sbb-flip-card-summary-transition-delay);cursor:pointer}:host([data-flipped]) .sbb-flip-card{min-height:max(var(--sbb-flip-card-min-height),var(--sbb-flip-card-details-height))}@media (forced-colors: active){.sbb-flip-card:after{content:"";border:var(--sbb-border-width-2x) solid CanvasText;border-radius:var(--sbb-flip-card-border-radius);position:absolute;top:0;right:0;bottom:0;left:0;pointer-events:none}}@media (forced-colors: active) and (any-hover: hover){:host(:hover) .sbb-flip-card:after{border-color:Highlight}}.sbb-flip-card:before{content:"";opacity:0;pointer-events:none;position:absolute;inset-inline-start:var(--sbb-spacing-responsive-s);inset-block-end:var(--sbb-spacing-responsive-s);background-color:var(--sbb-color-midnight);width:var(--sbb-size-element-xs);height:var(--sbb-size-element-xs);border-radius:16rem;transition:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-3x)) ease-out}:host([data-flipped]) .sbb-flip-card:before{opacity:1;inset-inline-start:0;inset-block-end:0;width:100%;height:100%;border-radius:var(--sbb-flip-card-border-radius);transition-duration:var(--sbb-disable-animation-zero-time, var(--sbb-animation-duration-5x))}.sbb-flip-card--toggle-button{position:absolute;inset-inline-start:var(--sbb-spacing-responsive-s);inset-block-end:var(--sbb-spacing-responsive-s)}:host([data-flipped]) .sbb-flip-card--toggle-button{--sbb-focus-outline-color: var(--sbb-focus-outline-color-dark)}.sbb-flip-card--toggle-button-icon{transform:var(--sbb-flip-card-toggle-icon-transform);transition:transform var(--sbb-flip-card-summary-transition-duration) ease-out}.sbb-flip-card-button{-webkit-appearance:none;-moz-appearance:none;box-sizing:border-box;margin:0;outline:none;border:none;border-radius:0;padding:0;background:none;-webkit-tap-highlight-color:transparent;color:inherit;position:absolute;top:0;right:0;bottom:0;left:0;width:100%;border-radius:var(--sbb-flip-card-border-radius);cursor:pointer}.sbb-flip-card-button:not([data-focus-origin=mouse],[data-focus-origin=touch]):focus-visible{outline-offset:var(--sbb-focus-outline-offset);outline:var(--sbb-focus-outline-color) solid var(--sbb-focus-outline-width)}`;
20
+ let st = (() => {
20
21
  var l, n, o;
21
- let e = [$("sbb-flip-card")], a, s = [], r, h = U(S), g, v = [], y = [], _, x = [], k = [];
22
- var p = (o = class extends h {
22
+ let e = [H("sbb-flip-card")], a, s = [], r, u = P(S), g, v = [], _ = [], y, x = [], z = [];
23
+ var p = (o = class extends u {
23
24
  constructor() {
24
25
  super(...arguments);
25
26
  f(this, l);
26
27
  f(this, n);
27
- d(this, l, c(this, v, "")), this.flip = (c(this, y), new q(this, p.events.flip)), d(this, n, c(this, x, !1)), this._abort = (c(this, k), new O(this)), this._language = new T(this);
28
+ d(this, l, c(this, v, "")), this.flip = (c(this, _), new j(this, p.events.flip)), d(this, n, c(this, x, !1)), this._abort = (c(this, z), new F(this)), this._language = new A(this), this._cardDetailsResizeObserver = new w(this, {
29
+ target: null,
30
+ skipInitial: !0,
31
+ callback: () => this._setCardDetailsHeight()
32
+ });
28
33
  }
29
34
  /**
30
35
  * This will be forwarded as aria-label to the action in the non flipped state.
@@ -33,18 +38,22 @@ let ei = (() => {
33
38
  get accessibilityLabel() {
34
39
  return m(this, l);
35
40
  }
36
- set accessibilityLabel(i) {
37
- d(this, l, i);
41
+ set accessibilityLabel(t) {
42
+ d(this, l, t);
38
43
  }
39
44
  /** Returns the slotted sbb-flip-card-summary. */
40
45
  get summary() {
41
- var i;
42
- return (i = this.querySelector) == null ? void 0 : i.call(this, "sbb-flip-card-summary");
46
+ var t;
47
+ return (t = this.querySelector) == null ? void 0 : t.call(this, "sbb-flip-card-summary");
43
48
  }
44
49
  /** Returns the slotted sbb-flip-card-details. */
45
50
  get details() {
46
- var i;
47
- return (i = this.querySelector) == null ? void 0 : i.call(this, "sbb-flip-card-details");
51
+ var t;
52
+ return (t = this.querySelector) == null ? void 0 : t.call(this, "sbb-flip-card-details");
53
+ }
54
+ /** Returns the card details content element wrapper. */
55
+ get _detailsContentElement() {
56
+ return this.details.shadowRoot.firstElementChild;
48
57
  }
49
58
  /** Whether the flip card is flipped. */
50
59
  get isFlipped() {
@@ -54,32 +63,37 @@ let ei = (() => {
54
63
  get _flipped() {
55
64
  return m(this, n);
56
65
  }
57
- set _flipped(i) {
58
- d(this, n, i);
66
+ set _flipped(t) {
67
+ d(this, n, t);
59
68
  }
60
69
  connectedCallback() {
61
- super.connectedCallback(), this.addEventListener("click", (i) => {
62
- var t, b;
63
- (i.target === this || !((b = (t = i.target) == null ? void 0 : t.matches) != null && b.call(t, D))) && this.toggle();
70
+ super.connectedCallback(), this.addEventListener("click", (t) => {
71
+ var i, b;
72
+ (t.target === this || !((b = (i = t.target) == null ? void 0 : i.matches) != null && b.call(i, O))) && this.toggle();
64
73
  }, { signal: this._abort.signal });
65
74
  }
66
75
  /** Toggles the state of the sbb-flip-card. */
67
76
  toggle() {
68
- this._flipped = !this._flipped, this.toggleAttribute("data-flipped", this._flipped), this.details.toggleAttribute("data-flipped", this._flipped), this.summary.inert = this._flipped, this.details.inert = !this._flipped, this.flip.emit();
77
+ this._flipped = !this._flipped, this._flipped ? (this._setCardDetailsHeight(), this._cardDetailsResizeObserver.observe(this._detailsContentElement)) : this._cardDetailsResizeObserver.unobserve(this._detailsContentElement), this.toggleAttribute("data-flipped", this._flipped), this.details.toggleAttribute("data-flipped", this._flipped), this.summary.inert = this._flipped, this.details.inert = !this._flipped, this.flip.emit();
78
+ }
79
+ _setCardDetailsHeight() {
80
+ var i;
81
+ const t = Math.floor(this._detailsContentElement.offsetHeight);
82
+ (i = this.style) == null || i.setProperty("--sbb-flip-card-details-height", `${t}px`);
69
83
  }
70
84
  async _accessibilityLabel() {
71
- var i, t;
72
- return C ? "" : (await this.hydrationComplete, this._flipped ? R[this._language.current] : `${(this.accessibilityLabel ? this.accessibilityLabel : (t = (i = this.summary) == null ? void 0 : i.textContent) == null ? void 0 : t.trim()) ?? ""}, ${H[this._language.current]}`);
85
+ var t, i;
86
+ return E ? "" : (await this.hydrationComplete, this._flipped ? M[this._language.current] : `${(this.accessibilityLabel ? this.accessibilityLabel : (i = (t = this.summary) == null ? void 0 : t.textContent) == null ? void 0 : i.trim()) ?? ""}, ${q[this._language.current]}`);
73
87
  }
74
88
  render() {
75
- return E`
89
+ return D`
76
90
  <div class="sbb-flip-card">
77
91
  <button
78
92
  class="sbb-flip-card-button"
79
93
  aria-expanded=${this._flipped.toString()}
80
94
  type="button"
81
95
  >
82
- <sbb-screen-reader-only>${A(this._accessibilityLabel(), "")}</sbb-screen-reader-only>
96
+ <sbb-screen-reader-only>${I(this._accessibilityLabel(), "")}</sbb-screen-reader-only>
83
97
  </button>
84
98
  <slot name="summary" @slotchange=${() => this.summary.inert = this._flipped}></slot>
85
99
  <slot name="details" @slotchange=${() => this.details.inert = !this._flipped}></slot>
@@ -94,17 +108,17 @@ let ei = (() => {
94
108
  `;
95
109
  }
96
110
  }, l = new WeakMap(), n = new WeakMap(), r = o, (() => {
97
- const i = typeof Symbol == "function" && Symbol.metadata ? Object.create(h[Symbol.metadata] ?? null) : void 0;
98
- g = [j(), F({ attribute: "accessibility-label" })], _ = [I()], u(o, null, g, { kind: "accessor", name: "accessibilityLabel", static: !1, private: !1, access: { has: (t) => "accessibilityLabel" in t, get: (t) => t.accessibilityLabel, set: (t, b) => {
99
- t.accessibilityLabel = b;
100
- } }, metadata: i }, v, y), u(o, null, _, { kind: "accessor", name: "_flipped", static: !1, private: !1, access: { has: (t) => "_flipped" in t, get: (t) => t._flipped, set: (t, b) => {
101
- t._flipped = b;
102
- } }, metadata: i }, x, k), u(null, a = { value: r }, e, { kind: "class", name: r.name, metadata: i }, null, s), p = r = a.value, i && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: i });
103
- })(), o.styles = B, o.events = {
111
+ const t = typeof Symbol == "function" && Symbol.metadata ? Object.create(u[Symbol.metadata] ?? null) : void 0;
112
+ g = [T(), R({ attribute: "accessibility-label" })], y = [$()], h(o, null, g, { kind: "accessor", name: "accessibilityLabel", static: !1, private: !1, access: { has: (i) => "accessibilityLabel" in i, get: (i) => i.accessibilityLabel, set: (i, b) => {
113
+ i.accessibilityLabel = b;
114
+ } }, metadata: t }, v, _), h(o, null, y, { kind: "accessor", name: "_flipped", static: !1, private: !1, access: { has: (i) => "_flipped" in i, get: (i) => i._flipped, set: (i, b) => {
115
+ i._flipped = b;
116
+ } }, metadata: t }, x, z), h(null, a = { value: r }, e, { kind: "class", name: r.name, metadata: t }, null, s), p = r = a.value, t && Object.defineProperty(r, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: t });
117
+ })(), o.styles = U, o.events = {
104
118
  flip: "flip"
105
119
  }, c(r, s), o);
106
120
  return p = r;
107
121
  })();
108
122
  export {
109
- ei as SbbFlipCardElement
123
+ st as SbbFlipCardElement
110
124
  };
package/icon/icon.d.ts CHANGED
@@ -1,7 +1,7 @@
1
1
  import { PropertyValues, TemplateResult } from 'lit';
2
2
  import { SbbIconBase } from './icon-base.js';
3
3
  /**
4
- * It displays an icon loaded from a registered namespace.
4
+ * Displays an icon loaded from a registered namespace.
5
5
  */
6
6
  export declare class SbbIconElement extends SbbIconBase {
7
7
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"image.d.ts","sourceRoot":"","sources":["../../../src/elements/image/image.ts"],"names":[],"mappings":"AAiBA,OAAO,EACL,KAAK,cAAc,EAEnB,UAAU,EAEV,KAAK,cAAc,EACnB,KAAK,cAAc,EACpB,MAAM,KAAK,CAAC;AASb,MAAM,WAAW,mCAAmC;IAClD,WAAW,EAAE,6CAA6C,EAAE,CAAC;CAC9D;AAED,MAAM,WAAW,6CAA6C;IAC5D,KAAK,EAAE;QACL,MAAM,EAAE,MAAM,CAAC;QACf,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,YAAY,EAAE,6CAA6C,EAAE,CAAC;CAC/D;AAED,MAAM,WAAW,6CAA6C;IAC5D,gBAAgB,EAAE,MAAM,CAAC;IACzB,qBAAqB,EAAE;QACrB,eAAe,EAAE,OAAO,CAAC;QACzB,KAAK,EAAE,MAAM,CAAC;KACf,CAAC;IACF,iBAAiB,EAAE,KAAK,CAAC;CAC1B;AAkGD;;;;;;;;;;;;GAYG;AACH,qBAEM,eAAgB,SAAQ,UAAU;IACtC,OAAuB,MAAM,EAAE,cAAc,CAAS;IACtD,gBAAuB,MAAM;;;MAGlB;IAEX,OAAO,CAAC,eAAe,CAAC,CAAc;IACtC,OAAO,CAAC,eAAe,CAAC,CAA8B;IACtD,OAAO,CAAC,OAAO,CAGb;IAEF;;;;;;OAMG;IACH,SAEgB,GAAG,EAAE,MAAM,CAAM;IAEjC;;;;;;OAMG;IACH,SAEgB,QAAQ,EAAE,OAAO,CAAS;IAE1C;;;;;OAKG;IACH,SAEgB,OAAO,EAAE,MAAM,CAAM;IAErC;;;;OAIG;IACH,SAEgB,SAAS,EAAE,MAAM,CAAM;IAEvC;;OAEG;IACH,SACgB,eAAe,EAAE,cAAc,GAAG,QAAQ,CAAkB;IAE5E;;;;OAIG;IACH,SAEgB,gBAAgB,EAAE,OAAO,CAAS;I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AC,IAAI,CAAC;IAU7F,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,2BAA2B;IAKnC,OAAO,CAAC,gCAAgC;IAMxC,OAAO,CAAC,gBAAgB;IA0CxB,OAAO,CAAC,0BAA0B;IAgElC,OAAO,CAAC,uBAAuB;IAwB/B,OAAO,CAAC,YAAY;cAMD,MAAM,IAAI,cAAc;CAgG5C;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAE7B,WAAW,EAAE,eAAe,CAAC;KAC9B;CACF"}
package/image.js CHANGED
@@ -1,16 +1,17 @@
1
1
  var qt = (r) => {
2
2
  throw TypeError(r);
3
3
  };
4
- var Tt = (r, n, g) => n.has(r) || qt("Cannot " + g);
5
- var p = (r, n, g) => (Tt(r, n, "read from private field"), g ? g.call(r) : n.get(r)), h = (r, n, g) => n.has(r) ? qt("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, g), s = (r, n, g, b) => (Tt(r, n, "write to private field"), b ? b.call(r, g) : n.set(r, g), g);
4
+ var Tt = (r, n, m) => n.has(r) || qt("Cannot " + m);
5
+ var p = (r, n, m) => (Tt(r, n, "read from private field"), m ? m.call(r) : n.get(r)), h = (r, n, m) => n.has(r) ? qt("Cannot add the same private member more than once") : n instanceof WeakSet ? n.add(r) : n.set(r, m), s = (r, n, m, b) => (Tt(r, n, "write to private field"), b ? b.call(r, m) : n.set(r, m), m);
6
6
  import { __esDecorate as c, __runInitializers as a } from "tslib";
7
- import { css as At, html as T, nothing as _, LitElement as Ut } from "lit";
8
- import { customElement as Vt, property as d, eventOptions as Kt } from "lit/decorators.js";
9
- import { ref as Wt } from "lit/directives/ref.js";
7
+ import { S as At, a as Ut, b as Vt, c as Kt, d as Wt, e as Nt, f as Zt, g as Gt, h as Jt, i as te, j as ee, k as ie, l as ae, m as se, n as re } from "./sbb-tokens-Dx20OtVg.js";
8
+ import { css as oe, html as T, nothing as _, LitElement as ne } from "lit";
9
+ import { customElement as ce, property as d, eventOptions as le } from "lit/decorators.js";
10
+ import { ref as pe } from "lit/directives/ref.js";
10
11
  import { forceType as u } from "./core/decorators.js";
11
- import { hostContext as Nt } from "./core/dom.js";
12
- const Zt = 0, Gt = 359, Jt = 360, te = 599, ee = 600, ie = 839, ae = 840, se = 1023, re = 1024, oe = 1279, ne = 1280, ce = 1439, le = 1440, pe = 2579, he = 16, de = At`*,:before,:after{box-sizing:border-box}:host{--sbb-image-border-radius: var(--sbb-border-radius-4x);--sbb-image-aspect-ratio: auto;--sbb-image-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );--sbb-image-object-fit: cover;display:block}:host([aspect-ratio="1-1"]){--sbb-image-aspect-ratio: 1 / 1}:host([aspect-ratio="1-2"]){--sbb-image-aspect-ratio: 1 / 2}:host([aspect-ratio="2-1"]){--sbb-image-aspect-ratio: 2 / 1}:host([aspect-ratio="2-3"]){--sbb-image-aspect-ratio: 2 / 3}:host([aspect-ratio="3-2"]){--sbb-image-aspect-ratio: 3 / 2}:host([aspect-ratio="3-4"]){--sbb-image-aspect-ratio: 3 / 4}:host([aspect-ratio="4-3"]){--sbb-image-aspect-ratio: 4 / 3}:host([aspect-ratio="4-5"]){--sbb-image-aspect-ratio: 4 / 5}:host([aspect-ratio="5-4"]){--sbb-image-aspect-ratio: 5 / 4}:host([aspect-ratio="16-9"]){--sbb-image-aspect-ratio: 16 / 9}:host([aspect-ratio="9-16"]){--sbb-image-aspect-ratio: 9 / 16}:host([data-teaser]){--sbb-image-aspect-ratio: 1 / 1}@media (min-width: 37.5rem){:host([data-teaser]){--sbb-image-aspect-ratio: 16 / 9}}:host(:is([border-radius=none],[data-teaser])){--sbb-image-border-radius: 0}:host([border-radius=round]:not([data-teaser])){--sbb-image-border-radius: var(--sbb-border-radius-infinity)}.sbb-image__figure{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-4x);margin:0;height:100%}.sbb-image__img{opacity:.000001}:host([data-loaded]) .sbb-image__img{opacity:.999999}:host(:not([skip-lqip])) .sbb-image__img{position:absolute;top:0;right:0;bottom:0;left:0}:host([data-loaded]) .sbb-image__blurred{opacity:0}picture{display:contents}:is(.sbb-image__img,.sbb-image__blurred){width:100%;height:100%;object-fit:var(--sbb-image-object-fit);object-position:var(--sbb-image-object-position);transition:opacity var(--sbb-image-animation-duration) var(--sbb-animation-easing)}.sbb-image__wrapper{display:flex;position:relative;overflow:hidden;width:100%;height:100%;aspect-ratio:var(--sbb-image-aspect-ratio);border-radius:var(--sbb-image-border-radius)}.sbb-image__caption{--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}`;
13
- var jt = Object.freeze, ge = Object.defineProperty, me = (r, n) => jt(ge(r, "raw", { value: jt(r.slice()) })), Xt;
12
+ import { hostContext as he } from "./core/dom.js";
13
+ const de = oe`*,:before,:after{box-sizing:border-box}:host{--sbb-image-border-radius: var(--sbb-border-radius-4x);--sbb-image-aspect-ratio: auto;--sbb-image-animation-duration: var( --sbb-disable-animation-zero-time, var(--sbb-animation-duration-4x) );--sbb-image-object-fit: cover;display:block}:host([aspect-ratio="1-1"]){--sbb-image-aspect-ratio: 1 / 1}:host([aspect-ratio="1-2"]){--sbb-image-aspect-ratio: 1 / 2}:host([aspect-ratio="2-1"]){--sbb-image-aspect-ratio: 2 / 1}:host([aspect-ratio="2-3"]){--sbb-image-aspect-ratio: 2 / 3}:host([aspect-ratio="3-2"]){--sbb-image-aspect-ratio: 3 / 2}:host([aspect-ratio="3-4"]){--sbb-image-aspect-ratio: 3 / 4}:host([aspect-ratio="4-3"]){--sbb-image-aspect-ratio: 4 / 3}:host([aspect-ratio="4-5"]){--sbb-image-aspect-ratio: 4 / 5}:host([aspect-ratio="5-4"]){--sbb-image-aspect-ratio: 5 / 4}:host([aspect-ratio="16-9"]){--sbb-image-aspect-ratio: 16 / 9}:host([aspect-ratio="9-16"]){--sbb-image-aspect-ratio: 9 / 16}:host([data-teaser]){--sbb-image-aspect-ratio: 1 / 1}@media (min-width: 37.5rem){:host([data-teaser]){--sbb-image-aspect-ratio: 16 / 9}}:host(:is([border-radius=none],[data-teaser])){--sbb-image-border-radius: 0}:host([border-radius=round]:not([data-teaser])){--sbb-image-border-radius: var(--sbb-border-radius-infinity)}.sbb-image__figure{display:flex;flex-direction:column;gap:var(--sbb-spacing-fixed-4x);margin:0;height:100%}.sbb-image__img{opacity:.000001}:host([data-loaded]) .sbb-image__img{opacity:.999999}:host(:not([skip-lqip])) .sbb-image__img{position:absolute;top:0;right:0;bottom:0;left:0}:host([data-loaded]) .sbb-image__blurred{opacity:0}picture{display:contents}:is(.sbb-image__img,.sbb-image__blurred){width:100%;height:100%;object-fit:var(--sbb-image-object-fit);object-position:var(--sbb-image-object-position);transition:opacity var(--sbb-image-animation-duration) var(--sbb-animation-easing)}.sbb-image__wrapper{display:flex;position:relative;overflow:hidden;width:100%;height:100%;aspect-ratio:var(--sbb-image-aspect-ratio);border-radius:var(--sbb-image-border-radius)}.sbb-image__caption{--sbb-text-font-size: var(--sbb-font-size-text-xs);font-family:var(--sbb-typo-font-family);font-weight:400;line-height:var(--sbb-typo-line-height-body-text);letter-spacing:var(--sbb-typo-letter-spacing-body-text);font-size:var(--sbb-text-font-size)}`;
14
+ var jt = Object.freeze, me = Object.defineProperty, ge = (r, n) => jt(me(r, "raw", { value: jt(r.slice()) })), Xt;
14
15
  const be = (r) => {
15
16
  if (!r || r.length === 0)
16
17
  return [];
@@ -24,38 +25,38 @@ const be = (r) => {
24
25
  return [];
25
26
  if (!Array.isArray(n.breakpoints))
26
27
  return [];
27
- let g = !1, b = !1;
28
+ let m = !1, b = !1;
28
29
  const Q = ["image", "mediaQueries"];
29
30
  return n.breakpoints.forEach((j) => {
30
31
  const H = Object.keys(j);
31
32
  H.forEach((k) => {
32
- Q.includes(k) || (g = !0);
33
+ Q.includes(k) || (m = !0);
33
34
  }), Q.forEach((k) => {
34
35
  H.includes(k) || (b = !0);
35
36
  });
36
- }), g || b ? [] : n.breakpoints;
37
+ }), m || b ? [] : n.breakpoints;
37
38
  }, ue = {
38
39
  once: !0,
39
40
  passive: !0
40
- }, m = (r) => r / he, _e = {
41
- "sbb-breakpoint-zero-min": m(Zt),
42
- "sbb-breakpoint-zero-max": m(Gt),
43
- "sbb-breakpoint-micro-min": m(Jt),
44
- "sbb-breakpoint-micro-max": m(te),
45
- "sbb-breakpoint-small-min": m(ee),
46
- "sbb-breakpoint-small-max": m(ie),
47
- "sbb-breakpoint-medium-min": m(ae),
48
- "sbb-breakpoint-medium-max": m(se),
49
- "sbb-breakpoint-large-min": m(re),
50
- "sbb-breakpoint-large-max": m(oe),
51
- "sbb-breakpoint-wide-min": m(ne),
52
- "sbb-breakpoint-wide-max": m(ce),
53
- "sbb-breakpoint-ultra-min": m(le),
54
- "sbb-breakpoint-ultra-max": m(pe)
41
+ }, g = (r) => r / At, _e = {
42
+ "sbb-breakpoint-zero-min": g(Ut),
43
+ "sbb-breakpoint-zero-max": g(Vt),
44
+ "sbb-breakpoint-micro-min": g(Kt),
45
+ "sbb-breakpoint-micro-max": g(Wt),
46
+ "sbb-breakpoint-small-min": g(Nt),
47
+ "sbb-breakpoint-small-max": g(Zt),
48
+ "sbb-breakpoint-medium-min": g(Gt),
49
+ "sbb-breakpoint-medium-max": g(Jt),
50
+ "sbb-breakpoint-large-min": g(te),
51
+ "sbb-breakpoint-large-max": g(ee),
52
+ "sbb-breakpoint-wide-min": g(ie),
53
+ "sbb-breakpoint-wide-max": g(ae),
54
+ "sbb-breakpoint-ultra-min": g(se),
55
+ "sbb-breakpoint-ultra-max": g(re)
55
56
  };
56
- let $e = (() => {
57
- var y, z, P, v, x, S, $, M, w, I, L, C, R, D, F, B, E, o;
58
- let r = [Vt("sbb-image")], n, g = [], b, Q = Ut, j = [], H, k = [], X = [], Y, A = [], U = [], V, K = [], W = [], N, Z = [], G = [], J, tt = [], et = [], it, at = [], st = [], rt, ot = [], nt = [], ct, lt = [], pt = [], ht, dt = [], gt = [], mt, bt = [], ut = [], _t, ft = [], kt = [], yt, zt = [], Pt = [], vt, xt = [], St = [], $t, Mt = [], wt = [], It, Lt = [], Ct = [], Rt, Dt = [], Ft = [], Bt, Et = [], Qt = [], Ht;
57
+ let Me = (() => {
58
+ var y, z, P, v, S, x, $, M, w, I, L, C, R, D, F, B, E, o;
59
+ let r = [ce("sbb-image")], n, m = [], b, Q = ne, j = [], H, k = [], X = [], Y, A = [], U = [], V, K = [], W = [], N, Z = [], G = [], J, tt = [], et = [], it, at = [], st = [], rt, ot = [], nt = [], ct, lt = [], pt = [], ht, dt = [], mt = [], gt, bt = [], ut = [], _t, ft = [], kt = [], yt, zt = [], Pt = [], vt, St = [], xt = [], $t, Mt = [], wt = [], It, Lt = [], Ct = [], Rt, Dt = [], Ft = [], Bt, Et = [], Qt = [], Ht;
59
60
  return o = class extends Q {
60
61
  constructor() {
61
62
  super(...arguments);
@@ -63,8 +64,8 @@ let $e = (() => {
63
64
  h(this, z);
64
65
  h(this, P);
65
66
  h(this, v);
66
- h(this, x);
67
67
  h(this, S);
68
+ h(this, x);
68
69
  h(this, $);
69
70
  h(this, M);
70
71
  h(this, w);
@@ -79,7 +80,7 @@ let $e = (() => {
79
80
  this._captionElement = a(this, j), this._config = {
80
81
  nonRetinaQuality: "45",
81
82
  retinaQuality: "20"
82
- }, s(this, y, a(this, k, "")), s(this, z, (a(this, X), a(this, A, !1))), s(this, P, (a(this, U), a(this, K, ""))), s(this, v, (a(this, W), a(this, Z, ""))), s(this, x, (a(this, G), a(this, tt, "Organization"))), s(this, S, (a(this, et), a(this, at, !1))), s(this, $, (a(this, st), a(this, ot, "auto"))), s(this, M, (a(this, nt), a(this, lt, !1))), s(this, w, (a(this, pt), a(this, dt, 1))), s(this, I, (a(this, gt), a(this, bt, 1))), s(this, L, (a(this, ut), a(this, ft, ""))), s(this, C, (a(this, kt), a(this, zt, "high"))), s(this, R, (a(this, Pt), a(this, xt, "eager"))), s(this, D, (a(this, St), a(this, Mt, ""))), s(this, F, (a(this, wt), a(this, Lt, ""))), s(this, B, (a(this, Ct), a(this, Dt, "default"))), s(this, E, (a(this, Ft), a(this, Et, "16-9"))), a(this, Qt);
83
+ }, s(this, y, a(this, k, "")), s(this, z, (a(this, X), a(this, A, !1))), s(this, P, (a(this, U), a(this, K, ""))), s(this, v, (a(this, W), a(this, Z, ""))), s(this, S, (a(this, G), a(this, tt, "Organization"))), s(this, x, (a(this, et), a(this, at, !1))), s(this, $, (a(this, st), a(this, ot, "auto"))), s(this, M, (a(this, nt), a(this, lt, !1))), s(this, w, (a(this, pt), a(this, dt, 1))), s(this, I, (a(this, mt), a(this, bt, 1))), s(this, L, (a(this, ut), a(this, ft, ""))), s(this, C, (a(this, kt), a(this, zt, "high"))), s(this, R, (a(this, Pt), a(this, St, "eager"))), s(this, D, (a(this, xt), a(this, Mt, ""))), s(this, F, (a(this, wt), a(this, Lt, ""))), s(this, B, (a(this, Ct), a(this, Dt, "default"))), s(this, E, (a(this, Ft), a(this, Et, "16-9"))), a(this, Qt);
83
84
  }
84
85
  /**
85
86
  * An alt text is not always necessary (e.g. in teaser cards when
@@ -134,10 +135,10 @@ let $e = (() => {
134
135
  * Copyright holder can either be an Organization or a Person
135
136
  */
136
137
  get copyrightHolder() {
137
- return p(this, x);
138
+ return p(this, S);
138
139
  }
139
140
  set copyrightHolder(e) {
140
- s(this, x, e);
141
+ s(this, S, e);
141
142
  }
142
143
  /**
143
144
  * Set this to true, if you want to pass a custom focal point
@@ -145,10 +146,10 @@ let $e = (() => {
145
146
  * https://docs.imgix.com/apis/rendering/focalpoint-crop
146
147
  */
147
148
  get customFocalPoint() {
148
- return p(this, S);
149
+ return p(this, x);
149
150
  }
150
151
  set customFocalPoint(e) {
151
- s(this, S, e);
152
+ s(this, x, e);
152
153
  }
153
154
  /**
154
155
  * If the lazy property is set to true, the module will automatically
@@ -357,7 +358,7 @@ let $e = (() => {
357
358
  return ((i = (t = (e = this.shadowRoot) == null ? void 0 : e.querySelector) == null ? void 0 : t.call(e, ".sbb-image__img")) == null ? void 0 : i.complete) ?? !1;
358
359
  }
359
360
  connectedCallback() {
360
- super.connectedCallback(), this.toggleAttribute("data-teaser", !!Nt("sbb-teaser-hero", this) || !!this.closest("sbb-teaser-paid"));
361
+ super.connectedCallback(), this.toggleAttribute("data-teaser", !!he("sbb-teaser-hero", this) || !!this.closest("sbb-teaser-paid"));
361
362
  }
362
363
  updated(e) {
363
364
  super.updated(e), this._captionElement && (this._linksInCaption = this._captionElement.querySelectorAll("a"), this._linksInCaption && this._addFocusAbilityToLinksInCaption());
@@ -507,17 +508,17 @@ let $e = (() => {
507
508
  ${e ? T`<figcaption
508
509
  class="sbb-image__caption"
509
510
  .innerHTML=${e}
510
- ${Wt((f) => {
511
+ ${pe((f) => {
511
512
  this._captionElement = f;
512
513
  })}
513
514
  ></figcaption>` : _}
514
- ${t ? T(Xt || (Xt = me(['<script type="application/ld+json" .innerHTML=', "><\/script>"])), t) : _}
515
+ ${t ? T(Xt || (Xt = ge(['<script type="application/ld+json" .innerHTML=', "><\/script>"])), t) : _}
515
516
  </figure>
516
517
  `;
517
518
  }
518
- }, y = new WeakMap(), z = new WeakMap(), P = new WeakMap(), v = new WeakMap(), x = new WeakMap(), S = new WeakMap(), $ = new WeakMap(), M = new WeakMap(), w = new WeakMap(), I = new WeakMap(), L = new WeakMap(), C = new WeakMap(), R = new WeakMap(), D = new WeakMap(), F = new WeakMap(), B = new WeakMap(), E = new WeakMap(), b = o, (() => {
519
+ }, y = new WeakMap(), z = new WeakMap(), P = new WeakMap(), v = new WeakMap(), S = new WeakMap(), x = new WeakMap(), $ = new WeakMap(), M = new WeakMap(), w = new WeakMap(), I = new WeakMap(), L = new WeakMap(), C = new WeakMap(), R = new WeakMap(), D = new WeakMap(), F = new WeakMap(), B = new WeakMap(), E = new WeakMap(), b = o, (() => {
519
520
  const e = typeof Symbol == "function" && Symbol.metadata ? Object.create(Q[Symbol.metadata] ?? null) : void 0;
520
- H = [u(), d()], Y = [u(), d({ attribute: "skip-lqip", type: Boolean, reflect: !0 })], V = [u(), d()], N = [u(), d()], J = [d({ attribute: "copyright-holder" })], it = [u(), d({ attribute: "custom-focal-point", type: Boolean })], rt = [d()], ct = [u(), d({ attribute: "focal-point-debug", type: Boolean })], ht = [u(), d({ attribute: "focal-point-x", type: Number })], mt = [u(), d({ attribute: "focal-point-y", type: Number })], _t = [u(), d({ attribute: "image-src" })], yt = [d()], vt = [d()], $t = [u(), d({ attribute: "performance-mark" })], It = [u(), d({ attribute: "picture-sizes-config" })], Rt = [d({ attribute: "border-radius", reflect: !0 })], Bt = [d({ attribute: "aspect-ratio", reflect: !0 })], Ht = [Kt(ue)], c(o, null, H, { kind: "accessor", name: "alt", static: !1, private: !1, access: { has: (t) => "alt" in t, get: (t) => t.alt, set: (t, i) => {
521
+ H = [u(), d()], Y = [u(), d({ attribute: "skip-lqip", type: Boolean, reflect: !0 })], V = [u(), d()], N = [u(), d()], J = [d({ attribute: "copyright-holder" })], it = [u(), d({ attribute: "custom-focal-point", type: Boolean })], rt = [d()], ct = [u(), d({ attribute: "focal-point-debug", type: Boolean })], ht = [u(), d({ attribute: "focal-point-x", type: Number })], gt = [u(), d({ attribute: "focal-point-y", type: Number })], _t = [u(), d({ attribute: "image-src" })], yt = [d()], vt = [d()], $t = [u(), d({ attribute: "performance-mark" })], It = [u(), d({ attribute: "picture-sizes-config" })], Rt = [d({ attribute: "border-radius", reflect: !0 })], Bt = [d({ attribute: "aspect-ratio", reflect: !0 })], Ht = [le(ue)], c(o, null, H, { kind: "accessor", name: "alt", static: !1, private: !1, access: { has: (t) => "alt" in t, get: (t) => t.alt, set: (t, i) => {
521
522
  t.alt = i;
522
523
  } }, metadata: e }, k, X), c(o, null, Y, { kind: "accessor", name: "skipLqip", static: !1, private: !1, access: { has: (t) => "skipLqip" in t, get: (t) => t.skipLqip, set: (t, i) => {
523
524
  t.skipLqip = i;
@@ -535,7 +536,7 @@ let $e = (() => {
535
536
  t.focalPointDebug = i;
536
537
  } }, metadata: e }, lt, pt), c(o, null, ht, { kind: "accessor", name: "focalPointX", static: !1, private: !1, access: { has: (t) => "focalPointX" in t, get: (t) => t.focalPointX, set: (t, i) => {
537
538
  t.focalPointX = i;
538
- } }, metadata: e }, dt, gt), c(o, null, mt, { kind: "accessor", name: "focalPointY", static: !1, private: !1, access: { has: (t) => "focalPointY" in t, get: (t) => t.focalPointY, set: (t, i) => {
539
+ } }, metadata: e }, dt, mt), c(o, null, gt, { kind: "accessor", name: "focalPointY", static: !1, private: !1, access: { has: (t) => "focalPointY" in t, get: (t) => t.focalPointY, set: (t, i) => {
539
540
  t.focalPointY = i;
540
541
  } }, metadata: e }, bt, ut), c(o, null, _t, { kind: "accessor", name: "imageSrc", static: !1, private: !1, access: { has: (t) => "imageSrc" in t, get: (t) => t.imageSrc, set: (t, i) => {
541
542
  t.imageSrc = i;
@@ -543,7 +544,7 @@ let $e = (() => {
543
544
  t.importance = i;
544
545
  } }, metadata: e }, zt, Pt), c(o, null, vt, { kind: "accessor", name: "loading", static: !1, private: !1, access: { has: (t) => "loading" in t, get: (t) => t.loading, set: (t, i) => {
545
546
  t.loading = i;
546
- } }, metadata: e }, xt, St), c(o, null, $t, { kind: "accessor", name: "performanceMark", static: !1, private: !1, access: { has: (t) => "performanceMark" in t, get: (t) => t.performanceMark, set: (t, i) => {
547
+ } }, metadata: e }, St, xt), c(o, null, $t, { kind: "accessor", name: "performanceMark", static: !1, private: !1, access: { has: (t) => "performanceMark" in t, get: (t) => t.performanceMark, set: (t, i) => {
547
548
  t.performanceMark = i;
548
549
  } }, metadata: e }, Mt, wt), c(o, null, It, { kind: "accessor", name: "pictureSizesConfig", static: !1, private: !1, access: { has: (t) => "pictureSizesConfig" in t, get: (t) => t.pictureSizesConfig, set: (t, i) => {
549
550
  t.pictureSizesConfig = i;
@@ -551,12 +552,12 @@ let $e = (() => {
551
552
  t.borderRadius = i;
552
553
  } }, metadata: e }, Dt, Ft), c(o, null, Bt, { kind: "accessor", name: "aspectRatio", static: !1, private: !1, access: { has: (t) => "aspectRatio" in t, get: (t) => t.aspectRatio, set: (t, i) => {
553
554
  t.aspectRatio = i;
554
- } }, metadata: e }, Et, Qt), c(o, null, Ht, { kind: "method", name: "_imageLoaded", static: !1, private: !1, access: { has: (t) => "_imageLoaded" in t, get: (t) => t._imageLoaded }, metadata: e }, null, j), c(null, n = { value: b }, r, { kind: "class", name: b.name, metadata: e }, null, g), b = n.value, e && Object.defineProperty(b, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
555
+ } }, metadata: e }, Et, Qt), c(o, null, Ht, { kind: "method", name: "_imageLoaded", static: !1, private: !1, access: { has: (t) => "_imageLoaded" in t, get: (t) => t._imageLoaded }, metadata: e }, null, j), c(null, n = { value: b }, r, { kind: "class", name: b.name, metadata: e }, null, m), b = n.value, e && Object.defineProperty(b, Symbol.metadata, { enumerable: !0, configurable: !0, writable: !0, value: e });
555
556
  })(), o.styles = de, o.events = {
556
557
  error: "error",
557
558
  load: "load"
558
- }, a(b, g), b;
559
+ }, a(b, m), b;
559
560
  })();
560
561
  export {
561
- $e as SbbImageElement
562
+ Me as SbbImageElement
562
563
  };