jclib-ui 0.0.27 → 0.0.28

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,15 @@
1
+ import { ReactNode } from 'react'
2
+
3
+ type Props = {
4
+ isOpen: boolean
5
+ setOpen: (isOpen: boolean) => void
6
+ title: string
7
+ placeHolder: string
8
+ route: string
9
+ keyField: string
10
+ fields: string[]
11
+ renderLine: (item) => ReactNode
12
+ onClick: (keyField, item) => void
13
+ }
14
+
15
+ export default function BoxSearch(props: Props)
@@ -0,0 +1 @@
1
+ export const DataContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
package/dist/index.d.ts CHANGED
@@ -29,6 +29,9 @@ export { default as InputColor } from './inputColor/inputColor';
29
29
  export { default as InputPesquisa } from './inputPesquisa/inputPesquisa';
30
30
  export { default as InputQRCode } from './inputQRCode/inputQRCode';
31
31
  export { LoadingReport } from './LoadingReport/LoadingReport';
32
+ export * from './inputs/inputs';
33
+ export { default as CheckBox } from './inputs/CheckBox';
34
+ export { default as LabelHint } from './labelHint/LabelHint';
32
35
  export { useLocalForage } from './hooks/useLocalForage';
33
36
  export { default as useParamId } from './hooks/useParamId';
34
37
  export { default as useQuery } from './hooks/useQuery';
@@ -36,9 +39,6 @@ export { useLocalStorage, useSessionStorage } from './hooks/useStorage';
36
39
  export { default as useApi, globalApiConfig } from './hooks/useApi';
37
40
  export { cache } from './hooks/cache';
38
41
  export { GlobalImports } from './imports/globalImports';
39
- export * from './inputs/inputs';
40
- export { default as CheckBox } from './inputs/CheckBox';
41
- export { default as LabelHint } from './labelHint/LabelHint';
42
42
  export * from './links/Links';
43
43
  export { default as Loading } from './loading/Loading';
44
44
  export { default as ModalBox } from './modalBox/ModalBox';
@@ -54,6 +54,7 @@ export { default as Toggle } from './toggle/Toggle';
54
54
  export { CheckUpdates } from './update/update';
55
55
  export { default as PrintButtons } from './printButtons/printButtons';
56
56
  export { ScrollContainer } from './ScrollContainer/ScrollContainer';
57
+ export { default as BoxSearch } from './BoxSearch/BoxSearch';
57
58
  /**
58
59
  * ------- Verificar --------
59
60
  * -- InputCheckBox -> "parece um toggle repetido, se for o caso remover"