@paubox/ui 0.15.3 → 0.15.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/index.esm.js +6 -4
- package/package.json +1 -1
package/index.esm.js
CHANGED
|
@@ -23397,7 +23397,8 @@ var MultiSelect = function(_param) {
|
|
|
23397
23397
|
maxHeight: 400,
|
|
23398
23398
|
detectEdges: false,
|
|
23399
23399
|
style: {
|
|
23400
|
-
padding: "".concat(spacing(1), "px 0")
|
|
23400
|
+
padding: "".concat(spacing(1), "px 0"),
|
|
23401
|
+
zIndex: 2
|
|
23401
23402
|
},
|
|
23402
23403
|
children: options.map(function(option) {
|
|
23403
23404
|
return /*#__PURE__*/ jsx(MenuItem, _object_spread_props$k(_object_spread$p({
|
|
@@ -24116,7 +24117,7 @@ var SelectWrapper = styled.div(_templateObject1$a(), function(param) {
|
|
|
24116
24117
|
// Style for the Select itself
|
|
24117
24118
|
var BaseSelect = styled.select(_templateObject2$8(), neutral500, function(param) {
|
|
24118
24119
|
var value = param.value;
|
|
24119
|
-
return
|
|
24120
|
+
return value ? textPrimary : neutral500;
|
|
24120
24121
|
}, function(param) {
|
|
24121
24122
|
var sz = param.sz;
|
|
24122
24123
|
return sz === 'lg' ? '0.5rem 0.563rem' : '0.375rem 0.563rem';
|
|
@@ -24128,7 +24129,7 @@ var IconWrapper$1 = styled.div(_templateObject3$6(), function(param) {
|
|
|
24128
24129
|
var open = param.open;
|
|
24129
24130
|
return open ? 'rotate(180deg)' : 'rotate(0deg)';
|
|
24130
24131
|
});
|
|
24131
|
-
var SelectOption = styled.option(_templateObject4$4(), $paragraph100Semibold,
|
|
24132
|
+
var SelectOption = styled.option(_templateObject4$4(), $paragraph100Semibold, textPrimary);
|
|
24132
24133
|
var Select = function(_param) {
|
|
24133
24134
|
var _param_sz = _param.sz, sz = _param_sz === void 0 ? 'sm' : _param_sz, _param_error = _param.error, error = _param_error === void 0 ? false : _param_error, _param_options = _param.options, options = _param_options === void 0 ? [] : _param_options; _param.checkbox; var placeholder = _param.placeholder, value = _param.value, setValue = _param.setValue; _param.initialValue; var _param_type = _param.type, type = _param_type === void 0 ? 'primary' : _param_type, style = _param.style, _param_maxHeight = _param.maxHeight, maxHeight = _param_maxHeight === void 0 ? '14rem' : _param_maxHeight, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, props = _object_without_properties$c(_param, [
|
|
24134
24135
|
"sz",
|
|
@@ -24206,7 +24207,8 @@ var Select = function(_param) {
|
|
|
24206
24207
|
style: {
|
|
24207
24208
|
padding: "".concat(spacing(1), "px 0"),
|
|
24208
24209
|
maxHeight: maxHeight,
|
|
24209
|
-
overflowY: 'scroll'
|
|
24210
|
+
overflowY: 'scroll',
|
|
24211
|
+
zIndex: 2
|
|
24210
24212
|
},
|
|
24211
24213
|
children: options.map(function(option) {
|
|
24212
24214
|
return /*#__PURE__*/ jsx(MenuItem, _object_spread_props$i(_object_spread$m({
|