@covalent/components 11.0.0 → 11.0.1-beta.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (67) hide show
  1. package/package.json +1 -58
  2. package/action-ribbon/action-ribbon-base.d.ts +0 -29
  3. package/action-ribbon/action-ribbon.d.ts +0 -15
  4. package/alert/alert-base.d.ts +0 -36
  5. package/alert/alert.d.ts +0 -15
  6. package/app-shell/app-shell.d.ts +0 -75
  7. package/badge/badge.d.ts +0 -50
  8. package/button/button.d.ts +0 -10
  9. package/card/card-base.d.ts +0 -28
  10. package/card/card.d.ts +0 -10
  11. package/checkbox/checkbox.d.ts +0 -10
  12. package/chips/chip-base.d.ts +0 -51
  13. package/chips/chip-set-base.d.ts +0 -32
  14. package/chips/chip-set.d.ts +0 -15
  15. package/chips/chip.d.ts +0 -15
  16. package/circular-progress/circular-progress.d.ts +0 -10
  17. package/code-editor/code-editor.d.ts +0 -62
  18. package/code-editor/code-editor.theme.d.ts +0 -72
  19. package/code-snippet/code-snippet.d.ts +0 -22
  20. package/dialog/dialog.d.ts +0 -14
  21. package/drawer/drawer.d.ts +0 -10
  22. package/empty-state/empty-state.d.ts +0 -16
  23. package/expansion-panel/expansion-panel-item.d.ts +0 -26
  24. package/expansion-panel/expansion-panel.d.ts +0 -15
  25. package/focused-page/focused-page.d.ts +0 -54
  26. package/formfield/formfield.d.ts +0 -10
  27. package/full-screen-dialog/full-screen-dialog.d.ts +0 -31
  28. package/icon/_icon-list.d.ts +0 -3
  29. package/icon/icon-demo.d.ts +0 -13
  30. package/icon/icon.d.ts +0 -10
  31. package/icon-button/icon-button.d.ts +0 -10
  32. package/icon-button-toggle/icon-button-toggle.d.ts +0 -18
  33. package/icon-checkbox/icon-check-toggle.d.ts +0 -16
  34. package/icon-lockup/icon-lockup.d.ts +0 -63
  35. package/icon-radio/icon-radio-toggle.d.ts +0 -13
  36. package/index.d.ts +0 -59
  37. package/linear-progress/linear-progress.d.ts +0 -10
  38. package/list/check-list-item.d.ts +0 -10
  39. package/list/list-item.d.ts +0 -10
  40. package/list/list.d.ts +0 -10
  41. package/list/nav-list-item.d.ts +0 -29
  42. package/list/radio-list-item.d.ts +0 -10
  43. package/menu/menu.d.ts +0 -10
  44. package/notebook-cell/notebook-cell.d.ts +0 -95
  45. package/radio/radio.d.ts +0 -10
  46. package/select/select.d.ts +0 -10
  47. package/side-sheet/side-sheet.d.ts +0 -17
  48. package/slider/slider-range.d.ts +0 -10
  49. package/slider/slider.d.ts +0 -10
  50. package/snackbar/snackbar.d.ts +0 -10
  51. package/status-dialog/status-dialog.d.ts +0 -36
  52. package/status-header/status-header-base.d.ts +0 -8
  53. package/status-header/status-header-item.d.ts +0 -17
  54. package/status-header/status-header.d.ts +0 -15
  55. package/switch/switch.d.ts +0 -10
  56. package/tab/tab-bar.d.ts +0 -10
  57. package/tab/tab.d.ts +0 -10
  58. package/text-lockup/text-lockup.d.ts +0 -18
  59. package/textarea/textarea.d.ts +0 -10
  60. package/textfield/textfield.d.ts +0 -11
  61. package/toolbar/toolbar.d.ts +0 -14
  62. package/tooltip/tooltip.d.ts +0 -27
  63. package/top-app-bar/top-app-bar-fixed.d.ts +0 -10
  64. package/top-app-bar/top-app-bar.d.ts +0 -10
  65. package/tree-list/tree-list-item.d.ts +0 -17
  66. package/tree-list/tree-list.d.ts +0 -11
  67. package/typography/typography.d.ts +0 -12
