@primer/components 0.0.0-20219205458 → 0.0.0-2021921114926

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 (78) hide show
  1. package/CHANGELOG.md +3 -1
  2. package/dist/browser.esm.js +47 -39
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +41 -33
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList/Item.js +3 -3
  7. package/lib/Autocomplete/Autocomplete.d.ts +9 -9
  8. package/lib/Autocomplete/AutocompleteInput.d.ts +9 -9
  9. package/lib/Button/Button.d.ts +14 -14
  10. package/lib/Button/Button.js +1 -1
  11. package/lib/Button/ButtonClose.d.ts +35 -35
  12. package/lib/Button/ButtonDanger.d.ts +14 -14
  13. package/lib/Button/ButtonInvisible.d.ts +14 -14
  14. package/lib/Button/ButtonInvisible.js +1 -1
  15. package/lib/Button/ButtonOutline.d.ts +14 -14
  16. package/lib/Button/ButtonPrimary.d.ts +14 -14
  17. package/lib/Button/ButtonTableList.js +1 -1
  18. package/lib/CircleOcticon.d.ts +28 -28
  19. package/lib/Dialog.d.ts +31 -31
  20. package/lib/Dropdown.d.ts +116 -116
  21. package/lib/DropdownMenu/DropdownButton.d.ts +35 -35
  22. package/lib/FilterList.d.ts +24 -24
  23. package/lib/Pagination/Pagination.js +1 -1
  24. package/lib/Position.d.ts +4 -4
  25. package/lib/SelectMenu/SelectMenu.d.ts +135 -135
  26. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  27. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  28. package/lib/TextInputWithTokens.d.ts +9 -9
  29. package/lib/TextInputWithTokens.js +17 -10
  30. package/lib/Timeline.d.ts +29 -29
  31. package/lib/Token/AvatarToken.d.ts +1 -1
  32. package/lib/Token/IssueLabelToken.d.ts +1 -1
  33. package/lib/Token/Token.d.ts +1 -1
  34. package/lib/Token/Token.js +13 -2
  35. package/lib/Token/TokenBase.js +0 -4
  36. package/lib/Token/_RemoveTokenButton.js +15 -2
  37. package/lib/_TextInputWrapper.js +1 -1
  38. package/lib-esm/ActionList/Item.js +3 -3
  39. package/lib-esm/Autocomplete/Autocomplete.d.ts +9 -9
  40. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +9 -9
  41. package/lib-esm/Button/Button.d.ts +14 -14
  42. package/lib-esm/Button/Button.js +1 -1
  43. package/lib-esm/Button/ButtonClose.d.ts +35 -35
  44. package/lib-esm/Button/ButtonDanger.d.ts +14 -14
  45. package/lib-esm/Button/ButtonInvisible.d.ts +14 -14
  46. package/lib-esm/Button/ButtonInvisible.js +1 -1
  47. package/lib-esm/Button/ButtonOutline.d.ts +14 -14
  48. package/lib-esm/Button/ButtonPrimary.d.ts +14 -14
  49. package/lib-esm/Button/ButtonTableList.js +1 -1
  50. package/lib-esm/CircleOcticon.d.ts +28 -28
  51. package/lib-esm/Dialog.d.ts +31 -31
  52. package/lib-esm/Dropdown.d.ts +116 -116
  53. package/lib-esm/DropdownMenu/DropdownButton.d.ts +35 -35
  54. package/lib-esm/FilterList.d.ts +24 -24
  55. package/lib-esm/Pagination/Pagination.js +1 -1
  56. package/lib-esm/Position.d.ts +4 -4
  57. package/lib-esm/SelectMenu/SelectMenu.d.ts +135 -135
  58. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  59. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  60. package/lib-esm/TextInputWithTokens.d.ts +9 -9
  61. package/lib-esm/TextInputWithTokens.js +17 -10
  62. package/lib-esm/Timeline.d.ts +29 -29
  63. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  64. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  65. package/lib-esm/Token/Token.d.ts +1 -1
  66. package/lib-esm/Token/Token.js +13 -2
  67. package/lib-esm/Token/TokenBase.js +0 -4
  68. package/lib-esm/Token/_RemoveTokenButton.js +11 -2
  69. package/lib-esm/_TextInputWrapper.js +1 -1
  70. package/package.json +1 -1
  71. package/lib/NewButton/button.d.ts +0 -11
  72. package/lib/NewButton/button.js +0 -43
  73. package/lib/NewButton/index.d.ts +0 -4
  74. package/lib/NewButton/index.js +0 -21
  75. package/lib-esm/NewButton/button.d.ts +0 -11
  76. package/lib-esm/NewButton/button.js +0 -26
  77. package/lib-esm/NewButton/index.d.ts +0 -4
  78. package/lib-esm/NewButton/index.js +0 -3
