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.esm.js CHANGED
@@ -24318,24 +24318,23 @@ const IconContainer$2 = styled.div`
24318
24318
  cursor: pointer;
24319
24319
  `;
24320
24320
 
24321
- const QuickFilterDropdownMultiSelection = _ref => {
24322
- let {
24323
- label,
24324
- labelEmptyValue,
24325
- options,
24326
- selectedValue,
24327
- placeHolder,
24328
- onChange,
24329
- required,
24330
- disabled,
24331
- width,
24332
- error,
24333
- errorMessage,
24334
- labelColor,
24335
- xIconShow,
24336
- checkBoxColor,
24337
- showLabelOnTop
24338
- } = _ref;
24321
+ const QuickFilterDropdownMultiSelection = ({
24322
+ label,
24323
+ labelEmptyValue,
24324
+ options,
24325
+ selectedValue,
24326
+ placeHolder,
24327
+ onChange,
24328
+ required,
24329
+ disabled,
24330
+ width,
24331
+ error,
24332
+ errorMessage,
24333
+ labelColor,
24334
+ xIconShow,
24335
+ checkBoxColor,
24336
+ showLabelOnTop
24337
+ }) => {
24339
24338
  const [isFocused, setIsFocused] = useState(false);
24340
24339
  const [showOptions, setShowOptions] = useState(false);
24341
24340
  const [inputValue, setInputValue] = useState('');
@@ -52262,16 +52261,19 @@ const DropdownList = styled.ul`
52262
52261
  top: 110%;
52263
52262
  `}
52264
52263
  `;
52264
+ const SectionDiv = styled.div`
52265
+ &:nth-child(2),
52266
+ &:nth-child(4){
52267
+ border-top: 1px solid #e6e2e2ff;
52268
+ padding-top: 16px;
52269
+ }
52270
+ `;
52265
52271
  const SectionTitle = styled.li`
52266
52272
  font-size: 14px;
52267
52273
  color: #bdbdbd;
52268
52274
  padding: 12px 12px 0 12px;
52269
52275
  font-weight: 500;
52270
52276
  pointer-events: none;
52271
- &:not(:first-child) {
52272
- border-top: 1px solid #bdbdbd;
52273
- padding-top: 16px;
52274
- }
52275
52277
  `;
52276
52278
  const DropdownItem = styled.li`
52277
52279
  padding: 8px 16px;
@@ -52816,9 +52818,9 @@ const OverlayDropdown = _ref => {
52816
52818
  dropdownMaxHeight: dropdownMaxHeight,
52817
52819
  width: width,
52818
52820
  position: dropdownPosition
52819
- }, dataToRender.map((group, groupIndex) => group.items && group.items.length > 0 && /*#__PURE__*/React$1.createElement("div", {
52821
+ }, dataToRender.map((group, groupIndex) => group.items && group.items.length > 0 && /*#__PURE__*/React$1.createElement(SectionDiv, {
52820
52822
  key: group.overlayCode
52821
- }, /*#__PURE__*/React$1.createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React$1.createElement(DropdownItem, {
52823
+ }, (groupIndex === 0 || groupIndex === 3) && /*#__PURE__*/React$1.createElement(SectionTitle, null, group.overlayName), group.items.map(item => /*#__PURE__*/React$1.createElement(DropdownItem, {
52822
52824
  key: item.value,
52823
52825
  selected: item.value === value,
52824
52826
  selectedColor: selectedColor,