@elliemae/ds-form 2.3.1 → 2.3.2-next.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/Input/DSInput.js +1 -1
- package/cjs/Input/InputImpl.js +3 -2
- package/cjs/InputProtected/DSInputProtected.js +5 -6
- package/cjs/MenuItem/components/MultiMenuItem/MultiMenuItem.js +20 -11
- package/cjs/MenuItem/components/MultiMenuItem/styled.js +3 -3
- package/cjs/MenuItem/components/SingleMenuItem/SingleMenuItem.js +2 -5
- package/cjs/MenuItem/components/styled.js +5 -1
- package/esm/Input/DSInput.js +1 -1
- package/esm/Input/InputImpl.js +3 -2
- package/esm/InputProtected/DSInputProtected.js +5 -6
- package/esm/MenuItem/components/MultiMenuItem/MultiMenuItem.js +22 -13
- package/esm/MenuItem/components/MultiMenuItem/styled.js +3 -3
- package/esm/MenuItem/components/SingleMenuItem/SingleMenuItem.js +3 -6
- package/esm/MenuItem/components/styled.js +5 -2
- package/package.json +20 -20
- package/types/DateInputV2/components/styled.d.ts +2 -2
- package/types/MenuItem/components/MultiMenuItem/styled.d.ts +1 -1
- package/types/MenuItem/components/styled.d.ts +1 -0
package/cjs/Input/DSInput.js
CHANGED
|
@@ -59,7 +59,7 @@ const DSInput = _ref => {
|
|
|
59
59
|
"aria-label": otherProps['aria-label'],
|
|
60
60
|
"aria-describedby": otherProps['aria-describedby'],
|
|
61
61
|
autoFocus: autoFocus,
|
|
62
|
-
className: "".concat(className, " ").concat(disabled ? 'input-disabled' : ''),
|
|
62
|
+
className: "".concat(className, " ").concat(disabled ? 'input-disabled' : '').concat(readOnly ? 'read-only' : ''),
|
|
63
63
|
clearable: clearable,
|
|
64
64
|
containerProps: containerProps,
|
|
65
65
|
customInputType: customInputType,
|
package/cjs/Input/InputImpl.js
CHANGED
|
@@ -275,7 +275,7 @@ class InputImpl extends React.Component {
|
|
|
275
275
|
},
|
|
276
276
|
className,
|
|
277
277
|
autoFocus,
|
|
278
|
-
disabled
|
|
278
|
+
disabled,
|
|
279
279
|
maxLength,
|
|
280
280
|
minLength,
|
|
281
281
|
name,
|
|
@@ -296,7 +296,8 @@ class InputImpl extends React.Component {
|
|
|
296
296
|
min,
|
|
297
297
|
max,
|
|
298
298
|
style,
|
|
299
|
-
tabIndex
|
|
299
|
+
tabIndex,
|
|
300
|
+
readOnly
|
|
300
301
|
}, containerProps);
|
|
301
302
|
|
|
302
303
|
let InputComponent = /*#__PURE__*/jsxRuntime.jsx(WrapperForTooltipInput, {
|
|
@@ -64,22 +64,21 @@ const DSInputProtected = _ref => {
|
|
|
64
64
|
}, [leftAddon, rightAddon]);
|
|
65
65
|
const handleLeft = React.useCallback(() => {
|
|
66
66
|
setLocked(!inputLocked);
|
|
67
|
-
}, [
|
|
67
|
+
}, [inputLocked]);
|
|
68
68
|
const handleRight = React.useCallback(() => {
|
|
69
69
|
setHidden(!inputHidden);
|
|
70
|
-
}, [
|
|
70
|
+
}, [inputHidden]);
|
|
71
71
|
return /*#__PURE__*/_jsx__default["default"]("div", {}, void 0, /*#__PURE__*/_jsx__default["default"](DSInputGroup["default"], {
|
|
72
72
|
leftAddon: left ? /*#__PURE__*/_jsx__default["default"](DSButton__default["default"], {
|
|
73
73
|
"aria-label": "".concat(inputLocked ? 'Allow' : 'Disallow', " Edition"),
|
|
74
74
|
buttonType: "secondary",
|
|
75
|
-
icon: ADDON_ICON_OPTIONS[inputLocked ? options.LEFT_ADDON_OPTIONS.
|
|
75
|
+
icon: ADDON_ICON_OPTIONS[inputLocked ? options.LEFT_ADDON_OPTIONS.LockLocked : options.LEFT_ADDON_OPTIONS.LockUnlocked],
|
|
76
76
|
onClick: handleLeft
|
|
77
77
|
}) : undefined,
|
|
78
|
-
readOnly: left ? inputLocked : readOnly,
|
|
79
78
|
rightAddon: right ? /*#__PURE__*/_jsx__default["default"](DSButton__default["default"], {
|
|
80
79
|
"aria-label": "".concat(inputHidden ? 'Show' : 'Hide', " Characters"),
|
|
81
80
|
buttonType: "secondary",
|
|
82
|
-
icon: ADDON_ICON_OPTIONS[inputHidden ? options.RIGHT_ADDON_OPTIONS.
|
|
81
|
+
icon: ADDON_ICON_OPTIONS[inputHidden ? options.RIGHT_ADDON_OPTIONS.InvisibleHide : options.RIGHT_ADDON_OPTIONS.VisibleView],
|
|
83
82
|
onClick: handleRight,
|
|
84
83
|
containerProps: {
|
|
85
84
|
'data-testid': 'inputprotected-show-hide-button'
|
|
@@ -89,7 +88,7 @@ const DSInputProtected = _ref => {
|
|
|
89
88
|
mask: mask,
|
|
90
89
|
placeholderChar: placeholderChar,
|
|
91
90
|
onChange: onChange,
|
|
92
|
-
|
|
91
|
+
disabled: left ? inputLocked : readOnly,
|
|
93
92
|
type: right && inputHidden ? 'password' : type,
|
|
94
93
|
value: value
|
|
95
94
|
}))));
|
|
@@ -5,10 +5,11 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
6
6
|
require('react');
|
|
7
7
|
var reactDesc = require('react-desc');
|
|
8
|
+
var Grid = require('@elliemae/ds-grid');
|
|
8
9
|
var dsControlledForm = require('@elliemae/ds-controlled-form');
|
|
9
10
|
var props = require('../../props.js');
|
|
10
|
-
var styled$1 = require('./styled.js');
|
|
11
11
|
var styled = require('../styled.js');
|
|
12
|
+
var styled$1 = require('./styled.js');
|
|
12
13
|
var jsxRuntime = require('react/jsx-runtime');
|
|
13
14
|
|
|
14
15
|
function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'default' in e ? e : { 'default': e }; }
|
|
@@ -50,16 +51,24 @@ const MultiMenuItem = props => {
|
|
|
50
51
|
style: wrapperStyles,
|
|
51
52
|
pr: render ? 0 : 40,
|
|
52
53
|
"data-testid": "combobox-option",
|
|
53
|
-
children: /*#__PURE__*/
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
54
|
+
children: /*#__PURE__*/jsxRuntime.jsx(jsxRuntime.Fragment, {
|
|
55
|
+
children: render ? render(props) : /*#__PURE__*/_jsx__default["default"](Grid.Grid, {
|
|
56
|
+
cols: ['16px', 'auto'],
|
|
57
|
+
minHeight: "16px",
|
|
58
|
+
gutter: "xxs",
|
|
59
|
+
alignItems: "center"
|
|
60
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](dsControlledForm.DSControlledCheckbox, {
|
|
61
|
+
disabled: disabled,
|
|
62
|
+
checked: isSelected,
|
|
63
|
+
onMouseDown: onMouseDown,
|
|
64
|
+
name: value,
|
|
65
|
+
"aria-label": label,
|
|
66
|
+
id: value,
|
|
67
|
+
onChange: onClick
|
|
68
|
+
}), /*#__PURE__*/_jsx__default["default"](styled$1.StyledMultiMenuItemLabel, {
|
|
69
|
+
htmlFor: value
|
|
70
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](styled.StyleMenuItemLabel, {}, void 0, label)))
|
|
71
|
+
})
|
|
63
72
|
});
|
|
64
73
|
};
|
|
65
74
|
|
|
@@ -8,8 +8,8 @@ function _interopDefaultLegacy (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
|
|
9
9
|
var styled__default = /*#__PURE__*/_interopDefaultLegacy(styled);
|
|
10
10
|
|
|
11
|
-
const
|
|
11
|
+
const StyledMultiMenuItemLabel = /*#__PURE__*/styled__default["default"].label.withConfig({
|
|
12
12
|
componentId: "sc-1stlix4-0"
|
|
13
|
-
})(["
|
|
13
|
+
})(["padding-left:8px;color:rgb(37,41,47);font-size:13px;line-height:13px;display:inherit;"]);
|
|
14
14
|
|
|
15
|
-
exports.
|
|
15
|
+
exports.StyledMultiMenuItemLabel = StyledMultiMenuItemLabel;
|
|
@@ -5,7 +5,6 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var _jsx = require('@babel/runtime/helpers/jsx');
|
|
6
6
|
require('react');
|
|
7
7
|
var reactDesc = require('react-desc');
|
|
8
|
-
var DSTruncatedTooltipText = require('@elliemae/ds-truncated-tooltip-text');
|
|
9
8
|
var dsIcons = require('@elliemae/ds-icons');
|
|
10
9
|
var Grid = require('@elliemae/ds-grid');
|
|
11
10
|
var props = require('../../props.js');
|
|
@@ -53,15 +52,13 @@ const SingleMenuItem = props => {
|
|
|
53
52
|
disabled: disabled,
|
|
54
53
|
children: render ? render(props) : /*#__PURE__*/_jsx__default["default"](Grid__default["default"], {
|
|
55
54
|
cols: ['16px', 'auto'],
|
|
56
|
-
|
|
55
|
+
minHeight: "16px",
|
|
57
56
|
gutter: "xxs",
|
|
58
57
|
alignItems: "center"
|
|
59
58
|
}, void 0, /*#__PURE__*/_jsx__default["default"]("div", {}, void 0, isSelected && /*#__PURE__*/_jsx__default["default"](dsIcons.Checkmark, {
|
|
60
59
|
size: "s",
|
|
61
60
|
color: ['brand-primary', '600']
|
|
62
|
-
})), /*#__PURE__*/_jsx__default["default"](
|
|
63
|
-
value: label
|
|
64
|
-
}))
|
|
61
|
+
})), /*#__PURE__*/_jsx__default["default"](styled.StyleMenuItemLabel, {}, void 0, label))
|
|
65
62
|
});
|
|
66
63
|
};
|
|
67
64
|
|
|
@@ -37,7 +37,7 @@ const focusBorderCss = _ref3 => {
|
|
|
37
37
|
|
|
38
38
|
const StyledGlobalMenuItemWrapper = /*#__PURE__*/styled__default["default"].li.withConfig({
|
|
39
39
|
componentId: "sc-jyoobd-0"
|
|
40
|
-
})(["cursor:pointer;height:32px;padding-left:16px;padding-right:16px;display:grid;align-items:center;list-style:none;position:relative;", " ", " ", " ", " ", ";background-color:", ";&:hover{background-color:", ";}"], styledComponents.position, styledComponents.layout, styledComponents.sizing, styledComponents.space, props => {
|
|
40
|
+
})(["cursor:pointer;min-height:32px;padding-left:16px;padding-right:16px;display:grid;align-items:center;list-style:none;position:relative;", " ", " ", " ", " ", ";background-color:", ";&:hover{background-color:", ";}"], styledComponents.position, styledComponents.layout, styledComponents.sizing, styledComponents.space, props => {
|
|
41
41
|
if (props.disabled) return disabledOption();
|
|
42
42
|
if (props.isFocus) return focusBorderCss(props);
|
|
43
43
|
if (props.isActive) return activeBorderCss(props);
|
|
@@ -49,7 +49,11 @@ const StyledMenuItemWrapper = /*#__PURE__*/styled__default["default"](StyledGlob
|
|
|
49
49
|
const StyledSubmenuItemWrapper = /*#__PURE__*/styled__default["default"](StyledGlobalMenuItemWrapper).withConfig({
|
|
50
50
|
componentId: "sc-jyoobd-2"
|
|
51
51
|
})(["", ";padding-right:0;"], props => props.isSelected || props.isActive ? activeBorderCss(props) : '');
|
|
52
|
+
const StyleMenuItemLabel = /*#__PURE__*/styled__default["default"].span.withConfig({
|
|
53
|
+
componentId: "sc-jyoobd-3"
|
|
54
|
+
})(["padding:8px 0;"]);
|
|
52
55
|
|
|
56
|
+
exports.StyleMenuItemLabel = StyleMenuItemLabel;
|
|
53
57
|
exports.StyledGlobalMenuItemWrapper = StyledGlobalMenuItemWrapper;
|
|
54
58
|
exports.StyledMenuItemWrapper = StyledMenuItemWrapper;
|
|
55
59
|
exports.StyledSubmenuItemWrapper = StyledSubmenuItemWrapper;
|
package/esm/Input/DSInput.js
CHANGED
|
@@ -50,7 +50,7 @@ const DSInput = _ref => {
|
|
|
50
50
|
"aria-label": otherProps['aria-label'],
|
|
51
51
|
"aria-describedby": otherProps['aria-describedby'],
|
|
52
52
|
autoFocus: autoFocus,
|
|
53
|
-
className: "".concat(className, " ").concat(disabled ? 'input-disabled' : ''),
|
|
53
|
+
className: "".concat(className, " ").concat(disabled ? 'input-disabled' : '').concat(readOnly ? 'read-only' : ''),
|
|
54
54
|
clearable: clearable,
|
|
55
55
|
containerProps: containerProps,
|
|
56
56
|
customInputType: customInputType,
|
package/esm/Input/InputImpl.js
CHANGED
|
@@ -263,7 +263,7 @@ class InputImpl extends Component {
|
|
|
263
263
|
},
|
|
264
264
|
className,
|
|
265
265
|
autoFocus,
|
|
266
|
-
disabled
|
|
266
|
+
disabled,
|
|
267
267
|
maxLength,
|
|
268
268
|
minLength,
|
|
269
269
|
name,
|
|
@@ -284,7 +284,8 @@ class InputImpl extends Component {
|
|
|
284
284
|
min,
|
|
285
285
|
max,
|
|
286
286
|
style,
|
|
287
|
-
tabIndex
|
|
287
|
+
tabIndex,
|
|
288
|
+
readOnly
|
|
288
289
|
}, containerProps);
|
|
289
290
|
|
|
290
291
|
let InputComponent = /*#__PURE__*/jsx(WrapperForTooltipInput, {
|
|
@@ -53,22 +53,21 @@ const DSInputProtected = _ref => {
|
|
|
53
53
|
}, [leftAddon, rightAddon]);
|
|
54
54
|
const handleLeft = useCallback(() => {
|
|
55
55
|
setLocked(!inputLocked);
|
|
56
|
-
}, [
|
|
56
|
+
}, [inputLocked]);
|
|
57
57
|
const handleRight = useCallback(() => {
|
|
58
58
|
setHidden(!inputHidden);
|
|
59
|
-
}, [
|
|
59
|
+
}, [inputHidden]);
|
|
60
60
|
return /*#__PURE__*/_jsx("div", {}, void 0, /*#__PURE__*/_jsx(DSInputGroup, {
|
|
61
61
|
leftAddon: left ? /*#__PURE__*/_jsx(DSButton, {
|
|
62
62
|
"aria-label": "".concat(inputLocked ? 'Allow' : 'Disallow', " Edition"),
|
|
63
63
|
buttonType: "secondary",
|
|
64
|
-
icon: ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.
|
|
64
|
+
icon: ADDON_ICON_OPTIONS[inputLocked ? LEFT_ADDON_OPTIONS.LockLocked : LEFT_ADDON_OPTIONS.LockUnlocked],
|
|
65
65
|
onClick: handleLeft
|
|
66
66
|
}) : undefined,
|
|
67
|
-
readOnly: left ? inputLocked : readOnly,
|
|
68
67
|
rightAddon: right ? /*#__PURE__*/_jsx(DSButton, {
|
|
69
68
|
"aria-label": "".concat(inputHidden ? 'Show' : 'Hide', " Characters"),
|
|
70
69
|
buttonType: "secondary",
|
|
71
|
-
icon: ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.
|
|
70
|
+
icon: ADDON_ICON_OPTIONS[inputHidden ? RIGHT_ADDON_OPTIONS.InvisibleHide : RIGHT_ADDON_OPTIONS.VisibleView],
|
|
72
71
|
onClick: handleRight,
|
|
73
72
|
containerProps: {
|
|
74
73
|
'data-testid': 'inputprotected-show-hide-button'
|
|
@@ -78,7 +77,7 @@ const DSInputProtected = _ref => {
|
|
|
78
77
|
mask: mask,
|
|
79
78
|
placeholderChar: placeholderChar,
|
|
80
79
|
onChange: onChange,
|
|
81
|
-
|
|
80
|
+
disabled: left ? inputLocked : readOnly,
|
|
82
81
|
type: right && inputHidden ? 'password' : type,
|
|
83
82
|
value: value
|
|
84
83
|
}))));
|
|
@@ -1,11 +1,12 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'react';
|
|
3
3
|
import { describe } from 'react-desc';
|
|
4
|
+
import { Grid } from '@elliemae/ds-grid';
|
|
4
5
|
import { DSControlledCheckbox } from '@elliemae/ds-controlled-form';
|
|
5
6
|
import { itemProps, defaultProps } from '../../props.js';
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { jsx } from 'react/jsx-runtime';
|
|
7
|
+
import { StyledGlobalMenuItemWrapper, StyleMenuItemLabel } from '../styled.js';
|
|
8
|
+
import { StyledMultiMenuItemLabel } from './styled.js';
|
|
9
|
+
import { jsx, Fragment } from 'react/jsx-runtime';
|
|
9
10
|
|
|
10
11
|
const MultiMenuItem = props => {
|
|
11
12
|
const {
|
|
@@ -42,16 +43,24 @@ const MultiMenuItem = props => {
|
|
|
42
43
|
style: wrapperStyles,
|
|
43
44
|
pr: render ? 0 : 40,
|
|
44
45
|
"data-testid": "combobox-option",
|
|
45
|
-
children: /*#__PURE__*/
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
46
|
+
children: /*#__PURE__*/jsx(Fragment, {
|
|
47
|
+
children: render ? render(props) : /*#__PURE__*/_jsx(Grid, {
|
|
48
|
+
cols: ['16px', 'auto'],
|
|
49
|
+
minHeight: "16px",
|
|
50
|
+
gutter: "xxs",
|
|
51
|
+
alignItems: "center"
|
|
52
|
+
}, void 0, /*#__PURE__*/_jsx(DSControlledCheckbox, {
|
|
53
|
+
disabled: disabled,
|
|
54
|
+
checked: isSelected,
|
|
55
|
+
onMouseDown: onMouseDown,
|
|
56
|
+
name: value,
|
|
57
|
+
"aria-label": label,
|
|
58
|
+
id: value,
|
|
59
|
+
onChange: onClick
|
|
60
|
+
}), /*#__PURE__*/_jsx(StyledMultiMenuItemLabel, {
|
|
61
|
+
htmlFor: value
|
|
62
|
+
}, void 0, /*#__PURE__*/_jsx(StyleMenuItemLabel, {}, void 0, label)))
|
|
63
|
+
})
|
|
55
64
|
});
|
|
56
65
|
};
|
|
57
66
|
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import styled from 'styled-components';
|
|
2
2
|
|
|
3
|
-
const
|
|
3
|
+
const StyledMultiMenuItemLabel = /*#__PURE__*/styled.label.withConfig({
|
|
4
4
|
componentId: "sc-1stlix4-0"
|
|
5
|
-
})(["
|
|
5
|
+
})(["padding-left:8px;color:rgb(37,41,47);font-size:13px;line-height:13px;display:inherit;"]);
|
|
6
6
|
|
|
7
|
-
export {
|
|
7
|
+
export { StyledMultiMenuItemLabel };
|
|
@@ -1,11 +1,10 @@
|
|
|
1
1
|
import _jsx from '@babel/runtime/helpers/esm/jsx';
|
|
2
2
|
import 'react';
|
|
3
3
|
import { describe } from 'react-desc';
|
|
4
|
-
import { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';
|
|
5
4
|
import { Checkmark } from '@elliemae/ds-icons';
|
|
6
5
|
import Grid from '@elliemae/ds-grid';
|
|
7
6
|
import { itemProps, defaultProps } from '../../props.js';
|
|
8
|
-
import { StyledGlobalMenuItemWrapper } from '../styled.js';
|
|
7
|
+
import { StyledGlobalMenuItemWrapper, StyleMenuItemLabel } from '../styled.js';
|
|
9
8
|
import { jsx } from 'react/jsx-runtime';
|
|
10
9
|
|
|
11
10
|
const SingleMenuItem = props => {
|
|
@@ -44,15 +43,13 @@ const SingleMenuItem = props => {
|
|
|
44
43
|
disabled: disabled,
|
|
45
44
|
children: render ? render(props) : /*#__PURE__*/_jsx(Grid, {
|
|
46
45
|
cols: ['16px', 'auto'],
|
|
47
|
-
|
|
46
|
+
minHeight: "16px",
|
|
48
47
|
gutter: "xxs",
|
|
49
48
|
alignItems: "center"
|
|
50
49
|
}, void 0, /*#__PURE__*/_jsx("div", {}, void 0, isSelected && /*#__PURE__*/_jsx(Checkmark, {
|
|
51
50
|
size: "s",
|
|
52
51
|
color: ['brand-primary', '600']
|
|
53
|
-
})), /*#__PURE__*/_jsx(
|
|
54
|
-
value: label
|
|
55
|
-
}))
|
|
52
|
+
})), /*#__PURE__*/_jsx(StyleMenuItemLabel, {}, void 0, label))
|
|
56
53
|
});
|
|
57
54
|
};
|
|
58
55
|
|
|
@@ -29,7 +29,7 @@ const focusBorderCss = _ref3 => {
|
|
|
29
29
|
|
|
30
30
|
const StyledGlobalMenuItemWrapper = /*#__PURE__*/styled.li.withConfig({
|
|
31
31
|
componentId: "sc-jyoobd-0"
|
|
32
|
-
})(["cursor:pointer;height:32px;padding-left:16px;padding-right:16px;display:grid;align-items:center;list-style:none;position:relative;", " ", " ", " ", " ", ";background-color:", ";&:hover{background-color:", ";}"], position, layout, sizing, space, props => {
|
|
32
|
+
})(["cursor:pointer;min-height:32px;padding-left:16px;padding-right:16px;display:grid;align-items:center;list-style:none;position:relative;", " ", " ", " ", " ", ";background-color:", ";&:hover{background-color:", ";}"], position, layout, sizing, space, props => {
|
|
33
33
|
if (props.disabled) return disabledOption();
|
|
34
34
|
if (props.isFocus) return focusBorderCss(props);
|
|
35
35
|
if (props.isActive) return activeBorderCss(props);
|
|
@@ -41,5 +41,8 @@ const StyledMenuItemWrapper = /*#__PURE__*/styled(StyledGlobalMenuItemWrapper).w
|
|
|
41
41
|
const StyledSubmenuItemWrapper = /*#__PURE__*/styled(StyledGlobalMenuItemWrapper).withConfig({
|
|
42
42
|
componentId: "sc-jyoobd-2"
|
|
43
43
|
})(["", ";padding-right:0;"], props => props.isSelected || props.isActive ? activeBorderCss(props) : '');
|
|
44
|
+
const StyleMenuItemLabel = /*#__PURE__*/styled.span.withConfig({
|
|
45
|
+
componentId: "sc-jyoobd-3"
|
|
46
|
+
})(["padding:8px 0;"]);
|
|
44
47
|
|
|
45
|
-
export { StyledGlobalMenuItemWrapper, StyledMenuItemWrapper, StyledSubmenuItemWrapper };
|
|
48
|
+
export { StyleMenuItemLabel, StyledGlobalMenuItemWrapper, StyledMenuItemWrapper, StyledSubmenuItemWrapper };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-form",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2-next.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.3.
|
|
752
|
-
"@elliemae/ds-circular-progress-indicator": "2.3.
|
|
753
|
-
"@elliemae/ds-classnames": "2.3.
|
|
754
|
-
"@elliemae/ds-controlled-form": "2.3.
|
|
755
|
-
"@elliemae/ds-dropdownmenu": "2.3.
|
|
756
|
-
"@elliemae/ds-grid": "2.3.
|
|
757
|
-
"@elliemae/ds-icon": "2.3.
|
|
758
|
-
"@elliemae/ds-icons": "2.3.
|
|
759
|
-
"@elliemae/ds-menu": "2.3.
|
|
760
|
-
"@elliemae/ds-overlay": "2.3.
|
|
761
|
-
"@elliemae/ds-popper": "2.3.
|
|
762
|
-
"@elliemae/ds-props-helpers": "2.3.
|
|
763
|
-
"@elliemae/ds-separator": "2.3.
|
|
764
|
-
"@elliemae/ds-shared": "2.3.
|
|
765
|
-
"@elliemae/ds-system": "2.3.
|
|
766
|
-
"@elliemae/ds-text-wrapper": "2.3.
|
|
767
|
-
"@elliemae/ds-tooltip": "2.3.
|
|
768
|
-
"@elliemae/ds-truncated-tooltip-text": "2.3.
|
|
769
|
-
"@elliemae/ds-utilities": "2.3.
|
|
751
|
+
"@elliemae/ds-button": "2.3.2-next.0",
|
|
752
|
+
"@elliemae/ds-circular-progress-indicator": "2.3.2-next.0",
|
|
753
|
+
"@elliemae/ds-classnames": "2.3.2-next.0",
|
|
754
|
+
"@elliemae/ds-controlled-form": "2.3.2-next.0",
|
|
755
|
+
"@elliemae/ds-dropdownmenu": "2.3.2-next.0",
|
|
756
|
+
"@elliemae/ds-grid": "2.3.2-next.0",
|
|
757
|
+
"@elliemae/ds-icon": "2.3.2-next.0",
|
|
758
|
+
"@elliemae/ds-icons": "2.3.2-next.0",
|
|
759
|
+
"@elliemae/ds-menu": "2.3.2-next.0",
|
|
760
|
+
"@elliemae/ds-overlay": "2.3.2-next.0",
|
|
761
|
+
"@elliemae/ds-popper": "2.3.2-next.0",
|
|
762
|
+
"@elliemae/ds-props-helpers": "2.3.2-next.0",
|
|
763
|
+
"@elliemae/ds-separator": "2.3.2-next.0",
|
|
764
|
+
"@elliemae/ds-shared": "2.3.2-next.0",
|
|
765
|
+
"@elliemae/ds-system": "2.3.2-next.0",
|
|
766
|
+
"@elliemae/ds-text-wrapper": "2.3.2-next.0",
|
|
767
|
+
"@elliemae/ds-tooltip": "2.3.2-next.0",
|
|
768
|
+
"@elliemae/ds-truncated-tooltip-text": "2.3.2-next.0",
|
|
769
|
+
"@elliemae/ds-utilities": "2.3.2-next.0",
|
|
770
770
|
"@elliemae/react-popper": "1.0.2",
|
|
771
771
|
"@xstyled/styled-components": "~3.1.1",
|
|
772
772
|
"csstype": "~3.0.9",
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export declare const DateInputFluidContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").
|
|
3
|
-
export declare const DateInputWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/types").
|
|
2
|
+
export declare const DateInputFluidContainer: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
3
|
+
export declare const DateInputWrapper: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<import("@elliemae/ds-grid/types/react-desc-prop-types").DSGridT.Props & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
4
4
|
export declare const DateInputInput: import("styled-components").StyledComponent<"input", import("styled-components").DefaultTheme, {}, never>;
|
|
5
5
|
export declare const DateInputDivider: import("styled-components").StyledComponent<"div", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const
|
|
1
|
+
export declare const StyledMultiMenuItemLabel: import("styled-components").StyledComponent<"label", import("styled-components").DefaultTheme, {}, never>;
|
|
@@ -5,3 +5,4 @@ export declare const StyledMenuItemWrapper: import("styled-components").StyledCo
|
|
|
5
5
|
disabled: boolean;
|
|
6
6
|
}, never>;
|
|
7
7
|
export declare const StyledSubmenuItemWrapper: import("styled-components").StyledComponent<"li", import("styled-components").DefaultTheme, Pick<MenuItemT, "isActive" | "isSelected" | "isFocus"> & LayoutProps<import("@xstyled/system").Theme> & SizingProps<import("@xstyled/system").Theme> & PositionProps<import("@xstyled/system").Theme> & SpaceProps<import("@xstyled/system").Theme>, never>;
|
|
8
|
+
export declare const StyleMenuItemLabel: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, {}, never>;
|