@covalent/components 6.2.1 → 6.2.3

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 (180) hide show
  1. package/action-ribbon.js +6 -6
  2. package/action-ribbon.mjs +35 -30
  3. package/alert.js +6 -6
  4. package/alert.mjs +19 -14
  5. package/app-shell.js +8 -8
  6. package/app-shell.mjs +12 -6
  7. package/aria-property-fa2717fe.mjs +41 -0
  8. package/base-element-c3dc926e.mjs +28 -0
  9. package/base-element-d5abe37a.js +5 -0
  10. package/button.js +9 -9
  11. package/button.mjs +25 -16
  12. package/card.js +8 -8
  13. package/card.mjs +17 -15
  14. package/check-list-item.js +9 -9
  15. package/check-list-item.mjs +26 -17
  16. package/checkbox.js +2 -2
  17. package/checkbox.mjs +29 -20
  18. package/circular-progress.js +29 -29
  19. package/circular-progress.mjs +14 -10
  20. package/class-map-08c84aeb.mjs +62 -0
  21. package/class-map-50b8edb4.js +9 -0
  22. package/code-snippet.js +9 -9
  23. package/code-snippet.mjs +10 -7
  24. package/{dialog2.mjs → dialog-85c21333.mjs} +56 -50
  25. package/dialog-8ee07177.js +162 -0
  26. package/dialog.js +1 -1
  27. package/dialog.mjs +14 -162
  28. package/directive-helpers-725a181d.mjs +11 -0
  29. package/directive-helpers-fce8cf91.js +5 -0
  30. package/drawer.js +3 -3
  31. package/drawer.mjs +15 -9
  32. package/empty-state.js +5 -5
  33. package/empty-state.mjs +6 -4
  34. package/event-options-3937d997.mjs +14 -0
  35. package/event-options-7bc382d8.js +5 -0
  36. package/form-element-6dbd7afa.mjs +50 -0
  37. package/{form-element.mjs → form-element-d4e7bcdb.js} +2 -2
  38. package/foundation-2334d146.mjs +60 -0
  39. package/{foundation.mjs → foundation-3f55a9dc.js} +3 -3
  40. package/foundation-c580100a.mjs +152 -0
  41. package/icon-button.js +8 -8
  42. package/icon-button.mjs +25 -16
  43. package/icon-check-toggle.js +9 -9
  44. package/icon-check-toggle.mjs +20 -11
  45. package/icon-radio-toggle.js +5 -5
  46. package/icon-radio-toggle.mjs +34 -25
  47. package/icon.js +2 -2
  48. package/icon.mjs +9 -8
  49. package/if-defined-639ed018.mjs +10 -0
  50. package/if-defined-cb12d481.js +5 -0
  51. package/index.js +1 -1
  52. package/index.mjs +124 -114
  53. package/inert.esm-359d4581.mjs +640 -0
  54. package/linear-progress.js +12 -12
  55. package/linear-progress.mjs +23 -17
  56. package/{list2.mjs → list-d616957b.mjs} +7 -6
  57. package/list-defdaa3b.js +5 -0
  58. package/list-expansion.js +8 -8
  59. package/list-expansion.mjs +43 -34
  60. package/list-item-3fa66f09.js +9 -0
  61. package/list-item-d5c05e10.mjs +44 -0
  62. package/list-item.js +1 -1
  63. package/list-item.mjs +18 -9
  64. package/list.js +1 -1
  65. package/list.mjs +20 -5
  66. package/menu.js +2 -2
  67. package/menu.mjs +29 -20
  68. package/mwc-checkbox-base-10e977f2.mjs +198 -0
  69. package/{mwc-checkbox-base.mjs → mwc-checkbox-base-435c1f1d.js} +6 -6
  70. package/mwc-checkbox.css-956e3d6c.js +5 -0
  71. package/mwc-checkbox.css-b7abc7fd.mjs +10 -0
  72. package/mwc-drawer-base-b2b772c3.mjs +335 -0
  73. package/{mwc-drawer-base.mjs → mwc-drawer-base-f44fcf34.js} +11 -11
  74. package/mwc-icon-b96fb867.js +9 -0
  75. package/mwc-icon-c7013880.mjs +26 -0
  76. package/{mwc-line-ripple-directive.mjs → mwc-line-ripple-directive-a97ce725.js} +16 -16
  77. package/mwc-line-ripple-directive-c3e1f04a.mjs +653 -0
  78. package/mwc-list-base-7d5f7278.js +111 -0
  79. package/mwc-list-base-c0f8af1c.mjs +840 -0
  80. package/mwc-list-item-base-803b9771.js +28 -0
  81. package/mwc-list-item-base-acef0223.mjs +202 -0
  82. package/mwc-list-item.css-401e2407.js +9 -0
  83. package/mwc-list-item.css-b5481d96.mjs +17 -0
  84. package/mwc-menu-base-8970b43d.mjs +1145 -0
  85. package/{mwc-menu-base.mjs → mwc-menu-base-ac49fe54.js} +20 -20
  86. package/{mwc-radio-base.mjs → mwc-radio-base-442d495a.js} +11 -11
  87. package/mwc-radio-base-c29e6f42.mjs +528 -0
  88. package/mwc-radio.css-388ad26d.js +5 -0
  89. package/mwc-radio.css-4694aa9c.mjs +10 -0
  90. package/mwc-slider.css-336f809b.mjs +956 -0
  91. package/{mwc-slider.css.mjs → mwc-slider.css-48f02f1e.js} +20 -20
  92. package/{mwc-tab-base.mjs → mwc-tab-base-1a19b299.js} +22 -22
  93. package/mwc-tab-base-7fb3d339.mjs +694 -0
  94. package/{mwc-top-app-bar-base.mjs → mwc-top-app-bar-base-14e0a018.js} +10 -10
  95. package/mwc-top-app-bar-base-79c87e69.mjs +380 -0
  96. package/nav-list-item.js +10 -10
  97. package/nav-list-item.mjs +36 -28
  98. package/{observer.mjs → observer-a096ab43.js} +1 -1
  99. package/observer-be7b92e2.mjs +32 -0
  100. package/package.json +1 -1
  101. package/property-074570d1.js +5 -0
  102. package/property-ca27685b.mjs +20 -0
  103. package/query-1e7846ea.mjs +25 -0
  104. package/query-2ba749b7.js +5 -0
  105. package/query-assigned-elements-07e38f46.js +33 -0
  106. package/query-assigned-elements-514e5265.mjs +615 -0
  107. package/query-assigned-nodes-9ec0fa5f.js +5 -0
  108. package/query-assigned-nodes-bea12e0c.mjs +17 -0
  109. package/radio-list-item.js +10 -10
  110. package/radio-list-item.mjs +33 -24
  111. package/radio.js +2 -2
  112. package/radio.mjs +28 -19
  113. package/ripple-handlers-2176f137.js +107 -0
  114. package/ripple-handlers-227497d3.mjs +761 -0
  115. package/select.js +28 -28
  116. package/select.mjs +31 -21
  117. package/side-sheet.js +4 -4
  118. package/side-sheet.mjs +14 -8
  119. package/slider-range.js +7 -7
  120. package/slider-range.mjs +72 -64
  121. package/slider.js +3 -3
  122. package/slider.mjs +29 -21
  123. package/snackbar.js +15 -15
  124. package/snackbar.mjs +27 -21
  125. package/state-6f7e570d.mjs +12 -0
  126. package/state-949232e6.js +5 -0
  127. package/status-header-item.js +4 -4
  128. package/status-header-item.mjs +14 -13
  129. package/status-header.js +6 -6
  130. package/status-header.mjs +9 -7
  131. package/style-map-2cb0fb63.mjs +40 -0
  132. package/style-map-3056a771.js +5 -0
  133. package/switch.js +18 -18
  134. package/switch.mjs +31 -22
  135. package/tab-bar.js +21 -21
  136. package/tab-bar.mjs +23 -14
  137. package/tab.js +3 -3
  138. package/tab.mjs +15 -6
  139. package/text-lockup.js +5 -5
  140. package/text-lockup.mjs +8 -6
  141. package/textarea.js +14 -14
  142. package/textarea.mjs +28 -20
  143. package/{textfield2.mjs → textfield-276b0ded.mjs} +28 -21
  144. package/textfield-507c6a06.js +133 -0
  145. package/textfield.js +3 -3
  146. package/textfield.mjs +41 -132
  147. package/toolbar.js +3 -3
  148. package/toolbar.mjs +10 -4
  149. package/tooltip.js +12 -12
  150. package/tooltip.mjs +13 -9
  151. package/top-app-bar-34e85527.js +6 -0
  152. package/{top-app-bar2.mjs → top-app-bar-a236c3bc.mjs} +1 -1
  153. package/top-app-bar-fixed.js +5 -5
  154. package/top-app-bar-fixed.mjs +29 -23
  155. package/top-app-bar.js +3 -3
  156. package/top-app-bar.mjs +30 -6
  157. package/tree-list-item.js +8 -8
  158. package/tree-list-item.mjs +5 -3
  159. package/tree-list.js +3 -3
  160. package/tree-list.mjs +4 -4
  161. package/tslib.es6-6b53b818.js +1 -0
  162. package/tslib.es6-b5e819a6.mjs +82 -0
  163. package/typography.js +4 -4
  164. package/typography.mjs +12 -11
  165. package/utils-a8190a39.js +5 -0
  166. package/utils-dc65fdc9.mjs +52 -0
  167. package/directive-helpers.mjs +0 -5
  168. package/if-defined.mjs +0 -5
  169. package/list-item2.mjs +0 -43
  170. package/mwc-checkbox.css.mjs +0 -5
  171. package/mwc-icon.mjs +0 -9
  172. package/mwc-list-base.mjs +0 -111
  173. package/mwc-list-item-base.mjs +0 -28
  174. package/mwc-list-item.css.mjs +0 -9
  175. package/mwc-radio.css.mjs +0 -5
  176. package/mwc-ripple.mjs +0 -175
  177. package/ripple-handlers.mjs +0 -5
  178. /package/{aria-property.mjs → aria-property-849c8816.js} +0 -0
  179. /package/{foundation2.mjs → foundation-e830bd94.js} +0 -0
  180. /package/{inert.esm.mjs → inert.esm-2cee6f2e.js} +0 -0
