@atlaskit/datetime-picker 13.11.0 → 13.11.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/cjs/components/date-picker.js +1 -1
- package/dist/cjs/components/date-time-picker.js +1 -1
- package/dist/cjs/components/time-picker.js +1 -1
- package/dist/es2019/components/date-picker.js +1 -1
- package/dist/es2019/components/date-time-picker.js +1 -1
- package/dist/es2019/components/time-picker.js +1 -1
- package/dist/esm/components/date-picker.js +1 -1
- package/dist/esm/components/date-time-picker.js +1 -1
- package/dist/esm/components/time-picker.js +1 -1
- package/dist/types/types.d.ts +21 -2
- package/dist/types-ts4.5/types.d.ts +21 -2
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @atlaskit/datetime-picker
|
|
2
2
|
|
|
3
|
+
## 13.11.1
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#130485](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/130485)
|
|
8
|
+
[`d7ffb64c0d672`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/d7ffb64c0d672) -
|
|
9
|
+
Deprecated props that are either unused or where the usage causes accessibility issues. These will
|
|
10
|
+
be removed in the next major upgrade.
|
|
11
|
+
|
|
3
12
|
## 13.11.0
|
|
4
13
|
|
|
5
14
|
### Minor Changes
|
|
@@ -38,7 +38,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
38
38
|
* @jsx jsx
|
|
39
39
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
40
40
|
var packageName = "@atlaskit/datetime-picker";
|
|
41
|
-
var packageVersion = "13.11.
|
|
41
|
+
var packageVersion = "13.11.1";
|
|
42
42
|
var datePickerDefaultProps = {
|
|
43
43
|
appearance: 'default',
|
|
44
44
|
autoFocus: false,
|
|
@@ -34,7 +34,7 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
34
34
|
* @jsx jsx
|
|
35
35
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
36
36
|
var packageName = "@atlaskit/datetime-picker";
|
|
37
|
-
var packageVersion = "13.11.
|
|
37
|
+
var packageVersion = "13.11.1";
|
|
38
38
|
// Make DatePicker 50% the width of DateTimePicker
|
|
39
39
|
// If rendering an icon container, shrink the TimePicker
|
|
40
40
|
var datePickerContainerStyles = (0, _react2.css)({
|
|
@@ -36,7 +36,7 @@ function _createSuper(Derived) { var hasNativeReflectConstruct = _isNativeReflec
|
|
|
36
36
|
function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.call(Reflect.construct(Boolean, [], function () {})); } catch (t) {} return (_isNativeReflectConstruct = function _isNativeReflectConstruct() { return !!t; })(); } // eslint-disable-next-line no-restricted-imports
|
|
37
37
|
// eslint-disable-next-line @atlaskit/design-system/no-deprecated-imports
|
|
38
38
|
var packageName = "@atlaskit/datetime-picker";
|
|
39
|
-
var packageVersion = "13.11.
|
|
39
|
+
var packageVersion = "13.11.1";
|
|
40
40
|
var menuStyles = {
|
|
41
41
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
42
42
|
position: 'static',
|
|
@@ -20,7 +20,7 @@ import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date'
|
|
|
20
20
|
import { convertTokens } from '../internal/parse-tokens';
|
|
21
21
|
import { makeSingleValue } from '../internal/single-value';
|
|
22
22
|
const packageName = "@atlaskit/datetime-picker";
|
|
23
|
-
const packageVersion = "13.11.
|
|
23
|
+
const packageVersion = "13.11.1";
|
|
24
24
|
const datePickerDefaultProps = {
|
|
25
25
|
appearance: 'default',
|
|
26
26
|
autoFocus: false,
|
|
@@ -20,7 +20,7 @@ import { convertTokens } from '../internal/parse-tokens';
|
|
|
20
20
|
import DatePicker from './date-picker';
|
|
21
21
|
import TimePicker from './time-picker';
|
|
22
22
|
const packageName = "@atlaskit/datetime-picker";
|
|
23
|
-
const packageVersion = "13.11.
|
|
23
|
+
const packageVersion = "13.11.1";
|
|
24
24
|
// Make DatePicker 50% the width of DateTimePicker
|
|
25
25
|
// If rendering an icon container, shrink the TimePicker
|
|
26
26
|
const datePickerContainerStyles = css({
|
|
@@ -16,7 +16,7 @@ import parseTime from '../internal/parse-time';
|
|
|
16
16
|
import { convertTokens } from '../internal/parse-tokens';
|
|
17
17
|
import { makeSingleValue } from '../internal/single-value';
|
|
18
18
|
const packageName = "@atlaskit/datetime-picker";
|
|
19
|
-
const packageVersion = "13.11.
|
|
19
|
+
const packageVersion = "13.11.1";
|
|
20
20
|
const menuStyles = {
|
|
21
21
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
22
22
|
position: 'static',
|
|
@@ -31,7 +31,7 @@ import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date'
|
|
|
31
31
|
import { convertTokens } from '../internal/parse-tokens';
|
|
32
32
|
import { makeSingleValue } from '../internal/single-value';
|
|
33
33
|
var packageName = "@atlaskit/datetime-picker";
|
|
34
|
-
var packageVersion = "13.11.
|
|
34
|
+
var packageVersion = "13.11.1";
|
|
35
35
|
var datePickerDefaultProps = {
|
|
36
36
|
appearance: 'default',
|
|
37
37
|
autoFocus: false,
|
|
@@ -30,7 +30,7 @@ import { convertTokens } from '../internal/parse-tokens';
|
|
|
30
30
|
import DatePicker from './date-picker';
|
|
31
31
|
import TimePicker from './time-picker';
|
|
32
32
|
var packageName = "@atlaskit/datetime-picker";
|
|
33
|
-
var packageVersion = "13.11.
|
|
33
|
+
var packageVersion = "13.11.1";
|
|
34
34
|
// Make DatePicker 50% the width of DateTimePicker
|
|
35
35
|
// If rendering an icon container, shrink the TimePicker
|
|
36
36
|
var datePickerContainerStyles = css({
|
|
@@ -28,7 +28,7 @@ import parseTime from '../internal/parse-time';
|
|
|
28
28
|
import { convertTokens } from '../internal/parse-tokens';
|
|
29
29
|
import { makeSingleValue } from '../internal/single-value';
|
|
30
30
|
var packageName = "@atlaskit/datetime-picker";
|
|
31
|
-
var packageVersion = "13.11.
|
|
31
|
+
var packageVersion = "13.11.1";
|
|
32
32
|
var menuStyles = {
|
|
33
33
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
34
34
|
position: 'static',
|
package/dist/types/types.d.ts
CHANGED
|
@@ -16,6 +16,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
16
16
|
* Set the appearance of the picker.
|
|
17
17
|
* `subtle` will remove the borders, background, and icon.
|
|
18
18
|
* **NOTE:** Appearance values will be ignored if styles are parsed through `selectProps`.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated
|
|
19
21
|
*/
|
|
20
22
|
appearance?: Appearance;
|
|
21
23
|
/**
|
|
@@ -28,6 +30,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
28
30
|
autoFocus?: boolean;
|
|
29
31
|
/**
|
|
30
32
|
* The default for `isOpen`. Will be `false` if not provided.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated
|
|
31
35
|
*/
|
|
32
36
|
defaultIsOpen?: boolean;
|
|
33
37
|
/**
|
|
@@ -58,6 +62,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
58
62
|
minDate?: string;
|
|
59
63
|
/**
|
|
60
64
|
* The icon shown in the picker.
|
|
65
|
+
*
|
|
66
|
+
* @deprecated
|
|
61
67
|
*/
|
|
62
68
|
icon?: React.ComponentType<DropdownIndicatorProps<OptionType>>;
|
|
63
69
|
/**
|
|
@@ -67,6 +73,9 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
67
73
|
id?: string;
|
|
68
74
|
/**
|
|
69
75
|
* Props to apply to the container.
|
|
76
|
+
*
|
|
77
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
78
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
70
79
|
*/
|
|
71
80
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
72
81
|
/**
|
|
@@ -126,6 +135,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
126
135
|
isInvalid?: boolean;
|
|
127
136
|
/**
|
|
128
137
|
* Hides icon for dropdown indicator.
|
|
138
|
+
*
|
|
139
|
+
* @deprecated
|
|
129
140
|
*/
|
|
130
141
|
hideIcon?: boolean;
|
|
131
142
|
/**
|
|
@@ -176,6 +187,8 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
176
187
|
autoFocus?: boolean;
|
|
177
188
|
/**
|
|
178
189
|
* The default for `isOpen`.
|
|
190
|
+
*
|
|
191
|
+
* @deprecated
|
|
179
192
|
*/
|
|
180
193
|
defaultIsOpen?: boolean;
|
|
181
194
|
/**
|
|
@@ -192,7 +205,10 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
192
205
|
*/
|
|
193
206
|
id?: string;
|
|
194
207
|
/**
|
|
195
|
-
* Props to apply to the container.
|
|
208
|
+
* Props to apply to the container.
|
|
209
|
+
*
|
|
210
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
211
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
196
212
|
*/
|
|
197
213
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
198
214
|
/**
|
|
@@ -299,7 +315,10 @@ export interface DateTimePickerBaseProps extends WithAnalyticsEventsProps {
|
|
|
299
315
|
*/
|
|
300
316
|
id?: string;
|
|
301
317
|
/**
|
|
302
|
-
* Props to apply to the container.
|
|
318
|
+
* Props to apply to the container.
|
|
319
|
+
*
|
|
320
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
321
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
303
322
|
*/
|
|
304
323
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
305
324
|
/**
|
|
@@ -16,6 +16,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
16
16
|
* Set the appearance of the picker.
|
|
17
17
|
* `subtle` will remove the borders, background, and icon.
|
|
18
18
|
* **NOTE:** Appearance values will be ignored if styles are parsed through `selectProps`.
|
|
19
|
+
*
|
|
20
|
+
* @deprecated
|
|
19
21
|
*/
|
|
20
22
|
appearance?: Appearance;
|
|
21
23
|
/**
|
|
@@ -28,6 +30,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
28
30
|
autoFocus?: boolean;
|
|
29
31
|
/**
|
|
30
32
|
* The default for `isOpen`. Will be `false` if not provided.
|
|
33
|
+
*
|
|
34
|
+
* @deprecated
|
|
31
35
|
*/
|
|
32
36
|
defaultIsOpen?: boolean;
|
|
33
37
|
/**
|
|
@@ -58,6 +62,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
58
62
|
minDate?: string;
|
|
59
63
|
/**
|
|
60
64
|
* The icon shown in the picker.
|
|
65
|
+
*
|
|
66
|
+
* @deprecated
|
|
61
67
|
*/
|
|
62
68
|
icon?: React.ComponentType<DropdownIndicatorProps<OptionType>>;
|
|
63
69
|
/**
|
|
@@ -67,6 +73,9 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
67
73
|
id?: string;
|
|
68
74
|
/**
|
|
69
75
|
* Props to apply to the container.
|
|
76
|
+
*
|
|
77
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
78
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
70
79
|
*/
|
|
71
80
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
72
81
|
/**
|
|
@@ -126,6 +135,8 @@ export interface DatePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
126
135
|
isInvalid?: boolean;
|
|
127
136
|
/**
|
|
128
137
|
* Hides icon for dropdown indicator.
|
|
138
|
+
*
|
|
139
|
+
* @deprecated
|
|
129
140
|
*/
|
|
130
141
|
hideIcon?: boolean;
|
|
131
142
|
/**
|
|
@@ -176,6 +187,8 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
176
187
|
autoFocus?: boolean;
|
|
177
188
|
/**
|
|
178
189
|
* The default for `isOpen`.
|
|
190
|
+
*
|
|
191
|
+
* @deprecated
|
|
179
192
|
*/
|
|
180
193
|
defaultIsOpen?: boolean;
|
|
181
194
|
/**
|
|
@@ -192,7 +205,10 @@ export interface TimePickerBaseProps extends WithAnalyticsEventsProps, PickerSel
|
|
|
192
205
|
*/
|
|
193
206
|
id?: string;
|
|
194
207
|
/**
|
|
195
|
-
* Props to apply to the container.
|
|
208
|
+
* Props to apply to the container.
|
|
209
|
+
*
|
|
210
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
211
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
196
212
|
*/
|
|
197
213
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
198
214
|
/**
|
|
@@ -299,7 +315,10 @@ export interface DateTimePickerBaseProps extends WithAnalyticsEventsProps {
|
|
|
299
315
|
*/
|
|
300
316
|
id?: string;
|
|
301
317
|
/**
|
|
302
|
-
* Props to apply to the container.
|
|
318
|
+
* Props to apply to the container.
|
|
319
|
+
*
|
|
320
|
+
* @deprecated If you are looking to set your width, use a `Box` from
|
|
321
|
+
* `@atlaskit/primitives` around the picker to achieve the same effect.
|
|
303
322
|
*/
|
|
304
323
|
innerProps?: React.AllHTMLAttributes<HTMLElement>;
|
|
305
324
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "13.11.
|
|
3
|
+
"version": "13.11.1",
|
|
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,11 +42,11 @@
|
|
|
42
42
|
"@atlaskit/analytics-next": "^10.1.0",
|
|
43
43
|
"@atlaskit/calendar": "^14.5.0",
|
|
44
44
|
"@atlaskit/ds-lib": "^2.4.0",
|
|
45
|
-
"@atlaskit/icon": "^22.
|
|
45
|
+
"@atlaskit/icon": "^22.13.0",
|
|
46
46
|
"@atlaskit/layering": "^0.4.0",
|
|
47
47
|
"@atlaskit/locale": "^2.8.0",
|
|
48
48
|
"@atlaskit/popper": "^6.2.0",
|
|
49
|
-
"@atlaskit/select": "^17.
|
|
49
|
+
"@atlaskit/select": "^17.15.0",
|
|
50
50
|
"@atlaskit/theme": "^13.0.0",
|
|
51
51
|
"@atlaskit/tokens": "^1.58.0",
|
|
52
52
|
"@babel/runtime": "^7.0.0",
|
|
@@ -61,11 +61,11 @@
|
|
|
61
61
|
"@af/accessibility-testing": "*",
|
|
62
62
|
"@af/integration-testing": "*",
|
|
63
63
|
"@af/visual-regression": "*",
|
|
64
|
-
"@atlaskit/button": "^
|
|
64
|
+
"@atlaskit/button": "^20.0.0",
|
|
65
65
|
"@atlaskit/docs": "*",
|
|
66
66
|
"@atlaskit/form": "^10.5.0",
|
|
67
67
|
"@atlaskit/modal-dialog": "^12.15.0",
|
|
68
|
-
"@atlaskit/popup": "^1.
|
|
68
|
+
"@atlaskit/popup": "^1.23.0",
|
|
69
69
|
"@atlaskit/range": "^7.4.0",
|
|
70
70
|
"@atlaskit/section-message": "^6.6.0",
|
|
71
71
|
"@atlaskit/ssr": "*",
|