Skip to content

Commit

Permalink
Merge branch 'main' into vrt-combobox
Browse files Browse the repository at this point in the history
  • Loading branch information
kodiakhq[bot] authored Aug 26, 2021
2 parents 4a08469 + 6aefdec commit 2d1558a
Show file tree
Hide file tree
Showing 88 changed files with 1,575 additions and 690 deletions.
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.
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.
20 changes: 10 additions & 10 deletions packages/carbon-react/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/react",
"description": "React components for the Carbon Design System",
"version": "0.3.0-rc.0",
"version": "0.3.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -43,10 +43,10 @@
},
"dependencies": {
"@carbon/feature-flags": "^0.6.0",
"@carbon/icons-react": "^10.38.0-rc.0",
"@carbon/styles": "^0.3.0-rc.0",
"@carbon/icons-react": "^10.38.0",
"@carbon/styles": "^0.3.0",
"@carbon/telemetry": "0.0.0-alpha.6",
"carbon-components-react": "^7.42.0-rc.0"
"carbon-components-react": "^7.42.0"
},
"devDependencies": {
"@babel/core": "^7.14.6",
Expand All @@ -56,15 +56,15 @@
"@babel/plugin-transform-react-constant-elements": "^7.14.5",
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@carbon/themes": "^10.41.0-rc.0",
"@carbon/themes": "^10.41.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
"@rollup/plugin-node-resolve": "^11.2.1",
"@storybook/addon-actions": "^6.3.1",
"@storybook/addon-docs": "^6.3.1",
"@storybook/addon-essentials": "^6.3.1",
"@storybook/react": "^6.3.1",
"@storybook/theming": "^6.3.1",
"@storybook/addon-actions": "^6.3.6",
"@storybook/addon-docs": "^6.3.6",
"@storybook/addon-essentials": "^6.3.6",
"@storybook/react": "^6.3.6",
"@storybook/theming": "^6.3.6",
"autoprefixer": "^10.2.5",
"babel-loader": "^8.2.2",
"babel-plugin-dev-expression": "^0.2.2",
Expand Down
70 changes: 70 additions & 0 deletions packages/carbon-react/src/components/Skeleton/Skeleton.stories.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
import React from 'react';
import { SkeletonPlaceholder, SkeletonText } from 'carbon-components-react';
import { withKnobs, select, boolean, number } from '@storybook/addon-knobs';

const classNames = {
'my--skeleton__placeholder--small': 'my--skeleton__placeholder--small',
'my--skeleton__placeholder--medium': 'my--skeleton__placeholder--medium',
'my--skeleton__placeholder--large': 'my--skeleton__placeholder--large',
};

const placeholderProps = () => ({
className: select('Classes with different sizes', classNames),
});

const widths = {
'100%': '100%',
'250px': '250px',
};

const textProps = () => ({
heading: boolean('Skeleton text at a larger size (heading)'),
paragraph: boolean('Use multiple lines of text (paragraph)'),
lineCount: number('The number of lines in a paragraph (lineCount)', 3),
width: select(
'Width (in px or %) of single line of text or max-width of paragraph lines (width)',
widths,
'100%'
),
});

export default {
title: 'Components/Skeleton',
decorators: [withKnobs],
};

export const _SkeletonPlaceholder = () => {
return (
<div style={{ height: '250px', width: '250px' }}>
<style
dangerouslySetInnerHTML={{
__html: `
.my--skeleton__placeholder--small {
height: 100px;
width: 100px;
}
.my--skeleton__placeholder--medium {
height: 150px;
width: 150px;
}
.my--skeleton__placeholder--large {
height: 250px;
width: 250px;
}
`,
}}
/>
<SkeletonPlaceholder {...placeholderProps()} />
</div>
);
};

export const _SkeletonText = () => {
return (
<div style={{ width: '300px' }}>
<SkeletonText {...textProps()} />
</div>
);
};
8 changes: 8 additions & 0 deletions packages/carbon-react/src/components/Skeleton/index.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
/**
* Copyright IBM Corp. 2016, 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.
*/

export { SkeletonPlaceholder, SkeletonText } from 'carbon-components-react';
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.28.0-rc.0",
"version": "10.28.0",
"license": "Apache-2.0",
"bin": {
"carbon-cli": "./bin/carbon-cli.js"
Expand Down
6 changes: 3 additions & 3 deletions 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.31.0-rc.0",
"version": "10.31.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -36,10 +36,10 @@
"clean": "rimraf css es lib umd scss index.scss"
},
"devDependencies": {
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/cli": "^10.28.0",
"@carbon/cli-reporter": "^10.5.0",
"@carbon/scss-generator": "^10.13.0",
"@carbon/test-utils": "^10.18.0-rc.0",
"@carbon/test-utils": "^10.18.0",
"change-case": "^4.1.1",
"fs-extra": "^8.1.0",
"node-sass": "^6.0.1",
Expand Down
12 changes: 6 additions & 6 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.42.0-rc.0",
"version": "10.42.0",
"license": "Apache-2.0",
"main": "umd/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -80,11 +80,11 @@
"@babel/preset-env": "^7.14.7",
"@babel/preset-react": "^7.14.5",
"@babel/runtime": "^7.14.6",
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/elements": "^10.41.0-rc.0",
"@carbon/icons-handlebars": "^10.38.0-rc.0",
"@carbon/icons-react": "^10.38.0-rc.0",
"@carbon/test-utils": "^10.18.0-rc.0",
"@carbon/cli": "^10.28.0",
"@carbon/elements": "^10.41.0",
"@carbon/icons-handlebars": "^10.38.0",
"@carbon/icons-react": "^10.38.0",
"@carbon/test-utils": "^10.18.0",
"@frctl/fractal": "^1.1.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-commonjs": "^18.0.0",
Expand Down
16 changes: 0 additions & 16 deletions packages/components/src/components/tile/_tile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -231,22 +231,6 @@
}
}

