@primer/components 0.0.0-202192952423 → 0.0.0-202192953933

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 (82) hide show
  1. package/CHANGELOG.md +17 -1
  2. package/dist/browser.esm.js +16 -12
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +16 -12
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/Autocomplete/Autocomplete.d.ts +28 -28
  7. package/lib/Autocomplete/AutocompleteInput.d.ts +28 -28
  8. package/lib/Button/Button.d.ts +26 -26
  9. package/lib/Button/ButtonBase.d.ts +1 -1
  10. package/lib/Button/ButtonClose.d.ts +27 -27
  11. package/lib/Button/ButtonDanger.d.ts +26 -26
  12. package/lib/Button/ButtonInvisible.d.ts +26 -26
  13. package/lib/Button/ButtonOutline.d.ts +26 -26
  14. package/lib/Button/ButtonPrimary.d.ts +26 -26
  15. package/lib/CircleBadge.d.ts +2 -2
  16. package/lib/CircleOcticon.d.ts +30 -30
  17. package/lib/Dialog.d.ts +33 -33
  18. package/lib/Dropdown.d.ts +112 -112
  19. package/lib/DropdownMenu/DropdownButton.d.ts +28 -28
  20. package/lib/FilterList.d.ts +25 -25
  21. package/lib/Flash.d.ts +1 -1
  22. package/lib/Label.d.ts +1 -1
  23. package/lib/NewButton/button.d.ts +58 -58
  24. package/lib/Position.d.ts +4 -4
  25. package/lib/SelectMenu/SelectMenu.d.ts +159 -159
  26. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  27. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  28. package/lib/TextInputWithTokens.d.ts +32 -28
  29. package/lib/TextInputWithTokens.js +102 -29
  30. package/lib/Timeline.d.ts +31 -31
  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/sx.d.ts +8 -2
  39. package/lib/theme.d.ts +78 -0
  40. package/lib/theme.js +3 -1
  41. package/lib/utils/testing.d.ts +1 -1
  42. package/lib/utils/types/KeyPaths.d.ts +3 -0
  43. package/lib/utils/types/KeyPaths.js +1 -0
  44. package/lib-esm/Autocomplete/Autocomplete.d.ts +28 -28
  45. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +28 -28
  46. package/lib-esm/Button/Button.d.ts +26 -26
  47. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  48. package/lib-esm/Button/ButtonClose.d.ts +27 -27
  49. package/lib-esm/Button/ButtonDanger.d.ts +26 -26
  50. package/lib-esm/Button/ButtonInvisible.d.ts +26 -26
  51. package/lib-esm/Button/ButtonOutline.d.ts +26 -26
  52. package/lib-esm/Button/ButtonPrimary.d.ts +26 -26
  53. package/lib-esm/CircleBadge.d.ts +2 -2
  54. package/lib-esm/CircleOcticon.d.ts +30 -30
  55. package/lib-esm/Dialog.d.ts +33 -33
  56. package/lib-esm/Dropdown.d.ts +112 -112
  57. package/lib-esm/DropdownMenu/DropdownButton.d.ts +28 -28
  58. package/lib-esm/FilterList.d.ts +25 -25
  59. package/lib-esm/Flash.d.ts +1 -1
  60. package/lib-esm/Label.d.ts +1 -1
  61. package/lib-esm/NewButton/button.d.ts +58 -58
  62. package/lib-esm/Position.d.ts +4 -4
  63. package/lib-esm/SelectMenu/SelectMenu.d.ts +159 -159
  64. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  65. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  66. package/lib-esm/TextInputWithTokens.d.ts +32 -28
  67. package/lib-esm/TextInputWithTokens.js +101 -30
  68. package/lib-esm/Timeline.d.ts +31 -31
  69. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  70. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  71. package/lib-esm/Token/Token.d.ts +1 -1
  72. package/lib-esm/Token/Token.js +13 -2
  73. package/lib-esm/Token/TokenBase.js +0 -4
  74. package/lib-esm/Token/_RemoveTokenButton.js +11 -2
  75. package/lib-esm/_TextInputWrapper.js +1 -1
  76. package/lib-esm/sx.d.ts +8 -2
  77. package/lib-esm/theme.d.ts +78 -0
  78. package/lib-esm/theme.js +2 -1
  79. package/lib-esm/utils/testing.d.ts +1 -1
  80. package/lib-esm/utils/types/KeyPaths.d.ts +3 -0
  81. package/lib-esm/utils/types/KeyPaths.js +1 -0
  82. package/package.json +2 -1
