@atlaskit/storybook-addon-design-system 0.1.0 → 0.1.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,11 @@
1
1
  # @atlaskit/storybook-addon-design-system
2
2
 
3
+ ## 0.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [`32f8832d6c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32f8832d6c5) - Temporarily disable css imports to side-step recent changes to the monorepo which trigged a bug
8
+
3
9
  ## 0.1.0
4
10
 
5
11
  ### Minor Changes
@@ -7,14 +7,12 @@ exports.default = void 0;
7
7
 
8
8
  var _addons = require("@storybook/addons");
9
9
 
10
- require("../../../node_modules/@atlaskit/tokens/css/atlassian-light.css");
11
-
12
- require("../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css");
13
-
14
10
  var _constants = require("./constants");
15
11
 
16
- // eslint-disable-next-line
17
- // eslint-disable-next-line
12
+ // // eslint-disable-next-line
13
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css';
14
+ // // eslint-disable-next-line
15
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
18
16
  var withDesignTokens = (0, _addons.makeDecorator)({
19
17
  name: _constants.DECORATOR_ID,
20
18
  parameterName: _constants.DECORATOR_PARAM,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,8 +1,8 @@
1
- import { addons, makeDecorator, useEffect } from '@storybook/addons'; // eslint-disable-next-line
1
+ import { addons, makeDecorator, useEffect } from '@storybook/addons'; // // eslint-disable-next-line
2
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css';
3
+ // // eslint-disable-next-line
4
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
2
5
 
3
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css'; // eslint-disable-next-line
4
-
5
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
6
6
  import { DECORATOR_ID, DECORATOR_PARAM, EVENT_THEME_CHANGED } from './constants';
7
7
  const withDesignTokens = makeDecorator({
8
8
  name: DECORATOR_ID,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,8 +1,8 @@
1
- import { addons, makeDecorator, useEffect } from '@storybook/addons'; // eslint-disable-next-line
1
+ import { addons, makeDecorator, useEffect } from '@storybook/addons'; // // eslint-disable-next-line
2
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css';
3
+ // // eslint-disable-next-line
4
+ // import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
2
5
 
3
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css'; // eslint-disable-next-line
4
-
5
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
6
6
  import { DECORATOR_ID, DECORATOR_PARAM, EVENT_THEME_CHANGED } from './constants';
7
7
  var withDesignTokens = makeDecorator({
8
8
  name: DECORATOR_ID,
@@ -1,5 +1,5 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "sideEffects": false
5
5
  }
@@ -1,4 +1,2 @@
1
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-light.css';
2
- import '../../../node_modules/@atlaskit/tokens/css/atlassian-dark.css';
3
1
  declare const withDesignTokens: (...args: any) => any;
4
2
  export default withDesignTokens;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "author": "Atlassian Pty Ltd",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -20,10 +20,9 @@
20
20
  ".": "./src/index.tsx"
21
21
  },
22
22
  "dependencies": {
23
- "@atlaskit/tokens": "^0.4.0",
24
23
  "@babel/runtime": "^7.0.0",
25
- "@storybook/addons": "^6.1.11",
26
- "@storybook/components": "^6.0.0"
24
+ "@storybook/addons": "^6.4.0",
25
+ "@storybook/components": "^6.4.0"
27
26
  },
28
27
  "devDependencies": {
29
28
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"
@@ -1,2 +1,2 @@
1
1
  /* eslint-disable */
2
- require('./dist/cjs/tokens/register');
2
+ require('./dist/esm/tokens/register');
package/register.js ADDED
@@ -0,0 +1,2 @@
1
+ /* eslint-disable */
2
+ require('./dist/esm/tokens/register');