@covalent/components 8.7.0 → 8.8.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-de2741aa.mjs → _commonjsHelpers-2f131a27.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.js +1 -1
- package/badge.mjs +1 -1
- package/{base-element-67ae173f.mjs → base-element-acf30176.mjs} +1 -1
- package/button.js +1 -1
- package/button.mjs +40 -40
- package/card/card-base.d.ts +4 -0
- package/card/card-base.d.ts.map +1 -1
- package/card.js +4 -4
- package/card.mjs +35 -31
- package/check-list-item.js +1 -1
- package/check-list-item.mjs +8 -8
- package/checkbox.mjs +6 -6
- package/{chip-21138b58.js → chip-099110a3.js} +1 -1
- package/{chip-eb043df9.mjs → chip-897bf7e9.mjs} +4 -4
- package/chip-set.js +1 -1
- package/chip-set.mjs +4 -4
- package/chip.js +1 -1
- package/chip.mjs +4 -4
- package/circular-progress.mjs +1 -1
- package/code-snippet/code-snippet.d.ts +2 -1
- package/code-snippet/code-snippet.d.ts.map +1 -1
- package/code-snippet.js +2 -5
- package/code-snippet.mjs +11 -9
- package/{dialog-3444dd4d.mjs → dialog-c9dbe94d.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-7353b3c4.mjs → form-element-abadd335.mjs} +2 -2
- package/formfield.mjs +4 -4
- package/{foundation-b3e4efcd.mjs → foundation-d533452a.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 +0 -1
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +26 -26
- package/index.scss +1 -0
- package/linear-progress.mjs +8 -8
- package/{list-item-29a11302.mjs → list-item-430cae02.mjs} +1 -1
- package/{list-item-41178d42.js → list-item-bb932090.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-afeeff16.mjs → mwc-checkbox-base-c40d16d2.mjs} +3 -3
- package/{mwc-drawer-base-0c2b4060.mjs → mwc-drawer-base-9c77129c.mjs} +3 -3
- package/{mwc-icon-28b10c70.mjs → mwc-icon-5227aec3.mjs} +1 -1
- package/{mwc-line-ripple-directive-315e996d.mjs → mwc-line-ripple-directive-f9dd7fe3.mjs} +2 -2
- package/{mwc-list-base-8aa5bfd8.mjs → mwc-list-base-495cbb3b.mjs} +4 -4
- package/{mwc-list-item-base-bf1a075b.mjs → mwc-list-item-base-6449e812.mjs} +2 -2
- package/{mwc-menu-base-872420a4.mjs → mwc-menu-base-9704207e.mjs} +4 -4
- package/{mwc-radio-base-18a887dd.mjs → mwc-radio-base-4dbe9e38.mjs} +4 -4
- package/{mwc-slider.css-03537082.mjs → mwc-slider.css-30c91236.mjs} +3 -3
- package/{mwc-tab-base-cd1570e4.mjs → mwc-tab-base-effde6e4.mjs} +4 -4
- package/{mwc-top-app-bar-base-c7380903.mjs → mwc-top-app-bar-base-28c4192d.mjs} +3 -3
- package/nav-list-item.js +2 -4
- package/nav-list-item.mjs +32 -34
- package/package.json +6 -5
- package/radio-list-item.js +1 -1
- package/radio-list-item.mjs +8 -8
- package/radio.mjs +6 -6
- package/{ripple-handlers-38a43e50.mjs → ripple-handlers-0d9ad7c2.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/switch.mjs +5 -5
- package/tab-bar.mjs +5 -5
- package/tab.mjs +5 -5
- package/textarea.mjs +6 -6
- package/{textfield-1792a6a8.mjs → textfield-902f3ad3.mjs} +4 -4
- package/textfield.mjs +6 -6
- package/theme/_index.scss +316 -0
- package/theme/prebuilt/dark-theme.css +1 -0
- package/theme/prebuilt/dark-theme.css.map +1 -0
- package/theme/prebuilt/light-theme.css +1 -0
- package/theme/prebuilt/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-226581a4.mjs → tslib.es6-c4b0f3b1.mjs} +6 -6
- package/{utils-2932417c.mjs → utils-dc65fdc9.mjs} +2 -2
- package/style.css +0 -1
- package/theme/dark-theme.css +0 -1
- package/theme/dark-theme.css.map +0 -1
- package/theme/light-theme.css +0 -1
- package/theme/light-theme.css.map +0 -1
@@ -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}.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}
|
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}
|
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-bb932090.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-6449e812.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-430cae02.mjs";
|
4
|
+
import "./tslib.es6-c4b0f3b1.mjs";
|
5
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
6
|
+
import "./base-element-acf30176.mjs";
|
7
|
+
import "./utils-dc65fdc9.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(*){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%}
|
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(*),: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),: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-495cbb3b.mjs";
|
3
|
+
import "./tslib.es6-c4b0f3b1.mjs";
|
4
|
+
import "./mwc-list-item-base-6449e812.mjs";
|
5
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
6
|
+
import "./base-element-acf30176.mjs";
|
7
|
+
import "./utils-dc65fdc9.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(*){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%}
|
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(*),: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),: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-9704207e.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-c4b0f3b1.mjs";
|
4
|
+
import "./mwc-list-base-495cbb3b.mjs";
|
5
|
+
import "./mwc-list-item-base-6449e812.mjs";
|
6
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
7
|
+
import "./base-element-acf30176.mjs";
|
8
|
+
import "./utils-dc65fdc9.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 { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
+
import { e as u, R as k } from "./ripple-handlers-0d9ad7c2.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-abadd335.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 { a as h, b as p, _ as r } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import "./inert.esm-359d4581.mjs";
|
3
|
-
import { B as F } from "./base-element-
|
3
|
+
import { B as F } from "./base-element-acf30176.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-dc65fdc9.mjs";
|
10
10
|
/**
|
11
11
|
* @license
|
12
12
|
* Copyright 2016 Google Inc.
|
@@ -1,6 +1,6 @@
|
|
1
|
-
import {
|
1
|
+
import { a as u, b as d, _ as a } from "./tslib.es6-c4b0f3b1.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-acf30176.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 { _ as p } from "./tslib.es6-c4b0f3b1.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-6449e812.mjs";
|
4
|
+
import { B as K } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as L } from "./observer-be7b92e2.mjs";
|
6
|
-
import { i as V,
|
6
|
+
import { i as V, b as X, d as G } from "./utils-dc65fdc9.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 { _ as t } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
+
import { e as c, R as d } from "./ripple-handlers-0d9ad7c2.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 { _ as o, a as U, b as B, c as q } from "./tslib.es6-c4b0f3b1.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-495cbb3b.mjs";
|
4
|
+
import { B as j } from "./base-element-acf30176.mjs";
|
5
5
|
import { o as g } from "./observer-be7b92e2.mjs";
|
6
|
-
import { a as Y,
|
6
|
+
import { a as Y, b as Z, d as J } from "./utils-dc65fdc9.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 { a as v, b as c, _ as i } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
+
import { e as g, R as y } from "./ripple-handlers-0d9ad7c2.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-abadd335.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-dc65fdc9.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 { a as F, b as x, _ as o } from "./tslib.es6-c4b0f3b1.mjs";
|
2
|
+
import { e as H, R as O } from "./ripple-handlers-0d9ad7c2.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-abadd335.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 { a as m, b as h, _ as i } from "./tslib.es6-c4b0f3b1.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-acf30176.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-dc65fdc9.mjs";
|
8
|
+
import { e as T, R as E } from "./ripple-handlers-0d9ad7c2.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 { a as f, b as u, _ as s } from "./tslib.es6-c4b0f3b1.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-acf30176.mjs";
|
5
|
+
import { a as A, s as S } from "./utils-dc65fdc9.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-bb932090.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: 4px}::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{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color: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}
|
@@ -11,9 +11,7 @@
|
|
11
11
|
<div class="expansion-panel" @click=${this._deselectHeader}>
|
12
12
|
<slot name="expansion-panel"></slot>
|
13
13
|
</div>
|
14
|
-
`}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeydown),this.addEventListener("request-selected",this._handleRequestSelected)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this._handleKeydown),this.addEventListener("request-selected",this._handleRequestSelected)}renderMeta(){const e=this.open?"arrow_drop_up":"arrow_drop_down",t=a.x`<cv-icon
|
15
|
-
>${e}</cv-icon
|
16
|
-
>`;return a.x` <span class="mdc-deprecated-list-item__meta material-icons">
|
14
|
+
`}connectedCallback(){super.connectedCallback(),this.addEventListener("keydown",this._handleKeydown),this.addEventListener("request-selected",this._handleRequestSelected)}disconnectedCallback(){super.disconnectedCallback(),this.removeEventListener("keydown",this._handleKeydown),this.addEventListener("request-selected",this._handleRequestSelected)}renderMeta(){const e=this.open?"arrow_drop_up":"arrow_drop_down",t=this.hasChildren?a.x`<cv-icon class="expansion-icon">${e}</cv-icon>`:"";return a.x`<span class="mdc-deprecated-list-item__meta material-icons">
|
17
15
|
${t}
|
18
16
|
<slot name="meta"></slot>
|
19
17
|
</span>`}render(){return this.hasChildren?this.renderExpansionItem():super.render()}};exports.CovalentNavRailListItem.styles=[a.i`
|
package/nav-list-item.mjs
CHANGED
@@ -1,25 +1,25 @@
|
|
1
|
-
import { i as
|
1
|
+
import { i as s, 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-430cae02.mjs";
|
5
|
+
import "./mwc-list-item-base-6449e812.mjs";
|
6
|
+
import "./tslib.es6-c4b0f3b1.mjs";
|
7
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
8
|
+
import "./base-element-acf30176.mjs";
|
9
|
+
import "./utils-dc65fdc9.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: 4px}::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{--mdc-theme-text-icon-on-background: var(--cv-theme-on-surface);margin-left:var(--cv-list-item-graphic-margin-left, 12px);padding-left:4px;background-color:transparent}:host([graphic=avatar]){padding:0;background-color: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 b = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, d = (e, t, i, o) => {
|
18
|
+
for (var r = o > 1 ? void 0 : o ? _(t, i) : t, l = e.length - 1, p; l >= 0; l--)
|
19
|
+
(p = e[l]) && (r = (o ? p(t, i, r) : p(r)) || r);
|
20
|
+
return o && r && b(t, i, r), r;
|
21
21
|
};
|
22
|
-
let
|
22
|
+
let a = 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 r = 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, o = (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 r = 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 < o - 1 && (e.preventDefault(), e.stopImmediatePropagation(), t.focusItemAtIndex(i), this.lastKeySelected = i);
|
42
42
|
}
|
43
43
|
}
|
44
44
|
}
|
@@ -77,10 +77,8 @@ let r = class extends u {
|
|
77
77
|
super.disconnectedCallback(), this.removeEventListener("keydown", this._handleKeydown), this.addEventListener("request-selected", this._handleRequestSelected);
|
78
78
|
}
|
79
79
|
renderMeta() {
|
80
|
-
const e = this.open ? "arrow_drop_up" : "arrow_drop_down", t = c`<cv-icon
|
81
|
-
|
82
|
-
>`;
|
83
|
-
return c` <span class="mdc-deprecated-list-item__meta material-icons">
|
80
|
+
const e = this.open ? "arrow_drop_up" : "arrow_drop_down", t = this.hasChildren ? c`<cv-icon class="expansion-icon">${e}</cv-icon>` : "";
|
81
|
+
return c`<span class="mdc-deprecated-list-item__meta material-icons">
|
84
82
|
${t}
|
85
83
|
<slot name="meta"></slot>
|
86
84
|
</span>`;
|
@@ -89,34 +87,34 @@ let r = class extends u {
|
|
89
87
|
return this.hasChildren ? this.renderExpansionItem() : super.render();
|
90
88
|
}
|
91
89
|
};
|
92
|
-
|
93
|
-
|
90
|
+
a.styles = [
|
91
|
+
s`
|
94
92
|
${n(v)}
|
95
93
|
`,
|
96
|
-
|
94
|
+
s`
|
97
95
|
${n(x)}
|
98
96
|
`,
|
99
|
-
|
97
|
+
s`
|
100
98
|
${n(y)}
|
101
99
|
`,
|
102
|
-
|
100
|
+
s`
|
103
101
|
${n(w)}
|
104
102
|
`
|
105
103
|
];
|
106
|
-
|
104
|
+
d([
|
107
105
|
m({ slot: "expansion-panel", flatten: !0 })
|
108
|
-
],
|
109
|
-
|
106
|
+
], a.prototype, "expansionPanelElements", 2);
|
107
|
+
d([
|
110
108
|
h({ type: Boolean, reflect: !0 })
|
111
|
-
],
|
112
|
-
|
109
|
+
], a.prototype, "open", 2);
|
110
|
+
d([
|
113
111
|
h({ type: Boolean, reflect: !0 })
|
114
|
-
],
|
115
|
-
|
112
|
+
], a.prototype, "hasChildren", 2);
|
113
|
+
a = d([
|
116
114
|
f("cv-nav-list-item")
|
117
|
-
],
|
118
|
-
const q =
|
115
|
+
], a);
|
116
|
+
const q = a;
|
119
117
|
export {
|
120
|
-
|
118
|
+
a as CovalentNavRailListItem,
|
121
119
|
q as default
|
122
120
|
};
|
package/package.json
CHANGED
@@ -1,19 +1,20 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "8.
|
3
|
+
"version": "8.8.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": "./index.scss",
|
11
11
|
"import": "./index.mjs",
|
12
12
|
"require": "./index.js"
|
13
13
|
},
|
14
|
-
"./
|
15
|
-
|
16
|
-
|
14
|
+
"./icon/icon.theme": "./icon/_icon.theme.scss",
|
15
|
+
"./data-table.theme": "./data-table/_data-table.theme.scss",
|
16
|
+
"./theme": {
|
17
|
+
"sass": "./theme/_index.scss"
|
17
18
|
},
|
18
19
|
"./action-ribbon": {
|
19
20
|
"types": "./action-ribbon/action-ribbon.d.ts",
|
package/radio-list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./tslib.es6-98719205.js"),e=require("./query-assigned-elements-f623705d.js"),u=require("./mwc-radio-base-913e02e2.js"),_=require("./property-57f6f6fe.js"),b=require("./query-680f1868.js"),p=require("./class-map-b5efe8da.js"),g=require("./if-defined-f1c45245.js"),h=require("./mwc-list-item-base-297d86b0.js"),l=require("./list-item-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./tslib.es6-98719205.js"),e=require("./query-assigned-elements-f623705d.js"),u=require("./mwc-radio-base-913e02e2.js"),_=require("./property-57f6f6fe.js"),b=require("./query-680f1868.js"),p=require("./class-map-b5efe8da.js"),g=require("./if-defined-f1c45245.js"),h=require("./mwc-list-item-base-297d86b0.js"),l=require("./list-item-bb932090.js");require("./ripple-handlers-5d5b21db.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./state-0974a8e5.js");require("./style-map-88d2563f.js");require("./aria-property-849c8816.js");require("./form-element-c553d6f5.js");require("./observer-a096ab43.js");require("./event-options-3f5eb195.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/radio-list-item.mjs
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import {
|
1
|
+
import { _ as e } from "./tslib.es6-c4b0f3b1.mjs";
|
2
2
|
import { i as _, e as b, x as s, r as h } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
-
import { R as g } from "./mwc-radio-base-
|
3
|
+
import { R as g } from "./mwc-radio-base-4dbe9e38.mjs";
|
4
4
|
import { n as p } from "./property-9b6ea53b.mjs";
|
5
5
|
import { i as u } from "./query-d843aa92.mjs";
|
6
6
|
import { o as f } from "./class-map-4b94b017.mjs";
|
7
7
|
import { l as k } from "./if-defined-c367f208.mjs";
|
8
|
-
import { L as v } from "./mwc-list-item-base-
|
9
|
-
import { s as x, a as y, c as w } from "./list-item-
|
10
|
-
import "./ripple-handlers-
|
11
|
-
import "./base-element-
|
12
|
-
import "./utils-
|
8
|
+
import { L as v } from "./mwc-list-item-base-6449e812.mjs";
|
9
|
+
import { s as x, a as y, c as w } from "./list-item-430cae02.mjs";
|
10
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
11
|
+
import "./base-element-acf30176.mjs";
|
12
|
+
import "./utils-dc65fdc9.mjs";
|
13
13
|
import "./state-b5e865db.mjs";
|
14
14
|
import "./style-map-bc3ed3e0.mjs";
|
15
15
|
import "./aria-property-fa2717fe.mjs";
|
16
|
-
import "./form-element-
|
16
|
+
import "./form-element-abadd335.mjs";
|
17
17
|
import "./observer-be7b92e2.mjs";
|
18
18
|
import "./event-options-78d6cf94.mjs";
|
19
19
|
/**
|
package/radio.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
1
|
import { i as a, r as c, e as l } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import { R as n } from "./mwc-radio-base-
|
2
|
+
import { R as n } from "./mwc-radio-base-4dbe9e38.mjs";
|
3
3
|
import { s as v } from "./mwc-radio.css-7454bb11.mjs";
|
4
|
-
import "./tslib.es6-
|
5
|
-
import "./ripple-handlers-
|
6
|
-
import "./base-element-
|
7
|
-
import "./utils-
|
4
|
+
import "./tslib.es6-c4b0f3b1.mjs";
|
5
|
+
import "./ripple-handlers-0d9ad7c2.mjs";
|
6
|
+
import "./base-element-acf30176.mjs";
|
7
|
+
import "./utils-dc65fdc9.mjs";
|
8
8
|
import "./property-9b6ea53b.mjs";
|
9
9
|
import "./state-b5e865db.mjs";
|
10
10
|
import "./query-d843aa92.mjs";
|
11
11
|
import "./class-map-4b94b017.mjs";
|
12
12
|
import "./style-map-bc3ed3e0.mjs";
|
13
13
|
import "./aria-property-fa2717fe.mjs";
|
14
|
-
import "./form-element-
|
14
|
+
import "./form-element-abadd335.mjs";
|
15
15
|
import "./observer-be7b92e2.mjs";
|
16
16
|
import "./event-options-78d6cf94.mjs";
|
17
17
|
import "./if-defined-c367f208.mjs";
|
@@ -1,6 +1,6 @@
|
|
1
1
|
import { o as H, x as D, i as k, e as x } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
-
import {
|
3
|
-
import { B } from "./base-element-
|
2
|
+
import { a as z, b as y, c as v, _ as p } from "./tslib.es6-c4b0f3b1.mjs";
|
3
|
+
import { B } from "./base-element-acf30176.mjs";
|
4
4
|
import { n as u } from "./property-9b6ea53b.mjs";
|
5
5
|
import { t as l } from "./state-b5e865db.mjs";
|
6
6
|
import { i as M } from "./query-d843aa92.mjs";
|