@brad-frost-web/eddie-recipes 0.71.0 → 0.72.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 (134) hide show
  1. package/cdn/chunks/{accordion-panel.BrflJCE5.js → accordion-panel.D9rPPVH_.js} +57 -57
  2. package/cdn/chunks/{band.D49jgXOb.js → band.BwNBFen0.js} +11 -11
  3. package/cdn/chunks/button.B5j2wzLD.js +169 -0
  4. package/cdn/chunks/card.P1x2DzlZ.js +53 -0
  5. package/cdn/chunks/{checkbox-field.BEhsaOD9.js → checkbox-field.DSUTziby.js} +2 -2
  6. package/cdn/chunks/field-note.CqaJrUG-.js +43 -0
  7. package/cdn/chunks/header.DjqGwl0B.js +51 -0
  8. package/cdn/chunks/heading.CQpNtAf_.js +173 -0
  9. package/cdn/chunks/{icon.CkGhv9DG.js → icon.D0LqQAM1.js} +1 -1
  10. package/cdn/chunks/layout-container._8UaqBCq.js +28 -0
  11. package/cdn/chunks/{select-field.1Ec3iQwv.js → select-field.fblIq0hG.js} +34 -34
  12. package/cdn/chunks/single-field-form.BwIjKCRH.js +170 -0
  13. package/cdn/chunks/text-field.Biot0wdc.js +141 -0
  14. package/cdn/chunks/text-link.Dp9IfaJm.js +51 -0
  15. package/cdn/chunks/{text-passage.CQWKJMQh.js → text-passage.bamqcOUu.js} +24 -24
  16. package/cdn/chunks/textarea-field.BFFO4Zb4.js +275 -0
  17. package/cdn/chunks/timeline-node.ozhL2KVg.js +124 -0
  18. package/cdn/chunks/toggle.DFNERAux.js +151 -0
  19. package/cdn/recipes/common/article-card/article-card.js +23 -23
  20. package/cdn/recipes/common/audio-player/audio-player.js +2 -2
  21. package/cdn/recipes/common/avatar-block/avatar-block.js +20 -20
  22. package/cdn/recipes/common/bento/bento.js +5 -5
  23. package/cdn/recipes/common/bento-item/bento-item.js +12 -12
  24. package/cdn/recipes/common/example-form/example-form.js +51 -51
  25. package/cdn/recipes/common/icon-card/icon-card.js +26 -26
  26. package/cdn/recipes/common/newsletter-signup/newsletter-signup.js +16 -16
  27. package/cdn/recipes/common/page-banner/page-banner.js +42 -33
  28. package/cdn/recipes/common/project-card/project-card.js +40 -40
  29. package/cdn/recipes/common/promo-block/promo-block.js +8 -8
  30. package/cdn/recipes/common/search-form/search-form.js +12 -12
  31. package/cdn/recipes/common/site-footer/site-footer.js +17 -17
  32. package/cdn/recipes/common/site-header/site-header.js +20 -20
  33. package/cdn/recipes/common/speaking-card/speaking-card.js +34 -34
  34. package/cdn/recipes/common/stat-card/stat-card.js +18 -18
  35. package/cdn/recipes/common/theme-switcher/theme-switcher.js +21 -21
  36. package/cdn/recipes/common/timeline-node/TimelineNodeKind.js +2 -2
  37. package/cdn/recipes/common/timeline-node/timeline-node.js +17 -17
  38. package/cdn/recipes/common/timeline-node-art/timeline-node-art.js +4 -4
  39. package/cdn/recipes/common/timeline-node-blog/timeline-node-blog.js +4 -4
  40. package/cdn/recipes/common/timeline-node-book/timeline-node-book.js +4 -4
  41. package/cdn/recipes/common/timeline-node-client/timeline-node-client.js +11 -11
  42. package/cdn/recipes/common/timeline-node-concert/timeline-node-concert.js +5 -5
  43. package/cdn/recipes/common/timeline-node-course/timeline-node-course.js +5 -5
  44. package/cdn/recipes/common/timeline-node-link/timeline-node-link.js +4 -4
  45. package/cdn/recipes/common/timeline-node-location/timeline-node-location.js +1 -1
  46. package/cdn/recipes/common/timeline-node-milestone/timeline-node-milestone.js +1 -1
  47. package/cdn/recipes/common/timeline-node-newsletter/timeline-node-newsletter.js +1 -1
  48. package/cdn/recipes/common/timeline-node-note/timeline-node-note.js +4 -4
  49. package/cdn/recipes/common/timeline-node-playlist/timeline-node-playlist.js +4 -4
  50. package/cdn/recipes/common/timeline-node-podcast/timeline-node-podcast.js +4 -4
  51. package/cdn/recipes/common/timeline-node-song/timeline-node-song.js +4 -4
  52. package/cdn/recipes/common/timeline-node-speaking/timeline-node-speaking.js +6 -6
  53. package/cdn/recipes/common/timeline-node-video/timeline-node-video.js +1 -1
  54. package/cdn/recipes/common/todo-list/todo-list.js +24 -24
  55. package/cdn/recipes/common/transport-button/transport-button.js +13 -13
  56. package/cdn/recipes/common/vertical-site-header/vertical-site-header.js +10 -10
  57. package/cdn/recipes/common/video-card/video-card.js +40 -40
  58. package/cdn/recipes/common/video-embed/video-embed.js +15 -15
  59. package/cdn/recipes/common/visualzzz/visualzzz.js +11 -11
  60. package/cdn/recipes/common/wheel-of-life/wheel-of-life.js +22 -22
  61. package/cdn/recipes/eddie-slides/template-card/template-card.js +9 -9
  62. package/cdn/recipes/eddie-slides/thumbnail/thumbnail.js +5 -5
  63. package/cdn/recipes/tools/theme-customizer/theme-customizer.js +136 -126
  64. package/cdn/recipes/tools/viz-controls/viz-controls.js +7 -7
  65. package/cdn/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +8 -8
  66. package/cdn/recipes/we-are-here/wah-link-list/wah-link-list.js +15 -15
  67. package/cdn/recipes/we-are-here/wah-logo/wah-logo.js +24 -24
  68. package/cdn/recipes/we-are-here/wah-site-footer/wah-site-footer.js +13 -13
  69. package/cdn/recipes/we-are-here/wah-site-header/wah-site-header.js +20 -20
  70. package/package.json +1 -1
  71. package/recipes/common/article-card/article-card.js +8 -8
  72. package/recipes/common/audio-player/audio-player.js +1 -1
  73. package/recipes/common/avatar-block/avatar-block.js +11 -11
  74. package/recipes/common/bento/bento.js +13 -13
  75. package/recipes/common/bento-item/bento-item.js +18 -18
  76. package/recipes/common/example-form/example-form.js +1 -1
  77. package/recipes/common/icon-card/icon-card.js +21 -21
  78. package/recipes/common/newsletter-signup/newsletter-signup.js +13 -13
  79. package/recipes/common/page-banner/page-banner.d.ts +4 -0
  80. package/recipes/common/page-banner/page-banner.d.ts.map +1 -1
  81. package/recipes/common/page-banner/page-banner.js +18 -9
  82. package/recipes/common/project-card/project-card.js +29 -29
  83. package/recipes/common/promo-block/promo-block.js +6 -6
  84. package/recipes/common/search-form/search-form.js +11 -11
  85. package/recipes/common/site-footer/site-footer.js +1 -1
  86. package/recipes/common/site-header/site-header.js +10 -10
  87. package/recipes/common/speaking-card/speaking-card.js +23 -23
  88. package/recipes/common/stat-card/stat-card.js +1 -1
  89. package/recipes/common/theme-switcher/theme-switcher.js +21 -21
  90. package/recipes/common/timeline-node/timeline-node.js +16 -16
  91. package/recipes/common/timeline-node-art/timeline-node-art.js +4 -4
  92. package/recipes/common/timeline-node-blog/timeline-node-blog.js +4 -4
  93. package/recipes/common/timeline-node-book/timeline-node-book.js +4 -4
  94. package/recipes/common/timeline-node-client/timeline-node-client.js +14 -14
  95. package/recipes/common/timeline-node-concert/timeline-node-concert.js +5 -5
  96. package/recipes/common/timeline-node-course/timeline-node-course.js +5 -5
  97. package/recipes/common/timeline-node-link/timeline-node-link.js +4 -4
  98. package/recipes/common/timeline-node-location/timeline-node-location.js +1 -1
  99. package/recipes/common/timeline-node-milestone/timeline-node-milestone.js +1 -1
  100. package/recipes/common/timeline-node-newsletter/timeline-node-newsletter.js +4 -4
  101. package/recipes/common/timeline-node-note/timeline-node-note.js +4 -4
  102. package/recipes/common/timeline-node-playlist/timeline-node-playlist.js +4 -4
  103. package/recipes/common/timeline-node-podcast/timeline-node-podcast.js +4 -4
  104. package/recipes/common/timeline-node-song/timeline-node-song.js +4 -4
  105. package/recipes/common/timeline-node-speaking/timeline-node-speaking.js +8 -8
  106. package/recipes/common/timeline-node-video/timeline-node-video.js +1 -1
  107. package/recipes/common/todo-list/todo-list.js +7 -7
  108. package/recipes/common/transport-button/transport-button.js +13 -13
  109. package/recipes/common/vertical-site-header/vertical-site-header.js +4 -4
  110. package/recipes/common/video-card/video-card.js +20 -20
  111. package/recipes/common/video-embed/video-embed.js +18 -18
  112. package/recipes/common/visualzzz/visualzzz.js +11 -11
  113. package/recipes/common/wheel-of-life/wheel-of-life.js +1 -1
  114. package/recipes/eddie-slides/template-card/template-card.js +9 -9
  115. package/recipes/eddie-slides/thumbnail/thumbnail.js +4 -4
  116. package/recipes/tools/theme-customizer/theme-customizer.js +1 -1
  117. package/recipes/tools/viz-controls/viz-controls.js +3 -3
  118. package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +7 -7
  119. package/recipes/we-are-here/wah-link-list/wah-link-list.js +23 -23
  120. package/recipes/we-are-here/wah-logo/wah-logo.js +22 -22
  121. package/recipes/we-are-here/wah-site-footer/wah-site-footer.js +18 -18
  122. package/recipes/we-are-here/wah-site-header/wah-site-header.js +14 -14
  123. package/cdn/chunks/button.CRZcpcb5.js +0 -169
  124. package/cdn/chunks/card.CqBw3i54.js +0 -53
  125. package/cdn/chunks/field-note.CK3ikewY.js +0 -43
  126. package/cdn/chunks/header.BI8m1sij.js +0 -51
  127. package/cdn/chunks/heading.BaZm6xWi.js +0 -173
  128. package/cdn/chunks/layout-container.Dcji3D4O.js +0 -28
  129. package/cdn/chunks/single-field-form.UvyFUVzh.js +0 -170
  130. package/cdn/chunks/text-field.nmPQhapu.js +0 -141
  131. package/cdn/chunks/text-link.B3X537x4.js +0 -51
  132. package/cdn/chunks/textarea-field.CGBXVzeE.js +0 -275
  133. package/cdn/chunks/timeline-node.DS59s0th.js +0 -124
  134. package/cdn/chunks/toggle.1FPnP-zG.js +0 -151
