Skip to content

Commit

Permalink
Merge branch 'main' of github.com:carbon-design-system/carbon
Browse files Browse the repository at this point in the history
  • Loading branch information
mbarrer committed Sep 19, 2022
2 parents 51765ae + ab4ebe6 commit a55f812
Show file tree
Hide file tree
Showing 173 changed files with 20,676 additions and 17,660 deletions.
42 changes: 42 additions & 0 deletions .github/workflows/deploy-packages.yml
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,48 @@ jobs:
**Checklist**
- [ ] Verify package version bumps are accurate
- [ ] Verify CI passes as expected
- [ ] Verify no regressions on the website in the deploy preview
design-language-website:
runs-on: ubuntu-latest
timeout-minutes: 15
steps:
- uses: actions/checkout@v3
with:
repository: carbon-design-system/design-language-website
ref: master
- name: Use Node.js 16.x
uses: actions/setup-node@v3
with:
node-version: '16.x'
registry-url: 'https://registry.npmjs.org'
- name: Update dependencies
run: |
yarn upgrade \
@carbon/pictograms@next \
@carbon/pictograms-react@next \
@carbon/icons@next \
@carbon/icons-react@next \
- 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/update-carbon-deps-${{ github.ref }}'
commit-message: 'chore(release): update carbon deps'
delete-branch: true
title: 'chore(release): update carbon deps'
token: ${{ steps.generate_token.outputs.token }}
body: |
Automated pull request to update Carbon on the website
**Checklist**
- [ ] Verify package version bumps are accurate
- [ ] Verify CI passes as expected
- [ ] Verify no regressions on the website in the deploy preview
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.
6 changes: 3 additions & 3 deletions config/eslint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-carbon",
"description": "ESLint configuration for Carbon",
"version": "2.14.0",
"version": "2.15.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -33,7 +33,7 @@
},
"dependencies": {
"babel-eslint": "^10.1.0",
"eslint-config-airbnb": "^18.2.1",
"eslint-config-airbnb": "^19.0.0",
"eslint-config-airbnb-base": "^14.2.1",
"eslint-config-prettier": "^8.3.0",
"eslint-plugin-cypress": "^2.11.3",
Expand All @@ -48,6 +48,6 @@
"eslint-restricted-globals": "^0.2.0"
},
"devDependencies": {
"prettier": "^2.6.2"
"prettier": "^2.7.1"
}
}
4 changes: 2 additions & 2 deletions config/prettier-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "prettier-config-carbon",
"description": "Prettier config for the Carbon Design System",
"version": "0.7.0",
"version": "0.8.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand All @@ -24,6 +24,6 @@
"prettier": "^2.1.0"
},
"devDependencies": {
"prettier": "^2.6.2"
"prettier": "^2.7.1"
}
}
4 changes: 2 additions & 2 deletions config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "stylelint-config-carbon",
"description": "Stylelint configuration for Carbon",
"version": "1.10.0",
"version": "1.11.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand Down Expand Up @@ -37,7 +37,7 @@
"stylelint-scss": "^4.1.0"
},
"devDependencies": {
"prettier": "^2.6.2",
"prettier": "^2.7.1",
"stylelint": "^14.3.0"
}
}
25 changes: 25 additions & 0 deletions docs/release.md
Original file line number Diff line number Diff line change
Expand Up @@ -399,3 +399,28 @@ git checkout vX.Y.X

3. On success, manually create a GitHub release associated with the proper tag,
and include the generated changelog.

### We're getting reports of unpkg links not working

