-
Notifications
You must be signed in to change notification settings - Fork 1.8k
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 feat/add-component-tokens-to-zones
- Loading branch information
Showing
171 changed files
with
1,042 additions
and
1,648 deletions.
There are no files selected for viewing
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 |
---|---|---|
|
@@ -13,3 +13,11 @@ jobs: | |
with: | ||
GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} | ||
enabled: true | ||
add-to-project: | ||
name: Add issue to Design System project | ||
runs-on: ubuntu-latest | ||
steps: | ||
- uses: actions/[email protected] | ||
with: | ||
project-url: https://github.com/orgs/carbon-design-system/projects/39 | ||
github-token: ${{ secrets.ADD_TO_PROJECT_PAT }} |
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,82 @@ | ||
name: Version | ||
|
||
concurrency: | ||
group: ${{ github.workflow }}-${{ github.ref }} | ||
cancel-in-progress: true | ||
|
||
on: | ||
workflow_dispatch: | ||
inputs: | ||
type: | ||
required: true | ||
description: 'Specify the type of release' | ||
type: choice | ||
default: preminor | ||
options: | ||
- preminor | ||
- minor | ||
tag: | ||
required: true | ||
description: 'Specify the tag for this release' | ||
type: string | ||
|
||
jobs: | ||
version: | ||
runs-on: ubuntu-latest | ||
if: github.repository == 'carbon-design-system/carbon' | ||
timeout-minutes: 60 | ||
steps: | ||
- uses: actions/checkout@v3 | ||
with: | ||
fetch-depth: '0' | ||
- name: Use Node.js 16.x | ||
uses: actions/setup-node@v3 | ||
with: | ||
node-version: '16.x' | ||
registry-url: 'https://registry.npmjs.org' | ||
- uses: actions/cache@v3 | ||
id: cache | ||
with: | ||
path: | | ||
node_modules | ||
*/**/node_modules | ||
key: ${{ runner.os }}-yarn-${{ hashFiles('**/yarn.lock') }} | ||
- name: Install dependencies | ||
run: yarn install --immutable --immutable-cache --check-cache | ||
- name: Create preminor release | ||
if: ${{ github.event.inputs.type == 'preminor' }} | ||
run: | | ||
yarn lerna version preminor --no-git-tag-version --preid rc --yes | ||
# We want the following command to update the lockfile since | ||
# the package versions have been changed | ||
yarn install --no-immutable | ||
- name: Create minor release | ||
if: ${{ github.event.inputs.type == 'minor' }} | ||
run: | | ||
yarn lerna version minor --no-git-tag-version --no-push --yes | ||
# We want the following command to update the lockfile since | ||
# the package versions have been changed | ||
yarn install --no-immutable | ||
- name: Generate token | ||
uses: tibdex/github-app-token@v1 | ||
id: generate_token | ||
with: | ||
app_id: ${{ secrets.APP_ID }} | ||
private_key: ${{ secrets.APP_PRIVATE_KEY }} | ||
- name: Create Pull Request | ||
uses: peter-evans/create-pull-request@v4 | ||
with: | ||
branch: 'release/${{ github.event.inputs.tag }}' | ||
commit-message: 'chore(release): ${{ github.event.inputs.tag }}' | ||
delete-branch: true | ||
title: 'chore(release): ${{ github.event.inputs.tag }}' | ||
token: ${{ steps.generate_token.outputs.token }} | ||
body: | | ||
Automated release PR for ${{ github.event.inputs.tag }} | ||
**Checklist** | ||
- [ ] Verify package version bumps are accurate | ||
- [ ] Verify CI passes as expected |
Binary file removed
BIN
-2.65 KB
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.14.5-14192e29dd-3a2ba87534.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+21.5 KB
...erver-npm-1.8.3-a8e77f5677-f304baeb69.zip → ...erver-npm-1.8.4-8a9506e39c-cfe2638b95.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+22.4 KB
.yarn/cache/@next-eslint-plugin-next-npm-12.1.4-37508c8682-6908d3ea06.zip
Binary file not shown.
Binary file removed
BIN
-3.51 KB
.yarn/cache/@next-polyfill-module-npm-12.0.3-621261636c-828e0323a3.zip
Binary file not shown.
Binary file removed
BIN
-146 KB
.yarn/cache/@next-react-dev-overlay-npm-12.0.3-78570264b3-c5433992c1.zip
Binary file not shown.
Binary file removed
BIN
-11.3 KB
.yarn/cache/@next-react-refresh-utils-npm-12.0.3-2d96b8fa67-7e9c6ea480.zip
Binary file not shown.
Binary file renamed
BIN
+12.8 MB
...wc-darwin-x64-npm-12.0.3-a2433f1b97-8.zip → ...wc-darwin-x64-npm-12.1.4-9ecb3a505a-8.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+14.7 MB
...inux-x64-musl-npm-12.0.3-e6e6e5fe53-8.zip → ...linux-x64-gnu-npm-12.1.4-ff4dc95f7b-8.zip
Binary file not shown.
Binary file renamed
BIN
+12.6 MB
...in32-x64-msvc-npm-12.0.3-b2ecd87ca4-8.zip → ...in32-x64-msvc-npm-12.1.4-f668038e2f-8.zip
Binary file not shown.
Binary file added
BIN
+12.4 KB
.yarn/cache/@rushstack-eslint-patch-npm-1.0.8-af8bb599ec-e1c4e2d831.zip
Binary file not shown.
Binary file added
BIN
+12.7 KB
.yarn/cache/@typescript-eslint-parser-npm-5.10.1-c7b8a57212-36e94b3fb5.zip
Binary file not shown.
Binary file added
BIN
+283 KB
.yarn/cache/@typescript-eslint-scope-manager-npm-5.10.1-d6ee2eebb4-a4f802ca68.zip
Binary file not shown.
Binary file added
BIN
+26.3 KB
.yarn/cache/@typescript-eslint-types-npm-5.10.1-c4c21e80f9-e8bbedae74.zip
Binary file not shown.
Binary file added
BIN
+123 KB
.yarn/cache/@typescript-eslint-typescript-estree-npm-5.10.1-160c74e5e8-5721e99baa.zip
Binary file not shown.
Binary file added
BIN
+9.12 KB
.yarn/cache/@typescript-eslint-visitor-keys-npm-5.10.1-0ff2edd910-7e1e1a41b2.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-7.61 KB
.yarn/cache/available-typed-arrays-npm-1.0.5-88f321e4d3-20eb47b3ce.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-77.2 KB
.yarn/cache/cssnano-preset-simple-npm-3.0.0-42fae6d1e4-03ad717960.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.71 KB
.yarn/cache/currently-unhandled-npm-0.4.1-38eddab665-1f59fe10b5.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+4.28 KB
.yarn/cache/eslint-import-resolver-node-npm-0.3.4-fa0173d267-a0db55ec26.zip
Binary file not shown.
Binary file added
BIN
+17.9 KB
.yarn/cache/eslint-import-resolver-typescript-npm-2.4.0-cae47bb9ea-2db0de3353.zip
Binary file not shown.
Binary file not shown.
Binary file added
BIN
+32.4 KB
.yarn/cache/eslint-plugin-react-hooks-npm-4.3.0-290cb54ea5-0ba1566ba0.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-12.6 KB
.yarn/cache/is-generator-function-npm-1.0.10-1d0f3809ef-d54644e7db.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-33.9 KB
.yarn/cache/jest-worker-npm-27.0.0-next.5-6f53fab806-d56bfe67cd.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+6 MB
...next-npm-12.0.3-9304238c07-68be20fdc9.zip → ...next-npm-12.1.4-9b58f8a2b5-d19354cf4e.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-9.17 KB
.yarn/cache/regenerator-runtime-npm-0.13.4-09f9ad5d1a-ba49669ddb.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
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 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 |
---|---|---|
@@ -1,15 +1,15 @@ | ||
{ | ||
"name": "codesandbox-styles", | ||
"private": true, | ||
"version": "0.3.3", | ||
"version": "0.4.0", | ||
"scripts": { | ||
"develop": "vite" | ||
}, | ||
"devDependencies": { | ||
"vite": "^2.8.0" | ||
}, | ||
"dependencies": { | ||
"@carbon/styles": "^1.0.2", | ||
"@carbon/styles": "^1.1.0", | ||
"sass": "^1.49.7" | ||
} | ||
} |
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 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
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
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,3 @@ | ||
{ | ||
"extends": "next/core-web-vitals" | ||
} |
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,32 @@ | ||
# See https://help.github.com/articles/ignoring-files/ for more about ignoring files. | ||
|
||
# dependencies | ||
/node_modules | ||
/.pnp | ||
.pnp.js | ||
|
||
# testing | ||
/coverage | ||
|
||
# next.js | ||
/.next/ | ||
/out/ | ||
|
||
# production | ||
/build | ||
|
||
# misc | ||
.DS_Store | ||
*.pem | ||
|
||
# debug | ||
npm-debug.log* | ||
yarn-debug.log* | ||
yarn-error.log* | ||
.pnpm-debug.log* | ||
|
||
# local env files | ||
.env*.local | ||
|
||
# vercel | ||
.vercel |
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,48 @@ | ||
This is a [Next.js](https://nextjs.org/) project bootstrapped with | ||
[`create-next-app`](https://github.com/vercel/next.js/tree/canary/packages/create-next-app). | ||
|
||
## Getting Started | ||
|
||
First, run the development server: | ||
|
||
```bash | ||
npm run dev | ||
# or | ||
yarn dev | ||
``` | ||
|
||
Open [http://localhost:3000](http://localhost:3000) with your browser to see the | ||
result. | ||
|
||
You can start editing the page by modifying `pages/index.js`. The page | ||
auto-updates as you edit the file. | ||
|
||
[API routes](https://nextjs.org/docs/api-routes/introduction) can be accessed on | ||
[http://localhost:3000/api/hello](http://localhost:3000/api/hello). This | ||
endpoint can be edited in `pages/api/hello.js`. | ||
|
||
The `pages/api` directory is mapped to `/api/*`. Files in this directory are | ||
treated as [API routes](https://nextjs.org/docs/api-routes/introduction) instead | ||
of React pages. | ||
|
||
## Learn More | ||
|
||
To learn more about Next.js, take a look at the following resources: | ||
|
||
- [Next.js Documentation](https://nextjs.org/docs) - learn about Next.js | ||
features and API. | ||
- [Learn Next.js](https://nextjs.org/learn) - an interactive Next.js tutorial. | ||
|
||
You can check out | ||
[the Next.js GitHub repository](https://github.com/vercel/next.js/) - your | ||
feedback and contributions are welcome! | ||
|
||
## Deploy on Vercel | ||
|
||
The easiest way to deploy your Next.js app is to use the | ||
[Vercel Platform](https://vercel.com/new?utm_medium=default-template&filter=next.js&utm_source=create-next-app&utm_campaign=create-next-app-readme) | ||
from the creators of Next.js. | ||
|
||
Check out our | ||
[Next.js deployment documentation](https://nextjs.org/docs/deployment) for more | ||
details. |
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,6 @@ | ||
/** @type {import('next').NextConfig} */ | ||
const nextConfig = { | ||
reactStrictMode: true, | ||
}; | ||
|
||
module.exports = nextConfig; |
Oops, something went wrong.