@elliemae/ds-form 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.
Files changed (122) hide show
  1. package/cjs/Checkbox/DSCheckbox.js +5 -5
  2. package/cjs/CheckboxGroup/DSCheckboxGroup.js +3 -3
  3. package/cjs/ComboBox/v1/DSComboBox.js +4 -5
  4. package/cjs/ComboBox/v1/components/MenuList.js +3 -4
  5. package/cjs/ComboBox/v1/components/MultiSelectHeader.js +1 -1
  6. package/cjs/ComboBox/v1/components/getoptions.js +0 -2
  7. package/cjs/ComboBox/v1/withSelectStringValueConverter.js +0 -1
  8. package/cjs/ComboBox/v2/Combobox.js +5 -10
  9. package/cjs/ComboBox/v2/components/Content.js +1 -3
  10. package/cjs/ComboBox/v2/components/CustomOption.js +4 -8
  11. package/cjs/ComboBox/v2/components/CustomOptionMulti.js +4 -10
  12. package/cjs/ComboBox/v2/components/DropdownIndicator.js +4 -5
  13. package/cjs/ComboBox/v2/components/MenuList.js +4 -5
  14. package/cjs/ComboBox/v2/components/MultiSelectHeader.js +1 -1
  15. package/cjs/ComboBox/v2/components/ValueContainer.js +2 -3
  16. package/cjs/ComboBox/v2/components/getoptions.js +0 -2
  17. package/cjs/ComboBox/v2/components/useMenuListHeight.js +3 -8
  18. package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +1 -1
  19. package/cjs/DateInput/DSDateInput.js +4 -5
  20. package/cjs/DateInput/components/DateInputs.js +0 -1
  21. package/cjs/DateInput/components/utils.js +1 -2
  22. package/cjs/DateInputV2/components/DateInputs.js +4 -5
  23. package/cjs/DateInputV2/components/styled.js +8 -2
  24. package/cjs/DateInputV2/components/utils.js +3 -8
  25. package/cjs/FormItem/DSFormItemLayout.js +2 -2
  26. package/cjs/FormItem/Label/DSLabel.js +1 -1
  27. package/cjs/FormItem/Suffix/Suffix.js +6 -2
  28. package/cjs/Input/DSInput.js +1 -1
  29. package/cjs/Input/InputAddonWrapper.js +0 -1
  30. package/cjs/Input/InputImpl.js +3 -2
  31. package/cjs/InputGroup/AddonWrapper.js +3 -4
  32. package/cjs/InputMask/DSInputMask.js +2 -3
  33. package/cjs/InputMask/DSInputMaskDeprecated.js +4 -10
  34. package/cjs/InputMask/addons/AutoCorrectedDatePipe.js +0 -1
  35. package/cjs/InputMask/mask_types/DateInputMask.js +0 -1
  36. package/cjs/InputMask/mask_types/DateTimeInputMask.js +0 -1
  37. package/cjs/InputMask/mask_types/DictionaryInputMask.js +0 -1
  38. package/cjs/InputMask/mask_types/NumberInputMask.js +2 -6
  39. package/cjs/InputMask/mask_types/PhoneInputMask.js +0 -1
  40. package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +0 -1
  41. package/cjs/InputMask/mask_types/SsnInputMask.js +0 -1
  42. package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +0 -1
  43. package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +0 -1
  44. package/cjs/InputMask/props.js +2 -1
  45. package/cjs/InputMask/utils/setCaretPosition.js +9 -9
  46. package/cjs/InputProtected/DSInputProtected.js +5 -6
  47. package/cjs/InputProtected/props.js +2 -1
  48. package/cjs/LargeInputText/DSLargeInputText.js +2 -2
  49. package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +0 -1
  50. package/cjs/MenuItem/components/SubmenuItem/index.js +4 -5
  51. package/cjs/RadioGroup/DSRadioGroup.js +3 -3
  52. package/cjs/RequiredMark/RequiredMark.js +2 -2
  53. package/cjs/SearchBox/DSSearchBox.js +1 -1
  54. package/cjs/SearchBox/NavSearchBox.js +1 -1
  55. package/cjs/SearchBox/SearchBoxToggle.js +13 -6
  56. package/cjs/SearchBox/useSearch.js +0 -1
  57. package/cjs/TextBox/DSTextBox.js +1 -1
  58. package/cjs/TimeInput/TimeInputs.js +0 -1
  59. package/cjs/Toggle/DSToggleImpl.js +1 -1
  60. package/cjs/Toggle/DSToggleRender.js +2 -2
  61. package/esm/Checkbox/DSCheckbox.js +5 -5
  62. package/esm/CheckboxGroup/DSCheckboxGroup.js +7 -7
  63. package/esm/ComboBox/v1/DSComboBox.js +8 -9
  64. package/esm/ComboBox/v1/components/MenuList.js +3 -4
  65. package/esm/ComboBox/v1/components/MultiSelectHeader.js +1 -1
  66. package/esm/ComboBox/v1/components/getoptions.js +0 -2
  67. package/esm/ComboBox/v1/withSelectStringValueConverter.js +0 -1
  68. package/esm/ComboBox/v2/Combobox.js +5 -10
  69. package/esm/ComboBox/v2/components/Content.js +1 -3
  70. package/esm/ComboBox/v2/components/CustomOption.js +4 -8
  71. package/esm/ComboBox/v2/components/CustomOptionMulti.js +4 -10
  72. package/esm/ComboBox/v2/components/DropdownIndicator.js +4 -5
  73. package/esm/ComboBox/v2/components/MenuList.js +4 -5
  74. package/esm/ComboBox/v2/components/MultiSelectHeader.js +1 -1
  75. package/esm/ComboBox/v2/components/ValueContainer.js +2 -3
  76. package/esm/ComboBox/v2/components/getoptions.js +0 -2
  77. package/esm/ComboBox/v2/components/useMenuListHeight.js +3 -8
  78. package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +1 -1
  79. package/esm/DateInput/DSDateInput.js +4 -5
  80. package/esm/DateInput/components/DateInputs.js +4 -5
  81. package/esm/DateInput/components/utils.js +1 -2
  82. package/esm/DateInputV2/components/DateInputs.js +8 -9
  83. package/esm/DateInputV2/components/styled.js +8 -2
  84. package/esm/DateInputV2/components/utils.js +3 -8
  85. package/esm/FormItem/DSFormItemLayout.js +2 -2
  86. package/esm/FormItem/Label/DSLabel.js +1 -1
  87. package/esm/FormItem/Suffix/Suffix.js +6 -2
  88. package/esm/FormItem/ValidationFieldWrapper.js +4 -4
  89. package/esm/Input/DSInput.js +1 -1
  90. package/esm/Input/InputAddonWrapper.js +0 -1
  91. package/esm/Input/InputImpl.js +5 -4
  92. package/esm/InputGroup/AddonWrapper.js +3 -4
  93. package/esm/InputMask/DSInputMask.js +2 -3
  94. package/esm/InputMask/DSInputMaskDeprecated.js +4 -10
  95. package/esm/InputMask/addons/AutoCorrectedDatePipe.js +0 -1
  96. package/esm/InputMask/mask_types/DateInputMask.js +0 -1
  97. package/esm/InputMask/mask_types/DateTimeInputMask.js +0 -1
  98. package/esm/InputMask/mask_types/DictionaryInputMask.js +0 -1
  99. package/esm/InputMask/mask_types/NumberInputMask.js +2 -6
  100. package/esm/InputMask/mask_types/PhoneInputMask.js +0 -1
  101. package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +0 -1
  102. package/esm/InputMask/mask_types/SsnInputMask.js +0 -1
  103. package/esm/InputMask/mask_types/UsZipCodeInputMask.js +0 -1
  104. package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +0 -1
  105. package/esm/InputMask/props.js +2 -1
  106. package/esm/InputMask/utils/setCaretPosition.js +9 -9
  107. package/esm/InputProtected/DSInputProtected.js +5 -6
  108. package/esm/InputProtected/props.js +2 -1
  109. package/esm/LargeInputText/DSLargeInputText.js +2 -2
  110. package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +0 -1
  111. package/esm/MenuItem/components/SubmenuItem/index.js +4 -5
  112. package/esm/RadioGroup/DSRadioGroup.js +7 -7
  113. package/esm/RequiredMark/RequiredMark.js +2 -2
  114. package/esm/SearchBox/DSSearchBox.js +1 -1
  115. package/esm/SearchBox/NavSearchBox.js +1 -1
  116. package/esm/SearchBox/SearchBoxToggle.js +13 -6
  117. package/esm/SearchBox/useSearch.js +0 -1
  118. package/esm/TextBox/DSTextBox.js +1 -1
  119. package/esm/TimeInput/TimeInputs.js +4 -5
  120. package/esm/Toggle/DSToggleImpl.js +1 -1
  121. package/esm/Toggle/DSToggleRender.js +2 -2
  122. package/package.json +20 -20
