@primer/components 31.0.0-rc.dfe9dc6b → 31.0.1-rc.0f466271

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 (48) hide show
  1. package/.github/workflows/check_for_changeset.yml +25 -0
  2. package/CHANGELOG.md +10 -0
  3. package/dist/browser.esm.js +33 -28
  4. package/dist/browser.esm.js.map +1 -1
  5. package/dist/browser.umd.js +13 -8
  6. package/dist/browser.umd.js.map +1 -1
  7. package/docs/content/ActionList.mdx +2 -2
  8. package/docs/src/@primer/gatsby-theme-doctocat/live-code-scope.js +3 -1
  9. package/lib/ActionList/Item.d.ts +6 -0
  10. package/lib/ActionList/Item.js +8 -4
  11. package/lib/Button/Button.js +1 -1
  12. package/lib/Button/ButtonInvisible.js +1 -1
  13. package/lib/Button/ButtonTableList.js +1 -1
  14. package/lib/Pagination/Pagination.js +1 -1
  15. package/lib/_TextInputWrapper.js +1 -1
  16. package/lib/stories/ActionList.stories.js +3 -2
  17. package/lib/stories/ActionMenu.stories.js +14 -2
  18. package/lib/stories/Button.stories.js +12 -1
  19. package/lib-esm/ActionList/Item.d.ts +6 -0
  20. package/lib-esm/ActionList/Item.js +8 -4
  21. package/lib-esm/Button/Button.js +1 -1
  22. package/lib-esm/Button/ButtonInvisible.js +1 -1
  23. package/lib-esm/Button/ButtonTableList.js +1 -1
  24. package/lib-esm/Pagination/Pagination.js +1 -1
  25. package/lib-esm/_TextInputWrapper.js +1 -1
  26. package/lib-esm/stories/ActionList.stories.js +3 -2
  27. package/lib-esm/stories/ActionMenu.stories.js +14 -2
  28. package/lib-esm/stories/Button.stories.js +8 -0
  29. package/package.json +1 -1
  30. package/src/ActionList/Item.tsx +17 -4
  31. package/src/Button/Button.tsx +1 -1
  32. package/src/Button/ButtonInvisible.tsx +7 -2
  33. package/src/Button/ButtonTableList.tsx +1 -1
  34. package/src/Pagination/Pagination.tsx +1 -1
  35. package/src/_TextInputWrapper.tsx +1 -1
  36. package/src/__tests__/Pagination/__snapshots__/Pagination.test.tsx.snap +1 -1
  37. package/src/__tests__/__snapshots__/ActionMenu.test.tsx.snap +1 -1
  38. package/src/__tests__/__snapshots__/AnchoredOverlay.test.tsx.snap +3 -3
  39. package/src/__tests__/__snapshots__/Button.test.tsx.snap +12 -4
  40. package/src/__tests__/__snapshots__/ConfirmationDialog.test.tsx.snap +1 -1
  41. package/src/__tests__/__snapshots__/Dropdown.test.tsx.snap +1 -1
  42. package/src/__tests__/__snapshots__/DropdownMenu.test.tsx.snap +1 -1
  43. package/src/__tests__/__snapshots__/SelectMenu.test.tsx.snap +1 -1
  44. package/src/__tests__/__snapshots__/SelectPanel.test.tsx.snap +1 -1
  45. package/src/stories/ActionList.stories.tsx +3 -4
  46. package/src/stories/ActionMenu.stories.tsx +15 -3
  47. package/src/stories/Button.stories.tsx +4 -0
  48. package/stats.html +1 -1
@@ -0,0 +1,25 @@
1
+ name: Check for changeset
2
+
3
+ on:
4
+ pull_request:
5
+ types:
6
+ # On by default if you specify no types.
7
+ - "opened"
8
+ - "reopened"
9
+ - "synchronize"
10
+ # For `skip-label` only.
11
+ - "labeled"
12
+ - "unlabeled"
13
+
14
+ jobs:
15
+ check-for-changeset:
16
+ name: Check for changeset
17
+ runs-on: ubuntu-latest
18
+ steps:
19
+ - uses: actions/checkout@v2
20
+ - name: "Check for changeset"
21
+ uses: brettcannon/check-for-changed-files@v1
22
+ with:
23
+ file-pattern: ".changeset/*.md"
24
+ skip-label: "skip changeset"
25
+ failure-message: "No changeset found. If these changes should not result in a new version, apply the ${skip-label} label to this pull request. If these changes should result in a version bump, please add a changeset https://git.io/J6QvQ"
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @primer/components
2
2
 
3
+ ## 31.0.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#1521](https://github.com/primer/react/pull/1521) [`28b5980c`](https://github.com/primer/react/commit/28b5980c64dc5e05cb3ddb0c8c5f18fa5d0c490c) Thanks [@siddharthkp](https://github.com/siddharthkp)! - Add `trailingVisual` prop to ActionList/ActionMenu. Deprecate `trailingIcon` and `trailingText` props.
8
+
3
9
  ## 31.0.0
4
10
 
5
11
  ### Major Changes
@@ -8,6 +14,10 @@
8
14
 
9
15
  **Note:** Install [`eslint-plugin-primer-react`](https://primer.style/react/linting) to ensure that you're not using any deprecated or removed color variables.
10
16
 
17
+ ### Patch Changes
18
+
19
+ - [#1512](https://github.com/primer/react/pull/1512) [`1e5ac406`](https://github.com/primer/react/commit/1e5ac406f8558a20248157a9bfe13ee4709890c8) Thanks [@pksjce](https://github.com/pksjce)! - Change disabled color from muted to custom primer disabled color
20
+
11
21
  ## 30.3.0
12
22
 
13
23
  ### Minor Changes