@elliemae/ds-date-range-selector 2.4.3-rc.4 → 2.4.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.
@@ -27,8 +27,7 @@ const DSDateRangeSelector = _ref => {
27
27
  startDate = null,
28
28
  endDate = null,
29
29
  displayFormatDay = 'D',
30
- disableCustomOption = false,
31
- hasError = false
30
+ disableCustomOption = false
32
31
  } = _ref;
33
32
  return /*#__PURE__*/_jsx__default["default"](DateRangeSelectorImpl, {
34
33
  className: className,
@@ -41,8 +40,7 @@ const DSDateRangeSelector = _ref => {
41
40
  onChange: onChange,
42
41
  placeholder: placeholder,
43
42
  startDate: startDate,
44
- value: value,
45
- hasError: hasError
43
+ value: value
46
44
  });
47
45
  };
48
46
  const dateRangeRecurrenceSelectorProps = {
@@ -67,6 +65,5 @@ DateRangeRecurrenceSelectorWithSchema.propTypes = dateRangeRecurrenceSelectorPro
67
65
  exports.CUSTOM_OPTION_VALUE = dropdownPreselectedOptions.CUSTOM_OPTION_VALUE;
68
66
  exports.DropdownOptionsTypes = dropdownPreselectedOptions.DropdownOptionsTypes;
69
67
  exports.dropdownPreselectedOptions = dropdownPreselectedOptions.dropdownPreselectedOptions;
70
- exports.DSDateRangeSelector = DSDateRangeSelector;
71
68
  exports.DateRangeRecurrenceSelectorWithSchema = DateRangeRecurrenceSelectorWithSchema;
72
69
  exports["default"] = DSDateRangeSelector;
@@ -163,8 +163,7 @@ class DateTimeRecurenceSelectorImpl extends react.Component {
163
163
  displayFormatDay,
164
164
  className,
165
165
  disableCustomOption,
166
- containerProps,
167
- hasError
166
+ containerProps
168
167
  } = this.props;
169
168
  const {
170
169
  selected,
@@ -196,7 +195,6 @@ class DateTimeRecurenceSelectorImpl extends react.Component {
196
195
  options: options,
197
196
  placeholder: placeholder,
198
197
  value: selected,
199
- hasError: hasError,
200
198
  keepTypedValue: false // TEMPORARY FIX
201
199
 
202
200
  })), /*#__PURE__*/_jsx__default["default"](DSPopper__default["default"], {
package/cjs/index.js CHANGED
@@ -7,7 +7,6 @@ var dropdownPreselectedOptions = require('./options/dropdownPreselectedOptions.j
7
7
 
8
8
 
9
9
 
10
- exports.DSDateRangeSelector = DSDateRangeSelector.DSDateRangeSelector;
11
10
  exports.DateRangeRecurrenceSelectorWithSchema = DSDateRangeSelector.DateRangeRecurrenceSelectorWithSchema;
12
- exports["default"] = DSDateRangeSelector.DSDateRangeSelector;
11
+ exports["default"] = DSDateRangeSelector["default"];
13
12
  exports.CUSTOM_OPTION_VALUE = dropdownPreselectedOptions.CUSTOM_OPTION_VALUE;
@@ -19,8 +19,7 @@ const DSDateRangeSelector = _ref => {
19
19
  startDate = null,
20
20
  endDate = null,
21
21
  displayFormatDay = 'D',
22
- disableCustomOption = false,
23
- hasError = false
22
+ disableCustomOption = false
24
23
  } = _ref;
25
24
  return /*#__PURE__*/_jsx(DateTimeRecurenceSelectorImpl, {
26
25
  className: className,
@@ -33,8 +32,7 @@ const DSDateRangeSelector = _ref => {
33
32
  onChange: onChange,
34
33
  placeholder: placeholder,
35
34
  startDate: startDate,
36
- value: value,
37
- hasError: hasError
35
+ value: value
38
36
  });
39
37
  };
40
38
  const dateRangeRecurrenceSelectorProps = {
@@ -56,4 +54,4 @@ const dateRangeRecurrenceSelectorProps = {
56
54
  const DateRangeRecurrenceSelectorWithSchema = describe(DSDateRangeSelector);
57
55
  DateRangeRecurrenceSelectorWithSchema.propTypes = dateRangeRecurrenceSelectorProps;
58
56
 
59
- export { DSDateRangeSelector, DateRangeRecurrenceSelectorWithSchema, DSDateRangeSelector as default };
57
+ export { DateRangeRecurrenceSelectorWithSchema, DSDateRangeSelector as default };
@@ -154,8 +154,7 @@ class DateTimeRecurenceSelectorImpl extends Component {
154
154
  displayFormatDay,
155
155
  className,
156
156
  disableCustomOption,
157
- containerProps,
158
- hasError
157
+ containerProps
159
158
  } = this.props;
160
159
  const {
161
160
  selected,
@@ -187,7 +186,6 @@ class DateTimeRecurenceSelectorImpl extends Component {
187
186
  options: options,
188
187
  placeholder: placeholder,
189
188
  value: selected,
190
- hasError: hasError,
191
189
  keepTypedValue: false // TEMPORARY FIX
192
190
 
193
191
  })), /*#__PURE__*/_jsx(DSPopper, {
package/esm/index.js CHANGED
@@ -1,2 +1,2 @@
1
- export { DSDateRangeSelector, DateRangeRecurrenceSelectorWithSchema, DSDateRangeSelector as default } from './DSDateRangeSelector.js';
1
+ export { DateRangeRecurrenceSelectorWithSchema, default } from './DSDateRangeSelector.js';
2
2
  export { CUSTOM_OPTION_VALUE } from './options/dropdownPreselectedOptions.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-date-range-selector",
3
- "version": "2.4.3-rc.4",
3
+ "version": "2.4.3",
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.3-rc.4",
52
- "@elliemae/ds-date-picker": "2.4.3-rc.4",
53
- "@elliemae/ds-form": "2.4.3-rc.4",
54
- "@elliemae/ds-icons": "2.4.3-rc.4",
55
- "@elliemae/ds-popper": "2.4.3-rc.4",
51
+ "@elliemae/ds-classnames": "2.4.3",
52
+ "@elliemae/ds-date-picker": "2.4.3",
53
+ "@elliemae/ds-form": "2.4.3",
54
+ "@elliemae/ds-icons": "2.4.3",
55
+ "@elliemae/ds-popper": "2.4.3",
56
56
  "moment": "~2.29.1",
57
57
  "react-dates": "~21.8.0",
58
58
  "react-desc": "~4.1.3",
@@ -2,7 +2,7 @@
2
2
  /// <reference types="react" />
3
3
  import { DropdownOptionsTypes, dropdownPreselectedOptions, CUSTOM_OPTION_VALUE } from './options/dropdownPreselectedOptions';
4
4
  declare const DSDateRangeSelector: {
5
- ({ containerProps, className, preselectedOptions, onChange, placeholder, value, customOptionRender, startDate, endDate, displayFormatDay, disableCustomOption, hasError, }: {
5
+ ({ containerProps, className, preselectedOptions, onChange, placeholder, value, customOptionRender, startDate, endDate, displayFormatDay, disableCustomOption, }: {
6
6
  containerProps?: {} | undefined;
7
7
  className?: string | undefined;
8
8
  preselectedOptions?: {
@@ -22,7 +22,6 @@ declare const DSDateRangeSelector: {
22
22
  endDate?: null | undefined;
23
23
  displayFormatDay?: string | undefined;
24
24
  disableCustomOption?: boolean | undefined;
25
- hasError?: boolean | undefined;
26
25
  }): JSX.Element;
27
26
  propTypes: {
28
27
  containerProps: {
@@ -84,11 +83,11 @@ declare const DSDateRangeSelector: {
84
83
  };
85
84
  };
86
85
  };
87
- export { CUSTOM_OPTION_VALUE, dropdownPreselectedOptions, DropdownOptionsTypes };
86
+ export { CUSTOM_OPTION_VALUE, dropdownPreselectedOptions, DropdownOptionsTypes, };
88
87
  declare const DateRangeRecurrenceSelectorWithSchema: {
89
88
  (props?: unknown): JSX.Element;
90
89
  propTypes: unknown;
91
90
  toTypescript: () => import("react-desc").TypescriptSchema;
92
91
  };
93
- export { DateRangeRecurrenceSelectorWithSchema, DSDateRangeSelector };
92
+ export { DateRangeRecurrenceSelectorWithSchema };
94
93
  export default DSDateRangeSelector;
package/types/index.d.ts CHANGED
@@ -1,2 +1,2 @@
1
- export { default, DateRangeRecurrenceSelectorWithSchema, DSDateRangeSelector } from './DSDateRangeSelector';
1
+ export { default, DateRangeRecurrenceSelectorWithSchema, } from './DSDateRangeSelector';
2
2
  export { CUSTOM_OPTION_VALUE } from './DSDateRangeSelector';