@atlaskit/storybook-addon-design-system 1.1.0 → 1.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,14 @@
1
1
  # @atlaskit/storybook-addon-design-system
2
2
 
3
+ ## 1.1.1
4
+
5
+ ### Patch Changes
6
+
7
+ - [#121959](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/121959)
8
+ [`44763b631bec5`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/44763b631bec5) -
9
+ Renamed `typography-minor3` theme to `typography-modernized`. There are no visual changes, purely
10
+ just a rename.
11
+
3
12
  ## 1.1.0
4
13
 
5
14
  ### Minor Changes
@@ -54,7 +54,7 @@ var withDesignTokens = function withDesignTokens(StoryFn, context) {
54
54
  colorMode: theme,
55
55
  spacing: 'spacing',
56
56
  shape: 'shape',
57
- typography: 'typography-minor3'
57
+ typography: 'typography-modernized'
58
58
  });
59
59
  case 5:
60
60
  return _context.abrupt("break", 15);
@@ -64,7 +64,7 @@ var withDesignTokens = function withDesignTokens(StoryFn, context) {
64
64
  colorMode: 'light',
65
65
  spacing: 'spacing',
66
66
  shape: 'shape',
67
- typography: 'typography-minor3'
67
+ typography: 'typography-modernized'
68
68
  });
69
69
  case 8:
70
70
  document.documentElement.querySelectorAll('style[data-theme]').forEach(function (el) {
@@ -35,7 +35,7 @@ const withDesignTokens = (StoryFn, context) => {
35
35
  colorMode: theme,
36
36
  spacing: 'spacing',
37
37
  shape: 'shape',
38
- typography: 'typography-minor3'
38
+ typography: 'typography-modernized'
39
39
  });
40
40
  break;
41
41
  case 'split':
@@ -44,7 +44,7 @@ const withDesignTokens = (StoryFn, context) => {
44
44
  colorMode: 'light',
45
45
  spacing: 'spacing',
46
46
  shape: 'shape',
47
- typography: 'typography-minor3'
47
+ typography: 'typography-modernized'
48
48
  });
49
49
  document.documentElement.querySelectorAll('style[data-theme]').forEach(el => {
50
50
  const clone = el.cloneNode(true);
@@ -44,7 +44,7 @@ var withDesignTokens = function withDesignTokens(StoryFn, context) {
44
44
  colorMode: theme,
45
45
  spacing: 'spacing',
46
46
  shape: 'shape',
47
- typography: 'typography-minor3'
47
+ typography: 'typography-modernized'
48
48
  });
49
49
  case 5:
50
50
  return _context.abrupt("break", 15);
@@ -54,7 +54,7 @@ var withDesignTokens = function withDesignTokens(StoryFn, context) {
54
54
  colorMode: 'light',
55
55
  spacing: 'spacing',
56
56
  shape: 'shape',
57
- typography: 'typography-minor3'
57
+ typography: 'typography-modernized'
58
58
  });
59
59
  case 8:
60
60
  document.documentElement.querySelectorAll('style[data-theme]').forEach(function (el) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "1.1.0",
3
+ "version": "1.1.1",
4
4
  "description": "Design token storybook addon",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
package/src/decorator.tsx CHANGED
@@ -43,7 +43,7 @@ const withDesignTokens = (StoryFn: StoryFunction<Renderer>, context: StoryContex
43
43
  colorMode: theme,
44
44
  spacing: 'spacing',
45
45
  shape: 'shape',
46
- typography: 'typography-minor3',
46
+ typography: 'typography-modernized',
47
47
  });
48
48
  break;
49
49
  case 'split':
@@ -52,7 +52,7 @@ const withDesignTokens = (StoryFn: StoryFunction<Renderer>, context: StoryContex
52
52
  colorMode: 'light',
53
53
  spacing: 'spacing',
54
54
  shape: 'shape',
55
- typography: 'typography-minor3',
55
+ typography: 'typography-modernized',
56
56
  });
57
57
 
58
58
  document.documentElement.querySelectorAll('style[data-theme]').forEach((el) => {