@elliemae/ds-pills 2.4.9 → 2.4.12
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.
|
@@ -44,13 +44,12 @@ const ValuePill = /*#__PURE__*/React__default["default"].memo(_ref => {
|
|
|
44
44
|
cols: [iconLeft && 'min-content', 'auto'].filter(notFalse => notFalse),
|
|
45
45
|
gutter: "xxxs",
|
|
46
46
|
hasIcon: iconLeft !== null
|
|
47
|
-
}, void 0, iconLeft, tooltipValue !== '' ? /*#__PURE__*/_jsx__default["default"](DSTooltip.
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
}) : /*#__PURE__*/_jsx__default["default"](TextComponent, {}, void 0, label));
|
|
47
|
+
}, void 0, iconLeft, tooltipValue !== '' ? /*#__PURE__*/_jsx__default["default"](DSTooltip.DSTooltipV3, {
|
|
48
|
+
text: tooltipValue
|
|
49
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](styled.StyledSpanWithTooltip, {
|
|
50
|
+
className: "ds-pill-tooltip-value",
|
|
51
|
+
tabIndex: 0
|
|
52
|
+
}, void 0, label)) : /*#__PURE__*/_jsx__default["default"](TextComponent, {}, void 0, label));
|
|
54
53
|
});
|
|
55
54
|
|
|
56
55
|
exports.ValuePill = ValuePill;
|
|
@@ -3,7 +3,7 @@ import 'core-js/modules/esnext.async-iterator.filter.js';
|
|
|
3
3
|
import 'core-js/modules/esnext.iterator.constructor.js';
|
|
4
4
|
import 'core-js/modules/esnext.iterator.filter.js';
|
|
5
5
|
import React from 'react';
|
|
6
|
-
import {
|
|
6
|
+
import { DSTooltipV3 } from '@elliemae/ds-tooltip';
|
|
7
7
|
import { SimpleTruncatedTooltipText } from '@elliemae/ds-truncated-tooltip-text';
|
|
8
8
|
import { StyledValuePillWrapper, StyledSpanWithTooltip } from '../styled.js';
|
|
9
9
|
|
|
@@ -35,13 +35,12 @@ const ValuePill = /*#__PURE__*/React.memo(_ref => {
|
|
|
35
35
|
cols: [iconLeft && 'min-content', 'auto'].filter(notFalse => notFalse),
|
|
36
36
|
gutter: "xxxs",
|
|
37
37
|
hasIcon: iconLeft !== null
|
|
38
|
-
}, void 0, iconLeft, tooltipValue !== '' ? /*#__PURE__*/_jsx(
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
}) : /*#__PURE__*/_jsx(TextComponent, {}, void 0, label));
|
|
38
|
+
}, void 0, iconLeft, tooltipValue !== '' ? /*#__PURE__*/_jsx(DSTooltipV3, {
|
|
39
|
+
text: tooltipValue
|
|
40
|
+
}, void 0, /*#__PURE__*/_jsx(StyledSpanWithTooltip, {
|
|
41
|
+
className: "ds-pill-tooltip-value",
|
|
42
|
+
tabIndex: 0
|
|
43
|
+
}, void 0, label)) : /*#__PURE__*/_jsx(TextComponent, {}, void 0, label));
|
|
45
44
|
});
|
|
46
45
|
|
|
47
46
|
export { ValuePill };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pills",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.12",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"description": "ICE MT - Dimsum - Pills",
|
|
6
6
|
"module": "./esm/index.js",
|
|
@@ -144,20 +144,20 @@
|
|
|
144
144
|
"build": "node ../../scripts/build/build.js"
|
|
145
145
|
},
|
|
146
146
|
"dependencies": {
|
|
147
|
-
"@elliemae/ds-button": "2.4.
|
|
148
|
-
"@elliemae/ds-classnames": "2.4.
|
|
149
|
-
"@elliemae/ds-dropdownmenu": "2.4.
|
|
150
|
-
"@elliemae/ds-form": "2.4.
|
|
151
|
-
"@elliemae/ds-grid": "2.4.
|
|
152
|
-
"@elliemae/ds-icons": "2.4.
|
|
153
|
-
"@elliemae/ds-modal": "2.4.
|
|
154
|
-
"@elliemae/ds-popover": "2.4.
|
|
155
|
-
"@elliemae/ds-props-helpers": "2.4.
|
|
156
|
-
"@elliemae/ds-shared": "2.4.
|
|
157
|
-
"@elliemae/ds-system": "2.4.
|
|
158
|
-
"@elliemae/ds-tooltip": "2.4.
|
|
159
|
-
"@elliemae/ds-truncated-tooltip-text": "2.4.
|
|
160
|
-
"@elliemae/ds-utilities": "2.4.
|
|
147
|
+
"@elliemae/ds-button": "2.4.12",
|
|
148
|
+
"@elliemae/ds-classnames": "2.4.12",
|
|
149
|
+
"@elliemae/ds-dropdownmenu": "2.4.12",
|
|
150
|
+
"@elliemae/ds-form": "2.4.12",
|
|
151
|
+
"@elliemae/ds-grid": "2.4.12",
|
|
152
|
+
"@elliemae/ds-icons": "2.4.12",
|
|
153
|
+
"@elliemae/ds-modal": "2.4.12",
|
|
154
|
+
"@elliemae/ds-popover": "2.4.12",
|
|
155
|
+
"@elliemae/ds-props-helpers": "2.4.12",
|
|
156
|
+
"@elliemae/ds-shared": "2.4.12",
|
|
157
|
+
"@elliemae/ds-system": "2.4.12",
|
|
158
|
+
"@elliemae/ds-tooltip": "2.4.12",
|
|
159
|
+
"@elliemae/ds-truncated-tooltip-text": "2.4.12",
|
|
160
|
+
"@elliemae/ds-utilities": "2.4.12",
|
|
161
161
|
"prop-types": "~15.7.2",
|
|
162
162
|
"react-desc": "~4.1.3",
|
|
163
163
|
"uid": "~2.0.0"
|