@luscii-healthtech/web-ui 2.63.5 → 2.64.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/dist/components/Select/SelectDropdownIndicator.d.ts +2 -0
- package/dist/components/Select/SelectLoadingIndicator.d.ts +2 -0
- package/dist/web-ui.cjs.development.js +24 -5
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +25 -6
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -5208,10 +5208,24 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
|
|
|
5208
5208
|
}));
|
|
5209
5209
|
};
|
|
5210
5210
|
|
|
5211
|
-
var css_248z$f = ".customized-select [class*=
|
|
5211
|
+
var css_248z$f = ".customized-select [class*=MenuList] [class*=option]::after {\n position: absolute;\n content: \"\";\n background: url(\"data:image/svg+xml,%3Csvg xmlns%3D%22http%3A%2F%2Fwww.w3.org%2F2000%2Fsvg%22 width%3D%2216%22 height%3D%2216%22 viewBox%3D%220 0 16 16%22%3E %3Cg transform%3D%22translate(1.5%2C 0.5)%22%3E %3Cpath fill%3D%22none%22 fill-rule%3D%22evenodd%22 stroke%3D%22%230074DD%22 stroke-linecap%3D%22round%22 stroke-linejoin%3D%22round%22 stroke-width%3D%222%22 d%3D%22M12.643 3.357L6.03 9.97l-2.674 2.674L0 9.286%22%2F%3E %3C%2Fg%3E%3C%2Fsvg%3E\") no-repeat center;\n right: 12px;\n height: 1rem;\n width: 1rem;\n}";
|
|
5212
5212
|
styleInject(css_248z$f);
|
|
5213
5213
|
|
|
5214
|
-
var
|
|
5214
|
+
var SelectDropdownIndicator = function SelectDropdownIndicator(props) {
|
|
5215
|
+
return /*#__PURE__*/React__default.createElement(ReactSelect.components.DropdownIndicator, _extends({}, props), /*#__PURE__*/React__default.createElement(ChevronDownIcon, null));
|
|
5216
|
+
};
|
|
5217
|
+
|
|
5218
|
+
var SelectLoadingIndicator = function SelectLoadingIndicator(props) {
|
|
5219
|
+
return /*#__PURE__*/React__default.createElement(LoadingIndicator, _extends({
|
|
5220
|
+
asSpinner: true,
|
|
5221
|
+
spinnerColor: "gray"
|
|
5222
|
+
}, props.innerProps, {
|
|
5223
|
+
style: props.getStyles("loadingIndicator", props)
|
|
5224
|
+
}));
|
|
5225
|
+
};
|
|
5226
|
+
|
|
5227
|
+
var _excluded$l = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"],
|
|
5228
|
+
_excluded2$1 = ["children"];
|
|
5215
5229
|
|
|
5216
5230
|
function generateCustomStyles(hasError, isIE11) {
|
|
5217
5231
|
return {
|
|
@@ -5373,10 +5387,13 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5373
5387
|
return dataProps;
|
|
5374
5388
|
};
|
|
5375
5389
|
|
|
5376
|
-
var CustomContainer = function CustomContainer(
|
|
5390
|
+
var CustomContainer = function CustomContainer(_ref2) {
|
|
5391
|
+
var children = _ref2.children,
|
|
5392
|
+
commonProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
5393
|
+
|
|
5377
5394
|
return /*#__PURE__*/React__default.createElement(ReactSelect.components.SelectContainer, _extends({}, commonProps, {
|
|
5378
5395
|
innerProps: Object.assign({}, commonProps.innerProps, _extends({}, getDataAttributes()))
|
|
5379
|
-
}));
|
|
5396
|
+
}), children);
|
|
5380
5397
|
};
|
|
5381
5398
|
|
|
5382
5399
|
return /*#__PURE__*/React__default.createElement(ReactSelect__default, _extends({}, otherProps, {
|
|
@@ -5394,7 +5411,9 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5394
5411
|
"flex-grow": width === "full"
|
|
5395
5412
|
}),
|
|
5396
5413
|
components: {
|
|
5397
|
-
SelectContainer: CustomContainer
|
|
5414
|
+
SelectContainer: CustomContainer,
|
|
5415
|
+
DropdownIndicator: SelectDropdownIndicator,
|
|
5416
|
+
LoadingIndicator: SelectLoadingIndicator
|
|
5398
5417
|
}
|
|
5399
5418
|
}));
|
|
5400
5419
|
});
|