|
1 | 1 | # @primer/components
|
2 | 2 |
|
| 3 | +## 35.26.0 |
| 4 | + |
| 5 | +### Minor Changes |
| 6 | + |
| 7 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - ActionMenu: Calling `event.preventDefault` inside `onSelect` of `ActionList.Item` will prevent the default behavior of closing the menu |
| 8 | + |
| 9 | +- [#3276](https://github.com/primer/react/pull/3276) [`8abf2688`](https://github.com/primer/react/commit/8abf2688952ff0e69ba843ee6ccfc5d5574abb76) Thanks [@joshblack](https://github.com/joshblack)! - Add experimental Table.ErrorDialog component |
| 10 | + |
| 11 | +- [#3244](https://github.com/primer/react/pull/3244) [`42a78c11`](https://github.com/primer/react/commit/42a78c116fbffda44d85cbbfb93d24f0785fde83) Thanks [@Bestra](https://github.com/Bestra)! - Add pullQueued state to StateLabel |
| 12 | + |
| 13 | +- [#3229](https://github.com/primer/react/pull/3229) [`c0cbdd08`](https://github.com/primer/react/commit/c0cbdd0806809236e681cab535b4a74ecdfcc14a) Thanks [@colebemis](https://github.com/colebemis)! - Add `minWidth prop to `PageLayout.Pane`and`SplitPageLayout.Pane` |
| 14 | + |
| 15 | +- [#2878](https://github.com/primer/react/pull/2878) [`87883c3f`](https://github.com/primer/react/commit/87883c3fd91a5d2809268aa0dd22b87b53ba5309) Thanks [@radglob](https://github.com/radglob)! - Update PRC ActionList implementation to have similar semantics to PVC. |
| 16 | + |
| 17 | + - Removes `ActionList.Group`. |
| 18 | + - Adds `ActionList.Heading` to be used for labelling children in an `ActionList`. |
| 19 | + - Adds `heading` slot to `ActionList` for adding headings that label internal lists correctly. |
| 20 | + |
| 21 | + ActionList.Groups inside an ActionList generated inaccessible markup. Previous usage: |
| 22 | + |
| 23 | + ``` |
| 24 | + <ActionList> |
| 25 | + <ActionList.Group title="Actions"> |
| 26 | + <ActionList.Item>Create</ActionList.Item> |
| 27 | + <ActionList.Item>Read</ActionList.Item> |
| 28 | + <ActionList.Item>Update</ActionList.Item> |
| 29 | + <ActionList.Item>Delete</ActionList.Item> |
| 30 | + </ActionList.Group> |
| 31 | + <ActionList.Group> |
| 32 | + ... |
| 33 | + </ActionList.Group> |
| 34 | + </ActionList> |
| 35 | + ``` |
| 36 | + |
| 37 | + Instead, use `ActionList`s and stack them as needed. |
| 38 | + |
| 39 | + ``` |
| 40 | + <div> |
| 41 | + <ActionList> |
| 42 | + <ActionList.Heading title="Actions" /> |
| 43 | + <ActionList.Item>Create</ActionList.Item> |
| 44 | + <ActionList.Item>Read</ActionList.Item> |
| 45 | + <ActionList.Item>Update</ActionList.Item> |
| 46 | + <ActionList.Item>Delete</ActionList.Item> |
| 47 | + </ActionList> |
| 48 | + <ActionList> |
| 49 | + ... |
| 50 | + </ActionList> |
| 51 | + </div> |
| 52 | + ``` |
| 53 | + |
| 54 | +- [#3199](https://github.com/primer/react/pull/3199) [`bfd9e0c8`](https://github.com/primer/react/commit/bfd9e0c8ee3b6b335e04c5c1d4ca82cf23760877) Thanks [@joshblack](https://github.com/joshblack)! - Add support for Pagination in DataTable |
| 55 | + |
| 56 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - SelectPanel: Add `title` prop |
| 57 | + |
| 58 | +- [#3148](https://github.com/primer/react/pull/3148) [`ac437bb1`](https://github.com/primer/react/commit/ac437bb1944b88251c719ae7ae689c5906f19c3f) Thanks [@jonrohan](https://github.com/jonrohan)! - Rename component StyledOcticon to Octicon |
| 59 | + |
| 60 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Add @primer/react/experimental entrypoint as an alternative to drafts |
| 61 | + |
| 62 | +- [#3251](https://github.com/primer/react/pull/3251) [`580f1650`](https://github.com/primer/react/commit/580f1650146f35d6af509704a0ee2b203a50812c) Thanks [@camertron](https://github.com/camertron)! - Address ToggleSwitch accessibility feedback |
| 63 | + |
| 64 | +### Patch Changes |
| 65 | + |
| 66 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Changes the alignment of the validation message icon to be vertically center-aligned with the first line of text. |
| 67 | + |
| 68 | +- [#3270](https://github.com/primer/react/pull/3270) [`6f2340cc`](https://github.com/primer/react/commit/6f2340cc7e17a90b9cb09722ec791d82f4f71329) Thanks [@langermank](https://github.com/langermank)! - Button counter contrast fixes |
| 69 | + |
| 70 | +- [#3207](https://github.com/primer/react/pull/3207) [`6773b90d`](https://github.com/primer/react/commit/6773b90d8ced05fae4ac9024e84cc31f1da9b9a3) Thanks [@colebemis](https://github.com/colebemis)! - `MarkdownViewer` is now SSR-compatible |
| 71 | + |
| 72 | +- [#3310](https://github.com/primer/react/pull/3310) [`5746c746`](https://github.com/primer/react/commit/5746c746d8d7eac29cfa2db702ba4a545527b588) Thanks [@colebemis](https://github.com/colebemis)! - SelectPanel: Add `role="dialog"` to overlay |
| 73 | + |
| 74 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - SelectPanel: Add filter input label and description |
| 75 | + |
| 76 | +- [#3154](https://github.com/primer/react/pull/3154) [`fed1c57b`](https://github.com/primer/react/commit/fed1c57b20d5c344a03d5fdeb5c5552c19eabea1) Thanks [@radglob](https://github.com/radglob)! - PageLayout.Content no longer renders as `main` by default. Instead, developers may add a `main` landmark within `Pagelayout.Content` themselves. |
| 77 | + |
| 78 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Move `lodash.isempty` and `lodash.isobject` from `devDependencies` to `dependencies` |
| 79 | + |
| 80 | +- [#3266](https://github.com/primer/react/pull/3266) [`95329773`](https://github.com/primer/react/commit/95329773db772b4113368cd2774025c0486bf356) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Upgrade @primer/octicons-react dependency to `^19.1.0` |
| 81 | + |
| 82 | +- [#3200](https://github.com/primer/react/pull/3200) [`63d8ad6d`](https://github.com/primer/react/commit/63d8ad6d16dd66b96d370ee64d34be026739816a) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - UnderlineNav2: Add a z-index to make it appear on the top of the stack |
| 83 | + |
| 84 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Loosen `@primitives` dependency |
| 85 | + |
| 86 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Fixing toggle bug on Treeview when it initially receives focus |
| 87 | + |
| 88 | +- [#3277](https://github.com/primer/react/pull/3277) [`0ac31da8`](https://github.com/primer/react/commit/0ac31da8681c769c7d508d9290d81d19c76f762d) Thanks [@adrianababakanian](https://github.com/adrianababakanian)! - `Pagination`: Use `<button>` instead of `<span>` for disabled prev/next controls to improve accessibility |
| 89 | + |
| 90 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Remove `aria-hidden=true` from `span`s with required asterisk |
| 91 | + |
| 92 | +- [#3262](https://github.com/primer/react/pull/3262) [`7f2ddcec`](https://github.com/primer/react/commit/7f2ddcecd867a5fc73d21ec1f5c672ef306f13ef) Thanks [@mattcosta7](https://github.com/mattcosta7)! - passthrough form control label props |
| 93 | + |
| 94 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - SelectPanel: Announce changes to screen readers |
| 95 | + |
| 96 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - Remove chroma-js dependency. Companion to #3243 |
| 97 | + |
| 98 | +- [#3293](https://github.com/primer/react/pull/3293) [`027d214a`](https://github.com/primer/react/commit/027d214ae8aed9744f31727106f609745cc3f63a) Thanks [@broccolinisoup](https://github.com/broccolinisoup)! - Octicons (previously known StyledOcticons) to use React.forwardRef() |
| 99 | + |
| 100 | +- [#3182](https://github.com/primer/react/pull/3182) [`7827c711`](https://github.com/primer/react/commit/7827c71163e4d964e9878d624cf4cf1694c7447d) Thanks [@green6erry](https://github.com/green6erry)! - Removed default aria-live polite |
| 101 | + |
| 102 | +- [#3291](https://github.com/primer/react/pull/3291) [`1378bc1f`](https://github.com/primer/react/commit/1378bc1f59b48f99d623f1eb5b92c513ce6cde00) Thanks [@mattcosta7](https://github.com/mattcosta7)! - Counter label forwards refs and dom props |
| 103 | + |
| 104 | +- [#3354](https://github.com/primer/react/pull/3354) [`d848aa51`](https://github.com/primer/react/commit/d848aa51d538ea8ba4f85e443f6c39a4c826a0b8) Thanks [@joshblack](https://github.com/joshblack)! - FilteredActionList now uses new ActionList as a base, and SelectPanel reflects those changes. |
| 105 | + |
3 | 106 | ## 35.25.1
|
4 | 107 |
|
5 | 108 | ### Patch Changes
|
|
0 commit comments