@elliemae/ds-date-time-picker 2.0.0-next.0 → 2.0.0-next.5

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.
@@ -3,6 +3,7 @@
3
3
  var _objectWithoutProperties = require('@babel/runtime/helpers/objectWithoutProperties');
4
4
  var _defineProperty = require('@babel/runtime/helpers/defineProperty');
5
5
  var _jsx = require('@babel/runtime/helpers/jsx');
6
+ require('core-js/modules/web.dom-collections.iterator.js');
6
7
  var react = require('react');
7
8
  var moment = require('moment');
8
9
  var dsClassnames = require('@elliemae/ds-classnames');
@@ -83,7 +84,7 @@ const DSDateTimePickerImpl = ({
83
84
  to: TimePicker$1.convertTimeString(disabledTimes.to)
84
85
  };
85
86
  const dateTimePickerWrapperRef = react.useRef();
86
- const fullFormat = `${formatDate} ${format}`;
87
+ const fullFormat = "".concat(formatDate, " ").concat(format);
87
88
  react.useEffect(() => {
88
89
  if (date) {
89
90
  setSelectedDate(moment__default["default"](date));
@@ -1,6 +1,7 @@
1
1
  import _objectWithoutProperties from '@babel/runtime/helpers/esm/objectWithoutProperties';
2
2
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
3
3
  import _jsx from '@babel/runtime/helpers/esm/jsx';
4
+ import 'core-js/modules/web.dom-collections.iterator.js';
4
5
  import { useState, useRef, useEffect, useMemo } from 'react';
5
6
  import moment from 'moment';
6
7
  import { aggregatedClasses } from '@elliemae/ds-classnames';
@@ -72,7 +73,7 @@ const DSDateTimePickerImpl = ({
72
73
  to: convertTimeString(disabledTimes.to)
73
74
  };
74
75
  const dateTimePickerWrapperRef = useRef();
75
- const fullFormat = `${formatDate} ${format}`;
76
+ const fullFormat = "".concat(formatDate, " ").concat(format);
76
77
  useEffect(() => {
77
78
  if (date) {
78
79
  setSelectedDate(moment(date));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-date-time-picker",
3
- "version": "2.0.0-next.0",
3
+ "version": "2.0.0-next.5",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Date Time Picker",
6
6
  "module": "./esm/index.js",
@@ -52,11 +52,11 @@
52
52
  "build": "node ../../scripts/build/build.js"
53
53
  },
54
54
  "dependencies": {
55
- "@elliemae/ds-basic": "2.0.0-next.0",
56
- "@elliemae/ds-classnames": "2.0.0-next.0",
57
- "@elliemae/ds-date-picker": "2.0.0-next.0",
58
- "@elliemae/ds-form": "2.0.0-next.0",
59
- "@elliemae/ds-utilities": "2.0.0-next.0",
55
+ "@elliemae/ds-basic": "2.0.0-next.5",
56
+ "@elliemae/ds-classnames": "2.0.0-next.5",
57
+ "@elliemae/ds-date-picker": "2.0.0-next.5",
58
+ "@elliemae/ds-form": "2.0.0-next.5",
59
+ "@elliemae/ds-utilities": "2.0.0-next.5",
60
60
  "lodash": "~4.17.21",
61
61
  "moment": "~2.29.1",
62
62
  "prop-types": "~15.7.2",
package/cjs/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "commonjs",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }
package/esm/package.json DELETED
@@ -1,7 +0,0 @@
1
- {
2
- "type": "module",
3
- "sideEffects": [
4
- "*.css",
5
- "*.scss"
6
- ]
7
- }