Skip to content

Commit

Permalink
Merge branch 'main' into 10670-rtl
Browse files Browse the repository at this point in the history
  • Loading branch information
janhassel authored Mar 1, 2022
2 parents c00b75b + 65f6e8b commit 32af1dd
Show file tree
Hide file tree
Showing 91 changed files with 16,706 additions and 14,595 deletions.
13 changes: 7 additions & 6 deletions .github/renovate.json5
Original file line number Diff line number Diff line change
@@ -1,18 +1,19 @@
{
"extends": [
"extends": [
// https://docs.renovatebot.com/presets-config/#configjs-lib
"config:js-lib",

// https://docs.renovatebot.com/presets-default/#maintainlockfilesweekly
":maintainLockFilesWeekly",

// https://docs.renovatebot.com/presets-default/#preservesemverranges
":preserveSemverRanges",

// https://docs.renovatebot.com/presets-npm/#npmunpublishsafe
"npm:unpublishSafe",

// https://docs.renovatebot.com/presets-schedule/#scheduledaily
"schedule:earlyMondays"
]
"schedule:earlyMondays",
],
"rebaseWhen": "never",
}
3 changes: 2 additions & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,8 @@ jobs:
- name: Build project
run: yarn build --ignore '@carbon/sketch'
- name: Run VRT
if: github.repository == 'carbon-design-system/carbon'
env:
PERCY_TOKEN: ${{ secrets.PERCY_TOKEN }}
PERCY_TOKEN: c9a21a3fde4fda0a0f822d633426ab26e2ab2c1cba55221d342d4047744c8c24
run: |
yarn run percy exec -- yarn workspace carbon-components-react test:e2e
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
1 change: 1 addition & 0 deletions config/stylelint-config-carbon/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ module.exports = {
require.resolve('./rules/possible-errors'),
require.resolve('./rules/limit-language-features'),
require.resolve('./rules/stylistic-issues'),
require.resolve('./plugins/a11y'),
require.resolve('./plugins/prettier'),
require.resolve('./plugins/scss'),
],
Expand Down
1 change: 1 addition & 0 deletions config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,7 @@
"stylelint": "^14.3.0"
},
"dependencies": {
"stylelint-a11y": "^1.2.3",
"stylelint-config-idiomatic-order": "^8.1.0",
"stylelint-config-prettier": "^9.0.3",
"stylelint-config-standard": "^24.0.0",
Expand Down
15 changes: 15 additions & 0 deletions config/stylelint-config-carbon/plugins/a11y.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
/**
* Copyright IBM Corp. 2018, 2018
*
* This source code is licensed under the Apache-2.0 license found in the
* LICENSE file in the root directory of this source tree.
*/

'use strict';

module.exports = {
plugins: ['stylelint-a11y'],
rules: {
'a11y/media-prefers-reduced-motion': true,
},
};
34 changes: 16 additions & 18 deletions docs/migration/v11.md
Original file line number Diff line number Diff line change
Expand Up @@ -372,26 +372,24 @@ The `scss/globals/scss/_motion.scss` entrypoint re-exported exports from the
`@carbon/motion` package along with providing a number of helpers and variables
for duration and easing curves.

| v10 | v11 |
| :------------------------- | :---------------------- |
| `$carbon--ease-in` | Removed |
| `$carbon--ease-out` | Removed |
| `$carbon--standard-easing` | Removed |
| `$transition--base` | Removed |
| `$transition--expansion` | Removed |
| `$duration--fast-01` | `$duration-fast-01` |
| `$duration--fast-02` | `$duartion-fast-02` |
| `$duration--moderate-01` | `$duration-moderate-01` |
| `$duration--moderate-02` | `$duration-moderate-01` |
| `$duration--slow-01` | `$duration-slow-01` |
| `$duration--slow-02` | `$duration-slow-02` |
| `@function motion` | No changes |
| `@mixin motion` | No changes |

TODO what to use instead of removed items?
| v10 | v11 |
| :------------------------- | :--------------------------------- |
| `$carbon--ease-in` | Renamed to `$ease-in` |
| `$carbon--ease-out` | Renamed to `$ease-out` |
| `$carbon--standard-easing` | Renamed to `$standard-easing` |
| `$transition--base` | Renamed to `$transition-base` |
| `$transition--expansion` | Renamed to `$transition-expansion` |
| `$duration--fast-01` | `$duration-fast-01` |
| `$duration--fast-02` | `$duartion-fast-02` |
| `$duration--moderate-01` | `$duration-moderate-01` |
| `$duration--moderate-02` | `$duration-moderate-01` |
| `$duration--slow-01` | `$duration-slow-01` |
| `$duration--slow-02` | `$duration-slow-02` |
| `@function motion` | No changes |
| `@mixin motion` | No changes |

For a full overview of what is available in this entrypoint, check out the
[API documentation](../../packages/motion/docs/sass.md#todo) for the
[API documentation](../../packages/motion/docs/sass.md#api) for the
`@carbon/motion` package.

#### `scss/globals/scss/_spacing.scss`
Expand Down
144 changes: 144 additions & 0 deletions e2e/icons-react/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -174,6 +174,10 @@ Array [
"Analytics20",
"Analytics24",
"Analytics32",
"AnalyticsCustom16",
"AnalyticsCustom20",
"AnalyticsCustom24",
"AnalyticsCustom32",
"AnalyticsReference16",
"AnalyticsReference20",
"AnalyticsReference24",
Expand Down Expand Up @@ -298,6 +302,18 @@ Array [
"AsleepFilled20",
"AsleepFilled24",
"AsleepFilled32",
"Assembly16",
"Assembly20",
"Assembly24",
"Assembly32",
"AssemblyCluster16",
"AssemblyCluster20",
"AssemblyCluster24",
"AssemblyCluster32",
"AssemblyReference16",
"AssemblyReference20",
"AssemblyReference24",
"AssemblyReference32",
"Asset16",
"Asset20",
"Asset24",
Expand Down Expand Up @@ -582,6 +598,14 @@ Array [
"Bus20",
"Bus24",
"Bus32",
"ButtonCentered16",
"ButtonCentered20",
"ButtonCentered24",
"ButtonCentered32",
"ButtonFlushLeft16",
"ButtonFlushLeft20",
"ButtonFlushLeft24",
"ButtonFlushLeft32",
"CabinCare16",
"CabinCare20",
"CabinCare24",
Expand Down Expand Up @@ -666,6 +690,14 @@ Array [
"CarbonAccounting20",
"CarbonAccounting24",
"CarbonAccounting32",
"CarbonForIbmDotcom16",
"CarbonForIbmDotcom20",
"CarbonForIbmDotcom24",
"CarbonForIbmDotcom32",
"CarbonForIbmProduct16",
"CarbonForIbmProduct20",
"CarbonForIbmProduct24",
"CarbonForIbmProduct32",
"CaretDown16",
"CaretDown20",
"CaretDown24",
Expand Down Expand Up @@ -768,10 +800,42 @@ Array [
"ChangeCatalog20",
"ChangeCatalog24",
"ChangeCatalog32",
"CharacterDecimal16",
"CharacterDecimal20",
"CharacterDecimal24",
"CharacterDecimal32",
"CharacterFraction16",
"CharacterFraction20",
"CharacterFraction24",
"CharacterFraction32",
"CharacterInteger16",
"CharacterInteger20",
"CharacterInteger24",
"CharacterInteger32",
"CharacterLowerCase16",
"CharacterLowerCase20",
"CharacterLowerCase24",
"CharacterLowerCase32",
"CharacterNegativeNumber16",
"CharacterNegativeNumber20",
"CharacterNegativeNumber24",
"CharacterNegativeNumber32",
"CharacterPatterns16",
"CharacterPatterns20",
"CharacterPatterns24",
"CharacterPatterns32",
"CharacterSentenceCase16",
"CharacterSentenceCase20",
"CharacterSentenceCase24",
"CharacterSentenceCase32",
"CharacterUpperCase16",
"CharacterUpperCase20",
"CharacterUpperCase24",
"CharacterUpperCase32",
"CharacterWholeNumber16",
"CharacterWholeNumber20",
"CharacterWholeNumber24",
"CharacterWholeNumber32",
"ChargingStation16",
"ChargingStation20",
"ChargingStation24",
Expand Down Expand Up @@ -1486,6 +1550,10 @@ Array [
"ConvertToCloud20",
"ConvertToCloud24",
"ConvertToCloud32",
"Cookie16",
"Cookie20",
"Cookie24",
"Cookie32",
"Copy16",
"Copy20",
"Copy24",
Expand Down Expand Up @@ -1700,6 +1768,10 @@ Array [
"DataDiode20",
"DataDiode24",
"DataDiode32",
"DataEnrichment16",
"DataEnrichment20",
"DataEnrichment24",
"DataEnrichment32",
"DataError16",
"DataError20",
"DataError24",
Expand Down Expand Up @@ -2648,6 +2720,10 @@ Array [
"FloodWarning20",
"FloodWarning24",
"FloodWarning32",
"Floorplan16",
"Floorplan20",
"Floorplan24",
"Floorplan32",
"Flow16",
"Flow20",
"Flow24",
Expand Down Expand Up @@ -3104,6 +3180,10 @@ Array [
"IbmCloudPakWatsonAiops20",
"IbmCloudPakWatsonAiops24",
"IbmCloudPakWatsonAiops32",
"IbmCloudSecurityComplianceCenter16",
"IbmCloudSecurityComplianceCenter20",
"IbmCloudSecurityComplianceCenter24",
"IbmCloudSecurityComplianceCenter32",
"IbmCloudSubnets16",
"IbmCloudSubnets20",
"IbmCloudSubnets24",
Expand Down Expand Up @@ -3132,6 +3212,10 @@ Array [
"IbmSecurityServices20",
"IbmSecurityServices24",
"IbmSecurityServices32",
"IbmWatsonOrders16",
"IbmWatsonOrders20",
"IbmWatsonOrders24",
"IbmWatsonOrders32",
"IceAccretion16",
"IceAccretion20",
"IceAccretion24",
Expand Down Expand Up @@ -3290,6 +3374,38 @@ Array [
"Integration20",
"Integration24",
"Integration32",
"IntentRequestActive16",
"IntentRequestActive20",
"IntentRequestActive24",
"IntentRequestActive32",
"IntentRequestCreate16",
"IntentRequestCreate20",
"IntentRequestCreate24",
"IntentRequestCreate32",
"IntentRequestHeal16",
"IntentRequestHeal20",
"IntentRequestHeal24",
"IntentRequestHeal32",
"IntentRequestInactive16",
"IntentRequestInactive20",
"IntentRequestInactive24",
"IntentRequestInactive32",
"IntentRequestScaleIn16",
"IntentRequestScaleIn20",
"IntentRequestScaleIn24",
"IntentRequestScaleIn32",
"IntentRequestScaleOut16",
"IntentRequestScaleOut20",
"IntentRequestScaleOut24",
"IntentRequestScaleOut32",
"IntentRequestUninstall16",
"IntentRequestUninstall20",
"IntentRequestUninstall24",
"IntentRequestUninstall32",
"IntentRequestUpgrade16",
"IntentRequestUpgrade20",
"IntentRequestUpgrade24",
"IntentRequestUpgrade32",
"Interactions16",
"Interactions20",
"Interactions24",
Expand Down Expand Up @@ -4859,6 +4975,10 @@ Array [
"ProgressBarRound20",
"ProgressBarRound24",
"ProgressBarRound32",
"PropertyRelationship16",
"PropertyRelationship20",
"PropertyRelationship24",
"PropertyRelationship32",
"Purchase16",
"Purchase20",
"Purchase24",
Expand Down Expand Up @@ -5395,6 +5515,14 @@ Array [
"Schematics20",
"Schematics24",
"Schematics32",
"ScisControlTower16",
"ScisControlTower20",
"ScisControlTower24",
"ScisControlTower32",
"ScisTransparentSupply16",
"ScisTransparentSupply20",
"ScisTransparentSupply24",
"ScisTransparentSupply32",
"Scooter16",
"Scooter20",
"Scooter24",
Expand Down Expand Up @@ -5735,6 +5863,18 @@ Array [
"Soccer20",
"Soccer24",
"Soccer32",
"SoftwareResource16",
"SoftwareResource20",
"SoftwareResource24",
"SoftwareResource32",
"SoftwareResourceCluster16",
"SoftwareResourceCluster20",
"SoftwareResourceCluster24",
"SoftwareResourceCluster32",
"SoftwareResourceResource16",
"SoftwareResourceResource20",
"SoftwareResourceResource24",
"SoftwareResourceResource32",
"SoilMoisture16",
"SoilMoisture20",
"SoilMoisture24",
Expand Down Expand Up @@ -5771,6 +5911,10 @@ Array [
"SortDescending20",
"SortDescending24",
"SortDescending32",
"SortRemove16",
"SortRemove20",
"SortRemove24",
"SortRemove32",
"SpellCheck16",
"SpellCheck20",
"SpellCheck24",
Expand Down
Loading

0 comments on commit 32af1dd

Please sign in to comment.