@brad-frost-web/eddie-recipes 0.47.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 (70) hide show
  1. package/cdn/chunks/EdFormElement.DxDbDIOi.js +47 -0
  2. package/cdn/chunks/band.B0ez0GMJ.js +42 -0
  3. package/cdn/chunks/{button.DziMthz2.js → button.COKzxeaS.js} +51 -96
  4. package/cdn/chunks/heading.Ca_LYMne.js +64 -0
  5. package/cdn/chunks/select-field.DLVUo7yk.js +188 -0
  6. package/cdn/chunks/{single-field-form.B3cl6la0.js → single-field-form.BbGoPDle.js} +1 -1
  7. package/cdn/chunks/text-passage.DW6q78mi.js +58 -0
  8. package/cdn/chunks/{timeline-node.JcsS49ZB.js → timeline-node.CmEn0wf_.js} +48 -44
  9. package/cdn/eddie-recipes-autoloader.js +27 -21
  10. package/cdn/recipes/common/article-card/article-card.js +1 -1
  11. package/cdn/recipes/common/example-form/example-form.js +234 -415
  12. package/cdn/recipes/common/newsletter-signup/newsletter-signup.js +1 -1
  13. package/cdn/recipes/common/page-banner/page-banner.js +4 -4
  14. package/cdn/recipes/common/project-card/project-card.js +2 -2
  15. package/cdn/recipes/common/promo-block/promo-block.js +1 -1
  16. package/cdn/recipes/common/search-form/search-form.js +1 -1
  17. package/cdn/recipes/common/site-header/site-header.js +1 -1
  18. package/cdn/recipes/common/speaking-card/speaking-card.js +157 -0
  19. package/cdn/recipes/common/stat-card/stat-card.js +2 -2
  20. package/cdn/recipes/common/theme-switcher/theme-switcher.js +99 -0
  21. package/cdn/recipes/common/timeline-node/TimelineNodeKind.js +72 -60
  22. package/cdn/recipes/common/timeline-node/timeline-node.js +2 -2
  23. package/cdn/recipes/common/timeline-node-art/timeline-node-art.js +15 -0
  24. package/cdn/recipes/common/timeline-node-blog/timeline-node-blog.js +1 -1
  25. package/cdn/recipes/common/timeline-node-client/timeline-node-client.js +45 -0
  26. package/cdn/recipes/common/timeline-node-course/timeline-node-course.js +15 -0
  27. package/cdn/recipes/common/timeline-node-podcast/timeline-node-podcast.js +1 -1
  28. package/cdn/recipes/common/timeline-node-speaking/timeline-node-speaking.js +51 -0
  29. package/cdn/recipes/common/transport-button/transport-button.js +1 -1
  30. package/cdn/recipes/common/vertical-site-header/vertical-site-header.js +1 -1
  31. package/cdn/recipes/tools/theme-customizer/theme-customizer.js +1 -1
  32. package/cdn/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +6 -6
  33. package/cdn/recipes/we-are-here/wah-link-list/wah-link-list.js +14 -14
  34. package/cdn/recipes/we-are-here/wah-site-header/wah-site-header.js +1 -1
  35. package/package.json +1 -1
  36. package/recipes/common/ad/ad.d.ts +0 -4
  37. package/recipes/common/ad/ad.d.ts.map +1 -1
  38. package/recipes/common/speaking-card/speaking-card.d.ts +183 -0
  39. package/recipes/common/speaking-card/speaking-card.d.ts.map +1 -0
  40. package/recipes/common/speaking-card/speaking-card.js +158 -0
  41. package/recipes/common/theme-switcher/theme-switcher.d.ts +93 -0
  42. package/recipes/common/theme-switcher/theme-switcher.d.ts.map +1 -0
  43. package/recipes/common/theme-switcher/theme-switcher.js +100 -0
  44. package/recipes/common/timeline-node/TimelineNodeKind.d.ts +10 -0
  45. package/recipes/common/timeline-node/TimelineNodeKind.d.ts.map +1 -1
  46. package/recipes/common/timeline-node/TimelineNodeKind.js +63 -51
  47. package/recipes/common/timeline-node-art/timeline-node-art.d.ts +70 -0
  48. package/recipes/common/timeline-node-art/timeline-node-art.d.ts.map +1 -0
  49. package/recipes/common/timeline-node-art/timeline-node-art.js +15 -0
  50. package/recipes/common/timeline-node-blog/timeline-node-blog.d.ts +5 -3
  51. package/recipes/common/timeline-node-blog/timeline-node-blog.d.ts.map +1 -1
  52. package/recipes/common/timeline-node-blog/timeline-node-blog.js +1 -1
  53. package/recipes/common/timeline-node-client/timeline-node-client.d.ts +82 -0
  54. package/recipes/common/timeline-node-client/timeline-node-client.d.ts.map +1 -0
  55. package/recipes/common/timeline-node-client/timeline-node-client.js +46 -0
  56. package/recipes/common/timeline-node-course/timeline-node-course.d.ts +63 -0
  57. package/recipes/common/timeline-node-course/timeline-node-course.d.ts.map +1 -0
  58. package/recipes/common/timeline-node-course/timeline-node-course.js +15 -0
  59. package/recipes/common/timeline-node-newsletter/timeline-node-newsletter.d.ts +5 -5
  60. package/recipes/common/timeline-node-podcast/timeline-node-podcast.d.ts +6 -3
  61. package/recipes/common/timeline-node-podcast/timeline-node-podcast.d.ts.map +1 -1
  62. package/recipes/common/timeline-node-podcast/timeline-node-podcast.js +1 -1
  63. package/recipes/common/timeline-node-speaking/timeline-node-speaking.d.ts +91 -0
  64. package/recipes/common/timeline-node-speaking/timeline-node-speaking.d.ts.map +1 -0
  65. package/recipes/common/timeline-node-speaking/timeline-node-speaking.js +52 -0
  66. package/recipes/we-are-here/chunky-checkbox/chunky-checkbox.js +18 -18
  67. package/recipes/we-are-here/wah-link-list/wah-link-list.js +11 -11
  68. package/cdn/chunks/band.CwHBBc-M.js +0 -41
  69. package/cdn/chunks/heading.BSJkdyD3.js +0 -58
  70. package/cdn/chunks/text-passage.lJ-CSZBU.js +0 -58