@@ -1,16 +1,16 @@
1
1
  import { E as _ } from "./EdFormElement.BHTo4Ifh.js";
2
2
  import { r as f, o as c, b as m, n as i, e as k, a as x } from "./lit.BJDcdeQB.js";
3
- import { u as g } from "./uid.ChSzTghf.js";
4
- import "./field-note.CK3ikewY.js";
3
+ import { u } from "./uid.ChSzTghf.js";
4
+ import "./field-note.CqaJrUG-.js";
5
5
  import { E as y } from "./EdElement.Vr8clRZw.js";
6
- import "./icon.CkGhv9DG.js";
7
- const $ = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}.ed-c-range{display:flex;flex-direction:column;gap:.5rem}.ed-c-range__label{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);color:var(--ed-theme-color-content-default)}.ed-c-range__input{-webkit-appearance:none;appearance:none;width:100%;height:.25rem;background:var(--ed-theme-color-background-subtle);border-radius:var(--ed-theme-border-radius-sm);outline:none}.ed-c-range__input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:.75rem;height:.75rem;border-radius:50%;background:var(--ed-theme-color-background-brand);cursor:pointer}.ed-c-range__input::-moz-range-thumb{width:.75rem;height:.75rem;border-radius:50%;background:var(--ed-theme-color-background-brand);cursor:pointer;border:none}.ed-c-range__input::-moz-range-track{background:transparent;border:none}.ed-c-range__input:disabled{cursor:not-allowed}.ed-c-range__input:disabled::-webkit-slider-thumb{cursor:not-allowed}.ed-c-range__input:disabled::-moz-range-thumb{cursor:not-allowed}.ed-c-range.ed-is-disabled,.ed-c-range.ed-is-disabled .ed-c-range__label{color:var(--ed-theme-color-content-disabled)}.ed-c-range--knockout .ed-c-range__label{color:var(--ed-theme-color-content-knockout)}.ed-c-range--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-range--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
8
- var z = Object.defineProperty, n = (o, t, r, l) => {
9
- for (var e = void 0, d = o.length - 1, s; d >= 0; d--)
10
- (s = o[d]) && (e = s(t, r, e) || e);
11
- return e && z(t, r, e), e;
6
+ import "./icon.D0LqQAM1.js";
7
+ const $ = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-range{display:flex;flex-direction:column;gap:.5rem}.ed-c-range__label{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);color:var(--ed-theme-color-content-default)}.ed-c-range__input{-webkit-appearance:none;appearance:none;width:100%;height:.25rem;background:var(--ed-theme-color-background-subtle);border-radius:var(--ed-theme-border-radius-sm);outline:none}.ed-c-range__input::-webkit-slider-thumb{-webkit-appearance:none;appearance:none;width:.75rem;height:.75rem;border-radius:50%;background:var(--ed-theme-color-background-brand);cursor:pointer}.ed-c-range__input::-moz-range-thumb{width:.75rem;height:.75rem;border-radius:50%;background:var(--ed-theme-color-background-brand);cursor:pointer;border:none}.ed-c-range__input::-moz-range-track{background:transparent;border:none}.ed-c-range__input:disabled{cursor:not-allowed}.ed-c-range__input:disabled::-webkit-slider-thumb{cursor:not-allowed}.ed-c-range__input:disabled::-moz-range-thumb{cursor:not-allowed}.ed-c-range.ed-is-disabled,.ed-c-range.ed-is-disabled .ed-c-range__label{color:var(--ed-theme-color-content-disabled)}.ed-c-range--knockout .ed-c-range__label{color:var(--ed-theme-color-content-knockout)}.ed-c-range--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-range--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
8
+ var z = Object.defineProperty, a = (o, t, d, l) => {
9
+ for (var e = void 0, r = o.length - 1, s; r >= 0; r--)
10
+ (s = o[r]) && (e = s(t, d, e) || e);
11
+ return e && z(t, d, e), e;
12
12
  };
