Skip to content

Commit 05e54ca

Browse files
committed
Merge remote-tracking branch 'origin/main' into next-major
2 parents 64b8f88 + 851085d commit 05e54ca

35 files changed

+76
-52
lines changed

.github/workflows/release.yml

Lines changed: 14 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,23 @@ on:
44
push:
55
branches:
66
- main
7-
- 'next/**'
7+
- next-major
88

99
jobs:
10-
release:
11-
name: Release
10+
release-main:
11+
if: github.ref_name == 'main'
12+
name: Main
1213
uses: primer/.github/.github/workflows/release.yml@main
1314
secrets:
1415
gh_token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
1516
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
17+
18+
release-next-major:
19+
if: github.ref_name == 'next-major'
20+
name: Next major
21+
uses: primer/.github/.github/workflows/release.yml@main
22+
with:
23+
title: Release tracking (next major)
24+
secrets:
25+
gh_token: ${{ secrets.GPR_AUTH_TOKEN_SHARED }}
26+
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

.github/workflows/release_canary.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,8 @@ on:
33
push:
44
branches-ignore:
55
- 'main'
6-
- 'changeset-release/main'
6+
- 'next-major'
7+
- 'changeset-release/**'
78

89
jobs:
910
release-canary:

.github/workflows/release_candidate.yml

Lines changed: 13 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,11 +4,23 @@ on:
44
push:
55
branches:
66
- 'changeset-release/main'
7+
- 'changeset-release/next-major'
78

89
jobs:
910
release-candidate:
10-
name: Candidate
11+
if: github.ref_name == 'changeset-release/main'
12+
name: Candidate (@next)
1113
uses: primer/.github/.github/workflows/release_candidate.yml@main
1214
secrets:
1315
gh_token: ${{ secrets.GITHUB_TOKEN }}
1416
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}
17+
18+
release-candidate-next-major:
19+
if: github.ref_name == 'changeset-release/next-major'
20+
name: Candidate (@next-major)
21+
uses: primer/.github/.github/workflows/release_candidate.yml@main
22+
with:
23+
tag: next-major
24+
secrets:
25+
gh_token: ${{ secrets.GITHUB_TOKEN }}
26+
npm_token: ${{ secrets.NPM_AUTH_TOKEN_SHARED }}

