@xelto.npm/xc2-lib 0.0.46 → 0.0.47

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.
@@ -0,0 +1 @@
1
+ export { default } from './Select';
@@ -10,3 +10,4 @@ export { default as BottomInfoBar } from "./bottomInfoBar";
10
10
  export { default as Checkbox } from "./checkbox";
11
11
  export { default as DatePicker } from "./Inputs/datepicker";
12
12
  export { default as TextField } from "./Inputs/textfield";
13
+ export { default as Select } from "./Inputs/select";
package/dist/index.d.ts CHANGED
@@ -132,4 +132,24 @@ interface TextFieldProps {
132
132
 
133
133
  declare const TextField: React.FunctionComponent<TextFieldProps>;
134
134
 
135
- export { AppTileComponent as AppTile, BottomBarComponent as BottomBar, BottomInfoBar, CustomButtonComponent as Button, CheckboxComponent as Checkbox, DatePicker, Icon, IconButtonComponent as IconButton, Illustration, Logo, TextField, TypographyComponent as Typography };
135
+ interface SelectProps {
136
+ disabled?: boolean;
137
+ fluid?: boolean;
138
+ label?: string;
139
+ options?: {
140
+ label: string;
141
+ }[];
142
+ withRefresh?: boolean;
143
+ value?: object;
144
+ noOptionsText?: string;
145
+ placeholder?: string;
146
+ onChange?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
147
+ onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
148
+ forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
149
+ onRefreshClick?: void;
150
+ endAdornment?: string;
151
+ }
152
+
153
+ declare const Select: React.FunctionComponent<SelectProps>;
154
+
155
+ export { AppTileComponent as AppTile, BottomBarComponent as BottomBar, BottomInfoBar, CustomButtonComponent as Button, CheckboxComponent as Checkbox, DatePicker, Icon, IconButtonComponent as IconButton, Illustration, Logo, Select, TextField, TypographyComponent as Typography };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.46",
3
+ "version": "0.0.47",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",