13
- class a extends _ {
13
+ class n extends _ {
14
14
  constructor() {
15
15
  super(...arguments), this.type = "range", this.label = "Range", this.min = "0", this.max = "100";
16
16
  }
@@ -18,7 +18,7 @@ class a extends _ {
18
18
  return f($);
19
19
  }
20
20
  connectedCallback() {
21
- super.connectedCallback(), this.fieldId = this.fieldId || g(), this.fieldNote && (this.ariaDescribedBy = this.ariaDescribedBy || g());
21
+ super.connectedCallback(), this.fieldId = this.fieldId || u(), this.fieldNote && (this.ariaDescribedBy = this.ariaDescribedBy || u());
22
22
  }
23
23
  handleInput(t) {
24
24
  this.value = t.target.value, this.internals.setFormValue(this.value), this.syncValidity();
@@ -57,56 +57,56 @@ class a extends _ {
57
57
  `;
58
58
  }
59
59
  }
60
- n([
60
+ a([
61
61
  i()
62
- ], a.prototype, "fieldId");
63
- n([
62
+ ], n.prototype, "fieldId");
63
+ a([
64
64
  i()
65
- ], a.prototype, "label");
66
- n([
65
+ ], n.prototype, "label");
66
+ a([
67
67
  i()
68
- ], a.prototype, "name");
69
- n([
68
+ ], n.prototype, "name");
69
+ a([
70
70
  i()
71
- ], a.prototype, "fieldNote");
72
- n([
71
+ ], n.prototype, "fieldNote");
72
+ a([
73
73
  i()
74
- ], a.prototype, "ariaDescribedBy");
75
- n([
74
+ ], n.prototype, "ariaDescribedBy");
75
+ a([
76
76
  i()
77
- ], a.prototype, "min");
78
- n([
77
+ ], n.prototype, "min");
78
+ a([
79
79
  i()
80
- ], a.prototype, "max");
81
- n([
80
+ ], n.prototype, "max");
81
+ a([
82
82
  i()
83
- ], a.prototype, "step");
84
- n([
83
+ ], n.prototype, "step");
84
+ a([
85
85
  i({ type: Boolean })
86
- ], a.prototype, "disabled");
87
- n([
86
+ ], n.prototype, "disabled");
87
+ a([
88
88
  i({ type: Boolean })
89
- ], a.prototype, "knockout");
90
- n([
89
+ ], n.prototype, "knockout");
90
+ a([
91
91
  i({ type: Boolean })
92
- ], a.prototype, "inverted");
93
- n([
92
+ ], n.prototype, "inverted");
93
+ a([
94
94
  i()
95
- ], a.prototype, "iconName");
96
- n([
95
+ ], n.prototype, "iconName");
96
+ a([
97
97
  i()
98
- ], a.prototype, "size");
99
- n([
98
+ ], n.prototype, "size");
99
+ a([
100
100
  k("input")
101
- ], a.prototype, "field");
102
- customElements.get("ed-range") === void 0 && customElements.define("ed-range", a);
103
- const w = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}.ed-c-accordion--knockout{color:var(--ed-theme-color-content-knockout);--ed-accordion-panel-button-hover-text-color: var(--ed-theme-color-content-subtle)}.ed-c-accordion--condensed{--ed-accordion-panel-padding-block: .5rem}';
104
- var N = Object.defineProperty, v = (o, t, r, l) => {
105
- for (var e = void 0, d = o.length - 1, s; d >= 0; d--)
106
- (s = o[d]) && (e = s(t, r, e) || e);
107
- return e && N(t, r, e), e;
101
+ ], n.prototype, "field");
102
+ customElements.get("ed-range") === void 0 && customElements.define("ed-range", n);
103
+ const w = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-accordion--knockout{color:var(--ed-theme-color-content-knockout);--ed-accordion-panel-button-hover-text-color: var(--ed-theme-color-content-subtle)}.ed-c-accordion--condensed{--ed-accordion-panel-padding-block: .5rem}';
104
+ var N = Object.defineProperty, v = (o, t, d, l) => {
105
+ for (var e = void 0, r = o.length - 1, s; r >= 0; r--)
106
+ (s = o[r]) && (e = s(t, d, e) || e);
107
+ return e && N(t, d, e), e;
108
108
  };
109
- class u extends y {
109
+ class g extends y {
110
110
  static get styles() {
111
111
  return f(w);
112
112
  }
@@ -124,19 +124,19 @@ class u extends y {
124
124
  }
125
125
  v([
126
126
  i({ type: Boolean })
127
- ], u.prototype, "knockout");
127
+ ], g.prototype, "knockout");
128
128
  v([
129
129
  i({ type: Boolean })
130
- ], u.prototype, "inverted");
130
+ ], g.prototype, "inverted");
131
131
  v([
132
132
  i()
133
- ], u.prototype, "spacing");
134
- customElements.get("ed-accordion") === void 0 && customElements.define("ed-accordion", u);
135
- const P = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}.ed-c-accordion-panel{border-block-end:var(--ed-theme-border-width-sm) solid var(--ed-theme-color-border-subtle)}.ed-c-accordion-panel__header{display:flex;align-items:center;gap:var(--ed-theme-spacing-inline)}.ed-c-accordion-panel__heading{display:flex;flex:1 1 auto;min-width:0;margin:0}.ed-c-accordion-panel__button{text-align:start;display:flex;align-items:center;appearance:none;background:none;border:none;padding:var(--ed-accordion-panel-padding-block, 1rem) 0;flex:1 1 auto;min-width:0;cursor:pointer;color:inherit;overflow-x:hidden;transition:color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel__button:hover,.ed-c-accordion-panel__button:focus{color:var(--ed-accordion-panel-button-hover-text-color, var(--ed-theme-color-content-default-hover))}ed-icon{margin-inline-start:auto;transition:transform var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel.ed-is-active ed-icon{transform:rotate(-180deg)}.ed-c-accordion-panel__body{margin:0;padding:0;overflow:hidden;visibility:hidden;transition:height var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),visibility var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel.ed-is-active .ed-c-accordion-panel__body{visibility:visible}.ed-c-accordion-panel__body-inner{padding-block-end:var(--ed-accordion-panel-padding-block, 1rem);padding-block-start:var(--ed-accordion-panel-padding-block, 1rem)}';
136
- var E = Object.defineProperty, p = (o, t, r, l) => {
137
- for (var e = void 0, d = o.length - 1, s; d >= 0; d--)
138
- (s = o[d]) && (e = s(t, r, e) || e);
139
- return e && E(t, r, e), e;
133
+ ], g.prototype, "spacing");
134
+ customElements.get("ed-accordion") === void 0 && customElements.define("ed-accordion", g);
135
+ const P = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-accordion-panel{border-block-end:var(--ed-theme-border-width-sm) solid var(--ed-theme-color-border-subtle)}.ed-c-accordion-panel__header{display:flex;align-items:center;gap:var(--ed-theme-spacing-inline)}.ed-c-accordion-panel__heading{display:flex;flex:1 1 auto;min-width:0;margin:0}.ed-c-accordion-panel__button{text-align:start;display:flex;align-items:center;appearance:none;background:none;border:none;padding:var(--ed-accordion-panel-padding-block, 1rem) 0;flex:1 1 auto;min-width:0;cursor:pointer;color:inherit;overflow-x:hidden;transition:color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel__button:hover,.ed-c-accordion-panel__button:focus{color:var(--ed-accordion-panel-button-hover-text-color, var(--ed-theme-color-content-default-hover))}ed-icon{margin-inline-start:auto;transition:transform var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel.ed-is-active ed-icon{transform:rotate(-180deg)}.ed-c-accordion-panel__body{margin:0;padding:0;overflow:hidden;visibility:hidden;transition:height var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),visibility var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-accordion-panel.ed-is-active .ed-c-accordion-panel__body{visibility:visible}.ed-c-accordion-panel__body-inner{padding-block-end:var(--ed-accordion-panel-padding-block, 1rem);padding-block-start:var(--ed-accordion-panel-padding-block, 1rem)}';
136
+ var E = Object.defineProperty, p = (o, t, d, l) => {
137
+ for (var e = void 0, r = o.length - 1, s; r >= 0; r--)
138
+ (s = o[r]) && (e = s(t, d, e) || e);
139
+ return e && E(t, d, e), e;
140
140
  };
141
141
  class h extends y {
142
142
  /**
@@ -160,7 +160,7 @@ class h extends y {
160
160
  * 1) Set panel height on load. Active state should set panel height to content within panel
161
161
  */
162
162
  connectedCallback() {
163
- super.connectedCallback(), this.id = this.id || g(), this.ariaLabelledBy = this.ariaLabelledBy || g(), this.setPanelHeight(), this.isActive && (this.fullyOpen = !0, this.setPanelHeight());
163
+ super.connectedCallback(), this.id = this.id || u(), this.ariaLabelledBy = this.ariaLabelledBy || u(), this.setPanelHeight(), this.isActive && (this.fullyOpen = !0, this.setPanelHeight());
164
164
  }
165
165
  /**
166
166
  * Set panel height
@@ -235,8 +235,8 @@ const b = /^h([1-6])$/i;
235
235
  function A(o) {
236
236
  const t = b.exec(o.localName);
237
237
  if (t) return Number(t[1]);
238
- const r = o.querySelector(":scope > h1, :scope > h2, :scope > h3, :scope > h4, :scope > h5, :scope > h6");
239
- if (r) return Number(r.localName[1]);
238
+ const d = o.querySelector(":scope > h1, :scope > h2, :scope > h3, :scope > h4, :scope > h5, :scope > h6");
239
+ if (d) return Number(d.localName[1]);
240
240
  const l = b.exec(String(o.tagName ?? "")) ?? b.exec(o.getAttribute("tagName") ?? "");
241
241
  return l ? Number(l[1]) : o.localName === "ed-heading" ? 2 : void 0;
242
242
  }
@@ -1,12 +1,12 @@
1
- import { r as s, b, n as a } from "./lit.BJDcdeQB.js";
2
- import { E as l } from "./EdElement.Vr8clRZw.js";
3
- const u = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host{display:block}.ed-c-band{position:relative;isolation:isolate;background:var(--ed-theme-color-background-subtle);padding-block:var(--ed-band-padding-block, 1.5rem);padding-inline:var(--ed-band-padding-inline, 0)}@media all and (min-width:75rem){.ed-c-band{padding-block:var(--ed-band-padding-block, 2rem)}}.ed-c-band--brand{color:var(--ed-theme-color-content-on-brand);background:var(--ed-theme-color-background-brand)}.ed-c-band--brand-knockout{color:var(--ed-theme-color-content-on-brand);background:var(--ed-theme-color-background-brand-knockout)}.ed-c-band--knockout{color:var(--ed-theme-color-content-knockout);background:var(--ed-theme-color-background-knockout)}.ed-c-band__background{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.ed-c-band__background ::slotted(*){position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}.ed-c-band__content{display:flex;flex-direction:column;gap:var(--ed-band-gap, var(--ed-theme-spacing-block));position:relative;z-index:1}.ed-c-band--flush .ed-c-band__content{gap:0}.ed-c-band--scrim{color:var(--ed-theme-color-content-knockout)}.ed-c-band--scrim:after{content:"";position:absolute;inset:0;z-index:0;background:color-mix(in srgb,var(--ed-theme-color-background-knockout) var(--ed-c-band-scrim-strength, 65%),transparent);pointer-events:none}';
4
- var k = Object.defineProperty, r = (t, n, c, m) => {
5
- for (var e = void 0, d = t.length - 1, i; d >= 0; d--)
6
- (i = t[d]) && (e = i(n, c, e) || e);
7
- return e && k(n, c, e), e;
1
+ import { r as s, b as l, n as a } from "./lit.BJDcdeQB.js";
2
+ import { E as b } from "./EdElement.Vr8clRZw.js";
3
+ const u = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}:host{display:block}.ed-c-band{position:relative;isolation:isolate;background:var(--ed-theme-color-background-subtle);padding-block:var(--ed-band-padding-block, 1.5rem);padding-inline:var(--ed-band-padding-inline, 0)}@media all and (min-width:75rem){.ed-c-band{padding-block:var(--ed-band-padding-block, 2rem)}}.ed-c-band--brand{color:var(--ed-theme-color-content-on-brand);background:var(--ed-theme-color-background-brand)}.ed-c-band--brand-knockout{color:var(--ed-theme-color-content-on-brand);background:var(--ed-theme-color-background-brand-knockout)}.ed-c-band--knockout{color:var(--ed-theme-color-content-knockout);background:var(--ed-theme-color-background-knockout)}.ed-c-band__background{position:absolute;inset:0;z-index:0;overflow:hidden;pointer-events:none}.ed-c-band__background ::slotted(*){position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}.ed-c-band__content{display:flex;flex-direction:column;gap:var(--ed-band-gap, var(--ed-theme-spacing-block));position:relative;z-index:1}.ed-c-band--flush .ed-c-band__content{gap:0}.ed-c-band--scrim{color:var(--ed-theme-color-content-knockout)}.ed-c-band--scrim:after{content:"";position:absolute;inset:0;z-index:0;background:color-mix(in srgb,var(--ed-theme-color-background-knockout) var(--ed-c-band-scrim-strength, 65%),transparent);pointer-events:none}';
4
+ var h = Object.defineProperty, r = (d, e, c, k) => {
5
+ for (var n = void 0, t = d.length - 1, i; t >= 0; t--)
6
+ (i = d[t]) && (n = i(e, c, n) || n);
7
+ return n && h(e, c, n), n;
8
8
  };
9
- class o extends l {
9
+ class o extends b {
10
10
  constructor() {
11
11
  super(...arguments), this.scrim = !1, this.flush = !1;
12
12
  }
@@ -30,15 +30,15 @@ class o extends l {
30
30
  * alone, which the server can read.
31
31
  */
32
32
  render() {
33
- const n = this.componentClassNames("ed-c-band", {
33
+ const e = this.componentClassNames("ed-c-band", {
34
34
  "ed-c-band--brand": this.variant === "brand",
35
35
  "ed-c-band--brand-knockout": this.variant === "brand-knockout",
36
36
  "ed-c-band--knockout": this.variant === "knockout",
37
37
  "ed-c-band--scrim": this.scrim,
38
38
  "ed-c-band--flush": this.flush
39
39
  });
40
- return b`
41
- <div class="${n}">
40
+ return l`
41
+ <div class="${e}">
42
42
  <div class="ed-c-band__background" part="background" aria-hidden="true">
43
43
  <slot name="background"></slot>
44
44
  </div>
@@ -0,0 +1,169 @@
1
+ import { E as h } from "./EdFormElement.BHTo4Ifh.js";
2
+ import { r as m, A as n, b as c, o as s, n as r, e as p } from "./lit.BJDcdeQB.js";
3
+ import "./icon.D0LqQAM1.js";
4
+ const g = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-u-is-hidden{display:none!important;visibility:hidden!important}.ed-u-visually-hidden,.ed-u-is-vishidden,.ed-u-visually-hidden-focusable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.ed-u-visually-hidden-focusable:focus,.ed-u-visually-hidden-focusable:focus-visible{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}@media all and (min-width:23.4375rem){.ed-u-hide-sm{display:none!important}}@media all and (min-width:48rem){.ed-u-hide-md{display:none!important}}@media all and (min-width:60rem){.ed-u-hide-lg{display:none!important}}@media all and (min-width:75rem){.ed-u-hide-xl{display:none!important}}@media all and (max-width:23.4375rem){.ed-u-show-sm{display:none!important}}@media all and (max-width:48rem){.ed-u-show-md{display:none!important}}@media all and (max-width:60rem){.ed-u-show-lg{display:none!important}}@media all and (max-width:75rem){.ed-u-show-xl{display:none!important}}.ed-c-button{font-family:var(--ed-theme-typography-button-default-font-family);font-weight:var(--ed-theme-typography-button-default-font-weight);font-size:var(--ed-theme-typography-button-default-font-size);line-height:var(--ed-theme-typography-button-default-line-height);letter-spacing:var(--ed-theme-typography-button-default-letter-spacing);text-transform:var(--ed-theme-typography-button-default-text-transform);--ed-button-padding-block: var(--ed-theme-button-padding-block, .75rem);--ed-button-padding-inline: var(--ed-theme-button-padding-inline, 1.75rem);--ed-button-padding-inline-icon: .75rem;display:inline-flex;align-items:center;justify-content:center;gap:var(--ed-button-gap, .25em);padding:var(--ed-button-padding-block) var(--ed-button-padding-inline);margin:0;background:var(--ed-theme-button-color-background-default);border-width:var(--ed-theme-border-width-md);border-style:solid;border-color:var(--ed-theme-button-color-border-default);border-radius:var(--ed-theme-border-radius-md);color:var(--ed-theme-button-color-content-default);cursor:pointer;max-width:100%;white-space:var(--ed-button-white-space, normal);overflow-wrap:break-word;text-align:center;transition:all var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-button:hover,.ed-c-button:focus{color:var(--ed-theme-button-color-content-hover);border-color:var(--ed-theme-button-color-border-hover);background:var(--ed-theme-button-color-background-hover);text-decoration:none}.ed-c-button:focus-visible{outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-default);outline-offset:var(--ed-theme-focus-ring-offset, .25rem)}.ed-c-button:active{background-color:var(--ed-theme-button-color-background-active);border-color:var(--ed-theme-button-color-border-active);color:var(--ed-theme-button-color-content-active)}a.ed-c-button{text-decoration:none}.ed-c-button:disabled{background-color:var(--ed-theme-button-color-background-disabled);border-color:var(--ed-theme-button-color-border-disabled);color:var(--ed-theme-button-color-content-disabled);cursor:not-allowed}.ed-c-button:disabled:hover,.ed-c-button:disabled:focus,.ed-c-button:disabled:active{background-color:var(--ed-theme-button-color-background-disabled);border-color:var(--ed-theme-button-color-border-disabled);color:var(--ed-theme-button-color-content-disabled)}.ed-c-button--primary{background-color:var(--ed-theme-button-primary-color-background-default);border-color:var(--ed-theme-button-primary-color-border-default);color:var(--ed-theme-button-primary-color-content-default)}.ed-c-button--primary:hover,.ed-c-button--primary:focus{background-color:var(--ed-theme-button-primary-color-background-hover);border-color:var(--ed-theme-button-primary-color-border-hover);color:var(--ed-theme-button-primary-color-content-hover)}.ed-c-button--primary:active{background-color:var(--ed-theme-button-primary-color-background-active);border-color:var(--ed-theme-button-primary-color-border-active);color:var(--ed-theme-button-primary-color-content-active)}.ed-c-button--primary:disabled{background-color:var(--ed-theme-button-primary-color-background-disabled);border-color:var(--ed-theme-button-primary-color-border-disabled);color:var(--ed-theme-button-primary-color-content-disabled)}.ed-c-button--primary:disabled:hover,.ed-c-button--primary:disabled:focus,.ed-c-button--primary:disabled:active{background-color:var(--ed-theme-button-primary-color-background-disabled);border-color:var(--ed-theme-button-primary-color-border-disabled);color:var(--ed-theme-button-primary-color-content-disabled)}.ed-c-button--danger{background-color:var(--ed-theme-button-danger-color-background-default, var(--ed-theme-color-background-utility-error));border-color:var(--ed-theme-button-danger-color-border-default, var(--ed-theme-color-border-utility-error));color:var(--ed-theme-button-danger-color-content-default, var(--ed-theme-color-content-utility-error))}.ed-c-button--danger:hover,.ed-c-button--danger:focus{background-color:var(--ed-theme-button-danger-color-background-hover, var(--ed-theme-color-background-utility-error));border-color:var(--ed-theme-button-danger-color-border-hover, var(--ed-theme-color-border-utility-error));color:var(--ed-theme-button-danger-color-content-hover, var(--ed-theme-color-content-utility-error))}.ed-c-button--danger:active{background-color:var(--ed-theme-button-danger-color-background-active, var(--ed-theme-color-background-utility-error));border-color:var(--ed-theme-button-danger-color-border-active, var(--ed-theme-color-border-utility-error));color:var(--ed-theme-button-danger-color-content-active, var(--ed-theme-color-content-utility-error))}.ed-c-button--danger:disabled{background-color:var(--ed-theme-button-danger-color-background-disabled, var(--ed-theme-button-color-background-disabled));border-color:var(--ed-theme-button-danger-color-border-disabled, var(--ed-theme-button-color-border-disabled));color:var(--ed-theme-button-danger-color-content-disabled, var(--ed-theme-button-color-content-disabled))}.ed-c-button--danger:disabled:hover,.ed-c-button--danger:disabled:focus,.ed-c-button--danger:disabled:active{background-color:var(--ed-theme-button-danger-color-background-disabled, var(--ed-theme-button-color-background-disabled));border-color:var(--ed-theme-button-danger-color-border-disabled, var(--ed-theme-button-color-border-disabled));color:var(--ed-theme-button-danger-color-content-disabled, var(--ed-theme-button-color-content-disabled))}.ed-c-button--link{font-family:var(--ed-theme-typography-body-default-font-family);font-weight:var(--ed-theme-typography-body-default-font-weight);font-size:var(--ed-theme-typography-body-default-font-size);line-height:var(--ed-theme-typography-body-default-line-height);letter-spacing:var(--ed-theme-typography-body-default-letter-spacing);text-transform:var(--ed-theme-typography-body-default-text-transform);background-color:transparent;border:none;color:var(--ed-theme-link-color-content-default);padding:0}.ed-c-button--link:hover,.ed-c-button--link:focus{background-color:transparent;border:none;color:var(--ed-theme-link-color-content-hover);text-decoration:underline}.ed-c-button--link:active{background-color:transparent;border:none;color:var(--ed-theme-link-color-content-active)}.ed-c-button--link:visited{color:var(--ed-theme-link-color-content-visited)}.ed-c-button--link:disabled{background-color:transparent;border:none;color:var(--ed-theme-color-content-disabled)}.ed-c-button--link:disabled:hover,.ed-c-button--link:disabled:focus,.ed-c-button--link:disabled:active{background-color:transparent;border:none;color:var(--ed-theme-color-content-disabled)}.ed-c-button--link.ed-c-button--sm{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform)}.ed-c-button--link.ed-c-button--lg{font-family:var(--ed-theme-typography-body-lg-font-family);font-weight:var(--ed-theme-typography-body-lg-font-weight);font-size:var(--ed-theme-typography-body-lg-font-size);line-height:var(--ed-theme-typography-body-lg-line-height);letter-spacing:var(--ed-theme-typography-body-lg-letter-spacing);text-transform:var(--ed-theme-typography-body-lg-text-transform)}.ed-c-button--bare{padding:0;border:0;background:none;color:var(--ed-theme-color-content-default)}.ed-c-button--bare:hover,.ed-c-button--bare:focus{color:var(--ed-theme-button-bare-color-content-hover);background:none}.ed-c-button--bare:disabled{color:var(--ed-theme-button-bare-color-content-disabled);background:none;cursor:not-allowed}.ed-c-button--bare:disabled:hover,.ed-c-button--bare:disabled:focus{background:none;color:var(--ed-theme-button-bare-color-content-disabled)}.ed-c-button--knockout:focus-visible{outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-knockout);outline-offset:var(--ed-theme-focus-ring-offset, .25rem)}.ed-c-button--bare.ed-c-button--knockout{color:var(--ed-theme-color-content-knockout)}.ed-c-button--bare.ed-c-button--knockout:hover,.ed-c-button--bare.ed-c-button--knockout:focus{color:var(--ed-theme-color-content-knockout)}.ed-c-button--bare.ed-c-button--knockout:active{color:var(--ed-theme-color-content-knockout)}.ed-c-button--link.ed-c-button--knockout{color:var(--ed-theme-link-color-content-knockout)}.ed-c-button--link.ed-c-button--knockout:hover,.ed-c-button--link.ed-c-button--knockout:focus{color:var(--ed-theme-link-color-content-knockout-hover)}.ed-c-button--link.ed-c-button--knockout:active{color:var(--ed-theme-link-color-content-knockout-active)}.ed-c-button--link.ed-c-button--knockout:visited{color:var(--ed-theme-link-color-content-knockout-visited)}:host([fullwidth]){display:block;width:100%}.ed-c-button--full-width{width:100%;justify-content:center;text-align:center}.ed-c-button--loading{cursor:not-allowed}a.ed-c-button--loading{background-color:var(--ed-theme-button-color-background-disabled);border-color:var(--ed-theme-button-color-border-disabled);color:var(--ed-theme-button-color-content-disabled)}a.ed-c-button--loading:hover,a.ed-c-button--loading:focus,a.ed-c-button--loading:active{background-color:var(--ed-theme-button-color-background-disabled);border-color:var(--ed-theme-button-color-border-disabled);color:var(--ed-theme-button-color-content-disabled)}.ed-c-button__spinner{display:inline-flex;align-self:center;animation:ed-c-button-spin .7s linear infinite}@media(prefers-reduced-motion:reduce){.ed-c-button__spinner{animation:none}}@keyframes ed-c-button-spin{to{transform:rotate(360deg)}}.ed-c-button--sm{font-family:var(--ed-theme-typography-button-sm-font-family);font-weight:var(--ed-theme-typography-button-sm-font-weight);font-size:var(--ed-theme-typography-button-sm-font-size);line-height:var(--ed-theme-typography-button-sm-line-height);letter-spacing:var(--ed-theme-typography-button-sm-letter-spacing);text-transform:var(--ed-theme-typography-button-sm-text-transform);--ed-button-padding-block: .5rem;--ed-button-padding-inline: 1rem;--ed-button-padding-inline-icon: .75rem}.ed-c-button--sm.ed-c-button--bare{padding:0}.ed-c-button--lg{font-family:var(--ed-theme-typography-button-lg-font-family);font-weight:var(--ed-theme-typography-button-lg-font-weight);font-size:var(--ed-theme-typography-button-lg-font-size);line-height:var(--ed-theme-typography-button-lg-line-height);letter-spacing:var(--ed-theme-typography-button-lg-letter-spacing);text-transform:var(--ed-theme-typography-button-lg-text-transform);--ed-button-padding-block: 1rem;--ed-button-padding-inline: 2.25rem;--ed-button-padding-inline-icon: 1rem}.ed-c-button--lg.ed-c-button--bare{padding:0}ed-icon{--ed-icon-height: 1em;--ed-icon-width: 1em;transition:all var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease);transform:var(--ed-button-icon-transform, none)}.ed-c-button:not(.ed-c-button--bare):not(.ed-c-button--link):has(>ed-icon:first-child){padding-inline-start:var(--ed-button-padding-inline-icon)}.ed-c-button:not(.ed-c-button--bare):not(.ed-c-button--link):has(>ed-icon:last-child){padding-inline-end:var(--ed-button-padding-inline-icon)}.ed-c-button:not(.ed-c-button--bare):not(.ed-c-button--link):has(>.ed-c-button__text.ed-u-is-vishidden){padding-inline:var(--ed-button-padding-inline-icon)}';
5
+ var v = Object.defineProperty, o = (l, e, d, i) => {
6
+ for (var a = void 0, u = l.length - 1, b; u >= 0; u--)
7
+ (b = l[u]) && (a = b(e, d, a) || a);
8
+ return a && v(e, d, a), a;
9
+ };
10
+ class t extends h {
11
+ constructor() {
12
+ super(...arguments), this.iconPosition = void 0, this.fullWidth = !1, this.round = !1, this.isLoading = !1, this.type = "button";
13
+ }
14
+ static {
15
+ this.formAssociated = !0;
16
+ }
17
+ static get styles() {
18
+ return m(g);
19
+ }
20
+ /**
21
+ * Normalize one host `aria-*` value for the inner control.
22
+ *
23
+ * Two shapes have to be handled beyond a plain pass-through. Lit commits `undefined` as an
24
+ * empty string, so a consumer binding an optional value (`aria-pressed=${spec.ariaPressed}`)
25
+ * hands us `""` — an invalid ARIA value that axe flags, and worse than no attribute at all.
26
+ * And a boolean bound from state (`aria-expanded=${this.isOpen}`) has to reach the DOM as the
27
+ * strings `"true"`/`"false"`. Anything else (`mixed`, `menu`, `dialog`) passes through.
28
+ */
29
+ ariaState(e) {
30
+ return e == null || e === "" ? n : e === !0 ? "true" : e === !1 ? "false" : String(e);
31
+ }
32
+ clickHandler(e) {
33
+ if (this.isLoading) {
34
+ e.preventDefault();
35
+ return;
36
+ }
37
+ this.type === "submit" ? this.formSubmit() : this.type === "reset" && this.formReset();
38
+ }
39
+ formSubmit() {
40
+ const e = this.internals.form;
41
+ e && (typeof e.requestSubmit == "function" ? e.requestSubmit() : e.submit());
42
+ }
43
+ formReset() {
44
+ const e = this.internals.form;
45
+ e && e.reset();
46
+ }
47
+ /**
48
+ * Where the icon renders, resolved: `iconPosition` when set, otherwise `before`. Both render
49
+ * branches read this rather than `iconPosition` directly so that `iconName` alone is enough
50
+ * to draw the icon (#2155) — before, an unset position matched neither branch and the icon
51
+ * silently never rendered.
52
+ */
53
+ get resolvedIconPosition() {
54
+ return this.iconPosition === "after" ? "after" : "before";
55
+ }
56
+ getIconElement() {
57
+ return this.iconName ? c`<ed-icon styleModifier="ed-c-button__icon" aria-hidden="true" name="${this.iconName}"></ed-icon>` : n;
58
+ }
59
+ getSpinnerElement() {
60
+ return this.isLoading ? c`<ed-icon class="ed-c-button__spinner" aria-hidden="true" name="spinner"></ed-icon>` : n;
61
+ }
62
+ createButton(e) {
63
+ const d = this.getIconElement(), i = this.getSpinnerElement();
64
+ return c`
65
+ <button type="${this.type}" class="${e}" ?disabled=${this.disabled || this.isLoading}
66
+ aria-busy=${this.isLoading ? "true" : n} aria-expanded=${this.ariaState(this.expanded)}
67
+ aria-pressed=${this.ariaState(this.pressed)} aria-haspopup=${this.ariaState(this.hasPopup)}
68
+ aria-keyshortcuts=${this.ariaState(this.keyShortcuts)}
69
+ @click=${this.clickHandler}>
70
+ ${this.isLoading ? i : this.resolvedIconPosition === "before" ? d : n}
71
+ <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
72
+ ${!this.isLoading && this.resolvedIconPosition === "after" ? d : n}
73
+ </button>
74
+ `;
75
+ }
76
+ createAnchorButton(e) {
77
+ const d = this.getIconElement(), i = this.getSpinnerElement();
78
+ return c`
79
+ <a href="${s(this.href)}" class="${e}" target=${this.target} rel=${s(this.rel)}
80
+ aria-busy=${this.isLoading ? "true" : n} aria-disabled=${this.isLoading ? "true" : n}
81
+ aria-expanded=${this.ariaState(this.expanded)} aria-pressed=${this.ariaState(this.pressed)}
82
+ aria-keyshortcuts=${this.ariaState(this.keyShortcuts)}
83
+ aria-haspopup=${this.ariaState(this.hasPopup)} @click=${this.clickHandler}>
84
+ ${this.isLoading ? i : this.resolvedIconPosition === "before" ? d : n}
85
+ <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
86
+ ${!this.isLoading && this.resolvedIconPosition === "after" ? d : n}
87
+ </a>
88
+ `;
89
+ }
90
+ render() {
91
+ const e = this.componentClassNames("ed-c-button", {
92
+ "ed-c-button--primary": this.variant === "primary",
93
+ "ed-c-button--secondary": this.variant === "secondary",
94
+ "ed-c-button--danger": this.variant === "danger",
95
+ "ed-c-button--bare": this.variant === "bare",
96
+ "ed-c-button--link": this.variant === "link",
97
+ "ed-c-button--knockout": this.knockout === !0 || this.inverted === !0,
98
+ "ed-c-button--loading": this.isLoading === !0,
99
+ "ed-c-button--full-width": this.fullWidth === !0,
100
+ "ed-c-button--sm": this.size === "sm",
101
+ "ed-c-button--lg": this.size === "lg"
102
+ });
103
+ return this.href ? this.createAnchorButton(e) : this.createButton(e);
104
+ }
105
+ }
106
+ o([
107
+ r()
108
+ ], t.prototype, "text");
109
+ o([
110
+ r()
111
+ ], t.prototype, "variant");
112
+ o([
113
+ r({ type: Boolean })
114
+ ], t.prototype, "disabled");
115
+ o([
116
+ r()
117
+ ], t.prototype, "target");
118
+ o([
119
+ r()
120
+ ], t.prototype, "rel");
121
+ o([
122
+ r({ type: Boolean })
123
+ ], t.prototype, "knockout");
124
+ o([
125
+ r({ type: Boolean })
126
+ ], t.prototype, "inverted");
127
+ o([
128
+ r()
129
+ ], t.prototype, "href");
130
+ o([
131
+ r()
132
+ ], t.prototype, "iconName");
133
+ o([
134
+ r()
135
+ ], t.prototype, "iconPosition");
136
+ o([
137
+ r()
138
+ ], t.prototype, "size");
139
+ o([
140
+ r({ type: Boolean })
141
+ ], t.prototype, "hideText");
142
+ o([
143
+ r({ type: Boolean, reflect: !0 })
144
+ ], t.prototype, "fullWidth");
145
+ o([
146
+ r({ type: Boolean })
147
+ ], t.prototype, "round");
148
+ o([
149
+ r({ type: Boolean })
150
+ ], t.prototype, "isLoading");
151
+ o([
152
+ r({ type: String })
153
+ ], t.prototype, "type");
154
+ o([
155
+ r({ attribute: "aria-expanded" })
156
+ ], t.prototype, "expanded");
157
+ o([
158
+ r({ attribute: "aria-pressed" })
159
+ ], t.prototype, "pressed");
160
+ o([
161
+ r({ attribute: "aria-haspopup" })
162
+ ], t.prototype, "hasPopup");
163
+ o([
164
+ r({ attribute: "aria-keyshortcuts" })
165
+ ], t.prototype, "keyShortcuts");
166
+ o([
167
+ p("button")
168
+ ], t.prototype, "field");
169
+ customElements.get("ed-button") === void 0 && customElements.define("ed-button", t);
@@ -0,0 +1,53 @@
1
+ import { r as l, b as g, n as c } from "./lit.BJDcdeQB.js";
2
+ import { E as p } from "./EdElement.Vr8clRZw.js";
3
+ const h = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}:host{display:block;height:100%}.ed-c-card{--_ed-card-padding: var(--ed-card-padding, var(--ed-theme-spacing-md));display:flex;flex-direction:column;height:100%;width:100%;border-width:var(--ed-theme-border-width-sm);border-style:solid;border-color:var(--ed-theme-color-border-subtle);border-radius:var(--ed-theme-border-radius-md);box-shadow:var(--ed-theme-box-shadow-md);color:var(--ed-theme-color-content-on-surface);background:var(--ed-theme-color-background-surface)}.ed-c-card--subtle{border-color:transparent;box-shadow:none;color:var(--ed-theme-color-content-default);background:var(--ed-theme-color-background-subtle)}.ed-c-card--strong{border-color:transparent;box-shadow:none;color:var(--ed-theme-color-content-knockout);background:var(--ed-theme-color-background-knockout)}.ed-c-card--plain{border:0;box-shadow:none;color:var(--ed-theme-color-content-default);background:none}.ed-c-card--padding-none{--_ed-card-padding: var(--ed-card-padding, 0)}.ed-c-card--padding-sm{--_ed-card-padding: var(--ed-card-padding, var(--ed-theme-spacing-sm))}.ed-c-card--padding-lg{--_ed-card-padding: var(--ed-card-padding, var(--ed-theme-spacing-lg))}.ed-c-card--align-center{text-align:center;align-items:center;justify-content:center}::slotted(img){width:100%}.ed-c-card__header{display:block;flex:none}.ed-c-card__header ::slotted(:not(img):not(picture):not(video):not(ed-image):not(ed-figure)){margin-block:var(--_ed-card-padding) 0!important;margin-inline:var(--_ed-card-padding)!important}.ed-c-card__body{display:flex;flex-direction:column;gap:var(--ed-card-body-gap, var(--ed-theme-spacing-flow));padding:var(--_ed-card-padding);flex:1 0 auto}.ed-c-card__footer{display:block;flex:none;align-self:stretch}.ed-c-card__footer ::slotted(*){display:inline-block;margin:var(--_ed-card-padding)!important}.ed-c-card__footer ::slotted([fullwidth]),.ed-c-card__footer ::slotted(ed-grid){display:block;width:auto}.ed-c-card{position:relative;--_ed-card-actions-inset: var(--ed-card-actions-inset, var(--_ed-card-padding));--_ed-card-actions-gutter: calc( var(--_ed-card-padding) + var(--ed-card-actions-gutter, 2rem) )}.ed-c-card--padding-none{--_ed-card-actions-inset: var(--ed-card-actions-inset, .5rem);--_ed-card-actions-gutter: var(--ed-card-actions-gutter, 2rem)}.ed-c-card__actions{position:absolute;inset-block-start:var(--_ed-card-actions-inset);inset-inline-end:var(--_ed-card-actions-inset);display:flex;align-items:center;gap:var(--ed-theme-spacing-inline)}.ed-c-card--has-actions .ed-c-card__body{padding-inline-end:var(--_ed-card-actions-gutter);padding-block-start:calc(var(--_ed-card-padding) + var(--ed-card-actions-clearance, 0px))}';
4
+ var m = Object.defineProperty, i = (o, d, a, n) => {
5
+ for (var e = void 0, r = o.length - 1, s; r >= 0; r--)
6
+ (s = o[r]) && (e = s(d, a, e) || e);
7
+ return e && m(d, a, e), e;
8
+ };
9
+ class t extends p {
10
+ constructor() {
11
+ super(...arguments), this.onActionsSlotChange = () => {
12
+ this.requestUpdate();
13
+ };
14
+ }
15
+ static get styles() {
16
+ return l(h);
17
+ }
18
+ render() {
19
+ const d = this.variant === "bare", a = d ? "plain" : this.variant, n = this.padding ?? (d ? "none" : void 0), e = this.slotNotEmpty("actions", !0) === !0, r = this.componentClassNames("ed-c-card", {
20
+ "ed-c-card--has-actions": e,
21
+ "ed-c-card--bare": d,
22
+ [`ed-c-card--${a}`]: !!a,
23
+ [`ed-c-card--padding-${n}`]: !!n,
24
+ "ed-c-card--align-center": this.align === "center"
25
+ });
26
+ return g`
27
+ <div class="${r}">
28
+ <div class="ed-c-card__header">
29
+ <slot name="header"></slot>
30
+ </div>
31
+ <div class="ed-c-card__body">
32
+ <slot></slot>
33
+ </div>
34
+ <div class="ed-c-card__footer">
35
+ <slot name="footer"></slot>
36
+ </div>
37
+ <div class="ed-c-card__actions">
38
+ <slot name="actions" @slotchange=${this.onActionsSlotChange}></slot>
39
+ </div>
40
+ </div>
41
+ `;
42
+ }
43
+ }
44
+ i([
45
+ c({ reflect: !0 })
46
+ ], t.prototype, "variant");
47
+ i([
48
+ c({ reflect: !0 })
49
+ ], t.prototype, "padding");
50
+ i([
51
+ c()
52
+ ], t.prototype, "align");
53
+ customElements.get("ed-card") === void 0 && customElements.define("ed-card", t);
@@ -1,7 +1,7 @@
1
1
  import { E as h } from "./EdElement.Vr8clRZw.js";
2
2
  import { r as c, o as s, b as p, n as t } from "./lit.BJDcdeQB.js";
3
- import "./field-note.CK3ikewY.js";
4
- const m = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}.ed-u-is-hidden{display:none!important;visibility:hidden!important}.ed-u-visually-hidden,.ed-u-is-vishidden,.ed-u-visually-hidden-focusable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.ed-u-visually-hidden-focusable:focus,.ed-u-visually-hidden-focusable:focus-visible{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}@media all and (min-width:23.4375rem){.ed-u-hide-sm{display:none!important}}@media all and (min-width:48rem){.ed-u-hide-md{display:none!important}}@media all and (min-width:60rem){.ed-u-hide-lg{display:none!important}}@media all and (min-width:75rem){.ed-u-hide-xl{display:none!important}}@media all and (max-width:23.4375rem){.ed-u-show-sm{display:none!important}}@media all and (max-width:48rem){.ed-u-show-md{display:none!important}}@media all and (max-width:60rem){.ed-u-show-lg{display:none!important}}@media all and (max-width:75rem){.ed-u-show-xl{display:none!important}}.ed-c-checkbox-field{border:none;margin:0;padding:0}.ed-c-checkbox-field--knockout{color:var(--ed-theme-color-content-knockout)}.ed-c-checkbox-field__legend{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);display:block;font-size:var(--ed-field-label-font-size, var(--ed-theme-typography-label-default-font-size));margin-block-end:var(--ed-field-label-gap, .25rem);display:inline-block;margin-block-end:1rem}.ed-c-checkbox-field__list{display:flex;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:0}.ed-c-checkbox-field--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-checkbox-field--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
3
+ import "./field-note.CqaJrUG-.js";
4
+ const m = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-u-is-hidden{display:none!important;visibility:hidden!important}.ed-u-visually-hidden,.ed-u-is-vishidden,.ed-u-visually-hidden-focusable{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0 0 0 0);clip-path:inset(50%);white-space:nowrap;border:0}.ed-u-visually-hidden-focusable:focus,.ed-u-visually-hidden-focusable:focus-visible{position:static;width:auto;height:auto;margin:0;overflow:visible;clip:auto;clip-path:none;white-space:normal}@media all and (min-width:23.4375rem){.ed-u-hide-sm{display:none!important}}@media all and (min-width:48rem){.ed-u-hide-md{display:none!important}}@media all and (min-width:60rem){.ed-u-hide-lg{display:none!important}}@media all and (min-width:75rem){.ed-u-hide-xl{display:none!important}}@media all and (max-width:23.4375rem){.ed-u-show-sm{display:none!important}}@media all and (max-width:48rem){.ed-u-show-md{display:none!important}}@media all and (max-width:60rem){.ed-u-show-lg{display:none!important}}@media all and (max-width:75rem){.ed-u-show-xl{display:none!important}}.ed-c-checkbox-field{border:none;margin:0;padding:0}.ed-c-checkbox-field--knockout{color:var(--ed-theme-color-content-knockout)}.ed-c-checkbox-field__legend{font-family:var(--ed-theme-typography-label-default-font-family);font-weight:var(--ed-theme-typography-label-default-font-weight);font-size:var(--ed-theme-typography-label-default-font-size);line-height:var(--ed-theme-typography-label-default-line-height);letter-spacing:var(--ed-theme-typography-label-default-letter-spacing);text-transform:var(--ed-theme-typography-label-default-text-transform);display:block;font-size:var(--ed-field-label-font-size, var(--ed-theme-typography-label-default-font-size));margin-block-end:var(--ed-field-label-gap, .25rem);display:inline-block;margin-block-end:1rem}.ed-c-checkbox-field__list{display:flex;flex-direction:column;gap:.75rem;list-style:none;margin:0;padding:0}.ed-c-checkbox-field--sm{--ed-field-padding-block: .375rem;--ed-field-padding-inline: .375rem;--ed-field-font-size: var(--ed-theme-typography-body-sm-font-size);--ed-field-line-height: var(--ed-theme-typography-body-sm-line-height);--ed-field-label-font-size: var(--ed-theme-typography-label-sm-font-size, var(--ed-theme-typography-body-sm-font-size));--ed-field-label-gap: .125rem;--ed-field-note-gap: .125rem;--ed-control-box-size: 1.125rem}.ed-c-checkbox-field--lg{--ed-field-padding-block: 1.125rem;--ed-field-padding-inline: .75rem;--ed-field-font-size: var(--ed-theme-typography-body-lg-font-size, var(--ed-theme-typography-body-default-font-size));--ed-field-line-height: var(--ed-theme-typography-body-lg-line-height, var(--ed-theme-typography-body-default-line-height));--ed-field-label-gap: .375rem;--ed-field-note-gap: .375rem;--ed-control-box-size: 2rem}';
5
5
  var y = Object.defineProperty, i = (l, d, n, f) => {
6
6
  for (var o = void 0, a = l.length - 1, r; a >= 0; a--)
7
7
  (r = l[a]) && (o = r(d, n, o) || o);
@@ -0,0 +1,43 @@
1
+ import { E as c } from "./EdElement.Vr8clRZw.js";
2
+ import { r as m, b as a, n as o } from "./lit.BJDcdeQB.js";
3
+ import "./icon.D0LqQAM1.js";
4
+ const h = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}.ed-c-field-note{font-family:var(--ed-theme-typography-body-sm-font-family);font-weight:var(--ed-theme-typography-body-sm-font-weight);font-size:var(--ed-theme-typography-body-sm-font-size);line-height:var(--ed-theme-typography-body-sm-line-height);letter-spacing:var(--ed-theme-typography-body-sm-letter-spacing);text-transform:var(--ed-theme-typography-body-sm-text-transform);display:flex;align-items:center;color:var(--ed-theme-color-content-subtle);margin-block-start:var(--ed-field-note-gap, .25rem)}.ed-c-field-note.ed-is-error{color:var(--ed-theme-color-content-utility-error)}.ed-c-field-note.ed-is-success{color:var(--ed-theme-color-content-utility-success)}.ed-c-field-note--knockout{color:var(--ed-theme-color-content-knockout)}ed-icon{margin-inline-end:.25rem}';
5
+ var p = Object.defineProperty, r = (i, n, d, y) => {
6
+ for (var e = void 0, s = i.length - 1, l; s >= 0; s--)
7
+ (l = i[s]) && (e = l(n, d, e) || e);
8
+ return e && p(n, d, e), e;
9
+ };
10
+ class t extends c {
11
+ static get styles() {
12
+ return m(h);
13
+ }
14
+ render() {
15
+ const n = this.componentClassNames("ed-c-field-note", {
16
+ "ed-is-error": this.isError,
17
+ "ed-is-success": this.isSuccess,
18
+ "ed-c-field-note--knockout": this.knockout === !0 || this.inverted === !0
19
+ });
20
+ return a`
21
+ <div class="${n}">
22
+ ${this.iconName && a`<ed-icon name="${this.iconName}"></ed-icon>`}
23
+ <slot></slot>
24
+ </div>
25
+ `;
26
+ }
27
+ }
28
+ r([
29
+ o({ type: Boolean })
30
+ ], t.prototype, "isError");
31
+ r([
32
+ o({ type: Boolean })
33
+ ], t.prototype, "isSuccess");
34
+ r([
35
+ o()
36
+ ], t.prototype, "iconName");
37
+ r([
38
+ o({ type: Boolean })
39
+ ], t.prototype, "knockout");
40
+ r([
41
+ o({ type: Boolean })
42
+ ], t.prototype, "inverted");
43
+ customElements.get("ed-field-note") === void 0 && customElements.define("ed-field-note", t);
@@ -0,0 +1,51 @@
1
+ import { a as s, r as v, b as l, n as h } from "./lit.BJDcdeQB.js";
2
+ import { E as m } from "./EdElement.Vr8clRZw.js";
3
+ import "./layout-container._8UaqBCq.js";
4
+ const u = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}html{scroll-padding-block-start:var(--ed-site-header-block-size, 0px)}h1,h2,h3,h4,h5,h6{margin:0}:host([hidden]:not([hidden=until-found i])),[hidden]:not([hidden=until-found i]){display:none!important}:host{display:block}.ed-c-header{--ed-header-color-content: var(--ed-theme-color-content-knockout);--ed-header-focus-ring-color: var(--ed-theme-focus-ring-color-border-knockout);background:var(--ed-theme-color-background-knockout);color:var(--ed-header-color-content);position:relative;z-index:var(--ed-theme-layer-sticky)}@media all and (min-width:60rem){.ed-c-header--vertical{inline-size:var(--ed-sidebar-width, 18rem);min-block-size:100vh}}.ed-c-header__top{position:relative;inset-block-start:0;width:100%;z-index:var(--ed-theme-layer-sticky)}.ed-c-header__top-inner{width:100%}.ed-c-header__middle{width:100%;display:flex;align-items:center}@media all and (min-width:60rem){.ed-c-header--vertical .ed-c-header__middle{flex-direction:column;align-items:flex-start;gap:1rem}}.ed-c-header--bare{--ed-header-color-content: var(--ed-theme-color-content-default);--ed-header-focus-ring-color: var(--ed-theme-focus-ring-color-border-default);background:transparent;color:var(--ed-header-color-content)}.ed-c-header--brand{--ed-header-color-content: var(--ed-theme-color-content-knockout);background:var(--ed-theme-color-background-brand);color:var(--ed-header-color-content)}.ed-c-header--brand-knockout{--ed-header-color-content: var(--ed-theme-color-content-knockout);background:var(--ed-theme-color-background-brand-knockout);color:var(--ed-header-color-content)}.ed-c-header--accent-1{--ed-header-color-content: var(--ed-theme-color-content-on-accent-1);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-1);background:var(--ed-theme-color-background-accent-1);color:var(--ed-header-color-content)}.ed-c-header--accent-2{--ed-header-color-content: var(--ed-theme-color-content-on-accent-2);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-2);background:var(--ed-theme-color-background-accent-2);color:var(--ed-header-color-content)}.ed-c-header--accent-3{--ed-header-color-content: var(--ed-theme-color-content-on-accent-3);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-3);background:var(--ed-theme-color-background-accent-3);color:var(--ed-header-color-content)}.ed-c-header--accent-4{--ed-header-color-content: var(--ed-theme-color-content-on-accent-4);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-4);background:var(--ed-theme-color-background-accent-4);color:var(--ed-header-color-content)}.ed-c-header--accent-5{--ed-header-color-content: var(--ed-theme-color-content-on-accent-5);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-5);background:var(--ed-theme-color-background-accent-5);color:var(--ed-header-color-content)}.ed-c-header--accent-6{--ed-header-color-content: var(--ed-theme-color-content-on-accent-6);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-6);background:var(--ed-theme-color-background-accent-6);color:var(--ed-header-color-content)}.ed-c-header--accent-7{--ed-header-color-content: var(--ed-theme-color-content-on-accent-7);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-7);background:var(--ed-theme-color-background-accent-7);color:var(--ed-header-color-content)}.ed-c-header--accent-8{--ed-header-color-content: var(--ed-theme-color-content-on-accent-8);--ed-header-focus-ring-color: var(--ed-theme-color-border-on-accent-8);background:var(--ed-theme-color-background-accent-8);color:var(--ed-header-color-content)}';
5
+ var b = Object.defineProperty, t = (d, r, c, a) => {
6
+ for (var e = void 0, n = d.length - 1, i; n >= 0; n--)
7
+ (i = d[n]) && (e = i(r, c, e) || e);
8
+ return e && b(r, c, e), e;
9
+ };
10
+ class o extends m {
11
+ static get styles() {
12
+ return v(u);
13
+ }
14
+ render() {
15
+ const r = this.variant ? `ed-c-header--${this.variant}` : "", c = this.componentClassNames("ed-c-header", {
16
+ "ed-is-active": this.isActive === !0,
17
+ "ed-c-header--vertical": this.orientation === "vertical",
18
+ [r]: !!this.variant
19
+ }), a = l`
20
+ <div class="ed-c-header__top">
21
+ <slot name="top"></slot>
22
+ </div>
23
+ <div class="ed-c-header__middle">
24
+ <slot></slot>
25
+ </div>
26
+ <div class="ed-c-header__bottom">
27
+ <slot name="bottom"></slot>
28
+ </div>
29
+ `;
30
+ return l`
31
+ <header role="banner" class="${c}">
32
+ ${this.fullWidth ? a : l`<ed-layout-container class="ed-c-header__layout-container">
33
+ ${a}
34
+ </ed-layout-container>`}
35
+ </header>
36
+ `;
37
+ }
38
+ }
39
+ t([
40
+ s()
41
+ ], o.prototype, "isActive");
42
+ t([
43
+ h()
44
+ ], o.prototype, "variant");
45
+ t([
46
+ h({ type: Boolean })
47
+ ], o.prototype, "fullWidth");
48
+ t([
49
+ h()
50
+ ], o.prototype, "orientation");
51
+ customElements.get("ed-header") === void 0 && customElements.define("ed-header", o);