Skip to content

Commit e497cb2

Browse files
authored
Merge branch 'main' into perf/buttongroup-has-selector
2 parents 7ee35aa + ea4789f commit e497cb2

File tree

133 files changed

+3183
-884
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

133 files changed

+3183
-884
lines changed

.changeset/afraid-buckets-build.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/fruity-groups-brush.md

Lines changed: 0 additions & 5 deletions
This file was deleted.

.changeset/healthy-poets-act.md

Lines changed: 0 additions & 5 deletions
This file was deleted.
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
perf(TreeView): Cache tree items in typeahead for better INP
6+
7+
- Add useTreeItemCache hook to cache DOM queries for tree items
8+
- Update useRovingTabIndex and useTypeahead to use cached items
9+
- Add documentation for acceptable :has() selector usage

.changeset/ripe-baths-rush.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@primer/react': patch
3+
---
4+
5+
Only shows the aria-describedby id for loading when the component is in the loading state

.github/workflows/aat-reports.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
node-version-file: '.nvmrc'
2525
cache: 'npm'
2626
- name: Set up turbo cache
27-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
27+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
2828
with:
2929
path: .turbo
3030
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -52,7 +52,7 @@ jobs:
5252
run: kill ${{ steps.storybook.outputs.pid }}
5353
- name: Upload report
5454
if: ${{ always() }}
55-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
55+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
5656
with:
5757
name: aat-${{ matrix.shard }}
5858
path: blob-report
@@ -80,7 +80,7 @@ jobs:
8080
- name: merge all reports
8181
run: npx playwright merge-reports --reporter html ./all-blob-reports
8282
- name: Upload report
83-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4
83+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f
8484
with:
8585
name: aat
8686
path: playwright-report

.github/workflows/ci.yml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -50,6 +50,8 @@ jobs:
5050
run: npm run lint:md
5151
- name: Lint npm packages
5252
run: npx turbo lint:npm
53+
- name: Check className test coverage
54+
run: npm run test:classname-coverage
5355

5456
test:
5557
runs-on: ubuntu-latest
@@ -66,7 +68,7 @@ jobs:
6668
node-version-file: '.nvmrc'
6769
cache: 'npm'
6870
- name: Set up turbo cache
69-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
71+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
7072
with:
7173
path: .turbo
7274
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -99,7 +101,7 @@ jobs:
99101
node-version-file: '.nvmrc'
100102
cache: 'npm'
101103
- name: Set up turbo cache
102-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
104+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
103105
with:
104106
path: .turbo
105107
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -131,7 +133,7 @@ jobs:
131133
node-version-file: '.nvmrc'
132134
cache: 'npm'
133135
- name: Set up turbo cache
134-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
136+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
135137
with:
136138
path: .turbo
137139
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -156,7 +158,7 @@ jobs:
156158
node-version-file: '.nvmrc'
157159
cache: 'npm'
158160
- name: Set up turbo cache
159-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
161+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
160162
with:
161163
path: .turbo
162164
key: ${{ runner.os }}-turbo-${{ github.sha }}
@@ -187,7 +189,7 @@ jobs:
187189
node-version-file: '.nvmrc'
188190
cache: 'npm'
189191
- name: Set up turbo cache
190-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
192+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
191193
with:
192194
path: .turbo
193195
key: ${{ runner.os }}-turbo-${{ github.sha }}

.github/workflows/copilot-setup-steps.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ jobs:
1515
node-version-file: '.nvmrc'
1616
cache: 'npm'
1717
- name: Set up turbo cache
18-
uses: actions/cache@5a3ec84eff668545956fd18022155c47e93e2684
18+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
1919
with:
2020
path: .turbo
2121
key: ${{ runner.os }}-turbo-${{ github.sha }}

.github/workflows/figma_connect_publish.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ jobs:
2121
node-version-file: '.nvmrc'
2222

2323
- name: Cache dependencies
24-
uses: actions/cache@d4323d4df104b026a6aa633fdb11d772146be0bf
24+
uses: actions/cache@9255dc7a253b0ccc959486e2bca901246202afeb
2525
with:
2626
path: ~/.npm
2727
key: ${{ runner.os }}-node-${{ hashFiles('**/package-lock.json') }}

.github/workflows/stress-tests.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ jobs:
3434
if: ${{ always() }}
3535
run: kill ${{ steps.storybook.outputs.pid }}
3636
- name: Download previous benchmark data (if any)
37-
uses: actions/cache@v4
37+
uses: actions/cache@v5
3838
with:
3939
path: ./cache
4040
key: stress-tests-benchmark

0 commit comments

Comments
 (0)