.storybook/preview.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -116,7 +116,7 @@ const withThemeProvider = (Story, context) => {
116116
export const decorators = [withThemeProvider, withPerformance]
117117

118118
addons.setConfig({
119-
// Some stories may set up keyboard event handlers, which can can be interfered
119+
// Some stories may set up keyboard event handlers, which can be interfered
120120
// with by these keyboard shortcuts.
121121
enableShortcuts: false
122122
})

CHANGELOG.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@
8383

8484
* [#1814](https://github.com/primer/react/pull/1814) [`384c3756`](https://github.com/primer/react/commit/384c375649da0718cc66b088e3ec5928afbeaded) Thanks [@pksjce](https://github.com/pksjce)! - Upgrade @primer/behaviors
8585

86-
- [#1804](https://github.com/primer/react/pull/1804) [`aa09ed79`](https://github.com/primer/react/commit/aa09ed790ba9461a4516c546924a4673c0b21462) Thanks [@rezrah](https://github.com/rezrah)! - Fixes bug in PointerBox component where caret doesn't inherit correct styling. Backwards compataible with previous API.
86+
- [#1804](https://github.com/primer/react/pull/1804) [`aa09ed79`](https://github.com/primer/react/commit/aa09ed790ba9461a4516c546924a4673c0b21462) Thanks [@rezrah](https://github.com/rezrah)! - Fixes bug in PointerBox component where caret doesn't inherit correct styling. Backwards compatible with previous API.
8787

8888
## 34.2.0
8989

@@ -277,7 +277,7 @@
277277

278278
### Patch Changes
279279

280-
- [#1598](https://github.com/primer/react/pull/1598) [`3bb895f1`](https://github.com/primer/react/commit/3bb895f1a2cbd36d509f005524878d14218acb39) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Better semantics for accessibile ActionList.Group
280+
- [#1598](https://github.com/primer/react/pull/1598) [`3bb895f1`](https://github.com/primer/react/commit/3bb895f1a2cbd36d509f005524878d14218acb39) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Better semantics for accessible ActionList.Group
281281

282282
* [#1601](https://github.com/primer/react/pull/1601) [`250e4b00`](https://github.com/primer/react/commit/250e4b00f4d996b6125d381bae2487b57156687c) Thanks [@siddharthkp](https://github.com/siddharthkp)! - ActionList: Use icon instead of input for multiple selection in ActionList
283283

@@ -657,7 +657,7 @@
657657

658658
- [`d20a5996`](https://github.com/primer/react/commit/d20a5996aafdbc6446f13aaa7a489394926f083a) [#1209](https://github.com/primer/react/pull/1209) Thanks [@dgreif](https://github.com/dgreif)! - Allow Overlay height and width to be set through AnchoredOverlay
659659
Allow ActionList Items to supply an `id` instead of `key`
660-
Performance imporvements when ActionList is not given any groups
660+
Performance improvements when ActionList is not given any groups
661661
Enable focus zone as soon as AnchoredOverlay opens
662662

663663
* [`d29741ca`](https://github.com/primer/react/commit/d29741cab4bfa4249000e5b2479e99f5aeea3189) [#1196](https://github.com/primer/react/pull/1196) Thanks [@dgreif](https://github.com/dgreif)! - Allow custom `children` in `ActionItem`. `text` and `description` can still be provided as a shortcut, but `children` is now available if you need more control over the rending of the item, without sacrificing benefits from `Item` by using `renderItem`.

contributor-docs/adrs/adr-002-behavior-isolation.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,12 +59,12 @@ Building behaviors in React Hooks gives us the ability to provide things like st
5959

6060
#### Other
6161

62-
- The custom element and web component API progress slower than React due to changes needing to go through the whatwq standards process.
62+
- The custom element and web component API progress slower than React due to changes needing to go through the whatwg standards process.
6363

6464
#### Risks of not switching to custom elements for behaviors
6565

6666
- We spend extra time building behaviors in React that have already been built in our [custom elements library](https://github.github.io/web-systems-documentation/#custom-elements).
67-
- There are currently 19 behaviors/components listed on the custom elements documentation site. Several of these we have already implemented in React in either Priemr React, Doctocat, or other React applications at GitHub which can be upstreamed (details-dialog, details-menu, clipboard-copy, text-expander, autocomplete, task-list via drag and drop hooks, tab-container, text-expander).
67+
- There are currently 19 behaviors/components listed on the custom elements documentation site. Several of these we have already implemented in React in either Primer React, Doctocat, or other React applications at GitHub which can be upstreamed (details-dialog, details-menu, clipboard-copy, text-expander, autocomplete, task-list via drag and drop hooks, tab-container, text-expander).
6868
- We decide not to invest further in React at GitHub and have wasted time we could have spent building more custom elements.
6969
- This seems unlikely as there seems to be clear consensus that we will continue to build more and more highly interactive products.
7070
- The React library is abandoned and becomes obsolete.

docs/content/InputField.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@ The container that handles the layout and passes the relevant IDs and ARIA attri
203203
/>
204204
<PropsTableRow
205205
name="validationMap"
206-
type="Record<string, 'error'|'sucess'>"
206+
type="Record<string, 'error'|'success'>"
207207
description="A map of validation statuses and their associated validation keys. When one of the validation keys is passed to the `validationResult` prop, the associated validation message will be rendered in the correct style"
208208
/>
209209
<PropsTableRow name="validationResult" type="string" description="The key of the validation message to show " />

docs/content/PageLayout.mdx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ See [storybook](https://primer.style/react/storybook?path=/story/layout-pagelayo
111111

112112
### PageLayout
113113

114-
<!-- TODO: Resoponsive variants -->
114+
<!-- TODO: Responsive variants -->
115115

116116
<PropsTable>
117117
<PropsTableRow

docs/content/deprecated/SelectMenu.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ Use the `align='right'` prop to align the modal to the right. Note that this onl
124124

125125
## SelectMenu.List
126126

127-
Used to wrap the select menu list content. All menu items **must** be wrapped in a SelectMenu.List in order for the accessbility keyboard handling to function properly. If you are using the `SelectMenu.TabPanel` you do not need to provide a `SelectMenu.List` as that component renders a `SelectMenu.List` as a wrapper.
127+
Used to wrap the select menu list content. All menu items **must** be wrapped in a SelectMenu.List in order for the accessibility keyboard handling to function properly. If you are using the `SelectMenu.TabPanel` you do not need to provide a `SelectMenu.List` as that component renders a `SelectMenu.List` as a wrapper.
128128

129129
```jsx deprecated
130130
<SelectMenu.List>{/* all menu list items are wrapped in the list*/}</SelectMenu.List>
@@ -188,7 +188,7 @@ SelectMenu.Filter components receive all the props that the [TextInput](/TextInp
188188

189189
## SelectMenu.Tabs
190190

191-
Use `SelectMenu.Tabs` to wrap the the tab navigation and `SelectMenu.Tab` for each tab in the navigation.
191+
Use `SelectMenu.Tabs` to wrap the tab navigation and `SelectMenu.Tab` for each tab in the navigation.
192192

193193
`SelectMenu.TabPanel` should wrap each corresponding panel for each of the tabs. The `tabName` prop for each `SelectMenu.TabPanel` must match the name provided in the `tabName` prop on `SelectMenu.Tab`.
194194

docs/content/linting.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,4 +32,4 @@ description: Primer React offers an ESLint plugin to enforce best practices and
3232
}
3333
```
3434

35-
See the [eslint-plugin-primer-react](https://github.com/primer/eslint-plugin-primer-react) respository for a list of included lint rules.
35+
See the [eslint-plugin-primer-react](https://github.com/primer/eslint-plugin-primer-react) repository for a list of included lint rules.

0 commit comments

Comments
 (0)