@covalent/components 6.2.3 → 6.3.0-beta.1
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/app-shell/app-shell.d.ts +14 -0
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +20 -12
- package/app-shell.mjs +83 -50
- package/index.js +1 -1
- package/index.mjs +1 -1
- package/list-expansion.js +8 -8
- package/list-expansion.mjs +24 -24
- package/{list-item-3fa66f09.js → list-item-e78d76c5.js} +1 -1
- package/{list-item-d5c05e10.mjs → list-item-f7cb5460.mjs} +13 -13
- package/list-item.js +1 -1
- package/list-item.mjs +1 -1
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +21 -21
- package/package.json +1 -1
- package/style.css +1 -1
@@ -1,13 +1,13 @@
|
|
1
1
|
import { L as d } from "./mwc-list-item-base-acef0223.mjs";
|
2
|
-
import { i as
|
2
|
+
import { i as l, r as h, b as a, y as p, e as v } from "./query-assigned-elements-514e5265.mjs";
|
3
3
|
import { e as $ } from "./property-ca27685b.mjs";
|
4
4
|
import { s as f, a as x } from "./mwc-list-item.css-b5481d96.mjs";
|
5
|
-
const
|
5
|
+
const _ = `.expansion-icon{margin-left:-16px;margin-right:-8px;color:var(--cv-list-item-text-icon-on-background, var(--mdc-theme-text-icon-on-background))}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
|
6
6
|
`;
|
7
|
-
var
|
7
|
+
var g = Object.defineProperty, u = Object.getOwnPropertyDescriptor, m = (n, e, r, s) => {
|
8
8
|
for (var t = s > 1 ? void 0 : s ? u(e, r) : e, o = n.length - 1, c; o >= 0; o--)
|
9
9
|
(c = n[o]) && (t = (s ? c(e, r, t) : c(t)) || t);
|
10
|
-
return s && t &&
|
10
|
+
return s && t && g(e, r, t), t;
|
11
11
|
};
|
12
12
|
let i = class extends d {
|
13
13
|
constructor() {
|
@@ -20,14 +20,14 @@ let i = class extends d {
|
|
20
20
|
}
|
21
21
|
};
|
22
22
|
i.styles = [
|
23
|
-
|
24
|
-
${
|
23
|
+
l`
|
24
|
+
${h(f)}
|
25
25
|
`,
|
26
|
-
|
27
|
-
${
|
26
|
+
l`
|
27
|
+
${h(x)}
|
28
28
|
`,
|
29
|
-
|
30
|
-
${
|
29
|
+
l`
|
30
|
+
${h(_)}
|
31
31
|
`
|
32
32
|
];
|
33
33
|
m([
|
@@ -36,9 +36,9 @@ m([
|
|
36
36
|
i = m([
|
37
37
|
v("cv-list-item")
|
38
38
|
], i);
|
39
|
-
const
|
39
|
+
const I = i;
|
40
40
|
export {
|
41
41
|
i as C,
|
42
|
-
|
43
|
-
|
42
|
+
I as a,
|
43
|
+
_ as s
|
44
44
|
};
|
package/list-item.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-803b9771.js");require("./query-assigned-elements-07e38f46.js");require("./property-074570d1.js");require("./mwc-list-item.css-401e2407.js");const e=require("./list-item-
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});require("./mwc-list-item-base-803b9771.js");require("./query-assigned-elements-07e38f46.js");require("./property-074570d1.js");require("./mwc-list-item.css-401e2407.js");const e=require("./list-item-e78d76c5.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>e.CovalentListItem});exports.default=e.CovalentListItem$1;
|
package/list-item.mjs
CHANGED
@@ -2,7 +2,7 @@ import "./mwc-list-item-base-acef0223.mjs";
|
|
2
2
|
import "./query-assigned-elements-514e5265.mjs";
|
3
3
|
import "./property-ca27685b.mjs";
|
4
4
|
import "./mwc-list-item.css-b5481d96.mjs";
|
5
|
-
import { C as v, a as x } from "./list-item-
|
5
|
+
import { C as v, a as x } from "./list-item-f7cb5460.mjs";
|
6
6
|
import "./tslib.es6-b5e819a6.mjs";
|
7
7
|
import "./ripple-handlers-227497d3.mjs";
|
8
8
|
import "./base-element-c3dc926e.mjs";
|
package/nav-list-item.js
CHANGED
@@ -1,10 +1,10 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const
|
2
|
-
`;var h=Object.defineProperty,
|
3
|
-
${
|
4
|
-
`,
|
5
|
-
${
|
6
|
-
`,
|
7
|
-
${
|
8
|
-
`,
|
9
|
-
${
|
10
|
-
`];
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const t=require("./query-assigned-elements-07e38f46.js"),m=require("./property-074570d1.js"),l=require("./list-item-e78d76c5.js"),p=require("./mwc-list-item.css-401e2407.js");require("./mwc-list-item-base-803b9771.js");require("./tslib.es6-6b53b818.js");require("./ripple-handlers-2176f137.js");require("./base-element-d5abe37a.js");require("./utils-a8190a39.js");require("./state-949232e6.js");require("./query-2ba749b7.js");require("./class-map-50b8edb4.js");require("./style-map-3056a771.js");require("./observer-a096ab43.js");const v=`:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left}::slotted(.section-selector){display:none}:host([navopen]){border-radius:0 28px 28px 0;transition:border-radius .1s ease-out;margin-right:16px}:host([navopen]) ::slotted(.section-selector){display:block;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]:not([navopen])){border-radius:100%;margin:0 0 0 12px;padding:0;width:48px;height:48px}:host([graphic=avatar]:not([navopen])) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 15px;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;font-size:var(--mdc-typography-subtitle1-font-size);margin-right:0;border-radius:0}:host(.beta-list-item:not([navopen])){--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: 0;--mdc-typography-body2-font-size: 0;height:48px;font-size:0;padding:0 0 0 15px}
|
2
|
+
`;var h=Object.defineProperty,d=Object.getOwnPropertyDescriptor,c=(a,i,o,r)=>{for(var e=r>1?void 0:r?d(i,o):i,s=a.length-1,n;s>=0;s--)(n=a[s])&&(e=(r?n(i,o,e):n(e))||e);return r&&e&&h(i,o,e),e};exports.CovalentNavRailListItem=class extends l.CovalentListItem{constructor(){super(),this.navOpen=!1}};exports.CovalentNavRailListItem.styles=[t.i`
|
3
|
+
${t.r(p.styles)}
|
4
|
+
`,t.i`
|
5
|
+
${t.r(p.styles$1)}
|
6
|
+
`,t.i`
|
7
|
+
${t.r(l.styles)}
|
8
|
+
`,t.i`
|
9
|
+
${t.r(v)}
|
10
|
+
`];c([m.e({type:Boolean,reflect:!0})],exports.CovalentNavRailListItem.prototype,"navOpen",2);exports.CovalentNavRailListItem=c([t.e("cv-nav-list-item")],exports.CovalentNavRailListItem);const g=exports.CovalentNavRailListItem;exports.default=g;
|
package/nav-list-item.mjs
CHANGED
@@ -1,7 +1,7 @@
|
|
1
|
-
import { i as
|
2
|
-
import { e as
|
3
|
-
import { C as d, s as
|
4
|
-
import { s as
|
1
|
+
import { i as r, r as a, e as c } from "./query-assigned-elements-514e5265.mjs";
|
2
|
+
import { e as h } from "./property-ca27685b.mjs";
|
3
|
+
import { C as d, s as g } from "./list-item-f7cb5460.mjs";
|
4
|
+
import { s as y, a as v } from "./mwc-list-item.css-b5481d96.mjs";
|
5
5
|
import "./mwc-list-item-base-acef0223.mjs";
|
6
6
|
import "./tslib.es6-b5e819a6.mjs";
|
7
7
|
import "./ripple-handlers-227497d3.mjs";
|
@@ -12,12 +12,12 @@ import "./query-1e7846ea.mjs";
|
|
12
12
|
import "./class-map-08c84aeb.mjs";
|
13
13
|
import "./style-map-2cb0fb63.mjs";
|
14
14
|
import "./observer-be7b92e2.mjs";
|
15
|
-
const
|
15
|
+
const f = `:host{font-family:var(--mdc-typography-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:600;line-height:var(--mdc-typography-body2-line-height);text-align:left}::slotted(.section-selector){display:none}:host([navopen]){border-radius:0 28px 28px 0;transition:border-radius .1s ease-out;margin-right:16px}:host([navopen]) ::slotted(.section-selector){display:block;position:absolute;top:0;right:0}:host([activated]) ::slotted(cv-icon[slot=graphic]){color:var(--mdc-theme-primary)}:host([graphic=avatar]:not([navopen])){border-radius:100%;margin:0 0 0 12px;padding:0;width:48px;height:48px}:host([graphic=avatar]:not([navopen])) ::slotted(cv-icon[slot=graphic]){margin-left:8px;background:transparent}:host([graphic=avatar]:not([twoline])){height:48px}:host(.beta-list-item){--mdc-theme-primary: var(--mdc-theme-surface-caution);--mdc-list-item-meta-size: 20px;--mdc-list-item-graphic-size: 40px;--mdc-list-item-graphic-margin: 15px;--mdc-typography-subtitle1-font-size: var( --mdc-typography-subtitle2-font-size );--mdc-typography-body2-font-size: var(--mdc-typography-caption-font-size);margin-bottom:8px;font-size:var(--mdc-typography-subtitle1-font-size);margin-right:0;border-radius:0}:host(.beta-list-item:not([navopen])){--mdc-list-item-graphic-margin: 0;--mdc-typography-subtitle1-font-size: 0;--mdc-typography-body2-font-size: 0;height:48px;font-size:0;padding:0 0 0 15px}
|
16
16
|
`;
|
17
|
-
var b = Object.defineProperty, u = Object.getOwnPropertyDescriptor,
|
18
|
-
for (var t = i > 1 ? void 0 : i ? u(e,
|
19
|
-
(
|
20
|
-
return i && t && b(e,
|
17
|
+
var b = Object.defineProperty, u = Object.getOwnPropertyDescriptor, l = (m, e, s, i) => {
|
18
|
+
for (var t = i > 1 ? void 0 : i ? u(e, s) : e, p = m.length - 1, n; p >= 0; p--)
|
19
|
+
(n = m[p]) && (t = (i ? n(e, s, t) : n(t)) || t);
|
20
|
+
return i && t && b(e, s, t), t;
|
21
21
|
};
|
22
22
|
let o = class extends d {
|
23
23
|
constructor() {
|
@@ -25,24 +25,24 @@ let o = class extends d {
|
|
25
25
|
}
|
26
26
|
};
|
27
27
|
o.styles = [
|
28
|
-
|
29
|
-
${
|
28
|
+
r`
|
29
|
+
${a(y)}
|
30
30
|
`,
|
31
|
-
|
32
|
-
${
|
31
|
+
r`
|
32
|
+
${a(v)}
|
33
33
|
`,
|
34
|
-
|
35
|
-
${
|
34
|
+
r`
|
35
|
+
${a(g)}
|
36
36
|
`,
|
37
|
-
|
38
|
-
${
|
37
|
+
r`
|
38
|
+
${a(f)}
|
39
39
|
`
|
40
40
|
];
|
41
|
-
|
42
|
-
|
41
|
+
l([
|
42
|
+
h({ type: Boolean, reflect: !0 })
|
43
43
|
], o.prototype, "navOpen", 2);
|
44
|
-
o =
|
45
|
-
|
44
|
+
o = l([
|
45
|
+
c("cv-nav-list-item")
|
46
46
|
], o);
|
47
47
|
const B = o;
|
48
48
|
export {
|