Skip to content

Commit

Permalink
Merge branch 'master' into 6624-default-pagination-pages-text
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 24, 2020
2 parents a0fe1fe + 907bdf5 commit bf84010
Show file tree
Hide file tree
Showing 48 changed files with 914 additions and 452 deletions.
51 changes: 51 additions & 0 deletions config/eslint-config-carbon/README.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
# eslint-config-carbon

> ESLint configuration for Carbon
## Getting started

To install `eslint-config-carbon` in your project, you will need to run the
following command using [npm](https://www.npmjs.com/):

```bash
npm install -S eslint-config-carbon
```

If you prefer [Yarn](https://yarnpkg.com/en/), use the following command
instead:

```bash
yarn add eslint-config-carbon
```

## Usage

You can use `eslint-config-carbon` in your project by extending it in your
`eslint` configuration. For example, if we had an `.eslintrc` file:

```json
{
"extends": ["carbon"]
}
```

The default configuration available under `eslint-config-carbon` includes all
ESLint configuration and plugins, including plugins for React.js development. If
you'd like to not include these rules in your setup, you can also include a
`base` or `vanilla` oriented configuration by doing the following:

```json
{
"extends": ["eslint-config-carbon/base"]
}
```

## 🙌 Contributing

We're always looking for contributors to help us fix bugs, build new features,
or help us improve the project documentation. If you're interested, definitely
check out our [Contributing Guide](/.github/CONTRIBUTING.md)! 👀

## 📝 License

Licensed under the [Apache 2.0 License](/LICENSE).
4 changes: 2 additions & 2 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",
"private": true,
"version": "2.3.0",
"description": "ESLint configuration for Carbon",
"version": "2.0.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/eslint-config-carbon",
Expand Down
2 changes: 1 addition & 1 deletion config/stylelint-config-carbon/README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# stylelint-config-carbon

> Stylelint configuration for the Carbon Design System
> Stylelint configuration for Carbon
## Getting started

Expand Down
5 changes: 2 additions & 3 deletions config/stylelint-config-carbon/package.json
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
{
"name": "stylelint-config-carbon",
"private": true,
"description": "Stylelint configuration for the Carbon Design System",
"version": "0.4.0",
"description": "Stylelint configuration for Carbon",
"version": "1.0.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/config/stylelint-config-carbon",
Expand Down
2 changes: 2 additions & 0 deletions e2e/pictograms-react/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -580,6 +580,8 @@ Array [
"VideoAlt",
"VideoChat",
"VideoPlay",
"Video_01",
"Video_02",
"Virus",
"Vision",
"VisualInsights",
Expand Down
2 changes: 2 additions & 0 deletions e2e/pictograms/__snapshots__/PublicAPI-test.js.snap
Original file line number Diff line number Diff line change
Expand Up @@ -579,6 +579,8 @@ Array [
"VideoAlt",
"VideoChat",
"VideoPlay",
"Video_01",
"Video_02",
"Virus",
"Vision",
"VisualInsights",
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -133,7 +133,7 @@
},
"eslintConfig": {
"extends": [
"eslint-config-carbon"
"carbon"
]
},
"stylelint": {
Expand Down
2 changes: 1 addition & 1 deletion packages/cli/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/cli",
"description": "Task automation for working with the Carbon Design System",
"version": "10.13.0",
"version": "10.14.0",
"license": "Apache-2.0",
"bin": {
"carbon-cli": "./bin/carbon-cli.js"
Expand Down
2 changes: 1 addition & 1 deletion packages/colors/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/colors",
"description": "Colors for digital and software products using the Carbon Design System",
"version": "10.11.0",
"version": "10.12.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down
17 changes: 16 additions & 1 deletion packages/components/docs/sass.md
Original file line number Diff line number Diff line change
Expand Up @@ -15643,6 +15643,8 @@ Data table action styles

//btns container
.#{$prefix}--action-list {
position: absolute;
right: 0;
display: flex;
}

Expand Down Expand Up @@ -15722,6 +15724,8 @@ Data table action styles

// items selected text
.#{$prefix}--batch-summary {
position: absolute;
left: 0;
display: flex;
align-items: center;
margin-left: $spacing-05;
Expand Down Expand Up @@ -19916,6 +19920,16 @@ Modal styles
margin: 0 2px 2px;
}

@media screen and (-ms-high-contrast: active) {
.#{$prefix}--modal-scroll-content > *:last-child {
padding-bottom: 0;
}

.#{$prefix}--modal-content--overflow-indicator {
display: none;
}
}

.#{$prefix}--modal-footer {
display: flex;

Expand Down Expand Up @@ -24183,7 +24197,8 @@ Text input styles
color: $disabled-02;
background-color: $disabled-01;
border-bottom: 1px solid transparent;

// Needed to fix disabled text in Safari #6673
-webkit-text-fill-color: currentColor;
cursor: not-allowed;
}

Expand Down
8 changes: 4 additions & 4 deletions packages/components/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "carbon-components",
"description": "The Carbon Design System is IBM’s open-source design system for products and experiences.",
"version": "10.17.0",
"version": "10.18.0",
"license": "Apache-2.0",
"main": "umd/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -79,9 +79,9 @@
"@babel/preset-env": "^7.10.0",
"@babel/preset-react": "^7.10.0",
"@babel/runtime": "^7.10.0",
"@carbon/elements": "^10.16.0",
"@carbon/icons-handlebars": "^10.15.0",
"@carbon/icons-react": "^10.15.0",
"@carbon/elements": "^10.17.0",
"@carbon/icons-handlebars": "^10.16.0",
"@carbon/icons-react": "^10.16.0",
"@carbon/test-utils": "^10.10.0",
"@frctl/fractal": "^1.1.0",
"adaro": "1.0.4",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -390,6 +390,8 @@

//btns container
.#{$prefix}--action-list {
position: absolute;
right: 0;
display: flex;
}

