@primer/components 0.0.0-2021928193630 → 0.0.0-2021929114834

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.
Files changed (124) hide show
  1. package/CHANGELOG.md +2 -2
  2. package/dist/browser.esm.js.map +1 -1
  3. package/dist/browser.umd.js.map +1 -1
  4. package/lib/ActionList2/Description.d.ts +6 -0
  5. package/lib/ActionList2/Description.js +53 -0
  6. package/lib/ActionList2/Divider.d.ts +5 -0
  7. package/lib/ActionList2/Divider.js +33 -0
  8. package/lib/ActionList2/Group.d.ts +11 -0
  9. package/lib/ActionList2/Group.js +55 -0
  10. package/lib/ActionList2/Header.d.ts +26 -0
  11. package/lib/ActionList2/Header.js +55 -0
  12. package/lib/ActionList2/Item.d.ts +48 -0
  13. package/lib/ActionList2/Item.js +204 -0
  14. package/lib/ActionList2/List.d.ts +26 -0
  15. package/lib/ActionList2/List.js +56 -0
  16. package/lib/ActionList2/Selection.d.ts +5 -0
  17. package/lib/ActionList2/Selection.js +73 -0
  18. package/lib/ActionList2/Visuals.d.ts +11 -0
  19. package/lib/ActionList2/Visuals.js +90 -0
  20. package/lib/ActionList2/hacks.d.ts +30 -0
  21. package/lib/ActionList2/hacks.js +38 -0
  22. package/lib/ActionList2/index.d.ts +28 -0
  23. package/lib/ActionList2/index.js +42 -0
  24. package/lib/Autocomplete/Autocomplete.d.ts +6 -6
  25. package/lib/Autocomplete/AutocompleteInput.d.ts +6 -6
  26. package/lib/Button/Button.d.ts +5 -5
  27. package/lib/Button/ButtonBase.d.ts +1 -1
  28. package/lib/Button/ButtonClose.d.ts +23 -23
  29. package/lib/Button/ButtonDanger.d.ts +5 -5
  30. package/lib/Button/ButtonInvisible.d.ts +5 -5
  31. package/lib/Button/ButtonOutline.d.ts +5 -5
  32. package/lib/Button/ButtonPrimary.d.ts +5 -5
  33. package/lib/CircleBadge.d.ts +2 -2
  34. package/lib/CircleOcticon.d.ts +22 -22
  35. package/lib/Dialog.d.ts +24 -24
  36. package/lib/Dropdown.d.ts +88 -88
  37. package/lib/DropdownMenu/DropdownButton.d.ts +24 -24
  38. package/lib/FilterList.d.ts +21 -21
  39. package/lib/Flash.d.ts +1 -1
  40. package/lib/Label.d.ts +1 -1
  41. package/lib/Position.d.ts +4 -4
  42. package/lib/ProgressBar.d.ts +1 -1
  43. package/lib/SelectMenu/SelectMenu.d.ts +117 -117
  44. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  45. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  46. package/lib/TextInputWithTokens.d.ts +6 -6
  47. package/lib/Timeline.d.ts +22 -22
  48. package/lib/Token/AvatarToken.d.ts +1 -1
  49. package/lib/Token/IssueLabelToken.d.ts +1 -1
  50. package/lib/Token/Token.d.ts +1 -1
  51. package/lib/_TextInputWrapper.d.ts +1 -1
  52. package/lib/experiments.d.ts +1 -0
  53. package/lib/experiments.js +18 -0
  54. package/lib/sx.d.ts +4 -8
  55. package/lib/sx.js +8 -0
  56. package/lib/theme.d.ts +0 -78
  57. package/lib/theme.js +1 -3
  58. package/lib/utils/create-slots.d.ts +17 -0
  59. package/lib/utils/create-slots.js +105 -0
  60. package/lib/utils/use-force-update.d.ts +1 -0
  61. package/lib/utils/use-force-update.js +19 -0
  62. package/lib-esm/ActionList2/Description.d.ts +6 -0
  63. package/lib-esm/ActionList2/Description.js +37 -0
  64. package/lib-esm/ActionList2/Divider.d.ts +5 -0
  65. package/lib-esm/ActionList2/Divider.js +21 -0
  66. package/lib-esm/ActionList2/Group.d.ts +11 -0
  67. package/lib-esm/ActionList2/Group.js +38 -0
  68. package/lib-esm/ActionList2/Header.d.ts +26 -0
  69. package/lib-esm/ActionList2/Header.js +45 -0
  70. package/lib-esm/ActionList2/Item.d.ts +48 -0
  71. package/lib-esm/ActionList2/Item.js +176 -0
  72. package/lib-esm/ActionList2/List.d.ts +26 -0
  73. package/lib-esm/ActionList2/List.js +38 -0
  74. package/lib-esm/ActionList2/Selection.d.ts +5 -0
  75. package/lib-esm/ActionList2/Selection.js +55 -0
  76. package/lib-esm/ActionList2/Visuals.d.ts +11 -0
  77. package/lib-esm/ActionList2/Visuals.js +68 -0
  78. package/lib-esm/ActionList2/hacks.d.ts +30 -0
  79. package/lib-esm/ActionList2/hacks.js +30 -0
  80. package/lib-esm/ActionList2/index.d.ts +28 -0
  81. package/lib-esm/ActionList2/index.js +29 -0
  82. package/lib-esm/Autocomplete/Autocomplete.d.ts +6 -6
  83. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +6 -6
  84. package/lib-esm/Button/Button.d.ts +5 -5
  85. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  86. package/lib-esm/Button/ButtonClose.d.ts +23 -23
  87. package/lib-esm/Button/ButtonDanger.d.ts +5 -5
  88. package/lib-esm/Button/ButtonInvisible.d.ts +5 -5
  89. package/lib-esm/Button/ButtonOutline.d.ts +5 -5
  90. package/lib-esm/Button/ButtonPrimary.d.ts +5 -5
  91. package/lib-esm/CircleBadge.d.ts +2 -2
  92. package/lib-esm/CircleOcticon.d.ts +22 -22
  93. package/lib-esm/Dialog.d.ts +24 -24
  94. package/lib-esm/Dropdown.d.ts +88 -88
  95. package/lib-esm/DropdownMenu/DropdownButton.d.ts +24 -24
  96. package/lib-esm/FilterList.d.ts +21 -21
  97. package/lib-esm/Flash.d.ts +1 -1
  98. package/lib-esm/Label.d.ts +1 -1
  99. package/lib-esm/Position.d.ts +4 -4
  100. package/lib-esm/ProgressBar.d.ts +1 -1
  101. package/lib-esm/SelectMenu/SelectMenu.d.ts +117 -117
  102. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  103. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  104. package/lib-esm/TextInputWithTokens.d.ts +6 -6
  105. package/lib-esm/Timeline.d.ts +22 -22
  106. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  107. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  108. package/lib-esm/Token/Token.d.ts +1 -1
  109. package/lib-esm/_TextInputWrapper.d.ts +1 -1
  110. package/lib-esm/experiments.d.ts +1 -0
  111. package/lib-esm/experiments.js +2 -0
  112. package/lib-esm/sx.d.ts +4 -8
  113. package/lib-esm/sx.js +3 -1
  114. package/lib-esm/theme.d.ts +0 -78
  115. package/lib-esm/theme.js +1 -2
  116. package/lib-esm/utils/create-slots.d.ts +17 -0
  117. package/lib-esm/utils/create-slots.js +84 -0
  118. package/lib-esm/utils/use-force-update.d.ts +1 -0
  119. package/lib-esm/utils/use-force-update.js +6 -0
  120. package/package.json +1 -1
  121. package/lib/utils/types/KeyPaths.d.ts +0 -3
  122. package/lib/utils/types/KeyPaths.js +0 -1
  123. package/lib-esm/utils/types/KeyPaths.d.ts +0 -3
  124. package/lib-esm/utils/types/KeyPaths.js +0 -1
