@paubox/ui 0.15.0 → 0.15.1
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 +9 -1
- package/package.json +1 -1
- package/src/lib/Inputs/Select.d.ts +1 -1
package/index.esm.js
CHANGED
|
@@ -22327,6 +22327,9 @@ var FilterRow = function(param) {
|
|
|
22327
22327
|
/*#__PURE__*/ jsx(Select, {
|
|
22328
22328
|
name: "filters.".concat(filterKey, ".").concat(rowIndex, ".field"),
|
|
22329
22329
|
placeholder: "Field",
|
|
22330
|
+
style: {
|
|
22331
|
+
flex: 1
|
|
22332
|
+
},
|
|
22330
22333
|
value: currentFilter.field,
|
|
22331
22334
|
setValue: function(value) {
|
|
22332
22335
|
return onChange("filters.".concat(filterKey, ".").concat(rowIndex, ".field"), value);
|
|
@@ -22342,6 +22345,9 @@ var FilterRow = function(param) {
|
|
|
22342
22345
|
name: "filters.".concat(filterKey, ".").concat(rowIndex, ".op"),
|
|
22343
22346
|
placeholder: "Operator",
|
|
22344
22347
|
value: currentFilter.op,
|
|
22348
|
+
style: {
|
|
22349
|
+
flex: 1
|
|
22350
|
+
},
|
|
22345
22351
|
onChange: function(value) {
|
|
22346
22352
|
return onChange("filters.".concat(filterKey, ".").concat(rowIndex, ".op"), value);
|
|
22347
22353
|
},
|
|
@@ -24124,7 +24130,7 @@ var IconWrapper$1 = styled.div(_templateObject3$6(), function(param) {
|
|
|
24124
24130
|
});
|
|
24125
24131
|
var SelectOption = styled.option(_templateObject4$4(), $paragraph100Semibold, textSecondary);
|
|
24126
24132
|
var Select = function(_param) {
|
|
24127
|
-
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, _param_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, props = _object_without_properties$a(_param, [
|
|
24133
|
+
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_disabled = _param.disabled, disabled = _param_disabled === void 0 ? false : _param_disabled, props = _object_without_properties$a(_param, [
|
|
24128
24134
|
"sz",
|
|
24129
24135
|
"error",
|
|
24130
24136
|
"options",
|
|
@@ -24134,6 +24140,7 @@ var Select = function(_param) {
|
|
|
24134
24140
|
"setValue",
|
|
24135
24141
|
"initialValue",
|
|
24136
24142
|
"type",
|
|
24143
|
+
"style",
|
|
24137
24144
|
"disabled"
|
|
24138
24145
|
]);
|
|
24139
24146
|
var _options_find;
|
|
@@ -24148,6 +24155,7 @@ var Select = function(_param) {
|
|
|
24148
24155
|
type: type,
|
|
24149
24156
|
error: error,
|
|
24150
24157
|
open: open,
|
|
24158
|
+
style: style,
|
|
24151
24159
|
children: [
|
|
24152
24160
|
/*#__PURE__*/ jsxs(InputWrapper, {
|
|
24153
24161
|
children: [
|
package/package.json
CHANGED
|
@@ -16,4 +16,4 @@ export interface SelectProps extends BaseSelectProps {
|
|
|
16
16
|
value: any;
|
|
17
17
|
setValue: (value: string) => void;
|
|
18
18
|
}
|
|
19
|
-
export declare const Select: ({ sz, error, options, checkbox, placeholder, value, setValue, initialValue, type, disabled, ...props }: SelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|
|
19
|
+
export declare const Select: ({ sz, error, options, checkbox, placeholder, value, setValue, initialValue, type, style, disabled, ...props }: SelectProps) => import("@emotion/react/jsx-runtime").JSX.Element;
|