@loadsmart/miranda-wc 1.48.0 → 1.49.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 (40) hide show
  1. package/dist/{arrow-left-4f4c489d.js → arrow-left-464c5fba.js} +2 -2
  2. package/dist/arrow-left-464c5fba.js.map +1 -0
  3. package/dist/{attention-33d3d6c1.js → attention-70c3fe45.js} +2 -2
  4. package/dist/attention-70c3fe45.js.map +1 -0
  5. package/dist/{bell-54a0c8fe.js → bell-d360fa50.js} +2 -2
  6. package/dist/bell-d360fa50.js.map +1 -0
  7. package/dist/{check-8b932cdd.js → check-87ccecab.js} +2 -2
  8. package/dist/check-87ccecab.js.map +1 -0
  9. package/dist/{close-c8b96158.js → close-e6bef111.js} +2 -2
  10. package/dist/close-e6bef111.js.map +1 -0
  11. package/dist/components/button/button.d.ts +2 -2
  12. package/dist/components/button/button.d.ts.map +1 -1
  13. package/dist/components/section/section-title.d.ts +4 -1
  14. package/dist/components/section/section-title.d.ts.map +1 -1
  15. package/dist/components/text/text.d.ts +4 -1
  16. package/dist/components/text/text.d.ts.map +1 -1
  17. package/dist/controllers/focus-manager/focus-manager.controller.d.ts +89 -0
  18. package/dist/controllers/focus-manager/focus-manager.controller.d.ts.map +1 -0
  19. package/dist/controllers/focus-manager/index.d.ts +3 -0
  20. package/dist/controllers/focus-manager/index.d.ts.map +1 -0
  21. package/dist/{indeterminate-d7dd1cde.js → indeterminate-0030d65a.js} +2 -2
  22. package/dist/{indeterminate-d7dd1cde.js.map → indeterminate-0030d65a.js.map} +1 -1
  23. package/dist/{index-bac402e5.js → index-6539fe04.js} +8 -8
  24. package/dist/index-6539fe04.js.map +1 -0
  25. package/dist/index.js +1 -1
  26. package/dist/{info-circle-12cb25a4.js → info-circle-4d37e4de.js} +2 -2
  27. package/dist/{info-circle-12cb25a4.js.map → info-circle-4d37e4de.js.map} +1 -1
  28. package/dist/mixins/polymorphic-tag/polymorphic-tag.constants.d.ts +5 -0
  29. package/dist/mixins/polymorphic-tag/polymorphic-tag.constants.d.ts.map +1 -0
  30. package/dist/mixins/polymorphic-tag/polymorphic-tag.d.ts +10 -2
  31. package/dist/mixins/polymorphic-tag/polymorphic-tag.d.ts.map +1 -1
  32. package/dist/mixins/polymorphic-tag/polymorphic-tag.types.d.ts +1 -9
  33. package/dist/mixins/polymorphic-tag/polymorphic-tag.types.d.ts.map +1 -1
  34. package/package.json +1 -1
  35. package/dist/arrow-left-4f4c489d.js.map +0 -1
  36. package/dist/attention-33d3d6c1.js.map +0 -1
  37. package/dist/bell-54a0c8fe.js.map +0 -1
  38. package/dist/check-8b932cdd.js.map +0 -1
  39. package/dist/close-c8b96158.js.map +0 -1
  40. package/dist/index-bac402e5.js.map +0 -1
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var arrowLeft=b`<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M27.1587 9.17872C26.046 8.06456 25.0052 7.02278 23.9833 6C17.9911 12.0005 11.9849 18.0146 6 24.0079C11.9773 29.9935 17.9834 36.0076 23.9675 42C24.9772 40.9885 26.0216 39.9427 27.0833 38.8796C22.9235 34.717 18.7311 30.5219 14.4922 26.2801C23.7032 26.2801 32.8419 26.2801 42 26.2801C42 24.7661 42 23.2737 42 21.7615C32.8581 21.7615 23.7172 21.7615 14.583 21.7615C18.7794 17.5627 22.9695 13.3703 27.1587 9.17872Z" fill="currentColor"/></svg>`;export{arrowLeft as default};
2
- //# sourceMappingURL=arrow-left-4f4c489d.js.map
1
+ import{b}from"./index-6539fe04.js";var arrowLeft=b`<svg viewBox="0 0 48 48" xmlns="http://www.w3.org/2000/svg"><path d="M27.1587 9.17872C26.046 8.06456 25.0052 7.02278 23.9833 6C17.9911 12.0005 11.9849 18.0146 6 24.0079C11.9773 29.9935 17.9834 36.0076 23.9675 42C24.9772 40.9885 26.0216 39.9427 27.0833 38.8796C22.9235 34.717 18.7311 30.5219 14.4922 26.2801C23.7032 26.2801 32.8419 26.2801 42 26.2801C42 24.7661 42 23.2737 42 21.7615C32.8581 21.7615 23.7172 21.7615 14.583 21.7615C18.7794 17.5627 22.9695 13.3703 27.1587 9.17872Z" fill="currentColor"/></svg>`;export{arrowLeft as default};
2
+ //# sourceMappingURL=arrow-left-464c5fba.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"arrow-left-464c5fba.js","sources":["../src/components/icon/icons/arrow-left.ts"],"sourcesContent":[null],"names":["arrowLeft","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var attention=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z"/></svg>`;export{attention as default};
2
- //# sourceMappingURL=attention-33d3d6c1.js.map
1
+ import{b}from"./index-6539fe04.js";var attention=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M6.732 42.889h34.537c2.06 0 3.376-2.192 2.406-4.005l-17.27-32.33c-1.026-1.924-3.785-1.924-4.813 0L4.324 38.883c-.968 1.813.349 4.005 2.408 4.005zm14.542-24.504h5.452v10.89h-5.452zM24 31.998a2.726 2.726 0 0 1 2.726 2.723A2.726 2.726 0 0 1 24 37.444a2.726 2.726 0 0 1-2.726-2.723A2.726 2.726 0 0 1 24 31.998z"/></svg>`;export{attention as default};
2
+ //# sourceMappingURL=attention-70c3fe45.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"attention-70c3fe45.js","sources":["../src/components/icon/icons/attention.ts"],"sourcesContent":[null],"names":["attention","svg"],"mappings":"mCAEA,IAAAA,UAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var bell=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z"/></svg>`;export{bell as default};
2
- //# sourceMappingURL=bell-54a0c8fe.js.map
1
+ import{b}from"./index-6539fe04.js";var bell=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M34.417 21.526v9.133l3.632 3.654v1.826H9v-1.827l3.631-3.653v-9.133c0-5.626 2.96-10.302 8.17-11.544V8.74A2.728 2.728 0 0123.524 6a2.728 2.728 0 012.724 2.74v1.242c5.192 1.242 8.17 5.937 8.17 11.544zm-7.262 16.44c0 2.01-1.634 3.653-3.63 3.653-2.016 0-3.632-1.644-3.632-3.653h7.262z"/></svg>`;export{bell as default};
2
+ //# sourceMappingURL=bell-d360fa50.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"bell-d360fa50.js","sources":["../src/components/icon/icons/bell.ts"],"sourcesContent":[null],"names":["bell","svg"],"mappings":"mCAEA,IAAAA,KAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var check=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z"/></svg>`;export{check as default};
2
- //# sourceMappingURL=check-8b932cdd.js.map
1
+ import{b}from"./index-6539fe04.js";var check=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M44.4205 13.3433L40.1778 9.10067L18.9646 30.3139L9.06512 20.4144L4.82248 24.657L14.722 34.5565L18.9646 38.7992L23.2073 34.5565L44.4205 13.3433Z"/></svg>`;export{check as default};
2
+ //# sourceMappingURL=check-87ccecab.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"check-87ccecab.js","sources":["../src/components/icon/icons/check.ts"],"sourcesContent":[null],"names":["check","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var close=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z"/></svg>`;export{close as default};
2
- //# sourceMappingURL=close-c8b96158.js.map
1
+ import{b}from"./index-6539fe04.js";var close=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 48 48"><path d="M40.9706 11.2721L36.7279 7.02944L24 19.7574L11.2721 7.02944L7.02944 11.2721L19.7574 24L7.02944 36.7279L11.2721 40.9706L24 28.2426L36.7279 40.9706L40.9706 36.7279L28.2426 24L40.9706 11.2721Z"/></svg>`;export{close as default};
2
+ //# sourceMappingURL=close-e6bef111.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"close-e6bef111.js","sources":["../src/components/icon/icons/close.ts"],"sourcesContent":[null],"names":["close","svg"],"mappings":"mCAEA,IAAAA,MAAeC,CAAG"}
@@ -16,10 +16,10 @@ export interface ButtonProps {
16
16
  tabindex?: string;
17
17
  target?: ButtonTarget;
18
18
  }
