@xelto.npm/xc2-lib 0.0.47 → 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.
@@ -11,3 +11,5 @@ 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
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
@@ -152,4 +152,26 @@ interface SelectProps {
152
152
 
153
153
  declare const Select: React.FunctionComponent<SelectProps>;
154
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 };
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.47",
3
+ "version": "0.0.48",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",