@covalent/components 6.2.0 → 6.2.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 (190) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +30 -35
  3. package/alert.js +6 -6
  4. package/alert.mjs +14 -19
  5. package/app-shell/app-shell.d.ts +2 -0
  6. package/app-shell/app-shell.d.ts.map +1 -1
  7. package/app-shell.js +8 -8
  8. package/app-shell.mjs +44 -42
  9. package/button.js +9 -9
  10. package/button.mjs +16 -25
  11. package/card.js +8 -8
  12. package/card.mjs +15 -17
  13. package/check-list-item.js +9 -9
  14. package/check-list-item.mjs +17 -26
  15. package/checkbox.js +2 -2
  16. package/checkbox.mjs +20 -29
  17. package/circular-progress.js +29 -29
  18. package/circular-progress.mjs +10 -14
  19. package/code-snippet.js +9 -9
  20. package/code-snippet.mjs +7 -10
  21. package/dialog.js +1 -1
  22. package/dialog.mjs +162 -14
  23. package/{dialog-85c21333.mjs → dialog2.mjs} +50 -56
  24. package/directive-helpers.mjs +5 -0
  25. package/drawer.js +3 -3
  26. package/drawer.mjs +9 -15
  27. package/empty-state.js +5 -5
  28. package/empty-state.mjs +4 -6
  29. package/{form-element-d4e7bcdb.js → form-element.mjs} +2 -2
  30. package/{foundation-3f55a9dc.js → foundation.mjs} +3 -3
  31. package/icon-button.js +8 -8
  32. package/icon-button.mjs +16 -25
  33. package/icon-check-toggle.js +9 -9
  34. package/icon-check-toggle.mjs +11 -20
  35. package/icon-radio/icon-radio-toggle.d.ts +2 -3
  36. package/icon-radio/icon-radio-toggle.d.ts.map +1 -1
  37. package/icon-radio-toggle.js +8 -14
  38. package/icon-radio-toggle.mjs +37 -64
  39. package/icon.js +2 -2
  40. package/icon.mjs +8 -9
  41. package/if-defined.mjs +5 -0
  42. package/index.js +1 -1
  43. package/index.mjs +114 -124
  44. package/linear-progress.js +12 -12
  45. package/linear-progress.mjs +17 -23
  46. package/list/list-expansion.d.ts +3 -2
  47. package/list/list-expansion.d.ts.map +1 -1
  48. package/list/list-item.d.ts.map +1 -1
  49. package/list/list.d.ts +5 -0
  50. package/list/list.d.ts.map +1 -1
  51. package/list-expansion.js +8 -8
  52. package/list-expansion.mjs +37 -41
  53. package/list-item.js +1 -1
  54. package/list-item.mjs +9 -18
  55. package/list-item2.mjs +43 -0
  56. package/list.js +1 -1
  57. package/list.mjs +5 -20
  58. package/{list-28b77a61.mjs → list2.mjs} +35 -16
  59. package/menu.js +2 -2
  60. package/menu.mjs +20 -29
  61. package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base.mjs} +6 -6
  62. package/mwc-checkbox.css.mjs +5 -0
  63. package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base.mjs} +11 -11
  64. package/mwc-icon.mjs +9 -0
  65. package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive.mjs} +16 -16
  66. package/mwc-list-base.mjs +111 -0
  67. package/mwc-list-item-base.mjs +28 -0
  68. package/mwc-list-item.css.mjs +9 -0
  69. package/{mwc-menu-base-ac49fe54.js → mwc-menu-base.mjs} +20 -20
  70. package/{mwc-radio-base-442d495a.js → mwc-radio-base.mjs} +11 -11
  71. package/mwc-radio.css.mjs +5 -0
  72. package/mwc-ripple.mjs +175 -0
  73. package/{mwc-slider.css-48f02f1e.js → mwc-slider.css.mjs} +20 -20
  74. package/{mwc-tab-base-1a19b299.js → mwc-tab-base.mjs} +22 -22
  75. package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base.mjs} +10 -10
  76. package/nav-list-item.js +10 -10
  77. package/nav-list-item.mjs +28 -36
  78. package/{observer-a096ab43.js → observer.mjs} +1 -1
  79. package/package.json +1 -1
  80. package/radio-list-item.js +10 -10
  81. package/radio-list-item.mjs +24 -33
  82. package/radio.js +2 -2
  83. package/radio.mjs +19 -28
  84. package/ripple-handlers.mjs +5 -0
  85. package/select.js +28 -28
  86. package/select.mjs +21 -31
  87. package/side-sheet.js +4 -4
  88. package/side-sheet.mjs +8 -14
  89. package/slider-range.js +7 -7
  90. package/slider-range.mjs +64 -72
  91. package/slider.js +3 -3
  92. package/slider.mjs +21 -29
  93. package/snackbar.js +15 -15
  94. package/snackbar.mjs +21 -27
  95. package/status-header-item.js +4 -4
  96. package/status-header-item.mjs +13 -14
  97. package/status-header.js +6 -6
  98. package/status-header.mjs +7 -9
  99. package/style.css +1 -1
  100. package/switch.js +18 -18
  101. package/switch.mjs +22 -31
  102. package/tab-bar.js +21 -21
  103. package/tab-bar.mjs +14 -23
  104. package/tab.js +3 -3
  105. package/tab.mjs +6 -15
  106. package/text-lockup.js +5 -5
  107. package/text-lockup.mjs +6 -8
  108. package/textarea.js +14 -14
  109. package/textarea.mjs +20 -28
  110. package/textfield.js +3 -3
  111. package/textfield.mjs +132 -41
  112. package/{textfield-276b0ded.mjs → textfield2.mjs} +21 -28
  113. package/toolbar.js +3 -3
  114. package/toolbar.mjs +4 -10
  115. package/tooltip.js +12 -12
  116. package/tooltip.mjs +9 -13
  117. package/top-app-bar-fixed.js +5 -5
  118. package/top-app-bar-fixed.mjs +23 -29
  119. package/top-app-bar.js +3 -3
  120. package/top-app-bar.mjs +6 -30
  121. package/{top-app-bar-a236c3bc.mjs → top-app-bar2.mjs} +1 -1
  122. package/tree-list-item.js +8 -8
  123. package/tree-list-item.mjs +3 -5
  124. package/tree-list.js +3 -3
  125. package/tree-list.mjs +4 -4
  126. package/typography.js +4 -4
  127. package/typography.mjs +11 -12
  128. package/aria-property-fa2717fe.mjs +0 -41
  129. package/base-element-c3dc926e.mjs +0 -28
  130. package/base-element-d5abe37a.js +0 -5
  131. package/class-map-08c84aeb.mjs +0 -62
  132. package/class-map-50b8edb4.js +0 -9
  133. package/dialog-8ee07177.js +0 -162
  134. package/directive-helpers-725a181d.mjs +0 -11
  135. package/directive-helpers-fce8cf91.js +0 -5
  136. package/event-options-3937d997.mjs +0 -14
  137. package/event-options-7bc382d8.js +0 -5
  138. package/form-element-6dbd7afa.mjs +0 -50
  139. package/foundation-2334d146.mjs +0 -60
  140. package/foundation-c580100a.mjs +0 -152
  141. package/if-defined-639ed018.mjs +0 -10
  142. package/if-defined-cb12d481.js +0 -5
  143. package/inert.esm-359d4581.mjs +0 -640
  144. package/list-170cca53.js +0 -5
  145. package/list-item-26ddcc43.js +0 -8
  146. package/list-item-c1e72538.mjs +0 -43
  147. package/mwc-checkbox-base-10e977f2.mjs +0 -198
  148. package/mwc-checkbox.css-956e3d6c.js +0 -5
  149. package/mwc-checkbox.css-b7abc7fd.mjs +0 -10
  150. package/mwc-drawer-base-b2b772c3.mjs +0 -335
  151. package/mwc-icon-b96fb867.js +0 -9
  152. package/mwc-icon-c7013880.mjs +0 -26
  153. package/mwc-line-ripple-directive-c3e1f04a.mjs +0 -653
  154. package/mwc-list-base-7d5f7278.js +0 -111
  155. package/mwc-list-base-c0f8af1c.mjs +0 -840
  156. package/mwc-list-item-base-803b9771.js +0 -28
  157. package/mwc-list-item-base-acef0223.mjs +0 -202
  158. package/mwc-list-item.css-401e2407.js +0 -9
  159. package/mwc-list-item.css-b5481d96.mjs +0 -17
  160. package/mwc-menu-base-8970b43d.mjs +0 -1145
  161. package/mwc-radio-base-c29e6f42.mjs +0 -528
  162. package/mwc-radio.css-388ad26d.js +0 -5
  163. package/mwc-radio.css-4694aa9c.mjs +0 -10
  164. package/mwc-slider.css-336f809b.mjs +0 -956
  165. package/mwc-tab-base-7fb3d339.mjs +0 -694
  166. package/mwc-top-app-bar-base-79c87e69.mjs +0 -380
  167. package/observer-be7b92e2.mjs +0 -32
  168. package/property-074570d1.js +0 -5
  169. package/property-ca27685b.mjs +0 -20
  170. package/query-1e7846ea.mjs +0 -25
  171. package/query-2ba749b7.js +0 -5
  172. package/query-assigned-elements-07e38f46.js +0 -33
  173. package/query-assigned-elements-514e5265.mjs +0 -615
  174. package/query-assigned-nodes-9ec0fa5f.js +0 -5
  175. package/query-assigned-nodes-bea12e0c.mjs +0 -17
  176. package/ripple-handlers-2176f137.js +0 -107
  177. package/ripple-handlers-227497d3.mjs +0 -761
  178. package/state-6f7e570d.mjs +0 -12
  179. package/state-949232e6.js +0 -5
  180. package/style-map-2cb0fb63.mjs +0 -40
  181. package/style-map-3056a771.js +0 -5
  182. package/textfield-507c6a06.js +0 -133
  183. package/top-app-bar-34e85527.js +0 -6
  184. package/tslib.es6-6b53b818.js +0 -1
  185. package/tslib.es6-b5e819a6.mjs +0 -82
  186. package/utils-a8190a39.js +0 -5
  187. package/utils-dc65fdc9.mjs +0 -52
  188. /package/{aria-property-849c8816.js → aria-property.mjs} +0 -0
  189. /package/{foundation-e830bd94.js → foundation2.mjs} +0 -0
  190. /package/{inert.esm-2cee6f2e.js → inert.esm.mjs} +0 -0