@@ -0,0 +1,11 @@
1
+ import React from 'react';
2
+ import { SxProp } from '../sx';
3
+ declare type VisualProps = SxProp & {
4
+ children: React.ReactNode;
5
+ };
6
+ export declare const LeadingVisualContainer: React.FC<SxProp>;
7
+ export declare type LeadingVisualProps = VisualProps;
8
+ export declare const LeadingVisual: React.FC<VisualProps>;
9
+ export declare type TrailingVisualProps = VisualProps;
10
+ export declare const TrailingVisual: React.FC<VisualProps>;
11
+ export {};
@@ -0,0 +1,68 @@
1
+ function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); }
2
+
3
+ import React from 'react';
4
+ import Box from '../Box';
5
+ import { merge } from '../sx';
6
+ import { get } from '../constants';
7
+ import { getVariantStyles, Slot } from './Item';
8
+ export const LeadingVisualContainer = ({
9
+ sx = {},
10
+ ...props
11
+ }) => {
12
+ return /*#__PURE__*/React.createElement(Box, _extends({
13
+ as: "span",
14
+ sx: merge({
15
+ height: '20px',
16
+ // match height of text row
17
+ minWidth: get('space.3'),
18
+ maxWidth: '20px',
19
+ // square (same as height)
20
+ display: 'flex',
21
+ justifyContent: 'center',
22
+ alignItems: 'center',
23
+ flexShrink: 0,
24
+ marginRight: 2
25
+ }, sx)
26
+ }, props));
27
+ };
28
+ LeadingVisualContainer.displayName = "LeadingVisualContainer";
29
+ export const LeadingVisual = ({
30
+ sx = {},
31
+ ...props
32
+ }) => {
33
+ return /*#__PURE__*/React.createElement(Slot, {
34
+ name: "LeadingVisual"
35
+ }, ({
36
+ variant,
37
+ disabled
38
+ }) => /*#__PURE__*/React.createElement(LeadingVisualContainer, _extends({
39
+ sx: merge({
40
+ color: getVariantStyles(variant, disabled).iconColor,
41
+ svg: {
42
+ fontSize: 0
43
+ }
44
+ }, sx)
45
+ }, props), props.children));
46
+ };
47
+ LeadingVisual.displayName = "LeadingVisual";
48
+ export const TrailingVisual = ({
49
+ sx = {},
50
+ ...props
51
+ }) => {
52
+ return /*#__PURE__*/React.createElement(Slot, {
53
+ name: "TrailingVisual"
54
+ }, ({
55
+ variant,
56
+ disabled
57
+ }) => /*#__PURE__*/React.createElement(Box, _extends({
58
+ as: "span",
59
+ sx: merge({
60
+ height: '20px',
61
+ // match height of text row
62
+ flexShrink: 0,
63
+ color: getVariantStyles(variant, disabled).annotationColor,
64
+ marginLeft: 2
65
+ }, sx)
66
+ }, props), props.children));
67
+ };
68
+ TrailingVisual.displayName = "TrailingVisual";
@@ -0,0 +1,30 @@
1
+ /**
2
+ * These colors are not yet in our default theme.
3
+ * TODO: Need to remove this once they are added.
4
+ */
5
+ export declare const customItemThemes: {
6
+ default: {
7
+ hover: {
8
+ light: string;
9
+ dark: string;
10
+ dark_dimmed: string;
11
+ };
12
+ focus: {
13
+ light: string;
14
+ dark: string;
15
+ dark_dimmed: string;
16
+ };
17
+ };
18
+ danger: {
19
+ hover: {
20
+ light: string;
21
+ dark: string;
22
+ dark_dimmed: string;
23
+ };
24
+ focus: {
25
+ light: string;
26
+ dark: string;
27
+ dark_dimmed: string;
28
+ };
29
+ };
30
+ };
@@ -0,0 +1,30 @@
1
+ /**
2
+ * These colors are not yet in our default theme.
3
+ * TODO: Need to remove this once they are added.
4
+ */
5
+ export const customItemThemes = {
6
+ default: {
7
+ hover: {
8
+ light: 'rgba(46, 77, 108, 0.06)',
9
+ dark: 'rgba(201, 206, 212, 0.12)',
10
+ dark_dimmed: 'rgba(201, 206, 212, 0.12)'
11
+ },
12
+ focus: {
13
+ light: 'rgba(54, 77, 100, 0.16)',
14
+ dark: 'rgba(201, 206, 212, 0.24)',
15
+ dark_dimmed: 'rgba(201, 206, 212, 0.24)'
16
+ }
17
+ },
18
+ danger: {
19
+ hover: {
20
+ light: 'rgba(234, 74, 90, 0.08)',
21
+ dark: 'rgba(248, 81, 73, 0.16)',
22
+ dark_dimmed: 'rgba(248, 81, 73, 0.16)'
23
+ },
24
+ focus: {
25
+ light: 'rgba(234, 74, 90, 0.14)',
26
+ dark: 'rgba(248, 81, 73, 0.24)',
27
+ dark_dimmed: 'rgba(248, 81, 73, 0.24)'
28
+ }
29
+ }
30
+ };
@@ -0,0 +1,28 @@
1
+ /// <reference types="react" />
2
+ import { Divider } from './Divider';
3
+ export type { ListProps as ActionListProps } from './List';
4
+ export type { GroupProps } from './Group';
5
+ export type { ItemProps } from './Item';
6
+ export type { DescriptionProps } from './Description';
7
+ export type { LeadingVisualProps, TrailingVisualProps } from './Visuals';
8
+ /**
9
+ * Collection of list-related components.
10
+ */
11
+ export declare const ActionList: import("@radix-ui/react-polymorphic").ForwardRefComponent<"ul", import("./List").ListProps> & {
12
+ /** Collects related `Items` in an `ActionList`. */
13
+ Group: import("react").FC<import("./Group").GroupProps>;
14
+ /** An actionable or selectable `Item` */
15
+ Item: import("@radix-ui/react-polymorphic").ForwardRefComponent<"li", import("./Item").ItemProps>;
16
+ /** Visually separates `Item`s or `Group`s in an `ActionList`. */
17
+ Divider: typeof Divider;
18
+ /** Secondary text which provides additional information about an `Item`. */
19
+ Description: import("react").FC<import("./Description").DescriptionProps>;
20
+ /** Icon (or similar) positioned before `Item` text. */
21
+ LeadingVisual: import("react").FC<import("../sx").SxProp & {
22
+ children: import("react").ReactNode;
23
+ }>;
24
+ /** Icon (or similar) positioned after `Item` text. */
25
+ TrailingVisual: import("react").FC<import("../sx").SxProp & {
26
+ children: import("react").ReactNode;
27
+ }>;
28
+ };
@@ -0,0 +1,29 @@
1
+ import { List } from './List';
2
+ import { Group } from './Group';
3
+ import { Item } from './Item';
4
+ import { Divider } from './Divider';
5
+ import { Description } from './Description';
6
+ import { LeadingVisual, TrailingVisual } from './Visuals';
7
+
8
+ /**
9
+ * Collection of list-related components.
10
+ */
11
+ export const ActionList = Object.assign(List, {
12
+ /** Collects related `Items` in an `ActionList`. */
13
+ Group,
14
+
15
+ /** An actionable or selectable `Item` */
16
+ Item,
17
+
18
+ /** Visually separates `Item`s or `Group`s in an `ActionList`. */
19
+ Divider,
20
+
21
+ /** Secondary text which provides additional information about an `Item`. */
22
+ Description,
23
+
24
+ /** Icon (or similar) positioned before `Item` text. */
25
+ LeadingVisual,
26
+
27
+ /** Icon (or similar) positioned after `Item` text. */
28
+ TrailingVisual
29
+ });
@@ -20,7 +20,7 @@ declare const _default: React.FC<{
20
20
  } & {
21
21
  as?: string | React.ComponentType<any> | undefined;
22
22
  forwardedAs?: string | React.ComponentType<any> | undefined;
23
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
23
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "variant" | "disabled" | "contrast"> & {
24
24
  className?: string | undefined;
25
25
  icon?: React.ComponentType<{
26
26
  className?: string | undefined;
@@ -74,7 +74,7 @@ declare const _default: React.FC<{
74
74
  results?: number | undefined;
75
75
  security?: string | undefined;
76
76
  unselectable?: "on" | "off" | undefined;
77
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
77
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
78
  is?: string | undefined;
79
79
  'aria-activedescendant'?: string | undefined;
80
80
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -89,7 +89,7 @@ declare const _default: React.FC<{
89
89
  'aria-describedby'?: string | undefined;
90
90
  'aria-details'?: string | undefined;
91
91
  'aria-disabled'?: boolean | "true" | "false" | undefined;
92
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
92
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
93
93
  'aria-errormessage'?: string | undefined;
94
94
  'aria-expanded'?: boolean | "true" | "false" | undefined;
95
95
  'aria-flowto'?: string | undefined;
@@ -288,14 +288,14 @@ declare const _default: React.FC<{
288
288
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
289
289
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
290
290
  block?: boolean | undefined;
291
- sx?: import("../sx").BetterSystemStyleObject | undefined;
291
+ sx?: import("@styled-system/css").SystemStyleObject | undefined;
292
+ variant?: "large" | "small" | undefined;
292
293
  disabled?: boolean | undefined;
293
- variant?: "small" | "large" | undefined;
294
294
  hasIcon?: boolean | undefined;
295
295
  contrast?: boolean | undefined;
296
296
  } & {
297
297
  theme?: any;
298
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
298
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "variant" | "disabled" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
299
299
  as?: React.ComponentType<any> | undefined;
300
300
  }>;
301
301
  Menu: typeof AutocompleteMenu;
@@ -12,7 +12,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
12
12
  } & {
13
13
  as?: string | React.ComponentType<any> | undefined;
14
14
  forwardedAs?: string | React.ComponentType<any> | undefined;
15
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
15
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "variant" | "disabled" | "contrast"> & {
16
16
  className?: string | undefined;
17
17
  icon?: React.ComponentType<{
18
18
  className?: string | undefined;
@@ -66,7 +66,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
66
66
  results?: number | undefined;
67
67
  security?: string | undefined;
68
68
  unselectable?: "on" | "off" | undefined;
69
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
69
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
70
70
  is?: string | undefined;
71
71
  'aria-activedescendant'?: string | undefined;
72
72
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -81,7 +81,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
81
81
  'aria-describedby'?: string | undefined;
82
82
  'aria-details'?: string | undefined;
83
83
  'aria-disabled'?: boolean | "true" | "false" | undefined;
84
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
84
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
85
85
  'aria-errormessage'?: string | undefined;
86
86
  'aria-expanded'?: boolean | "true" | "false" | undefined;
87
87
  'aria-flowto'?: string | undefined;
@@ -280,13 +280,13 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
280
280
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
281
281
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
282
282
  block?: boolean | undefined;
283
- sx?: import("../sx").BetterSystemStyleObject | undefined;
283
+ sx?: import("@styled-system/css").SystemStyleObject | undefined;
284
+ variant?: "large" | "small" | undefined;
284
285
  disabled?: boolean | undefined;
285
- variant?: "small" | "large" | undefined;
286
286
  hasIcon?: boolean | undefined;
287
287
  contrast?: boolean | undefined;
288
288
  } & {
289
289
  theme?: any;
290
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
290
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "variant" | "disabled" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
291
291
  export declare type AutocompleteInputProps = ComponentProps<typeof AutocompleteInput>;
292
292
  export default AutocompleteInput;
@@ -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?: "small" | "medium" | "large" | undefined;
6
+ variant?: "large" | "medium" | "small" | 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;
@@ -55,7 +55,7 @@ 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?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
59
  is?: string | undefined;
60
60
  'aria-activedescendant'?: string | undefined;
61
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -70,7 +70,7 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
70
70
  'aria-describedby'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
76
76
  'aria-flowto'?: string | 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
+ variant?: "large" | "medium" | "small" | 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>;
@@ -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?: "small" | "medium" | "large" | undefined;
9
+ variant?: "large" | "medium" | "small" | 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,24 @@ 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;
38
56
  type?: "button" | "reset" | "submit" | undefined;
39
57
  name?: string | undefined;
40
58
  key?: React.Key | null | undefined;
@@ -74,7 +92,7 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
74
92
  results?: number | undefined;
75
93
  security?: string | undefined;
76
94
  unselectable?: "on" | "off" | undefined;
77
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
95
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
78
96
  is?: string | undefined;
79
97
  'aria-activedescendant'?: string | undefined;
80
98
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -89,7 +107,7 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
89
107
  'aria-describedby'?: string | undefined;
90
108
  'aria-details'?: string | undefined;
91
109
  'aria-disabled'?: boolean | "true" | "false" | undefined;
92
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
110
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
93
111
  'aria-errormessage'?: string | undefined;
94
112
  'aria-expanded'?: boolean | "true" | "false" | undefined;
95
113
  'aria-flowto'?: string | undefined;
@@ -287,28 +305,10 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
287
305
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
288
306
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
289
307
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
290
- bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
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
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("../sx").BetterSystemStyleObject | undefined;
310
- autoFocus?: boolean | undefined;
309
+ sx?: import("@styled-system/css").SystemStyleObject | 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" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "size" | "sx" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget"> & React.RefAttributes<HTMLButtonElement>>;
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" | "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" | "size" | "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?: "small" | "medium" | "large" | undefined;
6
+ variant?: "large" | "medium" | "small" | 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;
@@ -55,7 +55,7 @@ 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?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
59
  is?: string | undefined;
60
60
  'aria-activedescendant'?: string | undefined;
61
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -70,7 +70,7 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
70
70
  'aria-describedby'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
76
76
  'aria-flowto'?: string | 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
+ variant?: "large" | "medium" | "small" | 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>;
@@ -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?: "small" | "medium" | "large" | undefined;
6
+ variant?: "large" | "medium" | "small" | 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;
@@ -55,7 +55,7 @@ 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?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
59
  is?: string | undefined;
60
60
  'aria-activedescendant'?: string | undefined;
61
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -70,7 +70,7 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
70
70
  'aria-describedby'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
76
76
  'aria-flowto'?: string | 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
+ variant?: "large" | "medium" | "small" | 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>;
@@ -3,7 +3,7 @@ import { SxProp } from '../sx';
3
3
  import { ComponentProps } from '../utils/types';
4
4
  declare const ButtonOutline: import("styled-components").StyledComponent<"button", any, {
5
5
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
6
- variant?: "small" | "medium" | "large" | undefined;
6
+ variant?: "large" | "medium" | "small" | 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;
@@ -55,7 +55,7 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
55
55
  results?: number | undefined;
56
56
  security?: string | undefined;
57
57
  unselectable?: "on" | "off" | undefined;
58
- inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
58
+ inputMode?: "none" | "text" | "search" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
59
59
  is?: string | undefined;
60
60
  'aria-activedescendant'?: string | undefined;
61
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
@@ -70,7 +70,7 @@ declare const ButtonOutline: import("styled-components").StyledComponent<"button
70
70
  'aria-describedby'?: string | undefined;
71
71
  'aria-details'?: string | undefined;
72
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
73
- 'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
74
74
  'aria-errormessage'?: string | undefined;
75
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
76
76
  'aria-flowto'?: string | undefined;
@@ -268,15 +268,15 @@ declare const ButtonOutline: 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
+ variant?: "large" | "medium" | "small" | 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>;