@synerise/ds-date-picker 1.0.4 → 1.1.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 +19 -0
- package/dist/DatePicker.js +2 -2
- package/dist/Elements/DayPicker/DayPicker.js +2 -2
- package/dist/Elements/DecadePicker/DecadePicker.js +3 -3
- package/dist/Elements/Footer/Footer.js +2 -2
- package/dist/Elements/GridPicker/GridPicker.js +3 -3
- package/dist/Elements/MonthPicker/MonthPicker.js +3 -3
- package/dist/Elements/PickerInput/PickerInput.d.ts +1 -1
- package/dist/Elements/PickerInput/PickerInput.js +6 -16
- package/dist/Elements/PickerInput/PickerInput.styles.d.ts +17 -1
- package/dist/Elements/TimePicker/TimePicker.js +1 -1
- package/dist/Elements/YearPicker/YearPicker.js +3 -3
- package/dist/RawDatePicker/RawDatePicker.js +3 -3
- package/dist/localeUtils.js +1 -1
- package/dist/utils/getDefaultTexts.js +1 -1
- package/package.json +8 -8
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [1.1.1](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.1.0...@synerise/ds-date-picker@1.1.1) (2025-04-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @synerise/ds-date-picker
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
# [1.1.0](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.0.4...@synerise/ds-date-picker@1.1.0) (2025-04-16)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Features
|
|
18
|
+
|
|
19
|
+
* **form-field:** add form-field component ([7f6b191](https://github.com/Synerise/synerise-design/commit/7f6b191132a3b0d694c21fb4d649f4deea6acb89))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
## [1.0.4](https://github.com/Synerise/synerise-design/compare/@synerise/ds-date-picker@1.0.3...@synerise/ds-date-picker@1.0.4) (2025-04-02)
|
|
7
26
|
|
|
8
27
|
**Note:** Version bump only for package @synerise/ds-date-picker
|
package/dist/DatePicker.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["autoFocus", "disabled", "texts", "format", "valueFormatOptions", "value", "onApply", "showTime", "onValueChange", "onClear", "errorText", "popoverPlacement", "prefixel", "error", "onDropdownVisibleChange", "dropdownProps", "suffixel", "hideNow", "readOnly", "renderTrigger", "inputProps", "allowClear"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
5
5
|
import { useIntl } from 'react-intl';
|
|
6
6
|
import Dropdown from '@synerise/ds-dropdown';
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["month", "onMonthChange", "onMonthNameClick", "onYearNameClick", "hideLongNext", "hideLongPrev", "hideShortNext", "hideShortPrev", "renderNavbar", "intl", "modifiers"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { injectIntl } from 'react-intl';
|
|
6
6
|
import { useDataFormat } from '@synerise/ds-data-format';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
2
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { range } from 'lodash';
|
|
5
5
|
import { legacyParse } from '@date-fns/upgrade/v2';
|
|
@@ -23,7 +23,6 @@ function getCells(cursor) {
|
|
|
23
23
|
});
|
|
24
24
|
}
|
|
25
25
|
var DecadePicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
26
|
-
_inheritsLoose(DecadePicker, _React$PureComponent);
|
|
27
26
|
function DecadePicker() {
|
|
28
27
|
var _this;
|
|
29
28
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -57,6 +56,7 @@ var DecadePicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
57
56
|
};
|
|
58
57
|
return _this;
|
|
59
58
|
}
|
|
59
|
+
_inheritsLoose(DecadePicker, _React$PureComponent);
|
|
60
60
|
var _proto = DecadePicker.prototype;
|
|
61
61
|
_proto.getSnapshotBeforeUpdate = function getSnapshotBeforeUpdate(prevProps) {
|
|
62
62
|
var value = this.props.value;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var _excluded = ["text", "canApply", "onApply", "intl", "canSwitchMode", "onSwitchMode", "mode", "dateOnly", "message", "texts", "hideNow"];
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React from 'react';
|
|
5
5
|
import { injectIntl } from 'react-intl';
|
|
6
6
|
import { v4 as uuid } from 'uuid';
|
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
2
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import classNames from 'classnames';
|
|
5
5
|
import * as S from './GridPicker.styles';
|
|
6
6
|
var GridPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
7
|
-
_inheritsLoose(GridPicker, _React$PureComponent);
|
|
8
7
|
function GridPicker() {
|
|
9
8
|
var _this;
|
|
10
9
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -39,6 +38,7 @@ var GridPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
39
38
|
};
|
|
40
39
|
return _this;
|
|
41
40
|
}
|
|
41
|
+
_inheritsLoose(GridPicker, _React$PureComponent);
|
|
42
42
|
var _proto = GridPicker.prototype;
|
|
43
43
|
_proto.render = function render() {
|
|
44
44
|
var cells = this.props.cells;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
2
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { injectIntl } from 'react-intl';
|
|
5
5
|
import { range } from 'lodash';
|
|
@@ -28,7 +28,6 @@ function getCells(cursor, min, max, locale) {
|
|
|
28
28
|
});
|
|
29
29
|
}
|
|
30
30
|
var MonthPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
31
|
-
_inheritsLoose(MonthPicker, _React$PureComponent);
|
|
32
31
|
function MonthPicker() {
|
|
33
32
|
var _this;
|
|
34
33
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -50,6 +49,7 @@ var MonthPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
50
49
|
};
|
|
51
50
|
return _this;
|
|
52
51
|
}
|
|
52
|
+
_inheritsLoose(MonthPicker, _React$PureComponent);
|
|
53
53
|
var _proto = MonthPicker.prototype;
|
|
54
54
|
_proto.getSnapshotBeforeUpdate = function getSnapshotBeforeUpdate(prevProps) {
|
|
55
55
|
var value = this.props.value;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { PickerInputProps } from './PickerInput.types';
|
|
3
|
-
declare const PickerInput: ({
|
|
3
|
+
declare const PickerInput: ({ disabled, readOnly, value, format: dateFormat, valueFormatOptions, onChange, showTime, onClear, onClick, clearTooltip, highlight, prefixel, suffixel, allowClear, ...rest }: PickerInputProps) => React.JSX.Element;
|
|
4
4
|
export default PickerInput;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
var _excluded = ["
|
|
2
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
3
|
-
function _objectWithoutPropertiesLoose(
|
|
1
|
+
var _excluded = ["disabled", "readOnly", "value", "format", "valueFormatOptions", "onChange", "showTime", "onClear", "onClick", "clearTooltip", "highlight", "prefixel", "suffixel", "allowClear"];
|
|
2
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
3
|
+
function _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }
|
|
4
4
|
import React, { useCallback, useMemo, useState } from 'react';
|
|
5
5
|
import Icon, { CalendarM, Close3S } from '@synerise/ds-icon';
|
|
6
6
|
import Tooltip from '@synerise/ds-tooltip';
|
|
@@ -9,22 +9,17 @@ import { legacyParse } from '@date-fns/upgrade/v2';
|
|
|
9
9
|
import * as S from './PickerInput.styles';
|
|
10
10
|
import format from '../../format';
|
|
11
11
|
var PickerInput = function PickerInput(_ref) {
|
|
12
|
-
var
|
|
13
|
-
size = _ref.size,
|
|
14
|
-
disabled = _ref.disabled,
|
|
12
|
+
var disabled = _ref.disabled,
|
|
15
13
|
readOnly = _ref.readOnly,
|
|
16
14
|
value = _ref.value,
|
|
17
15
|
dateFormat = _ref.format,
|
|
18
16
|
valueFormatOptions = _ref.valueFormatOptions,
|
|
19
17
|
onChange = _ref.onChange,
|
|
20
18
|
showTime = _ref.showTime,
|
|
21
|
-
placeholder = _ref.placeholder,
|
|
22
19
|
onClear = _ref.onClear,
|
|
23
20
|
onClick = _ref.onClick,
|
|
24
21
|
clearTooltip = _ref.clearTooltip,
|
|
25
22
|
highlight = _ref.highlight,
|
|
26
|
-
error = _ref.error,
|
|
27
|
-
errorText = _ref.errorText,
|
|
28
23
|
prefixel = _ref.prefixel,
|
|
29
24
|
suffixel = _ref.suffixel,
|
|
30
25
|
allowClear = _ref.allowClear,
|
|
@@ -80,18 +75,13 @@ var PickerInput = function PickerInput(_ref) {
|
|
|
80
75
|
} : undefined,
|
|
81
76
|
onClick: !disabled ? handleInputClick : undefined
|
|
82
77
|
}, /*#__PURE__*/React.createElement(S.Input, _extends({
|
|
83
|
-
autoFocus: autoFocus,
|
|
84
78
|
active: !!highlight,
|
|
85
79
|
resetMargin: true,
|
|
86
|
-
readOnly: readOnly,
|
|
87
80
|
type: "text",
|
|
88
|
-
size: size,
|
|
89
|
-
disabled: disabled,
|
|
90
|
-
placeholder: placeholder,
|
|
91
81
|
value: getText(),
|
|
92
82
|
icon1: iconInput,
|
|
93
|
-
|
|
94
|
-
|
|
83
|
+
readOnly: readOnly,
|
|
84
|
+
disabled: disabled
|
|
95
85
|
}, rest))), !!suffixel && /*#__PURE__*/React.createElement(S.Suffixel, null, suffixel));
|
|
96
86
|
};
|
|
97
87
|
export default PickerInput;
|
|
@@ -2,7 +2,23 @@
|
|
|
2
2
|
import { InputProps } from '@synerise/ds-input';
|
|
3
3
|
export declare const Prefixel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
4
4
|
export declare const Suffixel: import("styled-components").StyledComponent<"div", any, {}, never>;
|
|
5
|
-
export declare const Input: import("styled-components").StyledComponent<({ className, errorText, label, description, counterLimit, tooltip, tooltipConfig, icon1, icon1Tooltip, autoResize, icon2, icon2Tooltip, resetMargin, handleInputRef, prefixel, suffixel, error, expandable, expandableTooltip, renderCustomCounter, ...antdInputProps }: InputProps) => import("react").JSX.Element, any,
|
|
5
|
+
export declare const Input: import("styled-components").StyledComponent<({ className, errorText, label, description, counterLimit, tooltip, tooltipConfig, icon1, icon1Tooltip, autoResize, icon2, icon2Tooltip, resetMargin, handleInputRef, prefixel, suffixel, error, expandable, expandableTooltip, renderCustomCounter, ...antdInputProps }: InputProps) => import("react").JSX.Element, any, {
|
|
6
|
+
error?: boolean | undefined;
|
|
7
|
+
className?: string | undefined;
|
|
8
|
+
counterLimit?: number | undefined;
|
|
9
|
+
renderCustomCounter?: ((count?: number | undefined) => import("react").ReactNode) | undefined;
|
|
10
|
+
icon1?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
11
|
+
icon1Tooltip?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
12
|
+
icon2?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
13
|
+
icon2Tooltip?: import("react").ReactElement<any, string | import("react").JSXElementConstructor<any>> | undefined;
|
|
14
|
+
resetMargin?: boolean | undefined;
|
|
15
|
+
handleInputRef?: ((ref: import("react").MutableRefObject<HTMLInputElement | null>) => void) | undefined;
|
|
16
|
+
prefixel?: import("react").ReactNode;
|
|
17
|
+
suffixel?: import("react").ReactNode;
|
|
18
|
+
autoResize?: import("@synerise/ds-input").AutoResizeProp | undefined;
|
|
19
|
+
expandable?: boolean | undefined;
|
|
20
|
+
expandableTooltip?: import("react").ReactNode;
|
|
21
|
+
} & Omit<import("@synerise/ds-form-field").ContentAboveProps, "id" | "rightSide"> & import("@synerise/ds-form-field").ContentBelowProps & import("antd/lib/input").InputProps & {
|
|
6
22
|
active: boolean;
|
|
7
23
|
}, never>;
|
|
8
24
|
export declare const PickerInputWrapper: import("styled-components").StyledComponent<"div", any, {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { useDataFormat, getDefaultDataTimeOptions } from '@synerise/ds-data-format';
|
|
4
4
|
import DSTimePicker from '@synerise/ds-time-picker';
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
2
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { legacyParse } from '@date-fns/upgrade/v2';
|
|
5
5
|
import fnsFormat from '../../format';
|
|
@@ -25,7 +25,6 @@ function getCells(cursor) {
|
|
|
25
25
|
});
|
|
26
26
|
}
|
|
27
27
|
var YearPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
28
|
-
_inheritsLoose(YearPicker, _React$PureComponent);
|
|
29
28
|
function YearPicker() {
|
|
30
29
|
var _this;
|
|
31
30
|
for (var _len = arguments.length, args = new Array(_len), _key = 0; _key < _len; _key++) {
|
|
@@ -59,6 +58,7 @@ var YearPicker = /*#__PURE__*/function (_React$PureComponent) {
|
|
|
59
58
|
};
|
|
60
59
|
return _this;
|
|
61
60
|
}
|
|
61
|
+
_inheritsLoose(YearPicker, _React$PureComponent);
|
|
62
62
|
var _proto = YearPicker.prototype;
|
|
63
63
|
_proto.getSnapshotBeforeUpdate = function getSnapshotBeforeUpdate(prevProps) {
|
|
64
64
|
var value = this.props.value;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
function _inheritsLoose(
|
|
2
|
-
function _setPrototypeOf(
|
|
1
|
+
function _inheritsLoose(t, o) { t.prototype = Object.create(o.prototype), t.prototype.constructor = t, _setPrototypeOf(t, o); }
|
|
2
|
+
function _setPrototypeOf(t, e) { return _setPrototypeOf = Object.setPrototypeOf ? Object.setPrototypeOf.bind() : function (t, e) { return t.__proto__ = e, t; }, _setPrototypeOf(t, e); }
|
|
3
3
|
import React from 'react';
|
|
4
4
|
import { injectIntl } from 'react-intl';
|
|
5
5
|
import { legacyParse } from '@date-fns/upgrade/v2';
|
|
@@ -15,7 +15,6 @@ import { fnsStartOfMonth, fnsSetYear, fnsSetMonth, fnsSetDate, fnsStartOfDay, fn
|
|
|
15
15
|
import { changeDayWithHoursPreserved } from '../utils';
|
|
16
16
|
import { getDefaultTexts } from '../utils/getDefaultTexts';
|
|
17
17
|
var RawDatePicker = /*#__PURE__*/function (_React$Component) {
|
|
18
|
-
_inheritsLoose(RawDatePicker, _React$Component);
|
|
19
18
|
function RawDatePicker(props) {
|
|
20
19
|
var _this;
|
|
21
20
|
_this = _React$Component.call(this, props) || this;
|
|
@@ -205,6 +204,7 @@ var RawDatePicker = /*#__PURE__*/function (_React$Component) {
|
|
|
205
204
|
};
|
|
206
205
|
return _this;
|
|
207
206
|
}
|
|
207
|
+
_inheritsLoose(RawDatePicker, _React$Component);
|
|
208
208
|
var _proto = RawDatePicker.prototype;
|
|
209
209
|
_proto.getTexts = function getTexts() {
|
|
210
210
|
var _this$props3 = this.props,
|
package/dist/localeUtils.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import MomentLocaleUtils from 'react-day-picker/moment';
|
|
3
3
|
var WEEKDAYS_LONG = {
|
|
4
4
|
en: ['Sunday', 'Monday', 'Tuesday', 'Wednesday', 'Thursday', 'Friday', 'Saturday'],
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
function _extends() { _extends = Object.assign ? Object.assign.bind() : function (
|
|
1
|
+
function _extends() { return _extends = Object.assign ? Object.assign.bind() : function (n) { for (var e = 1; e < arguments.length; e++) { var t = arguments[e]; for (var r in t) ({}).hasOwnProperty.call(t, r) && (n[r] = t[r]); } return n; }, _extends.apply(null, arguments); }
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { FormattedMessage } from 'react-intl';
|
|
4
4
|
export var getDefaultTexts = function getDefaultTexts(intl, texts) {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@synerise/ds-date-picker",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.1.1",
|
|
4
4
|
"description": "DatePicker UI Component for the Synerise Design System",
|
|
5
5
|
"license": "ISC",
|
|
6
6
|
"repository": "Synerise/synerise-design",
|
|
@@ -35,13 +35,13 @@
|
|
|
35
35
|
"types": "dist/index.d.ts",
|
|
36
36
|
"dependencies": {
|
|
37
37
|
"@date-fns/upgrade": "^1.0.3",
|
|
38
|
-
"@synerise/ds-button": "^1.1.
|
|
38
|
+
"@synerise/ds-button": "^1.1.5",
|
|
39
39
|
"@synerise/ds-data-format": "^1.0.0",
|
|
40
|
-
"@synerise/ds-dropdown": "^1.0.
|
|
41
|
-
"@synerise/ds-icon": "^1.
|
|
42
|
-
"@synerise/ds-input": "^1.
|
|
43
|
-
"@synerise/ds-time-picker": "^1.
|
|
44
|
-
"@synerise/ds-tooltip": "^1.1.
|
|
40
|
+
"@synerise/ds-dropdown": "^1.0.6",
|
|
41
|
+
"@synerise/ds-icon": "^1.4.1",
|
|
42
|
+
"@synerise/ds-input": "^1.1.1",
|
|
43
|
+
"@synerise/ds-time-picker": "^1.1.1",
|
|
44
|
+
"@synerise/ds-tooltip": "^1.1.5",
|
|
45
45
|
"@synerise/ds-utils": "^1.0.1",
|
|
46
46
|
"classnames": "2.3.2",
|
|
47
47
|
"date-fns": "2.16.1",
|
|
@@ -56,5 +56,5 @@
|
|
|
56
56
|
"react-intl": ">=3.12.0 <= 6.8",
|
|
57
57
|
"styled-components": "^5.3.3"
|
|
58
58
|
},
|
|
59
|
-
"gitHead": "
|
|
59
|
+
"gitHead": "fc601270d3c84a5a52b62473a01f1b3c1c7014a7"
|
|
60
60
|
}
|