@covalent/components 4.16.0-beta.1 → 6.0.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/action-ribbon.mjs +150 -0
- package/alert.mjs +142 -0
- package/app-shell.mjs +100 -0
- package/aria-property.mjs +41 -0
- package/base-element.mjs +28 -0
- package/button.mjs +187 -0
- package/card.mjs +70 -0
- package/check-list-item.mjs +96 -0
- package/checkbox.mjs +32 -0
- package/circular-progress.mjs +151 -0
- package/class-map.mjs +62 -0
- package/code-snippet.mjs +12143 -0
- package/covalent.mjs +44 -0
- package/covalent.umd.js +3501 -0
- package/dialog.mjs +755 -0
- package/directive-helpers.mjs +11 -0
- package/drawer.mjs +31 -0
- package/empty-state.mjs +66 -0
- package/event-options.mjs +14 -0
- package/form-element.mjs +50 -0
- package/foundation.mjs +152 -0
- package/{formField.js.LICENSE.txt → foundation2.mjs} +38 -24
- package/icon-button.mjs +135 -0
- package/icon-check-toggle.mjs +81 -0
- package/icon-radio-toggle.mjs +73 -0
- package/icon.mjs +23 -0
- package/if-defined.mjs +10 -0
- package/inert.esm.mjs +640 -0
- package/linear-progress.mjs +183 -0
- package/list-expansion.mjs +66 -0
- package/list-item.mjs +48 -0
- package/list.mjs +30 -0
- package/menu.mjs +36 -0
- package/mwc-checkbox-base.mjs +198 -0
- package/mwc-checkbox.css.mjs +10 -0
- package/mwc-drawer-base.mjs +335 -0
- package/mwc-icon.mjs +26 -0
- package/mwc-line-ripple-directive.mjs +653 -0
- package/mwc-list-base.mjs +840 -0
- package/mwc-list-item-base.mjs +202 -0
- package/mwc-list-item.css.mjs +17 -0
- package/mwc-menu-base.mjs +1145 -0
- package/mwc-radio-base.mjs +528 -0
- package/mwc-radio.css.mjs +10 -0
- package/mwc-slider.css.mjs +956 -0
- package/mwc-tab-base.mjs +694 -0
- package/mwc-top-app-bar-base.mjs +380 -0
- package/nav-list-item.mjs +49 -0
- package/observer.mjs +32 -0
- package/package.json +9 -2
- package/property.mjs +20 -0
- package/query-assigned-elements.mjs +615 -0
- package/query-assigned-nodes.mjs +17 -0
- package/query.mjs +25 -0
- package/radio-list-item.mjs +99 -0
- package/radio.mjs +33 -0
- package/ripple-handlers.mjs +761 -0
- package/select.mjs +1262 -0
- package/side-sheet.mjs +40 -0
- package/slider-range.mjs +444 -0
- package/slider.mjs +257 -0
- package/snackbar.mjs +461 -0
- package/src/action-ribbon/action-ribbon-base.d.ts +2 -0
- package/src/action-ribbon/action-ribbon-base.d.ts.map +1 -0
- package/src/action-ribbon/action-ribbon.d.ts +2 -1
- package/src/action-ribbon/action-ribbon.d.ts.map +1 -0
- package/src/alert/alert-base.d.ts +2 -0
- package/src/alert/alert-base.d.ts.map +1 -0
- package/src/alert/alert.d.ts +2 -1
- package/src/alert/alert.d.ts.map +1 -0
- package/src/app-shell/app-shell.d.ts +2 -3
- package/src/app-shell/app-shell.d.ts.map +1 -0
- package/src/button/button.d.ts +2 -1
- package/src/button/button.d.ts.map +1 -0
- package/src/card/card-base.d.ts +1 -0
- package/src/card/card-base.d.ts.map +1 -0
- package/src/card/card.d.ts +2 -1
- package/src/card/card.d.ts.map +1 -0
- package/src/checkbox/checkbox.d.ts +2 -1
- package/src/checkbox/checkbox.d.ts.map +1 -0
- package/src/chips/chip-base.d.ts +1 -0
- package/src/chips/chip-base.d.ts.map +1 -0
- package/src/chips/chip-set-base.d.ts +1 -0
- package/src/chips/chip-set-base.d.ts.map +1 -0
- package/src/chips/chip-set.d.ts +2 -1
- package/src/chips/chip-set.d.ts.map +1 -0
- package/src/chips/chip.d.ts +2 -1
- package/src/chips/chip.d.ts.map +1 -0
- package/src/chips/foundation.d.ts +1 -0
- package/src/chips/foundation.d.ts.map +1 -0
- package/src/circular-progress/circular-progress.d.ts +2 -1
- package/src/circular-progress/circular-progress.d.ts.map +1 -0
- package/src/code-snippet/code-snippet.d.ts +2 -1
- package/src/code-snippet/code-snippet.d.ts.map +1 -0
- package/src/dialog/dialog.d.ts +2 -1
- package/src/dialog/dialog.d.ts.map +1 -0
- package/src/drawer/drawer.d.ts +2 -1
- package/src/drawer/drawer.d.ts.map +1 -0
- package/src/empty-state/empty-state.d.ts +2 -1
- package/src/empty-state/empty-state.d.ts.map +1 -0
- package/src/formfield/formfield.d.ts +2 -1
- package/src/formfield/formfield.d.ts.map +1 -0
- package/src/icon/icon.d.ts +2 -1
- package/src/icon/icon.d.ts.map +1 -0
- package/src/icon-button/icon-button.d.ts +2 -1
- package/src/icon-button/icon-button.d.ts.map +1 -0
- package/src/icon-checkbox/icon-check-toggle.d.ts +2 -1
- package/src/icon-checkbox/icon-check-toggle.d.ts.map +1 -0
- package/src/icon-radio/icon-radio-toggle.d.ts +2 -1
- package/src/icon-radio/icon-radio-toggle.d.ts.map +1 -0
- package/src/index.d.ts +3 -44
- package/src/index.d.ts.map +1 -0
- package/src/linear-progress/linear-progress.d.ts +2 -1
- package/src/linear-progress/linear-progress.d.ts.map +1 -0
- package/src/list/check-list-item.d.ts +2 -1
- package/src/list/check-list-item.d.ts.map +1 -0
- package/src/list/list-expansion.d.ts +2 -1
- package/src/list/list-expansion.d.ts.map +1 -0
- package/src/list/list-item.d.ts +2 -1
- package/src/list/list-item.d.ts.map +1 -0
- package/src/list/list.d.ts +2 -1
- package/src/list/list.d.ts.map +1 -0
- package/src/list/nav-list-item.d.ts +2 -1
- package/src/list/nav-list-item.d.ts.map +1 -0
- package/src/list/radio-list-item.d.ts +2 -1
- package/src/list/radio-list-item.d.ts.map +1 -0
- package/src/menu/menu.d.ts +2 -1
- package/src/menu/menu.d.ts.map +1 -0
- package/src/radio/radio.d.ts +2 -1
- package/src/radio/radio.d.ts.map +1 -0
- package/src/select/select.d.ts +2 -1
- package/src/select/select.d.ts.map +1 -0
- package/src/side-sheet/side-sheet.d.ts +2 -1
- package/src/side-sheet/side-sheet.d.ts.map +1 -0
- package/src/slider/slider-range.d.ts +2 -1
- package/src/slider/slider-range.d.ts.map +1 -0
- package/src/slider/slider.d.ts +2 -1
- package/src/slider/slider.d.ts.map +1 -0
- package/src/snackbar/snackbar.d.ts +2 -1
- package/src/snackbar/snackbar.d.ts.map +1 -0
- package/src/status-header/status-header-base.d.ts +1 -0
- package/src/status-header/status-header-base.d.ts.map +1 -0
- package/src/status-header/status-header-item.d.ts +2 -1
- package/src/status-header/status-header-item.d.ts.map +1 -0
- package/src/status-header/status-header.d.ts +2 -1
- package/src/status-header/status-header.d.ts.map +1 -0
- package/src/switch/switch.d.ts +2 -1
- package/src/switch/switch.d.ts.map +1 -0
- package/src/tab/tab-bar.d.ts +2 -1
- package/src/tab/tab-bar.d.ts.map +1 -0
- package/src/tab/tab.d.ts +2 -1
- package/src/tab/tab.d.ts.map +1 -0
- package/src/text-lockup/text-lockup.d.ts +2 -1
- package/src/text-lockup/text-lockup.d.ts.map +1 -0
- package/src/textarea/textarea.d.ts +2 -1
- package/src/textarea/textarea.d.ts.map +1 -0
- package/src/textfield/textfield.d.ts +2 -1
- package/src/textfield/textfield.d.ts.map +1 -0
- package/src/toolbar/toolbar.d.ts +2 -1
- package/src/toolbar/toolbar.d.ts.map +1 -0
- package/src/tooltip/tooltip.d.ts +4 -3
- package/src/tooltip/tooltip.d.ts.map +1 -0
- package/src/top-app-bar/top-app-bar-fixed.d.ts +2 -1
- package/src/top-app-bar/top-app-bar-fixed.d.ts.map +1 -0
- package/src/top-app-bar/top-app-bar.d.ts +2 -1
- package/src/top-app-bar/top-app-bar.d.ts.map +1 -0
- package/src/tree-list/tree-list-item.d.ts +2 -1
- package/src/tree-list/tree-list-item.d.ts.map +1 -0
- package/src/tree-list/tree-list.d.ts +2 -1
- package/src/tree-list/tree-list.d.ts.map +1 -0
- package/src/typography/typography.d.ts +2 -1
- package/src/typography/typography.d.ts.map +1 -0
- package/state.mjs +12 -0
- package/status-header-item.mjs +28 -0
- package/status-header.mjs +74 -0
- package/style-map.mjs +40 -0
- package/switch.mjs +536 -0
- package/tab-bar.mjs +1034 -0
- package/tab.mjs +34 -0
- package/text-lockup.mjs +53 -0
- package/textarea.mjs +115 -0
- package/textfield.mjs +40 -0
- package/textfield2.mjs +932 -0
- package/toolbar.mjs +28 -0
- package/tooltip.mjs +1246 -0
- package/top-app-bar-fixed.mjs +84 -0
- package/top-app-bar.mjs +28 -0
- package/top-app-bar2.mjs +12 -0
- package/tree-list-item.mjs +82 -0
- package/tree-list.mjs +42 -0
- package/tslib.es6.mjs +82 -0
- package/typography.mjs +31 -0
- package/utils.mjs +52 -0
- package/actionRibbon.js +0 -16
- package/actionRibbon.js.LICENSE.txt +0 -75
- package/alert.js +0 -19
- package/alert.js.LICENSE.txt +0 -75
- package/appShell.js +0 -96
- package/appShell.js.LICENSE.txt +0 -93
- package/button.js +0 -38
- package/button.js.LICENSE.txt +0 -53
- package/card.js +0 -17
- package/card.js.LICENSE.txt +0 -23
- package/checkbox.js +0 -40
- package/checkbox.js.LICENSE.txt +0 -53
- package/circularProgress.js +0 -58
- package/circularProgress.js.LICENSE.txt +0 -41
- package/codeSnippet.js +0 -8
- package/codeSnippet.js.LICENSE.txt +0 -23
- package/dialog.js +0 -28
- package/dialog.js.LICENSE.txt +0 -104
- package/drawer.js +0 -18
- package/drawer.js.LICENSE.txt +0 -52
- package/emptyState.js +0 -25
- package/emptyState.js.LICENSE.txt +0 -29
- package/formField.js +0 -7
- package/icon.js +0 -2
- package/icon.js.LICENSE.txt +0 -29
- package/iconButton.js +0 -26
- package/iconButton.js.LICENSE.txt +0 -47
- package/iconCheckbox.js +0 -51
- package/iconCheckbox.js.LICENSE.txt +0 -53
- package/iconRadio.js +0 -43
- package/iconRadio.js.LICENSE.txt +0 -47
- package/icons/covalent-icons.css +0 -365
- package/icons/covalent-icons.eot +0 -0
- package/icons/covalent-icons.svg +0 -224
- package/icons/covalent-icons.ttf +0 -0
- package/icons/covalent-icons.woff +0 -0
- package/icons/favicon.ico +0 -0
- package/index.js +0 -993
- package/index.js.LICENSE.txt +0 -191
- package/linearProgress.js +0 -28
- package/linearProgress.js.LICENSE.txt +0 -41
- package/list.js +0 -44
- package/list.js.LICENSE.txt +0 -41
- package/listCheckItem.js +0 -77
- package/listCheckItem.js.LICENSE.txt +0 -53
- package/listExpansion.js +0 -47
- package/listExpansion.js.LICENSE.txt +0 -41
- package/listItem.js +0 -27
- package/listItem.js.LICENSE.txt +0 -41
- package/listNavItem.js +0 -27
- package/listNavItem.js.LICENSE.txt +0 -41
- package/listRadioItem.js +0 -70
- package/listRadioItem.js.LICENSE.txt +0 -47
- package/menu.js +0 -83
- package/menu.js.LICENSE.txt +0 -87
- package/radio.js +0 -33
- package/radio.js.LICENSE.txt +0 -47
- package/select.js +0 -176
- package/select.js.LICENSE.txt +0 -93
- package/sideSheet.js +0 -28
- package/sideSheet.js.LICENSE.txt +0 -104
- package/slider.js +0 -63
- package/slider.js.LICENSE.txt +0 -93
- package/sliderRange.js +0 -113
- package/sliderRange.js.LICENSE.txt +0 -93
- package/snackBar.js +0 -12
- package/snackBar.js.LICENSE.txt +0 -47
- package/src/tooltip/tooltip.foundation.d.ts +0 -211
- package/statusHeader.js +0 -22
- package/statusHeader.js.LICENSE.txt +0 -23
- package/statusHeaderItem.js +0 -2
- package/statusHeaderItem.js.LICENSE.txt +0 -17
- package/switch.js +0 -63
- package/switch.js.LICENSE.txt +0 -70
- package/tab.js +0 -35
- package/tab.js.LICENSE.txt +0 -41
- package/tabBar.js +0 -53
- package/tabBar.js.LICENSE.txt +0 -41
- package/textArea.js +0 -96
- package/textArea.js.LICENSE.txt +0 -47
- package/textField.js +0 -69
- package/textField.js.LICENSE.txt +0 -47
- package/textLockup.js +0 -5
- package/textLockup.js.LICENSE.txt +0 -23
- package/theme.css +0 -1
- package/theme.js +0 -1
- package/toolbar.js +0 -19
- package/toolbar.js.LICENSE.txt +0 -58
- package/tooltip.js +0 -19
- package/tooltip.js.LICENSE.txt +0 -63
- package/topAppBar.js +0 -19
- package/topAppBar.js.LICENSE.txt +0 -64
- package/topAppBarFixed.js +0 -19
- package/topAppBarFixed.js.LICENSE.txt +0 -64
- package/treeList.js +0 -8
- package/treeList.js.LICENSE.txt +0 -17
- package/treeListItem.js +0 -24
- package/treeListItem.js.LICENSE.txt +0 -23
- package/typography.js +0 -2
- package/typography.js.LICENSE.txt +0 -17
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TextAreaBase } from '@material/mwc-textarea/mwc-textarea-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-textarea': CovalentTextAreaBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTextAreaBase extends TextAreaBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=textarea.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"textarea.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/textarea/textarea.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,YAAY,EAAE,MAAM,0CAA0C,CAAC;AAKxE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,aAAa,EAAE,oBAAoB,CAAC;KACrC;CACF;AAED,qBACa,oBAAqB,SAAQ,YAAY;IACpD,OAAgB,MAAM,4BAAoE;CAC3F"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TextFieldBase } from '@material/mwc-textfield/mwc-textfield-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-textfield': CovalentTextFieldBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTextFieldBase extends TextFieldBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=textfield.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"textfield.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/textfield/textfield.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,4CAA4C,CAAC;AAI3E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,qBAAqB,CAAC;KACvC;CACF;AAED,qBACa,qBAAsB,SAAQ,aAAa;IACtD,OAAgB,MAAM,4BAKpB;CACH"}
|
package/src/toolbar/toolbar.d.ts
CHANGED
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TopAppBarBase } from '@material/mwc-top-app-bar/mwc-top-app-bar-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-toolbar': CovalentToolbarBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentToolbarBase extends TopAppBarBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=toolbar.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"toolbar.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/toolbar/toolbar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAG/E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,mBAAmB,CAAC;KACnC;CACF;AAED,qBACa,mBAAoB,SAAQ,aAAa;IACpD,OAAgB,MAAM,4BAIpB;CACH"}
|
package/src/tooltip/tooltip.d.ts
CHANGED
@@ -1,9 +1,9 @@
|
|
1
|
-
import { MDCTooltipAdapter } from '@material/tooltip';
|
2
1
|
import { LitElement, PropertyValues } from 'lit';
|
3
|
-
import {
|
2
|
+
import { MDCTooltipAdapter } from '@material/tooltip';
|
3
|
+
import { MDCTooltipFoundation } from '@material/tooltip/foundation';
|
4
4
|
declare global {
|
5
5
|
interface HTMLElementTagNameMap {
|
6
|
-
'
|
6
|
+
'cv-tooltip': CovalentTooltipBase;
|
7
7
|
}
|
8
8
|
}
|
9
9
|
export declare class CovalentTooltipBase extends LitElement {
|
@@ -24,3 +24,4 @@ export declare class CovalentTooltipBase extends LitElement {
|
|
24
24
|
disconnectedCallback(): void;
|
25
25
|
render(): import("lit-html").TemplateResult<1>;
|
26
26
|
}
|
27
|
+
//# sourceMappingURL=tooltip.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/tooltip/tooltip.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAE,cAAc,EAAa,MAAM,KAAK,CAAC;AAGvE,OAAO,EAAE,iBAAiB,EAAU,MAAM,mBAAmB,CAAC;AAC9D,OAAO,EAAE,oBAAoB,EAAE,MAAM,8BAA8B,CAAC;AAGpE,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,YAAY,EAAE,mBAAmB,CAAC;KACnC;CACF;AAED,qBACa,mBAAoB,SAAQ,UAAU;IACjD,SAAS,CAAC,aAAa,EAAG,oBAAoB,CAAC;IAC/C,SAAS,CAAC,QAAQ,CAAC,kBAAkB,8BAAwB;IAC7D,OAAgB,MAAM,4BAIpB;IAEqB,SAAS,CAAC,OAAO,EAAG,WAAW,CAAC;IACvB,SAAS,CAAC,UAAU,EAAG,WAAW,CAAC;IAEvC,MAAM,CAAC,EAAE,WAAW,CAAC;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACa,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,UAAU,CAAC,EAAE,WAAW,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;IAE/C,SAAS,CAAC,aAAa,IAAI,iBAAiB;IAqE5C,SAAS,CAAC,OAAO,CAAC,YAAY,EAAE,cAAc,GAAG,IAAI;cAW5B,YAAY;IA0BrC,oBAAoB,IAAI,IAAI;IAmBnB,MAAM;CAsBhB"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TopAppBarFixedBase } from '@material/mwc-top-app-bar-fixed/mwc-top-app-bar-fixed-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-top-app-bar-fixed': CovalentTopAppBaraFixedBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTopAppBaraFixedBase extends TopAppBarFixedBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=top-app-bar-fixed.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"top-app-bar-fixed.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/top-app-bar/top-app-bar-fixed.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,kBAAkB,EAAE,MAAM,4DAA4D,CAAC;AAIhG,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,sBAAsB,EAAE,2BAA2B,CAAC;KACrD;CACF;AAED,qBACa,2BAA4B,SAAQ,kBAAkB;IACjE,OAAgB,MAAM,4BAKpB;CACH"}
|
@@ -1,9 +1,10 @@
|
|
1
1
|
import { TopAppBarBase } from '@material/mwc-top-app-bar/mwc-top-app-bar-base';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-top-app-bar': CovalentTopAppBarBase;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTopAppBarBase extends TopAppBarBase {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
}
|
10
|
+
//# sourceMappingURL=top-app-bar.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"top-app-bar.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/top-app-bar/top-app-bar.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,aAAa,EAAE,MAAM,gDAAgD,CAAC;AAI/E,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,gBAAgB,EAAE,qBAAqB,CAAC;KACzC;CACF;AAED,qBACa,qBAAsB,SAAQ,aAAa;IACtD,OAAgB,MAAM,4BAKpB;CACH"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-tree-list-item': CovalentTreeListItem;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTreeListItem extends LitElement {
|
@@ -13,3 +13,4 @@ export declare class CovalentTreeListItem extends LitElement {
|
|
13
13
|
render(): import("lit-html").TemplateResult<1>;
|
14
14
|
private _handleClick;
|
15
15
|
}
|
16
|
+
//# sourceMappingURL=tree-list-item.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tree-list-item.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/tree-list/tree-list-item.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAKvD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,mBAAmB,EAAE,oBAAoB,CAAC;KAC3C;CACF;AAED,qBACa,oBAAqB,SAAQ,UAAU;IAClD,OAAgB,MAAM,4BAIpB;IAE2B,MAAM,UAAS;IAEhB,IAAI,SAAM;IAEV,WAAW,SAAK;IAEhB,cAAc,SAAM;IACvC,MAAM;IAyCf,OAAO,CAAC,YAAY;CAerB"}
|
@@ -1,10 +1,11 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-tree-list': CovalentTreeList;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTreeList extends LitElement {
|
8
8
|
static styles: import("lit").CSSResult[];
|
9
9
|
render(): import("lit-html").TemplateResult<1>;
|
10
10
|
}
|
11
|
+
//# sourceMappingURL=tree-list.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"tree-list.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/tree-list/tree-list.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,cAAc,EAAE,gBAAgB,CAAC;KAClC;CACF;AAED,qBACa,gBAAiB,SAAQ,UAAU;IAC9C,OAAgB,MAAM,4BAIpB;IACO,MAAM;CAShB"}
|
@@ -1,7 +1,7 @@
|
|
1
1
|
import { LitElement } from 'lit';
|
2
2
|
declare global {
|
3
3
|
interface HTMLElementTagNameMap {
|
4
|
-
'
|
4
|
+
'cv-typography': CovalentTypography;
|
5
5
|
}
|
6
6
|
}
|
7
7
|
export declare class CovalentTypography extends LitElement {
|
@@ -9,3 +9,4 @@ export declare class CovalentTypography extends LitElement {
|
|
9
9
|
scale: string;
|
10
10
|
render(): import("lit-html").TemplateResult<1>;
|
11
11
|
}
|
12
|
+
//# sourceMappingURL=typography.d.ts.map
|
@@ -0,0 +1 @@
|
|
1
|
+
{"version":3,"file":"typography.d.ts","sourceRoot":"","sources":["../../../../../libs/components/src/typography/typography.ts"],"names":[],"mappings":"AAAA,OAAO,EAAa,UAAU,EAAa,MAAM,KAAK,CAAC;AAIvD,OAAO,CAAC,MAAM,CAAC;IACb,UAAU,qBAAqB;QAC7B,eAAe,EAAE,kBAAkB,CAAC;KACrC;CACF;AAED,qBACa,kBAAmB,SAAQ,UAAU;IAChD,OAAgB,MAAM,4BAIpB;IAGF,KAAK,SAAW;IAEP,MAAM;CAGhB"}
|
package/state.mjs
ADDED
@@ -0,0 +1,28 @@
|
|
1
|
+
import { s as l, y as d, i as y, r as h, e as c } from "./query-assigned-elements.mjs";
|
2
|
+
import { e as m } from "./property.mjs";
|
3
|
+
const f = `:host{--cv-status-header-item-width: 178px;display:flex;padding:14px 16px;align-items:center;font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}span{display:inline-block;width:var(--cv-status-header-item-width);color:var(--mdc-theme-text-secondary-on-background)}
|
4
|
+
`;
|
5
|
+
var v = Object.defineProperty, g = Object.getOwnPropertyDescriptor, p = (n, t, o, r) => {
|
6
|
+
for (var e = r > 1 ? void 0 : r ? g(t, o) : t, s = n.length - 1, i; s >= 0; s--)
|
7
|
+
(i = n[s]) && (e = (r ? i(t, o, e) : i(e)) || e);
|
8
|
+
return r && e && v(t, o, e), e;
|
9
|
+
};
|
10
|
+
let a = class extends l {
|
11
|
+
render() {
|
12
|
+
return d`<span>${this.label}</span> <slot></slot>`;
|
13
|
+
}
|
14
|
+
};
|
15
|
+
a.styles = [
|
16
|
+
y`
|
17
|
+
${h(f)}
|
18
|
+
`
|
19
|
+
];
|
20
|
+
p([
|
21
|
+
m()
|
22
|
+
], a.prototype, "label", 2);
|
23
|
+
a = p([
|
24
|
+
c("cv-status-header-item")
|
25
|
+
], a);
|
26
|
+
export {
|
27
|
+
a as CovalentStatusHeaderItem
|
28
|
+
};
|
@@ -0,0 +1,74 @@
|
|
1
|
+
import { s as u, y as v, i as l, r as m, e as p } from "./query-assigned-elements.mjs";
|
2
|
+
import { o as g } from "./class-map.mjs";
|
3
|
+
import { e as h } from "./property.mjs";
|
4
|
+
var f = Object.defineProperty, y = Object.getOwnPropertyDescriptor, d = (c, e, s, a) => {
|
5
|
+
for (var t = a > 1 ? void 0 : a ? y(e, s) : e, r = c.length - 1, o; r >= 0; r--)
|
6
|
+
(o = c[r]) && (t = (a ? o(e, s, t) : o(t)) || t);
|
7
|
+
return a && t && f(e, s, t), t;
|
8
|
+
};
|
9
|
+
class i extends u {
|
10
|
+
constructor() {
|
11
|
+
super(...arguments), this.state = "neutral", this.statusText = "", this.statusHelper = "", this.titleText = "";
|
12
|
+
}
|
13
|
+
render() {
|
14
|
+
const e = {
|
15
|
+
active: this.state === "active",
|
16
|
+
caution: this.state === "caution",
|
17
|
+
error: this.state === "error",
|
18
|
+
positive: this.state === "positive"
|
19
|
+
};
|
20
|
+
return v`
|
21
|
+
<div class="status-header ${g(e)}">
|
22
|
+
<div class="status-header-title">
|
23
|
+
<div class="status-header-title-text">${this.titleText}</div>
|
24
|
+
<slot name="status-header-actions"></slot>
|
25
|
+
</div>
|
26
|
+
<div class="status-header-status">
|
27
|
+
<div class="status-header-icon">
|
28
|
+
<slot name="status-header-icon"></slot>
|
29
|
+
</div>
|
30
|
+
<div class="status-header-text-block">
|
31
|
+
<div class="status-header-text">${this.statusText}</div>
|
32
|
+
<div class="status-header-helper">${this.statusHelper}</div>
|
33
|
+
</div>
|
34
|
+
<div class="status-header-slot">
|
35
|
+
<slot name="status-header-text"></slot>
|
36
|
+
</div>
|
37
|
+
</div>
|
38
|
+
<slot></slot>
|
39
|
+
</div>
|
40
|
+
`;
|
41
|
+
}
|
42
|
+
}
|
43
|
+
d([
|
44
|
+
h()
|
45
|
+
], i.prototype, "state", 2);
|
46
|
+
d([
|
47
|
+
h({ type: String })
|
48
|
+
], i.prototype, "statusText", 2);
|
49
|
+
d([
|
50
|
+
h({ type: String })
|
51
|
+
], i.prototype, "statusHelper", 2);
|
52
|
+
d([
|
53
|
+
h({ type: String })
|
54
|
+
], i.prototype, "titleText", 2);
|
55
|
+
const x = `.status-header{--cv-status-header-background: transparent;--cv-status-header-icon-background: var( --mdc-theme-surface-neutral-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-text-icon-on-background);--cv-status-header-status-color: var(--mdc-theme-on-surface);background-color:var(--cv-status-header-background)}.status-header .status-header-content{max-width:inherit;flex-direction:column}.status-header .status-header-icon{background-color:var(--cv-status-header-icon-background);color:var(--cv-status-header-icon-color)}.status-header .status-header-text{--mdc-theme-primary: var(--mdc-theme-surface-neutral-highlight-hover);--mdc-theme-on-surface: var(--mdc-theme-text-icon-on-background);color:var(--cv-status-header-status-color)}.status-header .status-header-helper{color:var(--mdc-theme-text-secondary-on-background)}.status-header .status-header-title-text{color:var(--mdc-theme-on-surface)}.status-header.active{--cv-status-header-background: var( --mdc-theme-surface-secondary-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-secondary-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-secondary);--cv-status-header-status-color: var(--mdc-theme-secondary)}.status-header.caution{--cv-status-header-background: var(--mdc-theme-surface-caution-highlight);--cv-status-header-icon-background: var( --mdc-theme-surface-caution-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-caution);--cv-status-header-status-color: var(--mdc-theme-caution)}.status-header.error{--cv-status-header-background: var( --mdc-theme-surface-negative-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-negative-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-negative);--cv-status-header-status-color: var(--mdc-theme-negative)}.status-header.positive{--cv-status-header-background: var( --mdc-theme-surface-positive-highlight );--cv-status-header-icon-background: var( --mdc-theme-surface-positive-highlight-hover );--cv-status-header-icon-color: var(--mdc-theme-positive);--cv-status-header-status-color: var(--mdc-theme-positive)}.status-header-title{padding:0 0 16px 16px;height:fit-content;display:flex;justify-content:space-between;align-items:center}.status-header-title-text{font-family:var(--mdc-typography-headline6-font-family);font-size:var(--mdc-typography-headline6-font-size);font-weight:var(--mdc-typography-headline6-font-weight);line-height:var(--mdc-typography-headline6-line-height)}.status-header-text{font-family:var(--mdc-typography-body2-font-family);font-size:var(--mdc-typography-body2-font-size);font-weight:var(--mdc-typography-body2-font-weight);line-height:var(--mdc-typography-body2-line-height)}.status-header-icon{--mdc-icon-size: 36px;border-radius:50%;min-width:72px;height:72px;display:flex;justify-content:center;align-items:center}.status-header-status{padding-left:32px;padding-bottom:16px;display:flex;flex-direction:row;align-items:center}.status-header-text-block{display:flex;flex-direction:column;margin-left:12px;margin-right:56px}.status-header-text-block .status-header-helper{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)}
|
56
|
+
`;
|
57
|
+
var b = Object.defineProperty, w = Object.getOwnPropertyDescriptor, _ = (c, e, s, a) => {
|
58
|
+
for (var t = a > 1 ? void 0 : a ? w(e, s) : e, r = c.length - 1, o; r >= 0; r--)
|
59
|
+
(o = c[r]) && (t = (a ? o(e, s, t) : o(t)) || t);
|
60
|
+
return a && t && b(e, s, t), t;
|
61
|
+
};
|
62
|
+
let n = class extends i {
|
63
|
+
};
|
64
|
+
n.styles = [
|
65
|
+
l`
|
66
|
+
${m(x)}
|
67
|
+
`
|
68
|
+
];
|
69
|
+
n = _([
|
70
|
+
p("cv-status-header")
|
71
|
+
], n);
|
72
|
+
export {
|
73
|
+
n as CovalentStatusHeader
|
74
|
+
};
|
package/style-map.mjs
ADDED
@@ -0,0 +1,40 @@
|
|
1
|
+
import { x as i } from "./query-assigned-elements.mjs";
|
2
|
+
import { e as o, i as l, t as u } from "./class-map.mjs";
|
3
|
+
/**
|
4
|
+
* @license
|
5
|
+
* Copyright 2018 Google LLC
|
6
|
+
* SPDX-License-Identifier: BSD-3-Clause
|
7
|
+
*/
|
8
|
+
const a = o(class extends l {
|
9
|
+
constructor(s) {
|
10
|
+
var t;
|
11
|
+
if (super(s), s.type !== u.ATTRIBUTE || s.name !== "style" || ((t = s.strings) === null || t === void 0 ? void 0 : t.length) > 2)
|
12
|
+
throw Error("The `styleMap` directive must be used in the `style` attribute and must be the only part in the attribute.");
|
13
|
+
}
|
14
|
+
render(s) {
|
15
|
+
return Object.keys(s).reduce((t, r) => {
|
16
|
+
const e = s[r];
|
17
|
+
return e == null ? t : t + `${r = r.replace(/(?:^(webkit|moz|ms|o)|)(?=[A-Z])/g, "-$&").toLowerCase()}:${e};`;
|
18
|
+
}, "");
|
19
|
+
}
|
20
|
+
update(s, [t]) {
|
21
|
+
const { style: r } = s.element;
|
22
|
+
if (this.vt === void 0) {
|
23
|
+
this.vt = /* @__PURE__ */ new Set();
|
24
|
+
for (const e in t)
|
25
|
+
this.vt.add(e);
|
26
|
+
return this.render(t);
|
27
|
+
}
|
28
|
+
this.vt.forEach((e) => {
|
29
|
+
t[e] == null && (this.vt.delete(e), e.includes("-") ? r.removeProperty(e) : r[e] = "");
|
30
|
+
});
|
31
|
+
for (const e in t) {
|
32
|
+
const n = t[e];
|
33
|
+
n != null && (this.vt.add(e), e.includes("-") ? r.setProperty(e, n) : r[e] = n);
|
34
|
+
}
|
35
|
+
return i;
|
36
|
+
}
|
37
|
+
});
|
38
|
+
export {
|
39
|
+
a as i
|
40
|
+
};
|