@@ -9,7 +9,7 @@ var _react = _interopRequireDefault(require("react"));
9
9
 
10
10
  var _octiconsReact = require("@primer/octicons-react");
11
11
 
12
- var _styledComponents = _interopRequireDefault(require("styled-components"));
12
+ var _styledComponents = _interopRequireWildcard(require("styled-components"));
13
13
 
14
14
  var _styledSystem = require("styled-system");
15
15
 
@@ -19,6 +19,10 @@ var _sx = _interopRequireDefault(require("../sx"));
19
19
 
20
20
  var _TokenBase = require("./TokenBase");
21
21
 
22
+ function _getRequireWildcardCache(nodeInterop) { if (typeof WeakMap !== "function") return null; var cacheBabelInterop = new WeakMap(); var cacheNodeInterop = new WeakMap(); return (_getRequireWildcardCache = function (nodeInterop) { return nodeInterop ? cacheNodeInterop : cacheBabelInterop; })(nodeInterop); }
23
+
24
+ function _interopRequireWildcard(obj, nodeInterop) { if (!nodeInterop && obj && obj.__esModule) { return obj; } if (obj === null || typeof obj !== "object" && typeof obj !== "function") { return { default: obj }; } var cache = _getRequireWildcardCache(nodeInterop); if (cache && cache.has(obj)) { return cache.get(obj); } var newObj = {}; var hasPropertyDescriptor = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var key in obj) { if (key !== "default" && Object.prototype.hasOwnProperty.call(obj, key)) { var desc = hasPropertyDescriptor ? Object.getOwnPropertyDescriptor(obj, key) : null; if (desc && (desc.get || desc.set)) { Object.defineProperty(newObj, key, desc); } else { newObj[key] = obj[key]; } } } newObj.default = obj; if (cache) { cache.set(obj, newObj); } return newObj; }
25
+
22
26
  function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
23
27
 
24
28
  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); }
@@ -50,7 +54,16 @@ const getTokenButtonIconSize = size => parseInt(_TokenBase.tokenSizes[size || _T
50
54
  const StyledTokenButton = _styledComponents.default.span.withConfig({
51
55
  displayName: "_RemoveTokenButton__StyledTokenButton",
52
56
  componentId: "sc-14lvcw1-0"
53
- })(["background-color:transparent;font-family:inherit;color:currentColor;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;user-select:none;appearance:none;text-decoration:none;padding:0;transform:", ";align-self:baseline;border:0;border-radius:999px;&:hover,&:focus{background-color:", ";}&:active{background-color:", ";}", " ", ""], props => `translate(${props.borderOffset}px, -${props.borderOffset}px)`, (0, _constants.get)('colors.neutral.muted'), (0, _constants.get)('colors.neutral.subtle'), variants, _sx.default);
57
+ })(["background-color:transparent;font-family:inherit;color:currentColor;cursor:pointer;display:inline-flex;justify-content:center;align-items:center;user-select:none;appearance:none;text-decoration:none;padding:0;transform:", ";align-self:baseline;border:0;border-radius:999px;", " &:hover,&:focus{background-color:", ";}&:active{background-color:", ";}", " ", ""], props => `translate(${props.borderOffset}px, -${props.borderOffset}px)`, props => {
58
+ switch (props.size) {
59
+ case 'large':
60
+ case 'extralarge':
61
+ return (0, _styledComponents.css)(["margin-left:", ";"], (0, _constants.get)('space.2'));
62
+
63
+ default:
64
+ return (0, _styledComponents.css)(["margin-left:", ";"], (0, _constants.get)('space.1'));
65
+ }
66
+ }, (0, _constants.get)('colors.neutral.muted'), (0, _constants.get)('colors.neutral.subtle'), variants, _sx.default);
54
67
 
