@primer/components 0.0.0-2021928193630 → 0.0.0-20219293614

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 (108) hide show
  1. package/CHANGELOG.md +1 -17
  2. package/dist/browser.esm.js +440 -447
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +439 -446
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionMenu.js +2 -2
  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 +12 -12
  10. package/lib/Button/ButtonBase.d.ts +1 -1
  11. package/lib/Button/ButtonClose.d.ts +30 -30
  12. package/lib/Button/ButtonDanger.d.ts +12 -12
  13. package/lib/Button/ButtonInvisible.d.ts +12 -12
  14. package/lib/Button/ButtonOutline.d.ts +12 -12
  15. package/lib/Button/ButtonPrimary.d.ts +12 -12
  16. package/lib/Button/ButtonStyles.js +1 -1
  17. package/lib/CircleBadge.d.ts +2 -2
  18. package/lib/CircleOcticon.d.ts +35 -35
  19. package/lib/Dialog/Dialog.d.ts +4 -4
  20. package/lib/Dialog/Dialog.js +12 -22
  21. package/lib/Dialog.d.ts +37 -37
  22. package/lib/Dropdown.d.ts +91 -171
  23. package/lib/Dropdown.js +6 -5
  24. package/lib/DropdownMenu/DropdownButton.d.ts +32 -32
  25. package/lib/FilterList.d.ts +27 -27
  26. package/lib/Flash.d.ts +1 -1
  27. package/lib/Label.d.ts +1 -1
  28. package/lib/NewButton/button.d.ts +579 -0
  29. package/lib/NewButton/button.js +298 -0
  30. package/lib/NewButton/counter.d.ts +6 -0
  31. package/lib/NewButton/counter.js +33 -0
  32. package/lib/NewButton/index.d.ts +4 -0
  33. package/lib/NewButton/index.js +21 -0
  34. package/lib/Position.d.ts +4 -4
  35. package/lib/SelectMenu/SelectMenu.d.ts +151 -151
  36. package/lib/SelectMenu/SelectMenuItem.d.ts +1 -1
  37. package/lib/SelectMenu/SelectMenuModal.d.ts +1 -1
  38. package/lib/TextInputWithTokens.d.ts +9 -13
  39. package/lib/TextInputWithTokens.js +29 -102
  40. package/lib/Timeline.d.ts +35 -35
  41. package/lib/Token/AvatarToken.d.ts +1 -1
  42. package/lib/Token/IssueLabelToken.d.ts +1 -1
  43. package/lib/Token/Token.d.ts +1 -1
  44. package/lib/Token/Token.js +2 -13
  45. package/lib/Token/TokenBase.js +4 -0
  46. package/lib/Token/_RemoveTokenButton.js +2 -15
  47. package/lib/_TextInputWrapper.js +1 -1
  48. package/lib/constants.js +3 -1
  49. package/lib/index.d.ts +2 -0
  50. package/lib/index.js +8 -0
  51. package/lib/sx.d.ts +2 -8
  52. package/lib/theme.d.ts +0 -78
  53. package/lib/theme.js +1 -3
  54. package/lib/utils/testing.d.ts +1 -1
  55. package/lib-esm/ActionMenu.js +2 -2
  56. package/lib-esm/Autocomplete/Autocomplete.d.ts +9 -9
  57. package/lib-esm/Autocomplete/AutocompleteInput.d.ts +9 -9
  58. package/lib-esm/Button/Button.d.ts +12 -12
  59. package/lib-esm/Button/ButtonBase.d.ts +1 -1
  60. package/lib-esm/Button/ButtonClose.d.ts +30 -30
  61. package/lib-esm/Button/ButtonDanger.d.ts +12 -12
  62. package/lib-esm/Button/ButtonInvisible.d.ts +12 -12
  63. package/lib-esm/Button/ButtonOutline.d.ts +12 -12
  64. package/lib-esm/Button/ButtonPrimary.d.ts +12 -12
  65. package/lib-esm/Button/ButtonStyles.js +1 -1
  66. package/lib-esm/CircleBadge.d.ts +2 -2
  67. package/lib-esm/CircleOcticon.d.ts +35 -35
  68. package/lib-esm/Dialog/Dialog.d.ts +4 -4
  69. package/lib-esm/Dialog/Dialog.js +12 -21
  70. package/lib-esm/Dialog.d.ts +37 -37
  71. package/lib-esm/Dropdown.d.ts +91 -171
  72. package/lib-esm/Dropdown.js +4 -3
  73. package/lib-esm/DropdownMenu/DropdownButton.d.ts +32 -32
  74. package/lib-esm/FilterList.d.ts +27 -27
  75. package/lib-esm/Flash.d.ts +1 -1
  76. package/lib-esm/Label.d.ts +1 -1
  77. package/lib-esm/NewButton/button.d.ts +579 -0
  78. package/lib-esm/NewButton/button.js +274 -0
  79. package/lib-esm/NewButton/counter.d.ts +6 -0
  80. package/lib-esm/NewButton/counter.js +21 -0
  81. package/lib-esm/NewButton/index.d.ts +4 -0
  82. package/lib-esm/NewButton/index.js +3 -0
  83. package/lib-esm/Position.d.ts +4 -4
  84. package/lib-esm/SelectMenu/SelectMenu.d.ts +151 -151
  85. package/lib-esm/SelectMenu/SelectMenuItem.d.ts +1 -1
  86. package/lib-esm/SelectMenu/SelectMenuModal.d.ts +1 -1
  87. package/lib-esm/TextInputWithTokens.d.ts +9 -13
  88. package/lib-esm/TextInputWithTokens.js +30 -101
  89. package/lib-esm/Timeline.d.ts +35 -35
  90. package/lib-esm/Token/AvatarToken.d.ts +1 -1
  91. package/lib-esm/Token/IssueLabelToken.d.ts +1 -1
  92. package/lib-esm/Token/Token.d.ts +1 -1
  93. package/lib-esm/Token/Token.js +2 -13
  94. package/lib-esm/Token/TokenBase.js +4 -0
  95. package/lib-esm/Token/_RemoveTokenButton.js +2 -11
  96. package/lib-esm/_TextInputWrapper.js +1 -1
  97. package/lib-esm/constants.js +3 -1
  98. package/lib-esm/index.d.ts +2 -0
  99. package/lib-esm/index.js +1 -0
  100. package/lib-esm/sx.d.ts +2 -8
  101. package/lib-esm/theme.d.ts +0 -78
  102. package/lib-esm/theme.js +1 -2
  103. package/lib-esm/utils/testing.d.ts +1 -1
  104. package/package.json +1 -2
  105. package/lib/utils/types/KeyPaths.d.ts +0 -3
  106. package/lib/utils/types/KeyPaths.js +0 -1
  107. package/lib-esm/utils/types/KeyPaths.d.ts +0 -3
  108. package/lib-esm/utils/types/KeyPaths.js +0 -1
