@covalent/components 11.0.1-beta.2 → 11.1.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/action-ribbon/action-ribbon-base.d.ts +29 -0
- package/action-ribbon/action-ribbon.d.ts +15 -0
- package/alert/alert-base.d.ts +36 -0
- package/alert/alert.d.ts +15 -0
- package/app-shell/app-shell.d.ts +75 -0
- package/badge/badge.d.ts +50 -0
- package/button/button.d.ts +10 -0
- package/card/card-base.d.ts +28 -0
- package/card/card.d.ts +10 -0
- package/checkbox/checkbox.d.ts +10 -0
- package/chips/chip-base.d.ts +51 -0
- package/chips/chip-set-base.d.ts +32 -0
- package/chips/chip-set.d.ts +15 -0
- package/chips/chip.d.ts +15 -0
- package/circular-progress/circular-progress.d.ts +10 -0
- package/code-editor/code-editor.d.ts +62 -0
- package/code-editor/code-editor.theme.d.ts +72 -0
- package/code-snippet/code-snippet.d.ts +22 -0
- package/dialog/dialog.d.ts +14 -0
- package/divider/divider.d.ts +32 -0
- package/divider.js +7 -0
- package/divider.mjs +37 -0
- package/drawer/drawer.d.ts +10 -0
- package/empty-state/empty-state.d.ts +16 -0
- package/expansion-panel/expansion-panel-item.d.ts +26 -0
- package/expansion-panel/expansion-panel.d.ts +15 -0
- package/focused-page/focused-page.d.ts +54 -0
- package/formfield/formfield.d.ts +10 -0
- package/full-screen-dialog/full-screen-dialog.d.ts +31 -0
- package/icon/_icon-list.d.ts +3 -0
- package/icon/icon-demo.d.ts +13 -0
- package/icon/icon.d.ts +10 -0
- package/icon-button/icon-button.d.ts +10 -0
- package/icon-button-toggle/icon-button-toggle.d.ts +18 -0
- package/icon-checkbox/icon-check-toggle.d.ts +16 -0
- package/icon-lockup/icon-lockup.d.ts +63 -0
- package/icon-radio/icon-radio-toggle.d.ts +13 -0
- package/index.d.ts +60 -0
- package/index.js +3 -3
- package/index.mjs +229 -227
- package/linear-progress/linear-progress.d.ts +10 -0
- package/list/check-list-item.d.ts +10 -0
- package/list/list-item.d.ts +10 -0
- package/list/list.d.ts +10 -0
- package/list/nav-list-item.d.ts +29 -0
- package/list/radio-list-item.d.ts +10 -0
- package/menu/menu.d.ts +10 -0
- package/notebook-cell/notebook-cell.d.ts +95 -0
- package/package.json +63 -1
- package/radio/radio.d.ts +10 -0
- package/select/select.d.ts +10 -0
- package/side-sheet/side-sheet.d.ts +17 -0
- package/slider/slider-range.d.ts +10 -0
- package/slider/slider.d.ts +10 -0
- package/snackbar/snackbar.d.ts +10 -0
- package/status-dialog/status-dialog.d.ts +36 -0
- package/status-header/status-header-base.d.ts +8 -0
- package/status-header/status-header-item.d.ts +17 -0
- package/status-header/status-header.d.ts +15 -0
- package/switch/switch.d.ts +10 -0
- package/tab/tab-bar.d.ts +10 -0
- package/tab/tab.d.ts +10 -0
- package/text-lockup/text-lockup.d.ts +18 -0
- package/textarea/textarea.d.ts +10 -0
- package/textfield/textfield.d.ts +11 -0
- package/toolbar/toolbar.d.ts +14 -0
- package/tooltip/tooltip.d.ts +27 -0
- package/top-app-bar/top-app-bar-fixed.d.ts +10 -0
- package/top-app-bar/top-app-bar.d.ts +10 -0
- package/tree-list/tree-list-item.d.ts +17 -0
- package/tree-list/tree-list.d.ts +11 -0
- package/typography/typography.d.ts +12 -0
@@ -0,0 +1,10 @@
|
|
1
|
+
import { LinearProgressBase } from '@material/mwc-linear-progress/mwc-linear-progress-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-linear-progress': CovalentLinearProgress;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentLinearProgress extends LinearProgressBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentLinearProgress;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { CheckListItemBase } from '@material/mwc-list/mwc-check-list-item-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-check-list-item': CovalentCheckListItem;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentCheckListItem extends CheckListItemBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentCheckListItem;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ListItemBase } from '@material/mwc-list/mwc-list-item-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-list-item': CovalentListItem;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentListItem extends ListItemBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentListItem;
|
package/list/list.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
import { ListBase } from '@material/mwc-list/mwc-list-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-list': CovalentList;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentList extends ListBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentList;
|
@@ -0,0 +1,29 @@
|
|
1
|
+
import { CovalentListItem } from './list-item';
|
2
|
+
import CovalentList from './list';
|
3
|
+
declare global {
|
4
|
+
interface HTMLElementTagNameMap {
|
5
|
+
'cv-nav-list-item': CovalentNavRailListItem;
|
6
|
+
}
|
7
|
+
}
|
8
|
+
export declare class CovalentNavRailListItem extends CovalentListItem {
|
9
|
+
static styles: import("lit").CSSResult[];
|
10
|
+
expansionPanelElements: CovalentList[];
|
11
|
+
open: boolean;
|
12
|
+
hasChildren: boolean;
|
13
|
+
activated: boolean;
|
14
|
+
private lastKeySelected;
|
15
|
+
private _toggleOpen;
|
16
|
+
private _handleKeydown;
|
17
|
+
private _handleRequestSelected;
|
18
|
+
private _deselectChildren;
|
19
|
+
private _deselectHeader;
|
20
|
+
private _updateMaxHeight;
|
21
|
+
renderExpansionItem(): import("lit-html").TemplateResult<1>;
|
22
|
+
connectedCallback(): void;
|
23
|
+
disconnectedCallback(): void;
|
24
|
+
protected renderMeta(): import("lit-html").TemplateResult<1>;
|
25
|
+
firstUpdated(): void;
|
26
|
+
updated(changedProperties: Map<string | number | symbol, unknown>): void;
|
27
|
+
render(): import("lit-html").TemplateResult<1>;
|
28
|
+
}
|
29
|
+
export default CovalentNavRailListItem;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { RadioListItemBase } from '@material/mwc-list/mwc-radio-list-item-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-radio-list-item': CovalentRadioListItem;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentRadioListItem extends RadioListItemBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentRadioListItem;
|
package/menu/menu.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
import { MenuBase } from '@material/mwc-menu/mwc-menu-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-menu': CovalentMenu;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentMenu extends MenuBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentMenu;
|
@@ -0,0 +1,95 @@
|
|
1
|
+
import { LitElement, PropertyValues } from 'lit';
|
2
|
+
import '../code-editor/code-editor';
|
3
|
+
import '../code-snippet/code-snippet';
|
4
|
+
import '../icon-button/icon-button';
|
5
|
+
import '../typography/typography';
|
6
|
+
declare global {
|
7
|
+
interface HTMLElementTagNameMap {
|
8
|
+
'cv-notebook-cell': CovalentNotebookCell;
|
9
|
+
}
|
10
|
+
}
|
11
|
+
/**
|
12
|
+
* Notebook cell
|
13
|
+
*
|
14
|
+
* @slot - This element has a slot
|
15
|
+
*/
|
16
|
+
export declare class CovalentNotebookCell extends LitElement {
|
17
|
+
/**
|
18
|
+
* The index of the cell in a notebook
|
19
|
+
*/
|
20
|
+
index?: number;
|
21
|
+
/**
|
22
|
+
* Code written in the cell
|
23
|
+
*/
|
24
|
+
code: string;
|
25
|
+
/**
|
26
|
+
* Language of the code
|
27
|
+
*/
|
28
|
+
language: string;
|
29
|
+
/**
|
30
|
+
* Whether the cell is loading
|
31
|
+
*/
|
32
|
+
loading: boolean;
|
33
|
+
/**
|
34
|
+
* Whether the cell is selected
|
35
|
+
*/
|
36
|
+
selected: boolean;
|
37
|
+
/**
|
38
|
+
* Number of times the cell was exceuted
|
39
|
+
*/
|
40
|
+
timesExecuted: number;
|
41
|
+
/**
|
42
|
+
* Whether the editor is shown
|
43
|
+
*/
|
44
|
+
hideEditor: boolean;
|
45
|
+
/**
|
46
|
+
* Whether the execution count is shown
|
47
|
+
*/
|
48
|
+
hideCount: boolean;
|
49
|
+
/**
|
50
|
+
* Theme for the code editor
|
51
|
+
*/
|
52
|
+
editorTheme: string;
|
53
|
+
private _editor;
|
54
|
+
private _editorFocused;
|
55
|
+
private _isMenuOpen;
|
56
|
+
private _menuMaxHeight;
|
57
|
+
private _menuPosition;
|
58
|
+
editorOptions: {
|
59
|
+
minimap: {
|
60
|
+
enabled: boolean;
|
61
|
+
};
|
62
|
+
wordWrap: string;
|
63
|
+
fontSize: string;
|
64
|
+
glyphMargin: boolean;
|
65
|
+
folding: boolean;
|
66
|
+
lineHeight: number;
|
67
|
+
lineNumbers: string;
|
68
|
+
lineDecorationsWidth: number;
|
69
|
+
lineNumbersMinChars: number;
|
70
|
+
renderIndentGuides: boolean;
|
71
|
+
renderLineHighlight: string;
|
72
|
+
overviewRulerLanes: number;
|
73
|
+
hideCursorInOverviewRuler: boolean;
|
74
|
+
scrollbar: {
|
75
|
+
alwaysConsumeMouseWheel: boolean;
|
76
|
+
vertical: string;
|
77
|
+
};
|
78
|
+
};
|
79
|
+
static styles: import("lit").CSSResult[];
|
80
|
+
constructor();
|
81
|
+
closeContextMenu(): void;
|
82
|
+
connectedCallback(): void;
|
83
|
+
disconnectedCallback(): void;
|
84
|
+
handleCodeChange(e: CustomEvent): void;
|
85
|
+
setEditorFocus(e: CustomEvent, setFocus: boolean): void;
|
86
|
+
setEditorInstance(e: CustomEvent): void;
|
87
|
+
showContextMenu(e: MouseEvent): void;
|
88
|
+
protected updated(changedProperties: PropertyValues): void;
|
89
|
+
getEditorBgColor(): string;
|
90
|
+
renderEditor(): import("lit-html").TemplateResult<1>;
|
91
|
+
renderOutput(): import("lit-html").TemplateResult<1>;
|
92
|
+
renderExecutionCount(): import("lit-html").TemplateResult<1>;
|
93
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
94
|
+
}
|
95
|
+
export default CovalentNotebookCell;
|
package/package.json
CHANGED
@@ -1,11 +1,12 @@
|
|
1
1
|
{
|
2
2
|
"name": "@covalent/components",
|
3
|
-
"version": "11.
|
3
|
+
"version": "11.1.0",
|
4
4
|
"description": "a catalog of material components for covalent",
|
5
5
|
"main": "./index.js",
|
6
6
|
"module": "./index.mjs",
|
7
7
|
"exports": {
|
8
8
|
".": {
|
9
|
+
"types": "./index.d.ts",
|
9
10
|
"sass": "./index.scss",
|
10
11
|
"style": "./covalent.css",
|
11
12
|
"import": "./index.mjs",
|
@@ -17,226 +18,287 @@
|
|
17
18
|
"sass": "./theme/_index.scss"
|
18
19
|
},
|
19
20
|
"./action-ribbon": {
|
21
|
+
"types": "./action-ribbon/action-ribbon.d.ts",
|
20
22
|
"import": "./action-ribbon.mjs",
|
21
23
|
"require": "./action-ribbon.js"
|
22
24
|
},
|
23
25
|
"./alert": {
|
26
|
+
"types": "./alert/alert.d.ts",
|
24
27
|
"import": "./alert.mjs",
|
25
28
|
"require": "./alert.js"
|
26
29
|
},
|
27
30
|
"./app-shell": {
|
31
|
+
"types": "./app-shell/app-shell.d.ts",
|
28
32
|
"import": "./app-shell.mjs",
|
29
33
|
"require": "./app-shell.js"
|
30
34
|
},
|
31
35
|
"./badge": {
|
36
|
+
"types": "./badge/badge.d.ts",
|
32
37
|
"import": "./badge.mjs",
|
33
38
|
"require": "./badge.js"
|
34
39
|
},
|
35
40
|
"./button": {
|
41
|
+
"types": "./button/button.d.ts",
|
36
42
|
"import": "./button.mjs",
|
37
43
|
"require": "./button.js"
|
38
44
|
},
|
39
45
|
"./card": {
|
46
|
+
"types": "./card/card.d.ts",
|
40
47
|
"import": "./card.mjs",
|
41
48
|
"require": "./card.js"
|
42
49
|
},
|
43
50
|
"./checkbox": {
|
51
|
+
"types": "./checkbox/checkbox.d.ts",
|
44
52
|
"import": "./checkbox.mjs",
|
45
53
|
"require": "./checkbox.js"
|
46
54
|
},
|
47
55
|
"./check-list-item": {
|
56
|
+
"types": "./list/check-list-item.d.ts",
|
48
57
|
"import": "./check-list-item.mjs",
|
49
58
|
"require": "./check-list-item.js"
|
50
59
|
},
|
51
60
|
"./chip": {
|
61
|
+
"types": "./chips/chip.d.ts",
|
52
62
|
"import": "./chip.mjs",
|
53
63
|
"require": "./chip.js"
|
54
64
|
},
|
55
65
|
"./chip-set": {
|
66
|
+
"types": "./chips/chip-set.d.ts",
|
56
67
|
"import": "./chip-set.mjs",
|
57
68
|
"require": "./chip-set.js"
|
58
69
|
},
|
59
70
|
"./circular-progress": {
|
71
|
+
"types": "./circular-progress/circular-progress.d.ts",
|
60
72
|
"import": "./circular-progress.mjs",
|
61
73
|
"require": "./circular-progress.js"
|
62
74
|
},
|
63
75
|
"./code-editor": {
|
76
|
+
"types": "./code-editor/code-editor.d.ts",
|
64
77
|
"import": "./code-editor.mjs",
|
65
78
|
"require": "./code-editor.js"
|
66
79
|
},
|
67
80
|
"./code-snippet": {
|
81
|
+
"types": "./code-snippet/code-snippet.d.ts",
|
68
82
|
"import": "./code-snippet.mjs",
|
69
83
|
"require": "./code-snippet.js"
|
70
84
|
},
|
71
85
|
"./dialog": {
|
86
|
+
"types": "./dialog/dialog.d.ts",
|
72
87
|
"import": "./dialog.mjs",
|
73
88
|
"require": "./dialog.js"
|
74
89
|
},
|
90
|
+
"./divider": {
|
91
|
+
"types": "./divider/divider.d.ts",
|
92
|
+
"import": "./divider.mjs",
|
93
|
+
"require": "./divider.js"
|
94
|
+
},
|
75
95
|
"./drawer": {
|
96
|
+
"types": "./drawer/drawer.d.ts",
|
76
97
|
"import": "./drawer.mjs",
|
77
98
|
"require": "./drawer.js"
|
78
99
|
},
|
79
100
|
"./empty-state": {
|
101
|
+
"types": "./empty-state/empty-state.d.ts",
|
80
102
|
"import": "./empty-state.mjs",
|
81
103
|
"require": "./empty-state.js"
|
82
104
|
},
|
83
105
|
"./expansion-panel": {
|
106
|
+
"types": "./expansion-panel/expansion-panel.d.ts",
|
84
107
|
"import": "./expansion-panel.mjs",
|
85
108
|
"require": "./expansion-panel.js"
|
86
109
|
},
|
87
110
|
"./expansion-panel-item": {
|
111
|
+
"types": "./expansion-panel/expansion-panel-item.d.ts",
|
88
112
|
"import": "./expansion-panel-item.mjs",
|
89
113
|
"require": "./expansion-panel-item.js"
|
90
114
|
},
|
91
115
|
"./focused-page": {
|
116
|
+
"types": "./focused-page/focused-page.d.ts",
|
92
117
|
"import": "./focused-page.mjs",
|
93
118
|
"require": "./focused-page.js"
|
94
119
|
},
|
95
120
|
"./formfield": {
|
121
|
+
"types": "./formfield/formfield.d.ts",
|
96
122
|
"import": "./formfield.mjs",
|
97
123
|
"require": "./formfield.js"
|
98
124
|
},
|
99
125
|
"./full-screen-dialog": {
|
126
|
+
"types": "./full-screen-dialog/full-screen-dialog.d.ts",
|
100
127
|
"import": "./full-screen-dialog.mjs",
|
101
128
|
"require": "./full-screen-dialog.js"
|
102
129
|
},
|
103
130
|
"./icon": {
|
131
|
+
"types": "./icon/icon.d.ts",
|
104
132
|
"import": "./icon.mjs",
|
105
133
|
"require": "./icon.js"
|
106
134
|
},
|
107
135
|
"./icon-button": {
|
136
|
+
"types": "./icon-button/icon-button.d.ts",
|
108
137
|
"import": "./icon-button.mjs",
|
109
138
|
"require": "./icon-button.js"
|
110
139
|
},
|
111
140
|
"./icon-button-toggle": {
|
141
|
+
"types": "./icon-button-toggle/icon-button-toggle.d.ts",
|
112
142
|
"import": "./icon-button-toggle.mjs",
|
113
143
|
"require": "./icon-button-toggle.js"
|
114
144
|
},
|
115
145
|
"./icon-check-toggle": {
|
146
|
+
"types": "./icon-checkbox/icon-check-toggle.d.ts",
|
116
147
|
"import": "./icon-check-toggle.mjs",
|
117
148
|
"require": "./icon-check-toggle.js"
|
118
149
|
},
|
119
150
|
"./icon-lockup": {
|
151
|
+
"types": "./icon-lockup/icon-lockup.d.ts",
|
120
152
|
"import": "./icon-lockup.mjs",
|
121
153
|
"require": "./icon-lockup.js"
|
122
154
|
},
|
123
155
|
"./icon-radio-toggle": {
|
156
|
+
"types": "./icon-radio/icon-radio-toggle.d.ts",
|
124
157
|
"import": "./icon-radio-toggle.mjs",
|
125
158
|
"require": "./icon-radio-toggle.js"
|
126
159
|
},
|
127
160
|
"./linear-progress": {
|
161
|
+
"types": "./linear-progress/linear-progress.d.ts",
|
128
162
|
"import": "./linear-progress.mjs",
|
129
163
|
"require": "./linear-progress.js"
|
130
164
|
},
|
131
165
|
"./list": {
|
166
|
+
"types": "./list/list.d.ts",
|
132
167
|
"import": "./list.mjs",
|
133
168
|
"require": "./list.js"
|
134
169
|
},
|
135
170
|
"./list-item": {
|
171
|
+
"types": "./list/list-item.d.ts",
|
136
172
|
"import": "./list-item.mjs",
|
137
173
|
"require": "./list-item.js"
|
138
174
|
},
|
139
175
|
"./menu": {
|
176
|
+
"types": "./menu/menu.d.ts",
|
140
177
|
"import": "./menu.mjs",
|
141
178
|
"require": "./menu.js"
|
142
179
|
},
|
143
180
|
"./nav-list-item": {
|
181
|
+
"types": "./list/nav-list-item.d.ts",
|
144
182
|
"import": "./nav-list-item.mjs",
|
145
183
|
"require": "./nav-list-item.js"
|
146
184
|
},
|
147
185
|
"./notebook-cell": {
|
186
|
+
"types": "./notebook-cell/notebook-cell.d.ts",
|
148
187
|
"import": "./notebook-cell.mjs",
|
149
188
|
"require": "./notebook-cell.js"
|
150
189
|
},
|
151
190
|
"./radio": {
|
191
|
+
"types": "./radio/radio.d.ts",
|
152
192
|
"import": "./radio.mjs",
|
153
193
|
"require": "./radio.js"
|
154
194
|
},
|
155
195
|
"./radio-list-item": {
|
196
|
+
"types": "./list/radio-list-item.d.ts",
|
156
197
|
"import": "./radio-list-item.mjs",
|
157
198
|
"require": "./radio-list-item.js"
|
158
199
|
},
|
159
200
|
"./select": {
|
201
|
+
"types": "./select/select.d.ts",
|
160
202
|
"import": "./select.mjs",
|
161
203
|
"require": "./select.js"
|
162
204
|
},
|
163
205
|
"./side-sheet": {
|
206
|
+
"types": "./side-sheet/side-sheet.d.ts",
|
164
207
|
"import": "./side-sheet.mjs",
|
165
208
|
"require": "./side-sheet.js"
|
166
209
|
},
|
167
210
|
"./slider": {
|
211
|
+
"types": "./slider/slider.d.ts",
|
168
212
|
"import": "./slider.mjs",
|
169
213
|
"require": "./slider.js"
|
170
214
|
},
|
171
215
|
"./slider-range": {
|
216
|
+
"types": "./slider/slider-range.d.ts",
|
172
217
|
"import": "./slider-range.mjs",
|
173
218
|
"require": "./slider-range.js"
|
174
219
|
},
|
175
220
|
"./snackbar": {
|
221
|
+
"types": "./snackbar/snackbar.d.ts",
|
176
222
|
"import": "./snackbar.mjs",
|
177
223
|
"require": "./snackbar.js"
|
178
224
|
},
|
179
225
|
"./status-dialog": {
|
226
|
+
"types": "./status-dialog/status-dialog.d.ts",
|
180
227
|
"import": "./status-dialog.mjs",
|
181
228
|
"require": "./status-dialog.js"
|
182
229
|
},
|
183
230
|
"./status-header": {
|
231
|
+
"types": "./status-header/status-header.d.ts",
|
184
232
|
"import": "./status-header.mjs",
|
185
233
|
"require": "./status-header.js"
|
186
234
|
},
|
187
235
|
"./status-header-item": {
|
236
|
+
"types": "./status-header/status-header-item.d.ts",
|
188
237
|
"import": "./status-header-item.mjs",
|
189
238
|
"require": "./status-header-item.js"
|
190
239
|
},
|
191
240
|
"./switch": {
|
241
|
+
"types": "./switch/switch.d.ts",
|
192
242
|
"import": "./switch.mjs",
|
193
243
|
"require": "./switch.js"
|
194
244
|
},
|
195
245
|
"./tab": {
|
246
|
+
"types": "./tab/tab.d.ts",
|
196
247
|
"import": "./tab.mjs",
|
197
248
|
"require": "./tab.js"
|
198
249
|
},
|
199
250
|
"./tab-bar": {
|
251
|
+
"types": "./tab/tab-bar.d.ts",
|
200
252
|
"import": "./tab-bar.mjs",
|
201
253
|
"require": "./tab-bar.js"
|
202
254
|
},
|
203
255
|
"./textarea": {
|
256
|
+
"types": "./textarea/textarea.d.ts",
|
204
257
|
"import": "./textarea.mjs",
|
205
258
|
"require": "./textarea.js"
|
206
259
|
},
|
207
260
|
"./textfield": {
|
261
|
+
"types": "./textfield/textfield.d.ts",
|
208
262
|
"import": "./textfield.mjs",
|
209
263
|
"require": "./textfield.js"
|
210
264
|
},
|
211
265
|
"./text-lockup": {
|
266
|
+
"types": "./text-lockup/text-lockup.d.ts",
|
212
267
|
"import": "./text-lockup.mjs",
|
213
268
|
"require": "./text-lockup.js"
|
214
269
|
},
|
215
270
|
"./toolbar": {
|
271
|
+
"types": "./toolbar/toolbar.d.ts",
|
216
272
|
"import": "./toolbar.mjs",
|
217
273
|
"require": "./toolbar.js"
|
218
274
|
},
|
219
275
|
"./tooltip": {
|
276
|
+
"types": "./tooltip/tooltip.d.ts",
|
220
277
|
"import": "./tooltip.mjs",
|
221
278
|
"require": "./tooltip.js"
|
222
279
|
},
|
223
280
|
"./top-app-bar": {
|
281
|
+
"types": "./top-app-bar/top-app-bar.d.ts",
|
224
282
|
"import": "./top-app-bar.mjs",
|
225
283
|
"require": "./top-app-bar.js"
|
226
284
|
},
|
227
285
|
"./top-app-bar-fixed": {
|
286
|
+
"types": "./top-app-bar/top-app-bar-fixed.d.ts",
|
228
287
|
"import": "./top-app-bar-fixed.mjs",
|
229
288
|
"require": "./top-app-bar-fixed.js"
|
230
289
|
},
|
231
290
|
"./tree-list": {
|
291
|
+
"types": "./tree-list/tree-list.d.ts",
|
232
292
|
"import": "./tree-list.mjs",
|
233
293
|
"require": "./tree-list.js"
|
234
294
|
},
|
235
295
|
"./tree-list-item": {
|
296
|
+
"types": "./tree-list/tree-list-item.d.ts",
|
236
297
|
"import": "./tree-list-item.mjs",
|
237
298
|
"require": "./tree-list-item.js"
|
238
299
|
},
|
239
300
|
"./typography": {
|
301
|
+
"types": "./typography/typography.d.ts",
|
240
302
|
"import": "./typography.mjs",
|
241
303
|
"require": "./typography.js"
|
242
304
|
}
|
package/radio/radio.d.ts
ADDED
@@ -0,0 +1,10 @@
|
|
1
|
+
import { RadioBase } from '@material/mwc-radio/mwc-radio-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-radio': CovalentRadio;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentRadio extends RadioBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentRadio;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SelectBase } from '@material/mwc-select/mwc-select-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-select': CovalentSelect;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentSelect extends SelectBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentSelect;
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { CovalentDialog } from '../dialog/dialog';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-side-sheet': CovalentSideSheet;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Side sheet element.
|
9
|
+
*
|
10
|
+
* @slot - This element has a slot
|
11
|
+
*/
|
12
|
+
export declare class CovalentSideSheet extends CovalentDialog {
|
13
|
+
static styles: import("lit").CSSResult[];
|
14
|
+
pushed: boolean;
|
15
|
+
noPadding: boolean;
|
16
|
+
constructor();
|
17
|
+
}
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SliderRangeBase } from '@material/mwc-slider/slider-range-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-slider-range': CovalentSliderRange;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentSliderRange extends SliderRangeBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentSliderRange;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SliderSingleBase } from '@material/mwc-slider/slider-single-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-slider': CovalentSlider;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentSlider extends SliderSingleBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentSlider;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SnackbarBase } from '@material/mwc-snackbar/mwc-snackbar-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-snackbar': CovalentSnackbar;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentSnackbar extends SnackbarBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentSnackbar;
|
@@ -0,0 +1,36 @@
|
|
1
|
+
import CovalentDialog from '../dialog/dialog';
|
2
|
+
import '../icon/icon';
|
3
|
+
import '../icon-button/icon-button';
|
4
|
+
declare global {
|
5
|
+
interface HTMLElementTagNameMap {
|
6
|
+
'cv-status-dialog': CovalentStatusDialog;
|
7
|
+
}
|
8
|
+
}
|
9
|
+
/**
|
10
|
+
* Status Dialog
|
11
|
+
*
|
12
|
+
* @slot - This element has a slot
|
13
|
+
*/
|
14
|
+
export declare class CovalentStatusDialog extends CovalentDialog {
|
15
|
+
_details?: HTMLSlotElement;
|
16
|
+
/**
|
17
|
+
* The state representation error|positive|warning
|
18
|
+
*/
|
19
|
+
state: 'error' | 'positive' | 'warning';
|
20
|
+
/**
|
21
|
+
* Whether the content details are expanded
|
22
|
+
*/
|
23
|
+
protected expandDetails: boolean;
|
24
|
+
/**
|
25
|
+
* Whether the expand details link is shown
|
26
|
+
*/
|
27
|
+
showDetailsLink: boolean;
|
28
|
+
static styles: import("lit").CSSResult[];
|
29
|
+
protected firstUpdated(): void;
|
30
|
+
toggleDetails(): void;
|
31
|
+
private _getStatusIcon;
|
32
|
+
renderDetails(): import("lit-html").TemplateResult<1>;
|
33
|
+
protected renderHeading(): import("lit-html").TemplateResult<1>;
|
34
|
+
render(): import("lit-html").TemplateResult<1>;
|
35
|
+
}
|
36
|
+
export default CovalentStatusDialog;
|
@@ -0,0 +1,8 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
export declare class StatusHeaderBase extends LitElement {
|
3
|
+
state: 'active' | 'positive' | 'caution' | 'error' | 'neutral';
|
4
|
+
statusText: string;
|
5
|
+
statusHelper: string;
|
6
|
+
titleText: string;
|
7
|
+
protected render(): import("lit-html").TemplateResult<1>;
|
8
|
+
}
|
@@ -0,0 +1,17 @@
|
|
1
|
+
import { LitElement } from 'lit';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-status-header-item': CovalentStatusHeaderItem;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
/**
|
8
|
+
* Status header item
|
9
|
+
*
|
10
|
+
* @slot - This element has a slot
|
11
|
+
*/
|
12
|
+
export declare class CovalentStatusHeaderItem extends LitElement {
|
13
|
+
static styles: import("lit").CSSResult[];
|
14
|
+
label: string;
|
15
|
+
render(): import("lit-html").TemplateResult<1>;
|
16
|
+
}
|
17
|
+
export default CovalentStatusHeaderItem;
|
@@ -0,0 +1,15 @@
|
|
1
|
+
import { StatusHeaderBase } from './status-header-base';
|
2
|
+
/**
|
3
|
+
* Status header
|
4
|
+
*
|
5
|
+
* @slot - This element has a slot
|
6
|
+
*/
|
7
|
+
export declare class CovalentStatusHeader extends StatusHeaderBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
declare global {
|
11
|
+
interface HTMLElementTagNameMap {
|
12
|
+
'cv-status-header': CovalentStatusHeader;
|
13
|
+
}
|
14
|
+
}
|
15
|
+
export default CovalentStatusHeader;
|
@@ -0,0 +1,10 @@
|
|
1
|
+
import { SwitchBase } from '@material/mwc-switch/mwc-switch-base';
|
2
|
+
declare global {
|
3
|
+
interface HTMLElementTagNameMap {
|
4
|
+
'cv-switch': CovalentSwitch;
|
5
|
+
}
|
6
|
+
}
|
7
|
+
export declare class CovalentSwitch extends SwitchBase {
|
8
|
+
static styles: import("lit").CSSResult[];
|
9
|
+
}
|
10
|
+
export default CovalentSwitch;
|