@paubox/ui 1.6.0 → 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 +6 -11
- 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
|
});
|
|
@@ -29076,7 +29071,7 @@ function _templateObject$8() {
|
|
|
29076
29071
|
}
|
|
29077
29072
|
function _templateObject1$7() {
|
|
29078
29073
|
var data = _tagged_template_literal$8([
|
|
29079
|
-
"\n position: relative;\n overflow:
|
|
29074
|
+
"\n position: relative;\n overflow: auto;\n display: flex;\n flex-direction: column;\n max-height: 80%;\n max-width: 800px; // TODO: this should be controllable via props\n gap: ",
|
|
29080
29075
|
"px;\n background-color: white;\n border-radius: ",
|
|
29081
29076
|
"px;\n outline: none;\n padding: ",
|
|
29082
29077
|
"px;\n\n ",
|
|
@@ -29098,7 +29093,7 @@ function _templateObject2$6() {
|
|
|
29098
29093
|
}
|
|
29099
29094
|
function _templateObject3$4() {
|
|
29100
29095
|
var data = _tagged_template_literal$8([
|
|
29101
|
-
"\n overflow-y:
|
|
29096
|
+
"\n overflow-y: auto;\n"
|
|
29102
29097
|
]);
|
|
29103
29098
|
_templateObject3$4 = function _templateObject() {
|
|
29104
29099
|
return data;
|