@paubox/ui 0.16.1 → 0.16.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/index.esm.js +2 -2
- package/package.json +1 -1
- package/src/lib/Inputs/MultiSelect.d.ts +1 -1
package/index.esm.js
CHANGED
|
@@ -23532,7 +23532,7 @@ var MultiSelect = function(_param) {
|
|
|
23532
23532
|
return val !== option.value;
|
|
23533
23533
|
}) : _to_consumable_array$6(values).concat([
|
|
23534
23534
|
option.value
|
|
23535
|
-
]));
|
|
23535
|
+
]), option);
|
|
23536
23536
|
};
|
|
23537
23537
|
return /*#__PURE__*/ jsxs(MultiSelectWrapper, {
|
|
23538
23538
|
disabled: disabled,
|
|
@@ -24270,7 +24270,7 @@ function _templateObject1$a() {
|
|
|
24270
24270
|
}
|
|
24271
24271
|
function _templateObject2$8() {
|
|
24272
24272
|
var data = _tagged_template_literal$f([
|
|
24273
|
-
"\n flex: 1;\n cursor: pointer;\n border: none;\n background-color: transparent;\n z-index: 1;\n -webkit-appearance: none;\n -moz-appearance: none;\n &::-ms-expand {\n display: none;\n }\n &::placeholder {\n color: ",
|
|
24273
|
+
"\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 &::placeholder {\n color: ",
|
|
24274
24274
|
";\n }\n color: ",
|
|
24275
24275
|
";\n padding: ",
|
|
24276
24276
|
";\n padding-right: 2rem;\n outline: none;\n &::placeholder {\n color: ",
|
package/package.json
CHANGED
|
@@ -5,7 +5,7 @@ export interface MultiSelectOption {
|
|
|
5
5
|
}
|
|
6
6
|
export interface MultiSelectProps extends BaseSelectProps {
|
|
7
7
|
values: string[];
|
|
8
|
-
setValues: (
|
|
8
|
+
setValues: (value: string[], option?: MultiSelectOption) => void;
|
|
9
9
|
options: MultiSelectOption[];
|
|
10
10
|
placeholder?: string;
|
|
11
11
|
label?: string;
|