@covalent/components-react 0.0.0-COVALENT
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/.eslintrc.json +23 -0
- package/README.md +168 -0
- package/package.json +10 -0
- package/project.json +48 -0
- package/src/ActionRibbon/CovalentActionRibbon.spec.ts +7 -0
- package/src/ActionRibbon/CovalentActionRibbon.tsx +8 -0
- package/src/Alert/CovalentAlert.spec.ts +7 -0
- package/src/Alert/CovalentAlert.tsx +8 -0
- package/src/AppShell/CovalentAppShell.spec.ts +7 -0
- package/src/AppShell/CovalentAppShell.tsx +11 -0
- package/src/Badge/CovalentBadge.spec.ts +7 -0
- package/src/Badge/CovalentBadge.tsx +8 -0
- package/src/Button/CovalentButton.spec.ts +7 -0
- package/src/Button/CovalentButton.tsx +8 -0
- package/src/Card/CovalentCard.spec.ts +7 -0
- package/src/Card/CovalentCard.tsx +8 -0
- package/src/Checkbox/CovalentCheckbox.spec.ts +7 -0
- package/src/Checkbox/CovalentCheckbox.tsx +11 -0
- package/src/Chips/CovalentChip.spec.ts +7 -0
- package/src/Chips/CovalentChip.tsx +8 -0
- package/src/Chips/CovalentChipSet.spec.ts +7 -0
- package/src/Chips/CovalentChipSet.tsx +8 -0
- package/src/CircularProgress/CovalentCircularProgress.spec.ts +7 -0
- package/src/CircularProgress/CovalentCircularProgress.tsx +8 -0
- package/src/CodeEditor/CovalentCodeEditor.spec.ts +7 -0
- package/src/CodeEditor/CovalentCodeEditor.tsx +14 -0
- package/src/CodeSnippet/CovalentCodeSnippet.spec.ts +7 -0
- package/src/CodeSnippet/CovalentCodeSnippet.tsx +8 -0
- package/src/Dialog/CovalentDialog.spec.ts +7 -0
- package/src/Dialog/CovalentDialog.tsx +14 -0
- package/src/Drawer/CovalentDrawer.spec.ts +7 -0
- package/src/Drawer/CovalentDrawer.tsx +12 -0
- package/src/EmptyState/CovalentEmptyState.spec.ts +7 -0
- package/src/EmptyState/CovalentEmptyState.tsx +8 -0
- package/src/ExpansionPanel/CovalentExpansionPanel.spec.ts +7 -0
- package/src/ExpansionPanel/CovalentExpansionPanel.tsx +8 -0
- package/src/ExpansionPanel/CovalentExpansionPanelItem.spec.ts +7 -0
- package/src/ExpansionPanel/CovalentExpansionPanelItem.tsx +11 -0
- package/src/FocusedPage/CovalentFocusedPage.spec.ts +7 -0
- package/src/FocusedPage/CovalentFocusedPage.tsx +8 -0
- package/src/Formfield/CovalentFormfield.spec.ts +7 -0
- package/src/Formfield/CovalentFormfield.tsx +8 -0
- package/src/FullScreenDialog/CovalentFullscreenDialog.spec.ts +7 -0
- package/src/FullScreenDialog/CovalentFullscreenDialog.tsx +14 -0
- package/src/Icon/CovalentIcon.spec.ts +7 -0
- package/src/Icon/CovalentIcon.tsx +8 -0
- package/src/IconButton/CovalentIconButton.spec.ts +7 -0
- package/src/IconButton/CovalentIconButton.tsx +8 -0
- package/src/IconButtonToggle/CovalentIconButtonToggle.spec.ts +7 -0
- package/src/IconButtonToggle/CovalentIconButtonToggle.tsx +11 -0
- package/src/IconCheckbox/CovalentIconCheckToggle.spec.ts +7 -0
- package/src/IconCheckbox/CovalentIconCheckToggle.tsx +11 -0
- package/src/IconLockup/CovalentIconLockup.spec.ts +7 -0
- package/src/IconLockup/CovalentIconLockup.tsx +8 -0
- package/src/IconRadio/CovalentIconRadioToggle.spec.ts +7 -0
- package/src/IconRadio/CovalentIconRadioToggle.tsx +11 -0
- package/src/LinearProgress/CovalentLinearProgress.spec.ts +7 -0
- package/src/LinearProgress/CovalentLinearProgress.tsx +8 -0
- package/src/List/CovalentCheckListItem.spec.ts +7 -0
- package/src/List/CovalentCheckListItem.tsx +11 -0
- package/src/List/CovalentList.spec.ts +7 -0
- package/src/List/CovalentList.tsx +12 -0
- package/src/List/CovalentListItem.spec.ts +7 -0
- package/src/List/CovalentListItem.tsx +11 -0
- package/src/List/CovalentNavRailListItem.spec.ts +7 -0
- package/src/List/CovalentNavRailListItem.tsx +11 -0
- package/src/List/CovalentRadioListItem.spec.ts +7 -0
- package/src/List/CovalentRadioListItem.tsx +11 -0
- package/src/Menu/CovalentMenu.spec.ts +7 -0
- package/src/Menu/CovalentMenu.tsx +15 -0
- package/src/NotebookCell/CovalentNotebookCell.spec.ts +7 -0
- package/src/NotebookCell/CovalentNotebookCell.tsx +8 -0
- package/src/Radio/CovalentRadio.spec.ts +7 -0
- package/src/Radio/CovalentRadio.tsx +11 -0
- package/src/Select/CovalentSelect.spec.ts +7 -0
- package/src/Select/CovalentSelect.tsx +13 -0
- package/src/SideSheet/CovalentSideSheet.spec.ts +7 -0
- package/src/SideSheet/CovalentSideSheet.tsx +14 -0
- package/src/Slider/CovalentSlider.spec.ts +7 -0
- package/src/Slider/CovalentSlider.tsx +12 -0
- package/src/Slider/CovalentSliderRange.spec.ts +7 -0
- package/src/Slider/CovalentSliderRange.tsx +12 -0
- package/src/Snackbar/CovalentSnackbar.spec.ts +7 -0
- package/src/Snackbar/CovalentSnackbar.tsx +14 -0
- package/src/StatusDialog/CovalentStatusDialog.spec.ts +7 -0
- package/src/StatusDialog/CovalentStatusDialog.tsx +14 -0
- package/src/StatusHeader/CovalentStatusHeader.spec.ts +7 -0
- package/src/StatusHeader/CovalentStatusHeader.tsx +8 -0
- package/src/StatusHeader/CovalentStatusHeaderItem.spec.ts +7 -0
- package/src/StatusHeader/CovalentStatusHeaderItem.tsx +8 -0
- package/src/Switch/CovalentSwitch.spec.ts +7 -0
- package/src/Switch/CovalentSwitch.tsx +8 -0
- package/src/Tab/CovalentTab.spec.ts +7 -0
- package/src/Tab/CovalentTab.tsx +11 -0
- package/src/Tab/CovalentTabBar.spec.ts +7 -0
- package/src/Tab/CovalentTabBar.tsx +11 -0
- package/src/TextLockup/CovalentTextLockup.spec.ts +7 -0
- package/src/TextLockup/CovalentTextLockup.tsx +8 -0
- package/src/Textarea/CovalentTextArea.spec.ts +7 -0
- package/src/Textarea/CovalentTextArea.tsx +8 -0
- package/src/Textfield/CovalentTextField.spec.ts +7 -0
- package/src/Textfield/CovalentTextField.tsx +8 -0
- package/src/Toolbar/CovalentToolbar.spec.ts +7 -0
- package/src/Toolbar/CovalentToolbar.tsx +11 -0
- package/src/Tooltip/CovalentTooltip.spec.ts +7 -0
- package/src/Tooltip/CovalentTooltip.tsx +8 -0
- package/src/TopAppBar/CovalentTopAppBar.spec.ts +7 -0
- package/src/TopAppBar/CovalentTopAppBar.tsx +11 -0
- package/src/TopAppBar/CovalentTopAppBarFixed.spec.ts +7 -0
- package/src/TopAppBar/CovalentTopAppBarFixed.tsx +11 -0
- package/src/TreeList/CovalentTreeList.spec.ts +7 -0
- package/src/TreeList/CovalentTreeList.tsx +11 -0
- package/src/TreeList/CovalentTreeListItem.spec.ts +7 -0
- package/src/TreeList/CovalentTreeListItem.tsx +11 -0
- package/src/Typography/CovalentTypography.spec.ts +7 -0
- package/src/Typography/CovalentTypography.tsx +11 -0
- package/src/index.ts +56 -0
- package/tsconfig.json +24 -0
- package/tsconfig.lib.json +10 -0
- package/tsconfig.spec.json +21 -0
- package/types.d.ts +14 -0
- package/vite.config.ts +66 -0
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIcon as CovalentIconWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIcon = createComponent({
|
|
5
|
+
tagName: 'cv-icon',
|
|
6
|
+
elementClass: CovalentIconWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIconButton as CovalentIconButtonWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIconButton = createComponent({
|
|
5
|
+
tagName: 'cv-icon-button',
|
|
6
|
+
elementClass: CovalentIconButtonWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIconButtonToggle as CovalentIconButtonToggleWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIconButtonToggle = createComponent({
|
|
5
|
+
tagName: 'cv-icon-button-toggle',
|
|
6
|
+
elementClass: CovalentIconButtonToggleWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
oniconButtonToggleChange: 'icon-button-toggle-change',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIconCheckToggle as CovalentIconCheckToggleWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIconCheckToggle = createComponent({
|
|
5
|
+
tagName: 'cv-checkbox-icon',
|
|
6
|
+
elementClass: CovalentIconCheckToggleWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onchange: 'change',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIconLockup as CovalentIconLockupWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIconLockup = createComponent({
|
|
5
|
+
tagName: 'cv-icon-lockup',
|
|
6
|
+
elementClass: CovalentIconLockupWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentIconRadioToggle as CovalentIconRadioToggleWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentIconRadioToggle = createComponent({
|
|
5
|
+
tagName: 'cv-radio-icon',
|
|
6
|
+
elementClass: CovalentIconRadioToggleWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onchange: 'change',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentLinearProgress as CovalentLinearProgressWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentLinearProgress = createComponent({
|
|
5
|
+
tagName: 'cv-linear-progress',
|
|
6
|
+
elementClass: CovalentLinearProgressWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentCheckListItem as CovalentCheckListItemWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentCheckListItem = createComponent({
|
|
5
|
+
tagName: 'cv-check-list-item',
|
|
6
|
+
elementClass: CovalentCheckListItemWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onrequestSelected: 'request-selected',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentList as CovalentListWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentList = createComponent({
|
|
5
|
+
tagName: 'cv-list',
|
|
6
|
+
elementClass: CovalentListWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onaction: 'action',
|
|
10
|
+
onselected: 'selected',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentListItem as CovalentListItemWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentListItem = createComponent({
|
|
5
|
+
tagName: 'cv-list-item',
|
|
6
|
+
elementClass: CovalentListItemWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onrequestSelected: 'request-selected',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentNavRailListItem as CovalentNavRailListItemWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentNavRailListItem = createComponent({
|
|
5
|
+
tagName: 'cv-nav-list-item',
|
|
6
|
+
elementClass: CovalentNavRailListItemWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onrequestSelected: 'request-selected',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentRadioListItem as CovalentRadioListItemWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentRadioListItem = createComponent({
|
|
5
|
+
tagName: 'cv-radio-list-item',
|
|
6
|
+
elementClass: CovalentRadioListItemWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onrequestSelected: 'request-selected',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentMenu as CovalentMenuWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentMenu = createComponent({
|
|
5
|
+
tagName: 'cv-menu',
|
|
6
|
+
elementClass: CovalentMenuWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onopened: 'opened',
|
|
10
|
+
onclosing: 'closing',
|
|
11
|
+
onclosed: 'closed',
|
|
12
|
+
onaction: 'action',
|
|
13
|
+
onselected: 'selected',
|
|
14
|
+
},
|
|
15
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentNotebookCell as CovalentNotebookCellWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentNotebookCell = createComponent({
|
|
5
|
+
tagName: 'cv-notebook-cell',
|
|
6
|
+
elementClass: CovalentNotebookCellWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentRadio as CovalentRadioWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentRadio = createComponent({
|
|
5
|
+
tagName: 'cv-radio',
|
|
6
|
+
elementClass: CovalentRadioWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onchange: 'change',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSelect as CovalentSelectWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSelect = createComponent({
|
|
5
|
+
tagName: 'cv-select',
|
|
6
|
+
elementClass: CovalentSelectWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onopened: 'opened',
|
|
10
|
+
onclosed: 'closed',
|
|
11
|
+
onselected: 'selected',
|
|
12
|
+
},
|
|
13
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSideSheet as CovalentSideSheetWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSideSheet = createComponent({
|
|
5
|
+
tagName: 'cv-side-sheet',
|
|
6
|
+
elementClass: CovalentSideSheetWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onopening: 'opening',
|
|
10
|
+
onopened: 'opened',
|
|
11
|
+
onclosing: 'closing',
|
|
12
|
+
onclosed: 'closed',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSlider as CovalentSliderWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSlider = createComponent({
|
|
5
|
+
tagName: 'cv-slider',
|
|
6
|
+
elementClass: CovalentSliderWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
oninput: 'input',
|
|
10
|
+
onchange: 'change',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSliderRange as CovalentSliderRangeWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSliderRange = createComponent({
|
|
5
|
+
tagName: 'cv-slider-range',
|
|
6
|
+
elementClass: CovalentSliderRangeWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
oninput: 'input',
|
|
10
|
+
onchange: 'change',
|
|
11
|
+
},
|
|
12
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSnackbar as CovalentSnackbarWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSnackbar = createComponent({
|
|
5
|
+
tagName: 'cv-snackbar',
|
|
6
|
+
elementClass: CovalentSnackbarWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onopening: 'opening',
|
|
10
|
+
onopened: 'opened',
|
|
11
|
+
onclosing: 'closing',
|
|
12
|
+
onclosed: 'closed',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentStatusDialog as CovalentStatusDialogWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentStatusDialog = createComponent({
|
|
5
|
+
tagName: 'cv-status-dialog',
|
|
6
|
+
elementClass: CovalentStatusDialogWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onopening: 'opening',
|
|
10
|
+
onopened: 'opened',
|
|
11
|
+
onclosing: 'closing',
|
|
12
|
+
onclosed: 'closed',
|
|
13
|
+
},
|
|
14
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentStatusHeader as CovalentStatusHeaderWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentStatusHeader = createComponent({
|
|
5
|
+
tagName: 'cv-status-header',
|
|
6
|
+
elementClass: CovalentStatusHeaderWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentStatusHeaderItem as CovalentStatusHeaderItemWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentStatusHeaderItem = createComponent({
|
|
5
|
+
tagName: 'cv-status-header-item',
|
|
6
|
+
elementClass: CovalentStatusHeaderItemWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentSwitch as CovalentSwitchWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentSwitch = createComponent({
|
|
5
|
+
tagName: 'cv-switch',
|
|
6
|
+
elementClass: CovalentSwitchWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentTab as CovalentTabWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentTab = createComponent({
|
|
5
|
+
tagName: 'cv-tab',
|
|
6
|
+
elementClass: CovalentTabWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
oninteracted: 'interacted',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentTabBar as CovalentTabBarWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentTabBar = createComponent({
|
|
5
|
+
tagName: 'cv-tab-bar',
|
|
6
|
+
elementClass: CovalentTabBarWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onactivated: 'activated',
|
|
10
|
+
},
|
|
11
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentTextLockup as CovalentTextLockupWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentTextLockup = createComponent({
|
|
5
|
+
tagName: 'cv-text-lockup',
|
|
6
|
+
elementClass: CovalentTextLockupWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentTextArea as CovalentTextAreaWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentTextArea = createComponent({
|
|
5
|
+
tagName: 'cv-textarea',
|
|
6
|
+
elementClass: CovalentTextAreaWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentTextField as CovalentTextFieldWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentTextField = createComponent({
|
|
5
|
+
tagName: 'cv-textfield',
|
|
6
|
+
elementClass: CovalentTextFieldWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
});
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { createComponent } from '@lit/react';
|
|
3
|
+
import { CovalentToolbar as CovalentToolbarWeb } from '@covalent/components';
|
|
4
|
+
export const CovalentToolbar = createComponent({
|
|
5
|
+
tagName: 'cv-toolbar',
|
|
6
|
+
elementClass: CovalentToolbarWeb,
|
|
7
|
+
react: React,
|
|
8
|
+
events: {
|
|
9
|
+
onnav: 'nav',
|
|
10
|
+
},
|
|
11
|
+
});
|