@brad-frost-web/eddie-recipes 0.46.0 → 0.48.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/cdn/chunks/{EdElement.4WWxvbln.js → EdElement.Dqh0Nrbq.js} +1 -1
  2. package/cdn/chunks/EdFormElement.DxDbDIOi.js +47 -0
  3. package/cdn/chunks/band.B0ez0GMJ.js +42 -0
  4. package/cdn/chunks/button.COKzxeaS.js +126 -0
  5. package/cdn/chunks/card.peqD1u-M.js +39 -0
  6. package/cdn/chunks/{header.CS5cV8tN.js → header.CoOwmnr7.js} +3 -3
  7. package/cdn/chunks/heading.Ca_LYMne.js +64 -0
  8. package/cdn/chunks/icon.mc7zUxp5.js +263 -0
  9. package/cdn/chunks/{layout-container.CLB-yzE5.js → layout-container.C8MYJcgw.js} +5 -5
  10. package/cdn/chunks/{lit.DcQ_wZZQ.js → lit.EWazi_Sp.js} +2 -2
  11. package/cdn/chunks/select-field.DLVUo7yk.js +188 -0
  12. package/cdn/chunks/{single-field-form.C6Bm1Fd-.js → single-field-form.BbGoPDle.js} +4 -4
  13. package/cdn/chunks/text-passage.DW6q78mi.js +58 -0
  14. package/cdn/chunks/timeline-node.CmEn0wf_.js +94 -0
  15. package/cdn/eddie-recipes-autoloader.js +40 -26
  16. package/cdn/recipes/common/ad/ad.js +78 -0
  17. package/cdn/recipes/common/article-card/article-card.js +75 -0
  18. package/cdn/recipes/common/audio-player/audio-player.js +2 -2
  19. package/cdn/recipes/common/example-form/example-form.js +235 -416
  20. package/cdn/recipes/common/newsletter-signup/newsletter-signup.js +9 -9
  21. package/cdn/recipes/common/page-banner/page-banner.js +7 -7
  22. package/cdn/recipes/common/project-card/project-card.js +20 -20
  23. package/cdn/recipes/common/promo-block/promo-block.js +4 -4
  24. package/cdn/recipes/common/search-form/search-form.js +6 -6
  25. package/cdn/recipes/common/site-footer/site-footer.js +3 -3
  26. package/cdn/recipes/common/site-header/site-header.js +5 -5
  27. package/cdn/recipes/common/speaking-card/speaking-card.js +157 -0
  28. package/cdn/recipes/common/stat-card/stat-card.js +35 -71
  29. package/cdn/recipes/common/theme-switcher/theme-switcher.js +99 -0
  30. package/cdn/recipes/common/timeline-node/TimelineNodeKind.js +82 -61
  31. package/cdn/recipes/common/timeline-node/timeline-node.js +32 -32
  32. package/cdn/recipes/common/timeline-node-art/timeline-node-art.js +15 -0
  33. package/cdn/recipes/common/timeline-node-blog/timeline-node-blog.js +6 -6
  34. package/cdn/recipes/common/timeline-node-book/timeline-node-book.js +7 -7
  35. package/cdn/recipes/common/timeline-node-client/timeline-node-client.js +45 -0
  36. package/cdn/recipes/common/timeline-node-concert/timeline-node-concert.js +15 -0
  37. package/cdn/recipes/common/timeline-node-course/timeline-node-course.js +15 -0
  38. package/cdn/recipes/common/timeline-node-link/timeline-node-link.js +5 -5
  39. package/cdn/recipes/common/timeline-node-location/timeline-node-location.js +15 -0
  40. package/cdn/recipes/common/timeline-node-milestone/timeline-node-milestone.js +15 -0
  41. package/cdn/recipes/common/timeline-node-newsletter/timeline-node-newsletter.js +15 -0
  42. package/cdn/recipes/common/timeline-node-note/timeline-node-note.js +15 -0
  43. package/cdn/recipes/common/timeline-node-playlist/timeline-node-playlist.js +5 -5
  44. package/cdn/recipes/common/timeline-node-podcast/timeline-node-podcast.js +15 -0
  45. package/cdn/recipes/common/timeline-node-song/timeline-node-song.js +5 -5
  46. package/cdn/recipes/common/timeline-node-speaking/timeline-node-speaking.js +51 -0
  47. package/cdn/recipes/common/timeline-node-video/timeline-node-video.js +2 -2
  48. package/cdn/recipes/common/transport-button/transport-button.js +4 -4
  49. package/cdn/recipes/common/vertical-site-header/vertical-site-header.js +4 -4
  50. package/cdn/recipes/common/visualzzz/visualzzz.js +2 -2
  51. package/cdn/recipes/eddie-slides/template-card/template-card.js +11 -11
  52. package/cdn/recipes/eddie-slides/thumbnail/thumbnail.js +8 -8
  53. package/cdn/recipes/tools/theme-customizer/theme-customizer.js +4 -4
  54. package/cdn/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +7 -7
  55. package/cdn/recipes/we-are-here/wah-link-list/wah-link-list.js +14 -14
  56. package/cdn/recipes/we-are-here/wah-logo/wah-logo.js +3 -3
  57. package/cdn/recipes/we-are-here/wah-site-footer/wah-site-footer.js +3 -3
  58. package/cdn/recipes/we-are-here/wah-site-header/wah-site-header.js +4 -4
  59. package/package.json +1 -1
  60. package/recipes/common/ad/ad.d.ts +144 -0
  61. package/recipes/common/ad/ad.d.ts.map +1 -0
  62. package/recipes/common/ad/ad.js +79 -0
  63. package/recipes/common/article-card/article-card.d.ts +117 -0
  64. package/recipes/common/article-card/article-card.d.ts.map +1 -0
  65. package/recipes/common/article-card/article-card.js +76 -0
  66. package/recipes/common/project-card/project-card.js +7 -7
  67. package/recipes/common/speaking-card/speaking-card.d.ts +183 -0
  68. package/recipes/common/speaking-card/speaking-card.d.ts.map +1 -0
  69. package/recipes/common/speaking-card/speaking-card.js +158 -0
  70. package/recipes/common/theme-switcher/theme-switcher.d.ts +93 -0
  71. package/recipes/common/theme-switcher/theme-switcher.d.ts.map +1 -0
  72. package/recipes/common/theme-switcher/theme-switcher.js +100 -0
  73. package/recipes/common/timeline-node/TimelineNodeKind.d.ts +17 -0
  74. package/recipes/common/timeline-node/TimelineNodeKind.d.ts.map +1 -1
  75. package/recipes/common/timeline-node/TimelineNodeKind.js +73 -52
  76. package/recipes/common/timeline-node/timeline-node.js +16 -16
  77. package/recipes/common/timeline-node-art/timeline-node-art.d.ts +70 -0
  78. package/recipes/common/timeline-node-art/timeline-node-art.d.ts.map +1 -0
  79. package/recipes/common/timeline-node-art/timeline-node-art.js +15 -0
  80. package/recipes/common/timeline-node-blog/timeline-node-blog.d.ts +5 -3
  81. package/recipes/common/timeline-node-blog/timeline-node-blog.d.ts.map +1 -1
  82. package/recipes/common/timeline-node-blog/timeline-node-blog.js +5 -5
  83. package/recipes/common/timeline-node-book/timeline-node-book.js +6 -6
  84. package/recipes/common/timeline-node-client/timeline-node-client.d.ts +82 -0
  85. package/recipes/common/timeline-node-client/timeline-node-client.d.ts.map +1 -0
  86. package/recipes/common/timeline-node-client/timeline-node-client.js +46 -0
  87. package/recipes/common/timeline-node-concert/timeline-node-concert.d.ts +54 -0
  88. package/recipes/common/timeline-node-concert/timeline-node-concert.d.ts.map +1 -0
  89. package/recipes/common/timeline-node-concert/timeline-node-concert.js +15 -0
  90. package/recipes/common/timeline-node-course/timeline-node-course.d.ts +63 -0
  91. package/recipes/common/timeline-node-course/timeline-node-course.d.ts.map +1 -0
  92. package/recipes/common/timeline-node-course/timeline-node-course.js +15 -0
  93. package/recipes/common/timeline-node-link/timeline-node-link.js +4 -4
  94. package/recipes/common/timeline-node-location/timeline-node-location.d.ts +56 -0
  95. package/recipes/common/timeline-node-location/timeline-node-location.d.ts.map +1 -0
  96. package/recipes/common/timeline-node-location/timeline-node-location.js +15 -0
  97. package/recipes/common/timeline-node-milestone/timeline-node-milestone.d.ts +54 -0
  98. package/recipes/common/timeline-node-milestone/timeline-node-milestone.d.ts.map +1 -0
  99. package/recipes/common/timeline-node-milestone/timeline-node-milestone.js +15 -0
  100. package/recipes/common/timeline-node-newsletter/timeline-node-newsletter.d.ts +54 -0
  101. package/recipes/common/timeline-node-newsletter/timeline-node-newsletter.d.ts.map +1 -0
  102. package/recipes/common/timeline-node-newsletter/timeline-node-newsletter.js +15 -0
  103. package/recipes/common/timeline-node-note/timeline-node-note.d.ts +56 -0
  104. package/recipes/common/timeline-node-note/timeline-node-note.d.ts.map +1 -0
  105. package/recipes/common/timeline-node-note/timeline-node-note.js +15 -0
  106. package/recipes/common/timeline-node-playlist/timeline-node-playlist.js +4 -4
  107. package/recipes/common/timeline-node-podcast/timeline-node-podcast.d.ts +58 -0
  108. package/recipes/common/timeline-node-podcast/timeline-node-podcast.d.ts.map +1 -0
  109. package/recipes/common/timeline-node-podcast/timeline-node-podcast.js +15 -0
  110. package/recipes/common/timeline-node-song/timeline-node-song.js +4 -4
  111. package/recipes/common/timeline-node-speaking/timeline-node-speaking.d.ts +91 -0
  112. package/recipes/common/timeline-node-speaking/timeline-node-speaking.d.ts.map +1 -0
  113. package/recipes/common/timeline-node-speaking/timeline-node-speaking.js +52 -0
  114. package/recipes/common/timeline-node-video/timeline-node-video.js +1 -1
  115. package/recipes/common/transport-button/transport-button.js +1 -1
  116. package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +18 -18
  117. package/recipes/we-are-here/wah-link-list/wah-link-list.js +11 -11
  118. package/recipes/we-are-here/wah-logo/wah-logo.js +1 -1
  119. package/cdn/chunks/band.DS9f9hmo.js +0 -41
  120. package/cdn/chunks/button.B6TZxOQK.js +0 -171
  121. package/cdn/chunks/heading.Bz4ERjTK.js +0 -58
  122. package/cdn/chunks/icon.5nzrlnqf.js +0 -263
  123. package/cdn/chunks/text-passage.DAOOA04l.js +0 -58
  124. package/cdn/chunks/timeline-node.C43hHHH1.js +0 -78
