@covalent/components 9.0.0-beta.2 → 9.0.0-beta.4
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.map +1 -1
- package/badge.js +2 -2
- package/badge.mjs +11 -11
- package/card.js +1 -1
- package/card.mjs +5 -5
- package/index.d.ts +4 -4
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +54 -54
- package/package.json +29 -29
- package/chips/foundation.d.ts +0 -60
- package/chips/foundation.d.ts.map +0 -1
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/app-shell/app-shell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAa,MAAM,KAAK,CAAC;AAOpD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,kCAAkC,CAAC;AAC1C,OAAO,4BAA4B,CAAC;AACpC,OAAO,cAAc,CAAC;AAEtB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,4BAIpB;IAEF,OAAO,iBAAmC;IAC1C,SAAS,SAAK;IACd,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,SAAS,CAAS;IAG1B,sBAAsB,EAAG,WAAW,EAAE,CAAC;IAGvC,gBAAgB,EAAG,WAAW,EAAE,CAAC;IAEjC;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAGjB,UAAU,UAAS;IAGnB,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,SAAS,UAAS;IAElB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,YAAY,
|
1
|
+
{"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/app-shell/app-shell.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,OAAO,EAAa,MAAM,KAAK,CAAC;AAOpD,OAAO,EAAE,UAAU,EAAE,MAAM,sCAAsC,CAAC;AAGlE,OAAO,kCAAkC,CAAC;AAC1C,OAAO,4BAA4B,CAAC;AACpC,OAAO,cAAc,CAAC;AAEtB,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED;;;;GAIG;AACH,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,4BAIpB;IAEF,OAAO,iBAAmC;IAC1C,SAAS,SAAK;IACd,OAAO,CAAC,OAAO,CAAU;IACzB,OAAO,CAAC,WAAW,CAAU;IAC7B,OAAO,CAAC,SAAS,CAAS;IAG1B,sBAAsB,EAAG,WAAW,EAAE,CAAC;IAGvC,gBAAgB,EAAG,WAAW,EAAE,CAAC;IAEjC;;OAEG;IAEH,OAAO,SAAM;IAEb;;OAEG;IAEH,WAAW,SAAM;IAGjB,UAAU,UAAS;IAGnB,QAAQ,UAAS;IAEjB;;OAEG;IAEH,aAAa,UAAS;IAEtB;;OAEG;IAEH,SAAS,UAAS;IAElB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,SAAS,UAAS;IAElB,OAAO,CAAC,OAAO,CAAS;IACxB,OAAO,CAAC,YAAY,CAAkB;IACtC,OAAO,CAAC,kBAAkB,CAAO;IACjC,OAAO,CAAC,iBAAiB,CAAO;;IAmBhC,uBAAuB;IAavB,eAAe,CAAC,IAAI,CAAC,EAAE,OAAO;IAY9B,OAAO,CAAC,oBAAoB;IAmB5B,OAAO,CAAC,cAAc;IAyBtB,OAAO,CAAC,OAAO;IAiBf,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,WAAW;IAenB,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,gBAAgB;IAYxB,OAAO,CAAC,mBAAmB,CAazB;IAEF,OAAO,CAAC,kBAAkB,CAaxB;IAEF,OAAO,CAAC,mBAAmB;IAM3B,WAAW;IAWF,iBAAiB;IAMjB,oBAAoB;IAM7B,SAAS,CAAC,aAAa;IASvB,SAAS,CAAC,UAAU;IAMX,MAAM;CAsEhB;AAED,eAAe,gBAAgB,CAAC"}
|
package/badge.js
CHANGED
@@ -1,4 +1,4 @@
|
|
1
|
-
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./query-assigned-elements-4CafVNR8.js"),i=require("./property-DYTC_2-m.js"),p=require("./class-map-C8G1ALWK.js"),g=".cv-badge{background-color:var(--cv-theme-negative);border-radius:11px;box-sizing:border-box;color:var(--cv-theme-on-negative);display:inline-block;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height);height:16px;min-width:16px;padding:0 4px;position:absolute;text-align:center}.cv-badge.small{height:2px;padding:2px;min-width:2px}.cv-badge.top-right{top
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const r=require("./query-assigned-elements-4CafVNR8.js"),i=require("./property-DYTC_2-m.js"),p=require("./class-map-C8G1ALWK.js"),g=".cv-badge{background-color:var(--cv-theme-negative);border-radius:11px;box-sizing:border-box;color:var(--cv-theme-on-negative);display:inline-block;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height);height:16px;min-width:16px;padding:0 4px;position:absolute;text-align:center}.cv-badge.small{height:2px;padding:2px;min-width:2px}.cv-badge.top-right{top:var(--cv-badge-position-y, -2px);right:var(--cv-badge-position-x, -2px)}.cv-badge.top-left{top:var(--cv-badge-position-y, -2px);left:var(--cv-badge-position-x, -2px)}.cv-badge.bottom-right{bottom:var(--cv-badge-position-y, -2px);right:var(--cv-badge-position-x, -2px)}.cv-badge.bottom-left{bottom:var(--cv-badge-position-y, -2px);left:var(--cv-badge-position-x, -2px)}.cv-badge.isolated{position:relative;top:0;right:0;bottom:0;left:0}.cv-badge-container{position:relative;display:inline-flex}.wrapped-content{flex-grow:1}.hidden{display:none}";var c=Object.defineProperty,v=Object.getOwnPropertyDescriptor,a=(l,e,t,s)=>{for(var n=s>1?void 0:s?v(e,t):e,o=l.length-1,d;o>=0;o--)(d=l[o])&&(n=(s?d(e,t,n):d(n))||n);return s&&n&&c(e,t,n),n};exports.CovalentBadge=class extends r.s{constructor(){super(...arguments),this.max=100,this.size="large",this.hideBadge=!1,this.verticalAlignment="top",this.horizontalAlignment="right"}firstUpdated(){var t;const e=this.renderRoot.querySelector("slot");if(e&&!e.assignedNodes({flatten:!0}).filter(o=>o.nodeType===Node.ELEMENT_NODE).length){const o=this.renderRoot.querySelector("#badge-content");(t=o==null?void 0:o.classList)==null||t.add("isolated")}}getContent(){let e=this.content;const t=Number(e);return this.showZero&&e==0?e=e.toString():!isNaN(t)&&this.max&&(e=t>this.max?`${this.max}+`:t),e||""}render(){const e={"cv-badge":!0,small:this.size==="small",hidden:!!this.hideBadge||!this.showZero&&this.content==0};return e[`${this.verticalAlignment}-${this.horizontalAlignment}`]=!0,r.x`
|
2
2
|
<div class="cv-badge-container">
|
3
3
|
<slot class="wrapped-content"></slot>
|
4
4
|
<span id="badge-content" class="${p.o(e)}">
|
@@ -7,4 +7,4 @@
|
|
7
7
|
</div>
|
8
8
|
`}};exports.CovalentBadge.styles=[r.i`
|
9
9
|
${r.r(g)}
|
10
|
-
`];a([i.n()],exports.CovalentBadge.prototype,"content",2);a([i.n()],exports.CovalentBadge.prototype,"max",2);a([i.n()],exports.CovalentBadge.prototype,"size",2);a([i.n({type:Boolean,reflect:!0})],exports.CovalentBadge.prototype,"hideBadge",2);a([i.n()],exports.CovalentBadge.prototype,"verticalAlignment",2);a([i.n()],exports.CovalentBadge.prototype,"horizontalAlignment",2);a([i.n({type:Boolean,reflect:!0})],exports.CovalentBadge.prototype,"showZero",2);exports.CovalentBadge=a([r.e("cv-badge")],exports.CovalentBadge);const
|
10
|
+
`];a([i.n()],exports.CovalentBadge.prototype,"content",2);a([i.n()],exports.CovalentBadge.prototype,"max",2);a([i.n()],exports.CovalentBadge.prototype,"size",2);a([i.n({type:Boolean,reflect:!0})],exports.CovalentBadge.prototype,"hideBadge",2);a([i.n()],exports.CovalentBadge.prototype,"verticalAlignment",2);a([i.n()],exports.CovalentBadge.prototype,"horizontalAlignment",2);a([i.n({type:Boolean,reflect:!0})],exports.CovalentBadge.prototype,"showZero",2);exports.CovalentBadge=a([r.e("cv-badge")],exports.CovalentBadge);const h=exports.CovalentBadge;exports.default=h;
|
package/badge.mjs
CHANGED
@@ -1,11 +1,11 @@
|
|
1
|
-
import { s as d, x as c, i as
|
1
|
+
import { s as d, x as c, i as g, r as h, e as v } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
2
|
import { n as s } from "./property-DJzm_oB9.mjs";
|
3
|
-
import { o as
|
4
|
-
const
|
5
|
-
var
|
6
|
-
for (var e =
|
7
|
-
(
|
8
|
-
return
|
3
|
+
import { o as m } from "./class-map-C1SJpero.mjs";
|
4
|
+
const b = ".cv-badge{background-color:var(--cv-theme-negative);border-radius:11px;box-sizing:border-box;color:var(--cv-theme-on-negative);display:inline-block;font-family:var(--mdc-typography-caption-font-family);font-size:var(--mdc-typography-caption-font-size);font-weight:var(--mdc-typography-caption-font-weight);line-height:var(--mdc-typography-caption-line-height);height:16px;min-width:16px;padding:0 4px;position:absolute;text-align:center}.cv-badge.small{height:2px;padding:2px;min-width:2px}.cv-badge.top-right{top:var(--cv-badge-position-y, -2px);right:var(--cv-badge-position-x, -2px)}.cv-badge.top-left{top:var(--cv-badge-position-y, -2px);left:var(--cv-badge-position-x, -2px)}.cv-badge.bottom-right{bottom:var(--cv-badge-position-y, -2px);right:var(--cv-badge-position-x, -2px)}.cv-badge.bottom-left{bottom:var(--cv-badge-position-y, -2px);left:var(--cv-badge-position-x, -2px)}.cv-badge.isolated{position:relative;top:0;right:0;bottom:0;left:0}.cv-badge-container{position:relative;display:inline-flex}.wrapped-content{flex-grow:1}.hidden{display:none}";
|
5
|
+
var f = Object.defineProperty, x = Object.getOwnPropertyDescriptor, n = (t, o, r, a) => {
|
6
|
+
for (var e = a > 1 ? void 0 : a ? x(o, r) : o, p = t.length - 1, l; p >= 0; p--)
|
7
|
+
(l = t[p]) && (e = (a ? l(o, r, e) : l(e)) || e);
|
8
|
+
return a && e && f(o, r, e), e;
|
9
9
|
};
|
10
10
|
let i = class extends d {
|
11
11
|
constructor() {
|
@@ -37,7 +37,7 @@ let i = class extends d {
|
|
37
37
|
return t[`${this.verticalAlignment}-${this.horizontalAlignment}`] = !0, c`
|
38
38
|
<div class="cv-badge-container">
|
39
39
|
<slot class="wrapped-content"></slot>
|
40
|
-
<span id="badge-content" class="${
|
40
|
+
<span id="badge-content" class="${m(t)}">
|
41
41
|
${this.size !== "small" ? this.getContent() : ""}
|
42
42
|
</span>
|
43
43
|
</div>
|
@@ -45,8 +45,8 @@ let i = class extends d {
|
|
45
45
|
}
|
46
46
|
};
|
47
47
|
i.styles = [
|
48
|
-
|
49
|
-
${
|
48
|
+
g`
|
49
|
+
${h(b)}
|
50
50
|
`
|
51
51
|
];
|
52
52
|
n([
|
@@ -71,7 +71,7 @@ n([
|
|
71
71
|
s({ type: Boolean, reflect: !0 })
|
72
72
|
], i.prototype, "showZero", 2);
|
73
73
|
i = n([
|
74
|
-
|
74
|
+
v("cv-badge")
|
75
75
|
], i);
|
76
76
|
const z = i;
|
77
77
|
export {
|
package/card.js
CHANGED
@@ -15,6 +15,6 @@
|
|
15
15
|
<slot name="card-actions"></slot>
|
16
16
|
</div>
|
17
17
|
`:""}
|
18
|
-
</div>`}}p([n.n()],c.prototype,"cardTitle");p([n.n()],c.prototype,"subTitle");p([n.n({type:Boolean})],c.prototype,"actionBar");p([n.n({type:Boolean})],c.prototype,"interactive");p([n.n({type:Boolean})],c.prototype,"outlined");p([n.n({type:Boolean})],c.prototype,"fullHeight");const _='.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)}';var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,g=(i,e,d,l)=>{for(var r=l>1?void 0:l?u(e,d):e,t=i.length-1,o;t>=0;t--)(o=i[t])&&(r=(l?o(e,d,r):o(r))||r);return l&&r&&f(e,d,r),r};exports.CovalentCard=class extends c{};exports.CovalentCard.styles=[a.i`
|
18
|
+
</div>`}}p([n.n()],c.prototype,"cardTitle");p([n.n()],c.prototype,"subTitle");p([n.n({type:Boolean})],c.prototype,"actionBar");p([n.n({type:Boolean})],c.prototype,"interactive");p([n.n({type:Boolean})],c.prototype,"outlined");p([n.n({type:Boolean})],c.prototype,"fullHeight");const _='.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)}';var f=Object.defineProperty,u=Object.getOwnPropertyDescriptor,g=(i,e,d,l)=>{for(var r=l>1?void 0:l?u(e,d):e,t=i.length-1,o;t>=0;t--)(o=i[t])&&(r=(l?o(e,d,r):o(r))||r);return l&&r&&f(e,d,r),r};exports.CovalentCard=class extends c{};exports.CovalentCard.styles=[a.i`
|
19
19
|
${a.r(_)}
|
20
20
|
`];exports.CovalentCard=g([a.e("cv-card")],exports.CovalentCard);const b=exports.CovalentCard;exports.default=b;
|
package/card.mjs
CHANGED
@@ -1,5 +1,5 @@
|
|
1
|
-
import { s, x as l, i as _, r as f, e as
|
2
|
-
import { o as
|
1
|
+
import { s, x as l, i as _, r as f, e as u } from "./query-assigned-elements-DCt2xozt.mjs";
|
2
|
+
import { o as g } from "./class-map-C1SJpero.mjs";
|
3
3
|
import { n as o } from "./property-DJzm_oB9.mjs";
|
4
4
|
var b = Object.defineProperty, n = (t, i, c, p) => {
|
5
5
|
for (var r = void 0, e = t.length - 1, d; e >= 0; e--)
|
@@ -16,7 +16,7 @@ class a extends s {
|
|
16
16
|
"mdc-card--outlined": this.outlined,
|
17
17
|
"cv-height-full": this.fullHeight
|
18
18
|
};
|
19
|
-
return l` <div class="${
|
19
|
+
return l` <div class="${g(i)}">
|
20
20
|
${this.cardTitle ? l`
|
21
21
|
<div class="mdc-card__actions mdc-typography--headline5">
|
22
22
|
${this.cardTitle}
|
@@ -54,7 +54,7 @@ n([
|
|
54
54
|
n([
|
55
55
|
o({ type: Boolean })
|
56
56
|
], a.prototype, "fullHeight");
|
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)}';
|
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
58
|
var y = Object.defineProperty, v = Object.getOwnPropertyDescriptor, x = (t, i, c, p) => {
|
59
59
|
for (var r = p > 1 ? void 0 : p ? v(i, c) : i, e = t.length - 1, d; e >= 0; e--)
|
60
60
|
(d = t[e]) && (r = (p ? d(i, c, r) : d(r)) || r);
|
@@ -68,7 +68,7 @@ m.styles = [
|
|
68
68
|
`
|
69
69
|
];
|
70
70
|
m = x([
|
71
|
-
|
71
|
+
u("cv-card")
|
72
72
|
], m);
|
73
73
|
const C = m;
|
74
74
|
export {
|
package/index.d.ts
CHANGED
@@ -3,8 +3,9 @@ export * from './alert/alert';
|
|
3
3
|
export * from './app-shell/app-shell';
|
4
4
|
export * from './badge/badge';
|
5
5
|
export * from './button/button';
|
6
|
-
export * from './checkbox/checkbox';
|
7
6
|
export * from './card/card';
|
7
|
+
export * from './checkbox/checkbox';
|
8
|
+
export * from './list/check-list-item';
|
8
9
|
export * from './chips/chip';
|
9
10
|
export * from './chips/chip-set';
|
10
11
|
export * from './circular-progress/circular-progress';
|
@@ -24,14 +25,13 @@ export * from './icon-button-toggle/icon-button-toggle';
|
|
24
25
|
export * from './icon-checkbox/icon-check-toggle';
|
25
26
|
export * from './icon-radio/icon-radio-toggle';
|
26
27
|
export * from './linear-progress/linear-progress';
|
27
|
-
export * from './list/check-list-item';
|
28
28
|
export * from './list/list';
|
29
29
|
export * from './list/list-item';
|
30
|
-
export * from './list/nav-list-item';
|
31
|
-
export * from './list/radio-list-item';
|
32
30
|
export * from './menu/menu';
|
31
|
+
export * from './list/nav-list-item';
|
33
32
|
export * from './notebook-cell/notebook-cell';
|
34
33
|
export * from './radio/radio';
|
34
|
+
export * from './list/radio-list-item';
|
35
35
|
export * from './select/select';
|
36
36
|
export * from './side-sheet/side-sheet';
|
37
37
|
export * from './slider/slider';
|
package/index.d.ts.map
CHANGED
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/components/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,qBAAqB,CAAC;AACpC,cAAc,
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../libs/components/src/index.ts"],"names":[],"mappings":"AAAA,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,uBAAuB,CAAC;AACtC,cAAc,eAAe,CAAC;AAC9B,cAAc,iBAAiB,CAAC;AAChC,cAAc,aAAa,CAAC;AAC5B,cAAc,qBAAqB,CAAC;AACpC,cAAc,wBAAwB,CAAC;AACvC,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BAA6B,CAAC;AAC5C,cAAc,iBAAiB,CAAC;AAChC,cAAc,iBAAiB,CAAC;AAChC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mCAAmC,CAAC;AAClD,cAAc,wCAAwC,CAAC;AACvD,cAAc,6BAA6B,CAAC;AAC5C,cAAc,uBAAuB,CAAC;AACtC,cAAc,yCAAyC,CAAC;AACxD,cAAc,aAAa,CAAC;AAC5B,cAAc,2BAA2B,CAAC;AAC1C,cAAc,yCAAyC,CAAC;AACxD,cAAc,mCAAmC,CAAC;AAClD,cAAc,gCAAgC,CAAC;AAC/C,cAAc,mCAAmC,CAAC;AAClD,cAAc,aAAa,CAAC;AAC5B,cAAc,kBAAkB,CAAC;AACjC,cAAc,aAAa,CAAC;AAC5B,cAAc,sBAAsB,CAAC;AACrC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,eAAe,CAAC;AAC9B,cAAc,wBAAwB,CAAC;AACvC,cAAc,iBAAiB,CAAC;AAChC,cAAc,yBAAyB,CAAC;AACxC,cAAc,iBAAiB,CAAC;AAChC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,+BAA+B,CAAC;AAC9C,cAAc,oCAAoC,CAAC;AACnD,cAAc,iBAAiB,CAAC;AAChC,cAAc,WAAW,CAAC;AAC1B,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC;AACpC,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,mBAAmB,CAAC;AAClC,cAAc,mBAAmB,CAAC;AAClC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,iCAAiC,CAAC;AAChD,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC"}
|
package/index.js
CHANGED
@@ -1 +1 @@
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./badge.js"),o=require("./button.js"),a=require("./
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("./action-ribbon.js"),t=require("./alert.js"),r=require("./app-shell.js"),n=require("./badge.js"),o=require("./button.js"),a=require("./card.js"),l=require("./checkbox.js"),i=require("./check-list-item.js"),u=require("./chip-BsDYOEFW.js"),c=require("./chip-set.js"),b=require("./circular-progress.js"),C=require("./code-editor-hT6MTCL6.js"),s=require("./code-snippet.js"),v=require("./dialog-LUOzoMeO.js"),p=require("./drawer.js"),d=require("./empty-state.js"),g=require("./expansion-panel.js"),m=require("./expansion-panel-item.js"),P=require("./focused-page.js"),y=require("./formfield.js"),f=require("./full-screen-dialog.js"),j=require("./icon.js"),O=require("./icon-button.js"),q=require("./icon-button-toggle.js"),S=require("./icon-check-toggle.js"),T=require("./icon-radio-toggle.js"),I=require("./linear-progress.js"),h=require("./list.js"),L=require("./list-item.js"),x=require("./menu.js"),B=require("./nav-list-item.js"),k=require("./notebook-cell.js"),R=require("./radio.js"),A=require("./radio-list-item.js"),F=require("./select.js"),D=require("./side-sheet.js"),E=require("./slider.js"),w=require("./slider-range.js"),H=require("./snackbar.js"),N=require("./status-dialog.js"),M=require("./status-header.js"),_=require("./status-header-item.js"),z=require("./switch.js"),G=require("./tab.js"),J=require("./tab-bar.js"),K=require("./textarea.js"),Q=require("./textfield.js"),U=require("./text-lockup.js"),V=require("./toolbar.js"),W=require("./tooltip.js"),X=require("./top-app-bar.js"),Y=require("./top-app-bar-fixed.js"),Z=require("./tree-list.js"),$=require("./tree-list-item.js"),ee=require("./typography.js");Object.defineProperty(exports,"CovalentActionRibbon",{enumerable:!0,get:()=>e.CovalentActionRibbon});Object.defineProperty(exports,"CovalentAlert",{enumerable:!0,get:()=>t.CovalentAlert});Object.defineProperty(exports,"CovalentAppShell",{enumerable:!0,get:()=>r.CovalentAppShell});Object.defineProperty(exports,"CovalentBadge",{enumerable:!0,get:()=>n.CovalentBadge});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>o.CovalentButton});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>a.CovalentCard});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>l.CovalentCheckbox});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>i.CovalentCheckListItem});Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>u.CovalentChip});Object.defineProperty(exports,"CovalentChipSet",{enumerable:!0,get:()=>c.CovalentChipSet});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>b.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>C.CovalentCodeEditor});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>s.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>v.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>p.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>d.CovalentEmptyState});Object.defineProperty(exports,"CovalentExpansionPanel",{enumerable:!0,get:()=>g.CovalentExpansionPanel});Object.defineProperty(exports,"CovalentExpansionPanelItem",{enumerable:!0,get:()=>m.CovalentExpansionPanelItem});Object.defineProperty(exports,"CovalentFocusedPage",{enumerable:!0,get:()=>P.CovalentFocusedPage});Object.defineProperty(exports,"CovalentFormfield",{enumerable:!0,get:()=>y.CovalentFormfield});Object.defineProperty(exports,"CovalentFullscreenDialog",{enumerable:!0,get:()=>f.CovalentFullscreenDialog});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>j.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>O.CovalentIconButton});Object.defineProperty(exports,"CovalentIconButtonToggle",{enumerable:!0,get:()=>q.CovalentIconButtonToggle});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>S.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>T.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>I.CovalentLinearProgress});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>h.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>L.CovalentListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>x.CovalentMenu});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>B.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentNotebookCell",{enumerable:!0,get:()=>k.CovalentNotebookCell});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>R.CovalentRadio});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>A.CovalentRadioListItem});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>F.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>D.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>E.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>w.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>H.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusDialog",{enumerable:!0,get:()=>N.CovalentStatusDialog});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>M.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>_.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>z.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>G.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>J.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>K.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>Q.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>U.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>V.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>W.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>X.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>Y.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>Z.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>$.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>ee.CovalentTypography});
|
package/index.mjs
CHANGED
@@ -3,35 +3,35 @@ import { CovalentAlert as a } from "./alert.mjs";
|
|
3
3
|
import { CovalentAppShell as n } from "./app-shell.mjs";
|
4
4
|
import { CovalentBadge as C } from "./badge.mjs";
|
5
5
|
import { CovalentButton as x } from "./button.mjs";
|
6
|
-
import {
|
7
|
-
import {
|
8
|
-
import {
|
9
|
-
import {
|
10
|
-
import {
|
11
|
-
import {
|
12
|
-
import {
|
13
|
-
import {
|
14
|
-
import {
|
15
|
-
import {
|
16
|
-
import {
|
17
|
-
import {
|
18
|
-
import {
|
19
|
-
import {
|
20
|
-
import {
|
21
|
-
import {
|
22
|
-
import {
|
23
|
-
import {
|
24
|
-
import {
|
25
|
-
import {
|
26
|
-
import {
|
27
|
-
import {
|
6
|
+
import { CovalentCard as v } from "./card.mjs";
|
7
|
+
import { CovalentCheckbox as s } from "./checkbox.mjs";
|
8
|
+
import { CovalentCheckListItem as c } from "./check-list-item.mjs";
|
9
|
+
import { C as T } from "./chip-C8L37ovG.mjs";
|
10
|
+
import { CovalentChipSet as I } from "./chip-set.mjs";
|
11
|
+
import { CovalentCircularProgress as h } from "./circular-progress.mjs";
|
12
|
+
import { C as b } from "./code-editor-CxQzms2S.mjs";
|
13
|
+
import { CovalentCodeSnippet as k } from "./code-snippet.mjs";
|
14
|
+
import { C as R } from "./dialog-BoNH4r3n.mjs";
|
15
|
+
import { CovalentDrawer as P } from "./drawer.mjs";
|
16
|
+
import { CovalentEmptyState as E } from "./empty-state.mjs";
|
17
|
+
import { CovalentExpansionPanel as w } from "./expansion-panel.mjs";
|
18
|
+
import { CovalentExpansionPanelItem as N } from "./expansion-panel-item.mjs";
|
19
|
+
import { CovalentFocusedPage as j } from "./focused-page.mjs";
|
20
|
+
import { CovalentFormfield as z } from "./formfield.mjs";
|
21
|
+
import { CovalentFullscreenDialog as J } from "./full-screen-dialog.mjs";
|
22
|
+
import { CovalentIcon as O } from "./icon.mjs";
|
23
|
+
import { CovalentIconButton as U } from "./icon-button.mjs";
|
24
|
+
import { CovalentIconButtonToggle as W } from "./icon-button-toggle.mjs";
|
25
|
+
import { CovalentIconCheckToggle as Y } from "./icon-check-toggle.mjs";
|
26
|
+
import { CovalentIconRadioToggle as _ } from "./icon-radio-toggle.mjs";
|
27
|
+
import { CovalentLinearProgress as oo } from "./linear-progress.mjs";
|
28
28
|
import { CovalentList as to } from "./list.mjs";
|
29
29
|
import { CovalentListItem as ao } from "./list-item.mjs";
|
30
|
-
import {
|
31
|
-
import {
|
32
|
-
import {
|
33
|
-
import {
|
34
|
-
import {
|
30
|
+
import { CovalentMenu as no } from "./menu.mjs";
|
31
|
+
import { CovalentNavRailListItem as Co } from "./nav-list-item.mjs";
|
32
|
+
import { CovalentNotebookCell as xo } from "./notebook-cell.mjs";
|
33
|
+
import { CovalentRadio as vo } from "./radio.mjs";
|
34
|
+
import { CovalentRadioListItem as so } from "./radio-list-item.mjs";
|
35
35
|
import { CovalentSelect as go } from "./select.mjs";
|
36
36
|
import { CovalentSideSheet as So } from "./side-sheet.mjs";
|
37
37
|
import { CovalentSlider as uo } from "./slider.mjs";
|
@@ -59,35 +59,35 @@ export {
|
|
59
59
|
n as CovalentAppShell,
|
60
60
|
C as CovalentBadge,
|
61
61
|
x as CovalentButton,
|
62
|
-
|
63
|
-
|
64
|
-
|
65
|
-
|
66
|
-
|
67
|
-
|
68
|
-
|
69
|
-
|
70
|
-
|
71
|
-
|
72
|
-
|
73
|
-
|
74
|
-
|
75
|
-
|
76
|
-
|
77
|
-
|
78
|
-
|
79
|
-
|
80
|
-
|
81
|
-
|
82
|
-
|
83
|
-
|
62
|
+
v as CovalentCard,
|
63
|
+
c as CovalentCheckListItem,
|
64
|
+
s as CovalentCheckbox,
|
65
|
+
T as CovalentChip,
|
66
|
+
I as CovalentChipSet,
|
67
|
+
h as CovalentCircularProgress,
|
68
|
+
b as CovalentCodeEditor,
|
69
|
+
k as CovalentCodeSnippet,
|
70
|
+
R as CovalentDialog,
|
71
|
+
P as CovalentDrawer,
|
72
|
+
E as CovalentEmptyState,
|
73
|
+
w as CovalentExpansionPanel,
|
74
|
+
N as CovalentExpansionPanelItem,
|
75
|
+
j as CovalentFocusedPage,
|
76
|
+
z as CovalentFormfield,
|
77
|
+
J as CovalentFullscreenDialog,
|
78
|
+
O as CovalentIcon,
|
79
|
+
U as CovalentIconButton,
|
80
|
+
W as CovalentIconButtonToggle,
|
81
|
+
Y as CovalentIconCheckToggle,
|
82
|
+
_ as CovalentIconRadioToggle,
|
83
|
+
oo as CovalentLinearProgress,
|
84
84
|
to as CovalentList,
|
85
85
|
ao as CovalentListItem,
|
86
|
-
|
87
|
-
|
88
|
-
|
89
|
-
|
90
|
-
|
86
|
+
no as CovalentMenu,
|
87
|
+
Co as CovalentNavRailListItem,
|
88
|
+
xo as CovalentNotebookCell,
|
89
|
+
vo as CovalentRadio,
|
90
|
+
so as CovalentRadioListItem,
|
91
91
|
go as CovalentSelect,
|
92
92
|
So as CovalentSideSheet,
|
93
93
|
uo as CovalentSlider,
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "9.0.0-beta.
|
3
|
+
"version": "9.0.0-beta.4",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
@@ -41,15 +41,20 @@
|
|
41
41
|
"import": "./button.mjs",
|
42
42
|
"require": "./button.js"
|
43
43
|
},
|
44
|
+
"./card": {
|
45
|
+
"types": "./card/card.d.ts",
|
46
|
+
"import": "./card.mjs",
|
47
|
+
"require": "./card.js"
|
48
|
+
},
|
44
49
|
"./checkbox": {
|
45
50
|
"types": "./checkbox/checkbox.d.ts",
|
46
51
|
"import": "./checkbox.mjs",
|
47
52
|
"require": "./checkbox.js"
|
48
53
|
},
|
49
|
-
"./
|
50
|
-
"types": "./
|
51
|
-
"import": "./
|
52
|
-
"require": "./
|
54
|
+
"./check-list-item": {
|
55
|
+
"types": "./list/check-list-item.d.ts",
|
56
|
+
"import": "./check-list-item.mjs",
|
57
|
+
"require": "./check-list-item.js"
|
53
58
|
},
|
54
59
|
"./chip": {
|
55
60
|
"types": "./chips/chip.d.ts",
|
@@ -57,7 +62,7 @@
|
|
57
62
|
"require": "./chip.js"
|
58
63
|
},
|
59
64
|
"./chip-set": {
|
60
|
-
"types": "./
|
65
|
+
"types": "./chips/chip-set.d.ts",
|
61
66
|
"import": "./chip-set.mjs",
|
62
67
|
"require": "./chip-set.js"
|
63
68
|
},
|
@@ -132,12 +137,12 @@
|
|
132
137
|
"require": "./icon-button-toggle.js"
|
133
138
|
},
|
134
139
|
"./icon-check-toggle": {
|
135
|
-
"types": "./icon-checkbox/icon-
|
136
|
-
"import": "./icon-
|
137
|
-
"require": "./icon-
|
140
|
+
"types": "./icon-checkbox/icon-check-toggle.d.ts",
|
141
|
+
"import": "./icon-check-toggle.mjs",
|
142
|
+
"require": "./icon-check-toggle.js"
|
138
143
|
},
|
139
144
|
"./icon-radio-toggle": {
|
140
|
-
"types": "./icon-radio
|
145
|
+
"types": "./icon-radio/icon-radio-toggle.d.ts",
|
141
146
|
"import": "./icon-radio-toggle.mjs",
|
142
147
|
"require": "./icon-radio-toggle.js"
|
143
148
|
},
|
@@ -146,36 +151,26 @@
|
|
146
151
|
"import": "./linear-progress.mjs",
|
147
152
|
"require": "./linear-progress.js"
|
148
153
|
},
|
149
|
-
"./list
|
150
|
-
"types": "./list/check-list-item.d.ts",
|
151
|
-
"import": "./check-list-item.mjs",
|
152
|
-
"require": "./check-list-item.js"
|
153
|
-
},
|
154
|
-
"./list/list": {
|
154
|
+
"./list": {
|
155
155
|
"types": "./list/list.d.ts",
|
156
156
|
"import": "./list.mjs",
|
157
157
|
"require": "./list.js"
|
158
158
|
},
|
159
|
-
"./list
|
159
|
+
"./list-item": {
|
160
160
|
"types": "./list/list-item.d.ts",
|
161
161
|
"import": "./list-item.mjs",
|
162
162
|
"require": "./list-item.js"
|
163
163
|
},
|
164
|
-
"./list/nav-list-item": {
|
165
|
-
"types": "./list/nav-list-item.d.ts",
|
166
|
-
"import": "./nav-list-item.mjs",
|
167
|
-
"require": "./nav-list-item.js"
|
168
|
-
},
|
169
|
-
"./list/radio-list-item": {
|
170
|
-
"types": "./list/radio-list-item.d.ts",
|
171
|
-
"import": "./radio-list-item.mjs",
|
172
|
-
"require": "./radio-list-item.js"
|
173
|
-
},
|
174
164
|
"./menu": {
|
175
165
|
"types": "./menu/menu.d.ts",
|
176
166
|
"import": "./menu.mjs",
|
177
167
|
"require": "./menu.js"
|
178
168
|
},
|
169
|
+
"./nav-list-item": {
|
170
|
+
"types": "./list/nav-list-item.d.ts",
|
171
|
+
"import": "./nav-list-item.mjs",
|
172
|
+
"require": "./nav-list-item.js"
|
173
|
+
},
|
179
174
|
"./notebook-cell": {
|
180
175
|
"types": "./notebook-cell/notebook-cell.d.ts",
|
181
176
|
"import": "./notebook-cell.mjs",
|
@@ -186,6 +181,11 @@
|
|
186
181
|
"import": "./radio.mjs",
|
187
182
|
"require": "./radio.js"
|
188
183
|
},
|
184
|
+
"./radio-list-item": {
|
185
|
+
"types": "./list/radio-list-item.d.ts",
|
186
|
+
"import": "./radio-list-item.mjs",
|
187
|
+
"require": "./radio-list-item.js"
|
188
|
+
},
|
189
189
|
"./select": {
|
190
190
|
"types": "./select/select.d.ts",
|
191
191
|
"import": "./select.mjs",
|
@@ -212,12 +212,12 @@
|
|
212
212
|
"require": "./snackbar.js"
|
213
213
|
},
|
214
214
|
"./status-dialog": {
|
215
|
-
"types": "./status-dialog.d.ts",
|
215
|
+
"types": "./status-dialog/status-dialog.d.ts",
|
216
216
|
"import": "./status-dialog.mjs",
|
217
217
|
"require": "./status-dialog.js"
|
218
218
|
},
|
219
219
|
"./status-header": {
|
220
|
-
"types": "./status-header.d.ts",
|
220
|
+
"types": "./status-header/status-header.d.ts",
|
221
221
|
"import": "./status-header.mjs",
|
222
222
|
"require": "./status-header.js"
|
223
223
|
},
|
package/chips/foundation.d.ts
DELETED
@@ -1,60 +0,0 @@
|
|
1
|
-
/**
|
2
|
-
* @license
|
3
|
-
* Copyright 2020 Google Inc.
|
4
|
-
*
|
5
|
-
* Permission is hereby granted, free of charge, to any person obtaining a copy
|
6
|
-
* of this software and associated documentation files (the "Software"), to deal
|
7
|
-
* in the Software without restriction, including without limitation the rights
|
8
|
-
* to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
9
|
-
* copies of the Software, and to permit persons to whom the Software is
|
10
|
-
* furnished to do so, subject to the following conditions:
|
11
|
-
*
|
12
|
-
* The above copyright notice and this permission notice shall be included in
|
13
|
-
* all copies or substantial portions of the Software.
|
14
|
-
*
|
15
|
-
* THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
16
|
-
* IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
17
|
-
* FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
18
|
-
* AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
19
|
-
* LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
20
|
-
* OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
|
21
|
-
* THE SOFTWARE.
|
22
|
-
*/
|
23
|
-
import { MDCFoundation } from '@material/base/foundation';
|
24
|
-
import { MDCChipActionType, MDCChipActionFocusBehavior } from '@material/chips/action/constants';
|
25
|
-
import { MDCChipAdapter } from '@material/chips/chip/adapter';
|
26
|
-
import { MDCChipAnimation } from '@material/chips/chip/constants';
|
27
|
-
import { ActionInteractionEvent, ActionNavigationEvent } from '@material/chips/chip/types';
|
28
|
-
/**
|
29
|
-
* MDCChipFoundation provides a foundation for all chips.
|
30
|
-
*/
|
31
|
-
export declare class MDCChipFoundation extends MDCFoundation<MDCChipAdapter> {
|
32
|
-
static get defaultAdapter(): MDCChipAdapter;
|
33
|
-
private readonly animFrame;
|
34
|
-
constructor(adapter?: Partial<MDCChipAdapter>);
|
35
|
-
destroy(): void;
|
36
|
-
getElementID(): string;
|
37
|
-
setDisabled(isDisabled: boolean): void;
|
38
|
-
isDisabled(): boolean;
|
39
|
-
getActions(): MDCChipActionType[];
|
40
|
-
isActionFocusable(action: MDCChipActionType): boolean;
|
41
|
-
isActionSelectable(action: MDCChipActionType): boolean;
|
42
|
-
isActionSelected(action: MDCChipActionType): boolean;
|
43
|
-
setActionFocus(action: MDCChipActionType, focus: MDCChipActionFocusBehavior): void;
|
44
|
-
setActionSelected(action: MDCChipActionType, isSelected: boolean): void;
|
45
|
-
startAnimation(animation: MDCChipAnimation): void;
|
46
|
-
handleAnimationEnd(event: AnimationEvent): void;
|
47
|
-
handleTransitionEnd(): void;
|
48
|
-
handleActionInteraction({ detail }: ActionInteractionEvent): void;
|
49
|
-
handleActionNavigation({ detail }: ActionNavigationEvent): void;
|
50
|
-
private directionFromKey;
|
51
|
-
private navigateActions;
|
52
|
-
private shouldRemove;
|
53
|
-
private getRemovedAnnouncement;
|
54
|
-
private getAddedAnnouncement;
|
55
|
-
private animateSelection;
|
56
|
-
private resetAnimationStyles;
|
57
|
-
private updateSelectionStyles;
|
58
|
-
}
|
59
|
-
export default MDCChipFoundation;
|
60
|
-
//# sourceMappingURL=foundation.d.ts.map
|
@@ -1 +0,0 @@
|
|
1
|
-
{"version":3,"file":"foundation.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/chips/foundation.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;GAqBG;AAGH,OAAO,EAAE,aAAa,EAAE,MAAM,2BAA2B,CAAC;AAG1D,OAAO,EACL,iBAAiB,EACjB,0BAA0B,EAE3B,MAAM,kCAAkC,CAAC;AAG1C,OAAO,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAC9D,OAAO,EACL,gBAAgB,EAIjB,MAAM,gCAAgC,CAAC;AACxC,OAAO,EACL,sBAAsB,EACtB,qBAAqB,EAItB,MAAM,4BAA4B,CAAC;AAkBpC;;GAEG;AACH,qBAAa,iBAAkB,SAAQ,aAAa,CAAC,cAAc,CAAC;IAClE,WAAoB,cAAc,IAAI,cAAc,CAoBnD;IAED,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAiB;gBAE/B,OAAO,CAAC,EAAE,OAAO,CAAC,cAAc,CAAC;IAKpC,OAAO;IAIhB,YAAY;IAIZ,WAAW,CAAC,UAAU,EAAE,OAAO;IAa/B,UAAU,IAAI,OAAO;IAUrB,UAAU,IAAI,iBAAiB,EAAE;IAIjC,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO;IAIrD,kBAAkB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO;IAItD,gBAAgB,CAAC,MAAM,EAAE,iBAAiB,GAAG,OAAO;IAIpD,cAAc,CAAC,MAAM,EAAE,iBAAiB,EAAE,KAAK,EAAE,0BAA0B;IAI3E,iBAAiB,CAAC,MAAM,EAAE,iBAAiB,EAAE,UAAU,EAAE,OAAO;IAKhE,cAAc,CAAC,SAAS,EAAE,gBAAgB;IAY1C,kBAAkB,CAAC,KAAK,EAAE,cAAc;IA8BxC,mBAAmB;IAcnB,uBAAuB,CAAC,EAAE,MAAM,EAAE,EAAE,sBAAsB;IAkB1D,sBAAsB,CAAC,EAAE,MAAM,EAAE,EAAE,qBAAqB;IA0CxD,OAAO,CAAC,gBAAgB;IAcxB,OAAO,CAAC,eAAe;IAWvB,OAAO,CAAC,YAAY;IAcpB,OAAO,CAAC,sBAAsB;IAO9B,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,gBAAgB;IAUxB,OAAO,CAAC,oBAAoB;IAO5B,OAAO,CAAC,qBAAqB;CAkC9B;AAGD,eAAe,iBAAiB,CAAC"}
|