@elliemae/ds-date-range-selector 2.4.2-rc.3 → 2.4.3-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.
|
@@ -31,7 +31,7 @@ const CustomOptionRender = _ref => {
|
|
|
31
31
|
} = _ref;
|
|
32
32
|
const start = startDate ? startDate.format('MM/DD/YYYY') : null;
|
|
33
33
|
const end = endDate ? endDate.format('MM/DD/YYYY') : null;
|
|
34
|
-
const display =
|
|
34
|
+
const display = `From ${start} to ${end}` || 'Custom';
|
|
35
35
|
return /*#__PURE__*/_jsx__default["default"]("em", {
|
|
36
36
|
className: cssClassName
|
|
37
37
|
}, void 0, display);
|
|
@@ -5,7 +5,6 @@ var _jsx = require('@babel/runtime/helpers/jsx');
|
|
|
5
5
|
require('core-js/modules/esnext.async-iterator.find.js');
|
|
6
6
|
require('core-js/modules/esnext.iterator.constructor.js');
|
|
7
7
|
require('core-js/modules/esnext.iterator.find.js');
|
|
8
|
-
require('core-js/modules/web.dom-collections.iterator.js');
|
|
9
8
|
require('core-js/modules/esnext.async-iterator.filter.js');
|
|
10
9
|
require('core-js/modules/esnext.iterator.filter.js');
|
|
11
10
|
require('core-js/modules/esnext.async-iterator.for-each.js');
|
|
@@ -182,11 +181,11 @@ class DateTimeRecurenceSelectorImpl extends react.Component {
|
|
|
182
181
|
}
|
|
183
182
|
|
|
184
183
|
return /*#__PURE__*/jsxRuntime.jsxs("div", _objectSpread(_objectSpread({}, containerProps), {}, {
|
|
185
|
-
className:
|
|
184
|
+
className: `${cssClassName} ${className}`,
|
|
186
185
|
children: [/*#__PURE__*/_jsx__default["default"]("div", {
|
|
187
|
-
className:
|
|
186
|
+
className: `${classNameBlock('container-selector')}`
|
|
188
187
|
}, void 0, /*#__PURE__*/_jsx__default["default"](dsForm.DSComboBox, {
|
|
189
|
-
className:
|
|
188
|
+
className: `${classNameElement('dropdown-field-selector')}`,
|
|
190
189
|
components: {
|
|
191
190
|
Option: props => /*#__PURE__*/jsxRuntime.jsx(reactSelect.components.Option, _objectSpread({}, props)),
|
|
192
191
|
IndicatorSeparator: () => null
|
|
@@ -25,7 +25,7 @@ const CustomOptionRender = _ref => {
|
|
|
25
25
|
} = _ref;
|
|
26
26
|
const start = startDate ? startDate.format('MM/DD/YYYY') : null;
|
|
27
27
|
const end = endDate ? endDate.format('MM/DD/YYYY') : null;
|
|
28
|
-
const display =
|
|
28
|
+
const display = `From ${start} to ${end}` || 'Custom';
|
|
29
29
|
return /*#__PURE__*/_jsx("em", {
|
|
30
30
|
className: cssClassName
|
|
31
31
|
}, void 0, display);
|
|
@@ -3,7 +3,6 @@ import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
|
3
3
|
import 'core-js/modules/esnext.async-iterator.find.js';
|
|
4
4
|
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
5
5
|
import 'core-js/modules/esnext.iterator.find.js';
|
|
6
|
-
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
7
6
|
import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
8
7
|
import 'core-js/modules/esnext.iterator.filter.js';
|
|
9
8
|
import 'core-js/modules/esnext.async-iterator.for-each.js';
|
|
@@ -173,11 +172,11 @@ class DateTimeRecurenceSelectorImpl extends Component {
|
|
|
173
172
|
}
|
|
174
173
|
|
|
175
174
|
return /*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({}, containerProps), {}, {
|
|
176
|
-
className:
|
|
175
|
+
className: `${cssClassName} ${className}`,
|
|
177
176
|
children: [/*#__PURE__*/_jsx("div", {
|
|
178
|
-
className:
|
|
177
|
+
className: `${classNameBlock('container-selector')}`
|
|
179
178
|
}, void 0, /*#__PURE__*/_jsx(DSComboBox, {
|
|
180
|
-
className:
|
|
179
|
+
className: `${classNameElement('dropdown-field-selector')}`,
|
|
181
180
|
components: {
|
|
182
181
|
Option: props => /*#__PURE__*/jsx(components.Option, _objectSpread({}, props)),
|
|
183
182
|
IndicatorSeparator: () => null
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-date-range-selector",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.3-rc.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Date Range Selector",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -48,11 +48,11 @@
|
|
|
48
48
|
"build": "node ../../scripts/build/build.js"
|
|
49
49
|
},
|
|
50
50
|
"dependencies": {
|
|
51
|
-
"@elliemae/ds-classnames": "2.4.
|
|
52
|
-
"@elliemae/ds-date-picker": "2.4.
|
|
53
|
-
"@elliemae/ds-form": "2.4.
|
|
54
|
-
"@elliemae/ds-icons": "2.4.
|
|
55
|
-
"@elliemae/ds-popper": "2.4.
|
|
51
|
+
"@elliemae/ds-classnames": "2.4.3-rc.0",
|
|
52
|
+
"@elliemae/ds-date-picker": "2.4.3-rc.0",
|
|
53
|
+
"@elliemae/ds-form": "2.4.3-rc.0",
|
|
54
|
+
"@elliemae/ds-icons": "2.4.3-rc.0",
|
|
55
|
+
"@elliemae/ds-popper": "2.4.3-rc.0",
|
|
56
56
|
"moment": "~2.29.1",
|
|
57
57
|
"react-dates": "~21.8.0",
|
|
58
58
|
"react-desc": "~4.1.3",
|