@covalent/components 10.4.0-beta.3 → 11.0.0-beta.2
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-HP5nalso.mjs → _commonjsHelpers-B52_cu2H.mjs} +3 -3
- package/_commonjsHelpers-DGT2Y9Xa.js +1 -0
- package/action-ribbon.js +5 -5
- package/action-ribbon.mjs +33 -33
- package/alert.js +5 -5
- package/alert.mjs +48 -48
- package/app-shell.js +1 -1
- package/app-shell.mjs +7 -7
- package/async-directive-JqUnzsgG.mjs +66 -0
- package/async-directive-X7VhNdG3.js +5 -0
- package/badge.js +1 -1
- package/badge.mjs +4 -4
- package/{base-element-5ZU-p99q.js → base-element-DP9GZic2.js} +1 -1
- package/{base-element-CzNmpVoz.mjs → base-element-DUJkJh_y.mjs} +1 -1
- package/button.js +2 -2
- package/button.mjs +26 -26
- package/card.js +8 -8
- package/card.mjs +39 -39
- package/check-list-item.js +8 -8
- package/check-list-item.mjs +34 -34
- package/checkbox.js +1 -1
- package/checkbox.mjs +15 -15
- package/{chip-DmwMNZYy.js → chip-BjFvUMom.js} +44 -44
- package/chip-set.js +5 -5
- package/chip-set.mjs +126 -126
- package/{chip-tQfbvpbh.mjs → chip-vV-teZYv.mjs} +412 -408
- package/chip.js +1 -1
- package/chip.mjs +2 -2
- package/circular-progress.js +15 -15
- package/circular-progress.mjs +25 -25
- package/class-map-DPUylGZM.mjs +36 -0
- package/class-map-DTzB8z-1.js +5 -0
- package/{code-editor-CryBkPGy.js → code-editor-Bu3qtyEg.js} +110 -110
- package/{code-editor-XU5DhFbC.mjs → code-editor-CPpojoPe.mjs} +5423 -5477
- package/code-editor.js +1 -1
- package/code-editor.mjs +2 -2
- package/code-snippet.js +11 -11
- package/code-snippet.mjs +2611 -2641
- package/{dialog-DMqDMT_N.js → dialog-BShWbhKq.js} +9 -9
- package/{dialog-BodJc4rc.mjs → dialog-ChTd6dnt.mjs} +186 -186
- package/dialog.js +1 -1
- package/dialog.mjs +2 -2
- package/directive-C7oCP5Bh.js +5 -0
- package/directive-helpers-C-un5pST.js +5 -0
- package/directive-helpers-DS-VuBZD.mjs +11 -0
- package/{directive-B76A7YXI.mjs → directive-oAbCiebi.mjs} +4 -4
- package/drawer.js +2 -2
- package/drawer.mjs +14 -14
- package/empty-state.js +1 -1
- package/empty-state.mjs +6 -6
- package/{event-options-D44mpm5S.mjs → event-options-C7DvXRgq.mjs} +1 -1
- package/{event-options-IG-2g8HU.js → event-options-DD382x85.js} +1 -1
- package/expansion-panel-item.js +1 -1
- package/expansion-panel-item.mjs +3 -3
- package/expansion-panel.js +1 -1
- package/expansion-panel.mjs +5 -5
- package/focused-page.js +1 -1
- package/focused-page.mjs +7 -7
- package/form-element-BSAsNxWv.js +5 -0
- package/form-element-QkRofWU9.mjs +50 -0
- package/formfield.js +7 -7
- package/formfield.mjs +45 -45
- package/{foundation-sIsx2I_x.js → foundation-CySCCTUE.js} +2 -2
- package/{foundation-D6JHa7Lg.mjs → foundation-PL3XY-m_.mjs} +4 -4
- package/{foundation-aT_gy6X8.js → foundation-pgmPu2iJ.js} +1 -1
- package/{foundation-BYhAXCW_.mjs → foundation-qQ4jzaAu.mjs} +15 -17
- package/full-screen-dialog.js +2 -2
- package/full-screen-dialog.mjs +10 -10
- package/{html-DW6Y8eLM.mjs → html-DC72jQvb.mjs} +1 -1
- package/{html-CEiNqoVv.js → html-wWghN8cA.js} +1 -1
- package/icon-button-toggle.js +6 -6
- package/icon-button-toggle.mjs +34 -34
- package/icon-button.js +5 -5
- package/icon-button.mjs +36 -36
- package/icon-check-toggle.js +1 -1
- package/icon-check-toggle.mjs +7 -7
- package/icon-lockup.js +5 -5
- package/icon-lockup.mjs +4 -4
- package/icon-radio-toggle.js +1 -1
- package/icon-radio-toggle.mjs +13 -13
- package/icon.js +1 -1
- package/icon.mjs +13 -13
- package/{if-defined-B7G84qob.js → if-defined-CZCqOAYs.js} +1 -1
- package/{if-defined-DN7whKwy.mjs → if-defined-DGrxuPYz.mjs} +1 -1
- package/index.d.ts +0 -1
- package/index.js +1 -10
- package/index.mjs +112 -450
- package/inert.esm-CknhJysw.mjs +645 -0
- package/inert.esm-D2PJKL9E.js +28 -0
- package/{javascript-DzJ0FiwJ.mjs → javascript-C_a5TwhW.mjs} +1 -1
- package/{javascript-vVCDG6Rm.js → javascript-cY8cX08V.js} +1 -1
- package/linear-progress.js +7 -7
- package/linear-progress.mjs +32 -32
- package/{list-item-BIuZJQpK.mjs → list-item-CK66f3gK.mjs} +1 -1
- package/{list-item-V8RaZO6L.js → list-item-LcvIn8Xz.js} +1 -1
- package/list-item.js +7 -7
- package/list-item.mjs +21 -21
- package/list.js +3 -3
- package/list.mjs +16 -16
- package/menu.js +3 -3
- package/menu.mjs +16 -16
- package/{mwc-checkbox.css-CNoj0V14.mjs → mwc-checkbox.css-2vEWGIGy.mjs} +28 -28
- package/{mwc-checkbox.css-BV3dyB4C.js → mwc-checkbox.css-u49MHsHT.js} +1 -1
- package/{mwc-drawer-base-C96HTnbC.mjs → mwc-drawer-base-BKjve51A.mjs} +11 -11
- package/{mwc-drawer-base-BIn51sQu.js → mwc-drawer-base-C2YS_KZk.js} +3 -3
- package/{mwc-icon-Xgr698ax.js → mwc-icon-BUzuM0iB.js} +1 -1
- package/{mwc-icon-DTCUplqR.mjs → mwc-icon-CU54ISyR.mjs} +2 -2
- package/{mwc-icon-button.css-DOVWWyjA.js → mwc-icon-button.css-BzElD_JI.js} +1 -1
- package/{mwc-icon-button.css-DJiDOS0_.mjs → mwc-icon-button.css-DosQIdlt.mjs} +1 -1
- package/{mwc-line-ripple-directive-TO37-41n.mjs → mwc-line-ripple-directive-D6JvHdq9.mjs} +35 -34
- package/{mwc-line-ripple-directive-r80jluoU.js → mwc-line-ripple-directive-DBy5sTfo.js} +4 -4
- package/{mwc-list-item.css-Cg9onxQ-.mjs → mwc-list-item.css-BfvtPwr2.mjs} +10 -10
- package/{mwc-list-item.css-CO1JlA8e.js → mwc-list-item.css-Bib8TVz5.js} +10 -10
- package/{mwc-list.css-C_-DVEme.mjs → mwc-list.css-CnoVmMrq.mjs} +100 -100
- package/{mwc-list.css-Deg9oBaO.js → mwc-list.css-DWV8pw-x.js} +1 -1
- package/{mwc-menu.css-Dvr-f3_T.js → mwc-menu.css-D3EFugOg.js} +18 -18
- package/{mwc-menu.css-qpZxKN-g.mjs → mwc-menu.css-zLJoUMUW.mjs} +303 -303
- package/{mwc-radio.css-BiHC1R8I.mjs → mwc-radio.css-6ufegTtG.mjs} +8 -8
- package/{mwc-radio.css-DjO4Rn44.js → mwc-radio.css-BWiWreTh.js} +1 -1
- package/{mwc-slider.css-Deh1__Ar.mjs → mwc-slider.css-Cq4ygmy4.mjs} +277 -288
- package/{mwc-slider.css-DFOaS04S.js → mwc-slider.css-DytByuJk.js} +13 -13
- package/{mwc-tab.css-sq5suZKe.js → mwc-tab.css-CrjUDOft.js} +11 -11
- package/{mwc-tab.css-2UrPKkNg.mjs → mwc-tab.css-DUOF704w.mjs} +31 -31
- package/{mwc-top-app-bar-base-BIZGhVtM.mjs → mwc-top-app-bar-base-CY0I98Qf.mjs} +21 -21
- package/{mwc-top-app-bar-base-DUdOcIjS.js → mwc-top-app-bar-base-Gxaye-WD.js} +3 -3
- package/nav-list-item.js +1 -1
- package/nav-list-item.mjs +13 -13
- package/notebook-cell.js +1 -1
- package/notebook-cell.mjs +23 -23
- package/package.json +3 -8
- package/{property-BRKnMYJe.js → property-DYTC_2-m.js} +1 -1
- package/{python-CddQNZH2.mjs → python-3XbrQbry.mjs} +1 -1
- package/{python-DnfGbG5q.js → python-C-jtMxm_.js} +1 -1
- package/query-CDOd1Kwm.mjs +15 -0
- package/query-Dv2F3m_t.js +5 -0
- package/query-assigned-elements-8EurZY45.js +31 -0
- package/query-assigned-elements-D930kELM.mjs +591 -0
- package/query-assigned-nodes-BAfLwxmx.js +5 -0
- package/query-assigned-nodes-Dof2CSLU.mjs +17 -0
- package/radio-list-item.js +9 -9
- package/radio-list-item.mjs +28 -28
- package/radio.js +1 -1
- package/radio.mjs +15 -15
- package/{ripple-handlers-BAdg-fJB.mjs → ripple-handlers-BzwD98Ty.mjs} +71 -71
- package/{ripple-handlers-BDmOLx8c.js → ripple-handlers-C7an-EE1.js} +5 -5
- package/select.js +15 -15
- package/select.mjs +166 -167
- package/side-sheet.js +1 -1
- package/side-sheet.mjs +8 -8
- package/slider-range.js +5 -5
- package/slider-range.mjs +43 -43
- package/slider.js +2 -2
- package/slider.mjs +19 -19
- package/snackbar.js +11 -11
- package/snackbar.mjs +54 -54
- package/{state-Csv4sdJA.js → state-C3HoXfoa.js} +1 -1
- package/status-dialog.js +1 -1
- package/status-dialog.mjs +6 -6
- package/status-header-item.js +1 -1
- package/status-header-item.mjs +17 -17
- package/status-header.js +5 -5
- package/status-header.mjs +34 -34
- package/style-map-D2TR7M-D.mjs +42 -0
- package/style-map-DOMuf9Fg.js +5 -0
- package/switch.js +5 -5
- package/switch.mjs +42 -42
- package/tab-bar.js +11 -11
- package/tab-bar.mjs +98 -98
- package/tab.js +1 -1
- package/tab.mjs +13 -13
- package/text-lockup.js +1 -1
- package/text-lockup.mjs +9 -9
- package/textarea.js +6 -6
- package/textarea.mjs +29 -29
- package/{textfield-bHWjhOOq.js → textfield-Byf2gP_G.js} +31 -31
- package/{textfield-i_Whj47J.mjs → textfield-vzZ-4E3g.mjs} +102 -102
- package/textfield.js +3 -3
- package/textfield.mjs +17 -17
- package/theme/prebuilt/dark-theme.css +1 -1
- package/theme/prebuilt/light-theme.css +1 -1
- package/toolbar.js +1 -1
- package/toolbar.mjs +4 -4
- package/tooltip.js +3 -3
- package/tooltip.mjs +54 -55
- package/{top-app-bar-CZ5ILmAf.mjs → top-app-bar-BQ88Rom5.mjs} +1 -1
- package/top-app-bar-fixed.js +8 -8
- package/top-app-bar-fixed.mjs +40 -40
- package/{top-app-bar-UVbXY1md.js → top-app-bar-lbNkmJbQ.js} +1 -1
- package/top-app-bar.js +3 -3
- package/top-app-bar.mjs +18 -18
- package/tree-list-item.js +1 -1
- package/tree-list-item.mjs +4 -4
- package/tree-list.js +4 -4
- package/tree-list.mjs +22 -22
- package/tslib.es6-pPsSiLLK.mjs +75 -0
- package/{typescript-BRw9OFm1.js → typescript-CNfpftAV.js} +1 -1
- package/{typescript-CdlgcZ3y.mjs → typescript-Dj6mne2e.mjs} +1 -1
- package/typography.js +1 -1
- package/typography.mjs +3 -3
- package/_commonjsHelpers-6jR-N8xe.js +0 -1
- package/async-directive-2AOdKBUW.mjs +0 -66
- package/async-directive-DZ3MjSIj.js +0 -5
- package/class-map-BHl5MHd7.mjs +0 -36
- package/class-map-PsUYVqvf.js +0 -5
- package/directive-C_VV3qwo.js +0 -5
- package/directive-helpers-6HCt_-zj.mjs +0 -11
- package/directive-helpers-BnUMbYHh.js +0 -5
- package/form-element--PS8uSRI.js +0 -5
- package/form-element-Dn0Lerng.mjs +0 -50
- package/icon/_icon-list.d.ts +0 -3
- package/icon/icon-demo.d.ts +0 -13
- package/inert.esm-C8R-X3j4.mjs +0 -639
- package/inert.esm-t-228rpY.js +0 -28
- package/query-BvlE-gMJ.js +0 -5
- package/query-DSO61t36.mjs +0 -15
- package/query-assigned-elements-BQszEgac.js +0 -31
- package/query-assigned-elements-DhyCP_2z.mjs +0 -591
- package/query-assigned-nodes-9DFnkxV8.js +0 -5
- package/query-assigned-nodes-B-jCihdA.mjs +0 -17
- package/style-map-3QfsA_1O.js +0 -5
- package/style-map-QxIETvrs.mjs +0 -42
- package/theme/prebuilt/dark-theme.css.map +0 -1
- package/theme/prebuilt/light-theme.css.map +0 -1
- package/tslib.es6-CISSdiiH.mjs +0 -75
- /package/{style.css → covalent.css} +0 -0
package/card.mjs
CHANGED
@@ -1,34 +1,34 @@
|
|
1
|
-
import { s, x as
|
2
|
-
import { o as
|
3
|
-
import { n as
|
4
|
-
var b = Object.defineProperty,
|
5
|
-
for (var r = void 0,
|
6
|
-
(
|
7
|
-
return r && b(
|
1
|
+
import { s, x as n, r as _, i as f, e as g } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { o as u } from "./class-map-DPUylGZM.mjs";
|
3
|
+
import { n as c } from "./property-DJzm_oB9.mjs";
|
4
|
+
var b = Object.defineProperty, d = (t, i, p, m) => {
|
5
|
+
for (var r = void 0, e = t.length - 1, o; e >= 0; e--)
|
6
|
+
(o = t[e]) && (r = o(i, p, r) || r);
|
7
|
+
return r && b(i, p, r), r;
|
8
8
|
};
|
9
9
|
class a extends s {
|
10
10
|
constructor() {
|
11
11
|
super(...arguments), this.cardTitle = "", this.subTitle = "", this.actionBar = !1, this.interactive = !1, this.outlined = !1, this.fullHeight = !1;
|
12
12
|
}
|
13
13
|
render() {
|
14
|
-
const
|
14
|
+
const i = {
|
15
15
|
"mdc-card": !0,
|
16
16
|
"mdc-card--outlined": this.outlined,
|
17
17
|
"cv-height-full": this.fullHeight
|
18
18
|
};
|
19
|
-
return
|
20
|
-
${this.cardTitle ?
|
19
|
+
return n` <div class="${u(i)}">
|
20
|
+
${this.cardTitle ? n`
|
21
21
|
<div class="mdc-card__actions mdc-typography--headline5">
|
22
22
|
${this.cardTitle}
|
23
23
|
</div>
|
24
24
|
` : ""}
|
25
|
-
${this.interactive ?
|
25
|
+
${this.interactive ? n`
|
26
26
|
<div class="mdc-card__primary-action">
|
27
27
|
<slot></slot>
|
28
28
|
<div class="mdc-card__ripple"></div>
|
29
29
|
</div>
|
30
|
-
` :
|
31
|
-
${this.actionBar ?
|
30
|
+
` : n`<slot></slot>`}
|
31
|
+
${this.actionBar ? n`
|
32
32
|
<div class="mdc-card__actions">
|
33
33
|
<slot name="card-actions"></slot>
|
34
34
|
</div>
|
@@ -36,42 +36,42 @@ class a extends s {
|
|
36
36
|
</div>`;
|
37
37
|
}
|
38
38
|
}
|
39
|
-
|
40
|
-
|
39
|
+
d([
|
40
|
+
c()
|
41
41
|
], a.prototype, "cardTitle");
|
42
|
-
|
43
|
-
|
42
|
+
d([
|
43
|
+
c()
|
44
44
|
], a.prototype, "subTitle");
|
45
|
-
|
46
|
-
|
45
|
+
d([
|
46
|
+
c({ type: Boolean })
|
47
47
|
], a.prototype, "actionBar");
|
48
|
-
|
49
|
-
|
48
|
+
d([
|
49
|
+
c({ type: Boolean })
|
50
50
|
], a.prototype, "interactive");
|
51
|
-
|
52
|
-
|
51
|
+
d([
|
52
|
+
c({ type: Boolean })
|
53
53
|
], a.prototype, "outlined");
|
54
|
-
|
55
|
-
|
54
|
+
d([
|
55
|
+
c({ type: Boolean })
|
56
56
|
], a.prototype, "fullHeight");
|
57
57
|
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}}:host([fullHeight]){display:block;height:100%}.mdc-card{--mdc-theme-surface: var(--cv-theme-surface-container-lowest, #ffffff);box-shadow:none}.mdc-card.cv-height-full,.mdc-card.cv-height-full .mdc-card__primary-action{height:100%}.mdc-typography--headline5{font-family:var(--mdc-typography-headline5-font-family);font-size:var(--mdc-typography-headline5-font-size);font-weight:var(--mdc-typography-headline5-font-weight);line-height:var(--mdc-typography-headline5-line-height);color:var(--mdc-theme-text-primary-on-background)}.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);border-color:var(--cv-theme-outline-variant)}';
|
58
|
-
var y = Object.
|
59
|
-
for (var r =
|
60
|
-
(
|
61
|
-
return
|
58
|
+
var y = Object.getOwnPropertyDescriptor, v = (t, i, p, m) => {
|
59
|
+
for (var r = m > 1 ? void 0 : m ? y(i, p) : i, e = t.length - 1, o; e >= 0; e--)
|
60
|
+
(o = t[e]) && (r = o(r) || r);
|
61
|
+
return r;
|
62
62
|
};
|
63
|
-
let
|
63
|
+
let l = class extends a {
|
64
64
|
};
|
65
|
-
|
66
|
-
|
67
|
-
${
|
65
|
+
l.styles = [
|
66
|
+
f`
|
67
|
+
${_(h)}
|
68
68
|
`
|
69
69
|
];
|
70
|
-
|
71
|
-
|
72
|
-
],
|
73
|
-
const
|
70
|
+
l = v([
|
71
|
+
g("cv-card")
|
72
|
+
], l);
|
73
|
+
const k = l;
|
74
74
|
export {
|
75
|
-
|
76
|
-
|
75
|
+
l as CovalentCard,
|
76
|
+
k as default
|
77
77
|
};
|
package/check-list-item.js
CHANGED
@@ -1,16 +1,16 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const a=require("./tslib.es6-CHeFCc6E.js"),t=require("./query-assigned-elements-8EurZY45.js"),p=require("./mwc-checkbox.css-u49MHsHT.js"),m=require("./property-DYTC_2-m.js"),u=require("./query-Dv2F3m_t.js"),k=require("./class-map-DTzB8z-1.js"),_=require("./mwc-list-item.css-Bib8TVz5.js"),d=require("./list-item-LcvIn8Xz.js");/**
|
2
2
|
* @license
|
3
3
|
* Copyright 2018 Google LLC
|
4
4
|
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/let l=class extends p.CheckboxBase{};l.styles=[p.styles];l=
|
5
|
+
*/let l=class extends p.CheckboxBase{};l.styles=[p.styles];l=a.__decorate([t.e("mwc-checkbox")],l);/**
|
6
6
|
* @license
|
7
7
|
* Copyright 2020 Google LLC
|
8
8
|
* SPDX-License-Identifier: Apache-2.0
|
9
|
-
*/class
|
9
|
+
*/class h extends _.ListItemBase{constructor(){super(...arguments),this.left=!1,this.graphic="control"}render(){const s={"mdc-deprecated-list-item__graphic":this.left,"mdc-deprecated-list-item__meta":!this.left},e=this.renderText(),o=this.graphic&&this.graphic!=="control"&&!this.left?this.renderGraphic():t.x``,c=this.hasMeta&&this.left?this.renderMeta():t.x``,i=this.renderRipple();return t.x`
|
10
|
+
${i}
|
10
11
|
${o}
|
11
|
-
${c}
|
12
12
|
${this.left?"":e}
|
13
|
-
<span class=${
|
13
|
+
<span class=${k.o(s)}>
|
14
14
|
<mwc-checkbox
|
15
15
|
reducedTouchTarget
|
16
16
|
tabindex=${this.tabindex}
|
@@ -20,6 +20,6 @@
|
|
20
20
|
</mwc-checkbox>
|
21
21
|
</span>
|
22
22
|
${this.left?e:""}
|
23
|
-
${
|
24
|
-
${
|
25
|
-
`];exports.CovalentCheckListItem=
|
23
|
+
${c}`}async onChange(s){const e=s.target;this.selected===e.checked||(this._skipPropRequest=!0,this.selected=e.checked,await this.updateComplete,this._skipPropRequest=!1)}}a.__decorate([u.i("slot")],h.prototype,"slotElement",void 0);a.__decorate([u.i("mwc-checkbox")],h.prototype,"checkboxElement",void 0);a.__decorate([m.n({type:Boolean})],h.prototype,"left",void 0);a.__decorate([m.n({type:String,reflect:!0})],h.prototype,"graphic",void 0);var C=Object.getOwnPropertyDescriptor,x=(r,s,e,o)=>{for(var c=o>1?void 0:o?C(s,e):s,i=r.length-1,n;i>=0;i--)(n=r[i])&&(c=n(c)||c);return c};exports.CovalentCheckListItem=class extends h{};exports.CovalentCheckListItem.styles=[_.styles,d.styles,t.i`
|
24
|
+
${t.r(d.covalentStyles)}
|
25
|
+
`];exports.CovalentCheckListItem=x([t.e("cv-check-list-item")],exports.CovalentCheckListItem);const g=exports.CovalentCheckListItem;exports.default=g;
|
package/check-list-item.mjs
CHANGED
@@ -1,41 +1,41 @@
|
|
1
|
-
import {
|
2
|
-
import { e as
|
3
|
-
import { s as
|
4
|
-
import { n as
|
5
|
-
import { i as f } from "./query-
|
6
|
-
import { o as $ } from "./class-map-
|
7
|
-
import { L as
|
8
|
-
import { s as
|
1
|
+
import { _ as r } from "./tslib.es6-pPsSiLLK.mjs";
|
2
|
+
import { e as m, x as l, r as x, i as k } from "./query-assigned-elements-D930kELM.mjs";
|
3
|
+
import { s as g, C as b } from "./mwc-checkbox.css-2vEWGIGy.mjs";
|
4
|
+
import { n as d } from "./property-DJzm_oB9.mjs";
|
5
|
+
import { i as f } from "./query-CDOd1Kwm.mjs";
|
6
|
+
import { o as $ } from "./class-map-DPUylGZM.mjs";
|
7
|
+
import { L as u, s as y } from "./mwc-list-item.css-BfvtPwr2.mjs";
|
8
|
+
import { s as C, c as v } from "./list-item-CK66f3gK.mjs";
|
9
9
|
/**
|
10
10
|
* @license
|
11
11
|
* Copyright 2018 Google LLC
|
12
12
|
* SPDX-License-Identifier: Apache-2.0
|
13
13
|
*/
|
14
|
-
let p = class extends
|
14
|
+
let p = class extends b {
|
15
15
|
};
|
16
|
-
p.styles = [
|
17
|
-
p =
|
18
|
-
|
16
|
+
p.styles = [g];
|
17
|
+
p = r([
|
18
|
+
m("mwc-checkbox")
|
19
19
|
], p);
|
20
20
|
/**
|
21
21
|
* @license
|
22
22
|
* Copyright 2020 Google LLC
|
23
23
|
* SPDX-License-Identifier: Apache-2.0
|
24
24
|
*/
|
25
|
-
class i extends
|
25
|
+
class i extends u {
|
26
26
|
constructor() {
|
27
27
|
super(...arguments), this.left = !1, this.graphic = "control";
|
28
28
|
}
|
29
29
|
render() {
|
30
|
-
const
|
30
|
+
const t = {
|
31
31
|
"mdc-deprecated-list-item__graphic": this.left,
|
32
32
|
"mdc-deprecated-list-item__meta": !this.left
|
33
|
-
}, e = this.renderText(), c = this.graphic && this.graphic !== "control" && !this.left ? this.renderGraphic() : l``,
|
33
|
+
}, e = this.renderText(), c = this.graphic && this.graphic !== "control" && !this.left ? this.renderGraphic() : l``, s = this.hasMeta && this.left ? this.renderMeta() : l``, o = this.renderRipple();
|
34
34
|
return l`
|
35
|
-
${
|
35
|
+
${o}
|
36
36
|
${c}
|
37
37
|
${this.left ? "" : e}
|
38
|
-
<span class=${$(
|
38
|
+
<span class=${$(t)}>
|
39
39
|
<mwc-checkbox
|
40
40
|
reducedTouchTarget
|
41
41
|
tabindex=${this.tabindex}
|
@@ -45,41 +45,41 @@ class i extends k {
|
|
45
45
|
</mwc-checkbox>
|
46
46
|
</span>
|
47
47
|
${this.left ? e : ""}
|
48
|
-
${
|
48
|
+
${s}`;
|
49
49
|
}
|
50
|
-
async onChange(
|
51
|
-
const e =
|
50
|
+
async onChange(t) {
|
51
|
+
const e = t.target;
|
52
52
|
this.selected === e.checked || (this._skipPropRequest = !0, this.selected = e.checked, await this.updateComplete, this._skipPropRequest = !1);
|
53
53
|
}
|
54
54
|
}
|
55
|
-
|
55
|
+
r([
|
56
56
|
f("slot")
|
57
57
|
], i.prototype, "slotElement", void 0);
|
58
|
-
|
58
|
+
r([
|
59
59
|
f("mwc-checkbox")
|
60
60
|
], i.prototype, "checkboxElement", void 0);
|
61
|
-
|
62
|
-
|
61
|
+
r([
|
62
|
+
d({ type: Boolean })
|
63
63
|
], i.prototype, "left", void 0);
|
64
|
-
|
65
|
-
|
64
|
+
r([
|
65
|
+
d({ type: String, reflect: !0 })
|
66
66
|
], i.prototype, "graphic", void 0);
|
67
|
-
var
|
68
|
-
for (var
|
69
|
-
(n = a[
|
70
|
-
return
|
67
|
+
var _ = Object.getOwnPropertyDescriptor, w = (a, t, e, c) => {
|
68
|
+
for (var s = c > 1 ? void 0 : c ? _(t, e) : t, o = a.length - 1, n; o >= 0; o--)
|
69
|
+
(n = a[o]) && (s = n(s) || s);
|
70
|
+
return s;
|
71
71
|
};
|
72
72
|
let h = class extends i {
|
73
73
|
};
|
74
74
|
h.styles = [
|
75
|
+
y,
|
75
76
|
C,
|
76
|
-
|
77
|
-
|
78
|
-
${x(y)}
|
77
|
+
k`
|
78
|
+
${x(v)}
|
79
79
|
`
|
80
80
|
];
|
81
81
|
h = w([
|
82
|
-
|
82
|
+
m("cv-check-list-item")
|
83
83
|
], h);
|
84
84
|
const E = h;
|
85
85
|
export {
|
package/checkbox.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-8EurZY45.js"),n=require("./mwc-checkbox.css-u49MHsHT.js"),h=":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)}";var b=Object.getOwnPropertyDescriptor,d=(c,r,a,s)=>{for(var e=s>1?void 0:s?b(r,a):r,o=c.length-1,l;o>=0;o--)(l=c[o])&&(e=l(e)||e);return e};exports.CovalentCheckbox=class extends n.CheckboxBase{};exports.CovalentCheckbox.styles=[n.styles,t.i`${t.r(h)}`];exports.CovalentCheckbox=d([t.e("cv-checkbox")],exports.CovalentCheckbox);const v=exports.CovalentCheckbox;exports.default=v;
|
package/checkbox.mjs
CHANGED
@@ -1,19 +1,19 @@
|
|
1
|
-
import {
|
2
|
-
import { s as
|
3
|
-
const
|
4
|
-
var
|
5
|
-
for (var e =
|
6
|
-
(a =
|
7
|
-
return
|
1
|
+
import { r as d, i as l, e as h } from "./query-assigned-elements-D930kELM.mjs";
|
2
|
+
import { s as n, C as b } from "./mwc-checkbox.css-2vEWGIGy.mjs";
|
3
|
+
const k = ":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)}";
|
4
|
+
var v = Object.getOwnPropertyDescriptor, x = (r, t, m, s) => {
|
5
|
+
for (var e = s > 1 ? void 0 : s ? v(t, m) : t, o = r.length - 1, a; o >= 0; o--)
|
6
|
+
(a = r[o]) && (e = a(e) || e);
|
7
|
+
return e;
|
8
8
|
};
|
9
|
-
let
|
9
|
+
let c = class extends b {
|
10
10
|
};
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
],
|
15
|
-
const
|
11
|
+
c.styles = [n, l`${d(k)}`];
|
12
|
+
c = x([
|
13
|
+
h("cv-checkbox")
|
14
|
+
], c);
|
15
|
+
const C = c;
|
16
16
|
export {
|
17
|
-
|
18
|
-
|
17
|
+
c as CovalentCheckbox,
|
18
|
+
C as default
|
19
19
|
};
|