@elliemae/ds-date-range-picker 2.0.1 → 2.1.0-rc.0
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/cjs/DSDateRangePicker.js
CHANGED
|
@@ -25,9 +25,9 @@ var _defineProperty__default = /*#__PURE__*/_interopDefaultLegacy(_definePropert
|
|
|
25
25
|
var _jsx__default = /*#__PURE__*/_interopDefaultLegacy(_jsx);
|
|
26
26
|
var moment__default = /*#__PURE__*/_interopDefaultLegacy(moment);
|
|
27
27
|
|
|
28
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
28
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
29
29
|
|
|
30
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
30
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
31
31
|
|
|
32
32
|
const DSDateRangePicker = _ref => {
|
|
33
33
|
let {
|
|
@@ -24,9 +24,9 @@ var _objectWithoutProperties__default = /*#__PURE__*/_interopDefaultLegacy(_obje
|
|
|
24
24
|
|
|
25
25
|
const _excluded = ["endDate", "startDate", "displayFormatDay", "focusedInput", "enableOutsideDays", "onDatesChange", "onFocusChange", "onOutsideClick", "isDayBlocked", "isDayHighlighted", "isOutsideRange", "onNextMonthClick", "onPrevMonthClick"];
|
|
26
26
|
|
|
27
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
27
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
28
28
|
|
|
29
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
29
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty__default["default"](target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
30
30
|
const {
|
|
31
31
|
classNameElement,
|
|
32
32
|
classNameBlock
|
package/esm/DSDateRangePicker.js
CHANGED
|
@@ -16,9 +16,9 @@ import DSDateRangePickerImpl from './components/DSDateRangePickerImpl.js';
|
|
|
16
16
|
export { END_DATE, START_DATE } from './components/DSDateRangePickerImpl.js';
|
|
17
17
|
import { jsx } from 'react/jsx-runtime';
|
|
18
18
|
|
|
19
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
20
|
|
|
21
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
22
|
|
|
23
23
|
const DSDateRangePicker = _ref => {
|
|
24
24
|
let {
|
|
@@ -16,9 +16,9 @@ import { jsx } from 'react/jsx-runtime';
|
|
|
16
16
|
|
|
17
17
|
const _excluded = ["endDate", "startDate", "displayFormatDay", "focusedInput", "enableOutsideDays", "onDatesChange", "onFocusChange", "onOutsideClick", "isDayBlocked", "isDayHighlighted", "isOutsideRange", "onNextMonthClick", "onPrevMonthClick"];
|
|
18
18
|
|
|
19
|
-
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object);
|
|
19
|
+
function ownKeys(object, enumerableOnly) { var keys = Object.keys(object); if (Object.getOwnPropertySymbols) { var symbols = Object.getOwnPropertySymbols(object); enumerableOnly && (symbols = symbols.filter(function (sym) { return Object.getOwnPropertyDescriptor(object, sym).enumerable; })), keys.push.apply(keys, symbols); } return keys; }
|
|
20
20
|
|
|
21
|
-
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]
|
|
21
|
+
function _objectSpread(target) { for (var i = 1; i < arguments.length; i++) { var source = null != arguments[i] ? arguments[i] : {}; i % 2 ? ownKeys(Object(source), !0).forEach(function (key) { _defineProperty(target, key, source[key]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(target, Object.getOwnPropertyDescriptors(source)) : ownKeys(Object(source)).forEach(function (key) { Object.defineProperty(target, key, Object.getOwnPropertyDescriptor(source, key)); }); } return target; }
|
|
22
22
|
const {
|
|
23
23
|
classNameElement,
|
|
24
24
|
classNameBlock
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-date-range-picker",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.1.0-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Date Range Picker",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -56,11 +56,11 @@
|
|
|
56
56
|
"build": "node ../../scripts/build/build.js"
|
|
57
57
|
},
|
|
58
58
|
"dependencies": {
|
|
59
|
-
"@elliemae/ds-classnames": "2.0.
|
|
60
|
-
"@elliemae/ds-date-picker": "2.0.
|
|
61
|
-
"@elliemae/ds-form": "2.0.
|
|
62
|
-
"@elliemae/ds-icons": "2.0.
|
|
63
|
-
"@elliemae/ds-popper": "2.0.
|
|
59
|
+
"@elliemae/ds-classnames": "2.1.0-rc.0",
|
|
60
|
+
"@elliemae/ds-date-picker": "2.1.0-rc.0",
|
|
61
|
+
"@elliemae/ds-form": "2.1.0-rc.0",
|
|
62
|
+
"@elliemae/ds-icons": "2.1.0-rc.0",
|
|
63
|
+
"@elliemae/ds-popper": "2.1.0-rc.0",
|
|
64
64
|
"moment": "~2.29.1",
|
|
65
65
|
"prop-types": "~15.7.2",
|
|
66
66
|
"react-dates": "~21.8.0",
|
|
@@ -48,16 +48,16 @@ declare const DSDateRangePicker: {
|
|
|
48
48
|
}): JSX.Element;
|
|
49
49
|
propTypes: {
|
|
50
50
|
containerProps: {
|
|
51
|
-
defaultValue
|
|
51
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
52
52
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
53
53
|
};
|
|
54
|
-
isRequired: import("react-desc").
|
|
54
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
55
55
|
};
|
|
56
56
|
className: {
|
|
57
|
-
defaultValue
|
|
57
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
58
58
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
59
59
|
};
|
|
60
|
-
isRequired: import("react-desc").
|
|
60
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
61
61
|
};
|
|
62
62
|
disabled: {
|
|
63
63
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
@@ -72,29 +72,29 @@ declare const DSDateRangePicker: {
|
|
|
72
72
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
73
73
|
};
|
|
74
74
|
id: {
|
|
75
|
-
defaultValue
|
|
75
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
76
76
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
77
77
|
};
|
|
78
|
-
isRequired: import("react-desc").
|
|
78
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
79
79
|
};
|
|
80
80
|
hasError: {
|
|
81
81
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
82
82
|
};
|
|
83
83
|
validationMessage: {
|
|
84
|
-
defaultValue
|
|
84
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
85
85
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
86
86
|
};
|
|
87
|
-
isRequired: import("react-desc").
|
|
87
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
88
88
|
};
|
|
89
89
|
readOnly: any;
|
|
90
90
|
screenReaderInputMessage: {
|
|
91
91
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
92
92
|
};
|
|
93
93
|
initialVisibleMonth: {
|
|
94
|
-
defaultValue
|
|
94
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
95
95
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
96
96
|
};
|
|
97
|
-
isRequired: import("react-desc").
|
|
97
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
98
98
|
};
|
|
99
99
|
firstDayOfWeek: {
|
|
100
100
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
@@ -106,55 +106,55 @@ declare const DSDateRangePicker: {
|
|
|
106
106
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
107
107
|
};
|
|
108
108
|
hideKeyboardShortcutsPanel: {
|
|
109
|
-
defaultValue
|
|
109
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
110
110
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
111
111
|
};
|
|
112
|
-
isRequired: import("react-desc").
|
|
112
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
113
113
|
};
|
|
114
114
|
onPrevMonthClick: {
|
|
115
|
-
defaultValue
|
|
115
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
116
116
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
117
117
|
};
|
|
118
|
-
isRequired: import("react-desc").
|
|
118
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
119
119
|
};
|
|
120
120
|
onNextMonthClick: {
|
|
121
|
-
defaultValue
|
|
121
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
122
122
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
123
123
|
};
|
|
124
|
-
isRequired: import("react-desc").
|
|
124
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
125
125
|
};
|
|
126
126
|
onClose: {
|
|
127
|
-
defaultValue
|
|
127
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
128
128
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
129
129
|
};
|
|
130
|
-
isRequired: import("react-desc").
|
|
130
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
131
131
|
};
|
|
132
132
|
transitionDuration: {
|
|
133
133
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
134
134
|
};
|
|
135
135
|
verticalSpacing: {
|
|
136
|
-
defaultValue
|
|
136
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
137
137
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
138
138
|
};
|
|
139
|
-
isRequired: import("react-desc").
|
|
139
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
140
140
|
};
|
|
141
141
|
isDayBlocked: {
|
|
142
|
-
defaultValue
|
|
142
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
143
143
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
144
144
|
};
|
|
145
|
-
isRequired: import("react-desc").
|
|
145
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
146
146
|
};
|
|
147
147
|
isOutsideRange: {
|
|
148
|
-
defaultValue
|
|
148
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
149
149
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
150
150
|
};
|
|
151
|
-
isRequired: import("react-desc").
|
|
151
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
152
152
|
};
|
|
153
153
|
isDayHighlighted: {
|
|
154
|
-
defaultValue
|
|
154
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
155
155
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
156
156
|
};
|
|
157
|
-
isRequired: import("react-desc").
|
|
157
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
158
158
|
};
|
|
159
159
|
minimumNights: number;
|
|
160
160
|
displayFormat: {
|
|
@@ -164,73 +164,73 @@ declare const DSDateRangePicker: {
|
|
|
164
164
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
165
165
|
};
|
|
166
166
|
phrases: {
|
|
167
|
-
defaultValue
|
|
167
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
168
168
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
169
169
|
};
|
|
170
|
-
isRequired: import("react-desc").
|
|
170
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
171
171
|
};
|
|
172
172
|
startDate: {
|
|
173
|
-
defaultValue
|
|
173
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
174
174
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
175
175
|
};
|
|
176
|
-
isRequired: import("react-desc").
|
|
176
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
177
177
|
};
|
|
178
178
|
endDate: {
|
|
179
|
-
defaultValue
|
|
179
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
180
180
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
181
181
|
};
|
|
182
|
-
isRequired: import("react-desc").
|
|
182
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
183
183
|
};
|
|
184
184
|
startDateId: {
|
|
185
|
-
defaultValue
|
|
185
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
186
186
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
187
187
|
};
|
|
188
|
-
isRequired: import("react-desc").
|
|
188
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
189
189
|
};
|
|
190
190
|
endDateId: {
|
|
191
|
-
defaultValue
|
|
191
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
192
192
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
193
193
|
};
|
|
194
|
-
isRequired: import("react-desc").
|
|
194
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
195
195
|
};
|
|
196
196
|
labelFrom: {
|
|
197
|
-
defaultValue
|
|
197
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
198
198
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
199
199
|
};
|
|
200
|
-
isRequired: import("react-desc").
|
|
200
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
201
201
|
};
|
|
202
202
|
labelTo: {
|
|
203
|
-
defaultValue
|
|
203
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
204
204
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
205
205
|
};
|
|
206
|
-
isRequired: import("react-desc").
|
|
206
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
207
207
|
};
|
|
208
208
|
enableOutsideDays: {
|
|
209
209
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
210
210
|
};
|
|
211
211
|
onDatesChange: {
|
|
212
|
-
defaultValue
|
|
212
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
213
213
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
214
214
|
};
|
|
215
|
-
isRequired: import("react-desc").
|
|
215
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
216
216
|
};
|
|
217
217
|
onChangeStartInput: {
|
|
218
|
-
defaultValue
|
|
218
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
219
219
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
220
220
|
};
|
|
221
|
-
isRequired: import("react-desc").
|
|
221
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
222
222
|
};
|
|
223
223
|
onChangeEndInput: {
|
|
224
|
-
defaultValue
|
|
224
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
225
225
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
226
226
|
};
|
|
227
|
-
isRequired: import("react-desc").
|
|
227
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
228
228
|
};
|
|
229
229
|
onOutsideClick: {
|
|
230
|
-
defaultValue
|
|
230
|
+
defaultValue(arg: import("react-desc").ReactDescPossibleDefaultValues): {
|
|
231
231
|
deprecated: import("react-desc").PropTypesDescValidator;
|
|
232
232
|
};
|
|
233
|
-
isRequired: import("react-desc").
|
|
233
|
+
isRequired: import("react-desc").PropTypesDescValue;
|
|
234
234
|
};
|
|
235
235
|
};
|
|
236
236
|
};
|