@paubox/ui 1.6.1 → 1.7.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/index.esm.js +4 -9
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -24694,11 +24694,9 @@ function _templateObject1$a() {
|
|
|
24694
24694
|
}
|
|
24695
24695
|
function _templateObject2$9() {
|
|
24696
24696
|
var data = _tagged_template_literal$d([
|
|
24697
|
-
"\n flex: 1;\n cursor: pointer;\n border: none;\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n background-color: transparent;\n z-index: 1;\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n
|
|
24698
|
-
";\n }\n color: ",
|
|
24697
|
+
"\n flex: 1;\n cursor: pointer;\n border: none;\n width: 100%;\n text-overflow: ellipsis;\n white-space: nowrap;\n background-color: transparent;\n z-index: 1;\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n color: ",
|
|
24699
24698
|
";\n padding: ",
|
|
24700
|
-
";\n padding-right: 2rem;\n outline: none;\n
|
|
24701
|
-
";\n opacity: 0.3;\n }\n\n ",
|
|
24699
|
+
";\n padding-right: 2rem;\n outline: none;\n\n ",
|
|
24702
24700
|
"\n"
|
|
24703
24701
|
]);
|
|
24704
24702
|
_templateObject2$9 = function _templateObject() {
|
|
@@ -24747,13 +24745,10 @@ var SelectWrapper = styled.div(_templateObject1$a(), function(param) {
|
|
|
24747
24745
|
return disabled || type === 'secondary' ? neutral100 : 'white';
|
|
24748
24746
|
});
|
|
24749
24747
|
// Style for the Select itself
|
|
24750
|
-
var BaseSelect = styled.select(_templateObject2$9(),
|
|
24751
|
-
var value = param.value;
|
|
24752
|
-
return value ? textPrimary : neutral500;
|
|
24753
|
-
}, function(param) {
|
|
24748
|
+
var BaseSelect = styled.select(_templateObject2$9(), textPrimary, function(param) {
|
|
24754
24749
|
var sz = param.sz;
|
|
24755
24750
|
return sz === 'lg' ? '0.5rem 0.563rem' : '0.375rem 0.563rem';
|
|
24756
|
-
},
|
|
24751
|
+
}, function(param) {
|
|
24757
24752
|
var sz = param.sz, type = param.type;
|
|
24758
24753
|
return type === 'primary' ? sz === 'lg' ? $paragraph100Regular : $paragraph200Regular : sz === 'lg' ? $paragraph100Semibold : $paragraph200Semibold;
|
|
24759
24754
|
});
|