Skip to content

Commit

Permalink
Merge branch 'next-major' into actionlist-br-hover
Browse files Browse the repository at this point in the history
  • Loading branch information
langermank authored Aug 1, 2023
2 parents 6b619ff + 52c8d22 commit f49612c
Show file tree
Hide file tree
Showing 540 changed files with 12,242 additions and 15,000 deletions.
7 changes: 7 additions & 0 deletions .changeset/cool-hornets-call.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': minor
---

Implement accessibility audit feedback for ToggleSwitch

<!-- Changed components: ToggleSwitch -->
6 changes: 0 additions & 6 deletions .changeset/cool-schools-cheer.md

This file was deleted.

43 changes: 43 additions & 0 deletions .changeset/early-timers-speak.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,43 @@
---
'@primer/react': major
---

Remove components from draft bundle

* Move UnderlineNav2 (draft) to the main bundle

```diff
- import {UnderlineNav} from '@primer/react/drafts'
+ import {UnderlineNav} from '@primer/react'
```

....
* Remove TreeView from drafts

```diff
- import {TreeView} from '@primer/react/drafts'
+ import {TreeView} from '@primer/react'
```

* Remove SegmentedControl from drafts

```diff
- import {SegmentedControl} from '@primer/react/drafts'
+ import {SegmentedControl} from '@primer/react'
```

* Remove NavList from drafts

```diff
- import {NavList} from '@primer/react/drafts'
+ import {NavList} from '@primer/react'
```

* Remove SplitPageLayout from drafts

```diff
- import {SplitPageLayout} from '@primer/react/drafts'
+ import {SplitPageLayout} from '@primer/react'
```

<!-- Changed components: UnderlineNav, TreeView, SegmentedControl, NavList, SplitPageLayout -->
7 changes: 7 additions & 0 deletions .changeset/empty-guests-live.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

passthrough dom props on toggleswitch

<!-- Changed components: ToggleSwitch -->
7 changes: 7 additions & 0 deletions .changeset/green-rules-tickle.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': minor
---

The showPages prop on both Pagination components can now accept a responsive value.

<!-- Changed components: DataTable, Pagination -->
7 changes: 7 additions & 0 deletions .changeset/hot-planes-check.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

Css styled block fixes

<!-- Changed components: DataTable, Timeline -->
20 changes: 20 additions & 0 deletions .changeset/hungry-spies-remember.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,20 @@
---
"@primer/react": patch
---

Deprecates `position` prop for PageLayout.Pane and SplitPageLayout.Pane.

```diff
-<PageLayout>
- <PageLayout.Content />
- <PageLayout.Pane position="start" />
-</PageLayout>

+<PageLayout>
+ <PageLayout.Pane />
+ <PageLayout.Content />
+</PageLayout>

```

<!-- Changed components: PageLayout, SplitPageLayout -->
7 changes: 7 additions & 0 deletions .changeset/new-students-warn.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

UnderlineNav2: underline nav items' selected state can be managed by the app state

<!-- Changed components: UnderlineNav -->
7 changes: 7 additions & 0 deletions .changeset/new-timers-mix.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

Changed div tag to HTML semantic tag header for Header (file Header.tsx) component.

<!-- Changed components: _none_ -->
7 changes: 7 additions & 0 deletions .changeset/plenty-bats-shop.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

ActionList: Fixes the width of items for the full variant

<!-- Changed components: ActionList -->
7 changes: 7 additions & 0 deletions .changeset/plenty-mangos-sniff.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

Adding aria-attributes and role to the ProgressBar component

<!-- Changed components: ProgressBar -->
7 changes: 7 additions & 0 deletions .changeset/rotten-meals-obey.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": patch
---

Adds 'display' text size to PRC theme. This size is described in our [typography documentation](https://primer.style/design/foundations/typography#headings), but was never added to our React theme.

<!-- Changed components: _none_ -->
7 changes: 7 additions & 0 deletions .changeset/silent-books-remain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
'@primer/react': patch
---

Make checkmark visible on reduced-motion

<!-- Changed components: Checkbox -->
5 changes: 5 additions & 0 deletions .changeset/strong-zoos-explain.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

[Bug] Leading & Trailing Visual Colors for Button
5 changes: 5 additions & 0 deletions .changeset/tame-foxes-tan.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/react": patch
---

Fix `MarkdownEditor` file uploads inserting the URL into the wrong input when an overlay is open
7 changes: 7 additions & 0 deletions .changeset/tidy-melons-type.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
---
"@primer/react": patch
---

Prevents body scroll when Dialog (the newer Dialog) is open

<!-- Changed components: Dialog -->
10 changes: 6 additions & 4 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -123,7 +123,7 @@ jobs:
strategy:
fail-fast: false
matrix:
shard: [1, 2]
shard: [1, 2, 3, 4]
steps:
- uses: actions/checkout@v3
- name: Use Node.js 18.x
Expand All @@ -135,8 +135,6 @@ jobs:
run: npm ci
- name: Build storybook
run: npx storybook build
- name: Install browsers
run: npx playwright install --with-deps
- name: Run storybook
id: storybook
run: |
Expand All @@ -145,7 +143,11 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
run: npx playwright test --grep @vrt --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
uses: docker://mcr.microsoft.com/playwright:v1.36.0-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
args: npx playwright test --grep @vrt --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
- name: Stop storybook
run: kill ${{ steps.storybook.outputs.pid }}
- name: Upload report
Expand Down
8 changes: 5 additions & 3 deletions .github/workflows/vrt.yml
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,6 @@ jobs:
run: npm ci
- name: Build storybook
run: npx storybook build
- name: Install browsers
run: npx playwright install --with-deps
- name: Run storybook
id: storybook
run: |
Expand All @@ -53,7 +51,11 @@ jobs:
echo "pid=$pid" >> $GITHUB_OUTPUT
sleep 5
- name: Run VRT
run: npx playwright test --grep @vrt --update-snapshots --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
uses: docker://mcr.microsoft.com/playwright:v1.36.0-jammy
env:
STORYBOOK_URL: 'http://172.17.0.1:6006'
with:
args: npx playwright test --grep @vrt --update-snapshots --shard="${{ matrix.shard }}/${{ strategy.job-total }}"
- name: Stop storybook
if: ${{ always() }}
run: kill ${{ steps.storybook.outputs.pid }}
Expand Down
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f49612c

Please sign in to comment.