@thecb/components 9.1.7-beta.1 → 9.1.7-beta.3
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.cjs.js
CHANGED
|
@@ -23770,10 +23770,10 @@ var DropdownContentWrapper = styled__default.div.withConfig({
|
|
|
23770
23770
|
var DropdownItemWrapper = styled__default.li.withConfig({
|
|
23771
23771
|
displayName: "Dropdown__DropdownItemWrapper",
|
|
23772
23772
|
componentId: "sc-pn6m0h-2"
|
|
23773
|
-
})(["text-align:start;border-width:2px;border-style:solid;border-color:
|
|
23773
|
+
})(["text-align:start;background:", ";border-width:2px;border-style:solid;border-color:transparent;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) {
|
|
23774
23774
|
var selected = _ref4.selected,
|
|
23775
23775
|
themeValues = _ref4.themeValues;
|
|
23776
|
-
return selected ? themeValues.selectedColor :
|
|
23776
|
+
return selected ? themeValues.selectedColor : WHITE;
|
|
23777
23777
|
}, function (_ref5) {
|
|
23778
23778
|
var disabled = _ref5.disabled;
|
|
23779
23779
|
return disabled ? "default" : "pointer";
|
|
@@ -23781,15 +23781,16 @@ var DropdownItemWrapper = styled__default.li.withConfig({
|
|
|
23781
23781
|
var selected = _ref6.selected,
|
|
23782
23782
|
disabled = _ref6.disabled,
|
|
23783
23783
|
themeValues = _ref6.themeValues;
|
|
23784
|
-
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
23784
|
+
return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : disabled ? WHITE : themeValues.hoverColor;
|
|
23785
23785
|
}, function (_ref7) {
|
|
23786
23786
|
var selected = _ref7.selected,
|
|
23787
23787
|
disabled = _ref7.disabled,
|
|
23788
23788
|
themeValues = _ref7.themeValues;
|
|
23789
|
-
return selected ? themeValues.selectedColor : disabled ? WHITE : themeValues.hoverColor;
|
|
23789
|
+
return selected ? addOpacity(themeValues.selectedColor, 0.2, 0, 0, 0) : disabled ? WHITE : themeValues.hoverColor;
|
|
23790
23790
|
}, function (_ref8) {
|
|
23791
|
-
var
|
|
23792
|
-
|
|
23791
|
+
var selected = _ref8.selected,
|
|
23792
|
+
themeValues = _ref8.themeValues;
|
|
23793
|
+
return selected ? TRANSPARENT : themeValues.hoverColor;
|
|
23793
23794
|
}, function (_ref9) {
|
|
23794
23795
|
var selected = _ref9.selected,
|
|
23795
23796
|
themeValues = _ref9.themeValues;
|