@@ -1,36 +1,36 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const o=require("./query-assigned-elements-07e38f46.js"),a=require("./tslib.es6-6b53b818.js"),f=require("./aria-property-849c8816.js"),l=require("./property-074570d1.js"),t=require("./state-949232e6.js"),y=require("./query-2ba749b7.js"),u=require("./class-map-50b8edb4.js"),p=require("./if-defined-cb12d481.js"),g=require("./style-map-3056a771.js");/**
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./mwc-ripple.mjs"),c=require("./aria-property.mjs"),d=require("./if-defined.mjs");/**
2
2
  * @license
3
3
  * Copyright 2018 Google LLC
4
4
  * SPDX-License-Identifier: Apache-2.0
5
- */class e extends o.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const r={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return o.y`
5
+ */class a extends r.s{constructor(){super(...arguments),this.indeterminate=!1,this.progress=0,this.buffer=1,this.reverse=!1,this.closed=!1,this.stylePrimaryHalf="",this.stylePrimaryFull="",this.styleSecondaryQuarter="",this.styleSecondaryHalf="",this.styleSecondaryFull="",this.animationReady=!0,this.closedAnimationOff=!1,this.resizeObserver=null}connectedCallback(){super.connectedCallback(),this.rootEl&&this.attachResizeObserver()}render(){const e={"mdc-linear-progress--closed":this.closed,"mdc-linear-progress--closed-animation-off":this.closedAnimationOff,"mdc-linear-progress--indeterminate":this.indeterminate,"mdc-linear-progress--animation-ready":this.animationReady},i={"--mdc-linear-progress-primary-half":this.stylePrimaryHalf,"--mdc-linear-progress-primary-half-neg":this.stylePrimaryHalf!==""?`-${this.stylePrimaryHalf}`:"","--mdc-linear-progress-primary-full":this.stylePrimaryFull,"--mdc-linear-progress-primary-full-neg":this.stylePrimaryFull!==""?`-${this.stylePrimaryFull}`:"","--mdc-linear-progress-secondary-quarter":this.styleSecondaryQuarter,"--mdc-linear-progress-secondary-quarter-neg":this.styleSecondaryQuarter!==""?`-${this.styleSecondaryQuarter}`:"","--mdc-linear-progress-secondary-half":this.styleSecondaryHalf,"--mdc-linear-progress-secondary-half-neg":this.styleSecondaryHalf!==""?`-${this.styleSecondaryHalf}`:"","--mdc-linear-progress-secondary-full":this.styleSecondaryFull,"--mdc-linear-progress-secondary-full-neg":this.styleSecondaryFull!==""?`-${this.styleSecondaryFull}`:""},n={"flex-basis":this.indeterminate?"100%":`${this.buffer*100}%`},s={transform:this.indeterminate?"scaleX(1)":`scaleX(${this.progress})`};return r.y`
6
6
  <div
7
7
  role="progressbar"
8
- class="mdc-linear-progress ${u.o(r)}"
9
- style="${g.i(i)}"
10
- dir="${p.l(this.reverse?"rtl":void 0)}"
11
- aria-label="${p.l(this.ariaLabel)}"
8
+ class="mdc-linear-progress ${r.o(e)}"
9
+ style="${r.i$2(i)}"
10
+ dir="${d.l(this.reverse?"rtl":void 0)}"
11
+ aria-label="${d.l(this.ariaLabel)}"
12
12
  aria-valuemin="0"
13
13
  aria-valuemax="1"
14
- aria-valuenow="${p.l(this.indeterminate?void 0:this.progress)}"
14
+ aria-valuenow="${d.l(this.indeterminate?void 0:this.progress)}"
15
15
  @transitionend="${this.syncClosedState}">
16
16
  <div class="mdc-linear-progress__buffer">
17
17
  <div
18
18
  class="mdc-linear-progress__buffer-bar"
19
- style=${g.i(n)}>
19
+ style=${r.i$2(n)}>
20
20
  </div>
21
21
  <div class="mdc-linear-progress__buffer-dots"></div>
22
22
  </div>
23
23
  <div
24
24
  class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"
25
- style=${g.i(s)}>
25
+ style=${r.i$2(s)}>
26
26
  <span class="mdc-linear-progress__bar-inner"></span>
27
27
  </div>
28
28
  <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
29
29
  <span class="mdc-linear-progress__bar-inner"></span>
30
30
  </div>
31
- </div>`}update(r){r.has("closed")&&(!this.closed||r.get("closed")===void 0)&&this.syncClosedState(),super.update(r)}async firstUpdated(r){super.firstUpdated(r),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(r){!r.has("indeterminate")&&r.has("reverse")&&this.indeterminate&&this.restartAnimation(),r.has("indeterminate")&&r.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(r)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(r=>{if(this.indeterminate){for(const i of r)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(r){const i=r*.8367142,n=r*2.00611057,s=r*.37651913,c=r*.84386165,d=r*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${c}px`,this.styleSecondaryFull=`${d}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}a.__decorate([y.i(".mdc-linear-progress")],e.prototype,"rootEl",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"indeterminate",void 0);a.__decorate([l.e({type:Number})],e.prototype,"progress",void 0);a.__decorate([l.e({type:Number})],e.prototype,"buffer",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"reverse",void 0);a.__decorate([l.e({type:Boolean,reflect:!0})],e.prototype,"closed",void 0);a.__decorate([f.ariaProperty,l.e({attribute:"aria-label"})],e.prototype,"ariaLabel",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryHalf",void 0);a.__decorate([t.t()],e.prototype,"stylePrimaryFull",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryQuarter",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryHalf",void 0);a.__decorate([t.t()],e.prototype,"styleSecondaryFull",void 0);a.__decorate([t.t()],e.prototype,"animationReady",void 0);a.__decorate([t.t()],e.prototype,"closedAnimationOff",void 0);/**
31
+ </div>`}update(e){e.has("closed")&&(!this.closed||e.get("closed")===void 0)&&this.syncClosedState(),super.update(e)}async firstUpdated(e){super.firstUpdated(e),this.attachResizeObserver()}syncClosedState(){this.closedAnimationOff=this.closed}updated(e){!e.has("indeterminate")&&e.has("reverse")&&this.indeterminate&&this.restartAnimation(),e.has("indeterminate")&&e.get("indeterminate")!==void 0&&this.indeterminate&&window.ResizeObserver&&this.calculateAndSetAnimationDimensions(this.rootEl.offsetWidth),super.updated(e)}disconnectedCallback(){this.resizeObserver&&(this.resizeObserver.disconnect(),this.resizeObserver=null),super.disconnectedCallback()}attachResizeObserver(){if(window.ResizeObserver){this.resizeObserver=new window.ResizeObserver(e=>{if(this.indeterminate){for(const i of e)if(i.contentRect){const n=i.contentRect.width;this.calculateAndSetAnimationDimensions(n)}}}),this.resizeObserver.observe(this.rootEl);return}this.resizeObserver=null}calculateAndSetAnimationDimensions(e){const i=e*.8367142,n=e*2.00611057,s=e*.37651913,t=e*.84386165,o=e*1.60277782;this.stylePrimaryHalf=`${i}px`,this.stylePrimaryFull=`${n}px`,this.styleSecondaryQuarter=`${s}px`,this.styleSecondaryHalf=`${t}px`,this.styleSecondaryFull=`${o}px`,this.restartAnimation()}async restartAnimation(){this.animationReady=!1,await this.updateComplete,await new Promise(requestAnimationFrame),this.animationReady=!0,await this.updateComplete}open(){this.closed=!1}close(){this.closed=!0}}r.__decorate([r.i(".mdc-linear-progress")],a.prototype,"rootEl",void 0);r.__decorate([r.e({type:Boolean,reflect:!0})],a.prototype,"indeterminate",void 0);r.__decorate([r.e({type:Number})],a.prototype,"progress",void 0);r.__decorate([r.e({type:Number})],a.prototype,"buffer",void 0);r.__decorate([r.e({type:Boolean,reflect:!0})],a.prototype,"reverse",void 0);r.__decorate([r.e({type:Boolean,reflect:!0})],a.prototype,"closed",void 0);r.__decorate([c.ariaProperty,r.e({attribute:"aria-label"})],a.prototype,"ariaLabel",void 0);r.__decorate([r.t()],a.prototype,"stylePrimaryHalf",void 0);r.__decorate([r.t()],a.prototype,"stylePrimaryFull",void 0);r.__decorate([r.t()],a.prototype,"styleSecondaryQuarter",void 0);r.__decorate([r.t()],a.prototype,"styleSecondaryHalf",void 0);r.__decorate([r.t()],a.prototype,"styleSecondaryFull",void 0);r.__decorate([r.t()],a.prototype,"animationReady",void 0);r.__decorate([r.t()],a.prototype,"closedAnimationOff",void 0);/**
32
32
  * @license
33
33
  * Copyright 2021 Google LLC
34
34
  * SPDX-LIcense-Identifier: Apache-2.0
35
- */const b=o.i`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%);transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{transform:translateX(200.611057%);transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%);transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(160.277782%);transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%);transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{transform:translateX(-200.611057%);transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(-160.277782%);transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid transparent;overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}.mdc-linear-progress__bar-inner{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:4px}.mdc-linear-progress__bar-inner{border-top-width:4px}.mdc-linear-progress__buffer-dots{background-size:10px 4px}:host{display:block}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6;background-color:var(--mdc-linear-progress-buffer-color, #e6e6e6)}.mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E");background-image:var(--mdc-linear-progress-buffering-dots-image, url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E"))}`,_=`:host{--mdc-linear-progress-buffer-color: var(--mdc-theme-border)}
36
- `;var v=Object.defineProperty,h=Object.getOwnPropertyDescriptor,x=(m,r,i,n)=>{for(var s=n>1?void 0:n?h(r,i):r,c=m.length-1,d;c>=0;c--)(d=m[c])&&(s=(n?d(r,i,s):d(s))||s);return n&&s&&v(r,i,s),s};exports.CovalentLinearProgress=class extends e{};exports.CovalentLinearProgress.styles=[b,o.i`${o.r(_)}`];exports.CovalentLinearProgress=x([o.e("cv-linear-progress")],exports.CovalentLinearProgress);const w=exports.CovalentLinearProgress;exports.default=w;
35
+ */const m=r.i$1`@keyframes mdc-linear-progress-primary-indeterminate-translate{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(83.67142%);transform:translateX(var(--mdc-linear-progress-primary-half, 83.67142%))}100%{transform:translateX(200.611057%);transform:translateX(var(--mdc-linear-progress-primary-full, 200.611057%))}}@keyframes mdc-linear-progress-primary-indeterminate-scale{0%{transform:scaleX(0.08)}36.65%{animation-timing-function:cubic-bezier(0.334731, 0.12482, 0.785844, 1);transform:scaleX(0.08)}69.15%{animation-timing-function:cubic-bezier(0.06, 0.11, 0.6, 1);transform:scaleX(0.661479)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-secondary-indeterminate-translate{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(37.651913%);transform:translateX(var(--mdc-linear-progress-secondary-quarter, 37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(84.386165%);transform:translateX(var(--mdc-linear-progress-secondary-half, 84.386165%))}100%{transform:translateX(160.277782%);transform:translateX(var(--mdc-linear-progress-secondary-full, 160.277782%))}}@keyframes mdc-linear-progress-secondary-indeterminate-scale{0%{animation-timing-function:cubic-bezier(0.205028, 0.057051, 0.57661, 0.453971);transform:scaleX(0.08)}19.15%{animation-timing-function:cubic-bezier(0.152313, 0.196432, 0.648374, 1.004315);transform:scaleX(0.457104)}44.15%{animation-timing-function:cubic-bezier(0.257759, -0.003163, 0.211762, 1.38179);transform:scaleX(0.72796)}100%{transform:scaleX(0.08)}}@keyframes mdc-linear-progress-buffering{from{transform:rotate(180deg) translateX(-10px)}}@keyframes mdc-linear-progress-primary-indeterminate-translate-reverse{0%{transform:translateX(0)}20%{animation-timing-function:cubic-bezier(0.5, 0, 0.701732, 0.495819);transform:translateX(0)}59.15%{animation-timing-function:cubic-bezier(0.302435, 0.381352, 0.55, 0.956352);transform:translateX(-83.67142%);transform:translateX(var(--mdc-linear-progress-primary-half-neg, -83.67142%))}100%{transform:translateX(-200.611057%);transform:translateX(var(--mdc-linear-progress-primary-full-neg, -200.611057%))}}@keyframes mdc-linear-progress-secondary-indeterminate-translate-reverse{0%{animation-timing-function:cubic-bezier(0.15, 0, 0.515058, 0.409685);transform:translateX(0)}25%{animation-timing-function:cubic-bezier(0.31033, 0.284058, 0.8, 0.733712);transform:translateX(-37.651913%);transform:translateX(var(--mdc-linear-progress-secondary-quarter-neg, -37.651913%))}48.35%{animation-timing-function:cubic-bezier(0.4, 0.627035, 0.6, 0.902026);transform:translateX(-84.386165%);transform:translateX(var(--mdc-linear-progress-secondary-half-neg, -84.386165%))}100%{transform:translateX(-160.277782%);transform:translateX(var(--mdc-linear-progress-secondary-full-neg, -160.277782%))}}@keyframes mdc-linear-progress-buffering-reverse{from{transform:translateX(-10px)}}.mdc-linear-progress{position:relative;width:100%;transform:translateZ(0);outline:1px solid transparent;overflow:hidden;transition:opacity 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}@media screen and (forced-colors: active){.mdc-linear-progress{outline-color:CanvasText}}.mdc-linear-progress__bar{position:absolute;width:100%;height:100%;animation:none;transform-origin:top left;transition:transform 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__bar-inner{display:inline-block;position:absolute;width:100%;animation:none;border-top-style:solid}.mdc-linear-progress__buffer{display:flex;position:absolute;width:100%;height:100%}.mdc-linear-progress__buffer-dots{background-repeat:repeat-x;flex:auto;transform:rotate(180deg);animation:mdc-linear-progress-buffering 250ms infinite linear}.mdc-linear-progress__buffer-bar{flex:0 1 100%;transition:flex-basis 250ms 0ms cubic-bezier(0.4, 0, 0.6, 1)}.mdc-linear-progress__primary-bar{transform:scaleX(0)}.mdc-linear-progress__secondary-bar{display:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__bar{transition:none}.mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{left:-145.166611%}.mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{left:-54.888891%;display:block}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation:mdc-linear-progress-primary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-primary-indeterminate-scale 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation:mdc-linear-progress-secondary-indeterminate-translate 2s infinite linear}.mdc-linear-progress--indeterminate.mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar>.mdc-linear-progress__bar-inner{animation:mdc-linear-progress-secondary-indeterminate-scale 2s infinite linear}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__bar{right:0;-webkit-transform-origin:center right;transform-origin:center right}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__primary-bar{animation-name:mdc-linear-progress-primary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--animation-ready .mdc-linear-progress__secondary-bar{animation-name:mdc-linear-progress-secondary-indeterminate-translate-reverse}[dir=rtl] .mdc-linear-progress:not([dir=ltr]) .mdc-linear-progress__buffer-dots,.mdc-linear-progress[dir=rtl]:not([dir=ltr]) .mdc-linear-progress__buffer-dots{animation:mdc-linear-progress-buffering-reverse 250ms infinite linear;transform:rotate(0)}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__primary-bar{right:-145.166611%;left:auto}[dir=rtl] .mdc-linear-progress:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar,.mdc-linear-progress[dir=rtl]:not([dir=ltr]).mdc-linear-progress--indeterminate .mdc-linear-progress__secondary-bar{right:-54.888891%;left:auto}.mdc-linear-progress--closed{opacity:0}.mdc-linear-progress--closed-animation-off .mdc-linear-progress__buffer-dots{animation:none}.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar,.mdc-linear-progress--closed-animation-off.mdc-linear-progress--indeterminate .mdc-linear-progress__bar .mdc-linear-progress__bar-inner{animation:none}.mdc-linear-progress__bar-inner{border-color:#6200ee;border-color:var(--mdc-theme-primary, #6200ee)}.mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E")}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6}.mdc-linear-progress{height:4px}.mdc-linear-progress__bar-inner{border-top-width:4px}.mdc-linear-progress__buffer-dots{background-size:10px 4px}:host{display:block}.mdc-linear-progress__buffer-bar{background-color:#e6e6e6;background-color:var(--mdc-linear-progress-buffer-color, #e6e6e6)}.mdc-linear-progress__buffer-dots{background-image:url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E");background-image:var(--mdc-linear-progress-buffering-dots-image, url("data:image/svg+xml,%3Csvg version='1.1' xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' x='0px' y='0px' enable-background='new 0 0 5 2' xml:space='preserve' viewBox='0 0 5 2' preserveAspectRatio='none slice'%3E%3Ccircle cx='1' cy='1' r='1' fill='%23e6e6e6'/%3E%3C/svg%3E"))}`,p=`:host{--mdc-linear-progress-buffer-color: var(--mdc-theme-border)}
36
+ `;var g=Object.defineProperty,f=Object.getOwnPropertyDescriptor,y=(l,e,i,n)=>{for(var s=n>1?void 0:n?f(e,i):e,t=l.length-1,o;t>=0;t--)(o=l[t])&&(s=(n?o(e,i,s):o(s))||s);return n&&s&&g(e,i,s),s};exports.CovalentLinearProgress=class extends a{};exports.CovalentLinearProgress.styles=[m,r.i$1`${r.r(p)}`];exports.CovalentLinearProgress=y([r.e$1("cv-linear-progress")],exports.CovalentLinearProgress);const u=exports.CovalentLinearProgress;exports.default=u;
@@ -1,18 +1,12 @@
1
- import { s as y, y as u, i as g, r as b, e as h } from "./query-assigned-elements-514e5265.mjs";
2
- import { _ as a } from "./tslib.es6-b5e819a6.mjs";
3
- import { a as _ } from "./aria-property-fa2717fe.mjs";
4
- import { e as o } from "./property-ca27685b.mjs";
5
- import { t } from "./state-6f7e570d.mjs";
6
- import { i as v } from "./query-1e7846ea.mjs";
7
- import { o as x } from "./class-map-08c84aeb.mjs";
8
- import { l as p } from "./if-defined-639ed018.mjs";
9
- import { i as f } from "./style-map-2cb0fb63.mjs";
1
+ import { _ as a, t, i as y, e as o, s as b, y as u, o as h, h as p, b as g, r as _, c as v } from "./mwc-ripple.mjs";
2
+ import { a as x } from "./aria-property.mjs";
3
+ import { l as f } from "./if-defined.mjs";
10
4
  /**
11
5
  * @license
12
6
  * Copyright 2018 Google LLC
13
7
  * SPDX-License-Identifier: Apache-2.0
14
8
  */
