@luscii-healthtech/web-ui 2.63.4 → 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-tailwind.css +4 -0
- package/dist/web-ui.cjs.development.js +26 -7
- 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 +27 -8
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/web-ui.esm.js
CHANGED
|
@@ -14,7 +14,7 @@ import ReactDatePicker from 'react-datepicker';
|
|
|
14
14
|
import moment from 'moment';
|
|
15
15
|
import 'react-datepicker/dist/react-datepicker.css';
|
|
16
16
|
import ClipboardJS from 'clipboard';
|
|
17
|
-
import ReactSelect, {
|
|
17
|
+
import ReactSelect, { components, mergeStyles } from 'react-select';
|
|
18
18
|
import groupBy from 'lodash-es/groupBy';
|
|
19
19
|
import debounce from 'lodash.debounce';
|
|
20
20
|
import { LazyLoadImage } from 'react-lazy-load-image-component';
|
|
@@ -5200,10 +5200,24 @@ var PaginationMenuSmall = function PaginationMenuSmall(props) {
|
|
|
5200
5200
|
}));
|
|
5201
5201
|
};
|
|
5202
5202
|
|
|
5203
|
-
var css_248z$f = ".customized-select [class*=
|
|
5203
|
+
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}";
|
|
5204
5204
|
styleInject(css_248z$f);
|
|
5205
5205
|
|
|
5206
|
-
var
|
|
5206
|
+
var SelectDropdownIndicator = function SelectDropdownIndicator(props) {
|
|
5207
|
+
return /*#__PURE__*/React__default.createElement(components.DropdownIndicator, _extends({}, props), /*#__PURE__*/React__default.createElement(ChevronDownIcon, null));
|
|
5208
|
+
};
|
|
5209
|
+
|
|
5210
|
+
var SelectLoadingIndicator = function SelectLoadingIndicator(props) {
|
|
5211
|
+
return /*#__PURE__*/React__default.createElement(LoadingIndicator, _extends({
|
|
5212
|
+
asSpinner: true,
|
|
5213
|
+
spinnerColor: "gray"
|
|
5214
|
+
}, props.innerProps, {
|
|
5215
|
+
style: props.getStyles("loadingIndicator", props)
|
|
5216
|
+
}));
|
|
5217
|
+
};
|
|
5218
|
+
|
|
5219
|
+
var _excluded$l = ["isError", "styles", "options", "onChange", "value", "width", "isMulti", "className"],
|
|
5220
|
+
_excluded2$1 = ["children"];
|
|
5207
5221
|
|
|
5208
5222
|
function generateCustomStyles(hasError, isIE11) {
|
|
5209
5223
|
return {
|
|
@@ -5365,10 +5379,13 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5365
5379
|
return dataProps;
|
|
5366
5380
|
};
|
|
5367
5381
|
|
|
5368
|
-
var CustomContainer = function CustomContainer(
|
|
5382
|
+
var CustomContainer = function CustomContainer(_ref2) {
|
|
5383
|
+
var children = _ref2.children,
|
|
5384
|
+
commonProps = _objectWithoutPropertiesLoose(_ref2, _excluded2$1);
|
|
5385
|
+
|
|
5369
5386
|
return /*#__PURE__*/React__default.createElement(components.SelectContainer, _extends({}, commonProps, {
|
|
5370
5387
|
innerProps: Object.assign({}, commonProps.innerProps, _extends({}, getDataAttributes()))
|
|
5371
|
-
}));
|
|
5388
|
+
}), children);
|
|
5372
5389
|
};
|
|
5373
5390
|
|
|
5374
5391
|
return /*#__PURE__*/React__default.createElement(ReactSelect, _extends({}, otherProps, {
|
|
@@ -5386,7 +5403,9 @@ var Select = /*#__PURE__*/React__default.forwardRef(function (_ref, innerRef) {
|
|
|
5386
5403
|
"flex-grow": width === "full"
|
|
5387
5404
|
}),
|
|
5388
5405
|
components: {
|
|
5389
|
-
SelectContainer: CustomContainer
|
|
5406
|
+
SelectContainer: CustomContainer,
|
|
5407
|
+
DropdownIndicator: SelectDropdownIndicator,
|
|
5408
|
+
LoadingIndicator: SelectLoadingIndicator
|
|
5390
5409
|
}
|
|
5391
5410
|
}));
|
|
5392
5411
|
});
|
|
@@ -6565,11 +6584,11 @@ var BreadcrumbItem = function BreadcrumbItem(_ref) {
|
|
|
6565
6584
|
}, /*#__PURE__*/React__default.createElement(Text, {
|
|
6566
6585
|
text: name,
|
|
6567
6586
|
color: "blue-800",
|
|
6568
|
-
className: "whitespace-no-wrap"
|
|
6587
|
+
className: "whitespace-no-wrap truncate max-w-xs"
|
|
6569
6588
|
})) : /*#__PURE__*/React__default.createElement(Text, {
|
|
6570
6589
|
text: name,
|
|
6571
6590
|
type: "strong",
|
|
6572
|
-
className: "whitespace-no-wrap"
|
|
6591
|
+
className: "whitespace-no-wrap truncate w-full max-w-xs"
|
|
6573
6592
|
}));
|
|
6574
6593
|
};
|
|
6575
6594
|
var BreadcrumbDividerItem = function BreadcrumbDividerItem(_ref2) {
|