@redsift/design-system 9.0.0-alpha.1 → 9.0.0-alpha.11
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/index.d.ts +38 -18
- package/index.js +224 -99
- package/index.js.map +1 -1
- package/package.json +3 -3
- package/style/index.css +4 -0
- package/style/redsift-reset.css +4 -0
- package/style/redsift.css +4 -0
package/index.d.ts
CHANGED
|
@@ -39,6 +39,7 @@ declare const Product: {
|
|
|
39
39
|
readonly 'brand-trust': "brand-trust";
|
|
40
40
|
readonly certificates: "certificates";
|
|
41
41
|
readonly ondmarc: "ondmarc";
|
|
42
|
+
readonly pulse: "pulse";
|
|
42
43
|
readonly radar: "radar";
|
|
43
44
|
readonly 'rojo-ds': "rojo-ds";
|
|
44
45
|
readonly 'vendor-secure': "vendor-secure";
|
|
@@ -50,6 +51,7 @@ declare const ProductName: {
|
|
|
50
51
|
readonly 'brand-trust': "Brand Trust";
|
|
51
52
|
readonly certificates: "Certificates";
|
|
52
53
|
readonly ondmarc: "OnDMARC";
|
|
54
|
+
readonly pulse: "Pulse";
|
|
53
55
|
readonly radar: "RADAR";
|
|
54
56
|
readonly 'rojo-ds': "ROJO DS";
|
|
55
57
|
readonly 'vendor-secure': "Vendor Secure";
|
|
@@ -61,6 +63,7 @@ declare const ProductLogo: {
|
|
|
61
63
|
readonly 'brand-trust': JSX.Element;
|
|
62
64
|
readonly certificates: JSX.Element;
|
|
63
65
|
readonly ondmarc: JSX.Element;
|
|
66
|
+
readonly pulse: JSX.Element;
|
|
64
67
|
readonly radar: JSX.Element;
|
|
65
68
|
readonly 'rojo-ds': JSX.Element;
|
|
66
69
|
readonly 'vendor-secure': JSX.Element;
|
|
@@ -90,6 +93,7 @@ declare const ProductColorPalette: {
|
|
|
90
93
|
readonly 'brand-trust': "brand-trust";
|
|
91
94
|
readonly certificates: "certificates";
|
|
92
95
|
readonly ondmarc: "ondmarc";
|
|
96
|
+
readonly pulse: "pulse";
|
|
93
97
|
readonly radar: "radar";
|
|
94
98
|
readonly 'rojo-ds': "rojo-ds";
|
|
95
99
|
readonly 'vendor-secure': "vendor-secure";
|
|
@@ -832,6 +836,7 @@ interface AppBarProps extends Omit<ComponentProps<'header'>, 'title'> {
|
|
|
832
836
|
title?: string | ReactElement;
|
|
833
837
|
}
|
|
834
838
|
type StyledAppBarProps = AppBarProps & {
|
|
839
|
+
$hasBorder: boolean;
|
|
835
840
|
$isLoaded: boolean;
|
|
836
841
|
$isSidePanelCollapsed: boolean;
|
|
837
842
|
};
|
|
@@ -914,7 +919,7 @@ interface SideNavigationMenuProps extends ComponentProps<'div'> {
|
|
|
914
919
|
*/
|
|
915
920
|
icon?: IconProps['icon'];
|
|
916
921
|
/** Custom props to pass to the Icon component. */
|
|
917
|
-
iconProps?: Omit<IconProps, 'icon'>;
|
|
922
|
+
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
918
923
|
/** Custom ref to pass to the Icon component. */
|
|
919
924
|
iconRef?: MutableRefObject<HTMLElement>;
|
|
920
925
|
/** Whether the component is disabled or not. */
|
|
@@ -989,7 +994,7 @@ interface SideNavigationMenuItemProps extends ComponentProps<'a'> {
|
|
|
989
994
|
*/
|
|
990
995
|
icon?: IconProps['icon'];
|
|
991
996
|
/** Custom props to pass to the Icon component. */
|
|
992
|
-
iconProps?: Omit<IconProps, 'icon'>;
|
|
997
|
+
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
993
998
|
/** Custom ref to pass to the Icon component. */
|
|
994
999
|
iconRef?: RefObject<HTMLElement>;
|
|
995
1000
|
/** Whether the component is active or not. */
|
|
@@ -1087,12 +1092,6 @@ type AppContainerState = {
|
|
|
1087
1092
|
collapseSidePanel(): void;
|
|
1088
1093
|
/** Expandes the side panel. */
|
|
1089
1094
|
expandSidePanel(): void;
|
|
1090
|
-
/** Whether the container contains an AppBar or not. */
|
|
1091
|
-
hasAppBar: boolean;
|
|
1092
|
-
/** Whether the container contains an AppSidePanel or not. */
|
|
1093
|
-
hasAppSidePanel: boolean;
|
|
1094
|
-
/** Whether the container contains an AppContent or not. */
|
|
1095
|
-
hasAppContent: boolean;
|
|
1096
1095
|
/** Product theme. */
|
|
1097
1096
|
product?: AppContainerProps['product'];
|
|
1098
1097
|
/** Set breadcrumbs of the page. */
|
|
@@ -1111,7 +1110,10 @@ interface AppContainerProps extends ComponentProps<'div'> {
|
|
|
1111
1110
|
/** The locale to apply to the children. */
|
|
1112
1111
|
locale?: string;
|
|
1113
1112
|
/** Product theme to apply to everything within. This overrides the CSS variables automatically. */
|
|
1114
|
-
product?: Product
|
|
1113
|
+
product?: Product | {
|
|
1114
|
+
name: string;
|
|
1115
|
+
logo?: ReactElement;
|
|
1116
|
+
};
|
|
1115
1117
|
}
|
|
1116
1118
|
type StyledAppContainerProps = Omit<AppContainerProps, 'locale' | 'product'> & {
|
|
1117
1119
|
$product?: AppContainerProps['product'];
|
|
@@ -1128,8 +1130,6 @@ declare const AppContainer: Comp<AppContainerProps, HTMLDivElement>;
|
|
|
1128
1130
|
* Component props.
|
|
1129
1131
|
*/
|
|
1130
1132
|
interface AppContentProps extends ComponentProps<'main'>, StylingProps, ContainerProps {
|
|
1131
|
-
/** Product theme to apply to everything within. This overrides the CSS variables automatically. */
|
|
1132
|
-
product?: Product;
|
|
1133
1133
|
}
|
|
1134
1134
|
type StyledAppContentProps = Omit<AppContentProps, 'product'> & {
|
|
1135
1135
|
$isLoaded: boolean;
|
|
@@ -1372,11 +1372,11 @@ declare const Heading: Comp<HeadingProps, HTMLDivElement>;
|
|
|
1372
1372
|
/**
|
|
1373
1373
|
* Component props.
|
|
1374
1374
|
*/
|
|
1375
|
-
interface CardHeaderProps extends ComponentProps<'div'> {
|
|
1375
|
+
interface CardHeaderProps extends ComponentProps<'div'>, StylingProps, Omit<FlexLayoutProps, 'inline'> {
|
|
1376
1376
|
/** Header. */
|
|
1377
1377
|
header?: string;
|
|
1378
1378
|
/** Heading props allowing to override the component rendered by the heading without changing its style. */
|
|
1379
|
-
headingProps?: Pick<HeadingProps, 'as' | 'noWrap'>;
|
|
1379
|
+
headingProps?: Pick<HeadingProps, 'as' | 'noWrap' | 'variant'>;
|
|
1380
1380
|
/** Subheader */
|
|
1381
1381
|
subheader?: string;
|
|
1382
1382
|
/**
|
|
@@ -1384,6 +1384,8 @@ interface CardHeaderProps extends ComponentProps<'div'> {
|
|
|
1384
1384
|
* Can also be a ReactElement.
|
|
1385
1385
|
*/
|
|
1386
1386
|
icon?: IconProps['icon'];
|
|
1387
|
+
/** Custom props to pass to the Icon component. */
|
|
1388
|
+
iconProps?: Omit<IconProps, 'ref' | 'icon'>;
|
|
1387
1389
|
/** Whether the card is loading or not. */
|
|
1388
1390
|
isLoading?: boolean;
|
|
1389
1391
|
}
|
|
@@ -1744,8 +1746,15 @@ declare const DetailedCard: Comp<DetailedCardProps, HTMLDivElement> & {
|
|
|
1744
1746
|
* Component props.
|
|
1745
1747
|
*/
|
|
1746
1748
|
interface FlexboxProps extends ComponentProps<'div'>, StylingProps, InternalSpacingProps, FlexLayoutProps {
|
|
1749
|
+
/** Whether the flexbox has internal divider or not. The number of pixels defining the gap between columns and rows is mandatory. This replaces the gap property. */
|
|
1750
|
+
divider?: {
|
|
1751
|
+
colGap: number;
|
|
1752
|
+
rowGap: number;
|
|
1753
|
+
};
|
|
1747
1754
|
}
|
|
1748
|
-
type StyledFlexboxProps = FlexboxProps
|
|
1755
|
+
type StyledFlexboxProps = FlexboxProps & {
|
|
1756
|
+
$divider: FlexboxProps['divider'];
|
|
1757
|
+
};
|
|
1749
1758
|
|
|
1750
1759
|
/**
|
|
1751
1760
|
* The Flexbox component.
|
|
@@ -1796,8 +1805,9 @@ type FocusWithinGroupState = Readonly<{
|
|
|
1796
1805
|
caseSensitive?: boolean;
|
|
1797
1806
|
};
|
|
1798
1807
|
delayedAction?: BaseFocusWithinGroupAction;
|
|
1808
|
+
maxOptionsLength?: number;
|
|
1799
1809
|
}>;
|
|
1800
|
-
type FocusWithinGroupOptions = Partial<Pick<FocusWithinGroupState, 'direction' | 'focusOnClick' | 'focusOnInit' | 'loopAround' | 'focusType' | 'activedescendant'>>;
|
|
1810
|
+
type FocusWithinGroupOptions = Partial<Pick<FocusWithinGroupState, 'direction' | 'focusOnClick' | 'focusOnInit' | 'loopAround' | 'focusType' | 'activedescendant' | 'maxOptionsLength'>>;
|
|
1801
1811
|
declare enum FocusWithinGroupActionType {
|
|
1802
1812
|
REGISTER_TAB_STOP = "REGISTER_TAB_STOP",
|
|
1803
1813
|
UNREGISTER_TAB_STOP = "UNREGISTER_TAB_STOP",
|
|
@@ -1848,6 +1858,7 @@ type BaseFocusWithinGroupAction = {
|
|
|
1848
1858
|
type: FocusWithinGroupActionType.FOCUS_ON_LIST;
|
|
1849
1859
|
payload: {
|
|
1850
1860
|
id: TabStop['id'];
|
|
1861
|
+
filter?: FocusWithinGroupState['filter'];
|
|
1851
1862
|
};
|
|
1852
1863
|
} | {
|
|
1853
1864
|
type: FocusWithinGroupActionType.BLUR_ON_LIST;
|
|
@@ -1970,8 +1981,15 @@ declare function useFocusOnList(): UseFocusGroupProps;
|
|
|
1970
1981
|
* Component props.
|
|
1971
1982
|
*/
|
|
1972
1983
|
interface GridProps extends ComponentProps<'div'>, StylingProps, InternalSpacingProps, GridLayoutProps {
|
|
1984
|
+
/** Whether the grid has divider or not. The number of pixels defining the gap between columns and rows is mandatory. This replaces the grid gap property. */
|
|
1985
|
+
divider?: {
|
|
1986
|
+
colGap: number;
|
|
1987
|
+
rowGap: number;
|
|
1988
|
+
};
|
|
1973
1989
|
}
|
|
1974
|
-
type StyledGridProps = GridProps
|
|
1990
|
+
type StyledGridProps = GridProps & {
|
|
1991
|
+
$divider: GridProps['divider'];
|
|
1992
|
+
};
|
|
1975
1993
|
|
|
1976
1994
|
/**
|
|
1977
1995
|
* Component props.
|
|
@@ -2076,11 +2094,11 @@ type StyledListboxProps = Omit<ListboxProps, 'onChange'> & {
|
|
|
2076
2094
|
|
|
2077
2095
|
declare const ActiveDescendantListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
2078
2096
|
context: ListboxContextProps;
|
|
2079
|
-
}, "label" | "slot" | "style" | "title" | "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2097
|
+
}, "label" | "slot" | "style" | "title" | "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "maxOptionsLength" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2080
2098
|
|
|
2081
2099
|
declare const RovingTabindexListbox: React$1.ForwardRefExoticComponent<Pick<Omit<ListboxProps, "onChange"> & {
|
|
2082
2100
|
context: ListboxContextProps;
|
|
2083
|
-
}, "label" | "slot" | "style" | "title" | "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2101
|
+
}, "label" | "slot" | "style" | "title" | "left" | "right" | "flex" | "flexGrow" | "flexShrink" | "flexBasis" | "alignSelf" | "justifySelf" | "order" | "gridArea" | "gridColumn" | "gridRow" | "gridColumnStart" | "gridColumnEnd" | "gridRowStart" | "gridRowEnd" | "margin" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "height" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "width" | "position" | "top" | "bottom" | "zIndex" | "aria-label" | "aria-labelledby" | "variant" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "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-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" | "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" | "values" | "isDisabled" | "direction" | "defaultValues" | "isInvalid" | "isReadOnly" | "isRequired" | "context" | "focusOnClick" | "focusOnInit" | "loopAround" | "focusType" | "activedescendant" | "maxOptionsLength" | "selectionMode"> & React$1.RefAttributes<HTMLDivElement>>;
|
|
2084
2102
|
|
|
2085
2103
|
/**
|
|
2086
2104
|
* The Listbox component.
|
|
@@ -2688,6 +2706,8 @@ interface TextFieldProps extends Omit<ComponentProps<'div'>, 'onChange'>, Stylin
|
|
|
2688
2706
|
onClear?(): void;
|
|
2689
2707
|
/** Placeholder. */
|
|
2690
2708
|
placeholder?: string;
|
|
2709
|
+
/** Input type. */
|
|
2710
|
+
type?: HTMLInputElement['type'];
|
|
2691
2711
|
/**
|
|
2692
2712
|
* Input value.
|
|
2693
2713
|
* Used for controlled version.
|