Expand Down Expand Up @@ -469,6 +471,8 @@

// items selected text
.#{$prefix}--batch-summary {
position: absolute;
left: 0;
display: flex;
align-items: center;
margin-left: $spacing-05;
Expand Down
10 changes: 10 additions & 0 deletions packages/components/src/components/modal/_modal.scss
Original file line number Diff line number Diff line change
Expand Up @@ -293,6 +293,16 @@
margin: 0 2px 2px;
}

@media screen and (-ms-high-contrast: active) {
.#{$prefix}--modal-scroll-content > *:last-child {
padding-bottom: 0;
}

.#{$prefix}--modal-content--overflow-indicator {
display: none;
}
}

.#{$prefix}--modal-footer {
display: flex;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -156,7 +156,8 @@
color: $disabled-02;
background-color: $disabled-01;
border-bottom: 1px solid transparent;

// Needed to fix disabled text in Safari #6673
-webkit-text-fill-color: currentColor;
cursor: not-allowed;
}

Expand Down
8 changes: 4 additions & 4 deletions packages/elements/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/elements",
"description": "A collection of design elements in code for the IBM Design Language",
"version": "10.16.0",
"version": "10.17.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -31,13 +31,13 @@
"clean": "rimraf es lib umd && node tasks/clean.js"
},
"dependencies": {
"@carbon/colors": "^10.11.0",
"@carbon/colors": "^10.12.0",
"@carbon/grid": "^10.14.0",
"@carbon/icons": "^10.15.0",
"@carbon/icons": "^10.16.0",
"@carbon/import-once": "^10.3.0",
"@carbon/layout": "^10.12.0",
"@carbon/motion": "^10.9.0",
"@carbon/themes": "^10.16.0",
"@carbon/themes": "^10.17.0",
"@carbon/type": "^10.14.0"
},
"devDependencies": {
Expand Down
2 changes: 1 addition & 1 deletion packages/icon-build-helpers/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"name": "@carbon/icon-build-helpers",
"private": true,
"description": "Build helpers for the Carbon Design System icon library",
"version": "0.9.0",
"version": "0.10.0",
"license": "Apache-2.0",
"main": "src/index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icon-build-helpers",
Expand Down
4 changes: 2 additions & 2 deletions packages/icons-handlebars/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons-handlebars",
"description": "Handlebars helpers for IBM Design Language icons in digital and software products using the Carbon Design System",
"version": "10.15.0",
"version": "10.16.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": "https://github.com/carbon-design-system/carbon/tree/master/packages/icons-handlebars",
Expand All @@ -23,7 +23,7 @@
},
"dependencies": {
"@carbon/icon-helpers": "^10.9.0",
"@carbon/icons": "^10.15.0"
"@carbon/icons": "^10.16.0"
},
"devDependencies": {
"handlebars": "^4.0.12"
Expand Down
6 changes: 3 additions & 3 deletions packages/icons-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons-react",
"description": "React components for icons in digital and software products using the Carbon Design System",
"version": "10.15.0",
"version": "10.16.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -32,8 +32,8 @@
"@carbon/icon-helpers": "^10.9.0"
},
"devDependencies": {
"@carbon/icon-build-helpers": "^0.9.0",
"@carbon/icons": "^10.15.0"
"@carbon/icon-build-helpers": "^0.10.0",
"@carbon/icons": "^10.16.0"
},
"sideEffects": false
}
4 changes: 2 additions & 2 deletions packages/icons-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons-vue",
"description": "Vue components for icons in digital and software products using the Carbon Design System",
"version": "10.15.0",
"version": "10.16.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand All @@ -28,7 +28,7 @@
},
"devDependencies": {
"@carbon/cli-reporter": "^10.3.0",
"@carbon/icons": "^10.15.0",
"@carbon/icons": "^10.16.0",
"fs-extra": "^8.1.0",
"prettier": "^2.0.5",
"rimraf": "^3.0.0",
Expand Down
4 changes: 2 additions & 2 deletions packages/icons/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icons",
"description": "Icons for digital and software products using the Carbon Design System",
"version": "10.15.0",
"version": "10.16.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -34,7 +34,7 @@
"prepublishOnly": "yarn build"
},
"devDependencies": {
"@carbon/icon-build-helpers": "^0.9.0"
"@carbon/icon-build-helpers": "^0.10.0"
},
"gitHead": "bb04f2f061de0bda6e457a07a67cf624db375808"
}
6 changes: 3 additions & 3 deletions packages/pictograms-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/pictograms-react",
"description": "React components for pictograms in digital and software products using the Carbon Design System",
"version": "10.16.0",
"version": "10.17.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -32,8 +32,8 @@
"@carbon/icon-helpers": "^10.9.0"
},
"devDependencies": {
"@carbon/icon-build-helpers": "^0.9.0",
"@carbon/pictograms": "^10.16.0"
"@carbon/icon-build-helpers": "^0.10.0",
"@carbon/pictograms": "^10.17.0"
},
"sideEffects": false
}
2 changes: 2 additions & 0 deletions packages/pictograms/categories.yml
Original file line number Diff line number Diff line change
Expand Up @@ -163,6 +163,8 @@ categories:
- slider
- toggle
- video
- video--01
- video--02
- video--alt
- video--chat
- video--play
Expand Down
8 changes: 7 additions & 1 deletion packages/pictograms/deprecated.yml
Original file line number Diff line number Diff line change
Expand Up @@ -21,4 +21,10 @@ deprecated:
The upload pictogram has been deprecated in favor of upload--01
- name: upload--alt
reason:
The upload--alt pictogram has been deprecated in favor of upload--02
The upload--alt pictogram has been deprecated in favor of upload--02
- name: video
reason:
The video pictogram has been deprecated in favor of video--01
- name: video--alt
reason:
The video--alt pictogram has been deprecated in favor of video--02
Loading

0 comments on commit bf84010

Please sign in to comment.