@covalent/components 6.2.3 → 6.3.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/app-shell/app-shell.d.ts +15 -0
- package/app-shell/app-shell.d.ts.map +1 -1
- package/app-shell.js +21 -12
- package/app-shell.mjs +87 -50
- package/index.js +1 -1
- package/index.mjs +2 -2
- package/list/list-expansion.d.ts +1 -2
- package/list/list-expansion.d.ts.map +1 -1
- package/list/list-item.d.ts +0 -2
- package/list/list-item.d.ts.map +1 -1
- package/list/list.d.ts.map +1 -1
- package/list-expansion.js +11 -9
- package/list-expansion.mjs +41 -39
- package/list-item-bd3e32a3.js +8 -0
- package/list-item-e90b76c3.mjs +32 -0
- package/list-item.js +1 -1
- package/list-item.mjs +2 -2
- package/list.js +6 -1
- package/list.mjs +46 -6
- package/nav-list-item.js +10 -10
- package/nav-list-item.mjs +21 -21
- package/package.json +1 -1
- package/style.css +1 -1
- package/list-d616957b.mjs +0 -45
- package/list-defdaa3b.js +0 -5
- package/list-item-3fa66f09.js +0 -9
- package/list-item-d5c05e10.mjs +0 -44
package/list-d616957b.mjs
DELETED
@@ -1,45 +0,0 @@
|
|
1
|
-
import { L as l } from "./mwc-list-base-c0f8af1c.mjs";
|
2
|
-
import { i as c, l as p, e as m } from "./query-assigned-elements-514e5265.mjs";
|
3
|
-
import { e as g } from "./property-ca27685b.mjs";
|
4
|
-
/**
|
5
|
-
* @license
|
6
|
-
* Copyright 2021 Google LLC
|
7
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
8
|
-
*/
|
9
|
-
const f = c`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;
|
10
|
-
var h = Object.defineProperty, v = Object.getOwnPropertyDescriptor, o = (t, a, e, i) => {
|
11
|
-
for (var r = i > 1 ? void 0 : i ? v(a, e) : a, s = t.length - 1, n; s >= 0; s--)
|
12
|
-
(n = t[s]) && (r = (i ? n(a, e, r) : n(r)) || r);
|
13
|
-
return i && r && h(a, e, r), r;
|
14
|
-
};
|
15
|
-
let d = class extends l {
|
16
|
-
constructor() {
|
17
|
-
super(...arguments), this.navOpen = !1;
|
18
|
-
}
|
19
|
-
async getUpdateComplete() {
|
20
|
-
return this.slotElements.forEach((t) => {
|
21
|
-
t.setAttribute("navopen", this.navOpen.toString());
|
22
|
-
}), await super.getUpdateComplete();
|
23
|
-
}
|
24
|
-
attributeChangedCallback(t, a, e) {
|
25
|
-
super.attributeChangedCallback(t, a, e), t === "navopen" && this.slotElements.forEach((i) => {
|
26
|
-
e === "true" ? i.setAttribute("navopen", e) : i.removeAttribute("navopen");
|
27
|
-
});
|
28
|
-
}
|
29
|
-
};
|
30
|
-
d.styles = [f];
|
31
|
-
o([
|
32
|
-
p({ flatten: !0 })
|
33
|
-
], d.prototype, "slotElements", 2);
|
34
|
-
o([
|
35
|
-
g({ type: Boolean, reflect: !0 })
|
36
|
-
], d.prototype, "navOpen", 2);
|
37
|
-
d = o([
|
38
|
-
m("cv-list")
|
39
|
-
], d);
|
40
|
-
const u = d;
|
41
|
-
export {
|
42
|
-
d as C,
|
43
|
-
u as a,
|
44
|
-
f as s
|
45
|
-
};
|
package/list-defdaa3b.js
DELETED
@@ -1,5 +0,0 @@
|
|
1
|
-
"use strict";const c=require("./mwc-list-base-7d5f7278.js"),n=require("./query-assigned-elements-07e38f46.js"),p=require("./property-074570d1.js");/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2021 Google LLC
|
4
|
-
* SPDX-LIcense-Identifier: Apache-2.0
|
5
|
-
*/const l=n.i`@keyframes mdc-ripple-fg-radius-in{from{animation-timing-function:cubic-bezier(0.4, 0, 0.2, 1);transform:translate(var(--mdc-ripple-fg-translate-start, 0)) scale(1)}to{transform:translate(var(--mdc-ripple-fg-translate-end, 0)) scale(var(--mdc-ripple-fg-scale, 1))}}@keyframes mdc-ripple-fg-opacity-in{from{animation-timing-function:linear;opacity:0}to{opacity:var(--mdc-ripple-fg-opacity, 0)}}@keyframes mdc-ripple-fg-opacity-out{from{animation-timing-function:linear;opacity:var(--mdc-ripple-fg-opacity, 0)}to{opacity:0}}:host{display:block}.mdc-deprecated-list{-moz-osx-font-smoothing:grayscale;-webkit-font-smoothing:antialiased;font-family:Roboto, sans-serif;font-family:var(--mdc-typography-subtitle1-font-family, var(--mdc-typography-font-family, Roboto, sans-serif));font-size:1rem;font-size:var(--mdc-typography-subtitle1-font-size, 1rem);line-height:1.75rem;line-height:var(--mdc-typography-subtitle1-line-height, 1.75rem);font-weight:400;font-weight:var(--mdc-typography-subtitle1-font-weight, 400);letter-spacing:0.009375em;letter-spacing:var(--mdc-typography-subtitle1-letter-spacing, 0.009375em);text-decoration:inherit;text-decoration:var(--mdc-typography-subtitle1-text-decoration, inherit);text-transform:inherit;text-transform:var(--mdc-typography-subtitle1-text-transform, inherit);line-height:1.5rem;margin:0;padding:8px 0;list-style-type:none;color:rgba(0, 0, 0, 0.87);color:var(--mdc-theme-text-primary-on-background, rgba(0, 0, 0, 0.87));padding:var(--mdc-list-vertical-padding, 8px) 0}.mdc-deprecated-list:focus{outline:none}.mdc-deprecated-list-item{height:48px}.mdc-deprecated-list--dense{padding-top:4px;padding-bottom:4px;font-size:.812rem}.mdc-deprecated-list ::slotted([divider]){height:0;margin:0;border:none;border-bottom-width:1px;border-bottom-style:solid;border-bottom-color:rgba(0, 0, 0, 0.12)}.mdc-deprecated-list ::slotted([divider][padded]){margin:0 var(--mdc-list-side-padding, 16px)}.mdc-deprecated-list ::slotted([divider][inset]){margin-left:var(--mdc-list-inset-margin, 72px);margin-right:0;width:calc( 100% - var(--mdc-list-inset-margin, 72px) )}[dir=rtl] .mdc-deprecated-list ::slotted([divider][inset]),.mdc-deprecated-list ::slotted([divider][inset][dir=rtl]){margin-left:0;margin-right:var(--mdc-list-inset-margin, 72px)}.mdc-deprecated-list ::slotted([divider][inset][padded]){width:calc( 100% - var(--mdc-list-inset-margin, 72px) - var(--mdc-list-side-padding, 16px) )}.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:40px}.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 20px}.mdc-deprecated-list--two-line.mdc-deprecated-list--dense ::slotted([mwc-list-item]),.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list-item]){height:60px}.mdc-deprecated-list--avatar-list.mdc-deprecated-list--dense ::slotted([mwc-list]){--mdc-list-item-graphic-size: 36px}:host([noninteractive]){pointer-events:none;cursor:default}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text){display:block;margin-top:0;line-height:normal;margin-bottom:-20px}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::before{display:inline-block;width:0;height:24px;content:"";vertical-align:0}.mdc-deprecated-list--dense ::slotted(.mdc-deprecated-list-item__primary-text)::after{display:inline-block;width:0;height:20px;content:"";vertical-align:-20px}`;var m=Object.defineProperty,g=Object.getOwnPropertyDescriptor,o=(a,e,r,i)=>{for(var t=i>1?void 0:i?g(e,r):e,s=a.length-1,d;s>=0;s--)(d=a[s])&&(t=(i?d(e,r,t):d(t))||t);return i&&t&&m(e,r,t),t};exports.CovalentList=class extends c.ListBase{constructor(){super(...arguments),this.navOpen=!1}async getUpdateComplete(){return this.slotElements.forEach(e=>{e.setAttribute("navopen",this.navOpen.toString())}),await super.getUpdateComplete()}attributeChangedCallback(e,r,i){super.attributeChangedCallback(e,r,i),e==="navopen"&&this.slotElements.forEach(t=>{i==="true"?t.setAttribute("navopen",i):t.removeAttribute("navopen")})}};exports.CovalentList.styles=[l];o([n.l({flatten:!0})],exports.CovalentList.prototype,"slotElements",2);o([p.e({type:Boolean,reflect:!0})],exports.CovalentList.prototype,"navOpen",2);exports.CovalentList=o([n.e("cv-list")],exports.CovalentList);const h=exports.CovalentList;exports.CovalentList$1=h;exports.styles=l;
|
package/list-item-3fa66f09.js
DELETED
@@ -1,9 +0,0 @@
|
|
1
|
-
"use strict";const m=require("./mwc-list-item-base-803b9771.js"),t=require("./query-assigned-elements-07e38f46.js"),p=require("./property-074570d1.js"),a=require("./mwc-list-item.css-401e2407.js"),l=`.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]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
|
2
|
-
`;var d=Object.defineProperty,v=Object.getOwnPropertyDescriptor,h=(c,s,i,r)=>{for(var e=r>1?void 0:r?v(s,i):s,n=c.length-1,o;n>=0;n--)(o=c[n])&&(e=(r?o(s,i,e):o(e))||e);return r&&e&&d(s,i,e),e};exports.CovalentListItem=class extends m.ListItemBase{constructor(){super(...arguments),this.hasChildren=!1}render(){const s=this.renderText(),i=this.graphic?this.renderGraphic():t.b,r=this.hasMeta?this.renderMeta():t.b,e=this.activated?"arrow_drop_down":"arrow_right",n=this.hasChildren?t.y`<cv-icon class="expansion-icon">${e}</cv-icon>`:t.b,o=this.hasChildren?t.y`<slot name="child"></slot>`:t.b;return t.y` ${this.renderRipple()} ${n} ${i} ${s} ${r}
|
3
|
-
${o}`}};exports.CovalentListItem.styles=[t.i`
|
4
|
-
${t.r(a.styles)}
|
5
|
-
`,t.i`
|
6
|
-
${t.r(a.styles$1)}
|
7
|
-
`,t.i`
|
8
|
-
${t.r(l)}
|
9
|
-
`];h([p.e({type:Boolean,reflect:!0})],exports.CovalentListItem.prototype,"hasChildren",2);exports.CovalentListItem=h([t.e("cv-list-item")],exports.CovalentListItem);const u=exports.CovalentListItem;exports.CovalentListItem$1=u;exports.styles=l;
|
package/list-item-d5c05e10.mjs
DELETED
@@ -1,44 +0,0 @@
|
|
1
|
-
import { L as d } from "./mwc-list-item-base-acef0223.mjs";
|
2
|
-
import { i as h, r as l, b as a, y as p, e as v } from "./query-assigned-elements-514e5265.mjs";
|
3
|
-
import { e as $ } from "./property-ca27685b.mjs";
|
4
|
-
import { s as f, a as x } from "./mwc-list-item.css-b5481d96.mjs";
|
5
|
-
const g = `.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]){height:32px}:host([childItem]) .mdc-deprecated-list-item__text{padding-left:56px}
|
6
|
-
`;
|
7
|
-
var _ = Object.defineProperty, u = Object.getOwnPropertyDescriptor, m = (n, e, r, s) => {
|
8
|
-
for (var t = s > 1 ? void 0 : s ? u(e, r) : e, o = n.length - 1, c; o >= 0; o--)
|
9
|
-
(c = n[o]) && (t = (s ? c(e, r, t) : c(t)) || t);
|
10
|
-
return s && t && _(e, r, t), t;
|
11
|
-
};
|
12
|
-
let i = class extends d {
|
13
|
-
constructor() {
|
14
|
-
super(...arguments), this.hasChildren = !1;
|
15
|
-
}
|
16
|
-
render() {
|
17
|
-
const n = this.renderText(), e = this.graphic ? this.renderGraphic() : a, r = this.hasMeta ? this.renderMeta() : a, s = this.activated ? "arrow_drop_down" : "arrow_right", t = this.hasChildren ? p`<cv-icon class="expansion-icon">${s}</cv-icon>` : a, o = this.hasChildren ? p`<slot name="child"></slot>` : a;
|
18
|
-
return p` ${this.renderRipple()} ${t} ${e} ${n} ${r}
|
19
|
-
${o}`;
|
20
|
-
}
|
21
|
-
};
|
22
|
-
i.styles = [
|
23
|
-
h`
|
24
|
-
${l(f)}
|
25
|
-
`,
|
26
|
-
h`
|
27
|
-
${l(x)}
|
28
|
-
`,
|
29
|
-
h`
|
30
|
-
${l(g)}
|
31
|
-
`
|
32
|
-
];
|
33
|
-
m([
|
34
|
-
$({ type: Boolean, reflect: !0 })
|
35
|
-
], i.prototype, "hasChildren", 2);
|
36
|
-
i = m([
|
37
|
-
v("cv-list-item")
|
38
|
-
], i);
|
39
|
-
const b = i;
|
40
|
-
export {
|
41
|
-
i as C,
|
42
|
-
b as a,
|
43
|
-
g as s
|
44
|
-
};
|