@atlaskit/focus-ring 1.3.8 → 1.4.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.
package/CHANGELOG.md CHANGED
@@ -1,259 +1,344 @@
1
1
  # @atlaskit/focus-ring
2
2
 
3
+ ## 1.4.0
4
+
5
+ ### Minor Changes
6
+
7
+ - [#96204](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/96204)
8
+ [`a53c45efeac1`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/a53c45efeac1) -
9
+ Add support for React 18.
10
+
11
+ ## 1.3.9
12
+
13
+ ### Patch Changes
14
+
15
+ - [#83297](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83297)
16
+ [`6b1707c169e0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/6b1707c169e0) -
17
+ The internal composition of this component has changed. There is no expected change in
18
+ behaviour.
19
+
3
20
  ## 1.3.8
4
21
 
5
22
  ### Patch Changes
6
23
 
7
- - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116) [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) - Upgrade Typescript from `4.9.5` to `5.4.2`
24
+ - [#83116](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/83116)
25
+ [`8d4e99057fe0`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/8d4e99057fe0) -
26
+ Upgrade Typescript from `4.9.5` to `5.4.2`
8
27
 
9
28
  ## 1.3.7
10
29
 
11
30
  ### Patch Changes
12
31
 
13
- - [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130) [`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) - Update new button text color fallback for default theme (non-token) to match that of old button current text color
32
+ - [#72130](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/72130)
33
+ [`b037e5451037`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/b037e5451037) -
34
+ Update new button text color fallback for default theme (non-token) to match that of old button
35
+ current text color
14
36
 
15
37
  ## 1.3.6
16
38
 
17
39
  ### Patch Changes
18
40
 
19
- - [#39309](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39309) [`1e90520801a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e90520801a) - Added this package into push model consumption.
41
+ - [#39309](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39309)
42
+ [`1e90520801a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1e90520801a) - Added
43
+ this package into push model consumption.
20
44
 
21
45
  ## 1.3.5
22
46
 
23
47
  ### Patch Changes
24
48
 
25
- - [#38098](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38098) [`63ee052ee1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63ee052ee1b) - Fix focus-ring border width token with `border.width.outline`
49
+ - [#38098](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38098)
50
+ [`63ee052ee1b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63ee052ee1b) - Fix
51
+ focus-ring border width token with `border.width.outline`
26
52
 
27
53
  ## 1.3.4
28
54
 
29
55
  ### Patch Changes
30
56
 
31
- - [#37186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37186) [`ce22a54e852`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce22a54e852) - [ux] update focus ring outline border.focused fallback to B200 to meet contrast
57
+ - [#37186](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37186)
58
+ [`ce22a54e852`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ce22a54e852) - [ux]
59
+ update focus ring outline border.focused fallback to B200 to meet contrast
32
60
 
33
61
  ## 1.3.3
34
62
 
35
63
  ### Patch Changes
36
64
 
37
- - [#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.
65
+ - [#32935](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32935)
66
+ [`b1bdec7cce2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b1bdec7cce2) -
67
+ Internal change to enforce token usage for spacing properties. There is no expected visual or
68
+ behaviour change.
38
69
 
39
70
  ## 1.3.2
40
71
 
41
72
  ### Patch Changes
42
73
 
43
- - [#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
74
+ - [#33793](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33793)
75
+ [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure
76
+ legacy types are published for TS 4.5-4.8
44
77
 
45
78
  ## 1.3.1
46
79
 
47
80
  ### Patch Changes
48
81
 
49
- - [#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`
82
+ - [#33649](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33649)
83
+ [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) -
84
+ Upgrade Typescript from `4.5.5` to `4.9.5`
50
85
 
51
86
  ## 1.3.0
52
87
 
53
88
  ### Minor Changes
54
89
 
55
- - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
90
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258)
91
+ [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip
92
+ minor dependency bump
56
93
 
57
94
  ### Patch Changes
58
95
 
59
- - Updated dependencies
96
+ - Updated dependencies
60
97
 
61
98
  ## 1.2.6
62
99
 
63
100
  ### Patch Changes
64
101
 
65
- - [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299) [`c23cf0b085d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c23cf0b085d) - Adds display name to component for React devtools debugging.
102
+ - [#31299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31299)
103
+ [`c23cf0b085d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c23cf0b085d) - Adds
104
+ display name to component for React devtools debugging.
66
105
 
67
106
  ## 1.2.5
68
107
 
69
108
  ### Patch Changes
70
109
 
71
- - [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125) [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) - Introduce shape tokens to some packages.
110
+ - [#30125](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30125)
111
+ [`7f5f23dcb68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/7f5f23dcb68) -
112
+ Introduce shape tokens to some packages.
72
113
 
73
114
  ## 1.2.4
74
115
 
75
116
  ### Patch Changes
76
117
 
77
- - Updated dependencies
118
+ - Updated dependencies
78
119
 
79
120
  ## 1.2.3
80
121
 
81
122
  ### Patch Changes
82
123
 
83
- - Updated dependencies
124
+ - Updated dependencies
84
125
 
85
126
  ## 1.2.2
86
127
 
87
128
  ### Patch Changes
88
129
 
89
- - Updated dependencies
130
+ - Updated dependencies
90
131
 
91
132
  ## 1.2.1
92
133
 
93
134
  ### Patch Changes
94
135
 
95
- - Updated dependencies
136
+ - Updated dependencies
96
137
 
97
138
  ## 1.2.0
98
139
 
99
140
  ### Minor Changes
100
141
 
101
- - [#26244](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26244) [`71bf011db22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bf011db22) - Focus ring inset styles are now applied via outline - consistent with offset styles.
142
+ - [#26244](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26244)
143
+ [`71bf011db22`](https://bitbucket.org/atlassian/atlassian-frontend/commits/71bf011db22) - Focus
144
+ ring inset styles are now applied via outline - consistent with offset styles.
102
145
 
103
146
  ## 1.1.0
104
147
 
105
148
  ### Minor Changes
106
149
 
107
- - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710) [`b5d79ded842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5d79ded842) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
150
+ - [#24710](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24710)
151
+ [`b5d79ded842`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b5d79ded842) -
152
+ Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
108
153
 
109
154
  ## 1.0.7
110
155
 
111
156
  ### Patch Changes
112
157
 
113
- - [#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`
158
+ - [#24874](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24874)
159
+ [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) -
160
+ Upgrade Typescript from `4.3.5` to `4.5.5`
114
161
 
115
162
  ## 1.0.6
116
163
 
117
164
  ### Patch Changes
118
165
 
119
- - [#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`.
166
+ - [#24492](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24492)
167
+ [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) -
168
+ Upgrade Typescript from `4.2.4` to `4.3.5`.
120
169
 
121
170
  ## 1.0.5
122
171
 
123
172
  ### Patch Changes
124
173
 
125
- - Updated dependencies
174
+ - Updated dependencies
126
175
 
127
176
  ## 1.0.4
128
177
 
129
178
  ### Patch Changes
130
179
 
131
- - [#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
180
+ - [#20650](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/20650)
181
+ [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) -
182
+ Upgrade to TypeScript 4.2.4
132
183
 
133
184
  ## 1.0.3
134
185
 
135
186
  ### Patch Changes
136
187
 
137
- - Updated dependencies
188
+ - Updated dependencies
138
189
 
139
190
  ## 1.0.2
140
191
 
141
192
  ### Patch Changes
142
193
 
143
- - Updated dependencies
194
+ - Updated dependencies
144
195
 
145
196
  ## 1.0.1
146
197
 
147
198
  ### Patch Changes
148
199
 
149
- - Updated dependencies
200
+ - Updated dependencies
150
201
 
151
202
  ## 1.0.0
152
203
 
153
204
  ### Major Changes
154
205
 
155
- - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`3e1a93c6b67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e1a93c6b67) - Releases FocusRing to v1.
206
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752)
207
+ [`3e1a93c6b67`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3e1a93c6b67) -
208
+ Releases FocusRing to v1.
156
209
 
157
210
  ### Minor Changes
158
211
 
159
- - [`63b8679585b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63b8679585b) - Adds an additional prop `focus` to the `FocusRing` to allow the component to also be controlled. This prop is designed to be used in conjunction with a complementary hook; `useFocusRing`.
212
+ - [`63b8679585b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/63b8679585b) - Adds
213
+ an additional prop `focus` to the `FocusRing` to allow the component to also be controlled. This
214
+ prop is designed to be used in conjunction with a complementary hook; `useFocusRing`.
160
215
 
161
216
  ## 0.2.7
162
217
 
163
218
  ### Patch Changes
164
219
 
165
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Updates usage of deprecated token names so they're aligned with the latest naming conventions. No UI or visual changes
166
- - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - [ux] The component has reworked its internal so that it can now better deal with issues where the background-color was obscured by the focus-ring box shadow.
167
- - Updated dependencies
220
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) -
221
+ Updates usage of deprecated token names so they're aligned with the latest naming conventions.
222
+ No UI or visual changes
223
+ - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - [ux]
224
+ The component has reworked its internal so that it can now better deal with issues where the
225
+ background-color was obscured by the focus-ring box shadow.
226
+ - Updated dependencies
168
227
 
169
228
  ## 0.2.6
170
229
 
171
230
  ### Patch Changes
172
231
 
173
- - Updated dependencies
232
+ - Updated dependencies
174
233
 
175
234
  ## 0.2.5
176
235
 
177
236
  ### Patch Changes
178
237
 
179
- - [#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.
180
- - Updated dependencies
238
+ - [#15998](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15998)
239
+ [`f460cc7c411`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f460cc7c411) - Builds
240
+ for this package now pass through a tokens babel plugin, removing runtime invocations of the
241
+ tokens() function and improving bundle size.
242
+ - Updated dependencies
181
243
 
182
244
  ## 0.2.4
183
245
 
184
246
  ### Patch Changes
185
247
 
186
- - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`6c1c909296d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c1c909296d) - [ux] When composing elements that define class name they will now be correctly retained.
187
- - Updated dependencies
248
+ - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777)
249
+ [`6c1c909296d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c1c909296d) - [ux]
250
+ When composing elements that define class name they will now be correctly retained.
251
+ - Updated dependencies
188
252
 
189
253
  ## 0.2.3
190
254
 
191
255
  ### Patch Changes
192
256
 
193
- - [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632) [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds explicit type to button usages components.
257
+ - [#15632](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15632)
258
+ [`34282240102`](https://bitbucket.org/atlassian/atlassian-frontend/commits/34282240102) - Adds
259
+ explicit type to button usages components.
194
260
 
195
261
  ## 0.2.2
196
262
 
197
263
  ### Patch Changes
198
264
 
199
- - Updated dependencies
265
+ - Updated dependencies
200
266
 
201
267
  ## 0.2.1
202
268
 
203
269
  ### Patch Changes
204
270
 
205
- - Updated dependencies
271
+ - Updated dependencies
206
272
 
207
273
  ## 0.2.0
208
274
 
209
275
  ### Minor Changes
210
276
 
211
- - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302) [`c765dce3afb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c765dce3afb) - [ux] Focus Ring now exposes an additional prop `isInset` to support inset focus states; for example on inputs, or textfields.
212
- - [`0dac09c47b6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0dac09c47b6) - [ux] Colors are now sourced through tokens.
277
+ - [#13302](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13302)
278
+ [`c765dce3afb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c765dce3afb) - [ux]
279
+ Focus Ring now exposes an additional prop `isInset` to support inset focus states; for example
280
+ on inputs, or textfields.
281
+ - [`0dac09c47b6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0dac09c47b6) - [ux]
282
+ Colors are now sourced through tokens.
213
283
 
214
284
  ### Patch Changes
215
285
 
216
- - Updated dependencies
286
+ - Updated dependencies
217
287
 
218
288
  ## 0.1.1
219
289
 
220
290
  ### Patch Changes
221
291
 
222
- - [#13232](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13232) [`9c9296f2959`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c9296f2959) - Fix bug where the package was being exported from the wrong file.
292
+ - [#13232](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13232)
293
+ [`9c9296f2959`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c9296f2959) - Fix
294
+ bug where the package was being exported from the wrong file.
223
295
 
224
296
  ## 0.1.0
225
297
 
226
298
  ### Minor Changes
227
299
 
228
- - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837) [`5ab09801cfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ab09801cfa) - [ux] Updates focus-ring to use an offset box-shadow for its focus state.
229
- - [`adaa7913de0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/adaa7913de0) - Initial release for the package. A Focus Ring can be used to compose focusable elements with a simple composable API.
300
+ - [#12837](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12837)
301
+ [`5ab09801cfa`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5ab09801cfa) - [ux]
302
+ Updates focus-ring to use an offset box-shadow for its focus state.
303
+ - [`adaa7913de0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/adaa7913de0) -
304
+ Initial release for the package. A Focus Ring can be used to compose focusable elements with a
305
+ simple composable API.
230
306
 
231
307
  ### Patch Changes
232
308
 
233
- - Updated dependencies
309
+ - Updated dependencies
234
310
 
235
311
  ## 0.0.4
236
312
 
237
313
  ### Patch Changes
238
314
 
239
- - [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306) [`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix .npmignore and tsconfig.json for **tests**
315
+ - [#8306](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8306)
316
+ [`229b32842b5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/229b32842b5) - Fix
317
+ .npmignore and tsconfig.json for **tests**
240
318
 
241
319
  ## 0.0.3
242
320
 
243
321
  ### Patch Changes
244
322
 
245
- - [#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
323
+ - [#5857](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5857)
324
+ [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) -
325
+ Transpile packages using babel rather than tsc
246
326
 
247
327
  ## 0.0.2
248
328
 
249
329
  ### Patch Changes
250
330
 
251
- - [#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.
252
- This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
253
- Also add `typescript` to `devDependencies` to denote version that the package was built with.
331
+ - [#5497](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/5497)
332
+ [`5f58283e1f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5f58283e1f) - Export
333
+ types using Typescript's new "export type" syntax to satisfy Typescript's --isolatedModules
334
+ compiler option. This requires version 3.8 of Typescript, read more about how we handle
335
+ Typescript versions here: https://atlaskit.atlassian.com/get-started Also add `typescript` to
336
+ `devDependencies` to denote version that the package was built with.
254
337
 
255
338
  ## 0.0.1
256
339
 
257
340
  ### Patch Changes
258
341
 
259
- - [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967) [`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed template package
342
+ - [#4967](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/4967)
343
+ [`b443b5a60f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b443b5a60f) - Renamed
344
+ template package
@@ -38,6 +38,7 @@ var insetFocusRingStyles = (0, _react2.css)({
38
38
  '@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)': {
39
39
  '&:focus-visible': {
40
40
  outline: '1px solid',
41
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
41
42
  outlineOffset: '-1px'
42
43
  }
43
44
  }
@@ -31,6 +31,7 @@ const insetFocusRingStyles = css({
31
31
  '@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)': {
32
32
  '&:focus-visible': {
33
33
  outline: '1px solid',
34
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
34
35
  outlineOffset: '-1px'
35
36
  }
36
37
  }
@@ -31,6 +31,7 @@ var insetFocusRingStyles = css({
31
31
  '@media screen and (forced-colors: active), screen and (-ms-high-contrast: active)': {
32
32
  '&:focus-visible': {
33
33
  outline: '1px solid',
34
+ // eslint-disable-next-line @atlaskit/design-system/use-tokens-space
34
35
  outlineOffset: '-1px'
35
36
  }
36
37
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/focus-ring",
3
- "version": "1.3.8",
3
+ "version": "1.4.0",
4
4
  "description": "A focus ring is used to indicate the currently focused item.",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "license": "Apache-2.0",
@@ -16,7 +16,8 @@
16
16
  "website": {
17
17
  "name": "Focus ring",
18
18
  "category": "Components"
19
- }
19
+ },
20
+ "runReact18": true
20
21
  },
21
22
  "repository": "https://bitbucket.org/atlassian/atlassian-frontend-mirror",
22
23
  "main": "dist/cjs/index.js",
@@ -37,12 +38,12 @@
37
38
  ".": "./src/index.tsx"
38
39
  },
39
40
  "dependencies": {
40
- "@atlaskit/tokens": "^1.42.0",
41
+ "@atlaskit/tokens": "^1.44.0",
41
42
  "@babel/runtime": "^7.0.0",
42
43
  "@emotion/react": "^11.7.1"
43
44
  },
44
45
  "peerDependencies": {
45
- "react": "^16.8.0"
46
+ "react": "^16.8.0 || ^17.0.0 || ~18.2.0"
46
47
  },
47
48
  "devDependencies": {
48
49
  "@af/accessibility-testing": "*",