@@ -0,0 +1,28 @@
1
+ "use strict";const s=require("./tslib.es6-6b53b818.js"),c=require("./ripple-handlers-2176f137.js"),l=require("./observer-a096ab43.js"),r=require("./query-assigned-elements-07e38f46.js"),n=require("./property-074570d1.js"),d=require("./state-949232e6.js"),p=require("./query-2ba749b7.js"),h=require("./class-map-50b8edb4.js");/**
2
+ * @license
3
+ * Copyright 2020 Google LLC
4
+ * SPDX-License-Identifier: Apache-2.0
5
+ */class t extends r.s{constructor(){super(...arguments),this.value="",this.group=null,this.tabindex=-1,this.disabled=!1,this.twoline=!1,this.activated=!1,this.graphic=null,this.multipleGraphics=!1,this.hasMeta=!1,this.noninteractive=!1,this.selected=!1,this.shouldRenderRipple=!1,this._managingList=null,this.boundOnClick=this.onClick.bind(this),this._firstChanged=!0,this._skipPropRequest=!1,this.rippleHandlers=new c.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple)),this.listeners=[{target:this,eventNames:["click"],cb:()=>{this.onClick()}},{target:this,eventNames:["mouseenter"],cb:this.rippleHandlers.startHover},{target:this,eventNames:["mouseleave"],cb:this.rippleHandlers.endHover},{target:this,eventNames:["focus"],cb:this.rippleHandlers.startFocus},{target:this,eventNames:["blur"],cb:this.rippleHandlers.endFocus},{target:this,eventNames:["mousedown","touchstart"],cb:e=>{const i=e.type;this.onDown(i==="mousedown"?"mouseup":"touchend",e)}}]}get text(){const e=this.textContent;return e?e.trim():""}render(){const e=this.renderText(),i=this.graphic?this.renderGraphic():r.y``,o=this.hasMeta?this.renderMeta():r.y``;return r.y`
6
+ ${this.renderRipple()}
7
+ ${i}
8
+ ${e}
9
+ ${o}`}renderRipple(){return this.shouldRenderRipple?r.y`
10
+ <mwc-ripple
11
+ .activated=${this.activated}>
12
+ </mwc-ripple>`:this.activated?r.y`<div class="fake-activated-ripple"></div>`:""}renderGraphic(){const e={multi:this.multipleGraphics};return r.y`
13
+ <span class="mdc-deprecated-list-item__graphic material-icons ${h.o(e)}">
14
+ <slot name="graphic"></slot>
15
+ </span>`}renderMeta(){return r.y`
16
+ <span class="mdc-deprecated-list-item__meta material-icons">
17
+ <slot name="meta"></slot>
18
+ </span>`}renderText(){const e=this.twoline?this.renderTwoline():this.renderSingleLine();return r.y`
19
+ <span class="mdc-deprecated-list-item__text">
20
+ ${e}
21
+ </span>`}renderSingleLine(){return r.y`<slot></slot>`}renderTwoline(){return r.y`
22
+ <span class="mdc-deprecated-list-item__primary-text">
23
+ <slot></slot>
24
+ </span>
25
+ <span class="mdc-deprecated-list-item__secondary-text">
26
+ <slot name="secondary"></slot>
27
+ </span>
28
+ `}onClick(){this.fireRequestSelected(!this.selected,"interaction")}onDown(e,i){const o=()=>{window.removeEventListener(e,o),this.rippleHandlers.endPress()};window.addEventListener(e,o),this.rippleHandlers.startPress(i)}fireRequestSelected(e,i){if(this.noninteractive)return;const o=new CustomEvent("request-selected",{bubbles:!0,composed:!0,detail:{source:i,selected:e}});this.dispatchEvent(o)}connectedCallback(){super.connectedCallback(),this.noninteractive||this.setAttribute("mwc-list-item","");for(const e of this.listeners)for(const i of e.eventNames)e.target.addEventListener(i,e.cb,{passive:!0})}disconnectedCallback(){super.disconnectedCallback();for(const e of this.listeners)for(const i of e.eventNames)e.target.removeEventListener(i,e.cb);this._managingList&&(this._managingList.debouncedLayout?this._managingList.debouncedLayout(!0):this._managingList.layout(!0))}firstUpdated(){const e=new Event("list-item-rendered",{bubbles:!0,composed:!0});this.dispatchEvent(e)}}s.__decorate([p.i("slot")],t.prototype,"slotElement",void 0);s.__decorate([c.e("mwc-ripple")],t.prototype,"ripple",void 0);s.__decorate([n.e({type:String})],t.prototype,"value",void 0);s.__decorate([n.e({type:String,reflect:!0})],t.prototype,"group",void 0);s.__decorate([n.e({type:Number,reflect:!0})],t.prototype,"tabindex",void 0);s.__decorate([n.e({type:Boolean,reflect:!0}),l.observer(function(a){a?this.setAttribute("aria-disabled","true"):this.setAttribute("aria-disabled","false")})],t.prototype,"disabled",void 0);s.__decorate([n.e({type:Boolean,reflect:!0})],t.prototype,"twoline",void 0);s.__decorate([n.e({type:Boolean,reflect:!0})],t.prototype,"activated",void 0);s.__decorate([n.e({type:String,reflect:!0})],t.prototype,"graphic",void 0);s.__decorate([n.e({type:Boolean})],t.prototype,"multipleGraphics",void 0);s.__decorate([n.e({type:Boolean})],t.prototype,"hasMeta",void 0);s.__decorate([n.e({type:Boolean,reflect:!0}),l.observer(function(a){a?(this.removeAttribute("aria-checked"),this.removeAttribute("mwc-list-item"),this.selected=!1,this.activated=!1,this.tabIndex=-1):this.setAttribute("mwc-list-item","")})],t.prototype,"noninteractive",void 0);s.__decorate([n.e({type:Boolean,reflect:!0}),l.observer(function(a){const e=this.getAttribute("role"),i=e==="gridcell"||e==="option"||e==="row"||e==="tab";if(i&&a?this.setAttribute("aria-selected","true"):i&&this.setAttribute("aria-selected","false"),this._firstChanged){this._firstChanged=!1;return}this._skipPropRequest||this.fireRequestSelected(a,"property")})],t.prototype,"selected",void 0);s.__decorate([d.t()],t.prototype,"shouldRenderRipple",void 0);s.__decorate([d.t()],t.prototype,"_managingList",void 0);exports.ListItemBase=t;
@@ -0,0 +1,202 @@
1
+ import { _ as t } from "./tslib.es6-b5e819a6.mjs";
2
+ import { e as c, R as d } from "./ripple-handlers-227497d3.mjs";
3
+ import { o as l } from "./observer-be7b92e2.mjs";
4
+ import { s as h, y as n } from "./query-assigned-elements-514e5265.mjs";
5
+ import { e as r } from "./property-ca27685b.mjs";
6
+ import { t as p } from "./state-6f7e570d.mjs";
7
+ import { i as u } from "./query-1e7846ea.mjs";
8
+ import { o as m } from "./class-map-08c84aeb.mjs";
9
+ /**
10
+ * @license
11
+ * Copyright 2020 Google LLC
12
+ * SPDX-License-Identifier: Apache-2.0
13
+ */
14
+ class s extends h {
15
+ constructor() {
16
+ super(...arguments), this.value = "", this.group = null, this.tabindex = -1, this.disabled = !1, this.twoline = !1, this.activated = !1, this.graphic = null, this.multipleGraphics = !1, this.hasMeta = !1, this.noninteractive = !1, this.selected = !1, this.shouldRenderRipple = !1, this._managingList = null, this.boundOnClick = this.onClick.bind(this), this._firstChanged = !0, this._skipPropRequest = !1, this.rippleHandlers = new d(() => (this.shouldRenderRipple = !0, this.ripple)), this.listeners = [
17
+ {
18
+ target: this,
19
+ eventNames: ["click"],
20
+ cb: () => {
21
+ this.onClick();
22
+ }
23
+ },
24
+ {
25
+ target: this,
26
+ eventNames: ["mouseenter"],
27
+ cb: this.rippleHandlers.startHover
28
+ },
29
+ {
30
+ target: this,
31
+ eventNames: ["mouseleave"],
32
+ cb: this.rippleHandlers.endHover
33
+ },
34
+ {
35
+ target: this,
36
+ eventNames: ["focus"],
37
+ cb: this.rippleHandlers.startFocus
38
+ },
39
+ {
40
+ target: this,
41
+ eventNames: ["blur"],
42
+ cb: this.rippleHandlers.endFocus
43
+ },
44
+ {
45
+ target: this,
46
+ eventNames: ["mousedown", "touchstart"],
47
+ cb: (e) => {
48
+ const i = e.type;
49
+ this.onDown(i === "mousedown" ? "mouseup" : "touchend", e);
50
+ }
51
+ }
52
+ ];
53
+ }
54
+ get text() {
55
+ const e = this.textContent;
56
+ return e ? e.trim() : "";
57
+ }
58
+ render() {
59
+ const e = this.renderText(), i = this.graphic ? this.renderGraphic() : n``, a = this.hasMeta ? this.renderMeta() : n``;
60
+ return n`
61
+ ${this.renderRipple()}
62
+ ${i}
63
+ ${e}
64
+ ${a}`;
65
+ }
66
+ renderRipple() {
67
+ return this.shouldRenderRipple ? n`
68
+ <mwc-ripple
69
+ .activated=${this.activated}>
70
+ </mwc-ripple>` : this.activated ? n`<div class="fake-activated-ripple"></div>` : "";
71
+ }
72
+ renderGraphic() {
73
+ const e = {
74
+ multi: this.multipleGraphics
75
+ };
76
+ return n`
77
+ <span class="mdc-deprecated-list-item__graphic material-icons ${m(e)}">
78
+ <slot name="graphic"></slot>
79
+ </span>`;
80
+ }
81
+ renderMeta() {
82
+ return n`
83
+ <span class="mdc-deprecated-list-item__meta material-icons">
84
+ <slot name="meta"></slot>
85
+ </span>`;
86
+ }
87
+ renderText() {
88
+ const e = this.twoline ? this.renderTwoline() : this.renderSingleLine();
89
+ return n`
90
+ <span class="mdc-deprecated-list-item__text">
91
+ ${e}
92
+ </span>`;
93
+ }
94
+ renderSingleLine() {
95
+ return n`<slot></slot>`;
96
+ }
97
+ renderTwoline() {
98
+ return n`
99
+ <span class="mdc-deprecated-list-item__primary-text">
100
+ <slot></slot>
101
+ </span>
102
+ <span class="mdc-deprecated-list-item__secondary-text">
103
+ <slot name="secondary"></slot>
104
+ </span>
105
+ `;
106
+ }
107
+ onClick() {
108
+ this.fireRequestSelected(!this.selected, "interaction");
109
+ }
110
+ onDown(e, i) {
111
+ const a = () => {
112
+ window.removeEventListener(e, a), this.rippleHandlers.endPress();
113
+ };
114
+ window.addEventListener(e, a), this.rippleHandlers.startPress(i);
115
+ }
116
+ fireRequestSelected(e, i) {
117
+ if (this.noninteractive)
118
+ return;
119
+ const a = new CustomEvent("request-selected", { bubbles: !0, composed: !0, detail: { source: i, selected: e } });
120
+ this.dispatchEvent(a);
121
+ }
122
+ connectedCallback() {
123
+ super.connectedCallback(), this.noninteractive || this.setAttribute("mwc-list-item", "");
124
+ for (const e of this.listeners)
125
+ for (const i of e.eventNames)
126
+ e.target.addEventListener(i, e.cb, { passive: !0 });
127
+ }
128
+ disconnectedCallback() {
129
+ super.disconnectedCallback();
130
+ for (const e of this.listeners)
131
+ for (const i of e.eventNames)
132
+ e.target.removeEventListener(i, e.cb);
133
+ this._managingList && (this._managingList.debouncedLayout ? this._managingList.debouncedLayout(!0) : this._managingList.layout(!0));
134
+ }
135
+ // composed flag, event fire through shadow root and up through composed tree
136
+ firstUpdated() {
137
+ const e = new Event("list-item-rendered", { bubbles: !0, composed: !0 });
138
+ this.dispatchEvent(e);
139
+ }
140
+ }
141
+ t([
142
+ u("slot")
143
+ ], s.prototype, "slotElement", void 0);
144
+ t([
145
+ c("mwc-ripple")
146
+ ], s.prototype, "ripple", void 0);
147
+ t([
148
+ r({ type: String })
149
+ ], s.prototype, "value", void 0);
150
+ t([
151
+ r({ type: String, reflect: !0 })
152
+ ], s.prototype, "group", void 0);
153
+ t([
154
+ r({ type: Number, reflect: !0 })
155
+ ], s.prototype, "tabindex", void 0);
156
+ t([
157
+ r({ type: Boolean, reflect: !0 }),
158
+ l(function(o) {
159
+ o ? this.setAttribute("aria-disabled", "true") : this.setAttribute("aria-disabled", "false");
160
+ })
161
+ ], s.prototype, "disabled", void 0);
162
+ t([
163
+ r({ type: Boolean, reflect: !0 })
164
+ ], s.prototype, "twoline", void 0);
165
+ t([
166
+ r({ type: Boolean, reflect: !0 })
167
+ ], s.prototype, "activated", void 0);
168
+ t([
169
+ r({ type: String, reflect: !0 })
170
+ ], s.prototype, "graphic", void 0);
171
+ t([
172
+ r({ type: Boolean })
173
+ ], s.prototype, "multipleGraphics", void 0);
174
+ t([
175
+ r({ type: Boolean })
176
+ ], s.prototype, "hasMeta", void 0);
177
+ t([
178
+ r({ type: Boolean, reflect: !0 }),
179
+ l(function(o) {
180
+ o ? (this.removeAttribute("aria-checked"), this.removeAttribute("mwc-list-item"), this.selected = !1, this.activated = !1, this.tabIndex = -1) : this.setAttribute("mwc-list-item", "");
181
+ })
182
+ ], s.prototype, "noninteractive", void 0);
183
+ t([
184
+ r({ type: Boolean, reflect: !0 }),
185
+ l(function(o) {
186
+ const e = this.getAttribute("role"), i = e === "gridcell" || e === "option" || e === "row" || e === "tab";
187
+ if (i && o ? this.setAttribute("aria-selected", "true") : i && this.setAttribute("aria-selected", "false"), this._firstChanged) {
188
+ this._firstChanged = !1;
189
+ return;
190
+ }
191
+ this._skipPropRequest || this.fireRequestSelected(o, "property");
192
+ })
193
+ ], s.prototype, "selected", void 0);
194
+ t([
195
+ p()
196
+ ], s.prototype, "shouldRenderRipple", void 0);
197
+ t([
198
+ p()
199
+ ], s.prototype, "_managingList", void 0);
200
+ export {
201
+ s as L
202
+ };
@@ -0,0 +1,9 @@
1
+ "use strict";const t=require("./query-assigned-elements-07e38f46.js");/**
2
+ * @license
3
+ * Copyright 2021 Google LLC
4
+ * SPDX-LIcense-Identifier: Apache-2.0
5
+ */const e=t.i`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecated-list-item__meta{height:40px;width:40px}`;/**
6
+ * @license
7
+ * Copyright 2021 Google LLC
8
+ * SPDX-LIcense-Identifier: Apache-2.0
9
+ */const i=t.i`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`;exports.styles=i;exports.styles$1=e;
@@ -0,0 +1,17 @@
1
+ import { i as t } from "./query-assigned-elements-514e5265.mjs";
2
+ /**
3
+ * @license
4
+ * Copyright 2021 Google LLC
5
+ * SPDX-LIcense-Identifier: Apache-2.0
6
+ */
7
+ const i = t`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecated-list-item__meta{height:40px;width:40px}`;
8
+ /**
9
+ * @license
10
+ * Copyright 2021 Google LLC
11
+ * SPDX-LIcense-Identifier: Apache-2.0
12
+ */
13
+ const r = t`:host{cursor:pointer;user-select:none;-webkit-tap-highlight-color:transparent;height:48px;display:flex;position:relative;align-items:center;justify-content:flex-start;overflow:hidden;padding:0;padding-left:var(--mdc-list-side-padding, 16px);padding-right:var(--mdc-list-side-padding, 16px);outline:none;height:48px;color:rgba(0,0,0,.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host:focus{outline:none}:host([activated]){color:#6200ee;color:var(--mdc-theme-primary, #6200ee);--mdc-ripple-color: var( --mdc-theme-primary, #6200ee )}:host([activated]) .mdc-deprecated-list-item__graphic{color:#6200ee;color:var(--mdc-theme-primary, #6200ee)}:host([activated]) .fake-activated-ripple::before{position:absolute;display:block;top:0;bottom:0;left:0;right:0;width:100%;height:100%;pointer-events:none;z-index:1;content:"";opacity:0.12;opacity:var(--mdc-ripple-activated-opacity, 0.12);background-color:#6200ee;background-color:var(--mdc-ripple-color, var(--mdc-theme-primary, #6200ee))}.mdc-deprecated-list-item__graphic{flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;display:inline-flex}.mdc-deprecated-list-item__graphic ::slotted(*){flex-shrink:0;align-items:center;justify-content:center;fill:currentColor;width:100%;height:100%;text-align:center}.mdc-deprecated-list-item__meta{width:var(--mdc-list-item-meta-size, 24px);height:var(--mdc-list-item-meta-size, 24px);margin-left:auto;margin-right:0;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-hint-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-item__meta.multi{width:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:var(--mdc-list-item-meta-size, 24px);line-height:var(--mdc-list-item-meta-size, 24px)}.mdc-deprecated-list-item__meta ::slotted(.material-icons),.mdc-deprecated-list-item__meta ::slotted(mwc-icon){line-height:var(--mdc-list-item-meta-size, 24px) !important}.mdc-deprecated-list-item__meta ::slotted(:not(.material-icons):not(mwc-icon)){-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-caption-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.75rem;font-size:var(--mdc-typography-caption-font-size, 0.75rem);line-height:1.25rem;line-height:var(--mdc-typography-caption-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-caption-font-weight, 400);letter-spacing:0.0333333333em;letter-spacing:var(--mdc-typography-caption-letter-spacing, 0.0333333333em);text-decoration:inherit;text-decoration:var(--mdc-typography-caption-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-caption-text-transform, inherit)}[dir=rtl] .mdc-deprecated-list-item__meta,.mdc-deprecated-list-item__meta[dir=rtl]{margin-left:0;margin-right:auto}.mdc-deprecated-list-item__meta ::slotted(*){width:100%;height:100%}.mdc-deprecated-list-item__text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden}.mdc-deprecated-list-item__text ::slotted([for]),.mdc-deprecated-list-item__text[for]{pointer-events:none}.mdc-deprecated-list-item__primary-text{text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;margin-bottom:-20px;display:block}.mdc-deprecated-list-item__primary-text::before{display:inline-block;width:0;height:32px;content:"";vertical-align:0}.mdc-deprecated-list-item__primary-text::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-deprecated-list-item__secondary-text{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-body2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:0.875rem;font-size:var(--mdc-typography-body2-font-size, 0.875rem);line-height:1.25rem;line-height:var(--mdc-typography-body2-line-height, 1.25rem);font-weight:400;font-weight:var(--mdc-typography-body2-font-weight, 400);letter-spacing:0.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, 0.0178571429em);text-decoration:inherit;text-decoration:var(--mdc-typography-body2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-body2-text-transform, inherit);text-overflow:ellipsis;white-space:nowrap;overflow:hidden;display:block;margin-top:0;line-height:normal;display:block}.mdc-deprecated-list-item__secondary-text::before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-deprecated-list--dense .mdc-deprecated-list-item__secondary-text{font-size:inherit}* ::slotted(a),a{color:inherit;text-decoration:none}:host([twoline]){height:72px}:host([twoline]) .mdc-deprecated-list-item__text{align-self:flex-start}:host([disabled]),:host([noninteractive]){cursor:default;pointer-events:none}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*){opacity:.38}:host([disabled]) .mdc-deprecated-list-item__text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__primary-text ::slotted(*),:host([disabled]) .mdc-deprecated-list-item__secondary-text ::slotted(*){color:#000;color:var(--mdc-theme-on-surface, #000)}.mdc-deprecated-list-item__secondary-text ::slotted(*){color:rgba(0, 0, 0, 0.54);color:var(--mdc-theme-text-secondary-on-background, rgba(0, 0, 0, 0.54))}.mdc-deprecated-list-item__graphic ::slotted(*){background-color:transparent;color:rgba(0, 0, 0, 0.38);color:var(--mdc-theme-text-icon-on-background, rgba(0, 0, 0, 0.38))}.mdc-deprecated-list-group__subheader ::slotted(*){color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87))}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 40px);height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 40px);line-height:var(--mdc-list-item-graphic-size, 40px)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 40px) !important}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic ::slotted(*){border-radius:50%}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic,:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic,:host([graphic=control]) .mdc-deprecated-list-item__graphic{margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 16px)}[dir=rtl] :host([graphic=avatar]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=medium]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=large]) .mdc-deprecated-list-item__graphic,[dir=rtl] :host([graphic=control]) .mdc-deprecated-list-item__graphic,:host([graphic=avatar]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=medium]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=large]) .mdc-deprecated-list-item__graphic[dir=rtl],:host([graphic=control]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 16px);margin-right:0}:host([graphic=icon]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 24px);height:var(--mdc-list-item-graphic-size, 24px);margin-left:0;margin-right:var(--mdc-list-item-graphic-margin, 32px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 24px);line-height:var(--mdc-list-item-graphic-size, 24px)}:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=icon]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 24px) !important}[dir=rtl] :host([graphic=icon]) .mdc-deprecated-list-item__graphic,:host([graphic=icon]) .mdc-deprecated-list-item__graphic[dir=rtl]{margin-left:var(--mdc-list-item-graphic-margin, 32px);margin-right:0}:host([graphic=avatar]:not([twoLine])),:host([graphic=icon]:not([twoLine])){height:56px}:host([graphic=medium]:not([twoLine])),:host([graphic=large]:not([twoLine])){height:72px}:host([graphic=medium]) .mdc-deprecated-list-item__graphic,:host([graphic=large]) .mdc-deprecated-list-item__graphic{width:var(--mdc-list-item-graphic-size, 56px);height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic.multi,:host([graphic=large]) .mdc-deprecated-list-item__graphic.multi{width:auto}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(*),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(*){width:var(--mdc-list-item-graphic-size, 56px);line-height:var(--mdc-list-item-graphic-size, 56px)}:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=medium]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(.material-icons),:host([graphic=large]) .mdc-deprecated-list-item__graphic ::slotted(mwc-icon){line-height:var(--mdc-list-item-graphic-size, 56px) !important}:host([graphic=large]){padding-left:0px}`;
14
+ export {
15
+ i as a,
16
+ r as s
17
+ };