@covalent/components 8.7.0-beta.9 → 8.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/{_commonjsHelpers-2f131a27.mjs → _commonjsHelpers-de2741aa.mjs} +2 -2
- package/action-ribbon.mjs +3 -3
- package/alert.mjs +3 -3
- package/app-shell.js +1 -1
- package/app-shell.mjs +7 -7
- package/badge/badge.d.ts +51 -0
- package/badge/badge.d.ts.map +1 -0
- package/badge.js +11 -0
- package/badge.mjs +81 -0
- package/{base-element-acf30176.mjs → base-element-67ae173f.mjs} +1 -1
- package/button.js +1 -1
- package/button.mjs +40 -40
- package/card/card-base.d.ts +0 -4
- package/card/card-base.d.ts.map +1 -1
- package/card.js +4 -4
- package/card.mjs +31 -35
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -8
- package/checkbox.mjs +6 -6
- package/{chip-cbf1145c.mjs → chip-eb043df9.mjs} +3 -3
- package/chip-set.mjs +4 -4
- package/chip.mjs +4 -4
- package/circular-progress.mjs +1 -1
- package/code-snippet/code-snippet.d.ts +1 -2
- package/code-snippet/code-snippet.d.ts.map +1 -1
- package/code-snippet.js +5 -2
- package/code-snippet.mjs +9 -11
- package/{dialog-c9dbe94d.mjs → dialog-3444dd4d.mjs} +3 -3
- package/dialog.mjs +4 -4
- package/drawer.mjs +4 -4
- package/empty-state.mjs +2 -2
- package/expansion-panel-item.mjs +2 -2
- package/{form-element-abadd335.mjs → form-element-7353b3c4.mjs} +2 -2
- package/formfield.mjs +4 -4
- package/{foundation-d533452a.mjs → foundation-b3e4efcd.mjs} +1 -1
- package/icon-button.mjs +4 -4
- package/icon-check-toggle.mjs +6 -6
- package/icon-radio-toggle.mjs +6 -6
- package/icon.mjs +2 -2
- package/index.d.ts +2 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +110 -108
- package/linear-progress.mjs +8 -8
- package/{list-item-430cae02.mjs → list-item-29a11302.mjs} +1 -1
- package/{list-item-bb932090.js → list-item-41178d42.js} +1 -1
- package/list-item.js +1 -1
- package/list-item.mjs +6 -6
- package/list.js +1 -1
- package/list.mjs +7 -7
- package/menu.mjs +7 -7
- package/{mwc-checkbox-base-c40d16d2.mjs → mwc-checkbox-base-afeeff16.mjs} +3 -3
- package/{mwc-drawer-base-9c77129c.mjs → mwc-drawer-base-0c2b4060.mjs} +3 -3
- package/{mwc-icon-5227aec3.mjs → mwc-icon-28b10c70.mjs} +1 -1
- package/{mwc-line-ripple-directive-f9dd7fe3.mjs → mwc-line-ripple-directive-315e996d.mjs} +2 -2
- package/{mwc-list-base-495cbb3b.mjs → mwc-list-base-8aa5bfd8.mjs} +4 -4
- package/{mwc-list-item-base-6449e812.mjs → mwc-list-item-base-bf1a075b.mjs} +2 -2
- package/{mwc-menu-base-9704207e.mjs → mwc-menu-base-872420a4.mjs} +4 -4
- package/{mwc-radio-base-4dbe9e38.mjs → mwc-radio-base-18a887dd.mjs} +4 -4
- package/{mwc-slider.css-30c91236.mjs → mwc-slider.css-03537082.mjs} +3 -3
- package/{mwc-tab-base-effde6e4.mjs → mwc-tab-base-cd1570e4.mjs} +4 -4
- package/{mwc-top-app-bar-base-28c4192d.mjs → mwc-top-app-bar-base-c7380903.mjs} +3 -3
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +30 -30
- package/package.json +10 -6
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -8
- package/radio.mjs +6 -6
- package/{ripple-handlers-0d9ad7c2.mjs → ripple-handlers-38a43e50.mjs} +2 -2
- package/select.mjs +10 -10
- package/side-sheet.mjs +4 -4
- package/slider-range.mjs +6 -6
- package/slider.mjs +10 -10
- package/snackbar.mjs +3 -3
- package/style.css +1 -0
- package/switch.mjs +5 -5
- package/tab-bar.mjs +5 -5
- package/tab.mjs +5 -5
- package/textarea.mjs +6 -6
- package/{textfield-902f3ad3.mjs → textfield-1792a6a8.mjs} +4 -4
- package/textfield.mjs +6 -6
- package/theme/dark-theme.css +1 -0
- package/theme/dark-theme.css.map +1 -0
- package/theme/light-theme.css +1 -0
- package/theme/light-theme.css.map +1 -0
- package/toolbar.mjs +4 -4
- package/tooltip.js +1 -1
- package/tooltip.mjs +3 -3
- package/top-app-bar-fixed.mjs +4 -4
- package/top-app-bar.mjs +4 -4
- package/tree-list-item.mjs +2 -2
- package/{tslib.es6-c4b0f3b1.mjs → tslib.es6-226581a4.mjs} +6 -6
- package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
- package/index.scss +0 -1
- package/theme/_index.scss +0 -316
- package/theme/prebuilt/dark-theme.css +0 -1
- package/theme/prebuilt/dark-theme.css.map +0 -1
- package/theme/prebuilt/light-theme.css +0 -1
- package/theme/prebuilt/light-theme.css.map +0 -1
package/linear-progress.mjs
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { s as y, x as
|
2
|
-
import {
|
3
|
-
import { a as
|
1
|
+
import { s as y, x as b, i as g, r as u, e as h } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { b as a } from "./tslib.es6-226581a4.mjs";
|
3
|
+
import { a as v } from "./aria-property-fa2717fe.mjs";
|
4
4
|
import { n as o } from "./property-9b6ea53b.mjs";
|
5
5
|
import { t } from "./state-b5e865db.mjs";
|
6
|
-
import { i as
|
6
|
+
import { i as _ } from "./query-d843aa92.mjs";
|
7
7
|
import { o as x } from "./class-map-4b94b017.mjs";
|
8
8
|
import { l as p } from "./if-defined-c367f208.mjs";
|
9
9
|
import { o as f } from "./style-map-bc3ed3e0.mjs";
|
@@ -45,7 +45,7 @@ class e extends y {
|
|
45
45
|
}, s = {
|
46
46
|
transform: this.indeterminate ? "scaleX(1)" : `scaleX(${this.progress})`
|
47
47
|
};
|
48
|
-
return
|
48
|
+
return b`
|
49
49
|
<div
|
50
50
|
role="progressbar"
|
51
51
|
class="mdc-linear-progress ${x(r)}"
|
@@ -118,7 +118,7 @@ class e extends y {
|
|
118
118
|
}
|
119
119
|
}
|
120
120
|
a([
|
121
|
-
|
121
|
+
_(".mdc-linear-progress")
|
122
122
|
], e.prototype, "rootEl", void 0);
|
123
123
|
a([
|
124
124
|
o({ type: Boolean, reflect: !0 })
|
@@ -136,7 +136,7 @@ a([
|
|
136
136
|
o({ type: Boolean, reflect: !0 })
|
137
137
|
], e.prototype, "closed", void 0);
|
138
138
|
a([
|
139
|
-
|
139
|
+
v,
|
140
140
|
o({ attribute: "aria-label" })
|
141
141
|
], e.prototype, "ariaLabel", void 0);
|
142
142
|
a([
|
@@ -174,7 +174,7 @@ var z = Object.defineProperty, k = Object.getOwnPropertyDescriptor, S = (c, r, i
|
|
174
174
|
};
|
175
175
|
let d = class extends e {
|
176
176
|
};
|
177
|
-
d.styles = [w, g`${
|
177
|
+
d.styles = [w, g`${u(X)}`];
|
178
178
|
d = S([
|
179
179
|
h("cv-linear-progress")
|
180
180
|
], d);
|
@@ -10,7 +10,7 @@ const i = t`:host(:not([twoline])){height:56px}:host(:not([left])) .mdc-deprecat
|
|
10
10
|
* Copyright 2021 Google LLC
|
11
11
|
* SPDX-LIcense-Identifier: Apache-2.0
|
12
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}`, a = `:host{width:100%;box-sizing:border-box}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-primary-container);color:var(--cv-theme-on-primary-container);background-color:var(--cv-theme-primary-container);border-radius:9999px}.mdc-deprecated-list-item__meta.material-icons ::slotted(cv-icon){font-family:var(--mdc-icon-font);font-size:var(--mdc-icon-size, 24px);line-height:1}.mdc-deprecated-list-item__text{padding-left:var(--cv-list-item-text-padding, 0)}.mdc-deprecated-list-item__secondary-text{--mdc-icon-size: var(--mdc-typography-body2-font-size)}.mdc-deprecated-list-item__meta{display:flex;align-items:center}.mdc-deprecated-list-item__meta ::slotted(*),.mdc-deprecated-list-item__graphic ::slotted(*){display:flex;align-items:center}
|
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}`, a = `:host{width:100%;box-sizing:border-box}.mdc-deprecated-list-item__text{padding-left:var(--cv-list-item-text-padding, 0)}.mdc-deprecated-list-item__meta{display:flex;align-items:center}.mdc-deprecated-list-item__meta ::slotted(*),.mdc-deprecated-list-item__graphic ::slotted(*){display:flex;align-items:center}
|
14
14
|
`;
|
15
15
|
export {
|
16
16
|
i as a,
|
@@ -6,5 +6,5 @@
|
|
6
6
|
* @license
|
7
7
|
* Copyright 2021 Google LLC
|
8
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}`,r=`:host{width:100%;box-sizing:border-box}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{--mdc-theme-text-icon-on-background: var(--cv-theme-on-primary-container);color:var(--cv-theme-on-primary-container);background-color:var(--cv-theme-primary-container);border-radius:9999px}.mdc-deprecated-list-item__meta.material-icons ::slotted(cv-icon){font-family:var(--mdc-icon-font);font-size:var(--mdc-icon-size, 24px);line-height:1}.mdc-deprecated-list-item__text{padding-left:var(--cv-list-item-text-padding, 0)}.mdc-deprecated-list-item__secondary-text{--mdc-icon-size: var(--mdc-typography-body2-font-size)}.mdc-deprecated-list-item__meta{display:flex;align-items:center}.mdc-deprecated-list-item__meta ::slotted(*),.mdc-deprecated-list-item__graphic ::slotted(*){display:flex;align-items:center}
|
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}`,r=`:host{width:100%;box-sizing:border-box}.mdc-deprecated-list-item__text{padding-left:var(--cv-list-item-text-padding, 0)}.mdc-deprecated-list-item__meta{display:flex;align-items:center}.mdc-deprecated-list-item__meta ::slotted(*),.mdc-deprecated-list-item__graphic ::slotted(*){display:flex;align-items:center}
|
10
10
|
`;exports.covalentStyles=r;exports.styles=i;exports.styles$1=e;
|
package/list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("./mwc-list-item-base-297d86b0.js"),t=require("./query-assigned-elements-f623705d.js"),o=require("./list-item-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const v=require("./mwc-list-item-base-297d86b0.js"),t=require("./query-assigned-elements-f623705d.js"),o=require("./list-item-41178d42.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./property-57f6f6fe.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");var a=Object.defineProperty,m=Object.getOwnPropertyDescriptor,q=(i,r,l,s)=>{for(var e=s>1?void 0:s?m(r,l):r,u=i.length-1,n;u>=0;u--)(n=i[u])&&(e=(s?n(r,l,e):n(e))||e);return s&&e&&a(r,l,e),e};exports.CovalentListItem=class extends v.ListItemBase{};exports.CovalentListItem.styles=[t.i`
|
2
2
|
${t.r(o.styles)}
|
3
3
|
`,t.i`
|
4
4
|
${t.r(o.styles$1)}
|
package/list-item.mjs
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
import { L as v } from "./mwc-list-item-base-
|
1
|
+
import { L as v } from "./mwc-list-item-base-bf1a075b.mjs";
|
2
2
|
import { i as p, r as l, e as f } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { s as c, a as n, c as _ } from "./list-item-
|
4
|
-
import "./tslib.es6-
|
5
|
-
import "./ripple-handlers-
|
6
|
-
import "./base-element-
|
7
|
-
import "./utils-
|
3
|
+
import { s as c, a as n, c as _ } from "./list-item-29a11302.mjs";
|
4
|
+
import "./tslib.es6-226581a4.mjs";
|
5
|
+
import "./ripple-handlers-38a43e50.mjs";
|
6
|
+
import "./base-element-67ae173f.mjs";
|
7
|
+
import "./utils-2932417c.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./state-b5e865db.mjs";
|
10
10
|
import "./query-d843aa92.mjs";
|
package/list.js
CHANGED
@@ -2,7 +2,7 @@
|
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
5
|
-
*/const o=r.i`@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}`,c=`:host{padding-right:var(--cv-list-padding-right, 0);padding-left:var(--cv-list-padding-left, 0)}:host(.subnav) ::slotted(*)
|
5
|
+
*/const o=r.i`@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}`,c=`:host{padding-right:var(--cv-list-padding-right, 0);padding-left:var(--cv-list-padding-left, 0)}:host(.subnav) ::slotted(*){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host(.subnav){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 48px}.mdc-deprecated-list{width:100%}
|
6
6
|
`;var p=Object.defineProperty,m=Object.getOwnPropertyDescriptor,g=(d,e,a,i)=>{for(var t=i>1?void 0:i?m(e,a):e,s=d.length-1,n;s>=0;s--)(n=d[s])&&(t=(i?n(e,a,t):n(t))||t);return i&&t&&p(e,a,t),t};exports.CovalentList=class extends l.ListBase{};exports.CovalentList.styles=[o,r.i`
|
7
7
|
${r.r(c)}
|
8
8
|
`];exports.CovalentList=g([r.e("cv-list")],exports.CovalentList);const h=exports.CovalentList;exports.default=h;
|
package/list.mjs
CHANGED
@@ -1,10 +1,10 @@
|
|
1
1
|
import { i as n, r as l, e as p } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { L as c } from "./mwc-list-base-
|
3
|
-
import "./tslib.es6-
|
4
|
-
import "./mwc-list-item-base-
|
5
|
-
import "./ripple-handlers-
|
6
|
-
import "./base-element-
|
7
|
-
import "./utils-
|
2
|
+
import { L as c } from "./mwc-list-base-8aa5bfd8.mjs";
|
3
|
+
import "./tslib.es6-226581a4.mjs";
|
4
|
+
import "./mwc-list-item-base-bf1a075b.mjs";
|
5
|
+
import "./ripple-handlers-38a43e50.mjs";
|
6
|
+
import "./base-element-67ae173f.mjs";
|
7
|
+
import "./utils-2932417c.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./state-b5e865db.mjs";
|
10
10
|
import "./query-d843aa92.mjs";
|
@@ -18,7 +18,7 @@ import "./if-defined-c367f208.mjs";
|
|
18
18
|
* Copyright 2021 Google LLC
|
19
19
|
* SPDX-LIcense-Identifier: Apache-2.0
|
20
20
|
*/
|
21
|
-
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}`, g = `:host{padding-right:var(--cv-list-padding-right, 0);padding-left:var(--cv-list-padding-left, 0)}:host(.subnav) ::slotted(*)
|
21
|
+
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}`, g = `:host{padding-right:var(--cv-list-padding-right, 0);padding-left:var(--cv-list-padding-left, 0)}:host(.subnav) ::slotted(*){height:32px;font-weight:var(--mdc-typography-body2-font-weight);border-radius:var(--cv-list-item-border-radius, 100px);padding:0;padding-right:var(--cv-list-padding-right, 12px);padding-left:var(--cv-list-padding-left, 12px)}:host(.subnav){--cv-list-padding-right: 0;--cv-list-padding-left: 0;--cv-list-item-text-padding: 48px}.mdc-deprecated-list{width:100%}
|
22
22
|
`;
|
23
23
|
var h = Object.defineProperty, f = Object.getOwnPropertyDescriptor, v = (o, e, r, i) => {
|
24
24
|
for (var t = i > 1 ? void 0 : i ? f(e, r) : e, a = o.length - 1, s; a >= 0; a--)
|
package/menu.mjs
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { M as n } from "./mwc-menu-base-
|
1
|
+
import { M as n } from "./mwc-menu-base-872420a4.mjs";
|
2
2
|
import { i as l, e as c } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import "./tslib.es6-
|
4
|
-
import "./mwc-list-base-
|
5
|
-
import "./mwc-list-item-base-
|
6
|
-
import "./ripple-handlers-
|
7
|
-
import "./base-element-
|
8
|
-
import "./utils-
|
3
|
+
import "./tslib.es6-226581a4.mjs";
|
4
|
+
import "./mwc-list-base-8aa5bfd8.mjs";
|
5
|
+
import "./mwc-list-item-base-bf1a075b.mjs";
|
6
|
+
import "./ripple-handlers-38a43e50.mjs";
|
7
|
+
import "./base-element-67ae173f.mjs";
|
8
|
+
import "./utils-2932417c.mjs";
|
9
9
|
import "./property-9b6ea53b.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { e as u, R as k } from "./ripple-handlers-
|
1
|
+
import { b as t } from "./tslib.es6-226581a4.mjs";
|
2
|
+
import { e as u, R as k } from "./ripple-handlers-38a43e50.mjs";
|
3
3
|
import { a as r } from "./aria-property-fa2717fe.mjs";
|
4
|
-
import { F as b } from "./form-element-
|
4
|
+
import { F as b } from "./form-element-7353b3c4.mjs";
|
5
5
|
import { x as l } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as d } from "./property-9b6ea53b.mjs";
|
7
7
|
import { t as c } from "./state-b5e865db.mjs";
|
@@ -1,12 +1,12 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as h, a as p, b as r } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import "./inert.esm-359d4581.mjs";
|
3
|
-
import { B as F } from "./base-element-
|
3
|
+
import { B as F } from "./base-element-67ae173f.mjs";
|
4
4
|
import { o as b } from "./observer-be7b92e2.mjs";
|
5
5
|
import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as l } from "./property-9b6ea53b.mjs";
|
7
7
|
import { i as C } from "./query-d843aa92.mjs";
|
8
8
|
import { o as g } from "./class-map-4b94b017.mjs";
|
9
|
-
import { a as N } from "./utils-
|
9
|
+
import { a as N } from "./utils-2932417c.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2016 Google Inc.
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as u, a as d, b as a } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import { x as _, i as v, e as E } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { B as y } from "./base-element-
|
3
|
+
import { B as y } from "./base-element-67ae173f.mjs";
|
4
4
|
import { n as h } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as f } from "./query-d843aa92.mjs";
|
6
6
|
import { o as L, e as m, i as b, t as l } from "./class-map-4b94b017.mjs";
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { b as p } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import { i as z, e as B, x as P } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as H } from "./mwc-list-item-base-
|
4
|
-
import { B as K } from "./base-element-
|
3
|
+
import { L as H } from "./mwc-list-item-base-bf1a075b.mjs";
|
4
|
+
import { B as K } from "./base-element-67ae173f.mjs";
|
5
5
|
import { o as L } from "./observer-be7b92e2.mjs";
|
6
|
-
import { i as V,
|
6
|
+
import { i as V, d as X, b as G } from "./utils-2932417c.mjs";
|
7
7
|
import { n as I } from "./property-9b6ea53b.mjs";
|
8
8
|
import { i as $ } from "./query-d843aa92.mjs";
|
9
9
|
import { o as k } from "./query-assigned-nodes-df691e78.mjs";
|
@@ -1,5 +1,5 @@
|
|
1
|
-
import {
|
2
|
-
import { e as c, R as d } from "./ripple-handlers-
|
1
|
+
import { b as t } from "./tslib.es6-226581a4.mjs";
|
2
|
+
import { e as c, R as d } from "./ripple-handlers-38a43e50.mjs";
|
3
3
|
import { o as l } from "./observer-be7b92e2.mjs";
|
4
4
|
import { s as h, x as n } from "./query-assigned-elements-4a39219d.mjs";
|
5
5
|
import { n as r } from "./property-9b6ea53b.mjs";
|
@@ -1,9 +1,9 @@
|
|
1
|
-
import {
|
1
|
+
import { b as o, _ as U, a as B, c as q } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import { i as V, e as K, x as F } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { L as Q } from "./mwc-list-base-
|
4
|
-
import { B as j } from "./base-element-
|
3
|
+
import { L as Q } from "./mwc-list-base-8aa5bfd8.mjs";
|
4
|
+
import { B as j } from "./base-element-67ae173f.mjs";
|
5
5
|
import { o as g } from "./observer-be7b92e2.mjs";
|
6
|
-
import { a as Y,
|
6
|
+
import { a as Y, d as Z, b as J } from "./utils-2932417c.mjs";
|
7
7
|
import { n as a } from "./property-9b6ea53b.mjs";
|
8
8
|
import { t as b } from "./state-b5e865db.mjs";
|
9
9
|
import { i as D } from "./query-d843aa92.mjs";
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { e as g, R as y } from "./ripple-handlers-
|
1
|
+
import { _ as v, a as c, b as i } from "./tslib.es6-226581a4.mjs";
|
2
|
+
import { e as g, R as y } from "./ripple-handlers-38a43e50.mjs";
|
3
3
|
import { a as f } from "./aria-property-fa2717fe.mjs";
|
4
|
-
import { F as R } from "./form-element-
|
4
|
+
import { F as R } from "./form-element-7353b3c4.mjs";
|
5
5
|
import { o as m } from "./observer-be7b92e2.mjs";
|
6
6
|
import { x as u } from "./query-assigned-elements-4a39219d.mjs";
|
7
7
|
import { n as a } from "./property-9b6ea53b.mjs";
|
@@ -10,7 +10,7 @@ import { e as C } from "./event-options-78d6cf94.mjs";
|
|
10
10
|
import { i as b } from "./query-d843aa92.mjs";
|
11
11
|
import { o as E } from "./class-map-4b94b017.mjs";
|
12
12
|
import { l as h } from "./if-defined-c367f208.mjs";
|
13
|
-
import { a as k } from "./utils-
|
13
|
+
import { a as k } from "./utils-2932417c.mjs";
|
14
14
|
/**
|
15
15
|
* @license
|
16
16
|
* Copyright 2020 Google LLC
|
@@ -1,7 +1,7 @@
|
|
1
|
-
import {
|
2
|
-
import { e as H, R as O } from "./ripple-handlers-
|
1
|
+
import { _ as F, a as x, b as o } from "./tslib.es6-226581a4.mjs";
|
2
|
+
import { e as H, R as O } from "./ripple-handlers-38a43e50.mjs";
|
3
3
|
import { a as w } from "./aria-property-fa2717fe.mjs";
|
4
|
-
import { F as B } from "./form-element-
|
4
|
+
import { F as B } from "./form-element-7353b3c4.mjs";
|
5
5
|
import { x as _, A as g, i as $ } from "./query-assigned-elements-4a39219d.mjs";
|
6
6
|
import { n as f } from "./property-9b6ea53b.mjs";
|
7
7
|
import { t as b } from "./state-b5e865db.mjs";
|
@@ -1,11 +1,11 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as m, a as h, b as i } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import { x as c, i as R, e as A } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { B as g } from "./base-element-
|
3
|
+
import { B as g } from "./base-element-67ae173f.mjs";
|
4
4
|
import { n as r } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as l } from "./query-d843aa92.mjs";
|
6
6
|
import { o as v } from "./class-map-4b94b017.mjs";
|
7
|
-
import { a as I } from "./utils-
|
8
|
-
import { e as T, R as E } from "./ripple-handlers-
|
7
|
+
import { a as I } from "./utils-2932417c.mjs";
|
8
|
+
import { e as T, R as E } from "./ripple-handlers-38a43e50.mjs";
|
9
9
|
import { o as F } from "./observer-be7b92e2.mjs";
|
10
10
|
import { t as _ } from "./state-b5e865db.mjs";
|
11
11
|
import { e as O } from "./event-options-78d6cf94.mjs";
|
@@ -1,8 +1,8 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as f, a as u, b as s } from "./tslib.es6-226581a4.mjs";
|
2
2
|
import { n as p } from "./property-9b6ea53b.mjs";
|
3
3
|
import { x as c } from "./query-assigned-elements-4a39219d.mjs";
|
4
|
-
import { B as _ } from "./base-element-
|
5
|
-
import { a as A, s as S } from "./utils-
|
4
|
+
import { B as _ } from "./base-element-67ae173f.mjs";
|
5
|
+
import { a as A, s as S } from "./utils-2932417c.mjs";
|
6
6
|
import { i as g } from "./query-d843aa92.mjs";
|
7
7
|
import { o as h } from "./class-map-4b94b017.mjs";
|
8
8
|
/**
|
package/nav-list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),d=require("./list-item-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./query-assigned-elements-f623705d.js"),c=require("./property-57f6f6fe.js"),h=require("./list-item.js"),d=require("./list-item-41178d42.js");require("./mwc-list-item-base-297d86b0.js");require("./tslib.es6-98719205.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./query-680f1868.js");require("./class-map-b5efe8da.js");require("./style-map-88d2563f.js");require("./observer-a096ab43.js");const p=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%);--mdc-list-item-graphic-margin: 8px}::slotted(.section-selector){display:none;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{margin-left:var(--cv-list-item-graphic-margin-left, 12px)}:host([graphic=avatar]){padding:0}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;margin-right:0;border-radius:0;height:48px;font-size:0;padding:0 0 0 15px}:host([hasChildren]){flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-primary)}.expansion-header{position:relative;height:48px;width:100%;overflow:visible;display:flex;flex-shrink:0;align-items:center}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
|
2
2
|
`;var m=Object.defineProperty,u=Object.getOwnPropertyDescriptor,s=(n,e,t,i)=>{for(var r=i>1?void 0:i?u(e,t):e,o=n.length-1,l;o>=0;o--)(l=n[o])&&(r=(i?l(e,t,r):l(r))||r);return i&&r&&m(e,t,r),r};exports.CovalentNavRailListItem=class extends h.CovalentListItem{constructor(){super(...arguments),this.open=!1,this.hasChildren=!1,this.activated=!1,this.lastKeySelected=0}_toggleOpen(){this.open=!this.open}_handleKeydown(e){const t=this.expansionPanelElements[0],i=t?t==null?void 0:t.getFocusedItemIndex():0,r=(t==null?void 0:t.items.length)??0;if(this.hasChildren){if(e.code==="Enter"){e.preventDefault(),e.stopImmediatePropagation(),e.target.hasChildren?this._toggleOpen():this._deselectHeader(e);return}if(this.open){if(e.code==="ArrowUp"&&i===0&&this.lastKeySelected===0&&!e.target.hasChildren){e.preventDefault(),e.stopImmediatePropagation(),t.items[0].blur(),this.focus();return}e.code==="ArrowDown"&&i===-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(0),this.lastKeySelected=0),e.code==="ArrowUp"&&i!==-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i),(e.code==="ArrowDown"||e.code==="ArrowUp")&&i!==-1&&this.lastKeySelected<r-1&&(e.preventDefault(),e.stopImmediatePropagation(),t.focusItemAtIndex(i),this.lastKeySelected=i)}}}_handleRequestSelected(e){const t=e;this.hasChildren&&t.detail.selected===!1&&t.detail.source==="property"&&this._deselectChildren()}_deselectChildren(){this.expansionPanelElements.forEach(e=>{e.items.forEach(t=>t.selected=!1)})}_deselectHeader(e){e.preventDefault(),e.stopImmediatePropagation(),this.fireRequestSelected(!1,"interaction"),this.activated=!1}renderExpansionItem(){const e=this.renderText(),t=this.graphic?this.renderGraphic():a.A,i=this.renderMeta();return a.x`
|
3
3
|
<div
|
4
4
|
@mousedown=${this._toggleOpen}
|
package/nav-list-item.mjs
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
import { i as
|
1
|
+
import { i as o, r as n, l as m, A as g, x as c, e as f } from "./query-assigned-elements-4a39219d.mjs";
|
2
2
|
import { n as h } from "./property-9b6ea53b.mjs";
|
3
3
|
import { CovalentListItem as u } from "./list-item.mjs";
|
4
|
-
import { s as v, a as x, c as y } from "./list-item-
|
5
|
-
import "./mwc-list-item-base-
|
6
|
-
import "./tslib.es6-
|
7
|
-
import "./ripple-handlers-
|
8
|
-
import "./base-element-
|
9
|
-
import "./utils-
|
4
|
+
import { s as v, a as x, c as y } from "./list-item-29a11302.mjs";
|
5
|
+
import "./mwc-list-item-base-bf1a075b.mjs";
|
6
|
+
import "./tslib.es6-226581a4.mjs";
|
7
|
+
import "./ripple-handlers-38a43e50.mjs";
|
8
|
+
import "./base-element-67ae173f.mjs";
|
9
|
+
import "./utils-2932417c.mjs";
|
10
10
|
import "./state-b5e865db.mjs";
|
11
11
|
import "./query-d843aa92.mjs";
|
12
12
|
import "./class-map-4b94b017.mjs";
|
13
13
|
import "./style-map-bc3ed3e0.mjs";
|
14
14
|
import "./observer-be7b92e2.mjs";
|
15
|
-
const w = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%);--mdc-list-item-graphic-margin:
|
15
|
+
const w = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left;border-radius:var(--cv-list-item-border-radius, 100px);transition:border-radius .1s ease-out;width:var(--cv-list-item-width, 100%);--mdc-list-item-graphic-margin: 8px}::slotted(.section-selector){display:none;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]) .mdc-deprecated-list-item__graphic{margin-left:var(--cv-list-item-graphic-margin-left, 12px)}:host([graphic=avatar]){padding:0}:host([graphic=avatar]) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;margin-right:0;border-radius:0;height:48px;font-size:0;padding:0 0 0 15px}:host([hasChildren]){flex-direction:column;overflow:visible;height:inherit!important;background:none;padding:0;--mdc-list-side-padding: 0;--cv-list-item-graphic-margin-left: 0}:host([hasChildren][open]:hover:not([activated])) .expansion-header{--mdc-ripple-color: transparent}:host([hasChildren][open]:hover:not([activated])) .expansion-header:hover{--mdc-ripple-color: var(--mdc-theme-primary)}.expansion-header{position:relative;height:48px;width:100%;overflow:visible;display:flex;flex-shrink:0;align-items:center}.expansion-header mwc-ripple{border-radius:var(--cv-list-item-border-radius);overflow:hidden}.expansion-header-inner{padding:0 16px}.expansion-icon{margin-right:var(--cv-list-item-expansion-icon-margin, 0);font-size:var(--cv-list-item-expansion-icon-size, --mdc-icon-size);color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}.expansion-panel{display:block;width:100%;height:var(--cv-list-menu-height, 0);--mdc-list-side-padding: 72px;transition:transform .15s ease-out;overflow:hidden}:host([open][hasChildren]:not([twoline])){height:inherit;display:flex;flex-direction:column;border-radius:0}:host([open][hasChildren]:not([twoline])) .expansion-panel{transition:min-height .25s ease-in;height:var(--cv-list-menu-height, inherit)}
|
16
16
|
`;
|
17
|
-
var
|
18
|
-
for (var
|
19
|
-
(p = e[
|
20
|
-
return
|
17
|
+
var _ = Object.defineProperty, b = Object.getOwnPropertyDescriptor, l = (e, t, i, s) => {
|
18
|
+
for (var a = s > 1 ? void 0 : s ? b(t, i) : t, d = e.length - 1, p; d >= 0; d--)
|
19
|
+
(p = e[d]) && (a = (s ? p(t, i, a) : p(a)) || a);
|
20
|
+
return s && a && _(t, i, a), a;
|
21
21
|
};
|
22
|
-
let
|
22
|
+
let r = class extends u {
|
23
23
|
constructor() {
|
24
24
|
super(...arguments), this.open = !1, this.hasChildren = !1, this.activated = !1, this.lastKeySelected = 0;
|
25
25
|
}
|
@@ -27,7 +27,7 @@ let a = class extends u {
|
|
27
27
|
this.open = !this.open;
|
28
28
|
}
|
29
29
|
_handleKeydown(e) {
|
30
|
-
const t = this.expansionPanelElements[0], i = t ? t == null ? void 0 : t.getFocusedItemIndex() : 0,
|
30
|
+
const t = this.expansionPanelElements[0], i = t ? t == null ? void 0 : t.getFocusedItemIndex() : 0, s = (t == null ? void 0 : t.items.length) ?? 0;
|
31
31
|
if (this.hasChildren) {
|
32
32
|
if (e.code === "Enter") {
|
33
33
|
e.preventDefault(), e.stopImmediatePropagation(), e.target.hasChildren ? this._toggleOpen() : this._deselectHeader(e);
|
@@ -38,7 +38,7 @@ let a = class extends u {
|
|
38
38
|
e.preventDefault(), e.stopImmediatePropagation(), t.items[0].blur(), this.focus();
|
39
39
|
return;
|
40
40
|
}
|
41
|
-
e.code === "ArrowDown" && i === -1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(0), this.lastKeySelected = 0), e.code === "ArrowUp" && i !== -1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(i), this.lastKeySelected = i), (e.code === "ArrowDown" || e.code === "ArrowUp") && i !== -1 && this.lastKeySelected <
|
41
|
+
e.code === "ArrowDown" && i === -1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(0), this.lastKeySelected = 0), e.code === "ArrowUp" && i !== -1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(i), this.lastKeySelected = i), (e.code === "ArrowDown" || e.code === "ArrowUp") && i !== -1 && this.lastKeySelected < s - 1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(i), this.lastKeySelected = i);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
}
|
@@ -89,34 +89,34 @@ let a = class extends u {
|
|
89
89
|
return this.hasChildren ? this.renderExpansionItem() : super.render();
|
90
90
|
}
|
91
91
|
};
|
92
|
-
|
93
|
-
|
92
|
+
r.styles = [
|
93
|
+
o`
|
94
94
|
${n(v)}
|
95
95
|
`,
|
96
|
-
|
96
|
+
o`
|
97
97
|
${n(x)}
|
98
98
|
`,
|
99
|
-
|
99
|
+
o`
|
100
100
|
${n(y)}
|
101
101
|
`,
|
102
|
-
|
102
|
+
o`
|
103
103
|
${n(w)}
|
104
104
|
`
|
105
105
|
];
|
106
|
-
|
106
|
+
l([
|
107
107
|
m({ slot: "expansion-panel", flatten: !0 })
|
108
|
-
],
|
109
|
-
|
108
|
+
], r.prototype, "expansionPanelElements", 2);
|
109
|
+
l([
|
110
110
|
h({ type: Boolean, reflect: !0 })
|
111
|
-
],
|
112
|
-
|
111
|
+
], r.prototype, "open", 2);
|
112
|
+
l([
|
113
113
|
h({ type: Boolean, reflect: !0 })
|
114
|
-
],
|
115
|
-
|
114
|
+
], r.prototype, "hasChildren", 2);
|
115
|
+
r = l([
|
116
116
|
f("cv-nav-list-item")
|
117
|
-
],
|
118
|
-
const q =
|
117
|
+
], r);
|
118
|
+
const q = r;
|
119
119
|
export {
|
120
|
-
|
120
|
+
r as CovalentNavRailListItem,
|
121
121
|
q as default
|
122
122
|
};
|
package/package.json
CHANGED
@@ -1,20 +1,19 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "8.7.0
|
3
|
+
"version": "8.7.0",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
7
7
|
"types": "./index.d.ts",
|
8
8
|
"exports": {
|
9
9
|
".": {
|
10
|
-
"sass": "./
|
10
|
+
"sass": "./style.css",
|
11
11
|
"import": "./index.mjs",
|
12
12
|
"require": "./index.js"
|
13
13
|
},
|
14
|
-
"./
|
15
|
-
|
16
|
-
|
17
|
-
"sass": "./theme/_index.scss"
|
14
|
+
"./style.css": {
|
15
|
+
"import": "./style.css",
|
16
|
+
"require": "./style.css"
|
18
17
|
},
|
19
18
|
"./action-ribbon": {
|
20
19
|
"types": "./action-ribbon/action-ribbon.d.ts",
|
@@ -31,6 +30,11 @@
|
|
31
30
|
"import": "./app-shell.mjs",
|
32
31
|
"require": "./app-shell.js"
|
33
32
|
},
|
33
|
+
"./badge": {
|
34
|
+
"types": "./badge/badge.d.ts",
|
35
|
+
"import": "./badge.mjs",
|
36
|
+
"require": "./badge.js"
|
37
|
+
},
|
34
38
|
"./button": {
|
35
39
|
"types": "./button/button.d.ts",
|
36
40
|
"import": "./button.mjs",
|