@atlaskit/datetime-picker 12.10.0 → 12.10.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 CHANGED
@@ -1,89 +1,101 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 12.10.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#39749](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39749) [`e6b69f455c3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e6b69f455c3) - Connect yarn changeset to packages, upgrade adf-schema
8
+
9
+ ## 12.10.1
10
+
11
+ ### Patch Changes
12
+
13
+ - [#40400](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40400) [`ccff5f6ec7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccff5f6ec7a) - Integrate layering into calendar
14
+
3
15
  ## 12.10.0
4
16
 
5
17
  ### Minor Changes
6
18
 
7
- - [`6c0c0407eb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c0c0407eb1) - This cleans up the feature flag references for the keyboard accessibility changes, making them fully available for all users.
19
+ - [#39964](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39964) [`6c0c0407eb1`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c0c0407eb1) - This cleans up the feature flag references for the keyboard accessibility changes, making them fully available for all users.
8
20
 
9
21
  ## 12.9.0
10
22
 
11
23
  ### Minor Changes
12
24
 
13
- - [`4afff68f652`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4afff68f652) - Make typing more complete and accurate for date picker.
25
+ - [#39720](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39720) [`4afff68f652`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4afff68f652) - Make typing more complete and accurate for date picker.
14
26
 
15
27
  ## 12.8.2
16
28
 
17
29
  ### Patch Changes
18
30
 
19
- - [`829d92bcf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/829d92bcf37) - Remove out of date lifecycle methods in favor of up to date methods.
31
+ - [#39447](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39447) [`829d92bcf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/829d92bcf37) - Remove out of date lifecycle methods in favor of up to date methods.
20
32
 
21
33
  ## 12.8.1
22
34
 
23
35
  ### Patch Changes
24
36
 
25
- - [`ae2b28c599a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae2b28c599a) - Remove unused state value.
37
+ - [#39448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39448) [`ae2b28c599a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae2b28c599a) - Remove unused state value.
26
38
 
27
39
  ## 12.8.0
28
40
 
29
41
  ### Minor Changes
30
42
 
31
- - [`0ab32310305`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ab32310305) - [ux] We are testing adding keyboard accessibility to the datepicker change behind a feature flag. If this fix is successful it will be available in a later release.
43
+ - [#38521](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38521) [`0ab32310305`](https://bitbucket.org/atlassian/atlassian-frontend/commits/0ab32310305) - [ux] We are testing adding keyboard accessibility to the datepicker change behind a feature flag. If this fix is successful it will be available in a later release.
32
44
 
33
45
  ## 12.7.12
34
46
 
35
47
  ### Patch Changes
36
48
 
37
- - [`5fae4d61ff7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fae4d61ff7) - Move event handlers to time picker input
49
+ - [#39105](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39105) [`5fae4d61ff7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fae4d61ff7) - Move event handlers to time picker input
38
50
 
39
51
  ## 12.7.11
40
52
 
41
53
  ### Patch Changes
42
54
 
43
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
55
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
44
56
  - Updated dependencies
45
57
 
46
58
  ## 12.7.10
47
59
 
48
60
  ### Patch Changes
49
61
 
50
- - [`e211efc7c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e211efc7c5f) - [ux] Add `lang` attribute to value of pickers.
62
+ - [#38651](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38651) [`e211efc7c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e211efc7c5f) - [ux] Add `lang` attribute to value of pickers.
51
63
 
52
64
  ## 12.7.9
53
65
 
54
66
  ### Patch Changes
55
67
 
56
- - [`6f1daf0e449`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f1daf0e449) - Prevent calander from overlaying input when at the bottom of viewport
68
+ - [#38569](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38569) [`6f1daf0e449`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f1daf0e449) - Prevent calander from overlaying input when at the bottom of viewport
57
69
 
58
70
  ## 12.7.8
59
71
 
60
72
  ### Patch Changes
61
73
 
62
- - [`e8bb91da805`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8bb91da805) - [ux] Ensure menu doesn't close when focus moves within it. Makes future keyboard accessibility possible.
74
+ - [#37610](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/37610) [`e8bb91da805`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e8bb91da805) - [ux] Ensure menu doesn't close when focus moves within it. Makes future keyboard accessibility possible.
63
75
 
64
76
  ## 12.7.7
65
77
 
66
78
  ### Patch Changes
67
79
 
68
- - [`ba50169844e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba50169844e) - Remove lookahead and lookbehind in format util to support browsers without that functionality.
80
+ - [#36759](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36759) [`ba50169844e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba50169844e) - Remove lookahead and lookbehind in format util to support browsers without that functionality.
69
81
 
70
82
  ## 12.7.6
71
83
 
72
84
  ### Patch Changes
73
85
 
74
- - [`6d8ce8bb48a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d8ce8bb48a) - Revert PR using regex that is not supported by Safari 16.4 and below and can crash a session
86
+ - [#35904](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/35904) [`6d8ce8bb48a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6d8ce8bb48a) - Revert PR using regex that is not supported by Safari 16.4 and below and can crash a session
75
87
 
76
88
  ## 12.7.5
77
89
 
78
90
  ### Patch Changes
79
91
 
80
- - [`22363f962e5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22363f962e5) - update border width to use border spacing token
92
+ - [#36665](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/36665) [`22363f962e5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22363f962e5) - update border width to use border spacing token
81
93
 
82
94
  ## 12.7.4
83
95
 
84
96
  ### Patch Changes
85
97
 
86
- - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
98
+ - [#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.
87
99
 
88
100
  ## 12.7.3
89
101
 
@@ -95,31 +107,31 @@
95
107
 
96
108
  ### Patch Changes
97
109
 
98
- - [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
110
+ - [#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
99
111
 
100
112
  ## 12.7.1
101
113
 
102
114
  ### Patch Changes
103
115
 
104
- - [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
116
+ - [#34881](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34881) [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
105
117
 
106
118
  ## 12.7.0
107
119
 
108
120
  ### Minor Changes
109
121
 
110
- - [`1d5cd2e273c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d5cd2e273c) - [ux] We are testing an input behavior change in date picker behind a feature flag. Now when entering a date in the input this value will persist after selecting a date instead of being cleared, acting like a standard input. If this fix is successful it will be available in a later release.
122
+ - [#34373](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/34373) [`1d5cd2e273c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1d5cd2e273c) - [ux] We are testing an input behavior change in date picker behind a feature flag. Now when entering a date in the input this value will persist after selecting a date instead of being cleared, acting like a standard input. If this fix is successful it will be available in a later release.
111
123
 
112
124
  ## 12.6.1
113
125
 
114
126
  ### Patch Changes
115
127
 
116
- - [`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.
128
+ - [#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.
117
129
 
118
130
  ## 12.6.0
119
131
 
120
132
  ### Minor Changes
121
133
 
122
- - [`6e51e0d5358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e51e0d5358) - [ux] update border width from 2px to 1px and add 1px box-shadow when focus or error
134
+ - [#33475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33475) [`6e51e0d5358`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6e51e0d5358) - [ux] update border width from 2px to 1px and add 1px box-shadow when focus or error
123
135
 
124
136
  ### Patch Changes
125
137
 
@@ -129,25 +141,25 @@
129
141
 
130
142
  ### Patch Changes
131
143
 
132
- - [`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.
144
+ - [#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.
133
145
 
134
146
  ## 12.5.2
135
147
 
136
148
  ### Patch Changes
137
149
 
138
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
150
+ - [#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
139
151
 
140
152
  ## 12.5.1
141
153
 
142
154
  ### Patch Changes
143
155
 
144
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
156
+ - [#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`
145
157
 
146
158
  ## 12.5.0
147
159
 
148
160
  ### Minor Changes
149
161
 
150
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
162
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
151
163
 
152
164
  ### Patch Changes
153
165
 
@@ -157,38 +169,38 @@
157
169
 
158
170
  ### Minor Changes
159
171
 
160
- - [`e976f3cebd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e976f3cebd0) - Remove excessive `aria-labelledby` prop, remove incorret documentation.
172
+ - [#33163](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33163) [`e976f3cebd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e976f3cebd0) - Remove excessive `aria-labelledby` prop, remove incorret documentation.
161
173
 
162
174
  ## 12.3.13
163
175
 
164
176
  ### Patch Changes
165
177
 
166
- - [`c71b0ac8222`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c71b0ac8222) - [ux] Add default label to time picker element of datetime picker. Update documentation for more accessible examples and guidelines.
178
+ - [#32350](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32350) [`c71b0ac8222`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c71b0ac8222) - [ux] Add default label to time picker element of datetime picker. Update documentation for more accessible examples and guidelines.
167
179
 
168
180
  ## 12.3.12
169
181
 
170
182
  ### Patch Changes
171
183
 
172
- - [`e754545d460`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e754545d460) - [ux] Ensure no duplicate ID's when using `selectProps` on any of the DateTime Picker components.
184
+ - [#32424](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/32424) [`e754545d460`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e754545d460) - [ux] Ensure no duplicate ID's when using `selectProps` on any of the DateTime Picker components.
173
185
 
174
186
  ## 12.3.11
175
187
 
176
188
  ### Patch Changes
177
189
 
178
- - [`b50c6475079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b50c6475079) - Make clear button in datetime picker a button element that is out of the tab order. This mimics the native input element's clear behavior in Safari/Edge.
190
+ - [#31891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/31891) [`b50c6475079`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b50c6475079) - Make clear button in datetime picker a button element that is out of the tab order. This mimics the native input element's clear behavior in Safari/Edge.
179
191
  - [`c0fb88b3af6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0fb88b3af6) - [ux] style(calendar): update icon color token from text.subtlest to color.icon
180
192
 
181
193
  ## 12.3.10
182
194
 
183
195
  ### Patch Changes
184
196
 
185
- - [`1fc7949b336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fc7949b336) - [ux] Fixes a bug where the background for the calendar element was incorrectly set to 'elevation.surface'
197
+ - [#30882](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/30882) [`1fc7949b336`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1fc7949b336) - [ux] Fixes a bug where the background for the calendar element was incorrectly set to 'elevation.surface'
186
198
 
187
199
  ## 12.3.9
188
200
 
189
201
  ### Patch Changes
190
202
 
191
- - [`5546747df1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5546747df1e) - Refactoring of code to clean tech debt and make future maintenance easier
203
+ - [#29470](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/29470) [`5546747df1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5546747df1e) - Refactoring of code to clean tech debt and make future maintenance easier
192
204
  - Updated dependencies
193
205
 
194
206
  ## 12.3.8
@@ -201,7 +213,7 @@
201
213
 
202
214
  ### Patch Changes
203
215
 
204
- - [`98891267a5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98891267a5e) - [ux] Dates entered with 5+ digit years will no longer throw a RangeError
216
+ - [#28932](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/28932) [`98891267a5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98891267a5e) - [ux] Dates entered with 5+ digit years will no longer throw a RangeError
205
217
 
206
218
  ## 12.3.6
207
219
 
@@ -225,7 +237,7 @@
225
237
 
226
238
  ### Patch Changes
227
239
 
228
- - [`cb8f8e76d25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb8f8e76d25) - Update types for react-select and @atlaskit/select upgrade
240
+ - [#26712](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/26712) [`cb8f8e76d25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb8f8e76d25) - Update types for react-select and @atlaskit/select upgrade
229
241
  Update commerce-ui entrypoints that caused a pipeline issue.
230
242
  - Updated dependencies
231
243
 
@@ -239,25 +251,25 @@
239
251
 
240
252
  ### Patch Changes
241
253
 
242
- - [`051095c0d82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/051095c0d82) - [ux] Changed the Date Picker controller icon to use `color.icon.disabled` token when in disabled state.
254
+ - [#27289](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/27289) [`051095c0d82`](https://bitbucket.org/atlassian/atlassian-frontend/commits/051095c0d82) - [ux] Changed the Date Picker controller icon to use `color.icon.disabled` token when in disabled state.
243
255
 
244
256
  ## 12.3.0
245
257
 
246
258
  ### Minor Changes
247
259
 
248
- - [`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.
260
+ - [#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.
249
261
 
250
262
  ## 12.2.1
251
263
 
252
264
  ### Patch Changes
253
265
 
254
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
266
+ - [#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`
255
267
 
256
268
  ## 12.2.0
257
269
 
258
270
  ### Minor Changes
259
271
 
260
- - [`a91fbaf0552`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a91fbaf0552) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
272
+ - [#24004](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24004) [`a91fbaf0552`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a91fbaf0552) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
261
273
 
262
274
  ### Patch Changes
263
275
 
@@ -271,20 +283,20 @@
271
283
 
272
284
  ### Patch Changes
273
285
 
274
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
286
+ - [#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`.
275
287
 
276
288
  ## 12.1.3
277
289
 
278
290
  ### Patch Changes
279
291
 
280
- - [`299e4104e10`](https://bitbucket.org/atlassian/atlassian-frontend/commits/299e4104e10) - [ux] Added appearance 'none' option to component and adopts appearance handling from @atlaskit/select
292
+ - [#24008](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/24008) [`299e4104e10`](https://bitbucket.org/atlassian/atlassian-frontend/commits/299e4104e10) - [ux] Added appearance 'none' option to component and adopts appearance handling from @atlaskit/select
281
293
  - Updated dependencies
282
294
 
283
295
  ## 12.1.2
284
296
 
285
297
  ### Patch Changes
286
298
 
287
- - [`df3d5287649`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df3d5287649) - Internal code change turning on new linting rules.
299
+ - [#23381](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23381) [`df3d5287649`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df3d5287649) - Internal code change turning on new linting rules.
288
300
  - [`429a576a4b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/429a576a4b2) - fix change-event firing for invalid inputs in datetime-picker select.
289
301
  - [`84afee665fc`](https://bitbucket.org/atlassian/atlassian-frontend/commits/84afee665fc) - [ux] Implemented missing functionality to submit forms on enter press after a date has been selected in DatePicker
290
302
  - [`2a2dcc1cf91`](https://bitbucket.org/atlassian/atlassian-frontend/commits/2a2dcc1cf91) - Updated styles to use new input design tokens. Fixed bug where border radius on datePicker rendered incorrectly.
@@ -294,13 +306,13 @@
294
306
 
295
307
  ### Patch Changes
296
308
 
297
- - [`3fa327b5d01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fa327b5d01) - [ux] Border on a subtle appearance date-picker will now persist after a date is selected and field is in focus
309
+ - [#23350](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/23350) [`3fa327b5d01`](https://bitbucket.org/atlassian/atlassian-frontend/commits/3fa327b5d01) - [ux] Border on a subtle appearance date-picker will now persist after a date is selected and field is in focus
298
310
 
299
311
  ## 12.1.0
300
312
 
301
313
  ### Minor Changes
302
314
 
303
- - [`58d4cd75f7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58d4cd75f7a) - Removed deprecated hideIcon prop from DateTimePicker because it is unused and serves no functionality.
315
+ - [#22642](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22642) [`58d4cd75f7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58d4cd75f7a) - Removed deprecated hideIcon prop from DateTimePicker because it is unused and serves no functionality.
304
316
  Removed the deprecation notice for the formatDisplayLabel prop in TimePicker
305
317
 
306
318
  ### Patch Changes
@@ -315,7 +327,7 @@
315
327
 
316
328
  ### Major Changes
317
329
 
318
- - [`27d4f1e7121`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27d4f1e7121) - [ux] Updating tokens
330
+ - [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`27d4f1e7121`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27d4f1e7121) - [ux] Updating tokens
319
331
  - [`d7542d1a7c2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d7542d1a7c2) - [ux] Update Tokens in the code with those that are a better fit. New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
320
332
  - [`c19fb116172`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c19fb116172) - [ux] Update Tokens in the code with those that are a better fit. New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
321
333
 
@@ -332,7 +344,7 @@
332
344
 
333
345
  ### Patch Changes
334
346
 
335
- - [`558cc136503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/558cc136503) - Bump moment dependency version
347
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`558cc136503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/558cc136503) - Bump moment dependency version
336
348
  - [`e7438659c2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7438659c2e) - Updated dependency '@types/react-select' to fix type error
337
349
  - Updated dependencies
338
350
 
@@ -346,7 +358,7 @@
346
358
 
347
359
  ### Patch Changes
348
360
 
349
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
361
+ - [#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
350
362
 
351
363
  ## 11.1.8
352
364
 
@@ -370,7 +382,7 @@
370
382
 
371
383
  ### Patch Changes
372
384
 
373
- - [`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
385
+ - [#16752](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/16752) [`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
374
386
  - [`19d72473dfb`](https://bitbucket.org/atlassian/atlassian-frontend/commits/19d72473dfb) - Fix bug in inline-edit and Form which prevented date selection in datetimepicker using the keyboard.
375
387
  - Updated dependencies
376
388
 
@@ -384,26 +396,26 @@
384
396
 
385
397
  ### Patch Changes
386
398
 
387
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
399
+ - [#17475](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/17475) [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
388
400
 
389
401
  ## 11.1.2
390
402
 
391
403
  ### Patch Changes
392
404
 
393
- - [`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.
405
+ - [#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.
394
406
  - Updated dependencies
395
407
 
396
408
  ## 11.1.1
397
409
 
398
410
  ### Patch Changes
399
411
 
400
- - [`095021b1e08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/095021b1e08) - renaming deprecated lifecycle methods
412
+ - [#15807](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15807) [`095021b1e08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/095021b1e08) - renaming deprecated lifecycle methods
401
413
 
402
414
  ## 11.1.0
403
415
 
404
416
  ### Minor Changes
405
417
 
406
- - [`354ef86cca0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354ef86cca0) - Instrumented datetime-picker with the new theming package, `@atlaskit/tokens`.
418
+ - [#14777](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/14777) [`354ef86cca0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354ef86cca0) - Instrumented datetime-picker with the new theming package, `@atlaskit/tokens`.
407
419
 
408
420
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
409
421
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -423,14 +435,14 @@
423
435
 
424
436
  ### Patch Changes
425
437
 
426
- - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
438
+ - [#13864](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/13864) [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
427
439
  - Updated dependencies
428
440
 
429
441
  ## 11.0.0
430
442
 
431
443
  ### Major Changes
432
444
 
433
- - [`414b6216adf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/414b6216adf) - [ux] BREAKING CHANGE: Datetime picker now uses date-fns@2.17 (previously <2.0). This change has tightened the requirements of users to provide ISO dates. This was never explicitly supported, but now will cause an error to be thrown for non-ISO dates. For an abundance of caution we're calling this a breaking change to protect users relying on the previous behaviour.
445
+ - [#9328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9328) [`414b6216adf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/414b6216adf) - [ux] BREAKING CHANGE: Datetime picker now uses date-fns@2.17 (previously <2.0). This change has tightened the requirements of users to provide ISO dates. This was never explicitly supported, but now will cause an error to be thrown for non-ISO dates. For an abundance of caution we're calling this a breaking change to protect users relying on the previous behaviour.
434
446
 
435
447
  To upgrade you'll need to ensure any dates passed to the `DateTimePicker` are in ISO format.
436
448
 
@@ -438,19 +450,19 @@
438
450
 
439
451
  ### Patch Changes
440
452
 
441
- - [`787c731b208`](https://bitbucket.org/atlassian/atlassian-frontend/commits/787c731b208) - Updated package description.
453
+ - [#12830](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12830) [`787c731b208`](https://bitbucket.org/atlassian/atlassian-frontend/commits/787c731b208) - Updated package description.
442
454
 
443
455
  ## 10.4.1
444
456
 
445
457
  ### Patch Changes
446
458
 
447
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
459
+ - [#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`.
448
460
 
449
461
  ## 10.4.0
450
462
 
451
463
  ### Minor Changes
452
464
 
453
- - [`b162da59aac`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b162da59aac) -
465
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`b162da59aac`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b162da59aac) -
454
466
 
455
467
  #### New Features:
456
468
 
@@ -474,7 +486,7 @@
474
486
 
475
487
  ### Minor Changes
476
488
 
477
- - [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
489
+ - [#12170](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12170) [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
478
490
 
479
491
  ### Patch Changes
480
492
 
@@ -484,14 +496,14 @@
484
496
 
485
497
  ### Patch Changes
486
498
 
487
- - [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4.
499
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4.
488
500
  - Updated dependencies
489
501
 
490
502
  ## 10.2.0
491
503
 
492
504
  ### Minor Changes
493
505
 
494
- - [`1ad2a658d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ad2a658d5d) - [ux] Added `weekStartDay` prop which gets passed to the underlying `Calendar` instance.
506
+ - [#10230](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/10230) [`1ad2a658d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ad2a658d5d) - [ux] Added `weekStartDay` prop which gets passed to the underlying `Calendar` instance.
495
507
 
496
508
  ### Patch Changes
497
509
 
@@ -501,7 +513,7 @@
501
513
 
502
514
  ### Minor Changes
503
515
 
504
- - [`069538e03c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069538e03c6) - Prefixes the testId passed down to the nested Calendar component with '\${testId}--calendar' to ensure testIds are namespaced correctly. This change only affects calendar testIds when used within a DatePicker context.
516
+ - [#9510](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9510) [`069538e03c6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/069538e03c6) - Prefixes the testId passed down to the nested Calendar component with '\${testId}--calendar' to ensure testIds are namespaced correctly. This change only affects calendar testIds when used within a DatePicker context.
505
517
 
506
518
  ## 10.0.12
507
519
 
@@ -513,7 +525,7 @@
513
525
 
514
526
  ### Patch Changes
515
527
 
516
- - [`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) - Downgrade back to date-fns 1.30.1
528
+ - [#9299](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/9299) [`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) - Downgrade back to date-fns 1.30.1
517
529
  We discovered big bundle size increases associated with the date-fns upgrade.
518
530
  We're reverting the upgarde to investigate
519
531
 
@@ -521,13 +533,13 @@
521
533
 
522
534
  ### Patch Changes
523
535
 
524
- - [`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade date-fns to 2.17
536
+ - [#8291](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/8291) [`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade date-fns to 2.17
525
537
 
526
538
  ## 10.0.9
527
539
 
528
540
  ### Patch Changes
529
541
 
530
- - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
542
+ - [#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.
531
543
  - [`c20be966f07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c20be966f07) - **Internal change**
532
544
 
533
545
  - Change `@atlaskit/calendar` ref type import name from `CalendarInternalRef` to `CalendarRef`.
@@ -539,7 +551,7 @@
539
551
 
540
552
  ### Patch Changes
541
553
 
542
- - [`9c020a0e05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c020a0e05f) - Replaced `@atlaskit/calendar` exported types to access its `navigate()` api
554
+ - [#7762](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/7762) [`9c020a0e05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c020a0e05f) - Replaced `@atlaskit/calendar` exported types to access its `navigate()` api
543
555
 
544
556
  - Replaced `CalendarClassType` & `ArrowKeys` types with `CalendarInternalRef` type.
545
557
  - Also replaced `ref` prop with `internalRef` prop for accessing `navigate()` api.
@@ -550,13 +562,13 @@
550
562
 
551
563
  ### Patch Changes
552
564
 
553
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
565
+ - [#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
554
566
 
555
567
  ## 10.0.6
556
568
 
557
569
  ### Patch Changes
558
570
 
559
- - [`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.
571
+ - [#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.
560
572
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
561
573
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
562
574
 
@@ -570,13 +582,13 @@
570
582
 
571
583
  ### Patch Changes
572
584
 
573
- - [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
585
+ - [#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
574
586
 
575
587
  ## 10.0.3
576
588
 
577
589
  ### Patch Changes
578
590
 
579
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
591
+ - [#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
580
592
 
581
593
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
582
594
  to prevent duplicates of tslib being bundled.
@@ -585,7 +597,7 @@
585
597
 
586
598
  ### Patch Changes
587
599
 
588
- - [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
600
+ - [#3823](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3823) [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
589
601
  - [`39e130698b`](https://bitbucket.org/atlassian/atlassian-frontend/commits/39e130698b) - Fixes an issue in DatePicker, DateTimePicker and TimePicker where they all had a circular dependency between a type declaration and default props which led to TypeScript marking props with default values as required props. This will no longer occur.
590
602
  - Updated dependencies
591
603
 
@@ -593,14 +605,14 @@
593
605
 
594
606
  ### Patch Changes
595
607
 
596
- - [`23f968def3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23f968def3) - Earlier value returned from DateTimePicker component was inconsistent, like for the first time it was without zone offset and after that with zone offset. Now it is consistent with zone offset every-time.
608
+ - [#3428](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/3428) [`23f968def3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/23f968def3) - Earlier value returned from DateTimePicker component was inconsistent, like for the first time it was without zone offset and after that with zone offset. Now it is consistent with zone offset every-time.
597
609
  - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
598
610
 
599
611
  ## 10.0.0
600
612
 
601
613
  ### Major Changes
602
614
 
603
- - [`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.
615
+ - [#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.
604
616
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
605
617
 
606
618
  ### Patch Changes
@@ -611,32 +623,32 @@
611
623
 
612
624
  ### Patch Changes
613
625
 
614
- - [`038b0fbb8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/038b0fbb8e) - fix typings after reverting DST-461 changes. typeof is fixed in ERT repo (https://github.com/atlassian/extract-react-types/pull/126)
626
+ - [#2763](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2763) [`038b0fbb8e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/038b0fbb8e) - fix typings after reverting DST-461 changes. typeof is fixed in ERT repo (https://github.com/atlassian/extract-react-types/pull/126)
615
627
 
616
628
  ## 9.4.6
617
629
 
618
630
  ### Patch Changes
619
631
 
620
- - [`a39ef6582c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a39ef6582c) - Marks default pops as optional in interface (TimePicker & DatePicker)
632
+ - [#2443](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2443) [`a39ef6582c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a39ef6582c) - Marks default pops as optional in interface (TimePicker & DatePicker)
621
633
 
622
634
  ## 9.4.5
623
635
 
624
636
  ### Patch Changes
625
637
 
626
- - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
638
+ - [#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
627
639
 
628
640
  ## 9.4.4
629
641
 
630
642
  ### Patch Changes
631
643
 
632
- - [`466aec241f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/466aec241f) - Fixing incorrect margin for time-picker
644
+ - [#2137](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2137) [`466aec241f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/466aec241f) - Fixing incorrect margin for time-picker
633
645
  - [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
634
646
 
635
647
  ## 9.4.3
636
648
 
637
649
  ### Patch Changes
638
650
 
639
- - [`ccd9c51bd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccd9c51bd3) - Fixes date picker being affected by an invalid emotion theme provider.
651
+ - [#2490](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/2490) [`ccd9c51bd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccd9c51bd3) - Fixes date picker being affected by an invalid emotion theme provider.
640
652
 
641
653
  ## 9.4.2
642
654
 
@@ -648,7 +660,7 @@
648
660
 
649
661
  ### Patch Changes
650
662
 
651
- - [`d2876ee14f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2876ee14f) - FIX: Add `hideIcon` prop back for backwards compatibility in MINOR
663
+ - [#1891](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/1891) [`d2876ee14f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2876ee14f) - FIX: Add `hideIcon` prop back for backwards compatibility in MINOR
652
664
 
653
665
  ## 9.4.0
654
666
 
@@ -22,6 +22,7 @@ var _pick = _interopRequireDefault(require("lodash/pick"));
22
22
  var _analyticsNext = require("@atlaskit/analytics-next");
23
23
  var _calendar = _interopRequireDefault(require("@atlaskit/calendar"));
24
24
  var _calendar2 = _interopRequireDefault(require("@atlaskit/icon/glyph/calendar"));
25
+ var _layering = require("@atlaskit/layering");
25
26
  var _locale = require("@atlaskit/locale");
26
27
  var _platformFeatureFlags = require("@atlaskit/platform-feature-flags");
27
28
  var _select = _interopRequireWildcard(require("@atlaskit/select"));
@@ -38,7 +39,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
38
39
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
39
40
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } } /** @jsx jsx */
40
41
  var packageName = "@atlaskit/datetime-picker";
41
- var packageVersion = "12.10.0";
42
+ var packageVersion = "12.10.2";
42
43
  function getValidDate(iso) {
43
44
  var date = (0, _dateFns.parseISO)(iso);
44
45
  return (0, _dateFns.isValid)(date) ? {
@@ -60,7 +61,7 @@ var menuStyles = (0, _react2.css)({
60
61
  var Menu = function Menu(_ref) {
61
62
  var selectProps = _ref.selectProps,
62
63
  innerProps = _ref.innerProps;
63
- return (0, _react2.jsx)(_fixedLayer.default, {
64
+ return (0, _react2.jsx)(_layering.UNSAFE_LAYERING, null, (0, _react2.jsx)(_fixedLayer.default, {
64
65
  inputValue: selectProps.inputValue,
65
66
  containerRef: selectProps.calendarContainerRef,
66
67
  content: (0, _react2.jsx)("div", (0, _extends2.default)({
@@ -81,7 +82,7 @@ var Menu = function Menu(_ref) {
81
82
  weekStartDay: selectProps.calendarWeekStartDay
82
83
  }))),
83
84
  testId: selectProps.testId
84
- });
85
+ }));
85
86
  };
86
87
  var datePickerDefaultProps = {
87
88
  appearance: 'default',
@@ -31,7 +31,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
31
31
  function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
32
32
  function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { (0, _defineProperty2.default)(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; } /** @jsx jsx */
33
33
  var packageName = "@atlaskit/datetime-picker";
34
- var packageVersion = "12.10.0";
34
+ var packageVersion = "12.10.2";
35
35
  var isInvalidBorderStyles = (0, _react2.css)({
36
36
  borderColor: "var(--ds-border-danger, ".concat(_colors.R400, ")")
37
37
  });
@@ -37,7 +37,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
37
37
  function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflectConstruct(); return function _createSuperInternal() { var Super = (0, _getPrototypeOf2.default)(Derived), result; if (hasNativeReflectConstruct) { var NewTarget = (0, _getPrototypeOf2.default)(this).constructor; result = Reflect.construct(Super, arguments, NewTarget); } else { result = Super.apply(this, arguments); } return (0, _possibleConstructorReturn2.default)(this, result); }; }
38
38
  function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Reflect.construct) return false; if (Reflect.construct.sham) return false; if (typeof Proxy === "function") return true; try { Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); return true; } catch (e) { return false; } }
39
39
  var packageName = "@atlaskit/datetime-picker";
40
- var packageVersion = "12.10.0";
40
+ var packageVersion = "12.10.2";
41
41
  var menuStyles = {
42
42
  /* Need to remove default absolute positioning as that causes issues with position fixed */
43
43
  position: 'static',
@@ -8,6 +8,7 @@ import pick from 'lodash/pick';
8
8
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
9
9
  import Calendar from '@atlaskit/calendar';
10
10
  import CalendarIcon from '@atlaskit/icon/glyph/calendar';
11
+ import { UNSAFE_LAYERING } from '@atlaskit/layering';
11
12
  import { createLocalizationProvider } from '@atlaskit/locale';
12
13
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
13
14
  import Select, { mergeStyles } from '@atlaskit/select';
@@ -18,7 +19,7 @@ import FixedLayer from '../internal/fixed-layer';
18
19
  import { makeSingleValue } from '../internal/single-value';
19
20
  import { convertTokens } from './utils';
20
21
  const packageName = "@atlaskit/datetime-picker";
21
- const packageVersion = "12.10.0";
22
+ const packageVersion = "12.10.2";
22
23
  function getValidDate(iso) {
23
24
  const date = parseISO(iso);
24
25
  return isValid(date) ? {
@@ -40,7 +41,7 @@ const menuStyles = css({
40
41
  const Menu = ({
41
42
  selectProps,
42
43
  innerProps
43
- }) => jsx(FixedLayer, {
44
+ }) => jsx(UNSAFE_LAYERING, null, jsx(FixedLayer, {
44
45
  inputValue: selectProps.inputValue,
45
46
  containerRef: selectProps.calendarContainerRef,
46
47
  content: jsx("div", _extends({
@@ -61,7 +62,7 @@ const Menu = ({
61
62
  weekStartDay: selectProps.calendarWeekStartDay
62
63
  }))),
63
64
  testId: selectProps.testId
64
- });
65
+ }));
65
66
  const datePickerDefaultProps = {
66
67
  appearance: 'default',
67
68
  autoFocus: false,
@@ -15,7 +15,7 @@ import DatePicker from './date-picker';
15
15
  import TimePicker from './time-picker';
16
16
  import { convertTokens } from './utils';
17
17
  const packageName = "@atlaskit/datetime-picker";
18
- const packageVersion = "12.10.0";
18
+ const packageVersion = "12.10.2";
19
19
  const isInvalidBorderStyles = css({
20
20
  borderColor: `var(--ds-border-danger, ${R400})`
21
21
  });
@@ -16,7 +16,7 @@ import parseTime from '../internal/parse-time';
16
16
  import { makeSingleValue } from '../internal/single-value';
17
17
  import { convertTokens } from './utils';
18
18
  const packageName = "@atlaskit/datetime-picker";
19
- const packageVersion = "12.10.0";
19
+ const packageVersion = "12.10.2";
20
20
  const menuStyles = {
21
21
  /* Need to remove default absolute positioning as that causes issues with position fixed */
22
22
  position: 'static',
@@ -19,6 +19,7 @@ import pick from 'lodash/pick';
19
19
  import { createAndFireEvent, withAnalyticsContext, withAnalyticsEvents } from '@atlaskit/analytics-next';
20
20
  import Calendar from '@atlaskit/calendar';
21
21
  import CalendarIcon from '@atlaskit/icon/glyph/calendar';
22
+ import { UNSAFE_LAYERING } from '@atlaskit/layering';
22
23
  import { createLocalizationProvider } from '@atlaskit/locale';
23
24
  import { getBooleanFF } from '@atlaskit/platform-feature-flags';
24
25
  import Select, { mergeStyles } from '@atlaskit/select';
@@ -29,7 +30,7 @@ import FixedLayer from '../internal/fixed-layer';
29
30
  import { makeSingleValue } from '../internal/single-value';
30
31
  import { convertTokens } from './utils';
31
32
  var packageName = "@atlaskit/datetime-picker";
32
- var packageVersion = "12.10.0";
33
+ var packageVersion = "12.10.2";
33
34
  function getValidDate(iso) {
34
35
  var date = parseISO(iso);
35
36
  return isValid(date) ? {
@@ -51,7 +52,7 @@ var menuStyles = css({
51
52
  var Menu = function Menu(_ref) {
52
53
  var selectProps = _ref.selectProps,
53
54
  innerProps = _ref.innerProps;
54
- return jsx(FixedLayer, {
55
+ return jsx(UNSAFE_LAYERING, null, jsx(FixedLayer, {
55
56
  inputValue: selectProps.inputValue,
56
57
  containerRef: selectProps.calendarContainerRef,
57
58
  content: jsx("div", _extends({
@@ -72,7 +73,7 @@ var Menu = function Menu(_ref) {
72
73
  weekStartDay: selectProps.calendarWeekStartDay
73
74
  }))),
74
75
  testId: selectProps.testId
75
- });
76
+ }));
76
77
  };
77
78
  var datePickerDefaultProps = {
78
79
  appearance: 'default',
@@ -25,7 +25,7 @@ import DatePicker from './date-picker';
25
25
  import TimePicker from './time-picker';
26
26
  import { convertTokens } from './utils';
27
27
  var packageName = "@atlaskit/datetime-picker";
28
- var packageVersion = "12.10.0";
28
+ var packageVersion = "12.10.2";
29
29
  var isInvalidBorderStyles = css({
30
30
  borderColor: "var(--ds-border-danger, ".concat(R400, ")")
31
31
  });
@@ -29,7 +29,7 @@ import parseTime from '../internal/parse-time';
29
29
  import { makeSingleValue } from '../internal/single-value';
30
30
  import { convertTokens } from './utils';
31
31
  var packageName = "@atlaskit/datetime-picker";
32
- var packageVersion = "12.10.0";
32
+ var packageVersion = "12.10.2";
33
33
  var menuStyles = {
34
34
  /* Need to remove default absolute positioning as that causes issues with position fixed */
35
35
  position: 'static',
@@ -88,7 +88,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps {
88
88
  */
89
89
  onFocus?: React.FocusEventHandler<HTMLInputElement>;
90
90
  /**
91
- * A function for parsing input characters and transforming them into a Date object. By default parses the date string based off the locale.
91
+ * A function for parsing input characters and transforming them into a Date object.
92
+ * By default parses the date string based off the locale.
92
93
  */
93
94
  parseInputValue?: (date: string, dateFormat: string) => Date;
94
95
  /**
@@ -58,6 +58,10 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps {
58
58
  * Called when the field is focused.
59
59
  */
60
60
  onFocus?: React.FocusEventHandler<HTMLElement>;
61
+ /**
62
+ * A function for parsing input characters and transforming them into either a string or a Date object.
63
+ * By default parses the string based off the locale.
64
+ */
61
65
  parseInputValue?: (time: string, timeFormat: string) => string | Date;
62
66
  /**
63
67
  * Props to apply to the select.
@@ -88,7 +88,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps {
88
88
  */
89
89
  onFocus?: React.FocusEventHandler<HTMLInputElement>;
90
90
  /**
91
- * A function for parsing input characters and transforming them into a Date object. By default parses the date string based off the locale.
91
+ * A function for parsing input characters and transforming them into a Date object.
92
+ * By default parses the date string based off the locale.
92
93
  */
93
94
  parseInputValue?: (date: string, dateFormat: string) => Date;
94
95
  /**
@@ -58,6 +58,10 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps {
58
58
  * Called when the field is focused.
59
59
  */
60
60
  onFocus?: React.FocusEventHandler<HTMLElement>;
61
+ /**
62
+ * A function for parsing input characters and transforming them into either a string or a Date object.
63
+ * By default parses the string based off the locale.
64
+ */
61
65
  parseInputValue?: (time: string, timeFormat: string) => string | Date;
62
66
  /**
63
67
  * Props to apply to the select.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@atlaskit/datetime-picker",
3
- "version": "12.10.0",
3
+ "version": "12.10.2",
4
4
  "description": "A date time picker allows the user to select an associated date and time.",
5
5
  "publishConfig": {
6
6
  "registry": "https://registry.npmjs.org/"
@@ -36,12 +36,13 @@
36
36
  "@atlaskit/calendar": "^13.3.0",
37
37
  "@atlaskit/ds-lib": "^2.2.0",
38
38
  "@atlaskit/icon": "^21.12.0",
39
+ "@atlaskit/layering": "^0.2.0",
39
40
  "@atlaskit/locale": "^2.5.0",
40
41
  "@atlaskit/platform-feature-flags": "^0.2.0",
41
42
  "@atlaskit/popper": "^5.5.0",
42
- "@atlaskit/select": "^16.5.0",
43
+ "@atlaskit/select": "^16.7.0",
43
44
  "@atlaskit/theme": "^12.6.0",
44
- "@atlaskit/tokens": "^1.22.0",
45
+ "@atlaskit/tokens": "^1.25.0",
45
46
  "@babel/runtime": "^7.0.0",
46
47
  "@emotion/react": "^11.7.1",
47
48
  "date-fns": "^2.17.0",
@@ -56,8 +57,8 @@
56
57
  "@atlaskit/button": "^16.10.0",
57
58
  "@atlaskit/docs": "*",
58
59
  "@atlaskit/form": "^8.11.0",
59
- "@atlaskit/modal-dialog": "^12.6.0",
60
- "@atlaskit/popup": "^1.9.0",
60
+ "@atlaskit/modal-dialog": "^12.7.0",
61
+ "@atlaskit/popup": "^1.10.0",
61
62
  "@atlaskit/range": "^7.1.0",
62
63
  "@atlaskit/section-message": "^6.4.0",
63
64
  "@atlaskit/ssr": "*",
package/report.api.md CHANGED
@@ -497,7 +497,6 @@ export interface TimePickerProps extends WithAnalyticsEventsProps {
497
497
  onBlur?: React_2.FocusEventHandler<HTMLElement>;
498
498
  onChange?: (value: string) => void;
499
499
  onFocus?: React_2.FocusEventHandler<HTMLElement>;
500
- // (undocumented)
501
500
  parseInputValue?: (time: string, timeFormat: string) => Date | string;
502
501
  placeholder?: string;
503
502
  selectProps?: SelectProps<any>;
@@ -251,7 +251,6 @@ export interface TimePickerProps extends WithAnalyticsEventsProps {
251
251
  onBlur?: React_2.FocusEventHandler<HTMLElement>;
252
252
  onChange?: (value: string) => void;
253
253
  onFocus?: React_2.FocusEventHandler<HTMLElement>;
254
- // (undocumented)
255
254
  parseInputValue?: (time: string, timeFormat: string) => Date | string;
256
255
  placeholder?: string;
257
256
  selectProps?: SelectProps<any>;