sccoreui 6.3.18 → 6.3.19
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/dist/App.scss
CHANGED
|
@@ -1610,10 +1610,11 @@ code {
|
|
|
1610
1610
|
padding-left: 0;
|
|
1611
1611
|
|
|
1612
1612
|
.p-multiselect-token-label {
|
|
1613
|
-
width:
|
|
1613
|
+
width: 55px;
|
|
1614
1614
|
white-space: nowrap;
|
|
1615
1615
|
overflow: hidden;
|
|
1616
1616
|
text-overflow: ellipsis;
|
|
1617
|
+
text-align: center;
|
|
1617
1618
|
}
|
|
1618
1619
|
}
|
|
1619
1620
|
|
|
@@ -42,6 +42,6 @@ const ScMultiSelect = (props) => {
|
|
|
42
42
|
? "showSelectedCount"
|
|
43
43
|
: "noShowSelectedCount"} ${(props === null || props === void 0 ? void 0 : props.removeChipIcon) ? "hideChipremoveIcon" : ""} sc_multiSelect`, id: props === null || props === void 0 ? void 0 : props.id }), showCount !== 0 &&
|
|
44
44
|
(props === null || props === void 0 ? void 0 : props.showSelectedCount) &&
|
|
45
|
-
((_a = props === null || props === void 0 ? void 0 : props.value) === null || _a === void 0 ? void 0 : _a.length) > 2 && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "absolute top-0 h-full text-center flex align-items-center w-2rem justify-content-center", style: { right: `${(props === null || props === void 0 ? void 0 : props.showClear) ? "68px" : "40px"}` } }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ style: { top: "10px" }, className: "px-2 bg-primary-50 border-round-sm text-base" }, { children: `+${showCount -
|
|
45
|
+
((_a = props === null || props === void 0 ? void 0 : props.value) === null || _a === void 0 ? void 0 : _a.length) > 2 && ((0, jsx_runtime_1.jsx)("div", Object.assign({ className: "absolute top-0 h-full text-center flex align-items-center w-2rem justify-content-center", style: { right: `${(props === null || props === void 0 ? void 0 : props.showClear) ? "68px" : "40px"}` } }, { children: (0, jsx_runtime_1.jsx)("span", Object.assign({ style: { top: "10px" }, className: "px-2 bg-primary-50 border-round-sm text-base" }, { children: `+${showCount - 1}` })) })))] })) }));
|
|
46
46
|
};
|
|
47
47
|
exports.default = ScMultiSelect;
|