package/package.json CHANGED
@@ -1,12 +1,11 @@
1
1
  {
2
2
  "name": "@covalent/components",
3
- "version": "11.0.0",
3
+ "version": "11.0.1-beta.2",
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",
10
9
  "sass": "./index.scss",
11
10
  "style": "./covalent.css",
12
11
  "import": "./index.mjs",
@@ -18,282 +17,226 @@
18
17
  "sass": "./theme/_index.scss"
19
18
  },
20
19
  "./action-ribbon": {
21
- "types": "./action-ribbon/action-ribbon.d.ts",
22
20
  "import": "./action-ribbon.mjs",
23
21
  "require": "./action-ribbon.js"
24
22
  },
25
23
  "./alert": {
26
- "types": "./alert/alert.d.ts",
27
24
  "import": "./alert.mjs",
28
25
  "require": "./alert.js"
29
26
  },
30
27
  "./app-shell": {
31
- "types": "./app-shell/app-shell.d.ts",
32
28
  "import": "./app-shell.mjs",
33
29
  "require": "./app-shell.js"
34
30
  },
35
31
  "./badge": {
36
- "types": "./badge/badge.d.ts",
37
32
  "import": "./badge.mjs",
38
33
  "require": "./badge.js"
39
34
  },
40
35
  "./button": {
41
- "types": "./button/button.d.ts",
42
36
  "import": "./button.mjs",
43
37
  "require": "./button.js"
44
38
  },
45
39
  "./card": {
46
- "types": "./card/card.d.ts",
47
40
  "import": "./card.mjs",
48
41
  "require": "./card.js"
49
42
  },
50
43
  "./checkbox": {
51
- "types": "./checkbox/checkbox.d.ts",
52
44
  "import": "./checkbox.mjs",
53
45
  "require": "./checkbox.js"
54
46
  },
55
47
  "./check-list-item": {
56
- "types": "./list/check-list-item.d.ts",
57
48
  "import": "./check-list-item.mjs",
58
49
  "require": "./check-list-item.js"
59
50
  },
60
51
  "./chip": {
61
- "types": "./chips/chip.d.ts",
62
52
  "import": "./chip.mjs",
63
53
  "require": "./chip.js"
64
54
  },
65
55
  "./chip-set": {
66
- "types": "./chips/chip-set.d.ts",
67
56
  "import": "./chip-set.mjs",
68
57
  "require": "./chip-set.js"
69
58
  },
70
59
  "./circular-progress": {
71
- "types": "./circular-progress/circular-progress.d.ts",
72
60
  "import": "./circular-progress.mjs",
73
61
  "require": "./circular-progress.js"
74
62
  },
75
63
  "./code-editor": {
76
- "types": "./code-editor/code-editor.d.ts",
77
64
  "import": "./code-editor.mjs",
78
65
  "require": "./code-editor.js"
79
66
  },
80
67
  "./code-snippet": {
81
- "types": "./code-snippet/code-snippet.d.ts",
82
68
  "import": "./code-snippet.mjs",
83
69
  "require": "./code-snippet.js"
84
70
  },
85
71
  "./dialog": {
86
- "types": "./dialog/dialog.d.ts",
87
72
  "import": "./dialog.mjs",
88
73
  "require": "./dialog.js"
89
74
  },
90
75
  "./drawer": {
91
- "types": "./drawer/drawer.d.ts",
92
76
  "import": "./drawer.mjs",
93
77
  "require": "./drawer.js"
94
78
  },
95
79
  "./empty-state": {
96
- "types": "./empty-state/empty-state.d.ts",
97
80
  "import": "./empty-state.mjs",
98
81
  "require": "./empty-state.js"
99
82
  },
100
83
  "./expansion-panel": {
101
- "types": "./expansion-panel/expansion-panel.d.ts",
102
84
  "import": "./expansion-panel.mjs",
103
85
  "require": "./expansion-panel.js"
104
86
  },
105
87
  "./expansion-panel-item": {
106
- "types": "./expansion-panel/expansion-panel-item.d.ts",
107
88
  "import": "./expansion-panel-item.mjs",
108
89
  "require": "./expansion-panel-item.js"
109
90
  },
110
91
  "./focused-page": {
111
- "types": "./focused-page/focused-page.d.ts",
112
92
  "import": "./focused-page.mjs",
113
93
  "require": "./focused-page.js"
114
94
  },
