@covalent/components 6.3.0-beta.4 → 6.4.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 (185) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +23 -24
  3. package/alert.js +4 -4
  4. package/alert.mjs +27 -28
  5. package/app-shell/app-shell.d.ts +0 -13
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +12 -20
  8. package/app-shell.mjs +54 -85
  9. package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
  10. package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
  11. package/button.js +4 -4
  12. package/button.mjs +13 -13
  13. package/card.js +8 -8
  14. package/card.mjs +4 -4
  15. package/check-list-item.js +3 -3
  16. package/check-list-item.mjs +16 -16
  17. package/checkbox.js +1 -1
  18. package/checkbox.mjs +15 -15
  19. package/circular-progress.js +7 -7
  20. package/circular-progress.mjs +6 -6
  21. package/class-map-4b94b017.mjs +62 -0
  22. package/class-map-b5efe8da.js +9 -0
  23. package/code-snippet.js +9 -9
  24. package/code-snippet.mjs +1276 -1213
  25. package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
  26. package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
  27. package/dialog.js +1 -1
  28. package/dialog.mjs +8 -8
  29. package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
  30. package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
  31. package/drawer.js +1 -1
  32. package/drawer.mjs +8 -8
  33. package/empty-state.js +7 -7
  34. package/empty-state.mjs +4 -4
  35. package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
  36. package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
  37. package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
  38. package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
  39. package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
  40. package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
  41. package/icon-button.js +5 -5
  42. package/icon-button.mjs +12 -12
  43. package/icon-check-toggle.js +5 -5
  44. package/icon-check-toggle.mjs +15 -15
  45. package/icon-radio-toggle.js +4 -4
  46. package/icon-radio-toggle.mjs +15 -15
  47. package/icon.js +1 -1
  48. package/icon.mjs +3 -3
  49. package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
  50. package/if-defined-f1c45245.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +120 -121
  53. package/linear-progress.js +6 -6
  54. package/linear-progress.mjs +13 -13
  55. package/list/list-expansion.d.ts +4 -1
  56. package/list/list-expansion.d.ts.map +1 -1
  57. package/list/list-item.d.ts +2 -0
  58. package/list/list-item.d.ts.map +1 -1
  59. package/list/list.d.ts +5 -0
  60. package/list/list.d.ts.map +1 -1
  61. package/list/nav-list-item.d.ts +1 -0
  62. package/list/nav-list-item.d.ts.map +1 -1
  63. package/list-05db7fed.js +5 -0
  64. package/list-066f5de4.mjs +45 -0
  65. package/list-expansion.js +9 -11
  66. package/list-expansion.mjs +53 -47
  67. package/list-item-8da7ba96.js +9 -0
  68. package/list-item-ba77097d.mjs +44 -0
  69. package/list-item.js +1 -1
  70. package/list-item.mjs +13 -13
  71. package/list.js +1 -6
  72. package/list.mjs +17 -38
  73. package/menu.js +1 -1
  74. package/menu.mjs +15 -15
  75. package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
  76. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
  77. package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
  78. package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
  79. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
  80. package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
  81. package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
  82. package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
  83. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
  84. package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
  85. package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
  86. package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
  87. package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
  88. package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
  89. package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
  90. package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
  91. package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
  92. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
  93. package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
  94. package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
  95. package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
  96. package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
  97. package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
  98. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
  99. package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
  100. package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
  101. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
  102. package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
  103. package/nav-list-item.js +10 -10
  104. package/nav-list-item.mjs +31 -28
  105. package/package.json +1 -2
  106. package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
  107. package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
  108. package/{query-2ba749b7.js → query-680f1868.js} +1 -1
  109. package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
  110. package/query-assigned-elements-f623705d.js +31 -0
  111. package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
  112. package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
  113. package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
  114. package/radio-list-item.js +3 -3
  115. package/radio-list-item.mjs +18 -18
  116. package/radio.js +1 -1
  117. package/radio.mjs +15 -15
  118. package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
  119. package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
  120. package/select.js +10 -10
  121. package/select.mjs +20 -20
  122. package/side-sheet.js +2 -2
  123. package/side-sheet.mjs +21 -21
  124. package/slider-range.js +7 -7
  125. package/slider-range.mjs +13 -13
  126. package/slider.js +3 -3
  127. package/slider.mjs +15 -15
  128. package/snackbar.js +6 -6
  129. package/snackbar.mjs +12 -12
  130. package/state-0974a8e5.js +5 -0
  131. package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
  132. package/status-header-item.js +3 -3
  133. package/status-header-item.mjs +15 -15
  134. package/status-header.js +2 -2
  135. package/status-header.mjs +3 -3
  136. package/style-map-88d2563f.js +5 -0
  137. package/style-map-bc3ed3e0.mjs +44 -0
  138. package/style.css +1 -1
  139. package/switch.js +8 -8
  140. package/switch.mjs +13 -13
  141. package/tab-bar.js +5 -5
  142. package/tab-bar.mjs +16 -16
  143. package/tab.js +1 -1
  144. package/tab.mjs +12 -12
  145. package/text-lockup.js +4 -4
  146. package/text-lockup.mjs +7 -7
  147. package/textarea.js +4 -4
  148. package/textarea.mjs +26 -26
  149. package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
  150. package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
  151. package/textfield.js +1 -1
  152. package/textfield.mjs +14 -14
  153. package/toolbar.js +1 -1
  154. package/toolbar.mjs +8 -8
  155. package/tooltip/tooltip.d.ts.map +1 -1
  156. package/tooltip.js +32 -11
  157. package/tooltip.mjs +611 -516
  158. package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
  159. package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
  160. package/top-app-bar-fixed.js +89 -5
  161. package/top-app-bar-fixed.mjs +279 -37
  162. package/top-app-bar.js +1 -1
  163. package/top-app-bar.mjs +9 -9
  164. package/tree-list-item.js +7 -7
  165. package/tree-list-item.mjs +6 -6
  166. package/tree-list.js +2 -2
  167. package/tree-list.mjs +1 -1
  168. package/tslib.es6-e6a11c8a.js +1 -0
  169. package/tslib.es6-f1eaf65c.mjs +82 -0
  170. package/typography.js +3 -3
  171. package/typography.mjs +2 -2
  172. package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
  173. package/class-map-08c84aeb.mjs +0 -62
  174. package/class-map-50b8edb4.js +0 -9
  175. package/foundation-2334d146.mjs +0 -60
  176. package/foundation-e830bd94.js +0 -22
  177. package/if-defined-cb12d481.js +0 -5
  178. package/list-item-1c65e4db.mjs +0 -32
  179. package/list-item-ee331821.js +0 -8
  180. package/query-assigned-elements-07e38f46.js +0 -33
  181. package/state-949232e6.js +0 -5
  182. package/style-map-2cb0fb63.mjs +0 -40
  183. package/style-map-3056a771.js +0 -5
  184. package/tslib.es6-6b53b818.js +0 -1
  185. package/tslib.es6-b5e819a6.mjs +0 -82
