@elliemae/ds-controlled-form 2.4.14 → 2.4.17

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.
@@ -102,7 +102,7 @@ const useValidateProps = props => {
102
102
  const monthNum = numberHelpers.convertToPositiveNumberIfPossible(stringMonthVal);
103
103
  const dayNum = numberHelpers.convertToPositiveNumberIfPossible(stringDayVal);
104
104
  const yearNum = numberHelpers.convertToPositiveNumberIfPossible(stringYearVal);
105
- if (monthNum <= 0 || monthNum >= 13 || dayNum <= 0 || dayNum >= 31 || yearNum <= 0 || yearNum > 9999) throwInvalidOnCalendarOpenFocusedDayError(onCalendarOpenFocusedDay);
105
+ if (monthNum <= 0 || monthNum >= 13 || dayNum <= 0 || dayNum > 31 || yearNum <= 0 || yearNum > 9999) throwInvalidOnCalendarOpenFocusedDayError(onCalendarOpenFocusedDay);
106
106
  }
107
107
  } // validate full datetime cases
108
108
 
@@ -98,7 +98,7 @@ const useValidateProps = props => {
98
98
  const monthNum = convertToPositiveNumberIfPossible(stringMonthVal);
99
99
  const dayNum = convertToPositiveNumberIfPossible(stringDayVal);
100
100
  const yearNum = convertToPositiveNumberIfPossible(stringYearVal);
101
- if (monthNum <= 0 || monthNum >= 13 || dayNum <= 0 || dayNum >= 31 || yearNum <= 0 || yearNum > 9999) throwInvalidOnCalendarOpenFocusedDayError(onCalendarOpenFocusedDay);
101
+ if (monthNum <= 0 || monthNum >= 13 || dayNum <= 0 || dayNum > 31 || yearNum <= 0 || yearNum > 9999) throwInvalidOnCalendarOpenFocusedDayError(onCalendarOpenFocusedDay);
102
102
  }
103
103
  } // validate full datetime cases
104
104
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-controlled-form",
3
- "version": "2.4.14",
3
+ "version": "2.4.17",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Controlled Form Controllers",
6
6
  "module": "./esm/index.js",
@@ -896,20 +896,20 @@
896
896
  "build": "node ../../scripts/build/build.js"
897
897
  },
898
898
  "dependencies": {
899
- "@elliemae/ds-button": "2.4.14",
900
- "@elliemae/ds-circular-progress-indicator": "2.4.14",
901
- "@elliemae/ds-controlled-form": "2.4.14",
902
- "@elliemae/ds-form": "2.4.14",
903
- "@elliemae/ds-form-layout-blocks": "2.4.14",
904
- "@elliemae/ds-grid": "2.4.14",
905
- "@elliemae/ds-icon": "2.4.14",
906
- "@elliemae/ds-icons": "2.4.14",
907
- "@elliemae/ds-pills": "2.4.14",
908
- "@elliemae/ds-popperjs": "2.4.14",
909
- "@elliemae/ds-props-helpers": "2.4.14",
910
- "@elliemae/ds-system": "2.4.14",
911
- "@elliemae/ds-tooltip": "2.4.14",
912
- "@elliemae/ds-truncated-tooltip-text": "2.4.14",
899
+ "@elliemae/ds-button": "2.4.17",
900
+ "@elliemae/ds-circular-progress-indicator": "2.4.17",
901
+ "@elliemae/ds-controlled-form": "2.4.17",
902
+ "@elliemae/ds-form": "2.4.17",
903
+ "@elliemae/ds-form-layout-blocks": "2.4.17",
904
+ "@elliemae/ds-grid": "2.4.17",
905
+ "@elliemae/ds-icon": "2.4.17",
906
+ "@elliemae/ds-icons": "2.4.17",
907
+ "@elliemae/ds-pills": "2.4.17",
908
+ "@elliemae/ds-popperjs": "2.4.17",
909
+ "@elliemae/ds-props-helpers": "2.4.17",
910
+ "@elliemae/ds-system": "2.4.17",
911
+ "@elliemae/ds-tooltip": "2.4.17",
912
+ "@elliemae/ds-truncated-tooltip-text": "2.4.17",
913
913
  "prop-types": "~15.7.2",
914
914
  "react-desc": "~4.1.3",
915
915
  "react-popper": "~2.2.5",