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

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,29 @@
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
+ }
@@ -0,0 +1,15 @@
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;
@@ -0,0 +1,36 @@
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
+ }
@@ -0,0 +1,15 @@
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;
@@ -0,0 +1,75 @@
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;
@@ -0,0 +1,50 @@
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;
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,28 @@
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 ADDED
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,10 @@
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;
@@ -0,0 +1,51 @@
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
+ }
@@ -0,0 +1,32 @@
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
+ }
@@ -0,0 +1,15 @@
1
+ import { ChipSetBase } from './chip-set-base';
2
+ /**
3
+ * Action ribbon
4
+ *
5
+ * @slot - This element has a slot
6
+ */
7
+ export declare class CovalentChipSet extends ChipSetBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ 'cv-chip-set': CovalentChipSet;
13
+ }
14
+ }
15
+ export default CovalentChipSet;
@@ -0,0 +1,15 @@
1
+ import { ChipBase } from './chip-base';
2
+ /**
3
+ * Action ribbon
4
+ *
5
+ * @slot - This element has a slot
6
+ */
7
+ export declare class CovalentChip extends ChipBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ declare global {
11
+ interface HTMLElementTagNameMap {
12
+ 'cv-chip': CovalentChip;
13
+ }
14
+ }
15
+ export default CovalentChip;
@@ -0,0 +1,10 @@
1
+ import { CircularProgressBase } from '@material/mwc-circular-progress/mwc-circular-progress-base';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-circular-progress': CovalentCircularProgress;
5
+ }
6
+ }
7
+ export declare class CovalentCircularProgress extends CircularProgressBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ export default CovalentCircularProgress;
@@ -0,0 +1,62 @@
1
+ import { LitElement, PropertyValues } from 'lit';
2
+ import { editor } from 'monaco-editor/esm/vs/editor/editor.api.js';
3
+ import 'monaco-editor/esm/vs/basic-languages/html/html.contribution';
4
+ import 'monaco-editor/esm/vs/basic-languages/css/css.contribution';
5
+ import 'monaco-editor/esm/vs/basic-languages/javascript/javascript.contribution';
6
+ import 'monaco-editor/esm/vs/basic-languages/typescript/typescript.contribution';
7
+ import 'monaco-editor/esm/vs/basic-languages/python/python.contribution';
8
+ import 'monaco-editor/esm/vs/basic-languages/sql/sql.contribution';
9
+ import 'monaco-editor/esm/vs/basic-languages/markdown/markdown.contribution';
10
+ import 'monaco-editor/esm/vs/basic-languages/r/r.contribution';
11
+ export declare class CovalentCodeEditor extends LitElement {
12
+ /**
13
+ * The container where editor will be created
14
+ */
15
+ private container;
16
+ /**
17
+ * Editor instance
18
+ */
19
+ editor?: editor.IStandaloneCodeEditor;
20
+ /**
21
+ * Theme of the editor
22
+ */
23
+ theme?: string;
24
+ /**
25
+ * Language of th editor instance
26
+ */
27
+ language?: string;
28
+ /**
29
+ * Code entered into the editor
30
+ */
31
+ code?: string;
32
+ /**
33
+ * Disable scroll bar and set the editor height based on content
34
+ */
35
+ disableScroll?: boolean;
36
+ /**
37
+ * Options that can be set for the editor
38
+ */
39
+ options?: editor.IEditorOptions & editor.IGlobalEditorOptions;
40
+ static styles: import("lit").CSSResult[];
41
+ private getFile;
42
+ private getCode;
43
+ private getLang;
44
+ private getTheme;
45
+ private setTheme;
46
+ adjustHeight(): void;
47
+ createEditor(container: HTMLElement): void;
48
+ disconnectedCallback(): void;
49
+ firstUpdated(): void;
50
+ getEditorInstance(): editor.IStandaloneCodeEditor | undefined;
51
+ getValue(): string | undefined;
52
+ onModelChange(): void;
53
+ render(): import("lit-html").TemplateResult<1>;
54
+ setValue(value: string): void;
55
+ updated(changedProperties: PropertyValues): void;
56
+ }
57
+ declare global {
58
+ interface HTMLElementTagNameMap {
59
+ 'cv-code-editor': CovalentCodeEditor;
60
+ }
61
+ }
62
+ export default CovalentCodeEditor;
@@ -0,0 +1,72 @@
1
+ export declare const cvEditorDarkTheme: {
2
+ base: string;
3
+ inherit: boolean;
4
+ rules: ({
5
+ token: string;
6
+ foreground: string;
7
+ background: string;
8
+ fontStyle?: undefined;
9
+ } | {
10
+ token: string;
11
+ foreground: string;
12
+ background?: undefined;
13
+ fontStyle?: undefined;
14
+ } | {
15
+ token: string;
16
+ foreground: string;
17
+ fontStyle: string;
18
+ background?: undefined;
19
+ } | {
20
+ token: string;
21
+ fontStyle: string;
22
+ foreground?: undefined;
23
+ background?: undefined;
24
+ })[];
25
+ colors: {
26
+ comment: string;
27
+ 'editor.background': string;
28
+ 'editor.foreground': string;
29
+ 'editorCursor.foreground': string;
30
+ 'editorLineNumber.activeForeground': string;
31
+ 'editorLineNumber.foreground': string;
32
+ 'editor.lineHighlightBackground': string;
33
+ 'inputValidation.errorBackground': string;
34
+ 'inputValidation.errorBorder': string;
35
+ };
36
+ };
37
+ export declare const cvEditorLightTheme: {
38
+ base: string;
39
+ inherit: boolean;
40
+ rules: ({
41
+ token: string;
42
+ foreground: string;
43
+ background: string;
44
+ fontStyle?: undefined;
45
+ } | {
46
+ token: string;
47
+ foreground: string;
48
+ background?: undefined;
49
+ fontStyle?: undefined;
50
+ } | {
51
+ token: string;
52
+ foreground: string;
53
+ fontStyle: string;
54
+ background?: undefined;
55
+ } | {
56
+ token: string;
57
+ fontStyle: string;
58
+ foreground?: undefined;
59
+ background?: undefined;
60
+ })[];
61
+ colors: {
62
+ comment: string;
63
+ 'editor.background': string;
64
+ 'editor.foreground': string;
65
+ 'editorCursor.foreground': string;
66
+ 'editorLineNumber.activeForeground': string;
67
+ 'editorLineNumber.foreground': string;
68
+ 'editor.lineHighlightBackground': string;
69
+ 'inputValidation.errorBackground': string;
70
+ 'inputValidation.errorBorder': string;
71
+ };
72
+ };
@@ -0,0 +1,22 @@
1
+ import { LitElement } from 'lit';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-code-snippet': CovalentCodeSnippet;
5
+ }
6
+ }
7
+ export declare class CovalentCodeSnippet extends LitElement {
8
+ static styles: import("lit").CSSResult[];
9
+ language?: string;
10
+ label?: string;
11
+ inline: boolean;
12
+ hideHeader: boolean;
13
+ _codeItems: Array<Node>;
14
+ maxHeight?: number;
15
+ private _code;
16
+ highlight(): void;
17
+ firstUpdated(): void;
18
+ render(): import("lit-html").TemplateResult<1>;
19
+ renderContainer(): import("lit-html").TemplateResult<1>;
20
+ renderHeader(): import("lit-html").TemplateResult<1>;
21
+ }
22
+ export default CovalentCodeSnippet;
@@ -0,0 +1,14 @@
1
+ import { DialogBase } from '@material/mwc-dialog/mwc-dialog-base';
2
+ import { MDCDialogAdapter } from '@material/dialog/adapter.js';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'cv-dialog': CovalentDialog;
6
+ }
7
+ }
8
+ export declare class CovalentDialog extends DialogBase {
9
+ static styles: import("lit").CSSResult[];
10
+ /** Enables/Disables the trap focus functionality that uses blocking-elements library */
11
+ trapFocus: boolean;
12
+ protected createAdapter(): MDCDialogAdapter;
13
+ }
14
+ export default CovalentDialog;
@@ -0,0 +1,10 @@
1
+ import { DrawerBase } from '@material/mwc-drawer/mwc-drawer-base';
2
+ declare global {
3
+ interface HTMLElementTagNameMap {
4
+ 'cv-drawer': CovalentDrawer;
5
+ }
6
+ }
7
+ export declare class CovalentDrawer extends DrawerBase {
8
+ static styles: import("lit").CSSResult[];
9
+ }
10
+ export default CovalentDrawer;
@@ -0,0 +1,16 @@
1
+ import { LitElement } from 'lit';
2
+ import '../icon/icon';
3
+ declare global {
4
+ interface HTMLElementTagNameMap {
5
+ 'cv-empty-state': CovalentEmptyState;
6
+ }
7
+ }
8
+ export declare class CovalentEmptyState extends LitElement {
9
+ static styles: import("lit").CSSResult[];
10
+ headline: string;
11
+ subtitle: string;
12
+ icon: string;
13
+ card: boolean;
14
+ render(): import("lit-html").TemplateResult<1>;
15
+ }
16
+ export default CovalentEmptyState;
@@ -0,0 +1,26 @@
1
+ import { LitElement } from 'lit';
2
+ import '../icon/icon';
3
+ export declare class CovalentExpansionPanelItem extends LitElement {
4
+ static styles: import("lit").CSSResult[];
5
+ index: number;
6
+ open: boolean;
7
+ isTopPanel: boolean;
8
+ isInnerPanel: boolean;
9
+ isBottomPanel: boolean;
10
+ isSinglePanel: boolean;
11
+ belowOpenInnerPanel: boolean;
12
+ aboveOpenInnerPanel: boolean;
13
+ separateSinglePanel: boolean;
14
+ title: string;
15
+ contentPreview: string;
16
+ showFooter: boolean;
17
+ noSurface: boolean;
18
+ render(): import("lit-html").TemplateResult<1>;
19
+ resetPanel(): void;
20
+ private _toggleContent;
21
+ }
22
+ declare global {
23
+ interface HTMLElementTagNameMap {
24
+ 'cv-expansion-panel-item': CovalentExpansionPanelItem;
25
+ }
26
+ }
@@ -0,0 +1,15 @@
1
+ import { LitElement } from 'lit';
2
+ import { CovalentExpansionPanelItem } from './expansion-panel-item';
3
+ export declare class CovalentExpansionPanel extends LitElement {
4
+ noSurface: boolean;
5
+ titleWidth: string;
6
+ panelItems: CovalentExpansionPanelItem[];
7
+ render(): import("lit-html").TemplateResult<1>;
8
+ private _handleToggle;
9
+ firstUpdated(): void;
10
+ }
11
+ declare global {
12
+ interface HTMLElementTagNameMap {
13
+ 'cv-expansion-panel': CovalentExpansionPanel;
14
+ }
15
+ }