@covalent/components 8.23.2 → 8.24.0
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/icon-lockup/icon-lockup.d.ts +64 -0
- package/icon-lockup/icon-lockup.d.ts.map +1 -0
- package/icon-lockup.js +15 -0
- package/icon-lockup.mjs +103 -0
- package/index.d.ts +1 -0
- package/index.d.ts.map +1 -1
- package/index.js +1 -1
- package/index.mjs +68 -66
- package/package.json +6 -1
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
|
2
|
+
import '../typography/typography';
|
|
3
|
+
import '../icon/icon';
|
|
4
|
+
/**
|
|
5
|
+
* Icon lockup
|
|
6
|
+
*
|
|
7
|
+
* @slot icon - Slot for a custom icon. If provided, this slot content replaces the `icon` property.
|
|
8
|
+
*/
|
|
9
|
+
export declare class CovalentIconLockup extends LitElement {
|
|
10
|
+
static styles: import("lit").CSSResult[];
|
|
11
|
+
/**
|
|
12
|
+
* Whether the icon is a covalent icon.
|
|
13
|
+
*/
|
|
14
|
+
covalentIcon: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Whether the icon is filled.
|
|
17
|
+
*/
|
|
18
|
+
filledIcon: boolean;
|
|
19
|
+
/**
|
|
20
|
+
* The icon to display.
|
|
21
|
+
*/
|
|
22
|
+
icon: string;
|
|
23
|
+
/**
|
|
24
|
+
* Scale of the component, controlling font-size and icon size.
|
|
25
|
+
* Default is "1", but it can be set to other values to scale the component.
|
|
26
|
+
*/
|
|
27
|
+
scale: string;
|
|
28
|
+
/**
|
|
29
|
+
* State of the component, used to apply different styles based on status.
|
|
30
|
+
* Example values might include "success", "error", etc.
|
|
31
|
+
*/
|
|
32
|
+
state: string;
|
|
33
|
+
/**
|
|
34
|
+
* If true, the icon is displayed after the text (trailing).
|
|
35
|
+
* If false, the icon is displayed before the text.
|
|
36
|
+
*/
|
|
37
|
+
trailingIcon: boolean;
|
|
38
|
+
/**
|
|
39
|
+
* Tracks if the icon slot has content.
|
|
40
|
+
*/
|
|
41
|
+
private _hasIconSlot;
|
|
42
|
+
/**
|
|
43
|
+
* Checks if there is content in the icon slot and updates `hasIconSlot`.
|
|
44
|
+
*/
|
|
45
|
+
private checkIconSlot;
|
|
46
|
+
/**
|
|
47
|
+
* Template method for rendering the icon. If content is provided in the
|
|
48
|
+
* `icon` slot, it is displayed instead of the `icon` property.
|
|
49
|
+
*/
|
|
50
|
+
private iconTemplate;
|
|
51
|
+
/**
|
|
52
|
+
* Renders the component with icon and text. If `trailingIcon` is true,
|
|
53
|
+
* the icon is displayed after the text. Otherwise, it is displayed before.
|
|
54
|
+
*/
|
|
55
|
+
render(): import("lit-html").TemplateResult<1>;
|
|
56
|
+
protected updated(_changedProperties: PropertyValues): void;
|
|
57
|
+
}
|
|
58
|
+
declare global {
|
|
59
|
+
interface HTMLElementTagNameMap {
|
|
60
|
+
'cv-icon-lockup': CovalentIconLockup;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
export default CovalentIconLockup;
|
|
64
|
+
//# sourceMappingURL=icon-lockup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"icon-lockup.d.ts","sourceRoot":"","sources":["../../../../libs/components/src/icon-lockup/icon-lockup.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAwB,cAAc,EAAE,MAAM,KAAK,CAAC;AAIvE,OAAO,0BAA0B,CAAC;AAClC,OAAO,cAAc,CAAC;AAEtB;;;;GAIG;AACH,qBACa,kBAAmB,SAAQ,UAAU;IAChD,OAAgB,MAAM,4BAIpB;IAEF;;OAEG;IAEH,YAAY,UAAS;IAErB;;OAEG;IAEH,UAAU,UAAS;IAEnB;;OAEG;IAEH,IAAI,SAAM;IAEV;;;OAGG;IAEH,KAAK,SAAW;IAEhB;;;OAGG;IAEH,KAAK,SAAa;IAElB;;;OAGG;IAEH,YAAY,UAAS;IAErB;;OAEG;IACM,OAAO,CAAC,YAAY,CAAS;IAEtC;;OAEG;IACH,OAAO,CAAC,aAAa;IAOrB;;;OAGG;IACH,OAAO,CAAC,YAAY;IAepB;;;OAGG;IACH,MAAM;cAea,OAAO,CAAC,kBAAkB,EAAE,cAAc,GAAG,IAAI;CAIrE;AAED,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,kBAAkB,CAAC;KACtC;CACF;AAED,eAAe,kBAAkB,CAAC"}
|
package/icon-lockup.js
ADDED
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
"use strict";Object.defineProperties(exports,{__esModule:{value:!0},[Symbol.toStringTag]:{value:"Module"}});const n=require("./query-assigned-elements-f623705d.js"),i=require("./property-57f6f6fe.js"),u=require("./state-0974a8e5.js"),p=require("./class-map-0a4c6ca9.js");require("./typography.js");require("./icon.js");require("./directive-1186bc23.js");require("./mwc-icon-f87639bc.js");require("./tslib.es6-98719205.js");const v=`.filled{font-variation-settings:"FILL" 1}.hidden{display:none}.icon-lockup{align-items:center;display:flex;gap:4px;max-width:100%}.icon-lockup cv-typography{flex:1 0 0}.icon-lockup--primary,.icon-lockup--loading{color:var(--cv-theme-primary)}.icon-lockup--positive{color:var(--cv-theme-positive)}.icon-lockup--negative{color:var(--cv-theme-negative)}.icon-lockup--caution{color:var(--cv-theme-caution)}.text{font-feature-settings:"liga" off,"clig" off;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trailing-icon{flex-direction:row-reverse}
|
|
2
|
+
`;var h=Object.defineProperty,y=Object.getOwnPropertyDescriptor,e=(s,o,c,l)=>{for(var t=l>1?void 0:l?y(o,c):o,r=s.length-1,a;r>=0;r--)(a=s[r])&&(t=(l?a(o,c,t):a(t))||t);return l&&t&&h(o,c,t),t};exports.CovalentIconLockup=class extends n.s{constructor(){super(...arguments),this.covalentIcon=!1,this.filledIcon=!1,this.icon="",this.scale="body1",this.state="neutral",this.trailingIcon=!1,this._hasIconSlot=!1}checkIconSlot(){var c;const o=(c=this.shadowRoot)==null?void 0:c.querySelector('slot[name="icon"]');this._hasIconSlot=o&&o.assignedNodes().length>0}iconTemplate(){const o={"covalent-icon":this.covalentIcon,filled:this.filledIcon,hidden:this._hasIconSlot};return n.x`<slot name="icon"></slot>
|
|
3
|
+
<cv-icon
|
|
4
|
+
class=${p.o(o)}
|
|
5
|
+
style="${`font-size: var(--cv-typography-${this.scale}-line-height, 16px)`}"
|
|
6
|
+
>
|
|
7
|
+
${this.icon}
|
|
8
|
+
</cv-icon>`}render(){const o={"icon-lockup":!0,[`icon-lockup--${this.state}`]:this.state,"trailing-icon":this.trailingIcon};return n.x`
|
|
9
|
+
<cv-typography class=${p.o(o)} scale="${this.scale}">
|
|
10
|
+
${this.iconTemplate()}
|
|
11
|
+
<div class="text"><slot></slot></div>
|
|
12
|
+
</cv-typography>
|
|
13
|
+
`}updated(o){super.updated(o),this.checkIconSlot()}};exports.CovalentIconLockup.styles=[n.i`
|
|
14
|
+
${n.r(v)}
|
|
15
|
+
`];e([i.n({type:Boolean,reflect:!0})],exports.CovalentIconLockup.prototype,"covalentIcon",2);e([i.n({type:Boolean,reflect:!0})],exports.CovalentIconLockup.prototype,"filledIcon",2);e([i.n({type:String})],exports.CovalentIconLockup.prototype,"icon",2);e([i.n({type:String})],exports.CovalentIconLockup.prototype,"scale",2);e([i.n({type:String})],exports.CovalentIconLockup.prototype,"state",2);e([i.n({type:Boolean})],exports.CovalentIconLockup.prototype,"trailingIcon",2);e([u.t()],exports.CovalentIconLockup.prototype,"_hasIconSlot",2);exports.CovalentIconLockup=e([n.e("cv-icon-lockup")],exports.CovalentIconLockup);const d=exports.CovalentIconLockup;exports.default=d;
|
package/icon-lockup.mjs
ADDED
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
import { i as v, r as f, s as u, x as p, e as y } from "./query-assigned-elements-4a39219d.mjs";
|
|
2
|
+
import { n } from "./property-9b6ea53b.mjs";
|
|
3
|
+
import { t as d } from "./state-b5e865db.mjs";
|
|
4
|
+
import { o as h } from "./class-map-6e504a9a.mjs";
|
|
5
|
+
import "./typography.mjs";
|
|
6
|
+
import "./icon.mjs";
|
|
7
|
+
import "./directive-daf4e9b6.mjs";
|
|
8
|
+
import "./mwc-icon-5227aec3.mjs";
|
|
9
|
+
import "./tslib.es6-c4b0f3b1.mjs";
|
|
10
|
+
const m = `.filled{font-variation-settings:"FILL" 1}.hidden{display:none}.icon-lockup{align-items:center;display:flex;gap:4px;max-width:100%}.icon-lockup cv-typography{flex:1 0 0}.icon-lockup--primary,.icon-lockup--loading{color:var(--cv-theme-primary)}.icon-lockup--positive{color:var(--cv-theme-positive)}.icon-lockup--negative{color:var(--cv-theme-negative)}.icon-lockup--caution{color:var(--cv-theme-caution)}.text{font-feature-settings:"liga" off,"clig" off;max-width:100%;overflow:hidden;text-overflow:ellipsis;white-space:nowrap}.trailing-icon{flex-direction:row-reverse}
|
|
11
|
+
`;
|
|
12
|
+
var g = Object.defineProperty, I = Object.getOwnPropertyDescriptor, e = (t, i, l, s) => {
|
|
13
|
+
for (var c = s > 1 ? void 0 : s ? I(i, l) : i, r = t.length - 1, a; r >= 0; r--)
|
|
14
|
+
(a = t[r]) && (c = (s ? a(i, l, c) : a(c)) || c);
|
|
15
|
+
return s && c && g(i, l, c), c;
|
|
16
|
+
};
|
|
17
|
+
let o = class extends u {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments), this.covalentIcon = !1, this.filledIcon = !1, this.icon = "", this.scale = "body1", this.state = "neutral", this.trailingIcon = !1, this._hasIconSlot = !1;
|
|
20
|
+
}
|
|
21
|
+
/**
|
|
22
|
+
* Checks if there is content in the icon slot and updates `hasIconSlot`.
|
|
23
|
+
*/
|
|
24
|
+
checkIconSlot() {
|
|
25
|
+
var i;
|
|
26
|
+
const t = (i = this.shadowRoot) == null ? void 0 : i.querySelector(
|
|
27
|
+
'slot[name="icon"]'
|
|
28
|
+
);
|
|
29
|
+
this._hasIconSlot = t && t.assignedNodes().length > 0;
|
|
30
|
+
}
|
|
31
|
+
/**
|
|
32
|
+
* Template method for rendering the icon. If content is provided in the
|
|
33
|
+
* `icon` slot, it is displayed instead of the `icon` property.
|
|
34
|
+
*/
|
|
35
|
+
iconTemplate() {
|
|
36
|
+
const t = {
|
|
37
|
+
"covalent-icon": this.covalentIcon,
|
|
38
|
+
filled: this.filledIcon,
|
|
39
|
+
hidden: this._hasIconSlot
|
|
40
|
+
};
|
|
41
|
+
return p`<slot name="icon"></slot>
|
|
42
|
+
<cv-icon
|
|
43
|
+
class=${h(t)}
|
|
44
|
+
style="${`font-size: var(--cv-typography-${this.scale}-line-height, 16px)`}"
|
|
45
|
+
>
|
|
46
|
+
${this.icon}
|
|
47
|
+
</cv-icon>`;
|
|
48
|
+
}
|
|
49
|
+
/**
|
|
50
|
+
* Renders the component with icon and text. If `trailingIcon` is true,
|
|
51
|
+
* the icon is displayed after the text. Otherwise, it is displayed before.
|
|
52
|
+
*/
|
|
53
|
+
render() {
|
|
54
|
+
const t = {
|
|
55
|
+
"icon-lockup": !0,
|
|
56
|
+
[`icon-lockup--${this.state}`]: this.state,
|
|
57
|
+
"trailing-icon": this.trailingIcon
|
|
58
|
+
};
|
|
59
|
+
return p`
|
|
60
|
+
<cv-typography class=${h(t)} scale="${this.scale}">
|
|
61
|
+
${this.iconTemplate()}
|
|
62
|
+
<div class="text"><slot></slot></div>
|
|
63
|
+
</cv-typography>
|
|
64
|
+
`;
|
|
65
|
+
}
|
|
66
|
+
updated(t) {
|
|
67
|
+
super.updated(t), this.checkIconSlot();
|
|
68
|
+
}
|
|
69
|
+
};
|
|
70
|
+
o.styles = [
|
|
71
|
+
v`
|
|
72
|
+
${f(m)}
|
|
73
|
+
`
|
|
74
|
+
];
|
|
75
|
+
e([
|
|
76
|
+
n({ type: Boolean, reflect: !0 })
|
|
77
|
+
], o.prototype, "covalentIcon", 2);
|
|
78
|
+
e([
|
|
79
|
+
n({ type: Boolean, reflect: !0 })
|
|
80
|
+
], o.prototype, "filledIcon", 2);
|
|
81
|
+
e([
|
|
82
|
+
n({ type: String })
|
|
83
|
+
], o.prototype, "icon", 2);
|
|
84
|
+
e([
|
|
85
|
+
n({ type: String })
|
|
86
|
+
], o.prototype, "scale", 2);
|
|
87
|
+
e([
|
|
88
|
+
n({ type: String })
|
|
89
|
+
], o.prototype, "state", 2);
|
|
90
|
+
e([
|
|
91
|
+
n({ type: Boolean })
|
|
92
|
+
], o.prototype, "trailingIcon", 2);
|
|
93
|
+
e([
|
|
94
|
+
d()
|
|
95
|
+
], o.prototype, "_hasIconSlot", 2);
|
|
96
|
+
o = e([
|
|
97
|
+
y("cv-icon-lockup")
|
|
98
|
+
], o);
|
|
99
|
+
const b = o;
|
|
100
|
+
export {
|
|
101
|
+
o as CovalentIconLockup,
|
|
102
|
+
b as default
|
|
103
|
+
};
|
package/index.d.ts
CHANGED
|
@@ -22,6 +22,7 @@ export * from './icon/icon';
|
|
|
22
22
|
export * from './icon-button/icon-button';
|
|
23
23
|
export * from './icon-button-toggle/icon-button-toggle';
|
|
24
24
|
export * from './icon-checkbox/icon-check-toggle';
|
|
25
|
+
export * from './icon-lockup/icon-lockup';
|
|
25
26
|
export * from './icon-radio/icon-radio-toggle';
|
|
26
27
|
export * from './linear-progress/linear-progress';
|
|
27
28
|
export * from './list/check-list-item';
|
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,aAAa,CAAC;AAC5B,cAAc,cAAc,CAAC;AAC7B,cAAc,kBAAkB,CAAC;AACjC,cAAc,uCAAuC,CAAC;AACtD,cAAc,2BAA2B,CAAC;AAC1C,cAAc,6BA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AAc,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"),
|
|
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"),o=require("./badge.js"),n=require("./button.js"),a=require("./checkbox.js"),i=require("./card.js"),u=require("./chip-c65a4549.js"),l=require("./chip-set.js"),c=require("./circular-progress.js"),b=require("./code-editor-b36fad77.js"),C=require("./code-snippet.js"),s=require("./dialog-83104700.js"),p=require("./drawer.js"),v=require("./empty-state.js"),d=require("./expansion-panel.js"),g=require("./expansion-panel-item.js"),q=require("./focused-page.js"),m=require("./formfield.js"),P=require("./full-screen-dialog.js"),y=require("./icon.js"),f=require("./icon-button.js"),j=require("./icon-button-toggle.js"),O=require("./icon-check-toggle.js"),S=require("./icon-lockup.js"),T=require("./icon-radio-toggle.js"),I=require("./linear-progress.js"),h=require("./check-list-item.js"),L=require("./list.js"),k=require("./list-item.js"),x=require("./nav-list-item.js"),B=require("./radio-list-item.js"),R=require("./menu.js"),A=require("./notebook-cell.js"),F=require("./radio.js"),D=require("./select.js"),E=require("./side-sheet.js"),w=require("./slider.js"),H=require("./slider-range.js"),N=require("./snackbar.js"),M=require("./status-dialog.js"),_=require("./status-header.js"),z=require("./status-header-item.js"),G=require("./switch.js"),J=require("./tab.js"),K=require("./tab-bar.js"),Q=require("./textarea.js"),U=require("./textfield.js"),V=require("./text-lockup.js"),W=require("./toolbar.js"),X=require("./tooltip.js"),Y=require("./top-app-bar.js"),Z=require("./top-app-bar-fixed.js"),$=require("./tree-list.js"),ee=require("./tree-list-item.js"),te=require("./typography.js");require("./query-assigned-elements-f623705d.js");require("./utils-a8190a39.js");require("./observer-a096ab43.js");require("./foundation-e980aa3d.js");require("./tslib.es6-98719205.js");require("./foundation-e830bd94.js");require("./class-map-0a4c6ca9.js");require("./directive-1186bc23.js");require("./property-57f6f6fe.js");require("./query-680f1868.js");require("./mwc-drawer-base-bbae43c3.js");require("./inert.esm-2cee6f2e.js");require("./base-element-58a3f9ea.js");require("./mwc-icon-f87639bc.js");require("./ripple-handlers-9fb4a31a.js");require("./state-0974a8e5.js");require("./style-map-a135c6ab.js");require("./aria-property-849c8816.js");require("./event-options-3f5eb195.js");require("./if-defined-f1c45245.js");require("./mwc-checkbox-base-935d9566.js");require("./form-element-c553d6f5.js");require("./mwc-checkbox.css-b3434429.js");require("./keyboard-39125691.js");require("./_commonjsHelpers-2367a3a2.js");require("./async-directive-4a34f75e.js");require("./directive-helpers-0ce1f995.js");require("./query-assigned-nodes-99eae71d.js");require("./mwc-radio-base-147cf999.js");require("./mwc-radio.css-4e140252.js");require("./mwc-list-item-base-06d93e6e.js");require("./list-item-8b940ec8.js");require("./mwc-list-base-22616d0a.js");require("./mwc-menu-base-08f54c38.js");require("./mwc-line-ripple-directive-40145003.js");require("./mwc-slider.css-c5f99704.js");require("./mwc-tab-base-f2269fd1.js");require("./textfield-83e78e56.js");require("./mwc-top-app-bar-base-8c8cde51.js");require("./top-app-bar-a531c1b4.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:()=>o.CovalentBadge});Object.defineProperty(exports,"CovalentButton",{enumerable:!0,get:()=>n.CovalentButton});Object.defineProperty(exports,"CovalentCheckbox",{enumerable:!0,get:()=>a.CovalentCheckbox});Object.defineProperty(exports,"CovalentCard",{enumerable:!0,get:()=>i.CovalentCard});Object.defineProperty(exports,"CovalentChip",{enumerable:!0,get:()=>u.CovalentChip});Object.defineProperty(exports,"CovalentChipSet",{enumerable:!0,get:()=>l.CovalentChipSet});Object.defineProperty(exports,"CovalentCircularProgress",{enumerable:!0,get:()=>c.CovalentCircularProgress});Object.defineProperty(exports,"CovalentCodeEditor",{enumerable:!0,get:()=>b.CovalentCodeEditor});Object.defineProperty(exports,"CovalentCodeSnippet",{enumerable:!0,get:()=>C.CovalentCodeSnippet});Object.defineProperty(exports,"CovalentDialog",{enumerable:!0,get:()=>s.CovalentDialog});Object.defineProperty(exports,"CovalentDrawer",{enumerable:!0,get:()=>p.CovalentDrawer});Object.defineProperty(exports,"CovalentEmptyState",{enumerable:!0,get:()=>v.CovalentEmptyState});Object.defineProperty(exports,"CovalentExpansionPanel",{enumerable:!0,get:()=>d.CovalentExpansionPanel});Object.defineProperty(exports,"CovalentExpansionPanelItem",{enumerable:!0,get:()=>g.CovalentExpansionPanelItem});Object.defineProperty(exports,"CovalentFocusedPage",{enumerable:!0,get:()=>q.CovalentFocusedPage});Object.defineProperty(exports,"CovalentFormfield",{enumerable:!0,get:()=>m.CovalentFormfield});Object.defineProperty(exports,"CovalentFullscreenDialog",{enumerable:!0,get:()=>P.CovalentFullscreenDialog});Object.defineProperty(exports,"CovalentIcon",{enumerable:!0,get:()=>y.CovalentIcon});Object.defineProperty(exports,"CovalentIconButton",{enumerable:!0,get:()=>f.CovalentIconButton});Object.defineProperty(exports,"CovalentIconButtonToggle",{enumerable:!0,get:()=>j.CovalentIconButtonToggle});Object.defineProperty(exports,"CovalentIconCheckToggle",{enumerable:!0,get:()=>O.CovalentIconCheckToggle});Object.defineProperty(exports,"CovalentIconLockup",{enumerable:!0,get:()=>S.CovalentIconLockup});Object.defineProperty(exports,"CovalentIconRadioToggle",{enumerable:!0,get:()=>T.CovalentIconRadioToggle});Object.defineProperty(exports,"CovalentLinearProgress",{enumerable:!0,get:()=>I.CovalentLinearProgress});Object.defineProperty(exports,"CovalentCheckListItem",{enumerable:!0,get:()=>h.CovalentCheckListItem});Object.defineProperty(exports,"CovalentList",{enumerable:!0,get:()=>L.CovalentList});Object.defineProperty(exports,"CovalentListItem",{enumerable:!0,get:()=>k.CovalentListItem});Object.defineProperty(exports,"CovalentNavRailListItem",{enumerable:!0,get:()=>x.CovalentNavRailListItem});Object.defineProperty(exports,"CovalentRadioListItem",{enumerable:!0,get:()=>B.CovalentRadioListItem});Object.defineProperty(exports,"CovalentMenu",{enumerable:!0,get:()=>R.CovalentMenu});Object.defineProperty(exports,"CovalentNotebookCell",{enumerable:!0,get:()=>A.CovalentNotebookCell});Object.defineProperty(exports,"CovalentRadio",{enumerable:!0,get:()=>F.CovalentRadio});Object.defineProperty(exports,"CovalentSelect",{enumerable:!0,get:()=>D.CovalentSelect});Object.defineProperty(exports,"CovalentSideSheet",{enumerable:!0,get:()=>E.CovalentSideSheet});Object.defineProperty(exports,"CovalentSlider",{enumerable:!0,get:()=>w.CovalentSlider});Object.defineProperty(exports,"CovalentSliderRange",{enumerable:!0,get:()=>H.CovalentSliderRange});Object.defineProperty(exports,"CovalentSnackbar",{enumerable:!0,get:()=>N.CovalentSnackbar});Object.defineProperty(exports,"CovalentStatusDialog",{enumerable:!0,get:()=>M.CovalentStatusDialog});Object.defineProperty(exports,"CovalentStatusHeader",{enumerable:!0,get:()=>_.CovalentStatusHeader});Object.defineProperty(exports,"CovalentStatusHeaderItem",{enumerable:!0,get:()=>z.CovalentStatusHeaderItem});Object.defineProperty(exports,"CovalentSwitch",{enumerable:!0,get:()=>G.CovalentSwitch});Object.defineProperty(exports,"CovalentTab",{enumerable:!0,get:()=>J.CovalentTab});Object.defineProperty(exports,"CovalentTabBar",{enumerable:!0,get:()=>K.CovalentTabBar});Object.defineProperty(exports,"CovalentTextArea",{enumerable:!0,get:()=>Q.CovalentTextArea});Object.defineProperty(exports,"CovalentTextField",{enumerable:!0,get:()=>U.CovalentTextField});Object.defineProperty(exports,"CovalentTextLockup",{enumerable:!0,get:()=>V.CovalentTextLockup});Object.defineProperty(exports,"CovalentToolbar",{enumerable:!0,get:()=>W.CovalentToolbar});Object.defineProperty(exports,"CovalentTooltip",{enumerable:!0,get:()=>X.CovalentTooltip});Object.defineProperty(exports,"CovalentTopAppBar",{enumerable:!0,get:()=>Y.CovalentTopAppBar});Object.defineProperty(exports,"CovalentTopAppBarFixed",{enumerable:!0,get:()=>Z.CovalentTopAppBarFixed});Object.defineProperty(exports,"CovalentTreeList",{enumerable:!0,get:()=>$.CovalentTreeList});Object.defineProperty(exports,"CovalentTreeListItem",{enumerable:!0,get:()=>ee.CovalentTreeListItem});Object.defineProperty(exports,"CovalentTypography",{enumerable:!0,get:()=>te.CovalentTypography});
|
package/index.mjs
CHANGED
|
@@ -15,44 +15,45 @@ import { CovalentDrawer as so } from "./drawer.mjs";
|
|
|
15
15
|
import { CovalentEmptyState as go } from "./empty-state.mjs";
|
|
16
16
|
import { CovalentExpansionPanel as So } from "./expansion-panel.mjs";
|
|
17
17
|
import { CovalentExpansionPanelItem as uo } from "./expansion-panel-item.mjs";
|
|
18
|
-
import { CovalentFocusedPage as
|
|
19
|
-
import { CovalentFormfield as
|
|
18
|
+
import { CovalentFocusedPage as ho } from "./focused-page.mjs";
|
|
19
|
+
import { CovalentFormfield as ko } from "./formfield.mjs";
|
|
20
20
|
import { CovalentFullscreenDialog as Ao } from "./full-screen-dialog.mjs";
|
|
21
21
|
import { CovalentIcon as Fo } from "./icon.mjs";
|
|
22
22
|
import { CovalentIconButton as Do } from "./icon-button.mjs";
|
|
23
23
|
import { CovalentIconButtonToggle as yo } from "./icon-button-toggle.mjs";
|
|
24
24
|
import { CovalentIconCheckToggle as Ho } from "./icon-check-toggle.mjs";
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import {
|
|
28
|
-
import {
|
|
29
|
-
import {
|
|
30
|
-
import {
|
|
31
|
-
import {
|
|
32
|
-
import {
|
|
33
|
-
import {
|
|
34
|
-
import {
|
|
35
|
-
import {
|
|
36
|
-
import {
|
|
37
|
-
import {
|
|
38
|
-
import {
|
|
39
|
-
import {
|
|
40
|
-
import {
|
|
41
|
-
import {
|
|
42
|
-
import {
|
|
43
|
-
import {
|
|
44
|
-
import {
|
|
45
|
-
import {
|
|
46
|
-
import {
|
|
47
|
-
import {
|
|
48
|
-
import {
|
|
49
|
-
import {
|
|
50
|
-
import {
|
|
51
|
-
import {
|
|
52
|
-
import {
|
|
53
|
-
import {
|
|
54
|
-
import {
|
|
55
|
-
import {
|
|
25
|
+
import { CovalentIconLockup as Mo } from "./icon-lockup.mjs";
|
|
26
|
+
import { CovalentIconRadioToggle as qo } from "./icon-radio-toggle.mjs";
|
|
27
|
+
import { CovalentLinearProgress as Go } from "./linear-progress.mjs";
|
|
28
|
+
import { CovalentCheckListItem as Ko } from "./check-list-item.mjs";
|
|
29
|
+
import { CovalentList as Qo } from "./list.mjs";
|
|
30
|
+
import { CovalentListItem as Vo } from "./list-item.mjs";
|
|
31
|
+
import { CovalentNavRailListItem as Xo } from "./nav-list-item.mjs";
|
|
32
|
+
import { CovalentRadioListItem as Zo } from "./radio-list-item.mjs";
|
|
33
|
+
import { CovalentMenu as $o } from "./menu.mjs";
|
|
34
|
+
import { CovalentNotebookCell as tt } from "./notebook-cell.mjs";
|
|
35
|
+
import { CovalentRadio as et } from "./radio.mjs";
|
|
36
|
+
import { CovalentSelect as mt } from "./select.mjs";
|
|
37
|
+
import { CovalentSideSheet as lt } from "./side-sheet.mjs";
|
|
38
|
+
import { CovalentSlider as it } from "./slider.mjs";
|
|
39
|
+
import { CovalentSliderRange as xt } from "./slider-range.mjs";
|
|
40
|
+
import { CovalentSnackbar as vt } from "./snackbar.mjs";
|
|
41
|
+
import { CovalentStatusDialog as ct } from "./status-dialog.mjs";
|
|
42
|
+
import { CovalentStatusHeader as gt } from "./status-header.mjs";
|
|
43
|
+
import { CovalentStatusHeaderItem as St } from "./status-header-item.mjs";
|
|
44
|
+
import { CovalentSwitch as ut } from "./switch.mjs";
|
|
45
|
+
import { CovalentTab as ht } from "./tab.mjs";
|
|
46
|
+
import { CovalentTabBar as kt } from "./tab-bar.mjs";
|
|
47
|
+
import { CovalentTextArea as At } from "./textarea.mjs";
|
|
48
|
+
import { CovalentTextField as Ft } from "./textfield.mjs";
|
|
49
|
+
import { CovalentTextLockup as Dt } from "./text-lockup.mjs";
|
|
50
|
+
import { CovalentToolbar as yt } from "./toolbar.mjs";
|
|
51
|
+
import { CovalentTooltip as Ht } from "./tooltip.mjs";
|
|
52
|
+
import { CovalentTopAppBar as Mt } from "./top-app-bar.mjs";
|
|
53
|
+
import { CovalentTopAppBarFixed as qt } from "./top-app-bar-fixed.mjs";
|
|
54
|
+
import { CovalentTreeList as Gt } from "./tree-list.mjs";
|
|
55
|
+
import { CovalentTreeListItem as Kt } from "./tree-list-item.mjs";
|
|
56
|
+
import { CovalentTypography as Qt } from "./typography.mjs";
|
|
56
57
|
import "./query-assigned-elements-4a39219d.mjs";
|
|
57
58
|
import "./utils-dc65fdc9.mjs";
|
|
58
59
|
import "./observer-be7b92e2.mjs";
|
|
@@ -100,7 +101,7 @@ export {
|
|
|
100
101
|
W as CovalentBadge,
|
|
101
102
|
Y as CovalentButton,
|
|
102
103
|
oo as CovalentCard,
|
|
103
|
-
|
|
104
|
+
Ko as CovalentCheckListItem,
|
|
104
105
|
_ as CovalentCheckbox,
|
|
105
106
|
ro as CovalentChip,
|
|
106
107
|
po as CovalentChipSet,
|
|
@@ -112,41 +113,42 @@ export {
|
|
|
112
113
|
go as CovalentEmptyState,
|
|
113
114
|
So as CovalentExpansionPanel,
|
|
114
115
|
uo as CovalentExpansionPanelItem,
|
|
115
|
-
|
|
116
|
-
|
|
116
|
+
ho as CovalentFocusedPage,
|
|
117
|
+
ko as CovalentFormfield,
|
|
117
118
|
Ao as CovalentFullscreenDialog,
|
|
118
119
|
Fo as CovalentIcon,
|
|
119
120
|
Do as CovalentIconButton,
|
|
120
121
|
yo as CovalentIconButtonToggle,
|
|
121
122
|
Ho as CovalentIconCheckToggle,
|
|
122
|
-
Mo as
|
|
123
|
-
qo as
|
|
124
|
-
|
|
125
|
-
Qo as
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
tt as
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
mt as
|
|
133
|
-
lt as
|
|
134
|
-
it as
|
|
135
|
-
xt as
|
|
136
|
-
vt as
|
|
137
|
-
|
|
138
|
-
gt as
|
|
139
|
-
St as
|
|
140
|
-
ut as
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
At as
|
|
144
|
-
Ft as
|
|
145
|
-
Dt as
|
|
146
|
-
yt as
|
|
147
|
-
Ht as
|
|
148
|
-
Mt as
|
|
149
|
-
qt as
|
|
150
|
-
Gt as
|
|
151
|
-
Kt as
|
|
123
|
+
Mo as CovalentIconLockup,
|
|
124
|
+
qo as CovalentIconRadioToggle,
|
|
125
|
+
Go as CovalentLinearProgress,
|
|
126
|
+
Qo as CovalentList,
|
|
127
|
+
Vo as CovalentListItem,
|
|
128
|
+
$o as CovalentMenu,
|
|
129
|
+
Xo as CovalentNavRailListItem,
|
|
130
|
+
tt as CovalentNotebookCell,
|
|
131
|
+
et as CovalentRadio,
|
|
132
|
+
Zo as CovalentRadioListItem,
|
|
133
|
+
mt as CovalentSelect,
|
|
134
|
+
lt as CovalentSideSheet,
|
|
135
|
+
it as CovalentSlider,
|
|
136
|
+
xt as CovalentSliderRange,
|
|
137
|
+
vt as CovalentSnackbar,
|
|
138
|
+
ct as CovalentStatusDialog,
|
|
139
|
+
gt as CovalentStatusHeader,
|
|
140
|
+
St as CovalentStatusHeaderItem,
|
|
141
|
+
ut as CovalentSwitch,
|
|
142
|
+
ht as CovalentTab,
|
|
143
|
+
kt as CovalentTabBar,
|
|
144
|
+
At as CovalentTextArea,
|
|
145
|
+
Ft as CovalentTextField,
|
|
146
|
+
Dt as CovalentTextLockup,
|
|
147
|
+
yt as CovalentToolbar,
|
|
148
|
+
Ht as CovalentTooltip,
|
|
149
|
+
Mt as CovalentTopAppBar,
|
|
150
|
+
qt as CovalentTopAppBarFixed,
|
|
151
|
+
Gt as CovalentTreeList,
|
|
152
|
+
Kt as CovalentTreeListItem,
|
|
153
|
+
Qt as CovalentTypography
|
|
152
154
|
};
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@covalent/components",
|
|
3
|
-
"version": "8.
|
|
3
|
+
"version": "8.24.0",
|
|
4
4
|
"description": "a catalog of material components for covalent",
|
|
5
5
|
"main": "./index.js",
|
|
6
6
|
"module": "./index.mjs",
|
|
@@ -136,6 +136,11 @@
|
|
|
136
136
|
"import": "./icon-checkbox.mjs",
|
|
137
137
|
"require": "./icon-checkbox.js"
|
|
138
138
|
},
|
|
139
|
+
"./icon-lockup": {
|
|
140
|
+
"types": "./icon-lockup/icon-lockup.d.ts",
|
|
141
|
+
"import": "./icon-lockup.mjs",
|
|
142
|
+
"require": "./icon-lockup.js"
|
|
143
|
+
},
|
|
139
144
|
"./icon-radio-toggle": {
|
|
140
145
|
"types": "./icon-radio-toggle/icon-radio-toggle.d.ts",
|
|
141
146
|
"import": "./icon-radio-toggle.mjs",
|