@epilot/base-elements 2.7.25 → 2.8.1
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/CHANGELOG.md +1020 -0
- package/dist/Accordion/Accordion.d.ts +3 -3
- package/dist/Accordion/Accordion.js +11 -11
- package/dist/Accordion/AccordionActions.d.ts +3 -3
- package/dist/Accordion/AccordionActions.js +11 -11
- package/dist/Accordion/AccordionDetails.d.ts +3 -3
- package/dist/Accordion/AccordionDetails.js +11 -11
- package/dist/Accordion/AccordionSummary.d.ts +3 -3
- package/dist/Accordion/AccordionSummary.js +12 -12
- package/dist/Accordion/index.d.ts +5 -5
- package/dist/Accordion/index.js +8 -8
- package/dist/Accordion/types.d.ts +57 -57
- package/dist/Accordion/types.js +2 -2
- package/dist/AppBar/AppBar.d.ts +4 -4
- package/dist/AppBar/AppBar.js +16 -16
- package/dist/AppBar/index.d.ts +2 -2
- package/dist/AppBar/index.js +5 -5
- package/dist/AppBar/types.d.ts +3 -3
- package/dist/AppBar/types.js +2 -2
- package/dist/Autocomplete/Autocomplete.d.ts +3 -3
- package/dist/Autocomplete/Autocomplete.js +48 -48
- package/dist/Autocomplete/index.d.ts +2 -2
- package/dist/Autocomplete/index.js +7 -7
- package/dist/Autocomplete/styles.d.ts +1 -1
- package/dist/Autocomplete/styles.js +14 -14
- package/dist/Autocomplete/types.d.ts +65 -65
- package/dist/Autocomplete/types.js +2 -2
- package/dist/AutocompleteX/AutocompleteX.d.ts +2 -2
- package/dist/AutocompleteX/AutocompleteX.js +5 -5
- package/dist/AutocompleteX/index.d.ts +2 -2
- package/dist/AutocompleteX/index.js +7 -7
- package/dist/AutocompleteX/types.d.ts +6 -6
- package/dist/AutocompleteX/types.js +2 -2
- package/dist/Avatar/Avatar.d.ts +3 -3
- package/dist/Avatar/Avatar.js +27 -27
- package/dist/Avatar/AvatarGroup.d.ts +3 -3
- package/dist/Avatar/AvatarGroup.js +21 -21
- package/dist/Avatar/index.d.ts +3 -3
- package/dist/Avatar/index.js +9 -9
- package/dist/Avatar/types.d.ts +48 -48
- package/dist/Avatar/types.js +2 -2
- package/dist/Badge/Badge.d.ts +3 -3
- package/dist/Badge/Badge.js +11 -11
- package/dist/Badge/index.d.ts +2 -2
- package/dist/Badge/index.js +5 -5
- package/dist/Badge/types.d.ts +2 -2
- package/dist/Badge/types.js +2 -2
- package/dist/Box/Box.d.ts +3 -3
- package/dist/Box/Box.js +11 -11
- package/dist/Box/index.d.ts +2 -2
- package/dist/Box/index.js +5 -5
- package/dist/Box/types.d.ts +2 -2
- package/dist/Box/types.js +2 -2
- package/dist/Breadcrumbs/Breadcrumbs.d.ts +3 -3
- package/dist/Breadcrumbs/Breadcrumbs.js +10 -10
- package/dist/Breadcrumbs/index.d.ts +2 -2
- package/dist/Breadcrumbs/index.js +7 -7
- package/dist/Breadcrumbs/types.d.ts +2 -2
- package/dist/Breadcrumbs/types.js +2 -2
- package/dist/Button/Button.d.ts +2 -2
- package/dist/Button/Button.js +5 -5
- package/dist/Button/index.d.ts +2 -2
- package/dist/Button/index.js +5 -5
- package/dist/Button/types.d.ts +2 -2
- package/dist/Button/types.js +2 -2
- package/dist/ButtonGroup/ButtonGroup.d.ts +3 -3
- package/dist/ButtonGroup/ButtonGroup.js +11 -11
- package/dist/ButtonGroup/index.d.ts +2 -2
- package/dist/ButtonGroup/index.js +5 -5
- package/dist/ButtonGroup/types.d.ts +37 -37
- package/dist/ButtonGroup/types.js +2 -2
- package/dist/Card/Card.d.ts +8 -8
- package/dist/Card/Card.js +36 -36
- package/dist/Card/index.d.ts +2 -2
- package/dist/Card/index.js +5 -5
- package/dist/Card/types.d.ts +7 -7
- package/dist/Card/types.js +2 -2
- package/dist/Checkbox/Checkbox.d.ts +3 -3
- package/dist/Checkbox/Checkbox.js +27 -27
- package/dist/Checkbox/index.d.ts +2 -2
- package/dist/Checkbox/index.js +5 -5
- package/dist/Checkbox/types.d.ts +84 -84
- package/dist/Checkbox/types.js +2 -2
- package/dist/Chip/Chip.d.ts +3 -3
- package/dist/Chip/Chip.js +16 -16
- package/dist/Chip/RandomColoredChip.d.ts +3 -3
- package/dist/Chip/RandomColoredChip.js +79 -79
- package/dist/Chip/index.d.ts +2 -2
- package/dist/Chip/index.js +5 -5
- package/dist/Chip/types.d.ts +13 -13
- package/dist/Chip/types.js +2 -2
- package/dist/Collapse/Collapse.d.ts +3 -3
- package/dist/Collapse/Collapse.js +11 -11
- package/dist/Collapse/index.d.ts +2 -2
- package/dist/Collapse/index.js +5 -5
- package/dist/Collapse/types.d.ts +2 -2
- package/dist/Collapse/types.js +2 -2
- package/dist/Dialog/Dialog.d.ts +7 -7
- package/dist/Dialog/Dialog.js +31 -31
- package/dist/Dialog/index.d.ts +2 -2
- package/dist/Dialog/index.js +5 -5
- package/dist/Dialog/types.d.ts +157 -157
- package/dist/Dialog/types.js +2 -2
- package/dist/Divider/Divider.d.ts +3 -3
- package/dist/Divider/Divider.js +10 -10
- package/dist/Divider/index.d.ts +2 -2
- package/dist/Divider/index.js +5 -5
- package/dist/Divider/types.d.ts +2 -2
- package/dist/Divider/types.js +2 -2
- package/dist/Drawer/Drawer.d.ts +3 -3
- package/dist/Drawer/Drawer.js +11 -11
- package/dist/Drawer/index.d.ts +2 -2
- package/dist/Drawer/index.js +5 -5
- package/dist/Drawer/types.d.ts +2 -2
- package/dist/Drawer/types.js +2 -2
- package/dist/Drawer360/ActionFooter.d.ts +13 -13
- package/dist/Drawer360/ActionFooter.js +108 -108
- package/dist/Drawer360/DiscardDialog.d.ts +10 -10
- package/dist/Drawer360/DiscardDialog.js +48 -48
- package/dist/Drawer360/Drawer360.d.ts +3 -3
- package/dist/Drawer360/Drawer360.js +95 -95
- package/dist/Drawer360/helpers.d.ts +3 -3
- package/dist/Drawer360/helpers.js +61 -61
- package/dist/Drawer360/index.d.ts +2 -2
- package/dist/Drawer360/index.js +5 -5
- package/dist/Drawer360/types.d.ts +30 -30
- package/dist/Drawer360/types.js +2 -2
- package/dist/Form/FormControl.d.ts +2 -2
- package/dist/Form/FormControl.js +4 -4
- package/dist/Form/FormControlLabel.d.ts +2 -2
- package/dist/Form/FormControlLabel.js +4 -4
- package/dist/Form/FormGroup.d.ts +2 -2
- package/dist/Form/FormGroup.js +5 -5
- package/dist/Form/FormHelperText.d.ts +2 -2
- package/dist/Form/FormHelperText.js +4 -4
- package/dist/Form/FormLabel.d.ts +2 -2
- package/dist/Form/FormLabel.js +4 -4
- package/dist/Form/InputAdornment.d.ts +2 -2
- package/dist/Form/InputAdornment.js +4 -4
- package/dist/Form/InputLabel.d.ts +2 -2
- package/dist/Form/InputLabel.js +4 -4
- package/dist/Form/index.d.ts +8 -8
- package/dist/Form/index.js +19 -19
- package/dist/Form/types.d.ts +9 -9
- package/dist/Form/types.js +2 -2
- package/dist/Grid/Grid.d.ts +3 -3
- package/dist/Grid/Grid.js +10 -10
- package/dist/Grid/index.d.ts +2 -2
- package/dist/Grid/index.js +5 -5
- package/dist/Grid/types.d.ts +2 -2
- package/dist/Grid/types.js +2 -2
- package/dist/Hidden/Hidden.d.ts +3 -3
- package/dist/Hidden/Hidden.js +11 -11
- package/dist/Hidden/index.d.ts +2 -2
- package/dist/Hidden/index.js +5 -5
- package/dist/Hidden/types.d.ts +8 -8
- package/dist/Hidden/types.js +2 -2
- package/dist/Icon/Icon.d.ts +5 -5
- package/dist/Icon/Icon.js +57 -57
- package/dist/Icon/index.d.ts +2 -2
- package/dist/Icon/index.js +9 -9
- package/dist/Icon/types.d.ts +46 -46
- package/dist/Icon/types.js +2 -2
- package/dist/IconButton/IconButton.d.ts +5 -5
- package/dist/IconButton/IconButton.js +94 -94
- package/dist/IconButton/index.d.ts +2 -2
- package/dist/IconButton/index.js +5 -5
- package/dist/IconButton/types.d.ts +9 -9
- package/dist/IconButton/types.js +2 -2
- package/dist/IconButtonWithText/IconButtonWithText.d.ts +4 -4
- package/dist/IconButtonWithText/IconButtonWithText.js +59 -59
- package/dist/IconButtonWithText/index.d.ts +2 -2
- package/dist/IconButtonWithText/index.js +5 -5
- package/dist/IconButtonWithText/types.d.ts +10 -10
- package/dist/IconButtonWithText/types.js +2 -2
- package/dist/Image/Image.d.ts +3 -3
- package/dist/Image/Image.js +22 -22
- package/dist/Image/index.d.ts +2 -2
- package/dist/Image/index.js +7 -7
- package/dist/Image/types.d.ts +21 -21
- package/dist/Image/types.js +2 -2
- package/dist/Link/Link.d.ts +3 -3
- package/dist/Link/Link.js +10 -10
- package/dist/Link/index.d.ts +2 -2
- package/dist/Link/index.js +7 -7
- package/dist/Link/types.d.ts +41 -41
- package/dist/Link/types.js +2 -2
- package/dist/List/List.d.ts +8 -8
- package/dist/List/List.js +36 -36
- package/dist/List/index.d.ts +2 -2
- package/dist/List/index.js +5 -5
- package/dist/List/types.d.ts +7 -7
- package/dist/List/types.js +2 -2
- package/dist/Menu/Menu.d.ts +6 -6
- package/dist/Menu/Menu.js +9 -9
- package/dist/Menu/index.d.ts +2 -2
- package/dist/Menu/index.js +5 -5
- package/dist/Menu/types.d.ts +71 -71
- package/dist/Menu/types.js +2 -2
- package/dist/Notification/Notification.d.ts +5 -5
- package/dist/Notification/Notification.js +51 -51
- package/dist/Notification/index.d.ts +2 -2
- package/dist/Notification/index.js +9 -9
- package/dist/Notification/types.d.ts +7 -7
- package/dist/Notification/types.js +2 -2
- package/dist/Pagination/Pagination.d.ts +4 -4
- package/dist/Pagination/Pagination.js +193 -193
- package/dist/Pagination/PaginationHelper.d.ts +6 -6
- package/dist/Pagination/PaginationHelper.js +123 -123
- package/dist/Pagination/index.d.ts +2 -2
- package/dist/Pagination/index.js +7 -7
- package/dist/Pagination/types.d.ts +29 -29
- package/dist/Pagination/types.js +8 -8
- package/dist/Paper/Paper.d.ts +2 -2
- package/dist/Paper/Paper.js +5 -5
- package/dist/Paper/index.d.ts +2 -2
- package/dist/Paper/index.js +5 -5
- package/dist/Paper/types.d.ts +2 -2
- package/dist/Paper/types.js +2 -2
- package/dist/Pickers/DatePicker.d.ts +10 -10
- package/dist/Pickers/DatePicker.js +29 -29
- package/dist/Pickers/DateTimePicker.d.ts +3 -3
- package/dist/Pickers/DateTimePicker.js +24 -24
- package/dist/Pickers/TimePicker.d.ts +3 -3
- package/dist/Pickers/TimePicker.js +24 -24
- package/dist/Pickers/index.d.ts +4 -4
- package/dist/Pickers/index.js +7 -7
- package/dist/Pickers/types.d.ts +80 -80
- package/dist/Pickers/types.js +2 -2
- package/dist/Popover/Popover.d.ts +2 -2
- package/dist/Popover/Popover.js +5 -5
- package/dist/Popover/index.d.ts +3 -3
- package/dist/Popover/index.js +7 -7
- package/dist/Popover/types.d.ts +2 -2
- package/dist/Popover/types.js +2 -2
- package/dist/Progress/Progress.d.ts +5 -5
- package/dist/Progress/Progress.js +12 -12
- package/dist/Progress/index.d.ts +2 -2
- package/dist/Progress/index.js +5 -5
- package/dist/Progress/types.d.ts +3 -3
- package/dist/Progress/types.js +2 -2
- package/dist/Radio/Radio.d.ts +3 -3
- package/dist/Radio/Radio.js +26 -26
- package/dist/Radio/RadioGroup.d.ts +3 -3
- package/dist/Radio/RadioGroup.js +9 -9
- package/dist/Radio/index.d.ts +3 -3
- package/dist/Radio/index.js +9 -9
- package/dist/Radio/types.d.ts +46 -46
- package/dist/Radio/types.js +2 -2
- package/dist/Rating/Rating.d.ts +3 -3
- package/dist/Rating/Rating.js +71 -71
- package/dist/Rating/index.d.ts +2 -2
- package/dist/Rating/index.js +5 -5
- package/dist/Rating/types.d.ts +49 -49
- package/dist/Rating/types.js +2 -2
- package/dist/Select/Select.d.ts +3 -3
- package/dist/Select/Select.js +37 -37
- package/dist/Select/index.d.ts +2 -2
- package/dist/Select/index.js +7 -7
- package/dist/Select/types.d.ts +76 -76
- package/dist/Select/types.js +2 -2
- package/dist/Slide/Slide.d.ts +3 -3
- package/dist/Slide/Slide.js +11 -11
- package/dist/Slide/index.d.ts +2 -2
- package/dist/Slide/index.js +7 -7
- package/dist/Slide/types.d.ts +2 -2
- package/dist/Slide/types.js +2 -2
- package/dist/Snackbar/Snackbar.d.ts +3 -3
- package/dist/Snackbar/Snackbar.js +11 -11
- package/dist/Snackbar/index.d.ts +2 -2
- package/dist/Snackbar/index.js +7 -7
- package/dist/Snackbar/types.d.ts +2 -2
- package/dist/Snackbar/types.js +2 -2
- package/dist/Spacing/Spacing.d.ts +7 -7
- package/dist/Spacing/Spacing.js +71 -71
- package/dist/Spacing/index.d.ts +2 -2
- package/dist/Spacing/index.js +5 -5
- package/dist/Spacing/types.d.ts +15 -15
- package/dist/Spacing/types.js +2 -2
- package/dist/Stepper/MobileStepper.d.ts +3 -3
- package/dist/Stepper/MobileStepper.js +10 -10
- package/dist/Stepper/Stepper.d.ts +7 -7
- package/dist/Stepper/Stepper.js +27 -27
- package/dist/Stepper/index.d.ts +3 -3
- package/dist/Stepper/index.js +6 -6
- package/dist/Stepper/types.d.ts +14 -14
- package/dist/Stepper/types.js +2 -2
- package/dist/Switch/Switch.d.ts +3 -3
- package/dist/Switch/Switch.js +10 -10
- package/dist/Switch/index.d.ts +2 -2
- package/dist/Switch/index.js +7 -7
- package/dist/Switch/types.d.ts +12 -12
- package/dist/Switch/types.js +2 -2
- package/dist/Table/ResizeTableCell/ResizeTableCell.d.ts +11 -11
- package/dist/Table/ResizeTableCell/ResizeTableCell.js +94 -94
- package/dist/Table/ResizeTableCell/ResizeTableCellStyles.d.ts +2 -2
- package/dist/Table/ResizeTableCell/ResizeTableCellStyles.js +60 -60
- package/dist/Table/ResizeTableCell/ResizeTableContext.d.ts +15 -15
- package/dist/Table/ResizeTableCell/ResizeTableContext.js +16 -16
- package/dist/Table/Table.d.ts +9 -8
- package/dist/Table/Table.js +12 -11
- package/dist/Table/Table.js.map +1 -1
- package/dist/Table/index.d.ts +4 -4
- package/dist/Table/index.js +7 -7
- package/dist/Table/types.d.ts +7 -7
- package/dist/Table/types.js +2 -2
- package/dist/TableColumnSettings/TableColumnSettings.d.ts +4 -4
- package/dist/TableColumnSettings/TableColumnSettings.js +131 -131
- package/dist/TableColumnSettings/TableColumnSettingsStyles.d.ts +1 -1
- package/dist/TableColumnSettings/TableColumnSettingsStyles.js +83 -83
- package/dist/TableColumnSettings/index.d.ts +3 -3
- package/dist/TableColumnSettings/index.js +7 -7
- package/dist/TableColumnSettings/types.d.ts +14 -14
- package/dist/TableColumnSettings/types.js +2 -2
- package/dist/Tabs/Tabs.d.ts +10 -10
- package/dist/Tabs/Tabs.js +135 -135
- package/dist/Tabs/index.d.ts +2 -2
- package/dist/Tabs/index.js +5 -5
- package/dist/Tabs/types.d.ts +13 -13
- package/dist/Tabs/types.js +2 -2
- package/dist/TextField/CurrencyTextField.d.ts +3 -3
- package/dist/TextField/CurrencyTextField.js +22 -22
- package/dist/TextField/InlineTextField.d.ts +3 -3
- package/dist/TextField/InlineTextField.js +142 -142
- package/dist/TextField/MaskedTextField.d.ts +3 -3
- package/dist/TextField/MaskedTextField.js +13 -13
- package/dist/TextField/TextField.d.ts +3 -3
- package/dist/TextField/TextField.js +13 -13
- package/dist/TextField/ValidatedTextField.d.ts +3 -3
- package/dist/TextField/ValidatedTextField.js +35 -35
- package/dist/TextField/index.d.ts +6 -6
- package/dist/TextField/index.js +9 -9
- package/dist/TextField/styles.d.ts +2 -2
- package/dist/TextField/styles.js +18 -18
- package/dist/TextField/types.d.ts +63 -63
- package/dist/TextField/types.js +2 -2
- package/dist/ThemeProvider/DefaultEpilotTheme.d.ts +2 -2
- package/dist/ThemeProvider/DefaultEpilotTheme.js +312 -312
- package/dist/ThemeProvider/ThemeProvider.d.ts +3 -3
- package/dist/ThemeProvider/ThemeProvider.js +30 -30
- package/dist/ThemeProvider/fonts.d.ts +14 -14
- package/dist/ThemeProvider/fonts.js +19 -19
- package/dist/ThemeProvider/index.d.ts +3 -3
- package/dist/ThemeProvider/index.js +8 -8
- package/dist/ThemeProvider/mapping.d.ts +10 -10
- package/dist/ThemeProvider/mapping.js +876 -876
- package/dist/ThemeProvider/types.d.ts +136 -136
- package/dist/ThemeProvider/types.js +2 -2
- package/dist/ToggleButton/ToggleButton.d.ts +2 -2
- package/dist/ToggleButton/ToggleButton.js +6 -6
- package/dist/ToggleButton/index.d.ts +2 -2
- package/dist/ToggleButton/index.js +5 -5
- package/dist/ToggleButton/types.d.ts +3 -3
- package/dist/ToggleButton/types.js +2 -2
- package/dist/ToggleButtonGroup/ToggleButtonGroup.d.ts +2 -2
- package/dist/ToggleButtonGroup/ToggleButtonGroup.js +6 -6
- package/dist/ToggleButtonGroup/index.d.ts +2 -2
- package/dist/ToggleButtonGroup/index.js +5 -5
- package/dist/ToggleButtonGroup/types.d.ts +2 -2
- package/dist/ToggleButtonGroup/types.js +2 -2
- package/dist/Tooltip/Tooltip.d.ts +3 -3
- package/dist/Tooltip/Tooltip.js +22 -22
- package/dist/Tooltip/index.d.ts +2 -2
- package/dist/Tooltip/index.js +5 -5
- package/dist/Tooltip/types.d.ts +8 -8
- package/dist/Tooltip/types.js +2 -2
- package/dist/Typography/Typography.d.ts +13 -13
- package/dist/Typography/Typography.js +60 -60
- package/dist/Typography/index.d.ts +3 -3
- package/dist/Typography/index.js +22 -22
- package/dist/Typography/types.d.ts +7 -7
- package/dist/Typography/types.js +2 -2
- package/dist/bundle.js +57 -57
- package/dist/bundle.js.map +1 -1
- package/dist/config.d.ts +1 -1
- package/dist/config.js +6 -6
- package/dist/context/ClassPrefixContext.d.ts +9 -9
- package/dist/context/ClassPrefixContext.js +14 -14
- package/dist/index.d.ts +53 -53
- package/dist/index.js +56 -56
- package/dist/styles/index.d.ts +1 -1
- package/dist/styles/index.js +4 -4
- package/dist/styles/styles.d.ts +3 -3
- package/dist/styles/styles.js +18 -18
- package/dist/utils.d.ts +7 -7
- package/dist/utils.js +27 -27
- package/package.json +2 -2
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { BreadcrumbsProps as MuiBreadcrumbsProps } from '@material-ui/core';
|
|
2
|
-
export declare type BreadcrumbsProps = MuiBreadcrumbsProps;
|
|
1
|
+
import { BreadcrumbsProps as MuiBreadcrumbsProps } from '@material-ui/core';
|
|
2
|
+
export declare type BreadcrumbsProps = MuiBreadcrumbsProps;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
package/dist/Button/Button.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { Button } from '@material-ui/core';
|
|
2
|
-
export { Button };
|
|
1
|
+
import { Button } from '@material-ui/core';
|
|
2
|
+
export { Button };
|
package/dist/Button/Button.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.Button = void 0;
|
|
4
|
-
var core_1 = require("@material-ui/core");
|
|
5
|
-
exports.Button = core_1.Button;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Button = void 0;
|
|
4
|
+
var core_1 = require("@material-ui/core");
|
|
5
|
+
exports.Button = core_1.Button;
|
|
6
6
|
//# sourceMappingURL=Button.js.map
|
package/dist/Button/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Button';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Button';
|
|
2
|
+
export * from './types';
|
package/dist/Button/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Button"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Button"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/Button/types.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ButtonProps } from '@material-ui/core';
|
|
2
|
-
export { ButtonProps };
|
|
1
|
+
import { ButtonProps } from '@material-ui/core';
|
|
2
|
+
export { ButtonProps };
|
package/dist/Button/types.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ButtonGroupProps } from './types';
|
|
3
|
-
export declare function ButtonGroup(props: ButtonGroupProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ButtonGroupProps } from './types';
|
|
3
|
+
export declare function ButtonGroup(props: ButtonGroupProps): JSX.Element;
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.ButtonGroup = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var core_1 = require("@material-ui/core");
|
|
6
|
-
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
function ButtonGroup(props) {
|
|
8
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
9
|
-
return (react_1["default"].createElement(core_1.ButtonGroup, tslib_1.__assign({ disableElevation: true }, rest), children));
|
|
10
|
-
}
|
|
11
|
-
exports.ButtonGroup = ButtonGroup;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.ButtonGroup = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var core_1 = require("@material-ui/core");
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
function ButtonGroup(props) {
|
|
8
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
9
|
+
return (react_1["default"].createElement(core_1.ButtonGroup, tslib_1.__assign({ disableElevation: true }, rest), children));
|
|
10
|
+
}
|
|
11
|
+
exports.ButtonGroup = ButtonGroup;
|
|
12
12
|
//# sourceMappingURL=ButtonGroup.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ButtonGroup';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './ButtonGroup';
|
|
2
|
+
export * from './types';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./ButtonGroup"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./ButtonGroup"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
import { PropTypes } from '@material-ui/core';
|
|
2
|
-
import { CSSProperties } from 'react';
|
|
3
|
-
export interface ButtonGroupProps {
|
|
4
|
-
/**
|
|
5
|
-
* The content of the button group should be Button components.
|
|
6
|
-
*/
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* The color of the component. It supports those theme colors that make sense for this component.
|
|
10
|
-
*/
|
|
11
|
-
color?: PropTypes.Color;
|
|
12
|
-
/**
|
|
13
|
-
* If `true`, the buttons will be disabled.
|
|
14
|
-
*/
|
|
15
|
-
disabled?: boolean;
|
|
16
|
-
/**
|
|
17
|
-
* If `true`, the buttons will take up the full width of its container.
|
|
18
|
-
*/
|
|
19
|
-
fullWidth?: boolean;
|
|
20
|
-
/**
|
|
21
|
-
* The group orientation (layout flow direction).
|
|
22
|
-
*/
|
|
23
|
-
orientation?: 'vertical' | 'horizontal';
|
|
24
|
-
/**
|
|
25
|
-
* The size of the button.
|
|
26
|
-
* `small` is equivalent to the dense button styling.
|
|
27
|
-
*/
|
|
28
|
-
size?: 'small' | 'medium' | 'large';
|
|
29
|
-
/**
|
|
30
|
-
* The variant to use.
|
|
31
|
-
*/
|
|
32
|
-
variant?: 'text' | 'outlined' | 'contained';
|
|
33
|
-
/**
|
|
34
|
-
* elements style
|
|
35
|
-
*/
|
|
36
|
-
style?: CSSProperties;
|
|
37
|
-
}
|
|
1
|
+
import { PropTypes } from '@material-ui/core';
|
|
2
|
+
import { CSSProperties } from 'react';
|
|
3
|
+
export interface ButtonGroupProps {
|
|
4
|
+
/**
|
|
5
|
+
* The content of the button group should be Button components.
|
|
6
|
+
*/
|
|
7
|
+
children?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
10
|
+
*/
|
|
11
|
+
color?: PropTypes.Color;
|
|
12
|
+
/**
|
|
13
|
+
* If `true`, the buttons will be disabled.
|
|
14
|
+
*/
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the buttons will take up the full width of its container.
|
|
18
|
+
*/
|
|
19
|
+
fullWidth?: boolean;
|
|
20
|
+
/**
|
|
21
|
+
* The group orientation (layout flow direction).
|
|
22
|
+
*/
|
|
23
|
+
orientation?: 'vertical' | 'horizontal';
|
|
24
|
+
/**
|
|
25
|
+
* The size of the button.
|
|
26
|
+
* `small` is equivalent to the dense button styling.
|
|
27
|
+
*/
|
|
28
|
+
size?: 'small' | 'medium' | 'large';
|
|
29
|
+
/**
|
|
30
|
+
* The variant to use.
|
|
31
|
+
*/
|
|
32
|
+
variant?: 'text' | 'outlined' | 'contained';
|
|
33
|
+
/**
|
|
34
|
+
* elements style
|
|
35
|
+
*/
|
|
36
|
+
style?: CSSProperties;
|
|
37
|
+
}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
package/dist/Card/Card.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CardProps, CardActionAreaProps, CardActionsProps, CardContentProps, CardHeaderProps, CardMediaProps } from './types';
|
|
3
|
-
export declare function Card(props: CardProps): JSX.Element;
|
|
4
|
-
export declare function CardActionArea(props: CardActionAreaProps): JSX.Element;
|
|
5
|
-
export declare function CardActions(props: CardActionsProps): JSX.Element;
|
|
6
|
-
export declare function CardContent(props: CardContentProps): JSX.Element;
|
|
7
|
-
export declare function CardHeader(props: CardHeaderProps): JSX.Element;
|
|
8
|
-
export declare function CardMedia(props: CardMediaProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CardProps, CardActionAreaProps, CardActionsProps, CardContentProps, CardHeaderProps, CardMediaProps } from './types';
|
|
3
|
+
export declare function Card(props: CardProps): JSX.Element;
|
|
4
|
+
export declare function CardActionArea(props: CardActionAreaProps): JSX.Element;
|
|
5
|
+
export declare function CardActions(props: CardActionsProps): JSX.Element;
|
|
6
|
+
export declare function CardContent(props: CardContentProps): JSX.Element;
|
|
7
|
+
export declare function CardHeader(props: CardHeaderProps): JSX.Element;
|
|
8
|
+
export declare function CardMedia(props: CardMediaProps): JSX.Element;
|
package/dist/Card/Card.js
CHANGED
|
@@ -1,37 +1,37 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.CardMedia = exports.CardHeader = exports.CardContent = exports.CardActions = exports.CardActionArea = exports.Card = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var core_1 = require("@material-ui/core");
|
|
6
|
-
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
function Card(props) {
|
|
8
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
9
|
-
return react_1["default"].createElement(core_1.Card, tslib_1.__assign({}, rest), children);
|
|
10
|
-
}
|
|
11
|
-
exports.Card = Card;
|
|
12
|
-
function CardActionArea(props) {
|
|
13
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
14
|
-
return react_1["default"].createElement(core_1.CardActionArea, tslib_1.__assign({}, rest), children);
|
|
15
|
-
}
|
|
16
|
-
exports.CardActionArea = CardActionArea;
|
|
17
|
-
function CardActions(props) {
|
|
18
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
19
|
-
return react_1["default"].createElement(core_1.CardActions, tslib_1.__assign({}, rest), children);
|
|
20
|
-
}
|
|
21
|
-
exports.CardActions = CardActions;
|
|
22
|
-
function CardContent(props) {
|
|
23
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
24
|
-
return react_1["default"].createElement(core_1.CardContent, tslib_1.__assign({}, rest), children);
|
|
25
|
-
}
|
|
26
|
-
exports.CardContent = CardContent;
|
|
27
|
-
function CardHeader(props) {
|
|
28
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
29
|
-
return react_1["default"].createElement(core_1.CardHeader, tslib_1.__assign({}, rest), children);
|
|
30
|
-
}
|
|
31
|
-
exports.CardHeader = CardHeader;
|
|
32
|
-
function CardMedia(props) {
|
|
33
|
-
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
34
|
-
return react_1["default"].createElement(core_1.CardMedia, tslib_1.__assign({}, rest), children);
|
|
35
|
-
}
|
|
36
|
-
exports.CardMedia = CardMedia;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.CardMedia = exports.CardHeader = exports.CardContent = exports.CardActions = exports.CardActionArea = exports.Card = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var core_1 = require("@material-ui/core");
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
function Card(props) {
|
|
8
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
9
|
+
return react_1["default"].createElement(core_1.Card, tslib_1.__assign({}, rest), children);
|
|
10
|
+
}
|
|
11
|
+
exports.Card = Card;
|
|
12
|
+
function CardActionArea(props) {
|
|
13
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
14
|
+
return react_1["default"].createElement(core_1.CardActionArea, tslib_1.__assign({}, rest), children);
|
|
15
|
+
}
|
|
16
|
+
exports.CardActionArea = CardActionArea;
|
|
17
|
+
function CardActions(props) {
|
|
18
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
19
|
+
return react_1["default"].createElement(core_1.CardActions, tslib_1.__assign({}, rest), children);
|
|
20
|
+
}
|
|
21
|
+
exports.CardActions = CardActions;
|
|
22
|
+
function CardContent(props) {
|
|
23
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
24
|
+
return react_1["default"].createElement(core_1.CardContent, tslib_1.__assign({}, rest), children);
|
|
25
|
+
}
|
|
26
|
+
exports.CardContent = CardContent;
|
|
27
|
+
function CardHeader(props) {
|
|
28
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
29
|
+
return react_1["default"].createElement(core_1.CardHeader, tslib_1.__assign({}, rest), children);
|
|
30
|
+
}
|
|
31
|
+
exports.CardHeader = CardHeader;
|
|
32
|
+
function CardMedia(props) {
|
|
33
|
+
var children = props.children, rest = tslib_1.__rest(props, ["children"]);
|
|
34
|
+
return react_1["default"].createElement(core_1.CardMedia, tslib_1.__assign({}, rest), children);
|
|
35
|
+
}
|
|
36
|
+
exports.CardMedia = CardMedia;
|
|
37
37
|
//# sourceMappingURL=Card.js.map
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Card';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Card';
|
|
2
|
+
export * from './types';
|
package/dist/Card/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Card"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Card"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/Card/types.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { CardActionAreaProps as MuiCardActionAreaProps, CardActionsProps as MuiCardActionsProps, CardContentProps as MuiCardContentProps, CardProps as MuiCardProps, CardMediaProps as MuiCardMediaProps, CardHeaderProps as MuiCardHeaderProps } from '@material-ui/core';
|
|
2
|
-
export declare type CardProps = MuiCardProps;
|
|
3
|
-
export declare type CardActionAreaProps = MuiCardActionAreaProps;
|
|
4
|
-
export declare type CardActionsProps = MuiCardActionsProps;
|
|
5
|
-
export declare type CardContentProps = MuiCardContentProps;
|
|
6
|
-
export declare type CardHeaderProps = MuiCardHeaderProps;
|
|
7
|
-
export declare type CardMediaProps = MuiCardMediaProps;
|
|
1
|
+
import { CardActionAreaProps as MuiCardActionAreaProps, CardActionsProps as MuiCardActionsProps, CardContentProps as MuiCardContentProps, CardProps as MuiCardProps, CardMediaProps as MuiCardMediaProps, CardHeaderProps as MuiCardHeaderProps } from '@material-ui/core';
|
|
2
|
+
export declare type CardProps = MuiCardProps;
|
|
3
|
+
export declare type CardActionAreaProps = MuiCardActionAreaProps;
|
|
4
|
+
export declare type CardActionsProps = MuiCardActionsProps;
|
|
5
|
+
export declare type CardContentProps = MuiCardContentProps;
|
|
6
|
+
export declare type CardHeaderProps = MuiCardHeaderProps;
|
|
7
|
+
export declare type CardMediaProps = MuiCardMediaProps;
|
package/dist/Card/types.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { CheckboxProps } from './types';
|
|
3
|
-
export declare function Checkbox(props: CheckboxProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { CheckboxProps } from './types';
|
|
3
|
+
export declare function Checkbox(props: CheckboxProps): JSX.Element;
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.Checkbox = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var core_1 = require("@material-ui/core");
|
|
6
|
-
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
function Checkbox(props) {
|
|
8
|
-
var label = props.label, labelPlacement = props.labelPlacement, _a = props.checkboxPlacement, checkboxPlacement = _a === void 0 ? 'top' : _a, rest = tslib_1.__rest(props, ["label", "labelPlacement", "checkboxPlacement"]);
|
|
9
|
-
var useClasses = core_1.makeStyles(function () {
|
|
10
|
-
return core_1.createStyles({
|
|
11
|
-
labelRoot: {
|
|
12
|
-
marginLeft: 0,
|
|
13
|
-
marginRight: 0
|
|
14
|
-
},
|
|
15
|
-
input: {
|
|
16
|
-
alignSelf: checkboxPlacement === 'top'
|
|
17
|
-
? 'flex-start'
|
|
18
|
-
: checkboxPlacement === 'bottom'
|
|
19
|
-
? 'flex-end'
|
|
20
|
-
: ''
|
|
21
|
-
}
|
|
22
|
-
});
|
|
23
|
-
});
|
|
24
|
-
var classes = useClasses();
|
|
25
|
-
return (react_1["default"].createElement(core_1.FormControlLabel, { classes: { root: classes.labelRoot }, control: react_1["default"].createElement(core_1.Checkbox, tslib_1.__assign({ className: classes.input }, rest)), label: label, labelPlacement: labelPlacement }));
|
|
26
|
-
}
|
|
27
|
-
exports.Checkbox = Checkbox;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Checkbox = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var core_1 = require("@material-ui/core");
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
function Checkbox(props) {
|
|
8
|
+
var label = props.label, labelPlacement = props.labelPlacement, _a = props.checkboxPlacement, checkboxPlacement = _a === void 0 ? 'top' : _a, rest = tslib_1.__rest(props, ["label", "labelPlacement", "checkboxPlacement"]);
|
|
9
|
+
var useClasses = core_1.makeStyles(function () {
|
|
10
|
+
return core_1.createStyles({
|
|
11
|
+
labelRoot: {
|
|
12
|
+
marginLeft: 0,
|
|
13
|
+
marginRight: 0
|
|
14
|
+
},
|
|
15
|
+
input: {
|
|
16
|
+
alignSelf: checkboxPlacement === 'top'
|
|
17
|
+
? 'flex-start'
|
|
18
|
+
: checkboxPlacement === 'bottom'
|
|
19
|
+
? 'flex-end'
|
|
20
|
+
: ''
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
});
|
|
24
|
+
var classes = useClasses();
|
|
25
|
+
return (react_1["default"].createElement(core_1.FormControlLabel, { classes: { root: classes.labelRoot }, control: react_1["default"].createElement(core_1.Checkbox, tslib_1.__assign({ className: classes.input }, rest)), label: label, labelPlacement: labelPlacement }));
|
|
26
|
+
}
|
|
27
|
+
exports.Checkbox = Checkbox;
|
|
28
28
|
//# sourceMappingURL=Checkbox.js.map
|
package/dist/Checkbox/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Checkbox';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Checkbox';
|
|
2
|
+
export * from './types';
|
package/dist/Checkbox/index.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
var tslib_1 = require("tslib");
|
|
4
|
-
tslib_1.__exportStar(require("./Checkbox"), exports);
|
|
5
|
-
tslib_1.__exportStar(require("./types"), exports);
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
var tslib_1 = require("tslib");
|
|
4
|
+
tslib_1.__exportStar(require("./Checkbox"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/Checkbox/types.d.ts
CHANGED
|
@@ -1,84 +1,84 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { SwitchBaseProps } from '@material-ui/core/internal/SwitchBase';
|
|
3
|
-
export declare type CheckboxProps = {
|
|
4
|
-
/**
|
|
5
|
-
* label for the checkbox
|
|
6
|
-
*/
|
|
7
|
-
label?: React.ReactNode;
|
|
8
|
-
/**
|
|
9
|
-
* placement of the checkbox
|
|
10
|
-
*/
|
|
11
|
-
checkboxPlacement?: 'top' | 'bottom' | 'middle';
|
|
12
|
-
/**
|
|
13
|
-
* the placement for the label relative to the checkbox
|
|
14
|
-
*/
|
|
15
|
-
labelPlacement?: 'end' | 'start';
|
|
16
|
-
/**
|
|
17
|
-
* If `true`, the component is checked.
|
|
18
|
-
*/
|
|
19
|
-
checked?: SwitchBaseProps['checked'];
|
|
20
|
-
/**
|
|
21
|
-
* The icon to display when the component is checked.
|
|
22
|
-
*/
|
|
23
|
-
checkedIcon?: React.ReactNode;
|
|
24
|
-
/**
|
|
25
|
-
* The color of the component. It supports those theme colors that make sense for this component.
|
|
26
|
-
*/
|
|
27
|
-
color?: 'primary' | 'secondary' | 'default';
|
|
28
|
-
/**
|
|
29
|
-
* If `true`, the checkbox will be disabled.
|
|
30
|
-
*/
|
|
31
|
-
disabled?: SwitchBaseProps['disabled'];
|
|
32
|
-
/**
|
|
33
|
-
* The icon to display when the component is unchecked.
|
|
34
|
-
*/
|
|
35
|
-
icon?: React.ReactNode;
|
|
36
|
-
/**
|
|
37
|
-
* The id of the `input` element.
|
|
38
|
-
*/
|
|
39
|
-
id?: SwitchBaseProps['id'];
|
|
40
|
-
/**
|
|
41
|
-
* If `true`, the component appears indeterminate.
|
|
42
|
-
* This does not set the native input element to indeterminate due
|
|
43
|
-
* to inconsistent behavior across browsers.
|
|
44
|
-
* However, we set a `data-indeterminate` attribute on the input.
|
|
45
|
-
*/
|
|
46
|
-
indeterminate?: boolean;
|
|
47
|
-
/**
|
|
48
|
-
* The icon to display when the component is indeterminate.
|
|
49
|
-
*/
|
|
50
|
-
indeterminateIcon?: React.ReactNode;
|
|
51
|
-
/**
|
|
52
|
-
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
53
|
-
*/
|
|
54
|
-
inputProps?: SwitchBaseProps['inputProps'];
|
|
55
|
-
/**
|
|
56
|
-
* Pass a ref to the `input` element.
|
|
57
|
-
*/
|
|
58
|
-
inputRef?: React.Ref<HTMLInputElement>;
|
|
59
|
-
/**
|
|
60
|
-
* Callback fired when the state is changed.
|
|
61
|
-
*
|
|
62
|
-
* @param {object} event The event source of the callback.
|
|
63
|
-
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
64
|
-
*/
|
|
65
|
-
onChange?: SwitchBaseProps['onChange'];
|
|
66
|
-
/**
|
|
67
|
-
* If `true`, the `input` element will be required.
|
|
68
|
-
*/
|
|
69
|
-
required?: SwitchBaseProps['required'];
|
|
70
|
-
/**
|
|
71
|
-
* The size of the checkbox.
|
|
72
|
-
* `small` is equivalent to the dense checkbox styling.
|
|
73
|
-
*/
|
|
74
|
-
size?: 'small' | 'medium';
|
|
75
|
-
/**
|
|
76
|
-
* The value of the component. The DOM API casts this to a string.
|
|
77
|
-
* The browser uses "on" as the default value.
|
|
78
|
-
*/
|
|
79
|
-
value?: SwitchBaseProps['value'];
|
|
80
|
-
/**
|
|
81
|
-
* onclick handler.
|
|
82
|
-
*/
|
|
83
|
-
onClick?: () => void;
|
|
84
|
-
};
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { SwitchBaseProps } from '@material-ui/core/internal/SwitchBase';
|
|
3
|
+
export declare type CheckboxProps = {
|
|
4
|
+
/**
|
|
5
|
+
* label for the checkbox
|
|
6
|
+
*/
|
|
7
|
+
label?: React.ReactNode;
|
|
8
|
+
/**
|
|
9
|
+
* placement of the checkbox
|
|
10
|
+
*/
|
|
11
|
+
checkboxPlacement?: 'top' | 'bottom' | 'middle';
|
|
12
|
+
/**
|
|
13
|
+
* the placement for the label relative to the checkbox
|
|
14
|
+
*/
|
|
15
|
+
labelPlacement?: 'end' | 'start';
|
|
16
|
+
/**
|
|
17
|
+
* If `true`, the component is checked.
|
|
18
|
+
*/
|
|
19
|
+
checked?: SwitchBaseProps['checked'];
|
|
20
|
+
/**
|
|
21
|
+
* The icon to display when the component is checked.
|
|
22
|
+
*/
|
|
23
|
+
checkedIcon?: React.ReactNode;
|
|
24
|
+
/**
|
|
25
|
+
* The color of the component. It supports those theme colors that make sense for this component.
|
|
26
|
+
*/
|
|
27
|
+
color?: 'primary' | 'secondary' | 'default';
|
|
28
|
+
/**
|
|
29
|
+
* If `true`, the checkbox will be disabled.
|
|
30
|
+
*/
|
|
31
|
+
disabled?: SwitchBaseProps['disabled'];
|
|
32
|
+
/**
|
|
33
|
+
* The icon to display when the component is unchecked.
|
|
34
|
+
*/
|
|
35
|
+
icon?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* The id of the `input` element.
|
|
38
|
+
*/
|
|
39
|
+
id?: SwitchBaseProps['id'];
|
|
40
|
+
/**
|
|
41
|
+
* If `true`, the component appears indeterminate.
|
|
42
|
+
* This does not set the native input element to indeterminate due
|
|
43
|
+
* to inconsistent behavior across browsers.
|
|
44
|
+
* However, we set a `data-indeterminate` attribute on the input.
|
|
45
|
+
*/
|
|
46
|
+
indeterminate?: boolean;
|
|
47
|
+
/**
|
|
48
|
+
* The icon to display when the component is indeterminate.
|
|
49
|
+
*/
|
|
50
|
+
indeterminateIcon?: React.ReactNode;
|
|
51
|
+
/**
|
|
52
|
+
* [Attributes](https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input#Attributes) applied to the `input` element.
|
|
53
|
+
*/
|
|
54
|
+
inputProps?: SwitchBaseProps['inputProps'];
|
|
55
|
+
/**
|
|
56
|
+
* Pass a ref to the `input` element.
|
|
57
|
+
*/
|
|
58
|
+
inputRef?: React.Ref<HTMLInputElement>;
|
|
59
|
+
/**
|
|
60
|
+
* Callback fired when the state is changed.
|
|
61
|
+
*
|
|
62
|
+
* @param {object} event The event source of the callback.
|
|
63
|
+
* You can pull out the new checked state by accessing `event.target.checked` (boolean).
|
|
64
|
+
*/
|
|
65
|
+
onChange?: SwitchBaseProps['onChange'];
|
|
66
|
+
/**
|
|
67
|
+
* If `true`, the `input` element will be required.
|
|
68
|
+
*/
|
|
69
|
+
required?: SwitchBaseProps['required'];
|
|
70
|
+
/**
|
|
71
|
+
* The size of the checkbox.
|
|
72
|
+
* `small` is equivalent to the dense checkbox styling.
|
|
73
|
+
*/
|
|
74
|
+
size?: 'small' | 'medium';
|
|
75
|
+
/**
|
|
76
|
+
* The value of the component. The DOM API casts this to a string.
|
|
77
|
+
* The browser uses "on" as the default value.
|
|
78
|
+
*/
|
|
79
|
+
value?: SwitchBaseProps['value'];
|
|
80
|
+
/**
|
|
81
|
+
* onclick handler.
|
|
82
|
+
*/
|
|
83
|
+
onClick?: () => void;
|
|
84
|
+
};
|
package/dist/Checkbox/types.js
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
3
|
//# sourceMappingURL=types.js.map
|
package/dist/Chip/Chip.d.ts
CHANGED
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { ChipProps } from './types';
|
|
3
|
-
export declare function Chip(props: ChipProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { ChipProps } from './types';
|
|
3
|
+
export declare function Chip(props: ChipProps): JSX.Element;
|
package/dist/Chip/Chip.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.Chip = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var core_1 = require("@material-ui/core");
|
|
6
|
-
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
-
var Icon_1 = require("../Icon");
|
|
8
|
-
var RandomColoredChip_1 = require("./RandomColoredChip");
|
|
9
|
-
function Chip(props) {
|
|
10
|
-
var _a = props.deleteIcon, deleteIcon = _a === void 0 ? react_1["default"].createElement(Icon_1.Icon, { name: "close" }) : _a, randomColor = props.randomColor, rest = tslib_1.__rest(props, ["deleteIcon", "randomColor"]);
|
|
11
|
-
if (randomColor) {
|
|
12
|
-
return react_1["default"].createElement(RandomColoredChip_1.RandomColoredChip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
|
|
13
|
-
}
|
|
14
|
-
return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
|
|
15
|
-
}
|
|
16
|
-
exports.Chip = Chip;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Chip = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var core_1 = require("@material-ui/core");
|
|
6
|
+
var react_1 = tslib_1.__importDefault(require("react"));
|
|
7
|
+
var Icon_1 = require("../Icon");
|
|
8
|
+
var RandomColoredChip_1 = require("./RandomColoredChip");
|
|
9
|
+
function Chip(props) {
|
|
10
|
+
var _a = props.deleteIcon, deleteIcon = _a === void 0 ? react_1["default"].createElement(Icon_1.Icon, { name: "close" }) : _a, randomColor = props.randomColor, rest = tslib_1.__rest(props, ["deleteIcon", "randomColor"]);
|
|
11
|
+
if (randomColor) {
|
|
12
|
+
return react_1["default"].createElement(RandomColoredChip_1.RandomColoredChip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
|
|
13
|
+
}
|
|
14
|
+
return react_1["default"].createElement(core_1.Chip, tslib_1.__assign({ deleteIcon: deleteIcon }, rest));
|
|
15
|
+
}
|
|
16
|
+
exports.Chip = Chip;
|
|
17
17
|
//# sourceMappingURL=Chip.js.map
|