@@ -1,5 +1,5 @@
1
1
  import { c as d } from "./vendor.lY5z9hnC.js";
2
- import { i as l, b as p, n as a } from "./lit.DcQ_wZZQ.js";
2
+ import { i as l, b as p, n as a } from "./lit.EWazi_Sp.js";
3
3
  var h = Object.defineProperty, c = (i, e, t, s) => {
4
4
  for (var n = void 0, r = i.length - 1, o; r >= 0; r--)
5
5
  (o = i[r]) && (n = o(e, t, n) || n);
@@ -0,0 +1,47 @@
1
+ import { n as r } from "./lit.EWazi_Sp.js";
2
+ import { E as u } from "./EdElement.Dqh0Nrbq.js";
3
+ var h = Object.defineProperty, d = Object.getOwnPropertyDescriptor, o = (s, t, i, p) => {
4
+ for (var e = d(t, i), a = s.length - 1, l; a >= 0; a--)
5
+ (l = s[a]) && (e = l(t, i, e) || e);
6
+ return e && h(t, i, e), e;
7
+ };
8
+ class n extends u {
9
+ static {
10
+ this.formAssociated = !0;
11
+ }
12
+ get value() {
13
+ return this.internalValue;
14
+ }
15
+ /**
16
+ * Sets the value of the form field.
17
+ * 1. Stores the new value so it can be retrieved by the getter.
18
+ * 2. Sets the current value of the control.
19
+ * 3. Updates the actual field.
20
+ * 4. Rerenders the component.
21
+ */
22
+ set value(t) {
23
+ const i = this.value;
24
+ this.internalValue = t, this.type !== "checkbox" && this.type !== "radio" && this.internals.setFormValue(t), this.updateField(), this.requestUpdate("value", i);
25
+ }
26
+ /**
27
+ * update the actual field's value
28
+ */
29
+ updateField() {
30
+ this.field && (this.value == null ? this.field.value = "" : this.field.value = this.value);
31
+ }
32
+ firstUpdated() {
33
+ this.type !== "checkbox" && this.type !== "radio" && (this.defaultValue = this.value || this.getAttribute("value") || null), this.updateField();
34
+ }
35
+ formResetCallback() {
36
+ this.value = this.defaultValue, this.updateField();
37
+ }
38
+ constructor() {
39
+ super(), this.internals = this.attachInternals();
40
+ }
41
+ }
42
+ o([
43
+ r()
44
+ ], n.prototype, "value");
45
+ export {
46
+ n as E
47
+ };
@@ -0,0 +1,42 @@
1
+ import { r as b, A as l, b as c, n as s } from "./lit.EWazi_Sp.js";
2
+ import { E as u } from "./EdElement.Dqh0Nrbq.js";
3
+ const k = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}:host{display:block}.ed-c-band{background:var(--ed-theme-color-background-subtle);padding:1.5rem 0}@media all and (min-width:75rem){.ed-c-band{padding:2rem 0}}.ed-c-band--brand{background:var(--ed-theme-color-background-brand)}.ed-c-band--brand-knockout{color:var(--ed-theme-color-content-brand-knockout);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--has-background{position:relative;isolation:isolate;overflow:hidden}.ed-c-band__background{position:absolute;inset:0;z-index:0;pointer-events:none}.ed-c-band__background ::slotted(*){position:absolute;inset:0;width:100%!important;height:100%!important;object-fit:cover}.ed-c-band--has-background .ed-c-band__content{position:relative;z-index:1}.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 m = Object.defineProperty, i = (t, n, o, h) => {
5
+ for (var e = void 0, d = t.length - 1, r; d >= 0; d--)
6
+ (r = t[d]) && (e = r(n, o, e) || e);
7
+ return e && m(n, o, e), e;
8
+ };
9
+ class a extends u {
10
+ constructor() {
11
+ super(...arguments), this.scrim = !1;
12
+ }
13
+ static get styles() {
14
+ return b(k);
15
+ }
16
+ render() {
17
+ const n = !this.slotEmpty("background"), o = this.componentClassNames("ed-c-band", {
18
+ "ed-c-band--brand": this.variant === "brand",
19
+ "ed-c-band--brand-knockout": this.variant === "brand-knockout",
20
+ "ed-c-band--knockout": this.variant === "knockout",
21
+ "ed-c-band--has-background": n,
22
+ "ed-c-band--scrim": this.scrim && n
23
+ });
24
+ return c`
25
+ <div class="${o}">
26
+ ${n ? c`<div class="ed-c-band__background" part="background" aria-hidden="true">
27
+ <slot name="background"></slot>
28
+ </div>` : l}
29
+ <div class="ed-c-band__content" part="content">
30
+ <slot></slot>
31
+ </div>
32
+ </div>
33
+ `;
34
+ }
35
+ }
36
+ i([
37
+ s()
38
+ ], a.prototype, "variant");
39
+ i([
40
+ s({ type: Boolean, reflect: !0 })
41
+ ], a.prototype, "scrim");
42
+ customElements.get("ed-band") === void 0 && customElements.define("ed-band", a);
@@ -0,0 +1,126 @@
1
+ import { E as s } from "./EdFormElement.DxDbDIOi.js";
2
+ import { r as h, A as n, b as c, o as m, n as r, e as p } from "./lit.EWazi_Sp.js";
3
+ import "./icon.mc7zUxp5.js";
4
+ const g = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.ed-u-is-hidden{display:none!important;visibility:hidden!important}.ed-u-is-vishidden{position:absolute!important;overflow:hidden;width:1px;height:1px;padding:0;border:0;clip:rect(1px,1px,1px,1px)}@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: .75rem;--ed-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;white-space:nowrap;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-offset-focus-ring, .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-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-offset-focus-ring, .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)}.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, b = l.length - 1, u; b >= 0; b--)
7
+ (u = l[b]) && (a = u(e, d, a) || a);
8
+ return a && v(e, d, a), a;
9
+ };
10
+ class t extends s {
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 h(g);
19
+ }
20
+ clickHandler(e) {
21
+ if (this.isLoading) {
22
+ e.preventDefault();
23
+ return;
24
+ }
25
+ this.type === "submit" ? this.formSubmit() : this.type === "reset" && this.formReset();
26
+ }
27
+ formSubmit() {
28
+ const e = this.internals.form;
29
+ e && (typeof e.requestSubmit == "function" ? e.requestSubmit() : e.submit());
30
+ }
31
+ formReset() {
32
+ const e = this.internals.form;
33
+ e && e.reset();
34
+ }
35
+ getIconElement() {
36
+ return this.iconName ? c`<ed-icon styleModifier="ed-c-button__icon" aria-hidden="true" name="${this.iconName}"></ed-icon>` : n;
37
+ }
38
+ getSpinnerElement() {
39
+ return this.isLoading ? c`<ed-icon class="ed-c-button__spinner" aria-hidden="true" name="spinner"></ed-icon>` : n;
40
+ }
41
+ createButton(e) {
42
+ const d = this.getIconElement(), i = this.getSpinnerElement();
43
+ return c`
44
+ <button type="${this.type}" class="${e}" ?disabled=${this.disabled || this.isLoading}
45
+ aria-busy=${this.isLoading ? "true" : n} @click=${this.clickHandler}>
46
+ ${this.isLoading ? i : this.iconPosition === "before" ? d : n}
47
+ <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
48
+ ${!this.isLoading && this.iconPosition === "after" ? d : n}
49
+ </button>
50
+ `;
51
+ }
52
+ createAnchorButton(e) {
53
+ const d = this.getIconElement(), i = this.getSpinnerElement();
54
+ return c`
55
+ <a href="${m(this.href)}" class="${e}" target=${this.target}
56
+ aria-busy=${this.isLoading ? "true" : n} aria-disabled=${this.isLoading ? "true" : n} @click=${this.clickHandler}>
57
+ ${this.isLoading ? i : this.iconPosition === "before" ? d : n}
58
+ <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
59
+ ${!this.isLoading && this.iconPosition === "after" ? d : n}
60
+ </a>
61
+ `;
62
+ }
63
+ render() {
64
+ const e = this.componentClassNames("ed-c-button", {
65
+ "ed-c-button--primary": this.variant === "primary",
66
+ "ed-c-button--danger": this.variant === "danger",
67
+ "ed-c-button--bare": this.variant === "bare",
68
+ "ed-c-button--link": this.variant === "link",
69
+ "ed-c-button--knockout": this.knockout === !0 || this.inverted === !0,
70
+ "ed-c-button--loading": this.isLoading === !0,
71
+ "ed-c-button--full-width": this.fullWidth === !0,
72
+ "ed-c-button--sm": this.size === "sm",
73
+ "ed-c-button--lg": this.size === "lg"
74
+ });
75
+ return this.href ? this.createAnchorButton(e) : this.createButton(e);
76
+ }
77
+ }
78
+ o([
79
+ r()
80
+ ], t.prototype, "text");
81
+ o([
82
+ r()
83
+ ], t.prototype, "variant");
84
+ o([
85
+ r({ type: Boolean })
86
+ ], t.prototype, "disabled");
87
+ o([
88
+ r()
89
+ ], t.prototype, "target");
90
+ o([
91
+ r({ type: Boolean })
92
+ ], t.prototype, "knockout");
93
+ o([
94
+ r({ type: Boolean })
95
+ ], t.prototype, "inverted");
96
+ o([
97
+ r()
98
+ ], t.prototype, "href");
99
+ o([
100
+ r()
101
+ ], t.prototype, "iconName");
102
+ o([
103
+ r()
104
+ ], t.prototype, "iconPosition");
105
+ o([
106
+ r()
107
+ ], t.prototype, "size");
108
+ o([
109
+ r({ type: Boolean })
110
+ ], t.prototype, "hideText");
111
+ o([
112
+ r({ type: Boolean })
113
+ ], t.prototype, "fullWidth");
114
+ o([
115
+ r({ type: Boolean })
116
+ ], t.prototype, "round");
117
+ o([
118
+ r({ type: Boolean })
119
+ ], t.prototype, "isLoading");
120
+ o([
121
+ r({ type: String })
122
+ ], t.prototype, "type");
123
+ o([
124
+ p("button")
125
+ ], t.prototype, "field");
126
+ customElements.get("ed-button") === void 0 && customElements.define("ed-button", t);
@@ -0,0 +1,39 @@
1
+ import { r as l, b as t, n } from "./lit.EWazi_Sp.js";
2
+ import { E as h } from "./EdElement.Dqh0Nrbq.js";
3
+ const m = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}:host{display:block}.ed-c-card{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--bare{border:0;padding:0;color:var(--ed-theme-color-content-default);box-shadow:none}.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__body{display:block;padding:1rem;flex:1 0 auto}.ed-c-card--bare .ed-c-card__body{padding:0}.ed-c-card__footer{display:block;flex:none;padding:1rem}.ed-c-card--bare .ed-c-card__footer{padding:0}';
4
+ var b = Object.defineProperty, i = (r, d, c, f) => {
5
+ for (var e = void 0, o = r.length - 1, s; o >= 0; o--)
6
+ (s = r[o]) && (e = s(d, c, e) || e);
7
+ return e && b(d, c, e), e;
8
+ };
9
+ class a extends h {
10
+ static get styles() {
11
+ return l(m);
12
+ }
13
+ render() {
14
+ const d = this.componentClassNames("ed-c-card", {
15
+ "ed-c-card--bare": this.variant === "bare",
16
+ "ed-c-card--align-center": this.align === "center"
17
+ });
18
+ return t`
19
+ <div class="${d}">
20
+ ${this.slotNotEmpty("header") && t`<div class="ed-c-card__header">
21
+ <slot name="header"></slot>
22
+ </div>`}
23
+ <div class="ed-c-card__body">
24
+ <slot></slot>
25
+ </div>
26
+ ${this.slotNotEmpty("footer") && t`<div class="ed-c-card__footer">
27
+ <slot name="footer"></slot>
28
+ </div>`}
29
+ </div>
30
+ `;
31
+ }
32
+ }
33
+ i([
34
+ n()
35
+ ], a.prototype, "variant");
36
+ i([
37
+ n()
38
+ ], a.prototype, "align");
39
+ customElements.get("ed-card") === void 0 && customElements.define("ed-card", a);
@@ -1,6 +1,6 @@
1
- import { r as s, a as v, b as o, n as h } from "./lit.DcQ_wZZQ.js";
2
- import { E as m } from "./EdElement.4WWxvbln.js";
3
- import "./layout-container.CLB-yzE5.js";
1
+ import { a as s, r as v, b as o, n as h } from "./lit.EWazi_Sp.js";
2
+ import { E as m } from "./EdElement.Dqh0Nrbq.js";
3
+ import "./layout-container.C8MYJcgw.js";
4
4
  const u = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}: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:3}@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:3}.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