15
- class e extends y {
9
+ class e extends b {
16
10
  constructor() {
17
11
  super(...arguments), this.indeterminate = !1, this.progress = 0, this.buffer = 1, this.reverse = !1, this.closed = !1, this.stylePrimaryHalf = "", this.stylePrimaryFull = "", this.styleSecondaryQuarter = "", this.styleSecondaryHalf = "", this.styleSecondaryFull = "", this.animationReady = !0, this.closedAnimationOff = !1, this.resizeObserver = null;
18
12
  }
@@ -48,24 +42,24 @@ class e extends y {
48
42
  return u`
49
43
  <div
50
44
  role="progressbar"
51
- class="mdc-linear-progress ${x(r)}"
52
- style="${f(i)}"
53
- dir="${p(this.reverse ? "rtl" : void 0)}"
54
- aria-label="${p(this.ariaLabel)}"
45
+ class="mdc-linear-progress ${h(r)}"
46
+ style="${p(i)}"
47
+ dir="${f(this.reverse ? "rtl" : void 0)}"
48
+ aria-label="${f(this.ariaLabel)}"
55
49
  aria-valuemin="0"
56
50
  aria-valuemax="1"
57
- aria-valuenow="${p(this.indeterminate ? void 0 : this.progress)}"
51
+ aria-valuenow="${f(this.indeterminate ? void 0 : this.progress)}"
58
52
  @transitionend="${this.syncClosedState}">
59
53
  <div class="mdc-linear-progress__buffer">
60
54
  <div
61
55
  class="mdc-linear-progress__buffer-bar"
62
- style=${f(n)}>
56
+ style=${p(n)}>
63
57
  </div>
64
58
  <div class="mdc-linear-progress__buffer-dots"></div>
65
59
  </div>
66
60
  <div
67
61
  class="mdc-linear-progress__bar mdc-linear-progress__primary-bar"
68
- style=${f(s)}>
62
+ style=${p(s)}>
69
63
  <span class="mdc-linear-progress__bar-inner"></span>
70
64
  </div>
71
65
  <div class="mdc-linear-progress__bar mdc-linear-progress__secondary-bar">
@@ -118,7 +112,7 @@ class e extends y {
118
112
  }
119
113
  }
120
114
  a([
121
- v(".mdc-linear-progress")
115
+ y(".mdc-linear-progress")
122
116
  ], e.prototype, "rootEl", void 0);
123
117
  a([
124
118
  o({ type: Boolean, reflect: !0 })
@@ -136,7 +130,7 @@ a([
136
130
  o({ type: Boolean, reflect: !0 })
137
131
  ], e.prototype, "closed", void 0);
138
132
  a([
139
- _,
133
+ x,
140
134
  o({ attribute: "aria-label" })
141
135
  ], e.prototype, "ariaLabel", void 0);
142
136
  a([
@@ -174,12 +168,12 @@ var z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, S = (c, r, i
174
168
  };
175
169
  let d = class extends e {
176
170
  };
177
- d.styles = [w, g`${b(X)}`];
171
+ d.styles = [w, g`${_(X)}`];
178
172
  d = S([
179
- h("cv-linear-progress")
173
+ v("cv-linear-progress")
180
174
  ], d);
181
- const B = d;
175
+ const P = d;
182
176
  export {
183
177
  d as CovalentLinearProgress,
184
- B as default
178
+ P as default
185
179
  };
@@ -1,5 +1,5 @@
1
1
  import { CovalentList } from './list';
2
- import { CovalentListItem } from './list-item';
2
+ import CovalentNavRailListItem from './nav-list-item';
3
3
  declare global {
4
4
  interface HTMLElementTagNameMap {
5
5
  'cv-expansion-list': CovalentExpansionList;
@@ -10,9 +10,10 @@ export declare class CovalentExpansionList extends CovalentList {
10
10
  static shadowRootOptions: ShadowRootInit;
11
11
  open: boolean;
12
12
  navOpen: boolean;
13
- expansionHeader: CovalentListItem[];
13
+ expansionHeader: CovalentNavRailListItem[];
14
14
  constructor();
15
15
  private _toggleOpen;
16
+ attributeChangedCallback(name: string, _old: string, value: string): void;
16
17
  render(): import("lit-html").TemplateResult<1>;
17
18
  }
18
19
  export default CovalentExpansionList;
@@ -1 +1 @@
1
- {"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAE/C,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,YAAY;IACrD,OAAgB,MAAM,4BAOpB;IACF,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAGF,IAAI,UAAS;IAGb,OAAO,UAAS;IAGhB,eAAe,EAAG,gBAAgB,EAAE,CAAC;;IAMrC,OAAO,CAAC,WAAW;IASV,MAAM;CAMhB;AAED,eAAe,qBAAqB,CAAC"}
1
+ {"version":3,"file":"list-expansion.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-expansion.ts"],"names":[],"mappings":"AAOA,OAAO,EAAE,YAAY,EAAE,MAAM,QAAQ,CAAC;AAEtC,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,qBAAqB,CAAC;KAC5C;CACF;AAED,qBACa,qBAAsB,SAAQ,YAAY;IACrD,OAAgB,MAAM,4BAOpB;IACF,OAAgB,iBAAiB,EAAE,cAAc,CAG/C;IAGF,IAAI,UAAS;IAGb,OAAO,UAAS;IAGhB,eAAe,EAAG,uBAAuB,EAAE,CAAC;;IAM5C,OAAO,CAAC,WAAW;IASV,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;IAelE,MAAM;CAMhB;AAED,eAAe,qBAAqB,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;IAE0C,WAAW,UAAS;IAEvD,MAAM;CAWhB;AAED,eAAe,gBAAgB,CAAC"}
1
+ {"version":3,"file":"list-item.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,YAAY,EAAE,MAAM,uCAAuC,CAAC;AASrE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,YAAY;IAChD,OAAgB,MAAM,4BAUpB;IAE0C,WAAW,UAAS;IAEvD,MAAM;CAehB;AAED,eAAe,gBAAgB,CAAC"}
package/list/list.d.ts CHANGED
@@ -1,11 +1,16 @@
1
1
  import { ListBase } from '@material/mwc-list/mwc-list-base';
2
+ import CovalentNavRailListItem from './nav-list-item';
2
3
  declare global {
3
4
  interface HTMLElementTagNameMap {
4
5
  'cv-list': CovalentList;
5
6
  }
6
7
  }
7
8
  export declare class CovalentList extends ListBase {
9
+ slotElements: CovalentNavRailListItem[];
10
+ navOpen: boolean;
8
11
  static styles: import("lit").CSSResult[];
12
+ getUpdateComplete(): Promise<boolean>;
13
+ attributeChangedCallback(name: string, _old: string, value: string): void;
9
14
  }
10
15
  export default CovalentList;
11
16
  //# sourceMappingURL=list.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAI5D,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAED,qBACa,YAAa,SAAQ,QAAQ;IACxC,OAAgB,MAAM,4BAAY;CACnC;AAED,eAAe,YAAY,CAAC"}
1
+ {"version":3,"file":"list.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/list/list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,kCAAkC,CAAC;AAO5D,OAAO,uBAAuB,MAAM,iBAAiB,CAAC;AAEtD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,SAAS,EAAE,YAAY,CAAC;KACzB;CACF;AAED,qBACa,YAAa,SAAQ,QAAQ;IAExC,YAAY,EAAG,uBAAuB,EAAE,CAAC;IAGzC,OAAO,UAAS;IAEhB,OAAgB,MAAM,4BAAY;IAEnB,iBAAiB;IAQvB,wBAAwB,CAAC,IAAI,EAAE,MAAM,EAAE,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM;CAa5E;AAED,eAAe,YAAY,CAAC"}
package/list-expansion.js CHANGED
@@ -1,9 +1,9 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const e=require("./query-assigned-elements-07e38f46.js"),l=require("./property-074570d1.js"),u=require("./list-170cca53.js");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("./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");const v=`.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)}
2
- `;var c=Object.defineProperty,d=Object.getOwnPropertyDescriptor,i=(r,t,o,s)=>{for(var n=s>1?void 0:s?d(t,o):t,a=r.length-1,p;a>=0;a--)(p=r[a])&&(n=(s?p(t,o,n):p(n))||n);return s&&n&&c(t,o,n),n};exports.CovalentExpansionList=class extends u.CovalentList{constructor(){super(),this.open=!1,this.navOpen=!1}_toggleOpen(){this.open=!this.open,this.expansionHeader.forEach(t=>{t.activated=this.open,t.selected=this.open})}render(){return e.y`
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./mwc-ripple.mjs"),l=require("./list.mjs");require("./mwc-list-base.mjs");require("./mwc-list-item-base.mjs");require("./observer.mjs");require("./ripple-handlers.mjs");require("./if-defined.mjs");const v=`.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)}
2
+ `;var c=Object.defineProperty,h=Object.getOwnPropertyDescriptor,o=(a,t,i,s)=>{for(var e=s>1?void 0:s?h(t,i):t,r=a.length-1,p;r>=0;r--)(p=a[r])&&(e=(s?p(t,i,e):p(e))||e);return s&&e&&c(t,i,e),e};exports.CovalentExpansionList=class extends l.CovalentList{constructor(){super(),this.open=!1,this.navOpen=!1}_toggleOpen(){this.open=!this.open,this.expansionHeader.forEach(t=>{t.activated=this.open,t.selected=this.open})}attributeChangedCallback(t,i,s){super.attributeChangedCallback(t,i,s),t==="navopen"&&this.expansionHeader.forEach(e=>{s==="true"?(e.navOpen=!!s,e.setAttribute("navopen",s)):e.removeAttribute("navopen")})}render(){return n.y`
3
3
  <slot name="expansionHeader" @click=${this._toggleOpen}></slot>
4
- ${this.navOpen?super.render():e.b}
5
- `}};exports.CovalentExpansionList.styles=[e.i`
6
- ${e.r(u.styles)}
7
- `,e.i`
8
- ${e.r(v)}
9
- `];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};i([l.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);i([l.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"navOpen",2);i([e.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=i([e.e("cv-expansion-list")],exports.CovalentExpansionList);const h=exports.CovalentExpansionList;exports.default=h;
4
+ ${this.navOpen?super.render():n.b}
5
+ `}};exports.CovalentExpansionList.styles=[n.i$1`
6
+ ${n.r(l.styles)}
7
+ `,n.i$1`
8
+ ${n.r(v)}
9
+ `];exports.CovalentExpansionList.shadowRootOptions={mode:"open",delegatesFocus:!0};o([n.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"open",2);o([n.e({type:Boolean,reflect:!0})],exports.CovalentExpansionList.prototype,"navOpen",2);o([n.l({slot:"expansionHeader"})],exports.CovalentExpansionList.prototype,"expansionHeader",2);exports.CovalentExpansionList=o([n.e$1("cv-expansion-list")],exports.CovalentExpansionList);const u=exports.CovalentExpansionList;exports.default=u;
@@ -1,68 +1,64 @@
1
- import { i as l, r as m, l as d, y as c, b as v, e as f } from "./query-assigned-elements-514e5265.mjs";
2
- import { e as h } from "./property-ca27685b.mjs";
3
- import { C as u, s as g } from "./list-28b77a61.mjs";
4
- import "./mwc-list-base-c0f8af1c.mjs";
5
- import "./tslib.es6-b5e819a6.mjs";
6
- import "./mwc-list-item-base-acef0223.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";
14
- import "./observer-be7b92e2.mjs";
15
- import "./query-assigned-nodes-bea12e0c.mjs";
16
- import "./if-defined-639ed018.mjs";
1
+ import { b as l, r as h, e as d, l as c, y as v, d as f, c as m } from "./mwc-ripple.mjs";
2
+ import { C as u, s as g } from "./list2.mjs";
3
+ import "./mwc-list-base.mjs";
4
+ import "./mwc-list-item-base.mjs";
5
+ import "./observer.mjs";
6
+ import "./ripple-handlers.mjs";
7
+ import "./if-defined.mjs";
17
8
  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)}
