@covalent/components 8.23.2 → 9.0.0-beta.1

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 (232) hide show
  1. package/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-DjF3Plf2.mjs} +2 -4
  2. package/action-ribbon.js +5 -6
  3. package/action-ribbon.mjs +47 -51
  4. package/alert.js +5 -6
  5. package/alert.mjs +48 -52
  6. package/app-shell.js +1 -2
  7. package/app-shell.mjs +13 -30
  8. package/{async-directive-99a01ec7.mjs → async-directive-Cx1B9M5C.mjs} +11 -23
  9. package/{async-directive-4a34f75e.js → async-directive-y3fBDDSk.js} +1 -1
  10. package/badge.js +1 -2
  11. package/badge.mjs +10 -12
  12. package/{base-element-acf30176.mjs → base-element-C-U4OfWx.mjs} +2 -2
  13. package/{base-element-58a3f9ea.js → base-element-aUDWLn36.js} +1 -1
  14. package/button.js +2 -3
  15. package/button.mjs +18 -23
  16. package/card.js +8 -9
  17. package/card.mjs +36 -38
  18. package/check-list-item.js +11 -15
  19. package/check-list-item.mjs +53 -70
  20. package/checkbox.js +1 -2
  21. package/checkbox.mjs +15 -31
  22. package/{chip-c65a4549.js → chip-BsDYOEFW.js} +31 -32
  23. package/{chip-fb0ea5c5.mjs → chip-C8L37ovG.mjs} +110 -117
  24. package/chip-set.js +5 -6
  25. package/chip-set.mjs +73 -83
  26. package/chip.js +1 -1
  27. package/chip.mjs +4 -13
  28. package/circular-progress.js +1 -1
  29. package/circular-progress.mjs +9 -10
  30. package/{class-map-6e504a9a.mjs → class-map-C1SJpero.mjs} +4 -6
  31. package/{class-map-0a4c6ca9.js → class-map-C8G1ALWK.js} +1 -1
  32. package/{code-editor-712d0ce9.mjs → code-editor-CxQzms2S.mjs} +13485 -13720
  33. package/code-editor-hT6MTCL6.js +660 -0
  34. package/code-editor.js +1 -1
  35. package/code-editor.mjs +3 -6
  36. package/code-snippet.js +5 -6
  37. package/code-snippet.mjs +235 -284
  38. package/{dialog-78a9fd0e.mjs → dialog-BoNH4r3n.mjs} +23 -25
  39. package/{dialog-83104700.js → dialog-LUOzoMeO.js} +6 -7
  40. package/dialog.js +1 -1
  41. package/dialog.mjs +4 -13
  42. package/directive-C7oCP5Bh.js +5 -0
  43. package/{directive-helpers-e3ea6592.mjs → directive-helpers-CllkNDrI.mjs} +1 -1
  44. package/{directive-helpers-0ce1f995.js → directive-helpers-Duf3sfLn.js} +1 -1
  45. package/{directive-daf4e9b6.mjs → directive-oAbCiebi.mjs} +4 -4
  46. package/drawer.js +2 -3
  47. package/drawer.mjs +7 -17
  48. package/empty-state.js +2 -3
  49. package/empty-state.mjs +12 -15
  50. package/{event-options-3f5eb195.js → event-options-BH8ks-kz.js} +1 -1
  51. package/{event-options-78d6cf94.mjs → event-options-CNykeE2u.mjs} +1 -1
  52. package/expansion-panel-item.js +1 -2
  53. package/expansion-panel-item.mjs +6 -9
  54. package/expansion-panel.js +1 -1
  55. package/expansion-panel.mjs +2 -2
  56. package/focused-page.js +1 -2
  57. package/focused-page.mjs +13 -16
  58. package/{form-element-abadd335.mjs → form-element-CxSqbssX.mjs} +4 -4
  59. package/{form-element-c553d6f5.js → form-element-DwqUbs65.js} +1 -1
  60. package/formfield.js +6 -7
  61. package/formfield.mjs +19 -23
  62. package/{foundation-e980aa3d.js → foundation-CySCCTUE.js} +3 -3
  63. package/{foundation-d533452a.mjs → foundation-qQ4jzaAu.mjs} +11 -13
  64. package/full-screen-dialog.js +4 -5
  65. package/full-screen-dialog.mjs +13 -22
  66. package/{html-021d0b5b.mjs → html-BFM6gjw5.mjs} +13 -18
  67. package/html-BMgGKfr0.js +6 -0
  68. package/icon-button-toggle.js +11 -16
  69. package/icon-button-toggle.mjs +68 -78
  70. package/icon-button.js +6 -11
  71. package/icon-button.mjs +56 -66
  72. package/icon-check-toggle.js +6 -7
  73. package/icon-check-toggle.mjs +10 -23
  74. package/icon-radio-toggle.js +4 -5
  75. package/icon-radio-toggle.mjs +13 -29
  76. package/icon.js +1 -5
  77. package/icon.mjs +13 -20
  78. package/{if-defined-c367f208.mjs → if-defined-BsNkRMMG.mjs} +1 -1
  79. package/{if-defined-f1c45245.js → if-defined-D8C6ewRn.js} +1 -1
  80. package/index.js +1 -1
  81. package/index.mjs +110 -150
  82. package/{inert.esm-359d4581.mjs → inert.esm-BJ7IrRxy.mjs} +3 -4
  83. package/{javascript-5b83986c.js → javascript-20JK5_5Y.js} +1 -1
  84. package/{javascript-d2604785.mjs → javascript-BVQ0GGQP.mjs} +4 -10
  85. package/linear-progress.js +2 -3
  86. package/linear-progress.mjs +12 -14
  87. package/list-item-BZVW1fmJ.js +5 -0
  88. package/list-item-DCzzLVZh.mjs +11 -0
  89. package/list-item.js +5 -5
  90. package/list-item.mjs +21 -32
  91. package/list.js +3 -8
  92. package/list.mjs +18 -38
  93. package/menu.js +3 -8
  94. package/menu.mjs +18 -39
  95. package/{mwc-checkbox.css-b3434429.js → mwc-checkbox.css-Cd0yCOHu.js} +42 -2
  96. package/{mwc-checkbox.css-8f4f1a9b.mjs → mwc-checkbox.css-MBOzkrQg.mjs} +198 -3
  97. package/{mwc-drawer-base-bbae43c3.js → mwc-drawer-base-D-48lqfn.js} +5 -5
  98. package/{mwc-drawer-base-ca75f41f.mjs → mwc-drawer-base-Dgs9327G.mjs} +24 -26
  99. package/{mwc-icon-5227aec3.mjs → mwc-icon-BZRds8SY.mjs} +6 -5
  100. package/{mwc-icon-f87639bc.js → mwc-icon-BumH81hp.js} +2 -2
  101. package/mwc-icon-button.css-BtgKBOl3.js +5 -0
  102. package/mwc-icon-button.css-DJMY7U7e.mjs +10 -0
  103. package/{mwc-line-ripple-directive-40145003.js → mwc-line-ripple-directive-DvPWr3ER.js} +1 -1
  104. package/{mwc-line-ripple-directive-aabd8778.mjs → mwc-line-ripple-directive-zhm5Zc8i.mjs} +7 -7
  105. package/{list-item-8b940ec8.js → mwc-list-item.css-CtRq5wSu.js} +28 -6
  106. package/{list-item-ef175b93.mjs → mwc-list-item.css-g34xqhLC.mjs} +199 -9
  107. package/mwc-list.css-CaMJWsDp.js +111 -0
  108. package/{mwc-list-base-402e1d8e.mjs → mwc-list.css-DFOdJyFB.mjs} +213 -213
  109. package/{mwc-menu-base-04586160.mjs → mwc-menu.css-BEiPghgR.mjs} +90 -92
  110. package/{mwc-menu-base-08f54c38.js → mwc-menu.css-pxcxlTrh.js} +22 -22
  111. package/mwc-radio.css-CVMtIq-L.js +105 -0
  112. package/{mwc-radio-base-768b4221.mjs → mwc-radio.css-XRx0vL1k.mjs} +124 -118
  113. package/{mwc-slider.css-cda43bd0.mjs → mwc-slider.css-2Bqk43z7.mjs} +200 -211
  114. package/{mwc-slider.css-c5f99704.js → mwc-slider.css-WrkrmqkL.js} +6 -6
  115. package/{mwc-tab-base-0814a3ef.mjs → mwc-tab.css-B9yQpkYf.mjs} +126 -122
  116. package/{mwc-tab-base-f2269fd1.js → mwc-tab.css-CgdXMZBB.js} +26 -22
  117. package/{mwc-top-app-bar-base-8a7f7312.mjs → mwc-top-app-bar-base-B0EW9eNk.mjs} +13 -15
  118. package/{mwc-top-app-bar-base-8c8cde51.js → mwc-top-app-bar-base-CSXRBOiX.js} +3 -3
  119. package/nav-list-item.js +4 -5
  120. package/nav-list-item.mjs +12 -23
  121. package/notebook-cell.js +8 -9
  122. package/notebook-cell.mjs +14 -29
  123. package/package.json +1 -1
  124. package/python-B8sEpp0H.js +6 -0
  125. package/{python-0707b744.mjs → python-BRZC-1dQ.mjs} +11 -16
  126. package/query-BBDQWsft.mjs +15 -0
  127. package/query-BxDs8ftQ.js +5 -0
  128. package/{query-assigned-elements-4a39219d.mjs → query-assigned-elements-DCt2xozt.mjs} +32 -57
  129. package/{query-assigned-nodes-df691e78.mjs → query-assigned-nodes-B9zBfkh6.mjs} +1 -1
  130. package/{query-assigned-nodes-99eae71d.js → query-assigned-nodes-CckKHm2z.js} +1 -1
  131. package/radio-list-item.js +9 -13
  132. package/radio-list-item.mjs +50 -66
  133. package/radio.js +1 -2
  134. package/radio.mjs +15 -32
  135. package/{ripple-handlers-9fb4a31a.js → ripple-handlers-CzfSBjWo.js} +8 -8
  136. package/{ripple-handlers-8883e893.mjs → ripple-handlers-i3WPEBiO.mjs} +20 -25
  137. package/select.js +15 -20
  138. package/select.mjs +196 -213
  139. package/side-sheet.js +1 -2
  140. package/side-sheet.mjs +18 -27
  141. package/slider-range.js +1 -1
  142. package/slider-range.mjs +15 -19
  143. package/slider.js +1 -1
  144. package/slider.mjs +18 -26
  145. package/snackbar.js +9 -10
  146. package/snackbar.mjs +30 -33
  147. package/{state-0974a8e5.js → state-C3HoXfoa.js} +1 -1
  148. package/{state-b5e865db.mjs → state-DaD9o2aK.mjs} +1 -1
  149. package/status-dialog/status-dialog.d.ts.map +1 -1
  150. package/status-dialog.js +15 -37
  151. package/status-dialog.mjs +47 -116
  152. package/status-header-item.js +1 -2
  153. package/status-header-item.mjs +7 -8
  154. package/status-header.js +4 -5
  155. package/status-header.mjs +22 -24
  156. package/{style-map-a135c6ab.js → style-map-BJBXlSqn.js} +1 -1
  157. package/{style-map-e7ec6d41.mjs → style-map-CCsABR5m.mjs} +4 -6
  158. package/style.css +1 -1
  159. package/switch.js +6 -7
  160. package/switch.mjs +20 -29
  161. package/tab-bar.js +18 -22
  162. package/tab-bar.mjs +192 -205
  163. package/tab.js +1 -6
  164. package/tab.mjs +13 -31
  165. package/text-lockup.js +1 -2
  166. package/text-lockup.mjs +14 -16
  167. package/textarea.js +15 -19
  168. package/textarea.mjs +53 -68
  169. package/textfield-BwmiygD8.js +136 -0
  170. package/textfield-C6sUZIeA.mjs +927 -0
  171. package/textfield.js +3 -7
  172. package/textfield.mjs +17 -37
  173. package/toolbar.js +1 -2
  174. package/toolbar.mjs +6 -13
  175. package/tooltip.js +3 -4
  176. package/tooltip.mjs +29 -40
  177. package/{top-app-bar-f83386e0.mjs → top-app-bar-4SA3DjLX.mjs} +2 -3
  178. package/{top-app-bar-a531c1b4.js → top-app-bar-CGjBuyiD.js} +2 -3
  179. package/top-app-bar-fixed.js +6 -6
  180. package/top-app-bar-fixed.mjs +24 -32
  181. package/top-app-bar.js +3 -3
  182. package/top-app-bar.mjs +18 -25
  183. package/tree-list-item.js +1 -2
  184. package/tree-list-item.mjs +9 -13
  185. package/tree-list.js +1 -2
  186. package/tree-list.mjs +6 -7
  187. package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-pPsSiLLK.mjs} +15 -26
  188. package/typescript-CqVUCaiQ.js +6 -0
  189. package/{typescript-399a453a.mjs → typescript-qqbekFoQ.mjs} +10 -15
  190. package/typography.js +1 -2
  191. package/typography.mjs +7 -8
  192. package/code-editor-b36fad77.js +0 -662
  193. package/directive-1186bc23.js +0 -5
  194. package/html-b2900c6a.js +0 -6
  195. package/mwc-checkbox-base-02b4eb91.mjs +0 -198
  196. package/mwc-checkbox-base-935d9566.js +0 -41
  197. package/mwc-list-base-22616d0a.js +0 -111
  198. package/mwc-list-item-base-06d93e6e.js +0 -28
  199. package/mwc-list-item-base-3c6a3bfb.mjs +0 -202
  200. package/mwc-radio-base-147cf999.js +0 -101
  201. package/mwc-radio.css-4e140252.js +0 -5
  202. package/mwc-radio.css-7454bb11.mjs +0 -10
  203. package/python-6a1f2ad7.js +0 -6
  204. package/query-680f1868.js +0 -5
  205. package/query-d843aa92.mjs +0 -25
  206. package/textfield-83e78e56.js +0 -133
  207. package/textfield-853ebae5.mjs +0 -933
  208. package/typescript-98fbdb3d.js +0 -6
  209. /package/{_commonjsHelpers-2367a3a2.js → _commonjsHelpers-6jR-N8xe.js} +0 -0
  210. /package/{aria-property-fa2717fe.mjs → aria-property-6O5bK0tV.mjs} +0 -0
  211. /package/{aria-property-849c8816.js → aria-property-Dl2ZKBbP.js} +0 -0
  212. /package/{css-9be95551.js → css-Bn4le2Sp.js} +0 -0
  213. /package/{css-5dd354ac.mjs → css-DjwjINlv.mjs} +0 -0
  214. /package/{foundation-2334d146.mjs → foundation-PL3XY-m_.mjs} +0 -0
  215. /package/{foundation-e830bd94.js → foundation-pgmPu2iJ.js} +0 -0
  216. /package/{inert.esm-2cee6f2e.js → inert.esm-CNFtJ8pb.js} +0 -0
  217. /package/{keyboard-983b121c.mjs → keyboard-BLpVBEDM.mjs} +0 -0
  218. /package/{keyboard-39125691.js → keyboard-CZlaSOb1.js} +0 -0
  219. /package/{markdown-eae8e3ba.js → markdown-CrnizovQ.js} +0 -0
  220. /package/{markdown-9b448c46.mjs → markdown-bAu8rWEZ.mjs} +0 -0
  221. /package/{observer-be7b92e2.mjs → observer-DQ8OfVDQ.mjs} +0 -0
  222. /package/{observer-a096ab43.js → observer-N9cgkDqh.js} +0 -0
  223. /package/{property-9b6ea53b.mjs → property-DJzm_oB9.mjs} +0 -0
  224. /package/{property-57f6f6fe.js → property-DYTC_2-m.js} +0 -0
  225. /package/{query-assigned-elements-f623705d.js → query-assigned-elements-4CafVNR8.js} +0 -0
  226. /package/{r-42c6f0aa.js → r-DKABafMl.js} +0 -0
  227. /package/{r-630f5d6b.mjs → r-rF4J5dF2.mjs} +0 -0
  228. /package/{sql-63ec8e76.mjs → sql-CL8qgBkR.mjs} +0 -0
  229. /package/{sql-faf05577.js → sql-CXm05EUD.js} +0 -0
  230. /package/{tslib.es6-98719205.js → tslib.es6-CHeFCc6E.js} +0 -0
  231. /package/{utils-dc65fdc9.mjs → utils-Dr5MegQq.mjs} +0 -0
  232. /package/{utils-a8190a39.js → utils-wMBJ9n_n.js} +0 -0
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-4CafVNR8.js"),c=require("./chip-BsDYOEFW.js"),d=require("./tslib.es6-CHeFCc6E.js"),S=require("./foundation-pgmPu2iJ.js"),C=require("./keyboard-CZlaSOb1.js"),E=require("./property-DYTC_2-m.js"),N=require("./query-BxDs8ftQ.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 b;(function(a){a.POLITE="polite",a.ASSERTIVE="assertive"})(b||(b={}));var M="data-mdc-dom-announce";function D(a,i){T.getInstance().say(a,i)}var T=function(){function a(){this.liveRegions=new Map}return a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.prototype.say=function(i,e){var t,r,n=(t=e==null?void 0:e.priority)!==null&&t!==void 0?t:b.POLITE,o=(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document,h=this.getLiveRegion(n,o);h.textContent="",setTimeout(function(){h.textContent=i,o.addEventListener("click",s)},1);function s(){h.textContent="",o.removeEventListener("click",s)}},a.prototype.getLiveRegion=function(i,e){var t=this.liveRegions.get(e);t||(t=new Map,this.liveRegions.set(e,t));var r=t.get(i);if(r&&e.body.contains(r))return r;var n=this.createLiveRegion(i,e);return t.set(i,n),n},a.prototype.createLiveRegion=function(i,e){var t=e.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.overflow="hidden",t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live",i),t.setAttribute(M,"true"),e.body.appendChild(t),t},a}(),O=Object.defineProperty,L=Object.getOwnPropertyDescriptor,g=(a,i,e,t)=>{for(var r=t>1?void 0:t?L(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&&O(i,e,r),r};class A extends I.s{constructor(){super(...arguments),this.selectable=!1,this.multi=!1,this.label="",this.activeIndex=0,this._previousActiveIndex=-1,this.chips=[]}render(){return I.x`<span
64
+ */var b;(function(a){a.POLITE="polite",a.ASSERTIVE="assertive"})(b||(b={}));var M="data-mdc-dom-announce";function D(a,i){T.getInstance().say(a,i)}var T=function(){function a(){this.liveRegions=new Map}return a.getInstance=function(){return a.instance||(a.instance=new a),a.instance},a.prototype.say=function(i,e){var t,r,n=(t=e==null?void 0:e.priority)!==null&&t!==void 0?t:b.POLITE,o=(r=e==null?void 0:e.ownerDocument)!==null&&r!==void 0?r:document,h=this.getLiveRegion(n,o);h.textContent="",setTimeout(function(){h.textContent=i,o.addEventListener("click",s)},1);function s(){h.textContent="",o.removeEventListener("click",s)}},a.prototype.getLiveRegion=function(i,e){var t=this.liveRegions.get(e);t||(t=new Map,this.liveRegions.set(e,t));var r=t.get(i);if(r&&e.body.contains(r))return r;var n=this.createLiveRegion(i,e);return t.set(i,n),n},a.prototype.createLiveRegion=function(i,e){var t=e.createElement("div");return t.style.position="absolute",t.style.top="-9999px",t.style.left="-9999px",t.style.height="1px",t.style.overflow="hidden",t.setAttribute("aria-atomic","true"),t.setAttribute("aria-live",i),t.setAttribute(M,"true"),e.body.appendChild(t),t},a}(),O=Object.defineProperty,g=(a,i,e,t)=>{for(var r=void 0,n=a.length-1,o;n>=0;n--)(o=a[n])&&(r=o(i,e,r)||r);return r&&O(i,e,r),r};class A extends I.s{constructor(){super(...arguments),this.selectable=!1,this.multi=!1,this.label="",this.activeIndex=0,this._previousActiveIndex=-1,this.chips=[]}render(){return I.x`<span
65
65
  class="mdc-evolution-chip-set"
66
66
  role="${this.selectable||this.multi?"listbox":"grid"}"
67
67
  aria-label="${this.label}"
@@ -70,7 +70,6 @@
70
70
  <span class="mdc-evolution-chip-set__chips" role="presentation">
71
71
  <slot></slot>
72
72
  </span>
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
- `;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
- ${I.r(_)}
76
- `];exports.CovalentChipSet=P([I.e("cv-chip-set")],exports.CovalentChipSet);const q=exports.CovalentChipSet;exports.default=q;
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");g([E.n({type:Boolean,reflect:!0})],A.prototype,"selectable");g([E.n({type:Boolean,reflect:!0})],A.prototype,"multi");g([E.n()],A.prototype,"label");g([E.n({type:Number})],A.prototype,"activeIndex");const L=".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}";var _=Object.defineProperty,w=Object.getOwnPropertyDescriptor,B=(a,i,e,t)=>{for(var r=t>1?void 0:t?w(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&&_(i,e,r),r};exports.CovalentChipSet=class extends A{};exports.CovalentChipSet.styles=[I.i`
74
+ ${I.r(L)}
75
+ `];exports.CovalentChipSet=B([I.e("cv-chip-set")],exports.CovalentChipSet);const P=exports.CovalentChipSet;exports.default=P;
package/chip-set.mjs CHANGED
@@ -1,14 +1,10 @@
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";
3
- import { a as P, b as F, c as I } from "./tslib.es6-c4b0f3b1.mjs";
4
- import { M as B } from "./foundation-2334d146.mjs";
5
- import { K as l } from "./keyboard-983b121c.mjs";
6
- import { n as y } from "./property-9b6ea53b.mjs";
7
- import { i as U } from "./query-d843aa92.mjs";
8
- import "./utils-dc65fdc9.mjs";
9
- import "./class-map-6e504a9a.mjs";
10
- import "./directive-daf4e9b6.mjs";
11
- import "./_commonjsHelpers-2f131a27.mjs";
1
+ import { s as M, x as D, i as L, r as O, e as _ } from "./query-assigned-elements-DCt2xozt.mjs";
2
+ import { M as E, a as A, b as T, C as w, c as v } from "./chip-C8L37ovG.mjs";
3
+ import { a as P, b as F, c as I } from "./tslib.es6-pPsSiLLK.mjs";
4
+ import { M as B } from "./foundation-PL3XY-m_.mjs";
5
+ import { K as l } from "./keyboard-BLpVBEDM.mjs";
6
+ import { n as y } from "./property-DJzm_oB9.mjs";
7
+ import { i as U } from "./query-BBDQWsft.mjs";
12
8
  /**
13
9
  * @license
14
10
  * Copyright 2016 Google Inc.
@@ -120,28 +116,28 @@ var $ = (
120
116
  enumerable: !1,
121
117
  configurable: !0
122
118
  }), 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);
119
+ 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
120
  if (n === E.EXIT && o) {
125
- s && this.adapter.announceMessage(s), this.removeAfterAnimation(h, r);
121
+ s && this.adapter.announceMessage(s), this.removeAfterAnimation(p, r);
126
122
  return;
127
123
  }
128
- if (n === E.ENTER && o && p) {
129
- this.adapter.announceMessage(p);
124
+ if (n === E.ENTER && o && h) {
125
+ this.adapter.announceMessage(h);
130
126
  return;
131
127
  }
132
128
  }, 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);
129
+ 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
130
  if (s) {
135
- this.removeChip(h);
131
+ this.removeChip(p);
136
132
  return;
137
133
  }
138
- this.focusChip(h, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
139
- chipIndex: h,
134
+ this.focusChip(p, r, A.FOCUSABLE), this.adapter.emitEvent(f.INTERACTION, {
135
+ chipIndex: p,
140
136
  chipID: n
141
- }), o && this.setSelection(h, r, !p);
137
+ }), o && this.setSelection(p, r, !h);
142
138
  }, 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) {
139
+ 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;
140
+ if (p) {
145
141
  this.focusNextChipFrom(s + 1);
146
142
  return;
147
143
  }
@@ -151,37 +147,36 @@ var $ = (
151
147
  return;
152
148
  }
153
149
  if (n === l.ARROW_DOWN) {
154
- this.focusNextChipFrom(s + 1, p);
150
+ this.focusNextChipFrom(s + 1, h);
155
151
  return;
156
152
  }
157
153
  if (n === l.ARROW_UP) {
158
- this.focusPrevChipFrom(s - 1, p);
154
+ this.focusPrevChipFrom(s - 1, h);
159
155
  return;
160
156
  }
161
157
  if (n === l.HOME) {
162
- this.focusNextChipFrom(0, p);
158
+ this.focusNextChipFrom(0, h);
163
159
  return;
164
160
  }
165
161
  if (n === l.END) {
166
- this.focusPrevChipFrom(this.adapter.getChipCount() - 1, p);
162
+ this.focusPrevChipFrom(this.adapter.getChipCount() - 1, h);
167
163
  return;
168
164
  }
169
165
  }, i.prototype.getSelectedChipIndexes = function() {
170
166
  for (var t, e, r = /* @__PURE__ */ new Set(), n = this.adapter.getChipCount(), o = 0; o < n; o++) {
171
- var p = this.adapter.getChipActionsAtIndex(o);
167
+ var h = this.adapter.getChipActionsAtIndex(o);
172
168
  try {
173
- for (var s = (t = void 0, I(p)), h = s.next(); !h.done; h = s.next()) {
174
- var c = h.value;
169
+ for (var s = (t = void 0, I(h)), p = s.next(); !p.done; p = s.next()) {
170
+ var c = p.value;
175
171
  this.adapter.isChipSelectedAtIndex(o, c) && r.add(o);
176
172
  }
177
173
  } catch (u) {
178
174
  t = { error: u };
179
175
  } finally {
180
176
  try {
181
- h && !h.done && (e = s.return) && e.call(s);
177
+ p && !p.done && (e = s.return) && e.call(s);
182
178
  } finally {
183
- if (t)
184
- throw t.error;
179
+ if (t) throw t.error;
185
180
  }
186
181
  }
187
182
  }
@@ -220,48 +215,46 @@ var $ = (
220
215
  }, i.prototype.getFirstFocusableAction = function(t, e) {
221
216
  var r, n;
222
217
  try {
223
- for (var o = I(e), p = o.next(); !p.done; p = o.next()) {
224
- var s = p.value;
218
+ for (var o = I(e), h = o.next(); !h.done; h = o.next()) {
219
+ var s = h.value;
225
220
  if (this.adapter.isChipFocusableAtIndex(t, s))
226
221
  return s;
227
222
  }
228
- } catch (h) {
229
- r = { error: h };
223
+ } catch (p) {
224
+ r = { error: p };
230
225
  } finally {
231
226
  try {
232
- p && !p.done && (n = o.return) && n.call(o);
227
+ h && !h.done && (n = o.return) && n.call(o);
233
228
  } finally {
234
- if (r)
235
- throw r.error;
229
+ if (r) throw r.error;
236
230
  }
237
231
  }
238
232
  return null;
239
233
  }, i.prototype.getMatchingFocusableAction = function(t, e, r) {
240
- var n, o, p = null;
234
+ var n, o, h = null;
241
235
  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;
236
+ for (var s = I(e), p = s.next(); !p.done; p = s.next()) {
237
+ var c = p.value;
238
+ if (this.adapter.isChipFocusableAtIndex(t, c) && (h = c), h === r)
239
+ return h;
246
240
  }
247
241
  } catch (u) {
248
242
  n = { error: u };
249
243
  } finally {
250
244
  try {
251
- h && !h.done && (o = s.return) && o.call(s);
245
+ p && !p.done && (o = s.return) && o.call(s);
252
246
  } finally {
253
- if (n)
254
- throw n.error;
247
+ if (n) throw n.error;
255
248
  }
256
249
  }
257
- return p;
250
+ return h;
258
251
  }, i.prototype.focusChip = function(t, e, r) {
259
252
  var n, o;
260
253
  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);
254
+ for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
255
+ var p = this.adapter.getChipActionsAtIndex(s);
263
256
  try {
264
- for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
257
+ for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
265
258
  var m = u.value;
266
259
  m === e && s === t || this.adapter.setChipFocusAtIndex(s, m, A.NOT_FOCUSABLE);
267
260
  }
@@ -271,8 +264,7 @@ var $ = (
271
264
  try {
272
265
  u && !u.done && (o = c.return) && o.call(c);
273
266
  } finally {
274
- if (n)
275
- throw n.error;
267
+ if (n) throw n.error;
276
268
  }
277
269
  }
278
270
  }
@@ -285,10 +277,10 @@ var $ = (
285
277
  chipIndex: t,
286
278
  isSelected: r
287
279
  }), !this.supportsMultiSelect())
288
- for (var p = this.adapter.getChipCount(), s = 0; s < p; s++) {
289
- var h = this.adapter.getChipActionsAtIndex(s);
280
+ for (var h = this.adapter.getChipCount(), s = 0; s < h; s++) {
281
+ var p = this.adapter.getChipActionsAtIndex(s);
290
282
  try {
291
- for (var c = (n = void 0, I(h)), u = c.next(); !u.done; u = c.next()) {
283
+ for (var c = (n = void 0, I(p)), u = c.next(); !u.done; u = c.next()) {
292
284
  var m = u.value;
293
285
  m === e && s === t || this.adapter.setChipSelectedAtIndex(s, m, !1);
294
286
  }
@@ -298,8 +290,7 @@ var $ = (
298
290
  try {
299
291
  u && !u.done && (o = c.return) && o.call(c);
300
292
  } finally {
301
- if (n)
302
- throw n.error;
293
+ if (n) throw n.error;
303
294
  }
304
295
  }
305
296
  }
@@ -365,9 +356,9 @@ var R;
365
356
  })(R || (R = {}));
366
357
  var W = "data-mdc-dom-announce";
367
358
  function V(a, i) {
368
- j.getInstance().say(a, i);
359
+ G.getInstance().say(a, i);
369
360
  }
370
- var j = (
361
+ var G = (
371
362
  /** @class */
372
363
  function() {
373
364
  function a() {
@@ -376,12 +367,12 @@ var j = (
376
367
  return a.getInstance = function() {
377
368
  return a.instance || (a.instance = new a()), a.instance;
378
369
  }, 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);
370
+ 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);
371
+ h.textContent = "", setTimeout(function() {
372
+ h.textContent = i, o.addEventListener("click", s);
382
373
  }, 1);
383
374
  function s() {
384
- p.textContent = "", o.removeEventListener("click", s);
375
+ h.textContent = "", o.removeEventListener("click", s);
385
376
  }
386
377
  }, a.prototype.getLiveRegion = function(i, t) {
387
378
  var e = this.liveRegions.get(t);
@@ -396,10 +387,10 @@ var j = (
396
387
  return e.style.position = "absolute", e.style.top = "-9999px", e.style.left = "-9999px", e.style.height = "1px", e.style.overflow = "hidden", e.setAttribute("aria-atomic", "true"), e.setAttribute("aria-live", i), e.setAttribute(W, "true"), t.body.appendChild(e), e;
397
388
  }, a;
398
389
  }()
399
- ), G = Object.defineProperty, H = Object.getOwnPropertyDescriptor, g = (a, i, t, e) => {
400
- for (var r = e > 1 ? void 0 : e ? H(i, t) : i, n = a.length - 1, o; n >= 0; n--)
401
- (o = a[n]) && (r = (e ? o(i, t, r) : o(r)) || r);
402
- return e && r && G(i, t, r), r;
390
+ ), j = Object.defineProperty, g = (a, i, t, e) => {
391
+ for (var r = void 0, n = a.length - 1, o; n >= 0; n--)
392
+ (o = a[n]) && (r = o(i, t, r) || r);
393
+ return r && j(i, t, r), r;
403
394
  };
404
395
  class C extends M {
405
396
  constructor() {
@@ -498,38 +489,37 @@ class C extends M {
498
489
  }
499
490
  g([
500
491
  U(".mdc-evolution-chip-set")
501
- ], C.prototype, "mdcRoot", 2);
492
+ ], C.prototype, "mdcRoot");
502
493
  g([
503
494
  y({ type: Boolean, reflect: !0 })
504
- ], C.prototype, "selectable", 2);
495
+ ], C.prototype, "selectable");
505
496
  g([
506
497
  y({ type: Boolean, reflect: !0 })
507
- ], C.prototype, "multi", 2);
498
+ ], C.prototype, "multi");
508
499
  g([
509
500
  y()
510
- ], C.prototype, "label", 2);
501
+ ], C.prototype, "label");
511
502
  g([
512
503
  y({ type: Number })
513
- ], C.prototype, "activeIndex", 2);
514
- const K = `.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}
515
- `;
516
- var X = Object.defineProperty, Y = Object.getOwnPropertyDescriptor, q = (a, i, t, e) => {
517
- for (var r = e > 1 ? void 0 : e ? Y(i, t) : i, n = a.length - 1, o; n >= 0; n--)
504
+ ], C.prototype, "activeIndex");
505
+ const H = ".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}";
506
+ var k = Object.defineProperty, K = Object.getOwnPropertyDescriptor, X = (a, i, t, e) => {
507
+ for (var r = e > 1 ? void 0 : e ? K(i, t) : i, n = a.length - 1, o; n >= 0; n--)
518
508
  (o = a[n]) && (r = (e ? o(i, t, r) : o(r)) || r);
519
- return e && r && X(i, t, r), r;
509
+ return e && r && k(i, t, r), r;
520
510
  };
521
511
  let x = class extends C {
522
512
  };
523
513
  x.styles = [
524
- O`
525
- ${L(K)}
514
+ L`
515
+ ${O(H)}
526
516
  `
527
517
  ];
528
- x = q([
518
+ x = X([
529
519
  _("cv-chip-set")
530
520
  ], x);
531
- const at = x;
521
+ const et = x;
532
522
  export {
533
523
  x as CovalentChipSet,
534
- at as default
524
+ et as default
535
525
  };
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-4CafVNR8.js");const e=require("./chip-BsDYOEFW.js");Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>e.CovalentChip});exports.default=e.CovalentChip$1;
package/chip.mjs CHANGED
@@ -1,15 +1,6 @@
1
- import "./query-assigned-elements-4a39219d.mjs";
2
- import { C as s, d as h } from "./chip-fb0ea5c5.mjs";
3
- import "./utils-dc65fdc9.mjs";
4
- import "./tslib.es6-c4b0f3b1.mjs";
5
- import "./keyboard-983b121c.mjs";
6
- import "./foundation-2334d146.mjs";
7
- import "./property-9b6ea53b.mjs";
8
- import "./query-d843aa92.mjs";
9
- import "./class-map-6e504a9a.mjs";
10
- import "./directive-daf4e9b6.mjs";
11
- import "./_commonjsHelpers-2f131a27.mjs";
1
+ import "./query-assigned-elements-DCt2xozt.mjs";
2
+ import { C as e, d as p } from "./chip-C8L37ovG.mjs";
12
3
  export {
13
- s as CovalentChip,
14
- h as default
4
+ e as CovalentChip,
5
+ p as default
15
6
  };
@@ -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-CHeFCc6E.js"),m=require("./aria-property-Dl2ZKBbP.js"),a=require("./query-assigned-elements-4CafVNR8.js"),d=require("./property-DYTC_2-m.js"),g=require("./class-map-C8G1ALWK.js"),p=require("./if-defined-D8C6ewRn.js"),u=require("./style-map-BJBXlSqn.js");/**
2
2
  * @license
3
3
  * Copyright 2020 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
@@ -1,11 +1,10 @@
1
- import { _ as o } from "./tslib.es6-c4b0f3b1.mjs";
2
- import { a as g } from "./aria-property-fa2717fe.mjs";
3
- import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-4a39219d.mjs";
4
- import { n } from "./property-9b6ea53b.mjs";
5
- import { o as _ } from "./class-map-6e504a9a.mjs";
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";
1
+ import { _ as o } from "./tslib.es6-pPsSiLLK.mjs";
2
+ import { a as g } from "./aria-property-6O5bK0tV.mjs";
3
+ import { s as u, x as d, i as h, e as f } from "./query-assigned-elements-DCt2xozt.mjs";
4
+ import { n } from "./property-DJzm_oB9.mjs";
5
+ import { o as _ } from "./class-map-C1SJpero.mjs";
6
+ import { l as m } from "./if-defined-BsNkRMMG.mjs";
7
+ import { o as y } from "./style-map-CCsABR5m.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
  };
@@ -1,5 +1,5 @@
1
- import { T as a } from "./query-assigned-elements-4a39219d.mjs";
2
- import { e as d, i as h, t as l } from "./directive-daf4e9b6.mjs";
1
+ import { T as a } from "./query-assigned-elements-DCt2xozt.mjs";
2
+ import { e as d, i as h, t as l } from "./directive-oAbCiebi.mjs";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2018 Google LLC
@@ -8,8 +8,7 @@ import { e as d, i as h, t as l } from "./directive-daf4e9b6.mjs";
8
8
  const v = d(class extends h {
9
9
  constructor(e) {
10
10
  var i;
11
- if (super(e), e.type !== l.ATTRIBUTE || e.name !== "class" || ((i = e.strings) === null || i === void 0 ? void 0 : i.length) > 2)
12
- throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
11
+ if (super(e), e.type !== l.ATTRIBUTE || e.name !== "class" || ((i = e.strings) === null || i === void 0 ? void 0 : i.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
13
12
  }
14
13
  render(e) {
15
14
  return " " + Object.keys(e).filter((i) => e[i]).join(" ") + " ";
@@ -18,8 +17,7 @@ const v = d(class extends h {
18
17
  var s, r;
19
18
  if (this.it === void 0) {
20
19
  this.it = /* @__PURE__ */ new Set(), e.strings !== void 0 && (this.nt = new Set(e.strings.join(" ").split(/\s/).filter((t) => t !== "")));
21
- for (const t in i)
22
- i[t] && !(!((s = this.nt) === null || s === void 0) && s.has(t)) && this.it.add(t);
20
+ for (const t in i) i[t] && !(!((s = this.nt) === null || s === void 0) && s.has(t)) && this.it.add(t);
23
21
  return this.render(i);
24
22
  }
25
23
  const n = e.element.classList;
@@ -1,4 +1,4 @@
1
- "use strict";const a=require("./query-assigned-elements-f623705d.js"),o=require("./directive-1186bc23.js");/**
1
+ "use strict";const a=require("./query-assigned-elements-4CafVNR8.js"),o=require("./directive-C7oCP5Bh.js");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: BSD-3-Clause