5
  var b = Object.defineProperty, d = (a, c, t, n) => {
6
6
  for (var e = void 0, l = a.length - 1, i; l >= 0; l--)
@@ -0,0 +1,64 @@
1
+ import { r as g, b as a, n as r } from "./lit.EWazi_Sp.js";
2
+ import { E as y } from "./EdElement.Dqh0Nrbq.js";
3
+ const p = '@charset "UTF-8";:root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.ed-c-heading{text-wrap:var(--ed-heading-text-wrap, balance);margin:0}.ed-c-heading--wrap-balance{--ed-heading-text-wrap: balance}.ed-c-heading--wrap-pretty{--ed-heading-text-wrap: pretty}.ed-c-heading--wrap-normal{--ed-heading-text-wrap: normal}::slotted(a){color:inherit;text-decoration:none;border-block-end:var(--ed-theme-border-width-sm) solid transparent;transition:border-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}::slotted(a:hover),::slotted(a:focus-visible){color:inherit;border-block-end-color:var(--ed-heading-link-color-border, var(--ed-theme-color-border-brand))}::slotted(a:focus-visible){outline:var(--ed-theme-border-width-lg) solid var(--ed-theme-focus-ring-color-border-default);outline-offset:var(--ed-theme-offset-focus-ring, .25rem)}.ed-c-heading--display-xl{font-family:var(--ed-theme-typography-display-xl-mobile-font-family);font-weight:var(--ed-theme-typography-display-xl-mobile-font-weight);font-size:var(--ed-theme-typography-display-xl-mobile-font-size);line-height:var(--ed-theme-typography-display-xl-mobile-line-height);letter-spacing:var(--ed-theme-typography-display-xl-mobile-letter-spacing);text-transform:var(--ed-theme-typography-display-xl-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--display-xl{font-family:var(--ed-theme-typography-display-xl-tablet-font-family);font-weight:var(--ed-theme-typography-display-xl-tablet-font-weight);font-size:var(--ed-theme-typography-display-xl-tablet-font-size);line-height:var(--ed-theme-typography-display-xl-tablet-line-height);letter-spacing:var(--ed-theme-typography-display-xl-tablet-letter-spacing);text-transform:var(--ed-theme-typography-display-xl-tablet-text-transform)}}@media all and (min-width:75rem){.ed-c-heading--display-xl{font-family:var(--ed-theme-typography-display-xl-font-family);font-weight:var(--ed-theme-typography-display-xl-font-weight);font-size:var(--ed-theme-typography-display-xl-font-size);line-height:var(--ed-theme-typography-display-xl-line-height);letter-spacing:var(--ed-theme-typography-display-xl-letter-spacing);text-transform:var(--ed-theme-typography-display-xl-text-transform)}}.ed-c-heading--display-lg{font-family:var(--ed-theme-typography-display-lg-mobile-font-family);font-weight:var(--ed-theme-typography-display-lg-mobile-font-weight);font-size:var(--ed-theme-typography-display-lg-mobile-font-size);line-height:var(--ed-theme-typography-display-lg-mobile-line-height);letter-spacing:var(--ed-theme-typography-display-lg-mobile-letter-spacing);text-transform:var(--ed-theme-typography-display-lg-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--display-lg{font-family:var(--ed-theme-typography-display-lg-font-family);font-weight:var(--ed-theme-typography-display-lg-font-weight);font-size:var(--ed-theme-typography-display-lg-font-size);line-height:var(--ed-theme-typography-display-lg-line-height);letter-spacing:var(--ed-theme-typography-display-lg-letter-spacing);text-transform:var(--ed-theme-typography-display-lg-text-transform)}}.ed-c-heading--display-default{font-family:var(--ed-theme-typography-display-default-mobile-font-family);font-weight:var(--ed-theme-typography-display-default-mobile-font-weight);font-size:var(--ed-theme-typography-display-default-mobile-font-size);line-height:var(--ed-theme-typography-display-default-mobile-line-height);letter-spacing:var(--ed-theme-typography-display-default-mobile-letter-spacing);text-transform:var(--ed-theme-typography-display-default-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--display-default{font-family:var(--ed-theme-typography-display-default-font-family);font-weight:var(--ed-theme-typography-display-default-font-weight);font-size:var(--ed-theme-typography-display-default-font-size);line-height:var(--ed-theme-typography-display-default-line-height);letter-spacing:var(--ed-theme-typography-display-default-letter-spacing);text-transform:var(--ed-theme-typography-display-default-text-transform)}}.ed-c-heading--headline-lg{font-family:var(--ed-theme-typography-headline-lg-mobile-font-family);font-weight:var(--ed-theme-typography-headline-lg-mobile-font-weight);font-size:var(--ed-theme-typography-headline-lg-mobile-font-size);line-height:var(--ed-theme-typography-headline-lg-mobile-line-height);letter-spacing:var(--ed-theme-typography-headline-lg-mobile-letter-spacing);text-transform:var(--ed-theme-typography-headline-lg-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--headline-lg{font-family:var(--ed-theme-typography-headline-lg-font-family);font-weight:var(--ed-theme-typography-headline-lg-font-weight);font-size:var(--ed-theme-typography-headline-lg-font-size);line-height:var(--ed-theme-typography-headline-lg-line-height);letter-spacing:var(--ed-theme-typography-headline-lg-letter-spacing);text-transform:var(--ed-theme-typography-headline-lg-text-transform)}}.ed-c-heading--headline-default{font-family:var(--ed-theme-typography-headline-default-mobile-font-family);font-weight:var(--ed-theme-typography-headline-default-mobile-font-weight);font-size:var(--ed-theme-typography-headline-default-mobile-font-size);line-height:var(--ed-theme-typography-headline-default-mobile-line-height);letter-spacing:var(--ed-theme-typography-headline-default-mobile-letter-spacing);text-transform:var(--ed-theme-typography-headline-default-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--headline-default{font-family:var(--ed-theme-typography-headline-default-font-family);font-weight:var(--ed-theme-typography-headline-default-font-weight);font-size:var(--ed-theme-typography-headline-default-font-size);line-height:var(--ed-theme-typography-headline-default-line-height);letter-spacing:var(--ed-theme-typography-headline-default-letter-spacing);text-transform:var(--ed-theme-typography-headline-default-text-transform)}}.ed-c-heading--headline-sm{font-family:var(--ed-theme-typography-headline-sm-mobile-font-family);font-weight:var(--ed-theme-typography-headline-sm-mobile-font-weight);font-size:var(--ed-theme-typography-headline-sm-mobile-font-size);line-height:var(--ed-theme-typography-headline-sm-mobile-line-height);letter-spacing:var(--ed-theme-typography-headline-sm-mobile-letter-spacing);text-transform:var(--ed-theme-typography-headline-sm-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--headline-sm{font-family:var(--ed-theme-typography-headline-sm-font-family);font-weight:var(--ed-theme-typography-headline-sm-font-weight);font-size:var(--ed-theme-typography-headline-sm-font-size);line-height:var(--ed-theme-typography-headline-sm-line-height);letter-spacing:var(--ed-theme-typography-headline-sm-letter-spacing);text-transform:var(--ed-theme-typography-headline-sm-text-transform)}}.ed-c-heading--title-lg{font-family:var(--ed-theme-typography-title-lg-mobile-font-family);font-weight:var(--ed-theme-typography-title-lg-mobile-font-weight);font-size:var(--ed-theme-typography-title-lg-mobile-font-size);line-height:var(--ed-theme-typography-title-lg-mobile-line-height);letter-spacing:var(--ed-theme-typography-title-lg-mobile-letter-spacing);text-transform:var(--ed-theme-typography-title-lg-mobile-text-transform)}@media all and (min-width:48rem){.ed-c-heading--title-lg{font-family:var(--ed-theme-typography-title-lg-font-family);font-weight:var(--ed-theme-typography-title-lg-font-weight);font-size:var(--ed-theme-typography-title-lg-font-size);line-height:var(--ed-theme-typography-title-lg-line-height);letter-spacing:var(--ed-theme-typography-title-lg-letter-spacing);text-transform:var(--ed-theme-typography-title-lg-text-transform)}}.ed-c-heading--title-default{font-family:var(--ed-theme-typography-title-default-font-family);font-weight:var(--ed-theme-typography-title-default-font-weight);font-size:var(--ed-theme-typography-title-default-font-size);line-height:var(--ed-theme-typography-title-default-line-height);letter-spacing:var(--ed-theme-typography-title-default-letter-spacing);text-transform:var(--ed-theme-typography-title-default-text-transform)}.ed-c-heading--title-sm{font-family:var(--ed-theme-typography-title-sm-font-family);font-weight:var(--ed-theme-typography-title-sm-font-weight);font-size:var(--ed-theme-typography-title-sm-font-size);line-height:var(--ed-theme-typography-title-sm-line-height);letter-spacing:var(--ed-theme-typography-title-sm-letter-spacing);text-transform:var(--ed-theme-typography-title-sm-text-transform)}.ed-c-heading--label-lg{font-family:var(--ed-theme-typography-label-lg-font-family);font-weight:var(--ed-theme-typography-label-lg-font-weight);font-size:var(--ed-theme-typography-label-lg-font-size);line-height:var(--ed-theme-typography-label-lg-line-height);letter-spacing:var(--ed-theme-typography-label-lg-letter-spacing);text-transform:var(--ed-theme-typography-label-lg-text-transform)}.ed-c-heading--label-default{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)}.ed-c-heading--label-sm{font-family:var(--ed-theme-typography-label-sm-font-family);font-weight:var(--ed-theme-typography-label-sm-font-weight);font-size:var(--ed-theme-typography-label-sm-font-size);line-height:var(--ed-theme-typography-label-sm-line-height);letter-spacing:var(--ed-theme-typography-label-sm-letter-spacing);text-transform:var(--ed-theme-typography-label-sm-text-transform)}.ed-c-heading--body-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-heading--body-default{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)}.ed-c-heading--body-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-heading--meta-default{font-family:var(--ed-theme-typography-meta-default-font-family);font-weight:var(--ed-theme-typography-meta-default-font-weight);font-size:var(--ed-theme-typography-meta-default-font-size);line-height:var(--ed-theme-typography-meta-default-line-height);letter-spacing:var(--ed-theme-typography-meta-default-letter-spacing);text-transform:var(--ed-theme-typography-meta-default-text-transform)}.ed-c-heading--meta-sm{font-family:var(--ed-theme-typography-meta-sm-font-family);font-weight:var(--ed-theme-typography-meta-sm-font-weight);font-size:var(--ed-theme-typography-meta-sm-font-size);line-height:var(--ed-theme-typography-meta-sm-line-height);letter-spacing:var(--ed-theme-typography-meta-sm-letter-spacing);text-transform:var(--ed-theme-typography-meta-sm-text-transform)}';
4
+ var m = Object.defineProperty, d = (h, e, o, s) => {
5
+ for (var t = void 0, l = h.length - 1, n; l >= 0; l--)
6
+ (n = h[l]) && (t = n(e, o, t) || t);
7
+ return t && m(e, o, t), t;
8
+ };
9
+ class i extends y {
10
+ constructor() {
11
+ super(...arguments), this.tagName = "h2";
12
+ }
13
+ static get styles() {
14
+ return g(p);
15
+ }
16
+ render() {
17
+ const e = this.componentClassNames("ed-c-heading", {
18
+ "ed-c-heading--display-xl": this.variant === "display-xl",
19
+ "ed-c-heading--display-lg": this.variant === "display-lg",
20
+ "ed-c-heading--display-default": this.variant === "display-default",
21
+ "ed-c-heading--headline-lg": this.variant ? this.variant === "headline-lg" : this.tagName === "h1",
22
+ "ed-c-heading--headline-default": this.variant ? this.variant === "headline-default" : this.tagName === "h2",
23
+ "ed-c-heading--headline-sm": this.variant ? this.variant === "headline-sm" : this.tagName === "h3",
24
+ "ed-c-heading--title-lg": this.variant ? this.variant === "title-lg" : this.tagName === "h4",
25
+ "ed-c-heading--title-default": this.variant ? this.variant === "title-default" : this.tagName === "h5",
26
+ "ed-c-heading--title-sm": this.variant ? this.variant === "title-sm" : this.tagName === "h6",
27
+ "ed-c-heading--label-lg": this.variant === "label-lg",
28
+ "ed-c-heading--label-default": this.variant === "label-default",
29
+ "ed-c-heading--label-sm": this.variant === "label-sm",
30
+ "ed-c-heading--body-lg": this.variant === "body-lg",
31
+ "ed-c-heading--body-default": this.variant === "body-default",
32
+ "ed-c-heading--body-sm": this.variant === "body-sm",
33
+ "ed-c-heading--meta-default": this.variant === "meta-default",
34
+ "ed-c-heading--meta-sm": this.variant === "meta-sm",
35
+ "ed-c-heading--wrap-balance": this.wrap === "balance",
36
+ "ed-c-heading--wrap-pretty": this.wrap === "pretty",
37
+ "ed-c-heading--wrap-normal": this.wrap === "normal"
38
+ });
39
+ switch (this.tagName) {
40
+ case "h1":
41
+ return a` <h1 class="${e}"><slot></slot></h1> `;
42
+ case "h2":
43
+ return a` <h2 class="${e}"><slot></slot></h2> `;
44
+ case "h3":
45
+ return a` <h3 class="${e}"><slot></slot></h3> `;
46
+ case "h4":
47
+ return a` <h4 class="${e}"><slot></slot></h4> `;
48
+ case "h5":
49
+ return a` <h5 class="${e}"><slot></slot></h5> `;
50
+ case "h6":
51
+ return a` <h6 class="${e}"><slot></slot></h6> `;
52
+ }
53
+ }
54
+ }
55
+ d([
56
+ r()
57
+ ], i.prototype, "variant");
58
+ d([
59
+ r()
60
+ ], i.prototype, "tagName");
61
+ d([
62
+ r()
63
+ ], i.prototype, "wrap");
64
+ customElements.get("ed-heading") === void 0 && customElements.define("ed-heading", i);