115
95
  "./formfield": {
116
- "types": "./formfield/formfield.d.ts",
117
96
  "import": "./formfield.mjs",
118
97
  "require": "./formfield.js"
119
98
  },
120
99
  "./full-screen-dialog": {
121
- "types": "./full-screen-dialog/full-screen-dialog.d.ts",
122
100
  "import": "./full-screen-dialog.mjs",
123
101
  "require": "./full-screen-dialog.js"
124
102
  },
125
103
  "./icon": {
126
- "types": "./icon/icon.d.ts",
127
104
  "import": "./icon.mjs",
128
105
  "require": "./icon.js"
129
106
  },
130
107
  "./icon-button": {
131
- "types": "./icon-button/icon-button.d.ts",
132
108
  "import": "./icon-button.mjs",
133
109
  "require": "./icon-button.js"
134
110
  },
135
111
  "./icon-button-toggle": {
136
- "types": "./icon-button-toggle/icon-button-toggle.d.ts",
137
112
  "import": "./icon-button-toggle.mjs",
138
113
  "require": "./icon-button-toggle.js"
139
114
  },
140
115
  "./icon-check-toggle": {
141
- "types": "./icon-checkbox/icon-check-toggle.d.ts",
142
116
  "import": "./icon-check-toggle.mjs",
143
117
  "require": "./icon-check-toggle.js"
144
118
  },
145
119
  "./icon-lockup": {
146
- "types": "./icon-lockup/icon-lockup.d.ts",
147
120
  "import": "./icon-lockup.mjs",
148
121
  "require": "./icon-lockup.js"
149
122
  },
150
123
  "./icon-radio-toggle": {
151
- "types": "./icon-radio/icon-radio-toggle.d.ts",
152
124
  "import": "./icon-radio-toggle.mjs",
153
125
  "require": "./icon-radio-toggle.js"
154
126
  },
155
127
  "./linear-progress": {
156
- "types": "./linear-progress/linear-progress.d.ts",
157
128
  "import": "./linear-progress.mjs",
158
129
  "require": "./linear-progress.js"
159
130
  },
160
131
  "./list": {
161
- "types": "./list/list.d.ts",
162
132
  "import": "./list.mjs",
163
133
  "require": "./list.js"
164
134
  },
165
135
  "./list-item": {
166
- "types": "./list/list-item.d.ts",
167
136
  "import": "./list-item.mjs",
168
137
  "require": "./list-item.js"
169
138
  },
170
139
  "./menu": {
171
- "types": "./menu/menu.d.ts",
172
140
  "import": "./menu.mjs",
173
141
  "require": "./menu.js"
174
142
  },
175
143
  "./nav-list-item": {
176
- "types": "./list/nav-list-item.d.ts",
177
144
  "import": "./nav-list-item.mjs",
178
145
  "require": "./nav-list-item.js"
179
146
  },
180
147
  "./notebook-cell": {
181
- "types": "./notebook-cell/notebook-cell.d.ts",
182
148
  "import": "./notebook-cell.mjs",
183
149
  "require": "./notebook-cell.js"
184
150
  },
185
151
  "./radio": {
186
- "types": "./radio/radio.d.ts",
187
152
  "import": "./radio.mjs",
188
153
  "require": "./radio.js"
189
154
  },
190
155
  "./radio-list-item": {
191
- "types": "./list/radio-list-item.d.ts",
192
156
  "import": "./radio-list-item.mjs",
193
157
  "require": "./radio-list-item.js"
194
158
  },
195
159
  "./select": {
196
- "types": "./select/select.d.ts",
197
160
  "import": "./select.mjs",
198
161
  "require": "./select.js"
199
162
  },
200
163
  "./side-sheet": {
201
- "types": "./side-sheet/side-sheet.d.ts",
202
164
  "import": "./side-sheet.mjs",
203
165
  "require": "./side-sheet.js"
204
166
  },
205
167
  "./slider": {
206
- "types": "./slider/slider.d.ts",
207
168
  "import": "./slider.mjs",
208
169
  "require": "./slider.js"
209
170
  },
210
171
  "./slider-range": {
211
- "types": "./slider/slider-range.d.ts",
212
172
  "import": "./slider-range.mjs",
213
173
  "require": "./slider-range.js"
214
174
  },