package/CHANGELOG.md CHANGED
@@ -1,27 +1,11 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-2021928193630
4
-
5
- ### Minor Changes
6
-
7
- - [#1544](https://github.com/primer/react/pull/1544) [`5b55b0ab`](https://github.com/primer/react/commit/5b55b0ab8ea06b077e141c02285c81b99e246b77) Thanks [@jfuchs](https://github.com/jfuchs)! - The sx prop now has types that will inform autocomplete for color and shadow values that are key paths into the theme.
3
+ ## 0.0.0-20219293614
8
4
 
9
5
  ### Patch Changes
10
6
 
11
7
  - Fake entry to force publishing
12
8
 
13
- ## 31.1.0
14
-
15
- ### Minor Changes
16
-
17
- - [#1523](https://github.com/primer/react/pull/1523) [`56e2f159`](https://github.com/primer/react/commit/56e2f159b9d627564a7717e6961a6bfa355189b3) Thanks [@mperrotti](https://github.com/mperrotti)! - Add the ability to truncate tokens in the TextInputWithToken component when the input is not focused
18
-
19
- ### Patch Changes
20
-
21
- - [#1529](https://github.com/primer/react/pull/1529) [`da566044`](https://github.com/primer/react/commit/da566044649a114e23789e3ac90c022cdbf5eaeb) Thanks [@mperrotti](https://github.com/mperrotti)! - Fixes a bug in `TextInputWithTokens` where the next token would not receive focus after the user deleted the first token using the keyboard
22
-
23
- * [#1526](https://github.com/primer/react/pull/1526) [`1378e771`](https://github.com/primer/react/commit/1378e771323a48e6084c5ffac7d93b54960f4a0e) Thanks [@mperrotti](https://github.com/mperrotti)! - replaces flexbox gap usage with margins
24
-
25
9
  ## 31.0.1
26
10
 
27
11
  ### Patch Changes