@atlaskit/storybook-addon-design-system 0.7.1 → 0.8.0

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.
Files changed (2) hide show
  1. package/CHANGELOG.md +85 -32
  2. package/package.json +4 -3
package/CHANGELOG.md CHANGED
@@ -1,173 +1,226 @@
1
1
  # @atlaskit/storybook-addon-design-system
2
2
 
3
+ ## 0.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#94453](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94453)
8
+ [`8b0ba81b30b3`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8b0ba81b30b3) -
9
+ Add support for React 18.
10
+
3
11
  ## 0.7.1
4
12
 
5
13
  ### Patch Changes
6
14
 
7
- - [#93943](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93943) [`611f5e98470c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611f5e98470c) - Removes fallback colors from styles
15
+ - [#93943](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/93943)
16
+ [`611f5e98470c`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/611f5e98470c) -
17
+ Removes fallback colors from styles
8
18
 
9
19
  ## 0.7.0
10
20
 
11
21
  ### Minor Changes
12
22
 
13
- - [#94436](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94436) [`c652e1c27a4d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c652e1c27a4d) - Updates the default theme to 'auto' to ensure tokens are always applied. "Unthemed" or "No theme" is now considered an unsafe appearance.
23
+ - [#94436](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/94436)
24
+ [`c652e1c27a4d`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/c652e1c27a4d) -
25
+ Updates the default theme to 'auto' to ensure tokens are always applied. "Unthemed" or "No
26
+ theme" is now considered an unsafe appearance.
14
27
 
15
- If you prefer to use a different theme, you can still override the default theme by setting the `adeTheme.defaultValue: 'none'` as mentioned in [the documentation](https://staging.atlassian.design/components/storybook-addon-design-system/code#storybook-v7-and-above).
28
+ If you prefer to use a different theme, you can still override the default theme by setting the
29
+ `adeTheme.defaultValue: 'none'` as mentioned in
30
+ [the documentation](https://staging.atlassian.design/components/storybook-addon-design-system/code#storybook-v7-and-above).
16
31
 
17
32
  ## 0.6.0
18
33
 
19
34
  ### Minor Changes
20
35
 
21
- - [#77691](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77691) [`14d18ea34852`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14d18ea34852) - - Enables new `typography` and `shape` themes
22
- - Sets the color theme to `auto` by default
36
+ - [#77691](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/77691)
37
+ [`14d18ea34852`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/14d18ea34852) - -
38
+ Enables new `typography` and `shape` themes
39
+ - Sets the color theme to `auto` by default
23
40
 
24
41
  ## 0.5.2
25
42
 
26
43
  ### Patch Changes
27
44
 
28
- - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935) [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) - Internal change to enforce token usage for spacing properties. There is no expected visual or behaviour change.
45
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
46
+ [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
47
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
48
+ behaviour change.
29
49
 
30
50
  ## 0.5.1
31
51
 
32
52
  ### Patch Changes
33
53
 
34
- - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793) [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
54
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
55
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
56
+ legacy types are published for TS 4.5-4.8
35
57
 
36
58
  ## 0.5.0
37
59
 
38
60
  ### Minor Changes
39
61
 
40
- - [#33632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33632) [`389ab86b2a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/389ab86b2a3) - Adding spacing tokens to storybook addon so that users spacing tokens appear in storybook
62
+ - [#33632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33632)
63
+ [`389ab86b2a3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/389ab86b2a3) - Adding
64
+ spacing tokens to storybook addon so that users spacing tokens appear in storybook
41
65
 
42
66
  ### Patch Changes
43
67
 
44
- - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649) [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
68
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
69
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
70
+ Upgrade Typescript from `4.5.5` to `4.9.5`
45
71
 
46
72
  ## 0.4.0
47
73
 
48
74
  ### Minor Changes
49
75
 
50
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
76
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
77
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
78
+ minor dependency bump
51
79
 
52
80
  ### Patch Changes
53
81
 
54
- - Updated dependencies
82
+ - Updated dependencies
55
83
 
56
84
  ## 0.3.9
57
85
 
58
86
  ### Patch Changes
59
87
 
60
- - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634) [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) - Updates to support the new `@atlaskit/tokens` theming API.
61
- - Updated dependencies
88
+ - [#27634](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27634)
89
+ [`718d5ad3044`](https://bitbucket.org/atlassian/atlassian-frontend/commits/718d5ad3044) -
90
+ Updates to support the new `@atlaskit/tokens` theming API.
91
+ - Updated dependencies
62
92
 
63
93
  ## 0.3.8
64
94
 
65
95
  ### Patch Changes
66
96
 
67
- - Updated dependencies
97
+ - Updated dependencies
68
98
 
69
99
  ## 0.3.7
70
100
 
71
101
  ### Patch Changes
72
102
 
73
- - Updated dependencies
103
+ - Updated dependencies
74
104
 
75
105
  ## 0.3.6
76
106
 
77
107
  ### Patch Changes
78
108
 
79
- - [#27629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27629) [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) - Internal changes to satisfy various lint warnings & errors
109
+ - [#27629](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27629)
110
+ [`f824dcfff6e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f824dcfff6e) -
111
+ Internal changes to satisfy various lint warnings & errors
80
112
 
81
113
  ## 0.3.5
82
114
 
83
115
  ### Patch Changes
84
116
 
85
- - Updated dependencies
117
+ - Updated dependencies
86
118
 
87
119
  ## 0.3.4
88
120
 
89
121
  ### Patch Changes
90
122
 
91
- - [#26467](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26467) [`43464a5fb17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43464a5fb17) - Update split and stack theme settings to use tilde selectors
123
+ - [#26467](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26467)
124
+ [`43464a5fb17`](https://bitbucket.org/atlassian/atlassian-frontend/commits/43464a5fb17) - Update
125
+ split and stack theme settings to use tilde selectors
92
126
 
93
127
  ## 0.3.3
94
128
 
95
129
  ### Patch Changes
96
130
 
97
- - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
131
+ - [#26303](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26303)
132
+ [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op
133
+ change to introduce spacing tokens to design system components.
98
134
 
99
135
  ## 0.3.2
100
136
 
101
137
  ### Patch Changes
102
138
 
103
- - [#24660](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24660) [`d4be43fdc44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d4be43fdc44) - Set the innerText in our hack correctly - oops!
139
+ - [#24660](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24660)
140
+ [`d4be43fdc44`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d4be43fdc44) - Set
141
+ the innerText in our hack correctly - oops!
104
142
 
105
143
  ## 0.3.1
106
144
 
107
145
  ### Patch Changes
108
146
 
109
- - [#24626](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24626) [`6dd7050ad7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dd7050ad7a) - Reimplement the style tag hack required for enabling split & stack view in the Storybook addon
147
+ - [#24626](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24626)
148
+ [`6dd7050ad7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6dd7050ad7a) -
149
+ Reimplement the style tag hack required for enabling split & stack view in the Storybook addon
110
150
 
111
151
  ## 0.3.0
112
152
 
113
153
  ### Minor Changes
114
154
 
115
- - [#21484](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21484) [`6c65a3147c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c65a3147c1) - Removes root selector hack from lightmode, this is no longer necessary since the default theme no longer enables tokens by default
155
+ - [#21484](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21484)
156
+ [`6c65a3147c1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c65a3147c1) -
157
+ Removes root selector hack from lightmode, this is no longer necessary since the default theme
158
+ no longer enables tokens by default
116
159
 
117
160
  ### Patch Changes
118
161
 
119
- - Updated dependencies
162
+ - Updated dependencies
120
163
 
121
164
  ## 0.2.6
122
165
 
123
166
  ### Patch Changes
124
167
 
125
- - [#21487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21487) [`4942487a9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4942487a9f6) - Fixes internal representation of CSS entrypoints for themes. This is an internal change only and does not effect public APIs.
168
+ - [#21487](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21487)
169
+ [`4942487a9f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4942487a9f6) - Fixes
170
+ internal representation of CSS entrypoints for themes. This is an internal change only and does
171
+ not effect public APIs.
126
172
 
127
173
  ## 0.2.5
128
174
 
129
175
  ### Patch Changes
130
176
 
131
- - Updated dependencies
177
+ - Updated dependencies
132
178
 
133
179
  ## 0.2.4
134
180
 
135
181
  ### Patch Changes
136
182
 
137
- - Updated dependencies
183
+ - Updated dependencies
138
184
 
139
185
  ## 0.2.3
140
186
 
141
187
  ### Patch Changes
142
188
 
143
- - Updated dependencies
189
+ - Updated dependencies
144
190
 
145
191
  ## 0.2.2
146
192
 
147
193
  ### Patch Changes
148
194
 
149
- - Updated dependencies
195
+ - Updated dependencies
150
196
 
151
197
  ## 0.2.1
152
198
 
153
199
  ### Patch Changes
154
200
 
155
- - Updated dependencies
201
+ - Updated dependencies
156
202
 
157
203
  ## 0.2.0
158
204
 
159
205
  ### Minor Changes
160
206
 
161
- - [#18080](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18080) [`068c9a0b770`](https://bitbucket.org/atlassian/atlassian-frontend/commits/068c9a0b770) - Refactors the storybook addon into a "tool addon"
207
+ - [#18080](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18080)
208
+ [`068c9a0b770`](https://bitbucket.org/atlassian/atlassian-frontend/commits/068c9a0b770) -
209
+ Refactors the storybook addon into a "tool addon"
162
210
 
163
211
  ## 0.1.1
164
212
 
165
213
  ### Patch Changes
166
214
 
167
- - [#18020](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18020) [`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
215
+ - [#18020](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18020)
216
+ [`32f8832d6c5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/32f8832d6c5) -
217
+ Temporarily disable css imports to side-step recent changes to the monorepo which trigged a bug
168
218
 
169
219
  ## 0.1.0
170
220
 
171
221
  ### Minor Changes
172
222
 
173
- - [#17460](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17460) [`ddbec37a16c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ddbec37a16c) - Initial release of the design system storybook addon package. Intended to be a generic package for all storybook releated DS tooling
223
+ - [#17460](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17460)
224
+ [`ddbec37a16c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ddbec37a16c) -
225
+ Initial release of the design system storybook addon package. Intended to be a generic package
226
+ for all storybook releated DS tooling
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/storybook-addon-design-system",
3
- "version": "0.7.1",
3
+ "version": "0.8.0",
4
4
  "description": "Design token storybook addon",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "publishConfig": {
@@ -9,6 +9,7 @@
9
9
  "atlassian": {
10
10
  "team": "Design System Team",
11
11
  "releaseModel": "continuous",
12
+ "runReact18": true,
12
13
  "website": {
13
14
  "name": "Storybook addon",
14
15
  "category": "Tooling"
@@ -33,7 +34,7 @@
33
34
  ".": "./src/index.tsx"
34
35
  },
35
36
  "dependencies": {
36
- "@atlaskit/tokens": "^1.43.0",
37
+ "@atlaskit/tokens": "^1.44.0",
37
38
  "@babel/runtime": "^7.0.0",
38
39
  "@storybook/addons": "^6.4.0",
39
40
  "@storybook/api": "^6.4.0",
@@ -43,7 +44,7 @@
43
44
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1"
44
45
  },
45
46
  "peerDependencies": {
46
- "react": "^16.8.0"
47
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
47
48
  },
48
49
  "techstack": {
49
50
  "@atlassian/frontend": {