@xelto.npm/xc2-lib 0.0.46 → 0.0.48

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,6 @@ 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";
14
+ export { default as TableMobile } from "./tableMobile";
15
+ export { default as SearchBar } from "./searchBar";
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { SearchBarProps } from "./SearchBarProps";
3
+ declare const SearchBarComponent: React.FunctionComponent<SearchBarProps>;
4
+ export default SearchBarComponent;
@@ -0,0 +1,11 @@
1
+ import { ChangeEventHandler, RefObject } from "react";
2
+ export interface SearchBarProps {
3
+ fluid?: boolean;
4
+ placeholder?: string;
5
+ onSearch?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
6
+ onChange: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
7
+ onChangeSearchText: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
8
+ onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
9
+ forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
10
+ searchText?: string;
11
+ }
@@ -0,0 +1 @@
1
+ export { default } from './SearchBarComponent';
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { TableMobileProps } from "./TableMobileProps";
3
+ declare const TableMobileComponent: React.FunctionComponent<TableMobileProps>;
4
+ export default TableMobileComponent;
@@ -0,0 +1,7 @@
1
+ import { ChangeEventHandler } from "react";
2
+ export interface TableMobileProps {
3
+ columns?: [];
4
+ rows?: [];
5
+ includeSearch?: boolean;
6
+ handleChangeData?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
7
+ }
@@ -0,0 +1 @@
1
+ export { default } from './TableMobileComponent';
package/dist/index.d.ts CHANGED
@@ -132,4 +132,46 @@ 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
+ interface TableMobileProps {
156
+ columns?: [];
157
+ rows?: [];
158
+ includeSearch?: boolean;
159
+ handleChangeData?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
160
+ }
161
+
162
+ declare const TableMobileComponent: React__default.FunctionComponent<TableMobileProps>;
163
+
164
+ interface SearchBarProps {
165
+ fluid?: boolean;
166
+ placeholder?: string;
167
+ onSearch?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
168
+ onChange: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
169
+ onChangeSearchText: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
170
+ onBlur?: ChangeEventHandler<HTMLTextAreaElement | HTMLInputElement>;
171
+ forwardedRef?: (instance: HTMLDivElement | null) => void | RefObject<HTMLDivElement> | null;
172
+ searchText?: string;
173
+ }
174
+
175
+ declare const SearchBarComponent: React__default.FunctionComponent<SearchBarProps>;
176
+
177
+ export { AppTileComponent as AppTile, BottomBarComponent as BottomBar, BottomInfoBar, CustomButtonComponent as Button, CheckboxComponent as Checkbox, DatePicker, Icon, IconButtonComponent as IconButton, Illustration, Logo, SearchBarComponent as SearchBar, Select, TableMobileComponent as TableMobile, 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.48",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",