@@ -1,67 +1,73 @@
1
- import { i as d, r as h, l as m, b as l, y as p, e as v } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as g } from "./property-ca27685b.mjs";
3
- import x from "./nav-list-item.mjs";
4
- import "./list-item-1c65e4db.mjs";
5
- import "./mwc-list-item-base-acef0223.mjs";
6
- import "./tslib.es6-b5e819a6.mjs";
7
- import "./ripple-handlers-227497d3.mjs";
8
- import "./base-element-c3dc926e.mjs";
9
- import "./utils-dc65fdc9.mjs";
10
- import "./state-6f7e570d.mjs";
11
- import "./query-1e7846ea.mjs";
12
- import "./class-map-08c84aeb.mjs";
13
- import "./style-map-2cb0fb63.mjs";
1
+ import { i as l, r as h, l as d, x as c, A as v, e as f } from "./query-assigned-elements-4a39219d.mjs";
2
+ import { n as m } from "./property-9b6ea53b.mjs";
3
+ import { C as u, s as g } from "./list-066f5de4.mjs";
4
+ import "./mwc-list-base-32d4ac31.mjs";
5
+ import "./tslib.es6-f1eaf65c.mjs";
6
+ import "./mwc-list-item-base-8654347d.mjs";
7
+ import "./ripple-handlers-321219b8.mjs";
8
+ import "./base-element-67ae173f.mjs";
9
+ import "./utils-2932417c.mjs";
10
+ import "./state-b5e865db.mjs";
11
+ import "./query-d843aa92.mjs";
12
+ import "./class-map-4b94b017.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
14
14
  import "./observer-be7b92e2.mjs";
15
- import "./mwc-list-item.css-b5481d96.mjs";
16
- const f = `:host{flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-ripple-color: transparent;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 12px}:host([activated]){--mdc-ripple-color: transparent}.expansion-header{--mdc-ripple-color: var(--mdc-theme-primary);border-radius:var(--cv-list-item-border-radius);position:relative;height:48px;width:100%;overflow:hidden;display:flex;flex-shrink:0;align-items:center}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, -12px);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open]) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:0}
15
+ import "./query-assigned-nodes-df691e78.mjs";
16
+ import "./if-defined-c367f208.mjs";
17
+ const x = `.mdc-deprecated-list{--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden;height:var(--cv-list-menu-height, 0)}.mdc-deprecated-list slot::slotted(*){height:32px}:host([open]) ul{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
17
18
  `;
18
- var u = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, w = Object.getPrototypeOf, b = Reflect.get, c = (e, o, r, n) => {
19
- for (var t = n > 1 ? void 0 : n ? _(o, r) : o, s = e.length - 1, a; s >= 0; s--)
20
- (a = e[s]) && (t = (n ? a(o, r, t) : a(t)) || t);
21
- return n && t && u(o, r, t), t;
22
- }, y = (e, o, r) => b(w(e), r, o);
23
- let i = class extends x {
19
+ var O = Object.defineProperty, C = Object.getOwnPropertyDescriptor, i = (e, n, t, o) => {
20
+ for (var r = o > 1 ? void 0 : o ? C(n, t) : n, p = e.length - 1, a; p >= 0; p--)
21
+ (a = e[p]) && (r = (o ? a(n, t, r) : a(r)) || r);
22
+ return o && r && O(n, t, r), r;
23
+ };
24
+ let s = class extends u {
24
25
  constructor() {
25
- super(), this.open = !1;
26
+ super(), this.open = !1, this.navOpen = !1;
26
27
  }
27
28
  _toggleOpen() {
28
29
  this.open = !this.open, this.expansionHeader.forEach((e) => {
29
30
  e.activated = this.open, e.selected = this.open;
30
31
  });
31
32
  }
33
+ attributeChangedCallback(e, n, t) {
34
+ super.attributeChangedCallback(e, n, t), e === "navopen" && this.expansionHeader.forEach((o) => {
35
+ t === "true" ? (o.navOpen = !!t, o.setAttribute("navopen", t)) : o.removeAttribute("navopen");
36
+ });
37
+ }
32
38
  render() {
33
- const e = this.renderText(), o = this.graphic ? this.renderGraphic() : l, r = this.hasMeta ? this.renderMeta() : l, n = this.open ? "arrow_drop_down" : "arrow_right", t = p`<cv-icon class="expansion-icon">${n}</cv-icon>`, s = p`<slot name="child"></slot>`;
34
- return p`
35
- <div @click=${this._toggleOpen} class="expansion-header">
36
- ${this.renderRipple()} ${t} ${o} ${e} ${r} ${s}
37
- </div>
38
- <div class="expansion-panel">
39
- <slot name="expansion-panel"></slot>
40
- </div>
39
+ return c`
40
+ <slot name="expansionHeader" @click=${this._toggleOpen}></slot>
41
+ ${this.navOpen ? super.render() : v}
41
42
  `;
42
43
  }
43
44
  };
