@primer/components 0.0.0-2021103235619 → 0.0.0-2021104151625
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 +27 -1
- package/dist/browser.esm.js +509 -505
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +112 -108
- package/dist/browser.umd.js.map +1 -1
- package/lib/ActionList/Header.js +1 -1
- package/lib/ActionList/Item.d.ts +6 -0
- package/lib/ActionList/Item.js +5 -1
- package/lib/ActionList2/Description.d.ts +12 -0
- package/lib/ActionList2/Description.js +53 -0
- package/lib/ActionList2/Divider.d.ts +5 -0
- package/lib/ActionList2/Divider.js +35 -0
- package/lib/ActionList2/Group.d.ts +11 -0
- package/lib/ActionList2/Group.js +57 -0
- package/lib/ActionList2/Header.d.ts +26 -0
- package/lib/ActionList2/Header.js +55 -0
- package/lib/ActionList2/Item.d.ts +67 -0
- package/lib/ActionList2/Item.js +221 -0
- package/lib/ActionList2/LinkItem.d.ts +17 -0
- package/lib/ActionList2/LinkItem.js +57 -0
- package/lib/ActionList2/List.d.ts +26 -0
- package/lib/ActionList2/List.js +51 -0
- package/lib/ActionList2/Selection.d.ts +5 -0
- package/lib/ActionList2/Selection.js +70 -0
- package/lib/ActionList2/Visuals.d.ts +11 -0
- package/lib/ActionList2/Visuals.js +90 -0
- package/lib/ActionList2/index.d.ts +40 -0
- package/lib/ActionList2/index.js +47 -0
- package/lib/AnchoredOverlay/AnchoredOverlay.d.ts +2 -4
- package/lib/Autocomplete/Autocomplete.d.ts +30 -32
- package/lib/Autocomplete/AutocompleteInput.d.ts +30 -32
- package/lib/Button/Button.d.ts +27 -27
- package/lib/Button/ButtonBase.d.ts +1 -1
- package/lib/Button/ButtonClose.d.ts +45 -45
- package/lib/Button/ButtonDanger.d.ts +27 -27
- package/lib/Button/ButtonInvisible.d.ts +27 -27
- package/lib/Button/ButtonOutline.d.ts +27 -27
- package/lib/Button/ButtonPrimary.d.ts +27 -27
- package/lib/CircleBadge.d.ts +2 -2
- package/lib/CircleOcticon.d.ts +43 -43
- package/lib/Dialog.d.ts +46 -46
- package/lib/Dropdown.d.ts +178 -178
- package/lib/DropdownMenu/DropdownButton.d.ts +47 -47
- package/lib/FilterList.d.ts +42 -42
- package/lib/Flash.d.ts +1 -1
- package/lib/Label.d.ts +1 -1
- package/lib/Position.d.ts +4 -4
- package/lib/ProgressBar.d.ts +1 -1
- package/lib/SelectMenu/SelectMenu.d.ts +246 -248
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/TextInputWithTokens.d.ts +34 -32
- package/lib/TextInputWithTokens.js +102 -29
- package/lib/Timeline.d.ts +44 -44
- 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/Token/Token.js +13 -2
- package/lib/Token/TokenBase.js +0 -4
- package/lib/Token/_RemoveTokenButton.js +15 -2
- package/lib/_TextInputWrapper.d.ts +1 -1
- package/lib/_TextInputWrapper.js +1 -1
- package/lib/experiments.d.ts +1 -0
- package/lib/experiments.js +18 -0
- package/lib/hooks/useResizeObserver.d.ts +1 -1
- package/lib/hooks/useResizeObserver.js +1 -1
- package/lib/sx.d.ts +10 -2
- package/lib/sx.js +8 -0
- package/lib/theme-preval.js +79 -0
- package/lib/theme.d.ts +78 -0
- package/lib/theme.js +3 -1
- package/lib/utils/create-slots.d.ts +17 -0
- package/lib/utils/create-slots.js +105 -0
- package/lib/utils/testing.d.ts +13 -0
- package/lib/utils/types/KeyPaths.d.ts +3 -0
- package/lib/utils/types/KeyPaths.js +1 -0
- package/lib/utils/use-force-update.d.ts +1 -0
- package/lib/utils/use-force-update.js +19 -0
- package/lib-esm/ActionList/Header.js +1 -1
- package/lib-esm/ActionList/Item.d.ts +6 -0
- package/lib-esm/ActionList/Item.js +5 -1
- package/lib-esm/ActionList2/Description.d.ts +12 -0
- package/lib-esm/ActionList2/Description.js +37 -0
- package/lib-esm/ActionList2/Divider.d.ts +5 -0
- package/lib-esm/ActionList2/Divider.js +23 -0
- package/lib-esm/ActionList2/Group.d.ts +11 -0
- package/lib-esm/ActionList2/Group.js +40 -0
- package/lib-esm/ActionList2/Header.d.ts +26 -0
- package/lib-esm/ActionList2/Header.js +44 -0
- package/lib-esm/ActionList2/Item.d.ts +67 -0
- package/lib-esm/ActionList2/Item.js +195 -0
- package/lib-esm/ActionList2/LinkItem.d.ts +17 -0
- package/lib-esm/ActionList2/LinkItem.js +43 -0
- package/lib-esm/ActionList2/List.d.ts +26 -0
- package/lib-esm/ActionList2/List.js +34 -0
- package/lib-esm/ActionList2/Selection.d.ts +5 -0
- package/lib-esm/ActionList2/Selection.js +52 -0
- package/lib-esm/ActionList2/Visuals.d.ts +11 -0
- package/lib-esm/ActionList2/Visuals.js +68 -0
- package/lib-esm/ActionList2/index.d.ts +40 -0
- package/lib-esm/ActionList2/index.js +33 -0
- package/lib-esm/AnchoredOverlay/AnchoredOverlay.d.ts +2 -4
- package/lib-esm/Autocomplete/Autocomplete.d.ts +30 -32
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +30 -32
- package/lib-esm/Button/Button.d.ts +27 -27
- package/lib-esm/Button/ButtonBase.d.ts +1 -1
- package/lib-esm/Button/ButtonClose.d.ts +45 -45
- package/lib-esm/Button/ButtonDanger.d.ts +27 -27
- package/lib-esm/Button/ButtonInvisible.d.ts +27 -27
- package/lib-esm/Button/ButtonOutline.d.ts +27 -27
- package/lib-esm/Button/ButtonPrimary.d.ts +27 -27
- package/lib-esm/CircleBadge.d.ts +2 -2
- package/lib-esm/CircleOcticon.d.ts +43 -43
- package/lib-esm/Dialog.d.ts +46 -46
- package/lib-esm/Dropdown.d.ts +178 -178
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +47 -47
- package/lib-esm/FilterList.d.ts +42 -42
- package/lib-esm/Flash.d.ts +1 -1
- package/lib-esm/Label.d.ts +1 -1
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/ProgressBar.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenu.d.ts +246 -248
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/TextInputWithTokens.d.ts +34 -32
- package/lib-esm/TextInputWithTokens.js +101 -30
- package/lib-esm/Timeline.d.ts +44 -44
- 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/Token/Token.js +13 -2
- package/lib-esm/Token/TokenBase.js +0 -4
- package/lib-esm/Token/_RemoveTokenButton.js +11 -2
- package/lib-esm/_TextInputWrapper.d.ts +1 -1
- package/lib-esm/_TextInputWrapper.js +1 -1
- package/lib-esm/experiments.d.ts +1 -0
- package/lib-esm/experiments.js +2 -0
- package/lib-esm/hooks/useResizeObserver.d.ts +1 -1
- package/lib-esm/hooks/useResizeObserver.js +1 -1
- package/lib-esm/sx.d.ts +10 -2
- package/lib-esm/sx.js +3 -1
- package/lib-esm/theme-preval.js +79 -0
- package/lib-esm/theme.d.ts +78 -0
- package/lib-esm/theme.js +2 -1
- package/lib-esm/utils/create-slots.d.ts +17 -0
- package/lib-esm/utils/create-slots.js +84 -0
- package/lib-esm/utils/testing.d.ts +13 -0
- package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
- package/lib-esm/utils/types/KeyPaths.js +1 -0
- package/lib-esm/utils/use-force-update.d.ts +1 -0
- package/lib-esm/utils/use-force-update.js +6 -0
- package/package.json +12 -9
- package/lib/DatePicker/DatePicker.d.ts +0 -52
- package/lib/DatePicker/DatePicker.js +0 -109
- package/lib/DatePicker/DatePickerAnchor.d.ts +0 -5
- package/lib/DatePicker/DatePickerAnchor.js +0 -202
- package/lib/DatePicker/DatePickerOverlay.d.ts +0 -3
- package/lib/DatePicker/DatePickerOverlay.js +0 -55
- package/lib/DatePicker/DatePickerPanel.d.ts +0 -2
- package/lib/DatePicker/DatePickerPanel.js +0 -363
- package/lib/DatePicker/Day.d.ts +0 -15
- package/lib/DatePicker/Day.js +0 -206
- package/lib/DatePicker/Month.d.ts +0 -8
- package/lib/DatePicker/Month.js +0 -122
- package/lib/DatePicker/dateParser.d.ts +0 -12
- package/lib/DatePicker/dateParser.js +0 -192
- package/lib/DatePicker/index.d.ts +0 -2
- package/lib/DatePicker/index.js +0 -13
- package/lib/DatePicker/useDatePicker.d.ts +0 -107
- package/lib/DatePicker/useDatePicker.js +0 -558
- package/lib/hooks/useDebounce.d.ts +0 -2
- package/lib/hooks/useDebounce.js +0 -24
- package/lib-esm/DatePicker/DatePicker.d.ts +0 -52
- package/lib-esm/DatePicker/DatePicker.js +0 -92
- package/lib-esm/DatePicker/DatePickerAnchor.d.ts +0 -5
- package/lib-esm/DatePicker/DatePickerAnchor.js +0 -174
- package/lib-esm/DatePicker/DatePickerOverlay.d.ts +0 -3
- package/lib-esm/DatePicker/DatePickerOverlay.js +0 -40
- package/lib-esm/DatePicker/DatePickerPanel.d.ts +0 -2
- package/lib-esm/DatePicker/DatePickerPanel.js +0 -332
- package/lib-esm/DatePicker/Day.d.ts +0 -15
- package/lib-esm/DatePicker/Day.js +0 -182
- package/lib-esm/DatePicker/Month.d.ts +0 -8
- package/lib-esm/DatePicker/Month.js +0 -98
- package/lib-esm/DatePicker/dateParser.d.ts +0 -12
- package/lib-esm/DatePicker/dateParser.js +0 -178
- package/lib-esm/DatePicker/index.d.ts +0 -2
- package/lib-esm/DatePicker/index.js +0 -1
- package/lib-esm/DatePicker/useDatePicker.d.ts +0 -107
- package/lib-esm/DatePicker/useDatePicker.js +0 -523
- package/lib-esm/hooks/useDebounce.d.ts +0 -2
- package/lib-esm/hooks/useDebounce.js +0 -16
package/lib/Button/Button.d.ts
CHANGED
@@ -3,7 +3,7 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const Button: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "small" | "medium" | "large" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
@@ -25,14 +25,14 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
25
25
|
suppressHydrationWarning?: boolean | undefined;
|
26
26
|
accessKey?: string | undefined;
|
27
27
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
29
|
contextMenu?: string | undefined;
|
30
30
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
32
|
id?: string | undefined;
|
33
33
|
lang?: string | undefined;
|
34
34
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
36
|
tabIndex?: number | undefined;
|
37
37
|
radioGroup?: string | undefined;
|
38
38
|
role?: import("react").AriaRole | undefined;
|
@@ -55,50 +55,50 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
55
55
|
results?: number | undefined;
|
56
56
|
security?: string | undefined;
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
58
|
-
inputMode?: "
|
58
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
59
|
is?: string | undefined;
|
60
60
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
63
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
64
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
65
|
'aria-colcount'?: number | undefined;
|
66
66
|
'aria-colindex'?: number | undefined;
|
67
67
|
'aria-colspan'?: number | undefined;
|
68
68
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
70
|
'aria-describedby'?: string | undefined;
|
71
71
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "
|
72
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
74
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
76
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
81
|
'aria-keyshortcuts'?: string | undefined;
|
82
82
|
'aria-label'?: string | undefined;
|
83
83
|
'aria-labelledby'?: string | undefined;
|
84
84
|
'aria-level'?: number | undefined;
|
85
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
90
|
'aria-owns'?: string | undefined;
|
91
91
|
'aria-placeholder'?: string | undefined;
|
92
92
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
97
|
'aria-roledescription'?: string | undefined;
|
98
98
|
'aria-rowcount'?: number | undefined;
|
99
99
|
'aria-rowindex'?: number | undefined;
|
100
100
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
102
|
'aria-setsize'?: number | undefined;
|
103
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
104
|
'aria-valuemax'?: number | undefined;
|
@@ -268,15 +268,15 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
|
|
268
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
|
271
|
+
variant?: "small" | "medium" | "large" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
279
|
-
variant?: "large" | "medium" | "small" | undefined;
|
280
280
|
} & {
|
281
281
|
theme?: any;
|
282
282
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("../constants").SystemCommonProps & import("../constants").SystemLayoutProps & SxProp, never>;
|
@@ -6,7 +6,7 @@ export declare const buttonSystemProps: import("styled-system").styleFn;
|
|
6
6
|
export declare type ButtonSystemProps = FontSizeProps & SystemCommonProps & SystemLayoutProps;
|
7
7
|
declare const ButtonBase: import("styled-components").StyledComponent<"button", any, {
|
8
8
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
9
|
-
variant?: "
|
9
|
+
variant?: "small" | "medium" | "large" | undefined;
|
10
10
|
} & FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol>, never>;
|
11
11
|
export declare type ButtonBaseProps = ComponentProps<typeof ButtonBase>;
|
12
12
|
export default ButtonBase;
|
@@ -35,6 +35,25 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
35
35
|
slot?: string | undefined;
|
36
36
|
style?: React.CSSProperties | undefined;
|
37
37
|
title?: string | undefined;
|
38
|
+
bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
39
|
+
m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
40
|
+
mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
41
|
+
mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
42
|
+
mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
43
|
+
ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
44
|
+
mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
45
|
+
marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
46
|
+
my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
47
|
+
marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
48
|
+
pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
49
|
+
pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
50
|
+
pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
51
|
+
pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
52
|
+
px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
53
|
+
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
54
|
+
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
55
|
+
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
56
|
+
size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
38
57
|
type?: "button" | "reset" | "submit" | undefined;
|
39
58
|
name?: string | undefined;
|
40
59
|
key?: React.Key | null | undefined;
|
@@ -44,14 +63,14 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
44
63
|
suppressHydrationWarning?: boolean | undefined;
|
45
64
|
accessKey?: string | undefined;
|
46
65
|
className?: string | undefined;
|
47
|
-
contentEditable?: "inherit" | (boolean | "
|
66
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
48
67
|
contextMenu?: string | undefined;
|
49
68
|
dir?: string | undefined;
|
50
|
-
draggable?: (boolean | "
|
69
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
51
70
|
id?: string | undefined;
|
52
71
|
lang?: string | undefined;
|
53
72
|
placeholder?: string | undefined;
|
54
|
-
spellCheck?: (boolean | "
|
73
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
55
74
|
tabIndex?: number | undefined;
|
56
75
|
radioGroup?: string | undefined;
|
57
76
|
role?: React.AriaRole | undefined;
|
@@ -74,50 +93,50 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
74
93
|
results?: number | undefined;
|
75
94
|
security?: string | undefined;
|
76
95
|
unselectable?: "on" | "off" | undefined;
|
77
|
-
inputMode?: "
|
96
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
78
97
|
is?: string | undefined;
|
79
98
|
'aria-activedescendant'?: string | undefined;
|
80
|
-
'aria-atomic'?: boolean | "
|
81
|
-
'aria-autocomplete'?: "none" | "
|
82
|
-
'aria-busy'?: boolean | "
|
83
|
-
'aria-checked'?: boolean | "
|
99
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
100
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
101
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
102
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
84
103
|
'aria-colcount'?: number | undefined;
|
85
104
|
'aria-colindex'?: number | undefined;
|
86
105
|
'aria-colspan'?: number | undefined;
|
87
106
|
'aria-controls'?: string | undefined;
|
88
|
-
'aria-current'?: boolean | "time" | "
|
107
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
89
108
|
'aria-describedby'?: string | undefined;
|
90
109
|
'aria-details'?: string | undefined;
|
91
|
-
'aria-disabled'?: boolean | "
|
92
|
-
'aria-dropeffect'?: "
|
110
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
111
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
93
112
|
'aria-errormessage'?: string | undefined;
|
94
|
-
'aria-expanded'?: boolean | "
|
113
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
95
114
|
'aria-flowto'?: string | undefined;
|
96
|
-
'aria-grabbed'?: boolean | "
|
97
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
98
|
-
'aria-hidden'?: boolean | "
|
99
|
-
'aria-invalid'?: boolean | "
|
115
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
116
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
117
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
118
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
100
119
|
'aria-keyshortcuts'?: string | undefined;
|
101
120
|
'aria-label'?: string | undefined;
|
102
121
|
'aria-labelledby'?: string | undefined;
|
103
122
|
'aria-level'?: number | undefined;
|
104
123
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
105
|
-
'aria-modal'?: boolean | "
|
106
|
-
'aria-multiline'?: boolean | "
|
107
|
-
'aria-multiselectable'?: boolean | "
|
124
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
125
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
126
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
108
127
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
109
128
|
'aria-owns'?: string | undefined;
|
110
129
|
'aria-placeholder'?: string | undefined;
|
111
130
|
'aria-posinset'?: number | undefined;
|
112
|
-
'aria-pressed'?: boolean | "
|
113
|
-
'aria-readonly'?: boolean | "
|
131
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
132
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
114
133
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
115
|
-
'aria-required'?: boolean | "
|
134
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
116
135
|
'aria-roledescription'?: string | undefined;
|
117
136
|
'aria-rowcount'?: number | undefined;
|
118
137
|
'aria-rowindex'?: number | undefined;
|
119
138
|
'aria-rowspan'?: number | undefined;
|
120
|
-
'aria-selected'?: boolean | "
|
139
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
121
140
|
'aria-setsize'?: number | undefined;
|
122
141
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
123
142
|
'aria-valuemax'?: number | undefined;
|
@@ -287,28 +306,9 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
|
|
287
306
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
288
307
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
289
308
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
290
|
-
|
291
|
-
m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
292
|
-
mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
293
|
-
mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
294
|
-
mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
295
|
-
ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
296
|
-
mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
297
|
-
marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
298
|
-
my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
299
|
-
marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
300
|
-
pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
301
|
-
pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
302
|
-
pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
303
|
-
pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
304
|
-
px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
305
|
-
paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
306
|
-
py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
307
|
-
paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
308
|
-
size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
309
|
-
sx?: import("@styled-system/css").SystemStyleObject | undefined;
|
310
|
-
autoFocus?: boolean | undefined;
|
309
|
+
sx?: import("../sx").BetterSystemStyleObject | undefined;
|
311
310
|
disabled?: boolean | undefined;
|
311
|
+
autoFocus?: boolean | undefined;
|
312
312
|
formAction?: string | undefined;
|
313
313
|
formEncType?: string | undefined;
|
314
314
|
formMethod?: 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" | "type" | "name" | "key" | "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" | "
|
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" | "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" | "sx" | "disabled" | "autoFocus" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
|
320
320
|
export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
|
321
321
|
export default ButtonClose;
|
@@ -3,7 +3,7 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const ButtonDanger: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "small" | "medium" | "large" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
@@ -25,14 +25,14 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
25
25
|
suppressHydrationWarning?: boolean | undefined;
|
26
26
|
accessKey?: string | undefined;
|
27
27
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
29
|
contextMenu?: string | undefined;
|
30
30
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
32
|
id?: string | undefined;
|
33
33
|
lang?: string | undefined;
|
34
34
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
36
|
tabIndex?: number | undefined;
|
37
37
|
radioGroup?: string | undefined;
|
38
38
|
role?: import("react").AriaRole | undefined;
|
@@ -55,50 +55,50 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
55
55
|
results?: number | undefined;
|
56
56
|
security?: string | undefined;
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
58
|
-
inputMode?: "
|
58
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
59
|
is?: string | undefined;
|
60
60
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
63
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
64
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
65
|
'aria-colcount'?: number | undefined;
|
66
66
|
'aria-colindex'?: number | undefined;
|
67
67
|
'aria-colspan'?: number | undefined;
|
68
68
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
70
|
'aria-describedby'?: string | undefined;
|
71
71
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "
|
72
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
74
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
76
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
81
|
'aria-keyshortcuts'?: string | undefined;
|
82
82
|
'aria-label'?: string | undefined;
|
83
83
|
'aria-labelledby'?: string | undefined;
|
84
84
|
'aria-level'?: number | undefined;
|
85
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
90
|
'aria-owns'?: string | undefined;
|
91
91
|
'aria-placeholder'?: string | undefined;
|
92
92
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
97
|
'aria-roledescription'?: string | undefined;
|
98
98
|
'aria-rowcount'?: number | undefined;
|
99
99
|
'aria-rowindex'?: number | undefined;
|
100
100
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
102
|
'aria-setsize'?: number | undefined;
|
103
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
104
|
'aria-valuemax'?: number | undefined;
|
@@ -268,15 +268,15 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
268
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
|
271
|
+
variant?: "small" | "medium" | "large" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
279
|
-
variant?: "large" | "medium" | "small" | undefined;
|
280
280
|
} & {
|
281
281
|
theme?: any;
|
282
282
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("../constants").SystemCommonProps & import("../constants").SystemLayoutProps & SxProp, never>;
|
@@ -3,7 +3,7 @@ import { SxProp } from '../sx';
|
|
3
3
|
import { ComponentProps } from '../utils/types';
|
4
4
|
declare const ButtonInvisible: import("styled-components").StyledComponent<"button", any, {
|
5
5
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
6
|
-
variant?: "
|
6
|
+
variant?: "small" | "medium" | "large" | undefined;
|
7
7
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & {
|
8
8
|
color?: string | undefined;
|
9
9
|
fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
|
@@ -25,14 +25,14 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
25
25
|
suppressHydrationWarning?: boolean | undefined;
|
26
26
|
accessKey?: string | undefined;
|
27
27
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
29
|
contextMenu?: string | undefined;
|
30
30
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
32
|
id?: string | undefined;
|
33
33
|
lang?: string | undefined;
|
34
34
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
36
36
|
tabIndex?: number | undefined;
|
37
37
|
radioGroup?: string | undefined;
|
38
38
|
role?: import("react").AriaRole | undefined;
|
@@ -55,50 +55,50 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
55
55
|
results?: number | undefined;
|
56
56
|
security?: string | undefined;
|
57
57
|
unselectable?: "on" | "off" | undefined;
|
58
|
-
inputMode?: "
|
58
|
+
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
59
|
is?: string | undefined;
|
60
60
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
63
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
64
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
65
|
'aria-colcount'?: number | undefined;
|
66
66
|
'aria-colindex'?: number | undefined;
|
67
67
|
'aria-colspan'?: number | undefined;
|
68
68
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
70
|
'aria-describedby'?: string | undefined;
|
71
71
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "
|
72
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
74
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
76
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
81
|
'aria-keyshortcuts'?: string | undefined;
|
82
82
|
'aria-label'?: string | undefined;
|
83
83
|
'aria-labelledby'?: string | undefined;
|
84
84
|
'aria-level'?: number | undefined;
|
85
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
90
|
'aria-owns'?: string | undefined;
|
91
91
|
'aria-placeholder'?: string | undefined;
|
92
92
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
97
|
'aria-roledescription'?: string | undefined;
|
98
98
|
'aria-rowcount'?: number | undefined;
|
99
99
|
'aria-rowindex'?: number | undefined;
|
100
100
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
102
|
'aria-setsize'?: number | undefined;
|
103
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
104
|
'aria-valuemax'?: number | undefined;
|
@@ -268,15 +268,15 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
268
268
|
onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
|
269
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
|
-
|
271
|
+
variant?: "small" | "medium" | "large" | undefined;
|
272
|
+
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
273
275
|
formAction?: string | undefined;
|
274
276
|
formEncType?: string | undefined;
|
275
277
|
formMethod?: string | undefined;
|
276
278
|
formNoValidate?: boolean | undefined;
|
277
279
|
formTarget?: string | undefined;
|
278
|
-
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
279
|
-
variant?: "large" | "medium" | "small" | undefined;
|
280
280
|
} & {
|
281
281
|
theme?: any;
|
282
282
|
} & import("styled-system").FontSizeProps<Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>, string | number | symbol> & import("../constants").SystemCommonProps & import("../constants").SystemLayoutProps & SxProp, never>;
|