@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,136 +1,136 @@
|
|
|
1
|
-
export declare type TextTransform = 'capitalize' | 'full-size-kana' | 'full-width' | 'lowercase' | 'none' | 'uppercase';
|
|
2
|
-
import { Color, Theme } from '@material-ui/core';
|
|
3
|
-
import { BreakpointsOptions } from '@material-ui/core/styles/createBreakpoints';
|
|
4
|
-
import { Palette, PaletteColor, TypeAction } from '@material-ui/core/styles/createPalette';
|
|
5
|
-
import { Typography } from '@material-ui/core/styles/createTypography';
|
|
6
|
-
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
7
|
-
import { ComponentsProps } from '@material-ui/core/styles/props';
|
|
8
|
-
import { Shadows } from '@material-ui/core/styles/shadows';
|
|
9
|
-
import { Shape } from '@material-ui/core/styles/shape';
|
|
10
|
-
import React from 'react';
|
|
11
|
-
export declare type EpilotTypography = Typography & {
|
|
12
|
-
fontSource?: EpilotCustomFontSource[];
|
|
13
|
-
};
|
|
14
|
-
export declare type EpilotColor = PaletteColor & Color & {
|
|
15
|
-
10: string;
|
|
16
|
-
20: string;
|
|
17
|
-
30: string;
|
|
18
|
-
40: string;
|
|
19
|
-
50: string;
|
|
20
|
-
60: string;
|
|
21
|
-
70: string;
|
|
22
|
-
80: string;
|
|
23
|
-
90: string;
|
|
24
|
-
};
|
|
25
|
-
export declare type EpilotTypeAction = TypeAction & {
|
|
26
|
-
selectedText?: string;
|
|
27
|
-
};
|
|
28
|
-
export declare type TagColors = {
|
|
29
|
-
green: EpilotColor;
|
|
30
|
-
darkgrey: EpilotColor;
|
|
31
|
-
bostonblue: EpilotColor;
|
|
32
|
-
darkgreen: EpilotColor;
|
|
33
|
-
purple: EpilotColor;
|
|
34
|
-
pink: EpilotColor;
|
|
35
|
-
lightblue: EpilotColor;
|
|
36
|
-
blue: EpilotColor;
|
|
37
|
-
lavender: EpilotColor;
|
|
38
|
-
red: EpilotColor;
|
|
39
|
-
cyan: EpilotColor;
|
|
40
|
-
orange: EpilotColor;
|
|
41
|
-
};
|
|
42
|
-
export declare type EpilotPalette = Palette & TagColors & {
|
|
43
|
-
primary?: EpilotColor;
|
|
44
|
-
secondary?: EpilotColor;
|
|
45
|
-
grey?: EpilotColor;
|
|
46
|
-
focus?: EpilotColor;
|
|
47
|
-
tertiary?: EpilotColor;
|
|
48
|
-
accent1?: EpilotColor;
|
|
49
|
-
accent2?: EpilotColor;
|
|
50
|
-
success?: EpilotColor;
|
|
51
|
-
info?: EpilotColor;
|
|
52
|
-
warning?: EpilotColor;
|
|
53
|
-
error?: EpilotColor;
|
|
54
|
-
action?: EpilotTypeAction;
|
|
55
|
-
default?: EpilotColor;
|
|
56
|
-
};
|
|
57
|
-
export declare type EpilotOverrides = Overrides & {
|
|
58
|
-
MuiTabPanel: any;
|
|
59
|
-
MuiToggleButton: any;
|
|
60
|
-
MuiAutocomplete: any;
|
|
61
|
-
};
|
|
62
|
-
export interface EpilotTheme {
|
|
63
|
-
/**
|
|
64
|
-
* prefix of the css classes
|
|
65
|
-
*/
|
|
66
|
-
prefix?: string;
|
|
67
|
-
/**
|
|
68
|
-
* typography options
|
|
69
|
-
*/
|
|
70
|
-
typography?: EpilotTypography;
|
|
71
|
-
/**
|
|
72
|
-
* colors palette options
|
|
73
|
-
*/
|
|
74
|
-
palette?: EpilotPalette;
|
|
75
|
-
/**
|
|
76
|
-
* the space around the components
|
|
77
|
-
*/
|
|
78
|
-
spacing?: number;
|
|
79
|
-
/**
|
|
80
|
-
* style for the container shape, currently only changes the border_radius
|
|
81
|
-
*/
|
|
82
|
-
shape?: Shape;
|
|
83
|
-
breakpoints?: BreakpointsOptions;
|
|
84
|
-
/**
|
|
85
|
-
* props we use to overwrite some material ui props
|
|
86
|
-
*/
|
|
87
|
-
props?: {
|
|
88
|
-
client_logo_url?: string;
|
|
89
|
-
enable_ripple?: boolean;
|
|
90
|
-
content_max_width?: number;
|
|
91
|
-
};
|
|
92
|
-
/**
|
|
93
|
-
* Material UI components styling
|
|
94
|
-
*/
|
|
95
|
-
muiOverrides?: EpilotOverrides;
|
|
96
|
-
/**
|
|
97
|
-
* Material UI components props
|
|
98
|
-
*/
|
|
99
|
-
muiProps?: ComponentsProps;
|
|
100
|
-
/**
|
|
101
|
-
* Material UI components shadow
|
|
102
|
-
*/
|
|
103
|
-
shadows?: Shadows;
|
|
104
|
-
}
|
|
105
|
-
export declare type ThemeProviderProps = {
|
|
106
|
-
classPrefix?: string;
|
|
107
|
-
children: React.ReactNode;
|
|
108
|
-
} & ({
|
|
109
|
-
/**
|
|
110
|
-
* Theme to be applied to child components
|
|
111
|
-
*/
|
|
112
|
-
theme: Theme;
|
|
113
|
-
/**
|
|
114
|
-
* If the theme is Mui vanilla theme then isMuiTheme should be true
|
|
115
|
-
* @default false
|
|
116
|
-
*/
|
|
117
|
-
isMuiTheme: true;
|
|
118
|
-
} | {
|
|
119
|
-
/**
|
|
120
|
-
* Theme to be applied to child components
|
|
121
|
-
* * @default DefaultEpilotTheme
|
|
122
|
-
*/
|
|
123
|
-
theme?: EpilotTheme | never;
|
|
124
|
-
/**
|
|
125
|
-
* If the theme is Epilot theme then isMuiTheme should be false or not defined
|
|
126
|
-
* @default false
|
|
127
|
-
*/
|
|
128
|
-
isMuiTheme?: false | never;
|
|
129
|
-
});
|
|
130
|
-
export declare type EpilotCustomFontSource = {
|
|
131
|
-
fontFamily: string;
|
|
132
|
-
fontStyle: string;
|
|
133
|
-
fontDisplay: 'swap';
|
|
134
|
-
fontWeight: 400 | 600 | 800;
|
|
135
|
-
src: string;
|
|
136
|
-
};
|
|
1
|
+
export declare type TextTransform = 'capitalize' | 'full-size-kana' | 'full-width' | 'lowercase' | 'none' | 'uppercase';
|
|
2
|
+
import { Color, Theme } from '@material-ui/core';
|
|
3
|
+
import { BreakpointsOptions } from '@material-ui/core/styles/createBreakpoints';
|
|
4
|
+
import { Palette, PaletteColor, TypeAction } from '@material-ui/core/styles/createPalette';
|
|
5
|
+
import { Typography } from '@material-ui/core/styles/createTypography';
|
|
6
|
+
import { Overrides } from '@material-ui/core/styles/overrides';
|
|
7
|
+
import { ComponentsProps } from '@material-ui/core/styles/props';
|
|
8
|
+
import { Shadows } from '@material-ui/core/styles/shadows';
|
|
9
|
+
import { Shape } from '@material-ui/core/styles/shape';
|
|
10
|
+
import React from 'react';
|
|
11
|
+
export declare type EpilotTypography = Typography & {
|
|
12
|
+
fontSource?: EpilotCustomFontSource[];
|
|
13
|
+
};
|
|
14
|
+
export declare type EpilotColor = PaletteColor & Color & {
|
|
15
|
+
10: string;
|
|
16
|
+
20: string;
|
|
17
|
+
30: string;
|
|
18
|
+
40: string;
|
|
19
|
+
50: string;
|
|
20
|
+
60: string;
|
|
21
|
+
70: string;
|
|
22
|
+
80: string;
|
|
23
|
+
90: string;
|
|
24
|
+
};
|
|
25
|
+
export declare type EpilotTypeAction = TypeAction & {
|
|
26
|
+
selectedText?: string;
|
|
27
|
+
};
|
|
28
|
+
export declare type TagColors = {
|
|
29
|
+
green: EpilotColor;
|
|
30
|
+
darkgrey: EpilotColor;
|
|
31
|
+
bostonblue: EpilotColor;
|
|
32
|
+
darkgreen: EpilotColor;
|
|
33
|
+
purple: EpilotColor;
|
|
34
|
+
pink: EpilotColor;
|
|
35
|
+
lightblue: EpilotColor;
|
|
36
|
+
blue: EpilotColor;
|
|
37
|
+
lavender: EpilotColor;
|
|
38
|
+
red: EpilotColor;
|
|
39
|
+
cyan: EpilotColor;
|
|
40
|
+
orange: EpilotColor;
|
|
41
|
+
};
|
|
42
|
+
export declare type EpilotPalette = Palette & TagColors & {
|
|
43
|
+
primary?: EpilotColor;
|
|
44
|
+
secondary?: EpilotColor;
|
|
45
|
+
grey?: EpilotColor;
|
|
46
|
+
focus?: EpilotColor;
|
|
47
|
+
tertiary?: EpilotColor;
|
|
48
|
+
accent1?: EpilotColor;
|
|
49
|
+
accent2?: EpilotColor;
|
|
50
|
+
success?: EpilotColor;
|
|
51
|
+
info?: EpilotColor;
|
|
52
|
+
warning?: EpilotColor;
|
|
53
|
+
error?: EpilotColor;
|
|
54
|
+
action?: EpilotTypeAction;
|
|
55
|
+
default?: EpilotColor;
|
|
56
|
+
};
|
|
57
|
+
export declare type EpilotOverrides = Overrides & {
|
|
58
|
+
MuiTabPanel: any;
|
|
59
|
+
MuiToggleButton: any;
|
|
60
|
+
MuiAutocomplete: any;
|
|
61
|
+
};
|
|
62
|
+
export interface EpilotTheme {
|
|
63
|
+
/**
|
|
64
|
+
* prefix of the css classes
|
|
65
|
+
*/
|
|
66
|
+
prefix?: string;
|
|
67
|
+
/**
|
|
68
|
+
* typography options
|
|
69
|
+
*/
|
|
70
|
+
typography?: EpilotTypography;
|
|
71
|
+
/**
|
|
72
|
+
* colors palette options
|
|
73
|
+
*/
|
|
74
|
+
palette?: EpilotPalette;
|
|
75
|
+
/**
|
|
76
|
+
* the space around the components
|
|
77
|
+
*/
|
|
78
|
+
spacing?: number;
|
|
79
|
+
/**
|
|
80
|
+
* style for the container shape, currently only changes the border_radius
|
|
81
|
+
*/
|
|
82
|
+
shape?: Shape;
|
|
83
|
+
breakpoints?: BreakpointsOptions;
|
|
84
|
+
/**
|
|
85
|
+
* props we use to overwrite some material ui props
|
|
86
|
+
*/
|
|
87
|
+
props?: {
|
|
88
|
+
client_logo_url?: string;
|
|
89
|
+
enable_ripple?: boolean;
|
|
90
|
+
content_max_width?: number;
|
|
91
|
+
};
|
|
92
|
+
/**
|
|
93
|
+
* Material UI components styling
|
|
94
|
+
*/
|
|
95
|
+
muiOverrides?: EpilotOverrides;
|
|
96
|
+
/**
|
|
97
|
+
* Material UI components props
|
|
98
|
+
*/
|
|
99
|
+
muiProps?: ComponentsProps;
|
|
100
|
+
/**
|
|
101
|
+
* Material UI components shadow
|
|
102
|
+
*/
|
|
103
|
+
shadows?: Shadows;
|
|
104
|
+
}
|
|
105
|
+
export declare type ThemeProviderProps = {
|
|
106
|
+
classPrefix?: string;
|
|
107
|
+
children: React.ReactNode;
|
|
108
|
+
} & ({
|
|
109
|
+
/**
|
|
110
|
+
* Theme to be applied to child components
|
|
111
|
+
*/
|
|
112
|
+
theme: Theme;
|
|
113
|
+
/**
|
|
114
|
+
* If the theme is Mui vanilla theme then isMuiTheme should be true
|
|
115
|
+
* @default false
|
|
116
|
+
*/
|
|
117
|
+
isMuiTheme: true;
|
|
118
|
+
} | {
|
|
119
|
+
/**
|
|
120
|
+
* Theme to be applied to child components
|
|
121
|
+
* * @default DefaultEpilotTheme
|
|
122
|
+
*/
|
|
123
|
+
theme?: EpilotTheme | never;
|
|
124
|
+
/**
|
|
125
|
+
* If the theme is Epilot theme then isMuiTheme should be false or not defined
|
|
126
|
+
* @default false
|
|
127
|
+
*/
|
|
128
|
+
isMuiTheme?: false | never;
|
|
129
|
+
});
|
|
130
|
+
export declare type EpilotCustomFontSource = {
|
|
131
|
+
fontFamily: string;
|
|
132
|
+
fontStyle: string;
|
|
133
|
+
fontDisplay: 'swap';
|
|
134
|
+
fontWeight: 400 | 600 | 800;
|
|
135
|
+
src: string;
|
|
136
|
+
};
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
import ToggleButton from '@material-ui/lab/ToggleButton';
|
|
2
|
-
export { ToggleButton };
|
|
1
|
+
import ToggleButton from '@material-ui/lab/ToggleButton';
|
|
2
|
+
export { ToggleButton };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.ToggleButton = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var ToggleButton_1 = tslib_1.__importDefault(require("@material-ui/lab/ToggleButton"));
|
|
6
|
-
exports.ToggleButton = ToggleButton_1["default"];
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.ToggleButton = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var ToggleButton_1 = tslib_1.__importDefault(require("@material-ui/lab/ToggleButton"));
|
|
6
|
+
exports.ToggleButton = ToggleButton_1["default"];
|
|
7
7
|
//# sourceMappingURL=ToggleButton.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ToggleButton';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './ToggleButton';
|
|
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("./ToggleButton"), 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("./ToggleButton"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ExtendButtonBase } from '@material-ui/core';
|
|
2
|
-
import { ToggleButtonTypeMap } from '@material-ui/lab';
|
|
3
|
-
export declare type ToggleButtonProps = ExtendButtonBase<ToggleButtonTypeMap<{}, 'button'>>;
|
|
1
|
+
import { ExtendButtonBase } from '@material-ui/core';
|
|
2
|
+
import { ToggleButtonTypeMap } from '@material-ui/lab';
|
|
3
|
+
export declare type ToggleButtonProps = ExtendButtonBase<ToggleButtonTypeMap<{}, 'button'>>;
|
|
@@ -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,2 +1,2 @@
|
|
|
1
|
-
import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
2
|
-
export { ToggleButtonGroup };
|
|
1
|
+
import ToggleButtonGroup from '@material-ui/lab/ToggleButtonGroup';
|
|
2
|
+
export { ToggleButtonGroup };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.ToggleButtonGroup = void 0;
|
|
4
|
-
var tslib_1 = require("tslib");
|
|
5
|
-
var ToggleButtonGroup_1 = tslib_1.__importDefault(require("@material-ui/lab/ToggleButtonGroup"));
|
|
6
|
-
exports.ToggleButtonGroup = ToggleButtonGroup_1["default"];
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.ToggleButtonGroup = void 0;
|
|
4
|
+
var tslib_1 = require("tslib");
|
|
5
|
+
var ToggleButtonGroup_1 = tslib_1.__importDefault(require("@material-ui/lab/ToggleButtonGroup"));
|
|
6
|
+
exports.ToggleButtonGroup = ToggleButtonGroup_1["default"];
|
|
7
7
|
//# sourceMappingURL=ToggleButtonGroup.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './ToggleButtonGroup';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './ToggleButtonGroup';
|
|
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("./ToggleButtonGroup"), 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("./ToggleButtonGroup"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ToggleButtonGroupProps as MuiToggleButtonGroupProps } from '@material-ui/lab';
|
|
2
|
-
export declare type ToggleButtonGroupProps = MuiToggleButtonGroupProps;
|
|
1
|
+
import { ToggleButtonGroupProps as MuiToggleButtonGroupProps } from '@material-ui/lab';
|
|
2
|
+
export declare type ToggleButtonGroupProps = MuiToggleButtonGroupProps;
|
|
@@ -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 { TooltipProps } from './types';
|
|
3
|
-
export declare function Tooltip(props: TooltipProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TooltipProps } from './types';
|
|
3
|
+
export declare function Tooltip(props: TooltipProps): JSX.Element;
|
package/dist/Tooltip/Tooltip.js
CHANGED
|
@@ -1,23 +1,23 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.Tooltip = 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 useStylesLight = core_1.makeStyles(function () { return ({
|
|
8
|
-
arrow: {
|
|
9
|
-
color: '#ffffff'
|
|
10
|
-
},
|
|
11
|
-
tooltip: {
|
|
12
|
-
backgroundColor: '#ffffff',
|
|
13
|
-
boxShadow: '0px 2px 2px rgba(89, 103, 117, 0.2)',
|
|
14
|
-
color: '#000000'
|
|
15
|
-
}
|
|
16
|
-
}); });
|
|
17
|
-
function Tooltip(props) {
|
|
18
|
-
var children = props.children, _a = props.mode, mode = _a === void 0 ? 'dark' : _a, rest = tslib_1.__rest(props, ["children", "mode"]);
|
|
19
|
-
var classes = useStylesLight();
|
|
20
|
-
return (react_1["default"].createElement(core_1.Tooltip, tslib_1.__assign({ classes: mode === 'light' ? classes : undefined }, rest), children));
|
|
21
|
-
}
|
|
22
|
-
exports.Tooltip = Tooltip;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.Tooltip = 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 useStylesLight = core_1.makeStyles(function () { return ({
|
|
8
|
+
arrow: {
|
|
9
|
+
color: '#ffffff'
|
|
10
|
+
},
|
|
11
|
+
tooltip: {
|
|
12
|
+
backgroundColor: '#ffffff',
|
|
13
|
+
boxShadow: '0px 2px 2px rgba(89, 103, 117, 0.2)',
|
|
14
|
+
color: '#000000'
|
|
15
|
+
}
|
|
16
|
+
}); });
|
|
17
|
+
function Tooltip(props) {
|
|
18
|
+
var children = props.children, _a = props.mode, mode = _a === void 0 ? 'dark' : _a, rest = tslib_1.__rest(props, ["children", "mode"]);
|
|
19
|
+
var classes = useStylesLight();
|
|
20
|
+
return (react_1["default"].createElement(core_1.Tooltip, tslib_1.__assign({ classes: mode === 'light' ? classes : undefined }, rest), children));
|
|
21
|
+
}
|
|
22
|
+
exports.Tooltip = Tooltip;
|
|
23
23
|
//# sourceMappingURL=Tooltip.js.map
|
package/dist/Tooltip/index.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
export * from './Tooltip';
|
|
2
|
-
export * from './types';
|
|
1
|
+
export * from './Tooltip';
|
|
2
|
+
export * from './types';
|
package/dist/Tooltip/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("./Tooltip"), 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("./Tooltip"), exports);
|
|
5
|
+
tslib_1.__exportStar(require("./types"), exports);
|
|
6
6
|
//# sourceMappingURL=index.js.map
|
package/dist/Tooltip/types.d.ts
CHANGED
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
import { TooltipProps as MuiTooltipProps } from '@material-ui/core';
|
|
2
|
-
export declare type TooltipProps = MuiTooltipProps & {
|
|
3
|
-
/**
|
|
4
|
-
* the color theme
|
|
5
|
-
* @default 'dark'
|
|
6
|
-
*/
|
|
7
|
-
mode?: 'light' | 'dark';
|
|
8
|
-
};
|
|
1
|
+
import { TooltipProps as MuiTooltipProps } from '@material-ui/core';
|
|
2
|
+
export declare type TooltipProps = MuiTooltipProps & {
|
|
3
|
+
/**
|
|
4
|
+
* the color theme
|
|
5
|
+
* @default 'dark'
|
|
6
|
+
*/
|
|
7
|
+
mode?: 'light' | 'dark';
|
|
8
|
+
};
|
package/dist/Tooltip/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,13 +1,13 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
import { TypographyProps } from './types';
|
|
3
|
-
export declare function Typography(props: TypographyProps): JSX.Element;
|
|
4
|
-
export declare function DisplayText(props: TypographyProps): JSX.Element;
|
|
5
|
-
export declare function H1(props: TypographyProps): JSX.Element;
|
|
6
|
-
export declare function H2(props: TypographyProps): JSX.Element;
|
|
7
|
-
export declare function H3(props: TypographyProps): JSX.Element;
|
|
8
|
-
export declare function H4(props: TypographyProps): JSX.Element;
|
|
9
|
-
export declare function H5(props: TypographyProps): JSX.Element;
|
|
10
|
-
export declare function H6(props: TypographyProps): JSX.Element;
|
|
11
|
-
export declare function LargeText(props: TypographyProps): JSX.Element;
|
|
12
|
-
export declare function BodyText(props: TypographyProps): JSX.Element;
|
|
13
|
-
export declare function SmallText(props: TypographyProps): JSX.Element;
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { TypographyProps } from './types';
|
|
3
|
+
export declare function Typography(props: TypographyProps): JSX.Element;
|
|
4
|
+
export declare function DisplayText(props: TypographyProps): JSX.Element;
|
|
5
|
+
export declare function H1(props: TypographyProps): JSX.Element;
|
|
6
|
+
export declare function H2(props: TypographyProps): JSX.Element;
|
|
7
|
+
export declare function H3(props: TypographyProps): JSX.Element;
|
|
8
|
+
export declare function H4(props: TypographyProps): JSX.Element;
|
|
9
|
+
export declare function H5(props: TypographyProps): JSX.Element;
|
|
10
|
+
export declare function H6(props: TypographyProps): JSX.Element;
|
|
11
|
+
export declare function LargeText(props: TypographyProps): JSX.Element;
|
|
12
|
+
export declare function BodyText(props: TypographyProps): JSX.Element;
|
|
13
|
+
export declare function SmallText(props: TypographyProps): JSX.Element;
|
|
@@ -1,61 +1,61 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
exports.__esModule = true;
|
|
3
|
-
exports.SmallText = exports.BodyText = exports.LargeText = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.DisplayText = exports.Typography = 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 Typography(props) {
|
|
8
|
-
return react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, props));
|
|
9
|
-
}
|
|
10
|
-
exports.Typography = Typography;
|
|
11
|
-
function DisplayText(props) {
|
|
12
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
13
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h6" }), children));
|
|
14
|
-
}
|
|
15
|
-
exports.DisplayText = DisplayText;
|
|
16
|
-
function H1(props) {
|
|
17
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
18
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h1" }), children));
|
|
19
|
-
}
|
|
20
|
-
exports.H1 = H1;
|
|
21
|
-
function H2(props) {
|
|
22
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
23
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h2" }), children));
|
|
24
|
-
}
|
|
25
|
-
exports.H2 = H2;
|
|
26
|
-
function H3(props) {
|
|
27
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
28
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h3" }), children));
|
|
29
|
-
}
|
|
30
|
-
exports.H3 = H3;
|
|
31
|
-
function H4(props) {
|
|
32
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
33
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h4" }), children));
|
|
34
|
-
}
|
|
35
|
-
exports.H4 = H4;
|
|
36
|
-
function H5(props) {
|
|
37
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
38
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h5" }), children));
|
|
39
|
-
}
|
|
40
|
-
exports.H5 = H5;
|
|
41
|
-
function H6(props) {
|
|
42
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
43
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h6" }), children));
|
|
44
|
-
}
|
|
45
|
-
exports.H6 = H6;
|
|
46
|
-
function LargeText(props) {
|
|
47
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
48
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "body1" }), children));
|
|
49
|
-
}
|
|
50
|
-
exports.LargeText = LargeText;
|
|
51
|
-
function BodyText(props) {
|
|
52
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
53
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "body2" }), children));
|
|
54
|
-
}
|
|
55
|
-
exports.BodyText = BodyText;
|
|
56
|
-
function SmallText(props) {
|
|
57
|
-
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
58
|
-
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "caption" }), children));
|
|
59
|
-
}
|
|
60
|
-
exports.SmallText = SmallText;
|
|
1
|
+
"use strict";
|
|
2
|
+
exports.__esModule = true;
|
|
3
|
+
exports.SmallText = exports.BodyText = exports.LargeText = exports.H6 = exports.H5 = exports.H4 = exports.H3 = exports.H2 = exports.H1 = exports.DisplayText = exports.Typography = 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 Typography(props) {
|
|
8
|
+
return react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, props));
|
|
9
|
+
}
|
|
10
|
+
exports.Typography = Typography;
|
|
11
|
+
function DisplayText(props) {
|
|
12
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
13
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h6" }), children));
|
|
14
|
+
}
|
|
15
|
+
exports.DisplayText = DisplayText;
|
|
16
|
+
function H1(props) {
|
|
17
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
18
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h1" }), children));
|
|
19
|
+
}
|
|
20
|
+
exports.H1 = H1;
|
|
21
|
+
function H2(props) {
|
|
22
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
23
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h2" }), children));
|
|
24
|
+
}
|
|
25
|
+
exports.H2 = H2;
|
|
26
|
+
function H3(props) {
|
|
27
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
28
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h3" }), children));
|
|
29
|
+
}
|
|
30
|
+
exports.H3 = H3;
|
|
31
|
+
function H4(props) {
|
|
32
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
33
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h4" }), children));
|
|
34
|
+
}
|
|
35
|
+
exports.H4 = H4;
|
|
36
|
+
function H5(props) {
|
|
37
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
38
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h5" }), children));
|
|
39
|
+
}
|
|
40
|
+
exports.H5 = H5;
|
|
41
|
+
function H6(props) {
|
|
42
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
43
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "h6" }), children));
|
|
44
|
+
}
|
|
45
|
+
exports.H6 = H6;
|
|
46
|
+
function LargeText(props) {
|
|
47
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
48
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "body1" }), children));
|
|
49
|
+
}
|
|
50
|
+
exports.LargeText = LargeText;
|
|
51
|
+
function BodyText(props) {
|
|
52
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
53
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "body2" }), children));
|
|
54
|
+
}
|
|
55
|
+
exports.BodyText = BodyText;
|
|
56
|
+
function SmallText(props) {
|
|
57
|
+
var children = props.children, customColor = props.customColor, rest = tslib_1.__rest(props, ["children", "customColor"]);
|
|
58
|
+
return (react_1["default"].createElement(core_1.Typography, tslib_1.__assign({}, rest, { style: { color: customColor }, variant: "caption" }), children));
|
|
59
|
+
}
|
|
60
|
+
exports.SmallText = SmallText;
|
|
61
61
|
//# sourceMappingURL=Typography.js.map
|