215
175
  "./snackbar": {
216
- "types": "./snackbar/snackbar.d.ts",
217
176
  "import": "./snackbar.mjs",
218
177
  "require": "./snackbar.js"
219
178
  },
220
179
  "./status-dialog": {
221
- "types": "./status-dialog/status-dialog.d.ts",
222
180
  "import": "./status-dialog.mjs",
223
181
  "require": "./status-dialog.js"
224
182
  },
225
183
  "./status-header": {
226
- "types": "./status-header/status-header.d.ts",
227
184
  "import": "./status-header.mjs",
228
185
  "require": "./status-header.js"
229
186
  },
230
187
  "./status-header-item": {
231
- "types": "./status-header/status-header-item.d.ts",
232
188
  "import": "./status-header-item.mjs",
233
189
  "require": "./status-header-item.js"
234
190
  },
235
191
  "./switch": {
236
- "types": "./switch/switch.d.ts",
237
192
  "import": "./switch.mjs",
238
193
  "require": "./switch.js"
239
194
  },
240
195
  "./tab": {
241
- "types": "./tab/tab.d.ts",
242
196
  "import": "./tab.mjs",
243
197
  "require": "./tab.js"
244
198
  },
245
199
  "./tab-bar": {
246
- "types": "./tab/tab-bar.d.ts",
247
200
  "import": "./tab-bar.mjs",
248
201
  "require": "./tab-bar.js"
249
202
  },
250
203
  "./textarea": {
251
- "types": "./textarea/textarea.d.ts",
252
204
  "import": "./textarea.mjs",
253
205
  "require": "./textarea.js"
254
206
  },
255
207
  "./textfield": {
256
- "types": "./textfield/textfield.d.ts",
257
208
  "import": "./textfield.mjs",
258
209
  "require": "./textfield.js"
259
210
  },
260
211
  "./text-lockup": {
261
- "types": "./text-lockup/text-lockup.d.ts",
262
212
  "import": "./text-lockup.mjs",
263
213
  "require": "./text-lockup.js"
264
214
  },
265
215
  "./toolbar": {
266
- "types": "./toolbar/toolbar.d.ts",
267
216
  "import": "./toolbar.mjs",
268
217
  "require": "./toolbar.js"
269
218
  },
270
219
  "./tooltip": {
271
- "types": "./tooltip/tooltip.d.ts",
272
220
  "import": "./tooltip.mjs",
273
221
  "require": "./tooltip.js"
274
222
  },
275
223
  "./top-app-bar": {
276
- "types": "./top-app-bar/top-app-bar.d.ts",
277
224
  "import": "./top-app-bar.mjs",
278
225
  "require": "./top-app-bar.js"
279
226
  },
280
227
  "./top-app-bar-fixed": {
281
- "types": "./top-app-bar/top-app-bar-fixed.d.ts",
282
228
  "import": "./top-app-bar-fixed.mjs",
283
229
  "require": "./top-app-bar-fixed.js"
284
230
  },
285
231
  "./tree-list": {
286
- "types": "./tree-list/tree-list.d.ts",
287
232
  "import": "./tree-list.mjs",
288
233
  "require": "./tree-list.js"
289
234
  },
290
235
  "./tree-list-item": {
291
- "types": "./tree-list/tree-list-item.d.ts",
292
236
  "import": "./tree-list-item.mjs",
293
237
  "require": "./tree-list-item.js"
294
238
  },
295
239
  "./typography": {
296
- "types": "./typography/typography.d.ts",
297
240
  "import": "./typography.mjs",
298
241
  "require": "./typography.js"
299
242
  }