18
9
  `;
19
- var O = Object.defineProperty, y = Object.getOwnPropertyDescriptor, i = (o, s, n, r) => {
20
- for (var t = r > 1 ? void 0 : r ? y(s, n) : s, p = o.length - 1, a; p >= 0; p--)
21
- (a = o[p]) && (t = (r ? a(s, n, t) : a(t)) || t);
22
- return r && t && O(s, n, t), t;
10
+ var O = Object.defineProperty, b = Object.getOwnPropertyDescriptor, i = (e, r, t, s) => {
11
+ for (var n = s > 1 ? void 0 : s ? b(r, t) : r, a = e.length - 1, p; a >= 0; a--)
12
+ (p = e[a]) && (n = (s ? p(r, t, n) : p(n)) || n);
13
+ return s && n && O(r, t, n), n;
23
14
  };
24
- let e = class extends u {
15
+ let o = class extends u {
25
16
  constructor() {
26
17
  super(), this.open = !1, this.navOpen = !1;
27
18
  }
28
19
  _toggleOpen() {
29
- this.open = !this.open, this.expansionHeader.forEach((o) => {
30
- o.activated = this.open, o.selected = this.open;
20
+ this.open = !this.open, this.expansionHeader.forEach((e) => {
21
+ e.activated = this.open, e.selected = this.open;
22
+ });
23
+ }
24
+ attributeChangedCallback(e, r, t) {
25
+ super.attributeChangedCallback(e, r, t), e === "navopen" && this.expansionHeader.forEach((s) => {
26
+ t === "true" ? (s.navOpen = !!t, s.setAttribute("navopen", t)) : s.removeAttribute("navopen");
31
27
  });
32
28
  }
33
29
  render() {
34
- return c`
30
+ return v`
35
31
  <slot name="expansionHeader" @click=${this._toggleOpen}></slot>
36
- ${this.navOpen ? super.render() : v}
32
+ ${this.navOpen ? super.render() : f}
37
33
  `;