@@ -50,8 +50,10 @@ declare const _default: {
50
50
  paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
51
51
  py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
52
52
  paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
53
- slot?: string | undefined;
53
+ hidden?: boolean | undefined;
54
54
  style?: React.CSSProperties | undefined;
55
+ open?: boolean | undefined;
56
+ slot?: string | undefined;
55
57
  title?: string | undefined;
56
58
  ref?: ((instance: HTMLElement | null) => void) | React.RefObject<HTMLElement> | null | undefined;
57
59
  key?: React.Key | null | undefined;
@@ -61,15 +63,14 @@ declare const _default: {
61
63
  suppressHydrationWarning?: boolean | undefined;
62
64
  accessKey?: string | undefined;
63
65
  className?: string | undefined;
64
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
66
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
65
67
  contextMenu?: string | undefined;
66
68
  dir?: string | undefined;
67
- draggable?: (boolean | "true" | "false") | undefined;
68
- hidden?: boolean | undefined;
69
+ draggable?: (boolean | "false" | "true") | undefined;
69
70
  id?: string | undefined;
70
71
  lang?: string | undefined;
71
72
  placeholder?: string | undefined;
72
- spellCheck?: (boolean | "true" | "false") | undefined;
73
+ spellCheck?: (boolean | "false" | "true") | undefined;
73
74
  tabIndex?: number | undefined;
74
75
  radioGroup?: string | undefined;
75
76
  role?: React.AriaRole | undefined;
@@ -92,50 +93,50 @@ declare const _default: {
92
93
  results?: number | undefined;
93
94
  security?: string | undefined;
94
95
  unselectable?: "on" | "off" | undefined;
95
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
96
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
96
97
  is?: string | undefined;
97
98
  'aria-activedescendant'?: string | undefined;
98
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
99
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
100
- 'aria-busy'?: boolean | "true" | "false" | undefined;
101
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
99
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
100
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
101
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
102
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
102
103
  'aria-colcount'?: number | undefined;
103
104
  'aria-colindex'?: number | undefined;
104
105
  'aria-colspan'?: number | undefined;
105
106
  'aria-controls'?: string | undefined;
106
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
107
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
107
108
  'aria-describedby'?: string | undefined;
108
109
  'aria-details'?: string | undefined;
109
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
110
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
110
111
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
111
112
  'aria-errormessage'?: string | undefined;
112
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
113
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
113
114
  'aria-flowto'?: string | undefined;
114
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
115
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
116
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
117
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
115
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
116
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
117
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
118
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
118
119
  'aria-keyshortcuts'?: string | undefined;
119
120
  'aria-label'?: string | undefined;
120
121
  'aria-labelledby'?: string | undefined;
121
122
  'aria-level'?: number | undefined;
122
123
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
123
- 'aria-modal'?: boolean | "true" | "false" | undefined;
124
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
125
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
124
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
125
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
126
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
126
127
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
127
128
  'aria-owns'?: string | undefined;
128
129
  'aria-placeholder'?: string | undefined;
129
130
  'aria-posinset'?: number | undefined;
130
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
131
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
131
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
132
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
132
133
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
133
- 'aria-required'?: boolean | "true" | "false" | undefined;
134
+ 'aria-required'?: boolean | "false" | "true" | undefined;
134
135
  'aria-roledescription'?: string | undefined;
135
136
  'aria-rowcount'?: number | undefined;
136
137
  'aria-rowindex'?: number | undefined;
137
138
  'aria-rowspan'?: number | undefined;
138
- 'aria-selected'?: boolean | "true" | "false" | undefined;
139
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
139
140
  'aria-setsize'?: number | undefined;
140
141
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
141
142
  'aria-valuemax'?: number | undefined;
@@ -306,8 +307,7 @@ declare const _default: {
306
307
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
307
308
  onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
308
309
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
309
- open?: boolean | undefined;
310
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
310
+ sx?: import("./sx").BetterSystemStyleObject | undefined;
311
311
  onToggle?: React.ReactEventHandler<HTMLElement> | undefined;
312
312
  } & {
313
313
  theme?: any;
@@ -347,8 +347,10 @@ declare const _default: {
347
347
  paddingX?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
348
348
  py?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
349
349
  paddingY?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
350
- slot?: string | undefined;
350
+ hidden?: boolean | undefined;
351
351
  style?: React.CSSProperties | undefined;
352
+ open?: boolean | undefined;
353
+ slot?: string | undefined;
352
354
  title?: string | undefined;
353
355
  ref?: ((instance: HTMLElement | null) => void) | React.RefObject<HTMLElement> | null | undefined;
354
356
  key?: React.Key | null | undefined;
@@ -358,15 +360,14 @@ declare const _default: {
358
360
  suppressHydrationWarning?: boolean | undefined;
359
361
  accessKey?: string | undefined;
360
362
  className?: string | undefined;
361
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
363
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
362
364
  contextMenu?: string | undefined;
363
365
  dir?: string | undefined;
364
- draggable?: (boolean | "true" | "false") | undefined;
365
- hidden?: boolean | undefined;
366
+ draggable?: (boolean | "false" | "true") | undefined;
366
367
  id?: string | undefined;
367
368
  lang?: string | undefined;
368
369
  placeholder?: string | undefined;
369
- spellCheck?: (boolean | "true" | "false") | undefined;
370
+ spellCheck?: (boolean | "false" | "true") | undefined;
370
371
  tabIndex?: number | undefined;
371
372
  radioGroup?: string | undefined;
372
373
  role?: React.AriaRole | undefined;
@@ -389,50 +390,50 @@ declare const _default: {
389
390
  results?: number | undefined;
390
391
  security?: string | undefined;
391
392
  unselectable?: "on" | "off" | undefined;
392
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
393
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
393
394
  is?: string | undefined;
394
395
  'aria-activedescendant'?: string | undefined;
395
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
396
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
397
- 'aria-busy'?: boolean | "true" | "false" | undefined;
398
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
396
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
397
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
398
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
399
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
399
400
  'aria-colcount'?: number | undefined;
400
401
  'aria-colindex'?: number | undefined;
401
402
  'aria-colspan'?: number | undefined;
402
403
  'aria-controls'?: string | undefined;
403
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
404
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
404
405
  'aria-describedby'?: string | undefined;
405
406
  'aria-details'?: string | undefined;
406
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
407
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
407
408
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
408
409
  'aria-errormessage'?: string | undefined;
409
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
410
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
410
411
  'aria-flowto'?: string | undefined;
411
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
412
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
413
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
414
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
412
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
413
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
414
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
415
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
415
416
  'aria-keyshortcuts'?: string | undefined;
416
417
  'aria-label'?: string | undefined;
417
418
  'aria-labelledby'?: string | undefined;
418
419
  'aria-level'?: number | undefined;
419
420
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
420
- 'aria-modal'?: boolean | "true" | "false" | undefined;
421
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
422
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
421
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
422
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
423
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
423
424
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
424
425
  'aria-owns'?: string | undefined;
425
426
  'aria-placeholder'?: string | undefined;
426
427
  'aria-posinset'?: number | undefined;
427
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
428
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
428
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
429
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
429
430
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
430
- 'aria-required'?: boolean | "true" | "false" | undefined;
431
+ 'aria-required'?: boolean | "false" | "true" | undefined;
431
432
  'aria-roledescription'?: string | undefined;
432
433
  'aria-rowcount'?: number | undefined;
433
434
  'aria-rowindex'?: number | undefined;
434
435
  'aria-rowspan'?: number | undefined;
435
- 'aria-selected'?: boolean | "true" | "false" | undefined;
436
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
436
437
  'aria-setsize'?: number | undefined;
437
438
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
438
439
  'aria-valuemax'?: number | undefined;
@@ -603,8 +604,7 @@ declare const _default: {
603
604
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
604
605
  onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
605
606
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
606
- open?: boolean | undefined;
607
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
607
+ sx?: import("./sx").BetterSystemStyleObject | undefined;
608
608
  onToggle?: React.ReactEventHandler<HTMLElement> | undefined;
609
609
  } & {
610
610
  theme?: any;
@@ -620,9 +620,13 @@ declare const _default: {
620
620
  color?: string | undefined;
621
621
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
622
622
  translate?: "yes" | "no" | undefined;
623
+ hidden?: boolean | undefined;
624
+ size?: "small" | "medium" | "large" | undefined;
625
+ style?: React.CSSProperties | undefined;
626
+ icon?: React.FunctionComponent<import("@primer/octicons-react/dist/icons").IconProps> | undefined;
627
+ caret?: boolean | undefined;
623
628
  form?: string | undefined;
624
629
  slot?: string | undefined;
625
- style?: React.CSSProperties | undefined;
626
630
  title?: string | undefined;
627
631
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
628
632
  type?: "button" | "reset" | "submit" | undefined;
@@ -634,15 +638,14 @@ declare const _default: {
634
638
  suppressHydrationWarning?: boolean | undefined;
635
639
  accessKey?: string | undefined;
636
640
  className?: string | undefined;
637
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
641
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
638
642
  contextMenu?: string | undefined;
639
643
  dir?: string | undefined;
640
- draggable?: (boolean | "true" | "false") | undefined;
641
- hidden?: boolean | undefined;
644
+ draggable?: (boolean | "false" | "true") | undefined;
642
645
  id?: string | undefined;
643
646
  lang?: string | undefined;
644
647
  placeholder?: string | undefined;
645
- spellCheck?: (boolean | "true" | "false") | undefined;
648
+ spellCheck?: (boolean | "false" | "true") | undefined;
646
649
  tabIndex?: number | undefined;
647
650
  radioGroup?: string | undefined;
648
651
  role?: React.AriaRole | undefined;
@@ -665,50 +668,50 @@ declare const _default: {
665
668
  results?: number | undefined;
666
669
  security?: string | undefined;
667
670
  unselectable?: "on" | "off" | undefined;
668
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
671
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
669
672
  is?: string | undefined;
670
673
  'aria-activedescendant'?: string | undefined;
671
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
672
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
673
- 'aria-busy'?: boolean | "true" | "false" | undefined;
674
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
674
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
675
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
676
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
677
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
675
678
  'aria-colcount'?: number | undefined;
676
679
  'aria-colindex'?: number | undefined;
677
680
  'aria-colspan'?: number | undefined;
678
681
  'aria-controls'?: string | undefined;
679
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
682
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
680
683
  'aria-describedby'?: string | undefined;
681
684
  'aria-details'?: string | undefined;
682
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
685
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
683
686
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
684
687
  'aria-errormessage'?: string | undefined;
685
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
688
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
686
689
  'aria-flowto'?: string | undefined;
687
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
688
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
689
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
690
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
690
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
691
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
692
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
693
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
691
694
  'aria-keyshortcuts'?: string | undefined;
692
695
  'aria-label'?: string | undefined;
693
696
  'aria-labelledby'?: string | undefined;
694
697
  'aria-level'?: number | undefined;
695
698
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
696
- 'aria-modal'?: boolean | "true" | "false" | undefined;
697
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
698
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
699
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
700
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
701
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
699
702
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
700
703
  'aria-owns'?: string | undefined;
701
704
  'aria-placeholder'?: string | undefined;
702
705
  'aria-posinset'?: number | undefined;
703
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
704
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
706
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
707
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
705
708
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
706
- 'aria-required'?: boolean | "true" | "false" | undefined;
709
+ 'aria-required'?: boolean | "false" | "true" | undefined;
707
710
  'aria-roledescription'?: string | undefined;
708
711
  'aria-rowcount'?: number | undefined;
709
712
  'aria-rowindex'?: number | undefined;
710
713
  'aria-rowspan'?: number | undefined;
711
- 'aria-selected'?: boolean | "true" | "false" | undefined;
714
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
712
715
  'aria-setsize'?: number | undefined;
713
716
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
714
717
  'aria-valuemax'?: number | undefined;
@@ -879,10 +882,7 @@ declare const _default: {
879
882
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
880
883
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
881
884
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
882
- size?: "small" | "large" | "medium" | undefined;
883
- icon?: React.FunctionComponent<import("@primer/octicons-react/dist/icons").IconProps> | undefined;
884
- caret?: boolean | undefined;
885
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
885
+ sx?: import("./sx").BetterSystemStyleObject | undefined;
886
886
  value?: string | number | readonly string[] | undefined;
887
887
  autoFocus?: boolean | undefined;
888
888
  disabled?: boolean | undefined;
@@ -891,19 +891,23 @@ declare const _default: {
891
891
  formMethod?: string | undefined;
892
892
  formNoValidate?: boolean | undefined;
893
893
  formTarget?: string | undefined;
894
- variant?: ("default" | "primary" | "invisible" | "danger") | undefined;
894
+ variant?: ("danger" | "default" | "primary" | "invisible") | undefined;
895
895
  as?: string | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
896
896
  iconOnly: boolean;
897
897
  } & {
898
898
  theme?: any;
899
- }, "color" | "fontSize" | "translate" | "form" | "slot" | "style" | "title" | "theme" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "size" | "icon" | "caret" | "sx" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "variant" | "as" | "iconOnly"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>): JSX.Element;
899
+ }, "color" | "fontSize" | "translate" | "hidden" | "size" | "style" | "icon" | "caret" | "form" | "slot" | "title" | "theme" | "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" | "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" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "variant" | "as" | "iconOnly"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>): JSX.Element;
900
900
  defaultProps: Partial<Pick<{
901
901
  color?: string | undefined;
902
902
  fontSize?: import("styled-system").ResponsiveValue<string | number | symbol, Required<import("styled-system").Theme<import("styled-system").TLengthStyledSystem>>> | undefined;
903
903
  translate?: "yes" | "no" | undefined;
904
+ hidden?: boolean | undefined;
905
+ size?: "small" | "medium" | "large" | undefined;
906
+ style?: React.CSSProperties | undefined;
907
+ icon?: React.FunctionComponent<import("@primer/octicons-react/dist/icons").IconProps> | undefined;
908
+ caret?: boolean | undefined;
904
909
  form?: string | undefined;
905
910
  slot?: string | undefined;
906
- style?: React.CSSProperties | undefined;
907
911
  title?: string | undefined;
908
912
  ref?: ((instance: HTMLButtonElement | null) => void) | React.RefObject<HTMLButtonElement> | null | undefined;
909
913
  type?: "button" | "reset" | "submit" | undefined;
@@ -915,15 +919,14 @@ declare const _default: {
915
919
  suppressHydrationWarning?: boolean | undefined;
916
920
  accessKey?: string | undefined;
917
921
  className?: string | undefined;
918
- contentEditable?: (boolean | "true" | "false") | "inherit" | undefined;
922
+ contentEditable?: "inherit" | (boolean | "false" | "true") | undefined;
919
923
  contextMenu?: string | undefined;
920
924
  dir?: string | undefined;
921
- draggable?: (boolean | "true" | "false") | undefined;
922
- hidden?: boolean | undefined;
925
+ draggable?: (boolean | "false" | "true") | undefined;
923
926
  id?: string | undefined;
924
927
  lang?: string | undefined;
925
928
  placeholder?: string | undefined;
926
- spellCheck?: (boolean | "true" | "false") | undefined;
929
+ spellCheck?: (boolean | "false" | "true") | undefined;
927
930
  tabIndex?: number | undefined;
928
931
  radioGroup?: string | undefined;
929
932
  role?: React.AriaRole | undefined;
@@ -946,50 +949,50 @@ declare const _default: {
946
949
  results?: number | undefined;
947
950
  security?: string | undefined;
948
951
  unselectable?: "on" | "off" | undefined;
949
- inputMode?: "none" | "search" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
952
+ inputMode?: "search" | "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | undefined;
950
953
  is?: string | undefined;
951
954
  'aria-activedescendant'?: string | undefined;
952
- 'aria-atomic'?: boolean | "true" | "false" | undefined;
953
- 'aria-autocomplete'?: "list" | "none" | "inline" | "both" | undefined;
954
- 'aria-busy'?: boolean | "true" | "false" | undefined;
955
- 'aria-checked'?: boolean | "true" | "false" | "mixed" | undefined;
955
+ 'aria-atomic'?: boolean | "false" | "true" | undefined;
956
+ 'aria-autocomplete'?: "none" | "both" | "inline" | "list" | undefined;
957
+ 'aria-busy'?: boolean | "false" | "true" | undefined;
958
+ 'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
956
959
  'aria-colcount'?: number | undefined;
957
960
  'aria-colindex'?: number | undefined;
958
961
  'aria-colspan'?: number | undefined;
959
962
  'aria-controls'?: string | undefined;
960
- 'aria-current'?: boolean | "time" | "true" | "false" | "page" | "step" | "location" | "date" | undefined;
963
+ 'aria-current'?: boolean | "page" | "false" | "true" | "time" | "step" | "location" | "date" | undefined;
961
964
  'aria-describedby'?: string | undefined;
962
965
  'aria-details'?: string | undefined;
963
- 'aria-disabled'?: boolean | "true" | "false" | undefined;
966
+ 'aria-disabled'?: boolean | "false" | "true" | undefined;
964
967
  'aria-dropeffect'?: "link" | "none" | "copy" | "move" | "execute" | "popup" | undefined;
965
968
  'aria-errormessage'?: string | undefined;
966
- 'aria-expanded'?: boolean | "true" | "false" | undefined;
969
+ 'aria-expanded'?: boolean | "false" | "true" | undefined;
967
970
  'aria-flowto'?: string | undefined;
968
- 'aria-grabbed'?: boolean | "true" | "false" | undefined;
969
- 'aria-haspopup'?: boolean | "grid" | "dialog" | "listbox" | "menu" | "tree" | "true" | "false" | undefined;
970
- 'aria-hidden'?: boolean | "true" | "false" | undefined;
971
- 'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling" | undefined;
971
+ 'aria-grabbed'?: boolean | "false" | "true" | undefined;
972
+ 'aria-haspopup'?: boolean | "grid" | "listbox" | "menu" | "false" | "true" | "dialog" | "tree" | undefined;
973
+ 'aria-hidden'?: boolean | "false" | "true" | undefined;
974
+ 'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
972
975
  'aria-keyshortcuts'?: string | undefined;
973
976
  'aria-label'?: string | undefined;
974
977
  'aria-labelledby'?: string | undefined;
975
978
  'aria-level'?: number | undefined;
976
979
  'aria-live'?: "off" | "assertive" | "polite" | undefined;
977
- 'aria-modal'?: boolean | "true" | "false" | undefined;
978
- 'aria-multiline'?: boolean | "true" | "false" | undefined;
979
- 'aria-multiselectable'?: boolean | "true" | "false" | undefined;
980
+ 'aria-modal'?: boolean | "false" | "true" | undefined;
981
+ 'aria-multiline'?: boolean | "false" | "true" | undefined;
982
+ 'aria-multiselectable'?: boolean | "false" | "true" | undefined;
980
983
  'aria-orientation'?: "horizontal" | "vertical" | undefined;
981
984
  'aria-owns'?: string | undefined;
982
985
  'aria-placeholder'?: string | undefined;
983
986
  'aria-posinset'?: number | undefined;
984
- 'aria-pressed'?: boolean | "true" | "false" | "mixed" | undefined;
985
- 'aria-readonly'?: boolean | "true" | "false" | undefined;
987
+ 'aria-pressed'?: boolean | "mixed" | "false" | "true" | undefined;
988
+ 'aria-readonly'?: boolean | "false" | "true" | undefined;
986
989
  'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
987
- 'aria-required'?: boolean | "true" | "false" | undefined;
990
+ 'aria-required'?: boolean | "false" | "true" | undefined;
988
991
  'aria-roledescription'?: string | undefined;
989
992
  'aria-rowcount'?: number | undefined;
990
993
  'aria-rowindex'?: number | undefined;
991
994
  'aria-rowspan'?: number | undefined;
992
- 'aria-selected'?: boolean | "true" | "false" | undefined;
995
+ 'aria-selected'?: boolean | "false" | "true" | undefined;
993
996
  'aria-setsize'?: number | undefined;
994
997
  'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
995
998
  'aria-valuemax'?: number | undefined;
@@ -1160,10 +1163,7 @@ declare const _default: {
1160
1163
  onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
1161
1164
  onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1162
1165
  onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
1163
- size?: "small" | "large" | "medium" | undefined;
1164
- icon?: React.FunctionComponent<import("@primer/octicons-react/dist/icons").IconProps> | undefined;
1165
- caret?: boolean | undefined;
1166
- sx?: import("@styled-system/css").SystemStyleObject | undefined;
1166
+ sx?: import("./sx").BetterSystemStyleObject | undefined;
1167
1167
  value?: string | number | readonly string[] | undefined;
1168
1168
  autoFocus?: boolean | undefined;
1169
1169
  disabled?: boolean | undefined;
@@ -1172,12 +1172,12 @@ declare const _default: {
1172
1172
  formMethod?: string | undefined;
1173
1173
  formNoValidate?: boolean | undefined;
1174
1174
  formTarget?: string | undefined;
1175
- variant?: ("default" | "primary" | "invisible" | "danger") | undefined;
1175
+ variant?: ("danger" | "default" | "primary" | "invisible") | undefined;
1176
1176
  as?: string | React.ComponentClass<any, any> | React.FunctionComponent<any> | undefined;
1177
1177
  iconOnly: boolean;
1178
1178
  } & {
1179
1179
  theme?: any;
1180
- }, "color" | "fontSize" | "translate" | "form" | "slot" | "style" | "title" | "theme" | "type" | "name" | "key" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "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" | "size" | "icon" | "caret" | "sx" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "variant" | "as" | "iconOnly"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> | undefined;
1180
+ }, "color" | "fontSize" | "translate" | "hidden" | "size" | "style" | "icon" | "caret" | "form" | "slot" | "title" | "theme" | "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" | "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" | "value" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "variant" | "as" | "iconOnly"> & React.RefAttributes<HTMLButtonElement | HTMLAnchorElement>> | undefined;
1181
1181
  displayName: string;
1182
1182
  };
1183
1183
  };