-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into subhead-hack
- Loading branch information
Showing
25 changed files
with
549 additions
and
557 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/css": minor | ||
--- | ||
|
||
Add more Octicon icon support to components |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
--- | ||
"@primer/css": patch | ||
--- | ||
|
||
Fix light-theme attr reference in theme docs |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
--- | ||
"@primer/css": patch | ||
--- | ||
|
||
Update all Toast variant icons to use `var(--color-fg-on-emphasis)` | ||
|
||
The only visible change is in the `warning` variant, previously using `var(--color-fg-default)` |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,7 +3,6 @@ on: | |
push: | ||
branches-ignore: | ||
- 'main' | ||
- 'dependabot/**' | ||
paths: | ||
- 'src/**' | ||
- 'docs/**' | ||
|
@@ -22,6 +21,12 @@ jobs: | |
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: Preview | ||
- uses: chrnorm/[email protected] | ||
name: Create GitHub deployment for storybook | ||
id: storybook | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment: Storybook Preview | ||
|
||
- name: Vercel Action | ||
uses: amondnet/vercel-action@v20 | ||
|
@@ -41,6 +46,15 @@ jobs: | |
environment_url: ${{ steps.vercel-action.outputs.preview-url }} | ||
state: "success" | ||
deployment_id: ${{ steps.deployment.outputs.deployment_id }} | ||
|
||
- name: Update storybook deployment status (success) | ||
if: success() | ||
uses: chrnorm/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
environment_url: '${{ steps.vercel-action.outputs.preview-url }}/css/storybook' | ||
state: "success" | ||
deployment_id: ${{ steps.storybook.outputs.deployment_id }} | ||
|
||
- name: Update deployment status (failure) | ||
if: failure() | ||
|
@@ -49,3 +63,12 @@ jobs: | |
token: ${{ secrets.GITHUB_TOKEN }} | ||
state: "failure" | ||
deployment_id: ${{ steps.deployment.outputs.deployment_id }} | ||
|
||
- name: Update storybook deployment status (failure) | ||
if: failure() | ||
uses: chrnorm/[email protected] | ||
with: | ||
token: ${{ secrets.GITHUB_TOKEN }} | ||
state: "failure" | ||
deployment_id: ${{ steps.storybook.outputs.deployment_id }} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
#!/bin/bash | ||
|
||
# Add base url to be able to serve static files | ||
echo '<base href="/css/storybook/" />' >> .storybook/manager-head.html | ||
|
||
# Build storybook inside docs | ||
./node_modules/.bin/build-storybook -o public/storybook -s public/static | ||
|
||
# Remove manager-head after build to not interfere with dev builds | ||
rm .storybook/manager-head.html |
Oops, something went wrong.