@@ -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);
@@ -1,53 +1,11 @@
1
- import { n as o, r as h, A as a, b, o as m, e as p } from "./lit.EWazi_Sp.js";
2
- import { E as g } from "./EdElement.Dqh0Nrbq.js";
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
3
  import "./icon.mc7zUxp5.js";
4
- var v = Object.defineProperty, y = Object.getOwnPropertyDescriptor, f = (i, e, n, l) => {
5
- for (var d = y(e, n), c = i.length - 1, u; c >= 0; c--)
6
- (u = i[c]) && (d = u(e, n, d) || d);
7
- return d && v(e, n, d), d;
8
- };
9
- class s extends g {
10
- static {
11
- this.formAssociated = !0;
12
- }
13
- get value() {
14
- return this.internalValue;
15
- }
16
- /**
17
- * Sets the value of the form field.
18
- * 1. Stores the new value so it can be retrieved by the getter.
19
- * 2. Sets the current value of the control.
20
- * 3. Updates the actual field.
21
- * 4. Rerenders the component.
22
- */
23
- set value(e) {
24
- const n = this.value;
25
- this.internalValue = e, this.type !== "checkbox" && this.type !== "radio" && this.internals.setFormValue(e), this.updateField(), this.requestUpdate("value", n);
26
- }
27
- /**
28
- * update the actual field's value
29
- */
30
- updateField() {
31
- this.field && (this.value == null ? this.field.value = "" : this.field.value = this.value);
32
- }
33
- firstUpdated() {
34
- this.type !== "checkbox" && this.type !== "radio" && (this.defaultValue = this.value || this.getAttribute("value") || null), this.updateField();
35
- }
36
- formResetCallback() {
37
- this.value = this.defaultValue, this.updateField();
38
- }
39
- constructor() {
40
- super(), this.internals = this.attachInternals();
41
- }
42
- }
43
- f([
44
- o()
45
- ], s.prototype, "value");
46
- 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}.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)}';
47
- var x = Object.defineProperty, r = (i, e, n, l) => {
48
- for (var d = void 0, c = i.length - 1, u; c >= 0; c--)
49
- (u = i[c]) && (d = u(e, n, d) || d);
50
- return d && x(e, n, d), d;
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;
51
9
  };