44
- i.styles = [
45
- d`
46
- ${h(f)},
45
+ s.styles = [
46
+ l`
47
+ ${h(g)}
47
48
  `,
48
- ...y(i, i, "styles")
49
+ l`
50
+ ${h(x)}
51
+ `
49
52
  ];
50
- i.shadowRootOptions = {
53
+ s.shadowRootOptions = {
51
54
  mode: "open",
52
55
  delegatesFocus: !0
53
56
  };
54
- c([
55
- g({ type: Boolean, reflect: !0 })
56
- ], i.prototype, "open", 2);
57
- c([
58
- m({ slot: "expansionHeader" })
59
- ], i.prototype, "expansionHeader", 2);
60
- i = c([
61
- v("cv-expansion-list")
62
- ], i);
63
- const B = i;
57
+ i([
58
+ m({ type: Boolean, reflect: !0 })
59
+ ], s.prototype, "open", 2);
60
+ i([
61
+ m({ type: Boolean, reflect: !0 })
62
+ ], s.prototype, "navOpen", 2);
63
+ i([
64
+ d({ slot: "expansionHeader" })
65
+ ], s.prototype, "expansionHeader", 2);
66
+ s = i([
67
+ f("cv-expansion-list")
68
+ ], s);
69
+ const z = s;
64
70
  export {
65
- i as CovalentExpansionList,
66
- B as default
71
+ s as CovalentExpansionList,
72
+ z as default
67
73
  };
@@ -0,0 +1,9 @@
1
+ "use strict";const m=require("./mwc-list-item-base-4a4d1e1b.js"),t=require("./query-assigned-elements-f623705d.js"),p=require("./property-57f6f6fe.js"),a=require("./mwc-list-item.css-25adc0c4.js"),l=`.expansion-icon{margin-left:-16px;margin-right:-8px;color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}:host([childItem]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
2
+ `;var d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=(c,s,i,r)=>{for(var e=r>1?void 0:r?v(s,i):s,n=c.length-1,o;n>=0;n--)(o=c[n])&&(e=(r?o(s,i,e):o(e))||e);return r&&e&&d(s,i,e),e};exports.CovalentListItem=class extends m.ListItemBase{constructor(){super(...arguments),this.hasChildren=!1}render(){const s=this.renderText(),i=this.graphic?this.renderGraphic():t.A,r=this.hasMeta?this.renderMeta():t.A,e=this.activated?"arrow_drop_down":"arrow_right",n=this.hasChildren?t.x`<cv-icon class="expansion-icon">${e}</cv-icon>`:t.A,o=this.hasChildren?t.x`<slot name="child"></slot>`:t.A;return t.x` ${this.renderRipple()} ${n} ${i} ${s} ${r}
3
+ ${o}`}};exports.CovalentListItem.styles=[t.i`
4
+ ${t.r(a.styles)}
5
+ `,t.i`
6
+ ${t.r(a.styles$1)}
7
+ `,t.i`
8
+ ${t.r(l)}
9
+ `];h([p.n({type:Boolean,reflect:!0})],exports.CovalentListItem.prototype,"hasChildren",2);exports.CovalentListItem=h([t.e("cv-list-item")],exports.CovalentListItem);const u=exports.CovalentListItem;exports.CovalentListItem$1=u;exports.styles=l;
@@ -0,0 +1,44 @@
1
+ import { L as d } from "./mwc-list-item-base-8654347d.mjs";
2
+ import { i as h, r as l, A as a, x as p, e as v } from "./query-assigned-elements-4a39219d.mjs";
3
+ import { n as x } from "./property-9b6ea53b.mjs";
4
+ import { s as f, a as $ } from "./mwc-list-item.css-b0009fc7.mjs";
5
+ const g = `.expansion-icon{margin-left:-16px;margin-right:-8px;color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}:host([childItem]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
6
+ `;
7
+ var _ = Object.defineProperty, u = Object.getOwnPropertyDescriptor, m = (n, e, r, s) => {
8
+ for (var t = s > 1 ? void 0 : s ? u(e, r) : e, o = n.length - 1, c; o >= 0; o--)
9
+ (c = n[o]) && (t = (s ? c(e, r, t) : c(t)) || t);
10
+ return s && t && _(e, r, t), t;
11
+ };
12
+ let i = class extends d {
13
+ constructor() {
14
+ super(...arguments), this.hasChildren = !1;
15
+ }
16
+ render() {
17
+ const n = this.renderText(), e = this.graphic ? this.renderGraphic() : a, r = this.hasMeta ? this.renderMeta() : a, s = this.activated ? "arrow_drop_down" : "arrow_right", t = this.hasChildren ? p`<cv-icon class="expansion-icon">${s}</cv-icon>` : a, o = this.hasChildren ? p`<slot name="child"></slot>` : a;
18
+ return p` ${this.renderRipple()} ${t} ${e} ${n} ${r}
19
+ ${o}`;
20
+ }
21
+ };
22
+ i.styles = [
23
+ h`
24
+ ${l(f)}
25
+ `,
26
+ h`
27
+ ${l($)}
28
+ `,
29
+ h`
30
+ ${l(g)}
31
+ `
32
+ ];
33
+ m([
34
+ x({ type: Boolean, reflect: !0 })
35
+ ], i.prototype, "hasChildren", 2);
36
+ i = m([
37
+ v("cv-list-item")
38
+ ], i);
39
+ const b = i;
40
+ export {
41
+ i as C,
42
+ b as a,
43
+ g as s
44
+ };
package/list-item.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-803b9771.js");require("./query-assigned-elements-07e38f46.js");require("./mwc-list-item.css-401e2407.js");const e=require("./list-item-ee331821.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./property-074570d1.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>e.CovalentListItem});exports.default=e.CovalentListItem$1;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-4a4d1e1b.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./mwc-list-item.css-25adc0c4.js");const e=require("./list-item-8da7ba96.js");require("./tslib.es6-e6a11c8a.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>e.CovalentListItem});exports.default=e.CovalentListItem$1;
package/list-item.mjs CHANGED
@@ -1,16 +1,16 @@
1
- import "./mwc-list-item-base-acef0223.mjs";
2
- import "./query-assigned-elements-514e5265.mjs";
3
- import "./mwc-list-item.css-b5481d96.mjs";
4
- import { C as v, a as x } from "./list-item-1c65e4db.mjs";
5
- import "./tslib.es6-b5e819a6.mjs";
6
- import "./ripple-handlers-227497d3.mjs";
7
- import "./base-element-c3dc926e.mjs";
8
- import "./utils-dc65fdc9.mjs";
9
- import "./property-ca27685b.mjs";
10
- import "./state-6f7e570d.mjs";
11
- import "./query-1e7846ea.mjs";
12
- import "./class-map-08c84aeb.mjs";
13
- import "./style-map-2cb0fb63.mjs";
1
+ import "./mwc-list-item-base-8654347d.mjs";
2
+ import "./query-assigned-elements-4a39219d.mjs";
3
+ import "./property-9b6ea53b.mjs";
4
+ import "./mwc-list-item.css-b0009fc7.mjs";
5
+ import { C as v, a as x } from "./list-item-ba77097d.mjs";
6
+ import "./tslib.es6-f1eaf65c.mjs";
7
+ import "./ripple-handlers-321219b8.mjs";
8
+ import "./base-element-67ae173f.mjs";
9
+ import "./utils-2932417c.mjs";
10
+ import "./state-b5e865db.mjs";
11
+ import "./query-d843aa92.mjs";
12
+ import "./class-map-4b94b017.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
14
14
  import "./observer-be7b92e2.mjs";
15
15
  export {
16
16
  v as CovalentListItem,
package/list.js CHANGED
@@ -1,6 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./query-assigned-elements-07e38f46.js"),l=require("./mwc-list-base-7d5f7278.js");require("./tslib.es6-6b53b818.js");require("./mwc-list-item-base-803b9771.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./property-074570d1.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-9ec0fa5f.js");require("./if-defined-cb12d481.js");/**
2
- * @license
3
- * Copyright 2021 Google LLC
4
- * SPDX-LIcense-Identifier: Apache-2.0
5
- */const o=r.i`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`,c=`:host{padding-right:var(--cv-list-padding-right, 16px)}:host(.subnav){--cv-list-padding-right: 0;--cv-list-item-text-padding: 68px}:host(.subnav) ::slotted(*){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:0 28px 28px 0;padding:0}.mdc-deprecated-list{display:flex;flex-direction:column;align-items:center;width:100%}
6
- `;var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g=(d,t,a,i)=>{for(var e=i>1?void 0:i?m(t,a):t,s=d.length-1,n;s>=0;s--)(n=d[s])&&(e=(i?n(t,a,e):n(e))||e);return i&&e&&p(t,a,e),e};exports.CovalentList=class extends l.ListBase{};exports.CovalentList.styles=[o,r.i`${r.r(c)}`];exports.CovalentList=g([r.e("cv-list")],exports.CovalentList);const h=exports.CovalentList;exports.default=h;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-base-cb3500b4.js");const e=require("./list-05db7fed.js");require("./query-assigned-elements-f623705d.js");require("./property-57f6f6fe.js");require("./tslib.es6-e6a11c8a.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>e.CovalentList});exports.default=e.CovalentList$1;
package/list.mjs CHANGED
@@ -1,41 +1,20 @@
1
- import { i as n, r as l, e as p } from "./query-assigned-elements-514e5265.mjs";
2
- import { L as m } from "./mwc-list-base-c0f8af1c.mjs";
3
- import "./tslib.es6-b5e819a6.mjs";
4
- import "./mwc-list-item-base-acef0223.mjs";
5
- import "./ripple-handlers-227497d3.mjs";
6
- import "./base-element-c3dc926e.mjs";
7
- import "./utils-dc65fdc9.mjs";
8
- import "./property-ca27685b.mjs";
9
- import "./state-6f7e570d.mjs";
10
- import "./query-1e7846ea.mjs";
11
- import "./class-map-08c84aeb.mjs";
12
- import "./style-map-2cb0fb63.mjs";
1
+ import "./mwc-list-base-32d4ac31.mjs";
2
+ import { C as L, a as b } from "./list-066f5de4.mjs";
3
+ import "./query-assigned-elements-4a39219d.mjs";
4
+ import "./property-9b6ea53b.mjs";
5
+ import "./tslib.es6-f1eaf65c.mjs";
6
+ import "./mwc-list-item-base-8654347d.mjs";
7
+ import "./ripple-handlers-321219b8.mjs";
8
+ import "./base-element-67ae173f.mjs";
9
+ import "./utils-2932417c.mjs";
10
+ import "./state-b5e865db.mjs";
11
+ import "./query-d843aa92.mjs";
12
+ import "./class-map-4b94b017.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
13
14
  import "./observer-be7b92e2.mjs";
14
- import "./query-assigned-nodes-bea12e0c.mjs";
15
- import "./if-defined-639ed018.mjs";
16
- /**
17
- * @license
18
- * Copyright 2021 Google LLC
19
- * SPDX-LIcense-Identifier: Apache-2.0
20
- */
21
- const c = n`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`, g = `:host{padding-right:var(--cv-list-padding-right, 16px)}:host(.subnav){--cv-list-padding-right: 0;--cv-list-item-text-padding: 68px}:host(.subnav) ::slotted(*){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:0 28px 28px 0;padding:0}.mdc-deprecated-list{display:flex;flex-direction:column;align-items:center;width:100%}
22
- `;
23
- var h = Object.defineProperty, f = Object.getOwnPropertyDescriptor, v = (o, e, d, i) => {
24
- for (var t = i > 1 ? void 0 : i ? f(e, d) : e, a = o.length - 1, s; a >= 0; a--)
25
- (s = o[a]) && (t = (i ? s(e, d, t) : s(t)) || t);
26
- return i && t && h(e, d, t), t;
27
- };
28
- let r = class extends m {
29
- };
30
- r.styles = [
31
- c,
32
- n`${l(g)}`
33
- ];
34
- r = v([
35
- p("cv-list")
36
- ], r);
37
- const R = r;
15
+ import "./query-assigned-nodes-df691e78.mjs";
16
+ import "./if-defined-c367f208.mjs";
38
17
  export {
39
- r as CovalentList,
40
- R as default
18
+ L as CovalentList,
19
+ b as default
41
20
  };
package/menu.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-ac49fe54.js"),l=require("./query-assigned-elements-07e38f46.js");require("./tslib.es6-6b53b818.js");require("./mwc-list-base-7d5f7278.js");require("./mwc-list-item-base-803b9771.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./property-074570d1.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-9ec0fa5f.js");require("./if-defined-cb12d481.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./mwc-menu-base-f14ec544.js"),l=require("./query-assigned-elements-f623705d.js");require("./tslib.es6-e6a11c8a.js");require("./mwc-list-base-cb3500b4.js");require("./mwc-list-item-base-4a4d1e1b.js");require("./ripple-handlers-c82b1232.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");require("./query-assigned-nodes-99eae71d.js");require("./if-defined-f1c45245.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
package/menu.mjs CHANGED
@@ -1,19 +1,19 @@
1
- import { M as n } from "./mwc-menu-base-8970b43d.mjs";
2
- import { i as l, e as c } from "./query-assigned-elements-514e5265.mjs";
3
- import "./tslib.es6-b5e819a6.mjs";
4
- import "./mwc-list-base-c0f8af1c.mjs";
5
- import "./mwc-list-item-base-acef0223.mjs";
6
- import "./ripple-handlers-227497d3.mjs";
7
- import "./base-element-c3dc926e.mjs";
8
- import "./utils-dc65fdc9.mjs";
9
- import "./property-ca27685b.mjs";
10
- import "./state-6f7e570d.mjs";
11
- import "./query-1e7846ea.mjs";
12
- import "./class-map-08c84aeb.mjs";
13
- import "./style-map-2cb0fb63.mjs";
1
+ import { M as n } from "./mwc-menu-base-572a76b9.mjs";
2
+ import { i as l, e as c } from "./query-assigned-elements-4a39219d.mjs";
3
+ import "./tslib.es6-f1eaf65c.mjs";
4
+ import "./mwc-list-base-32d4ac31.mjs";
5
+ import "./mwc-list-item-base-8654347d.mjs";
6
+ import "./ripple-handlers-321219b8.mjs";
7
+ import "./base-element-67ae173f.mjs";
8
+ import "./utils-2932417c.mjs";
9
+ import "./property-9b6ea53b.mjs";
10
+ import "./state-b5e865db.mjs";
11
+ import "./query-d843aa92.mjs";
12
+ import "./class-map-4b94b017.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
14
14
  import "./observer-be7b92e2.mjs";
15
- import "./query-assigned-nodes-bea12e0c.mjs";
16
- import "./if-defined-639ed018.mjs";
15
+ import "./query-assigned-nodes-df691e78.mjs";
16
+ import "./if-defined-c367f208.mjs";
17
17
  /**
18
18
  * @license
19
19
  * Copyright 2021 Google LLC
@@ -1,14 +1,14 @@
1
- import { _ as t } from "./tslib.es6-b5e819a6.mjs";
2
- import { e as u, R as k } from "./ripple-handlers-227497d3.mjs";
1
+ import { b as t } from "./tslib.es6-f1eaf65c.mjs";
2
+ import { e as u, R as k } from "./ripple-handlers-321219b8.mjs";
3
3
  import { a as r } from "./aria-property-fa2717fe.mjs";
4
- import { F as b } from "./form-element-6dbd7afa.mjs";
5
- import { y as l } from "./query-assigned-elements-514e5265.mjs";
6
- import { e as d } from "./property-ca27685b.mjs";
7
- import { t as c } from "./state-6f7e570d.mjs";
8
- import { e as v } from "./event-options-3937d997.mjs";
9
- import { i as h } from "./query-1e7846ea.mjs";
10
- import { o as f } from "./class-map-08c84aeb.mjs";
11
- import { l as n } from "./if-defined-639ed018.mjs";
4
+ import { F as b } from "./form-element-bd973124.mjs";
5
+ import { x as l } from "./query-assigned-elements-4a39219d.mjs";
6
+ import { n as d } from "./property-9b6ea53b.mjs";
7
+ import { t as c } from "./state-b5e865db.mjs";
8
+ import { e as v } from "./event-options-78d6cf94.mjs";
9
+ import { i as h } from "./query-d843aa92.mjs";
10
+ import { o as f } from "./class-map-4b94b017.mjs";
11
+ import { l as s } from "./if-defined-c367f208.mjs";
12
12
  /**
13
13
  * @license
14
14
  * Copyright 2019 Google LLC
@@ -22,15 +22,15 @@ class i extends b {
22
22
  return {};
23
23
  }
24
24
  update(e) {
25
- const a = e.get("indeterminate"), s = e.get("checked"), o = e.get("disabled");
26
- if (a !== void 0 || s !== void 0 || o !== void 0) {
27
- const p = this.calculateAnimationStateName(!!s, !!a, !!o), m = this.calculateAnimationStateName(this.checked, this.indeterminate, this.disabled);
25
+ const a = e.get("indeterminate"), n = e.get("checked"), o = e.get("disabled");
26
+ if (a !== void 0 || n !== void 0 || o !== void 0) {
27
+ const p = this.calculateAnimationStateName(!!n, !!a, !!o), m = this.calculateAnimationStateName(this.checked, this.indeterminate, this.disabled);
28
28
  this.animationClass = `${p}-${m}`;
29
29
  }
30
30
  super.update(e);
31
31
  }
32
- calculateAnimationStateName(e, a, s) {
33
- return s ? "disabled" : a ? "indeterminate" : e ? "checked" : "unchecked";
32
+ calculateAnimationStateName(e, a, n) {
33
+ return n ? "disabled" : a ? "indeterminate" : e ? "checked" : "unchecked";
34
34
  }
35
35
  // TODO(dfreedm): Make this use selected as a param after Polymer/internal#739
36
36
  /** @soyTemplate */
@@ -61,16 +61,16 @@ class i extends b {
61
61
  "mdc-checkbox--anim-indeterminate-unchecked": this.animationClass == "indeterminate-unchecked",
62
62
  "mdc-checkbox--anim-unchecked-checked": this.animationClass == "unchecked-checked",
63
63
  "mdc-checkbox--anim-unchecked-indeterminate": this.animationClass == "unchecked-indeterminate"
64
- }, s = this.indeterminate ? "mixed" : void 0;
64
+ }, n = this.indeterminate ? "mixed" : void 0;
65
65
  return l`
66
66
  <div class="mdc-checkbox mdc-checkbox--upgraded ${f(a)}">
67
67
  <input type="checkbox"
68
68
  class="mdc-checkbox__native-control"
69
- name="${n(this.name)}"
70
- aria-checked="${n(s)}"
71
- aria-label="${n(this.ariaLabel)}"
72
- aria-labelledby="${n(this.ariaLabelledBy)}"
73
- aria-describedby="${n(this.ariaDescribedBy)}"
69
+ name="${s(this.name)}"
70
+ aria-checked="${s(n)}"
71
+ aria-label="${s(this.ariaLabel)}"
72
+ aria-labelledby="${s(this.ariaLabelledBy)}"
73
+ aria-describedby="${s(this.ariaDescribedBy)}"
74
74
  data-indeterminate="${this.indeterminate ? "true" : "false"}"
75
75
  ?disabled="${this.disabled}"
76
76
  .indeterminate="${this.indeterminate}"
@@ -1,18 +1,18 @@
1
- "use strict";const i=require("./tslib.es6-6b53b818.js"),h=require("./ripple-handlers-2176f137.js"),r=require("./aria-property-849c8816.js"),k=require("./form-element-d4e7bcdb.js"),l=require("./query-assigned-elements-07e38f46.js"),d=require("./property-074570d1.js"),c=require("./state-949232e6.js"),b=require("./event-options-7bc382d8.js"),p=require("./query-2ba749b7.js"),v=require("./class-map-50b8edb4.js"),n=require("./if-defined-cb12d481.js");/**
1
+ "use strict";const i=require("./tslib.es6-e6a11c8a.js"),h=require("./ripple-handlers-c82b1232.js"),r=require("./aria-property-849c8816.js"),k=require("./form-element-ead758d4.js"),l=require("./query-assigned-elements-f623705d.js"),n=require("./property-57f6f6fe.js"),c=require("./state-0974a8e5.js"),b=require("./event-options-3f5eb195.js"),p=require("./query-680f1868.js"),v=require("./class-map-b5efe8da.js"),s=require("./if-defined-f1c45245.js");/**
2
2
  * @license
3
3
  * Copyright 2019 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
- */class t extends k.FormElement{constructor(){super(...arguments),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.name="",this.value="on",this.reducedTouchTarget=!1,this.animationClass="",this.shouldRenderRipple=!1,this.focused=!1,this.mdcFoundationClass=void 0,this.mdcFoundation=void 0,this.rippleElement=null,this.rippleHandlers=new h.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple.then(e=>this.rippleElement=e),this.ripple))}createAdapter(){return{}}update(e){const a=e.get("indeterminate"),s=e.get("checked"),o=e.get("disabled");if(a!==void 0||s!==void 0||o!==void 0){const u=this.calculateAnimationStateName(!!s,!!a,!!o),m=this.calculateAnimationStateName(this.checked,this.indeterminate,this.disabled);this.animationClass=`${u}-${m}`}super.update(e)}calculateAnimationStateName(e,a,s){return s?"disabled":a?"indeterminate":e?"checked":"unchecked"}renderRipple(){return this.shouldRenderRipple?this.renderRippleTemplate():""}renderRippleTemplate(){return l.y`<mwc-ripple
5
+ */class t extends k.FormElement{constructor(){super(...arguments),this.checked=!1,this.indeterminate=!1,this.disabled=!1,this.name="",this.value="on",this.reducedTouchTarget=!1,this.animationClass="",this.shouldRenderRipple=!1,this.focused=!1,this.mdcFoundationClass=void 0,this.mdcFoundation=void 0,this.rippleElement=null,this.rippleHandlers=new h.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple.then(e=>this.rippleElement=e),this.ripple))}createAdapter(){return{}}update(e){const a=e.get("indeterminate"),d=e.get("checked"),o=e.get("disabled");if(a!==void 0||d!==void 0||o!==void 0){const u=this.calculateAnimationStateName(!!d,!!a,!!o),m=this.calculateAnimationStateName(this.checked,this.indeterminate,this.disabled);this.animationClass=`${u}-${m}`}super.update(e)}calculateAnimationStateName(e,a,d){return d?"disabled":a?"indeterminate":e?"checked":"unchecked"}renderRipple(){return this.shouldRenderRipple?this.renderRippleTemplate():""}renderRippleTemplate(){return l.x`<mwc-ripple
6
6
  .disabled="${this.disabled}"
7
- unbounded></mwc-ripple>`}render(){const e=this.indeterminate||this.checked,a={"mdc-checkbox--disabled":this.disabled,"mdc-checkbox--selected":e,"mdc-checkbox--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-checkbox--anim-checked-indeterminate":this.animationClass=="checked-indeterminate","mdc-checkbox--anim-checked-unchecked":this.animationClass=="checked-unchecked","mdc-checkbox--anim-indeterminate-checked":this.animationClass=="indeterminate-checked","mdc-checkbox--anim-indeterminate-unchecked":this.animationClass=="indeterminate-unchecked","mdc-checkbox--anim-unchecked-checked":this.animationClass=="unchecked-checked","mdc-checkbox--anim-unchecked-indeterminate":this.animationClass=="unchecked-indeterminate"},s=this.indeterminate?"mixed":void 0;return l.y`
7
+ unbounded></mwc-ripple>`}render(){const e=this.indeterminate||this.checked,a={"mdc-checkbox--disabled":this.disabled,"mdc-checkbox--selected":e,"mdc-checkbox--touch":!this.reducedTouchTarget,"mdc-ripple-upgraded--background-focused":this.focused,"mdc-checkbox--anim-checked-indeterminate":this.animationClass=="checked-indeterminate","mdc-checkbox--anim-checked-unchecked":this.animationClass=="checked-unchecked","mdc-checkbox--anim-indeterminate-checked":this.animationClass=="indeterminate-checked","mdc-checkbox--anim-indeterminate-unchecked":this.animationClass=="indeterminate-unchecked","mdc-checkbox--anim-unchecked-checked":this.animationClass=="unchecked-checked","mdc-checkbox--anim-unchecked-indeterminate":this.animationClass=="unchecked-indeterminate"},d=this.indeterminate?"mixed":void 0;return l.x`
8
8
  <div class="mdc-checkbox mdc-checkbox--upgraded ${v.o(a)}">
9
9
  <input type="checkbox"
10
10
  class="mdc-checkbox__native-control"
11
- name="${n.l(this.name)}"
12
- aria-checked="${n.l(s)}"
13
- aria-label="${n.l(this.ariaLabel)}"
14
- aria-labelledby="${n.l(this.ariaLabelledBy)}"
15
- aria-describedby="${n.l(this.ariaDescribedBy)}"
11
+ name="${s.l(this.name)}"
12
+ aria-checked="${s.l(d)}"
13
+ aria-label="${s.l(this.ariaLabel)}"
14
+ aria-labelledby="${s.l(this.ariaLabelledBy)}"
15
+ aria-describedby="${s.l(this.ariaDescribedBy)}"
16
16
  data-indeterminate="${this.indeterminate?"true":"false"}"
17
17
  ?disabled="${this.disabled}"
18
18
  .indeterminate="${this.indeterminate}"
@@ -38,4 +38,4 @@
38
38
  <div class="mdc-checkbox__mixedmark"></div>
39
39
  </div>
40
40
  ${this.renderRipple()}
41
- </div>`}setFormData(e){this.name&&this.checked&&e.append(this.name,this.value)}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleBlur(){this.focused=!1,this.handleRippleBlur()}handleRippleMouseDown(e){const a=()=>{window.removeEventListener("mouseup",a),this.handleRippleDeactivate()};window.addEventListener("mouseup",a),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}handleChange(){this.checked=this.formElement.checked,this.indeterminate=this.formElement.indeterminate}resetAnimationClass(){this.animationClass=""}get isRippleActive(){var e;return((e=this.rippleElement)===null||e===void 0?void 0:e.isActive)||!1}}i.__decorate([p.i(".mdc-checkbox")],t.prototype,"mdcRoot",void 0);i.__decorate([p.i("input")],t.prototype,"formElement",void 0);i.__decorate([d.e({type:Boolean,reflect:!0})],t.prototype,"checked",void 0);i.__decorate([d.e({type:Boolean})],t.prototype,"indeterminate",void 0);i.__decorate([d.e({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0);i.__decorate([d.e({type:String,reflect:!0})],t.prototype,"name",void 0);i.__decorate([d.e({type:String})],t.prototype,"value",void 0);i.__decorate([r.ariaProperty,d.e({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0);i.__decorate([r.ariaProperty,d.e({type:String,attribute:"aria-labelledby"})],t.prototype,"ariaLabelledBy",void 0);i.__decorate([r.ariaProperty,d.e({type:String,attribute:"aria-describedby"})],t.prototype,"ariaDescribedBy",void 0);i.__decorate([d.e({type:Boolean})],t.prototype,"reducedTouchTarget",void 0);i.__decorate([c.t()],t.prototype,"animationClass",void 0);i.__decorate([c.t()],t.prototype,"shouldRenderRipple",void 0);i.__decorate([c.t()],t.prototype,"focused",void 0);i.__decorate([h.e("mwc-ripple")],t.prototype,"ripple",void 0);i.__decorate([b.e({passive:!0})],t.prototype,"handleRippleTouchStart",null);exports.CheckboxBase=t;
41
+ </div>`}setFormData(e){this.name&&this.checked&&e.append(this.name,this.value)}handleFocus(){this.focused=!0,this.handleRippleFocus()}handleBlur(){this.focused=!1,this.handleRippleBlur()}handleRippleMouseDown(e){const a=()=>{window.removeEventListener("mouseup",a),this.handleRippleDeactivate()};window.addEventListener("mouseup",a),this.rippleHandlers.startPress(e)}handleRippleTouchStart(e){this.rippleHandlers.startPress(e)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}handleChange(){this.checked=this.formElement.checked,this.indeterminate=this.formElement.indeterminate}resetAnimationClass(){this.animationClass=""}get isRippleActive(){var e;return((e=this.rippleElement)===null||e===void 0?void 0:e.isActive)||!1}}i.__decorate([p.i(".mdc-checkbox")],t.prototype,"mdcRoot",void 0);i.__decorate([p.i("input")],t.prototype,"formElement",void 0);i.__decorate([n.n({type:Boolean,reflect:!0})],t.prototype,"checked",void 0);i.__decorate([n.n({type:Boolean})],t.prototype,"indeterminate",void 0);i.__decorate([n.n({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0);i.__decorate([n.n({type:String,reflect:!0})],t.prototype,"name",void 0);i.__decorate([n.n({type:String})],t.prototype,"value",void 0);i.__decorate([r.ariaProperty,n.n({type:String,attribute:"aria-label"})],t.prototype,"ariaLabel",void 0);i.__decorate([r.ariaProperty,n.n({type:String,attribute:"aria-labelledby"})],t.prototype,"ariaLabelledBy",void 0);i.__decorate([r.ariaProperty,n.n({type:String,attribute:"aria-describedby"})],t.prototype,"ariaDescribedBy",void 0);i.__decorate([n.n({type:Boolean})],t.prototype,"reducedTouchTarget",void 0);i.__decorate([c.t()],t.prototype,"animationClass",void 0);i.__decorate([c.t()],t.prototype,"shouldRenderRipple",void 0);i.__decorate([c.t()],t.prototype,"focused",void 0);i.__decorate([h.e("mwc-ripple")],t.prototype,"ripple",void 0);i.__decorate([b.e({passive:!0})],t.prototype,"handleRippleTouchStart",null);exports.CheckboxBase=t;
@@ -1,4 +1,4 @@
1
- import { i as c } from "./query-assigned-elements-514e5265.mjs";
1
+ import { i as c } from "./query-assigned-elements-4a39219d.mjs";
2
2
  /**
3
3
  * @license
4
4
  * Copyright 2021 Google LLC
@@ -1,4 +1,4 @@
1
- "use strict";const c=require("./query-assigned-elements-07e38f46.js");/**
1
+ "use strict";const c=require("./query-assigned-elements-f623705d.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -1,4 +1,4 @@
1
- "use strict";const r=require("./tslib.es6-6b53b818.js");require("./inert.esm-2cee6f2e.js");const E=require("./base-element-d5abe37a.js"),O=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),f=require("./query-2ba749b7.js"),b=require("./class-map-50b8edb4.js"),F=require("./utils-a8190a39.js");/**
1
+ "use strict";const r=require("./tslib.es6-e6a11c8a.js");require("./inert.esm-2cee6f2e.js");const E=require("./base-element-58a3f9ea.js"),O=require("./observer-a096ab43.js"),c=require("./query-assigned-elements-f623705d.js"),l=require("./property-57f6f6fe.js"),f=require("./query-680f1868.js"),b=require("./class-map-b5efe8da.js"),F=require("./utils-a8190a39.js");/**
2
2
  * @license
3
3
  * Copyright 2016 Google Inc.
4
4
  *
@@ -61,7 +61,7 @@
61
61
  * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
62
62
  * OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
63
63
  * THE SOFTWARE.
64
- */var h=function(n){r.__extends(e,n);function e(t){var i=n.call(this,r.__assign(r.__assign({},e.defaultAdapter),t))||this;return i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(e,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame),this.animationTimer&&clearTimeout(this.animationTimer)},e.prototype.open=function(){var t=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(s.OPEN),this.adapter.addClass(s.ANIMATE),this.runNextAnimationFrame(function(){t.adapter.addClass(s.OPENING)}),this.adapter.saveFocus())},e.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(s.CLOSING)},e.prototype.isOpen=function(){return this.adapter.hasClass(s.OPEN)},e.prototype.isOpening=function(){return this.adapter.hasClass(s.OPENING)||this.adapter.hasClass(s.ANIMATE)},e.prototype.isClosing=function(){return this.adapter.hasClass(s.CLOSING)},e.prototype.handleKeydown=function(t){var i=t.keyCode,o=t.key,d=o==="Escape"||i===27;d&&this.close()},e.prototype.handleTransitionEnd=function(t){var i=s.OPENING,o=s.CLOSING,d=s.OPEN,C=s.ANIMATE,y=s.ROOT,v=this.isElement(t.target)&&this.adapter.elementHasClass(t.target,y);v&&(this.isClosing()?(this.adapter.removeClass(d),this.closed(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened(),this.adapter.notifyOpen()),this.adapter.removeClass(C),this.adapter.removeClass(i),this.adapter.removeClass(o))},e.prototype.opened=function(){},e.prototype.closed=function(){},e.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){i.animationFrame=0,clearTimeout(i.animationTimer),i.animationTimer=setTimeout(t,0)})},e.prototype.isElement=function(t){return Boolean(t.classList)},e}(_);const g=h;/**
64
+ */var h=function(n){r.__extends(e,n);function e(t){var i=n.call(this,r.__assign(r.__assign({},e.defaultAdapter),t))||this;return i.animationFrame=0,i.animationTimer=0,i}return Object.defineProperty(e,"strings",{get:function(){return u},enumerable:!1,configurable:!0}),Object.defineProperty(e,"cssClasses",{get:function(){return s},enumerable:!1,configurable:!0}),Object.defineProperty(e,"defaultAdapter",{get:function(){return{addClass:function(){},removeClass:function(){},hasClass:function(){return!1},elementHasClass:function(){return!1},notifyClose:function(){},notifyOpen:function(){},saveFocus:function(){},restoreFocus:function(){},focusActiveNavigationItem:function(){},trapFocus:function(){},releaseFocus:function(){}}},enumerable:!1,configurable:!0}),e.prototype.destroy=function(){this.animationFrame&&cancelAnimationFrame(this.animationFrame),this.animationTimer&&clearTimeout(this.animationTimer)},e.prototype.open=function(){var t=this;this.isOpen()||this.isOpening()||this.isClosing()||(this.adapter.addClass(s.OPEN),this.adapter.addClass(s.ANIMATE),this.runNextAnimationFrame(function(){t.adapter.addClass(s.OPENING)}),this.adapter.saveFocus())},e.prototype.close=function(){!this.isOpen()||this.isOpening()||this.isClosing()||this.adapter.addClass(s.CLOSING)},e.prototype.isOpen=function(){return this.adapter.hasClass(s.OPEN)},e.prototype.isOpening=function(){return this.adapter.hasClass(s.OPENING)||this.adapter.hasClass(s.ANIMATE)},e.prototype.isClosing=function(){return this.adapter.hasClass(s.CLOSING)},e.prototype.handleKeydown=function(t){var i=t.keyCode,o=t.key,d=o==="Escape"||i===27;d&&this.close()},e.prototype.handleTransitionEnd=function(t){var i=s.OPENING,o=s.CLOSING,d=s.OPEN,C=s.ANIMATE,v=s.ROOT,y=this.isElement(t.target)&&this.adapter.elementHasClass(t.target,v);y&&(this.isClosing()?(this.adapter.removeClass(d),this.closed(),this.adapter.restoreFocus(),this.adapter.notifyClose()):(this.adapter.focusActiveNavigationItem(),this.opened(),this.adapter.notifyOpen()),this.adapter.removeClass(C),this.adapter.removeClass(i),this.adapter.removeClass(o))},e.prototype.opened=function(){},e.prototype.closed=function(){},e.prototype.runNextAnimationFrame=function(t){var i=this;cancelAnimationFrame(this.animationFrame),this.animationFrame=requestAnimationFrame(function(){i.animationFrame=0,clearTimeout(i.animationTimer),i.animationTimer=setTimeout(t,0)})},e.prototype.isElement=function(t){return!!t.classList},e}(_);const g=h;/**
65
65
  * @license
66
66
  * Copyright 2018 Google Inc.
67
67
  *
@@ -86,20 +86,20 @@
86
86
  * @license
87
87
  * Copyright 2018 Google LLC
88
88
  * SPDX-License-Identifier: Apache-2.0
89
- */const m=document.$blockingElements;class a extends E.BaseElement{constructor(){super(...arguments),this._previousFocus=null,this.open=!1,this.hasHeader=!1,this.type=""}get mdcFoundationClass(){return this.type==="modal"?p:g}createAdapter(){return Object.assign(Object.assign({},F.addHasRemoveClass(this.mdcRoot)),{elementHasClass:(e,t)=>e.classList.contains(t),saveFocus:()=>{this._previousFocus=this.getRootNode().activeElement},restoreFocus:()=>{this._previousFocus&&this._previousFocus.focus&&this._previousFocus.focus()},notifyClose:()=>{this.open=!1,this.dispatchEvent(new Event(u.CLOSE_EVENT,{bubbles:!0,cancelable:!0}))},notifyOpen:()=>{this.open=!0,this.dispatchEvent(new Event(u.OPEN_EVENT,{bubbles:!0,cancelable:!0}))},focusActiveNavigationItem:()=>{},trapFocus:()=>{m.push(this),this.appContent.inert=!0},releaseFocus:()=>{m.remove(this),this.appContent.inert=!1}})}_handleScrimClick(){this.mdcFoundation instanceof p&&this.mdcFoundation.handleScrimClick()}render(){const e=this.type==="dismissible"||this.type==="modal",t=this.type==="modal",i=this.hasHeader?c.y`
89
+ */const m=document.$blockingElements;class a extends E.BaseElement{constructor(){super(...arguments),this._previousFocus=null,this.open=!1,this.hasHeader=!1,this.type=""}get mdcFoundationClass(){return this.type==="modal"?p:g}createAdapter(){return Object.assign(Object.assign({},F.addHasRemoveClass(this.mdcRoot)),{elementHasClass:(e,t)=>e.classList.contains(t),saveFocus:()=>{this._previousFocus=this.getRootNode().activeElement},restoreFocus:()=>{this._previousFocus&&this._previousFocus.focus&&this._previousFocus.focus()},notifyClose:()=>{this.open=!1,this.dispatchEvent(new Event(u.CLOSE_EVENT,{bubbles:!0,cancelable:!0}))},notifyOpen:()=>{this.open=!0,this.dispatchEvent(new Event(u.OPEN_EVENT,{bubbles:!0,cancelable:!0}))},focusActiveNavigationItem:()=>{},trapFocus:()=>{m.push(this),this.appContent.inert=!0},releaseFocus:()=>{m.remove(this),this.appContent.inert=!1}})}_handleScrimClick(){this.mdcFoundation instanceof p&&this.mdcFoundation.handleScrimClick()}render(){const e=this.type==="dismissible"||this.type==="modal",t=this.type==="modal",i=this.hasHeader?c.x`
90
90
  <div class="mdc-drawer__header">
91
91
  <h3 class="mdc-drawer__title"><slot name="title"></slot></h3>
92
92
  <h6 class="mdc-drawer__subtitle"><slot name="subtitle"></slot></h6>
93
93
  <slot name="header"></slot>
94
94
  </div>
95
- `:"",o={"mdc-drawer--dismissible":e,"mdc-drawer--modal":t};return c.y`
95
+ `:"",o={"mdc-drawer--dismissible":e,"mdc-drawer--modal":t};return c.x`
96
96
  <aside class="mdc-drawer ${b.o(o)}">
97
97
  ${i}
98
98
  <div class="mdc-drawer__content"><slot></slot></div>
99
99
  </aside>
100
- ${t?c.y`<div class="mdc-drawer-scrim"
100
+ ${t?c.x`<div class="mdc-drawer-scrim"
101
101
  @click="${this._handleScrimClick}"></div>`:""}
102
102
  <div class="mdc-drawer-app-content">
103
103
  <slot name="appContent"></slot>
104
104
  </div>
105
- `}firstUpdated(){this.mdcRoot.addEventListener("keydown",e=>this.mdcFoundation.handleKeydown(e)),this.mdcRoot.addEventListener("transitionend",e=>this.mdcFoundation.handleTransitionEnd(e))}updated(e){e.has("type")&&this.createFoundation()}}r.__decorate([f.i(".mdc-drawer")],a.prototype,"mdcRoot",void 0);r.__decorate([f.i(".mdc-drawer-app-content")],a.prototype,"appContent",void 0);r.__decorate([O.observer(function(n){this.type!==""&&(n?this.mdcFoundation.open():this.mdcFoundation.close())}),l.e({type:Boolean,reflect:!0})],a.prototype,"open",void 0);r.__decorate([l.e({type:Boolean})],a.prototype,"hasHeader",void 0);r.__decorate([l.e({reflect:!0})],a.prototype,"type",void 0);exports.DrawerBase=a;
105
+ `}firstUpdated(){this.mdcRoot.addEventListener("keydown",e=>this.mdcFoundation.handleKeydown(e)),this.mdcRoot.addEventListener("transitionend",e=>this.mdcFoundation.handleTransitionEnd(e))}updated(e){e.has("type")&&this.createFoundation()}}r.__decorate([f.i(".mdc-drawer")],a.prototype,"mdcRoot",void 0);r.__decorate([f.i(".mdc-drawer-app-content")],a.prototype,"appContent",void 0);r.__decorate([O.observer(function(n){this.type!==""&&(n?this.mdcFoundation.open():this.mdcFoundation.close())}),l.n({type:Boolean,reflect:!0})],a.prototype,"open",void 0);r.__decorate([l.n({type:Boolean})],a.prototype,"hasHeader",void 0);r.__decorate([l.n({reflect:!0})],a.prototype,"type",void 0);exports.DrawerBase=a;
@@ -1,12 +1,12 @@
1
- import { a as h, b as p, _ as r } from "./tslib.es6-b5e819a6.mjs";
1
+ import { _ as h, a as p, b as r } from "./tslib.es6-f1eaf65c.mjs";
2
2
  import "./inert.esm-359d4581.mjs";
3
- import { B as F } from "./base-element-c3dc926e.mjs";
3
+ import { B as F } from "./base-element-67ae173f.mjs";
4
4
  import { o as b } from "./observer-be7b92e2.mjs";
5
- import { y as c } from "./query-assigned-elements-514e5265.mjs";
6
- import { e as l } from "./property-ca27685b.mjs";
7
- import { i as C } from "./query-1e7846ea.mjs";
8
- import { o as g } from "./class-map-08c84aeb.mjs";
9
- import { a as N } from "./utils-dc65fdc9.mjs";
5
+ import { x as c } from "./query-assigned-elements-4a39219d.mjs";
6
+ import { n as l } from "./property-9b6ea53b.mjs";
7
+ import { i as C } from "./query-d843aa92.mjs";
8
+ import { o as g } from "./class-map-4b94b017.mjs";
9
+ import { a as N } from "./utils-2932417c.mjs";
10
10
  /**
11
11
  * @license
12
12
  * Copyright 2016 Google Inc.
@@ -194,8 +194,8 @@ var v = (
194
194
  var s = t.keyCode, a = t.key, d = a === "Escape" || s === 27;
195
195
  d && this.close();
196
196
  }, e.prototype.handleTransitionEnd = function(t) {
197
- var s = i.OPENING, a = i.CLOSING, d = i.OPEN, y = i.ANIMATE, E = i.ROOT, O = this.isElement(t.target) && this.adapter.elementHasClass(t.target, E);
198
- O && (this.isClosing() ? (this.adapter.removeClass(d), this.closed(), this.adapter.restoreFocus(), this.adapter.notifyClose()) : (this.adapter.focusActiveNavigationItem(), this.opened(), this.adapter.notifyOpen()), this.adapter.removeClass(y), this.adapter.removeClass(s), this.adapter.removeClass(a));
197
+ var s = i.OPENING, a = i.CLOSING, d = i.OPEN, E = i.ANIMATE, y = i.ROOT, O = this.isElement(t.target) && this.adapter.elementHasClass(t.target, y);
198
+ O && (this.isClosing() ? (this.adapter.removeClass(d), this.closed(), this.adapter.restoreFocus(), this.adapter.notifyClose()) : (this.adapter.focusActiveNavigationItem(), this.opened(), this.adapter.notifyOpen()), this.adapter.removeClass(E), this.adapter.removeClass(s), this.adapter.removeClass(a));
199
199
  }, e.prototype.opened = function() {
200
200
  }, e.prototype.closed = function() {
201
201
  }, e.prototype.runNextAnimationFrame = function(t) {
@@ -204,7 +204,7 @@ var v = (
204
204
  s.animationFrame = 0, clearTimeout(s.animationTimer), s.animationTimer = setTimeout(t, 0);
205
205
  });
206
206
  }, e.prototype.isElement = function(t) {
207
- return Boolean(t.classList);
207
+ return !!t.classList;
208
208
  }, e;
209
209
  }(w)
210
210
  );
@@ -1,4 +1,4 @@
1
- "use strict";const n=require("./tslib.es6-6b53b818.js"),e=require("./query-assigned-elements-07e38f46.js");/**
1
+ "use strict";const n=require("./tslib.es6-e6a11c8a.js"),e=require("./query-assigned-elements-f623705d.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -6,4 +6,4 @@
6
6
  * @license
7
7
  * Copyright 2018 Google LLC
8
8
  * SPDX-License-Identifier: Apache-2.0
9
- */exports.Icon=class extends e.s{render(){return e.y`<span><slot></slot></span>`}};exports.Icon.styles=[t];exports.Icon=n.__decorate([e.e("mwc-icon")],exports.Icon);
9
+ */exports.Icon=class extends e.s{render(){return e.x`<span><slot></slot></span>`}};exports.Icon.styles=[t];exports.Icon=n.__decorate([e.e("mwc-icon")],exports.Icon);
@@ -1,5 +1,5 @@
1
- import { _ as o } from "./tslib.es6-b5e819a6.mjs";
2
- import { i as n, s as e, y as i, e as s } from "./query-assigned-elements-514e5265.mjs";
1
+ import { b as o } from "./tslib.es6-f1eaf65c.mjs";
2
+ import { i as n, s as e, x as i, e as s } from "./query-assigned-elements-4a39219d.mjs";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2021 Google LLC