@covalent/components 8.15.0-beta.9 → 8.15.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 (193) hide show
  1. package/action-ribbon.js +1 -1
  2. package/action-ribbon.mjs +3 -4
  3. package/alert.js +1 -1
  4. package/alert.mjs +3 -4
  5. package/app-shell/app-shell.d.ts +3 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +6 -6
  8. package/app-shell.mjs +26 -25
  9. package/badge.js +1 -1
  10. package/badge.mjs +3 -4
  11. package/button.js +1 -1
  12. package/button.mjs +9 -10
  13. package/card/card-base.d.ts.map +1 -1
  14. package/card.js +7 -5
  15. package/card.mjs +9 -8
  16. package/check-list-item.js +1 -1
  17. package/check-list-item.mjs +8 -9
  18. package/checkbox.js +1 -1
  19. package/checkbox.mjs +15 -16
  20. package/{chip-fb0ea5c5.mjs → chip-2d0fd3f0.mjs} +1 -1
  21. package/{chip-c65a4549.js → chip-ebd0a88e.js} +1 -1
  22. package/chip-set.js +2 -2
  23. package/chip-set.mjs +45 -46
  24. package/chip.js +1 -1
  25. package/chip.mjs +4 -5
  26. package/circular-progress.js +1 -1
  27. package/circular-progress.mjs +4 -5
  28. package/class-map-4b94b017.mjs +62 -0
  29. package/class-map-b5efe8da.js +9 -0
  30. package/code-snippet.js +2 -2
  31. package/code-snippet.mjs +4 -5
  32. package/{dialog-86192b9a.js → dialog-82b03745.js} +1 -1
  33. package/{dialog-16aad066.mjs → dialog-c9dbe94d.mjs} +1 -1
  34. package/dialog.js +1 -1
  35. package/dialog.mjs +4 -5
  36. package/drawer.js +1 -1
  37. package/drawer.mjs +4 -5
  38. package/formfield.js +3 -3
  39. package/formfield.mjs +3 -4
  40. package/icon-button-toggle.js +1 -1
  41. package/icon-button-toggle.mjs +5 -6
  42. package/icon-button.js +1 -1
  43. package/icon-button.mjs +5 -6
  44. package/icon-check-toggle.js +1 -1
  45. package/icon-check-toggle.mjs +6 -7
  46. package/icon-radio-toggle.js +3 -3
  47. package/icon-radio-toggle.mjs +6 -7
  48. package/index.d.ts +0 -3
  49. package/index.d.ts.map +1 -1
  50. package/index.js +1 -1
  51. package/index.mjs +118 -126
  52. package/linear-progress.js +1 -1
  53. package/linear-progress.mjs +4 -5
  54. package/{list-item-e628f363.mjs → list-item-24236190.mjs} +1 -1
  55. package/{list-item-e336fb0e.js → list-item-d72b2fff.js} +1 -1
  56. package/list-item.js +2 -2
  57. package/list-item.mjs +7 -8
  58. package/list.js +1 -1
  59. package/list.mjs +7 -8
  60. package/menu.js +5 -5
  61. package/menu.mjs +8 -9
  62. package/{mwc-checkbox-base-935d9566.js → mwc-checkbox-base-3d8c9549.js} +1 -1
  63. package/{mwc-checkbox-base-02b4eb91.mjs → mwc-checkbox-base-c40d16d2.mjs} +2 -2
  64. package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-798b11f8.js} +1 -1
  65. package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-9c77129c.mjs} +1 -1
  66. package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-a6b39a3c.js} +14 -14
  67. package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-f9dd7fe3.mjs} +5 -6
  68. package/{mwc-list-base-22616d0a.js → mwc-list-base-400b00e2.js} +1 -1
  69. package/{mwc-list-base-402e1d8e.mjs → mwc-list-base-495cbb3b.mjs} +1 -1
  70. package/{mwc-list-item-base-06d93e6e.js → mwc-list-item-base-297d86b0.js} +1 -1
  71. package/{mwc-list-item-base-3c6a3bfb.mjs → mwc-list-item-base-6449e812.mjs} +2 -2
  72. package/{mwc-menu-base-04586160.mjs → mwc-menu-base-9704207e.mjs} +3 -3
  73. package/{mwc-menu-base-08f54c38.js → mwc-menu-base-c75ca473.js} +1 -1
  74. package/{mwc-radio-base-768b4221.mjs → mwc-radio-base-4dbe9e38.mjs} +2 -2
  75. package/{mwc-radio-base-147cf999.js → mwc-radio-base-913e02e2.js} +1 -1
  76. package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-30c91236.mjs} +3 -3
  77. package/{mwc-slider.css-c5f99704.js → mwc-slider.css-c7107d94.js} +1 -1
  78. package/{mwc-tab-base-0814a3ef.mjs → mwc-tab-base-effde6e4.mjs} +2 -2
  79. package/{mwc-tab-base-f2269fd1.js → mwc-tab-base-f28722aa.js} +1 -1
  80. package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-28c4192d.mjs} +1 -1
  81. package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-aec60f27.js} +1 -1
  82. package/nav-list-item.js +1 -1
  83. package/nav-list-item.mjs +7 -8
  84. package/package.json +1 -16
  85. package/radio-list-item.js +1 -1
  86. package/radio-list-item.mjs +8 -9
  87. package/radio.js +2 -2
  88. package/radio.mjs +6 -7
  89. package/{ripple-handlers-8883e893.mjs → ripple-handlers-0d9ad7c2.mjs} +2 -2
  90. package/{ripple-handlers-9fb4a31a.js → ripple-handlers-5d5b21db.js} +1 -1
  91. package/select.js +2 -2
  92. package/select.mjs +10 -11
  93. package/side-sheet.js +1 -1
  94. package/side-sheet.mjs +2 -3
  95. package/slider-range.js +1 -1
  96. package/slider-range.mjs +6 -7
  97. package/slider.js +1 -1
  98. package/slider.mjs +11 -12
  99. package/snackbar.js +18 -14
  100. package/snackbar.mjs +159 -88
  101. package/status-dialog.js +1 -1
  102. package/status-dialog.mjs +6 -7
  103. package/status-header.js +1 -1
  104. package/status-header.mjs +3 -4
  105. package/{style-map-a135c6ab.js → style-map-88d2563f.js} +2 -2
  106. package/{style-map-e7ec6d41.mjs → style-map-bc3ed3e0.mjs} +1 -1
  107. package/switch.js +1 -1
  108. package/switch.mjs +5 -6
  109. package/tab-bar.js +2 -2
  110. package/tab-bar.mjs +6 -7
  111. package/tab.js +1 -1
  112. package/tab.mjs +8 -9
  113. package/text-lockup.js +1 -1
  114. package/text-lockup.mjs +3 -4
  115. package/textarea.js +1 -1
  116. package/textarea.mjs +5 -6
  117. package/{textfield-93cfcf3c.mjs → textfield-69844234.mjs} +8 -9
  118. package/{textfield-0645375b.js → textfield-a064a2b4.js} +16 -16
  119. package/textfield.js +1 -1
  120. package/textfield.mjs +5 -6
  121. package/toolbar.js +1 -1
  122. package/toolbar.mjs +4 -5
  123. package/top-app-bar-fixed.js +1 -1
  124. package/top-app-bar-fixed.mjs +4 -5
  125. package/top-app-bar.js +1 -1
  126. package/top-app-bar.mjs +7 -8
  127. package/tree-list-item.js +1 -1
  128. package/tree-list-item.mjs +3 -4
  129. package/async-directive-4a34f75e.js +0 -5
  130. package/async-directive-99a01ec7.mjs +0 -78
  131. package/cell/cell.d.ts +0 -65
  132. package/cell/cell.d.ts.map +0 -1
  133. package/cell.js +0 -29
  134. package/cell.mjs +0 -147
  135. package/class-map-0a4c6ca9.js +0 -5
  136. package/class-map-6e504a9a.mjs +0 -38
  137. package/code-editor/code-editor.d.ts +0 -73
  138. package/code-editor/code-editor.d.ts.map +0 -1
  139. package/code-editor-3a09cbf1.js +0 -732
  140. package/code-editor-ce557bd5.mjs +0 -61376
  141. package/code-editor.js +0 -1
  142. package/code-editor.mjs +0 -10
  143. package/cpp-642b10c4.mjs +0 -387
  144. package/cpp-7eec3311.js +0 -6
  145. package/csharp-32862cd2.js +0 -6
  146. package/csharp-d987ddad.mjs +0 -320
  147. package/css-5dd354ac.mjs +0 -186
  148. package/css-9be95551.js +0 -8
  149. package/dart-031264ea.js +0 -6
  150. package/dart-5d209f63.mjs +0 -270
  151. package/directive-1186bc23.js +0 -5
  152. package/directive-daf4e9b6.mjs +0 -27
  153. package/go-46e3b371.mjs +0 -208
  154. package/go-cdd943fd.js +0 -6
  155. package/html-4fffc46e.js +0 -6
  156. package/html-783f1e7c.mjs +0 -286
  157. package/java-32d7b433.js +0 -6
  158. package/java-cd017f60.mjs +0 -221
  159. package/javascript-4d09cd3c.mjs +0 -80
  160. package/javascript-90bb18e6.js +0 -6
  161. package/kotlin-4b9019e1.js +0 -6
  162. package/kotlin-c6e52a56.mjs +0 -245
  163. package/lua-b46719a9.js +0 -6
  164. package/lua-f159160b.mjs +0 -157
  165. package/markdown-9b448c46.mjs +0 -202
  166. package/markdown-eae8e3ba.js +0 -6
  167. package/notebook/notebook.d.ts +0 -87
  168. package/notebook/notebook.d.ts.map +0 -1
  169. package/notebook.js +0 -121
  170. package/notebook.mjs +0 -3447
  171. package/php-987b9d87.mjs +0 -471
  172. package/php-a6dcde52.js +0 -6
  173. package/python-562f8e9b.mjs +0 -264
  174. package/python-af3aad7d.js +0 -6
  175. package/r-42c6f0aa.js +0 -6
  176. package/r-630f5d6b.mjs +0 -245
  177. package/rust-87887495.js +0 -6
  178. package/rust-97f8f6e1.mjs +0 -337
  179. package/scala-c68c650c.mjs +0 -353
  180. package/scala-e8b7bd42.js +0 -6
  181. package/shell-09452d42.mjs +0 -224
  182. package/shell-43cfbe7d.js +0 -6
  183. package/sql-63ec8e76.mjs +0 -818
  184. package/sql-faf05577.js +0 -6
  185. package/style.css +0 -1
  186. package/swift-724ff2a3.js +0 -8
  187. package/swift-abdf1835.mjs +0 -315
  188. package/typescript-76d039b3.js +0 -6
  189. package/typescript-a2a5d6b2.mjs +0 -332
  190. package/xml-89571455.mjs +0 -100
  191. package/xml-e66929d0.js +0 -6
  192. package/yaml-11a91e71.js +0 -6
  193. package/yaml-4eccd122.mjs +0 -189
