@popmenu/common-ui 0.18.2 → 0.18.3-alpha.0
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/esm/components/Accordion/index.d.ts +1 -0
- package/build/esm/components/AccordionActions/index.d.ts +1 -0
- package/build/esm/components/AccordionDetails/index.d.ts +1 -0
- package/build/esm/components/AccordionSummary/index.d.ts +1 -0
- package/build/esm/components/Alert/index.d.ts +1 -0
- package/build/esm/components/AppBar/index.d.ts +1 -0
- package/build/esm/components/AudioPlayer/AudioPlayer.d.ts +3 -0
- package/build/esm/components/AudioPlayer/AudioPlayerProps.d.ts +4 -0
- package/build/esm/components/AudioPlayer/index.d.ts +2 -0
- package/build/esm/components/AudioPlayer/util/audioPlayerReducer.d.ts +11 -0
- package/build/esm/components/AudioPlayer/util/formatTime.d.ts +1 -0
- package/build/esm/components/AudioPlayer/util/index.d.ts +5 -0
- package/build/esm/components/AudioPlayer/util/setupAudioRef.d.ts +8 -0
- package/build/esm/components/AudioPlayer/util/types.d.ts +77 -0
- package/build/esm/components/AudioPlayer/util/useVolumeIcon.d.ts +2 -0
- package/build/esm/components/Avatar/Avatar.d.ts +3 -0
- package/build/esm/components/Avatar/AvatarProps.d.ts +15 -0
- package/build/esm/components/Avatar/avatar.styles.d.ts +2 -0
- package/build/esm/components/Avatar/index.d.ts +2 -0
- package/build/esm/components/Avatar/util/useImageProps.d.ts +15 -0
- package/build/esm/components/Badge/index.d.ts +1 -0
- package/build/esm/components/Box/Box.d.ts +3 -0
- package/build/esm/components/Box/BoxProps.d.ts +5 -0
- package/build/esm/components/Box/BoxStyles.d.ts +1 -0
- package/build/esm/components/Box/index.d.ts +7 -0
- package/build/esm/components/Breadcrumbs/index.d.ts +1 -0
- package/build/esm/components/Button/Button.d.ts +3 -0
- package/build/esm/components/Button/ButtonProps.d.ts +6 -0
- package/build/esm/components/Button/ButtonStyles.d.ts +2 -0
- package/build/esm/components/Button/index.d.ts +2 -0
- package/build/esm/components/ButtonBase/index.d.ts +1 -0
- package/build/esm/components/ButtonGroup/index.d.ts +1 -0
- package/build/esm/components/Card/index.d.ts +1 -0
- package/build/esm/components/CardActionArea/index.d.ts +1 -0
- package/build/esm/components/CardActions/index.d.ts +1 -0
- package/build/esm/components/CardContent/index.d.ts +1 -0
- package/build/esm/components/CardHeader/index.d.ts +1 -0
- package/build/esm/components/CardMedia/index.d.ts +1 -0
- package/build/esm/components/Checkbox/Checkbox.d.ts +3 -0
- package/build/esm/components/Checkbox/CheckboxProps.d.ts +8 -0
- package/build/esm/components/Checkbox/index.d.ts +2 -0
- package/build/esm/components/Chip/index.d.ts +1 -0
- package/build/esm/components/CircularProgress/index.d.ts +1 -0
- package/build/esm/components/ClickAwayListener/index.d.ts +1 -0
- package/build/esm/components/CollapsibleText/CollapsibleText.d.ts +3 -0
- package/build/esm/components/CollapsibleText/CollapsibleTextProps.d.ts +12 -0
- package/build/esm/components/CollapsibleText/CollapsibleTextStyles.d.ts +4 -0
- package/build/esm/components/CollapsibleText/index.d.ts +2 -0
- package/build/esm/components/Dialog/index.d.ts +1 -0
- package/build/esm/components/DialogActions/index.d.ts +1 -0
- package/build/esm/components/DialogContent/index.d.ts +1 -0
- package/build/esm/components/DialogContentText/index.d.ts +1 -0
- package/build/esm/components/DialogTitle/index.d.ts +1 -0
- package/build/esm/components/Divider/Divider.d.ts +3 -0
- package/build/esm/components/Divider/DividerProps.d.ts +17 -0
- package/build/esm/components/Divider/index.d.ts +2 -0
- package/build/esm/components/Drawer/index.d.ts +1 -0
- package/build/esm/components/Fab/index.d.ts +1 -0
- package/build/esm/components/FormControl/index.d.ts +1 -0
- package/build/esm/components/FormControlLabel/index.d.ts +1 -0
- package/build/esm/components/FormLabel/index.d.ts +1 -0
- package/build/esm/components/Grid/index.d.ts +1 -0
- package/build/esm/components/GridList/index.d.ts +1 -0
- package/build/esm/components/Hidden/index.d.ts +1 -0
- package/build/esm/components/Icon/Icon.d.ts +4 -0
- package/build/esm/components/Icon/IconProps.d.ts +11 -0
- package/build/esm/components/Icon/IconStyles.d.ts +2 -0
- package/build/esm/components/Icon/index.d.ts +2 -0
- package/build/esm/components/IconButton/IconButton.d.ts +3 -0
- package/build/esm/components/IconButton/IconButtonProps.d.ts +2 -0
- package/build/esm/components/IconButton/index.d.ts +2 -0
- package/build/esm/components/InputAdornment/index.d.ts +1 -0
- package/build/esm/components/LinearProgress/index.d.ts +1 -0
- package/build/esm/components/Link/Link.d.ts +3 -0
- package/build/esm/components/Link/LinkProps.d.ts +4 -0
- package/build/esm/components/Link/index.d.ts +2 -0
- package/build/esm/components/Link/link.styles.d.ts +2 -0
- package/build/esm/components/List/index.d.ts +1 -0
- package/build/esm/components/ListItem/index.d.ts +1 -0
- package/build/esm/components/ListItemIcon/index.d.ts +1 -0
- package/build/esm/components/ListItemSecondaryAction/index.d.ts +1 -0
- package/build/esm/components/ListItemText/index.d.ts +1 -0
- package/build/esm/components/Menu/index.d.ts +1 -0
- package/build/esm/components/MenuItem/index.d.ts +1 -0
- package/build/esm/components/MenuList/index.d.ts +1 -0
- package/build/esm/components/Modal/index.d.ts +1 -0
- package/build/esm/components/Paper/Paper.d.ts +6 -0
- package/build/esm/components/Paper/index.d.ts +1 -0
- package/build/esm/components/PaperContent/PaperContent.d.ts +2 -0
- package/build/esm/components/PaperContent/index.d.ts +1 -0
- package/build/esm/components/Popover/index.d.ts +1 -0
- package/build/esm/components/Popper/index.d.ts +1 -0
- package/build/esm/components/Radio/Radio.d.ts +3 -0
- package/build/esm/components/Radio/RadioProps.d.ts +8 -0
- package/build/esm/components/Radio/index.d.ts +2 -0
- package/build/esm/components/SplitInput/SplitInput.d.ts +3 -0
- package/build/esm/components/SplitInput/SplitInputProps.d.ts +18 -0
- package/build/esm/components/SplitInput/SplitInputStyles.d.ts +2 -0
- package/build/esm/components/SplitInput/index.d.ts +2 -0
- package/build/esm/components/Step/index.d.ts +1 -0
- package/build/esm/components/StepButton/index.d.ts +1 -0
- package/build/esm/components/StepConnector/index.d.ts +1 -0
- package/build/esm/components/StepContent/index.d.ts +1 -0
- package/build/esm/components/StepIcon/index.d.ts +1 -0
- package/build/esm/components/StepLabel/index.d.ts +1 -0
- package/build/esm/components/Stepper/index.d.ts +1 -0
- package/build/esm/components/Switch/Switch.d.ts +3 -0
- package/build/esm/components/Switch/SwitchProps.d.ts +8 -0
- package/build/esm/components/Switch/index.d.ts +2 -0
- package/build/esm/components/Switch/switch.styles.d.ts +2 -0
- package/build/esm/components/Tab/index.d.ts +1 -0
- package/build/esm/components/Table/Table.d.ts +3 -0
- package/build/esm/components/Table/TableProps.d.ts +28 -0
- package/build/esm/components/Table/TableStyles.d.ts +2 -0
- package/build/esm/components/Table/index.d.ts +2 -0
- package/build/esm/components/Table/util/makeColumns.d.ts +7 -0
- package/build/esm/components/TableActionsCell/TableActionsCell.d.ts +3 -0
- package/build/esm/components/TableActionsCell/TableActionsCellProps.d.ts +10 -0
- package/build/esm/components/TableActionsCell/index.d.ts +2 -0
- package/build/esm/components/TableBody/TableBody.d.ts +2 -0
- package/build/esm/components/TableBody/index.d.ts +1 -0
- package/build/esm/components/TableCell/TableCell.d.ts +2 -0
- package/build/esm/components/TableCell/TableCellStyles.d.ts +1 -0
- package/build/esm/components/TableCell/index.d.ts +1 -0
- package/build/esm/components/TableFooter/TableFooter.d.ts +2 -0
- package/build/esm/components/TableFooter/index.d.ts +1 -0
- package/build/esm/components/TableHeader/TableHeader.d.ts +2 -0
- package/build/esm/components/TableHeader/index.d.ts +1 -0
- package/build/esm/components/TableHeaderCell/TableHeaderCell.d.ts +3 -0
- package/build/esm/components/TableHeaderCell/TableHeaderCellProps.d.ts +8 -0
- package/build/esm/components/TableHeaderCell/TableHeaderCellStyles.d.ts +2 -0
- package/build/esm/components/TableHeaderCell/index.d.ts +1 -0
- package/build/esm/components/TableHeaderRow/TableHeaderRow.d.ts +2 -0
- package/build/esm/components/TableHeaderRow/index.d.ts +1 -0
- package/build/esm/components/TableRow/TableRow.d.ts +2 -0
- package/build/esm/components/TableRow/TableRowStyles.d.ts +1 -0
- package/build/esm/components/TableRow/index.d.ts +1 -0
- package/build/esm/components/Tabs/index.d.ts +1 -0
- package/build/esm/components/TextField/index.d.ts +1 -0
- package/build/esm/components/ThemeProvider/index.d.ts +1 -0
- package/build/esm/components/ToggleButton/ToggleButton.d.ts +3 -0
- package/build/esm/components/ToggleButton/ToggleButtonProps.d.ts +4 -0
- package/build/esm/components/ToggleButton/ToggleButtonStyles.d.ts +2 -0
- package/build/esm/components/ToggleButton/index.d.ts +2 -0
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroup.d.ts +3 -0
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupProps.d.ts +6 -0
- package/build/esm/components/ToggleButtonGroup/ToggleButtonGroupStyles.d.ts +1 -0
- package/build/esm/components/ToggleButtonGroup/index.d.ts +2 -0
- package/build/esm/components/Toolbar/index.d.ts +1 -0
- package/build/esm/components/Tooltip/Tooltip.d.ts +3 -0
- package/build/esm/components/Tooltip/TooltipProps.d.ts +1 -0
- package/build/esm/components/Tooltip/TooltipStyles.d.ts +2 -0
- package/build/esm/components/Tooltip/index.d.ts +2 -0
- package/build/esm/components/Typography/Typography.d.ts +3 -0
- package/build/esm/components/Typography/TypographyStyles.d.ts +2 -0
- package/build/esm/components/Typography/index.d.ts +2 -0
- package/build/esm/components/index.d.ts +75 -0
- package/build/esm/hooks/index.d.ts +1 -0
- package/build/esm/hooks/useCollapsibleText.d.ts +10 -0
- package/build/esm/index.d.ts +3 -0
- package/build/esm/index.js +1339 -0
- package/build/esm/index.js.map +1 -0
- package/build/{index.es.js → esm/react-table-de7bf68c.js} +3 -1337
- package/build/esm/react-table-de7bf68c.js.map +1 -0
- package/build/esm/types/index.d.ts +2 -0
- package/build/esm/util/ServerStyleSheets.d.ts +1 -0
- package/build/esm/util/colors/alpha.d.ts +1 -0
- package/build/esm/util/colors/darken.d.ts +1 -0
- package/build/esm/util/colors/decomposeColor.d.ts +1 -0
- package/build/esm/util/colors/getLuminance.d.ts +1 -0
- package/build/esm/util/colors/hexToRgb.d.ts +1 -0
- package/build/esm/util/colors/index.d.ts +8 -0
- package/build/esm/util/colors/lighten.d.ts +1 -0
- package/build/esm/util/colors/recomposeColor.d.ts +1 -0
- package/build/esm/util/colors/rgbToHex.d.ts +1 -0
- package/build/esm/util/createTheme.d.ts +1 -0
- package/build/esm/util/index.d.ts +4 -0
- package/build/esm/util/makeStyles.d.ts +1 -0
- package/package.json +3 -3
- package/build/index.es.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Accordion as default, AccordionProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AccordionActions as default, AccordionActionsProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AccordionDetails as default, AccordionDetailsProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { AccordionSummary as default, AccordionSummaryProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, AlertProps } from '@material-ui/lab/Alert';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, AppBarProps } from '@material-ui/core/AppBar';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { PLAYBACK_STATES, CONTROL_LABELS, AudioPlayerState, AudioPlayerEvent, VOLUME_CONTROL_STATES } from './types';
|
|
2
|
+
export declare const initialAudioPlayerState: {
|
|
3
|
+
playback: PLAYBACK_STATES;
|
|
4
|
+
volumeControls: VOLUME_CONTROL_STATES;
|
|
5
|
+
context: {
|
|
6
|
+
volume: number;
|
|
7
|
+
playbackButtonLabel: CONTROL_LABELS;
|
|
8
|
+
volumeButtonLabel: CONTROL_LABELS;
|
|
9
|
+
};
|
|
10
|
+
};
|
|
11
|
+
export declare const audioPlayerReducer: (state: AudioPlayerState, event: AudioPlayerEvent) => AudioPlayerState;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const formatTime: (time: number, remaning?: boolean) => string;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
import { AudioPlayerEvent } from './types';
|
|
3
|
+
interface Config {
|
|
4
|
+
audioRef: RefObject<HTMLAudioElement>;
|
|
5
|
+
send: (event: AudioPlayerEvent) => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const setupAudioRef: (config: Config) => () => (() => void);
|
|
8
|
+
export {};
|
|
@@ -0,0 +1,77 @@
|
|
|
1
|
+
import { RefObject } from 'react';
|
|
2
|
+
export declare enum AUDIO_PLAYER_EVENT_TYPES {
|
|
3
|
+
TOGGLE_PLAYBACK = "TOGGLE_PLAYBACK",
|
|
4
|
+
TOGGLE_VOLUME_CONTROL = "TOGGLE_VOLUME_CONTROL",
|
|
5
|
+
TOGGLE_MUTE = "TOGGLE_MUTE",
|
|
6
|
+
VOLUME_CHANGE = "VOLUME_CHANGE",
|
|
7
|
+
TIME_CHANGE = "TIME_CHANGE",
|
|
8
|
+
DURATION_CHANGE = "DURATION_CHANGE",
|
|
9
|
+
SET_TIME = "SET_TIME",
|
|
10
|
+
CAN_PLAY = "CAN_PLAY",
|
|
11
|
+
RESET = "RESET"
|
|
12
|
+
}
|
|
13
|
+
interface SetVolumeEvent {
|
|
14
|
+
type: AUDIO_PLAYER_EVENT_TYPES.VOLUME_CHANGE;
|
|
15
|
+
context: Pick<AudioPlayerExtendState, 'volume'>;
|
|
16
|
+
}
|
|
17
|
+
interface TogglePlaybackEvent {
|
|
18
|
+
type: AUDIO_PLAYER_EVENT_TYPES.TOGGLE_PLAYBACK;
|
|
19
|
+
}
|
|
20
|
+
interface ToggleVolumeControlEvent {
|
|
21
|
+
type: AUDIO_PLAYER_EVENT_TYPES.TOGGLE_VOLUME_CONTROL;
|
|
22
|
+
}
|
|
23
|
+
interface TimeChangeEvent {
|
|
24
|
+
type: AUDIO_PLAYER_EVENT_TYPES.TIME_CHANGE;
|
|
25
|
+
context: {
|
|
26
|
+
currentTime: number;
|
|
27
|
+
};
|
|
28
|
+
}
|
|
29
|
+
interface DurationChangeEvent {
|
|
30
|
+
type: AUDIO_PLAYER_EVENT_TYPES.DURATION_CHANGE;
|
|
31
|
+
context: {
|
|
32
|
+
duration: number;
|
|
33
|
+
};
|
|
34
|
+
}
|
|
35
|
+
interface ToggleMuteEvent {
|
|
36
|
+
type: AUDIO_PLAYER_EVENT_TYPES.TOGGLE_MUTE;
|
|
37
|
+
}
|
|
38
|
+
interface SetTimeEvent {
|
|
39
|
+
type: AUDIO_PLAYER_EVENT_TYPES.SET_TIME;
|
|
40
|
+
context: {
|
|
41
|
+
time: number;
|
|
42
|
+
};
|
|
43
|
+
}
|
|
44
|
+
interface CanPlayEvent {
|
|
45
|
+
type: AUDIO_PLAYER_EVENT_TYPES.CAN_PLAY;
|
|
46
|
+
}
|
|
47
|
+
interface ResetEvent {
|
|
48
|
+
type: AUDIO_PLAYER_EVENT_TYPES.RESET;
|
|
49
|
+
}
|
|
50
|
+
export declare type AudioPlayerEvent = TogglePlaybackEvent | ToggleVolumeControlEvent | SetVolumeEvent | TimeChangeEvent | DurationChangeEvent | ToggleMuteEvent | SetTimeEvent | CanPlayEvent | ResetEvent;
|
|
51
|
+
export declare enum PLAYBACK_STATES {
|
|
52
|
+
NONE = "NONE",
|
|
53
|
+
PAUSED = "PAUSED",
|
|
54
|
+
PLAYING = "PLAYING"
|
|
55
|
+
}
|
|
56
|
+
export declare enum CONTROL_LABELS {
|
|
57
|
+
PAUSE = "PAUSE",
|
|
58
|
+
PLAY = "PLAY",
|
|
59
|
+
MUTE = "MUTE",
|
|
60
|
+
UNMUTE = "UNMUTE"
|
|
61
|
+
}
|
|
62
|
+
export declare enum VOLUME_CONTROL_STATES {
|
|
63
|
+
SHOW = "SHOW",
|
|
64
|
+
HIDE = "HIDE"
|
|
65
|
+
}
|
|
66
|
+
export interface AudioPlayerExtendState {
|
|
67
|
+
volume: number;
|
|
68
|
+
audioRef: RefObject<HTMLAudioElement>;
|
|
69
|
+
playbackButtonLabel: CONTROL_LABELS;
|
|
70
|
+
volumeButtonLabel: CONTROL_LABELS;
|
|
71
|
+
}
|
|
72
|
+
export interface AudioPlayerState {
|
|
73
|
+
playback: PLAYBACK_STATES;
|
|
74
|
+
volumeControls: VOLUME_CONTROL_STATES;
|
|
75
|
+
context: AudioPlayerExtendState;
|
|
76
|
+
}
|
|
77
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { AvatarProps } from './AvatarProps';
|
|
3
|
+
export declare const Avatar: React.ForwardRefExoticComponent<Pick<AvatarProps, "className" | "style" | "classes" | "innerRef" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "background" | "fit" | "silhouette" | "size" | "alt" | "imgProps" | "sizes" | "src" | "srcSet" | "variant"> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AvatarProps as MuiAvatarProps } from '@material-ui/core/Avatar';
|
|
2
|
+
import { LoadingStatus } from './util/useImageProps';
|
|
3
|
+
export interface AvatarProps extends MuiAvatarProps {
|
|
4
|
+
/** Sets the background-color for an Avatar. Automatically adjusts text color for readable contrast. Accepts color codes only, no CSS colors. */
|
|
5
|
+
background?: string;
|
|
6
|
+
/** Sets the css object-fit property for the Avatar img. */
|
|
7
|
+
fit?: 'cover' | 'contain';
|
|
8
|
+
/** Sets the silhouette for an Avatar. Silhouette will only be displayed when no `src` or `children` are provided */
|
|
9
|
+
silhouette?: 'male' | 'female' | 'neutral' | 'none';
|
|
10
|
+
/** Sets the size for an Avatar. */
|
|
11
|
+
size?: 'extra-small' | 'small' | 'medium' | 'large' | 'extra-large';
|
|
12
|
+
}
|
|
13
|
+
export interface AvatarStyleProps extends AvatarProps {
|
|
14
|
+
loaded: LoadingStatus;
|
|
15
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { AvatarProps } from '../AvatarProps';
|
|
2
|
+
export declare enum LoadingStatus {
|
|
3
|
+
ERROR = "ERROR",
|
|
4
|
+
LOADED = "LOADED",
|
|
5
|
+
PENDING = "PENDING"
|
|
6
|
+
}
|
|
7
|
+
/**
|
|
8
|
+
* Hook returns [imgProps, loaded]
|
|
9
|
+
* ref: Merged default and provided imgProp object. Includes load and error events for img tag. To be passed to MuiAvatar.
|
|
10
|
+
* loaded: Indicates whether the src supplied to an img within Avatar results in loaded or error
|
|
11
|
+
*/
|
|
12
|
+
export declare const useImgProps: (avatarProps: AvatarProps) => {
|
|
13
|
+
imgProps: AvatarProps['imgProps'];
|
|
14
|
+
loaded: LoadingStatus;
|
|
15
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, BadgeProps } from '@material-ui/core/Badge';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const useBoxStyles: (props?: any) => import("@material-ui/styles").ClassNameMap<"root">;
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Using the customized Box component in Popmenu repo breaks Cypress tests.
|
|
3
|
+
* Many tests fail for TypeError around ResizeObserver
|
|
4
|
+
* export { Box as default } from './Box'
|
|
5
|
+
* export { BoxProps } from './BoxProps'
|
|
6
|
+
*/
|
|
7
|
+
export { Box as default, BoxProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Breadcrumbs as default, BreadcrumbsProps } from '@material-ui/core';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ButtonProps } from './ButtonProps';
|
|
3
|
+
export declare const Button: React.ForwardRefExoticComponent<Pick<ButtonProps, "className" | "style" | "classes" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "disableElevation" | "fullWidth" | "startIcon" | "endIcon" | "loading" | "textTransform" | "disableFocusRipple" | "href" | "size" | "variant" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps"> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { ButtonProps as MuiButtonProps } from '@material-ui/core/Button';
|
|
2
|
+
export interface ButtonProps extends MuiButtonProps {
|
|
3
|
+
loading?: boolean;
|
|
4
|
+
/** Sets the text transformation property of a button. */
|
|
5
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize' | 'none';
|
|
6
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ButtonBase as default, ButtonBaseProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ButtonGroupProps } from '@material-ui/core/ButtonGroup';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardProps } from '@material-ui/core/Card';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardActionAreaProps } from '@material-ui/core/CardActionArea';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardActionsProps } from '@material-ui/core/CardActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardContentProps } from '@material-ui/core/CardContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardHeaderProps } from '@material-ui/core/CardHeader';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CardMediaProps } from '@material-ui/core/CardMedia';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { CheckboxProps } from './CheckboxProps';
|
|
3
|
+
export declare const Checkbox: React.ForwardRefExoticComponent<Pick<CheckboxProps, "classes" | "checked" | "disabled" | "indeterminate" | "checkedIcon" | "color" | "icon" | "className" | "style" | "innerRef" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "label" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "value" | "disableFocusRipple" | "edge" | "size" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | "inputProps" | "inputRef" | "readOnly" | "required" | "LabelProps" | "indeterminateIcon"> & React.RefAttributes<HTMLInputElement>>;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { CheckboxProps as MuiCheckboxProps } from '@material-ui/core/Checkbox';
|
|
2
|
+
import { FormControlLabelProps } from '../FormControlLabel';
|
|
3
|
+
export interface CheckboxProps extends MuiCheckboxProps {
|
|
4
|
+
/** Adds a text label to the Checkbox. If provided, the Checkbox will be wrapped by a FormControlLabel component. */
|
|
5
|
+
label: string;
|
|
6
|
+
/** Props applied to the FormControlLabel component wrapping a checkbox if a label is given. */
|
|
7
|
+
LabelProps: Omit<FormControlLabelProps, 'control'>;
|
|
8
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ChipProps } from '@material-ui/core/Chip';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, CircularProgressProps } from '@material-ui/core/CircularProgress';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ClickAwayListener as default, ClickAwayListenerProps } from '@material-ui/core';
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export interface CollapsibleTextProps {
|
|
2
|
+
text: string;
|
|
3
|
+
open: boolean;
|
|
4
|
+
previewLines?: number;
|
|
5
|
+
typographyVariant?: 'body1' | 'body2';
|
|
6
|
+
collapsible: boolean;
|
|
7
|
+
setCollapsible: (collapsible: boolean) => void;
|
|
8
|
+
}
|
|
9
|
+
export interface DefaultCollapsibleTextProps extends CollapsibleTextProps {
|
|
10
|
+
previewLines: number;
|
|
11
|
+
typographyVariant: 'body1' | 'body2';
|
|
12
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DialogProps } from '@material-ui/core/Dialog';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DialogActionsProps } from '@material-ui/core/DialogActions';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DialogContentProps } from '@material-ui/core/DialogContent';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DialogContentTextProps } from '@material-ui/core/DialogContentText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DialogTitleProps } from '@material-ui/core/DialogTitle';
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
import { TypographyProps } from '../Typography';
|
|
2
|
+
declare type Colors = 'primary.main' | 'primary.dark' | 'primary.light' | 'secondary.main' | 'secondary.dark' | 'secondary.light';
|
|
3
|
+
export interface DividerProps {
|
|
4
|
+
/** Sets the styles for a divider. */
|
|
5
|
+
className?: string;
|
|
6
|
+
/** Sets the color of the divider line. */
|
|
7
|
+
dividerColor?: Colors | string;
|
|
8
|
+
/** A message shown in the center of the divider */
|
|
9
|
+
text?: string;
|
|
10
|
+
/** Sets the color of the divider text */
|
|
11
|
+
textColor?: Colors | string;
|
|
12
|
+
/** Sets the casing of the text */
|
|
13
|
+
textTransform?: 'uppercase' | 'lowercase' | 'capitalize';
|
|
14
|
+
/** Props applied to the internal Typography component that displays text */
|
|
15
|
+
TypographyProps?: TypographyProps;
|
|
16
|
+
}
|
|
17
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, DrawerProps } from '@material-ui/core/Drawer';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Fab as default, FabProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, FormControlProps } from '@material-ui/core/FormControl';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, FormControlLabelProps } from '@material-ui/core/FormControlLabel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, FormLabelProps } from '@material-ui/core/FormLabel';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, GridProps } from '@material-ui/core/Grid';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { GridList as default, GridListProps } from '@material-ui/core';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Hidden as default, HiddenProps } from '@material-ui/core';
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface IconProps {
|
|
3
|
+
/** Sets to the class attribute for the html element */
|
|
4
|
+
className?: string;
|
|
5
|
+
/** The icon from @popmenu/web-icons to be rendered */
|
|
6
|
+
icon: string | React.FC<React.SVGProps<SVGSVGElement>>;
|
|
7
|
+
/** Sets the color of the icon */
|
|
8
|
+
color?: 'primary' | 'secondary' | 'primary.light' | 'primary.dark' | 'secondary.light' | 'secondary.dark' | string;
|
|
9
|
+
/** Sets the dimensions of the icon */
|
|
10
|
+
size?: 'small' | 'medium' | 'large' | 'extra-large' | 'inherit';
|
|
11
|
+
}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IconButtonProps } from './IconButtonProps';
|
|
3
|
+
export declare const IconButton: React.ForwardRefExoticComponent<Pick<IconButtonProps, "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "form" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "disableFocusRipple" | "edge" | "size" | "action" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps" | keyof import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/IconButton").IconButtonTypeMap<{}, "button">>> & React.RefAttributes<HTMLButtonElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, InputAdornmentProps } from '@material-ui/core/InputAdornment';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, LinearProgressProps } from '@material-ui/core/LinearProgress';
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { LinkProps } from './LinkProps';
|
|
3
|
+
export declare const Link: React.ForwardRefExoticComponent<Pick<LinkProps, "className" | "style" | "classes" | "innerRef" | "slot" | "title" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "noWrap" | "gutterBottom" | "paragraph" | "align" | "display" | "variant" | "variantMapping" | "download" | "href" | "hrefLang" | "media" | "ping" | "rel" | "target" | "type" | "referrerPolicy" | "TypographyClasses" | "underline"> & React.RefAttributes<HTMLAnchorElement>>;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ListProps } from '@material-ui/core/List';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ListItemProps } from '@material-ui/core/ListItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ListItemIconProps } from '@material-ui/core/ListItemIcon';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ListItemSecondaryActionProps } from '@material-ui/core/ListItemSecondaryAction';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, ListItemTextProps } from '@material-ui/core/ListItemText';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, MenuProps } from '@material-ui/core/Menu';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, MenuItemProps } from '@material-ui/core/MenuItem';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default, MenuListProps } from '@material-ui/core/MenuList';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Modal as default, ModalProps } from '@material-ui/core';
|