@@ -1,4 +1,3 @@
1
- import 'core-js/modules/web.dom-collections.iterator.js';
2
1
  import { useState, useCallback, useEffect } from 'react';
3
2
  import { debounce } from '@elliemae/ds-utilities';
4
3
 
@@ -44,7 +44,7 @@ const DSTextBox = _ref => {
44
44
 
45
45
  return /*#__PURE__*/jsx(DSInput, _objectSpread(_objectSpread({}, otherProps), {}, {
46
46
  "aria-label": !id ? otherProps['aria-label'] || 'Text Box' : undefined,
47
- "aria-describedby": otherProps['aria-describedby'] || "".concat(id, "_feedback_message"),
47
+ "aria-describedby": otherProps['aria-describedby'] || `${id}_feedback_message`,
48
48
  autoFocus: autoFocus,
49
49
  clearable: clearable,
50
50
  containerProps: containerProps,
@@ -1,15 +1,14 @@
1
+ import 'core-js/modules/esnext.async-iterator.filter.js';
2
+ import 'core-js/modules/esnext.iterator.filter.js';
3
+ import 'core-js/modules/esnext.async-iterator.for-each.js';
4
+ import 'core-js/modules/esnext.iterator.for-each.js';
1
5
  import _defineProperty from '@babel/runtime/helpers/esm/defineProperty';
2
6
  import _jsx from '@babel/runtime/helpers/esm/jsx';
3
- import 'core-js/modules/web.dom-collections.iterator.js';
4
7
  import 'core-js/modules/esnext.async-iterator.some.js';
5
8
  import 'core-js/modules/esnext.iterator.constructor.js';
6
9
  import 'core-js/modules/esnext.iterator.some.js';
7
10
  import 'core-js/modules/esnext.async-iterator.reduce.js';
8
11
  import 'core-js/modules/esnext.iterator.reduce.js';
9
- import 'core-js/modules/esnext.async-iterator.filter.js';
10
- import 'core-js/modules/esnext.iterator.filter.js';
11
- import 'core-js/modules/esnext.async-iterator.for-each.js';
12
- import 'core-js/modules/esnext.iterator.for-each.js';
13
12
  import React, { useState, useEffect, createElement } from 'react';
14
13
  import { aggregatedClasses } from '@elliemae/ds-classnames';
15
14
  import moment from 'moment';
@@ -261,7 +261,7 @@ class DSToggleImpl extends Component {
261
261
  hide
262
262
  } = this.state;
263
263
  const dragStyle = drag !== null || checked || this.props.checked ? {
264
- left: "".concat(drag, "px")
264
+ left: `${drag}px`
265
265
  } : null;
266
266
  return /*#__PURE__*/jsx(DSToggleRender, _objectSpread(_objectSpread({}, this.props), {}, {
267
267
  defaultState: this.props.checked,
@@ -81,7 +81,7 @@ const DSToggleRender = _ref => {
81
81
  defaultValue: value
82
82
  }, onClickHandlerForNonInteractiveElements(allowChange ? null : onChange)), {}, {
83
83
  ref: containerRef,
84
- className: "".concat(cssClassName, " ").concat(defaultState ? 'default-state-checked' : '').concat(hide ? ' ds-form-element-toggle-hide' : ''),
84
+ className: `${cssClassName} ${defaultState ? 'default-state-checked' : ''}${hide ? ' ds-form-element-toggle-hide' : ''}`,
85
85
  onBlur: onBlur,
86
86
  onFocus: onFocus // eslint-disable-next-line jsx-a11y/role-has-required-aria-props
87
87
  ,
@@ -94,7 +94,7 @@ const DSToggleRender = _ref => {
94
94
  ref: handRef,
95
95
  "aria-checked": checked,
96
96
  "aria-disabled": disabled,
97
- className: "".concat(classNameElement('input'), " ").concat(defaultState ? 'default-state-checked' : ''),
97
+ className: `${classNameElement('input')} ${defaultState ? 'default-state-checked' : ''}`,
98
98
  onMouseDown: allowChange ? null : onMouseDown,
99
99
  onMouseEnter: allowChange ? null : onMouseEnter,
100
100
  onMouseLeave: allowChange ? null : onMouseLeave,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@elliemae/ds-form",
3
- "version": "2.4.2-rc.3",
3
+ "version": "2.4.3-rc.0",
4
4
  "license": "MIT",
5
5
  "description": "ICE MT - Dimsum - Form",
6
6
  "module": "./esm/index.js",
@@ -748,25 +748,25 @@
748
748
  "build": "node ../../scripts/build/build.js"
749
749
  },
750
750
  "dependencies": {
751
- "@elliemae/ds-button": "2.4.2-rc.3",
752
- "@elliemae/ds-circular-progress-indicator": "2.4.2-rc.3",
753
- "@elliemae/ds-classnames": "2.4.2-rc.3",
754
- "@elliemae/ds-controlled-form": "2.4.2-rc.3",
755
- "@elliemae/ds-dropdownmenu": "2.4.2-rc.3",
756
- "@elliemae/ds-grid": "2.4.2-rc.3",
757
- "@elliemae/ds-icon": "2.4.2-rc.3",
758
- "@elliemae/ds-icons": "2.4.2-rc.3",
759
- "@elliemae/ds-menu": "2.4.2-rc.3",
760
- "@elliemae/ds-overlay": "2.4.2-rc.3",
761
- "@elliemae/ds-popper": "2.4.2-rc.3",
762
- "@elliemae/ds-props-helpers": "2.4.2-rc.3",
763
- "@elliemae/ds-separator": "2.4.2-rc.3",
764
- "@elliemae/ds-shared": "2.4.2-rc.3",
765
- "@elliemae/ds-system": "2.4.2-rc.3",
766
- "@elliemae/ds-text-wrapper": "2.4.2-rc.3",
767
- "@elliemae/ds-tooltip": "2.4.2-rc.3",
768
- "@elliemae/ds-truncated-tooltip-text": "2.4.2-rc.3",
769
- "@elliemae/ds-utilities": "2.4.2-rc.3",
751
+ "@elliemae/ds-button": "2.4.3-rc.0",
752
+ "@elliemae/ds-circular-progress-indicator": "2.4.3-rc.0",
753
+ "@elliemae/ds-classnames": "2.4.3-rc.0",
754
+ "@elliemae/ds-controlled-form": "2.4.3-rc.0",
755
+ "@elliemae/ds-dropdownmenu": "2.4.3-rc.0",
756
+ "@elliemae/ds-grid": "2.4.3-rc.0",
757
+ "@elliemae/ds-icon": "2.4.3-rc.0",
758
+ "@elliemae/ds-icons": "2.4.3-rc.0",
759
+ "@elliemae/ds-menu": "2.4.3-rc.0",
760
+ "@elliemae/ds-overlay": "2.4.3-rc.0",
761
+ "@elliemae/ds-popper": "2.4.3-rc.0",
762
+ "@elliemae/ds-props-helpers": "2.4.3-rc.0",
763
+ "@elliemae/ds-separator": "2.4.3-rc.0",
764
+ "@elliemae/ds-shared": "2.4.3-rc.0",
765
+ "@elliemae/ds-system": "2.4.3-rc.0",
766
+ "@elliemae/ds-text-wrapper": "2.4.3-rc.0",
767
+ "@elliemae/ds-tooltip": "2.4.3-rc.0",
768
+ "@elliemae/ds-truncated-tooltip-text": "2.4.3-rc.0",
769
+ "@elliemae/ds-utilities": "2.4.3-rc.0",
770
770
  "@elliemae/react-popper": "1.0.2",
771
771
  "@xstyled/styled-components": "~3.1.1",
772
772
  "csstype": "~3.0.9",