19
- declare const Button_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<import("../../mixins/polymorphic-tag/polymorphic-tag.types").PolymorphicTagInterface> & typeof FormControl;
20
- export declare class Button extends Button_base {
19
+ export declare class Button extends FormControl {
21
20
  #private;
22
21
  static styles: import("lit").CSSResult[][];
22
+ private get tag();
23
23
  static get properties(): {
24
24
  role: {
25
25
  type: StringConstructor;
@@ -1 +1 @@
1
- {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAK1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,QAAQ,GACR,MAAM,GACN,gBAAgB,CAAC;AAEpB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;;AAED,qBAAa,MAAO,SAAQ,WAI3B;;IACA,OAAgB,MAAM,8BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAe7B;IAED;;OAEG;IACK,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAExC;;OAEG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAElC;;;;OAIG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAElC;;SAEK;IACG,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;;IAejC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;cAMlB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cASrD,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQhE,MAAM;IA8CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAwDxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../../src/components/button/button.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,KAAK,CAAC;AAI1C,OAAO,EAAE,WAAW,EAAE,MAAM,iBAAiB,CAAC;AAG9C,MAAM,MAAM,aAAa,GACtB,SAAS,GACT,WAAW,GACX,UAAU,GACV,SAAS,GACT,QAAQ,GACR,MAAM,GACN,gBAAgB,CAAC;AAEpB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAEvD,MAAM,MAAM,UAAU,GAAG,QAAQ,GAAG,OAAO,GAAG,QAAQ,CAAC;AAEvD,KAAK,YAAY,GAAG,QAAQ,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAE5D,MAAM,WAAW,WAAW;IAC3B,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,IAAI,CAAC,EAAE,UAAU,CAAC;IAClB,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,MAAM,CAAC,EAAE,YAAY,CAAC;CACtB;AAED,qBAAa,MAAO,SAAQ,WAAW;;IACtC,OAAgB,MAAM,8BAAc;IAOpC,OAAO,KAAK,GAAG,GAEd;IAED,WAAoB,UAAU;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;MAe7B;IAED;;OAEG;IACK,OAAO,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAExC;;OAEG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACK,OAAO,CAAC,EAAE,WAAW,CAAC,SAAS,CAAC,CAAC;IAEzC;;OAEG;IACK,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAElC;;;;OAIG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;IAE1C;;OAEG;IACK,IAAI,CAAC,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAEnC;;OAEG;IACK,IAAI,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;IAElC;;SAEK;IACG,MAAM,EAAE,WAAW,CAAC,QAAQ,CAAC,CAAC;IAEtC;;OAEG;IACK,QAAQ,EAAE,WAAW,CAAC,UAAU,CAAC,CAAC;;IAcjC,iBAAiB,IAAI,IAAI;IAOzB,oBAAoB,IAAI,IAAI;cAMlB,MAAM,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;cASrD,OAAO,CAAC,iBAAiB,EAAE,cAAc,CAAC,IAAI,CAAC,GAAG,IAAI;IAQhE,MAAM;IA8CN,KAAK,CAAC,OAAO,CAAC,EAAE,YAAY,GAAG,SAAS,GAAG,IAAI;CAwDxD;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,UAAU,EAAE,MAAM,CAAC;KACnB;CACD"}
@@ -5,7 +5,10 @@ export interface SectionProps {
5
5
  size?: SectionSize;
6
6
  as?: HTMLTag;
7
7
  }
8
- declare const SectionTitle_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<import("../../mixins/polymorphic-tag/polymorphic-tag.types").PolymorphicTagInterface> & typeof LitElement;
8
+ declare const SectionTitle_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<{
9
+ as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
10
+ readonly tag: import("lit-html/static").StaticValue;
11
+ }> & typeof LitElement;
9
12
  export declare class SectionTitle extends SectionTitle_base {
10
13
  static styles: import("lit").CSSResult[];
11
14
  static get properties(): {
@@ -1 +1 @@
1
- {"version":3,"file":"section-title.d.ts","sourceRoot":"","sources":["../../../src/components/section/section-title.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAExD,MAAM,WAAW,YAAY;IAC5B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC;CACb;;AACD,qBAAa,YAAa,SAAQ,iBAIjC;IACA,OAAgB,MAAM,4BAA0B;IAEhD,WAAoB,UAAU;;;;;;;;MAK7B;IAEO,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;;IAUZ,MAAM;CAaf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,yBAAyB;QAClC,iBAAiB,EAAE,YAAY,CAAC;KAChC;CACD"}
1
+ {"version":3,"file":"section-title.d.ts","sourceRoot":"","sources":["../../../src/components/section/section-title.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAE5D,MAAM,MAAM,WAAW,GAAG,OAAO,GAAG,SAAS,GAAG,OAAO,CAAC;AAExD,MAAM,WAAW,YAAY;IAC5B,IAAI,CAAC,EAAE,WAAW,CAAC;IACnB,EAAE,CAAC,EAAE,OAAO,CAAC;CACb;;;;;AACD,qBAAa,YAAa,SAAQ,iBAIhC;IACD,OAAgB,MAAM,4BAA0B;IAEhD,WAAoB,UAAU;;;;;;;;MAK7B;IAEO,IAAI,EAAE,YAAY,CAAC,MAAM,CAAC,CAAC;IAE3B,IAAI,EAAE,MAAM,CAAC;;IAUZ,MAAM;CAaf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,yBAAyB;QAClC,iBAAiB,EAAE,YAAY,CAAC;KAChC;CACD"}
@@ -8,7 +8,10 @@ export interface TextProps {
8
8
  ellipsized?: boolean;
9
9
  variant?: TypographyVariant;
10
10
  }
11
- declare const Text_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<import("../../mixins/polymorphic-tag/polymorphic-tag.types").PolymorphicTagInterface> & typeof LitElement;
11
+ declare const Text_base: import("../../mixins/polymorphic-tag/polymorphic-tag.types").Constructor<{
12
+ as: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span";
13
+ readonly tag: import("lit-html/static").StaticValue;
14
+ }> & typeof LitElement;
12
15
  export declare class Text extends Text_base {
13
16
  static styles: import("lit").CSSResult[];
14
17
  static get properties(): {
@@ -1 +1 @@
1
- {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAI5D,MAAM,WAAW,SAAS;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC5B;;AAED,qBAAa,IAAK,SAAQ,SAIzB;IACA,OAAgB,MAAM,4BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;MAM7B;IAED;;;OAGG;IACK,KAAK,EAAE,UAAU,CAAC;IAE1B;;;OAGG;IACK,UAAU,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACK,OAAO,EAAE,iBAAiB,CAAC;;IAW1B,MAAM;CA+Cf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
1
+ {"version":3,"file":"text.d.ts","sourceRoot":"","sources":["../../../src/components/text/text.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,UAAU,EAAE,MAAM,KAAK,CAAC;AAIjC,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,2BAA2B,CAAC;AAG5D,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAC;AACjE,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,8BAA8B,CAAC;AAI5D,MAAM,WAAW,SAAS;IACzB,EAAE,CAAC,EAAE,OAAO,CAAC;IACb,KAAK,CAAC,EAAE,UAAU,CAAC;IACnB,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,OAAO,CAAC,EAAE,iBAAiB,CAAC;CAC5B;;;;;AAED,qBAAa,IAAK,SAAQ,SAIxB;IACD,OAAgB,MAAM,4BAAc;IAEpC,WAAoB,UAAU;;;;;;;;;;;;MAM7B;IAED;;;OAGG;IACK,KAAK,EAAE,UAAU,CAAC;IAE1B;;;OAGG;IACK,UAAU,EAAE,OAAO,CAAC;IAE5B;;;OAGG;IACK,OAAO,EAAE,iBAAiB,CAAC;;IAW1B,MAAM;CA+Cf;AAID,OAAO,CAAC,MAAM,CAAC;IACd,UAAU,qBAAqB;QAC9B,QAAQ,EAAE,IAAI,CAAC;KACf;CACD"}
@@ -0,0 +1,89 @@
1
+ import type { ReactiveControllerHost, ReactiveController } from 'lit';
2
+ export declare const SEARCH_BUFFER_TIMEOUT = 500;
3
+ export type FocusManagerControllerHost = ReactiveControllerHost & HTMLElement;
4
+ export type FocusManagerControllerOptions = {
5
+ query: string | string[];
6
+ focusOnType?: boolean;
7
+ getInteractiveElement?: (host: FocusManagerControllerHost) => HTMLElement;
8
+ };
9
+ export type PositionalFocus = 'first' | 'last' | 'previous' | 'next';
10
+ /**
11
+ * Check if `keyboardEventKey` is a character, and more specifically, anything
12
+ * other than a space, tab, or newline.
13
+ */
14
+ export declare function isPrintableCharacter(keyboardEventKey: string): boolean;
15
+ /**
16
+ * Manages **virtual/visual** focus, for a11y purposes.
17
+ */
18
+ export declare class FocusManagerController implements ReactiveController {
19
+ #private;
20
+ host: FocusManagerControllerHost;
21
+ activeDescendant: string | null;
22
+ /**
23
+ * Keys (printable characters) the user typed on the watched host.
24
+ * The expectation is that the user wants to focus/select something.
25
+ */
26
+ quickSearchBuffer: string;
27
+ /**
28
+ * Timeout to clear the buffer.
29
+ */
30
+ quickSearchBufferTimeout?: number | null;
31
+ /**
32
+ * Query to get virtually focusable elements inside the `host`.
33
+ */
34
+ query: string;
35
+ /**
36
+ * When user types printable characters, should the focus move to the next `queried` item whose label
37
+ * starts with `quickSearchBuffer`, if such an item exists (otherwise, focus does not move)?
38
+ */
39
+ focusOnType: boolean;
40
+ /**
41
+ * Get the element that will receive the `aria-activedescendant` attribute. This is necessary when the
42
+ * host element is not the one directly hosting the focusable elements.
43
+ * If no override is provided, the `host` element itself is used.
44
+ *
45
+ * @see {@link https://developer.mozilla.org/en-US/docs/Web/Accessibility/ARIA/Attributes/aria-activedescendant MDN, aria-activedescendant}
46
+ */
47
+ getInteractiveElement: (host: FocusManagerControllerHost) => HTMLElement;
48
+ constructor(host: FocusManagerControllerHost, options: FocusManagerControllerOptions);
49
+ hostConnected(): void;
50
+ hostDisconnected(): void;
51
+ /**
52
+ * Get the list of elements matching the given `options.query`.
53
+ */
54
+ get queried(): HTMLElement[];
55
+ /**
56
+ * Get the currently focused element, based on `activeDescendant`.
57
+ */
58
+ get focused(): HTMLElement | null;
59
+ /**
60
+ * If none of the options are selected, the first option receives focus; otherwise, the
61
+ * focus moves to the next option.
62
+ * If we are at the end of the `queried` array, the focus moves to the first option.
63
+ */
64
+ focusNext(): void;
65
+ /**
66
+ * If none of the options are selected, the last option receives focus; otherwise, the
67
+ * focus moves to the next option.
68
+ * If we are at the start of the `queried` array, the focus moves to the last option.
69
+ */
70
+ focusPrevious(): void;
71
+ /**
72
+ * Focus the first element in `queried`.
73
+ */
74
+ focusFirst(): void;
75
+ /**
76
+ * Focus the last element in `queried`.
77
+ */
78
+ focusLast(): void;
79
+ /**
80
+ * Focus the given element or the element at the given index or position, based on `queried`.
81
+ */
82
+ focus(where: number | HTMLElement | PositionalFocus): void;
83
+ /**
84
+ * Remove the visual focus (`.is-focused` class) from the currently focused element and
85
+ * clear the `activeDescendant` attribute.
86
+ */
87
+ clear(): void;
88
+ }
89
+ //# sourceMappingURL=focus-manager.controller.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"focus-manager.controller.d.ts","sourceRoot":"","sources":["../../../src/controllers/focus-manager/focus-manager.controller.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,sBAAsB,EAAE,kBAAkB,EAAE,MAAM,KAAK,CAAC;AAGtE,eAAO,MAAM,qBAAqB,MAAM,CAAC;AAEzC,MAAM,MAAM,0BAA0B,GAAG,sBAAsB,GAAG,WAAW,CAAC;AAE9E,MAAM,MAAM,6BAA6B,GAAG;IAC3C,KAAK,EAAE,MAAM,GAAG,MAAM,EAAE,CAAC;IACzB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,qBAAqB,CAAC,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,WAAW,CAAC;CAC1E,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG,OAAO,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,CAAC;AAWrE;;;GAGG;AACH,wBAAgB,oBAAoB,CAAC,gBAAgB,EAAE,MAAM,GAAG,OAAO,CAOtE;AAED;;GAEG;AACH,qBAAa,sBAAuB,YAAW,kBAAkB;;IAChE,IAAI,EAAE,0BAA0B,CAAC;IAEjC,gBAAgB,EAAE,MAAM,GAAG,IAAI,CAAQ;IAEvC;;;OAGG;IACH,iBAAiB,EAAE,MAAM,CAAC;IAE1B;;OAEG;IACH,wBAAwB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAEzC;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;;OAGG;IACH,WAAW,EAAE,OAAO,CAAC;IAErB;;;;;;OAMG;IACH,qBAAqB,EAAE,CAAC,IAAI,EAAE,0BAA0B,KAAK,WAAW,CAAC;gBAGxE,IAAI,EAAE,0BAA0B,EAChC,OAAO,EAAE,6BAA6B;IAevC,aAAa;IAWb,gBAAgB;IAIhB;;OAEG;IACH,IAAI,OAAO,IAAI,WAAW,EAAE,CAE3B;IAED;;OAEG;IACH,IAAI,OAAO,IAAI,WAAW,GAAG,IAAI,CAMhC;IAED;;;;OAIG;IACH,SAAS;IAIT;;;;OAIG;IACH,aAAa;IAIb;;OAEG;IACH,UAAU;IAIV;;OAEG;IACH,SAAS;IAIT;;OAEG;IACH,KAAK,CAAC,KAAK,EAAE,MAAM,GAAG,WAAW,GAAG,eAAe;IAUnD;;;OAGG;IACH,KAAK;CAyKL"}
@@ -0,0 +1,3 @@
1
+ export { FocusManagerController } from './focus-manager.controller';
2
+ export type { PositionalFocus, FocusManagerControllerHost, FocusManagerControllerOptions, } from './focus-manager.controller';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/controllers/focus-manager/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,sBAAsB,EAAE,MAAM,4BAA4B,CAAC;AACpE,YAAY,EACX,eAAe,EACf,0BAA0B,EAC1B,6BAA6B,GAC7B,MAAM,4BAA4B,CAAC"}
@@ -1,2 +1,2 @@
1
- import{b}from"./index-bac402e5.js";var indeterminate=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M19 13H5v-2h14v2z" /></svg>`;export{indeterminate as default};
2
- //# sourceMappingURL=indeterminate-d7dd1cde.js.map
1
+ import{b}from"./index-6539fe04.js";var indeterminate=b`<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 24 24"><path d="M0 0h24v24H0V0z" fill="none" /><path d="M19 13H5v-2h14v2z" /></svg>`;export{indeterminate as default};
2
+ //# sourceMappingURL=indeterminate-0030d65a.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"indeterminate-d7dd1cde.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
1
+ {"version":3,"file":"indeterminate-0030d65a.js","sources":["../src/components/icon/icons/indeterminate.ts"],"sourcesContent":[null],"names":["indeterminate","svg"],"mappings":"mCAEA,IAAAA,cAAeC,CAAG"}
@@ -59,7 +59,7 @@ var t$5;u$1[d$2]=!0,u$1.elementProperties=new Map,u$1.elementStyles=[],u$1.shado
59
59
  color: var(--m-icon-color);
60
60
  fill: var(--m-icon-color);
61
61
  }
62
- `]}function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}class Component extends s$5{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}const icons=new Map([["alert-circle",()=>import("./attention-33d3d6c1.js")],["arrow-left",()=>import("./arrow-left-4f4c489d.js")],["attention",()=>import("./attention-33d3d6c1.js")],["bell",()=>import("./bell-54a0c8fe.js")],["check",()=>import("./check-8b932cdd.js")],["close",()=>import("./close-c8b96158.js")],["indeterminate",()=>import("./indeterminate-d7dd1cde.js")],["info-circle",()=>import("./info-circle-12cb25a4.js")]]);var _Icon_loadIcon;icons.keys();class Icon extends Component{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$v()],window.customElements.define("m-icon",Icon);
62
+ `]}function redispatchEvent(t,e){!e.bubbles||t.shadowRoot&&!e.composed||e.stopPropagation();const o=Reflect.construct(e.constructor,[e.type,e]),i=t.dispatchEvent(o);return i||e.preventDefault(),i}class Component extends s$5{constructor(){super(...arguments),this.emit=(t,e)=>{const o=new CustomEvent(t,{bubbles:!0,cancelable:!0,composed:!0,...e});this.dispatchEvent(o)},this.reemit=t=>{redispatchEvent(this,t)}}}const icons=new Map([["alert-circle",()=>import("./attention-70c3fe45.js")],["arrow-left",()=>import("./arrow-left-464c5fba.js")],["attention",()=>import("./attention-70c3fe45.js")],["bell",()=>import("./bell-d360fa50.js")],["check",()=>import("./check-87ccecab.js")],["close",()=>import("./close-e6bef111.js")],["indeterminate",()=>import("./indeterminate-0030d65a.js")],["info-circle",()=>import("./info-circle-4d37e4de.js")]]);var _Icon_loadIcon;icons.keys();class Icon extends Component{static get properties(){return{name:{type:String},size:{type:String},color:{type:String},loading:{state:!0}}}constructor(){super(),this.icon=null,_Icon_loadIcon.set(this,(async()=>{icons.has(this.name);try{this.icon=null;const{default:t}=await icons.get(this.name)();this.icon=t}catch{}finally{this.requestUpdate()}})),this.icon=null}connectedCallback(){super.connectedCallback(),__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}update(t){super.update(t),t.has("name")&&__classPrivateFieldGet(this,_Icon_loadIcon,"f").call(this)}updated(t){super.updated(t),t.has("size")&&null!=this.size&&this.style.setProperty("--m-icon-size",`${parseInt(String(this.size),10)||16}px`),t.has("color")&&null!=this.color&&this.style.setProperty("--m-icon-color",toCSSValue(this.color))}render(){return null!=this.name&&icons.has(this.name)&&null!=this.icon?this.icon:A}}_Icon_loadIcon=new WeakMap,Icon.styles=[styles$v()],window.customElements.define("m-icon",Icon);
63
63
  /**
64
64
  * @license
65
65
  * Copyright 2020 Google LLC
@@ -80,7 +80,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
80
80
  * @license
81
81
  * Copyright 2018 Google LLC
82
82
  * SPDX-License-Identifier: BSD-3-Clause
83
- */const o$1=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return T}}),PolymorphicTagMixin=(t,e=["article","div","span"],o="div")=>class extends t{static get properties(){return{as:{type:String}}}connectedCallback(){var t;super.connectedCallback(),this.as=null!==(t=e.includes(this.as)?this.as:o)&&void 0!==t?t:"div"}get tag(){return i$2`${o$2(this.as)}`}};var _FormControl_form,_FormControl_updateAssignedForm,_Button_instances,_Button_element_get,_Button_isDisabled,_Button_setDisabled,_Button_getTabIndex,_Button_handleClick,_Button_isLink;class FormControl extends s$5{constructor(){super(...arguments),_FormControl_form.set(this,void 0),this.getForm=()=>__classPrivateFieldGet(this,_FormControl_form,"f"),_FormControl_updateAssignedForm.set(this,(()=>{if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");__classPrivateFieldSet(this,_FormControl_form,t.getElementById(e),"f")}else __classPrivateFieldSet(this,_FormControl_form,this.closest("form"),"f")}))}static get properties(){return{form:{type:String,reflect:!0}}}updated(t){super.updated(t),(t.has("form")||null==__classPrivateFieldGet(this,_FormControl_form,"f"))&&__classPrivateFieldGet(this,_FormControl_updateAssignedForm,"f").call(this)}}function styles$u(){return i$4`
83
+ */const o$1=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"class"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(t){return" "+Object.keys(t).filter((e=>t[e])).join(" ")+" "}update(t,[e]){var o,i;if(void 0===this.it){this.it=new Set,void 0!==t.strings&&(this.nt=new Set(t.strings.join(" ").split(/\s/).filter((t=>""!==t))));for(const t in e)e[t]&&!(null===(o=this.nt)||void 0===o?void 0:o.has(t))&&this.it.add(t);return this.render(e)}const n=t.element.classList;this.it.forEach((t=>{t in e||(n.remove(t),this.it.delete(t))}));for(const t in e){const o=!!e[t];o===this.it.has(t)||(null===(i=this.nt)||void 0===i?void 0:i.has(t))||(o?(n.add(t),this.it.add(t)):(n.remove(t),this.it.delete(t)))}return T}});var _FormControl_form,_FormControl_updateAssignedForm,_Button_instances,_Button_as,_Button_element_get,_Button_isDisabled,_Button_setDisabled,_Button_getTabIndex,_Button_handleClick,_Button_isLink;class FormControl extends s$5{constructor(){super(...arguments),_FormControl_form.set(this,void 0),this.getForm=()=>__classPrivateFieldGet(this,_FormControl_form,"f"),_FormControl_updateAssignedForm.set(this,(()=>{if(this.hasAttribute("form")){const t=this.getRootNode(),e=this.getAttribute("form");__classPrivateFieldSet(this,_FormControl_form,t.getElementById(e),"f")}else __classPrivateFieldSet(this,_FormControl_form,this.closest("form"),"f")}))}static get properties(){return{form:{type:String,reflect:!0}}}updated(t){super.updated(t),(t.has("form")||null==__classPrivateFieldGet(this,_FormControl_form,"f"))&&__classPrivateFieldGet(this,_FormControl_updateAssignedForm,"f").call(this)}}function styles$u(){return i$4`
84
84
  :host {
85
85
  --m-button-background-color: transparent;
86
86
  --m-button-base-size: ${getToken("global-height-default")};
@@ -429,7 +429,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
429
429
 
430
430
  pointer-events: none;
431
431
  }
432
- `]}_FormControl_form=new WeakMap,_FormControl_updateAssignedForm=new WeakMap;class Button extends(PolymorphicTagMixin(FormControl,["button","a"],"button")){static get properties(){return{...FormControl.properties,role:{type:String,reflect:!0},loading:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},size:{type:String,reflect:!0},tabindex:{type:String},type:{type:String},href:{type:String},target:{type:String},download:{type:String}}}constructor(){super(),_Button_instances.add(this),_Button_isDisabled.set(this,(()=>Boolean(this.disabled)||Boolean(this.loading))),_Button_setDisabled.set(this,(()=>{const t=__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this);this.setAttribute("aria-disabled",String(t))})),_Button_getTabIndex.set(this,(()=>{var t;return __classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?this.disabled?"-1":null!=this.tabindex?this.tabindex:"0":null!==(t=this.tabindex)&&void 0!==t?t:void 0})),_Button_handleClick.set(this,(t=>{var e,o;if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&(null===(e=this.getForm())||void 0===e||e.requestSubmit()),"reset"===this.type&&(null===(o=this.getForm())||void 0===o||o.reset())})),this.as="button",this.disabled=!1,this.loading=!1,this.size="default",this.type="button",this.variant="secondary",this.target="_self"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.addEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}update(t){super.update(t),t.has("href")&&(this.as=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"a":"button",this.role=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"link":"button")}updated(t){super.updated(t),(t.has("disabled")||t.has("loading"))&&__classPrivateFieldGet(this,_Button_setDisabled,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$3`
432
+ `]}_FormControl_form=new WeakMap,_FormControl_updateAssignedForm=new WeakMap;class Button extends FormControl{get tag(){return i$2`${o$2(__classPrivateFieldGet(this,_Button_as,"f"))}`}static get properties(){return{...FormControl.properties,role:{type:String,reflect:!0},loading:{type:Boolean,reflect:!0},disabled:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0},size:{type:String,reflect:!0},tabindex:{type:String},type:{type:String},href:{type:String},target:{type:String},download:{type:String}}}constructor(){super(),_Button_instances.add(this),_Button_as.set(this,"button"),_Button_isDisabled.set(this,(()=>Boolean(this.disabled)||Boolean(this.loading))),_Button_setDisabled.set(this,(()=>{const t=__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this);this.setAttribute("aria-disabled",String(t))})),_Button_getTabIndex.set(this,(()=>{var t;return __classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?this.disabled?"-1":null!=this.tabindex?this.tabindex:"0":null!==(t=this.tabindex)&&void 0!==t?t:void 0})),_Button_handleClick.set(this,(t=>{var e,o;if(this.disabled||this.loading)return t.preventDefault(),void t.stopPropagation();"submit"===this.type&&(null===(e=this.getForm())||void 0===e||e.requestSubmit()),"reset"===this.type&&(null===(o=this.getForm())||void 0===o||o.reset())})),this.disabled=!1,this.loading=!1,this.size="default",this.type="button",this.variant="secondary",this.target="_self"}connectedCallback(){super.connectedCallback(),this.setAttribute("role","button"),this.addEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("click",__classPrivateFieldGet(this,_Button_handleClick,"f"))}update(t){super.update(t),t.has("href")&&(__classPrivateFieldSet(this,_Button_as,__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"a":"button","f"),this.role=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this)?"link":"button")}updated(t){super.updated(t),(t.has("disabled")||t.has("loading"))&&__classPrivateFieldGet(this,_Button_setDisabled,"f").call(this)}render(){const t=__classPrivateFieldGet(this,_Button_instances,"m",_Button_isLink).call(this);return n$3`
433
433
  <${this.tag}
434
434
  class=${o$1({button:!0,"-primary":"primary"===this.variant,"-secondary":"secondary"===this.variant,"-tertiary":"tertiary"===this.variant,"-warning":"warning"===this.variant,"-danger":"danger"===this.variant,"-icon":"icon"===this.variant,"-icon-secondary":"icon-secondary"===this.variant,"-small":"small"===this.size,"-default":"default"===this.size,"-large":"large"===this.size,"is-loading":Boolean(this.loading),"is-disabled":__classPrivateFieldGet(this,_Button_isDisabled,"f").call(this)})}
435
435
  type=${l$1(t?void 0:this.type)}
@@ -448,7 +448,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
448
448
  <slot></slot>
449
449
  <slot name="trailing"></slot>
450
450
  </${this.tag}>
451
- `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Button_instances,"a",_Button_element_get))||void 0===e||e.focus(t)}}_Button_isDisabled=new WeakMap,_Button_setDisabled=new WeakMap,_Button_getTabIndex=new WeakMap,_Button_handleClick=new WeakMap,_Button_instances=new WeakSet,_Button_element_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(".button"))&&void 0!==e?e:null},_Button_isLink=function(){return Boolean(this.href)},Button.styles=[styles$t()],window.customElements.define("m-button",Button);class BackButton extends s$5{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x$1`
451
+ `}focus(t){var e;null===(e=__classPrivateFieldGet(this,_Button_instances,"a",_Button_element_get))||void 0===e||e.focus(t)}}_Button_as=new WeakMap,_Button_isDisabled=new WeakMap,_Button_setDisabled=new WeakMap,_Button_getTabIndex=new WeakMap,_Button_handleClick=new WeakMap,_Button_instances=new WeakSet,_Button_element_get=function(){var t,e;return null!==(e=null===(t=this.renderRoot)||void 0===t?void 0:t.querySelector(".button"))&&void 0!==e?e:null},_Button_isLink=function(){return Boolean(this.href)},Button.styles=[styles$t()],window.customElements.define("m-button",Button);class BackButton extends s$5{static get properties(){return{slot:{type:String,reflect:!0}}}constructor(){super(),this.slot="back-button"}render(){return x$1`
452
452
  <m-button variant="icon" size="default">
453
453
  <m-icon name="arrow-left"></m-icon>
454
454
  </m-button>
@@ -634,7 +634,7 @@ const e$4=Symbol.for(""),l$2=t=>{if((null==t?void 0:t.r)===e$4)return null==t?vo
634
634
  * Copyright 2018 Google LLC
635
635
  * SPDX-License-Identifier: BSD-3-Clause
636
636
  */
637
- const i="important",n$2=" !"+i,o=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ht){this.ht=new Set;for(const t in e)this.ht.add(t);return this.render(e)}this.ht.forEach((t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?o.removeProperty(t):o[t]="")}));for(const t in e){const n=e[t];if(null!=n){this.ht.add(t);const e="string"==typeof n&&n.endsWith(n$2);t.includes("-")||e?o.setProperty(t,e?n.slice(0,-11):n,e?i:""):o[t]=n}}return T}});function styles$n(){return i$4`
637
+ const i="important",n$2=" !"+i,o=e$3(class extends i$1{constructor(t){var e;if(super(t),t.type!==t$3.ATTRIBUTE||"style"!==t.name||(null===(e=t.strings)||void 0===e?void 0:e.length)>2)throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.")}render(t){return Object.keys(t).reduce(((e,o)=>{const i=t[o];return null==i?e:e+`${o=o.includes("-")?o:o.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g,"-$&").toLowerCase()}:${i};`}),"")}update(t,[e]){const{style:o}=t.element;if(void 0===this.ht){this.ht=new Set;for(const t in e)this.ht.add(t);return this.render(e)}this.ht.forEach((t=>{null==e[t]&&(this.ht.delete(t),t.includes("-")?o.removeProperty(t):o[t]="")}));for(const t in e){const n=e[t];if(null!=n){this.ht.add(t);const e="string"==typeof n&&n.endsWith(n$2);t.includes("-")||e?o.setProperty(t,e?n.slice(0,-11):n,e?i:""):o[t]=n}}return T}}),HTML_TAGS=["a","abbr","address","area","article","aside","audio","b","base","bdi","bdo","blockquote","body","br","button","canvas","caption","cite","code","col","colgroup","data","datalist","dd","del","details","dfn","dialog","div","dl","dt","em","embed","fieldset","figcaption","figure","footer","form","h1","h2","h3","h4","h5","h6","head","header","hgroup","hr","html","i","iframe","img","input","ins","kbd","label","legend","li","link","main","map","mark","menu","meta","meter","nav","noscript","object","ol","optgroup","option","output","p","picture","pre","progress","q","rp","rt","ruby","s","samp","script","section","select","slot","small","source","span","strong","style","sub","summary","sup","table","tbody","td","template","textarea","tfoot","th","thead","time","title","tr","track","u","ul","var","video","wbr"],PolymorphicTagMixin=({superClass:t,allowedTags:e=HTML_TAGS,fallbackTag:o="div"})=>class extends t{static get properties(){return{as:{type:String}}}attributeChangedCallback(t,i,n){super.attributeChangedCallback(t,i,n),"as"===t&&(null!==n&&e.includes(n)?this.as=n:this.as=o)}get tag(){return i$2`${o$2(this.as)}`}};function styles$n(){return i$4`
638
638
  :host {
639
639
  --m-text-color: ${getColor("color-text-primary")};
640
640
  --m-text-display: inline-block;
@@ -786,7 +786,7 @@ const i="important",n$2=" !"+i,o=e$3(class extends i$1{constructor(t){var e;if(s
786
786
  white-space: nowrap;
787
787
  max-width: var(--m-text-max-width);
788
788
  }
789
- `}class Text extends(PolymorphicTagMixin(s$5,["h1","h2","h3","h4","h5","h6","p","span"],"span")){static get properties(){return{color:{type:String},ellipsized:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}constructor(){super(),this.as="span",this.color="color-text-primary",this.ellipsized=!1,this.variant="body-md"}render(){return n$3`
789
+ `}class Text extends(PolymorphicTagMixin({superClass:s$5,allowedTags:["h1","h2","h3","h4","h5","h6","p","span"],fallbackTag:"span"})){static get properties(){return{color:{type:String},ellipsized:{type:Boolean,reflect:!0},variant:{type:String,reflect:!0}}}constructor(){super(),this.as="span",this.color="color-text-primary",this.ellipsized=!1,this.variant="body-md"}render(){return n$3`
790
790
  <${this.tag}
791
791
  class=${o$1({"m-text":!0,"-body-lg-bold":"body-lg-bold"===this.variant,"-body-lg":"body-lg"===this.variant,"-body-md-bold-underline":"body-md-bold-underline"===this.variant,"-body-md-bold":"body-md-bold"===this.variant,"-body-md-underline":"body-md-underline"===this.variant,"-body-md":"body-md"===this.variant,"-body-sm-bold-underline":"body-sm-bold-underline"===this.variant,"-body-sm-bold":"body-sm-bold"===this.variant,"-body-sm-underline":"body-sm-underline"===this.variant,"-body-sm":"body-sm"===this.variant,"-button-lg":"button-lg"===this.variant,"-button-md":"button-md"===this.variant,"-button-sm":"button-sm"===this.variant,"-chips-md":"chips-md"===this.variant,"-chips-sm":"chips-sm"===this.variant,"-heading-lg-bold":"heading-lg-bold"===this.variant,"-heading-lg":"heading-lg"===this.variant,"-heading-md-bold":"heading-md-bold"===this.variant,"-heading-md":"heading-md"===this.variant,"-heading-sm-bold":"heading-sm-bold"===this.variant,"-heading-sm":"heading-sm"===this.variant,"-hero-lg-bold":"hero-lg-bold"===this.variant,"-hero-lg":"hero-lg"===this.variant,"-hero-md-bold":"hero-md-bold"===this.variant,"-hero-md":"hero-md"===this.variant,"-hero-sm-bold":"hero-sm-bold"===this.variant,"-hero-sm":"hero-sm"===this.variant,"-number-md":"number-md"===this.variant,"-number-sm":"number-sm"===this.variant,"-table-header-md":"table-header-md"===this.variant,"-table-header-sm":"table-header-sm"===this.variant,"-ellipsized":Boolean(this.ellipsized)})}
792
792
  style=${o({"--m-text-color":toCSSValue(this.color)})}
@@ -1813,7 +1813,7 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
1813
1813
  <slot name="title"></slot>
1814
1814
  <m-divider></m-divider>
1815
1815
  <slot></slot>
1816
- `}}Section.styles=[styles$8()],window.customElements.define("m-section",Section);class SectionTitle extends(PolymorphicTagMixin(s$5,["h1","h2","h3","h4","h5","h6","p","span"],"span")){static get properties(){return{slot:{type:String,reflect:!0},size:{type:String}}}constructor(){super(),this.slot="title",this.size="default",this.as="span"}render(){return n$3`
1816
+ `}}Section.styles=[styles$8()],window.customElements.define("m-section",Section);class SectionTitle extends(PolymorphicTagMixin({superClass:s$5,allowedTags:["h1","h2","h3","h4","h5","h6","p","span"],fallbackTag:"span"})){static get properties(){return{slot:{type:String,reflect:!0},size:{type:String}}}constructor(){super(),this.slot="title",this.size="default",this.as="span"}render(){return n$3`
1817
1817
  <${this.tag} class=${o$1({title:!0,"-size-small":"small"===this.size,"-size-default":"default"===this.size,"-size-large":"large"===this.size})}>
1818
1818
  <slot name="leading"></slot>
1819
1819
  <slot></slot>
@@ -2337,4 +2337,4 @@ let s$3=class extends Event{constructor(t,e,o){super("context-request",{bubbles:
2337
2337
  aria-live=${this.open?"polite":"off"}
2338
2338
  ></slot>
2339
2339
  `}}_Tooltip_hoverTimeout=new WeakMap,_Tooltip_focusTimeout=new WeakMap,_Tooltip_handleFocus=new WeakMap,_Tooltip_handleBlur=new WeakMap,_Tooltip_handleClick=new WeakMap,_Tooltip_handleKeyDown=new WeakMap,_Tooltip_handleMouseOver=new WeakMap,_Tooltip_handleMouseOut=new WeakMap,_Tooltip_hasTrigger=new WeakMap,Tooltip.styles=[styles()],window.customElements.define("m-tooltip",Tooltip);const TOOLTIP_PLACEMENT_VALUES=POPOVER_PLACEMENT_VALUES;export{Link as $,Divider as A,BackButton as B,Card as C,Dialog as D,FieldHint as E,Field as F,FieldLabel as G,FIELD_STATUSES as H,Header as I,HeaderActions as J,HeaderContent as K,HeaderTitle as L,ALIGN_ITEMS_VALUES as M,JUSTIFY_CONTENT_VALUES as N,Box as O,defaultBoxProps as P,Group as Q,defaultGroupProps as R,SubHeader as S,Stack as T,defaultStackProps as U,Grid as V,defaultGridProps as W,Sidebar as X,defaultSidebarProps as Y,Switcher as Z,defaultSwitcherProps as _,BannerActionPrimary as a,PageContent as a0,ProgressBar as a1,ProgressBarCountdown as a2,Radio as a3,RadioGroup as a4,Section as a5,SectionTitle as a6,Tabs as a7,Tab as a8,TabPanel as a9,Tag as aa,Text as ab,TextField as ac,ToggleGroup as ad,Toggle as ae,Tooltip as af,TOOLTIP_PLACEMENT_VALUES as ag,b,BannerActionSecondary as c,BannerActions as d,BannerDescription as e,BannerIcon as f,BannerTitle as g,Banner as h,Body as i,Button as j,CardBody as k,CardSubtitle as l,CardTitle as m,CardDivider as n,Checkbox as o,CloseButton as p,DIALOG_SIZES as q,DIALOG_VARIANTS as r,DialogActionPrimary as s,DialogActionSecondary as t,DialogActionTertiary as u,DialogActions as v,DialogBody as w,DialogClose as x,DialogFooter as y,DialogHeader as z};
2340
- //# sourceMappingURL=index-bac402e5.js.map
2340
+ //# sourceMappingURL=index-6539fe04.js.map