@primer/components 0.0.0-2021104225742 → 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 +3 -5
- package/dist/browser.esm.js +473 -471
- package/dist/browser.esm.js.map +1 -1
- package/dist/browser.umd.js +104 -102
- package/dist/browser.umd.js.map +1 -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 +71 -0
- package/lib/ActionList2/Item.js +234 -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 +59 -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/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/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/Truncate.d.ts +2 -1
- package/lib/Truncate.js +3 -1
- package/lib/experiments.d.ts +1 -0
- package/lib/experiments.js +18 -0
- package/lib/sx.d.ts +2 -0
- package/lib/sx.js +8 -0
- package/lib/theme-preval.js +81 -2
- package/lib/utils/create-slots.d.ts +17 -0
- package/lib/utils/create-slots.js +105 -0
- package/lib/utils/testing.d.ts +14 -1
- package/lib/utils/use-force-update.d.ts +1 -0
- package/lib/utils/use-force-update.js +19 -0
- 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 +71 -0
- package/lib-esm/ActionList2/Item.js +201 -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 +37 -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/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/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/Truncate.d.ts +2 -1
- package/lib-esm/Truncate.js +2 -1
- package/lib-esm/experiments.d.ts +1 -0
- package/lib-esm/experiments.js +2 -0
- package/lib-esm/sx.d.ts +2 -0
- package/lib-esm/sx.js +3 -1
- package/lib-esm/theme-preval.js +81 -2
- 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 +14 -1
- package/lib-esm/utils/use-force-update.d.ts +1 -0
- package/lib-esm/utils/use-force-update.js +6 -0
- package/package.json +4 -2
@@ -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;
|
@@ -25,17 +27,16 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
25
27
|
suppressHydrationWarning?: boolean | undefined;
|
26
28
|
accessKey?: string | undefined;
|
27
29
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
30
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
31
|
contextMenu?: string | undefined;
|
30
32
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
33
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
34
|
id?: string | undefined;
|
33
35
|
lang?: string | undefined;
|
34
36
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
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;
|
@@ -58,47 +59,47 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
58
59
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
60
|
is?: string | undefined;
|
60
61
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
62
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
63
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
64
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
65
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
66
|
'aria-colcount'?: number | undefined;
|
66
67
|
'aria-colindex'?: number | undefined;
|
67
68
|
'aria-colspan'?: number | undefined;
|
68
69
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
70
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
71
|
'aria-describedby'?: string | undefined;
|
71
72
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
73
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
74
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
75
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
76
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
77
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
78
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
79
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
80
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
81
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
82
|
'aria-keyshortcuts'?: string | undefined;
|
82
83
|
'aria-label'?: string | undefined;
|
83
84
|
'aria-labelledby'?: string | undefined;
|
84
85
|
'aria-level'?: number | undefined;
|
85
86
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
87
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
89
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
90
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
91
|
'aria-owns'?: string | undefined;
|
91
92
|
'aria-placeholder'?: string | undefined;
|
92
93
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
94
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
95
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
96
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
97
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
98
|
'aria-roledescription'?: string | undefined;
|
98
99
|
'aria-rowcount'?: number | undefined;
|
99
100
|
'aria-rowindex'?: number | undefined;
|
100
101
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
102
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
103
|
'aria-setsize'?: number | undefined;
|
103
104
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
105
|
'aria-valuemax'?: number | undefined;
|
@@ -269,14 +270,13 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
|
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
|
-
autoFocus?: boolean | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
274
275
|
formAction?: string | undefined;
|
275
276
|
formEncType?: string | undefined;
|
276
277
|
formMethod?: string | undefined;
|
277
278
|
formNoValidate?: boolean | undefined;
|
278
279
|
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,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;
|
@@ -25,17 +27,16 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
25
27
|
suppressHydrationWarning?: boolean | undefined;
|
26
28
|
accessKey?: string | undefined;
|
27
29
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
30
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
31
|
contextMenu?: string | undefined;
|
30
32
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
33
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
34
|
id?: string | undefined;
|
33
35
|
lang?: string | undefined;
|
34
36
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
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;
|
@@ -58,47 +59,47 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
58
59
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
60
|
is?: string | undefined;
|
60
61
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
62
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
63
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
64
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
65
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
66
|
'aria-colcount'?: number | undefined;
|
66
67
|
'aria-colindex'?: number | undefined;
|
67
68
|
'aria-colspan'?: number | undefined;
|
68
69
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
70
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
71
|
'aria-describedby'?: string | undefined;
|
71
72
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
73
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
74
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
75
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
76
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
77
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
78
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
79
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
80
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
81
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
82
|
'aria-keyshortcuts'?: string | undefined;
|
82
83
|
'aria-label'?: string | undefined;
|
83
84
|
'aria-labelledby'?: string | undefined;
|
84
85
|
'aria-level'?: number | undefined;
|
85
86
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
87
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
89
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
90
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
91
|
'aria-owns'?: string | undefined;
|
91
92
|
'aria-placeholder'?: string | undefined;
|
92
93
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
94
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
95
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
96
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
97
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
98
|
'aria-roledescription'?: string | undefined;
|
98
99
|
'aria-rowcount'?: number | undefined;
|
99
100
|
'aria-rowindex'?: number | undefined;
|
100
101
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
102
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
103
|
'aria-setsize'?: number | undefined;
|
103
104
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
105
|
'aria-valuemax'?: number | undefined;
|
@@ -269,14 +270,13 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
|
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
|
-
autoFocus?: boolean | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
274
275
|
formAction?: string | undefined;
|
275
276
|
formEncType?: string | undefined;
|
276
277
|
formMethod?: string | undefined;
|
277
278
|
formNoValidate?: boolean | undefined;
|
278
279
|
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,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;
|
@@ -25,17 +27,16 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
25
27
|
suppressHydrationWarning?: boolean | undefined;
|
26
28
|
accessKey?: string | undefined;
|
27
29
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
30
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
31
|
contextMenu?: string | undefined;
|
30
32
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
33
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
34
|
id?: string | undefined;
|
33
35
|
lang?: string | undefined;
|
34
36
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
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;
|
@@ -58,47 +59,47 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
58
59
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
60
|
is?: string | undefined;
|
60
61
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
62
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
63
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
64
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
65
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
66
|
'aria-colcount'?: number | undefined;
|
66
67
|
'aria-colindex'?: number | undefined;
|
67
68
|
'aria-colspan'?: number | undefined;
|
68
69
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
70
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
71
|
'aria-describedby'?: string | undefined;
|
71
72
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
73
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
74
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
75
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
76
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
77
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
78
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
79
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
80
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
81
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
82
|
'aria-keyshortcuts'?: string | undefined;
|
82
83
|
'aria-label'?: string | undefined;
|
83
84
|
'aria-labelledby'?: string | undefined;
|
84
85
|
'aria-level'?: number | undefined;
|
85
86
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
87
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
89
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
90
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
91
|
'aria-owns'?: string | undefined;
|
91
92
|
'aria-placeholder'?: string | undefined;
|
92
93
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
94
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
95
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
96
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
97
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
98
|
'aria-roledescription'?: string | undefined;
|
98
99
|
'aria-rowcount'?: number | undefined;
|
99
100
|
'aria-rowindex'?: number | undefined;
|
100
101
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
102
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
103
|
'aria-setsize'?: number | undefined;
|
103
104
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
105
|
'aria-valuemax'?: number | undefined;
|
@@ -269,14 +270,13 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
|
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
|
-
autoFocus?: boolean | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
274
275
|
formAction?: string | undefined;
|
275
276
|
formEncType?: string | undefined;
|
276
277
|
formMethod?: string | undefined;
|
277
278
|
formNoValidate?: boolean | undefined;
|
278
279
|
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,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;
|
@@ -25,17 +27,16 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
25
27
|
suppressHydrationWarning?: boolean | undefined;
|
26
28
|
accessKey?: string | undefined;
|
27
29
|
className?: string | undefined;
|
28
|
-
contentEditable?: "inherit" | (boolean | "
|
30
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
|
29
31
|
contextMenu?: string | undefined;
|
30
32
|
dir?: string | undefined;
|
31
|
-
draggable?: (boolean | "
|
33
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
32
34
|
id?: string | undefined;
|
33
35
|
lang?: string | undefined;
|
34
36
|
placeholder?: string | undefined;
|
35
|
-
spellCheck?: (boolean | "
|
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;
|
@@ -58,47 +59,47 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
58
59
|
inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
|
59
60
|
is?: string | undefined;
|
60
61
|
'aria-activedescendant'?: string | undefined;
|
61
|
-
'aria-atomic'?: boolean | "
|
62
|
-
'aria-autocomplete'?: "none" | "
|
63
|
-
'aria-busy'?: boolean | "
|
64
|
-
'aria-checked'?: boolean | "
|
62
|
+
'aria-atomic'?: boolean | "false" | "true" | undefined;
|
63
|
+
'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
|
64
|
+
'aria-busy'?: boolean | "false" | "true" | undefined;
|
65
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
65
66
|
'aria-colcount'?: number | undefined;
|
66
67
|
'aria-colindex'?: number | undefined;
|
67
68
|
'aria-colspan'?: number | undefined;
|
68
69
|
'aria-controls'?: string | undefined;
|
69
|
-
'aria-current'?: boolean | "time" | "
|
70
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
70
71
|
'aria-describedby'?: string | undefined;
|
71
72
|
'aria-details'?: string | undefined;
|
72
|
-
'aria-disabled'?: boolean | "
|
73
|
-
'aria-dropeffect'?: "link" | "none" | "copy" | "
|
73
|
+
'aria-disabled'?: boolean | "false" | "true" | undefined;
|
74
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
|
74
75
|
'aria-errormessage'?: string | undefined;
|
75
|
-
'aria-expanded'?: boolean | "
|
76
|
+
'aria-expanded'?: boolean | "false" | "true" | undefined;
|
76
77
|
'aria-flowto'?: string | undefined;
|
77
|
-
'aria-grabbed'?: boolean | "
|
78
|
-
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "
|
79
|
-
'aria-hidden'?: boolean | "
|
80
|
-
'aria-invalid'?: boolean | "
|
78
|
+
'aria-grabbed'?: boolean | "false" | "true" | undefined;
|
79
|
+
'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "false" | "true" | "tree" | undefined;
|
80
|
+
'aria-hidden'?: boolean | "false" | "true" | undefined;
|
81
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
81
82
|
'aria-keyshortcuts'?: string | undefined;
|
82
83
|
'aria-label'?: string | undefined;
|
83
84
|
'aria-labelledby'?: string | undefined;
|
84
85
|
'aria-level'?: number | undefined;
|
85
86
|
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
86
|
-
'aria-modal'?: boolean | "
|
87
|
-
'aria-multiline'?: boolean | "
|
88
|
-
'aria-multiselectable'?: boolean | "
|
87
|
+
'aria-modal'?: boolean | "false" | "true" | undefined;
|
88
|
+
'aria-multiline'?: boolean | "false" | "true" | undefined;
|
89
|
+
'aria-multiselectable'?: boolean | "false" | "true" | undefined;
|
89
90
|
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
90
91
|
'aria-owns'?: string | undefined;
|
91
92
|
'aria-placeholder'?: string | undefined;
|
92
93
|
'aria-posinset'?: number | undefined;
|
93
|
-
'aria-pressed'?: boolean | "
|
94
|
-
'aria-readonly'?: boolean | "
|
94
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
|
95
|
+
'aria-readonly'?: boolean | "false" | "true" | undefined;
|
95
96
|
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
96
|
-
'aria-required'?: boolean | "
|
97
|
+
'aria-required'?: boolean | "false" | "true" | undefined;
|
97
98
|
'aria-roledescription'?: string | undefined;
|
98
99
|
'aria-rowcount'?: number | undefined;
|
99
100
|
'aria-rowindex'?: number | undefined;
|
100
101
|
'aria-rowspan'?: number | undefined;
|
101
|
-
'aria-selected'?: boolean | "
|
102
|
+
'aria-selected'?: boolean | "false" | "true" | undefined;
|
102
103
|
'aria-setsize'?: number | undefined;
|
103
104
|
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
104
105
|
'aria-valuemax'?: number | undefined;
|
@@ -269,14 +270,13 @@ export declare const ButtonPrimary: import("styled-components").StyledComponent<
|
|
269
270
|
onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
270
271
|
onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
|
271
272
|
as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
|
272
|
-
autoFocus?: boolean | undefined;
|
273
273
|
disabled?: boolean | undefined;
|
274
|
+
autoFocus?: boolean | undefined;
|
274
275
|
formAction?: string | undefined;
|
275
276
|
formEncType?: string | undefined;
|
276
277
|
formMethod?: string | undefined;
|
277
278
|
formNoValidate?: boolean | undefined;
|
278
279
|
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>;
|