Skip to content

Commit

Permalink
Merge branch 'master' into pagination-overflow
Browse files Browse the repository at this point in the history
  • Loading branch information
tw15egan authored Feb 25, 2021
2 parents 7c75270 + 0310add commit ed4ae1f
Show file tree
Hide file tree
Showing 130 changed files with 1,115 additions and 338 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/[email protected].4
uses: actions/[email protected].5
with:
node-version: '14.x'
- name: Run yarn dedupe
Expand All @@ -20,7 +20,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/[email protected].4
uses: actions/[email protected].5
with:
node-version: '14.x'
- name: Install dependencies
Expand All @@ -33,7 +33,7 @@ jobs:
steps:
- uses: actions/checkout@v2
- name: Use Node.js 14.x
uses: actions/[email protected].4
uses: actions/[email protected].5
with:
node-version: '14.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-react-storybook.yml
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.5
with:
node-version: '14.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/deploy-vanilla-devenv.yml
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.5
with:
node-version: '14.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/nightly-release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ jobs:
steps:
- uses: actions/checkout@master
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.5
with:
node-version: '14.x'
- name: Install dependencies
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/release.yml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ jobs:
- uses: actions/checkout@v1

- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.5
with:
node-version: '14.x'
registry-url: 'https://registry.npmjs.org'
Expand Down
2 changes: 1 addition & 1 deletion .github/workflows/sync-generated-files.yml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ jobs:
steps:
- uses: actions/checkout@v1
- name: Use Node.js 14.x
uses: actions/setup-node@v1
uses: actions/setup-node@v2.1.5
with:
node-version: '14.x'
- name: Install dependencies
Expand Down
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.
65 changes: 65 additions & 0 deletions docs/migration/11.x-carbon-components.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
# `carbon-components`

**Note: everything in this file is a work-in-progress and will be changed.**

## Overview

- Carbon now uses [Dart Sass](https://npmjs.com/package/sass) along with Sass
Modules
- File paths have been renamed to provide shorter paths and more intuitive ways
to get access to common variables, mixins, functions, and more.
- Prefixed variables, functions, and mixins have been renamed as part of our
migration to Sass Modules

## Files

| Filename | v11 |
| --------------------------------------------------------------- | --------------------------------------- |
| `scss/globals` | |
| `scss/globals/fonts/*` | Removed |
| `scss/globals/grid/_grid.scss` | `scss/_grid.scss` |
| `scss/globals/scss` | `scss` |
| `scss/globals/scss/vendor/*` | Removed |
| `scss/globals/scss/_colors.scss` | `scss/_colors.scss` |
| `scss/globals/scss/_component-tokens.scss` | |
| `scss/globals/scss/_css--body.scss` | |
| `scss/globals/scss/_css--font-face.scss` | |
| `scss/globals/scss/_css--helpers.scss` | |
| `scss/globals/scss/_css--reset.scss` | |
| `scss/globals/scss/_deprecate.scss` | |
| `scss/globals/scss/_feature-flags.scss` | |
| `scss/globals/scss/_functions.scss` | |
| `scss/globals/scss/_helper-classes.scss` | |
| `scss/globals/scss/_helper-mixins.scss` | |
| `scss/globals/scss/_import-once.scss` | |
| `scss/globals/scss/_keyframes.scss` | |
| `scss/globals/scss/_layer.scss` | |
| `scss/globals/scss/_layout.scss` | |
| `scss/globals/scss/_mixins.scss` | |
| [`scss/globals/scss/_motion.scss`](#scssglobalsscss_motionscss) | `scss/_motion.scss` |
| `scss/globals/scss/_spacing.scss` | |
| `scss/globals/scss/_theme-tokens.scss` | |
| `scss/globals/scss/_theme.scss` | |
| `scss/globals/scss/_tooltip.scss` | |
| `scss/globals/scss/_typography.scss` | |
| `scss/globals/scss/_vars.scss` | |
| `scss/globals/scss/styles.scss` | `/index.scss`, require package directly |
| `scss/components` | |

### `scss/globals/scss/_motion.scss`

| v10 | v11 |
| :------------------------- | :-- |
| `$carbon--ease-in` | |
| `$carbon--ease-out` | |
| `$carbon--standard-easing` | |
| `$transition--base` | |
| `$transition--expansion` | |
| `$duration--fast-01` | |
| `$duration--fast-02` | |
| `$duration--moderate-01` | |
| `$duration--moderate-02` | |
| `$duration--slow-01` | |
| `$duration--slow-02` | |
| `@function motion` | |
| `@mixin motion` | |
2 changes: 1 addition & 1 deletion packages/components/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -155,7 +155,7 @@
"mock-raf": "^1.0.0",
"node-sass": "^4.13.1",
"nodemon": "^1.18.7",
"path-to-regexp": "^2.2.0",
"path-to-regexp": "^6.2.0",
"portscanner": "^2.2.0",
"postcss-custom-properties": "^9.0.0",
"postcss-loader": "^3.0.0",
Expand Down
4 changes: 4 additions & 0 deletions packages/components/src/components/button/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,10 @@
}
}

.#{$prefix}--btn--icon-only.#{$prefix}--btn--selected {
background: $selected-ui;
}

.#{$prefix}--btn path[data-icon-path='inner-path'] {
fill: none;
}
Expand Down
7 changes: 4 additions & 3 deletions packages/components/src/components/list-box/_list-box.scss
Original file line number Diff line number Diff line change
Expand Up @@ -749,9 +749,10 @@ $list-box-menu-width: rem(300px);
border-bottom-color: $selected-light-ui;
}

.#{$prefix}--list-box__menu-item--active:hover {
background-color: $hover-ui;
border-bottom-color: $hover-ui;
.#{$prefix}--list-box__menu-item--active:hover,
.#{$prefix}--list-box__menu-item--active.#{$prefix}--list-box__menu-item--highlighted {
background-color: $hover-selected-ui;
border-bottom-color: $hover-selected-ui;
}

.#{$prefix}--list-box__menu-item--active
Expand Down
Loading

0 comments on commit ed4ae1f

Please sign in to comment.