-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'master' into addIconElementClassNamesForAnimation
- Loading branch information
Showing
169 changed files
with
8,006 additions
and
1,460 deletions.
There are no files selected for viewing
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+4.1 KB
...rame-npm-7.10.4-ab1ee3c93e-05245d3b22.zip → ...ame-npm-7.12.11-1a9a1b277f-033d3fb3bf.zip
Binary file not shown.
Binary file not shown.
Binary file renamed
BIN
+33.2 KB
...ator-npm-7.12.5-e9ae5c4dd3-7706cb3d29.zip → ...tor-npm-7.12.11-76629b27f8-eb76477ff8.zip
Binary file not shown.
Binary file added
BIN
+3.04 KB
.yarn/cache/@babel-helper-annotate-as-pure-npm-7.10.4-61cb45f47d-535cdf631e.zip
Binary file not shown.
Binary file removed
BIN
-3 KB
.yarn/cache/@babel-helper-annotate-as-pure-npm-7.12.10-d08a7ae127-d237f38b6a.zip
Binary file not shown.
Binary file added
BIN
+12.3 KB
...n/cache/@babel-helper-builder-react-jsx-experimental-npm-7.10.5-a2db210bb1-9505bc9d36.zip
Binary file not shown.
Binary file added
BIN
+4.38 KB
.yarn/cache/@babel-helper-builder-react-jsx-npm-7.10.4-ea8d3e69ef-f14f786b5e.zip
Binary file not shown.
Binary file renamed
BIN
+4.01 KB
...name-npm-7.10.4-153d80f559-41ab8f48bb.zip → ...ame-npm-7.12.11-53931a5dc0-f41ccc145c.zip
Binary file not shown.
Binary file renamed
BIN
+2.95 KB
...rity-npm-7.10.4-29a99c32bb-4f0ddd4340.zip → ...ity-npm-7.12.10-cb02cbb9f3-5c645ed43c.zip
Binary file not shown.
Binary file removed
BIN
-4.94 KB
...n/cache/@babel-helper-member-expression-to-functions-npm-7.10.4-f37252d84b-512a2008f6.zip
Binary file not shown.
Binary file added
BIN
+13.8 KB
...n/cache/@babel-helper-member-expression-to-functions-npm-7.12.7-174834b465-313e78a217.zip
Binary file not shown.
Binary file removed
BIN
-11.3 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.10.5-39c6d857ed-02a2b60705.zip
Binary file not shown.
Binary file added
BIN
+12 KB
.yarn/cache/@babel-helper-module-transforms-npm-7.12.1-c42d2455d3-902ed2b8e9.zip
Binary file not shown.
Binary file removed
BIN
-3.12 KB
.yarn/cache/@babel-helper-optimise-call-expression-npm-7.10.4-135301e242-70dd5a6daf.zip
Binary file not shown.
Binary file added
BIN
+3.1 KB
.yarn/cache/@babel-helper-optimise-call-expression-npm-7.12.10-1735a7949f-e96f37e943.zip
Binary file not shown.
Binary file removed
BIN
-4.33 KB
.yarn/cache/@babel-helper-replace-supers-npm-7.10.4-8bf69fb844-2d7e0627cd.zip
Binary file not shown.
Binary file added
BIN
+4.33 KB
.yarn/cache/@babel-helper-replace-supers-npm-7.12.11-db1c1661de-0696dcff97.zip
Binary file not shown.
Binary file removed
BIN
-3.48 KB
.yarn/cache/@babel-helper-simple-access-npm-7.10.4-0a4bf355e6-a7ce52a229.zip
Binary file not shown.
Binary file added
BIN
+3.43 KB
.yarn/cache/@babel-helper-simple-access-npm-7.12.1-18caff947e-ca44e3f694.zip
Binary file not shown.
Binary file removed
BIN
-3.39 KB
.yarn/cache/@babel-helper-split-export-declaration-npm-7.11.0-d39c69702f-ddfc44d0cf.zip
Binary file not shown.
Binary file added
BIN
+3.38 KB
.yarn/cache/@babel-helper-split-export-declaration-npm-7.12.11-c2789c09f5-c2c8525116.zip
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-2.6 KB
.yarn/cache/@babel-plugin-syntax-jsx-npm-7.12.1-fec38141bc-2f0314608b.zip
Binary file not shown.
Binary file removed
BIN
-3.56 KB
.yarn/cache/@babel-plugin-transform-react-display-name-npm-7.12.1-f87cd6aece-88d6819169.zip
Binary file not shown.
Binary file added
BIN
+3.58 KB
.yarn/cache/@babel-plugin-transform-react-display-name-npm-7.8.3-ed8fb17b9c-9e25364d95.zip
Binary file not shown.
Binary file removed
BIN
-2.43 KB
...cache/@babel-plugin-transform-react-jsx-development-npm-7.12.12-5bfa52a758-c9d320ba13.zip
Binary file not shown.
Binary file added
BIN
+2.9 KB
...n/cache/@babel-plugin-transform-react-jsx-development-npm-7.9.0-8c5f053e35-33cc1dd4df.zip
Binary file not shown.
Binary file added
BIN
+5.08 KB
.yarn/cache/@babel-plugin-transform-react-jsx-npm-7.10.4-1a0658d38c-0fb7d136c8.zip
Binary file not shown.
Binary file removed
BIN
-7.67 KB
.yarn/cache/@babel-plugin-transform-react-jsx-npm-7.12.12-8e48a3da79-e276a667c2.zip
Binary file not shown.
Binary file added
BIN
+2.96 KB
.yarn/cache/@babel-plugin-transform-react-jsx-self-npm-7.9.0-c4e5d656a1-74db297c31.zip
Binary file not shown.
Binary file added
BIN
+3.39 KB
.yarn/cache/@babel-plugin-transform-react-jsx-source-npm-7.10.0-f724ea0344-8ae706eee0.zip
Binary file not shown.
Binary file added
BIN
+2.9 KB
...cache/@babel-plugin-transform-react-pure-annotations-npm-7.10.0-83ccb4ad7b-538278ac3f.zip
Binary file not shown.
Binary file removed
BIN
-2.89 KB
...cache/@babel-plugin-transform-react-pure-annotations-npm-7.12.1-6f59dfc11e-b1984954da.zip
Binary file not shown.
Binary file not shown.
Binary file removed
BIN
-3.01 KB
.yarn/cache/@babel-preset-react-npm-7.12.10-03d6198c7b-3afd3d0191.zip
Binary file not shown.
Binary file renamed
BIN
+10.4 KB
...late-npm-7.10.4-521586243b-23a5c4f7ab.zip → ...late-npm-7.12.7-ea87424ec4-6e0a050be7.zip
Binary file not shown.
Binary file renamed
BIN
+48.3 KB
...erse-npm-7.12.9-2eb67583a9-6797d3f42d.zip → ...rse-npm-7.12.12-624e94788e-d3af59ec9d.zip
Binary file not shown.
Binary file added
BIN
+31.2 KB
.yarn/cache/@nicolo-ribaudo-chokidar-2-npm-2.1.8-no-fsevents-a21a333eb4-0efeea3b7d.zip
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 renamed
BIN
+2.9 KB
...s-wsl-npm-2.1.1-5882a515d5-76711be70c.zip → ...s-wsl-npm-2.2.0-2ba10d6393-3dcc4073d4.zip
Binary file not shown.
Binary file removed
BIN
-8.76 KB
.yarn/cache/karma-firefox-launcher-npm-1.3.0-ccb4b54ad8-3ba335e54d.zip
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 removed
BIN
-7.9 KB
.yarn/offline-mirror/@babel-helper-builder-react-jsx-experimental-7.11.5.tgz
Binary file not shown.
Binary file removed
BIN
-2.24 KB
.yarn/offline-mirror/@babel-plugin-transform-react-display-name-7.10.4.tgz
Binary file not shown.
Binary file removed
BIN
-1.74 KB
.yarn/offline-mirror/@babel-plugin-transform-react-jsx-development-7.11.5.tgz
Binary file not shown.
Binary file removed
BIN
-1.65 KB
.yarn/offline-mirror/@babel-plugin-transform-react-jsx-self-7.10.4.tgz
Binary file not shown.
Binary file removed
BIN
-2.08 KB
.yarn/offline-mirror/@babel-plugin-transform-react-jsx-source-7.10.5.tgz
Binary file not shown.
Binary file removed
BIN
-1.76 KB
.yarn/offline-mirror/@babel-plugin-transform-react-pure-annotations-7.10.4.tgz
Binary file not shown.
Binary file not shown.
Binary file not shown.
7 changes: 5 additions & 2 deletions
7
...ges/storybook-addon-carbon-theme/react.js → config/storybook-preset-carbon/.babelrc.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,7 +1,10 @@ | ||
/** | ||
* Copyright IBM Corp. 2016, 2018 | ||
* Copyright IBM Corp. 2021, 2021 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
module.exports = require('./dist/react'); | ||
|
||
module.exports = { | ||
presets: ['@babel/preset-env', '@babel/preset-react'], | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
14 changes: 14 additions & 0 deletions
14
config/storybook-preset-carbon/carbon-theme-addon/src/preset.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,14 @@ | ||
/** | ||
* Copyright IBM Corp. 2021, 2021 | ||
* | ||
* 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 = { | ||
managerEntries(entry = []) { | ||
return [...entry, require.resolve('./register')]; | ||
}, | ||
}; |
36 changes: 36 additions & 0 deletions
36
config/storybook-preset-carbon/carbon-theme-addon/src/register.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
/** | ||
* Copyright IBM Corp. 2021, 2021 | ||
* | ||
* This source code is licensed under the Apache-2.0 license found in the | ||
* LICENSE file in the root directory of this source tree. | ||
*/ | ||
|
||
import React from 'react'; | ||
import { addons } from '@storybook/addons'; | ||
import { CarbonThemePanel, CarbonTypePanel } from './components/Panel'; | ||
import { | ||
CARBON_THEMES_ADDON_ID, | ||
CARBON_THEME_PANEL_ID, | ||
CARBON_TYPE_ADDON_ID, | ||
CARBON_TYPE_PANEL_ID, | ||
} from './shared'; | ||
|
||
// Disabling because storybook addons doesn't provide proptypes or display names for these panels | ||
/* eslint-disable react/display-name, react/prop-types */ | ||
addons.register(CARBON_THEMES_ADDON_ID, (api) => { | ||
addons.addPanel(CARBON_THEME_PANEL_ID, { | ||
title: 'Carbon Theme', | ||
render: ({ active, key }) => ( | ||
<CarbonThemePanel api={api} key={key} active={active} /> | ||
), | ||
}); | ||
}); | ||
|
||
addons.register(CARBON_TYPE_ADDON_ID, (api) => { | ||
addons.addPanel(CARBON_TYPE_PANEL_ID, { | ||
title: 'Carbon Type', | ||
render: ({ active, key }) => ( | ||
<CarbonTypePanel api={api} key={key} active={active} /> | ||
), | ||
}); | ||
}); |
13 changes: 13 additions & 0 deletions
13
config/storybook-preset-carbon/carbon-theme-addon/src/shared.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
/** | ||
* Copyright IBM Corp. 2021, 2021 | ||
* | ||
* 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 const CARBON_THEMES_ADDON_ID = 'carbon-theme'; | ||
export const CARBON_CURRENT_THEME = `${CARBON_THEMES_ADDON_ID}/current`; | ||
export const CARBON_THEME_PANEL_ID = `${CARBON_THEMES_ADDON_ID}/panel`; | ||
export const CARBON_TYPE_ADDON_ID = 'carbon-type'; | ||
export const CARBON_TYPE_TOKEN = `${CARBON_TYPE_ADDON_ID}/type`; | ||
export const CARBON_TYPE_PANEL_ID = `${CARBON_TYPE_ADDON_ID}/panel`; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
# @carbon/type | ||
|
||
**Note: everything in this file is a work-in-progress and will be changed.** | ||
|
||
## Changes | ||
|
||
| Filename | v10 | v11 | | ||
| ------------------------ | --------------------------------- | --------------------------------- | | ||
| `scss/_scale.scss` | `@function carbon--get-type-size` | Removed, use `type-scale` instead | | ||
| | `$carbon--type-scale` | `$type-scale` | | ||
| | `@function carbon--type-scale` | `@function type-scale` | | ||
| | `@mixin carbon--type-scale` | `@mixin type-scale` | | ||
| | `@mixin carbon--font-size` | `@mixin font-size` | | ||
| `scss/_font-family.scss` | `$carbon--font-families` | `$font-families` | | ||
| | `@function carbon--font-family` | `font-family` | | ||
| | `@mixin carbon--font-family` | `font-family` | | ||
| | `$carbon--font-weights` | `$font-weights` | | ||
| | `@function carbon--font-weight` | `font-weight` | | ||
| | `@mixin carbon--font-weight` | `font-weight` | | ||
| `scss/_prefix.scss` | | No Changes | | ||
| `scss/_styles.scss` | `@mixin carbon--type-style` | `@mixin type-style` | | ||
| `scss/_reset.scss` | `@mixin carbon--default-type` | `@mixin default-type` | | ||
| | `@mixin carbon--type-reset` | `@mixin type-reset` | | ||
| `scss/_classes.scss` | `@mixin carbon--type-classes` | `@mixin type-classes` | |
Oops, something went wrong.