@covalent/components 11.0.0-beta.5 → 11.0.0-beta.6

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 (71) hide show
  1. package/action-ribbon/action-ribbon-base.d.ts +29 -0
  2. package/action-ribbon/action-ribbon.d.ts +15 -0
  3. package/alert/alert-base.d.ts +36 -0
  4. package/alert/alert.d.ts +15 -0
  5. package/app-shell/app-shell.d.ts +75 -0
  6. package/badge/badge.d.ts +50 -0
  7. package/button/button.d.ts +10 -0
  8. package/card/card-base.d.ts +28 -0
  9. package/card/card.d.ts +10 -0
  10. package/checkbox/checkbox.d.ts +10 -0
  11. package/chips/chip-base.d.ts +51 -0
  12. package/chips/chip-set-base.d.ts +32 -0
  13. package/chips/chip-set.d.ts +15 -0
  14. package/chips/chip.d.ts +15 -0
  15. package/circular-progress/circular-progress.d.ts +10 -0
  16. package/code-editor/code-editor.d.ts +62 -0
  17. package/code-editor/code-editor.theme.d.ts +72 -0
  18. package/code-snippet/code-snippet.d.ts +22 -0
  19. package/dialog/dialog.d.ts +14 -0
  20. package/drawer/drawer.d.ts +10 -0
  21. package/empty-state/empty-state.d.ts +16 -0
  22. package/expansion-panel/expansion-panel-item.d.ts +26 -0
  23. package/expansion-panel/expansion-panel.d.ts +15 -0
  24. package/focused-page/focused-page.d.ts +54 -0
  25. package/formfield/formfield.d.ts +10 -0
  26. package/full-screen-dialog/full-screen-dialog.d.ts +31 -0
  27. package/icon/_icon-list.d.ts +3 -0
  28. package/icon/icon-demo.d.ts +13 -0
  29. package/icon/icon.d.ts +10 -0
  30. package/icon-button/icon-button.d.ts +10 -0
  31. package/icon-button-toggle/icon-button-toggle.d.ts +18 -0
  32. package/icon-checkbox/icon-check-toggle.d.ts +16 -0
  33. package/icon-lockup/icon-lockup.d.ts +63 -0
  34. package/icon-radio/icon-radio-toggle.d.ts +13 -0
  35. package/index.d.ts +59 -0
  36. package/index.scss +1 -0
  37. package/linear-progress/linear-progress.d.ts +10 -0
  38. package/list/check-list-item.d.ts +10 -0
  39. package/list/list-item.d.ts +10 -0
  40. package/list/list.d.ts +10 -0
  41. package/list/nav-list-item.d.ts +29 -0
  42. package/list/radio-list-item.d.ts +10 -0
  43. package/menu/menu.d.ts +10 -0
  44. package/notebook-cell/notebook-cell.d.ts +95 -0
  45. package/package.json +1 -4
  46. package/radio/radio.d.ts +10 -0
  47. package/select/select.d.ts +10 -0
  48. package/side-sheet/side-sheet.d.ts +17 -0
  49. package/slider/slider-range.d.ts +10 -0
  50. package/slider/slider.d.ts +10 -0
  51. package/snackbar/snackbar.d.ts +10 -0
  52. package/status-dialog/status-dialog.d.ts +36 -0
  53. package/status-header/status-header-base.d.ts +8 -0
  54. package/status-header/status-header-item.d.ts +17 -0
  55. package/status-header/status-header.d.ts +15 -0
  56. package/switch/switch.d.ts +10 -0
  57. package/tab/tab-bar.d.ts +10 -0
  58. package/tab/tab.d.ts +10 -0
  59. package/text-lockup/text-lockup.d.ts +18 -0
  60. package/textarea/textarea.d.ts +10 -0
  61. package/textfield/textfield.d.ts +11 -0
  62. package/theme/_index.scss +54 -0
  63. package/theme/prebuilt/dark-theme.css +1 -0
  64. package/theme/prebuilt/light-theme.css +1 -0
  65. package/toolbar/toolbar.d.ts +14 -0
  66. package/tooltip/tooltip.d.ts +27 -0
  67. package/top-app-bar/top-app-bar-fixed.d.ts +10 -0
  68. package/top-app-bar/top-app-bar.d.ts +10 -0
  69. package/tree-list/tree-list-item.d.ts +17 -0
  70. package/tree-list/tree-list.d.ts +11 -0
  71. package/typography/typography.d.ts +12 -0
