@superdispatch/ui 0.21.0 → 0.21.5-alpha.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist-node/index.js +1437 -1353
- package/dist-node/index.js.map +1 -1
- package/dist-src/adaptive-toolbar/AdaptiveToolbar.js +14 -12
- package/dist-src/adaptive-vertical-toolbar/AdaptiveVerticalToolbar.js +3 -3
- package/dist-src/app-bar/AppBarOverrides.js +6 -4
- package/dist-src/autocomplete/AutocompleteOverrides.js +14 -18
- package/dist-src/avatar/AvatarOverrides.js +14 -12
- package/dist-src/avatar-button/AvatarButton.js +80 -92
- package/dist-src/button/Button.js +11 -15
- package/dist-src/button/ButtonOverrides.js +147 -149
- package/dist-src/card/CardOverrides.js +10 -6
- package/dist-src/card-button/CardButton.js +78 -75
- package/dist-src/checkbox/CheckboxField.js +1 -1
- package/dist-src/checkbox/CheckboxGroudField.js +1 -1
- package/dist-src/checkbox/CheckboxOverrides.js +60 -50
- package/dist-src/chip/ChipOverrides.js +88 -85
- package/dist-src/description-list/DescriptionList.js +58 -55
- package/dist-src/dialog/DialogOverrides.js +31 -25
- package/dist-src/drawer/DrawerActions.js +32 -34
- package/dist-src/drawer/DrawerContent.js +10 -26
- package/dist-src/drawer/DrawerList.js +8 -27
- package/dist-src/drawer/DrawerOverrides.js +12 -10
- package/dist-src/drawer/DrawerTitle.js +46 -40
- package/dist-src/dropdown-button/DropdownButton.js +1 -1
- package/dist-src/grid/GridStack.js +1 -1
- package/dist-src/grid/InlineGrid.js +2 -2
- package/dist-src/icon-button/IconButtonOverrides.js +48 -32
- package/dist-src/info-card/InfoCard.js +27 -37
- package/dist-src/link/LinkOverrides.js +29 -26
- package/dist-src/list/ListOverrides.js +10 -7
- package/dist-src/menu/MenuOverrides.js +28 -14
- package/dist-src/overflow-text/OverflowText.js +35 -34
- package/dist-src/pagination/PaginationOverrides.js +27 -32
- package/dist-src/paper/PaperOverrides.js +8 -6
- package/dist-src/radio/RadioField.js +1 -1
- package/dist-src/radio/RadioGroupField.js +1 -1
- package/dist-src/radio/RadioOverrides.js +38 -36
- package/dist-src/responsive/ResponsiveContext.js +1 -1
- package/dist-src/snackbar/Snackbar.js +1 -1
- package/dist-src/snackbar/SnackbarContent.js +3 -3
- package/dist-src/snackbar/SnackbarOverrides.js +28 -18
- package/dist-src/svg-icon/SvgIconOverrides.js +28 -18
- package/dist-src/switch/SwitchOverrides.js +72 -71
- package/dist-src/tabs/TabsOverrides.js +34 -30
- package/dist-src/tag/Tag.js +2 -2
- package/dist-src/text-field/TextFieldOverrides.js +158 -137
- package/dist-src/theme/CssBaselineOverrides.js +8 -0
- package/dist-src/theme/ThemeProvider.js +25 -28
- package/dist-src/tiles/Tiles.js +4 -3
- package/dist-src/toolbar/ToolbarOverrides.js +10 -8
- package/dist-src/tooltip/TooltipOverrides.js +33 -30
- package/dist-src/typography/TypographyOverrides.js +12 -2
- package/dist-types/index.d.ts +30 -26
- package/dist-web/index.js +1370 -1286
- package/dist-web/index.js.map +1 -1
- package/package.json +5 -5
package/dist-types/index.d.ts
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
import { ButtonProps as ButtonProps$1, ToolbarProps, AvatarClassKey, AvatarTypeMap, ButtonBaseProps, CheckboxProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormLabelProps, FormHelperTextProps, TypographyProps, TooltipProps, ListProps, ListTypeMap, MenuListProps, ButtonGroupProps, GridProps, CardClassKey, CardProps, CardContentProps, RadioProps, RadioGroupProps, SnackbarContentProps as SnackbarContentProps$1, SnackbarContentClassKey as SnackbarContentClassKey$1, SnackbarProps as SnackbarProps$1, Theme } from '@material-ui/core';
|
|
1
|
+
import { ToolbarProps, AvatarTypeMap, ButtonBaseProps, CheckboxProps, FormControlLabelProps, FormControlProps, FormGroupProps, FormLabelProps, FormHelperTextProps, TypographyProps, TooltipProps, Theme, ExtendList, ListTypeMap, MenuListProps, ButtonGroupProps, GridProps, CardProps, CardContentProps, RadioProps, RadioGroupProps, Breakpoint, SnackbarContentProps as SnackbarContentProps$1, SnackbarContentClassKey as SnackbarContentClassKey$1, SnackbarProps as SnackbarProps$1 } from '@mui/material';
|
|
3
2
|
import { RefAttributes, ForwardRefExoticComponent, Key, ReactNode, MouseEvent, ReactElement, EventHandler, ButtonHTMLAttributes, Ref, ElementType, HTMLAttributes, ConsumerProps } from 'react';
|
|
4
|
-
import {
|
|
3
|
+
import { LoadingButtonProps } from '@mui/lab';
|
|
5
4
|
import { Property } from 'csstype';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
5
|
+
import { MUIStyledCommonProps } from '@mui/system';
|
|
6
|
+
import { StyledComponent } from 'styled-components';
|
|
7
|
+
import { LabComponents } from '@mui/lab/themeAugmentation';
|
|
8
|
+
import { ClassNameMap } from '@mui/styles';
|
|
8
9
|
|
|
9
|
-
interface ButtonProps extends RefAttributes<HTMLButtonElement>, Omit<
|
|
10
|
+
interface ButtonProps extends RefAttributes<HTMLButtonElement>, Omit<LoadingButtonProps, 'color' | 'loading' | 'loadingIndicator'> {
|
|
10
11
|
rel?: string;
|
|
11
12
|
target?: string;
|
|
12
13
|
isActive?: boolean;
|
|
@@ -50,13 +51,11 @@ interface AdaptiveVerticalToolbarProps extends RefAttributes<HTMLDivElement> {
|
|
|
50
51
|
}
|
|
51
52
|
declare const AdaptiveVerticalToolbar: ForwardRefExoticComponent<AdaptiveVerticalToolbarProps>;
|
|
52
53
|
|
|
53
|
-
declare type AvatarButtonClassKey = 'button' | 'overlay' | 'progress' | 'withIcon' | 'sizeLarge' | Exclude<AvatarClassKey, 'circle'>;
|
|
54
54
|
interface AvatarButtonProps extends RefAttributes<HTMLButtonElement>, ButtonHTMLAttributes<HTMLButtonElement> {
|
|
55
55
|
size?: 'small' | 'large';
|
|
56
56
|
icon?: ReactNode;
|
|
57
57
|
isLoading?: boolean;
|
|
58
58
|
avatarRef?: Ref<HTMLDivElement>;
|
|
59
|
-
classes?: Partial<ClassNameMap<AvatarButtonClassKey>>;
|
|
60
59
|
variant?: AvatarTypeMap['props']['variant'];
|
|
61
60
|
alt?: AvatarTypeMap['props']['alt'];
|
|
62
61
|
src?: AvatarTypeMap['props']['src'];
|
|
@@ -66,7 +65,6 @@ interface AvatarButtonProps extends RefAttributes<HTMLButtonElement>, ButtonHTML
|
|
|
66
65
|
}
|
|
67
66
|
declare const AvatarButton: ForwardRefExoticComponent<AvatarButtonProps>;
|
|
68
67
|
|
|
69
|
-
declare type CardButtonClassKey = 'root' | 'label' | 'hint' | 'error' | 'primary' | 'disabled' | 'sizeSmall' | 'sizeLarge' | 'icon' | 'startIcon' | 'endIcon';
|
|
70
68
|
interface CardButtonProps extends RefAttributes<HTMLButtonElement>, ButtonBaseProps {
|
|
71
69
|
error?: ReactNode;
|
|
72
70
|
children?: ReactNode;
|
|
@@ -75,7 +73,6 @@ interface CardButtonProps extends RefAttributes<HTMLButtonElement>, ButtonBasePr
|
|
|
75
73
|
endIcon?: ReactNode;
|
|
76
74
|
size?: 'small' | 'medium' | 'large';
|
|
77
75
|
className?: string;
|
|
78
|
-
classes?: Partial<ClassNameMap<CardButtonClassKey>>;
|
|
79
76
|
}
|
|
80
77
|
declare const CardButton: ForwardRefExoticComponent<CardButtonProps>;
|
|
81
78
|
|
|
@@ -156,11 +153,6 @@ interface OverflowTextProps extends Omit<TypographyProps, 'noWrap'> {
|
|
|
156
153
|
}
|
|
157
154
|
declare const OverflowText: ForwardRefExoticComponent<OverflowTextProps>;
|
|
158
155
|
|
|
159
|
-
interface DescriptionListProps {
|
|
160
|
-
children?: ReactNode;
|
|
161
|
-
size?: 'small' | 'medium' | 'large';
|
|
162
|
-
}
|
|
163
|
-
declare const DescriptionList: ForwardRefExoticComponent<DescriptionListProps & RefAttributes<HTMLDivElement>>;
|
|
164
156
|
interface DescriptionListItemProps {
|
|
165
157
|
icon?: ReactNode;
|
|
166
158
|
inset?: boolean;
|
|
@@ -171,15 +163,29 @@ interface DescriptionListItemProps {
|
|
|
171
163
|
fallback?: ReactNode;
|
|
172
164
|
}
|
|
173
165
|
declare const DescriptionListItem: ForwardRefExoticComponent<DescriptionListItemProps & RefAttributes<HTMLDivElement>>;
|
|
166
|
+
interface DescriptionListProps {
|
|
167
|
+
children?: ReactNode;
|
|
168
|
+
size?: 'small' | 'medium' | 'large';
|
|
169
|
+
}
|
|
170
|
+
declare const DescriptionList: ForwardRefExoticComponent<DescriptionListProps & RefAttributes<HTMLDivElement>>;
|
|
174
171
|
|
|
175
172
|
declare type DrawerActionsProps = Omit<HTMLAttributes<HTMLDivElement>, 'color'>;
|
|
176
173
|
declare const DrawerActions: ForwardRefExoticComponent<DrawerActionsProps & RefAttributes<HTMLDivElement>>;
|
|
177
174
|
|
|
178
175
|
declare type DrawerContentProps = HTMLAttributes<HTMLDivElement>;
|
|
179
|
-
declare const DrawerContent:
|
|
176
|
+
declare const DrawerContent: StyledComponent<"div", Theme, MUIStyledCommonProps<Theme>, never>;
|
|
180
177
|
|
|
181
|
-
declare type
|
|
182
|
-
|
|
178
|
+
declare type SuperDispatchTheme = Readonly<Required<Theme & {
|
|
179
|
+
components?: LabComponents;
|
|
180
|
+
}>>;
|
|
181
|
+
declare module '@mui/styles/defaultTheme' {
|
|
182
|
+
interface DefaultTheme extends SuperDispatchTheme {
|
|
183
|
+
}
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
declare const DrawerList: StyledComponent<ExtendList<ListTypeMap<{}, "ul">>, Theme, MUIStyledCommonProps<Theme> & {
|
|
187
|
+
theme: SuperDispatchTheme;
|
|
188
|
+
}, never>;
|
|
183
189
|
|
|
184
190
|
interface DrawerTitleProps extends Omit<HTMLAttributes<HTMLDivElement>, 'color' | 'title'> {
|
|
185
191
|
children?: ReactNode;
|
|
@@ -198,7 +204,7 @@ interface DropdownButtonProps extends Omit<ButtonProps, 'children'> {
|
|
|
198
204
|
MenuListProps?: Omit<MenuListProps, 'id'>;
|
|
199
205
|
ButtonGroupProps?: ButtonGroupProps;
|
|
200
206
|
}
|
|
201
|
-
declare const DropdownButton: ForwardRefExoticComponent<Pick<DropdownButtonProps, "className" | "style" | "classes" | "
|
|
207
|
+
declare const DropdownButton: ForwardRefExoticComponent<Pick<DropdownButtonProps, "className" | "style" | "classes" | "form" | "label" | "slot" | "title" | "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" | "action" | "centerRipple" | "disabled" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "LinkComponent" | "onFocusVisible" | "sx" | "TouchRippleProps" | "disableElevation" | "disableFocusRipple" | "endIcon" | "fullWidth" | "href" | "size" | "startIcon" | "variant" | "loadingPosition" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "name" | "type" | "value" | "rel" | "target" | "isActive" | "isLoading" | "MenuListProps" | "ButtonGroupProps"> & RefAttributes<HTMLButtonElement>>;
|
|
202
208
|
|
|
203
209
|
interface GridStackProps extends RefAttributes<HTMLDivElement>, Pick<GridProps, 'style' | 'className' | 'children' | 'spacing' | 'alignItems'> {
|
|
204
210
|
}
|
|
@@ -207,14 +213,14 @@ interface GridStackProps extends RefAttributes<HTMLDivElement>, Pick<GridProps,
|
|
|
207
213
|
*/
|
|
208
214
|
declare const GridStack: ForwardRefExoticComponent<GridStackProps>;
|
|
209
215
|
|
|
210
|
-
interface InlineGridProps extends RefAttributes<HTMLDivElement>, Pick<GridProps, 'style' | 'className' | 'children' | 'wrap' | 'spacing' | '
|
|
216
|
+
interface InlineGridProps extends RefAttributes<HTMLDivElement>, Pick<GridProps, 'style' | 'className' | 'children' | 'wrap' | 'spacing' | 'alignItems'> {
|
|
217
|
+
justify?: GridProps['justifyContent'];
|
|
211
218
|
}
|
|
212
219
|
/**
|
|
213
220
|
* @deprecated in favor of `Inline` component.
|
|
214
221
|
*/
|
|
215
222
|
declare const InlineGrid: ForwardRefExoticComponent<InlineGridProps>;
|
|
216
223
|
|
|
217
|
-
declare type InfoCardClassKey = 'sizeLarge' | 'content' | 'fullWidth' | CardClassKey;
|
|
218
224
|
interface InfoCardProps extends CardProps {
|
|
219
225
|
size?: 'medium' | 'large';
|
|
220
226
|
CardContentProps?: CardContentProps;
|
|
@@ -266,13 +272,13 @@ declare function useResponsiveContext(): ResponsiveContext;
|
|
|
266
272
|
|
|
267
273
|
declare type SnackbarContentClassKey = SnackbarContentClassKey$1 | 'icon' | 'closeButton' | 'variantError' | 'variantSuccess';
|
|
268
274
|
declare type SnackbarVariant = 'default' | 'error' | 'success';
|
|
269
|
-
interface SnackbarContentProps extends RefAttributes<
|
|
275
|
+
interface SnackbarContentProps extends RefAttributes<HTMLDivElement>, Omit<SnackbarContentProps$1, 'classes' | 'message' | 'variant'> {
|
|
270
276
|
children?: ReactNode;
|
|
271
277
|
onClose?: () => void;
|
|
272
278
|
variant?: SnackbarVariant;
|
|
273
279
|
classes?: Partial<ClassNameMap<SnackbarContentClassKey>>;
|
|
274
280
|
}
|
|
275
|
-
declare const SnackbarContent: ForwardRefExoticComponent<SnackbarContentProps
|
|
281
|
+
declare const SnackbarContent: ForwardRefExoticComponent<Pick<SnackbarContentProps, "className" | "style" | "classes" | "slot" | "title" | "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" | "action" | "sx" | "variant" | "key" | "elevation" | "square" | "onClose"> & RefAttributes<HTMLDivElement>>;
|
|
276
282
|
|
|
277
283
|
declare type SnackbarCloseReason = 'timeout' | 'explicit';
|
|
278
284
|
interface SnackbarProps extends Omit<SnackbarProps$1, 'onClose' | 'message' | 'children'> {
|
|
@@ -397,8 +403,6 @@ declare enum Color {
|
|
|
397
403
|
declare type ColorProp = keyof typeof Color;
|
|
398
404
|
declare function isColorProp(name: unknown): name is ColorProp;
|
|
399
405
|
|
|
400
|
-
declare type SuperDispatchTheme = Readonly<Required<Theme>>;
|
|
401
|
-
|
|
402
406
|
interface ThemeProviderProps {
|
|
403
407
|
children?: ReactNode;
|
|
404
408
|
injectFirst?: boolean;
|
|
@@ -451,4 +455,4 @@ interface VisibilityObserverProps extends VisibilityObserverOptions {
|
|
|
451
455
|
}
|
|
452
456
|
declare function VisibilityObserver({ render, onChange, ...options }: VisibilityObserverProps): null | ReactElement;
|
|
453
457
|
|
|
454
|
-
export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton,
|
|
458
|
+
export { AdaptiveToolbar, AdaptiveToolbarDropdownItem, AdaptiveToolbarItem, AdaptiveToolbarProps, AdaptiveVerticalToolbar, AdaptiveVerticalToolbarItem, AdaptiveVerticalToolbarProps, AvatarButton, AvatarButtonProps, Button, ButtonProps, CardButton, CardButtonProps, CheckboxField, CheckboxFieldProps, CheckboxGroupField, CheckboxGroupFieldProps, CollapseBreakpoint, CollapseProp, Color, ColorProp, ColorVariant, Column, ColumnProps, ColumnWidth, Columns, ColumnsProps, DescriptionList, DescriptionListItem, DescriptionListItemProps, DescriptionListProps, DrawerActions, DrawerActionsProps, DrawerContent, DrawerContentProps, DrawerList, DrawerTitle, DrawerTitleProps, DropdownButton, ElementVisibility, ExitTransitionPlaceholder, GridStack, GridStackProps, HorizontalAlign, InfoCard, InfoCardProps, Inline, InlineGrid, InlineGridProps, InlineProps, MinBreakpoint, NegativeSpaceProp, OverflowText, OverflowTextProps, PartialResponsivePropRecord, RadioField, RadioFieldProps, RadioGroupField, RadioGroupFieldProps, ResponsiveContext, ResponsiveContextProvider, ResponsiveContextProviderProps, ResponsiveProp, ResponsivePropPrimitive, ResponsivePropRecord, ResponsivePropTuple, ResponsivePropTupleInit, Snackbar, SnackbarCloseReason, SnackbarContent, SnackbarContentProps, SnackbarProps, SnackbarStack, SnackbarStackConsumer, SnackbarStackOptions, SnackbarStackProvider, SnackbarStackProviderProps, SnackbarVariant, SpaceProp, Stack, StackProps, SuperDispatchTheme, Tag, TagClassKey, TagProps, ThemeProvider, ThemeProviderProps, Tiles, TilesColumns, TilesProps, TilesSpace, VerticalAlign, VisibilityObserver, VisibilityObserverOptions, VisibilityObserverProps, VisibilityObserverRenderProps, assignRef, isColorProp, isEmptyReactNode, mergeRefs, parseAlignProp, parseCollapsedBelow, parseResponsiveProp, parseSpaceProp, renderChildren, useCollapseBreakpoint, useMinBreakpoint, useResizeObserver, useResponsiveContext, useResponsiveProp, useResponsivePropRecord, useResponsiveValue, useSnackbarStack, useUID, useVisibilityObserver };
|