@atlaskit/lozenge 11.1.2
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 +661 -0
- package/LICENSE +13 -0
- package/README.md +13 -0
- package/__perf__/default.tsx +5 -0
- package/codemods/11.0.0-lite-mode.tsx +18 -0
- package/codemods/__tests__/11.0.0-move-object-appearance-to-style.test.tsx +172 -0
- package/codemods/__tests__/11.0.0-remove-theme-prop.test.tsx +93 -0
- package/codemods/migrations/11.0.0-lite-mode/move-object-appearance-to-style.tsx +92 -0
- package/codemods/migrations/11.0.0-lite-mode/remove-theme-prop.tsx +18 -0
- package/codemods/utils.ts +30 -0
- package/dist/cjs/Lozenge/index.js +142 -0
- package/dist/cjs/index.js +15 -0
- package/dist/cjs/theme.js +139 -0
- package/dist/cjs/version.json +5 -0
- package/dist/es2019/Lozenge/index.js +124 -0
- package/dist/es2019/index.js +1 -0
- package/dist/es2019/theme.js +126 -0
- package/dist/es2019/version.json +5 -0
- package/dist/esm/Lozenge/index.js +129 -0
- package/dist/esm/index.js +1 -0
- package/dist/esm/theme.js +126 -0
- package/dist/esm/version.json +5 -0
- package/dist/types/Lozenge/index.d.ts +42 -0
- package/dist/types/index.d.ts +2 -0
- package/dist/types/theme.d.ts +120 -0
- package/package.json +66 -0
- package/theme/package.json +7 -0
package/CHANGELOG.md
ADDED
|
@@ -0,0 +1,661 @@
|
|
|
1
|
+
# @atlaskit/lozenge
|
|
2
|
+
|
|
3
|
+
## 11.1.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies
|
|
8
|
+
|
|
9
|
+
## 11.1.1
|
|
10
|
+
|
|
11
|
+
### Patch Changes
|
|
12
|
+
|
|
13
|
+
- Updated dependencies
|
|
14
|
+
|
|
15
|
+
## 11.1.0
|
|
16
|
+
|
|
17
|
+
### Minor Changes
|
|
18
|
+
|
|
19
|
+
- [`d7caf75e732`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7caf75e732) - - [ux] Colors are now sourced through tokens.
|
|
20
|
+
- Deprecate `@atlaskit/lozenge/theme` entry-point.
|
|
21
|
+
|
|
22
|
+
### Patch Changes
|
|
23
|
+
|
|
24
|
+
- Updated dependencies
|
|
25
|
+
|
|
26
|
+
## 11.0.0
|
|
27
|
+
|
|
28
|
+
### Major Changes
|
|
29
|
+
|
|
30
|
+
- [`1cd379a2199`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1cd379a2199) - - In this version we made `Lozenge` dramatically faster and lighter. 🤩
|
|
31
|
+
|
|
32
|
+
- General performance improvements.
|
|
33
|
+
|
|
34
|
+
- We are now exporting a new `style` prop which you can use to pass a custom `backgroundColor` and `color`.
|
|
35
|
+
|
|
36
|
+
- **BREAKING** We have removed the deprecated `theme` prop. Don't worry if you do use the theming API, you can now use the new `style` prop for custom styling.
|
|
37
|
+
|
|
38
|
+
**Before**:
|
|
39
|
+
|
|
40
|
+
```tsx
|
|
41
|
+
import Lozenge from '@atlaskit/lozenge';
|
|
42
|
+
|
|
43
|
+
type GetThemeTokensFn<ThemeTokens, ThemeProps> = (
|
|
44
|
+
props: ThemeProps,
|
|
45
|
+
) => ThemeTokens;
|
|
46
|
+
|
|
47
|
+
const lozengeTheme = (
|
|
48
|
+
getTokens: GetThemeTokensFn<ThemeTokens, ThemeProps>,
|
|
49
|
+
themeProps: ThemeProps,
|
|
50
|
+
): ThemeTokens => {
|
|
51
|
+
const defaultTokens = getTokens(themeProps);
|
|
52
|
+
|
|
53
|
+
if (themeProps.appearance === 'removed') {
|
|
54
|
+
return {
|
|
55
|
+
...defaultTokens,
|
|
56
|
+
textColor: 'grey',
|
|
57
|
+
};
|
|
58
|
+
return defaultTokens;
|
|
59
|
+
}
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
<Lozenge appearance="removed" theme={lozengeTheme}>
|
|
63
|
+
removed
|
|
64
|
+
</Lozenge>;
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
**After**:
|
|
68
|
+
|
|
69
|
+
```tsx
|
|
70
|
+
import Badge, { BadgeProps } from '@atlaskit/badge';
|
|
71
|
+
|
|
72
|
+
<Lozenge appearance="removed" style={{ color: 'grey' }}>
|
|
73
|
+
removed
|
|
74
|
+
</Lozenge>;
|
|
75
|
+
```
|
|
76
|
+
|
|
77
|
+
- **BREAKING** We have removed the support of `appearance` prop object value. Please use `style` prop for customization.
|
|
78
|
+
|
|
79
|
+
**Before**:
|
|
80
|
+
|
|
81
|
+
```tsx
|
|
82
|
+
import Lozenge from '@atlaskit/lozenge';
|
|
83
|
+
|
|
84
|
+
<Lozenge appearance={{ backgroundColor: 'blue', textColor: 'white' }}>
|
|
85
|
+
custom
|
|
86
|
+
</Lozenge>;
|
|
87
|
+
```
|
|
88
|
+
|
|
89
|
+
**After**:
|
|
90
|
+
|
|
91
|
+
```tsx
|
|
92
|
+
import Lozenge from '@atlaskit/lozenge';
|
|
93
|
+
|
|
94
|
+
<Lozenge style={{ backgroundColor: 'blue', color: 'white' }}>custom</Lozenge>;
|
|
95
|
+
```
|
|
96
|
+
|
|
97
|
+
**Running the codemod cli**
|
|
98
|
+
|
|
99
|
+
To run the codemod: **You first need to have the latest version installed**
|
|
100
|
+
|
|
101
|
+
```bash
|
|
102
|
+
yarn upgrade @atlaskit/lozenge@^11.0.0
|
|
103
|
+
```
|
|
104
|
+
|
|
105
|
+
Once upgraded, use `@atlaskit/codemod-cli` via `npx`:
|
|
106
|
+
|
|
107
|
+
```bash
|
|
108
|
+
npx @atlaskit/codemod-cli --parser babel --extensions ts,tsx,js [relativePath]
|
|
109
|
+
```
|
|
110
|
+
|
|
111
|
+
The CLI will show a list of components and versions so select `@atlaskit/lozenge@^11.0.0` and you will automatically be upgraded.
|
|
112
|
+
|
|
113
|
+
What will be changed:
|
|
114
|
+
|
|
115
|
+
- It will move `backgroundColor` and `textColor` from `appearance` prop (if object is passed as `appearance` prop value) to `style` prop.
|
|
116
|
+
|
|
117
|
+
Run `npx @atlaskit/codemod-cli -h` for more details on usage.
|
|
118
|
+
|
|
119
|
+
For Atlassians,
|
|
120
|
+
|
|
121
|
+
refer to the [documentation](https://developer.atlassian.com/cloud/framework/atlassian-frontend/codemods/01-atlassian-codemods/) for more details on the codemod CLI.
|
|
122
|
+
|
|
123
|
+
### Patch Changes
|
|
124
|
+
|
|
125
|
+
- [`0d0ecc6e790`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0d0ecc6e790) - Corrects eslint supressions.
|
|
126
|
+
- Updated dependencies
|
|
127
|
+
|
|
128
|
+
## 10.1.4
|
|
129
|
+
|
|
130
|
+
### Patch Changes
|
|
131
|
+
|
|
132
|
+
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
133
|
+
|
|
134
|
+
## 10.1.3
|
|
135
|
+
|
|
136
|
+
### Patch Changes
|
|
137
|
+
|
|
138
|
+
- [`9c98e8227f6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c98e8227f6) - Internal refactor for style declarations.
|
|
139
|
+
- [`42e722938da`](https://bitbucket.org/atlassian/atlassian-frontend/commits/42e722938da) - Converted class components to functional components
|
|
140
|
+
- [`8f0e5cbea57`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f0e5cbea57) - Migrated from `@compiled` to `@emotion`
|
|
141
|
+
- [`f84de8233f3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f84de8233f3) - Add Techstacks rules to package.json
|
|
142
|
+
- [`7bb3268f2c8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7bb3268f2c8) - Removed version.json and unused dependency - `react-test-renderer`
|
|
143
|
+
- [`f78ced42525`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f78ced42525) - Wrapped the root component in `React.memo()` to memorize the rendered lozenge
|
|
144
|
+
|
|
145
|
+
## 10.1.2
|
|
146
|
+
|
|
147
|
+
### Patch Changes
|
|
148
|
+
|
|
149
|
+
- [`69badd52b1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/69badd52b1) - Bumps compiled to v0.6 to surface various fixes
|
|
150
|
+
|
|
151
|
+
## 10.1.1
|
|
152
|
+
|
|
153
|
+
### Patch Changes
|
|
154
|
+
|
|
155
|
+
- [`61d08bb92d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/61d08bb92d) - Upgrades @compiled/react to v0.5.2
|
|
156
|
+
|
|
157
|
+
## 10.1.0
|
|
158
|
+
|
|
159
|
+
### Minor Changes
|
|
160
|
+
|
|
161
|
+
- [`05ef83ee27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/05ef83ee27) - Lozenge now uses [`@compiled/react`](https://compiledcssinjs.com) to power its styles.
|
|
162
|
+
|
|
163
|
+
## 10.0.7
|
|
164
|
+
|
|
165
|
+
### Patch Changes
|
|
166
|
+
|
|
167
|
+
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
168
|
+
|
|
169
|
+
## 10.0.6
|
|
170
|
+
|
|
171
|
+
### Patch Changes
|
|
172
|
+
|
|
173
|
+
- [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules compiler option.
|
|
174
|
+
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
175
|
+
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
176
|
+
|
|
177
|
+
## 10.0.5
|
|
178
|
+
|
|
179
|
+
### Patch Changes
|
|
180
|
+
|
|
181
|
+
- Updated dependencies
|
|
182
|
+
|
|
183
|
+
## 10.0.4
|
|
184
|
+
|
|
185
|
+
### Patch Changes
|
|
186
|
+
|
|
187
|
+
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
188
|
+
|
|
189
|
+
## 10.0.3
|
|
190
|
+
|
|
191
|
+
### Patch Changes
|
|
192
|
+
|
|
193
|
+
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
194
|
+
|
|
195
|
+
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
196
|
+
to prevent duplicates of tslib being bundled.
|
|
197
|
+
|
|
198
|
+
## 10.0.2
|
|
199
|
+
|
|
200
|
+
### Patch Changes
|
|
201
|
+
|
|
202
|
+
- [`954cc87b62`](https://bitbucket.org/atlassian/atlassian-frontend/commits/954cc87b62) - The readme and package information has been updated to point to the new design system website.
|
|
203
|
+
|
|
204
|
+
## 10.0.1
|
|
205
|
+
|
|
206
|
+
### Patch Changes
|
|
207
|
+
|
|
208
|
+
- [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
|
|
209
|
+
|
|
210
|
+
## 10.0.0
|
|
211
|
+
|
|
212
|
+
### Major Changes
|
|
213
|
+
|
|
214
|
+
- [`87f4720f27`](https://bitbucket.org/atlassian/atlassian-frontend/commits/87f4720f27) - Officially dropping IE11 support, from this version onwards there are no warranties of the package working in IE11.
|
|
215
|
+
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
216
|
+
|
|
217
|
+
### Patch Changes
|
|
218
|
+
|
|
219
|
+
- Updated dependencies
|
|
220
|
+
|
|
221
|
+
## 9.1.9
|
|
222
|
+
|
|
223
|
+
### Patch Changes
|
|
224
|
+
|
|
225
|
+
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
226
|
+
|
|
227
|
+
## 9.1.8
|
|
228
|
+
|
|
229
|
+
### Patch Changes
|
|
230
|
+
|
|
231
|
+
- Updated dependencies
|
|
232
|
+
|
|
233
|
+
## 9.1.7
|
|
234
|
+
|
|
235
|
+
### Patch Changes
|
|
236
|
+
|
|
237
|
+
- [patch][a4d063330a](https://bitbucket.org/atlassian/atlassian-frontend/commits/a4d063330a):
|
|
238
|
+
|
|
239
|
+
Change imports to comply with Atlassian conventions- Updated dependencies [fd41d77c29](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd41d77c29):
|
|
240
|
+
|
|
241
|
+
- @atlaskit/webdriver-runner@0.3.4
|
|
242
|
+
|
|
243
|
+
## 9.1.6
|
|
244
|
+
|
|
245
|
+
### Patch Changes
|
|
246
|
+
|
|
247
|
+
- Updated dependencies [66dcced7a0](https://bitbucket.org/atlassian/atlassian-frontend/commits/66dcced7a0):
|
|
248
|
+
- Updated dependencies [64fb94fb1e](https://bitbucket.org/atlassian/atlassian-frontend/commits/64fb94fb1e):
|
|
249
|
+
- Updated dependencies [eea5e9bd8c](https://bitbucket.org/atlassian/atlassian-frontend/commits/eea5e9bd8c):
|
|
250
|
+
- Updated dependencies [109c1a2c0a](https://bitbucket.org/atlassian/atlassian-frontend/commits/109c1a2c0a):
|
|
251
|
+
- Updated dependencies [c57bb32f6d](https://bitbucket.org/atlassian/atlassian-frontend/commits/c57bb32f6d):
|
|
252
|
+
- @atlaskit/docs@8.4.0
|
|
253
|
+
- @atlaskit/webdriver-runner@0.3.0
|
|
254
|
+
|
|
255
|
+
## 9.1.5
|
|
256
|
+
|
|
257
|
+
### Patch Changes
|
|
258
|
+
|
|
259
|
+
- Updated dependencies [e3f01787dd](https://bitbucket.org/atlassian/atlassian-frontend/commits/e3f01787dd):
|
|
260
|
+
- @atlaskit/webdriver-runner@0.2.0
|
|
261
|
+
|
|
262
|
+
## 9.1.4
|
|
263
|
+
|
|
264
|
+
### Patch Changes
|
|
265
|
+
|
|
266
|
+
- [patch][6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
267
|
+
|
|
268
|
+
Remove namespace imports from React, ReactDom, and PropTypes- Updated dependencies [6548261c9a](https://bitbucket.org/atlassian/atlassian-frontend/commits/6548261c9a):
|
|
269
|
+
|
|
270
|
+
- @atlaskit/docs@8.3.2
|
|
271
|
+
- @atlaskit/visual-regression@0.1.9
|
|
272
|
+
- @atlaskit/theme@9.5.1
|
|
273
|
+
|
|
274
|
+
## 9.1.3
|
|
275
|
+
|
|
276
|
+
### Patch Changes
|
|
277
|
+
|
|
278
|
+
- [patch][4a223473c5](https://bitbucket.org/atlassian/atlassian-frontend/commits/4a223473c5):
|
|
279
|
+
|
|
280
|
+
Removes babel/runtime from dependencies. Users should see a smaller bundlesize as a result- Updated dependencies [82747f2922](https://bitbucket.org/atlassian/atlassian-frontend/commits/82747f2922):
|
|
281
|
+
|
|
282
|
+
- @atlaskit/theme@9.5.0
|
|
283
|
+
|
|
284
|
+
## 9.1.2
|
|
285
|
+
|
|
286
|
+
### Patch Changes
|
|
287
|
+
|
|
288
|
+
- [patch][557a8e2451](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/557a8e2451):
|
|
289
|
+
|
|
290
|
+
Rebuilds package to fix typescript typing error.
|
|
291
|
+
|
|
292
|
+
## 9.1.1
|
|
293
|
+
|
|
294
|
+
### Patch Changes
|
|
295
|
+
|
|
296
|
+
- [patch][35d2229b2a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/35d2229b2a):
|
|
297
|
+
|
|
298
|
+
Adding missing license to packages and update to Copyright 2019 Atlassian Pty Ltd.
|
|
299
|
+
|
|
300
|
+
## 9.1.0
|
|
301
|
+
|
|
302
|
+
### Minor Changes
|
|
303
|
+
|
|
304
|
+
- [minor][10e0798da6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/10e0798da6):
|
|
305
|
+
|
|
306
|
+
Adding an optional prop `testId` that will set the attribute value `data-testid`. It will help products to write better integration and end to end tests.
|
|
307
|
+
|
|
308
|
+
## 9.0.7
|
|
309
|
+
|
|
310
|
+
### Patch Changes
|
|
311
|
+
|
|
312
|
+
- [patch][097b696613](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/097b696613):
|
|
313
|
+
|
|
314
|
+
Components now depend on TS 3.6 internally, in order to fix an issue with TS resolving non-relative imports as relative imports
|
|
315
|
+
|
|
316
|
+
## 9.0.6
|
|
317
|
+
|
|
318
|
+
### Patch Changes
|
|
319
|
+
|
|
320
|
+
- [patch][ecca4d1dbb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ecca4d1dbb):
|
|
321
|
+
|
|
322
|
+
Upgraded Typescript to 3.3.x
|
|
323
|
+
|
|
324
|
+
## 9.0.5
|
|
325
|
+
|
|
326
|
+
### Patch Changes
|
|
327
|
+
|
|
328
|
+
- [patch][708028db86](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/708028db86):
|
|
329
|
+
|
|
330
|
+
Change all the imports to theme in Core to use multi entry points
|
|
331
|
+
|
|
332
|
+
## 9.0.4
|
|
333
|
+
|
|
334
|
+
### Patch Changes
|
|
335
|
+
|
|
336
|
+
- [patch][de35ce8c67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/de35ce8c67):
|
|
337
|
+
|
|
338
|
+
Updates component maintainers
|
|
339
|
+
|
|
340
|
+
## 9.0.3
|
|
341
|
+
|
|
342
|
+
### Patch Changes
|
|
343
|
+
|
|
344
|
+
- [patch][bbff8a7d87](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/bbff8a7d87):
|
|
345
|
+
|
|
346
|
+
Fixes bug, missing version.json file
|
|
347
|
+
|
|
348
|
+
## 9.0.2
|
|
349
|
+
|
|
350
|
+
### Patch Changes
|
|
351
|
+
|
|
352
|
+
- [patch][18dfac7332](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/18dfac7332):
|
|
353
|
+
|
|
354
|
+
In this PR, we are:
|
|
355
|
+
|
|
356
|
+
- Re-introducing dist build folders
|
|
357
|
+
- Adding back cjs
|
|
358
|
+
- Replacing es5 by cjs and es2015 by esm
|
|
359
|
+
- Creating folders at the root for entry-points
|
|
360
|
+
- Removing the generation of the entry-points at the root
|
|
361
|
+
Please see this [ticket](https://product-fabric.atlassian.net/browse/BUILDTOOLS-118) or this [page](https://hello.atlassian.net/wiki/spaces/FED/pages/452325500/Finishing+Atlaskit+multiple+entry+points) for further details
|
|
362
|
+
|
|
363
|
+
## 9.0.1
|
|
364
|
+
|
|
365
|
+
### Patch Changes
|
|
366
|
+
|
|
367
|
+
- [patch][f8778d517a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/f8778d517a):
|
|
368
|
+
|
|
369
|
+
Remove index.ts from built module
|
|
370
|
+
|
|
371
|
+
## 9.0.0
|
|
372
|
+
|
|
373
|
+
- [major][ed41cac6ac](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ed41cac6ac):
|
|
374
|
+
|
|
375
|
+
- Lozenge has been converted to Typescript. Typescript consumers will now get static type safety. Flow types are no longer provided. No API or behavioural changes.
|
|
376
|
+
|
|
377
|
+
## 8.0.0
|
|
378
|
+
|
|
379
|
+
- [major][7c17b35107](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7c17b35107):
|
|
380
|
+
|
|
381
|
+
- Updates react and react-dom peer dependencies to react@^16.8.0 and react-dom@^16.8.0. To use this package, please ensure you use at least this version of react and react-dom.
|
|
382
|
+
|
|
383
|
+
## 7.0.3
|
|
384
|
+
|
|
385
|
+
- [patch][73a5c6f3dc](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/73a5c6f3dc):
|
|
386
|
+
|
|
387
|
+
- Add emotion and remove styled-components
|
|
388
|
+
|
|
389
|
+
## 7.0.2
|
|
390
|
+
|
|
391
|
+
- Updated dependencies [9c0b4744be](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9c0b4744be):
|
|
392
|
+
- @atlaskit/docs@7.0.3
|
|
393
|
+
- @atlaskit/theme@8.1.7
|
|
394
|
+
|
|
395
|
+
## 7.0.1
|
|
396
|
+
|
|
397
|
+
- [patch][98e11001ff](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/98e11001ff):
|
|
398
|
+
|
|
399
|
+
- Removes duplicate babel-runtime dependency
|
|
400
|
+
|
|
401
|
+
## 7.0.0
|
|
402
|
+
|
|
403
|
+
- [major][76299208e6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/76299208e6):
|
|
404
|
+
|
|
405
|
+
- Drop ES5 from all the flow modules
|
|
406
|
+
|
|
407
|
+
### Dropping CJS support in all @atlaskit packages
|
|
408
|
+
|
|
409
|
+
As a breaking change, all @atlaskit packages will be dropping cjs distributions and will only distribute esm. This means all distributed code will be transpiled, but will still contain `import` and
|
|
410
|
+
`export` declarations.
|
|
411
|
+
|
|
412
|
+
The major reason for doing this is to allow us to support multiple entry points in packages, e.g:
|
|
413
|
+
|
|
414
|
+
```js
|
|
415
|
+
import colors from `@atlaskit/theme/colors`;
|
|
416
|
+
```
|
|
417
|
+
|
|
418
|
+
Previously this was sort of possible for consumers by doing something like:
|
|
419
|
+
|
|
420
|
+
```js
|
|
421
|
+
import colors from `@atlaskit/theme/dist/esm/colors`;
|
|
422
|
+
```
|
|
423
|
+
|
|
424
|
+
This has a couple of issues. 1, it treats the file system as API making internal refactors harder, we have to worry about how consumers might be using things that aren't _actually_ supposed to be used. 2. We are unable to do this _internally_ in @atlaskit packages. This leads to lots of packages bundling all of theme, just to use a single color, especially in situations where tree shaking fails.
|
|
425
|
+
|
|
426
|
+
To support being able to use multiple entrypoints internally, we unfortunately cannot have multiple distributions as they would need to have very different imports from of their own internal dependencies.
|
|
427
|
+
|
|
428
|
+
ES Modules are widely supported by all modern bundlers and can be worked around in node environments.
|
|
429
|
+
|
|
430
|
+
We may choose to revisit this solution in the future if we find any unintended condequences, but we see this as a pretty sane path forward which should lead to some major bundle size decreases, saner API's and simpler package architecture.
|
|
431
|
+
|
|
432
|
+
Please reach out to #fabric-build (if in Atlassian) or create an issue in [Design System Support](https://ecosystem.atlassian.net/secure/CreateIssue.jspa?pid=24670) (for external) if you have any questions or queries about this.
|
|
433
|
+
|
|
434
|
+
## 6.2.4
|
|
435
|
+
|
|
436
|
+
- Updated dependencies [58b84fa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/58b84fa):
|
|
437
|
+
- @atlaskit/theme@7.0.1
|
|
438
|
+
- @atlaskit/docs@6.0.0
|
|
439
|
+
|
|
440
|
+
## 6.2.3
|
|
441
|
+
|
|
442
|
+
- [patch][d13242d](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d13242d):
|
|
443
|
+
|
|
444
|
+
- Change API to experimental theming API to namespace component themes into separate contexts and make theming simpler. Update all dependant components.
|
|
445
|
+
|
|
446
|
+
## 6.2.2
|
|
447
|
+
|
|
448
|
+
- [patch] Adds missing implicit @babel/runtime dependency [b71751b](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b71751b)
|
|
449
|
+
|
|
450
|
+
## 6.2.1
|
|
451
|
+
|
|
452
|
+
- [patch] Pulling the shared styles from @atlaskit/theme and removed dependency on util-shraed-styles [7d51a09](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7d51a09)
|
|
453
|
+
|
|
454
|
+
## 6.2.0
|
|
455
|
+
|
|
456
|
+
- [minor] Use new theme API. Adds "theme" prop and exports new theme types. [4b36fd6](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4b36fd6)
|
|
457
|
+
|
|
458
|
+
## 6.1.8
|
|
459
|
+
|
|
460
|
+
- [patch] AK-5321 Lozenge with maxWidth should be constrained by container width [969233e](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/969233e)
|
|
461
|
+
|
|
462
|
+
## 6.1.7
|
|
463
|
+
|
|
464
|
+
- [patch] Adds sideEffects: false to allow proper tree shaking [b5d6d04](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b5d6d04)
|
|
465
|
+
|
|
466
|
+
## 6.1.5
|
|
467
|
+
|
|
468
|
+
- [patch] Updated dependencies [df22ad8](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/df22ad8)
|
|
469
|
+
- @atlaskit/theme@6.0.0
|
|
470
|
+
- @atlaskit/docs@5.0.6
|
|
471
|
+
|
|
472
|
+
## 6.1.4
|
|
473
|
+
|
|
474
|
+
- [patch] update the dependency of react-dom to 16.4.2 due to vulnerability in previous versions read https://reactjs.org/blog/2018/08/01/react-v-16-4-2.html for details [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
475
|
+
- [none] Updated dependencies [a4bd557](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/a4bd557)
|
|
476
|
+
- @atlaskit/theme@5.1.3
|
|
477
|
+
|
|
478
|
+
## 6.1.3
|
|
479
|
+
|
|
480
|
+
- [patch] Updated dependencies [acd86a1](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/acd86a1)
|
|
481
|
+
- @atlaskit/theme@5.1.2
|
|
482
|
+
- @atlaskit/docs@5.0.2
|
|
483
|
+
|
|
484
|
+
## 6.1.2
|
|
485
|
+
|
|
486
|
+
- [patch] Add a SSR test for every package, add react-dom and build-utils in devDependencies [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
487
|
+
- [none] Updated dependencies [7e331b5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7e331b5)
|
|
488
|
+
- @atlaskit/theme@5.1.1
|
|
489
|
+
|
|
490
|
+
## 6.1.1
|
|
491
|
+
|
|
492
|
+
- [patch] Move analytics tests and replace elements to core [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
493
|
+
- [none] Updated dependencies [49d4ab4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/49d4ab4)
|
|
494
|
+
- @atlaskit/docs@5.0.1
|
|
495
|
+
|
|
496
|
+
## 6.1.0
|
|
497
|
+
|
|
498
|
+
- [minor] Improve behavior when using a narrow container [ebf6b97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebf6b97)
|
|
499
|
+
- [none] Updated dependencies [ebf6b97](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ebf6b97)
|
|
500
|
+
|
|
501
|
+
## 6.0.0
|
|
502
|
+
|
|
503
|
+
- [major] Updates to React ^16.4.0 [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
504
|
+
- [major] Updated dependencies [563a7eb](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/563a7eb)
|
|
505
|
+
- @atlaskit/theme@5.0.0
|
|
506
|
+
- @atlaskit/docs@5.0.0
|
|
507
|
+
- [major] Updated dependencies [7edb866](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/7edb866)
|
|
508
|
+
- @atlaskit/theme@5.0.0
|
|
509
|
+
- @atlaskit/docs@5.0.0
|
|
510
|
+
|
|
511
|
+
## 5.0.4
|
|
512
|
+
|
|
513
|
+
- [patch] Clean Changelogs - remove duplicates and empty entries [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
514
|
+
- [none] Updated dependencies [e7756cd](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/e7756cd)
|
|
515
|
+
- @atlaskit/theme@4.0.4
|
|
516
|
+
|
|
517
|
+
## 5.0.3
|
|
518
|
+
|
|
519
|
+
- [patch] Update changelogs to remove duplicate [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
520
|
+
- [none] Updated dependencies [cc58e17](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/cc58e17)
|
|
521
|
+
- @atlaskit/theme@4.0.3
|
|
522
|
+
- @atlaskit/docs@4.1.1
|
|
523
|
+
|
|
524
|
+
## 5.0.2
|
|
525
|
+
|
|
526
|
+
- [none] Updated dependencies [9d20f54](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9d20f54)
|
|
527
|
+
- @atlaskit/docs@4.1.0
|
|
528
|
+
- @atlaskit/theme@4.0.2
|
|
529
|
+
|
|
530
|
+
## 5.0.1
|
|
531
|
+
|
|
532
|
+
- [patch] Update readme's [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
533
|
+
- [patch] Updated dependencies [223cd67](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/223cd67)
|
|
534
|
+
- @atlaskit/theme@4.0.1
|
|
535
|
+
- @atlaskit/docs@4.0.1
|
|
536
|
+
|
|
537
|
+
## 5.0.0
|
|
538
|
+
|
|
539
|
+
- [major] makes styled-components a peer dependency and upgrades version range from 1.4.6 - 3 to ^3.2.6 [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
540
|
+
- [patch] Updated dependencies [1e80619](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e80619)
|
|
541
|
+
- @atlaskit/theme@4.0.0
|
|
542
|
+
- @atlaskit/docs@4.0.0
|
|
543
|
+
|
|
544
|
+
## 4.1.1
|
|
545
|
+
|
|
546
|
+
- [patch] Updae bold color to N800 [0838cb0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0838cb0)
|
|
547
|
+
- [patch] Update colors of appearance to new color palette pairings [979aff5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/979aff5)
|
|
548
|
+
- [none] Updated dependencies [0838cb0](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/0838cb0)
|
|
549
|
+
- [none] Updated dependencies [979aff5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/979aff5)
|
|
550
|
+
|
|
551
|
+
## 4.1.0
|
|
552
|
+
|
|
553
|
+
- [patch] Update appearance enum test [b42eaa5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42eaa5)
|
|
554
|
+
- [patch] Update test [c668ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c668ac9)
|
|
555
|
+
- [minor] Update Lozenge to accept colors pairing [4638c7a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4638c7a)
|
|
556
|
+
- [none] Updated dependencies [b42eaa5](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/b42eaa5)
|
|
557
|
+
- [none] Updated dependencies [c668ac9](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/c668ac9)
|
|
558
|
+
- [none] Updated dependencies [4638c7a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4638c7a)
|
|
559
|
+
|
|
560
|
+
## 4.0.1
|
|
561
|
+
|
|
562
|
+
- [patch] Updated dependencies [d662caa](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/d662caa)
|
|
563
|
+
- @atlaskit/docs@3.0.4
|
|
564
|
+
|
|
565
|
+
## 4.0.0
|
|
566
|
+
|
|
567
|
+
- [major] Bump to React 16.3. [4251858](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/4251858)
|
|
568
|
+
|
|
569
|
+
## 3.6.1
|
|
570
|
+
|
|
571
|
+
- [patch] Re-releasing due to potentially broken babel release [9ed0bba](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/9ed0bba)
|
|
572
|
+
|
|
573
|
+
## 3.6.0
|
|
574
|
+
|
|
575
|
+
- [minor] Update styled-components dependency to support versions 1.4.6 - 3 [ceccf30](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/ceccf30)
|
|
576
|
+
|
|
577
|
+
## 3.5.2
|
|
578
|
+
|
|
579
|
+
- [patch] updated the repository url to https://bitbucket.org/atlassian/atlaskit-mk-2 [1e57e5a](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/1e57e5a)
|
|
580
|
+
|
|
581
|
+
## 3.5.1
|
|
582
|
+
|
|
583
|
+
- [patch] Packages Flow types for elements components [3111e74](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/3111e74)
|
|
584
|
+
|
|
585
|
+
## 3.5.0
|
|
586
|
+
|
|
587
|
+
- [minor] Add React 16 support. [12ea6e4](https://bitbucket.org/atlassian/atlaskit-mk-2/commits/12ea6e4)
|
|
588
|
+
|
|
589
|
+
## 3.4.2 (2017-07-27)
|
|
590
|
+
|
|
591
|
+
- fix; rename jsnext:main to jsnext:experimental:main temporarily ([c7508e0](https://bitbucket.org/atlassian/atlaskit/commits/c7508e0))
|
|
592
|
+
|
|
593
|
+
## 3.4.1 (2017-07-25)
|
|
594
|
+
|
|
595
|
+
- fix; use class transform in loose mode in babel to improve load performance in apps ([fde719a](https://bitbucket.org/atlassian/atlaskit/commits/fde719a))
|
|
596
|
+
|
|
597
|
+
## 3.1.0 (2017-07-17)
|
|
598
|
+
|
|
599
|
+
- fix; rerelease, failed prepublish scripts ([5fd82f8](https://bitbucket.org/atlassian/atlaskit/commits/5fd82f8))
|
|
600
|
+
|
|
601
|
+
## 3.1.0 (2017-07-17)
|
|
602
|
+
|
|
603
|
+
- feature; added ES module builds to dist and add jsnext:main to most ADG packages ([ea76507](https://bitbucket.org/atlassian/atlaskit/commits/ea76507))
|
|
604
|
+
|
|
605
|
+
## 3.0.3 (2017-07-13)
|
|
606
|
+
|
|
607
|
+
- fix; add prop-types as a dependency to avoid React 15.x warnings ([92598eb](https://bitbucket.org/atlassian/atlaskit/commits/92598eb))
|
|
608
|
+
|
|
609
|
+
## 3.0.2 (2017-04-27)
|
|
610
|
+
|
|
611
|
+
- fix; update legal copy to be more clear. Not all modules include ADG license. ([f3a945e](https://bitbucket.org/atlassian/atlaskit/commits/f3a945e))
|
|
612
|
+
|
|
613
|
+
## 3.0.1 (2017-04-26)
|
|
614
|
+
|
|
615
|
+
- fix; update legal copy and fix broken links for component README on npm. New contribution and ([0b3e454](https://bitbucket.org/atlassian/atlaskit/commits/0b3e454))
|
|
616
|
+
|
|
617
|
+
## 2.0.0 (2017-03-27)
|
|
618
|
+
|
|
619
|
+
- bump major to avoid API conflict with mentions ([1d01253](https://bitbucket.org/atlassian/atlaskit/commits/1d01253))
|
|
620
|
+
- updating dependencies ([d293404](https://bitbucket.org/atlassian/atlaskit/commits/d293404))
|
|
621
|
+
- breaking; update lozenge major version
|
|
622
|
+
- breaking; removed classnames dep and .d.ts file
|
|
623
|
+
|
|
624
|
+
## 1.0.11 (2017-03-23)
|
|
625
|
+
|
|
626
|
+
- fix; Empty commit to release the component ([49c08ee](https://bitbucket.org/atlassian/atlaskit/commits/49c08ee))
|
|
627
|
+
- refactor the lozenge component to use styled-components ([eb738ca](https://bitbucket.org/atlassian/atlaskit/commits/eb738ca))
|
|
628
|
+
- breaking; now requires peerDep of "styled-components"
|
|
629
|
+
|
|
630
|
+
## 1.0.9 (2017-03-21)
|
|
631
|
+
|
|
632
|
+
- fix; maintainers for all the packages were added ([261d00a](https://bitbucket.org/atlassian/atlaskit/commits/261d00a))
|
|
633
|
+
|
|
634
|
+
## 1.0.8 (2017-02-28)
|
|
635
|
+
|
|
636
|
+
- fix; dummy commit to release stories ([3df5d9f](https://bitbucket.org/atlassian/atlaskit/commits/3df5d9f))
|
|
637
|
+
|
|
638
|
+
## 1.0.6 (2017-02-28)
|
|
639
|
+
|
|
640
|
+
- fix; dummy commit to fix broken stories and missing registry pages ([a31e92a](https://bitbucket.org/atlassian/atlaskit/commits/a31e92a))
|
|
641
|
+
|
|
642
|
+
## 1.0.6 (2017-02-28)
|
|
643
|
+
|
|
644
|
+
- fix; dummy commit to release stories for components ([a105c02](https://bitbucket.org/atlassian/atlaskit/commits/a105c02))
|
|
645
|
+
|
|
646
|
+
## 1.0.5 (2017-02-28)
|
|
647
|
+
|
|
648
|
+
- fix; removes jsdoc annotations and moves them to usage.md ([2c53fea](https://bitbucket.org/atlassian/atlaskit/commits/2c53fea))
|
|
649
|
+
|
|
650
|
+
## 1.0.4 (2017-02-20)
|
|
651
|
+
|
|
652
|
+
- fix; use correctly scoped package names in npm docs ([91dbd2f](https://bitbucket.org/atlassian/atlaskit/commits/91dbd2f))
|
|
653
|
+
|
|
654
|
+
## 1.0.2 (2017-02-07)
|
|
655
|
+
|
|
656
|
+
- fix; Updates docs with yarn installation instructions ([aebf31a](https://bitbucket.org/atlassian/atlaskit/commits/aebf31a))
|
|
657
|
+
- Add TypeScript declarations for lozenge. ([5993cf8](https://bitbucket.org/atlassian/atlaskit/commits/5993cf8))
|
|
658
|
+
|
|
659
|
+
## 1.0.1 (2017-02-06)
|
|
660
|
+
|
|
661
|
+
- fix; Updates package to use scoped ak packages ([b655c30](https://bitbucket.org/atlassian/atlaskit/commits/b655c30))
|