@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
@@ -1,66 +0,0 @@
|
|
1
|
-
import { e as h } from "./directive-helpers-6HCt_-zj.mjs";
|
2
|
-
import { i as o, t as u } from "./directive-B76A7YXI.mjs";
|
3
|
-
/**
|
4
|
-
* @license
|
5
|
-
* Copyright 2017 Google LLC
|
6
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
-
*/
|
8
|
-
const d = (n, e) => {
|
9
|
-
var t, s;
|
10
|
-
const i = n._$AN;
|
11
|
-
if (i === void 0) return !1;
|
12
|
-
for (const l of i) (s = (t = l)._$AO) === null || s === void 0 || s.call(t, e, !1), d(l, e);
|
13
|
-
return !0;
|
14
|
-
}, r = (n) => {
|
15
|
-
let e, t;
|
16
|
-
do {
|
17
|
-
if ((e = n._$AM) === void 0) break;
|
18
|
-
t = e._$AN, t.delete(n), n = e;
|
19
|
-
} while ((t == null ? void 0 : t.size) === 0);
|
20
|
-
}, f = (n) => {
|
21
|
-
for (let e; e = n._$AM; n = e) {
|
22
|
-
let t = e._$AN;
|
23
|
-
if (t === void 0) e._$AN = t = /* @__PURE__ */ new Set();
|
24
|
-
else if (t.has(n)) break;
|
25
|
-
t.add(n), c(e);
|
26
|
-
}
|
27
|
-
};
|
28
|
-
function $(n) {
|
29
|
-
this._$AN !== void 0 ? (r(this), this._$AM = n, f(this)) : this._$AM = n;
|
30
|
-
}
|
31
|
-
function _(n, e = !1, t = 0) {
|
32
|
-
const s = this._$AH, i = this._$AN;
|
33
|
-
if (i !== void 0 && i.size !== 0) if (e) if (Array.isArray(s)) for (let l = t; l < s.length; l++) d(s[l], !1), r(s[l]);
|
34
|
-
else s != null && (d(s, !1), r(s));
|
35
|
-
else d(this, n);
|
36
|
-
}
|
37
|
-
const c = (n) => {
|
38
|
-
var e, t, s, i;
|
39
|
-
n.type == u.CHILD && ((e = (s = n)._$AP) !== null && e !== void 0 || (s._$AP = _), (t = (i = n)._$AQ) !== null && t !== void 0 || (i._$AQ = $));
|
40
|
-
};
|
41
|
-
class C extends o {
|
42
|
-
constructor() {
|
43
|
-
super(...arguments), this._$AN = void 0;
|
44
|
-
}
|
45
|
-
_$AT(e, t, s) {
|
46
|
-
super._$AT(e, t, s), f(this), this.isConnected = e._$AU;
|
47
|
-
}
|
48
|
-
_$AO(e, t = !0) {
|
49
|
-
var s, i;
|
50
|
-
e !== this.isConnected && (this.isConnected = e, e ? (s = this.reconnected) === null || s === void 0 || s.call(this) : (i = this.disconnected) === null || i === void 0 || i.call(this)), t && (d(this, e), r(this));
|
51
|
-
}
|
52
|
-
setValue(e) {
|
53
|
-
if (h(this._$Ct)) this._$Ct._$AI(e, this);
|
54
|
-
else {
|
55
|
-
const t = [...this._$Ct._$AH];
|
56
|
-
t[this._$Ci] = e, this._$Ct._$AI(t, this, 0);
|
57
|
-
}
|
58
|
-
}
|
59
|
-
disconnected() {
|
60
|
-
}
|
61
|
-
reconnected() {
|
62
|
-
}
|
63
|
-
}
|
64
|
-
export {
|
65
|
-
C as c
|
66
|
-
};
|
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const f=require("./directive-helpers-BnUMbYHh.js"),u=require("./directive-C_VV3qwo.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const l=(n,e)=>{var t,s;const i=n._$AN;if(i===void 0)return!1;for(const d of i)(s=(t=d)._$AO)===null||s===void 0||s.call(t,e,!1),l(d,e);return!0},r=n=>{let e,t;do{if((e=n._$AM)===void 0)break;t=e._$AN,t.delete(n),n=e}while((t==null?void 0:t.size)===0)},c=n=>{for(let e;e=n._$AM;n=e){let t=e._$AN;if(t===void 0)e._$AN=t=new Set;else if(t.has(n))break;t.add(n),$(e)}};function h(n){this._$AN!==void 0?(r(this),this._$AM=n,c(this)):this._$AM=n}function _(n,e=!1,t=0){const s=this._$AH,i=this._$AN;if(i!==void 0&&i.size!==0)if(e)if(Array.isArray(s))for(let d=t;d<s.length;d++)l(s[d],!1),r(s[d]);else s!=null&&(l(s,!1),r(s));else l(this,n)}const $=n=>{var e,t,s,i;n.type==u.t.CHILD&&((e=(s=n)._$AP)!==null&&e!==void 0||(s._$AP=_),(t=(i=n)._$AQ)!==null&&t!==void 0||(i._$AQ=h))};class o extends u.i{constructor(){super(...arguments),this._$AN=void 0}_$AT(e,t,s){super._$AT(e,t,s),c(this),this.isConnected=e._$AU}_$AO(e,t=!0){var s,i;e!==this.isConnected&&(this.isConnected=e,e?(s=this.reconnected)===null||s===void 0||s.call(this):(i=this.disconnected)===null||i===void 0||i.call(this)),t&&(l(this,e),r(this))}setValue(e){if(f.e(this._$Ct))this._$Ct._$AI(e,this);else{const t=[...this._$Ct._$AH];t[this._$Ci]=e,this._$Ct._$AI(t,this,0)}}disconnected(){}reconnected(){}}exports.c=o;
|
package/class-map-BHl5MHd7.mjs
DELETED
@@ -1,36 +0,0 @@
|
|
1
|
-
import { T as o } from "./query-assigned-elements-DhyCP_2z.mjs";
|
2
|
-
import { e as a, i as h, t as u } from "./directive-B76A7YXI.mjs";
|
3
|
-
/**
|
4
|
-
* @license
|
5
|
-
* Copyright 2018 Google LLC
|
6
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
-
*/
|
8
|
-
const c = a(class extends h {
|
9
|
-
constructor(n) {
|
10
|
-
var t;
|
11
|
-
if (super(n), n.type !== u.ATTRIBUTE || n.name !== "class" || ((t = n.strings) === null || t === void 0 ? void 0 : t.length) > 2) throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.");
|
12
|
-
}
|
13
|
-
render(n) {
|
14
|
-
return " " + Object.keys(n).filter((t) => n[t]).join(" ") + " ";
|
15
|
-
}
|
16
|
-
update(n, [t]) {
|
17
|
-
var i, s;
|
18
|
-
if (this.it === void 0) {
|
19
|
-
this.it = /* @__PURE__ */ new Set(), n.strings !== void 0 && (this.nt = new Set(n.strings.join(" ").split(/\s/).filter((e) => e !== "")));
|
20
|
-
for (const e in t) t[e] && !(!((i = this.nt) === null || i === void 0) && i.has(e)) && this.it.add(e);
|
21
|
-
return this.render(t);
|
22
|
-
}
|
23
|
-
const r = n.element.classList;
|
24
|
-
this.it.forEach((e) => {
|
25
|
-
e in t || (r.remove(e), this.it.delete(e));
|
26
|
-
});
|
27
|
-
for (const e in t) {
|
28
|
-
const d = !!t[e];
|
29
|
-
d === this.it.has(e) || !((s = this.nt) === null || s === void 0) && s.has(e) || (d ? (r.add(e), this.it.add(e)) : (r.remove(e), this.it.delete(e)));
|
30
|
-
}
|
31
|
-
return o;
|
32
|
-
}
|
33
|
-
});
|
34
|
-
export {
|
35
|
-
c as o
|
36
|
-
};
|
package/class-map-PsUYVqvf.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const o=require("./query-assigned-elements-BQszEgac.js"),d=require("./directive-C_VV3qwo.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2018 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const a=d.e(class extends d.i{constructor(n){var t;if(super(n),n.type!==d.t.ATTRIBUTE||n.name!=="class"||((t=n.strings)===null||t===void 0?void 0:t.length)>2)throw Error("`classMap()` can only be used in the `class` attribute and must be the only part in the attribute.")}render(n){return" "+Object.keys(n).filter(t=>n[t]).join(" ")+" "}update(n,[t]){var i,s;if(this.it===void 0){this.it=new Set,n.strings!==void 0&&(this.nt=new Set(n.strings.join(" ").split(/\s/).filter(e=>e!=="")));for(const e in t)t[e]&&!(!((i=this.nt)===null||i===void 0)&&i.has(e))&&this.it.add(e);return this.render(t)}const r=n.element.classList;this.it.forEach(e=>{e in t||(r.remove(e),this.it.delete(e))});for(const e in t){const u=!!t[e];u===this.it.has(e)||!((s=this.nt)===null||s===void 0)&&s.has(e)||(u?(r.add(e),this.it.add(e)):(r.remove(e),this.it.delete(e)))}return o.T}});exports.o=a;
|
package/directive-C_VV3qwo.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2017 Google LLC
|
4
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
5
|
-
*/const r={ATTRIBUTE:1,CHILD:2,PROPERTY:3,BOOLEAN_ATTRIBUTE:4,EVENT:5,ELEMENT:6},T=i=>(...t)=>({_$litDirective$:i,values:t});class _{constructor(t){}get _$AU(){return this._$AM._$AU}_$AT(t,e,s){this._$Ct=t,this._$AM=e,this._$Ci=s}_$AS(t,e){return this.update(t,e)}update(t,e){return this.render(...e)}}exports.e=T;exports.i=_;exports.t=r;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import "./query-assigned-elements-DhyCP_2z.mjs";
|
2
|
-
/**
|
3
|
-
* @license
|
4
|
-
* Copyright 2020 Google LLC
|
5
|
-
* SPDX-License-Identifier: BSD-3-Clause
|
6
|
-
*/
|
7
|
-
const i = (e) => e.strings === void 0, s = {}, o = (e, n = s) => e._$AH = n;
|
8
|
-
export {
|
9
|
-
o as a,
|
10
|
-
i as e
|
11
|
-
};
|
package/form-element--PS8uSRI.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const r=require("./tslib.es6-CHeFCc6E.js"),a=require("./property-BRKnMYJe.js");require("./query-assigned-elements-BQszEgac.js");const d=require("./base-element-5ZU-p99q.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2018 Google LLC
|
4
|
-
* SPDX-License-Identifier: Apache-2.0
|
5
|
-
*/var t,n;const l=(n=(t=window.ShadyDOM)===null||t===void 0?void 0:t.inUse)!==null&&n!==void 0?n:!1;class o extends d.BaseElement{constructor(){super(...arguments),this.disabled=!1,this.containingForm=null,this.formDataListener=e=>{this.disabled||this.setFormData(e.formData)}}findFormElement(){if(!this.shadowRoot||l)return null;const s=this.getRootNode().querySelectorAll("form");for(const i of Array.from(s))if(i.contains(this))return i;return null}connectedCallback(){var e;super.connectedCallback(),this.containingForm=this.findFormElement(),(e=this.containingForm)===null||e===void 0||e.addEventListener("formdata",this.formDataListener)}disconnectedCallback(){var e;super.disconnectedCallback(),(e=this.containingForm)===null||e===void 0||e.removeEventListener("formdata",this.formDataListener),this.containingForm=null}click(){this.formElement&&!this.disabled&&(this.formElement.focus(),this.formElement.click())}firstUpdated(){super.firstUpdated(),this.shadowRoot&&this.mdcRoot.addEventListener("change",e=>{this.dispatchEvent(new Event("change",e))})}}o.shadowRootOptions={mode:"open",delegatesFocus:!0};r.__decorate([a.n({type:Boolean})],o.prototype,"disabled",void 0);exports.FormElement=o;
|
@@ -1,50 +0,0 @@
|
|
1
|
-
import { b as r } from "./tslib.es6-CISSdiiH.mjs";
|
2
|
-
import { n as a } from "./property-DJzm_oB9.mjs";
|
3
|
-
import "./query-assigned-elements-DhyCP_2z.mjs";
|
4
|
-
import { B as d } from "./base-element-CzNmpVoz.mjs";
|
5
|
-
/**
|
6
|
-
* @license
|
7
|
-
* Copyright 2018 Google LLC
|
8
|
-
* SPDX-License-Identifier: Apache-2.0
|
9
|
-
*/
|
10
|
-
var t, n;
|
11
|
-
const l = (n = (t = window.ShadyDOM) === null || t === void 0 ? void 0 : t.inUse) !== null && n !== void 0 ? n : !1;
|
12
|
-
class i extends d {
|
13
|
-
constructor() {
|
14
|
-
super(...arguments), this.disabled = !1, this.containingForm = null, this.formDataListener = (e) => {
|
15
|
-
this.disabled || this.setFormData(e.formData);
|
16
|
-
};
|
17
|
-
}
|
18
|
-
findFormElement() {
|
19
|
-
if (!this.shadowRoot || l)
|
20
|
-
return null;
|
21
|
-
const s = this.getRootNode().querySelectorAll("form");
|
22
|
-
for (const o of Array.from(s))
|
23
|
-
if (o.contains(this))
|
24
|
-
return o;
|
25
|
-
return null;
|
26
|
-
}
|
27
|
-
connectedCallback() {
|
28
|
-
var e;
|
29
|
-
super.connectedCallback(), this.containingForm = this.findFormElement(), (e = this.containingForm) === null || e === void 0 || e.addEventListener("formdata", this.formDataListener);
|
30
|
-
}
|
31
|
-
disconnectedCallback() {
|
32
|
-
var e;
|
33
|
-
super.disconnectedCallback(), (e = this.containingForm) === null || e === void 0 || e.removeEventListener("formdata", this.formDataListener), this.containingForm = null;
|
34
|
-
}
|
35
|
-
click() {
|
36
|
-
this.formElement && !this.disabled && (this.formElement.focus(), this.formElement.click());
|
37
|
-
}
|
38
|
-
firstUpdated() {
|
39
|
-
super.firstUpdated(), this.shadowRoot && this.mdcRoot.addEventListener("change", (e) => {
|
40
|
-
this.dispatchEvent(new Event("change", e));
|
41
|
-
});
|
42
|
-
}
|
43
|
-
}
|
44
|
-
i.shadowRootOptions = { mode: "open", delegatesFocus: !0 };
|
45
|
-
r([
|
46
|
-
a({ type: Boolean })
|
47
|
-
], i.prototype, "disabled", void 0);
|
48
|
-
export {
|
49
|
-
i as F
|
50
|
-
};
|
package/icon/_icon-list.d.ts
DELETED
package/icon/icon-demo.d.ts
DELETED
@@ -1,13 +0,0 @@
|
|
1
|
-
import { LitElement } from 'lit';
|
2
|
-
import './icon';
|
3
|
-
import '../typography/typography';
|
4
|
-
export declare class CovalentIconDemo extends LitElement {
|
5
|
-
static styles: import("lit").CSSResult[];
|
6
|
-
render(): import("lit-html").TemplateResult<1>;
|
7
|
-
}
|
8
|
-
declare global {
|
9
|
-
interface HTMLElementTagNameMap {
|
10
|
-
'cv-icon-demo': CovalentIconDemo;
|
11
|
-
}
|
12
|
-
}
|
13
|
-
export default CovalentIconDemo;
|