38
34
  }
39
35
  };
40
- e.styles = [
36
+ o.styles = [
41
37
  l`
42
- ${m(g)}
38
+ ${h(g)}
43
39
  `,
44
40
  l`
45
- ${m(x)}
41
+ ${h(x)}
46
42
  `
47
43
  ];
48
- e.shadowRootOptions = {
44
+ o.shadowRootOptions = {
49
45
  mode: "open",
50
46
  delegatesFocus: !0
51
47
  };
52
48
  i([
53
- h({ type: Boolean, reflect: !0 })
54
- ], e.prototype, "open", 2);
49
+ d({ type: Boolean, reflect: !0 })
50
+ ], o.prototype, "open", 2);
55
51
  i([
56
- h({ type: Boolean, reflect: !0 })
57
- ], e.prototype, "navOpen", 2);
52
+ d({ type: Boolean, reflect: !0 })
53
+ ], o.prototype, "navOpen", 2);
58
54
  i([
59
- d({ slot: "expansionHeader" })
60
- ], e.prototype, "expansionHeader", 2);
61
- e = i([
62
- f("cv-expansion-list")
63
- ], e);
64
- const A = e;
55
+ c({ slot: "expansionHeader" })
56
+ ], o.prototype, "expansionHeader", 2);
57
+ o = i([
58
+ m("cv-expansion-list")
59
+ ], o);
60
+ const P = o;
65
61
  export {
66
- e as CovalentExpansionList,
67
- A as default
62
+ o as CovalentExpansionList,
63
+ P as default
68
64
  };
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("./property-074570d1.js");require("./mwc-list-item.css-401e2407.js");const e=require("./list-item-26ddcc43.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.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.mjs");require("./mwc-ripple.mjs");require("./mwc-list-item.css.mjs");const e=require("./list-item.mjs");require("./observer.mjs");require("./ripple-handlers.mjs");Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>e.CovalentListItem});exports.default=e.CovalentListItem$1;
package/list-item.mjs CHANGED
@@ -1,18 +1,9 @@
1
- import "./mwc-list-item-base-acef0223.mjs";
2
- import "./query-assigned-elements-514e5265.mjs";
3
- import "./property-ca27685b.mjs";
4
- import "./mwc-list-item.css-b5481d96.mjs";
5
- import { C as v, a as x } from "./list-item-c1e72538.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";
14
- import "./observer-be7b92e2.mjs";
15
- export {
16
- v as CovalentListItem,
17
- x as default
18
- };
1
+ "use strict";const p=require("./mwc-list-item-base.mjs"),t=require("./mwc-ripple.mjs"),a=require("./mwc-list-item.css.mjs"),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 m=Object.defineProperty,d=Object.getOwnPropertyDescriptor,h=(c,s,i,r)=>{for(var e=r>1?void 0:r?d(s,i):s,o=c.length-1,n;o>=0;o--)(n=c[o])&&(e=(r?n(s,i,e):n(e))||e);return r&&e&&m(s,i,e),e};exports.CovalentListItem=class extends p.ListItemBase{constructor(){super(...arguments),this.hasChildren=!1}render(){const s=this.renderText(),i=this.graphic?this.renderGraphic():t.b,r=this.hasMeta?this.renderMeta():t.b,e=this.activated?"arrow_drop_down":"arrow_right",o=this.hasChildren?t.y`<cv-icon class="expansion-icon">${e}</cv-icon>`:t.b,n=this.hasChildren?t.y`<slot name="child"></slot>`:t.b;return t.y` ${this.renderRipple()} ${o} ${i} ${s} ${r}
3
+ ${n}`}};exports.CovalentListItem.styles=[t.i$1`
4
+ ${t.r(a.styles)}
5
+ `,t.i$1`
6
+ ${t.r(a.styles$1)}
7
+ `,t.i$1`
8
+ ${t.r(l)}
9
+ `];h([t.e({type:Boolean,reflect:!0})],exports.CovalentListItem.prototype,"hasChildren",2);exports.CovalentListItem=h([t.e$1("cv-list-item")],exports.CovalentListItem);const v=exports.CovalentListItem;exports.CovalentListItem$1=v;exports.styles=l;
package/list-item2.mjs ADDED
@@ -0,0 +1,43 @@
1
+ import { L as m } from "./mwc-list-item-base.mjs";
2
+ import { b as h, r as l, e as v, d as n, y as p, c as $ } from "./mwc-ripple.mjs";
3
+ import { s as x, a as f } from "./mwc-list-item.css.mjs";
4
+ 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}
5
+ `;
6
+ var _ = Object.defineProperty, u = Object.getOwnPropertyDescriptor, d = (a, e, r, s) => {
7
+ for (var t = s > 1 ? void 0 : s ? u(e, r) : e, o = a.length - 1, c; o >= 0; o--)
8
+ (c = a[o]) && (t = (s ? c(e, r, t) : c(t)) || t);
9
+ return s && t && _(e, r, t), t;
10
+ };
11
+ let i = class extends m {
12
+ constructor() {
13
+ super(...arguments), this.hasChildren = !1;
14
+ }
15
+ render() {
16
+ const a = this.renderText(), e = this.graphic ? this.renderGraphic() : n, r = this.hasMeta ? this.renderMeta() : n, s = this.activated ? "arrow_drop_down" : "arrow_right", t = this.hasChildren ? p`<cv-icon class="expansion-icon">${s}</cv-icon>` : n, o = this.hasChildren ? p`<slot name="child"></slot>` : n;
17
+ return p` ${this.renderRipple()} ${t} ${e} ${a} ${r}
18
+ ${o}`;
19
+ }
20
+ };
21
+ i.styles = [
22
+ h`
23
+ ${l(x)}
24
+ `,
25
+ h`
26
+ ${l(f)}
27
+ `,
28
+ h`
29
+ ${l(g)}
30
+ `
31
+ ];
32
+ d([
33
+ v({ type: Boolean, reflect: !0 })
34
+ ], i.prototype, "hasChildren", 2);
35
+ i = d([
36
+ $("cv-list-item")
37
+ ], i);
38
+ const b = i;
39
+ export {
40
+ i as C,
41
+ b as a,
42
+ g as s
43
+ };
package/list.js CHANGED
@@ -1 +1 @@
1
- "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-base-7d5f7278.js");const e=require("./list-170cca53.js");require("./query-assigned-elements-07e38f46.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");Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>e.CovalentList});exports.default=e.CovalentList$1;
1
+ "use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-base.mjs");const e=require("./list.mjs");require("./mwc-ripple.mjs");require("./mwc-list-item-base.mjs");require("./observer.mjs");require("./ripple-handlers.mjs");require("./if-defined.mjs");Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>e.CovalentList});exports.default=e.CovalentList$1;
package/list.mjs CHANGED
@@ -1,20 +1,5 @@
1
- import "./mwc-list-base-c0f8af1c.mjs";
2
- import { C as L, a as b } from "./list-28b77a61.mjs";
3
- import "./query-assigned-elements-514e5265.mjs";
4
- import "./tslib.es6-b5e819a6.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";
14
- import "./observer-be7b92e2.mjs";
15
- import "./query-assigned-nodes-bea12e0c.mjs";
16
- import "./if-defined-639ed018.mjs";
17
- export {
18
- L as CovalentList,
19
- b as default
20
- };
1
+ "use strict";const p=require("./mwc-list-base.mjs"),a=require("./mwc-ripple.mjs");/**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-LIcense-Identifier: Apache-2.0
5
+ */const l=a.i$1`@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}`;var c=Object.defineProperty,m=Object.getOwnPropertyDescriptor,n=(s,e,r,i)=>{for(var t=i>1?void 0:i?m(e,r):e,d=s.length-1,o;d>=0;d--)(o=s[d])&&(t=(i?o(e,r,t):o(t))||t);return i&&t&&c(e,r,t),t};exports.CovalentList=class extends p.ListBase{constructor(){super(...arguments),this.navOpen=!1}async getUpdateComplete(){return this.slotElements.forEach(e=>{e.setAttribute("navopen",this.navOpen.toString())}),await super.getUpdateComplete()}attributeChangedCallback(e,r,i){super.attributeChangedCallback(e,r,i),e==="navopen"&&this.slotElements.forEach(t=>{i==="true"?t.setAttribute("navopen",i):t.removeAttribute("navopen")})}};exports.CovalentList.styles=[l];n([a.l({flatten:!0})],exports.CovalentList.prototype,"slotElements",2);n([a.e({type:Boolean,reflect:!0})],exports.CovalentList.prototype,"navOpen",2);exports.CovalentList=n([a.e$1("cv-list")],exports.CovalentList);const g=exports.CovalentList;exports.CovalentList$1=g;exports.styles=l;
@@ -1,25 +1,44 @@
1
- import { L as l } from "./mwc-list-base-c0f8af1c.mjs";
2
- import { i as n, e as c } from "./query-assigned-elements-514e5265.mjs";
1
+ import { L as l } from "./mwc-list-base.mjs";
2
+ import { b as c, l as p, e as m, c as g } from "./mwc-ripple.mjs";
3
3
  /**
4
4
  * @license
5
5
  * Copyright 2021 Google LLC
6
6
  * SPDX-LIcense-Identifier: Apache-2.0
7
7
  */
8
- const m = 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}`;
9
- var p = Object.defineProperty, g = Object.getOwnPropertyDescriptor, f = (o, e, d, i) => {
10
- for (var t = i > 1 ? void 0 : i ? g(e, d) : e, a = o.length - 1, s; a >= 0; a--)
11
- (s = o[a]) && (t = (i ? s(e, d, t) : s(t)) || t);
12
- return i && t && p(e, d, t), t;
8
+ const f = c`@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}`;
9
+ var h = Object.defineProperty, v = Object.getOwnPropertyDescriptor, o = (t, a, e, i) => {
10
+ for (var r = i > 1 ? void 0 : i ? v(a, e) : a, s = t.length - 1, n; s >= 0; s--)
11
+ (n = t[s]) && (r = (i ? n(a, e, r) : n(r)) || r);
12
+ return i && r && h(a, e, r), r;
13
13
  };
14
- let r = class extends l {
14
+ let d = class extends l {
15
+ constructor() {
16
+ super(...arguments), this.navOpen = !1;
17
+ }
18
+ async getUpdateComplete() {
19
+ return this.slotElements.forEach((t) => {
20
+ t.setAttribute("navopen", this.navOpen.toString());
21
+ }), await super.getUpdateComplete();
22
+ }
23
+ attributeChangedCallback(t, a, e) {
24
+ super.attributeChangedCallback(t, a, e), t === "navopen" && this.slotElements.forEach((i) => {
25
+ e === "true" ? i.setAttribute("navopen", e) : i.removeAttribute("navopen");
26
+ });
27
+ }
15
28
  };
16
- r.styles = [m];
17
- r = f([
18
- c("cv-list")
19
- ], r);
20
- const v = r;
29
+ d.styles = [f];
30
+ o([
31
+ p({ flatten: !0 })
32
+ ], d.prototype, "slotElements", 2);
33
+ o([
34
+ m({ type: Boolean, reflect: !0 })
35
+ ], d.prototype, "navOpen", 2);
36
+ d = o([
37
+ g("cv-list")
38
+ ], d);
39
+ const x = d;
21
40
  export {
22
- r as C,
23
- v as a,
24
- m as s
41
+ d as C,
42
+ x as a,
43
+ f as s
25
44
  };
package/menu.js CHANGED
@@ -1,5 +1,5 @@
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 i=require("./mwc-menu-base.mjs"),o=require("./mwc-ripple.mjs");require("./mwc-list-base.mjs");require("./mwc-list-item-base.mjs");require("./observer.mjs");require("./ripple-handlers.mjs");require("./if-defined.mjs");/**
2
2
  * @license
3
3
  * Copyright 2021 Google LLC
4
4
  * SPDX-LIcense-Identifier: Apache-2.0
5
- */const v=l.i`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`;var a=Object.defineProperty,q=Object.getOwnPropertyDescriptor,c=(u,r,n,t)=>{for(var e=t>1?void 0:t?q(r,n):r,i=u.length-1,s;i>=0;i--)(s=u[i])&&(e=(t?s(r,n,e):s(e))||e);return t&&e&&a(r,n,e),e};exports.CovalentMenu=class extends o.MenuBase{};exports.CovalentMenu.styles=[v];exports.CovalentMenu=c([l.e("cv-menu")],exports.CovalentMenu);const m=exports.CovalentMenu;exports.default=m;
5
+ */const v=o.i$1`mwc-list ::slotted([mwc-list-item]:not([twoline])),mwc-list ::slotted([noninteractive]:not([twoline])){height:var(--mdc-menu-item-height, 48px)}`;var a=Object.defineProperty,c=Object.getOwnPropertyDescriptor,m=(r,t,l,n)=>{for(var e=n>1?void 0:n?c(t,l):t,u=r.length-1,s;u>=0;u--)(s=r[u])&&(e=(n?s(t,l,e):s(e))||e);return n&&e&&a(t,l,e),e};exports.CovalentMenu=class extends i.MenuBase{};exports.CovalentMenu.styles=[v];exports.CovalentMenu=m([o.e$1("cv-menu")],exports.CovalentMenu);const M=exports.CovalentMenu;exports.default=M;