@primer/components 0.0.0-2021108143910 → 0.0.0-2021108205537
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 +5 -3
- package/dist/browser.esm.js +472 -473
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +73 -74
- package/dist/browser.umd.js.map +1 -1
- package/lib/Autocomplete/Autocomplete.d.ts +28 -28
- package/lib/Autocomplete/AutocompleteInput.d.ts +28 -28
- package/lib/Button/Button.d.ts +25 -25
- package/lib/Button/ButtonClose.d.ts +45 -45
- package/lib/Button/ButtonDanger.d.ts +25 -25
- package/lib/Button/ButtonInvisible.d.ts +25 -25
- package/lib/Button/ButtonOutline.d.ts +25 -25
- package/lib/Button/ButtonPrimary.d.ts +25 -25
- package/lib/CircleOcticon.d.ts +42 -42
- package/lib/Dialog.d.ts +45 -45
- package/lib/Dropdown.d.ts +176 -176
- package/lib/DropdownMenu/DropdownButton.d.ts +46 -46
- package/lib/FilterList.d.ts +42 -42
- package/lib/Position.d.ts +4 -4
- package/lib/SelectMenu/SelectMenu.d.ts +246 -246
- package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib/SideNav.d.ts +11 -8
- package/lib/SideNav.js +8 -15
- package/lib/TextInputWithTokens.d.ts +28 -28
- package/lib/Timeline.d.ts +43 -43
- 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/sx.d.ts +0 -2
- package/lib/sx.js +0 -8
- package/lib/theme-preval.js +2 -81
- package/lib/utils/testing.d.ts +1 -14
- package/lib-esm/Autocomplete/Autocomplete.d.ts +28 -28
- package/lib-esm/Autocomplete/AutocompleteInput.d.ts +28 -28
- package/lib-esm/Button/Button.d.ts +25 -25
- package/lib-esm/Button/ButtonClose.d.ts +45 -45
- package/lib-esm/Button/ButtonDanger.d.ts +25 -25
- package/lib-esm/Button/ButtonInvisible.d.ts +25 -25
- package/lib-esm/Button/ButtonOutline.d.ts +25 -25
- package/lib-esm/Button/ButtonPrimary.d.ts +25 -25
- package/lib-esm/CircleOcticon.d.ts +42 -42
- package/lib-esm/Dialog.d.ts +45 -45
- package/lib-esm/Dropdown.d.ts +176 -176
- package/lib-esm/DropdownMenu/DropdownButton.d.ts +46 -46
- package/lib-esm/FilterList.d.ts +42 -42
- package/lib-esm/Position.d.ts +4 -4
- package/lib-esm/SelectMenu/SelectMenu.d.ts +246 -246
- package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
- package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
- package/lib-esm/SideNav.d.ts +11 -8
- package/lib-esm/SideNav.js +8 -16
- package/lib-esm/TextInputWithTokens.d.ts +28 -28
- package/lib-esm/Timeline.d.ts +43 -43
- 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/sx.d.ts +0 -2
- package/lib-esm/sx.js +1 -3
- package/lib-esm/theme-preval.js +2 -81
- package/lib-esm/utils/testing.d.ts +1 -14
- package/package.json +2 -4
- package/lib/ActionList2/Description.d.ts +0 -12
- package/lib/ActionList2/Description.js +0 -53
- package/lib/ActionList2/Divider.d.ts +0 -5
- package/lib/ActionList2/Divider.js +0 -35
- package/lib/ActionList2/Group.d.ts +0 -32
- package/lib/ActionList2/Group.js +0 -104
- package/lib/ActionList2/Item.d.ts +0 -71
- package/lib/ActionList2/Item.js +0 -234
- package/lib/ActionList2/LinkItem.d.ts +0 -17
- package/lib/ActionList2/LinkItem.js +0 -57
- package/lib/ActionList2/List.d.ts +0 -26
- package/lib/ActionList2/List.js +0 -59
- package/lib/ActionList2/Selection.d.ts +0 -5
- package/lib/ActionList2/Selection.js +0 -70
- package/lib/ActionList2/Visuals.d.ts +0 -11
- package/lib/ActionList2/Visuals.js +0 -90
- package/lib/ActionList2/index.d.ts +0 -40
- package/lib/ActionList2/index.js +0 -47
- package/lib/experiments.d.ts +0 -1
- package/lib/experiments.js +0 -18
- package/lib/utils/create-slots.d.ts +0 -17
- package/lib/utils/create-slots.js +0 -105
- package/lib/utils/use-force-update.d.ts +0 -1
- package/lib/utils/use-force-update.js +0 -19
- package/lib-esm/ActionList2/Description.d.ts +0 -12
- package/lib-esm/ActionList2/Description.js +0 -37
- package/lib-esm/ActionList2/Divider.d.ts +0 -5
- package/lib-esm/ActionList2/Divider.js +0 -23
- package/lib-esm/ActionList2/Group.d.ts +0 -32
- package/lib-esm/ActionList2/Group.js +0 -85
- package/lib-esm/ActionList2/Item.d.ts +0 -71
- package/lib-esm/ActionList2/Item.js +0 -201
- package/lib-esm/ActionList2/LinkItem.d.ts +0 -17
- package/lib-esm/ActionList2/LinkItem.js +0 -43
- package/lib-esm/ActionList2/List.d.ts +0 -26
- package/lib-esm/ActionList2/List.js +0 -37
- package/lib-esm/ActionList2/Selection.d.ts +0 -5
- package/lib-esm/ActionList2/Selection.js +0 -52
- package/lib-esm/ActionList2/Visuals.d.ts +0 -11
- package/lib-esm/ActionList2/Visuals.js +0 -68
- package/lib-esm/ActionList2/index.d.ts +0 -40
- package/lib-esm/ActionList2/index.js +0 -33
- package/lib-esm/experiments.d.ts +0 -1
- package/lib-esm/experiments.js +0 -2
- package/lib-esm/utils/create-slots.d.ts +0 -17
- package/lib-esm/utils/create-slots.js +0 -84
- package/lib-esm/utils/use-force-update.d.ts +0 -1
- package/lib-esm/utils/use-force-update.js +0 -6
@@ -16,8 +16,6 @@ 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;
|
21
19
|
type?: "button" | "reset" | "submit" | undefined;
|
22
20
|
name?: string | undefined;
|
23
21
|
key?: import("react").Key | null | undefined;
|
@@ -27,16 +25,17 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
27
25
|
suppressHydrationWarning?: boolean | undefined;
|
28
26
|
accessKey?: string | undefined;
|
29
27
|
className?: string | undefined;
|
30
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
31
29
|
contextMenu?: string | undefined;
|
32
30
|
dir?: string | undefined;
|
33
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
34
32
|
id?: string | undefined;
|
35
33
|
lang?: string | undefined;
|
36
34
|
placeholder?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
36
|
tabIndex?: number | undefined;
|
39
37
|
radioGroup?: string | undefined;
|
38
|
+
role?: import("react").AriaRole | undefined;
|
40
39
|
about?: string | undefined;
|
41
40
|
datatype?: string | undefined;
|
42
41
|
inlist?: any;
|
@@ -59,47 +58,47 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
59
58
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
60
59
|
is?: string | undefined;
|
61
60
|
'aria-activedescendant'?: string | undefined;
|
62
|
-
'aria-atomic'?: boolean | "
|
63
|
-
'aria-autocomplete'?: "none" | "
|
64
|
-
'aria-busy'?: boolean | "
|
65
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
63
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
64
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
66
65
|
'aria-colcount'?: number | undefined;
|
67
66
|
'aria-colindex'?: number | undefined;
|
68
67
|
'aria-colspan'?: number | undefined;
|
69
68
|
'aria-controls'?: string | undefined;
|
70
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
71
70
|
'aria-describedby'?: string | undefined;
|
72
71
|
'aria-details'?: string | undefined;
|
73
|
-
'aria-disabled'?: boolean | "
|
74
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
72
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
75
74
|
'aria-errormessage'?: string | undefined;
|
76
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
77
76
|
'aria-flowto'?: string | undefined;
|
78
|
-
'aria-grabbed'?: boolean | "
|
79
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
80
|
-
'aria-hidden'?: boolean | "
|
81
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
82
81
|
'aria-keyshortcuts'?: string | undefined;
|
83
82
|
'aria-label'?: string | undefined;
|
84
83
|
'aria-labelledby'?: string | undefined;
|
85
84
|
'aria-level'?: number | undefined;
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
87
|
-
'aria-modal'?: boolean | "
|
88
|
-
'aria-multiline'?: boolean | "
|
89
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
90
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
91
90
|
'aria-owns'?: string | undefined;
|
92
91
|
'aria-placeholder'?: string | undefined;
|
93
92
|
'aria-posinset'?: number | undefined;
|
94
|
-
'aria-pressed'?: boolean | "
|
95
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
96
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
97
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
98
97
|
'aria-roledescription'?: string | undefined;
|
99
98
|
'aria-rowcount'?: number | undefined;
|
100
99
|
'aria-rowindex'?: number | undefined;
|
101
100
|
'aria-rowspan'?: number | undefined;
|
102
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
103
102
|
'aria-setsize'?: number | undefined;
|
104
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
105
104
|
'aria-valuemax'?: number | undefined;
|
@@ -270,13 +269,14 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
270
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
272
271
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
272
|
autoFocus?: boolean | undefined;
|
273
|
+
disabled?: boolean | undefined;
|
275
274
|
formAction?: string | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
variant?: "small" | "medium" | "large" | 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>;
|
@@ -16,8 +16,6 @@ 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;
|
21
19
|
type?: "button" | "reset" | "submit" | undefined;
|
22
20
|
name?: string | undefined;
|
23
21
|
key?: import("react").Key | null | undefined;
|
@@ -27,16 +25,17 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
27
25
|
suppressHydrationWarning?: boolean | undefined;
|
28
26
|
accessKey?: string | undefined;
|
29
27
|
className?: string | undefined;
|
30
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
31
29
|
contextMenu?: string | undefined;
|
32
30
|
dir?: string | undefined;
|
33
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
34
32
|
id?: string | undefined;
|
35
33
|
lang?: string | undefined;
|
36
34
|
placeholder?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
36
|
tabIndex?: number | undefined;
|
39
37
|
radioGroup?: string | undefined;
|
38
|
+
role?: import("react").AriaRole | undefined;
|
40
39
|
about?: string | undefined;
|
41
40
|
datatype?: string | undefined;
|
42
41
|
inlist?: any;
|
@@ -59,47 +58,47 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
59
58
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
60
59
|
is?: string | undefined;
|
61
60
|
'aria-activedescendant'?: string | undefined;
|
62
|
-
'aria-atomic'?: boolean | "
|
63
|
-
'aria-autocomplete'?: "none" | "
|
64
|
-
'aria-busy'?: boolean | "
|
65
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
63
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
64
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
66
65
|
'aria-colcount'?: number | undefined;
|
67
66
|
'aria-colindex'?: number | undefined;
|
68
67
|
'aria-colspan'?: number | undefined;
|
69
68
|
'aria-controls'?: string | undefined;
|
70
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
71
70
|
'aria-describedby'?: string | undefined;
|
72
71
|
'aria-details'?: string | undefined;
|
73
|
-
'aria-disabled'?: boolean | "
|
74
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
72
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
75
74
|
'aria-errormessage'?: string | undefined;
|
76
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
77
76
|
'aria-flowto'?: string | undefined;
|
78
|
-
'aria-grabbed'?: boolean | "
|
79
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
80
|
-
'aria-hidden'?: boolean | "
|
81
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
82
81
|
'aria-keyshortcuts'?: string | undefined;
|
83
82
|
'aria-label'?: string | undefined;
|
84
83
|
'aria-labelledby'?: string | undefined;
|
85
84
|
'aria-level'?: number | undefined;
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
87
|
-
'aria-modal'?: boolean | "
|
88
|
-
'aria-multiline'?: boolean | "
|
89
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
90
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
91
90
|
'aria-owns'?: string | undefined;
|
92
91
|
'aria-placeholder'?: string | undefined;
|
93
92
|
'aria-posinset'?: number | undefined;
|
94
|
-
'aria-pressed'?: boolean | "
|
95
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
96
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
97
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
98
97
|
'aria-roledescription'?: string | undefined;
|
99
98
|
'aria-rowcount'?: number | undefined;
|
100
99
|
'aria-rowindex'?: number | undefined;
|
101
100
|
'aria-rowspan'?: number | undefined;
|
102
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
103
102
|
'aria-setsize'?: number | undefined;
|
104
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
105
104
|
'aria-valuemax'?: number | undefined;
|
@@ -270,13 +269,14 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
270
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
272
271
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
272
|
autoFocus?: boolean | undefined;
|
273
|
+
disabled?: boolean | undefined;
|
275
274
|
formAction?: string | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
variant?: "small" | "medium" | "large" | 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>;
|
@@ -16,8 +16,6 @@ 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;
|
21
19
|
type?: "button" | "reset" | "submit" | undefined;
|
22
20
|
name?: string | undefined;
|
23
21
|
key?: import("react").Key | null | undefined;
|
@@ -27,16 +25,17 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
27
25
|
suppressHydrationWarning?: boolean | undefined;
|
28
26
|
accessKey?: string | undefined;
|
29
27
|
className?: string | undefined;
|
30
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
31
29
|
contextMenu?: string | undefined;
|
32
30
|
dir?: string | undefined;
|
33
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
34
32
|
id?: string | undefined;
|
35
33
|
lang?: string | undefined;
|
36
34
|
placeholder?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
36
|
tabIndex?: number | undefined;
|
39
37
|
radioGroup?: string | undefined;
|
38
|
+
role?: import("react").AriaRole | undefined;
|
40
39
|
about?: string | undefined;
|
41
40
|
datatype?: string | undefined;
|
42
41
|
inlist?: any;
|
@@ -59,47 +58,47 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
59
58
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
60
59
|
is?: string | undefined;
|
61
60
|
'aria-activedescendant'?: string | undefined;
|
62
|
-
'aria-atomic'?: boolean | "
|
63
|
-
'aria-autocomplete'?: "none" | "
|
64
|
-
'aria-busy'?: boolean | "
|
65
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
63
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
64
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
66
65
|
'aria-colcount'?: number | undefined;
|
67
66
|
'aria-colindex'?: number | undefined;
|
68
67
|
'aria-colspan'?: number | undefined;
|
69
68
|
'aria-controls'?: string | undefined;
|
70
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
71
70
|
'aria-describedby'?: string | undefined;
|
72
71
|
'aria-details'?: string | undefined;
|
73
|
-
'aria-disabled'?: boolean | "
|
74
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
72
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
75
74
|
'aria-errormessage'?: string | undefined;
|
76
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
77
76
|
'aria-flowto'?: string | undefined;
|
78
|
-
'aria-grabbed'?: boolean | "
|
79
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
80
|
-
'aria-hidden'?: boolean | "
|
81
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
82
81
|
'aria-keyshortcuts'?: string | undefined;
|
83
82
|
'aria-label'?: string | undefined;
|
84
83
|
'aria-labelledby'?: string | undefined;
|
85
84
|
'aria-level'?: number | undefined;
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
87
|
-
'aria-modal'?: boolean | "
|
88
|
-
'aria-multiline'?: boolean | "
|
89
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
90
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
91
90
|
'aria-owns'?: string | undefined;
|
92
91
|
'aria-placeholder'?: string | undefined;
|
93
92
|
'aria-posinset'?: number | undefined;
|
94
|
-
'aria-pressed'?: boolean | "
|
95
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
96
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
97
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
98
97
|
'aria-roledescription'?: string | undefined;
|
99
98
|
'aria-rowcount'?: number | undefined;
|
100
99
|
'aria-rowindex'?: number | undefined;
|
101
100
|
'aria-rowspan'?: number | undefined;
|
102
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
103
102
|
'aria-setsize'?: number | undefined;
|
104
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
105
104
|
'aria-valuemax'?: number | undefined;
|
@@ -270,13 +269,14 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
270
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
272
271
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
272
|
autoFocus?: boolean | undefined;
|
273
|
+
disabled?: boolean | undefined;
|
275
274
|
formAction?: string | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
variant?: "small" | "medium" | "large" | 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>;
|
@@ -16,8 +16,6 @@ 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;
|
21
19
|
type?: "button" | "reset" | "submit" | undefined;
|
22
20
|
name?: string | undefined;
|
23
21
|
key?: import("react").Key | null | undefined;
|
@@ -27,16 +25,17 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
27
25
|
suppressHydrationWarning?: boolean | undefined;
|
28
26
|
accessKey?: string | undefined;
|
29
27
|
className?: string | undefined;
|
30
|
-
contentEditable?: "inherit" | (boolean | "
|
28
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | undefined;
|
31
29
|
contextMenu?: string | undefined;
|
32
30
|
dir?: string | undefined;
|
33
|
-
draggable?: (boolean | "
|
31
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
34
32
|
id?: string | undefined;
|
35
33
|
lang?: string | undefined;
|
36
34
|
placeholder?: string | undefined;
|
37
|
-
spellCheck?: (boolean | "
|
35
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
38
36
|
tabIndex?: number | undefined;
|
39
37
|
radioGroup?: string | undefined;
|
38
|
+
role?: import("react").AriaRole | undefined;
|
40
39
|
about?: string | undefined;
|
41
40
|
datatype?: string | undefined;
|
42
41
|
inlist?: any;
|
@@ -59,47 +58,47 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
59
58
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
60
59
|
is?: string | undefined;
|
61
60
|
'aria-activedescendant'?: string | undefined;
|
62
|
-
'aria-atomic'?: boolean | "
|
63
|
-
'aria-autocomplete'?: "none" | "
|
64
|
-
'aria-busy'?: boolean | "
|
65
|
-
'aria-checked'?: boolean | "
|
61
|
+
'aria-atomic'?: boolean | "true" | "false" | undefined;
|
62
|
+
'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
|
63
|
+
'aria-busy'?: boolean | "true" | "false" | undefined;
|
64
|
+
'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
|
66
65
|
'aria-colcount'?: number | undefined;
|
67
66
|
'aria-colindex'?: number | undefined;
|
68
67
|
'aria-colspan'?: number | undefined;
|
69
68
|
'aria-controls'?: string | undefined;
|
70
|
-
'aria-current'?: boolean | "time" | "
|
69
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
|
71
70
|
'aria-describedby'?: string | undefined;
|
72
71
|
'aria-details'?: string | undefined;
|
73
|
-
'aria-disabled'?: boolean | "
|
74
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
72
|
+
'aria-disabled'?: boolean | "true" | "false" | undefined;
|
73
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
|
75
74
|
'aria-errormessage'?: string | undefined;
|
76
|
-
'aria-expanded'?: boolean | "
|
75
|
+
'aria-expanded'?: boolean | "true" | "false" | undefined;
|
77
76
|
'aria-flowto'?: string | undefined;
|
78
|
-
'aria-grabbed'?: boolean | "
|
79
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
80
|
-
'aria-hidden'?: boolean | "
|
81
|
-
'aria-invalid'?: boolean | "
|
77
|
+
'aria-grabbed'?: boolean | "true" | "false" | undefined;
|
78
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
|
79
|
+
'aria-hidden'?: boolean | "true" | "false" | undefined;
|
80
|
+
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
|
82
81
|
'aria-keyshortcuts'?: string | undefined;
|
83
82
|
'aria-label'?: string | undefined;
|
84
83
|
'aria-labelledby'?: string | undefined;
|
85
84
|
'aria-level'?: number | undefined;
|
86
85
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
87
|
-
'aria-modal'?: boolean | "
|
88
|
-
'aria-multiline'?: boolean | "
|
89
|
-
'aria-multiselectable'?: boolean | "
|
86
|
+
'aria-modal'?: boolean | "true" | "false" | undefined;
|
87
|
+
'aria-multiline'?: boolean | "true" | "false" | undefined;
|
88
|
+
'aria-multiselectable'?: boolean | "true" | "false" | undefined;
|
90
89
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
91
90
|
'aria-owns'?: string | undefined;
|
92
91
|
'aria-placeholder'?: string | undefined;
|
93
92
|
'aria-posinset'?: number | undefined;
|
94
|
-
'aria-pressed'?: boolean | "
|
95
|
-
'aria-readonly'?: boolean | "
|
93
|
+
'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
|
94
|
+
'aria-readonly'?: boolean | "true" | "false" | undefined;
|
96
95
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
97
|
-
'aria-required'?: boolean | "
|
96
|
+
'aria-required'?: boolean | "true" | "false" | undefined;
|
98
97
|
'aria-roledescription'?: string | undefined;
|
99
98
|
'aria-rowcount'?: number | undefined;
|
100
99
|
'aria-rowindex'?: number | undefined;
|
101
100
|
'aria-rowspan'?: number | undefined;
|
102
|
-
'aria-selected'?: boolean | "
|
101
|
+
'aria-selected'?: boolean | "true" | "false" | undefined;
|
103
102
|
'aria-setsize'?: number | undefined;
|
104
103
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
105
104
|
'aria-valuemax'?: number | undefined;
|
@@ -270,13 +269,14 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
270
269
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
270
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
272
271
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
273
|
-
disabled?: boolean | undefined;
|
274
272
|
autoFocus?: boolean | undefined;
|
273
|
+
disabled?: boolean | undefined;
|
275
274
|
formAction?: string | undefined;
|
276
275
|
formEncType?: string | undefined;
|
277
276
|
formMethod?: string | undefined;
|
278
277
|
formNoValidate?: boolean | undefined;
|
279
278
|
formTarget?: string | undefined;
|
279
|
+
variant?: "small" | "medium" | "large" | 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>;
|