// Fix double border
.#{$prefix}--tile-input--checked + .#{$prefix}--tile--is-selected {
border-top: 1px solid $ui-01;
}

.#{$prefix}--tile:not(.#{$prefix}--tile--is-selected)
+ .#{$prefix}--tile-input--checked
+ .#{$prefix}--tile--is-selected {
border-top: 1px solid $ui-05;
}

.#{$prefix}--tile-input--checked:first-of-type
+ .#{$prefix}--tile--is-selected {
border-top: 1px solid $ui-05;
}

.#{$prefix}--tile-content {
width: 100%;
height: 100%;
Expand Down
18 changes: 9 additions & 9 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.41.0-rc.0",
"version": "10.41.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -35,17 +35,17 @@
"clean": "rimraf es lib umd && node tasks/clean.js"
},
"dependencies": {
"@carbon/colors": "^10.31.0-rc.0",
"@carbon/grid": "^10.34.0-rc.0",
"@carbon/icons": "^10.38.0-rc.0",
"@carbon/colors": "^10.31.0",
"@carbon/grid": "^10.34.0",
"@carbon/icons": "^10.38.0",
"@carbon/import-once": "^10.6.0",
"@carbon/layout": "^10.30.0-rc.0",
"@carbon/motion": "^10.23.0-rc.0",
"@carbon/themes": "^10.41.0-rc.0",
"@carbon/type": "^10.34.0-rc.0"
"@carbon/layout": "^10.30.0",
"@carbon/motion": "^10.23.0",
"@carbon/themes": "^10.41.0",
"@carbon/type": "^10.34.0"
},
"devDependencies": {
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/cli": "^10.28.0",
"fs-extra": "^8.1.0",
"klaw-sync": "^6.0.0",
"replace-in-file": "^3.4.2",
Expand Down
6 changes: 3 additions & 3 deletions packages/grid/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/grid",
"description": "Grid for digital and software products using the Carbon Design System",
"version": "10.34.0-rc.0",
"version": "10.34.0",
"license": "Apache-2.0",
"repository": {
"type": "git",
Expand Down Expand Up @@ -33,10 +33,10 @@
},
"dependencies": {
"@carbon/import-once": "^10.6.0",
"@carbon/layout": "^10.30.0-rc.0"
"@carbon/layout": "^10.30.0"
},
"devDependencies": {
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/cli": "^10.28.0",
"rimraf": "^3.0.0"
},
"eyeglass": {
Expand Down
4 changes: 2 additions & 2 deletions 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.27.0-rc.0",
"version": "0.27.0",
"license": "Apache-2.0",
"main": "src/index.js",
"repository": {
Expand All @@ -29,7 +29,7 @@
"@babel/template": "^7.14.5",
"@babel/types": "^7.14.5",
"@carbon/cli-reporter": "^10.5.0",
"@carbon/icon-helpers": "^10.22.0-rc.0",
"@carbon/icon-helpers": "^10.22.0",
"@rollup/plugin-babel": "^5.3.0",
"@rollup/plugin-replace": "^2.4.2",
"browserslist-config-carbon": "^10.6.1",
Expand Down
4 changes: 2 additions & 2 deletions packages/icon-helpers/package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "@carbon/icon-helpers",
"description": "Helpers used alongside icons for digital and software products using the Carbon Design System",
"version": "10.22.0-rc.0",
"version": "10.22.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -33,7 +33,7 @@
"clean": "rimraf es lib umd"
},
"devDependencies": {
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/cli": "^10.28.0",
"rimraf": "^3.0.0"
},
"sideEffects": false
Expand Down
6 changes: 3 additions & 3 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.38.0-rc.0",
"version": "10.38.0",
"license": "Apache-2.0",
"main": "index.js",
"repository": {
Expand All @@ -26,8 +26,8 @@
"handlebars": "^4.0.12"
},
"dependencies": {
"@carbon/icon-helpers": "^10.22.0-rc.0",
"@carbon/icons": "^10.38.0-rc.0"
"@carbon/icon-helpers": "^10.22.0",
"@carbon/icons": "^10.38.0"
},
"devDependencies": {
"handlebars": "^4.0.12"
Expand Down
8 changes: 4 additions & 4 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.38.0-rc.0",
"version": "10.38.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -38,13 +38,13 @@
"react": ">=16"
},
"dependencies": {
"@carbon/icon-helpers": "^10.22.0-rc.0",
"@carbon/icon-helpers": "^10.22.0",
"@carbon/telemetry": "0.0.0-alpha.6",
"prop-types": "^15.7.2"
},
"devDependencies": {
"@carbon/icon-build-helpers": "^0.27.0-rc.0",
"@carbon/icons": "^10.38.0-rc.0",
"@carbon/icon-build-helpers": "^0.27.0",
"@carbon/icons": "^10.38.0",
"rimraf": "^3.0.2"
},
"sideEffects": false
Expand Down
6 changes: 3 additions & 3 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.38.0-rc.0",
"version": "10.38.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand All @@ -28,11 +28,11 @@
"clean": "rimraf es lib"
},
"dependencies": {
"@carbon/icon-helpers": "^10.22.0-rc.0"
"@carbon/icon-helpers": "^10.22.0"
},
"devDependencies": {
"@carbon/cli-reporter": "^10.5.0",
"@carbon/icons": "^10.38.0-rc.0",
"@carbon/icons": "^10.38.0",
"fs-extra": "^8.1.0",
"prettier": "^2.2.1",
"rimraf": "^3.0.0",
Expand Down
6 changes: 3 additions & 3 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.38.0-rc.0",
"version": "10.38.0",
"license": "Apache-2.0",
"main": "lib/index.js",
"module": "es/index.js",
Expand Down Expand Up @@ -41,8 +41,8 @@
"svgson": "^5.2.1"
},
"devDependencies": {
"@carbon/cli": "^10.28.0-rc.0",
"@carbon/icon-build-helpers": "^0.27.0-rc.0",
"@carbon/cli": "^10.28.0",
"@carbon/icon-build-helpers": "^0.27.0",
"rimraf": "^3.0.2"
}
}
Loading

0 comments on commit 2d1558a

Please sign in to comment.