@popmenu/common-ui 0.126.1 → 0.126.3
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/build/cjs/components/Avatar/Avatar.d.ts +3 -0
- package/build/cjs/components/Avatar/AvatarProps.d.ts +22 -0
- package/build/cjs/components/Avatar/avatar.styles.d.ts +2 -0
- package/build/cjs/components/Avatar/index.d.ts +2 -0
- package/build/cjs/components/Avatar/util/useImageProps.d.ts +10 -0
- package/build/cjs/components/BrowserSilhouette/BrowserSilhouette.d.ts +2 -0
- package/build/cjs/components/BrowserSilhouette/browserSilhouette.styles.d.ts +1 -0
- package/build/cjs/components/BrowserSilhouette/index.d.ts +1 -0
- package/build/cjs/components/Button/Button.d.ts +6 -0
- package/build/cjs/components/Button/ButtonProps.d.ts +11 -0
- package/build/cjs/components/Button/ButtonStyles.d.ts +2 -0
- package/build/cjs/components/Button/index.d.ts +2 -0
- package/build/cjs/components/Checkbox/Checkbox.d.ts +3 -0
- package/build/cjs/components/Checkbox/CheckboxProps.d.ts +7 -0
- package/build/cjs/components/Checkbox/index.d.ts +2 -0
- package/build/cjs/components/Chip/Chip.d.ts +6 -0
- package/build/cjs/components/Chip/ChipProps.d.ts +8 -0
- package/build/cjs/components/Chip/ChipStyles.d.ts +2 -0
- package/build/cjs/components/Chip/index.d.ts +2 -0
- package/build/cjs/components/CollapsibleText/CollapsibleText.d.ts +3 -0
- package/build/cjs/components/CollapsibleText/CollapsibleTextProps.d.ts +13 -0
- package/build/cjs/components/CollapsibleText/CollapsibleTextStyles.d.ts +5 -0
- package/build/cjs/components/CollapsibleText/index.d.ts +2 -0
- package/build/cjs/components/Divider/Divider.d.ts +3 -0
- package/build/cjs/components/Divider/DividerProps.d.ts +17 -0
- package/build/cjs/components/Divider/index.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationAltActions.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationBody.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationCloseButton.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationContent.d.ts +4 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationDialog.d.ts +3 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationDialogProps.d.ts +29 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationFooter.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationForm.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationGraphic.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationInfo.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/FollowerAuthenticationTitle.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/context.d.ts +4 -0
- package/build/cjs/components/FollowerAuthenticationDialog/index.d.ts +2 -0
- package/build/cjs/components/FollowerAuthenticationDialog/theme.d.ts +35 -0
- package/build/cjs/components/Icon/Icon.d.ts +4 -0
- package/build/cjs/components/Icon/IconProps.d.ts +17 -0
- package/build/cjs/components/Icon/IconStyles.d.ts +2 -0
- package/build/cjs/components/Icon/index.d.ts +2 -0
- package/build/cjs/components/IconButton/IconButton.d.ts +3 -0
- package/build/cjs/components/IconButton/IconButtonProps.d.ts +2 -0
- package/build/cjs/components/IconButton/index.d.ts +2 -0
- package/build/cjs/components/Link/Link.d.ts +11 -0
- package/build/cjs/components/Link/LinkStyles.d.ts +2 -0
- package/build/cjs/components/Link/index.d.ts +2 -0
- package/build/cjs/components/NumberField/NumberField.d.ts +3 -0
- package/build/cjs/components/NumberField/NumberFieldProps.d.ts +12 -0
- package/build/cjs/components/NumberField/NumberFieldStyles.d.ts +2 -0
- package/build/cjs/components/NumberField/index.d.ts +2 -0
- package/build/cjs/components/Paper/Paper.d.ts +6 -0
- package/build/cjs/components/Paper/index.d.ts +2 -0
- package/build/cjs/components/PaperContent/PaperContent.d.ts +2 -0
- package/build/cjs/components/PaperContent/index.d.ts +1 -0
- package/build/cjs/components/Radio/Radio.d.ts +3 -0
- package/build/cjs/components/Radio/RadioProps.d.ts +7 -0
- package/build/cjs/components/Radio/index.d.ts +2 -0
- package/build/cjs/components/SplitInput/SplitInput.d.ts +3 -0
- package/build/cjs/components/SplitInput/SplitInputProps.d.ts +20 -0
- package/build/cjs/components/SplitInput/SplitInputStyles.d.ts +2 -0
- package/build/cjs/components/SplitInput/index.d.ts +2 -0
- package/build/cjs/components/Switch/Switch.d.ts +3 -0
- package/build/cjs/components/Switch/SwitchProps.d.ts +7 -0
- package/build/cjs/components/Switch/index.d.ts +2 -0
- package/build/cjs/components/Switch/switch.styles.d.ts +2 -0
- package/build/cjs/components/TabPanel/TabPanel.d.ts +3 -0
- package/build/cjs/components/TabPanel/TabPanelProps.d.ts +3 -0
- package/build/cjs/components/TabPanel/index.d.ts +2 -0
- package/build/cjs/components/ToggleButton/ToggleButton.d.ts +3 -0
- package/build/cjs/components/ToggleButton/ToggleButtonProps.d.ts +4 -0
- package/build/cjs/components/ToggleButton/ToggleButtonStyles.d.ts +2 -0
- package/build/cjs/components/ToggleButton/index.d.ts +2 -0
- package/build/cjs/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
- package/build/cjs/components/ToggleButtonGroup/ToggleButtonGroupProps.d.ts +6 -0
- package/build/cjs/components/ToggleButtonGroup/ToggleButtonGroupStyles.d.ts +1 -0
- package/build/cjs/components/ToggleButtonGroup/index.d.ts +2 -0
- package/build/cjs/components/Tooltip/Tooltip.d.ts +3 -0
- package/build/cjs/components/Tooltip/TooltipProps.d.ts +1 -0
- package/build/cjs/components/Tooltip/TooltipStyles.d.ts +2 -0
- package/build/cjs/components/Tooltip/index.d.ts +2 -0
- package/build/cjs/components/Typography/Typography.d.ts +9 -0
- package/build/cjs/components/Typography/TypographyProps.d.ts +14 -0
- package/build/cjs/components/Typography/TypographyStyles.d.ts +10 -0
- package/build/cjs/components/Typography/index.d.ts +2 -0
- package/build/cjs/components/index.d.ts +45 -0
- package/build/cjs/hooks/index.d.ts +2 -0
- package/build/cjs/hooks/useCollapsibleText.d.ts +9 -0
- package/build/cjs/hooks/useTabs/index.d.ts +1 -0
- package/build/cjs/hooks/useTabs/useTabs.d.ts +3 -0
- package/build/cjs/hooks/useTabs/useTabsOptions.d.ts +3 -0
- package/build/cjs/hooks/useTabs/useTabsResult.d.ts +22 -0
- package/build/cjs/index.d.ts +3 -0
- package/build/{index.js → cjs/index.js} +350 -401
- package/build/cjs/index.js.map +1 -0
- package/build/cjs/types/index.d.ts +2 -0
- package/build/cjs/util/colors/alpha.d.ts +1 -0
- package/build/cjs/util/colors/darken.d.ts +1 -0
- package/build/cjs/util/colors/decomposeColor.d.ts +1 -0
- package/build/cjs/util/colors/getLuminance.d.ts +1 -0
- package/build/cjs/util/colors/hexToRgb.d.ts +1 -0
- package/build/cjs/util/colors/index.d.ts +8 -0
- package/build/cjs/util/colors/lighten.d.ts +1 -0
- package/build/cjs/util/colors/recomposeColor.d.ts +1 -0
- package/build/cjs/util/colors/rgbToHex.d.ts +1 -0
- package/build/cjs/util/createTheme.d.ts +1 -0
- package/build/cjs/util/index.d.ts +4 -0
- package/build/cjs/util/makeStyles.d.ts +1 -0
- package/build/esm/components/Avatar/Avatar.js +3 -3
- package/build/esm/components/Avatar/Avatar.js.map +1 -1
- package/build/esm/components/Avatar/AvatarProps.d.ts +1 -1
- package/build/esm/components/Avatar/avatar.styles.js +1 -1
- package/build/esm/components/Avatar/avatar.styles.js.map +1 -1
- package/build/esm/components/Avatar/index.d.ts +2 -2
- package/build/esm/components/BrowserSilhouette/BrowserSilhouette.js.map +1 -1
- package/build/esm/components/BrowserSilhouette/browserSilhouette.styles.js +1 -1
- package/build/esm/components/BrowserSilhouette/browserSilhouette.styles.js.map +1 -1
- package/build/esm/components/BrowserSilhouette/index.d.ts +1 -1
- package/build/esm/components/Button/Button.js +3 -5
- package/build/esm/components/Button/Button.js.map +1 -1
- package/build/esm/components/Button/ButtonProps.d.ts +1 -1
- package/build/esm/components/Button/ButtonStyles.js +1 -1
- package/build/esm/components/Button/ButtonStyles.js.map +1 -1
- package/build/esm/components/Button/index.d.ts +2 -2
- package/build/esm/components/Checkbox/Checkbox.js +2 -3
- package/build/esm/components/Checkbox/Checkbox.js.map +1 -1
- package/build/esm/components/Checkbox/CheckboxProps.d.ts +1 -2
- package/build/esm/components/Checkbox/index.d.ts +2 -2
- package/build/esm/components/Chip/Chip.js +3 -3
- package/build/esm/components/Chip/Chip.js.map +1 -1
- package/build/esm/components/Chip/ChipProps.d.ts +1 -1
- package/build/esm/components/Chip/ChipStyles.js +1 -1
- package/build/esm/components/Chip/ChipStyles.js.map +1 -1
- package/build/esm/components/Chip/index.d.ts +2 -2
- package/build/esm/components/CollapsibleText/CollapsibleText.js +1 -2
- package/build/esm/components/CollapsibleText/CollapsibleText.js.map +1 -1
- package/build/esm/components/CollapsibleText/CollapsibleTextProps.d.ts +1 -1
- package/build/esm/components/CollapsibleText/index.d.ts +2 -2
- package/build/esm/components/Divider/Divider.js.map +1 -1
- package/build/esm/components/Divider/index.d.ts +2 -2
- package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationForm.js +19 -3
- package/build/esm/components/FollowerAuthenticationDialog/FollowerAuthenticationForm.js.map +1 -1
- package/build/esm/components/FollowerAuthenticationDialog/index.d.ts +1 -1
- package/build/esm/components/Icon/Icon.js +2 -2
- package/build/esm/components/Icon/Icon.js.map +1 -1
- package/build/esm/components/Icon/IconStyles.js +5 -1
- package/build/esm/components/Icon/IconStyles.js.map +1 -1
- package/build/esm/components/Icon/index.d.ts +2 -2
- package/build/esm/components/IconButton/IconButton.d.ts +1 -1
- package/build/esm/components/IconButton/IconButton.js +2 -2
- package/build/esm/components/IconButton/IconButton.js.map +1 -1
- package/build/esm/components/IconButton/IconButtonProps.d.ts +1 -1
- package/build/esm/components/IconButton/index.d.ts +2 -2
- package/build/esm/components/Link/LinkStyles.js +1 -1
- package/build/esm/components/Link/LinkStyles.js.map +1 -1
- package/build/esm/components/Link/index.d.ts +2 -2
- package/build/esm/components/NumberField/NumberField.js +1 -1
- package/build/esm/components/NumberField/NumberField.js.map +1 -1
- package/build/esm/components/NumberField/index.d.ts +1 -1
- package/build/esm/components/Paper/index.d.ts +2 -1
- package/build/esm/components/PaperContent/PaperContent.js.map +1 -1
- package/build/esm/components/PaperContent/index.d.ts +1 -1
- package/build/esm/components/Radio/Radio.js +2 -3
- package/build/esm/components/Radio/Radio.js.map +1 -1
- package/build/esm/components/Radio/RadioProps.d.ts +1 -2
- package/build/esm/components/Radio/index.d.ts +2 -2
- package/build/esm/components/SplitInput/SplitInput.js +1 -2
- package/build/esm/components/SplitInput/SplitInput.js.map +1 -1
- package/build/esm/components/SplitInput/SplitInputProps.d.ts +3 -3
- package/build/esm/components/SplitInput/SplitInputStyles.js +1 -1
- package/build/esm/components/SplitInput/SplitInputStyles.js.map +1 -1
- package/build/esm/components/SplitInput/index.d.ts +2 -2
- package/build/esm/components/Switch/Switch.js +2 -3
- package/build/esm/components/Switch/Switch.js.map +1 -1
- package/build/esm/components/Switch/SwitchProps.d.ts +1 -2
- package/build/esm/components/Switch/index.d.ts +2 -2
- package/build/esm/components/Switch/switch.styles.js +1 -1
- package/build/esm/components/Switch/switch.styles.js.map +1 -1
- package/build/esm/components/TabPanel/TabPanel.js.map +1 -1
- package/build/esm/components/TabPanel/index.d.ts +1 -1
- package/build/esm/components/ToggleButton/ToggleButton.js +2 -2
- package/build/esm/components/ToggleButton/ToggleButton.js.map +1 -1
- package/build/esm/components/ToggleButton/ToggleButtonProps.d.ts +1 -1
- package/build/esm/components/ToggleButton/ToggleButtonStyles.js +1 -1
- package/build/esm/components/ToggleButton/ToggleButtonStyles.js.map +1 -1
- package/build/esm/components/ToggleButton/index.d.ts +2 -2
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.js +2 -2
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.js.map +1 -1
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupProps.d.ts +1 -1
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupStyles.js +1 -1
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupStyles.js.map +1 -1
- package/build/esm/components/ToggleButtonGroup/index.d.ts +2 -2
- package/build/esm/components/Tooltip/Tooltip.d.ts +1 -1
- package/build/esm/components/Tooltip/Tooltip.js +2 -2
- package/build/esm/components/Tooltip/Tooltip.js.map +1 -1
- package/build/esm/components/Tooltip/TooltipProps.d.ts +1 -1
- package/build/esm/components/Tooltip/TooltipStyles.js +1 -1
- package/build/esm/components/Tooltip/TooltipStyles.js.map +1 -1
- package/build/esm/components/Tooltip/index.d.ts +2 -2
- package/build/esm/components/Typography/Typography.d.ts +1 -1
- package/build/esm/components/Typography/TypographyProps.d.ts +1 -2
- package/build/esm/components/Typography/TypographyProps.js.map +1 -1
- package/build/esm/components/Typography/TypographyStyles.d.ts +1 -1
- package/build/esm/components/Typography/TypographyStyles.js +1 -1
- package/build/esm/components/Typography/TypographyStyles.js.map +1 -1
- package/build/esm/components/Typography/index.d.ts +2 -2
- package/build/esm/components/index.d.ts +45 -78
- package/build/esm/index.js +5 -37
- package/build/esm/index.js.map +1 -1
- package/build/esm/util/index.d.ts +1 -1
- package/package.json +3 -3
- package/build/esm/components/Accordion/index.d.ts +0 -1
- package/build/esm/components/AccordionActions/index.d.ts +0 -1
- package/build/esm/components/AccordionDetails/index.d.ts +0 -1
- package/build/esm/components/AccordionSummary/index.d.ts +0 -1
- package/build/esm/components/Alert/index.d.ts +0 -1
- package/build/esm/components/AppBar/index.d.ts +0 -1
- package/build/esm/components/Badge/index.d.ts +0 -1
- package/build/esm/components/Box/Box.d.ts +0 -3
- package/build/esm/components/Box/BoxProps.d.ts +0 -5
- package/build/esm/components/Box/BoxStyles.d.ts +0 -1
- package/build/esm/components/Box/index.d.ts +0 -7
- package/build/esm/components/Breadcrumbs/index.d.ts +0 -1
- package/build/esm/components/ButtonBase/index.d.ts +0 -1
- package/build/esm/components/ButtonGroup/index.d.ts +0 -1
- package/build/esm/components/Card/index.d.ts +0 -1
- package/build/esm/components/CardActionArea/index.d.ts +0 -1
- package/build/esm/components/CardActions/index.d.ts +0 -1
- package/build/esm/components/CardContent/index.d.ts +0 -1
- package/build/esm/components/CardHeader/index.d.ts +0 -1
- package/build/esm/components/CardMedia/index.d.ts +0 -1
- package/build/esm/components/CircularProgress/index.d.ts +0 -1
- package/build/esm/components/ClickAwayListener/index.d.ts +0 -1
- package/build/esm/components/Dialog/index.d.ts +0 -1
- package/build/esm/components/DialogActions/index.d.ts +0 -1
- package/build/esm/components/DialogContent/index.d.ts +0 -1
- package/build/esm/components/DialogContentText/index.d.ts +0 -1
- package/build/esm/components/DialogTitle/index.d.ts +0 -1
- package/build/esm/components/Drawer/index.d.ts +0 -1
- package/build/esm/components/Fab/index.d.ts +0 -1
- package/build/esm/components/FormControl/index.d.ts +0 -1
- package/build/esm/components/FormControlLabel/index.d.ts +0 -1
- package/build/esm/components/FormLabel/index.d.ts +0 -1
- package/build/esm/components/Grid/index.d.ts +0 -1
- package/build/esm/components/GridList/index.d.ts +0 -1
- package/build/esm/components/Hidden/index.d.ts +0 -1
- package/build/esm/components/InputAdornment/index.d.ts +0 -1
- package/build/esm/components/LinearProgress/index.d.ts +0 -1
- package/build/esm/components/List/index.d.ts +0 -1
- package/build/esm/components/ListItem/index.d.ts +0 -1
- package/build/esm/components/ListItemAvatar/index.d.ts +0 -1
- package/build/esm/components/ListItemIcon/index.d.ts +0 -1
- package/build/esm/components/ListItemSecondaryAction/index.d.ts +0 -1
- package/build/esm/components/ListItemText/index.d.ts +0 -1
- package/build/esm/components/Menu/index.d.ts +0 -1
- package/build/esm/components/MenuItem/index.d.ts +0 -1
- package/build/esm/components/MenuList/index.d.ts +0 -1
- package/build/esm/components/Modal/index.d.ts +0 -1
- package/build/esm/components/Popover/index.d.ts +0 -1
- package/build/esm/components/Popper/index.d.ts +0 -1
- package/build/esm/components/Step/index.d.ts +0 -1
- package/build/esm/components/StepButton/index.d.ts +0 -1
- package/build/esm/components/StepConnector/index.d.ts +0 -1
- package/build/esm/components/StepContent/index.d.ts +0 -1
- package/build/esm/components/StepIcon/index.d.ts +0 -1
- package/build/esm/components/StepLabel/index.d.ts +0 -1
- package/build/esm/components/Stepper/index.d.ts +0 -1
- package/build/esm/components/Tab/index.d.ts +0 -1
- package/build/esm/components/Tabs/index.d.ts +0 -1
- package/build/esm/components/TextField/index.d.ts +0 -1
- package/build/esm/components/ThemeProvider/index.d.ts +0 -1
- package/build/esm/components/Toolbar/index.d.ts +0 -1
- package/build/esm/util/ServerStyleSheets.d.ts +0 -1
- package/build/index.js.map +0 -1
|
@@ -1,55 +1,11 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var Alert = require('@material-ui/lab/Alert');
|
|
4
3
|
var core = require('@material-ui/core');
|
|
5
|
-
var
|
|
4
|
+
var lab = require('@material-ui/lab');
|
|
6
5
|
var tslib = require('tslib');
|
|
7
|
-
var React = require('react');
|
|
8
|
-
var MuiAvatar = require('@material-ui/core/Avatar');
|
|
9
6
|
var webIcons = require('@popmenu/web-icons');
|
|
7
|
+
var React = require('react');
|
|
10
8
|
var classNames = require('classnames');
|
|
11
|
-
var styles = require('@material-ui/core/styles');
|
|
12
|
-
var Badge = require('@material-ui/core/Badge');
|
|
13
|
-
var MuiButton = require('@material-ui/core/Button');
|
|
14
|
-
var CircularProgress = require('@material-ui/core/CircularProgress');
|
|
15
|
-
var ButtonGroup = require('@material-ui/core/ButtonGroup');
|
|
16
|
-
var Card = require('@material-ui/core/Card');
|
|
17
|
-
var CardActionArea = require('@material-ui/core/CardActionArea');
|
|
18
|
-
var CardActions = require('@material-ui/core/CardActions');
|
|
19
|
-
var CardContent = require('@material-ui/core/CardContent');
|
|
20
|
-
var CardHeader = require('@material-ui/core/CardHeader');
|
|
21
|
-
var CardMedia = require('@material-ui/core/CardMedia');
|
|
22
|
-
var MuiCheckbox = require('@material-ui/core/Checkbox');
|
|
23
|
-
var FormControlLabel = require('@material-ui/core/FormControlLabel');
|
|
24
|
-
var MuiChip = require('@material-ui/core/Chip');
|
|
25
|
-
var Collapse = require('@material-ui/core/Collapse');
|
|
26
|
-
var Dialog = require('@material-ui/core/Dialog');
|
|
27
|
-
var DialogActions = require('@material-ui/core/DialogActions');
|
|
28
|
-
var DialogContent = require('@material-ui/core/DialogContent');
|
|
29
|
-
var DialogTitle = require('@material-ui/core/DialogTitle');
|
|
30
|
-
var Drawer = require('@material-ui/core/Drawer');
|
|
31
|
-
var FormControl = require('@material-ui/core/FormControl');
|
|
32
|
-
var Grid = require('@material-ui/core/Grid');
|
|
33
|
-
var MuiIconButton = require('@material-ui/core/IconButton');
|
|
34
|
-
var InputAdornment = require('@material-ui/core/InputAdornment');
|
|
35
|
-
var LinearProgress = require('@material-ui/core/LinearProgress');
|
|
36
|
-
var List = require('@material-ui/core/List');
|
|
37
|
-
var ListItem = require('@material-ui/core/ListItem');
|
|
38
|
-
var ListItemAvatar = require('@material-ui/core/ListItemAvatar');
|
|
39
|
-
var ListItemIcon = require('@material-ui/core/ListItemIcon');
|
|
40
|
-
var ListItemSecondaryAction = require('@material-ui/core/ListItemSecondaryAction');
|
|
41
|
-
var ListItemText = require('@material-ui/core/ListItemText');
|
|
42
|
-
var Menu = require('@material-ui/core/Menu');
|
|
43
|
-
var MenuItem = require('@material-ui/core/MenuItem');
|
|
44
|
-
var MenuList = require('@material-ui/core/MenuList');
|
|
45
|
-
var MuiRadio = require('@material-ui/core/Radio');
|
|
46
|
-
var TextField = require('@material-ui/core/TextField');
|
|
47
|
-
var MuiSwitch = require('@material-ui/core/Switch');
|
|
48
|
-
var Tab = require('@material-ui/core/Tab');
|
|
49
|
-
var Tabs = require('@material-ui/core/Tabs');
|
|
50
|
-
var MuiToggleButton = require('@material-ui/lab/ToggleButton');
|
|
51
|
-
var MuiToggleButtonGroup = require('@material-ui/lab/ToggleButtonGroup');
|
|
52
|
-
var MuiTooltip = require('@material-ui/core/Tooltip');
|
|
53
9
|
|
|
54
10
|
var useIconStyles = core.makeStyles(function (_a) {
|
|
55
11
|
var spacing = _a.spacing, palette = _a.palette;
|
|
@@ -62,7 +18,9 @@ var useIconStyles = core.makeStyles(function (_a) {
|
|
|
62
18
|
large: spacing(2.5),
|
|
63
19
|
'extra-large': spacing(3),
|
|
64
20
|
};
|
|
65
|
-
|
|
21
|
+
if (!size || !sizes[size])
|
|
22
|
+
return 'inherit';
|
|
23
|
+
return sizes[size];
|
|
66
24
|
};
|
|
67
25
|
var getColor = function (props) {
|
|
68
26
|
var semanticColors = ['primary', 'secondary', 'info', 'success', 'warning', 'error'];
|
|
@@ -83,6 +41,8 @@ var useIconStyles = core.makeStyles(function (_a) {
|
|
|
83
41
|
root: {
|
|
84
42
|
color: getColor,
|
|
85
43
|
fontSize: getFontSize,
|
|
44
|
+
width: '1em',
|
|
45
|
+
height: '1em',
|
|
86
46
|
strokeWidth: '1.3px',
|
|
87
47
|
},
|
|
88
48
|
};
|
|
@@ -101,7 +61,7 @@ var Icon = function (props) {
|
|
|
101
61
|
isValid = false;
|
|
102
62
|
}
|
|
103
63
|
return isValid
|
|
104
|
-
? React.createElement(icon, tslib.__assign({ className: classNames([classes.root, iconStaticClassName, className]) }, restProps))
|
|
64
|
+
? React.createElement(icon, tslib.__assign({ className: classNames([classes.root, iconStaticClassName, className]), width: undefined, height: undefined }, restProps))
|
|
105
65
|
: null;
|
|
106
66
|
};
|
|
107
67
|
Icon.defaultProps = {
|
|
@@ -147,7 +107,7 @@ var getAvatarFontSize = function (props) {
|
|
|
147
107
|
};
|
|
148
108
|
return fontSizes[props.size];
|
|
149
109
|
};
|
|
150
|
-
var useAvatarStyles =
|
|
110
|
+
var useAvatarStyles = core.makeStyles(function (theme) { return ({
|
|
151
111
|
root: function (props) { return ({
|
|
152
112
|
width: getAvatarDimensions(theme, props),
|
|
153
113
|
height: getAvatarDimensions(theme, props),
|
|
@@ -182,7 +142,7 @@ var Avatar = React.forwardRef(function (props, ref) {
|
|
|
182
142
|
else {
|
|
183
143
|
Fallback = React.createElement(Icon, { icon: webIcons.User, className: classes.fallback });
|
|
184
144
|
}
|
|
185
|
-
return (React.createElement(
|
|
145
|
+
return (React.createElement(core.Avatar, tslib.__assign({ ref: ref, classes: { root: classes.root }, src: src, alt: alt }, muiProps, { imgProps: imgProps }), children || Fallback));
|
|
186
146
|
});
|
|
187
147
|
Avatar.defaultProps = {
|
|
188
148
|
size: 'medium',
|
|
@@ -191,7 +151,7 @@ Avatar.defaultProps = {
|
|
|
191
151
|
};
|
|
192
152
|
Avatar.displayName = 'Avatar';
|
|
193
153
|
|
|
194
|
-
var useBrowserSilhouetteStyles =
|
|
154
|
+
var useBrowserSilhouetteStyles = core.makeStyles(function (theme) { return ({
|
|
195
155
|
circle: {
|
|
196
156
|
backgroundColor: theme.palette.grey[300],
|
|
197
157
|
borderRadius: '50%',
|
|
@@ -224,7 +184,7 @@ var BrowserSilhouette = function (_a) {
|
|
|
224
184
|
children)));
|
|
225
185
|
};
|
|
226
186
|
|
|
227
|
-
var useButtonStyles =
|
|
187
|
+
var useButtonStyles = core.makeStyles(function () { return ({
|
|
228
188
|
root: {
|
|
229
189
|
minWidth: 'unset',
|
|
230
190
|
},
|
|
@@ -240,19 +200,19 @@ var Button = function (props) {
|
|
|
240
200
|
props.textTransform; var loading = props.loading, classesOverride = props.classes, className = props.className, ButtonRef = props.ButtonRef, muiProps = tslib.__rest(props, ["textTransform", "loading", "classes", "className", "ButtonRef"]);
|
|
241
201
|
props.classes; var styleProps = tslib.__rest(props, ["classes"]);
|
|
242
202
|
var classes = useButtonStyles(styleProps);
|
|
243
|
-
var typography =
|
|
203
|
+
var typography = core.useTheme().typography;
|
|
244
204
|
var loadingIndicator = {
|
|
245
|
-
startIcon: React.createElement(CircularProgress, { color: "inherit", size: typography.button.fontSize }),
|
|
205
|
+
startIcon: React.createElement(core.CircularProgress, { color: "inherit", size: typography.button.fontSize }),
|
|
246
206
|
disabled: true,
|
|
247
207
|
};
|
|
248
|
-
return (React.createElement(
|
|
208
|
+
return (React.createElement(core.Button, tslib.__assign({ ref: ButtonRef, classes: tslib.__assign(tslib.__assign({}, classes), classesOverride), className: classNames([className, 'pm-button']) }, muiProps, (loading && loadingIndicator))));
|
|
249
209
|
};
|
|
250
210
|
Button.displayName = 'Button';
|
|
251
211
|
|
|
252
212
|
var Checkbox = React.forwardRef(function (props, ref) {
|
|
253
213
|
var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = tslib.__rest(props, ["label", "disabled", "LabelProps"]);
|
|
254
|
-
var control = React.createElement(
|
|
255
|
-
return label ? (React.createElement(FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
214
|
+
var control = React.createElement(core.Checkbox, tslib.__assign({ disabled: label ? undefined : disabled }, muiProps));
|
|
215
|
+
return label ? (React.createElement(core.FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
256
216
|
});
|
|
257
217
|
Checkbox.displayName = 'Checkbox';
|
|
258
218
|
|
|
@@ -318,7 +278,7 @@ var getBorder = function (theme) { return function (props) {
|
|
|
318
278
|
}; };
|
|
319
279
|
// using `any` here is a bit of cheating but it doesn't matter since this doesn't depend on
|
|
320
280
|
// any component-specific props
|
|
321
|
-
var useChipStyles =
|
|
281
|
+
var useChipStyles = core.makeStyles(function (theme) { return ({
|
|
322
282
|
root: {
|
|
323
283
|
background: getBackground(theme),
|
|
324
284
|
color: getColor(theme),
|
|
@@ -346,7 +306,7 @@ var Chip = function (props) {
|
|
|
346
306
|
var classes = useChipStyles(props);
|
|
347
307
|
var icon = severity ? React.createElement(IconDictionary[severity]) : undefined;
|
|
348
308
|
var deleteIcon = React.createElement(webIcons.XCircle);
|
|
349
|
-
return React.createElement(
|
|
309
|
+
return React.createElement(core.Chip, tslib.__assign({ classes: classes, icon: icon, deleteIcon: deleteIcon }, restProps));
|
|
350
310
|
};
|
|
351
311
|
Chip.displayName = 'Chip';
|
|
352
312
|
|
|
@@ -384,7 +344,7 @@ var getCustomColor = function (theme, color) {
|
|
|
384
344
|
return undefined;
|
|
385
345
|
}
|
|
386
346
|
};
|
|
387
|
-
var useTypographyStyles =
|
|
347
|
+
var useTypographyStyles = core.makeStyles(function (theme) {
|
|
388
348
|
var _a;
|
|
389
349
|
return ({
|
|
390
350
|
root: (_a = {},
|
|
@@ -481,7 +441,7 @@ var CollapsibleText = function (props) {
|
|
|
481
441
|
};
|
|
482
442
|
}, []);
|
|
483
443
|
return (React.createElement(core.Box, tslib.__assign({ position: "relative", overflow: "hidden" }, restProps),
|
|
484
|
-
React.createElement(Collapse, { in: open, collapsedSize: collapsedSizePx + 'px' },
|
|
444
|
+
React.createElement(core.Collapse, { in: open, collapsedSize: collapsedSizePx + 'px' },
|
|
485
445
|
React.createElement(Typography, { TypographyRef: typographyRef, variant: typographyVariant }, text)),
|
|
486
446
|
collapsible && !open && React.createElement(core.Box, { className: classes.overlay })));
|
|
487
447
|
};
|
|
@@ -548,235 +508,7 @@ Divider.defaultProps = {
|
|
|
548
508
|
textTransform: 'lowercase',
|
|
549
509
|
};
|
|
550
510
|
|
|
551
|
-
var
|
|
552
|
-
return React.createElement(MuiIconButton, tslib.__assign({ ref: ref }, props));
|
|
553
|
-
});
|
|
554
|
-
IconButton.displayName = 'IconButton';
|
|
555
|
-
IconButton.defaultProps = {
|
|
556
|
-
color: 'secondary',
|
|
557
|
-
};
|
|
558
|
-
|
|
559
|
-
var useLinkStyles = styles.makeStyles(function (theme) { return ({
|
|
560
|
-
root: function (props) {
|
|
561
|
-
var _a;
|
|
562
|
-
return (tslib.__assign(tslib.__assign({ display: 'flex' }, (props.color === undefined && { color: theme.palette.info.main })), (_a = {}, _a["& ." + iconStaticClassName] = {
|
|
563
|
-
alignSelf: 'center',
|
|
564
|
-
}, _a)));
|
|
565
|
-
},
|
|
566
|
-
}); });
|
|
567
|
-
|
|
568
|
-
// eslint-disable-next-line react/display-name -- false positive
|
|
569
|
-
var Link = React.forwardRef(function (props, ref) {
|
|
570
|
-
var children = props.children, muiProps = tslib.__rest(props, ["children"]);
|
|
571
|
-
var classes = useLinkStyles(props);
|
|
572
|
-
return (React.createElement(core.Link, tslib.__assign({ ref: ref, classes: { root: classes.root } }, muiProps), children));
|
|
573
|
-
});
|
|
574
|
-
Link.defaultProps = {
|
|
575
|
-
variant: 'body1',
|
|
576
|
-
};
|
|
577
|
-
Link.displayName = 'Link';
|
|
578
|
-
|
|
579
|
-
var useStyles$4 = core.makeStyles(function (_a) {
|
|
580
|
-
var spacing = _a.spacing;
|
|
581
|
-
return ({
|
|
582
|
-
root: {
|
|
583
|
-
'&:last-child': {
|
|
584
|
-
marginBottom: 0,
|
|
585
|
-
},
|
|
586
|
-
marginBottom: spacing(4),
|
|
587
|
-
padding: spacing(4),
|
|
588
|
-
},
|
|
589
|
-
});
|
|
590
|
-
});
|
|
591
|
-
var Paper = React.forwardRef(function (props, ref) {
|
|
592
|
-
var legacyStyles = props.legacyStyles, restProps = tslib.__rest(props, ["legacyStyles"]);
|
|
593
|
-
var classes = useStyles$4(props);
|
|
594
|
-
return React.createElement(core.Paper, tslib.__assign({}, ref, { classes: tslib.__assign({}, (legacyStyles && classes)) }, restProps));
|
|
595
|
-
});
|
|
596
|
-
Paper.displayName = 'Paper';
|
|
597
|
-
Paper.defaultProps = {
|
|
598
|
-
legacyStyles: false,
|
|
599
|
-
};
|
|
600
|
-
|
|
601
|
-
var PaperContent = function (props) {
|
|
602
|
-
var children = props.children;
|
|
603
|
-
return React.createElement(core.Box, { padding: 4 }, children);
|
|
604
|
-
};
|
|
605
|
-
|
|
606
|
-
var Radio = React.forwardRef(function (props, ref) {
|
|
607
|
-
var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = tslib.__rest(props, ["label", "disabled", "LabelProps"]);
|
|
608
|
-
var control = React.createElement(MuiRadio, tslib.__assign({ disabled: label ? undefined : disabled }, muiProps));
|
|
609
|
-
return label ? (React.createElement(FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
610
|
-
});
|
|
611
|
-
Radio.displayName = 'Radio';
|
|
612
|
-
|
|
613
|
-
var useSplitInputStyles = styles.makeStyles(function () { return ({
|
|
614
|
-
textfield: {
|
|
615
|
-
background: function (props) { return (props.backgroundTransparency ? '#FFFFFF44' : 'none'); },
|
|
616
|
-
borderTopLeftRadius: 4,
|
|
617
|
-
borderBottomLeftRadius: 4,
|
|
618
|
-
'& fieldset': {
|
|
619
|
-
borderRight: 'none',
|
|
620
|
-
borderTopRightRadius: 0,
|
|
621
|
-
borderBottomRightRadius: 0,
|
|
622
|
-
},
|
|
623
|
-
},
|
|
624
|
-
button: {
|
|
625
|
-
borderTopLeftRadius: 0,
|
|
626
|
-
borderBottomLeftRadius: 0,
|
|
627
|
-
alignSelf: 'stretch',
|
|
628
|
-
},
|
|
629
|
-
input: {
|
|
630
|
-
color: function (props) { return props.inputTextColor || 'inherit'; },
|
|
631
|
-
'&$focused fieldset': {
|
|
632
|
-
top: -4,
|
|
633
|
-
},
|
|
634
|
-
},
|
|
635
|
-
focused: {},
|
|
636
|
-
}); });
|
|
637
|
-
|
|
638
|
-
var SplitInput = function (props) {
|
|
639
|
-
var buttonLabel = props.buttonLabel, TextFieldProps = props.TextFieldProps, ButtonProps = props.ButtonProps, color = props.color, onChange = props.onChange, onClick = props.onClick;
|
|
640
|
-
var classes = useSplitInputStyles(props);
|
|
641
|
-
return (React.createElement(core.Box, { display: "flex" },
|
|
642
|
-
React.createElement(TextField, tslib.__assign({ classes: { root: classes.textfield }, InputProps: { classes: { root: classes.input, focused: classes.focused } }, color: color, variant: "outlined", onChange: onChange }, TextFieldProps)),
|
|
643
|
-
React.createElement(Button, tslib.__assign({ classes: { root: classes.button }, disableElevation: true, color: color, variant: "contained", onClick: onClick }, ButtonProps), buttonLabel)));
|
|
644
|
-
};
|
|
645
|
-
SplitInput.displayName = 'SplitInput';
|
|
646
|
-
SplitInput.defaultProps = {
|
|
647
|
-
backgroundTransparency: true,
|
|
648
|
-
color: 'primary',
|
|
649
|
-
};
|
|
650
|
-
|
|
651
|
-
var useSwitchStyles = styles.makeStyles(function (theme) { return ({
|
|
652
|
-
checked: {
|
|
653
|
-
'& $thumb': {
|
|
654
|
-
background: theme.palette.success.main,
|
|
655
|
-
},
|
|
656
|
-
'&& + $track': {
|
|
657
|
-
backgroundColor: theme.palette.success.main,
|
|
658
|
-
},
|
|
659
|
-
},
|
|
660
|
-
thumb: {},
|
|
661
|
-
track: {},
|
|
662
|
-
}); });
|
|
663
|
-
|
|
664
|
-
var Switch = React.forwardRef(function (props, ref) {
|
|
665
|
-
var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = tslib.__rest(props, ["label", "disabled", "LabelProps"]);
|
|
666
|
-
var classes = useSwitchStyles(props);
|
|
667
|
-
var control = React.createElement(MuiSwitch, tslib.__assign({ classes: classes, disabled: label ? undefined : disabled }, muiProps));
|
|
668
|
-
return label ? (React.createElement(FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
669
|
-
});
|
|
670
|
-
Switch.displayName = 'Switch';
|
|
671
|
-
|
|
672
|
-
var TabPanel = function (props) {
|
|
673
|
-
var children = props.children, show = props.show;
|
|
674
|
-
return show ? React.createElement(core.Box, null, children) : null;
|
|
675
|
-
};
|
|
676
|
-
|
|
677
|
-
var useToggleButtonStyles = styles.makeStyles(function (theme) { return ({
|
|
678
|
-
root: {
|
|
679
|
-
color: theme.palette.text.primary,
|
|
680
|
-
},
|
|
681
|
-
selected: {
|
|
682
|
-
'&&': {
|
|
683
|
-
'&:hover': {
|
|
684
|
-
backgroundColor: function (props) { return theme.palette[props.color || 'primary'].dark; },
|
|
685
|
-
},
|
|
686
|
-
backgroundColor: function (props) { return theme.palette[props.color || 'primary'].main; },
|
|
687
|
-
color: 'white',
|
|
688
|
-
},
|
|
689
|
-
},
|
|
690
|
-
}); });
|
|
691
|
-
|
|
692
|
-
var ToggleButton = React.forwardRef(function (props, ref) {
|
|
693
|
-
var children = props.children, muiProps = tslib.__rest(props, ["children"]);
|
|
694
|
-
var classes = useToggleButtonStyles(props);
|
|
695
|
-
return (React.createElement(MuiToggleButton, tslib.__assign({ ref: ref, classes: {
|
|
696
|
-
root: classes.root,
|
|
697
|
-
selected: classes.selected,
|
|
698
|
-
} }, muiProps), children));
|
|
699
|
-
});
|
|
700
|
-
ToggleButton.defaultProps = {
|
|
701
|
-
color: 'primary',
|
|
702
|
-
};
|
|
703
|
-
ToggleButton.displayName = 'ToggleButton';
|
|
704
|
-
|
|
705
|
-
var useToggleButtonGroupStyles = styles.makeStyles(function (theme) { return ({
|
|
706
|
-
root: {
|
|
707
|
-
'&&': {
|
|
708
|
-
backgroundColor: theme.palette.grey[300],
|
|
709
|
-
},
|
|
710
|
-
},
|
|
711
|
-
}); });
|
|
712
|
-
|
|
713
|
-
var ToggleButtonGroup = React.forwardRef(function (props, ref) {
|
|
714
|
-
var children = props.children, _a = props.color, color = _a === void 0 ? 'primary' : _a, muiProps = tslib.__rest(props, ["children", "color"]);
|
|
715
|
-
var classes = useToggleButtonGroupStyles(props);
|
|
716
|
-
var childrenWithProps = React.Children.map(children, function (child) {
|
|
717
|
-
if (!React.isValidElement(child)) {
|
|
718
|
-
return null;
|
|
719
|
-
}
|
|
720
|
-
return React.cloneElement(child, { color: color });
|
|
721
|
-
});
|
|
722
|
-
return (React.createElement(MuiToggleButtonGroup, tslib.__assign({ ref: ref, classes: { root: classes.root } }, muiProps), childrenWithProps));
|
|
723
|
-
});
|
|
724
|
-
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
725
|
-
|
|
726
|
-
var useTooltipStyles = styles.makeStyles(function (_a) {
|
|
727
|
-
var typography = _a.typography;
|
|
728
|
-
return ({
|
|
729
|
-
tooltip: {
|
|
730
|
-
fontSize: typography.pxToRem(16),
|
|
731
|
-
},
|
|
732
|
-
});
|
|
733
|
-
});
|
|
734
|
-
|
|
735
|
-
var Tooltip = React.forwardRef(function (props, ref) {
|
|
736
|
-
var classes = useTooltipStyles(props);
|
|
737
|
-
return React.createElement(MuiTooltip, tslib.__assign({ ref: ref, classes: classes }, props));
|
|
738
|
-
});
|
|
739
|
-
Tooltip.displayName = 'Tooltip';
|
|
740
|
-
|
|
741
|
-
var useNumberFieldStyles = core.makeStyles(function () { return ({
|
|
742
|
-
root: {
|
|
743
|
-
height: 56,
|
|
744
|
-
},
|
|
745
|
-
}); });
|
|
746
|
-
var useNumberInputStyles = core.makeStyles(function (theme) { return ({
|
|
747
|
-
root: {
|
|
748
|
-
height: '100%',
|
|
749
|
-
width: 'min-content',
|
|
750
|
-
borderRadius: theme.spacing(1),
|
|
751
|
-
},
|
|
752
|
-
input: {
|
|
753
|
-
'&::-webkit-clear-button, &::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
754
|
-
display: 'none',
|
|
755
|
-
},
|
|
756
|
-
'-moz-appearance': 'textfield',
|
|
757
|
-
minWidth: 40,
|
|
758
|
-
padding: 0,
|
|
759
|
-
textAlign: 'center',
|
|
760
|
-
},
|
|
761
|
-
adornedStart: {
|
|
762
|
-
padding: 0,
|
|
763
|
-
},
|
|
764
|
-
adornedEnd: {
|
|
765
|
-
padding: 0,
|
|
766
|
-
},
|
|
767
|
-
}); });
|
|
768
|
-
|
|
769
|
-
var NumberField = function (props) {
|
|
770
|
-
var onIncrement = props.onIncrement, onDecrement = props.onDecrement, _a = props.endAdornmentButtonProps, endAdornmentButtonProps = _a === void 0 ? {} : _a, _b = props.startAdornmentButtonProps, startAdornmentButtonProps = _b === void 0 ? {} : _b, _c = props.InputProps, InputProps = _c === void 0 ? {} : _c, classes = props.classes, restProps = tslib.__rest(props, ["onIncrement", "onDecrement", "endAdornmentButtonProps", "startAdornmentButtonProps", "InputProps", "classes"]);
|
|
771
|
-
var _d = InputProps, inputClassesOverride = _d.classes, restInputProps = tslib.__rest(_d, ["classes"]);
|
|
772
|
-
var fieldClasses = useNumberFieldStyles(props);
|
|
773
|
-
var inputClasses = useNumberInputStyles(props);
|
|
774
|
-
return (React.createElement(core.TextField, tslib.__assign({ classes: tslib.__assign(tslib.__assign({}, fieldClasses), classes), variant: "filled", type: "number", defaultValue: 0, InputProps: tslib.__assign({ classes: tslib.__assign(tslib.__assign({}, inputClasses), inputClassesOverride), disableUnderline: true, endAdornment: (React.createElement(IconButton, tslib.__assign({ style: { fontSize: 20 }, onClick: onIncrement }, endAdornmentButtonProps),
|
|
775
|
-
React.createElement(Icon, { icon: webIcons.PlusCircle }))), startAdornment: (React.createElement(IconButton, tslib.__assign({ style: { fontSize: 20 }, onClick: onDecrement }, startAdornmentButtonProps),
|
|
776
|
-
React.createElement(Icon, { icon: webIcons.MinusCircle }))) }, restInputProps) }, restProps)));
|
|
777
|
-
};
|
|
778
|
-
|
|
779
|
-
var useStyles$3 = core.makeStyles(function () { return ({
|
|
511
|
+
var useStyles$4 = core.makeStyles(function () { return ({
|
|
780
512
|
root: {
|
|
781
513
|
display: 'flex',
|
|
782
514
|
flexDirection: 'column',
|
|
@@ -785,7 +517,7 @@ var useStyles$3 = core.makeStyles(function () { return ({
|
|
|
785
517
|
},
|
|
786
518
|
}); });
|
|
787
519
|
var FollowerAuthenticationContent = function (props) {
|
|
788
|
-
var classes = useStyles$
|
|
520
|
+
var classes = useStyles$4();
|
|
789
521
|
return React.createElement(core.DialogContent, { classes: classes }, props.children);
|
|
790
522
|
};
|
|
791
523
|
|
|
@@ -808,7 +540,7 @@ var FollowerAuthenticationGraphic = function () {
|
|
|
808
540
|
React.createElement("img", { src: graphic, alt: messages[state.value + "GraphicAlt"] })));
|
|
809
541
|
};
|
|
810
542
|
|
|
811
|
-
var useStyles$
|
|
543
|
+
var useStyles$3 = core.makeStyles(function () { return ({
|
|
812
544
|
form: {
|
|
813
545
|
display: 'flex',
|
|
814
546
|
flexDirection: 'column',
|
|
@@ -826,7 +558,7 @@ var validatePhoneNumber = function (phone) {
|
|
|
826
558
|
};
|
|
827
559
|
var FollowerAuthenticationForm = function () {
|
|
828
560
|
var _a = useFollowerAuthenticationDialogContext(), state = _a.state, messages = _a.messages, locationOptions = _a.locationOptions, onActionButtonClick = _a.onActionButtonClick, loading = _a.loading;
|
|
829
|
-
var classes = useStyles$
|
|
561
|
+
var classes = useStyles$3();
|
|
830
562
|
// sign-up form state
|
|
831
563
|
var formRef = React.useRef(null);
|
|
832
564
|
var _b = React.useState(false), formValidity = _b[0], setFormValidity = _b[1];
|
|
@@ -857,14 +589,30 @@ var FollowerAuthenticationForm = function () {
|
|
|
857
589
|
}
|
|
858
590
|
};
|
|
859
591
|
React.useEffect(function () {
|
|
860
|
-
|
|
592
|
+
setSignUpPhoneValue(state.context.phone || '');
|
|
593
|
+
setSignUpEmailValue(state.context.email || '');
|
|
594
|
+
}, [state.context.phone, state.context.email]);
|
|
595
|
+
React.useEffect(function () {
|
|
596
|
+
var _a, _b, _c;
|
|
597
|
+
// Validate pre-filled values (only in signUp state)
|
|
598
|
+
if (state.value === 'signUp') {
|
|
599
|
+
if (signUpPhoneValue) {
|
|
600
|
+
var isPhoneValid = validatePhoneNumber(signUpPhoneValue);
|
|
601
|
+
setShowPhoneErrorText(!isPhoneValid);
|
|
602
|
+
}
|
|
603
|
+
if (signUpEmailValue) {
|
|
604
|
+
var emailField = (_a = formRef.current) === null || _a === void 0 ? void 0 : _a.elements.namedItem('email');
|
|
605
|
+
var isEmailValid = (_b = emailField === null || emailField === void 0 ? void 0 : emailField.validity.valid) !== null && _b !== void 0 ? _b : false;
|
|
606
|
+
setShowEmailErrorText(!isEmailValid);
|
|
607
|
+
}
|
|
608
|
+
}
|
|
861
609
|
var hasValidPhone = Boolean(signUpPhoneValue) && !showPhoneErrorText;
|
|
862
610
|
var hasValidEmail = Boolean(signUpEmailValue) && !showEmailErrorText;
|
|
863
|
-
var locationField = (
|
|
611
|
+
var locationField = (_c = formRef.current) === null || _c === void 0 ? void 0 : _c.elements.namedItem('location');
|
|
864
612
|
var hasValidLocation = locationField ? Boolean(locationField.value) : true;
|
|
865
613
|
var hasValidContact = hasValidPhone || hasValidEmail;
|
|
866
614
|
setFormValidity(hasValidContact && hasValidLocation);
|
|
867
|
-
}, [signUpPhoneValue, signUpEmailValue, showPhoneErrorText, showEmailErrorText, showLocationErrorText]);
|
|
615
|
+
}, [state.value, signUpPhoneValue, signUpEmailValue, showPhoneErrorText, showEmailErrorText, showLocationErrorText]);
|
|
868
616
|
var handleSubmit = function (e) {
|
|
869
617
|
e.preventDefault();
|
|
870
618
|
var form = e.target;
|
|
@@ -950,7 +698,7 @@ var FollowerAuthenticationForm = function () {
|
|
|
950
698
|
}
|
|
951
699
|
};
|
|
952
700
|
|
|
953
|
-
var useStyles$
|
|
701
|
+
var useStyles$2 = core.makeStyles(function () { return ({
|
|
954
702
|
main: {
|
|
955
703
|
width: '100%',
|
|
956
704
|
display: 'flex',
|
|
@@ -960,7 +708,7 @@ var useStyles$1 = core.makeStyles(function () { return ({
|
|
|
960
708
|
}); });
|
|
961
709
|
var FollowerAuthenticationAltActions = function () {
|
|
962
710
|
var _a = useFollowerAuthenticationDialogContext(), state = _a.state, messages = _a.messages, logos = _a.logos, loading = _a.loading, onActionButtonClick = _a.onActionButtonClick;
|
|
963
|
-
var classes = useStyles$
|
|
711
|
+
var classes = useStyles$2();
|
|
964
712
|
switch (state.value) {
|
|
965
713
|
case 'initial':
|
|
966
714
|
return (React.createElement(core.Box, { className: classes.main },
|
|
@@ -1059,7 +807,7 @@ var FollowerAuthenticationInfo = function () {
|
|
|
1059
807
|
React.createElement(core.Typography, { align: "center" }, info)));
|
|
1060
808
|
};
|
|
1061
809
|
|
|
1062
|
-
var useStyles = core.makeStyles(function () { return ({
|
|
810
|
+
var useStyles$1 = core.makeStyles(function () { return ({
|
|
1063
811
|
root: {
|
|
1064
812
|
position: 'absolute',
|
|
1065
813
|
top: 0,
|
|
@@ -1068,7 +816,7 @@ var useStyles = core.makeStyles(function () { return ({
|
|
|
1068
816
|
}); });
|
|
1069
817
|
var FollowerAuthenticationCloseButton = function () {
|
|
1070
818
|
var _a = useFollowerAuthenticationDialogContext(), messages = _a.messages, onActionButtonClick = _a.onActionButtonClick;
|
|
1071
|
-
var classes = useStyles();
|
|
819
|
+
var classes = useStyles$1();
|
|
1072
820
|
var handleClose = function () {
|
|
1073
821
|
onActionButtonClick('close');
|
|
1074
822
|
};
|
|
@@ -1132,6 +880,234 @@ var FollowerAuthenticationDialog = function (props) {
|
|
|
1132
880
|
React.createElement(FollowerAuthenticationFooter, null))))));
|
|
1133
881
|
};
|
|
1134
882
|
|
|
883
|
+
var IconButton = React.forwardRef(function (props, ref) {
|
|
884
|
+
return React.createElement(core.IconButton, tslib.__assign({ ref: ref }, props));
|
|
885
|
+
});
|
|
886
|
+
IconButton.displayName = 'IconButton';
|
|
887
|
+
IconButton.defaultProps = {
|
|
888
|
+
color: 'secondary',
|
|
889
|
+
};
|
|
890
|
+
|
|
891
|
+
var useLinkStyles = core.makeStyles(function (theme) { return ({
|
|
892
|
+
root: function (props) {
|
|
893
|
+
var _a;
|
|
894
|
+
return (tslib.__assign(tslib.__assign({ display: 'flex' }, (props.color === undefined && { color: theme.palette.info.main })), (_a = {}, _a["& ." + iconStaticClassName] = {
|
|
895
|
+
alignSelf: 'center',
|
|
896
|
+
}, _a)));
|
|
897
|
+
},
|
|
898
|
+
}); });
|
|
899
|
+
|
|
900
|
+
// eslint-disable-next-line react/display-name -- false positive
|
|
901
|
+
var Link = React.forwardRef(function (props, ref) {
|
|
902
|
+
var children = props.children, muiProps = tslib.__rest(props, ["children"]);
|
|
903
|
+
var classes = useLinkStyles(props);
|
|
904
|
+
return (React.createElement(core.Link, tslib.__assign({ ref: ref, classes: { root: classes.root } }, muiProps), children));
|
|
905
|
+
});
|
|
906
|
+
Link.defaultProps = {
|
|
907
|
+
variant: 'body1',
|
|
908
|
+
};
|
|
909
|
+
Link.displayName = 'Link';
|
|
910
|
+
|
|
911
|
+
var useNumberFieldStyles = core.makeStyles(function () { return ({
|
|
912
|
+
root: {
|
|
913
|
+
height: 56,
|
|
914
|
+
},
|
|
915
|
+
}); });
|
|
916
|
+
var useNumberInputStyles = core.makeStyles(function (theme) { return ({
|
|
917
|
+
root: {
|
|
918
|
+
height: '100%',
|
|
919
|
+
width: 'min-content',
|
|
920
|
+
borderRadius: theme.spacing(1),
|
|
921
|
+
},
|
|
922
|
+
input: {
|
|
923
|
+
'&::-webkit-clear-button, &::-webkit-outer-spin-button, &::-webkit-inner-spin-button': {
|
|
924
|
+
display: 'none',
|
|
925
|
+
},
|
|
926
|
+
'-moz-appearance': 'textfield',
|
|
927
|
+
minWidth: 40,
|
|
928
|
+
padding: 0,
|
|
929
|
+
textAlign: 'center',
|
|
930
|
+
},
|
|
931
|
+
adornedStart: {
|
|
932
|
+
padding: 0,
|
|
933
|
+
},
|
|
934
|
+
adornedEnd: {
|
|
935
|
+
padding: 0,
|
|
936
|
+
},
|
|
937
|
+
}); });
|
|
938
|
+
|
|
939
|
+
var NumberField = function (props) {
|
|
940
|
+
var onIncrement = props.onIncrement, onDecrement = props.onDecrement, _a = props.endAdornmentButtonProps, endAdornmentButtonProps = _a === void 0 ? {} : _a, _b = props.startAdornmentButtonProps, startAdornmentButtonProps = _b === void 0 ? {} : _b, _c = props.InputProps, InputProps = _c === void 0 ? {} : _c, classes = props.classes, restProps = tslib.__rest(props, ["onIncrement", "onDecrement", "endAdornmentButtonProps", "startAdornmentButtonProps", "InputProps", "classes"]);
|
|
941
|
+
var _d = InputProps, inputClassesOverride = _d.classes, restInputProps = tslib.__rest(_d, ["classes"]);
|
|
942
|
+
var fieldClasses = useNumberFieldStyles(props);
|
|
943
|
+
var inputClasses = useNumberInputStyles(props);
|
|
944
|
+
return (React.createElement(core.TextField, tslib.__assign({ classes: tslib.__assign(tslib.__assign({}, fieldClasses), classes), variant: "filled", type: "number", defaultValue: 0, InputProps: tslib.__assign({ classes: tslib.__assign(tslib.__assign({}, inputClasses), inputClassesOverride), disableUnderline: true, endAdornment: (React.createElement(IconButton, tslib.__assign({ style: { fontSize: 20 }, onClick: onIncrement }, endAdornmentButtonProps),
|
|
945
|
+
React.createElement(Icon, { icon: webIcons.PlusCircle }))), startAdornment: (React.createElement(IconButton, tslib.__assign({ style: { fontSize: 20 }, onClick: onDecrement }, startAdornmentButtonProps),
|
|
946
|
+
React.createElement(Icon, { icon: webIcons.MinusCircle }))) }, restInputProps) }, restProps)));
|
|
947
|
+
};
|
|
948
|
+
|
|
949
|
+
var useStyles = core.makeStyles(function (_a) {
|
|
950
|
+
var spacing = _a.spacing;
|
|
951
|
+
return ({
|
|
952
|
+
root: {
|
|
953
|
+
'&:last-child': {
|
|
954
|
+
marginBottom: 0,
|
|
955
|
+
},
|
|
956
|
+
marginBottom: spacing(4),
|
|
957
|
+
padding: spacing(4),
|
|
958
|
+
},
|
|
959
|
+
});
|
|
960
|
+
});
|
|
961
|
+
var Paper = React.forwardRef(function (props, ref) {
|
|
962
|
+
var legacyStyles = props.legacyStyles, restProps = tslib.__rest(props, ["legacyStyles"]);
|
|
963
|
+
var classes = useStyles(props);
|
|
964
|
+
return React.createElement(core.Paper, tslib.__assign({}, ref, { classes: tslib.__assign({}, (legacyStyles && classes)) }, restProps));
|
|
965
|
+
});
|
|
966
|
+
Paper.displayName = 'Paper';
|
|
967
|
+
Paper.defaultProps = {
|
|
968
|
+
legacyStyles: false,
|
|
969
|
+
};
|
|
970
|
+
|
|
971
|
+
var PaperContent = function (props) {
|
|
972
|
+
var children = props.children;
|
|
973
|
+
return React.createElement(core.Box, { padding: 4 }, children);
|
|
974
|
+
};
|
|
975
|
+
|
|
976
|
+
var Radio = React.forwardRef(function (props, ref) {
|
|
977
|
+
var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = tslib.__rest(props, ["label", "disabled", "LabelProps"]);
|
|
978
|
+
var control = React.createElement(core.Radio, tslib.__assign({ disabled: label ? undefined : disabled }, muiProps));
|
|
979
|
+
return label ? (React.createElement(core.FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
980
|
+
});
|
|
981
|
+
Radio.displayName = 'Radio';
|
|
982
|
+
|
|
983
|
+
var useSplitInputStyles = core.makeStyles(function () { return ({
|
|
984
|
+
textfield: {
|
|
985
|
+
background: function (props) { return (props.backgroundTransparency ? '#FFFFFF44' : 'none'); },
|
|
986
|
+
borderTopLeftRadius: 4,
|
|
987
|
+
borderBottomLeftRadius: 4,
|
|
988
|
+
'& fieldset': {
|
|
989
|
+
borderRight: 'none',
|
|
990
|
+
borderTopRightRadius: 0,
|
|
991
|
+
borderBottomRightRadius: 0,
|
|
992
|
+
},
|
|
993
|
+
},
|
|
994
|
+
button: {
|
|
995
|
+
borderTopLeftRadius: 0,
|
|
996
|
+
borderBottomLeftRadius: 0,
|
|
997
|
+
alignSelf: 'stretch',
|
|
998
|
+
},
|
|
999
|
+
input: {
|
|
1000
|
+
color: function (props) { return props.inputTextColor || 'inherit'; },
|
|
1001
|
+
'&$focused fieldset': {
|
|
1002
|
+
top: -4,
|
|
1003
|
+
},
|
|
1004
|
+
},
|
|
1005
|
+
focused: {},
|
|
1006
|
+
}); });
|
|
1007
|
+
|
|
1008
|
+
var SplitInput = function (props) {
|
|
1009
|
+
var buttonLabel = props.buttonLabel, TextFieldProps = props.TextFieldProps, ButtonProps = props.ButtonProps, color = props.color, onChange = props.onChange, onClick = props.onClick;
|
|
1010
|
+
var classes = useSplitInputStyles(props);
|
|
1011
|
+
return (React.createElement(core.Box, { display: "flex" },
|
|
1012
|
+
React.createElement(core.TextField, tslib.__assign({ classes: { root: classes.textfield }, InputProps: { classes: { root: classes.input, focused: classes.focused } }, color: color, variant: "outlined", onChange: onChange }, TextFieldProps)),
|
|
1013
|
+
React.createElement(Button, tslib.__assign({ classes: { root: classes.button }, disableElevation: true, color: color, variant: "contained", onClick: onClick }, ButtonProps), buttonLabel)));
|
|
1014
|
+
};
|
|
1015
|
+
SplitInput.displayName = 'SplitInput';
|
|
1016
|
+
SplitInput.defaultProps = {
|
|
1017
|
+
backgroundTransparency: true,
|
|
1018
|
+
color: 'primary',
|
|
1019
|
+
};
|
|
1020
|
+
|
|
1021
|
+
var useSwitchStyles = core.makeStyles(function (theme) { return ({
|
|
1022
|
+
checked: {
|
|
1023
|
+
'& $thumb': {
|
|
1024
|
+
background: theme.palette.success.main,
|
|
1025
|
+
},
|
|
1026
|
+
'&& + $track': {
|
|
1027
|
+
backgroundColor: theme.palette.success.main,
|
|
1028
|
+
},
|
|
1029
|
+
},
|
|
1030
|
+
thumb: {},
|
|
1031
|
+
track: {},
|
|
1032
|
+
}); });
|
|
1033
|
+
|
|
1034
|
+
var Switch = React.forwardRef(function (props, ref) {
|
|
1035
|
+
var label = props.label, disabled = props.disabled, LabelProps = props.LabelProps, muiProps = tslib.__rest(props, ["label", "disabled", "LabelProps"]);
|
|
1036
|
+
var classes = useSwitchStyles(props);
|
|
1037
|
+
var control = React.createElement(core.Switch, tslib.__assign({ classes: classes, disabled: label ? undefined : disabled }, muiProps));
|
|
1038
|
+
return label ? (React.createElement(core.FormControlLabel, tslib.__assign({ disabled: disabled, inputRef: ref, control: control, label: label }, LabelProps))) : (control);
|
|
1039
|
+
});
|
|
1040
|
+
Switch.displayName = 'Switch';
|
|
1041
|
+
|
|
1042
|
+
var TabPanel = function (props) {
|
|
1043
|
+
var children = props.children, show = props.show;
|
|
1044
|
+
return show ? React.createElement(core.Box, null, children) : null;
|
|
1045
|
+
};
|
|
1046
|
+
|
|
1047
|
+
var useToggleButtonStyles = core.makeStyles(function (theme) { return ({
|
|
1048
|
+
root: {
|
|
1049
|
+
color: theme.palette.text.primary,
|
|
1050
|
+
},
|
|
1051
|
+
selected: {
|
|
1052
|
+
'&&': {
|
|
1053
|
+
'&:hover': {
|
|
1054
|
+
backgroundColor: function (props) { return theme.palette[props.color || 'primary'].dark; },
|
|
1055
|
+
},
|
|
1056
|
+
backgroundColor: function (props) { return theme.palette[props.color || 'primary'].main; },
|
|
1057
|
+
color: 'white',
|
|
1058
|
+
},
|
|
1059
|
+
},
|
|
1060
|
+
}); });
|
|
1061
|
+
|
|
1062
|
+
var ToggleButton = React.forwardRef(function (props, ref) {
|
|
1063
|
+
var children = props.children, muiProps = tslib.__rest(props, ["children"]);
|
|
1064
|
+
var classes = useToggleButtonStyles(props);
|
|
1065
|
+
return (React.createElement(lab.ToggleButton, tslib.__assign({ ref: ref, classes: {
|
|
1066
|
+
root: classes.root,
|
|
1067
|
+
selected: classes.selected,
|
|
1068
|
+
} }, muiProps), children));
|
|
1069
|
+
});
|
|
1070
|
+
ToggleButton.defaultProps = {
|
|
1071
|
+
color: 'primary',
|
|
1072
|
+
};
|
|
1073
|
+
ToggleButton.displayName = 'ToggleButton';
|
|
1074
|
+
|
|
1075
|
+
var useToggleButtonGroupStyles = core.makeStyles(function (theme) { return ({
|
|
1076
|
+
root: {
|
|
1077
|
+
'&&': {
|
|
1078
|
+
backgroundColor: theme.palette.grey[300],
|
|
1079
|
+
},
|
|
1080
|
+
},
|
|
1081
|
+
}); });
|
|
1082
|
+
|
|
1083
|
+
var ToggleButtonGroup = React.forwardRef(function (props, ref) {
|
|
1084
|
+
var children = props.children, _a = props.color, color = _a === void 0 ? 'primary' : _a, muiProps = tslib.__rest(props, ["children", "color"]);
|
|
1085
|
+
var classes = useToggleButtonGroupStyles(props);
|
|
1086
|
+
var childrenWithProps = React.Children.map(children, function (child) {
|
|
1087
|
+
if (!React.isValidElement(child)) {
|
|
1088
|
+
return null;
|
|
1089
|
+
}
|
|
1090
|
+
return React.cloneElement(child, { color: color });
|
|
1091
|
+
});
|
|
1092
|
+
return (React.createElement(lab.ToggleButtonGroup, tslib.__assign({ ref: ref, classes: { root: classes.root } }, muiProps), childrenWithProps));
|
|
1093
|
+
});
|
|
1094
|
+
ToggleButtonGroup.displayName = 'ToggleButtonGroup';
|
|
1095
|
+
|
|
1096
|
+
var useTooltipStyles = core.makeStyles(function (_a) {
|
|
1097
|
+
var typography = _a.typography;
|
|
1098
|
+
return ({
|
|
1099
|
+
tooltip: {
|
|
1100
|
+
fontSize: typography.pxToRem(16),
|
|
1101
|
+
},
|
|
1102
|
+
});
|
|
1103
|
+
});
|
|
1104
|
+
|
|
1105
|
+
var Tooltip = React.forwardRef(function (props, ref) {
|
|
1106
|
+
var classes = useTooltipStyles(props);
|
|
1107
|
+
return React.createElement(core.Tooltip, tslib.__assign({ ref: ref, classes: classes }, props));
|
|
1108
|
+
});
|
|
1109
|
+
Tooltip.displayName = 'Tooltip';
|
|
1110
|
+
|
|
1135
1111
|
var useCollapsibleText = function () {
|
|
1136
1112
|
var _a = React.useState(false), open = _a[0], setOpen = _a[1];
|
|
1137
1113
|
var collapseState = React.useState(false);
|
|
@@ -1176,175 +1152,142 @@ var useTabs = function (options) {
|
|
|
1176
1152
|
};
|
|
1177
1153
|
};
|
|
1178
1154
|
|
|
1179
|
-
exports
|
|
1180
|
-
Object.defineProperty(exports, "Accordion", {
|
|
1155
|
+
Object.defineProperty(exports, "ServerStyleSheets", {
|
|
1181
1156
|
enumerable: true,
|
|
1182
|
-
get: function () { return core.
|
|
1157
|
+
get: function () { return core.ServerStyleSheets; }
|
|
1183
1158
|
});
|
|
1184
|
-
Object.defineProperty(exports, "
|
|
1159
|
+
Object.defineProperty(exports, "alpha", {
|
|
1185
1160
|
enumerable: true,
|
|
1186
|
-
get: function () { return core.
|
|
1161
|
+
get: function () { return core.alpha; }
|
|
1187
1162
|
});
|
|
1188
|
-
Object.defineProperty(exports, "
|
|
1163
|
+
Object.defineProperty(exports, "createTheme", {
|
|
1189
1164
|
enumerable: true,
|
|
1190
|
-
get: function () { return core.
|
|
1165
|
+
get: function () { return core.createTheme; }
|
|
1191
1166
|
});
|
|
1192
|
-
Object.defineProperty(exports, "
|
|
1167
|
+
Object.defineProperty(exports, "darken", {
|
|
1193
1168
|
enumerable: true,
|
|
1194
|
-
get: function () { return core.
|
|
1169
|
+
get: function () { return core.darken; }
|
|
1195
1170
|
});
|
|
1196
|
-
Object.defineProperty(exports, "
|
|
1171
|
+
Object.defineProperty(exports, "decomposeColor", {
|
|
1197
1172
|
enumerable: true,
|
|
1198
|
-
get: function () { return core.
|
|
1173
|
+
get: function () { return core.decomposeColor; }
|
|
1199
1174
|
});
|
|
1200
|
-
Object.defineProperty(exports, "
|
|
1175
|
+
Object.defineProperty(exports, "getLuminance", {
|
|
1201
1176
|
enumerable: true,
|
|
1202
|
-
get: function () { return core.
|
|
1177
|
+
get: function () { return core.getLuminance; }
|
|
1203
1178
|
});
|
|
1204
|
-
Object.defineProperty(exports, "
|
|
1179
|
+
Object.defineProperty(exports, "hexToRgb", {
|
|
1205
1180
|
enumerable: true,
|
|
1206
|
-
get: function () { return core.
|
|
1181
|
+
get: function () { return core.hexToRgb; }
|
|
1207
1182
|
});
|
|
1208
|
-
Object.defineProperty(exports, "
|
|
1183
|
+
Object.defineProperty(exports, "lighten", {
|
|
1209
1184
|
enumerable: true,
|
|
1210
|
-
get: function () { return core.
|
|
1185
|
+
get: function () { return core.lighten; }
|
|
1211
1186
|
});
|
|
1212
|
-
Object.defineProperty(exports, "
|
|
1187
|
+
Object.defineProperty(exports, "makeStyles", {
|
|
1213
1188
|
enumerable: true,
|
|
1214
|
-
get: function () { return core.
|
|
1189
|
+
get: function () { return core.makeStyles; }
|
|
1215
1190
|
});
|
|
1216
|
-
Object.defineProperty(exports, "
|
|
1191
|
+
Object.defineProperty(exports, "recomposeColor", {
|
|
1217
1192
|
enumerable: true,
|
|
1218
|
-
get: function () { return core.
|
|
1193
|
+
get: function () { return core.recomposeColor; }
|
|
1219
1194
|
});
|
|
1220
|
-
Object.defineProperty(exports, "
|
|
1195
|
+
Object.defineProperty(exports, "rgbToHex", {
|
|
1221
1196
|
enumerable: true,
|
|
1222
|
-
get: function () { return core.
|
|
1197
|
+
get: function () { return core.rgbToHex; }
|
|
1223
1198
|
});
|
|
1224
|
-
Object.defineProperty(exports, "
|
|
1199
|
+
Object.defineProperty(exports, "Alert", {
|
|
1225
1200
|
enumerable: true,
|
|
1226
|
-
get: function () { return
|
|
1201
|
+
get: function () { return lab.Alert; }
|
|
1227
1202
|
});
|
|
1228
|
-
Object.defineProperty(exports, "
|
|
1203
|
+
Object.defineProperty(exports, "AlertTitle", {
|
|
1229
1204
|
enumerable: true,
|
|
1230
|
-
get: function () { return
|
|
1205
|
+
get: function () { return lab.AlertTitle; }
|
|
1231
1206
|
});
|
|
1232
|
-
Object.defineProperty(exports, "
|
|
1207
|
+
Object.defineProperty(exports, "Autocomplete", {
|
|
1233
1208
|
enumerable: true,
|
|
1234
|
-
get: function () { return
|
|
1209
|
+
get: function () { return lab.Autocomplete; }
|
|
1235
1210
|
});
|
|
1236
|
-
Object.defineProperty(exports, "
|
|
1211
|
+
Object.defineProperty(exports, "AvatarGroup", {
|
|
1237
1212
|
enumerable: true,
|
|
1238
|
-
get: function () { return
|
|
1213
|
+
get: function () { return lab.AvatarGroup; }
|
|
1239
1214
|
});
|
|
1240
|
-
Object.defineProperty(exports, "
|
|
1215
|
+
Object.defineProperty(exports, "Pagination", {
|
|
1241
1216
|
enumerable: true,
|
|
1242
|
-
get: function () { return
|
|
1217
|
+
get: function () { return lab.Pagination; }
|
|
1243
1218
|
});
|
|
1244
|
-
Object.defineProperty(exports, "
|
|
1219
|
+
Object.defineProperty(exports, "PaginationItem", {
|
|
1245
1220
|
enumerable: true,
|
|
1246
|
-
get: function () { return
|
|
1221
|
+
get: function () { return lab.PaginationItem; }
|
|
1247
1222
|
});
|
|
1248
|
-
Object.defineProperty(exports, "
|
|
1223
|
+
Object.defineProperty(exports, "Rating", {
|
|
1249
1224
|
enumerable: true,
|
|
1250
|
-
get: function () { return
|
|
1225
|
+
get: function () { return lab.Rating; }
|
|
1251
1226
|
});
|
|
1252
|
-
Object.defineProperty(exports, "
|
|
1227
|
+
Object.defineProperty(exports, "Skeleton", {
|
|
1253
1228
|
enumerable: true,
|
|
1254
|
-
get: function () { return
|
|
1229
|
+
get: function () { return lab.Skeleton; }
|
|
1255
1230
|
});
|
|
1256
|
-
Object.defineProperty(exports, "
|
|
1231
|
+
Object.defineProperty(exports, "SpeedDial", {
|
|
1257
1232
|
enumerable: true,
|
|
1258
|
-
get: function () { return
|
|
1233
|
+
get: function () { return lab.SpeedDial; }
|
|
1259
1234
|
});
|
|
1260
|
-
Object.defineProperty(exports, "
|
|
1235
|
+
Object.defineProperty(exports, "SpeedDialAction", {
|
|
1261
1236
|
enumerable: true,
|
|
1262
|
-
get: function () { return
|
|
1237
|
+
get: function () { return lab.SpeedDialAction; }
|
|
1263
1238
|
});
|
|
1264
|
-
Object.defineProperty(exports, "
|
|
1239
|
+
Object.defineProperty(exports, "SpeedDialIcon", {
|
|
1265
1240
|
enumerable: true,
|
|
1266
|
-
get: function () { return
|
|
1241
|
+
get: function () { return lab.SpeedDialIcon; }
|
|
1267
1242
|
});
|
|
1268
|
-
Object.defineProperty(exports, "
|
|
1243
|
+
Object.defineProperty(exports, "TabContext", {
|
|
1269
1244
|
enumerable: true,
|
|
1270
|
-
get: function () { return
|
|
1245
|
+
get: function () { return lab.TabContext; }
|
|
1271
1246
|
});
|
|
1272
|
-
Object.defineProperty(exports, "
|
|
1247
|
+
Object.defineProperty(exports, "TabList", {
|
|
1273
1248
|
enumerable: true,
|
|
1274
|
-
get: function () { return
|
|
1249
|
+
get: function () { return lab.TabList; }
|
|
1275
1250
|
});
|
|
1276
|
-
Object.defineProperty(exports, "
|
|
1251
|
+
Object.defineProperty(exports, "Timeline", {
|
|
1277
1252
|
enumerable: true,
|
|
1278
|
-
get: function () { return
|
|
1253
|
+
get: function () { return lab.Timeline; }
|
|
1279
1254
|
});
|
|
1280
|
-
Object.defineProperty(exports, "
|
|
1255
|
+
Object.defineProperty(exports, "TimelineConnector", {
|
|
1281
1256
|
enumerable: true,
|
|
1282
|
-
get: function () { return
|
|
1257
|
+
get: function () { return lab.TimelineConnector; }
|
|
1283
1258
|
});
|
|
1284
|
-
Object.defineProperty(exports, "
|
|
1259
|
+
Object.defineProperty(exports, "TimelineContent", {
|
|
1285
1260
|
enumerable: true,
|
|
1286
|
-
get: function () { return
|
|
1261
|
+
get: function () { return lab.TimelineContent; }
|
|
1287
1262
|
});
|
|
1288
|
-
Object.defineProperty(exports, "
|
|
1263
|
+
Object.defineProperty(exports, "TimelineDot", {
|
|
1289
1264
|
enumerable: true,
|
|
1290
|
-
get: function () { return
|
|
1265
|
+
get: function () { return lab.TimelineDot; }
|
|
1291
1266
|
});
|
|
1292
|
-
Object.defineProperty(exports, "
|
|
1267
|
+
Object.defineProperty(exports, "TimelineItem", {
|
|
1293
1268
|
enumerable: true,
|
|
1294
|
-
get: function () { return
|
|
1269
|
+
get: function () { return lab.TimelineItem; }
|
|
1295
1270
|
});
|
|
1296
|
-
Object.defineProperty(exports, "
|
|
1271
|
+
Object.defineProperty(exports, "TimelineOppositeContent", {
|
|
1297
1272
|
enumerable: true,
|
|
1298
|
-
get: function () { return
|
|
1273
|
+
get: function () { return lab.TimelineOppositeContent; }
|
|
1299
1274
|
});
|
|
1300
|
-
Object.defineProperty(exports, "
|
|
1275
|
+
Object.defineProperty(exports, "TimelineSeparator", {
|
|
1301
1276
|
enumerable: true,
|
|
1302
|
-
get: function () { return
|
|
1277
|
+
get: function () { return lab.TimelineSeparator; }
|
|
1303
1278
|
});
|
|
1304
|
-
Object.defineProperty(exports, "
|
|
1279
|
+
Object.defineProperty(exports, "TreeItem", {
|
|
1305
1280
|
enumerable: true,
|
|
1306
|
-
get: function () { return
|
|
1281
|
+
get: function () { return lab.TreeItem; }
|
|
1307
1282
|
});
|
|
1308
|
-
Object.defineProperty(exports, "
|
|
1283
|
+
Object.defineProperty(exports, "TreeView", {
|
|
1309
1284
|
enumerable: true,
|
|
1310
|
-
get: function () { return
|
|
1285
|
+
get: function () { return lab.TreeView; }
|
|
1311
1286
|
});
|
|
1312
|
-
exports
|
|
1313
|
-
Object.defineProperty(exports, "ServerStyleSheets", {
|
|
1287
|
+
Object.defineProperty(exports, "useAutocomplete", {
|
|
1314
1288
|
enumerable: true,
|
|
1315
|
-
get: function () { return
|
|
1289
|
+
get: function () { return lab.useAutocomplete; }
|
|
1316
1290
|
});
|
|
1317
|
-
exports.Badge = Badge;
|
|
1318
|
-
exports.CircularProgress = CircularProgress;
|
|
1319
|
-
exports.ButtonGroup = ButtonGroup;
|
|
1320
|
-
exports.Card = Card;
|
|
1321
|
-
exports.CardActionArea = CardActionArea;
|
|
1322
|
-
exports.CardActions = CardActions;
|
|
1323
|
-
exports.CardContent = CardContent;
|
|
1324
|
-
exports.CardHeader = CardHeader;
|
|
1325
|
-
exports.CardMedia = CardMedia;
|
|
1326
|
-
exports.FormControlLabel = FormControlLabel;
|
|
1327
|
-
exports.Dialog = Dialog;
|
|
1328
|
-
exports.DialogActions = DialogActions;
|
|
1329
|
-
exports.DialogContent = DialogContent;
|
|
1330
|
-
exports.DialogTitle = DialogTitle;
|
|
1331
|
-
exports.Drawer = Drawer;
|
|
1332
|
-
exports.FormControl = FormControl;
|
|
1333
|
-
exports.Grid = Grid;
|
|
1334
|
-
exports.InputAdornment = InputAdornment;
|
|
1335
|
-
exports.LinearProgress = LinearProgress;
|
|
1336
|
-
exports.List = List;
|
|
1337
|
-
exports.ListItem = ListItem;
|
|
1338
|
-
exports.ListItemAvatar = ListItemAvatar;
|
|
1339
|
-
exports.ListItemIcon = ListItemIcon;
|
|
1340
|
-
exports.ListItemSecondaryAction = ListItemSecondaryAction;
|
|
1341
|
-
exports.ListItemText = ListItemText;
|
|
1342
|
-
exports.Menu = Menu;
|
|
1343
|
-
exports.MenuItem = MenuItem;
|
|
1344
|
-
exports.MenuList = MenuList;
|
|
1345
|
-
exports.TextField = TextField;
|
|
1346
|
-
exports.Tab = Tab;
|
|
1347
|
-
exports.Tabs = Tabs;
|
|
1348
1291
|
exports.Avatar = Avatar;
|
|
1349
1292
|
exports.BrowserSilhouette = BrowserSilhouette;
|
|
1350
1293
|
exports.Button = Button;
|
|
@@ -1369,4 +1312,10 @@ exports.Tooltip = Tooltip;
|
|
|
1369
1312
|
exports.Typography = Typography;
|
|
1370
1313
|
exports.useCollapsibleText = useCollapsibleText;
|
|
1371
1314
|
exports.useTabs = useTabs;
|
|
1315
|
+
Object.keys(core).forEach(function (k) {
|
|
1316
|
+
if (k !== 'default' && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
1317
|
+
enumerable: true,
|
|
1318
|
+
get: function () { return core[k]; }
|
|
1319
|
+
});
|
|
1320
|
+
});
|
|
1372
1321
|
//# sourceMappingURL=index.js.map
|