@covalent/components 6.3.0-beta.4 → 6.4.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/action-ribbon.js +6 -6
- package/action-ribbon.mjs +23 -24
- package/alert.js +4 -4
- package/alert.mjs +27 -28
- package/app-shell/app-shell.d.ts +0 -13
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +12 -20
- package/app-shell.mjs +54 -85
- package/{base-element-d5abe37a.js → base-element-58a3f9ea.js} +1 -1
- package/{base-element-c3dc926e.mjs → base-element-67ae173f.mjs} +2 -2
- package/button.js +4 -4
- package/button.mjs +13 -13
- package/card.js +8 -8
- package/card.mjs +4 -4
- package/check-list-item.js +3 -3
- package/check-list-item.mjs +16 -16
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/circular-progress.js +7 -7
- package/circular-progress.mjs +6 -6
- package/class-map-4b94b017.mjs +62 -0
- package/class-map-b5efe8da.js +9 -0
- package/code-snippet.js +9 -9
- package/code-snippet.mjs +1276 -1213
- package/{dialog-8ee07177.js → dialog-79036d60.js} +4 -4
- package/{dialog-85c21333.mjs → dialog-9ac44447.mjs} +39 -39
- package/dialog.js +1 -1
- package/dialog.mjs +8 -8
- package/{directive-helpers-fce8cf91.js → directive-helpers-0ce1f995.js} +2 -2
- package/{directive-helpers-725a181d.mjs → directive-helpers-e3ea6592.mjs} +3 -3
- package/drawer.js +1 -1
- package/drawer.mjs +8 -8
- package/empty-state.js +7 -7
- package/empty-state.mjs +4 -4
- package/{event-options-7bc382d8.js → event-options-3f5eb195.js} +1 -1
- package/{event-options-3937d997.mjs → event-options-78d6cf94.mjs} +1 -1
- package/{form-element-6dbd7afa.mjs → form-element-bd973124.mjs} +4 -4
- package/{form-element-d4e7bcdb.js → form-element-ead758d4.js} +2 -2
- package/{foundation-c580100a.mjs → foundation-3f556da7.mjs} +78 -28
- package/{foundation-3f55a9dc.js → foundation-62d4413d.js} +24 -3
- package/icon-button.js +5 -5
- package/icon-button.mjs +12 -12
- package/icon-check-toggle.js +5 -5
- package/icon-check-toggle.mjs +15 -15
- package/icon-radio-toggle.js +4 -4
- package/icon-radio-toggle.mjs +15 -15
- package/icon.js +1 -1
- package/icon.mjs +3 -3
- package/{if-defined-639ed018.mjs → if-defined-c367f208.mjs} +1 -1
- package/if-defined-f1c45245.js +5 -0
- package/index.js +1 -1
- package/index.mjs +120 -121
- package/linear-progress.js +6 -6
- package/linear-progress.mjs +13 -13
- package/list/list-expansion.d.ts +4 -1
- package/list/list-expansion.d.ts.map +1 -1
- package/list/list-item.d.ts +2 -0
- package/list/list-item.d.ts.map +1 -1
- package/list/list.d.ts +5 -0
- package/list/list.d.ts.map +1 -1
- package/list/nav-list-item.d.ts +1 -0
- package/list/nav-list-item.d.ts.map +1 -1
- package/list-05db7fed.js +5 -0
- package/list-066f5de4.mjs +45 -0
- package/list-expansion.js +9 -11
- package/list-expansion.mjs +53 -47
- package/list-item-8da7ba96.js +9 -0
- package/list-item-ba77097d.mjs +44 -0
- package/list-item.js +1 -1
- package/list-item.mjs +13 -13
- package/list.js +1 -6
- package/list.mjs +17 -38
- package/menu.js +1 -1
- package/menu.mjs +15 -15
- package/{mwc-checkbox-base-10e977f2.mjs → mwc-checkbox-base-3da36456.mjs} +21 -21
- package/{mwc-checkbox-base-435c1f1d.js → mwc-checkbox-base-d46c7666.js} +9 -9
- package/{mwc-checkbox.css-b7abc7fd.mjs → mwc-checkbox.css-8f4f1a9b.mjs} +1 -1
- package/{mwc-checkbox.css-956e3d6c.js → mwc-checkbox.css-b3434429.js} +1 -1
- package/{mwc-drawer-base-f44fcf34.js → mwc-drawer-base-8eecb1de.js} +6 -6
- package/{mwc-drawer-base-b2b772c3.mjs → mwc-drawer-base-fe660bdf.mjs} +10 -10
- package/{mwc-icon-b96fb867.js → mwc-icon-8c9cd0c9.js} +2 -2
- package/{mwc-icon-c7013880.mjs → mwc-icon-ba18383d.mjs} +2 -2
- package/{mwc-line-ripple-directive-a97ce725.js → mwc-line-ripple-directive-d1cf9570.js} +3 -3
- package/{mwc-line-ripple-directive-c3e1f04a.mjs → mwc-line-ripple-directive-ffce2cff.mjs} +6 -6
- package/{mwc-list-base-c0f8af1c.mjs → mwc-list-base-32d4ac31.mjs} +9 -9
- package/{mwc-list-base-7d5f7278.js → mwc-list-base-cb3500b4.js} +4 -4
- package/{mwc-list-item-base-803b9771.js → mwc-list-item-base-4a4d1e1b.js} +8 -8
- package/{mwc-list-item-base-acef0223.mjs → mwc-list-item-base-8654347d.mjs} +7 -7
- package/{mwc-list-item.css-401e2407.js → mwc-list-item.css-25adc0c4.js} +1 -1
- package/{mwc-list-item.css-b5481d96.mjs → mwc-list-item.css-b0009fc7.mjs} +1 -1
- package/{mwc-menu-base-8970b43d.mjs → mwc-menu-base-572a76b9.mjs} +11 -11
- package/{mwc-menu-base-ac49fe54.js → mwc-menu-base-f14ec544.js} +17 -17
- package/{mwc-radio-base-442d495a.js → mwc-radio-base-470b4fcc.js} +4 -4
- package/{mwc-radio-base-c29e6f42.mjs → mwc-radio-base-9446d39b.mjs} +11 -11
- package/{mwc-radio.css-388ad26d.js → mwc-radio.css-4e140252.js} +1 -1
- package/{mwc-radio.css-4694aa9c.mjs → mwc-radio.css-7454bb11.mjs} +1 -1
- package/{mwc-slider.css-336f809b.mjs → mwc-slider.css-10adbaf8.mjs} +12 -12
- package/{mwc-slider.css-48f02f1e.js → mwc-slider.css-9dd57b10.js} +11 -11
- package/{mwc-tab-base-7fb3d339.mjs → mwc-tab-base-4ba47acc.mjs} +14 -14
- package/{mwc-tab-base-1a19b299.js → mwc-tab-base-fc3ffb43.js} +13 -13
- package/{mwc-top-app-bar-base-14e0a018.js → mwc-top-app-bar-base-0304e67f.js} +8 -8
- package/{mwc-top-app-bar-base-79c87e69.mjs → mwc-top-app-bar-base-adc4168a.mjs} +22 -24
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +31 -28
- package/package.json +1 -2
- package/{property-074570d1.js → property-57f6f6fe.js} +1 -1
- package/{property-ca27685b.mjs → property-9b6ea53b.mjs} +9 -9
- package/{query-2ba749b7.js → query-680f1868.js} +1 -1
- package/{query-assigned-elements-514e5265.mjs → query-assigned-elements-4a39219d.mjs} +153 -152
- package/query-assigned-elements-f623705d.js +31 -0
- package/{query-assigned-nodes-9ec0fa5f.js → query-assigned-nodes-99eae71d.js} +1 -1
- package/{query-assigned-nodes-bea12e0c.mjs → query-assigned-nodes-df691e78.mjs} +1 -1
- package/{query-1e7846ea.mjs → query-d843aa92.mjs} +1 -1
- package/radio-list-item.js +3 -3
- package/radio-list-item.mjs +18 -18
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-227497d3.mjs → ripple-handlers-321219b8.mjs} +10 -10
- package/{ripple-handlers-2176f137.js → ripple-handlers-c82b1232.js} +5 -5
- package/select.js +10 -10
- package/select.mjs +20 -20
- package/side-sheet.js +2 -2
- package/side-sheet.mjs +21 -21
- package/slider-range.js +7 -7
- package/slider-range.mjs +13 -13
- package/slider.js +3 -3
- package/slider.mjs +15 -15
- package/snackbar.js +6 -6
- package/snackbar.mjs +12 -12
- package/state-0974a8e5.js +5 -0
- package/{state-6f7e570d.mjs → state-b5e865db.mjs} +1 -1
- package/status-header-item.js +3 -3
- package/status-header-item.mjs +15 -15
- package/status-header.js +2 -2
- package/status-header.mjs +3 -3
- package/style-map-88d2563f.js +5 -0
- package/style-map-bc3ed3e0.mjs +44 -0
- package/style.css +1 -1
- package/switch.js +8 -8
- package/switch.mjs +13 -13
- package/tab-bar.js +5 -5
- package/tab-bar.mjs +16 -16
- package/tab.js +1 -1
- package/tab.mjs +12 -12
- package/text-lockup.js +4 -4
- package/text-lockup.mjs +7 -7
- package/textarea.js +4 -4
- package/textarea.mjs +26 -26
- package/{textfield-507c6a06.js → textfield-0993c163.js} +12 -12
- package/{textfield-276b0ded.mjs → textfield-2cee5a1a.mjs} +14 -14
- package/textfield.js +1 -1
- package/textfield.mjs +14 -14
- package/toolbar.js +1 -1
- package/toolbar.mjs +8 -8
- package/tooltip/tooltip.d.ts.map +1 -1
- package/tooltip.js +32 -11
- package/tooltip.mjs +611 -516
- package/{top-app-bar-34e85527.js → top-app-bar-a531c1b4.js} +1 -1
- package/{top-app-bar-a236c3bc.mjs → top-app-bar-f83386e0.mjs} +1 -1
- package/top-app-bar-fixed.js +89 -5
- package/top-app-bar-fixed.mjs +279 -37
- package/top-app-bar.js +1 -1
- package/top-app-bar.mjs +9 -9
- package/tree-list-item.js +7 -7
- package/tree-list-item.mjs +6 -6
- package/tree-list.js +2 -2
- package/tree-list.mjs +1 -1
- package/tslib.es6-e6a11c8a.js +1 -0
- package/tslib.es6-f1eaf65c.mjs +82 -0
- package/typography.js +3 -3
- package/typography.mjs +2 -2
- package/{utils-dc65fdc9.mjs → utils-2932417c.mjs} +2 -2
- package/class-map-08c84aeb.mjs +0 -62
- package/class-map-50b8edb4.js +0 -9
- package/foundation-2334d146.mjs +0 -60
- package/foundation-e830bd94.js +0 -22
- package/if-defined-cb12d481.js +0 -5
- package/list-item-1c65e4db.mjs +0 -32
- package/list-item-ee331821.js +0 -8
- package/query-assigned-elements-07e38f46.js +0 -33
- package/state-949232e6.js +0 -5
- package/style-map-2cb0fb63.mjs +0 -40
- package/style-map-3056a771.js +0 -5
- package/tslib.es6-6b53b818.js +0 -1
- package/tslib.es6-b5e819a6.mjs +0 -82
package/app-shell.mjs
CHANGED
@@ -1,141 +1,110 @@
|
|
1
|
-
import { i as
|
2
|
-
import {
|
3
|
-
import { o as
|
4
|
-
import { D as
|
5
|
-
import "./tslib.es6-
|
1
|
+
import { i as h, r as g, l as c, x as l, A as f, e as y } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { n as p } from "./property-9b6ea53b.mjs";
|
3
|
+
import { o as m } from "./class-map-4b94b017.mjs";
|
4
|
+
import { D as b } from "./mwc-drawer-base-fe660bdf.mjs";
|
5
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
6
6
|
import "./inert.esm-359d4581.mjs";
|
7
|
-
import "./base-element-
|
8
|
-
import "./utils-
|
7
|
+
import "./base-element-67ae173f.mjs";
|
8
|
+
import "./utils-2932417c.mjs";
|
9
9
|
import "./observer-be7b92e2.mjs";
|
10
|
-
import "./query-
|
11
|
-
const y = `.mdc-drawer{border-color:#0000001f;background-color:#fff;background-color:var(--mdc-theme-surface, #fff);border-top-left-radius:0;border-top-right-radius:0;border-top-right-radius:var(--mdc-shape-large, 0);border-bottom-right-radius:0;border-bottom-right-radius:var(--mdc-shape-large, 0);border-bottom-left-radius:0;z-index:6;width:256px;display:flex;flex-direction:column;flex-shrink:0;box-sizing:border-box;height:100%;border-right-width:1px;border-right-style:solid;overflow:hidden;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdc-drawer .mdc-drawer__title{color:#000000de}.mdc-drawer .mdc-deprecated-list-group__subheader,.mdc-drawer .mdc-drawer__subtitle,.mdc-drawer .mdc-deprecated-list-item__graphic{color:#0009}.mdc-drawer .mdc-deprecated-list-item{color:#000000de}.mdc-drawer .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#6200ee}.mdc-drawer .mdc-deprecated-list-item--activated{color:#6200eede}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-top-left-radius:0;border-top-left-radius:var(--mdc-shape-large, 0);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-left-radius:var(--mdc-shape-large, 0)}.mdc-drawer .mdc-deprecated-list-item{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content{margin-left:256px;margin-right:0}[dir=rtl] .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content,.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:256px}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-right-width:0;border-left-width:1px;border-right-style:none;border-left-style:solid}.mdc-drawer .mdc-deprecated-list-item{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);height:40px;margin:8px;padding:0 8px}.mdc-drawer .mdc-deprecated-list-item:nth-child(1){margin-top:2px}.mdc-drawer .mdc-deprecated-list-item:nth-last-child(1){margin-bottom:0}.mdc-drawer .mdc-deprecated-list-group__subheader{-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:.875rem;font-size:var(--mdc-typography-body2-font-size, .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:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .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);display:block;line-height:normal;margin:0;padding:0 16px}.mdc-drawer .mdc-deprecated-list-group__subheader:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-drawer .mdc-deprecated-list-divider{margin:3px 0 4px}.mdc-drawer .mdc-deprecated-list-item__text,.mdc-drawer .mdc-deprecated-list-item__graphic{pointer-events:none}.mdc-drawer--animate{transform:translate(-100%)}[dir=rtl] .mdc-drawer--animate,.mdc-drawer--animate[dir=rtl]{transform:translate(100%)}.mdc-drawer--opening{transform:translate(0);transition-duration:.25s}[dir=rtl] .mdc-drawer--opening,.mdc-drawer--opening[dir=rtl]{transform:translate(0)}.mdc-drawer--closing{transform:translate(-100%);transition-duration:.2s}[dir=rtl] .mdc-drawer--closing,.mdc-drawer--closing[dir=rtl]{transform:translate(100%)}.mdc-drawer__header{flex-shrink:0;box-sizing:border-box;min-height:64px;padding:0 16px 4px}.mdc-drawer__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, .0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-drawer__title:before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-drawer__title:after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-drawer__subtitle{-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:.875rem;font-size:var(--mdc-typography-body2-font-size, .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:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .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);display:block;margin-top:0;line-height:normal;margin-bottom:0}.mdc-drawer__subtitle:before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-drawer__content{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.mdc-drawer--dismissible{left:0;right:initial;display:none;position:absolute}[dir=rtl] .mdc-drawer--dismissible,.mdc-drawer--dismissible[dir=rtl]{left:initial;right:0}.mdc-drawer--dismissible.mdc-drawer--open{display:flex}.mdc-drawer-app-content{margin-left:0;margin-right:0;position:relative}[dir=rtl] .mdc-drawer-app-content,.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:0}.mdc-drawer--modal{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;left:0;right:initial;display:none;position:fixed}.mdc-drawer--modal+.mdc-drawer-scrim{background-color:#00000052}[dir=rtl] .mdc-drawer--modal,.mdc-drawer--modal[dir=rtl]{left:initial;right:0}.mdc-drawer--modal.mdc-drawer--open{display:flex}.mdc-drawer-scrim{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:5;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdc-drawer--open+.mdc-drawer-scrim{display:block}.mdc-drawer--animate+.mdc-drawer-scrim{opacity:0}.mdc-drawer--opening+.mdc-drawer-scrim{transition-duration:.25s;opacity:1}.mdc-drawer--closing+.mdc-drawer-scrim{transition-duration:.2s;opacity:0}:host{--mdc-theme-surface: var(--mdc-theme-background);--mdc-list-vertical-padding: 0;--cv-list-padding-right: 0;--cv-list-item-border-radius: 100%;--cv-list-item-width: 48px;--cv-list-item-graphic-margin-left: 0;--cv-list-menu-height: 0;--cv-list-item-expansion-icon-size: 0}:host([open]){--cv-list-padding-right: 16px;--cv-list-item-border-radius: 0 28px 28px 0;--cv-list-item-width: 100%;--cv-list-item-graphic-margin-left: 12px;--cv-list-item-expansion-icon-margin: -24px;--cv-list-item-expansion-icon-size: 24px;--cv-list-menu-height: inherit}.app-shell{background-color:var(--mdc-theme-surface);display:grid;grid-template:"nav mini-list main help" min-content/auto auto 1fr;min-height:100vh}.app-shell:after{content:"";position:absolute;top:0;height:2px;width:100%;z-index:1000;background-color:#f3753f}.main{grid-area:main;overflow:auto;height:100vh;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12))}@media only screen and (min-width: 768px){.cov-drawer--hovered .main,.main.cov-drawer--hovered-closing{margin-left:72px}:not(.cov-drawer--forcedOpen) .main{margin-left:72px}.cov-appshell--minilist .main{margin-left:0}}.help{grid-area:help;width:320px;height:100vh;overflow-y:auto;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12));transition-property:width;transition-duration:.2s}.help.help--closed{width:0;border:none}.current-section{align-items:center;border-bottom:1px solid var(--mdc-theme-border);display:flex;column-gap:12px;font-size:var(--mdc-typography-body2-font-size);font-family:var(--mdc-typography-body2-font-family);font-weight:600;justify-content:flex-start;overflow:hidden;min-height:48px;padding:8px 16px 8px 12px;position:relative;text-align:left}[name=mini-list]{display:none;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12));width:320px;height:100vh}@media only screen and (min-width: 768px){.cov-appshell--minilist [name=mini-list]{display:block}:not(.cov-drawer--forcedOpen) [name=mini-list]{margin-left:72px}}@media only screen and (max-width: 1000px){[name=mini-list]{display:none}}nav.navigation{grid-area:nav;height:100vh;overflow-y:auto;border-right:0}nav.navigation .toggle-drawer{margin:8px auto}nav.navigation .navigation-toolbar{border-bottom:1px solid var(--mdc-theme-border);display:flex;align-items:center}nav.navigation slot[name=logo]{display:none}nav.navigation slot[name=navigation]{margin-top:8px;display:block}:not(.cov-drawer--forcedOpen) nav.navigation,:not(.cov-drawer--forcedOpen) nav.navigation.mdc-drawer--closed,:not(.cov-drawer--forcedOpen) nav.navigation.mdc-drawer--closing{position:absolute;top:0;left:0;bottom:0}nav.navigation.mdc-drawer--open{background-color:var(--mdc-theme-surface)}nav.navigation.mdc-drawer--open .toggle-drawer{margin-left:12px;margin-right:12px}nav.navigation.mdc-drawer--open slot[name=logo]{display:block}.cov-drawer--hovered nav.navigation{box-shadow:0 11px 15px -7px #0003,0 24px 38px 3px #00000024,0 9px 46px 8px #0000001f;border-right:1px solid var(--mdc-theme-border)}[divider]{border-bottom:1px solid;margin:16px;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12))}@media only screen and (min-width: 768px){nav.navigation{display:flex;flex-direction:column;transition-property:width;transition-duration:.2s;transform:none;background-color:transparent}.mdc-drawer--dismissible{display:block;width:72px;position:static}.mdc-drawer--open{width:256px}.mdc-drawer--opening{width:256px;transition-duration:.2s}.mdc-drawer--closing{width:72px;transition-duration:.2s}.header{display:none}}@media only screen and (max-width: 768px){.app-shell{grid-template-columns:1fr;grid-template-areas:"header" "main" "mini-list" "help"}[name=help]::slotted(*),.main{height:auto;width:auto;border:none}}
|
10
|
+
import "./query-d843aa92.mjs";
|
11
|
+
const w = `.mdc-drawer{border-color:#0000001f;background-color:#fff;background-color:var(--mdc-theme-surface, #fff);border-top-left-radius:0;border-top-right-radius:0;border-top-right-radius:var(--mdc-shape-large, 0);border-bottom-right-radius:0;border-bottom-right-radius:var(--mdc-shape-large, 0);border-bottom-left-radius:0;z-index:6;width:256px;display:flex;flex-direction:column;flex-shrink:0;box-sizing:border-box;height:100%;border-right-width:1px;border-right-style:solid;overflow:hidden;transition-property:transform;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdc-drawer .mdc-drawer__title{color:#000000de}.mdc-drawer .mdc-deprecated-list-group__subheader,.mdc-drawer .mdc-drawer__subtitle,.mdc-drawer .mdc-deprecated-list-item__graphic{color:#0009}.mdc-drawer .mdc-deprecated-list-item{color:#000000de}.mdc-drawer .mdc-deprecated-list-item--activated .mdc-deprecated-list-item__graphic{color:#6200ee}.mdc-drawer .mdc-deprecated-list-item--activated{color:#6200eede}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-top-left-radius:0;border-top-left-radius:var(--mdc-shape-large, 0);border-top-right-radius:0;border-bottom-right-radius:0;border-bottom-left-radius:0;border-bottom-left-radius:var(--mdc-shape-large, 0)}.mdc-drawer .mdc-deprecated-list-item{border-radius:4px;border-radius:var(--mdc-shape-small, 4px)}.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content{margin-left:256px;margin-right:0}[dir=rtl] .mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content,.mdc-drawer.mdc-drawer--open:not(.mdc-drawer--closing)+.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:256px}[dir=rtl] .mdc-drawer,.mdc-drawer[dir=rtl]{border-right-width:0;border-left-width:1px;border-right-style:none;border-left-style:solid}.mdc-drawer .mdc-deprecated-list-item{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-subtitle2-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:.875rem;font-size:var(--mdc-typography-subtitle2-font-size, .875rem);line-height:1.375rem;line-height:var(--mdc-typography-subtitle2-line-height, 1.375rem);font-weight:500;font-weight:var(--mdc-typography-subtitle2-font-weight, 500);letter-spacing:.0071428571em;letter-spacing:var(--mdc-typography-subtitle2-letter-spacing, .0071428571em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle2-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle2-text-transform, inherit);height:40px;margin:8px;padding:0 8px}.mdc-drawer .mdc-deprecated-list-item:nth-child(1){margin-top:2px}.mdc-drawer .mdc-deprecated-list-item:nth-last-child(1){margin-bottom:0}.mdc-drawer .mdc-deprecated-list-group__subheader{-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:.875rem;font-size:var(--mdc-typography-body2-font-size, .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:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .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);display:block;line-height:normal;margin:0;padding:0 16px}.mdc-drawer .mdc-deprecated-list-group__subheader:before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-drawer .mdc-deprecated-list-divider{margin:3px 0 4px}.mdc-drawer .mdc-deprecated-list-item__text,.mdc-drawer .mdc-deprecated-list-item__graphic{pointer-events:none}.mdc-drawer--animate{transform:translate(-100%)}[dir=rtl] .mdc-drawer--animate,.mdc-drawer--animate[dir=rtl]{transform:translate(100%)}.mdc-drawer--opening{transform:translate(0);transition-duration:.25s}[dir=rtl] .mdc-drawer--opening,.mdc-drawer--opening[dir=rtl]{transform:translate(0)}.mdc-drawer--closing{transform:translate(-100%);transition-duration:.2s}[dir=rtl] .mdc-drawer--closing,.mdc-drawer--closing[dir=rtl]{transform:translate(100%)}.mdc-drawer__header{flex-shrink:0;box-sizing:border-box;min-height:64px;padding:0 16px 4px}.mdc-drawer__title{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto,sans-serif;font-family:var(--mdc-typography-headline6-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1.25rem;font-size:var(--mdc-typography-headline6-font-size, 1.25rem);line-height:2rem;line-height:var(--mdc-typography-headline6-line-height, 2rem);font-weight:500;font-weight:var(--mdc-typography-headline6-font-weight, 500);letter-spacing:.0125em;letter-spacing:var(--mdc-typography-headline6-letter-spacing, .0125em);text-decoration:inherit;text-decoration:var(--mdc-typography-headline6-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-headline6-text-transform, inherit);display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-drawer__title:before{display:inline-block;width:0;height:36px;content:"";vertical-align:0}.mdc-drawer__title:after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}.mdc-drawer__subtitle{-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:.875rem;font-size:var(--mdc-typography-body2-font-size, .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:.0178571429em;letter-spacing:var(--mdc-typography-body2-letter-spacing, .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);display:block;margin-top:0;line-height:normal;margin-bottom:0}.mdc-drawer__subtitle:before{display:inline-block;width:0;height:20px;content:"";vertical-align:0}.mdc-drawer__content{height:100%;overflow-y:auto;-webkit-overflow-scrolling:touch}.mdc-drawer--dismissible{left:0;right:initial;display:none;position:absolute}[dir=rtl] .mdc-drawer--dismissible,.mdc-drawer--dismissible[dir=rtl]{left:initial;right:0}.mdc-drawer--dismissible.mdc-drawer--open{display:flex}.mdc-drawer-app-content{margin-left:0;margin-right:0;position:relative}[dir=rtl] .mdc-drawer-app-content,.mdc-drawer-app-content[dir=rtl]{margin-left:0;margin-right:0}.mdc-drawer--modal{box-shadow:0 8px 10px -5px #0003,0 16px 24px 2px #00000024,0 6px 30px 5px #0000001f;left:0;right:initial;display:none;position:fixed}.mdc-drawer--modal+.mdc-drawer-scrim{background-color:#00000052}[dir=rtl] .mdc-drawer--modal,.mdc-drawer--modal[dir=rtl]{left:initial;right:0}.mdc-drawer--modal.mdc-drawer--open{display:flex}.mdc-drawer-scrim{display:none;position:fixed;top:0;left:0;width:100%;height:100%;z-index:5;transition-property:opacity;transition-timing-function:cubic-bezier(.4,0,.2,1)}.mdc-drawer--open+.mdc-drawer-scrim{display:block}.mdc-drawer--animate+.mdc-drawer-scrim{opacity:0}.mdc-drawer--opening+.mdc-drawer-scrim{transition-duration:.25s;opacity:1}.mdc-drawer--closing+.mdc-drawer-scrim{transition-duration:.2s;opacity:0}:host{--mdc-theme-surface: var(--mdc-theme-background);--mdc-list-vertical-padding: 0}.app-shell{background-color:var(--mdc-theme-surface);display:grid;grid-template:"nav mini-list main help" min-content/auto auto 1fr;min-height:100vh}.app-shell:after{content:"";position:absolute;top:0;height:2px;width:100%;z-index:1000;background-color:#f3753f}.main{grid-area:main;overflow:auto;height:100vh;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12))}.help{grid-area:help;width:320px;height:100vh;overflow-y:auto;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12));transition-property:width;transition-duration:.2s}.help.help--closed{width:0}[name=mini-list]{display:block;border-left:1px solid;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12));width:320px;height:100vh}@media only screen and (max-width: 1000px){[name=mini-list]{display:none}}nav.navigation{grid-area:nav;height:100vh;overflow-y:auto;border-right:0}nav.navigation .toggle-drawer{margin:8px auto}nav.navigation .navigation-toolbar{display:flex;align-items:center}nav.navigation slot[name=logo]{display:none}nav.navigation.mdc-drawer--open .toggle-drawer{margin-left:12px;margin-right:12px}nav.navigation.mdc-drawer--open slot[name=logo]{display:block}[divider]{border-bottom:1px solid;margin:16px;border-color:var(--mdc-theme-border, rgba(0, 0, 0, .12))}@media only screen and (min-width: 768px){nav.navigation{display:flex;flex-direction:column;transition-property:width;transition-duration:.2s;transform:none;background-color:transparent}.mdc-drawer--dismissible{display:block;width:72px;position:static}.mdc-drawer--open{width:256px}.mdc-drawer--opening{width:256px;transition-duration:.2s}.mdc-drawer--closing{width:72px;transition-duration:.2s}.header{display:none}}@media only screen and (max-width: 768px){.app-shell{grid-template-columns:1fr;grid-template-areas:"header" "main" "mini-list" "help"}[name=help]::slotted(*),.main{height:auto;width:auto;border:none}}
|
12
12
|
`;
|
13
|
-
var
|
14
|
-
for (var
|
15
|
-
(
|
16
|
-
return
|
13
|
+
var v = Object.defineProperty, x = Object.getOwnPropertyDescriptor, d = (e, i, o, a) => {
|
14
|
+
for (var t = a > 1 ? void 0 : a ? x(i, o) : i, n = e.length - 1, s; n >= 0; n--)
|
15
|
+
(s = e[n]) && (t = (a ? s(i, o, t) : s(t)) || t);
|
16
|
+
return a && t && v(i, o, t), t;
|
17
17
|
};
|
18
|
-
let
|
18
|
+
let r = class extends b {
|
19
19
|
constructor() {
|
20
|
-
super(), this.appName = "", this.
|
20
|
+
super(), this.appName = "", this.helpOpen = !1, this.resizeEvent();
|
21
21
|
}
|
22
|
-
_toggleOpen(
|
23
|
-
this.mdcFoundation.isOpening() || this.mdcFoundation.isClosing() || (this.open =
|
22
|
+
_toggleOpen() {
|
23
|
+
this.mdcFoundation.isOpening() || this.mdcFoundation.isClosing() || (this.open = !this.open, [...this.navigationListElements, ...this.userMenuElements].forEach(
|
24
|
+
(e) => e.setAttribute("navopen", this.open.toString())
|
25
|
+
), this.dispatchEvent(
|
24
26
|
new Event("CovalentAppShell:toggle", { bubbles: !0, composed: !0 })
|
25
|
-
)
|
26
|
-
}
|
27
|
-
_handleMenuClick() {
|
28
|
-
this._toggleOpen(!this.forcedOpen), this.forcedOpen = !0, this.hovered = !1;
|
29
|
-
}
|
30
|
-
_handleNavMouseOver() {
|
31
|
-
this.open || this.forcedOpen || (this.hovered = !0, this._toggleOpen());
|
32
|
-
}
|
33
|
-
_handleNavMouseOut() {
|
34
|
-
!this.open || this.forcedOpen || this._toggleOpen();
|
35
|
-
}
|
36
|
-
_handleDrawerClosed() {
|
37
|
-
this.forcedOpen = !1, this.hovered = !1, this.requestUpdate();
|
27
|
+
));
|
38
28
|
}
|
39
29
|
resizeEvent() {
|
40
30
|
const e = window.matchMedia("(max-width: 800px)");
|
41
31
|
e.matches && this.type !== "modal" ? this.type = "modal" : !e.matches && this.type !== "dismissible" && (this.type = "dismissible"), this.requestUpdate();
|
42
32
|
}
|
43
33
|
connectedCallback() {
|
44
|
-
super.connectedCallback(),
|
34
|
+
super.connectedCallback(), window.addEventListener("resize", () => this.resizeEvent());
|
45
35
|
}
|
46
36
|
disconnectedCallback() {
|
47
|
-
super.disconnectedCallback(),
|
48
|
-
}
|
49
|
-
renderSection() {
|
50
|
-
return this.sectionName ? m`<div class="current-section">
|
51
|
-
<slot name="section-action"></slot>
|
52
|
-
<span>${this.sectionName}</span>
|
53
|
-
</div>` : p;
|
37
|
+
super.disconnectedCallback(), window.removeEventListener("resize", this.resizeEvent);
|
54
38
|
}
|
55
39
|
render() {
|
56
|
-
const e = this.type === "dismissible" || this.type === "modal", i = this.type === "modal",
|
57
|
-
"cov-drawer--forcedOpen": this.forcedOpen,
|
58
|
-
"cov-appshell--minilist": this.miniListOpen,
|
59
|
-
"cov-drawer--hovered": this.hovered
|
60
|
-
}, o = {
|
40
|
+
const e = this.type === "dismissible" || this.type === "modal", i = this.type === "modal", o = {
|
61
41
|
"mdc-drawer--dismissible": e,
|
62
42
|
"mdc-drawer--modal": i
|
63
|
-
},
|
43
|
+
}, a = {
|
64
44
|
"help--closed": !this.helpOpen
|
65
|
-
},
|
45
|
+
}, t = i ? l`<div
|
66
46
|
class="mdc-drawer-scrim"
|
67
47
|
@click="${this._handleScrimClick}"
|
68
|
-
></div>` :
|
69
|
-
return
|
70
|
-
<div class="app-shell
|
48
|
+
></div>` : f;
|
49
|
+
return l`
|
50
|
+
<div class="app-shell">
|
71
51
|
<span class="header"
|
72
52
|
><cv-top-app-bar-fixed centerTitle>
|
73
53
|
<cv-icon-button
|
74
54
|
class="toggle-drawer"
|
75
|
-
@click=${this.
|
55
|
+
@click=${this._toggleOpen}
|
76
56
|
slot="navigationIcon"
|
77
57
|
icon="menu"
|
78
58
|
></cv-icon-button>
|
79
59
|
<span slot="title">${this.appName}</span>
|
80
60
|
</cv-top-app-bar-fixed>
|
81
61
|
</span>
|
82
|
-
<nav
|
83
|
-
class="navigation mdc-drawer ${c(o)}"
|
84
|
-
@mouseenter="${this._handleNavMouseOver}"
|
85
|
-
@mouseleave="${this._handleNavMouseOut}"
|
86
|
-
>
|
62
|
+
<nav class="navigation mdc-drawer ${m(o)}">
|
87
63
|
<div class="navigation-toolbar">
|
88
64
|
<cv-icon-button
|
89
|
-
@click
|
65
|
+
@click=${this._toggleOpen}
|
90
66
|
class="toggle-drawer"
|
91
67
|
icon="menu"
|
92
68
|
></cv-icon-button>
|
93
69
|
<slot name="logo"></slot>
|
94
70
|
</div>
|
95
|
-
${this.renderSection()}
|
96
71
|
<slot name="navigation"></slot>
|
97
72
|
<div style="display:flex; flex:1;"></div>
|
98
73
|
<div divider></div>
|
99
74
|
<slot name="user-menu"></slot>
|
100
75
|
</nav>
|
101
|
-
${
|
76
|
+
${t}
|
102
77
|
<slot name="mini-list"></slot>
|
103
78
|
<div class="main mdc-drawer-app-content"><slot></slot></div>
|
104
|
-
<div class="help ${
|
79
|
+
<div class="help ${m(a)}">
|
105
80
|
<slot name="help"></slot>
|
106
81
|
</div>
|
107
82
|
</div>
|
108
83
|
`;
|
109
84
|
}
|
110
85
|
};
|
111
|
-
|
112
|
-
|
113
|
-
${
|
86
|
+
r.styles = [
|
87
|
+
h`
|
88
|
+
${g(w)}
|
114
89
|
`
|
115
90
|
];
|
116
|
-
|
117
|
-
|
118
|
-
],
|
119
|
-
|
120
|
-
|
121
|
-
],
|
122
|
-
|
123
|
-
|
124
|
-
],
|
125
|
-
|
126
|
-
|
127
|
-
],
|
128
|
-
|
129
|
-
|
130
|
-
],
|
131
|
-
|
132
|
-
s({ type: Boolean, reflect: !0 })
|
133
|
-
], t.prototype, "helpOpen", 2);
|
134
|
-
t = a([
|
135
|
-
v("cv-app-shell")
|
136
|
-
], t);
|
137
|
-
const N = t;
|
91
|
+
d([
|
92
|
+
c({ slot: "navigation" })
|
93
|
+
], r.prototype, "navigationListElements", 2);
|
94
|
+
d([
|
95
|
+
c({ slot: "user-menu" })
|
96
|
+
], r.prototype, "userMenuElements", 2);
|
97
|
+
d([
|
98
|
+
p()
|
99
|
+
], r.prototype, "appName", 2);
|
100
|
+
d([
|
101
|
+
p({ type: Boolean })
|
102
|
+
], r.prototype, "helpOpen", 2);
|
103
|
+
r = d([
|
104
|
+
y("cv-app-shell")
|
105
|
+
], r);
|
106
|
+
const P = r;
|
138
107
|
export {
|
139
|
-
|
140
|
-
|
108
|
+
r as CovalentAppShell,
|
109
|
+
P as default
|
141
110
|
};
|
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";const t=require("./query-assigned-elements-
|
1
|
+
"use strict";const t=require("./query-assigned-elements-f623705d.js");require("./utils-a8190a39.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
package/button.js
CHANGED
@@ -1,8 +1,8 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-f623705d.js"),e=require("./tslib.es6-e6a11c8a.js");require("./mwc-icon-8c9cd0c9.js");const u=require("./ripple-handlers-c82b1232.js"),b=require("./aria-property-849c8816.js"),r=require("./property-57f6f6fe.js"),m=require("./state-0974a8e5.js"),x=require("./event-options-3f5eb195.js"),h=require("./query-680f1868.js"),s=require("./class-map-b5efe8da.js"),g=require("./if-defined-f1c45245.js");require("./base-element-58a3f9ea.js");require("./utils-a8190a39.js");require("./style-map-88d2563f.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2019 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/class t extends n.s{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new u.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple))}renderOverlay(){return n.
|
5
|
+
*/class t extends n.s{constructor(){super(...arguments),this.raised=!1,this.unelevated=!1,this.outlined=!1,this.dense=!1,this.disabled=!1,this.trailingIcon=!1,this.fullwidth=!1,this.icon="",this.label="",this.expandContent=!1,this.shouldRenderRipple=!1,this.rippleHandlers=new u.RippleHandlers(()=>(this.shouldRenderRipple=!0,this.ripple))}renderOverlay(){return n.x``}renderRipple(){const o=this.raised||this.unelevated;return this.shouldRenderRipple?n.x`<mwc-ripple class="ripple" .primary="${!o}" .disabled="${this.disabled}"></mwc-ripple>`:""}focus(){const o=this.buttonElement;o&&(this.rippleHandlers.startFocus(),o.focus())}blur(){const o=this.buttonElement;o&&(this.rippleHandlers.endFocus(),o.blur())}getRenderClasses(){return{"mdc-button--raised":this.raised,"mdc-button--unelevated":this.unelevated,"mdc-button--outlined":this.outlined,"mdc-button--dense":this.dense}}render(){return n.x`
|
6
6
|
<button
|
7
7
|
id="button"
|
8
8
|
class="mdc-button ${s.o(this.getRenderClasses())}"
|
@@ -33,10 +33,10 @@
|
|
33
33
|
${this.icon&&this.trailingIcon?this.renderIcon():""}
|
34
34
|
</slot>
|
35
35
|
</span>
|
36
|
-
</button>`}renderIcon(){return n.
|
36
|
+
</button>`}renderIcon(){return n.x`
|
37
37
|
<mwc-icon class="mdc-button__icon">
|
38
38
|
${this.icon}
|
39
|
-
</mwc-icon>`}handleRippleActivate(o){const d=()=>{window.removeEventListener("mouseup",d),this.handleRippleDeactivate()};window.addEventListener("mouseup",d),this.rippleHandlers.startPress(o)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}t.shadowRootOptions={mode:"open",delegatesFocus:!0};e.__decorate([b.ariaProperty,r.
|
39
|
+
</mwc-icon>`}handleRippleActivate(o){const d=()=>{window.removeEventListener("mouseup",d),this.handleRippleDeactivate()};window.addEventListener("mouseup",d),this.rippleHandlers.startPress(o)}handleRippleDeactivate(){this.rippleHandlers.endPress()}handleRippleMouseEnter(){this.rippleHandlers.startHover()}handleRippleMouseLeave(){this.rippleHandlers.endHover()}handleRippleFocus(){this.rippleHandlers.startFocus()}handleRippleBlur(){this.rippleHandlers.endFocus()}}t.shadowRootOptions={mode:"open",delegatesFocus:!0};e.__decorate([b.ariaProperty,r.n({type:String,attribute:"aria-haspopup"})],t.prototype,"ariaHasPopup",void 0);e.__decorate([r.n({type:Boolean,reflect:!0})],t.prototype,"raised",void 0);e.__decorate([r.n({type:Boolean,reflect:!0})],t.prototype,"unelevated",void 0);e.__decorate([r.n({type:Boolean,reflect:!0})],t.prototype,"outlined",void 0);e.__decorate([r.n({type:Boolean})],t.prototype,"dense",void 0);e.__decorate([r.n({type:Boolean,reflect:!0})],t.prototype,"disabled",void 0);e.__decorate([r.n({type:Boolean,attribute:"trailingicon"})],t.prototype,"trailingIcon",void 0);e.__decorate([r.n({type:Boolean,reflect:!0})],t.prototype,"fullwidth",void 0);e.__decorate([r.n({type:String})],t.prototype,"icon",void 0);e.__decorate([r.n({type:String})],t.prototype,"label",void 0);e.__decorate([r.n({type:Boolean})],t.prototype,"expandContent",void 0);e.__decorate([h.i("#button")],t.prototype,"buttonElement",void 0);e.__decorate([u.e("mwc-ripple")],t.prototype,"ripple",void 0);e.__decorate([m.t()],t.prototype,"shouldRenderRipple",void 0);e.__decorate([x.e({passive:!0})],t.prototype,"handleRippleActivate",null);/**
|
40
40
|
* @license
|
41
41
|
* Copyright 2021 Google LLC
|
42
42
|
* SPDX-LIcense-Identifier: Apache-2.0
|
package/button.mjs
CHANGED
@@ -1,17 +1,17 @@
|
|
1
|
-
import { s as m,
|
2
|
-
import {
|
3
|
-
import "./mwc-icon-
|
4
|
-
import { e as g, R as f } from "./ripple-handlers-
|
1
|
+
import { s as m, x as a, i as u, r as x, e as h } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { b as o } from "./tslib.es6-f1eaf65c.mjs";
|
3
|
+
import "./mwc-icon-ba18383d.mjs";
|
4
|
+
import { e as g, R as f } from "./ripple-handlers-321219b8.mjs";
|
5
5
|
import { a as v } from "./aria-property-fa2717fe.mjs";
|
6
|
-
import {
|
7
|
-
import { t as _ } from "./state-
|
8
|
-
import { e as y } from "./event-options-
|
9
|
-
import { i as w } from "./query-
|
10
|
-
import { o as b } from "./class-map-
|
11
|
-
import { l as R } from "./if-defined-
|
12
|
-
import "./base-element-
|
13
|
-
import "./utils-
|
14
|
-
import "./style-map-
|
6
|
+
import { n as r } from "./property-9b6ea53b.mjs";
|
7
|
+
import { t as _ } from "./state-b5e865db.mjs";
|
8
|
+
import { e as y } from "./event-options-78d6cf94.mjs";
|
9
|
+
import { i as w } from "./query-d843aa92.mjs";
|
10
|
+
import { o as b } from "./class-map-4b94b017.mjs";
|
11
|
+
import { l as R } from "./if-defined-c367f208.mjs";
|
12
|
+
import "./base-element-67ae173f.mjs";
|
13
|
+
import "./utils-2932417c.mjs";
|
14
|
+
import "./style-map-bc3ed3e0.mjs";
|
15
15
|
/**
|
16
16
|
* @license
|
17
17
|
* Copyright 2019 Google LLC
|
package/card.js
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
${this.cardTitle?
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),m=require("./class-map-b5efe8da.js"),p=require("./property-57f6f6fe.js");var s=Object.defineProperty,_=Object.getOwnPropertyDescriptor,l=(c,e,t,a)=>{for(var r=a>1?void 0:a?_(e,t):e,d=c.length-1,o;d>=0;d--)(o=c[d])&&(r=(a?o(e,t,r):o(r))||r);return a&&r&&s(e,t,r),r};class n extends i.s{constructor(){super(...arguments),this.cardTitle="",this.subTitle="",this.actionBar=!1,this.interactive=!1,this.outlined=!1}render(){const e={"mdc-card":!0,"mdc-card--outlined":this.outlined};return i.x` <div class="${m.o(e)}">
|
2
|
+
${this.cardTitle?i.x`
|
3
3
|
<div class="mdc-card__actions mdc-typography--headline5">
|
4
4
|
${this.cardTitle}
|
5
5
|
</div>
|
6
6
|
`:""}
|
7
7
|
<div class="mdc-card__primary-action">
|
8
8
|
<slot></slot>
|
9
|
-
${this.interactive?
|
9
|
+
${this.interactive?i.x`<div class="mdc-card__ripple"></div>`:""}
|
10
10
|
</div>
|
11
|
-
${this.actionBar?
|
11
|
+
${this.actionBar?i.x`
|
12
12
|
<div class="mdc-card__actions">
|
13
13
|
<slot name="card-actions"></slot>
|
14
14
|
</div>
|
15
15
|
`:""}
|
16
|
-
</div>`}}l([p.
|
17
|
-
`;var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,g=(c,e,t,
|
18
|
-
${
|
19
|
-
`];exports.CovalentCard=g([
|
16
|
+
</div>`}}l([p.n()],n.prototype,"cardTitle",2);l([p.n()],n.prototype,"subTitle",2);l([p.n({type:Boolean})],n.prototype,"actionBar",2);l([p.n({type:Boolean})],n.prototype,"interactive",2);l([p.n({type:Boolean})],n.prototype,"outlined",2);const f=`.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity .28s cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-card{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mdc-card .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-card:after{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-card--outlined{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-width:1px;border-style:solid;border-color:#e0e0e0}.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card:after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-card:after{border-color:CanvasText}}.mdc-card--outlined:after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media:before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square:before{margin-top:100%}.mdc-card__media--16-9:before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:#0009;flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:#0009}@keyframes mdc-ripple-fg-radius-in{0%{animation-timing-function:cubic-bezier(.4,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{0%{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{0%{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-card__primary-action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-card__primary-action .mdc-card__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-card__primary-action .mdc-card__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-card__primary-action.mdc-ripple-upgraded--unbounded .mdc-card__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-activation .mdc-card__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-deactivation .mdc-card__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-card__primary-action:hover .mdc-card__ripple:before,.mdc-card__primary-action.mdc-ripple-surface--hover .mdc-card__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused .mdc-card__ripple:before,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus .mdc-card__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-card__primary-action:not(.mdc-ripple-upgraded) .mdc-card__ripple:after{transition:opacity .15s linear}.mdc-card__primary-action:not(.mdc-ripple-upgraded):active .mdc-card__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-card__primary-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-card__primary-action .mdc-card__ripple{box-sizing:content-box;height:100%;overflow:hidden;left:0;pointer-events:none;position:absolute;top:0;width:100%}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused:after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus:after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:5px double transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-card__primary-action.mdc-ripple-upgraded--background-focused:after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus:after{border-color:CanvasText}}.mdc-card__actions{color:var(--mdc-theme-text-primary-on-background);justify-content:space-between}.mdc-card__actions:first-of-type{border-bottom:1px solid var(--mdc-theme-border);padding-left:16px}.mdc-card.mdc-card--outlined{background-color:var(--mdc-theme-surface)}
|
17
|
+
`;var u=Object.defineProperty,b=Object.getOwnPropertyDescriptor,g=(c,e,t,a)=>{for(var r=a>1?void 0:a?b(e,t):e,d=c.length-1,o;d>=0;d--)(o=c[d])&&(r=(a?o(e,t,r):o(r))||r);return a&&r&&u(e,t,r),r};exports.CovalentCard=class extends n{};exports.CovalentCard.styles=[i.i`
|
18
|
+
${i.r(f)}
|
19
|
+
`];exports.CovalentCard=g([i.e("cv-card")],exports.CovalentCard);const y=exports.CovalentCard;exports.default=y;
|
package/card.mjs
CHANGED
@@ -1,6 +1,6 @@
|
|
1
|
-
import { s,
|
2
|
-
import { o as u } from "./class-map-
|
3
|
-
import {
|
1
|
+
import { s, x as m, i as _, r as f, e as b } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { o as u } from "./class-map-4b94b017.mjs";
|
3
|
+
import { n } from "./property-9b6ea53b.mjs";
|
4
4
|
var g = Object.defineProperty, y = Object.getOwnPropertyDescriptor, p = (d, i, e, a) => {
|
5
5
|
for (var r = a > 1 ? void 0 : a ? y(i, e) : i, c = d.length - 1, t; c >= 0; c--)
|
6
6
|
(t = d[c]) && (r = (a ? t(i, e, r) : t(r)) || r);
|
@@ -48,7 +48,7 @@ p([
|
|
48
48
|
p([
|
49
49
|
n({ type: Boolean })
|
50
50
|
], o.prototype, "outlined", 2);
|
51
|
-
const h = `.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity .28s cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-card{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f
|
51
|
+
const h = `.mdc-elevation-overlay{position:absolute;border-radius:inherit;pointer-events:none;opacity:0;opacity:var(--mdc-elevation-overlay-opacity, 0);transition:opacity .28s cubic-bezier(.4,0,.2,1);background-color:#fff;background-color:var(--mdc-elevation-overlay-color, #fff)}.mdc-card{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px);background-color:#fff;background-color:var(--mdc-theme-surface, #fff);position:relative;box-shadow:0 2px 1px -1px #0003,0 1px 1px #00000024,0 1px 3px #0000001f}.mdc-card .mdc-elevation-overlay{width:100%;height:100%;top:0;left:0}.mdc-card:after{border-radius:4px;border-radius:var(--mdc-shape-medium, 4px)}.mdc-card--outlined{box-shadow:0 0 #0003,0 0 #00000024,0 0 #0000001f;border-width:1px;border-style:solid;border-color:#e0e0e0}.mdc-card{display:flex;flex-direction:column;box-sizing:border-box}.mdc-card:after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:1px solid transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-card:after{border-color:CanvasText}}.mdc-card--outlined:after{border:none}.mdc-card__content{border-radius:inherit;height:100%}.mdc-card__media{position:relative;box-sizing:border-box;background-repeat:no-repeat;background-position:center;background-size:cover}.mdc-card__media:before{display:block;content:""}.mdc-card__media:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__media:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__media--square:before{margin-top:100%}.mdc-card__media--16-9:before{margin-top:56.25%}.mdc-card__media-content{position:absolute;top:0;right:0;bottom:0;left:0;box-sizing:border-box}.mdc-card__primary-action{display:flex;flex-direction:column;box-sizing:border-box;position:relative;outline:none;color:inherit;text-decoration:none;cursor:pointer;overflow:hidden}.mdc-card__primary-action:first-child{border-top-left-radius:inherit;border-top-right-radius:inherit}.mdc-card__primary-action:last-child{border-bottom-left-radius:inherit;border-bottom-right-radius:inherit}.mdc-card__actions{display:flex;flex-direction:row;align-items:center;box-sizing:border-box;min-height:52px;padding:8px}.mdc-card__actions--full-bleed{padding:0}.mdc-card__action-buttons,.mdc-card__action-icons{display:flex;flex-direction:row;align-items:center;box-sizing:border-box}.mdc-card__action-icons{color:#0009;flex-grow:1;justify-content:flex-end}.mdc-card__action-buttons+.mdc-card__action-icons{margin-left:16px;margin-right:0}[dir=rtl] .mdc-card__action-buttons+.mdc-card__action-icons,.mdc-card__action-buttons+.mdc-card__action-icons[dir=rtl]{margin-left:0;margin-right:16px}.mdc-card__action{display:inline-flex;flex-direction:row;align-items:center;box-sizing:border-box;justify-content:center;cursor:pointer;-webkit-user-select:none;user-select:none}.mdc-card__action:focus{outline:none}.mdc-card__action--button{margin-left:0;margin-right:8px;padding:0 8px}[dir=rtl] .mdc-card__action--button,.mdc-card__action--button[dir=rtl]{margin-left:8px;margin-right:0}.mdc-card__action--button:last-child{margin-left:0;margin-right:0}[dir=rtl] .mdc-card__action--button:last-child,.mdc-card__action--button:last-child[dir=rtl]{margin-left:0;margin-right:0}.mdc-card__actions--full-bleed .mdc-card__action--button{justify-content:space-between;width:100%;height:auto;max-height:none;margin:0;padding:8px 16px;text-align:left}[dir=rtl] .mdc-card__actions--full-bleed .mdc-card__action--button,.mdc-card__actions--full-bleed .mdc-card__action--button[dir=rtl]{text-align:right}.mdc-card__action--icon{margin:-6px 0;padding:12px}.mdc-card__action--icon:not(:disabled){color:#0009}@keyframes mdc-ripple-fg-radius-in{0%{animation-timing-function:cubic-bezier(.4,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{0%{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{0%{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}.mdc-card__primary-action{--mdc-ripple-fg-size: 0;--mdc-ripple-left: 0;--mdc-ripple-top: 0;--mdc-ripple-fg-scale: 1;--mdc-ripple-fg-translate-end: 0;--mdc-ripple-fg-translate-start: 0;-webkit-tap-highlight-color:rgba(0,0,0,0);will-change:transform,opacity}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{position:absolute;border-radius:50%;opacity:0;pointer-events:none;content:""}.mdc-card__primary-action .mdc-card__ripple:before{transition:opacity 15ms linear,background-color 15ms linear;z-index:1;z-index:var(--mdc-ripple-z-index, 1)}.mdc-card__primary-action .mdc-card__ripple:after{z-index:0;z-index:var(--mdc-ripple-z-index, 0)}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:before{transform:scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:after{top:0;left:0;transform:scale(0);transform-origin:center center}.mdc-card__primary-action.mdc-ripple-upgraded--unbounded .mdc-card__ripple:after{top:var(--mdc-ripple-top, 0);left:var(--mdc-ripple-left, 0)}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-activation .mdc-card__ripple:after{animation:mdc-ripple-fg-radius-in 225ms forwards,mdc-ripple-fg-opacity-in 75ms forwards}.mdc-card__primary-action.mdc-ripple-upgraded--foreground-deactivation .mdc-card__ripple:after{animation:mdc-ripple-fg-opacity-out .15s;transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{top:-50%;left:-50%;width:200%;height:200%}.mdc-card__primary-action.mdc-ripple-upgraded .mdc-card__ripple:after{width:var(--mdc-ripple-fg-size, 100%);height:var(--mdc-ripple-fg-size, 100%)}.mdc-card__primary-action .mdc-card__ripple:before,.mdc-card__primary-action .mdc-card__ripple:after{background-color:#000;background-color:var(--mdc-ripple-color, #000)}.mdc-card__primary-action:hover .mdc-card__ripple:before,.mdc-card__primary-action.mdc-ripple-surface--hover .mdc-card__ripple:before{opacity:.04;opacity:var(--mdc-ripple-hover-opacity, .04)}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused .mdc-card__ripple:before,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus .mdc-card__ripple:before{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-focus-opacity, .12)}.mdc-card__primary-action:not(.mdc-ripple-upgraded) .mdc-card__ripple:after{transition:opacity .15s linear}.mdc-card__primary-action:not(.mdc-ripple-upgraded):active .mdc-card__ripple:after{transition-duration:75ms;opacity:.12;opacity:var(--mdc-ripple-press-opacity, .12)}.mdc-card__primary-action.mdc-ripple-upgraded{--mdc-ripple-fg-opacity: var(--mdc-ripple-press-opacity, .12)}.mdc-card__primary-action .mdc-card__ripple{box-sizing:content-box;height:100%;overflow:hidden;left:0;pointer-events:none;position:absolute;top:0;width:100%}.mdc-card__primary-action.mdc-ripple-upgraded--background-focused:after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus:after{position:absolute;box-sizing:border-box;width:100%;height:100%;top:0;left:0;border:5px double transparent;border-radius:inherit;content:"";pointer-events:none}@media screen and (forced-colors: active){.mdc-card__primary-action.mdc-ripple-upgraded--background-focused:after,.mdc-card__primary-action:not(.mdc-ripple-upgraded):focus:after{border-color:CanvasText}}.mdc-card__actions{color:var(--mdc-theme-text-primary-on-background);justify-content:space-between}.mdc-card__actions:first-of-type{border-bottom:1px solid var(--mdc-theme-border);padding-left:16px}.mdc-card.mdc-card--outlined{background-color:var(--mdc-theme-surface)}
|
52
52
|
`;
|
53
53
|
var v = Object.defineProperty, x = Object.getOwnPropertyDescriptor, w = (d, i, e, a) => {
|
54
54
|
for (var r = a > 1 ? void 0 : a ? x(i, e) : i, c = d.length - 1, t; c >= 0; c--)
|
package/check-list-item.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./tslib.es6-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./tslib.es6-e6a11c8a.js"),d=require("./query-assigned-elements-f623705d.js"),x=require("./mwc-checkbox-base-d46c7666.js"),b=require("./property-57f6f6fe.js"),s=require("./query-680f1868.js"),l=require("./class-map-b5efe8da.js"),p=require("./mwc-list-item-base-4a4d1e1b.js"),h=require("./mwc-list-item.css-25adc0c4.js");require("./ripple-handlers-c82b1232.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-ead758d4.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./observer-a096ab43.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2021 Google LLC
|
4
4
|
* SPDX-LIcense-Identifier: Apache-2.0
|
@@ -10,7 +10,7 @@
|
|
10
10
|
* @license
|
11
11
|
* Copyright 2020 Google LLC
|
12
12
|
* SPDX-License-Identifier: Apache-2.0
|
13
|
-
*/class n extends p.ListItemBase{constructor(){super(...arguments),this.left=!1,this.graphic="control"}render(){const o={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},c=this.renderText(),r=this.graphic&&this.graphic!=="control"&&!this.left?this.renderGraphic():d.
|
13
|
+
*/class n extends p.ListItemBase{constructor(){super(...arguments),this.left=!1,this.graphic="control"}render(){const o={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},c=this.renderText(),r=this.graphic&&this.graphic!=="control"&&!this.left?this.renderGraphic():d.x``,e=this.hasMeta&&this.left?this.renderMeta():d.x``,a=this.renderRipple();return d.x`
|
14
14
|
${a}
|
15
15
|
${r}
|
16
16
|
${this.left?"":c}
|
@@ -24,4 +24,4 @@
|
|
24
24
|
</mwc-checkbox>
|
25
25
|
</span>
|
26
26
|
${this.left?c:""}
|
27
|
-
${e}`}async onChange(o){const c=o.target;this.selected===c.checked||(this._skipPropRequest=!0,this.selected=c.checked,await this.updateComplete,this._skipPropRequest=!1)}}i.__decorate([s.i("slot")],n.prototype,"slotElement",void 0);i.__decorate([s.i("mwc-checkbox")],n.prototype,"checkboxElement",void 0);i.__decorate([b.
|
27
|
+
${e}`}async onChange(o){const c=o.target;this.selected===c.checked||(this._skipPropRequest=!0,this.selected=c.checked,await this.updateComplete,this._skipPropRequest=!1)}}i.__decorate([s.i("slot")],n.prototype,"slotElement",void 0);i.__decorate([s.i("mwc-checkbox")],n.prototype,"checkboxElement",void 0);i.__decorate([b.n({type:Boolean})],n.prototype,"left",void 0);i.__decorate([b.n({type:String,reflect:!0})],n.prototype,"graphic",void 0);var u=Object.defineProperty,g=Object.getOwnPropertyDescriptor,f=(t,o,c,r)=>{for(var e=r>1?void 0:r?g(o,c):o,a=t.length-1,m;a>=0;a--)(m=t[a])&&(e=(r?m(o,c,e):m(e))||e);return r&&e&&u(o,c,e),e};exports.CovalentCheckListItem=class extends n{};exports.CovalentCheckListItem.styles=[h.styles,h.styles$1];exports.CovalentCheckListItem=f([d.e("cv-check-list-item")],exports.CovalentCheckListItem);const v=exports.CovalentCheckListItem;exports.default=v;
|
package/check-list-item.mjs
CHANGED
@@ -1,20 +1,20 @@
|
|
1
|
-
import {
|
2
|
-
import { i as p, e as b,
|
3
|
-
import { C as l } from "./mwc-checkbox-base-
|
4
|
-
import {
|
5
|
-
import { i as x } from "./query-
|
6
|
-
import { o as _ } from "./class-map-
|
7
|
-
import { L as u } from "./mwc-list-item-base-
|
8
|
-
import { s as g, a as f } from "./mwc-list-item.css-
|
9
|
-
import "./ripple-handlers-
|
10
|
-
import "./base-element-
|
11
|
-
import "./utils-
|
12
|
-
import "./state-
|
13
|
-
import "./style-map-
|
1
|
+
import { b as a } from "./tslib.es6-f1eaf65c.mjs";
|
2
|
+
import { i as p, e as b, x as k } from "./query-assigned-elements-4a39219d.mjs";
|
3
|
+
import { C as l } from "./mwc-checkbox-base-3da36456.mjs";
|
4
|
+
import { n as s } from "./property-9b6ea53b.mjs";
|
5
|
+
import { i as x } from "./query-d843aa92.mjs";
|
6
|
+
import { o as _ } from "./class-map-4b94b017.mjs";
|
7
|
+
import { L as u } from "./mwc-list-item-base-8654347d.mjs";
|
8
|
+
import { s as g, a as f } from "./mwc-list-item.css-b0009fc7.mjs";
|
9
|
+
import "./ripple-handlers-321219b8.mjs";
|
10
|
+
import "./base-element-67ae173f.mjs";
|
11
|
+
import "./utils-2932417c.mjs";
|
12
|
+
import "./state-b5e865db.mjs";
|
13
|
+
import "./style-map-bc3ed3e0.mjs";
|
14
14
|
import "./aria-property-fa2717fe.mjs";
|
15
|
-
import "./form-element-
|
16
|
-
import "./event-options-
|
17
|
-
import "./if-defined-
|
15
|
+
import "./form-element-bd973124.mjs";
|
16
|
+
import "./event-options-78d6cf94.mjs";
|
17
|
+
import "./if-defined-c367f208.mjs";
|
18
18
|
import "./observer-be7b92e2.mjs";
|
19
19
|
/**
|
20
20
|
* @license
|
package/checkbox.js
CHANGED
@@ -1,2 +1,2 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const i=require("./query-assigned-elements-f623705d.js"),n=require("./mwc-checkbox-base-d46c7666.js"),l=require("./mwc-checkbox.css-b3434429.js");require("./tslib.es6-e6a11c8a.js");require("./ripple-handlers-c82b1232.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("./aria-property-849c8816.js");require("./form-element-ead758d4.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");const a=`:host{--mdc-checkbox-checked-color: var(--mdc-theme-primary);--mdc-checkbox-disabled-color: var(--mdc-theme-text-disabled-on-background);--mdc-checkbox-ink-color: var(--mdc-theme-on-primary);--mdc-checkbox-unchecked-color: var(--mdc-theme-text-icon-on-background)}
|
2
2
|
`;var b=Object.defineProperty,h=Object.getOwnPropertyDescriptor,d=(o,r,t,c)=>{for(var e=c>1?void 0:c?h(r,t):r,s=o.length-1,u;s>=0;s--)(u=o[s])&&(e=(c?u(r,t,e):u(e))||e);return c&&e&&b(r,t,e),e};exports.CovalentCheckbox=class extends n.CheckboxBase{};exports.CovalentCheckbox.styles=[l.styles,i.i`${i.r(a)}`];exports.CovalentCheckbox=d([i.e("cv-checkbox")],exports.CovalentCheckbox);const v=exports.CovalentCheckbox;exports.default=v;
|
package/checkbox.mjs
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import { i as s, r as a, e as l } from "./query-assigned-elements-
|
2
|
-
import { C as d } from "./mwc-checkbox-base-
|
3
|
-
import { s as h } from "./mwc-checkbox.css-
|
4
|
-
import "./tslib.es6-
|
5
|
-
import "./ripple-handlers-
|
6
|
-
import "./base-element-
|
7
|
-
import "./utils-
|
8
|
-
import "./property-
|
9
|
-
import "./state-
|
10
|
-
import "./query-
|
11
|
-
import "./class-map-
|
12
|
-
import "./style-map-
|
1
|
+
import { i as s, r as a, e as l } from "./query-assigned-elements-4a39219d.mjs";
|
2
|
+
import { C as d } from "./mwc-checkbox-base-3da36456.mjs";
|
3
|
+
import { s as h } from "./mwc-checkbox.css-8f4f1a9b.mjs";
|
4
|
+
import "./tslib.es6-f1eaf65c.mjs";
|
5
|
+
import "./ripple-handlers-321219b8.mjs";
|
6
|
+
import "./base-element-67ae173f.mjs";
|
7
|
+
import "./utils-2932417c.mjs";
|
8
|
+
import "./property-9b6ea53b.mjs";
|
9
|
+
import "./state-b5e865db.mjs";
|
10
|
+
import "./query-d843aa92.mjs";
|
11
|
+
import "./class-map-4b94b017.mjs";
|
12
|
+
import "./style-map-bc3ed3e0.mjs";
|
13
13
|
import "./aria-property-fa2717fe.mjs";
|
14
|
-
import "./form-element-
|
15
|
-
import "./event-options-
|
16
|
-
import "./if-defined-
|
14
|
+
import "./form-element-bd973124.mjs";
|
15
|
+
import "./event-options-78d6cf94.mjs";
|
16
|
+
import "./if-defined-c367f208.mjs";
|
17
17
|
const n = `:host{--mdc-checkbox-checked-color: var(--mdc-theme-primary);--mdc-checkbox-disabled-color: var(--mdc-theme-text-disabled-on-background);--mdc-checkbox-ink-color: var(--mdc-theme-on-primary);--mdc-checkbox-unchecked-color: var(--mdc-theme-text-icon-on-background)}
|
18
18
|
`;
|
19
19
|
var b = Object.defineProperty, v = Object.getOwnPropertyDescriptor, x = (i, e, t, r) => {
|