@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,28 +0,0 @@
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;
@@ -1,202 +0,0 @@
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
- };
@@ -1,9 +0,0 @@
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;
@@ -1,17 +0,0 @@
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
- };