52
10
  class t extends s {
53
11
  constructor() {
@@ -57,7 +15,7 @@ class t extends s {
57
15
  this.formAssociated = !0;
58
16
  }
59
17
  static get styles() {
60
- return h(k);
18
+ return h(g);
61
19
  }
62
20
  clickHandler(e) {
63
21
  if (this.isLoading) {
@@ -75,30 +33,30 @@ class t extends s {
75
33
  e && e.reset();
76
34
  }
77
35
  getIconElement() {
78
- return this.iconName ? b`<ed-icon styleModifier="ed-c-button__icon" aria-hidden="true" name="${this.iconName}"></ed-icon>` : a;
36
+ return this.iconName ? c`<ed-icon styleModifier="ed-c-button__icon" aria-hidden="true" name="${this.iconName}"></ed-icon>` : n;
79
37
  }
80
38
  getSpinnerElement() {
81
- return this.isLoading ? b`<ed-icon class="ed-c-button__spinner" aria-hidden="true" name="spinner"></ed-icon>` : a;
39
+ return this.isLoading ? c`<ed-icon class="ed-c-button__spinner" aria-hidden="true" name="spinner"></ed-icon>` : n;
82
40
  }
83
41
  createButton(e) {
84
- const n = this.getIconElement(), l = this.getSpinnerElement();
85
- return b`
42
+ const d = this.getIconElement(), i = this.getSpinnerElement();
43
+ return c`
86
44
  <button type="${this.type}" class="${e}" ?disabled=${this.disabled || this.isLoading}
87
- aria-busy=${this.isLoading ? "true" : a} @click=${this.clickHandler}>
88
- ${this.isLoading ? l : this.iconPosition === "before" ? n : a}
45
+ aria-busy=${this.isLoading ? "true" : n} @click=${this.clickHandler}>
46
+ ${this.isLoading ? i : this.iconPosition === "before" ? d : n}
89
47
  <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
90
- ${!this.isLoading && this.iconPosition === "after" ? n : a}
48
+ ${!this.isLoading && this.iconPosition === "after" ? d : n}
91
49
  </button>
92
50
  `;
93
51
  }
94
52
  createAnchorButton(e) {
95
- const n = this.getIconElement(), l = this.getSpinnerElement();
96
- return b`
53
+ const d = this.getIconElement(), i = this.getSpinnerElement();
54
+ return c`
97
55
  <a href="${m(this.href)}" class="${e}" target=${this.target}
98
- aria-busy=${this.isLoading ? "true" : a} aria-disabled=${this.isLoading ? "true" : a} @click=${this.clickHandler}>
99
- ${this.isLoading ? l : this.iconPosition === "before" ? n : a}
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}
100
58
  <span class="${this.hideText ? "ed-u-is-vishidden ed-c-button__text" : "ed-c-button__text"}"><slot>${this.text}</slot></span>
101
- ${!this.isLoading && this.iconPosition === "after" ? n : a}
59
+ ${!this.isLoading && this.iconPosition === "after" ? d : n}
102
60
  </a>
103
61
  `;
104
62
  }
@@ -117,55 +75,52 @@ class t extends s {
117
75
  return this.href ? this.createAnchorButton(e) : this.createButton(e);
118
76
  }
119
77
  }
120
- r([
121
- o()
78
+ o([
79
+ r()
122
80
  ], t.prototype, "text");
123
- r([
124
- o()
81
+ o([
82
+ r()
125
83
  ], t.prototype, "variant");
126
- r([
127
- o({ type: Boolean })
84
+ o([
85
+ r({ type: Boolean })
128
86
  ], t.prototype, "disabled");
129
- r([
130
- o()
87
+ o([
88
+ r()
131
89
  ], t.prototype, "target");
132
- r([
133
- o({ type: Boolean })
90
+ o([
91
+ r({ type: Boolean })
134
92
  ], t.prototype, "knockout");
135
- r([
136
- o({ type: Boolean })
93
+ o([
94
+ r({ type: Boolean })
137
95
  ], t.prototype, "inverted");
138
- r([
139
- o()
96
+ o([
97
+ r()
140
98
  ], t.prototype, "href");
141
- r([
142
- o()
99
+ o([
100
+ r()
143
101
  ], t.prototype, "iconName");
144
- r([
145
- o()
102
+ o([
103
+ r()
146
104
  ], t.prototype, "iconPosition");
147
- r([
148
- o()
105
+ o([
106
+ r()
149
107
  ], t.prototype, "size");
150
- r([
151
- o({ type: Boolean })
108
+ o([
109
+ r({ type: Boolean })
152
110
  ], t.prototype, "hideText");
153
- r([
154
- o({ type: Boolean })
111
+ o([
112
+ r({ type: Boolean })
155
113
  ], t.prototype, "fullWidth");
156
- r([
157
- o({ type: Boolean })
114
+ o([
115
+ r({ type: Boolean })
158
116
  ], t.prototype, "round");
159
- r([
160
- o({ type: Boolean })
117
+ o([
118
+ r({ type: Boolean })
161
119
  ], t.prototype, "isLoading");
162
- r([
163
- o({ type: String })
120
+ o([
121
+ r({ type: String })
164
122
  ], t.prototype, "type");
165
- r([
123
+ o([
166
124
  p("button")
167
125
  ], t.prototype, "field");
168
126
  customElements.get("ed-button") === void 0 && customElements.define("ed-button", t);
169
- export {
170
- s as E
171
- };
@@ -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);
@@ -0,0 +1,188 @@
1
+ import { E as b } from "./EdFormElement.DxDbDIOi.js";
2
+ import { r as p, b as c, n as r, o as n, e as y, c as v } from "./lit.EWazi_Sp.js";
3
+ import { n as f } from "./index.browser.D527xXcp.js";
4
+ import { E as g } from "./EdElement.Dqh0Nrbq.js";
5
+ import "./icon.mc7zUxp5.js";
6
+ const _ = ":root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.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:.5rem}.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}";
7
+ var k = Object.defineProperty, m = (i, t, e, s) => {
8
+ for (var o = void 0, a = i.length - 1, u; a >= 0; a--)
9
+ (u = i[a]) && (o = u(t, e, o) || o);
10
+ return o && k(t, e, o), o;
11
+ };
12
+ class h extends g {
13
+ static get styles() {
14
+ return p(_);
15
+ }
16
+ render() {
17
+ const t = this.componentClassNames("ed-c-field-note", {
18
+ "ed-is-error": this.isError,
19
+ "ed-is-success": this.isSuccess,
20
+ "ed-c-field-note--knockout": this.knockout === !0 || this.inverted === !0
21
+ });
22
+ return c`
23
+ <div class="${t}">
24
+ ${this.iconName && c`<ed-icon name="${this.iconName}"></ed-icon>`}
25
+ <slot></slot>
26
+ </div>
27
+ `;
28
+ }
29
+ }
30
+ m([
31
+ r({ type: Boolean })
32
+ ], h.prototype, "isError");
33
+ m([
34
+ r({ type: Boolean })
35
+ ], h.prototype, "isSuccess");
36
+ m([
37
+ r()
38
+ ], h.prototype, "iconName");
39
+ m([
40
+ r({ type: Boolean })
41
+ ], h.prototype, "knockout");
42
+ m([
43
+ r({ type: Boolean })
44
+ ], h.prototype, "inverted");
45
+ customElements.get("ed-field-note") === void 0 && customElements.define("ed-field-note", h);
46
+ const $ = ":root,:host{--size-base-unit: .5rem}*,::slotted(*),*:before,*:after{box-sizing:border-box}h1,h2,h3,h4,h5,h6{margin:0}.ed-c-select-field__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);display:block;margin-block-end:.5rem}.ed-c-select-field--knockout .ed-c-select-field__label{color:var(--ed-theme-color-content-knockout)}.ed-c-select-field.ed-is-error .ed-c-select-field__label{color:var(--ed-theme-color-content-utility-error)}.ed-c-select-field.ed-is-success .ed-c-select-field__label{color:var(--ed-theme-color-content-utility-success)}.ed-c-select-field__body{position:relative}.ed-c-select-field__input{-webkit-appearance:none;width:100%;border-width:var(--ed-theme-border-width-sm);border-style:solid;border-color:var(--ed-theme-form-color-border-default);border-radius:var(--ed-theme-border-radius-sm);outline:none;padding:.8125rem .5rem;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);color:var(--ed-theme-form-color-content-default);background-color:var(--ed-theme-form-color-background-default);transition:border-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),background-color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease),box-shadow var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-c-select-field__input:hover{border-color:var(--ed-theme-color-border-brand);background-color:var(--ed-theme-form-color-background-hover)}.ed-c-select-field__input:focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus)}.ed-c-select-field__input:not(:placeholder-shown):focus:not(:disabled){border-color:var(--ed-theme-form-color-border-focus);background-color:var(--ed-theme-form-color-background-hover)}.ed-is-error .ed-c-select-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-error)}.ed-is-success .ed-c-select-field__input:not(:placeholder-shown):focus:not(:disabled){background-color:var(--ed-theme-color-background-utility-success)}.ed-c-select-field__input:active:not(:disabled){border-color:var(--ed-theme-form-color-border)}.ed-c-select-field__input:disabled{background-color:var(--ed-theme-color-background-subtle);border-color:var(--ed-theme-color-border-disabled);color:var(--ed-theme-color-content-disabled);cursor:not-allowed}.ed-c-select-field__input:disabled~.ed-c-text-field__label,.ed-c-select-field__input:disabled:hover~.ed-c-text-field__label,.ed-c-select-field__input:disabled::placeholder{color:var(--ed-theme-color-content-disabled)}.ed-c-select-field__input: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-select-field__input::placeholder{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);color:var(--ed-theme-form-color-content-subtle);transition:color var(--ed-theme-animation-fade-quick) var(--ed-theme-animation-ease)}.ed-is-error .ed-c-select-field__input::placeholder{color:var(--ed-theme-color-content-utility-error)}.ed-is-error .ed-c-select-field__input:hover::placeholder{color:var(--ed-theme-color-content-utility-error-hover)}.ed-is-error .ed-c-select-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-error);background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-select-field__input:hover,.ed-is-error .ed-c-select-field__input:focus{background-color:var(--ed-theme-color-background-utility-error)}.ed-is-error .ed-c-select-field__input:not(:focus){color:var(--ed-theme-color-content-default)}.ed-is-success .ed-c-select-field__input{color:var(--ed-theme-color-content-default);border-color:var(--ed-theme-color-border-utility-success);background-color:var(--ed-theme-color-background-utility-success)}.ed-is-success .ed-c-select-field__input:hover,.ed-is-success .ed-c-select-field__input:focus{background-color:var(--ed-theme-color-background-utility-success)}.ed-c-select-field__input{padding-inline-end:2rem}.ed-c-select-field--knockout .ed-c-select-field__input{border-color:var(--ed-theme-color-border-subtle)}select::-ms-expand{display:none}ed-icon{position:absolute;inset-block-start:50%;transform:translateY(-50%);inset-inline-end:.75rem;pointer-events:none;--ed-icon-fill: var(--ed-theme-color-content-brand-knockout);--ed-icon-height: .75rem;--ed-icon-width: .75rem}";
47
+ var x = Object.defineProperty, d = (i, t, e, s) => {
48
+ for (var o = void 0, a = i.length - 1, u; a >= 0; a--)
49
+ (u = i[a]) && (o = u(t, e, o) || o);
50
+ return o && x(t, e, o), o;
51
+ };
52
+ class l extends b {
53
+ constructor() {
54
+ super(...arguments), this.type = "select", this.label = "Label", this.required = !1, this.items = [];
55
+ }
56
+ static get styles() {
57
+ return p($);
58
+ }
59
+ connectedCallback() {
60
+ if (super.connectedCallback(), !this.items || this.items.length === 0) {
61
+ const t = this.hydrateItemsFromOptionChildren();
62
+ t.length > 0 && (this.items = t);
63
+ }
64
+ }
65
+ firstUpdated() {
66
+ this.selectOptions.forEach((t) => {
67
+ t.selected === !0 && (this.selectedItem = t.value);
68
+ }), this.selectOptions.length > 0 && (this.defaultValue = this.selectedItem ? this.selectedItem : this.selectOptions[0].value), this.fieldId = this.fieldId || f(), this.fieldNote && (this.ariaDescribedBy = this.ariaDescribedBy || f()), this.setFormData();
69
+ }
70
+ /**
71
+ * Read native <option>/<optgroup> children from the light DOM and convert
72
+ * them to the structured items shape this component renders.
73
+ */
74
+ hydrateItemsFromOptionChildren() {
75
+ const t = [];
76
+ for (const e of Array.from(this.children))
77
+ if (e.tagName === "OPTGROUP") {
78
+ const s = Array.from(e.children).filter((o) => o.tagName === "OPTION").map((o) => ({
79
+ label: o.textContent?.trim() ?? "",
80
+ value: o.getAttribute("value") ?? o.textContent?.trim() ?? "",
81
+ ...o.hasAttribute("selected") ? { selected: !0 } : {}
82
+ }));
83
+ t.push({
84
+ optGroupLabel: e.getAttribute("label") ?? "",
85
+ options: s
86
+ });
87
+ } else e.tagName === "OPTION" && t.push({
88
+ label: e.textContent?.trim() ?? "",
89
+ value: e.getAttribute("value") ?? e.textContent?.trim() ?? "",
90
+ ...e.hasAttribute("selected") ? { selected: !0 } : {}
91
+ });
92
+ return t;
93
+ }
94
+ handleChange(t) {
95
+ const e = t.target;
96
+ this.value = e.value, this.dispatchEvent(new Event("change"));
97
+ }
98
+ /**
99
+ * Set form data
100
+ * 1) Set the element internals to the selected item value if it exists, otherwise the default selected item is the first one
101
+ */
102
+ setFormData() {
103
+ this.selectedItem ? this.internals.setFormValue(this.selectedItem) : this.internals.setFormValue(this.defaultValue.toString());
104
+ }
105
+ render() {
106
+ const t = this.componentClassNames("ed-c-select-field", {
107
+ "ed-c-select-field--knockout": this.knockout === !0 || this.inverted === !0,
108
+ "ed-is-error": this.isError,
109
+ "ed-is-success": this.isSuccess
110
+ });
111
+ return c`
112
+ <div class="${t}">
113
+ <label class="ed-c-select-field__label" for="${this.fieldId}">${this.label}</label>
114
+ <div class="ed-c-select-field__body">
115
+ <select
116
+ class="ed-c-select-field__input"
117
+ id="${this.fieldId}"
118
+ name="${n(this.name)}"
119
+ value="${n(this.value)}"
120
+ ?required="${this.required}"
121
+ ?disabled="${this.disabled}"
122
+ aria-describedby="${n(this.ariaDescribedBy)}"
123
+ @change="${this.handleChange}"
124
+ >
125
+ ${this.items.map((e) => e.optGroupLabel ? c`<optgroup class="ed-c-select-field__optgroup" label="${e.optGroupLabel}">
126
+ ${e.options.map((s) => c`<option class="ed-c-select-field__option" value="${s.value}" selected=${n(s.selected)}>${s.label}</option>`)}
127
+ </optgroup>` : c`<option class="ed-c-select-field__option" value="${e.value}" ?selected=${e.selected === !0}>${e.label}</option>`)}
128
+ </select>
129
+ <ed-icon name="keyboard-arrow-down" styleModifier="ed-c-select-field__icon"></ed-icon>
130
+ </div>
131
+ ${this.fieldNote && c`<ed-field-note
132
+ id=${n(this.ariaDescribedBy)}
133
+ iconName=${n(this.iconName)}
134
+ ?isSuccess=${this.isSuccess}
135
+ ?isError=${this.isError}
136
+ ?knockout=${this.knockout === !0 || this.inverted === !0}
137
+ >${this.fieldNote}</ed-field-note
138
+ >`}
139
+ </div>
140
+ `;
141
+ }
142
+ }
143
+ d([
144
+ r()
145
+ ], l.prototype, "fieldId");
146
+ d([
147
+ r()
148
+ ], l.prototype, "label");
149
+ d([
150
+ r()
151
+ ], l.prototype, "name");
152
+ d([
153
+ r()
154
+ ], l.prototype, "fieldNote");
155
+ d([
156
+ r()
157
+ ], l.prototype, "ariaDescribedBy");
158
+ d([
159
+ r({ type: Boolean })
160
+ ], l.prototype, "required");
161
+ d([
162
+ r({ type: Boolean })
163
+ ], l.prototype, "disabled");
164
+ d([
165
+ r({ type: Array })
166
+ ], l.prototype, "items");
167
+ d([
168
+ r({ type: Boolean })
169
+ ], l.prototype, "knockout");
170
+ d([
171
+ r({ type: Boolean })
172
+ ], l.prototype, "inverted");
173
+ d([
174
+ r({ type: Boolean })
175
+ ], l.prototype, "isError");
176
+ d([
177
+ r({ type: Boolean })
178
+ ], l.prototype, "isSuccess");
179
+ d([
180
+ r()
181
+ ], l.prototype, "iconName");
182
+ d([
183
+ y("select")
184
+ ], l.prototype, "field");
185
+ d([
186
+ v("option")
187
+ ], l.prototype, "selectOptions");
188
+ customElements.get("ed-select-field") === void 0 && customElements.define("ed-select-field", l);