@atlaskit/textarea 4.7.7 → 5.0.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 +53 -41
- package/dist/cjs/component-tokens.js +13 -65
- package/dist/cjs/index.js +1 -14
- package/dist/cjs/styles.js +86 -40
- package/dist/cjs/text-area.js +10 -28
- package/dist/es2019/component-tokens.js +14 -53
- package/dist/es2019/index.js +1 -2
- package/dist/es2019/styles.js +75 -29
- package/dist/es2019/text-area.js +6 -22
- package/dist/esm/component-tokens.js +14 -53
- package/dist/esm/index.js +1 -2
- package/dist/esm/styles.js +79 -33
- package/dist/esm/text-area.js +10 -27
- package/dist/types/component-tokens.d.ts +13 -52
- package/dist/types/index.d.ts +0 -2
- package/dist/types/styles.d.ts +1 -2
- package/dist/types/types.d.ts +22 -22
- package/dist/types-ts4.5/component-tokens.d.ts +13 -52
- package/dist/types-ts4.5/index.d.ts +0 -2
- package/dist/types-ts4.5/styles.d.ts +1 -2
- package/dist/types-ts4.5/types.d.ts +22 -22
- package/package.json +10 -7
- package/report.api.md +0 -169
- package/dist/cjs/theme.js +0 -122
- package/dist/es2019/theme.js +0 -110
- package/dist/esm/theme.js +0 -111
- package/dist/types/theme.d.ts +0 -174
- package/dist/types-ts4.5/theme.d.ts +0 -174
- package/theme/package.json +0 -15
- package/tmp/api-report-tmp.d.ts +0 -215
package/CHANGELOG.md
CHANGED
|
@@ -1,76 +1,88 @@
|
|
|
1
1
|
# @atlaskit/textarea
|
|
2
2
|
|
|
3
|
+
## 5.0.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#74756](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/74756) [`8e66f751df96`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8e66f751df96) - Use feature flag to roll out border width update from 2px to 1px
|
|
8
|
+
|
|
9
|
+
## 5.0.0
|
|
10
|
+
|
|
11
|
+
### Major Changes
|
|
12
|
+
|
|
13
|
+
- [#41866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41866) [`ed8b6957789`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ed8b6957789) - Removes any usage of deprecated legacy theming APIs. These have been superseeded by design tokens.
|
|
14
|
+
|
|
3
15
|
## 4.7.7
|
|
4
16
|
|
|
5
17
|
### Patch Changes
|
|
6
18
|
|
|
7
|
-
- [`29941aaea33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29941aaea33) - update focused fallback color to meet contrast requirement
|
|
19
|
+
- [#37613](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37613) [`29941aaea33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/29941aaea33) - update focused fallback color to meet contrast requirement
|
|
8
20
|
|
|
9
21
|
## 4.7.6
|
|
10
22
|
|
|
11
23
|
### Patch Changes
|
|
12
24
|
|
|
13
|
-
- [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
25
|
+
- [#38731](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38731) [`9af31f3c1ae`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9af31f3c1ae) - Delete version.json
|
|
14
26
|
|
|
15
27
|
## 4.7.5
|
|
16
28
|
|
|
17
29
|
### Patch Changes
|
|
18
30
|
|
|
19
|
-
- [`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This package is now onboarded onto the product push model.
|
|
31
|
+
- [#38201](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38201) [`356d6ebed05`](https://bitbucket.org/atlassian/atlassian-frontend/commits/356d6ebed05) - This package is now onboarded onto the product push model.
|
|
20
32
|
|
|
21
33
|
## 4.7.4
|
|
22
34
|
|
|
23
35
|
### Patch Changes
|
|
24
36
|
|
|
25
|
-
- [`964e8db6c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/964e8db6c94) - update border width to use border spacing token
|
|
37
|
+
- [#36662](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36662) [`964e8db6c94`](https://bitbucket.org/atlassian/atlassian-frontend/commits/964e8db6c94) - update border width to use border spacing token
|
|
26
38
|
|
|
27
39
|
## 4.7.3
|
|
28
40
|
|
|
29
41
|
### Patch Changes
|
|
30
42
|
|
|
31
|
-
- [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
43
|
+
- [#35441](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35441) [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
|
|
32
44
|
|
|
33
45
|
## 4.7.2
|
|
34
46
|
|
|
35
47
|
### Patch Changes
|
|
36
48
|
|
|
37
|
-
- [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
|
|
49
|
+
- [#35111](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35111) [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
|
|
38
50
|
|
|
39
51
|
## 4.7.1
|
|
40
52
|
|
|
41
53
|
### Patch Changes
|
|
42
54
|
|
|
43
|
-
- [`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.
|
|
55
|
+
- [#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.
|
|
44
56
|
|
|
45
57
|
## 4.7.0
|
|
46
58
|
|
|
47
59
|
### Minor Changes
|
|
48
60
|
|
|
49
|
-
- [`5f37caad726`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f37caad726) - [ux] reduce border width to 1px and update fallback color of border
|
|
61
|
+
- [#33171](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33171) [`5f37caad726`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f37caad726) - [ux] reduce border width to 1px and update fallback color of border
|
|
50
62
|
|
|
51
63
|
## 4.6.3
|
|
52
64
|
|
|
53
65
|
### Patch Changes
|
|
54
66
|
|
|
55
|
-
- [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
67
|
+
- [#34051](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34051) [`49b08bfdf5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/49b08bfdf5f) - Migrated use of `gridSize` to space tokens where possible. There is no expected visual or behaviour change.
|
|
56
68
|
|
|
57
69
|
## 4.6.2
|
|
58
70
|
|
|
59
71
|
### Patch Changes
|
|
60
72
|
|
|
61
|
-
- [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
|
|
73
|
+
- [#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
|
|
62
74
|
|
|
63
75
|
## 4.6.1
|
|
64
76
|
|
|
65
77
|
### Patch Changes
|
|
66
78
|
|
|
67
|
-
- [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
|
|
79
|
+
- [#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
80
|
|
|
69
81
|
## 4.6.0
|
|
70
82
|
|
|
71
83
|
### Minor Changes
|
|
72
84
|
|
|
73
|
-
- [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
85
|
+
- [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
|
|
74
86
|
|
|
75
87
|
### Patch Changes
|
|
76
88
|
|
|
@@ -80,7 +92,7 @@
|
|
|
80
92
|
|
|
81
93
|
### Patch Changes
|
|
82
94
|
|
|
83
|
-
- [`e028bee17df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e028bee17df) - [ux] fix(style): update fallback color of placeholder to meet contrast requirement
|
|
95
|
+
- [#33004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33004) [`e028bee17df`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e028bee17df) - [ux] fix(style): update fallback color of placeholder to meet contrast requirement
|
|
84
96
|
|
|
85
97
|
## 4.5.6
|
|
86
98
|
|
|
@@ -116,13 +128,13 @@
|
|
|
116
128
|
|
|
117
129
|
### Patch Changes
|
|
118
130
|
|
|
119
|
-
- [`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) [`9827dcb82b8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9827dcb82b8) - No-op change to introduce spacing tokens to design system components.
|
|
120
132
|
|
|
121
133
|
## 4.5.0
|
|
122
134
|
|
|
123
135
|
### Minor Changes
|
|
124
136
|
|
|
125
|
-
- [`6612a236510`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6612a236510) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
137
|
+
- [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`6612a236510`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6612a236510) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
|
|
126
138
|
|
|
127
139
|
### Patch Changes
|
|
128
140
|
|
|
@@ -132,31 +144,31 @@
|
|
|
132
144
|
|
|
133
145
|
### Minor Changes
|
|
134
146
|
|
|
135
|
-
- [`b8841384da6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8841384da6) - Disabled background and border styles should not be applied to components that have either no background or transparent background to begin with. Textfield and textarea variants that do not have backgrounds (sublte or none) have no backgrounds or borders applied when disabled. As such, any comopnents that consume these will also be affected.
|
|
147
|
+
- [#24968](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24968) [`b8841384da6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b8841384da6) - Disabled background and border styles should not be applied to components that have either no background or transparent background to begin with. Textfield and textarea variants that do not have backgrounds (sublte or none) have no backgrounds or borders applied when disabled. As such, any comopnents that consume these will also be affected.
|
|
136
148
|
|
|
137
149
|
## 4.3.11
|
|
138
150
|
|
|
139
151
|
### Patch Changes
|
|
140
152
|
|
|
141
|
-
- [`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update hover state appearance of subtle Textarea, Textfield and Select components to match the hover states of their default counterparts.
|
|
153
|
+
- [#25314](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/25314) [`bedbdec0e82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/bedbdec0e82) - Update hover state appearance of subtle Textarea, Textfield and Select components to match the hover states of their default counterparts.
|
|
142
154
|
|
|
143
155
|
## 4.3.10
|
|
144
156
|
|
|
145
157
|
### Patch Changes
|
|
146
158
|
|
|
147
|
-
- [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
159
|
+
- [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874) [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
|
|
148
160
|
|
|
149
161
|
## 4.3.9
|
|
150
162
|
|
|
151
163
|
### Patch Changes
|
|
152
164
|
|
|
153
|
-
- [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
165
|
+
- [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492) [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
|
|
154
166
|
|
|
155
167
|
## 4.3.8
|
|
156
168
|
|
|
157
169
|
### Patch Changes
|
|
158
170
|
|
|
159
|
-
- [`e4abd2c2888`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4abd2c2888) - Update token used for background color of subtle text area on hover
|
|
171
|
+
- [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`e4abd2c2888`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e4abd2c2888) - Update token used for background color of subtle text area on hover
|
|
160
172
|
- [`926f9b57c59`](https://bitbucket.org/atlassian/atlassian-frontend/commits/926f9b57c59) - Internal code change turning on new linting rules.
|
|
161
173
|
- [`fe575d49d66`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fe575d49d66) - Updated styles to use new input design tokens
|
|
162
174
|
|
|
@@ -164,13 +176,13 @@
|
|
|
164
176
|
|
|
165
177
|
### Patch Changes
|
|
166
178
|
|
|
167
|
-
- [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
|
|
179
|
+
- [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`45ebe7af434`](https://bitbucket.org/atlassian/atlassian-frontend/commits/45ebe7af434) - Moved to using declarative entrypoints internally. Public API is unchanged.
|
|
168
180
|
|
|
169
181
|
## 4.3.6
|
|
170
182
|
|
|
171
183
|
### Patch Changes
|
|
172
184
|
|
|
173
|
-
- [`f63824e8227`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f63824e8227) - [ux] Updated input tokens within `@atlaskit/textarea`.
|
|
185
|
+
- [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`f63824e8227`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f63824e8227) - [ux] Updated input tokens within `@atlaskit/textarea`.
|
|
174
186
|
|
|
175
187
|
## 4.3.5
|
|
176
188
|
|
|
@@ -182,7 +194,7 @@
|
|
|
182
194
|
|
|
183
195
|
### Patch Changes
|
|
184
196
|
|
|
185
|
-
- [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
197
|
+
- [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650) [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
|
|
186
198
|
|
|
187
199
|
## 4.3.3
|
|
188
200
|
|
|
@@ -206,13 +218,13 @@
|
|
|
206
218
|
|
|
207
219
|
### Minor Changes
|
|
208
220
|
|
|
209
|
-
- [`2e56ff8ea50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e56ff8ea50) - [ux] Fixed a bug where smart resize did not work when the value prop was changed
|
|
221
|
+
- [#18526](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/18526) [`2e56ff8ea50`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2e56ff8ea50) - [ux] Fixed a bug where smart resize did not work when the value prop was changed
|
|
210
222
|
|
|
211
223
|
## 4.2.6
|
|
212
224
|
|
|
213
225
|
### Patch Changes
|
|
214
226
|
|
|
215
|
-
- [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
|
|
227
|
+
- [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - The no-unsafe-design-token-usage eslint rule now respects the new token naming conventions when auto-fixing by correctly formatting token ids.
|
|
216
228
|
- Updated dependencies
|
|
217
229
|
|
|
218
230
|
## 4.2.5
|
|
@@ -225,7 +237,7 @@
|
|
|
225
237
|
|
|
226
238
|
### Patch Changes
|
|
227
239
|
|
|
228
|
-
- [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
240
|
+
- [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998) [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds for this package now pass through a tokens babel plugin, removing runtime invocations of the tokens() function and improving bundle size.
|
|
229
241
|
- [`af7c289395b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/af7c289395b) - Fix TypeScript issue where text area HTML attributes were not exposed in component prop types.
|
|
230
242
|
- Updated dependencies
|
|
231
243
|
|
|
@@ -251,7 +263,7 @@
|
|
|
251
263
|
|
|
252
264
|
### Minor Changes
|
|
253
265
|
|
|
254
|
-
- [`ae281b57bcd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae281b57bcd) - Instrumented Radio with the new theming package, `@atlaskit/tokens`.
|
|
266
|
+
- [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`ae281b57bcd`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae281b57bcd) - Instrumented Radio with the new theming package, `@atlaskit/tokens`.
|
|
255
267
|
|
|
256
268
|
New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
|
|
257
269
|
These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes
|
|
@@ -265,43 +277,43 @@
|
|
|
265
277
|
|
|
266
278
|
### Patch Changes
|
|
267
279
|
|
|
268
|
-
- [`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated homepage in package.json
|
|
280
|
+
- [#13728](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13728) [`c5785203506`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c5785203506) - Updated homepage in package.json
|
|
269
281
|
|
|
270
282
|
## 4.1.2
|
|
271
283
|
|
|
272
284
|
### Patch Changes
|
|
273
285
|
|
|
274
|
-
- [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
286
|
+
- [#12880](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12880) [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
|
|
275
287
|
|
|
276
288
|
## 4.1.1
|
|
277
289
|
|
|
278
290
|
### Patch Changes
|
|
279
291
|
|
|
280
|
-
- [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
292
|
+
- [#12167](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12167) [`d6f7ff383cf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d6f7ff383cf) - Updates to development dependency `storybook-addon-performance`
|
|
281
293
|
|
|
282
294
|
## 4.1.0
|
|
283
295
|
|
|
284
296
|
### Minor Changes
|
|
285
297
|
|
|
286
|
-
- [`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux] Update form field examples for validation and add a new prop to RadioGroup component
|
|
298
|
+
- [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`7af2427f3a8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7af2427f3a8) - [ux] Update form field examples for validation and add a new prop to RadioGroup component
|
|
287
299
|
|
|
288
300
|
## 4.0.2
|
|
289
301
|
|
|
290
302
|
### Patch Changes
|
|
291
303
|
|
|
292
|
-
- [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
304
|
+
- [#8644](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8644) [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
|
|
293
305
|
|
|
294
306
|
## 4.0.1
|
|
295
307
|
|
|
296
308
|
### Patch Changes
|
|
297
309
|
|
|
298
|
-
- [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
310
|
+
- [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857) [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
|
|
299
311
|
|
|
300
312
|
## 4.0.0
|
|
301
313
|
|
|
302
314
|
### Major Changes
|
|
303
315
|
|
|
304
|
-
- [`782b6e5182`](https://bitbucket.org/atlassian/atlassian-frontend/commits/782b6e5182) - ### Brief
|
|
316
|
+
- [#5860](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5860) [`782b6e5182`](https://bitbucket.org/atlassian/atlassian-frontend/commits/782b6e5182) - ### Brief
|
|
305
317
|
|
|
306
318
|
The goal of this major for textarea is to improve the component's performance, by both
|
|
307
319
|
|
|
@@ -351,7 +363,7 @@ npx @atlaskit/codemod-cli /path/to/target/directory --parser [tsx | flow | babel
|
|
|
351
363
|
|
|
352
364
|
### Patch Changes
|
|
353
365
|
|
|
354
|
-
- [`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.
|
|
366
|
+
- [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497) [`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.
|
|
355
367
|
This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
|
|
356
368
|
Also add `typescript` to `devDependencies` to denote version that the package was built with.
|
|
357
369
|
|
|
@@ -365,13 +377,13 @@ Also add `typescript` to `devDependencies` to denote version that the package wa
|
|
|
365
377
|
|
|
366
378
|
### Patch Changes
|
|
367
379
|
|
|
368
|
-
- [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
380
|
+
- [#4707](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4707) [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
|
|
369
381
|
|
|
370
382
|
## 3.0.2
|
|
371
383
|
|
|
372
384
|
### Patch Changes
|
|
373
385
|
|
|
374
|
-
- [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
386
|
+
- [#3885](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3885) [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
|
|
375
387
|
|
|
376
388
|
Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
|
|
377
389
|
to prevent duplicates of tslib being bundled.
|
|
@@ -380,13 +392,13 @@ to prevent duplicates of tslib being bundled.
|
|
|
380
392
|
|
|
381
393
|
### Patch Changes
|
|
382
394
|
|
|
383
|
-
- [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
|
|
395
|
+
- [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`e99262c6f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e99262c6f0) - All form elements now have a default font explicitly set
|
|
384
396
|
|
|
385
397
|
## 3.0.0
|
|
386
398
|
|
|
387
399
|
### Major Changes
|
|
388
400
|
|
|
389
|
-
- [`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.
|
|
401
|
+
- [#3335](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3335) [`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.
|
|
390
402
|
For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
|
|
391
403
|
|
|
392
404
|
### Patch Changes
|
|
@@ -397,7 +409,7 @@ For more information see: https://community.developer.atlassian.com/t/atlaskit-t
|
|
|
397
409
|
|
|
398
410
|
### Patch Changes
|
|
399
411
|
|
|
400
|
-
- [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
412
|
+
- [#2866](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2866) [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
|
|
401
413
|
|
|
402
414
|
## 2.2.9
|
|
403
415
|
|
|
@@ -409,7 +421,7 @@ For more information see: https://community.developer.atlassian.com/t/atlaskit-t
|
|
|
409
421
|
|
|
410
422
|
### Patch Changes
|
|
411
423
|
|
|
412
|
-
- [`7aa4756beb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7aa4756beb) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
424
|
+
- [#1868](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1868) [`7aa4756beb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7aa4756beb) - Change imports to comply with Atlassian conventions- Updated dependencies
|
|
413
425
|
|
|
414
426
|
## 2.2.7
|
|
415
427
|
|
|
@@ -6,68 +6,16 @@ Object.defineProperty(exports, "__esModule", {
|
|
|
6
6
|
exports.transparent = exports.textColor = exports.subtleBorderColorHover = exports.placeholderTextColor = exports.invalidBorderColor = exports.disabledTextColor = exports.disabledBorder = exports.disabledBackground = exports.defaultBorderColorFocus = exports.defaultBorderColor = exports.defaultBackgroundColorHover = exports.defaultBackgroundColorFocus = exports.defaultBackgroundColor = void 0;
|
|
7
7
|
var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
|
|
8
8
|
var _colors = require("@atlaskit/theme/colors");
|
|
9
|
-
var disabledBackground =
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
exports.
|
|
14
|
-
var
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
exports.
|
|
19
|
-
var
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
};
|
|
23
|
-
exports.invalidBorderColor = invalidBorderColor;
|
|
24
|
-
var defaultBorderColor = {
|
|
25
|
-
light: "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")"),
|
|
26
|
-
dark: "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.DN200 : _colors.DN40, ")")
|
|
27
|
-
};
|
|
28
|
-
exports.defaultBorderColor = defaultBorderColor;
|
|
29
|
-
var defaultBorderColorFocus = {
|
|
30
|
-
light: "var(--ds-border-focused, ".concat(_colors.B200, ")"),
|
|
31
|
-
dark: "var(--ds-border-focused, ".concat(_colors.B100, ")")
|
|
32
|
-
};
|
|
33
|
-
exports.defaultBorderColorFocus = defaultBorderColorFocus;
|
|
34
|
-
var defaultBackgroundColor = {
|
|
35
|
-
light: "var(--ds-background-input, ".concat(_colors.N10, ")"),
|
|
36
|
-
dark: "var(--ds-background-input, ".concat(_colors.DN10, ")")
|
|
37
|
-
};
|
|
38
|
-
exports.defaultBackgroundColor = defaultBackgroundColor;
|
|
39
|
-
var defaultBackgroundColorHover = {
|
|
40
|
-
light: "var(--ds-background-input-hovered, ".concat(_colors.N30, ")"),
|
|
41
|
-
dark: "var(--ds-background-input-hovered, ".concat(_colors.DN30, ")")
|
|
42
|
-
};
|
|
43
|
-
exports.defaultBackgroundColorHover = defaultBackgroundColorHover;
|
|
44
|
-
var defaultBackgroundColorFocus = {
|
|
45
|
-
light: "var(--ds-background-input-pressed, ".concat(_colors.N0, ")"),
|
|
46
|
-
dark: "var(--ds-background-input-pressed, ".concat(_colors.DN10, ")")
|
|
47
|
-
};
|
|
48
|
-
exports.defaultBackgroundColorFocus = defaultBackgroundColorFocus;
|
|
49
|
-
var subtleBorderColorHover = {
|
|
50
|
-
light: "var(--ds-border-input, transparent)",
|
|
51
|
-
dark: "var(--ds-border-input, transparent)"
|
|
52
|
-
};
|
|
53
|
-
exports.subtleBorderColorHover = subtleBorderColorHover;
|
|
54
|
-
var placeholderTextColor = {
|
|
55
|
-
light: "var(--ds-text-subtlest, ".concat(_colors.N200, ")"),
|
|
56
|
-
dark: "var(--ds-text-subtlest, ".concat(_colors.DN200, ")")
|
|
57
|
-
};
|
|
58
|
-
exports.placeholderTextColor = placeholderTextColor;
|
|
59
|
-
var textColor = {
|
|
60
|
-
light: "var(--ds-text, ".concat(_colors.N900, ")"),
|
|
61
|
-
dark: "var(--ds-text, ".concat(_colors.DN600, ")")
|
|
62
|
-
};
|
|
63
|
-
exports.textColor = textColor;
|
|
64
|
-
var disabledTextColor = {
|
|
65
|
-
light: "var(--ds-text-disabled, ".concat(_colors.N70, ")"),
|
|
66
|
-
dark: "var(--ds-text-disabled, ".concat(_colors.DN90, ")")
|
|
67
|
-
};
|
|
68
|
-
exports.disabledTextColor = disabledTextColor;
|
|
69
|
-
var transparent = {
|
|
70
|
-
light: 'transparent',
|
|
71
|
-
dark: 'transparent'
|
|
72
|
-
};
|
|
73
|
-
exports.transparent = transparent;
|
|
9
|
+
var disabledBackground = exports.disabledBackground = "var(--ds-background-disabled, ".concat(_colors.N20, ")");
|
|
10
|
+
var disabledBorder = exports.disabledBorder = "var(--ds-border-disabled, ".concat(_colors.N40, ")");
|
|
11
|
+
var invalidBorderColor = exports.invalidBorderColor = "var(--ds-border-danger, ".concat(_colors.R400, ")");
|
|
12
|
+
var defaultBorderColor = exports.defaultBorderColor = "var(--ds-border-input, ".concat((0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.border-checkbox_nyoiu') ? _colors.N100 : _colors.N40, ")");
|
|
13
|
+
var defaultBorderColorFocus = exports.defaultBorderColorFocus = "var(--ds-border-focused, ".concat(_colors.B200, ")");
|
|
14
|
+
var defaultBackgroundColor = exports.defaultBackgroundColor = "var(--ds-background-input, ".concat(_colors.N10, ")");
|
|
15
|
+
var defaultBackgroundColorHover = exports.defaultBackgroundColorHover = "var(--ds-background-input-hovered, ".concat(_colors.N30, ")");
|
|
16
|
+
var defaultBackgroundColorFocus = exports.defaultBackgroundColorFocus = "var(--ds-background-input-pressed, ".concat(_colors.N0, ")");
|
|
17
|
+
var subtleBorderColorHover = exports.subtleBorderColorHover = "var(--ds-border-input, transparent)";
|
|
18
|
+
var placeholderTextColor = exports.placeholderTextColor = "var(--ds-text-subtlest, ".concat(_colors.N200, ")");
|
|
19
|
+
var textColor = exports.textColor = "var(--ds-text, ".concat(_colors.N900, ")");
|
|
20
|
+
var disabledTextColor = exports.disabledTextColor = "var(--ds-text-disabled, ".concat(_colors.N70, ")");
|
|
21
|
+
var transparent = exports.transparent = 'transparent';
|
package/dist/cjs/index.js
CHANGED
|
@@ -4,23 +4,10 @@ var _interopRequireDefault = require("@babel/runtime/helpers/interopRequireDefau
|
|
|
4
4
|
Object.defineProperty(exports, "__esModule", {
|
|
5
5
|
value: true
|
|
6
6
|
});
|
|
7
|
-
Object.defineProperty(exports, "Theme", {
|
|
8
|
-
enumerable: true,
|
|
9
|
-
get: function get() {
|
|
10
|
-
return _theme.Theme;
|
|
11
|
-
}
|
|
12
|
-
});
|
|
13
7
|
Object.defineProperty(exports, "default", {
|
|
14
8
|
enumerable: true,
|
|
15
9
|
get: function get() {
|
|
16
10
|
return _textArea.default;
|
|
17
11
|
}
|
|
18
12
|
});
|
|
19
|
-
|
|
20
|
-
enumerable: true,
|
|
21
|
-
get: function get() {
|
|
22
|
-
return _theme.themeTokens;
|
|
23
|
-
}
|
|
24
|
-
});
|
|
25
|
-
var _textArea = _interopRequireDefault(require("./text-area"));
|
|
26
|
-
var _theme = require("./theme");
|
|
13
|
+
var _textArea = _interopRequireDefault(require("./text-area"));
|