@elliemae/ds-date-time-recurrence-picker 2.0.0-next.3 → 2.0.0-next.7
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/components/CustomOptionRender/CustomOptionRender.js +7 -7
- package/cjs/components/DateTimeRangeModal/DateTimeRangeModal.js +1 -0
- package/cjs/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +3 -3
- package/cjs/components/DateTimeRecurenceSelectorImpl.js +4 -3
- package/cjs/components/DayOfMonthPicker/DayOfMonthPicker.js +4 -3
- package/cjs/components/DayOfYearPicker/DayOfYearPicker.js +3 -2
- package/cjs/components/FieldWrapper/FieldWrapper.js +1 -1
- package/cjs/components/LabelWrapper/LabelWrapper.js +1 -1
- package/cjs/components/RepeatPickerInput/RepeatPickerInput.js +1 -0
- package/cjs/components/TimeZonePicker/TimeZonePicker.js +2 -2
- package/esm/components/CustomOptionRender/CustomOptionRender.js +7 -7
- package/esm/components/DateTimeRangeModal/DateTimeRangeModal.js +1 -0
- package/esm/components/DateTimeRangeModalImpl/DateTimeRangeModalImpl.js +3 -3
- package/esm/components/DateTimeRecurenceSelectorImpl.js +4 -3
- package/esm/components/DayOfMonthPicker/DayOfMonthPicker.js +4 -3
- package/esm/components/DayOfYearPicker/DayOfYearPicker.js +3 -2
- package/esm/components/FieldWrapper/FieldWrapper.js +1 -1
- package/esm/components/LabelWrapper/LabelWrapper.js +1 -1
- package/esm/components/RepeatPickerInput/RepeatPickerInput.js +1 -0
- package/esm/components/TimeZonePicker/TimeZonePicker.js +2 -2
- package/package.json +5 -5
- package/cjs/package.json +0 -7
- package/esm/package.json +0 -7
|
@@ -69,23 +69,23 @@ const CustomOptionRender = ({
|
|
|
69
69
|
}) => {
|
|
70
70
|
let display = 'Custom'; // frequency
|
|
71
71
|
|
|
72
|
-
if (qtyRepeatPickerInput === 1) display = typeRepeat[typeRepeatPickerInput];else display =
|
|
72
|
+
if (qtyRepeatPickerInput === 1) display = typeRepeat[typeRepeatPickerInput];else display = "every ".concat(qtyRepeatPickerInput, " ").concat(typeRepeatPickerInput, "s"); // type
|
|
73
73
|
|
|
74
74
|
if (typeRepeatPickerInput === dropdownRepeatOptions.DropdownRepeatOptionsTypes.WEEK) {
|
|
75
|
-
display += dayOfWeekOptionsEnable ?
|
|
75
|
+
display += dayOfWeekOptionsEnable ? " on ".concat(dayWeekRepeatPickerInput, " ") : '';
|
|
76
76
|
} else if (typeRepeatPickerInput === dropdownRepeatOptions.DropdownRepeatOptionsTypes.MONTH) {
|
|
77
|
-
display += dayOfMonthOptionsEnable ?
|
|
77
|
+
display += dayOfMonthOptionsEnable ? " ".concat(dayOfMonthRepeatPickerInput, " ") : '';
|
|
78
78
|
} else if (typeRepeatPickerInput === dropdownRepeatOptions.DropdownRepeatOptionsTypes.YEAR) {
|
|
79
|
-
display += dayOfYearOptionsEnable ?
|
|
79
|
+
display += dayOfYearOptionsEnable ? " ".concat(dayOfYearRepeatPickerInput, " ") : '';
|
|
80
80
|
} // start & end
|
|
81
81
|
|
|
82
82
|
|
|
83
83
|
if (startDateInput && startDateInput.format) {
|
|
84
|
-
display +=
|
|
84
|
+
display += " starting on ".concat(startDateInput.format('MM/DD/YYYY'), " at ").concat(startTimeInput.format('HH:mm A'));
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
if (endTypeInput === endTypesOptions.endTypes.ON) display +=
|
|
88
|
-
if (useTimezoneSelector && timezonePickerInput) display +=
|
|
87
|
+
if (endTypeInput === endTypesOptions.endTypes.ON) display += ", until ".concat(endDateInput.format('MM/DD/YYYY'), " ");else if (endTypeInput === endTypesOptions.endTypes.AFTER) display += ", for ".concat(endTimesInput, " times");
|
|
88
|
+
if (useTimezoneSelector && timezonePickerInput) display += " [".concat(timezonePickerInput, "]");
|
|
89
89
|
return /*#__PURE__*/_jsx__default["default"]("em", {}, void 0, display);
|
|
90
90
|
};
|
|
91
91
|
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
4
4
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
5
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var DSModal = require('@elliemae/ds-modal');
|
|
7
8
|
var DateTimeRangeModalImpl = require('../DateTimeRangeModalImpl/DateTimeRangeModalImpl.js');
|
|
@@ -177,7 +177,7 @@ class DateTimePredefinedRangeSelectorImpl extends React.Component {
|
|
|
177
177
|
dayOfMonthRepeatPickerInput: value,
|
|
178
178
|
dayOfMonthRepeatPickerKey: option.dayOfMonthRepeatPickerKey,
|
|
179
179
|
alertModal: option.number > 28 || (option.numberLabel || '').includes('Fifth'),
|
|
180
|
-
alertReplace: option.number ||
|
|
180
|
+
alertReplace: option.number || "".concat(option.numberLabel, " ")
|
|
181
181
|
}, () => {
|
|
182
182
|
this.onChange();
|
|
183
183
|
});
|
|
@@ -240,7 +240,7 @@ class DateTimePredefinedRangeSelectorImpl extends React.Component {
|
|
|
240
240
|
displayYearCustomOption
|
|
241
241
|
} = this.props;
|
|
242
242
|
return /*#__PURE__*/_jsx__default["default"]("div", {
|
|
243
|
-
className:
|
|
243
|
+
className: "".concat(cssClassName)
|
|
244
244
|
}, void 0, /*#__PURE__*/_jsx__default["default"](StartDateTime, {
|
|
245
245
|
onStartDateChange: this.onStartDateChangeInput,
|
|
246
246
|
onStartTimeChange: this.onStartTimeChangeInput,
|
|
@@ -292,7 +292,7 @@ class DateTimePredefinedRangeSelectorImpl extends React.Component {
|
|
|
292
292
|
}), /*#__PURE__*/_jsx__default["default"](DSModal__default["default"], {
|
|
293
293
|
className: "datetime-alert-modal",
|
|
294
294
|
isOpen: alertModal,
|
|
295
|
-
modalTitle:
|
|
295
|
+
modalTitle: "Some months have fewer than ".concat(alertReplace, " days") // modalType={modalType}
|
|
296
296
|
,
|
|
297
297
|
onClose: () => this.setState({
|
|
298
298
|
alertModal: false
|
|
@@ -2,6 +2,7 @@
|
|
|
2
2
|
|
|
3
3
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
4
4
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
5
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
5
6
|
var React = require('react');
|
|
6
7
|
var lodash = require('lodash');
|
|
7
8
|
require('react-dates/initialize');
|
|
@@ -212,11 +213,11 @@ class DateTimeRecurenceSelectorImpl extends React.Component {
|
|
|
212
213
|
} = this.state;
|
|
213
214
|
const options = [...dropdownPreselectedOptions, advanceOption];
|
|
214
215
|
return /*#__PURE__*/jsxRuntime.jsxs("div", _objectSpread(_objectSpread({}, containerProps), {}, {
|
|
215
|
-
className:
|
|
216
|
+
className: "".concat(cssClassName, " ").concat(className),
|
|
216
217
|
children: [/*#__PURE__*/_jsx__default["default"]("div", {
|
|
217
|
-
className:
|
|
218
|
+
className: "".concat(classNameBlock('container-selector'))
|
|
218
219
|
}, void 0, /*#__PURE__*/_jsx__default["default"](DSComboBox__default["default"], {
|
|
219
|
-
className:
|
|
220
|
+
className: "".concat(classNameElement('dropdown-field-selector')),
|
|
220
221
|
components: {
|
|
221
222
|
Option: props => /*#__PURE__*/jsxRuntime.jsx(reactSelect.components.Option, _objectSpread(_objectSpread({}, props), {}, {
|
|
222
223
|
allowMultipleDaysOfWeek: allowMultipleDaysOfWeek,
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
4
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
4
5
|
require('react');
|
|
5
6
|
var DSComboBox = require('@elliemae/ds-basic/form/ComboBox');
|
|
6
7
|
var nthday = require('../helpers/nthday.js');
|
|
@@ -27,8 +28,8 @@ const DaysOfMonthPicker = ({
|
|
|
27
28
|
let options = dayOfMonthOptions;
|
|
28
29
|
|
|
29
30
|
if (displayOptionsAsCurrentDate) {
|
|
30
|
-
const numberoption =
|
|
31
|
-
const nthoption =
|
|
31
|
+
const numberoption = "on the ".concat(currentDate.format('Do'), " of the month");
|
|
32
|
+
const nthoption = "on the ".concat(nthday.nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd'), " of the month");
|
|
32
33
|
options = [];
|
|
33
34
|
|
|
34
35
|
if (dayOfMonthAsCurrentDateOptions.indexOf('numberOfMonth') > -1) {
|
|
@@ -42,7 +43,7 @@ const DaysOfMonthPicker = ({
|
|
|
42
43
|
|
|
43
44
|
if (dayOfMonthAsCurrentDateOptions.indexOf('dayOfTheWeekOfMonth') > -1) {
|
|
44
45
|
options.push({
|
|
45
|
-
numberLabel:
|
|
46
|
+
numberLabel: "".concat(nthday.nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd')),
|
|
46
47
|
label: nthoption,
|
|
47
48
|
value: nthoption,
|
|
48
49
|
dayOfMonthRepeatPickerKey: 'dayOfTheWeekOfMonth'
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
3
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
4
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
4
5
|
require('react');
|
|
5
6
|
var DSComboBox = require('@elliemae/ds-basic/form/ComboBox');
|
|
6
7
|
var nthday = require('../helpers/nthday.js');
|
|
@@ -27,8 +28,8 @@ const DaysOfMonthPicker = ({
|
|
|
27
28
|
let options = dayOfMonthOptions;
|
|
28
29
|
|
|
29
30
|
if (displayOptionsAsCurrentDate) {
|
|
30
|
-
const numberoption =
|
|
31
|
-
const nthoption =
|
|
31
|
+
const numberoption = "on the ".concat(currentDate.format('Do'), " of ").concat(currentDate.format('MMMM'));
|
|
32
|
+
const nthoption = "on the ".concat(nthday.nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd'), " of ").concat(currentDate.format('MMMM'));
|
|
32
33
|
options = [];
|
|
33
34
|
|
|
34
35
|
if (dayOfYearAsCurrentDateOptions.indexOf('numberOfYear') > -1) {
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
var _defineProperty = require('@babel/runtime/helpers/defineProperty');
|
|
4
4
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
5
5
|
var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
|
|
6
|
+
require('core-js/modules/web.dom-collections.iterator.js');
|
|
6
7
|
var React = require('react');
|
|
7
8
|
var dsClassnames = require('@elliemae/ds-classnames');
|
|
8
9
|
var DSComboBox = require('@elliemae/ds-basic/form/ComboBox');
|
|
@@ -24,13 +24,13 @@ const TimeZonePicker = ({
|
|
|
24
24
|
timezoneOptions = dropdownTimeZoneOptions.dropdownTimeZoneOptions,
|
|
25
25
|
inputLabel = 'Time Zone'
|
|
26
26
|
}) => /*#__PURE__*/_jsx__default["default"]("div", {
|
|
27
|
-
className:
|
|
27
|
+
className: "".concat(cssClassName)
|
|
28
28
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("div", {
|
|
29
29
|
className: "grid-x"
|
|
30
30
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("div", {
|
|
31
31
|
className: "cell medium-4 large-3"
|
|
32
32
|
}, void 0, /*#__PURE__*/_jsx__default["default"](LabelWrapper, {}, void 0, /*#__PURE__*/_jsx__default["default"]("div", {
|
|
33
|
-
className:
|
|
33
|
+
className: "".concat(classNameElement('label'))
|
|
34
34
|
}, void 0, inputLabel))), /*#__PURE__*/_jsx__default["default"]("div", {
|
|
35
35
|
className: "cell medium-8 large-9"
|
|
36
36
|
}, void 0, /*#__PURE__*/_jsx__default["default"](FieldWrapper, {}, void 0, /*#__PURE__*/_jsx__default["default"](DSComboBox__default["default"], {
|
|
@@ -63,23 +63,23 @@ const CustomOptionRender = ({
|
|
|
63
63
|
}) => {
|
|
64
64
|
let display = 'Custom'; // frequency
|
|
65
65
|
|
|
66
|
-
if (qtyRepeatPickerInput === 1) display = typeRepeat[typeRepeatPickerInput];else display =
|
|
66
|
+
if (qtyRepeatPickerInput === 1) display = typeRepeat[typeRepeatPickerInput];else display = "every ".concat(qtyRepeatPickerInput, " ").concat(typeRepeatPickerInput, "s"); // type
|
|
67
67
|
|
|
68
68
|
if (typeRepeatPickerInput === DropdownRepeatOptionsTypes.WEEK) {
|
|
69
|
-
display += dayOfWeekOptionsEnable ?
|
|
69
|
+
display += dayOfWeekOptionsEnable ? " on ".concat(dayWeekRepeatPickerInput, " ") : '';
|
|
70
70
|
} else if (typeRepeatPickerInput === DropdownRepeatOptionsTypes.MONTH) {
|
|
71
|
-
display += dayOfMonthOptionsEnable ?
|
|
71
|
+
display += dayOfMonthOptionsEnable ? " ".concat(dayOfMonthRepeatPickerInput, " ") : '';
|
|
72
72
|
} else if (typeRepeatPickerInput === DropdownRepeatOptionsTypes.YEAR) {
|
|
73
|
-
display += dayOfYearOptionsEnable ?
|
|
73
|
+
display += dayOfYearOptionsEnable ? " ".concat(dayOfYearRepeatPickerInput, " ") : '';
|
|
74
74
|
} // start & end
|
|
75
75
|
|
|
76
76
|
|
|
77
77
|
if (startDateInput && startDateInput.format) {
|
|
78
|
-
display +=
|
|
78
|
+
display += " starting on ".concat(startDateInput.format('MM/DD/YYYY'), " at ").concat(startTimeInput.format('HH:mm A'));
|
|
79
79
|
}
|
|
80
80
|
|
|
81
|
-
if (endTypeInput === endTypes.ON) display +=
|
|
82
|
-
if (useTimezoneSelector && timezonePickerInput) display +=
|
|
81
|
+
if (endTypeInput === endTypes.ON) display += ", until ".concat(endDateInput.format('MM/DD/YYYY'), " ");else if (endTypeInput === endTypes.AFTER) display += ", for ".concat(endTimesInput, " times");
|
|
82
|
+
if (useTimezoneSelector && timezonePickerInput) display += " [".concat(timezonePickerInput, "]");
|
|
83
83
|
return /*#__PURE__*/_jsx("em", {}, void 0, display);
|
|
84
84
|
};
|
|
85
85
|
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
3
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
4
|
import React from 'react';
|
|
4
5
|
import DSModal from '@elliemae/ds-modal';
|
|
5
6
|
import DateTimePredefinedRangeSelectorImpl from '../DateTimeRangeModalImpl/DateTimeRangeModalImpl.js';
|
|
@@ -168,7 +168,7 @@ class DateTimePredefinedRangeSelectorImpl extends Component {
|
|
|
168
168
|
dayOfMonthRepeatPickerInput: value,
|
|
169
169
|
dayOfMonthRepeatPickerKey: option.dayOfMonthRepeatPickerKey,
|
|
170
170
|
alertModal: option.number > 28 || (option.numberLabel || '').includes('Fifth'),
|
|
171
|
-
alertReplace: option.number ||
|
|
171
|
+
alertReplace: option.number || "".concat(option.numberLabel, " ")
|
|
172
172
|
}, () => {
|
|
173
173
|
this.onChange();
|
|
174
174
|
});
|
|
@@ -231,7 +231,7 @@ class DateTimePredefinedRangeSelectorImpl extends Component {
|
|
|
231
231
|
displayYearCustomOption
|
|
232
232
|
} = this.props;
|
|
233
233
|
return /*#__PURE__*/_jsx("div", {
|
|
234
|
-
className:
|
|
234
|
+
className: "".concat(cssClassName)
|
|
235
235
|
}, void 0, /*#__PURE__*/_jsx(StartDateTime, {
|
|
236
236
|
onStartDateChange: this.onStartDateChangeInput,
|
|
237
237
|
onStartTimeChange: this.onStartTimeChangeInput,
|
|
@@ -283,7 +283,7 @@ class DateTimePredefinedRangeSelectorImpl extends Component {
|
|
|
283
283
|
}), /*#__PURE__*/_jsx(DSModal, {
|
|
284
284
|
className: "datetime-alert-modal",
|
|
285
285
|
isOpen: alertModal,
|
|
286
|
-
modalTitle:
|
|
286
|
+
modalTitle: "Some months have fewer than ".concat(alertReplace, " days") // modalType={modalType}
|
|
287
287
|
,
|
|
288
288
|
onClose: () => this.setState({
|
|
289
289
|
alertModal: false
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
3
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
3
4
|
import { Component } from 'react';
|
|
4
5
|
import { isEqual } from 'lodash';
|
|
5
6
|
import 'react-dates/initialize';
|
|
@@ -204,11 +205,11 @@ class DateTimeRecurenceSelectorImpl extends Component {
|
|
|
204
205
|
} = this.state;
|
|
205
206
|
const options = [...dropdownPreselectedOptions, advanceOption];
|
|
206
207
|
return /*#__PURE__*/jsxs("div", _objectSpread(_objectSpread({}, containerProps), {}, {
|
|
207
|
-
className:
|
|
208
|
+
className: "".concat(cssClassName, " ").concat(className),
|
|
208
209
|
children: [/*#__PURE__*/_jsx("div", {
|
|
209
|
-
className:
|
|
210
|
+
className: "".concat(classNameBlock('container-selector'))
|
|
210
211
|
}, void 0, /*#__PURE__*/_jsx(DSComboBox, {
|
|
211
|
-
className:
|
|
212
|
+
className: "".concat(classNameElement('dropdown-field-selector')),
|
|
212
213
|
components: {
|
|
213
214
|
Option: props => /*#__PURE__*/jsx(components.Option, _objectSpread(_objectSpread({}, props), {}, {
|
|
214
215
|
allowMultipleDaysOfWeek: allowMultipleDaysOfWeek,
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import 'react';
|
|
3
4
|
import DSComboBox from '@elliemae/ds-basic/form/ComboBox';
|
|
4
5
|
import { nthDay } from '../helpers/nthday.js';
|
|
@@ -20,8 +21,8 @@ const DaysOfMonthPicker = ({
|
|
|
20
21
|
let options = dayOfMonthOptions;
|
|
21
22
|
|
|
22
23
|
if (displayOptionsAsCurrentDate) {
|
|
23
|
-
const numberoption =
|
|
24
|
-
const nthoption =
|
|
24
|
+
const numberoption = "on the ".concat(currentDate.format('Do'), " of the month");
|
|
25
|
+
const nthoption = "on the ".concat(nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd'), " of the month");
|
|
25
26
|
options = [];
|
|
26
27
|
|
|
27
28
|
if (dayOfMonthAsCurrentDateOptions.indexOf('numberOfMonth') > -1) {
|
|
@@ -35,7 +36,7 @@ const DaysOfMonthPicker = ({
|
|
|
35
36
|
|
|
36
37
|
if (dayOfMonthAsCurrentDateOptions.indexOf('dayOfTheWeekOfMonth') > -1) {
|
|
37
38
|
options.push({
|
|
38
|
-
numberLabel:
|
|
39
|
+
numberLabel: "".concat(nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd')),
|
|
39
40
|
label: nthoption,
|
|
40
41
|
value: nthoption,
|
|
41
42
|
dayOfMonthRepeatPickerKey: 'dayOfTheWeekOfMonth'
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
2
3
|
import 'react';
|
|
3
4
|
import DSComboBox from '@elliemae/ds-basic/form/ComboBox';
|
|
4
5
|
import { nthDay } from '../helpers/nthday.js';
|
|
@@ -20,8 +21,8 @@ const DaysOfMonthPicker = ({
|
|
|
20
21
|
let options = dayOfMonthOptions;
|
|
21
22
|
|
|
22
23
|
if (displayOptionsAsCurrentDate) {
|
|
23
|
-
const numberoption =
|
|
24
|
-
const nthoption =
|
|
24
|
+
const numberoption = "on the ".concat(currentDate.format('Do'), " of ").concat(currentDate.format('MMMM'));
|
|
25
|
+
const nthoption = "on the ".concat(nthDay(currentDate.toDate()), " ").concat(currentDate.format('dddd'), " of ").concat(currentDate.format('MMMM'));
|
|
25
26
|
options = [];
|
|
26
27
|
|
|
27
28
|
if (dayOfYearAsCurrentDateOptions.indexOf('numberOfYear') > -1) {
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
|
|
2
2
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
3
3
|
import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
|
|
4
|
+
import 'core-js/modules/web.dom-collections.iterator.js';
|
|
4
5
|
import { useState } from 'react';
|
|
5
6
|
import { convertPropToCssClassName } from '@elliemae/ds-classnames';
|
|
6
7
|
import DSComboBox from '@elliemae/ds-basic/form/ComboBox';
|
|
@@ -17,13 +17,13 @@ const TimeZonePicker = ({
|
|
|
17
17
|
timezoneOptions = dropdownTimeZoneOptions,
|
|
18
18
|
inputLabel = 'Time Zone'
|
|
19
19
|
}) => /*#__PURE__*/_jsx("div", {
|
|
20
|
-
className:
|
|
20
|
+
className: "".concat(cssClassName)
|
|
21
21
|
}, void 0, /*#__PURE__*/_jsx("div", {
|
|
22
22
|
className: "grid-x"
|
|
23
23
|
}, void 0, /*#__PURE__*/_jsx("div", {
|
|
24
24
|
className: "cell medium-4 large-3"
|
|
25
25
|
}, void 0, /*#__PURE__*/_jsx(LabelWrapper, {}, void 0, /*#__PURE__*/_jsx("div", {
|
|
26
|
-
className:
|
|
26
|
+
className: "".concat(classNameElement('label'))
|
|
27
27
|
}, void 0, inputLabel))), /*#__PURE__*/_jsx("div", {
|
|
28
28
|
className: "cell medium-8 large-9"
|
|
29
29
|
}, void 0, /*#__PURE__*/_jsx(FieldWrapper, {}, void 0, /*#__PURE__*/_jsx(DSComboBox, {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-date-time-recurrence-picker",
|
|
3
|
-
"version": "2.0.0-next.
|
|
3
|
+
"version": "2.0.0-next.7",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Date Time Recurrence Picker",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -144,10 +144,10 @@
|
|
|
144
144
|
"build": "node ../../scripts/build/build.js"
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@elliemae/ds-basic": "2.0.0-next.
|
|
148
|
-
"@elliemae/ds-classnames": "2.0.0-next.
|
|
149
|
-
"@elliemae/ds-date-picker": "2.0.0-next.
|
|
150
|
-
"@elliemae/ds-modal": "2.0.0-next.
|
|
147
|
+
"@elliemae/ds-basic": "2.0.0-next.7",
|
|
148
|
+
"@elliemae/ds-classnames": "2.0.0-next.7",
|
|
149
|
+
"@elliemae/ds-date-picker": "2.0.0-next.7",
|
|
150
|
+
"@elliemae/ds-modal": "2.0.0-next.7",
|
|
151
151
|
"moment": "~2.29.1",
|
|
152
152
|
"react-dates": "~21.8.0",
|
|
153
153
|
"react-select": "4.3.1",
|
package/cjs/package.json
DELETED