@agilekit/ui 0.0.431-alpha.0 → 0.0.441-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/lib/index.js +1 -1
- package/lib/src/components/ActionList/components/Item/Item.d.ts +1 -1
- package/lib/src/components/ActionList/components/Section/Section.d.ts +1 -1
- package/lib/src/components/Backdrop/Backdrop.d.ts +1 -1
- package/lib/src/components/Button/Button.d.ts +1 -1
- package/lib/src/components/Button/stories/Button.dev.stories.d.ts +1 -1
- package/lib/src/components/Button/stories/Button.stories.d.ts +1 -1
- package/lib/src/components/Checkbox/Checkbox.d.ts +1 -1
- package/lib/src/components/Checkbox/stories/Checkbox.stories.d.ts +1 -1
- package/lib/src/components/Choice/Choice.d.ts +2 -2
- package/lib/src/components/CollapsibleItem/CollapsibleItem.d.ts +0 -1
- package/lib/src/components/Drawer/components/CloseButton/CloseButton.d.ts +1 -1
- package/lib/src/components/Drawer/components/Dialog/Dialog.d.ts +1 -1
- package/lib/src/components/Drawer/components/Footer/Footer.d.ts +1 -1
- package/lib/src/components/Dropdown/Dropdown.d.ts +1 -2
- package/lib/src/components/Form/Form.d.ts +1 -1
- package/lib/src/components/Grid/components/Col/Col.d.ts +22 -3
- package/lib/src/components/Grid/components/Row/Row.d.ts +27 -5
- package/lib/src/components/Grid/stories/Grid.stories.d.ts +2 -2
- package/lib/src/components/Heading/Heading.d.ts +1 -1
- package/lib/src/components/Heading/stories/Heading.stories.d.ts +1 -1
- package/lib/src/components/Image/Image.d.ts +1 -1
- package/lib/src/components/Label/Label.d.ts +1 -1
- package/lib/src/components/Labelled/Labelled.d.ts +1 -1
- package/lib/src/components/Link/Link.d.ts +1 -2
- package/lib/src/components/Navigation/Navigation.d.ts +2 -2
- package/lib/src/components/Navigation/components/NavFilter/NavFilter.d.ts +1 -1
- package/lib/src/components/Navigation/components/NavFilterItem/NavFilterItem.d.ts +1 -1
- package/lib/src/components/OldSelect/OldSelect.d.ts +1 -1
- package/lib/src/components/OldTextField/OldTextField.d.ts +1 -1
- package/lib/src/components/OutsideClickDetector/OutsideClickDetector.d.ts +14 -3
- package/lib/src/components/Pagination/Pagination.d.ts +1 -1
- package/lib/src/components/Pagination/components/PageEllipsis/PageEllipsis.d.ts +1 -1
- package/lib/src/components/Pagination/components/PageMove/PageMove.d.ts +1 -1
- package/lib/src/components/Pagination/components/PageNumber/PageNumber.d.ts +1 -1
- package/lib/src/components/Pagination/stories/Pagination.stories.d.ts +1 -1
- package/lib/src/components/Popover/stories/Popover.stories.d.ts +2 -0
- package/lib/src/components/Portal/Portal.d.ts +1 -1
- package/lib/src/components/Slider/Slider.d.ts +2 -2
- package/lib/src/components/Slider/stories/Slider.stories.d.ts +2 -2
- package/lib/src/components/Switch/Switch.d.ts +1 -1
- package/lib/src/components/Switch/stories/Switch.stories.d.ts +1 -1
- package/lib/src/components/SwitchNew/SwitchNew.d.ts +1 -0
- package/lib/src/components/SwitchNew/stories/SwitchNew.stories.d.ts +13 -0
- package/lib/src/components/TableList/TableList.d.ts +14 -1
- package/lib/src/components/TableList/components/Cell/Cell.d.ts +2 -2
- package/lib/src/components/TableList/components/ColumnHeader/ColumnHeader.d.ts +2 -2
- package/lib/src/components/TextField/TextField.d.ts +1 -1
- package/lib/src/components/TextField/TextField.styles.d.ts +1 -1
- package/lib/src/components/TextField/stories/TextField.dev.stories.d.ts +1 -1
- package/lib/src/components/TextField/stories/TextField.stories.d.ts +1 -1
- package/lib/src/components/TopBar/TopBar.d.ts +1 -1
- package/lib/src/components/TopBar/components/UserMenu/UserMenu.d.ts +1 -1
- package/lib/src/components/UnstyledLink/UnstyledLink.d.ts +1 -1
- package/lib/src/index.d.ts +0 -5
- package/package.json +32 -34
|
@@ -18,5 +18,5 @@ export interface IButtonProps extends React.HTMLAttributes<HTMLButtonElement> {
|
|
|
18
18
|
startIcon?: React.ReactNode;
|
|
19
19
|
onClick?(event?: any): void;
|
|
20
20
|
}
|
|
21
|
-
declare const Button: React.
|
|
21
|
+
declare const Button: React.SFC<IButtonProps>;
|
|
22
22
|
export default Button;
|
|
@@ -4,12 +4,12 @@ export interface IChoiceProps {
|
|
|
4
4
|
id: string;
|
|
5
5
|
label: React.ReactNode;
|
|
6
6
|
disabled?: boolean;
|
|
7
|
-
error?: Error | boolean
|
|
7
|
+
error?: Error | boolean;
|
|
8
8
|
labelHidden?: boolean;
|
|
9
9
|
labelIcon?: IconName;
|
|
10
10
|
children?: React.ReactNode;
|
|
11
11
|
helpText?: React.ReactNode;
|
|
12
12
|
}
|
|
13
|
-
declare const Choice: React.
|
|
13
|
+
declare const Choice: React.SFC<IChoiceProps>;
|
|
14
14
|
export default Choice;
|
|
15
15
|
export declare function helpTextID(id: string): string;
|
|
@@ -5,9 +5,8 @@ export interface DropdownProps {
|
|
|
5
5
|
fullWidth?: boolean;
|
|
6
6
|
placeholder?: string;
|
|
7
7
|
startIcon?: React.ReactNode;
|
|
8
|
-
value?: string
|
|
8
|
+
value?: Record<string, any>;
|
|
9
9
|
onChange?: (value: string) => void;
|
|
10
|
-
children?: React.ReactNode;
|
|
11
10
|
}
|
|
12
11
|
declare const Dropdown: React.FC<DropdownProps>;
|
|
13
12
|
export default Dropdown;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
2
3
|
declare type ColSpanType = number | string;
|
|
3
4
|
export interface IColSize {
|
|
4
5
|
span?: ColSpanType;
|
|
@@ -21,5 +22,23 @@ export interface IColProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
21
22
|
xxl?: ColSpanType | IColSize;
|
|
22
23
|
prefixCls?: string;
|
|
23
24
|
}
|
|
24
|
-
|
|
25
|
-
|
|
25
|
+
export default class Col extends React.Component<IColProps, any> {
|
|
26
|
+
static propTypes: {
|
|
27
|
+
span: PropTypes.Requireable<number>;
|
|
28
|
+
order: PropTypes.Requireable<number>;
|
|
29
|
+
offset: PropTypes.Requireable<number>;
|
|
30
|
+
push: PropTypes.Requireable<number>;
|
|
31
|
+
pull: PropTypes.Requireable<number>;
|
|
32
|
+
className: PropTypes.Requireable<string>;
|
|
33
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
34
|
+
xs: PropTypes.Requireable<number | object>;
|
|
35
|
+
sm: PropTypes.Requireable<number | object>;
|
|
36
|
+
md: PropTypes.Requireable<number | object>;
|
|
37
|
+
lg: PropTypes.Requireable<number | object>;
|
|
38
|
+
xl: PropTypes.Requireable<number | object>;
|
|
39
|
+
xxl: PropTypes.Requireable<number | object>;
|
|
40
|
+
};
|
|
41
|
+
renderCol: () => JSX.Element;
|
|
42
|
+
render(): JSX.Element;
|
|
43
|
+
}
|
|
44
|
+
export {};
|
|
@@ -1,4 +1,5 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as PropTypes from 'prop-types';
|
|
2
3
|
import { BoxProps } from '@material-ui/core';
|
|
3
4
|
export declare type Breakpoint = 'xxl' | 'xl' | 'lg' | 'md' | 'sm' | 'xs';
|
|
4
5
|
export declare type BreakpointMap = Partial<Record<Breakpoint, string>>;
|
|
@@ -8,12 +9,33 @@ export interface IRowProps extends BoxProps {
|
|
|
8
9
|
gutter?: number | Partial<Record<Breakpoint, number>>;
|
|
9
10
|
type?: 'flex';
|
|
10
11
|
noWrap?: boolean;
|
|
11
|
-
align?:
|
|
12
|
-
justify?:
|
|
12
|
+
align?: typeof RowAligns[number];
|
|
13
|
+
justify?: typeof RowJustify[number];
|
|
13
14
|
prefixCls?: string;
|
|
14
15
|
}
|
|
15
16
|
export interface IRowState {
|
|
16
17
|
screens: BreakpointMap;
|
|
17
18
|
}
|
|
18
|
-
|
|
19
|
-
|
|
19
|
+
export default class Row extends React.Component<IRowProps, IRowState> {
|
|
20
|
+
static defaultProps: {
|
|
21
|
+
gutter: number;
|
|
22
|
+
};
|
|
23
|
+
static propTypes: {
|
|
24
|
+
type: PropTypes.Requireable<"flex">;
|
|
25
|
+
noWrap: PropTypes.Requireable<boolean>;
|
|
26
|
+
align: PropTypes.Requireable<"bottom" | "top" | "middle">;
|
|
27
|
+
justify: PropTypes.Requireable<"space-around" | "space-between" | "center" | "end" | "start">;
|
|
28
|
+
className: PropTypes.Requireable<string>;
|
|
29
|
+
children: PropTypes.Requireable<PropTypes.ReactNodeLike>;
|
|
30
|
+
gutter: PropTypes.Requireable<number | object>;
|
|
31
|
+
prefixCls: PropTypes.Requireable<string>;
|
|
32
|
+
};
|
|
33
|
+
state: IRowState;
|
|
34
|
+
queryListener(screen: any): void;
|
|
35
|
+
componentDidMount(): void;
|
|
36
|
+
componentWillUnmount(): void;
|
|
37
|
+
getGutter(): number | undefined;
|
|
38
|
+
renderRow: () => JSX.Element;
|
|
39
|
+
render(): JSX.Element;
|
|
40
|
+
}
|
|
41
|
+
export {};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Col } from '../components/Col';
|
|
2
2
|
declare const _default: {
|
|
3
3
|
title: string;
|
|
4
|
-
component:
|
|
4
|
+
component: typeof Col;
|
|
5
5
|
parameters: {
|
|
6
6
|
docs: {
|
|
7
7
|
page: (props: any) => JSX.Element;
|
|
@@ -9,6 +9,6 @@ export interface ILabelledProps {
|
|
|
9
9
|
children?: React.ReactNode;
|
|
10
10
|
labelHidden?: boolean;
|
|
11
11
|
}
|
|
12
|
-
declare const Labelled: React.
|
|
12
|
+
declare const Labelled: React.SFC<ILabelledProps>;
|
|
13
13
|
export default Labelled;
|
|
14
14
|
export declare function helpTextID(id: string): string;
|
|
@@ -17,8 +17,8 @@ interface INavigationProps {
|
|
|
17
17
|
}
|
|
18
18
|
declare class Navigation extends React.Component<INavigationProps> {
|
|
19
19
|
static Section: typeof Section;
|
|
20
|
-
static Filter: React.
|
|
21
|
-
static FilterItem: React.
|
|
20
|
+
static Filter: React.SFC<import("./components/NavFilter/NavFilter").INavFilterProp>;
|
|
21
|
+
static FilterItem: React.SFC<import("./components/NavFilterItem/NavFilterItem").INavFilterItemProp>;
|
|
22
22
|
render(): JSX.Element;
|
|
23
23
|
}
|
|
24
24
|
export default Navigation;
|
|
@@ -29,5 +29,5 @@ export interface ITextFieldProps extends React.HTMLAttributes<HTMLInputElement>
|
|
|
29
29
|
onBlur?: any;
|
|
30
30
|
onChange?(e: React.ChangeEvent<any> | string, id?: string): void;
|
|
31
31
|
}
|
|
32
|
-
declare const OldTextField: React.
|
|
32
|
+
declare const OldTextField: React.SFC<ITextFieldProps>;
|
|
33
33
|
export default OldTextField;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import { Component, EventHandler, MouseEvent as ReactMouseEvent, ReactElement } from 'react';
|
|
2
2
|
export interface IEvent extends Event {
|
|
3
3
|
euiGeneratedBy: string[];
|
|
4
4
|
}
|
|
@@ -11,5 +11,16 @@ interface IProps {
|
|
|
11
11
|
onTouchStart?: (event: ReactMouseEvent<any, IEvent>) => void;
|
|
12
12
|
onTouchEnd?: (event: ReactMouseEvent<any, IEvent>) => void;
|
|
13
13
|
}
|
|
14
|
-
|
|
15
|
-
|
|
14
|
+
export default class OutsideClickDetector extends Component<IProps> {
|
|
15
|
+
private id;
|
|
16
|
+
private capturedDownIds;
|
|
17
|
+
constructor(props: IProps);
|
|
18
|
+
onClickOutside: EventHandler<any>;
|
|
19
|
+
componentDidMount(): void;
|
|
20
|
+
componentWillUnmount(): void;
|
|
21
|
+
onChildClick: (event: ReactMouseEvent<any, IEvent>, cb: (event: ReactMouseEvent<any, IEvent>) => void) => void;
|
|
22
|
+
onChildMouseDown: (event: ReactMouseEvent<any, IEvent>) => void;
|
|
23
|
+
onChildMouseUp: (event: ReactMouseEvent<any, IEvent>) => void;
|
|
24
|
+
render(): ReactElement<any, string | import("react").JSXElementConstructor<any>>;
|
|
25
|
+
}
|
|
26
|
+
export {};
|
|
@@ -10,5 +10,5 @@ export interface IPaginationProps {
|
|
|
10
10
|
collapseRange?: (pages: React.ReactNode[], max: number, ellipsis: (key: any) => React.ReactNode, current: number) => React.ReactNode[];
|
|
11
11
|
onPageChange?: (event: React.SyntheticEvent, page: any) => void;
|
|
12
12
|
}
|
|
13
|
-
declare const Pagination: React.
|
|
13
|
+
declare const Pagination: React.SFC<IPaginationProps>;
|
|
14
14
|
export default Pagination;
|
|
@@ -23,7 +23,7 @@ declare const CustomSlider: import("react").ComponentType<Pick<{
|
|
|
23
23
|
ValueLabelComponent?: import("react").ElementType<import("@material-ui/core/Slider").ValueLabelProps> | undefined;
|
|
24
24
|
valueLabelDisplay?: "auto" | "on" | "off" | undefined;
|
|
25
25
|
valueLabelFormat?: string | ((value: number, index: number) => import("react").ReactNode) | undefined;
|
|
26
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/Slider").SliderTypeMap<{}, "span">> & Pick<
|
|
26
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core/Slider").SliderTypeMap<{}, "span">> & Pick<Pick<import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof import("react").HTMLAttributes<HTMLSpanElement>> & {
|
|
27
27
|
ref?: ((instance: HTMLSpanElement | null) => void) | import("react").RefObject<HTMLSpanElement> | null | undefined;
|
|
28
|
-
}, "translate" | "hidden" | "ref" | "slot" | "title" | "
|
|
28
|
+
}, "translate" | "hidden" | "ref" | "slot" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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-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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "css" | "key">, "color" | "scale" | "translate" | "hidden" | "style" | "disabled" | "ref" | "slot" | "title" | "track" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "css" | "innerRef" | "max" | "min" | "name" | "orientation" | "key" | "value" | "step" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import("@material-ui/core").StyledComponentProps<"active" | "track" | "root" | "thumb" | "valueLabel" | "rail">>;
|
|
29
29
|
export default CustomSlider;
|
|
@@ -25,9 +25,9 @@ declare const _default: {
|
|
|
25
25
|
ValueLabelComponent?: React.ElementType<import("@material-ui/core").ValueLabelProps> | undefined;
|
|
26
26
|
valueLabelDisplay?: "auto" | "on" | "off" | undefined;
|
|
27
27
|
valueLabelFormat?: string | ((value: number, index: number) => React.ReactNode) | undefined;
|
|
28
|
-
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").SliderTypeMap<{}, "span">> & Pick<
|
|
28
|
+
} & import("@material-ui/core/OverridableComponent").CommonProps<import("@material-ui/core").SliderTypeMap<{}, "span">> & Pick<Pick<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "key" | keyof React.HTMLAttributes<HTMLSpanElement>> & {
|
|
29
29
|
ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
|
|
30
|
-
}, "translate" | "hidden" | "ref" | "slot" | "title" | "
|
|
30
|
+
}, "translate" | "hidden" | "ref" | "slot" | "title" | "defaultChecked" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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-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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "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" | "css" | "key">, "color" | "scale" | "translate" | "hidden" | "style" | "disabled" | "ref" | "slot" | "title" | "track" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "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" | "css" | "innerRef" | "max" | "min" | "name" | "orientation" | "key" | "value" | "step" | "getAriaLabel" | "getAriaValueText" | "marks" | "onChangeCommitted" | "ThumbComponent" | "ValueLabelComponent" | "valueLabelDisplay" | "valueLabelFormat"> & import("@material-ui/core").StyledComponentProps<"active" | "track" | "root" | "thumb" | "valueLabel" | "rail">>;
|
|
31
31
|
parameters: {
|
|
32
32
|
docs: {
|
|
33
33
|
page: (props: any) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const CustomSwitch: import("react").ComponentType<Pick<import("@material-ui/core/Switch").SwitchProps, "color" | "translate" | "hidden" | "size" | "style" | "icon" | "disabled" | "ref" | "form" | "slot" | "title" | "
|
|
2
|
+
declare const CustomSwitch: import("react").ComponentType<Pick<import("@material-ui/core/Switch").SwitchProps, "color" | "translate" | "hidden" | "size" | "style" | "icon" | "disabled" | "ref" | "form" | "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "css" | "innerRef" | "name" | "type" | "key" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "readOnly" | "required" | "action" | "checked" | "inputRef" | "inputProps" | "checkedIcon" | "disableFocusRipple" | "edge" | "buttonRef" | "centerRipple" | "disableRipple" | "disableTouchRipple" | "focusRipple" | "focusVisibleClassName" | "onFocusVisible" | "TouchRippleProps"> & import("@material-ui/core").StyledComponentProps<"track" | "root" | "checked" | "switchBase" | "thumb">>;
|
|
3
3
|
export default CustomSwitch;
|