@primer/components 0.0.0-2021101022627 → 0.0.0-2021101116514

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 (74) hide show
  1. package/CHANGELOG.md +9 -7
  2. package/dist/browser.esm.js +506 -495
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +119 -108
  5. package/dist/browser.umd.js.map +1 -1
  6. package/lib/ActionList/Item.js +27 -18
  7. package/lib/ActionList2/Description.d.ts +12 -0
  8. package/lib/ActionList2/Description.js +53 -0
  9. package/lib/ActionList2/Divider.d.ts +5 -0
  10. package/lib/ActionList2/Divider.js +35 -0
  11. package/lib/ActionList2/Group.d.ts +11 -0
  12. package/lib/ActionList2/Group.js +57 -0
  13. package/lib/ActionList2/Header.d.ts +26 -0
  14. package/lib/ActionList2/Header.js +55 -0
  15. package/lib/ActionList2/Item.d.ts +63 -0
  16. package/lib/ActionList2/Item.js +234 -0
  17. package/lib/ActionList2/LinkItem.d.ts +17 -0
  18. package/lib/ActionList2/LinkItem.js +57 -0
  19. package/lib/ActionList2/List.d.ts +26 -0
  20. package/lib/ActionList2/List.js +59 -0
  21. package/lib/ActionList2/Selection.d.ts +5 -0
  22. package/lib/ActionList2/Selection.js +85 -0
  23. package/lib/ActionList2/Visuals.d.ts +9 -0
  24. package/lib/ActionList2/Visuals.js +90 -0
  25. package/lib/ActionList2/index.d.ts +36 -0
  26. package/lib/ActionList2/index.js +47 -0
  27. package/lib/Overlay.d.ts +10 -11
  28. package/lib/Overlay.js +4 -3
  29. package/lib/_TextInputWrapper.js +2 -2
  30. package/lib/sx.d.ts +2 -0
  31. package/lib/sx.js +8 -0
  32. package/lib/theme-preval.js +81 -2
  33. package/lib/unreleased.d.ts +7 -0
  34. package/lib/unreleased.js +18 -0
  35. package/lib/utils/create-slots.d.ts +17 -0
  36. package/lib/utils/create-slots.js +105 -0
  37. package/lib/utils/testing.d.ts +14 -1
  38. package/lib/utils/use-force-update.d.ts +1 -0
  39. package/lib/utils/use-force-update.js +19 -0
  40. package/lib-esm/ActionList/Item.js +27 -18
  41. package/lib-esm/ActionList2/Description.d.ts +12 -0
  42. package/lib-esm/ActionList2/Description.js +37 -0
  43. package/lib-esm/ActionList2/Divider.d.ts +5 -0
  44. package/lib-esm/ActionList2/Divider.js +23 -0
  45. package/lib-esm/ActionList2/Group.d.ts +11 -0
  46. package/lib-esm/ActionList2/Group.js +40 -0
  47. package/lib-esm/ActionList2/Header.d.ts +26 -0
  48. package/lib-esm/ActionList2/Header.js +44 -0
  49. package/lib-esm/ActionList2/Item.d.ts +63 -0
  50. package/lib-esm/ActionList2/Item.js +201 -0
  51. package/lib-esm/ActionList2/LinkItem.d.ts +17 -0
  52. package/lib-esm/ActionList2/LinkItem.js +43 -0
  53. package/lib-esm/ActionList2/List.d.ts +26 -0
  54. package/lib-esm/ActionList2/List.js +37 -0
  55. package/lib-esm/ActionList2/Selection.d.ts +5 -0
  56. package/lib-esm/ActionList2/Selection.js +67 -0
  57. package/lib-esm/ActionList2/Visuals.d.ts +9 -0
  58. package/lib-esm/ActionList2/Visuals.js +68 -0
  59. package/lib-esm/ActionList2/index.d.ts +36 -0
  60. package/lib-esm/ActionList2/index.js +33 -0
  61. package/lib-esm/Overlay.d.ts +10 -11
  62. package/lib-esm/Overlay.js +3 -2
  63. package/lib-esm/_TextInputWrapper.js +2 -2
  64. package/lib-esm/sx.d.ts +2 -0
  65. package/lib-esm/sx.js +3 -1
  66. package/lib-esm/theme-preval.js +81 -2
  67. package/lib-esm/unreleased.d.ts +7 -0
  68. package/lib-esm/unreleased.js +8 -0
  69. package/lib-esm/utils/create-slots.d.ts +17 -0
  70. package/lib-esm/utils/create-slots.js +84 -0
  71. package/lib-esm/utils/testing.d.ts +14 -1
  72. package/lib-esm/utils/use-force-update.d.ts +1 -0
  73. package/lib-esm/utils/use-force-update.js +6 -0
  74. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,20 +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-2021101116514
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) [`561c0bd3`](https://github.com/primer/react/commit/561c0bd371b8d2135fb1d69555abc424ab796f2d) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Add experimental `ActionList` with composable API
10
+
13
11
  ### Patch Changes
14
12
 
15
- - [#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
13
+ - [#1601](https://github.com/primer/react/pull/1601) [`60d06e9c`](https://github.com/primer/react/commit/60d06e9c76b912f0370a3eb0cef1a180c5de2e6e) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Use icon instead of input for multiple selection in ActionList
14
+
15
+ * [#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
+
17
+ - Fake entry to force publishing
16
18
 
17
- * Fake entry to force publishing
19
+ * [#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
20
 
19
21
  - [#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
22