@@ -0,0 +1,54 @@
1
+ import { LitElement, PropertyValues, TemplateResult } from 'lit';
2
+ /**
3
+ * Focused page
4
+ *
5
+ * @slot - This element has a slot
6
+ */
7
+ export declare class CovalentFocusedPage extends LitElement {
8
+ static styles: import("lit").CSSResult[];
9
+ /**
10
+ * Whether the help section is open or not
11
+ */
12
+ helpOpen: boolean;
13
+ /**
14
+ * Whether the help section is resizable
15
+ */
16
+ helpResizable: boolean;
17
+ /**
18
+ * Whether the top border is hidden
19
+ */
20
+ hideTopBorder: boolean;
21
+ /**
22
+ * DOM element of the container div
23
+ */
24
+ container: HTMLDivElement;
25
+ /**
26
+ * DOM element of the help panel
27
+ */
28
+ helpPanel: HTMLElement;
29
+ /**
30
+ * DOM element of the resize handler
31
+ */
32
+ resizeHandle: HTMLElement;
33
+ /**
34
+ * Whether the help section is being resized
35
+ */
36
+ private _isResizing;
37
+ constructor();
38
+ protected firstUpdated(): void;
39
+ openHelpPanel(): void;
40
+ closeHelpPanel(): void;
41
+ resetHelpPanelWidth(): void;
42
+ setHelpPanelWidth(width: string): void;
43
+ protected updated(_changedProperties: PropertyValues): void;
44
+ private _resizerMouseMove;
45
+ private _resizerMouseUp;
46
+ private _startResizing;
47
+ protected render(): TemplateResult<1>;
48
+ }
49
+ declare global {
50
+ interface HTMLElementTagNameMap {
51
+ 'cv-focused-page': CovalentFocusedPage;
52
+ }
53
+ }
54
+ export default CovalentFocusedPage;
@@ -0,0 +1,10 @@
1
+ import { FormfieldBase } from '@material/mwc-formfield/mwc-formfield-base';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-formfield': CovalentFormfield;
5
+ }
6
+ }
7
+ export declare class CovalentFormfield extends FormfieldBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ export default CovalentFormfield;
@@ -0,0 +1,31 @@
1
+ import { TemplateResult } from 'lit';
2
+ import CovalentDialog from '../dialog/dialog';
3
+ import '../focused-page/focused-page';
4
+ /**
5
+ * Full-screen Dialog
6
+ *
7
+ * @slot - This element has a slot
8
+ */
9
+ export declare class CovalentFullscreenDialog extends CovalentDialog {
10
+ static styles: import("lit").CSSResult[];
11
+ /**
12
+ * Whether the help section is open or not
13
+ */
14
+ helpOpen: boolean;
15
+ /**
16
+ * Whether the help section is resizable
17
+ */
18
+ helpResizable: boolean;
19
+ /**
20
+ * Since the default, action slots of mdc-dialog have been replaced with the focused page component,
21
+ * override this method to return focused page as the initial focus element
22
+ */
23
+ protected getInitialFocusEl(): HTMLElement | null;
24
+ protected render(): TemplateResult<1>;
25
+ }
26
+ declare global {
27
+ interface HTMLElementTagNameMap {
28
+ 'cv-full-screen-dialog': CovalentFullscreenDialog;
29
+ }
30
+ }
31
+ export default CovalentFullscreenDialog;
@@ -0,0 +1,3 @@
1
+ export declare const MAT_ICON_LIST: string[];
2
+ export declare const COV_ICON_LIST: string[];
3
+ export default COV_ICON_LIST;
@@ -0,0 +1,13 @@
1
+ import { LitElement } from 'lit';
2
+ import './icon.js';
3
+ import '../typography/typography.js';
4
+ export declare class CovalentIconDemo extends LitElement {
5
+ static styles: import("lit").CSSResult[];
6
+ render(): import("lit-html").TemplateResult<1>;
7
+ }
8
+ declare global {
9
+ interface HTMLElementTagNameMap {
10
+ 'cv-icon-demo': CovalentIconDemo;
11
+ }
12
+ }
13
+ export default CovalentIconDemo;
package/icon/icon.d.ts ADDED
@@ -0,0 +1,10 @@
1
+ import { Icon } from '@material/mwc-icon/mwc-icon';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-icon': CovalentIcon;
5
+ }
6
+ }
7
+ export declare class CovalentIcon extends Icon {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ export default CovalentIcon;
@@ -0,0 +1,10 @@
1
+ import { IconButtonBase } from '@material/mwc-icon-button/mwc-icon-button-base';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-icon-button': CovalentIconButton;
5
+ }
6
+ }
7
+ export declare class CovalentIconButton extends IconButtonBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ export default CovalentIconButton;
@@ -0,0 +1,18 @@
1
+ import { PropertyValues } from 'lit';
2
+ import { IconButtonToggle } from '@material/mwc-icon-button-toggle/mwc-icon-button-toggle';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'cv-icon-button-toggle': CovalentIconButtonToggle;
6
+ }
7
+ }
8
+ export declare class CovalentIconButtonToggle extends IconButtonToggle {
9
+ /**
10
+ * Angular doesn't allow properties that begin with 'on' to be set due to security reasons.
11
+ * This is an alias for the 'on' property in mwc-icon-button-toggle, which can be used to toggle the button on/off.
12
+ */
13
+ toggledOn: boolean;
14
+ static styles: import("lit").CSSResult[];
15
+ protected update(changedProperties: PropertyValues): void;
16
+ protected renderRipple(): "" | import("lit-html").TemplateResult<1>;
17
+ }
18
+ export default CovalentIconButtonToggle;
@@ -0,0 +1,16 @@
1
+ import { CheckboxBase } from '@material/mwc-checkbox/mwc-checkbox-base';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-icon-check-item': CovalentIconCheckToggle;
5
+ }
6
+ }
7
+ export declare class CovalentIconCheckToggle extends CheckboxBase {
8
+ static styles: import("lit").CSSResult[];
9
+ width: number | string;
10
+ height: number | string;
11
+ iconOnly: boolean;
12
+ protected mdcRoot: HTMLElement;
13
+ render(): import("lit-html").TemplateResult<1>;
14
+ private _handleClick;
15
+ }
16
+ export default CovalentIconCheckToggle;
@@ -0,0 +1,63 @@
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;
@@ -0,0 +1,13 @@
1
+ import { TemplateResult } from 'lit';
2
+ import { RadioBase } from '@material/mwc-radio/mwc-radio-base';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'cv-icon-radio-item': CovalentIconRadioToggle;
6
+ }
7
+ }
8
+ export declare class CovalentIconRadioToggle extends RadioBase {
9
+ static styles: import("lit").CSSResult[];
10
+ iconOnly: boolean;
11
+ protected renderRipple(): TemplateResult | string;
12
+ }
13
+ export default CovalentIconRadioToggle;
package/index.d.ts ADDED
@@ -0,0 +1,59 @@
1
+ export * from './action-ribbon/action-ribbon';
2
+ export * from './alert/alert';
3
+ export * from './app-shell/app-shell';
4
+ export * from './badge/badge';
5
+ export * from './button/button';
6
+ export * from './card/card';
7
+ export * from './checkbox/checkbox';
8
+ export * from './list/check-list-item';
9
+ export * from './chips/chip';
10
+ export * from './chips/chip-set';
11
+ export * from './circular-progress/circular-progress';
12
+ export * from './code-editor/code-editor';
13
+ export * from './code-editor/code-editor.theme';
14
+ export * from './code-snippet/code-snippet';
15
+ export * from './dialog/dialog';
16
+ export * from './drawer/drawer';
17
+ export * from './empty-state/empty-state';
18
+ export * from './expansion-panel/expansion-panel';
19
+ export * from './expansion-panel/expansion-panel-item';
20
+ export * from './focused-page/focused-page';
21
+ export * from './formfield/formfield';
22
+ export * from './full-screen-dialog/full-screen-dialog';
23
+ export * from './icon/icon';
24
+ export * from './icon/_icon-list';
25
+ export * from './icon/icon-demo';
26
+ export * from './icon-button/icon-button';
27
+ export * from './icon-button-toggle/icon-button-toggle';
28
+ export * from './icon-checkbox/icon-check-toggle';
29
+ export * from './icon-lockup/icon-lockup';
30
+ export * from './icon-radio/icon-radio-toggle';
31
+ export * from './linear-progress/linear-progress';
32
+ export * from './list/list';
33
+ export * from './list/list-item';
34
+ export * from './menu/menu';
35
+ export * from './list/nav-list-item';
36
+ export * from './notebook-cell/notebook-cell';
37
+ export * from './radio/radio';
38
+ export * from './list/radio-list-item';
39
+ export * from './select/select';
40
+ export * from './side-sheet/side-sheet';
41
+ export * from './slider/slider';
42
+ export * from './slider/slider-range';
43
+ export * from './snackbar/snackbar';
44
+ export * from './status-dialog/status-dialog';
45
+ export * from './status-header/status-header';
46
+ export * from './status-header/status-header-item';
47
+ export * from './switch/switch';
48
+ export * from './tab/tab';
49
+ export * from './tab/tab-bar';
50
+ export * from './textarea/textarea';
51
+ export * from './textfield/textfield';
52
+ export * from './text-lockup/text-lockup';
53
+ export * from './toolbar/toolbar';
54
+ export * from './tooltip/tooltip';
55
+ export * from './top-app-bar/top-app-bar';
56
+ export * from './top-app-bar/top-app-bar-fixed';
57
+ export * from './tree-list/tree-list';
58
+ export * from './tree-list/tree-list-item';
59
+ export * from './typography/typography';
package/index.scss ADDED
@@ -0,0 +1 @@
1
+ @forward './theme' show components-theme;
@@ -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,12 +1,9 @@
1
1
  {
2
2
  "name": "@covalent/components",
3
- "version": "11.0.0-beta.5",
3
+ "version": "11.0.0-beta.6",
4
4
  "description": "a catalog of material components for covalent",
5
- "type": "module",
6
5
  "main": "./index.js",
7
6
  "module": "./index.mjs",
8
- "types": "./index.d.ts",
9
- "style": "./covalent.css",
10
7
  "exports": {
11
8
  ".": {
12
9
  "types": "./index.d.ts",
@@ -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
+ }