@atlaskit/datetime-picker 12.10.1 → 12.10.3

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,95 +1,107 @@
1
1
  # @atlaskit/datetime-picker
2
2
 
3
+ ## 12.10.3
4
+
5
+ ### Patch Changes
6
+
7
+ - [#41628](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/41628) [`b05664f7aba`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b05664f7aba) - Use feature flag to toggle if we enable UNSAFE_LAYERING
8
+
9
+ ## 12.10.2
10
+
11
+ ### Patch Changes
12
+
13
+ - [#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
14
+
3
15
  ## 12.10.1
4
16
 
5
17
  ### Patch Changes
6
18
 
7
- - [`ccff5f6ec7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccff5f6ec7a) - Integrate layering into calendar
19
+ - [#40400](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/40400) [`ccff5f6ec7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccff5f6ec7a) - Integrate layering into calendar
8
20
 
9
21
  ## 12.10.0
10
22
 
11
23
  ### Minor Changes
12
24
 
13
- - [`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.
25
+ - [#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.
14
26
 
15
27
  ## 12.9.0
16
28
 
17
29
  ### Minor Changes
18
30
 
19
- - [`4afff68f652`](https://bitbucket.org/atlassian/atlassian-frontend/commits/4afff68f652) - Make typing more complete and accurate for date picker.
31
+ - [#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.
20
32
 
21
33
  ## 12.8.2
22
34
 
23
35
  ### Patch Changes
24
36
 
25
- - [`829d92bcf37`](https://bitbucket.org/atlassian/atlassian-frontend/commits/829d92bcf37) - Remove out of date lifecycle methods in favor of up to date methods.
37
+ - [#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.
26
38
 
27
39
  ## 12.8.1
28
40
 
29
41
  ### Patch Changes
30
42
 
31
- - [`ae2b28c599a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae2b28c599a) - Remove unused state value.
43
+ - [#39448](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/39448) [`ae2b28c599a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ae2b28c599a) - Remove unused state value.
32
44
 
33
45
  ## 12.8.0
34
46
 
35
47
  ### Minor Changes
36
48
 
37
- - [`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.
49
+ - [#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.
38
50
 
39
51
  ## 12.7.12
40
52
 
41
53
  ### Patch Changes
42
54
 
43
- - [`5fae4d61ff7`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5fae4d61ff7) - Move event handlers to time picker input
55
+ - [#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
44
56
 
45
57
  ## 12.7.11
46
58
 
47
59
  ### Patch Changes
48
60
 
49
- - [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
61
+ - [#38162](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/38162) [`fd6bb9c9184`](https://bitbucket.org/atlassian/atlassian-frontend/commits/fd6bb9c9184) - Delete version.json
50
62
  - Updated dependencies
51
63
 
52
64
  ## 12.7.10
53
65
 
54
66
  ### Patch Changes
55
67
 
56
- - [`e211efc7c5f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e211efc7c5f) - [ux] Add `lang` attribute to value of pickers.
68
+ - [#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.
57
69
 
58
70
  ## 12.7.9
59
71
 
60
72
  ### Patch Changes
61
73
 
62
- - [`6f1daf0e449`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6f1daf0e449) - Prevent calander from overlaying input when at the bottom of viewport
74
+ - [#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
63
75
 
64
76
  ## 12.7.8
65
77
 
66
78
  ### Patch Changes
67
79
 
68
- - [`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.
80
+ - [#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.
69
81
 
70
82
  ## 12.7.7
71
83
 
72
84
  ### Patch Changes
73
85
 
74
- - [`ba50169844e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ba50169844e) - Remove lookahead and lookbehind in format util to support browsers without that functionality.
86
+ - [#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.
75
87
 
76
88
  ## 12.7.6
77
89
 
78
90
  ### Patch Changes
79
91
 
80
- - [`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
92
+ - [#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
81
93
 
82
94
  ## 12.7.5
83
95
 
84
96
  ### Patch Changes
85
97
 
86
- - [`22363f962e5`](https://bitbucket.org/atlassian/atlassian-frontend/commits/22363f962e5) - update border width to use border spacing token
98
+ - [#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
87
99
 
88
100
  ## 12.7.4
89
101
 
90
102
  ### Patch Changes
91
103
 
92
- - [`599bfe90ee3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/599bfe90ee3) - Internal change to use shape tokens. There is no expected visual change.
104
+ - [#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.
93
105
 
94
106
  ## 12.7.3
95
107
 
@@ -101,31 +113,31 @@
101
113
 
102
114
  ### Patch Changes
103
115
 
104
- - [`8f436f0c301`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8f436f0c301) - extend border contrast feature flag to support confluence
116
+ - [#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
105
117
 
106
118
  ## 12.7.1
107
119
 
108
120
  ### Patch Changes
109
121
 
110
- - [`774ed69ecef`](https://bitbucket.org/atlassian/atlassian-frontend/commits/774ed69ecef) - Internal changes to use space tokens for spacing values. There is no visual change.
122
+ - [#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.
111
123
 
112
124
  ## 12.7.0
113
125
 
114
126
  ### Minor Changes
115
127
 
116
- - [`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.
128
+ - [#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.
117
129
 
118
130
  ## 12.6.1
119
131
 
120
132
  ### Patch Changes
121
133
 
122
- - [`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.
134
+ - [#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.
123
135
 
124
136
  ## 12.6.0
125
137
 
126
138
  ### Minor Changes
127
139
 
128
- - [`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
140
+ - [#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
129
141
 
130
142
  ### Patch Changes
131
143
 
@@ -135,25 +147,25 @@
135
147
 
136
148
  ### Patch Changes
137
149
 
138
- - [`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.
150
+ - [#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.
139
151
 
140
152
  ## 12.5.2
141
153
 
142
154
  ### Patch Changes
143
155
 
144
- - [`9d00501a414`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9d00501a414) - Ensure legacy types are published for TS 4.5-4.8
156
+ - [#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
145
157
 
146
158
  ## 12.5.1
147
159
 
148
160
  ### Patch Changes
149
161
 
150
- - [`41fae2c6f68`](https://bitbucket.org/atlassian/atlassian-frontend/commits/41fae2c6f68) - Upgrade Typescript from `4.5.5` to `4.9.5`
162
+ - [#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`
151
163
 
152
164
  ## 12.5.0
153
165
 
154
166
  ### Minor Changes
155
167
 
156
- - [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
168
+ - [#33258](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/33258) [`56507598609`](https://bitbucket.org/atlassian/atlassian-frontend/commits/56507598609) - Skip minor dependency bump
157
169
 
158
170
  ### Patch Changes
159
171
 
@@ -163,38 +175,38 @@
163
175
 
164
176
  ### Minor Changes
165
177
 
166
- - [`e976f3cebd0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e976f3cebd0) - Remove excessive `aria-labelledby` prop, remove incorret documentation.
178
+ - [#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.
167
179
 
168
180
  ## 12.3.13
169
181
 
170
182
  ### Patch Changes
171
183
 
172
- - [`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.
184
+ - [#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.
173
185
 
174
186
  ## 12.3.12
175
187
 
176
188
  ### Patch Changes
177
189
 
178
- - [`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.
190
+ - [#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.
179
191
 
180
192
  ## 12.3.11
181
193
 
182
194
  ### Patch Changes
183
195
 
184
- - [`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.
196
+ - [#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.
185
197
  - [`c0fb88b3af6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c0fb88b3af6) - [ux] style(calendar): update icon color token from text.subtlest to color.icon
186
198
 
187
199
  ## 12.3.10
188
200
 
189
201
  ### Patch Changes
190
202
 
191
- - [`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'
203
+ - [#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'
192
204
 
193
205
  ## 12.3.9
194
206
 
195
207
  ### Patch Changes
196
208
 
197
- - [`5546747df1e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/5546747df1e) - Refactoring of code to clean tech debt and make future maintenance easier
209
+ - [#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
198
210
  - Updated dependencies
199
211
 
200
212
  ## 12.3.8
@@ -207,7 +219,7 @@
207
219
 
208
220
  ### Patch Changes
209
221
 
210
- - [`98891267a5e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/98891267a5e) - [ux] Dates entered with 5+ digit years will no longer throw a RangeError
222
+ - [#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
211
223
 
212
224
  ## 12.3.6
213
225
 
@@ -231,7 +243,7 @@
231
243
 
232
244
  ### Patch Changes
233
245
 
234
- - [`cb8f8e76d25`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb8f8e76d25) - Update types for react-select and @atlaskit/select upgrade
246
+ - [#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
235
247
  Update commerce-ui entrypoints that caused a pipeline issue.
236
248
  - Updated dependencies
237
249
 
@@ -245,25 +257,25 @@
245
257
 
246
258
  ### Patch Changes
247
259
 
248
- - [`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.
260
+ - [#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.
249
261
 
250
262
  ## 12.3.0
251
263
 
252
264
  ### Minor Changes
253
265
 
254
- - [`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.
266
+ - [#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.
255
267
 
256
268
  ## 12.2.1
257
269
 
258
270
  ### Patch Changes
259
271
 
260
- - [`8cc2f888c83`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8cc2f888c83) - Upgrade Typescript from `4.3.5` to `4.5.5`
272
+ - [#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`
261
273
 
262
274
  ## 12.2.0
263
275
 
264
276
  ### Minor Changes
265
277
 
266
- - [`a91fbaf0552`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a91fbaf0552) - Updates `@emotion/core` to `@emotion/react`; v10 to v11. There is no expected behavior change.
278
+ - [#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.
267
279
 
268
280
  ### Patch Changes
269
281
 
@@ -277,20 +289,20 @@
277
289
 
278
290
  ### Patch Changes
279
291
 
280
- - [`8d4228767b0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/8d4228767b0) - Upgrade Typescript from `4.2.4` to `4.3.5`.
292
+ - [#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`.
281
293
 
282
294
  ## 12.1.3
283
295
 
284
296
  ### Patch Changes
285
297
 
286
- - [`299e4104e10`](https://bitbucket.org/atlassian/atlassian-frontend/commits/299e4104e10) - [ux] Added appearance 'none' option to component and adopts appearance handling from @atlaskit/select
298
+ - [#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
287
299
  - Updated dependencies
288
300
 
289
301
  ## 12.1.2
290
302
 
291
303
  ### Patch Changes
292
304
 
293
- - [`df3d5287649`](https://bitbucket.org/atlassian/atlassian-frontend/commits/df3d5287649) - Internal code change turning on new linting rules.
305
+ - [#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.
294
306
  - [`429a576a4b2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/429a576a4b2) - fix change-event firing for invalid inputs in datetime-picker select.
295
307
  - [`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
296
308
  - [`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.
@@ -300,13 +312,13 @@
300
312
 
301
313
  ### Patch Changes
302
314
 
303
- - [`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
315
+ - [#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
304
316
 
305
317
  ## 12.1.0
306
318
 
307
319
  ### Minor Changes
308
320
 
309
- - [`58d4cd75f7a`](https://bitbucket.org/atlassian/atlassian-frontend/commits/58d4cd75f7a) - Removed deprecated hideIcon prop from DateTimePicker because it is unused and serves no functionality.
321
+ - [#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.
310
322
  Removed the deprecation notice for the formatDisplayLabel prop in TimePicker
311
323
 
312
324
  ### Patch Changes
@@ -321,7 +333,7 @@
321
333
 
322
334
  ### Major Changes
323
335
 
324
- - [`27d4f1e7121`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27d4f1e7121) - [ux] Updating tokens
336
+ - [#22029](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/22029) [`27d4f1e7121`](https://bitbucket.org/atlassian/atlassian-frontend/commits/27d4f1e7121) - [ux] Updating tokens
325
337
  - [`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.
326
338
  - [`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.
327
339
 
@@ -338,7 +350,7 @@
338
350
 
339
351
  ### Patch Changes
340
352
 
341
- - [`558cc136503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/558cc136503) - Bump moment dependency version
353
+ - [#21570](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/21570) [`558cc136503`](https://bitbucket.org/atlassian/atlassian-frontend/commits/558cc136503) - Bump moment dependency version
342
354
  - [`e7438659c2e`](https://bitbucket.org/atlassian/atlassian-frontend/commits/e7438659c2e) - Updated dependency '@types/react-select' to fix type error
343
355
  - Updated dependencies
344
356
 
@@ -352,7 +364,7 @@
352
364
 
353
365
  ### Patch Changes
354
366
 
355
- - [`cb2392f6d33`](https://bitbucket.org/atlassian/atlassian-frontend/commits/cb2392f6d33) - Upgrade to TypeScript 4.2.4
367
+ - [#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
356
368
 
357
369
  ## 11.1.8
358
370
 
@@ -376,7 +388,7 @@
376
388
 
377
389
  ### Patch Changes
378
390
 
379
- - [`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
391
+ - [#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
380
392
  - [`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.
381
393
  - Updated dependencies
382
394
 
@@ -390,26 +402,26 @@
390
402
 
391
403
  ### Patch Changes
392
404
 
393
- - [`c55c736ecea`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c55c736ecea) - Patch VULN AFP-3486 AFP-3487 AFP-3488 AFP-3489
405
+ - [#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
394
406
 
395
407
  ## 11.1.2
396
408
 
397
409
  ### Patch Changes
398
410
 
399
- - [`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.
411
+ - [#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.
400
412
  - Updated dependencies
401
413
 
402
414
  ## 11.1.1
403
415
 
404
416
  ### Patch Changes
405
417
 
406
- - [`095021b1e08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/095021b1e08) - renaming deprecated lifecycle methods
418
+ - [#15807](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/15807) [`095021b1e08`](https://bitbucket.org/atlassian/atlassian-frontend/commits/095021b1e08) - renaming deprecated lifecycle methods
407
419
 
408
420
  ## 11.1.0
409
421
 
410
422
  ### Minor Changes
411
423
 
412
- - [`354ef86cca0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/354ef86cca0) - Instrumented datetime-picker with the new theming package, `@atlaskit/tokens`.
424
+ - [#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`.
413
425
 
414
426
  New tokens will be visible only in applications configured to use the new Tokens API (currently in alpha).
415
427
  These changes are intended to be interoperable with the legacy theme implementation. Legacy dark mode users should expect no visual or breaking changes.
@@ -429,14 +441,14 @@
429
441
 
430
442
  ### Patch Changes
431
443
 
432
- - [`b90c0237824`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b90c0237824) - Update package.jsons to remove unused dependencies.
444
+ - [#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.
433
445
  - Updated dependencies
434
446
 
435
447
  ## 11.0.0
436
448
 
437
449
  ### Major Changes
438
450
 
439
- - [`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.
451
+ - [#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.
440
452
 
441
453
  To upgrade you'll need to ensure any dates passed to the `DateTimePicker` are in ISO format.
442
454
 
@@ -444,19 +456,19 @@
444
456
 
445
457
  ### Patch Changes
446
458
 
447
- - [`787c731b208`](https://bitbucket.org/atlassian/atlassian-frontend/commits/787c731b208) - Updated package description.
459
+ - [#12830](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12830) [`787c731b208`](https://bitbucket.org/atlassian/atlassian-frontend/commits/787c731b208) - Updated package description.
448
460
 
449
461
  ## 10.4.1
450
462
 
451
463
  ### Patch Changes
452
464
 
453
- - [`378d1cef00f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/378d1cef00f) - Bump `@atlaskit/theme` to version `^11.3.0`.
465
+ - [#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`.
454
466
 
455
467
  ## 10.4.0
456
468
 
457
469
  ### Minor Changes
458
470
 
459
- - [`b162da59aac`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b162da59aac) -
471
+ - [#12328](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/12328) [`b162da59aac`](https://bitbucket.org/atlassian/atlassian-frontend/commits/b162da59aac) -
460
472
 
461
473
  #### New Features:
462
474
 
@@ -480,7 +492,7 @@
480
492
 
481
493
  ### Minor Changes
482
494
 
483
- - [`f6b951a51f2`](https://bitbucket.org/atlassian/atlassian-frontend/commits/f6b951a51f2) - Removes usage of styled-components in favour of standardising on emotion
495
+ - [#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
484
496
 
485
497
  ### Patch Changes
486
498
 
@@ -490,14 +502,14 @@
490
502
 
491
503
  ### Patch Changes
492
504
 
493
- - [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4.
505
+ - [#11113](https://bitbucket.org/atlassian/atlassian-frontend/pull-requests/11113) [`1f493e1dc65`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1f493e1dc65) - Bump `react-select` to v4.
494
506
  - Updated dependencies
495
507
 
496
508
  ## 10.2.0
497
509
 
498
510
  ### Minor Changes
499
511
 
500
- - [`1ad2a658d5d`](https://bitbucket.org/atlassian/atlassian-frontend/commits/1ad2a658d5d) - [ux] Added `weekStartDay` prop which gets passed to the underlying `Calendar` instance.
512
+ - [#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.
501
513
 
502
514
  ### Patch Changes
503
515
 
@@ -507,7 +519,7 @@
507
519
 
508
520
  ### Minor Changes
509
521
 
510
- - [`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.
522
+ - [#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.
511
523
 
512
524
  ## 10.0.12
513
525
 
@@ -519,7 +531,7 @@
519
531
 
520
532
  ### Patch Changes
521
533
 
522
- - [`471e2431a7c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/471e2431a7c) - Downgrade back to date-fns 1.30.1
534
+ - [#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
523
535
  We discovered big bundle size increases associated with the date-fns upgrade.
524
536
  We're reverting the upgarde to investigate
525
537
 
@@ -527,13 +539,13 @@
527
539
 
528
540
  ### Patch Changes
529
541
 
530
- - [`70f0701c2e6`](https://bitbucket.org/atlassian/atlassian-frontend/commits/70f0701c2e6) - Upgrade date-fns to 2.17
542
+ - [#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
531
543
 
532
544
  ## 10.0.9
533
545
 
534
546
  ### Patch Changes
535
547
 
536
- - [`79c23df6340`](https://bitbucket.org/atlassian/atlassian-frontend/commits/79c23df6340) - Use injected package name and version for analytics instead of version.json.
548
+ - [#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.
537
549
  - [`c20be966f07`](https://bitbucket.org/atlassian/atlassian-frontend/commits/c20be966f07) - **Internal change**
538
550
 
539
551
  - Change `@atlaskit/calendar` ref type import name from `CalendarInternalRef` to `CalendarRef`.
@@ -545,7 +557,7 @@
545
557
 
546
558
  ### Patch Changes
547
559
 
548
- - [`9c020a0e05f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/9c020a0e05f) - Replaced `@atlaskit/calendar` exported types to access its `navigate()` api
560
+ - [#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
549
561
 
550
562
  - Replaced `CalendarClassType` & `ArrowKeys` types with `CalendarInternalRef` type.
551
563
  - Also replaced `ref` prop with `internalRef` prop for accessing `navigate()` api.
@@ -556,13 +568,13 @@
556
568
 
557
569
  ### Patch Changes
558
570
 
559
- - [`d3265f19be`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d3265f19be) - Transpile packages using babel rather than tsc
571
+ - [#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
560
572
 
561
573
  ## 10.0.6
562
574
 
563
575
  ### Patch Changes
564
576
 
565
- - [`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.
577
+ - [#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.
566
578
  This requires version 3.8 of Typescript, read more about how we handle Typescript versions here: https://atlaskit.atlassian.com/get-started
567
579
  Also add `typescript` to `devDependencies` to denote version that the package was built with.
568
580
 
@@ -576,13 +588,13 @@
576
588
 
577
589
  ### Patch Changes
578
590
 
579
- - [`6360c46009`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6360c46009) - Reenable integration tests for Edge browser
591
+ - [#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
580
592
 
581
593
  ## 10.0.3
582
594
 
583
595
  ### Patch Changes
584
596
 
585
- - [`6c525a8229`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6c525a8229) - Upgraded to TypeScript 3.9.6 and tslib to 2.0.0
597
+ - [#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
586
598
 
587
599
  Since tslib is a dependency for all our packages we recommend that products also follow this tslib upgrade
588
600
  to prevent duplicates of tslib being bundled.
@@ -591,7 +603,7 @@
591
603
 
592
604
  ### Patch Changes
593
605
 
594
- - [`6262f382de`](https://bitbucket.org/atlassian/atlassian-frontend/commits/6262f382de) - Use the 'lodash' package instead of single-function 'lodash.\*' packages
606
+ - [#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
595
607
  - [`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.
596
608
  - Updated dependencies
597
609
 
@@ -599,14 +611,14 @@
599
611
 
600
612
  ### Patch Changes
601
613
 
602
- - [`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.
614
+ - [#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.
603
615
  - [`db053b24d8`](https://bitbucket.org/atlassian/atlassian-frontend/commits/db053b24d8) - Update all the theme imports to be tree-shakable
604
616
 
605
617
  ## 10.0.0
606
618
 
607
619
  ### Major Changes
608
620
 
609
- - [`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.
621
+ - [#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.
610
622
  For more information see: https://community.developer.atlassian.com/t/atlaskit-to-drop-support-for-internet-explorer-11-from-1st-july-2020/39534
611
623
 
612
624
  ### Patch Changes
@@ -617,32 +629,32 @@
617
629
 
618
630
  ### Patch Changes
619
631
 
620
- - [`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)
632
+ - [#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)
621
633
 
622
634
  ## 9.4.6
623
635
 
624
636
  ### Patch Changes
625
637
 
626
- - [`a39ef6582c`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a39ef6582c) - Marks default pops as optional in interface (TimePicker & DatePicker)
638
+ - [#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)
627
639
 
628
640
  ## 9.4.5
629
641
 
630
642
  ### Patch Changes
631
643
 
632
- - [`54a9514fcf`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54a9514fcf) - Build and supporting files will no longer be published to npm
644
+ - [#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
633
645
 
634
646
  ## 9.4.4
635
647
 
636
648
  ### Patch Changes
637
649
 
638
- - [`466aec241f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/466aec241f) - Fixing incorrect margin for time-picker
650
+ - [#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
639
651
  - [`54d82b49f0`](https://bitbucket.org/atlassian/atlassian-frontend/commits/54d82b49f0) - Remove unused dependencies
640
652
 
641
653
  ## 9.4.3
642
654
 
643
655
  ### Patch Changes
644
656
 
645
- - [`ccd9c51bd3`](https://bitbucket.org/atlassian/atlassian-frontend/commits/ccd9c51bd3) - Fixes date picker being affected by an invalid emotion theme provider.
657
+ - [#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.
646
658
 
647
659
  ## 9.4.2
648
660
 
@@ -654,7 +666,7 @@
654
666
 
655
667
  ### Patch Changes
656
668
 
657
- - [`d2876ee14f`](https://bitbucket.org/atlassian/atlassian-frontend/commits/d2876ee14f) - FIX: Add `hideIcon` prop back for backwards compatibility in MINOR
669
+ - [#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
658
670
 
659
671
  ## 9.4.0
660
672
 
@@ -39,7 +39,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
39
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); }; }
40
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 */
41
41
  var packageName = "@atlaskit/datetime-picker";
42
- var packageVersion = "12.10.1";
42
+ var packageVersion = "12.10.3";
43
43
  function getValidDate(iso) {
44
44
  var date = (0, _dateFns.parseISO)(iso);
45
45
  return (0, _dateFns.isValid)(date) ? {
@@ -61,7 +61,9 @@ var menuStyles = (0, _react2.css)({
61
61
  var Menu = function Menu(_ref) {
62
62
  var selectProps = _ref.selectProps,
63
63
  innerProps = _ref.innerProps;
64
- return (0, _react2.jsx)(_layering.UNSAFE_LAYERING, null, (0, _react2.jsx)(_fixedLayer.default, {
64
+ return (0, _react2.jsx)(_layering.UNSAFE_LAYERING, {
65
+ isDisabled: (0, _platformFeatureFlags.getBooleanFF)('platform.design-system-team.layering_qmiw3') ? false : true
66
+ }, (0, _react2.jsx)(_fixedLayer.default, {
65
67
  inputValue: selectProps.inputValue,
66
68
  containerRef: selectProps.calendarContainerRef,
67
69
  content: (0, _react2.jsx)("div", (0, _extends2.default)({
@@ -113,7 +115,7 @@ var datePickerDefaultProps = {
113
115
  // Not including a default prop for value as it will
114
116
  // Make the component a controlled component
115
117
  };
116
- var DatePicker = /*#__PURE__*/function (_Component) {
118
+ var DatePicker = exports.DatePickerWithoutAnalytics = /*#__PURE__*/function (_Component) {
117
119
  (0, _inherits2.default)(DatePicker, _Component);
118
120
  var _super = _createSuper(DatePicker);
119
121
  function DatePicker(props) {
@@ -533,9 +535,8 @@ var DatePicker = /*#__PURE__*/function (_Component) {
533
535
  }]);
534
536
  return DatePicker;
535
537
  }(_react.Component);
536
- exports.DatePickerWithoutAnalytics = DatePicker;
537
538
  (0, _defineProperty2.default)(DatePicker, "defaultProps", datePickerDefaultProps);
538
- var _default = (0, _analyticsNext.withAnalyticsContext)({
539
+ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
539
540
  componentName: 'datePicker',
540
541
  packageName: packageName,
541
542
  packageVersion: packageVersion
@@ -549,5 +550,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
549
550
  packageVersion: packageVersion
550
551
  }
551
552
  })
552
- })(DatePicker));
553
- exports.default = _default;
553
+ })(DatePicker));
@@ -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.1";
34
+ var packageVersion = "12.10.3";
35
35
  var isInvalidBorderStyles = (0, _react2.css)({
36
36
  borderColor: "var(--ds-border-danger, ".concat(_colors.R400, ")")
37
37
  });
@@ -157,11 +157,9 @@ var dateTimePickerDefaultProps = {
157
157
  // Make the component a controlled component
158
158
  };
159
159
 
160
- var datePickerDefaultAriaLabel = 'Date';
161
- exports.datePickerDefaultAriaLabel = datePickerDefaultAriaLabel;
162
- var timePickerDefaultAriaLabel = 'Time';
163
- exports.timePickerDefaultAriaLabel = timePickerDefaultAriaLabel;
164
- var DateTimePicker = /*#__PURE__*/function (_React$Component) {
160
+ var datePickerDefaultAriaLabel = exports.datePickerDefaultAriaLabel = 'Date';
161
+ var timePickerDefaultAriaLabel = exports.timePickerDefaultAriaLabel = 'Time';
162
+ var DateTimePicker = exports.DateTimePickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
165
163
  (0, _inherits2.default)(DateTimePicker, _React$Component);
166
164
  var _super = _createSuper(DateTimePicker);
167
165
  function DateTimePicker() {
@@ -356,9 +354,8 @@ var DateTimePicker = /*#__PURE__*/function (_React$Component) {
356
354
  }]);
357
355
  return DateTimePicker;
358
356
  }(_react.default.Component);
359
- exports.DateTimePickerWithoutAnalytics = DateTimePicker;
360
357
  (0, _defineProperty2.default)(DateTimePicker, "defaultProps", dateTimePickerDefaultProps);
361
- var _default = (0, _analyticsNext.withAnalyticsContext)({
358
+ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
362
359
  componentName: 'dateTimePicker',
363
360
  packageName: packageName,
364
361
  packageVersion: packageVersion
@@ -372,5 +369,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
372
369
  packageVersion: packageVersion
373
370
  }
374
371
  })
375
- })(DateTimePicker));
376
- exports.default = _default;
372
+ })(DateTimePicker));
@@ -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.1";
40
+ var packageVersion = "12.10.3";
41
41
  var menuStyles = {
42
42
  /* Need to remove default absolute positioning as that causes issues with position fixed */
43
43
  position: 'static',
@@ -87,7 +87,7 @@ var timePickerDefaultProps = {
87
87
  // Not including a default prop for value as it will
88
88
  // Make the component a controlled component
89
89
  };
90
- var TimePicker = /*#__PURE__*/function (_React$Component) {
90
+ var TimePicker = exports.TimePickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
91
91
  (0, _inherits2.default)(TimePicker, _React$Component);
92
92
  var _super = _createSuper(TimePicker);
93
93
  function TimePicker() {
@@ -339,9 +339,8 @@ var TimePicker = /*#__PURE__*/function (_React$Component) {
339
339
  }]);
340
340
  return TimePicker;
341
341
  }(_react.default.Component);
342
- exports.TimePickerWithoutAnalytics = TimePicker;
343
342
  (0, _defineProperty2.default)(TimePicker, "defaultProps", timePickerDefaultProps);
344
- var _default = (0, _analyticsNext.withAnalyticsContext)({
343
+ var _default = exports.default = (0, _analyticsNext.withAnalyticsContext)({
345
344
  componentName: 'timePicker',
346
345
  packageName: packageName,
347
346
  packageVersion: packageVersion
@@ -355,5 +354,4 @@ var _default = (0, _analyticsNext.withAnalyticsContext)({
355
354
  packageVersion: packageVersion
356
355
  }
357
356
  })
358
- })(TimePicker));
359
- exports.default = _default;
357
+ })(TimePicker));
@@ -28,7 +28,7 @@ function _isNativeReflectConstruct() { if (typeof Reflect === "undefined" || !Re
28
28
  * Scroll is locked outside the layer to prevent the layered content from detaching from the
29
29
  * container ref.
30
30
  */
31
- var FixedLayer = /*#__PURE__*/function (_React$Component) {
31
+ var FixedLayer = exports.default = /*#__PURE__*/function (_React$Component) {
32
32
  (0, _inherits2.default)(FixedLayer, _React$Component);
33
33
  var _super = _createSuper(FixedLayer);
34
34
  function FixedLayer() {
@@ -100,5 +100,4 @@ var FixedLayer = /*#__PURE__*/function (_React$Component) {
100
100
  }
101
101
  }]);
102
102
  return FixedLayer;
103
- }(_react.default.Component);
104
- exports.default = FixedLayer;
103
+ }(_react.default.Component);
@@ -10,21 +10,16 @@ exports.placeholderDatetime = void 0;
10
10
  /**
11
11
  * This component is used to hide portions of Select component.
12
12
  */
13
- var EmptyComponent = function EmptyComponent() {
13
+ var EmptyComponent = exports.EmptyComponent = function EmptyComponent() {
14
14
  return null;
15
15
  };
16
16
 
17
17
  // This date was chosen to clearly show date and time formats (day > 12)
18
18
  // e.g. 18/02/1993 vs. 2/18/1993 and 1:00 PM vs 13:00
19
- exports.EmptyComponent = EmptyComponent;
20
- var placeholderDatetime = new Date(1993, 1, 18, 13);
21
- exports.placeholderDatetime = placeholderDatetime;
22
- var defaultTimes = ['09:00', '09:30', '10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00', '13:30', '14:00', '14:30', '15:00', '15:30', '16:00', '16:30', '17:00', '17:30', '18:00'];
23
- exports.defaultTimes = defaultTimes;
24
- var defaultTimeFormat = 'h:mma';
25
- exports.defaultTimeFormat = defaultTimeFormat;
26
- var defaultDateFormat = 'YYYY/MM/DD';
27
- exports.defaultDateFormat = defaultDateFormat;
19
+ var placeholderDatetime = exports.placeholderDatetime = new Date(1993, 1, 18, 13);
20
+ var defaultTimes = exports.defaultTimes = ['09:00', '09:30', '10:00', '10:30', '11:00', '11:30', '12:00', '12:30', '13:00', '13:30', '14:00', '14:30', '15:00', '15:30', '16:00', '16:30', '17:00', '17:30', '18:00'];
21
+ var defaultTimeFormat = exports.defaultTimeFormat = 'h:mma';
22
+ var defaultDateFormat = exports.defaultDateFormat = 'YYYY/MM/DD';
28
23
  function padToTwo(number) {
29
24
  return number <= 99 ? "0".concat(number).slice(-2) : "".concat(number);
30
25
  }
@@ -14,7 +14,7 @@ var _excluded = ["children"];
14
14
  * This creates a functional component that `react-select` will use to make the
15
15
  * SingleValue part of the different pickers.
16
16
  */
17
- var makeSingleValue = function makeSingleValue(_ref) {
17
+ var makeSingleValue = exports.makeSingleValue = function makeSingleValue(_ref) {
18
18
  var lang = _ref.lang;
19
19
  return function (_ref2) {
20
20
  var children = _ref2.children,
@@ -25,5 +25,4 @@ var makeSingleValue = function makeSingleValue(_ref) {
25
25
  }
26
26
  }), children);
27
27
  };
28
- };
29
- exports.makeSingleValue = makeSingleValue;
28
+ };
@@ -19,7 +19,7 @@ import FixedLayer from '../internal/fixed-layer';
19
19
  import { makeSingleValue } from '../internal/single-value';
20
20
  import { convertTokens } from './utils';
21
21
  const packageName = "@atlaskit/datetime-picker";
22
- const packageVersion = "12.10.1";
22
+ const packageVersion = "12.10.3";
23
23
  function getValidDate(iso) {
24
24
  const date = parseISO(iso);
25
25
  return isValid(date) ? {
@@ -41,7 +41,9 @@ const menuStyles = css({
41
41
  const Menu = ({
42
42
  selectProps,
43
43
  innerProps
44
- }) => jsx(UNSAFE_LAYERING, null, jsx(FixedLayer, {
44
+ }) => jsx(UNSAFE_LAYERING, {
45
+ isDisabled: getBooleanFF('platform.design-system-team.layering_qmiw3') ? false : true
46
+ }, jsx(FixedLayer, {
45
47
  inputValue: selectProps.inputValue,
46
48
  containerRef: selectProps.calendarContainerRef,
47
49
  content: jsx("div", _extends({
@@ -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.1";
18
+ const packageVersion = "12.10.3";
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.1";
19
+ const packageVersion = "12.10.3";
20
20
  const menuStyles = {
21
21
  /* Need to remove default absolute positioning as that causes issues with position fixed */
22
22
  position: 'static',
@@ -30,7 +30,7 @@ import FixedLayer from '../internal/fixed-layer';
30
30
  import { makeSingleValue } from '../internal/single-value';
31
31
  import { convertTokens } from './utils';
32
32
  var packageName = "@atlaskit/datetime-picker";
33
- var packageVersion = "12.10.1";
33
+ var packageVersion = "12.10.3";
34
34
  function getValidDate(iso) {
35
35
  var date = parseISO(iso);
36
36
  return isValid(date) ? {
@@ -52,7 +52,9 @@ var menuStyles = css({
52
52
  var Menu = function Menu(_ref) {
53
53
  var selectProps = _ref.selectProps,
54
54
  innerProps = _ref.innerProps;
55
- return jsx(UNSAFE_LAYERING, null, jsx(FixedLayer, {
55
+ return jsx(UNSAFE_LAYERING, {
56
+ isDisabled: getBooleanFF('platform.design-system-team.layering_qmiw3') ? false : true
57
+ }, jsx(FixedLayer, {
56
58
  inputValue: selectProps.inputValue,
57
59
  containerRef: selectProps.calendarContainerRef,
58
60
  content: jsx("div", _extends({
@@ -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.1";
28
+ var packageVersion = "12.10.3";
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.1";
32
+ var packageVersion = "12.10.3";
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.1",
3
+ "version": "12.10.3",
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/"
@@ -42,7 +42,7 @@
42
42
  "@atlaskit/popper": "^5.5.0",
43
43
  "@atlaskit/select": "^16.7.0",
44
44
  "@atlaskit/theme": "^12.6.0",
45
- "@atlaskit/tokens": "^1.25.0",
45
+ "@atlaskit/tokens": "^1.27.0",
46
46
  "@babel/runtime": "^7.0.0",
47
47
  "@emotion/react": "^11.7.1",
48
48
  "date-fns": "^2.17.0",
@@ -57,8 +57,8 @@
57
57
  "@atlaskit/button": "^16.10.0",
58
58
  "@atlaskit/docs": "*",
59
59
  "@atlaskit/form": "^8.11.0",
60
- "@atlaskit/modal-dialog": "^12.7.0",
61
- "@atlaskit/popup": "^1.10.0",
60
+ "@atlaskit/modal-dialog": "^12.8.0",
61
+ "@atlaskit/popup": "^1.11.0",
62
62
  "@atlaskit/range": "^7.1.0",
63
63
  "@atlaskit/section-message": "^6.4.0",
64
64
  "@atlaskit/ssr": "*",
@@ -68,7 +68,6 @@
68
68
  "@atlaskit/webdriver-runner": "*",
69
69
  "@atlassian/atlassian-frontend-prettier-config-1.0.1": "npm:@atlassian/atlassian-frontend-prettier-config@1.0.1",
70
70
  "@atlassian/feature-flags-test-utils": "*",
71
- "@emotion/react": "^11.7.1",
72
71
  "@testing-library/react": "^12.1.5",
73
72
  "@testing-library/user-event": "^14.4.3",
74
73
  "@types/testing-library__jest-dom": "^5.14.5",
@@ -98,6 +97,9 @@
98
97
  }
99
98
  },
100
99
  "platform-feature-flags": {
100
+ "platform.design-system-team.layering_qmiw3": {
101
+ "type": "boolean"
102
+ },
101
103
  "platform.design-system-team.border-checkbox_nyoiu": {
102
104
  "type": "boolean"
103
105
  },
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>;