@elliemae/ds-pills 2.0.0-rc.10 → 2.0.0-rc.11
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.
|
@@ -57,7 +57,9 @@ const DropdownPill = /*#__PURE__*/React__default["default"].memo(_ref => {
|
|
|
57
57
|
gutter: "2px",
|
|
58
58
|
alignItems: "center",
|
|
59
59
|
justifyItems: "center"
|
|
60
|
-
}, void 0, /*#__PURE__*/_jsx__default["default"](TextComponent, {}, void 0, label), /*#__PURE__*/jsxRuntime.jsx(DSDropdownMenu.DSDropdownMenuV2, _objectSpread(_objectSpread({
|
|
60
|
+
}, void 0, /*#__PURE__*/_jsx__default["default"](TextComponent, {}, void 0, label), /*#__PURE__*/jsxRuntime.jsx(DSDropdownMenu.DSDropdownMenuV2, _objectSpread(_objectSpread({
|
|
61
|
+
placementOrderPreference: ['bottom-start', 'bottom', 'bottom-end', 'right-end', 'top-start', 'top', 'top-end']
|
|
62
|
+
}, dropdownProps), {}, {
|
|
61
63
|
onClickOutside: e => {
|
|
62
64
|
if (e.code === 'Escape') chevronRef.current.focus();
|
|
63
65
|
if (dropdownProps.onClickOutside) dropdownProps.onClickOutside(e);
|
|
@@ -75,7 +77,8 @@ const DropdownPill = /*#__PURE__*/React__default["default"].memo(_ref => {
|
|
|
75
77
|
onClick: onDropdownClick
|
|
76
78
|
}, void 0, /*#__PURE__*/_jsx__default["default"](dsIcons.ChevronSmallDown, {
|
|
77
79
|
color: ['brand-primary', '800'],
|
|
78
|
-
|
|
80
|
+
width: 20,
|
|
81
|
+
height: 20
|
|
79
82
|
}))
|
|
80
83
|
})));
|
|
81
84
|
});
|
|
@@ -63,7 +63,8 @@ const RemovablePill = /*#__PURE__*/React__default["default"].memo(_ref => {
|
|
|
63
63
|
"aria-label": "Remove ".concat(label),
|
|
64
64
|
type: "right"
|
|
65
65
|
}, void 0, /*#__PURE__*/_jsx__default["default"](dsIcons.CloseXsmall, {
|
|
66
|
-
|
|
66
|
+
width: 22.65,
|
|
67
|
+
height: 22.65,
|
|
67
68
|
color: ['brand-primary', '700']
|
|
68
69
|
})));
|
|
69
70
|
});
|
|
@@ -47,7 +47,9 @@ const DropdownPill = /*#__PURE__*/React.memo(_ref => {
|
|
|
47
47
|
gutter: "2px",
|
|
48
48
|
alignItems: "center",
|
|
49
49
|
justifyItems: "center"
|
|
50
|
-
}, void 0, /*#__PURE__*/_jsx(TextComponent, {}, void 0, label), /*#__PURE__*/jsx(DSDropdownMenuV2, _objectSpread(_objectSpread({
|
|
50
|
+
}, void 0, /*#__PURE__*/_jsx(TextComponent, {}, void 0, label), /*#__PURE__*/jsx(DSDropdownMenuV2, _objectSpread(_objectSpread({
|
|
51
|
+
placementOrderPreference: ['bottom-start', 'bottom', 'bottom-end', 'right-end', 'top-start', 'top', 'top-end']
|
|
52
|
+
}, dropdownProps), {}, {
|
|
51
53
|
onClickOutside: e => {
|
|
52
54
|
if (e.code === 'Escape') chevronRef.current.focus();
|
|
53
55
|
if (dropdownProps.onClickOutside) dropdownProps.onClickOutside(e);
|
|
@@ -65,7 +67,8 @@ const DropdownPill = /*#__PURE__*/React.memo(_ref => {
|
|
|
65
67
|
onClick: onDropdownClick
|
|
66
68
|
}, void 0, /*#__PURE__*/_jsx(ChevronSmallDown, {
|
|
67
69
|
color: ['brand-primary', '800'],
|
|
68
|
-
|
|
70
|
+
width: 20,
|
|
71
|
+
height: 20
|
|
69
72
|
}))
|
|
70
73
|
})));
|
|
71
74
|
});
|
|
@@ -54,7 +54,8 @@ const RemovablePill = /*#__PURE__*/React.memo(_ref => {
|
|
|
54
54
|
"aria-label": "Remove ".concat(label),
|
|
55
55
|
type: "right"
|
|
56
56
|
}, void 0, /*#__PURE__*/_jsx(CloseXsmall, {
|
|
57
|
-
|
|
57
|
+
width: 22.65,
|
|
58
|
+
height: 22.65,
|
|
58
59
|
color: ['brand-primary', '700']
|
|
59
60
|
})));
|
|
60
61
|
});
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@elliemae/ds-pills",
|
|
3
|
-
"version": "2.0.0-rc.
|
|
3
|
+
"version": "2.0.0-rc.11",
|
|
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.0.0-rc.
|
|
148
|
-
"@elliemae/ds-classnames": "2.0.0-rc.
|
|
149
|
-
"@elliemae/ds-dropdownmenu": "2.0.0-rc.
|
|
150
|
-
"@elliemae/ds-form": "2.0.0-rc.
|
|
151
|
-
"@elliemae/ds-grid": "2.0.0-rc.
|
|
152
|
-
"@elliemae/ds-icons": "2.0.0-rc.
|
|
153
|
-
"@elliemae/ds-modal": "2.0.0-rc.
|
|
154
|
-
"@elliemae/ds-popover": "2.0.0-rc.
|
|
155
|
-
"@elliemae/ds-props-helpers": "2.0.0-rc.
|
|
156
|
-
"@elliemae/ds-shared": "2.0.0-rc.
|
|
157
|
-
"@elliemae/ds-system": "2.0.0-rc.
|
|
158
|
-
"@elliemae/ds-tooltip": "2.0.0-rc.
|
|
159
|
-
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.
|
|
160
|
-
"@elliemae/ds-utilities": "2.0.0-rc.
|
|
147
|
+
"@elliemae/ds-button": "2.0.0-rc.11",
|
|
148
|
+
"@elliemae/ds-classnames": "2.0.0-rc.11",
|
|
149
|
+
"@elliemae/ds-dropdownmenu": "2.0.0-rc.11",
|
|
150
|
+
"@elliemae/ds-form": "2.0.0-rc.11",
|
|
151
|
+
"@elliemae/ds-grid": "2.0.0-rc.11",
|
|
152
|
+
"@elliemae/ds-icons": "2.0.0-rc.11",
|
|
153
|
+
"@elliemae/ds-modal": "2.0.0-rc.11",
|
|
154
|
+
"@elliemae/ds-popover": "2.0.0-rc.11",
|
|
155
|
+
"@elliemae/ds-props-helpers": "2.0.0-rc.11",
|
|
156
|
+
"@elliemae/ds-shared": "2.0.0-rc.11",
|
|
157
|
+
"@elliemae/ds-system": "2.0.0-rc.11",
|
|
158
|
+
"@elliemae/ds-tooltip": "2.0.0-rc.11",
|
|
159
|
+
"@elliemae/ds-truncated-tooltip-text": "2.0.0-rc.11",
|
|
160
|
+
"@elliemae/ds-utilities": "2.0.0-rc.11",
|
|
161
161
|
"prop-types": "~15.7.2",
|
|
162
162
|
"react-desc": "~4.1.3",
|
|
163
163
|
"uid": "~2.0.0"
|