@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.
- package/cjs/Checkbox/DSCheckbox.js +5 -5
- package/cjs/CheckboxGroup/DSCheckboxGroup.js +3 -3
- package/cjs/ComboBox/v1/DSComboBox.js +4 -5
- package/cjs/ComboBox/v1/components/MenuList.js +3 -4
- package/cjs/ComboBox/v1/components/MultiSelectHeader.js +1 -1
- package/cjs/ComboBox/v1/components/getoptions.js +0 -2
- package/cjs/ComboBox/v1/withSelectStringValueConverter.js +0 -1
- package/cjs/ComboBox/v2/Combobox.js +5 -10
- package/cjs/ComboBox/v2/components/Content.js +1 -3
- package/cjs/ComboBox/v2/components/CustomOption.js +4 -8
- package/cjs/ComboBox/v2/components/CustomOptionMulti.js +4 -10
- package/cjs/ComboBox/v2/components/DropdownIndicator.js +4 -5
- package/cjs/ComboBox/v2/components/MenuList.js +4 -5
- package/cjs/ComboBox/v2/components/MultiSelectHeader.js +1 -1
- package/cjs/ComboBox/v2/components/ValueContainer.js +2 -3
- package/cjs/ComboBox/v2/components/getoptions.js +0 -2
- package/cjs/ComboBox/v2/components/useMenuListHeight.js +3 -8
- package/cjs/ComboBoxFreeSolo/ComboBoxFreeSolo.js +1 -1
- package/cjs/DateInput/DSDateInput.js +4 -5
- package/cjs/DateInput/components/DateInputs.js +0 -1
- package/cjs/DateInput/components/utils.js +1 -2
- package/cjs/DateInputV2/components/DateInputs.js +4 -5
- package/cjs/DateInputV2/components/styled.js +8 -2
- package/cjs/DateInputV2/components/utils.js +3 -8
- package/cjs/FormItem/DSFormItemLayout.js +2 -2
- package/cjs/FormItem/Label/DSLabel.js +1 -1
- package/cjs/FormItem/Suffix/Suffix.js +6 -2
- package/cjs/Input/DSInput.js +1 -1
- package/cjs/Input/InputAddonWrapper.js +0 -1
- package/cjs/Input/InputImpl.js +3 -2
- package/cjs/InputGroup/AddonWrapper.js +3 -4
- package/cjs/InputMask/DSInputMask.js +2 -3
- package/cjs/InputMask/DSInputMaskDeprecated.js +4 -10
- package/cjs/InputMask/addons/AutoCorrectedDatePipe.js +0 -1
- package/cjs/InputMask/mask_types/DateInputMask.js +0 -1
- package/cjs/InputMask/mask_types/DateTimeInputMask.js +0 -1
- package/cjs/InputMask/mask_types/DictionaryInputMask.js +0 -1
- package/cjs/InputMask/mask_types/NumberInputMask.js +2 -6
- package/cjs/InputMask/mask_types/PhoneInputMask.js +0 -1
- package/cjs/InputMask/mask_types/PhoneInternationalInputMask.js +0 -1
- package/cjs/InputMask/mask_types/SsnInputMask.js +0 -1
- package/cjs/InputMask/mask_types/UsZipCodeInputMask.js +0 -1
- package/cjs/InputMask/mask_types/ZipCodeSearchInputMask.js +0 -1
- package/cjs/InputMask/props.js +2 -1
- package/cjs/InputMask/utils/setCaretPosition.js +9 -9
- package/cjs/InputProtected/DSInputProtected.js +5 -6
- package/cjs/InputProtected/props.js +2 -1
- package/cjs/LargeInputText/DSLargeInputText.js +2 -2
- package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +0 -1
- package/cjs/MenuItem/components/SubmenuItem/index.js +4 -5
- package/cjs/RadioGroup/DSRadioGroup.js +3 -3
- package/cjs/RequiredMark/RequiredMark.js +2 -2
- package/cjs/SearchBox/DSSearchBox.js +1 -1
- package/cjs/SearchBox/NavSearchBox.js +1 -1
- package/cjs/SearchBox/SearchBoxToggle.js +13 -6
- package/cjs/SearchBox/useSearch.js +0 -1
- package/cjs/TextBox/DSTextBox.js +1 -1
- package/cjs/TimeInput/TimeInputs.js +0 -1
- package/cjs/Toggle/DSToggleImpl.js +1 -1
- package/cjs/Toggle/DSToggleRender.js +2 -2
- package/esm/Checkbox/DSCheckbox.js +5 -5
- package/esm/CheckboxGroup/DSCheckboxGroup.js +7 -7
- package/esm/ComboBox/v1/DSComboBox.js +8 -9
- package/esm/ComboBox/v1/components/MenuList.js +3 -4
- package/esm/ComboBox/v1/components/MultiSelectHeader.js +1 -1
- package/esm/ComboBox/v1/components/getoptions.js +0 -2
- package/esm/ComboBox/v1/withSelectStringValueConverter.js +0 -1
- package/esm/ComboBox/v2/Combobox.js +5 -10
- package/esm/ComboBox/v2/components/Content.js +1 -3
- package/esm/ComboBox/v2/components/CustomOption.js +4 -8
- package/esm/ComboBox/v2/components/CustomOptionMulti.js +4 -10
- package/esm/ComboBox/v2/components/DropdownIndicator.js +4 -5
- package/esm/ComboBox/v2/components/MenuList.js +4 -5
- package/esm/ComboBox/v2/components/MultiSelectHeader.js +1 -1
- package/esm/ComboBox/v2/components/ValueContainer.js +2 -3
- package/esm/ComboBox/v2/components/getoptions.js +0 -2
- package/esm/ComboBox/v2/components/useMenuListHeight.js +3 -8
- package/esm/ComboBoxFreeSolo/ComboBoxFreeSolo.js +1 -1
- package/esm/DateInput/DSDateInput.js +4 -5
- package/esm/DateInput/components/DateInputs.js +4 -5
- package/esm/DateInput/components/utils.js +1 -2
- package/esm/DateInputV2/components/DateInputs.js +8 -9
- package/esm/DateInputV2/components/styled.js +8 -2
- package/esm/DateInputV2/components/utils.js +3 -8
- package/esm/FormItem/DSFormItemLayout.js +2 -2
- package/esm/FormItem/Label/DSLabel.js +1 -1
- package/esm/FormItem/Suffix/Suffix.js +6 -2
- package/esm/FormItem/ValidationFieldWrapper.js +4 -4
- package/esm/Input/DSInput.js +1 -1
- package/esm/Input/InputAddonWrapper.js +0 -1
- package/esm/Input/InputImpl.js +5 -4
- package/esm/InputGroup/AddonWrapper.js +3 -4
- package/esm/InputMask/DSInputMask.js +2 -3
- package/esm/InputMask/DSInputMaskDeprecated.js +4 -10
- package/esm/InputMask/addons/AutoCorrectedDatePipe.js +0 -1
- package/esm/InputMask/mask_types/DateInputMask.js +0 -1
- package/esm/InputMask/mask_types/DateTimeInputMask.js +0 -1
- package/esm/InputMask/mask_types/DictionaryInputMask.js +0 -1
- package/esm/InputMask/mask_types/NumberInputMask.js +2 -6
- package/esm/InputMask/mask_types/PhoneInputMask.js +0 -1
- package/esm/InputMask/mask_types/PhoneInternationalInputMask.js +0 -1
- package/esm/InputMask/mask_types/SsnInputMask.js +0 -1
- package/esm/InputMask/mask_types/UsZipCodeInputMask.js +0 -1
- package/esm/InputMask/mask_types/ZipCodeSearchInputMask.js +0 -1
- package/esm/InputMask/props.js +2 -1
- package/esm/InputMask/utils/setCaretPosition.js +9 -9
- package/esm/InputProtected/DSInputProtected.js +5 -6
- package/esm/InputProtected/props.js +2 -1
- package/esm/LargeInputText/DSLargeInputText.js +2 -2
- package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +0 -1
- package/esm/MenuItem/components/SubmenuItem/index.js +4 -5
- package/esm/RadioGroup/DSRadioGroup.js +7 -7
- package/esm/RequiredMark/RequiredMark.js +2 -2
- package/esm/SearchBox/DSSearchBox.js +1 -1
- package/esm/SearchBox/NavSearchBox.js +1 -1
- package/esm/SearchBox/SearchBoxToggle.js +13 -6
- package/esm/SearchBox/useSearch.js +0 -1
- package/esm/TextBox/DSTextBox.js +1 -1
- package/esm/TimeInput/TimeInputs.js +4 -5
- package/esm/Toggle/DSToggleImpl.js +1 -1
- package/esm/Toggle/DSToggleRender.js +2 -2
- package/package.json +20 -20
package/esm/TextBox/DSTextBox.js
CHANGED
|
@@ -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'] ||
|
|
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:
|
|
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:
|
|
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:
|
|
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.
|
|
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.
|
|
752
|
-
"@elliemae/ds-circular-progress-indicator": "2.4.
|
|
753
|
-
"@elliemae/ds-classnames": "2.4.
|
|
754
|
-
"@elliemae/ds-controlled-form": "2.4.
|
|
755
|
-
"@elliemae/ds-dropdownmenu": "2.4.
|
|
756
|
-
"@elliemae/ds-grid": "2.4.
|
|
757
|
-
"@elliemae/ds-icon": "2.4.
|
|
758
|
-
"@elliemae/ds-icons": "2.4.
|
|
759
|
-
"@elliemae/ds-menu": "2.4.
|
|
760
|
-
"@elliemae/ds-overlay": "2.4.
|
|
761
|
-
"@elliemae/ds-popper": "2.4.
|
|
762
|
-
"@elliemae/ds-props-helpers": "2.4.
|
|
763
|
-
"@elliemae/ds-separator": "2.4.
|
|
764
|
-
"@elliemae/ds-shared": "2.4.
|
|
765
|
-
"@elliemae/ds-system": "2.4.
|
|
766
|
-
"@elliemae/ds-text-wrapper": "2.4.
|
|
767
|
-
"@elliemae/ds-tooltip": "2.4.
|
|
768
|
-
"@elliemae/ds-truncated-tooltip-text": "2.4.
|
|
769
|
-
"@elliemae/ds-utilities": "2.4.
|
|
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",
|