@@ -1,29 +0,0 @@
1
- import { MDCBannerAdapter } from '@material/banner/adapter';
2
- import { CloseReason } from '@material/banner/constants';
3
- import { MDCBannerFoundation } from '@material/banner';
4
- import { LitElement, TemplateResult } from 'lit';
5
- export declare class ActionRibbonBase extends LitElement {
6
- protected mdcFoundation: MDCBannerFoundation;
7
- protected readonly mdcFoundationClass: typeof MDCBannerFoundation;
8
- protected mdcRoot: HTMLElement;
9
- protected mdcContent: HTMLElement;
10
- protected primaryActionEl: HTMLElement;
11
- open: boolean;
12
- labelText: string;
13
- icon: string;
14
- iconAriaLabel: string;
15
- centered: boolean;
16
- /**
17
- * The state representation active|negative|positive|caution|loading|pending|checked
18
- */
19
- state?: 'active' | 'negative' | 'positive' | 'caution' | 'loading' | 'pending' | 'checked';
20
- protected reason: CloseReason;
21
- protected render(): TemplateResult<1>;
22
- protected renderIcon(): TemplateResult;
23
- protected createAdapter(): MDCBannerAdapter;
24
- /** @export */
25
- show(): void;
26
- /** @export */
27
- close(reason?: CloseReason): void;
28
- protected firstUpdated(): Promise<void>;
29
- }
@@ -1,15 +0,0 @@
1
- import { ActionRibbonBase } from './action-ribbon-base';
2
- /**
3
- * Action ribbon
4
- *
5
- * @slot - This element has a slot
6
- */
7
- export declare class CovalentActionRibbon extends ActionRibbonBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- 'cv-action-ribbon': CovalentActionRibbon;
13
- }
14
- }
15
- export default CovalentActionRibbon;
@@ -1,36 +0,0 @@
1
- import { MDCBannerFoundation } from '@material/banner/foundation';
2
- import { MDCBannerAdapter } from '@material/banner/adapter';
3
- import { CloseReason } from '@material/banner/constants';
4
- import { LitElement, TemplateResult } from 'lit';
5
- import '../icon/icon';
6
- export declare class AlertBase extends LitElement {
7
- protected mdcFoundation: MDCBannerFoundation;
8
- protected readonly mdcFoundationClass: typeof MDCBannerFoundation;
9
- private _resizeObserver;
10
- protected mdcRoot: HTMLElement;
11
- protected mdcContent: HTMLElement;
12
- protected mdcGraphicTextWrapper: HTMLElement;
13
- protected currentWidth: number;
14
- open: boolean;
15
- titleText: string;
16
- descriptionText: string;
17
- icon: string;
18
- iconAriaLabel: string;
19
- inline: boolean;
20
- /**
21
- * The state representation active|negative|positive|caution
22
- */
23
- state: string;
24
- constructor();
25
- disconnectedCallback(): void;
26
- protected reason: CloseReason;
27
- protected render(): TemplateResult<1>;
28
- /** @soyTemplate */
29
- protected renderIcon(): TemplateResult;
30
- protected createAdapter(): MDCBannerAdapter;
31
- /** @export */
32
- show(): void;
33
- /** @export */
34
- close(reason?: CloseReason): void;
35
- protected firstUpdated(): Promise<void>;
36
- }
package/alert/alert.d.ts DELETED
@@ -1,15 +0,0 @@
1
- import { AlertBase } from './alert-base';
2
- /**
3
- * Action ribbon
4
- *
5
- * @slot - This element has a slot
6
- */
7
- export declare class CovalentAlert extends AlertBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- declare global {
11
- interface HTMLElementTagNameMap {
12
- 'cv-alert': CovalentAlert;
13
- }
14
- }
15
- export default CovalentAlert;
@@ -1,75 +0,0 @@
1
- import { nothing } from 'lit';
2
- import { DrawerBase } from '@material/mwc-drawer/mwc-drawer-base';
3
- import '../top-app-bar/top-app-bar-fixed';
4
- import '../icon-button/icon-button';
5
- import '../card/card';
6
- declare global {
7
- interface HTMLElementTagNameMap {
8
- 'cv-app-shell': CovalentAppShell;
9
- }
10
- }
11
- /**
12
- * App Shell element.
13
- *
14
- * @slot - This element has a slot
15
- */
16
- export declare class CovalentAppShell extends DrawerBase {
17
- static styles: import("lit").CSSResult[];
18
- element: Element | null;
19
- helpWidth: number;
20
- private _startX;
21
- private _startWidth;
22
- private _resizing;
23
- navigationListElements: HTMLElement[];
24
- userMenuElements: HTMLElement[];
25
- /**
26
- * The name of the application to show in the small app bar
27
- */
28
- appName: string;
29
- /**
30
- * The name of the section shown above the navigation
31
- */
32
- sectionName: string;
33
- drawerOpen: boolean;
34
- helpOpen: boolean;
35
- /**
36
- * Make help resizable with drag/drop handle
37
- */
38
- helpResizable: boolean;
39
- /**
40
- * Wrap the main area with a contained card surface
41
- */
42
- contained: boolean;
43
- /**
44
- * Force the left navigation visibly open
45
- */
46
- forcedOpen: boolean;
47
- /**
48
- * Make the content area full width
49
- */
50
- fullWidth: boolean;
51
- private hovered;
52
- private hoverTimeout;
53
- private hoverEntryDuration;
54
- private hoverExitDuration;
55
- constructor();
56
- setupHelpPanelListeners(): void;
57
- toggleHelpPanel(open?: boolean): void;
58
- private _setupEventListeners;
59
- private _startResizing;
60
- private _resize;
61
- private _stopResize;
62
- private _toggleOpen;
63
- private updateHelpPanelWidth;
64
- private _handleMenuClick;
65
- private _handleNavMouseOver;
66
- private _handleNavMouseOut;
67
- private _handleDrawerClosed;
68
- resizeEvent(): void;
69
- connectedCallback(): void;
70
- disconnectedCallback(): void;
71
- protected renderSection(): import("lit-html").TemplateResult<1> | typeof nothing;
72
- protected renderMain(): import("lit-html").TemplateResult<1>;
73
- render(): import("lit-html").TemplateResult<1>;
74
- }
75
- export default CovalentAppShell;
package/badge/badge.d.ts DELETED
@@ -1,50 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export type BadgeSize = 'small' | 'large';
3
- export type BadgeAlignmentVertical = 'top' | 'bottom';
4
- export type BadgeAlignmentHorizonatal = 'left' | 'right';
5
- /**
6
- * Badge
7
- *
8
- * @slot - This element has a slot
9
- */
10
- export declare class CovalentBadge extends LitElement {
11
- static styles: import("lit").CSSResult[];
12
- /**
13
- * The content to be displayed in the badge
14
- */
15
- content?: number | string;
16
- /**
17
- * Caps the value of badge content
18
- */
19
- max?: number;
20
- /**
21
- * Sets the size of the badge
22
- * 'small' represents a dot to notify that something has changed without providing content
23
- */
24
- size?: BadgeSize;
25
- /**
26
- * Controls the visibility of the badge
27
- */
28
- hideBadge?: boolean | undefined;
29
- /**
30
- * Aligns the badge vertically in the wrapped element
31
- */
32
- verticalAlignment?: BadgeAlignmentVertical;
33
- /**
34
- * Aligns the badge horizontally in the wrapped element
35
- */
36
- horizontalAlignment?: BadgeAlignmentHorizonatal;
37
- /**
38
- * Shows the badge when count is zero
39
- */
40
- showZero?: boolean;
41
- firstUpdated(): void;
42
- getContent(): number | string;
43
- render(): import("lit-html").TemplateResult<1>;
44
- }
45
- declare global {
46
- interface HTMLElementTagNameMap {
47
- 'cv-badge': CovalentBadge;
48
- }
49
- }
50
- export default CovalentBadge;
@@ -1,10 +0,0 @@
1
- import { ButtonBase } from '@material/mwc-button/mwc-button-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'cv-button': CovalentButton;
5
- }
6
- }
7
- export declare class CovalentButton extends ButtonBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- export default CovalentButton;
@@ -1,28 +0,0 @@
1
- import { LitElement } from 'lit';
2
- export declare class CardBase extends LitElement {
3
- /**
4
- * The title of the card
5
- */
6
- cardTitle: string;
7
- /**
8
- * The sub-title of the card
9
- */
10
- subTitle: string;
11
- /**
12
- * Displays the action bar
13
- */
14
- actionBar: boolean;
15
- /**
16
- * Displays the ripple affect in primary area
17
- */
18
- interactive: boolean;
19
- /**
20
- * Style the card as an outline variant
21
- */
22
- outlined: boolean;
23
- /**
24
- * Style the card 100% height
25
- */
26
- fullHeight: boolean;
27
- render(): import("lit-html").TemplateResult<1>;
28
- }
package/card/card.d.ts DELETED
@@ -1,10 +0,0 @@
1
- import { CardBase } from './card-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'cv-card': CovalentCard;
5
- }
6
- }
7
- export declare class CovalentCard extends CardBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- export default CovalentCard;
@@ -1,10 +0,0 @@
1
- import { CheckboxBase } from '@material/mwc-checkbox/mwc-checkbox-base';
2
- declare global {
3
- interface HTMLElementTagNameMap {
4
- 'cv-checkbox': CovalentCheckbox;
5
- }
6
- }
7
- export declare class CovalentCheckbox extends CheckboxBase {
8
- static styles: import("lit").CSSResult[];
9
- }
10
- export default CovalentCheckbox;
@@ -1,51 +0,0 @@
1
- import { MDCChipFoundation } from '@material/chips/chip/foundation';
2
- import { MDCChipAnimation } from '@material/chips/chip/constants';
3
- import { MDCChipAction } from '@material/chips/action';
4
- import { MDCChipActionFocusBehavior, MDCChipActionType } from '@material/chips/action/constants';
5
- import { MDCChipAdapter } from '@material/chips/chip/adapter';
6
- import { LitElement } from 'lit';
7
- export declare class ChipBase extends LitElement {
8
- protected mdcFoundation?: MDCChipFoundation;
9
- protected readonly mdcFoundationClass: typeof MDCChipFoundation;
10
- protected actions: Map<MDCChipActionType, MDCChipAction>;
11
- protected chipId: number;
12
- protected mdcRoot: HTMLElement;
13
- /**
14
- * The text label of the chip
15
- */
16
- label: string;
17
- /**
18
- * The icon name to use for primary or leading chip
19
- */
20
- icon: string;
21
- trailingIcon: boolean;
22
- avatar: boolean;
23
- /**
24
- * The text label of the chip
25
- */
26
- disabled: boolean;
27
- /**
28
- * Set the filter chip varient
29
- */
30
- filter: boolean;
31
- /**
32
- * The state representation secondary|negative|positive|caution
33
- */
34
- state?: 'secondary' | 'negative' | 'positive' | 'caution';
35
- constructor();
36
- protected render(): import("lit-html").TemplateResult<1>;
37
- protected firstUpdated(): Promise<void>;
38
- protected renderGraphic(): import("lit-html").TemplateResult<1>;
39
- protected renderCheckMark(): import("lit-html").TemplateResult<1>;
40
- protected renderIcon(trailing?: boolean): import("lit-html").TemplateResult<1>;
41
- protected renderTrailing(): import("lit-html").TemplateResult<1>;
42
- protected createAdapter(): MDCChipAdapter;
43
- getActions(): MDCChipActionType[];
44
- getElementID(): string;
45
- isActionFocusable(action: MDCChipActionType): boolean;
46
- isActionSelectable(action: MDCChipActionType): boolean;
47
- isActionSelected(action: MDCChipActionType): boolean;
48
- setActionFocus(action: MDCChipActionType, focus: MDCChipActionFocusBehavior): void | undefined;
49
- setActionSelected(actionType: MDCChipActionType, isSelected: boolean): void | undefined;
50
- startAnimation(animation: MDCChipAnimation): void | undefined;
51
- }
@@ -1,32 +0,0 @@
1
- import { MDCChipSetAdapter } from '@material/chips/chip-set/adapter';
2
- import { MDCChipSetFoundation } from '@material/chips/chip-set/foundation';
3
- import { LitElement, PropertyValues } from 'lit';
4
- import { CovalentChip } from './chip';
5
- export declare class ChipSetBase extends LitElement {
6
- protected mdcFoundation: MDCChipSetFoundation;
7
- protected mdcRoot: HTMLElement;
8
- /**
9
- * Set if the chips are selectable/actionable
10
- */
11
- selectable: boolean;
12
- /**
13
- * Set the chips are mulit-selectable
14
- */
15
- multi: boolean;
16
- /**
17
- * The arial label for the the chip set
18
- */
19
- label: string;
20
- activeIndex: number;
21
- protected _previousActiveIndex: number;
22
- protected chips: CovalentChip[];
23
- render(): import("lit-html").TemplateResult<1>;
24
- protected updated(changedProps: PropertyValues): Promise<void>;
25
- protected firstUpdated(changedProps: PropertyValues): void;
26
- connectedCallback(): void;
27
- disconnectedCallback(): void;
28
- protected createAdapter(): MDCChipSetAdapter;
29
- private _handleChipAnimation;
30
- private _handleChipInteraction;
31
- private _handleChipNavigation;
32
- }