colibri-ui 0.8.11 → 0.8.12
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/MultiSelect/index.js
CHANGED
|
@@ -40,6 +40,7 @@ var MultiSelect = function MultiSelect(_a) {
|
|
|
40
40
|
required = _a.required,
|
|
41
41
|
label = _a.label,
|
|
42
42
|
hint = _a.hint,
|
|
43
|
+
style = _a.style,
|
|
43
44
|
hasError = _a.hasError,
|
|
44
45
|
_c = _a.size,
|
|
45
46
|
size = _c === void 0 ? "m" : _c,
|
|
@@ -127,6 +128,7 @@ var MultiSelect = function MultiSelect(_a) {
|
|
|
127
128
|
}, /*#__PURE__*/React__default.default.createElement(index$4.default, {
|
|
128
129
|
hasError: hasError,
|
|
129
130
|
size: size,
|
|
131
|
+
style: style,
|
|
130
132
|
className: clx(styles__default.default.root, {
|
|
131
133
|
root_auto: preparedLabel.length
|
|
132
134
|
}),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
1
2
|
import type { FormFieldProps } from "../base/FormField/index.props";
|
|
2
3
|
export type GroupOptions = {
|
|
3
4
|
value: string;
|
|
@@ -31,6 +32,7 @@ export interface MultiSelectProps extends Omit<FormFieldProps, "children"> {
|
|
|
31
32
|
placeholder?: string;
|
|
32
33
|
name?: string;
|
|
33
34
|
type?: Type;
|
|
35
|
+
style?: CSSProperties;
|
|
34
36
|
value?: SelectedItem[];
|
|
35
37
|
onChange?: (value: SelectedItem[]) => void;
|
|
36
38
|
}
|
package/esm/MultiSelect/index.js
CHANGED
|
@@ -30,6 +30,7 @@ var MultiSelect = function MultiSelect(_a) {
|
|
|
30
30
|
required = _a.required,
|
|
31
31
|
label = _a.label,
|
|
32
32
|
hint = _a.hint,
|
|
33
|
+
style = _a.style,
|
|
33
34
|
hasError = _a.hasError,
|
|
34
35
|
_c = _a.size,
|
|
35
36
|
size = _c === void 0 ? "m" : _c,
|
|
@@ -117,6 +118,7 @@ var MultiSelect = function MultiSelect(_a) {
|
|
|
117
118
|
}, /*#__PURE__*/React__default.createElement(InputRoot, {
|
|
118
119
|
hasError: hasError,
|
|
119
120
|
size: size,
|
|
121
|
+
style: style,
|
|
120
122
|
className: clx(styles.root, {
|
|
121
123
|
root_auto: preparedLabel.length
|
|
122
124
|
}),
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
import { CSSProperties } from "react";
|
|
1
2
|
import type { FormFieldProps } from "../base/FormField/index.props";
|
|
2
3
|
export type GroupOptions = {
|
|
3
4
|
value: string;
|
|
@@ -31,6 +32,7 @@ export interface MultiSelectProps extends Omit<FormFieldProps, "children"> {
|
|
|
31
32
|
placeholder?: string;
|
|
32
33
|
name?: string;
|
|
33
34
|
type?: Type;
|
|
35
|
+
style?: CSSProperties;
|
|
34
36
|
value?: SelectedItem[];
|
|
35
37
|
onChange?: (value: SelectedItem[]) => void;
|
|
36
38
|
}
|