sag_components 2.0.0-beta146 → 2.0.0-beta147
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/index.js
CHANGED
|
@@ -24328,24 +24328,23 @@ const IconContainer$2 = styled__default["default"].div`
|
|
|
24328
24328
|
cursor: pointer;
|
|
24329
24329
|
`;
|
|
24330
24330
|
|
|
24331
|
-
const QuickFilterDropdownMultiSelection =
|
|
24332
|
-
|
|
24333
|
-
|
|
24334
|
-
|
|
24335
|
-
|
|
24336
|
-
|
|
24337
|
-
|
|
24338
|
-
|
|
24339
|
-
|
|
24340
|
-
|
|
24341
|
-
|
|
24342
|
-
|
|
24343
|
-
|
|
24344
|
-
|
|
24345
|
-
|
|
24346
|
-
|
|
24347
|
-
|
|
24348
|
-
} = _ref;
|
|
24331
|
+
const QuickFilterDropdownMultiSelection = ({
|
|
24332
|
+
label,
|
|
24333
|
+
labelEmptyValue,
|
|
24334
|
+
options,
|
|
24335
|
+
selectedValue,
|
|
24336
|
+
placeHolder,
|
|
24337
|
+
onChange,
|
|
24338
|
+
required,
|
|
24339
|
+
disabled,
|
|
24340
|
+
width,
|
|
24341
|
+
error,
|
|
24342
|
+
errorMessage,
|
|
24343
|
+
labelColor,
|
|
24344
|
+
xIconShow,
|
|
24345
|
+
checkBoxColor,
|
|
24346
|
+
showLabelOnTop
|
|
24347
|
+
}) => {
|
|
24349
24348
|
const [isFocused, setIsFocused] = React$1.useState(false);
|
|
24350
24349
|
const [showOptions, setShowOptions] = React$1.useState(false);
|
|
24351
24350
|
const [inputValue, setInputValue] = React$1.useState('');
|
|
@@ -52272,16 +52271,19 @@ const DropdownList = styled__default["default"].ul`
|
|
|
52272
52271
|
top: 110%;
|
|
52273
52272
|
`}
|
|
52274
52273
|
`;
|
|
52274
|
+
const SectionDiv = styled__default["default"].div`
|
|
52275
|
+
&:nth-child(2),
|
|
52276
|
+
&:nth-child(4){
|
|
52277
|
+
border-top: 1px solid #e6e2e2ff;
|
|
52278
|
+
padding-top: 16px;
|
|
52279
|
+
}
|
|
52280
|
+
`;
|
|
52275
52281
|
const SectionTitle = styled__default["default"].li`
|
|
52276
52282
|
font-size: 14px;
|
|
52277
52283
|
color: #bdbdbd;
|
|
52278
52284
|
padding: 12px 12px 0 12px;
|
|
52279
52285
|
font-weight: 500;
|
|
52280
52286
|
pointer-events: none;
|
|
52281
|
-
&:not(:first-child) {
|
|
52282
|
-
border-top: 1px solid #bdbdbd;
|
|
52283
|
-
padding-top: 16px;
|
|
52284
|
-
}
|
|
52285
52287
|
`;
|
|
52286
52288
|
const DropdownItem = styled__default["default"].li`
|
|
52287
52289
|
padding: 8px 16px;
|
|
@@ -52826,9 +52828,9 @@ const OverlayDropdown = _ref => {
|
|
|
52826
52828
|
dropdownMaxHeight: dropdownMaxHeight,
|
|
52827
52829
|
width: width,
|
|
52828
52830
|
position: dropdownPosition
|
|
52829
|
-
}, dataToRender.map((group, groupIndex) => group.items && group.items.length > 0 && /*#__PURE__*/React__default["default"].createElement(
|
|
52831
|
+
}, dataToRender.map((group, groupIndex) => group.items && group.items.length > 0 && /*#__PURE__*/React__default["default"].createElement(SectionDiv, {
|
|
52830
52832
|
key: group.overlayCode
|
|
52831
|
-
}, /*#__PURE__*/React__default["default"].createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React__default["default"].createElement(DropdownItem, {
|
|
52833
|
+
}, (groupIndex === 0 || groupIndex === 3) && /*#__PURE__*/React__default["default"].createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React__default["default"].createElement(DropdownItem, {
|
|
52832
52834
|
key: item.value,
|
|
52833
52835
|
selected: item.value === value,
|
|
52834
52836
|
selectedColor: selectedColor,
|