@primer/components 0.0.0-2021104155729 → 0.0.0-20211081215
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/CHANGELOG.md +1 -1
- package/lib/ActionList2/Item.d.ts +1 -1
- package/lib/ActionList2/Item.js +16 -5
- package/lib/ActionList2/List.js +14 -6
- package/lib/Autocomplete/Autocomplete.d.ts +4 -4
- package/lib/Autocomplete/AutocompleteInput.d.ts +4 -4
- package/lib/Button/Button.d.ts +2 -2
- package/lib/Button/ButtonClose.d.ts +3 -3
- package/lib/Button/ButtonDanger.d.ts +2 -2
- package/lib/Button/ButtonInvisible.d.ts +2 -2
- package/lib/Button/ButtonOutline.d.ts +2 -2
- package/lib/Button/ButtonPrimary.d.ts +2 -2
- package/lib/CircleOcticon.d.ts +2 -2
- package/lib/Dialog.d.ts +4 -4
- package/lib/Dropdown.d.ts +10 -10
- package/lib/DropdownMenu/DropdownButton.d.ts +4 -4
- package/lib/FilterList.d.ts +2 -2
- package/lib/Position.d.ts +4 -4
- package/lib/SelectMenu/SelectMenu.d.ts +17 -17
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/TextInputWithTokens.d.ts +4 -4
- package/lib/Timeline.d.ts +2 -2
- package/lib/Token/AvatarToken.d.ts +1 -1
- package/lib/Token/IssueLabelToken.d.ts +1 -1
- package/lib/Token/Token.d.ts +1 -1
- package/lib/utils/create-slots.d.ts +1 -1
- package/lib-esm/ActionList2/Item.d.ts +1 -1
- package/lib-esm/ActionList2/Item.js +9 -5
- package/lib-esm/ActionList2/List.js +9 -6
- package/lib-esm/Autocomplete/Autocomplete.d.ts +4 -4
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +4 -4
- package/lib-esm/Button/Button.d.ts +2 -2
- package/lib-esm/Button/ButtonClose.d.ts +3 -3
- package/lib-esm/Button/ButtonDanger.d.ts +2 -2
- package/lib-esm/Button/ButtonInvisible.d.ts +2 -2
- package/lib-esm/Button/ButtonOutline.d.ts +2 -2
- package/lib-esm/Button/ButtonPrimary.d.ts +2 -2
- package/lib-esm/CircleOcticon.d.ts +2 -2
- package/lib-esm/Dialog.d.ts +4 -4
- package/lib-esm/Dropdown.d.ts +10 -10
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +4 -4
- package/lib-esm/FilterList.d.ts +2 -2
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/SelectMenu/SelectMenu.d.ts +17 -17
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/TextInputWithTokens.d.ts +4 -4
- package/lib-esm/Timeline.d.ts +2 -2
- package/lib-esm/Token/AvatarToken.d.ts +1 -1
- package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
- package/lib-esm/Token/Token.d.ts +1 -1
- package/lib-esm/utils/create-slots.d.ts +1 -1
- package/package.json +1 -1
package/lib/Token/Token.d.ts
CHANGED
@@ -11,5 +11,5 @@ export interface TokenProps extends TokenBaseProps {
|
|
11
11
|
*/
|
12
12
|
hideRemoveButton?: boolean;
|
13
13
|
}
|
14
|
-
declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "
|
14
|
+
declare const Token: React.ForwardRefExoticComponent<Pick<TokenProps & SxProp, "default" | "muted" | "sizes" | "color" | "content" | "height" | "translate" | "width" | "hidden" | "children" | "value" | "cite" | "data" | "form" | "label" | "slot" | "span" | "style" | "summary" | "title" | "pattern" | "text" | "start" | "size" | "wrap" | "open" | "list" | "multiple" | "sx" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "as" | "step" | "disabled" | "selected" | "download" | "href" | "hrefLang" | "media" | "rel" | "target" | "max" | "method" | "min" | "crossOrigin" | "classID" | "useMap" | "wmode" | "integrity" | "charSet" | "alt" | "coords" | "shape" | "autoPlay" | "controls" | "loop" | "mediaGroup" | "playsInline" | "preload" | "src" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "dateTime" | "acceptCharset" | "action" | "autoComplete" | "encType" | "noValidate" | "manifest" | "allowFullScreen" | "allowTransparency" | "frameBorder" | "marginHeight" | "marginWidth" | "sandbox" | "scrolling" | "seamless" | "srcDoc" | "srcSet" | "accept" | "capture" | "checked" | "maxLength" | "minLength" | "readOnly" | "required" | "challenge" | "keyType" | "keyParams" | "htmlFor" | "httpEquiv" | "high" | "low" | "optimum" | "reversed" | "async" | "defer" | "nonce" | "scoped" | "cellPadding" | "cellSpacing" | "colSpan" | "headers" | "rowSpan" | "scope" | "cols" | "rows" | "kind" | "srcLang" | "poster" | "leadingVisual" | "onRemove" | "isSelected" | "hideRemoveButton"> & React.RefAttributes<HTMLAnchorElement | HTMLButtonElement | HTMLSpanElement>>;
|
15
15
|
export default Token;
|
@@ -11,7 +11,7 @@ declare const createSlots: <SlotNames extends string>(slotNames: SlotNames[]) =>
|
|
11
11
|
}>;
|
12
12
|
Slot: React.FC<{
|
13
13
|
name: SlotNames;
|
14
|
-
children: React.ReactNode
|
14
|
+
children: React.ReactNode;
|
15
15
|
}>;
|
16
16
|
};
|
17
17
|
export default createSlots;
|
@@ -60,7 +60,7 @@ export declare type ItemProps = {
|
|
60
60
|
} & SxProp;
|
61
61
|
declare const Slot: React.FC<{
|
62
62
|
name: "LeadingVisual" | "InlineDescription" | "BlockDescription" | "TrailingVisual";
|
63
|
-
children: React.ReactNode
|
63
|
+
children: React.ReactNode;
|
64
64
|
}>;
|
65
65
|
export { Slot };
|
66
66
|
export declare type ItemContext = Pick<ItemProps, 'variant' | 'disabled'> & {
|
@@ -2,9 +2,10 @@ function _extends() { _extends = Object.assign || function (target) { for (var i
|
|
2
2
|
|
3
3
|
import React from 'react';
|
4
4
|
import { useSSRSafeId } from '@react-aria/ssr';
|
5
|
+
import styled from 'styled-components';
|
5
6
|
import { useTheme } from '../ThemeProvider';
|
6
7
|
import Box from '../Box';
|
7
|
-
import { merge } from '../sx';
|
8
|
+
import sx, { merge } from '../sx';
|
8
9
|
import createSlots from '../utils/create-slots';
|
9
10
|
import { ListContext } from './List';
|
10
11
|
import { Selection } from './Selection';
|
@@ -41,6 +42,10 @@ const {
|
|
41
42
|
Slot
|
42
43
|
} = createSlots(['LeadingVisual', 'InlineDescription', 'BlockDescription', 'TrailingVisual']);
|
43
44
|
export { Slot };
|
45
|
+
const LiBox = styled.li.withConfig({
|
46
|
+
displayName: "Item__LiBox",
|
47
|
+
componentId: "c3scat-0"
|
48
|
+
})(sx);
|
44
49
|
export const TEXT_ROW_HEIGHT = '20px'; // custom value off the scale
|
45
50
|
|
46
51
|
export const Item = /*#__PURE__*/React.forwardRef(({
|
@@ -48,7 +53,7 @@ export const Item = /*#__PURE__*/React.forwardRef(({
|
|
48
53
|
disabled = false,
|
49
54
|
selected = undefined,
|
50
55
|
onSelect = () => null,
|
51
|
-
sx = {},
|
56
|
+
sx: propsSx = {},
|
52
57
|
id,
|
53
58
|
_PrivateItemWrapper = ({
|
54
59
|
children
|
@@ -143,10 +148,9 @@ export const Item = /*#__PURE__*/React.forwardRef(({
|
|
143
148
|
inlineDescriptionId,
|
144
149
|
blockDescriptionId
|
145
150
|
}
|
146
|
-
}, slots => /*#__PURE__*/React.createElement(
|
147
|
-
as: "li",
|
151
|
+
}, slots => /*#__PURE__*/React.createElement(LiBox, _extends({
|
148
152
|
ref: forwardedRef,
|
149
|
-
sx: merge(styles,
|
153
|
+
sx: merge(styles, propsSx),
|
150
154
|
onClick: clickHandler,
|
151
155
|
"aria-selected": selected,
|
152
156
|
"aria-disabled": disabled ? true : undefined,
|
@@ -1,14 +1,18 @@
|
|
1
1
|
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
|
2
2
|
|
3
3
|
import React from 'react';
|
4
|
-
import
|
5
|
-
import { merge } from '../sx';
|
4
|
+
import styled from 'styled-components';
|
5
|
+
import sx, { merge } from '../sx';
|
6
6
|
export const ListContext = /*#__PURE__*/React.createContext({});
|
7
|
+
const ListBox = styled.ul.withConfig({
|
8
|
+
displayName: "List__ListBox",
|
9
|
+
componentId: "cvbq60-0"
|
10
|
+
})(sx);
|
7
11
|
export const List = /*#__PURE__*/React.forwardRef(({
|
8
12
|
variant = 'inset',
|
9
13
|
selectionVariant,
|
10
14
|
showDividers = false,
|
11
|
-
sx = {},
|
15
|
+
sx: propsSx = {},
|
12
16
|
...props
|
13
17
|
}, forwardedRef) => {
|
14
18
|
const styles = {
|
@@ -17,9 +21,8 @@ export const List = /*#__PURE__*/React.forwardRef(({
|
|
17
21
|
// reset ul styles
|
18
22
|
paddingY: variant === 'inset' ? 2 : 0
|
19
23
|
};
|
20
|
-
return /*#__PURE__*/React.createElement(
|
21
|
-
|
22
|
-
sx: merge(styles, sx),
|
24
|
+
return /*#__PURE__*/React.createElement(ListBox, _extends({
|
25
|
+
sx: merge(styles, propsSx),
|
23
26
|
"aria-multiselectable": selectionVariant === 'multiple' ? true : undefined
|
24
27
|
}, props, {
|
25
28
|
ref: forwardedRef
|
@@ -20,7 +20,7 @@ declare const _default: React.FC<{
|
|
20
20
|
} & {
|
21
21
|
as?: string | React.ComponentType<any> | undefined;
|
22
22
|
forwardedAs?: string | React.ComponentType<any> | undefined;
|
23
|
-
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "
|
23
|
+
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "sx" | "variant" | "className" | "disabled" | "contrast"> & {
|
24
24
|
className?: string | undefined;
|
25
25
|
icon?: React.ComponentType<{
|
26
26
|
className?: string | undefined;
|
@@ -38,6 +38,9 @@ declare const _default: React.FC<{
|
|
38
38
|
style?: React.CSSProperties | undefined;
|
39
39
|
title?: string | undefined;
|
40
40
|
block?: boolean | undefined;
|
41
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
42
|
+
variant?: "small" | "large" | undefined;
|
43
|
+
role?: React.AriaRole | undefined;
|
41
44
|
key?: React.Key | null | undefined;
|
42
45
|
defaultChecked?: boolean | undefined;
|
43
46
|
defaultValue?: string | number | readonly string[] | undefined;
|
@@ -55,7 +58,6 @@ declare const _default: React.FC<{
|
|
55
58
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
56
59
|
tabIndex?: number | undefined;
|
57
60
|
radioGroup?: string | undefined;
|
58
|
-
role?: React.AriaRole | undefined;
|
59
61
|
about?: string | undefined;
|
60
62
|
datatype?: string | undefined;
|
61
63
|
inlist?: any;
|
@@ -288,8 +290,6 @@ declare const _default: React.FC<{
|
|
288
290
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
|
289
291
|
onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
290
292
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
291
|
-
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
292
|
-
variant?: "small" | "large" | undefined;
|
293
293
|
disabled?: boolean | undefined;
|
294
294
|
hasIcon?: boolean | undefined;
|
295
295
|
contrast?: boolean | undefined;
|
@@ -12,7 +12,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
12
12
|
} & {
|
13
13
|
as?: string | React.ComponentType<any> | undefined;
|
14
14
|
forwardedAs?: string | React.ComponentType<any> | undefined;
|
15
|
-
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "
|
15
|
+
}, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "icon" | "sx" | "variant" | "className" | "disabled" | "contrast"> & {
|
16
16
|
className?: string | undefined;
|
17
17
|
icon?: React.ComponentType<{
|
18
18
|
className?: string | undefined;
|
@@ -30,6 +30,9 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
30
30
|
style?: React.CSSProperties | undefined;
|
31
31
|
title?: string | undefined;
|
32
32
|
block?: boolean | undefined;
|
33
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
34
|
+
variant?: "small" | "large" | undefined;
|
35
|
+
role?: React.AriaRole | undefined;
|
33
36
|
key?: React.Key | null | undefined;
|
34
37
|
defaultChecked?: boolean | undefined;
|
35
38
|
defaultValue?: string | number | readonly string[] | undefined;
|
@@ -47,7 +50,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
47
50
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
48
51
|
tabIndex?: number | undefined;
|
49
52
|
radioGroup?: string | undefined;
|
50
|
-
role?: React.AriaRole | undefined;
|
51
53
|
about?: string | undefined;
|
52
54
|
datatype?: string | undefined;
|
53
55
|
inlist?: any;
|
@@ -280,8 +282,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
|
|
280
282
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
|
281
283
|
onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
282
284
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
|
283
|
-
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
284
|
-
variant?: "small" | "large" | undefined;
|
285
285
|
disabled?: boolean | undefined;
|
286
286
|
hasIcon?: boolean | undefined;
|
287
287
|
contrast?: boolean | undefined;
|
@@ -16,6 +16,8 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
+
variant?: "small" | "medium" | "large" | undefined;
|
20
|
+
role?: import("react").AriaRole | undefined;
|
19
21
|
type?: "button" | "reset" | "submit" | undefined;
|
20
22
|
name?: string | undefined;
|
21
23
|
key?: import("react").Key | null | undefined;
|
@@ -35,7 +37,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
35
37
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
38
|
tabIndex?: number | undefined;
|
37
39
|
radioGroup?: string | undefined;
|
38
|
-
role?: import("react").AriaRole | undefined;
|
39
40
|
about?: string | undefined;
|
40
41
|
datatype?: string | undefined;
|
41
42
|
inlist?: any;
|
@@ -268,7 +269,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
268
269
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
variant?: "small" | "medium" | "large" | undefined;
|
272
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
274
|
autoFocus?: boolean | undefined;
|
@@ -54,6 +54,8 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
54
54
|
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
55
55
|
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
56
56
|
size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
57
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
58
|
+
role?: React.AriaRole | undefined;
|
57
59
|
type?: "button" | "reset" | "submit" | undefined;
|
58
60
|
name?: string | undefined;
|
59
61
|
key?: React.Key | null | undefined;
|
@@ -73,7 +75,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
73
75
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
74
76
|
tabIndex?: number | undefined;
|
75
77
|
radioGroup?: string | undefined;
|
76
|
-
role?: React.AriaRole | undefined;
|
77
78
|
about?: string | undefined;
|
78
79
|
datatype?: string | undefined;
|
79
80
|
inlist?: any;
|
@@ -306,7 +307,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
306
307
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
307
308
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
308
309
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
309
|
-
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
310
310
|
disabled?: boolean | undefined;
|
311
311
|
autoFocus?: boolean | undefined;
|
312
312
|
formAction?: string | undefined;
|
@@ -316,6 +316,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
316
316
|
formTarget?: string | undefined;
|
317
317
|
} & {
|
318
318
|
theme?: any;
|
319
|
-
}, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "
|
319
|
+
}, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "value" | "form" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "role" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
|
320
320
|
export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
|
321
321
|
export default ButtonClose;
|
@@ -16,6 +16,8 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
+
variant?: "small" | "medium" | "large" | undefined;
|
20
|
+
role?: import("react").AriaRole | undefined;
|
19
21
|
type?: "button" | "reset" | "submit" | undefined;
|
20
22
|
name?: string | undefined;
|
21
23
|
key?: import("react").Key | null | undefined;
|
@@ -35,7 +37,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
35
37
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
38
|
tabIndex?: number | undefined;
|
37
39
|
radioGroup?: string | undefined;
|
38
|
-
role?: import("react").AriaRole | undefined;
|
39
40
|
about?: string | undefined;
|
40
41
|
datatype?: string | undefined;
|
41
42
|
inlist?: any;
|
@@ -268,7 +269,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
268
269
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
variant?: "small" | "medium" | "large" | undefined;
|
272
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
274
|
autoFocus?: boolean | undefined;
|
@@ -16,6 +16,8 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
+
variant?: "small" | "medium" | "large" | undefined;
|
20
|
+
role?: import("react").AriaRole | undefined;
|
19
21
|
type?: "button" | "reset" | "submit" | undefined;
|
20
22
|
name?: string | undefined;
|
21
23
|
key?: import("react").Key | null | undefined;
|
@@ -35,7 +37,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
35
37
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
38
|
tabIndex?: number | undefined;
|
37
39
|
radioGroup?: string | undefined;
|
38
|
-
role?: import("react").AriaRole | undefined;
|
39
40
|
about?: string | undefined;
|
40
41
|
datatype?: string | undefined;
|
41
42
|
inlist?: any;
|
@@ -268,7 +269,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
268
269
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
variant?: "small" | "medium" | "large" | undefined;
|
272
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
274
|
autoFocus?: boolean | undefined;
|
@@ -16,6 +16,8 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
+
variant?: "small" | "medium" | "large" | undefined;
|
20
|
+
role?: import("react").AriaRole | undefined;
|
19
21
|
type?: "button" | "reset" | "submit" | undefined;
|
20
22
|
name?: string | undefined;
|
21
23
|
key?: import("react").Key | null | undefined;
|
@@ -35,7 +37,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
35
37
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
38
|
tabIndex?: number | undefined;
|
37
39
|
radioGroup?: string | undefined;
|
38
|
-
role?: import("react").AriaRole | undefined;
|
39
40
|
about?: string | undefined;
|
40
41
|
datatype?: string | undefined;
|
41
42
|
inlist?: any;
|
@@ -268,7 +269,6 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
268
269
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
variant?: "small" | "medium" | "large" | undefined;
|
272
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
274
|
autoFocus?: boolean | undefined;
|
@@ -16,6 +16,8 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
16
16
|
slot?: string | undefined;
|
17
17
|
style?: import("react").CSSProperties | undefined;
|
18
18
|
title?: string | undefined;
|
19
|
+
variant?: "small" | "medium" | "large" | undefined;
|
20
|
+
role?: import("react").AriaRole | undefined;
|
19
21
|
type?: "button" | "reset" | "submit" | undefined;
|
20
22
|
name?: string | undefined;
|
21
23
|
key?: import("react").Key | null | undefined;
|
@@ -35,7 +37,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
35
37
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
38
|
tabIndex?: number | undefined;
|
37
39
|
radioGroup?: string | undefined;
|
38
|
-
role?: import("react").AriaRole | undefined;
|
39
40
|
about?: string | undefined;
|
40
41
|
datatype?: string | undefined;
|
41
42
|
inlist?: any;
|
@@ -268,7 +269,6 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
268
269
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
variant?: "small" | "medium" | "large" | undefined;
|
272
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
274
|
autoFocus?: boolean | undefined;
|
@@ -132,6 +132,8 @@ declare namespace CircleOcticon {
|
|
132
132
|
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
133
133
|
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
134
134
|
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
135
|
+
sx?: import("./sx").BetterSystemStyleObject | undefined;
|
136
|
+
role?: React.AriaRole | undefined;
|
135
137
|
key?: React.Key | null | undefined;
|
136
138
|
defaultChecked?: boolean | undefined;
|
137
139
|
defaultValue?: string | number | readonly string[] | undefined;
|
@@ -149,7 +151,6 @@ declare namespace CircleOcticon {
|
|
149
151
|
spellCheck?: (boolean | "false" | "true") | undefined;
|
150
152
|
tabIndex?: number | undefined;
|
151
153
|
radioGroup?: string | undefined;
|
152
|
-
role?: React.AriaRole | undefined;
|
153
154
|
about?: string | undefined;
|
154
155
|
datatype?: string | undefined;
|
155
156
|
inlist?: any;
|
@@ -384,7 +385,6 @@ declare namespace CircleOcticon {
|
|
384
385
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
385
386
|
borderX?: import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
386
387
|
borderY?: import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
387
|
-
sx?: import("./sx").BetterSystemStyleObject | undefined;
|
388
388
|
theme?: any;
|
389
389
|
};
|
390
390
|
}
|
package/lib-esm/Dialog.d.ts
CHANGED
@@ -135,6 +135,8 @@ declare namespace DialogHeader {
|
|
135
135
|
py?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
|
136
136
|
paddingY?: React.Validator<import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
|
137
137
|
size?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
|
138
|
+
sx?: React.Validator<import("./sx").BetterSystemStyleObject | undefined> | undefined;
|
139
|
+
role?: React.Validator<React.AriaRole | null | undefined> | undefined;
|
138
140
|
key?: React.Validator<React.Key | null | undefined> | undefined;
|
139
141
|
defaultChecked?: React.Validator<boolean | null | undefined> | undefined;
|
140
142
|
defaultValue?: React.Validator<string | number | readonly string[] | null | undefined> | undefined;
|
@@ -152,7 +154,6 @@ declare namespace DialogHeader {
|
|
152
154
|
spellCheck?: React.Validator<(boolean | "false" | "true") | null | undefined> | undefined;
|
153
155
|
tabIndex?: React.Validator<number | null | undefined> | undefined;
|
154
156
|
radioGroup?: React.Validator<string | null | undefined> | undefined;
|
155
|
-
role?: React.Validator<React.AriaRole | null | undefined> | undefined;
|
156
157
|
about?: React.Validator<string | null | undefined> | undefined;
|
157
158
|
datatype?: React.Validator<string | null | undefined> | undefined;
|
158
159
|
inlist?: React.Validator<any> | undefined;
|
@@ -387,7 +388,6 @@ declare namespace DialogHeader {
|
|
387
388
|
onTransitionEndCapture?: React.Validator<React.TransitionEventHandler<HTMLDivElement> | null | undefined> | undefined;
|
388
389
|
borderX?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
|
389
390
|
borderY?: React.Validator<import("styled-system").ResponsiveValue<import("csstype").Property.Border<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined> | undefined;
|
390
|
-
sx?: React.Validator<import("./sx").BetterSystemStyleObject | undefined> | undefined;
|
391
391
|
theme?: React.Validator<any> | undefined;
|
392
392
|
};
|
393
393
|
var displayName: string;
|
@@ -398,9 +398,9 @@ declare type InternalDialogProps = {
|
|
398
398
|
initialFocusRef?: React.RefObject<HTMLElement>;
|
399
399
|
returnFocusRef?: React.RefObject<HTMLElement>;
|
400
400
|
} & ComponentProps<typeof DialogBase>;
|
401
|
-
declare const Dialog: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "
|
401
|
+
declare const Dialog: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>>;
|
402
402
|
export declare type DialogProps = ComponentProps<typeof Dialog>;
|
403
|
-
declare const _default: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "
|
403
|
+
declare const _default: React.ForwardRefExoticComponent<Pick<InternalDialogProps, "backgroundColor" | "color" | "display" | "height" | "marginBottom" | "marginLeft" | "marginRight" | "marginTop" | "maxHeight" | "maxWidth" | "minHeight" | "minWidth" | "opacity" | "overflowX" | "overflowY" | "paddingBottom" | "paddingLeft" | "paddingRight" | "paddingTop" | "translate" | "verticalAlign" | "width" | "margin" | "overflow" | "padding" | "hidden" | "children" | "theme" | "p" | "slot" | "style" | "title" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "role" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "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" | "initialFocusRef" | "returnFocusRef" | "isOpen" | "onDismiss" | "narrow" | "wide"> & React.RefAttributes<HTMLDivElement>> & {
|
404
404
|
Header: typeof DialogHeader;
|
405
405
|
};
|
406
406
|
export default _default;
|