@primer/components 0.0.0-20211010224521 → 0.0.0-20211011154552

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 (66) hide show
  1. package/CHANGELOG.md +9 -5
  2. package/dist/browser.esm.js +471 -471
  3. package/dist/browser.esm.js.map +1 -1
  4. package/dist/browser.umd.js +95 -95
  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/sx.d.ts +2 -0
  27. package/lib/sx.js +8 -0
  28. package/lib/theme-preval.js +81 -2
  29. package/lib/unreleased.d.ts +7 -0
  30. package/lib/unreleased.js +18 -0
  31. package/lib/utils/create-slots.d.ts +17 -0
  32. package/lib/utils/create-slots.js +105 -0
  33. package/lib/utils/testing.d.ts +14 -1
  34. package/lib/utils/use-force-update.d.ts +1 -0
  35. package/lib/utils/use-force-update.js +19 -0
  36. package/lib-esm/ActionList2/Description.d.ts +12 -0
  37. package/lib-esm/ActionList2/Description.js +37 -0
  38. package/lib-esm/ActionList2/Divider.d.ts +5 -0
  39. package/lib-esm/ActionList2/Divider.js +23 -0
  40. package/lib-esm/ActionList2/Group.d.ts +11 -0
  41. package/lib-esm/ActionList2/Group.js +40 -0
  42. package/lib-esm/ActionList2/Header.d.ts +26 -0
  43. package/lib-esm/ActionList2/Header.js +44 -0
  44. package/lib-esm/ActionList2/Item.d.ts +63 -0
  45. package/lib-esm/ActionList2/Item.js +201 -0
  46. package/lib-esm/ActionList2/LinkItem.d.ts +17 -0
  47. package/lib-esm/ActionList2/LinkItem.js +43 -0
  48. package/lib-esm/ActionList2/List.d.ts +26 -0
  49. package/lib-esm/ActionList2/List.js +37 -0
  50. package/lib-esm/ActionList2/Selection.d.ts +5 -0
  51. package/lib-esm/ActionList2/Selection.js +52 -0
  52. package/lib-esm/ActionList2/Visuals.d.ts +9 -0
  53. package/lib-esm/ActionList2/Visuals.js +68 -0
  54. package/lib-esm/ActionList2/index.d.ts +36 -0
  55. package/lib-esm/ActionList2/index.js +33 -0
  56. package/lib-esm/sx.d.ts +2 -0
  57. package/lib-esm/sx.js +3 -1
  58. package/lib-esm/theme-preval.js +81 -2
  59. package/lib-esm/unreleased.d.ts +7 -0
  60. package/lib-esm/unreleased.js +8 -0
  61. package/lib-esm/utils/create-slots.d.ts +17 -0
  62. package/lib-esm/utils/create-slots.js +84 -0
  63. package/lib-esm/utils/testing.d.ts +14 -1
  64. package/lib-esm/utils/use-force-update.d.ts +1 -0
  65. package/lib-esm/utils/use-force-update.js +6 -0
  66. package/package.json +4 -2
package/CHANGELOG.md CHANGED
@@ -1,20 +1,24 @@
1
1
  # @primer/components
2
2
 
3
- ## 0.0.0-20211010224521
3
+ ## 0.0.0-20211011154552
4
4
 
5
5
  ### Minor Changes
6
6
 
7
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.
8
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
+
9
11
  ### Patch Changes
10
12
 
11
- - [#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
+ - [#1599](https://github.com/primer/react/pull/1599) [`86e7cc84`](https://github.com/primer/react/commit/86e7cc843842e9c0374be6b566a552247826742c) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Better labels and description for accessible ActionList.Item
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
12
16
 
13
- * Fake entry to force publishing
17
+ - Fake entry to force publishing
14
18
 
15
- - [#1592](https://github.com/primer/react/pull/1592) [`a18c01e5`](https://github.com/primer/react/commit/a18c01e58ea67e51e62ba7bb2d516f23104992c3) Thanks [@rezrah](https://github.com/rezrah)! - Fixes a styling bug in TextInput components while using its `icon` and `block` props together
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
16
20
 
17
- * [#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
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
18
22
 
19
23
  ## 31.1.0
20
24