@primer/components 0.0.0-2021101022627 → 0.0.0-20211011132055

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 (72) hide show
  1. package/CHANGELOG.md +6 -6
  2. package/dist/browser.esm.js +473 -470
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +104 -101
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList2/Description.d.ts +12 -0
  7. package/lib/ActionList2/Description.js +53 -0
  8. package/lib/ActionList2/Divider.d.ts +5 -0
  9. package/lib/ActionList2/Divider.js +35 -0
  10. package/lib/ActionList2/Group.d.ts +11 -0
  11. package/lib/ActionList2/Group.js +57 -0
  12. package/lib/ActionList2/Header.d.ts +26 -0
  13. package/lib/ActionList2/Header.js +55 -0
  14. package/lib/ActionList2/Item.d.ts +63 -0
  15. package/lib/ActionList2/Item.js +234 -0
  16. package/lib/ActionList2/LinkItem.d.ts +17 -0
  17. package/lib/ActionList2/LinkItem.js +57 -0
  18. package/lib/ActionList2/List.d.ts +26 -0
  19. package/lib/ActionList2/List.js +59 -0
  20. package/lib/ActionList2/Selection.d.ts +5 -0
  21. package/lib/ActionList2/Selection.js +70 -0
  22. package/lib/ActionList2/Visuals.d.ts +9 -0
  23. package/lib/ActionList2/Visuals.js +90 -0
  24. package/lib/ActionList2/index.d.ts +36 -0
  25. package/lib/ActionList2/index.js +47 -0
  26. package/lib/Overlay.d.ts +10 -11
  27. package/lib/Overlay.js +4 -3
  28. package/lib/_TextInputWrapper.js +2 -2
  29. package/lib/sx.d.ts +2 -0
  30. package/lib/sx.js +8 -0
  31. package/lib/theme-preval.js +81 -2
  32. package/lib/unreleased.d.ts +7 -0
  33. package/lib/unreleased.js +18 -0
  34. package/lib/utils/create-slots.d.ts +17 -0
  35. package/lib/utils/create-slots.js +105 -0
  36. package/lib/utils/testing.d.ts +14 -1
  37. package/lib/utils/use-force-update.d.ts +1 -0
  38. package/lib/utils/use-force-update.js +19 -0
  39. package/lib-esm/ActionList2/Description.d.ts +12 -0
  40. package/lib-esm/ActionList2/Description.js +37 -0
  41. package/lib-esm/ActionList2/Divider.d.ts +5 -0
  42. package/lib-esm/ActionList2/Divider.js +23 -0
  43. package/lib-esm/ActionList2/Group.d.ts +11 -0
  44. package/lib-esm/ActionList2/Group.js +40 -0
  45. package/lib-esm/ActionList2/Header.d.ts +26 -0
  46. package/lib-esm/ActionList2/Header.js +44 -0
  47. package/lib-esm/ActionList2/Item.d.ts +63 -0
  48. package/lib-esm/ActionList2/Item.js +201 -0
  49. package/lib-esm/ActionList2/LinkItem.d.ts +17 -0
  50. package/lib-esm/ActionList2/LinkItem.js +43 -0
  51. package/lib-esm/ActionList2/List.d.ts +26 -0
  52. package/lib-esm/ActionList2/List.js +37 -0
  53. package/lib-esm/ActionList2/Selection.d.ts +5 -0
  54. package/lib-esm/ActionList2/Selection.js +52 -0
  55. package/lib-esm/ActionList2/Visuals.d.ts +9 -0
  56. package/lib-esm/ActionList2/Visuals.js +68 -0
  57. package/lib-esm/ActionList2/index.d.ts +36 -0
  58. package/lib-esm/ActionList2/index.js +33 -0
  59. package/lib-esm/Overlay.d.ts +10 -11
  60. package/lib-esm/Overlay.js +3 -2
  61. package/lib-esm/_TextInputWrapper.js +2 -2
  62. package/lib-esm/sx.d.ts +2 -0
  63. package/lib-esm/sx.js +3 -1
  64. package/lib-esm/theme-preval.js +81 -2
  65. package/lib-esm/unreleased.d.ts +7 -0
  66. package/lib-esm/unreleased.js +8 -0
  67. package/lib-esm/utils/create-slots.d.ts +17 -0
  68. package/lib-esm/utils/create-slots.js +84 -0
  69. package/lib-esm/utils/testing.d.ts +14 -1
  70. package/lib-esm/utils/use-force-update.d.ts +1 -0
  71. package/lib-esm/utils/use-force-update.js +6 -0
  72. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,22 +1,22 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-2021101022627
4
-
5
- ### Major Changes
6
-
7
- - [#1567](https://github.com/primer/react/pull/1567) [`375ef1d9`](https://github.com/primer/react/commit/375ef1d9c98caa155ed032385dbd0998288dc462) Thanks [@jfuchs](https://github.com/jfuchs)! - Overlay no longer accepts styled-system props. Please use the `sx` prop to extend Primer component styling instead. See also https://primer.style/react/overriding-styles for information about `sx` and https://primer.style/react/system-props for context on the removal.
3
+ ## 0.0.0-20211011132055
8
4
 
9
5
  ### Minor Changes
10
6
 
11
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.
12
8
 
9
+ * [#1517](https://github.com/primer/react/pull/1517) [`19b430bb`](https://github.com/primer/react/commit/19b430bb48fcce76fc623378055a38392ef5d778) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Add experimental `ActionList` with composable API
10
+
13
11
  ### Patch Changes
14
12
 
15
13
  - [#1583](https://github.com/primer/react/pull/1583) [`24b1ebbc`](https://github.com/primer/react/commit/24b1ebbc21ca2eaa92bd6b5b8c15ab0e7577f5a0) Thanks [@pksjce](https://github.com/pksjce)! - Add a utility to provide useIsoMorphicEffect function and use that instead of useLayoutEffect everywhere
16
14
 
17
15
  * Fake entry to force publishing
18
16
 
19
- - [#1549](https://github.com/primer/react/pull/1549) [`f565840f`](https://github.com/primer/react/commit/f565840f2d879b987ef9df7cd046e146214ed5f5) Thanks [@michael-lefebvre](https://github.com/michael-lefebvre)! - Fix `auxiliaryText` in ActionList Group header
17
+ - [#1592](https://github.com/primer/react/pull/1592) [`8d3d491f`](https://github.com/primer/react/commit/8d3d491fa3c9437b3a8f310e233b7009cae13095) Thanks [@rezrah](https://github.com/rezrah)! - Fixes a styling bug in TextInput components while using its `icon` and `block` props together
18
+
19
+ * [#1549](https://github.com/primer/react/pull/1549) [`f565840f`](https://github.com/primer/react/commit/f565840f2d879b987ef9df7cd046e146214ed5f5) Thanks [@michael-lefebvre](https://github.com/michael-lefebvre)! - Fix `auxiliaryText` in ActionList Group header
20
20
 
21
21
  ## 31.1.0
22
22