@thecb/components 9.1.7-beta.2 → 9.1.7-beta.4

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
@@ -23762,27 +23762,26 @@ var DropdownContentWrapper = styled.div.withConfig({
23762
23762
  var DropdownItemWrapper = styled.li.withConfig({
23763
23763
  displayName: "Dropdown__DropdownItemWrapper",
23764
23764
  componentId: "sc-pn6m0h-2"
23765
- })(["text-align:start;border-width:2px;border-style:solid;border-color:", ";box-shadow:none;box-sizing:border-box;width:100%;list-style:none;cursor:", ";&:hover{background:", ";> *{background:", ";border-color:", ";}}&:focus{outline:none;background:", ";border-color:", ";> *{background:", ";border-color:white;outline:none;}}"], function (_ref4) {
23765
+ })(["text-align:start;border-width:2px;border-style:solid;border-color:", ";box-shadow:none;box-sizing:border-box;width:100%;list-style:none;cursor:", ";&:hover{background:", ";border-color:", ";> *{background:", ";border-color:transparent;}}&:focus{outline:none;background:", ";border-color:", ";> *{background:", ";border-color:white;outline:none;}}"], function (_ref4) {
23766
23766
  var selected = _ref4.selected,
23767
23767
  themeValues = _ref4.themeValues;
23768
- return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : TRANSPARENT;
23768
+ return selected ? themeValues.selectedColor : WHITE;
23769
23769
  }, function (_ref5) {
23770
23770
  var disabled = _ref5.disabled;
23771
23771
  return disabled ? "default" : "pointer";
23772
23772
  }, function (_ref6) {
23773
- var selected = _ref6.selected,
23774
- disabled = _ref6.disabled,
23773
+ var disabled = _ref6.disabled,
23775
23774
  themeValues = _ref6.themeValues;
23776
- return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : disabled ? WHITE : themeValues.hoverColor;
23775
+ return disabled ? WHITE : addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0);
23777
23776
  }, function (_ref7) {
23778
23777
  var selected = _ref7.selected,
23779
- disabled = _ref7.disabled,
23780
23778
  themeValues = _ref7.themeValues;
23781
- return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : disabled ? WHITE : themeValues.hoverColor;
23779
+ return selected ? TRANSPARENT : themeValues.hoverColor;
23782
23780
  }, function (_ref8) {
23783
23781
  var selected = _ref8.selected,
23782
+ disabled = _ref8.disabled,
23784
23783
  themeValues = _ref8.themeValues;
23785
- return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : themeValues.hoverColor;
23784
+ return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : disabled ? WHITE : themeValues.hoverColor;
23786
23785
  }, function (_ref9) {
23787
23786
  var selected = _ref9.selected,
23788
23787
  themeValues = _ref9.themeValues;