@atlaskit/datetime-picker 16.2.2 → 16.2.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 +6 -0
- package/dist/cjs/components/date-picker-class.js +1 -1
- package/dist/cjs/components/date-picker-fc.js +1 -1
- package/dist/cjs/components/date-time-picker-class.js +3 -1
- package/dist/cjs/components/date-time-picker-fc.js +1 -1
- package/dist/cjs/components/time-picker.js +1 -1
- package/dist/cjs/internal/fixed-layer.js +1 -0
- package/dist/es2019/components/date-picker-class.js +1 -1
- package/dist/es2019/components/date-picker-fc.js +1 -1
- package/dist/es2019/components/date-time-picker-class.js +3 -1
- package/dist/es2019/components/date-time-picker-fc.js +1 -1
- package/dist/es2019/components/time-picker.js +1 -1
- package/dist/es2019/internal/fixed-layer.js +1 -0
- package/dist/esm/components/date-picker-class.js +1 -1
- package/dist/esm/components/date-picker-fc.js +1 -1
- package/dist/esm/components/date-time-picker-class.js +3 -1
- package/dist/esm/components/date-time-picker-fc.js +1 -1
- package/dist/esm/components/time-picker.js +1 -1
- package/dist/esm/internal/fixed-layer.js +1 -0
- package/package.json +13 -7
package/CHANGELOG.md
CHANGED
|
@@ -40,7 +40,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
40
40
|
* @jsx jsx
|
|
41
41
|
*/ // eslint-disable-next-line @atlaskit/ui-styling-standard/use-compiled -- Ignored via go/DSP-18766
|
|
42
42
|
var packageName = "@atlaskit/datetime-picker";
|
|
43
|
-
var packageVersion = "16.2.
|
|
43
|
+
var packageVersion = "16.2.3";
|
|
44
44
|
var dropdownIndicatorStyles = (0, _primitives.xcss)({
|
|
45
45
|
minWidth: "var(--ds-space-300, 24px)",
|
|
46
46
|
minHeight: "var(--ds-space-300, 24px)",
|
|
@@ -38,7 +38,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
38
38
|
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; }
|
|
39
39
|
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; }
|
|
40
40
|
var packageName = "@atlaskit/datetime-picker";
|
|
41
|
-
var packageVersion = "16.2.
|
|
41
|
+
var packageVersion = "16.2.3";
|
|
42
42
|
var analyticsAttributes = {
|
|
43
43
|
componentName: 'datePicker',
|
|
44
44
|
packageName: packageName,
|
|
@@ -37,7 +37,7 @@ var DatePicker = (0, _ffComponent.componentWithCondition)(function () {
|
|
|
37
37
|
return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
|
|
38
38
|
}, _datePickerFc.default, _datePickerClass.default);
|
|
39
39
|
var packageName = "@atlaskit/datetime-picker";
|
|
40
|
-
var packageVersion = "16.2.
|
|
40
|
+
var packageVersion = "16.2.3";
|
|
41
41
|
// Make DatePicker 50% the width of DateTimePicker
|
|
42
42
|
// If rendering an icon container, shrink the TimePicker
|
|
43
43
|
var datePickerContainerStyles = (0, _react2.css)({
|
|
@@ -95,6 +95,8 @@ var dateTimePickerDefaultProps = {
|
|
|
95
95
|
};
|
|
96
96
|
var datePickerDefaultAriaLabel = exports.datePickerDefaultAriaLabel = 'Date';
|
|
97
97
|
var timePickerDefaultAriaLabel = exports.timePickerDefaultAriaLabel = 'Time';
|
|
98
|
+
|
|
99
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
98
100
|
var DateTimePickerComponent = exports.DateTimePickerWithoutAnalytics = /*#__PURE__*/function (_React$Component) {
|
|
99
101
|
function DateTimePickerComponent() {
|
|
100
102
|
var _this$props$datePicke, _this$props$timePicke;
|
|
@@ -37,7 +37,7 @@ function () {
|
|
|
37
37
|
return (0, _platformFeatureFlags.fg)('dst-date-picker-use-functional-component');
|
|
38
38
|
}, _datePickerFc.default, _datePickerClass.default);
|
|
39
39
|
var packageName = "@atlaskit/datetime-picker";
|
|
40
|
-
var packageVersion = "16.2.
|
|
40
|
+
var packageVersion = "16.2.3";
|
|
41
41
|
var analyticsAttributes = {
|
|
42
42
|
componentName: 'dateTimePicker',
|
|
43
43
|
packageName: packageName,
|
|
@@ -27,7 +27,7 @@ function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e;
|
|
|
27
27
|
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; }
|
|
28
28
|
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; }
|
|
29
29
|
var packageName = "@atlaskit/datetime-picker";
|
|
30
|
-
var packageVersion = "16.2.
|
|
30
|
+
var packageVersion = "16.2.3";
|
|
31
31
|
var menuStyles = {
|
|
32
32
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
33
33
|
position: 'static',
|
|
@@ -25,6 +25,7 @@ function _isNativeReflectConstruct() { try { var t = !Boolean.prototype.valueOf.
|
|
|
25
25
|
* Scroll is locked outside the layer to prevent the layered content from detaching from the
|
|
26
26
|
* container ref.
|
|
27
27
|
*/
|
|
28
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
28
29
|
var FixedLayer = exports.default = /*#__PURE__*/function (_React$Component) {
|
|
29
30
|
function FixedLayer() {
|
|
30
31
|
var _this;
|
|
@@ -24,7 +24,7 @@ import { Menu } from '../internal/menu';
|
|
|
24
24
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
25
25
|
import { makeSingleValue } from '../internal/single-value';
|
|
26
26
|
const packageName = "@atlaskit/datetime-picker";
|
|
27
|
-
const packageVersion = "16.2.
|
|
27
|
+
const packageVersion = "16.2.3";
|
|
28
28
|
const dropdownIndicatorStyles = xcss({
|
|
29
29
|
minWidth: "var(--ds-space-300, 24px)",
|
|
30
30
|
minHeight: "var(--ds-space-300, 24px)",
|
|
@@ -23,7 +23,7 @@ import { Menu } from '../internal/menu';
|
|
|
23
23
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
24
24
|
import { makeSingleValue } from '../internal/single-value';
|
|
25
25
|
const packageName = "@atlaskit/datetime-picker";
|
|
26
|
-
const packageVersion = "16.2.
|
|
26
|
+
const packageVersion = "16.2.3";
|
|
27
27
|
const analyticsAttributes = {
|
|
28
28
|
componentName: 'datePicker',
|
|
29
29
|
packageName,
|
|
@@ -22,7 +22,7 @@ import DatePickerNew from './date-picker-fc';
|
|
|
22
22
|
import TimePicker from './time-picker';
|
|
23
23
|
const DatePicker = componentWithCondition(() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
|
|
24
24
|
const packageName = "@atlaskit/datetime-picker";
|
|
25
|
-
const packageVersion = "16.2.
|
|
25
|
+
const packageVersion = "16.2.3";
|
|
26
26
|
// Make DatePicker 50% the width of DateTimePicker
|
|
27
27
|
// If rendering an icon container, shrink the TimePicker
|
|
28
28
|
const datePickerContainerStyles = css({
|
|
@@ -79,6 +79,8 @@ const dateTimePickerDefaultProps = {
|
|
|
79
79
|
};
|
|
80
80
|
export const datePickerDefaultAriaLabel = 'Date';
|
|
81
81
|
export const timePickerDefaultAriaLabel = 'Time';
|
|
82
|
+
|
|
83
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
82
84
|
class DateTimePickerComponent extends React.Component {
|
|
83
85
|
constructor(...args) {
|
|
84
86
|
var _this$props$datePicke, _this$props$timePicke;
|
|
@@ -18,7 +18,7 @@ const DatePicker = componentWithCondition(
|
|
|
18
18
|
// eslint-disable-next-line @atlaskit/platform/ensure-feature-flag-prefix
|
|
19
19
|
() => fg('dst-date-picker-use-functional-component'), DatePickerNew, DatePickerOld);
|
|
20
20
|
const packageName = "@atlaskit/datetime-picker";
|
|
21
|
-
const packageVersion = "16.2.
|
|
21
|
+
const packageVersion = "16.2.3";
|
|
22
22
|
const analyticsAttributes = {
|
|
23
23
|
componentName: 'dateTimePicker',
|
|
24
24
|
packageName,
|
|
@@ -11,7 +11,7 @@ import parseTime from '../internal/parse-time';
|
|
|
11
11
|
import { convertTokens } from '../internal/parse-tokens';
|
|
12
12
|
import { makeSingleValue } from '../internal/single-value';
|
|
13
13
|
const packageName = "@atlaskit/datetime-picker";
|
|
14
|
-
const packageVersion = "16.2.
|
|
14
|
+
const packageVersion = "16.2.3";
|
|
15
15
|
const menuStyles = {
|
|
16
16
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
17
17
|
position: 'static',
|
|
@@ -10,6 +10,7 @@ import { gridSize, layers } from '@atlaskit/theme/constants';
|
|
|
10
10
|
* Scroll is locked outside the layer to prevent the layered content from detaching from the
|
|
11
11
|
* container ref.
|
|
12
12
|
*/
|
|
13
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
13
14
|
export default class FixedLayer extends React.Component {
|
|
14
15
|
constructor(...args) {
|
|
15
16
|
super(...args);
|
|
@@ -33,7 +33,7 @@ import { Menu } from '../internal/menu';
|
|
|
33
33
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
34
34
|
import { makeSingleValue } from '../internal/single-value';
|
|
35
35
|
var packageName = "@atlaskit/datetime-picker";
|
|
36
|
-
var packageVersion = "16.2.
|
|
36
|
+
var packageVersion = "16.2.3";
|
|
37
37
|
var dropdownIndicatorStyles = xcss({
|
|
38
38
|
minWidth: "var(--ds-space-300, 24px)",
|
|
39
39
|
minHeight: "var(--ds-space-300, 24px)",
|
|
@@ -29,7 +29,7 @@ import { Menu } from '../internal/menu';
|
|
|
29
29
|
import { getSafeCalendarValue, getShortISOString } from '../internal/parse-date';
|
|
30
30
|
import { makeSingleValue } from '../internal/single-value';
|
|
31
31
|
var packageName = "@atlaskit/datetime-picker";
|
|
32
|
-
var packageVersion = "16.2.
|
|
32
|
+
var packageVersion = "16.2.3";
|
|
33
33
|
var analyticsAttributes = {
|
|
34
34
|
componentName: 'datePicker',
|
|
35
35
|
packageName: packageName,
|
|
@@ -33,7 +33,7 @@ var DatePicker = componentWithCondition(function () {
|
|
|
33
33
|
return fg('dst-date-picker-use-functional-component');
|
|
34
34
|
}, DatePickerNew, DatePickerOld);
|
|
35
35
|
var packageName = "@atlaskit/datetime-picker";
|
|
36
|
-
var packageVersion = "16.2.
|
|
36
|
+
var packageVersion = "16.2.3";
|
|
37
37
|
// Make DatePicker 50% the width of DateTimePicker
|
|
38
38
|
// If rendering an icon container, shrink the TimePicker
|
|
39
39
|
var datePickerContainerStyles = css({
|
|
@@ -91,6 +91,8 @@ var dateTimePickerDefaultProps = {
|
|
|
91
91
|
};
|
|
92
92
|
export var datePickerDefaultAriaLabel = 'Date';
|
|
93
93
|
export var timePickerDefaultAriaLabel = 'Time';
|
|
94
|
+
|
|
95
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
94
96
|
var DateTimePickerComponent = /*#__PURE__*/function (_React$Component) {
|
|
95
97
|
function DateTimePickerComponent() {
|
|
96
98
|
var _this$props$datePicke, _this$props$timePicke;
|
|
@@ -27,7 +27,7 @@ function () {
|
|
|
27
27
|
return fg('dst-date-picker-use-functional-component');
|
|
28
28
|
}, DatePickerNew, DatePickerOld);
|
|
29
29
|
var packageName = "@atlaskit/datetime-picker";
|
|
30
|
-
var packageVersion = "16.2.
|
|
30
|
+
var packageVersion = "16.2.3";
|
|
31
31
|
var analyticsAttributes = {
|
|
32
32
|
componentName: 'dateTimePicker',
|
|
33
33
|
packageName: packageName,
|
|
@@ -17,7 +17,7 @@ import parseTime from '../internal/parse-time';
|
|
|
17
17
|
import { convertTokens } from '../internal/parse-tokens';
|
|
18
18
|
import { makeSingleValue } from '../internal/single-value';
|
|
19
19
|
var packageName = "@atlaskit/datetime-picker";
|
|
20
|
-
var packageVersion = "16.2.
|
|
20
|
+
var packageVersion = "16.2.3";
|
|
21
21
|
var menuStyles = {
|
|
22
22
|
/* Need to remove default absolute positioning as that causes issues with position fixed */
|
|
23
23
|
position: 'static',
|
|
@@ -19,6 +19,7 @@ import { gridSize, layers } from '@atlaskit/theme/constants';
|
|
|
19
19
|
* Scroll is locked outside the layer to prevent the layered content from detaching from the
|
|
20
20
|
* container ref.
|
|
21
21
|
*/
|
|
22
|
+
// eslint-disable-next-line @repo/internal/react/no-class-components
|
|
22
23
|
var FixedLayer = /*#__PURE__*/function (_React$Component) {
|
|
23
24
|
function FixedLayer() {
|
|
24
25
|
var _this;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/datetime-picker",
|
|
3
|
-
"version": "16.2.
|
|
3
|
+
"version": "16.2.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/"
|
|
@@ -38,11 +38,11 @@
|
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@atlaskit/analytics-next": "^11.0.0",
|
|
41
|
-
"@atlaskit/button": "^
|
|
41
|
+
"@atlaskit/button": "^23.0.0",
|
|
42
42
|
"@atlaskit/calendar": "^17.1.0",
|
|
43
43
|
"@atlaskit/ds-lib": "^4.0.0",
|
|
44
|
-
"@atlaskit/icon": "^25.
|
|
45
|
-
"@atlaskit/layering": "^2.
|
|
44
|
+
"@atlaskit/icon": "^25.4.0",
|
|
45
|
+
"@atlaskit/layering": "^2.1.0",
|
|
46
46
|
"@atlaskit/locale": "^3.0.0",
|
|
47
47
|
"@atlaskit/platform-feature-flags": "^1.1.0",
|
|
48
48
|
"@atlaskit/popper": "^7.0.0",
|
|
@@ -67,8 +67,8 @@
|
|
|
67
67
|
"@atlaskit/docs": "^10.0.0",
|
|
68
68
|
"@atlaskit/form": "^12.0.0",
|
|
69
69
|
"@atlaskit/heading": "^5.1.0",
|
|
70
|
-
"@atlaskit/link": "^3.
|
|
71
|
-
"@atlaskit/modal-dialog": "^14.
|
|
70
|
+
"@atlaskit/link": "^3.1.0",
|
|
71
|
+
"@atlaskit/modal-dialog": "^14.1.0",
|
|
72
72
|
"@atlaskit/popup": "^3.0.0",
|
|
73
73
|
"@atlaskit/range": "^9.0.0",
|
|
74
74
|
"@atlaskit/section-message": "^8.2.0",
|
|
@@ -76,6 +76,7 @@
|
|
|
76
76
|
"@atlaskit/textfield": "^8.0.0",
|
|
77
77
|
"@atlaskit/toggle": "^15.0.0",
|
|
78
78
|
"@atlaskit/visual-regression": "^0.10.0",
|
|
79
|
+
"@atlassian/ssr-tests": "^0.2.0",
|
|
79
80
|
"@testing-library/react": "^13.4.0",
|
|
80
81
|
"@testing-library/user-event": "^14.4.3",
|
|
81
82
|
"@types/testing-library__jest-dom": "^5.14.5",
|
|
@@ -94,9 +95,14 @@
|
|
|
94
95
|
"dom-events": "use-bind-event-listener",
|
|
95
96
|
"design-system": "v1",
|
|
96
97
|
"styling": [
|
|
97
|
-
"
|
|
98
|
+
"static",
|
|
98
99
|
"emotion"
|
|
99
100
|
],
|
|
101
|
+
"ui-components": [
|
|
102
|
+
"primitives",
|
|
103
|
+
"lite-mode"
|
|
104
|
+
],
|
|
105
|
+
"analytics": "analytics-next",
|
|
100
106
|
"design-tokens": [
|
|
101
107
|
"color",
|
|
102
108
|
"spacing"
|