package/card.mjs CHANGED
@@ -1,7 +1,6 @@
1
1
  import { s, x as l, i as _, r as f, e as g } from "./query-assigned-elements-4a39219d.mjs";
2
- import { o as u } from "./class-map-6e504a9a.mjs";
2
+ import { o as u } from "./class-map-4b94b017.mjs";
3
3
  import { n } from "./property-9b6ea53b.mjs";
4
- import "./directive-daf4e9b6.mjs";
5
4
  var b = Object.defineProperty, h = Object.getOwnPropertyDescriptor, p = (o, i, a, e) => {
6
5
  for (var r = e > 1 ? void 0 : e ? h(i, a) : i, t = o.length - 1, c; t >= 0; t--)
7
6
  (c = o[t]) && (r = (e ? c(i, a, r) : c(r)) || r);
@@ -23,10 +22,12 @@ class d extends s {
23
22
  ${this.cardTitle}
24
23
  </div>
25
24
  ` : ""}
26
- <div class="mdc-card__primary-action">
27
- <slot></slot>
28
- ${this.interactive ? l`<div class="mdc-card__ripple"></div>` : ""}
29
- </div>
25
+ ${this.interactive ? l`
26
+ <div class="mdc-card__primary-action">
27
+ <slot></slot>
28
+ <div class="mdc-card__ripple"></div>
29
+ </div>
30
+ ` : l`<slot></slot>`}
30
31
  ${this.actionBar ? l`
31
32
  <div class="mdc-card__actions">
32
33
  <slot name="card-actions"></slot>
@@ -70,8 +71,8 @@ m.styles = [
70
71
  m = w([
71
72
  g("cv-card")
72
73
  ], m);
73
- const j = m;
74
+ const C = m;
74
75
  export {
75
76
  m as CovalentCard,
76
- j as default
77
+ C as default
77
78
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./tslib.es6-98719205.js"),r=require("./query-assigned-elements-f623705d.js"),x=require("./mwc-checkbox-base-935d9566.js"),b=require("./property-57f6f6fe.js"),s=require("./query-680f1868.js"),l=require("./class-map-0a4c6ca9.js"),p=require("./mwc-list-item-base-06d93e6e.js"),k=require("./list-item-e336fb0e.js");require("./ripple-handlers-9fb4a31a.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./style-map-a135c6ab.js");require("./directive-1186bc23.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./observer-a096ab43.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./tslib.es6-98719205.js"),r=require("./query-assigned-elements-f623705d.js"),x=require("./mwc-checkbox-base-3d8c9549.js"),b=require("./property-57f6f6fe.js"),s=require("./query-680f1868.js"),l=require("./class-map-b5efe8da.js"),p=require("./mwc-list-item-base-297d86b0.js"),k=require("./list-item-d72b2fff.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./observer-a096ab43.js");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
@@ -1,17 +1,16 @@
1
1
  import { _ as a } from "./tslib.es6-c4b0f3b1.mjs";
2
2
  import { i as b, e as s, x as k, r as l } from "./query-assigned-elements-4a39219d.mjs";
3
- import { C as _ } from "./mwc-checkbox-base-02b4eb91.mjs";
3
+ import { C as _ } from "./mwc-checkbox-base-c40d16d2.mjs";
4
4
  import { n as x } from "./property-9b6ea53b.mjs";
5
5
  import { i as p } from "./query-d843aa92.mjs";
6
- import { o as u } from "./class-map-6e504a9a.mjs";
7
- import { L as g } from "./mwc-list-item-base-3c6a3bfb.mjs";
8
- import { s as f, a as v, c as y } from "./list-item-e628f363.mjs";
9
- import "./ripple-handlers-8883e893.mjs";
6
+ import { o as u } from "./class-map-4b94b017.mjs";
7
+ import { L as g } from "./mwc-list-item-base-6449e812.mjs";
8
+ import { s as f, a as v, c as y } from "./list-item-24236190.mjs";
9
+ import "./ripple-handlers-0d9ad7c2.mjs";
10
10
  import "./base-element-acf30176.mjs";
11
11
  import "./utils-dc65fdc9.mjs";
12
12
  import "./state-b5e865db.mjs";
13
- import "./style-map-e7ec6d41.mjs";
14
- import "./directive-daf4e9b6.mjs";
13
+ import "./style-map-bc3ed3e0.mjs";
15
14
  import "./aria-property-fa2717fe.mjs";
16
15
  import "./form-element-abadd335.mjs";
17
16
  import "./event-options-78d6cf94.mjs";
@@ -98,8 +97,8 @@ n.styles = [
98
97
  n = F([
99
98
  s("cv-check-list-item")
100
99
  ], n);
101
- const N = n;
100
+ const K = n;
102
101
  export {
103
102
  n as CovalentCheckListItem,
104
- N as default
103
+ K as default
105
104
  };
package/checkbox.js CHANGED
@@ -1,2 +1,2 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),n=require("./mwc-checkbox-base-935d9566.js"),l=require("./mwc-checkbox.css-b3434429.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-9fb4a31a.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-0a4c6ca9.js");require("./directive-1186bc23.js");require("./style-map-a135c6ab.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const a=`:host{--mdc-checkbox-checked-color: var(--mdc-theme-primary);--mdc-checkbox-disabled-color: var(--mdc-theme-text-disabled-on-background);--mdc-checkbox-ink-color: var(--mdc-theme-on-primary);--mdc-checkbox-unchecked-color: var(--mdc-theme-text-icon-on-background)}
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),n=require("./mwc-checkbox-base-3d8c9549.js"),l=require("./mwc-checkbox.css-b3434429.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-5d5b21db.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("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const a=`:host{--mdc-checkbox-checked-color: var(--mdc-theme-primary);--mdc-checkbox-disabled-color: var(--mdc-theme-text-disabled-on-background);--mdc-checkbox-ink-color: var(--mdc-theme-on-primary);--mdc-checkbox-unchecked-color: var(--mdc-theme-text-icon-on-background)}
2
2
  `;var b=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d=(o,r,t,c)=>{for(var e=c>1?void 0:c?h(r,t):r,s=o.length-1,u;s>=0;s--)(u=o[s])&&(e=(c?u(r,t,e):u(e))||e);return c&&e&&b(r,t,e),e};exports.CovalentCheckbox=class extends n.CheckboxBase{};exports.CovalentCheckbox.styles=[l.styles,i.i`${i.r(a)}`];exports.CovalentCheckbox=d([i.e("cv-checkbox")],exports.CovalentCheckbox);const v=exports.CovalentCheckbox;exports.default=v;
package/checkbox.mjs CHANGED
@@ -1,35 +1,34 @@
1
1
  import { i as s, r as a, e as l } from "./query-assigned-elements-4a39219d.mjs";
2
- import { C as d } from "./mwc-checkbox-base-02b4eb91.mjs";
2
+ import { C as d } from "./mwc-checkbox-base-c40d16d2.mjs";
3
3
  import { s as h } from "./mwc-checkbox.css-8f4f1a9b.mjs";
4
4
  import "./tslib.es6-c4b0f3b1.mjs";
5
- import "./ripple-handlers-8883e893.mjs";
5
+ import "./ripple-handlers-0d9ad7c2.mjs";
6
6
  import "./base-element-acf30176.mjs";
7
7
  import "./utils-dc65fdc9.mjs";
8
8
  import "./property-9b6ea53b.mjs";
9
9
  import "./state-b5e865db.mjs";
10
10
  import "./query-d843aa92.mjs";
11
- import "./class-map-6e504a9a.mjs";
12
- import "./directive-daf4e9b6.mjs";
13
- import "./style-map-e7ec6d41.mjs";
11
+ import "./class-map-4b94b017.mjs";
12
+ import "./style-map-bc3ed3e0.mjs";
14
13
  import "./aria-property-fa2717fe.mjs";
15
14
  import "./form-element-abadd335.mjs";
16
15
  import "./event-options-78d6cf94.mjs";
17
16
  import "./if-defined-c367f208.mjs";
18
17
  const n = `:host{--mdc-checkbox-checked-color: var(--mdc-theme-primary);--mdc-checkbox-disabled-color: var(--mdc-theme-text-disabled-on-background);--mdc-checkbox-ink-color: var(--mdc-theme-on-primary);--mdc-checkbox-unchecked-color: var(--mdc-theme-text-icon-on-background)}
19
18
  `;
20
- var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, x = (i, r, c, e) => {
21
- for (var o = e > 1 ? void 0 : e ? v(r, c) : r, m = i.length - 1, p; m >= 0; m--)
22
- (p = i[m]) && (o = (e ? p(r, c, o) : p(o)) || o);
23
- return e && o && b(r, c, o), o;
19
+ var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, x = (i, e, t, r) => {
20
+ for (var o = r > 1 ? void 0 : r ? v(e, t) : e, m = i.length - 1, p; m >= 0; m--)
21
+ (p = i[m]) && (o = (r ? p(e, t, o) : p(o)) || o);
22
+ return r && o && b(e, t, o), o;
24
23
  };
25
- let t = class extends d {
24
+ let c = class extends d {
26
25
  };
27
- t.styles = [h, s`${a(n)}`];
28
- t = x([
26
+ c.styles = [h, s`${a(n)}`];
27
+ c = x([
29
28
  l("cv-checkbox")
30
- ], t);
31
- const E = t;
29
+ ], c);
30
+ const A = c;
32
31
  export {
33
- t as CovalentCheckbox,
34
- E as default
32
+ c as CovalentCheckbox,
33
+ A as default
35
34
  };
@@ -8,7 +8,7 @@ import { A as ne, K as _, n as re, i as oe } from "./keyboard-983b121c.mjs";
8
8
  import { M as Q } from "./foundation-2334d146.mjs";
9
9
  import { n as L } from "./property-9b6ea53b.mjs";
10
10
  import { i as ae } from "./query-d843aa92.mjs";
11
- import { o as ce } from "./class-map-6e504a9a.mjs";
11
+ import { o as ce } from "./class-map-4b94b017.mjs";
12
12
  import { a as m } from "./_commonjsHelpers-2f131a27.mjs";
13
13
  var T = {};
14
14
  /**
@@ -1,4 +1,4 @@
1
- "use strict";var kt=Object.defineProperty;var Bt=(e,i,t)=>i in e?kt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var p=(e,i,t)=>(Bt(e,typeof i!="symbol"?i+"":i,t),t);const b=require("./query-assigned-elements-f623705d.js"),jt=require("./utils-a8190a39.js"),s=require("./tslib.es6-98719205.js"),v=require("./keyboard-39125691.js"),$=require("./foundation-e830bd94.js"),R=require("./property-57f6f6fe.js"),Gt=require("./query-680f1868.js"),Kt=require("./class-map-0a4c6ca9.js"),f=require("./_commonjsHelpers-2367a3a2.js");var w={};/**
1
+ "use strict";var kt=Object.defineProperty;var Bt=(e,i,t)=>i in e?kt(e,i,{enumerable:!0,configurable:!0,writable:!0,value:t}):e[i]=t;var p=(e,i,t)=>(Bt(e,typeof i!="symbol"?i+"":i,t),t);const b=require("./query-assigned-elements-f623705d.js"),jt=require("./utils-a8190a39.js"),s=require("./tslib.es6-98719205.js"),v=require("./keyboard-39125691.js"),$=require("./foundation-e830bd94.js"),R=require("./property-57f6f6fe.js"),Gt=require("./query-680f1868.js"),Kt=require("./class-map-b5efe8da.js"),f=require("./_commonjsHelpers-2367a3a2.js");var w={};/**
2
2
  * @license
3
3
  * SPDX-License-Identifier: Apache-2.0
4
4
  */const A={};function $t(e){if(e!==A)throw new Error("Bad secret")}/**
package/chip-set.js CHANGED
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const I=require("./query-assigned-elements-f623705d.js"),c=require("./chip-c65a4549.js"),d=require("./tslib.es6-98719205.js"),S=require("./foundation-e830bd94.js"),C=require("./keyboard-39125691.js"),E=require("./property-57f6f6fe.js"),N=require("./query-680f1868.js");require("./utils-a8190a39.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./_commonjsHelpers-2367a3a2.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const I=require("./query-assigned-elements-f623705d.js"),c=require("./chip-ebd0a88e.js"),d=require("./tslib.es6-98719205.js"),S=require("./foundation-e830bd94.js"),C=require("./keyboard-39125691.js"),E=require("./property-57f6f6fe.js"),N=require("./query-680f1868.js");require("./utils-a8190a39.js");require("./class-map-b5efe8da.js");require("./_commonjsHelpers-2367a3a2.js");/**
2
2
  * @license
3
3
  * Copyright 2016 Google Inc.
4
4
  *
@@ -73,4 +73,4 @@
73
73
  </span>`}async updated(i){super.updated(i),await this.updateComplete,this.activeIndex!=this._previousActiveIndex&&this.mdcFoundation.setChipSelected(this.activeIndex,c.MDCChipActionType.PRIMARY,!0)}firstUpdated(i){var r;super.firstUpdated(i);const e=(r=this.shadowRoot)==null?void 0:r.querySelector("slot"),t=(e==null?void 0:e.assignedElements().filter(n=>n instanceof c.CovalentChip))??[];for(let n=0;n<t.length;n++){const o=t[n];this.chips.push(o)}this.mdcFoundation!==void 0&&this.mdcFoundation.destroy(),this.mdcFoundation=new R(this.createAdapter()),this.mdcFoundation.init()}connectedCallback(){super.connectedCallback(),this.addEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.addEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.addEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener(c.MDCChipEvents.ANIMATION,this._handleChipAnimation),this.removeEventListener(c.MDCChipEvents.INTERACTION,this._handleChipInteraction),this.removeEventListener(c.MDCChipEvents.NAVIGATION,this._handleChipNavigation)}createAdapter(){return{announceMessage:D,emitEvent:(i,e)=>this.dispatchEvent(new CustomEvent(i,{bubbles:!0,detail:e})),getAttribute:i=>this.mdcRoot.getAttribute(i),getChipActionsAtIndex:i=>this.chips[i].getActions(),getChipCount:()=>this.chips.length,getChipIdAtIndex:i=>this.chips[i].getElementID(),getChipIndexById:i=>this.chips.findIndex(e=>e.getElementID()===i),isChipFocusableAtIndex:(i,e)=>this.chips[i].isActionFocusable(e),isChipSelectableAtIndex:(i,e)=>this.chips[i].isActionSelectable(e),isChipSelectedAtIndex:(i,e)=>this.chips[i].isActionSelected(e),removeChipAtIndex:i=>this.chips[i].remove(),setChipFocusAtIndex:(i,e,t)=>this.chips[i].setActionFocus(e,t),setChipSelectedAtIndex:(i,e,t)=>this.chips[i].setActionSelected(e,t),startChipAnimationAtIndex:(i,e)=>this.chips[i].startAnimation(e)}}_handleChipAnimation(i){this.mdcFoundation.handleChipAnimation(i)}_handleChipInteraction(i){this.mdcFoundation.handleChipInteraction(i)}_handleChipNavigation(i){this.mdcFoundation.handleChipNavigation(i)}}g([N.i(".mdc-evolution-chip-set")],A.prototype,"mdcRoot",2);g([E.n({type:Boolean,reflect:!0})],A.prototype,"selectable",2);g([E.n({type:Boolean,reflect:!0})],A.prototype,"multi",2);g([E.n()],A.prototype,"label",2);g([E.n({type:Number})],A.prototype,"activeIndex",2);const _=`.mdc-evolution-chip-set{display:flex}.mdc-evolution-chip-set:focus{outline:none}.mdc-evolution-chip-set__chips{display:flex;flex-flow:wrap;min-width:0}.mdc-evolution-chip-set--overflow .mdc-evolution-chip-set__chips{flex-flow:nowrap}.mdc-evolution-chip-set .mdc-evolution-chip-set__chips{margin-left:-8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip-set__chips,.mdc-evolution-chip-set .mdc-evolution-chip-set__chips[dir=rtl]{margin-left:0;margin-right:-8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-left:8px;margin-right:0}[dir=rtl] .mdc-evolution-chip-set .mdc-evolution-chip,.mdc-evolution-chip-set .mdc-evolution-chip[dir=rtl]{margin-left:0;margin-right:8px}.mdc-evolution-chip-set .mdc-evolution-chip{margin-top:4px;margin-bottom:4px}::slotted(cv-chip){margin:4px 0 4px 8px}[dir=rtl] ::slotted(cv-chip),::slotted(cv-chip[dir=rtl]){margin-left:0;margin-right:8px}
74
74
  `;var w=Object.defineProperty,B=Object.getOwnPropertyDescriptor,P=(a,i,e,t)=>{for(var r=t>1?void 0:t?B(i,e):i,n=a.length-1,o;n>=0;n--)(o=a[n])&&(r=(t?o(i,e,r):o(r))||r);return t&&r&&w(i,e,r),r};exports.CovalentChipSet=class extends A{};exports.CovalentChipSet.styles=[I.i`
75
75
  ${I.r(_)}
76
- `];exports.CovalentChipSet=P([I.e("cv-chip-set")],exports.CovalentChipSet);const q=exports.CovalentChipSet;exports.default=q;
76
+ `];exports.CovalentChipSet=P([I.e("cv-chip-set")],exports.CovalentChipSet);const U=exports.CovalentChipSet;exports.default=U;
package/chip-set.mjs CHANGED
@@ -1,13 +1,12 @@
1
1
  import { s as M, x as D, i as O, r as L, e as _ } from "./query-assigned-elements-4a39219d.mjs";
2
- import { M as E, a as A, b as T, C as w, c as v } from "./chip-fb0ea5c5.mjs";
2
+ import { M as E, a as A, b as T, C as w, c as v } from "./chip-2d0fd3f0.mjs";
3
3
  import { a as P, b as F, c as I } from "./tslib.es6-c4b0f3b1.mjs";
4
4
  import { M as B } from "./foundation-2334d146.mjs";
5
5
  import { K as l } from "./keyboard-983b121c.mjs";
6
6
  import { n as y } from "./property-9b6ea53b.mjs";
7
7
  import { i as U } from "./query-d843aa92.mjs";
8
8
  import "./utils-dc65fdc9.mjs";
9
- import "./class-map-6e504a9a.mjs";
10
- import "./directive-daf4e9b6.mjs";
9
+ import "./class-map-4b94b017.mjs";
11
10
  import "./_commonjsHelpers-2f131a27.mjs";
12
11
  /**
13
12
  * @license
@@ -120,28 +119,28 @@ var $ = (
120
119
  enumerable: !1,
121
120
  configurable: !0
122
121
  }), i.prototype.handleChipAnimation = function(t) {
123
- var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete, p = e.addedAnnouncement, s = e.removedAnnouncement, h = this.adapter.getChipIndexById(r);
122
+ var e = t.detail, r = e.chipID, n = e.animation, o = e.isComplete, h = e.addedAnnouncement, s = e.removedAnnouncement, p = this.adapter.getChipIndexById(r);
124
123
  if (n === E.EXIT && o) {
125
- s && this.adapter.announceMessage(s), this.removeAfterAnimation(h, r);
124
+ s && this.adapter.announceMessage(s), this.removeAfterAnimation(p, r);
126
125
  return;
127
126
  }
128
- if (n === E.ENTER && o && p) {
129
- this.adapter.announceMessage(p);
127
+ if (n === E.ENTER && o && h) {
128
+ this.adapter.announceMessage(h);
130
129
  return;
131
130
  }
132
131
  }, i.prototype.handleChipInteraction = function(t) {
133
- var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable, p = e.isSelected, s = e.shouldRemove, h = this.adapter.getChipIndexById(n);
132
+ var e = t.detail, r = e.source, n = e.chipID, o = e.isSelectable, h = e.isSelected, s = e.shouldRemove, p = this.adapter.getChipIndexById(n);
134
133
  if (s) {
135
- this.removeChip(h);
134
+ this.removeChip(p);
136
135
  return;
137
136
  }
138
- this.focusChip(h, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
139
- chipIndex: h,
137
+ this.focusChip(p, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
138
+ chipIndex: p,
140
139
  chipID: n
141
- }), o && this.setSelection(h, r, !p);
140
+ }), o && this.setSelection(p, r, !h);
142
141
  }, i.prototype.handleChipNavigation = function(t) {
143
- var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, p = e.source, s = this.adapter.getChipIndexById(r), h = n === l.ARROW_RIGHT && !o || n === l.ARROW_LEFT && o;
144
- if (h) {
142
+ var e = t.detail, r = e.chipID, n = e.key, o = e.isRTL, h = e.source, s = this.adapter.getChipIndexById(r), p = n === l.ARROW_RIGHT && !o || n === l.ARROW_LEFT && o;
143
+ if (p) {
145
144
  this.focusNextChipFrom(s + 1);
146
145
  return;
147
146
  }
@@ -151,34 +150,34 @@ var $ = (
151
150
  return;
152
151
  }
153
152
  if (n === l.ARROW_DOWN) {
154
- this.focusNextChipFrom(s + 1, p);
153
+ this.focusNextChipFrom(s + 1, h);
155
154
  return;
156
155
  }
157
156
  if (n === l.ARROW_UP) {
158
- this.focusPrevChipFrom(s - 1, p);
157
+ this.focusPrevChipFrom(s - 1, h);
159
158
  return;
160
159
  }
161
160
  if (n === l.HOME) {
162
- this.focusNextChipFrom(0, p);
161
+ this.focusNextChipFrom(0, h);
163
162
  return;
164
163
  }
165
164
  if (n === l.END) {
166
- this.focusPrevChipFrom(this.adapter.getChipCount() - 1, p);
165
+ this.focusPrevChipFrom(this.adapter.getChipCount() - 1, h);
167
166
  return;
168
167
  }
169
168
  }, i.prototype.getSelectedChipIndexes = function() {
170
169
  for (var t, e, r = /* @__PURE__ */ new Set(), n = this.adapter.getChipCount(), o = 0; o < n; o++) {
171
- var p = this.adapter.getChipActionsAtIndex(o);
170
+ var h = this.adapter.getChipActionsAtIndex(o);
172
171
  try {
173
- for (var s = (t = void 0, I(p)), h = s.next(); !h.done; h = s.next()) {
174
- var c = h.value;
172
+ for (var s = (t = void 0, I(h)), p = s.next(); !p.done; p = s.next()) {
173
+ var c = p.value;
175
174
  this.adapter.isChipSelectedAtIndex(o, c) && r.add(o);
176
175
  }
177
176
  } catch (u) {
178
177
  t = { error: u };
179
178
  } finally {
180
179
  try {
181
- h && !h.done && (e = s.return) && e.call(s);
180
+ p && !p.done && (e = s.return) && e.call(s);
182
181
  } finally {
183
182
  if (t)
184
183
  throw t.error;
@@ -220,16 +219,16 @@ var $ = (
220
219
  }, i.prototype.getFirstFocusableAction = function(t, e) {
221
220
  var r, n;
222
221
  try {
223
- for (var o = I(e), p = o.next(); !p.done; p = o.next()) {
224
- var s = p.value;
222
+ for (var o = I(e), h = o.next(); !h.done; h = o.next()) {
223
+ var s = h.value;
225
224
  if (this.adapter.isChipFocusableAtIndex(t, s))
226
225
  return s;
227
226
  }
228
- } catch (h) {
229
- r = { error: h };
227
+ } catch (p) {
228
+ r = { error: p };
230
229
  } finally {
231
230
  try {
232
- p && !p.done && (n = o.return) && n.call(o);
231
+ h && !h.done && (n = o.return) && n.call(o);
233
232
  } finally {
234
233
  if (r)
235
234
  throw r.error;
@@ -237,31 +236,31 @@ var $ = (
237
236
  }
238
237
  return null;
239
238
  }, i.prototype.getMatchingFocusableAction = function(t, e, r) {
240
- var n, o, p = null;
239
+ var n, o, h = null;
241
240
  try {
242
- for (var s = I(e), h = s.next(); !h.done; h = s.next()) {
243
- var c = h.value;
244
- if (this.adapter.isChipFocusableAtIndex(t, c) && (p = c), p === r)
245
- return p;
241
+ for (var s = I(e), p = s.next(); !p.done; p = s.next()) {
242
+ var c = p.value;
243
+ if (this.adapter.isChipFocusableAtIndex(t, c) && (h = c), h === r)
244
+ return h;
246
245
  }
247
246
  } catch (u) {
248
247
  n = { error: u };
249
248
  } finally {
250
249
  try {
251
- h && !h.done && (o = s.return) && o.call(s);
250
+ p && !p.done && (o = s.return) && o.call(s);
252
251
  } finally {
253
252
  if (n)
254
253
  throw n.error;
255
254
  }
256
255
  }
257
- return p;
256
+ return h;
258
257
  }, i.prototype.focusChip = function(t, e, r) {
259
258
  var n, o;
260
259
  this.adapter.setChipFocusAtIndex(t, e, r);
261
- for (var p = this.adapter.getChipCount(), s = 0; s < p; s++) {
262
- var h = this.adapter.getChipActionsAtIndex(s);
260
+ for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
261
+ var p = this.adapter.getChipActionsAtIndex(s);
263
262
  try {
264
- for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
263
+ for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
265
264
  var m = u.value;
266
265
  m === e && s === t || this.adapter.setChipFocusAtIndex(s, m, A.NOT_FOCUSABLE);
267
266
  }
@@ -285,10 +284,10 @@ var $ = (
285
284
  chipIndex: t,
286
285
  isSelected: r
287
286
  }), !this.supportsMultiSelect())
288
- for (var p = this.adapter.getChipCount(), s = 0; s < p; s++) {
289
- var h = this.adapter.getChipActionsAtIndex(s);
287
+ for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
288
+ var p = this.adapter.getChipActionsAtIndex(s);
290
289
  try {
291
- for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
290
+ for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
292
291
  var m = u.value;
293
292
  m === e && s === t || this.adapter.setChipSelectedAtIndex(s, m, !1);
294
293
  }
@@ -376,12 +375,12 @@ var j = (
376
375
  return a.getInstance = function() {
377
376
  return a.instance || (a.instance = new a()), a.instance;
378
377
  }, a.prototype.say = function(i, t) {
379
- var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document, p = this.getLiveRegion(n, o);
380
- p.textContent = "", setTimeout(function() {
381
- p.textContent = i, o.addEventListener("click", s);
378
+ var e, r, n = (e = t == null ? void 0 : t.priority) !== null && e !== void 0 ? e : R.POLITE, o = (r = t == null ? void 0 : t.ownerDocument) !== null && r !== void 0 ? r : document, h = this.getLiveRegion(n, o);
379
+ h.textContent = "", setTimeout(function() {
380
+ h.textContent = i, o.addEventListener("click", s);
382
381
  }, 1);
383
382
  function s() {
384
- p.textContent = "", o.removeEventListener("click", s);
383
+ h.textContent = "", o.removeEventListener("click", s);
385
384
  }
386
385
  }, a.prototype.getLiveRegion = function(i, t) {
387
386
  var e = this.liveRegions.get(t);
@@ -528,8 +527,8 @@ x.styles = [
528
527
  x = q([
529
528
  _("cv-chip-set")
530
529
  ], x);
531
- const at = x;
530
+ const ot = x;
532
531
  export {
533
532
  x as CovalentChipSet,
534
- at as default
533
+ ot as default
535
534
  };
package/chip.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./chip-c65a4549.js");require("./utils-a8190a39.js");require("./tslib.es6-98719205.js");require("./keyboard-39125691.js");require("./foundation-e830bd94.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./_commonjsHelpers-2367a3a2.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./query-assigned-elements-f623705d.js");const e=require("./chip-ebd0a88e.js");require("./utils-a8190a39.js");require("./tslib.es6-98719205.js");require("./keyboard-39125691.js");require("./foundation-e830bd94.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./_commonjsHelpers-2367a3a2.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
package/chip.mjs CHANGED
@@ -1,15 +1,14 @@
1
1
  import "./query-assigned-elements-4a39219d.mjs";
2
- import { C as s, d as h } from "./chip-fb0ea5c5.mjs";
2
+ import { C as l, d as s } from "./chip-2d0fd3f0.mjs";
3
3
  import "./utils-dc65fdc9.mjs";
4
4
  import "./tslib.es6-c4b0f3b1.mjs";
5
5
  import "./keyboard-983b121c.mjs";
6
6
  import "./foundation-2334d146.mjs";
7
7
  import "./property-9b6ea53b.mjs";
8
8
  import "./query-d843aa92.mjs";
9
- import "./class-map-6e504a9a.mjs";
10
- import "./directive-daf4e9b6.mjs";
9
+ import "./class-map-4b94b017.mjs";
11
10
  import "./_commonjsHelpers-2f131a27.mjs";
12
11
  export {
13
- s as CovalentChip,
14
- h as default
12
+ l as CovalentChip,
13
+ s as default
15
14
  };
@@ -1,4 +1,4 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-98719205.js"),m=require("./aria-property-849c8816.js"),a=require("./query-assigned-elements-f623705d.js"),d=require("./property-57f6f6fe.js"),g=require("./class-map-0a4c6ca9.js"),p=require("./if-defined-f1c45245.js"),u=require("./style-map-a135c6ab.js");require("./directive-1186bc23.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./tslib.es6-98719205.js"),m=require("./aria-property-849c8816.js"),a=require("./query-assigned-elements-f623705d.js"),d=require("./property-57f6f6fe.js"),g=require("./class-map-b5efe8da.js"),p=require("./if-defined-f1c45245.js"),u=require("./style-map-88d2563f.js");/**
2
2
  * @license
3
3
  * Copyright 2020 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
@@ -2,10 +2,9 @@ import { _ as o } from "./tslib.es6-c4b0f3b1.mjs";
2
2
  import { a as g } from "./aria-property-fa2717fe.mjs";
3
3
  import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-4a39219d.mjs";
4
4
  import { n } from "./property-9b6ea53b.mjs";
5
- import { o as _ } from "./class-map-6e504a9a.mjs";
5
+ import { o as _ } from "./class-map-4b94b017.mjs";
6
6
  import { l as m } from "./if-defined-c367f208.mjs";
7
- import { o as y } from "./style-map-e7ec6d41.mjs";
8
- import "./directive-daf4e9b6.mjs";
7
+ import { o as y } from "./style-map-bc3ed3e0.mjs";
9
8
  /**
10
9
  * @license
11
10
  * Copyright 2020 Google LLC
@@ -147,8 +146,8 @@ l.styles = [b];
147
146
  l = k([
148
147
  f("cv-circular-progress")
149
148
  ], l);
150
- const O = l;
149
+ const D = l;
151
150
  export {
152
151
  l as CovalentCircularProgress,
153
- O as default
152
+ D as default
154
153
  };
@@ -0,0 +1,62 @@
1
+ import { T as h } from "./query-assigned-elements-4a39219d.mjs";
2
+ /**
3
+ * @license
4
+ * Copyright 2017 Google LLC
5
+ * SPDX-License-Identifier: BSD-3-Clause
6
+ */
7
+ const a = { ATTRIBUTE: 1, CHILD: 2, PROPERTY: 3, BOOLEAN_ATTRIBUTE: 4, EVENT: 5, ELEMENT: 6 }, d = (e) => (...t) => ({ _$litDirective$: e, values: t });
8
+ class l {
9
+ constructor(t) {
10
+ }
11
+ get _$AU() {
12
+ return this._$AM._$AU;
13
+ }
14
+ _$AT(t, s, r) {
15
+ this._$Ct = t, this._$AM = s, this._$Ci = r;
16
+ }
17
+ _$AS(t, s) {
18
+ return this.update(t, s);
19
+ }
20
+ update(t, s) {
21
+ return this.render(...s);
22
+ }
23
+ }
24
+ /**
25
+ * @license
26
+ * Copyright 2018 Google LLC
27
+ * SPDX-License-Identifier: BSD-3-Clause
28
+ */
29
+ const u = d(class extends l {
30
+ constructor(e) {
31
+ var t;
32
+ if (super(e), e.type !== a.ATTRIBUTE || e.name !== "class" || ((t = e.strings) === null || t === void 0 ? void 0 : t.length) > 2)
33
+ throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
34
+ }
35
+ render(e) {
36
+ return " " + Object.keys(e).filter((t) => e[t]).join(" ") + " ";
37
+ }
38
+ update(e, [t]) {
39
+ var s, r;
40
+ if (this.it === void 0) {
41
+ this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((i) => i !== "")));
42
+ for (const i in t)
43
+ t[i] && !(!((s = this.nt) === null || s === void 0) && s.has(i)) && this.it.add(i);
44
+ return this.render(t);
45
+ }
46
+ const n = e.element.classList;
47
+ this.it.forEach((i) => {
48
+ i in t || (n.remove(i), this.it.delete(i));
49
+ });
50
+ for (const i in t) {
51
+ const o = !!t[i];
52
+ o === this.it.has(i) || !((r = this.nt) === null || r === void 0) && r.has(i) || (o ? (n.add(i), this.it.add(i)) : (n.remove(i), this.it.delete(i)));
53
+ }
54
+ return h;
55
+ }
56
+ });
57
+ export {
58
+ d as e,
59
+ l as i,
60
+ u as o,
61
+ a as t
62
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";const l=require("./query-assigned-elements-f623705d.js");/**
2
+ * @license
3
+ * Copyright 2017 Google LLC
4
+ * SPDX-License-Identifier: BSD-3-Clause
5
+ */const h={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},a=i=>(...t)=>({_$litDirective$:i,values:t});class d{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,s,r){this._$Ct=t,this._$AM=s,this._$Ci=r}_$AS(t,s){return this.update(t,s)}update(t,s){return this.render(...s)}}/**
6
+ * @license
7
+ * Copyright 2018 Google LLC
8
+ * SPDX-License-Identifier: BSD-3-Clause
9
+ */const u=a(class extends d{constructor(i){var t;if(super(i),i.type!==h.ATTRIBUTE||i.name!=="class"||((t=i.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(i){return" "+Object.keys(i).filter(t=>i[t]).join(" ")+" "}update(i,[t]){var s,r;if(this.it===void 0){this.it=new Set,i.strings!==void 0&&(this.nt=new Set(i.strings.join(" ").split(/\s/).filter(e=>e!=="")));for(const e in t)t[e]&&!(!((s=this.nt)===null||s===void 0)&&s.has(e))&&this.it.add(e);return this.render(t)}const n=i.element.classList;this.it.forEach(e=>{e in t||(n.remove(e),this.it.delete(e))});for(const e in t){const o=!!t[e];o===this.it.has(e)||!((r=this.nt)===null||r===void 0)&&r.has(e)||(o?(n.add(e),this.it.add(e)):(n.remove(e),this.it.delete(e)))}return l.T}});exports.e=a;exports.i=d;exports.o=u;exports.t=h;