Reports like
[these](https://github.com/carbon-design-system/carbon/issues/12052#issuecomment-1238383908)
can be the result of unpkg's default behavior of resolving
`https://unpkg.com/carbon-components/*` to the version corresponding to the
`latest` tag.

It's likely that the `latest` tag was erroneously applied to a v11.x version,
causing anyone using a non-versioned unpkg link to begin resolving to the v11
package which does not contain a compiled stylesheet.

To fix, re-apply the `latest` tag to `v10.x` instead of `v11.x`. Any
non-versioned unpkg links should now resolve to `[email protected]` again.

```bash
npm dist-tag add [email protected] latest
```

Instruct users to prevent this in the future by appending `@10` to the package
name to ensure unpkg resolves to the latest v10 version:

`https://unpkg.com/carbon-components@10/css/carbon-components.min.css`
`https://unpkg.com/carbon-components@10/scripts/carbon-components.min.js`
59 changes: 59 additions & 0 deletions e2e/icons-react/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -141,6 +141,7 @@ Array [
"BrightnessContrast",
"BringForward",
"BringToFront",
"BuildTool",
"Building",
"BuildingInsights_1",
"BuildingInsights_2",
Expand Down Expand Up @@ -185,6 +186,7 @@ Array [
"CarouselHorizontal",
"CarouselVertical",
"Catalog",
"CatalogPublish",
"Categories",
"Category",
"CategoryAdd",
Expand Down Expand Up @@ -382,6 +384,8 @@ Array [
"ContentView",
"Continue",
"ContinueFilled",
"ContinuousDeployment",
"ContinuousIntegration",
"Contrast",
"ConvertToCloud",
"Cookie",
Expand Down Expand Up @@ -782,29 +786,66 @@ Array [
"HybridNetworking",
"HybridNetworkingAlt",
"IbmCloud",
"IbmCloudCitrixDaas",
"IbmCloudDedicatedHost",
"IbmCloudDirectLink_1Connect",
"IbmCloudDirectLink_1Dedicated",
"IbmCloudDirectLink_1DedicatedHosting",
"IbmCloudDirectLink_1Exchange",
"IbmCloudDirectLink_2Connect",
"IbmCloudDirectLink_2Dedicated",
"IbmCloudDirectLink_2DedicatedHosting",
"IbmCloudEventNotification",
"IbmCloudEventStreams",
"IbmCloudHyperProtectCryptoServices",
"IbmCloudHyperProtectDbaas",
"IbmCloudHyperProtectVs",
"IbmCloudInternetServices",
"IbmCloudKeyProtect",
"IbmCloudKubernetesService",
"IbmCloudLogging",
"IbmCloudMassDataMigration",
"IbmCloudPakApplications",
"IbmCloudPakBusinessAutomation",
"IbmCloudPakData",
"IbmCloudPakIntegration",
"IbmCloudPakMantaAutomatedDataLineage",
"IbmCloudPakMulticloudMgmt",
"IbmCloudPakNetezza",
"IbmCloudPakNetworkAutomation",
"IbmCloudPakSecurity",
"IbmCloudPakSystem",
"IbmCloudPakWatsonAiops",
"IbmCloudPal",
"IbmCloudSecretsManager",
"IbmCloudSecurityComplianceCenter",
"IbmCloudSubnets",
"IbmCloudSysdigSecure",
"IbmCloudTransitGateway",
"IbmCloudVpcEndpoints",
"IbmDataReplication",
"IbmDatastage",
"IbmMatch_360",
"IbmMq",
"IbmOpenEnterpriseLanguages",
"IbmPowerVs",
"IbmSecurity",
"IbmSecurityServices",
"IbmWatsonAssistant",
"IbmWatsonDiscovery",
"IbmWatsonKnowledgeCatalog",
"IbmWatsonKnowledgeStudio",
"IbmWatsonLanguageTranslator",
"IbmWatsonMachineLearning",
"IbmWatsonNaturalLanguageClassifier",
"IbmWatsonNaturalLanguageUnderstanding",
"IbmWatsonOpenscale",
"IbmWatsonOrders",
"IbmWatsonQuery",
"IbmWatsonSpeechToText",
"IbmWatsonStudio",
"IbmWatsonTextToSpeech",
"IbmWatsonToneAnalyzer",
"IbmZCloudModStack",
"IbmZCloudProvisioning",
"IbmZOsPackageManager",
Expand Down Expand Up @@ -876,6 +917,7 @@ Array [
"JumpLink",
"KeepDry",
"Keyboard",
"KeyboardOff",
"Kubernetes",
"Label",
"Language",
Expand Down Expand Up @@ -956,30 +998,38 @@ Array [
"Locked",
"LogicalPartition",
"Login",
"LogoAngular",
"LogoDigg",
"LogoDiscord",
"LogoFacebook",
"LogoFigma",
"LogoFlickr",
"LogoGithub",
"LogoGlassdoor",
"LogoInstagram",
"LogoInvision",
"LogoJupyter",
"LogoKeybase",
"LogoKubernetes",
"LogoLinkedin",
"LogoLivestream",
"LogoMedium",
"LogoNpm",
"LogoOpenshift",
"LogoPinterest",
"LogoPython",
"LogoQuora",
"LogoRScript",
"LogoReact",
"LogoSketch",
"LogoSkype",
"LogoSlack",
"LogoSnapchat",
"LogoSvelte",
"LogoTumblr",
"LogoTwitter",
"LogoVmware",
"LogoVue",
"LogoWechat",
"LogoXing",
"LogoYelp",
Expand Down Expand Up @@ -1246,6 +1296,7 @@ Array [
"Product",
"ProgressBar",
"ProgressBarRound",
"Promote",
"PropertyRelationship",
"Purchase",
"QBarrier",
Expand Down Expand Up @@ -1314,6 +1365,8 @@ Array [
"Replicate",
"Reply",
"ReplyAll",
"RepoArtifact",
"RepoSourceCode",
"Report",
"ReportData",
"RequestQuote",
Expand Down Expand Up @@ -1434,6 +1487,10 @@ Array [
"ShrinkScreenFilled",
"Shuffle",
"Shuttle",
"SidePanelClose",
"SidePanelCloseFilled",
"SidePanelOpen",
"SidePanelOpenFilled",
"Sight",
"Sigma",
"SignalStrength",
Expand Down Expand Up @@ -1571,6 +1628,7 @@ Array [
"Term",
"Terminal",
"Terminal_3270",
"TestTool",
"TextAlignCenter",
"TextAlignJustify",
"TextAlignLeft",
Expand Down Expand Up @@ -1684,6 +1742,7 @@ Array [
"UnknownFilled",
"Unlink",
"Unlocked",
"Unsaved",
"UpToTop",
"UpdateNow",
"Upgrade",
Expand Down
Loading

0 comments on commit a55f812

Please sign in to comment.