55
68
  const RemoveTokenButton = ({
56
69
  'aria-label': ariaLabel,
@@ -45,7 +45,7 @@ const TextInputWrapper = _styledComponents.default.span.withConfig({
45
45
  } else {
46
46
  return (0, _styledComponents.css)(["padding:6px 12px;"]);
47
47
  }
48
- }, (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('space.2'), (0, _constants.get)('colors.accent.emphasis'), (0, _constants.get)('shadows.primer.shadow.focus'), props => props.contrast && (0, _styledComponents.css)(["background-color:", ";"], (0, _constants.get)('colors.canvas.inset')), props => props.disabled && (0, _styledComponents.css)(["color:", ";background-color:", ";border-color:", ";"], (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('colors.input.disabledBg'), (0, _constants.get)('colors.border.default')), props => props.block && (0, _styledComponents.css)(["display:block;width:100%;"]), (0, _constants.get)('breakpoints.1'), (0, _constants.get)('fontSizes.1'), _styledSystem.width, _styledSystem.minWidth, _styledSystem.maxWidth, sizeVariants, _sx.default);
48
+ }, (0, _constants.get)('colors.fg.muted'), (0, _constants.get)('space.2'), (0, _constants.get)('colors.accent.emphasis'), (0, _constants.get)('shadows.primer.shadow.focus'), props => props.contrast && (0, _styledComponents.css)(["background-color:", ";"], (0, _constants.get)('colors.canvas.inset')), props => props.disabled && (0, _styledComponents.css)(["color:", ";background-color:", ";border-color:", ";"], (0, _constants.get)('colors.primer.fg.disabled'), (0, _constants.get)('colors.input.disabledBg'), (0, _constants.get)('colors.border.default')), props => props.block && (0, _styledComponents.css)(["display:block;width:100%;"]), (0, _constants.get)('breakpoints.1'), (0, _constants.get)('fontSizes.1'), _styledSystem.width, _styledSystem.minWidth, _styledSystem.maxWidth, sizeVariants, _sx.default);
49
49
 
50
50
  var _default = TextInputWrapper;
51
51
  exports.default = _default;
@@ -48,9 +48,9 @@ const customItemThemes = {
48
48
  const getItemVariant = (variant = 'default', disabled) => {
49
49
  if (disabled) {
50
50
  return {
51
- color: get('colors.fg.muted'),
52
- iconColor: get('colors.fg.muted'),
53
- annotationColor: get('colors.fg.muted'),
51
+ color: get('colors.primer.fg.disabled'),
52
+ iconColor: get('colors.primer.fg.disabled'),
53
+ annotationColor: get('colors.primer.fg.disabled'),
54
54
  hoverCursor: 'default'
55
55
  };
56
56
  }
@@ -20,7 +20,7 @@ declare const _default: React.FC<{
20
20
  } & {
21
21
  as?: string | React.ComponentType<any> | undefined;
22
22
  forwardedAs?: string | React.ComponentType<any> | undefined;
23
- }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "disabled" | "className" | "icon" | "sx" | "variant" | "contrast"> & {
23
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
24
24
  className?: string | undefined;
25
25
  icon?: React.ComponentType<{
26
26
  className?: string | undefined;
@@ -32,13 +32,12 @@ declare const _default: React.FC<{
32
32
  translate?: "yes" | "no" | undefined;
33
33
  width?: import("styled-system").ResponsiveValue<import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
34
34
  hidden?: boolean | undefined;
35
+ children?: React.ReactNode;
36
+ ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
35
37
  slot?: string | undefined;
36
38
  style?: React.CSSProperties | undefined;
37
39
  title?: string | undefined;
38
- ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
39
- block?: boolean | undefined;
40
40
  key?: React.Key | null | undefined;
41
- disabled?: boolean | undefined;
42
41
  defaultChecked?: boolean | undefined;
43
42
  defaultValue?: string | number | readonly string[] | undefined;
44
43
  suppressContentEditableWarning?: boolean | undefined;
@@ -79,7 +78,7 @@ declare const _default: React.FC<{
79
78
  is?: string | undefined;
80
79
  'aria-activedescendant'?: string | undefined;
81
80
  'aria-atomic'?: boolean | "true" | "false" | undefined;
82
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
81
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
83
82
  'aria-busy'?: boolean | "true" | "false" | undefined;
84
83
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
85
84
  'aria-colcount'?: number | undefined;
@@ -90,12 +89,12 @@ declare const _default: React.FC<{
90
89
  'aria-describedby'?: string | undefined;
91
90
  'aria-details'?: string | undefined;
92
91
  'aria-disabled'?: boolean | "true" | "false" | undefined;
93
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
92
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
94
93
  'aria-errormessage'?: string | undefined;
95
94
  'aria-expanded'?: boolean | "true" | "false" | undefined;
96
95
  'aria-flowto'?: string | undefined;
97
96
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
98
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
97
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
99
98
  'aria-hidden'?: boolean | "true" | "false" | undefined;
100
99
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
101
100
  'aria-keyshortcuts'?: string | undefined;
@@ -125,7 +124,6 @@ declare const _default: React.FC<{
125
124
  'aria-valuemin'?: number | undefined;
126
125
  'aria-valuenow'?: number | undefined;
127
126
  'aria-valuetext'?: string | undefined;
128
- children?: React.ReactNode;
129
127
  dangerouslySetInnerHTML?: {
130
128
  __html: string;
131
129
  } | undefined;
@@ -289,13 +287,15 @@ declare const _default: React.FC<{
289
287
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
290
288
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
291
289
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
290
+ block?: boolean | undefined;
292
291
  sx?: import("@styled-system/css").SystemStyleObject | undefined;
292
+ disabled?: boolean | undefined;
293
293
  variant?: "large" | "small" | undefined;
294
294
  hasIcon?: boolean | undefined;
295
295
  contrast?: boolean | undefined;
296
296
  } & {
297
297
  theme?: any;
298
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "disabled" | "sx" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, {
298
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "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" | "block" | "disabled" | "className" | "icon" | "sx" | "variant" | "contrast"> & {
15
+ }, string | number | symbol>, "maxWidth" | "minWidth" | "width" | "theme" | "className" | "block" | "icon" | "sx" | "disabled" | "variant" | "contrast"> & {
16
16
  className?: string | undefined;
17
17
  icon?: React.ComponentType<{
18
18
  className?: string | undefined;
@@ -24,13 +24,12 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
24
24
  translate?: "yes" | "no" | undefined;
25
25
  width?: import("styled-system").ResponsiveValue<import("csstype").Property.Width<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
26
26
  hidden?: boolean | undefined;
27
+ children?: React.ReactNode;
28
+ ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
27
29
  slot?: string | undefined;
28
30
  style?: React.CSSProperties | undefined;
29
31
  title?: string | undefined;
30
- ref?: ((instance: HTMLSpanElement | null) => void) | React.RefObject<HTMLSpanElement> | null | undefined;
31
- block?: boolean | undefined;
32
32
  key?: React.Key | null | undefined;
33
- disabled?: boolean | undefined;
34
33
  defaultChecked?: boolean | undefined;
35
34
  defaultValue?: string | number | readonly string[] | undefined;
36
35
  suppressContentEditableWarning?: boolean | undefined;
@@ -71,7 +70,7 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
71
70
  is?: string | undefined;
72
71
  'aria-activedescendant'?: string | undefined;
73
72
  'aria-atomic'?: boolean | "true" | "false" | undefined;
74
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
73
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
75
74
  'aria-busy'?: boolean | "true" | "false" | undefined;
76
75
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
77
76
  'aria-colcount'?: number | undefined;
@@ -82,12 +81,12 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
82
81
  'aria-describedby'?: string | undefined;
83
82
  'aria-details'?: string | undefined;
84
83
  'aria-disabled'?: boolean | "true" | "false" | undefined;
85
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
84
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
86
85
  'aria-errormessage'?: string | undefined;
87
86
  'aria-expanded'?: boolean | "true" | "false" | undefined;
88
87
  'aria-flowto'?: string | undefined;
89
88
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
90
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
89
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
91
90
  'aria-hidden'?: boolean | "true" | "false" | undefined;
92
91
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
93
92
  'aria-keyshortcuts'?: string | undefined;
@@ -117,7 +116,6 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
117
116
  'aria-valuemin'?: number | undefined;
118
117
  'aria-valuenow'?: number | undefined;
119
118
  'aria-valuetext'?: string | undefined;
120
- children?: React.ReactNode;
121
119
  dangerouslySetInnerHTML?: {
122
120
  __html: string;
123
121
  } | undefined;
@@ -281,12 +279,14 @@ declare const AutocompleteInput: PolymorphicForwardRefComponent<React.ForwardRef
281
279
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLSpanElement> | undefined;
282
280
  onTransitionEnd?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
283
281
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLSpanElement> | undefined;
282
+ block?: boolean | undefined;
284
283
  sx?: import("@styled-system/css").SystemStyleObject | undefined;
284
+ disabled?: boolean | undefined;
285
285
  variant?: "large" | "small" | undefined;
286
286
  hasIcon?: boolean | undefined;
287
287
  contrast?: boolean | undefined;
288
288
  } & {
289
289
  theme?: any;
290
- }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "disabled" | "sx" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
290
+ }, "maxWidth" | "minWidth" | "width" | "theme" | "block" | "sx" | "disabled" | "variant" | "contrast">, string | number | symbol> & React.RefAttributes<HTMLInputElement>>, InternalAutocompleteInputProps>;
291
291
  export declare type AutocompleteInputProps = ComponentProps<typeof AutocompleteInput>;
292
292
  export default AutocompleteInput;
@@ -9,22 +9,16 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
9
9
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
10
10
  translate?: "yes" | "no" | undefined;
11
11
  hidden?: boolean | undefined;
12
+ children?: import("react").ReactNode;
13
+ value?: string | number | readonly string[] | undefined;
14
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
12
15
  form?: string | undefined;
13
16
  slot?: string | undefined;
14
17
  style?: import("react").CSSProperties | undefined;
15
18
  title?: string | undefined;
16
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
17
- type?: "button" | "submit" | "reset" | undefined;
19
+ type?: "button" | "reset" | "submit" | undefined;
18
20
  name?: string | undefined;
19
21
  key?: import("react").Key | null | undefined;
20
- autoFocus?: boolean | undefined;
21
- disabled?: boolean | undefined;
22
- formAction?: string | undefined;
23
- formEncType?: string | undefined;
24
- formMethod?: string | undefined;
25
- formNoValidate?: boolean | undefined;
26
- formTarget?: string | undefined;
27
- value?: string | number | readonly string[] | undefined;
28
22
  defaultChecked?: boolean | undefined;
29
23
  defaultValue?: string | number | readonly string[] | undefined;
30
24
  suppressContentEditableWarning?: boolean | undefined;
@@ -65,7 +59,7 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
65
59
  is?: string | undefined;
66
60
  'aria-activedescendant'?: string | undefined;
67
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
68
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
62
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
69
63
  'aria-busy'?: boolean | "true" | "false" | undefined;
70
64
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
71
65
  'aria-colcount'?: number | undefined;
@@ -76,12 +70,12 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
76
70
  'aria-describedby'?: string | undefined;
77
71
  'aria-details'?: string | undefined;
78
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
79
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
80
74
  'aria-errormessage'?: string | undefined;
81
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
82
76
  'aria-flowto'?: string | undefined;
83
77
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
84
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
78
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
85
79
  'aria-hidden'?: boolean | "true" | "false" | undefined;
86
80
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
87
81
  'aria-keyshortcuts'?: string | undefined;
@@ -111,7 +105,6 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
111
105
  'aria-valuemin'?: number | undefined;
112
106
  'aria-valuenow'?: number | undefined;
113
107
  'aria-valuetext'?: string | undefined;
114
- children?: import("react").ReactNode;
115
108
  dangerouslySetInnerHTML?: {
116
109
  __html: string;
117
110
  } | undefined;
@@ -275,6 +268,13 @@ declare const Button: import("styled-components").StyledComponent<"button", any,
275
268
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
276
269
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
277
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
+ autoFocus?: boolean | undefined;
272
+ disabled?: boolean | undefined;
273
+ formAction?: string | undefined;
274
+ formEncType?: string | undefined;
275
+ formMethod?: string | undefined;
276
+ formNoValidate?: boolean | undefined;
277
+ formTarget?: string | undefined;
278
278
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
279
279
  variant?: "large" | "medium" | "small" | undefined;
280
280
  } & {
@@ -5,5 +5,5 @@ import ButtonBase, { buttonSystemProps } from './ButtonBase';
5
5
  const Button = styled(ButtonBase).withConfig({
6
6
  displayName: "Button",
7
7
  componentId: "xjtz72-0"
8
- })(["color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ",", "};&:hover{background-color:", ";border-color:", ";}&:focus{border-color:", ";box-shadow:", ";}&:active{background-color:", ";box-shadow:", ";}&:disabled{color:", ";background-color:", ";border-color:", ";}", ";", ";"], get('colors.btn.text'), get('colors.btn.bg'), get('colors.btn.border'), get('shadows.btn.shadow'), get('shadows.btn.insetShadow'), get('colors.btn.hoverBg'), get('colors.btn.hoverBorder'), get('colors.btn.focusBorder'), get('shadows.btn.focusShadow'), get('colors.btn.selectedBg'), get('shadows.btn.shadowActive'), get('colors.fg.muted'), get('colors.btn.bg'), get('colors.btn.border'), buttonSystemProps, sx);
8
+ })(["color:", ";background-color:", ";border:1px solid ", ";box-shadow:", ",", "};&:hover{background-color:", ";border-color:", ";}&:focus{border-color:", ";box-shadow:", ";}&:active{background-color:", ";box-shadow:", ";}&:disabled{color:", ";background-color:", ";border-color:", ";}", ";", ";"], get('colors.btn.text'), get('colors.btn.bg'), get('colors.btn.border'), get('shadows.btn.shadow'), get('shadows.btn.insetShadow'), get('colors.btn.hoverBg'), get('colors.btn.hoverBorder'), get('colors.btn.focusBorder'), get('shadows.btn.focusShadow'), get('colors.btn.selectedBg'), get('shadows.btn.shadowActive'), get('colors.primer.fg.disabled'), get('colors.btn.bg'), get('colors.btn.border'), buttonSystemProps, sx);
9
9
  export default Button;
@@ -26,43 +26,18 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
26
26
  margin?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
27
27
  overflow?: import("styled-system").ResponsiveValue<import("csstype").Property.Overflow, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
28
28
  padding?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
29
- bg?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
30
- m?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
31
- mt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
32
- mr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
33
- mb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
34
- ml?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
35
- mx?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
36
- marginX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
37
- my?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
38
- marginY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
39
- p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
40
- pt?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
41
- pr?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
42
- pb?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
43
- pl?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
44
- px?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
45
- paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
46
- py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
47
- paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
48
29
  hidden?: boolean | undefined;
30
+ children?: React.ReactNode;
31
+ value?: string | number | readonly string[] | undefined;
32
+ ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
49
33
  form?: string | undefined;
34
+ p?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
50
35
  slot?: string | undefined;
51
36
  style?: React.CSSProperties | undefined;
52
37
  title?: string | undefined;
53
- ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
54
- size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
55
- type?: "button" | "submit" | "reset" | undefined;
38
+ type?: "button" | "reset" | "submit" | undefined;
56
39
  name?: string | undefined;
57
40
  key?: React.Key | null | undefined;
58
- autoFocus?: boolean | undefined;
59
- disabled?: boolean | undefined;
60
- formAction?: string | undefined;
61
- formEncType?: string | undefined;
62
- formMethod?: string | undefined;
63
- formNoValidate?: boolean | undefined;
64
- formTarget?: string | undefined;
65
- value?: string | number | readonly string[] | undefined;
66
41
  defaultChecked?: boolean | undefined;
67
42
  defaultValue?: string | number | readonly string[] | undefined;
68
43
  suppressContentEditableWarning?: boolean | undefined;
@@ -103,7 +78,7 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
103
78
  is?: string | undefined;
104
79
  'aria-activedescendant'?: string | undefined;
105
80
  'aria-atomic'?: boolean | "true" | "false" | undefined;
106
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
81
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
107
82
  'aria-busy'?: boolean | "true" | "false" | undefined;
108
83
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
109
84
  'aria-colcount'?: number | undefined;
@@ -114,12 +89,12 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
114
89
  'aria-describedby'?: string | undefined;
115
90
  'aria-details'?: string | undefined;
116
91
  'aria-disabled'?: boolean | "true" | "false" | undefined;
117
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
92
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
118
93
  'aria-errormessage'?: string | undefined;
119
94
  'aria-expanded'?: boolean | "true" | "false" | undefined;
120
95
  'aria-flowto'?: string | undefined;
121
96
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
122
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
97
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
123
98
  'aria-hidden'?: boolean | "true" | "false" | undefined;
124
99
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
125
100
  'aria-keyshortcuts'?: string | undefined;
@@ -149,7 +124,6 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
149
124
  'aria-valuemin'?: number | undefined;
150
125
  'aria-valuenow'?: number | undefined;
151
126
  'aria-valuetext'?: string | undefined;
152
- children?: React.ReactNode;
153
127
  dangerouslySetInnerHTML?: {
154
128
  __html: string;
155
129
  } | undefined;
@@ -313,9 +287,35 @@ declare const ButtonClose: React.ForwardRefExoticComponent<Pick<{
313
287
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
314
288
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
315
289
  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
+ size?: import("styled-system").ResponsiveValue<import("csstype").Property.Height<import("styled-system").TLengthStyledSystem>, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
316
309
  sx?: import("@styled-system/css").SystemStyleObject | undefined;
310
+ autoFocus?: boolean | undefined;
311
+ disabled?: boolean | undefined;
312
+ formAction?: string | undefined;
313
+ formEncType?: string | undefined;
314
+ formMethod?: string | undefined;
315
+ formNoValidate?: boolean | undefined;
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" | "bg" | "m" | "mt" | "mr" | "mb" | "ml" | "mx" | "marginX" | "my" | "marginY" | "p" | "pt" | "pr" | "pb" | "pl" | "px" | "paddingX" | "py" | "paddingY" | "hidden" | "theme" | "form" | "slot" | "style" | "title" | "size" | "type" | "name" | "key" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "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" | "children" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "sx"> & 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" | "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>>;
320
320
  export declare type ButtonCloseProps = ComponentProps<typeof ButtonClose>;
321
321
  export default ButtonClose;
@@ -9,22 +9,16 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
9
9
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
10
10
  translate?: "yes" | "no" | undefined;
11
11
  hidden?: boolean | undefined;
12
+ children?: import("react").ReactNode;
13
+ value?: string | number | readonly string[] | undefined;
14
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
12
15
  form?: string | undefined;
13
16
  slot?: string | undefined;
14
17
  style?: import("react").CSSProperties | undefined;
15
18
  title?: string | undefined;
16
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
17
- type?: "button" | "submit" | "reset" | undefined;
19
+ type?: "button" | "reset" | "submit" | undefined;
18
20
  name?: string | undefined;
19
21
  key?: import("react").Key | null | undefined;
20
- autoFocus?: boolean | undefined;
21
- disabled?: boolean | undefined;
22
- formAction?: string | undefined;
23
- formEncType?: string | undefined;
24
- formMethod?: string | undefined;
25
- formNoValidate?: boolean | undefined;
26
- formTarget?: string | undefined;
27
- value?: string | number | readonly string[] | undefined;
28
22
  defaultChecked?: boolean | undefined;
29
23
  defaultValue?: string | number | readonly string[] | undefined;
30
24
  suppressContentEditableWarning?: boolean | undefined;
@@ -65,7 +59,7 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
65
59
  is?: string | undefined;
66
60
  'aria-activedescendant'?: string | undefined;
67
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
68
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
62
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
69
63
  'aria-busy'?: boolean | "true" | "false" | undefined;
70
64
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
71
65
  'aria-colcount'?: number | undefined;
@@ -76,12 +70,12 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
76
70
  'aria-describedby'?: string | undefined;
77
71
  'aria-details'?: string | undefined;
78
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
79
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
80
74
  'aria-errormessage'?: string | undefined;
81
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
82
76
  'aria-flowto'?: string | undefined;
83
77
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
84
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
78
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
85
79
  'aria-hidden'?: boolean | "true" | "false" | undefined;
86
80
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
87
81
  'aria-keyshortcuts'?: string | undefined;
@@ -111,7 +105,6 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
111
105
  'aria-valuemin'?: number | undefined;
112
106
  'aria-valuenow'?: number | undefined;
113
107
  'aria-valuetext'?: string | undefined;
114
- children?: import("react").ReactNode;
115
108
  dangerouslySetInnerHTML?: {
116
109
  __html: string;
117
110
  } | undefined;
@@ -275,6 +268,13 @@ declare const ButtonDanger: import("styled-components").StyledComponent<"button"
275
268
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
276
269
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
277
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
+ autoFocus?: boolean | undefined;
272
+ disabled?: boolean | undefined;
273
+ formAction?: string | undefined;
274
+ formEncType?: string | undefined;
275
+ formMethod?: string | undefined;
276
+ formNoValidate?: boolean | undefined;
277
+ formTarget?: string | undefined;
278
278
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
279
279
  variant?: "large" | "medium" | "small" | undefined;
280
280
  } & {
@@ -9,22 +9,16 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
9
9
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
10
10
  translate?: "yes" | "no" | undefined;
11
11
  hidden?: boolean | undefined;
12
+ children?: import("react").ReactNode;
13
+ value?: string | number | readonly string[] | undefined;
14
+ ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
12
15
  form?: string | undefined;
13
16
  slot?: string | undefined;
14
17
  style?: import("react").CSSProperties | undefined;
15
18
  title?: string | undefined;
16
- ref?: ((instance: HTMLButtonElement | null) => void) | import("react").RefObject<HTMLButtonElement> | null | undefined;
17
- type?: "button" | "submit" | "reset" | undefined;
19
+ type?: "button" | "reset" | "submit" | undefined;
18
20
  name?: string | undefined;
19
21
  key?: import("react").Key | null | undefined;
20
- autoFocus?: boolean | undefined;
21
- disabled?: boolean | undefined;
22
- formAction?: string | undefined;
23
- formEncType?: string | undefined;
24
- formMethod?: string | undefined;
25
- formNoValidate?: boolean | undefined;
26
- formTarget?: string | undefined;
27
- value?: string | number | readonly string[] | undefined;
28
22
  defaultChecked?: boolean | undefined;
29
23
  defaultValue?: string | number | readonly string[] | undefined;
30
24
  suppressContentEditableWarning?: boolean | undefined;
@@ -65,7 +59,7 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
65
59
  is?: string | undefined;
66
60
  'aria-activedescendant'?: string | undefined;
67
61
  'aria-atomic'?: boolean | "true" | "false" | undefined;
68
- 'aria-autocomplete'?: "none" | "list" | "both" | "inline" | undefined;
62
+ 'aria-autocomplete'?: "none" | "list" | "inline" | "both" | undefined;
69
63
  'aria-busy'?: boolean | "true" | "false" | undefined;
70
64
  'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
71
65
  'aria-colcount'?: number | undefined;
@@ -76,12 +70,12 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
76
70
  'aria-describedby'?: string | undefined;
77
71
  'aria-details'?: string | undefined;
78
72
  'aria-disabled'?: boolean | "true" | "false" | undefined;
79
- 'aria-dropeffect'?: "none" | "link" | "copy" | "move" | "execute" | "popup" | undefined;
73
+ 'aria-dropeffect'?: "none" | "link" | "copy" | "execute" | "move" | "popup" | undefined;
80
74
  'aria-errormessage'?: string | undefined;
81
75
  'aria-expanded'?: boolean | "true" | "false" | undefined;
82
76
  'aria-flowto'?: string | undefined;
83
77
  'aria-grabbed'?: boolean | "true" | "false" | undefined;
84
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "true" | "false" | "listbox" | "tree" | undefined;
78
+ 'aria-haspopup'?: boolean | "grid" | "dialog" | "menu" | "listbox" | "tree" | "true" | "false" | undefined;
85
79
  'aria-hidden'?: boolean | "true" | "false" | undefined;
86
80
  'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
87
81
  'aria-keyshortcuts'?: string | undefined;
@@ -111,7 +105,6 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
111
105
  'aria-valuemin'?: number | undefined;
112
106
  'aria-valuenow'?: number | undefined;
113
107
  'aria-valuetext'?: string | undefined;
114
- children?: import("react").ReactNode;
115
108
  dangerouslySetInnerHTML?: {
116
109
  __html: string;
117
110
  } | undefined;
@@ -275,6 +268,13 @@ declare const ButtonInvisible: import("styled-components").StyledComponent<"butt
275
268
  onAnimationIterationCapture?: import("react").AnimationEventHandler<HTMLButtonElement> | undefined;
276
269
  onTransitionEnd?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
277
270
  onTransitionEndCapture?: import("react").TransitionEventHandler<HTMLButtonElement> | undefined;
271
+ autoFocus?: boolean | undefined;
272
+ disabled?: boolean | undefined;
273
+ formAction?: string | undefined;
274
+ formEncType?: string | undefined;
275
+ formMethod?: string | undefined;
276
+ formNoValidate?: boolean | undefined;
277
+ formTarget?: string | undefined;
278
278
  as?: string | import("react").ComponentClass<any, any> | import("react").FunctionComponent<any> | undefined;
279
279
  variant?: "large" | "medium" | "small" | undefined;
280
280
  } & {