@tecsinapse/react-web-kit 3.5.1-beta.0 → 3.5.1-beta.1

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.
Files changed (57) hide show
  1. package/dist/cjs/components/atoms/Dropdown/index.js +1 -1
  2. package/dist/cjs/components/atoms/Tooltip/Tooltip.js +4 -2
  3. package/dist/cjs/components/molecules/Grid/Grid.js +23 -16
  4. package/dist/cjs/components/molecules/Grid/Item/Item.js +8 -4
  5. package/dist/cjs/components/molecules/Menubar/Menubar.js +3 -1
  6. package/dist/esm/components/atoms/Dropdown/index.js +2 -2
  7. package/dist/esm/components/atoms/Tooltip/Tooltip.js +4 -2
  8. package/dist/esm/components/molecules/Grid/Grid.js +24 -17
  9. package/dist/esm/components/molecules/Grid/Item/Item.js +8 -4
  10. package/dist/esm/components/molecules/Menubar/Menubar.js +3 -1
  11. package/dist/types/components/atoms/Accordion/styled.d.ts +4 -4
  12. package/dist/types/components/atoms/Dropdown/index.d.ts +1 -1
  13. package/dist/types/components/atoms/Dropdown/styled.d.ts +1 -1
  14. package/dist/types/components/atoms/Modal/styled.d.ts +1 -1
  15. package/dist/types/components/atoms/Overlay/Overlay.d.ts +2 -2
  16. package/dist/types/components/atoms/Overlay/styled.d.ts +1 -1
  17. package/dist/types/components/atoms/Skeleton/styled.d.ts +1 -1
  18. package/dist/types/components/atoms/Switch/styled.d.ts +2 -2
  19. package/dist/types/components/atoms/Table/Cell/styled.d.ts +1 -1
  20. package/dist/types/components/atoms/Table/Container/styled.d.ts +1 -1
  21. package/dist/types/components/atoms/Table/Footer/styled.d.ts +1 -1
  22. package/dist/types/components/atoms/Table/Header/styled.d.ts +3 -3
  23. package/dist/types/components/atoms/Table/Row/styled.d.ts +1 -1
  24. package/dist/types/components/atoms/Table/Toolbar/styled.d.ts +1 -1
  25. package/dist/types/components/atoms/Table/styled.d.ts +1 -1
  26. package/dist/types/components/atoms/Tooltip/styled.d.ts +2 -2
  27. package/dist/types/components/molecules/Breadcrumbs/BreadcrumbItem/styled.d.ts +2 -2
  28. package/dist/types/components/molecules/Breadcrumbs/styled.d.ts +1 -1
  29. package/dist/types/components/molecules/DatePicker/DatePicker.d.ts +2 -1
  30. package/dist/types/components/molecules/DatePicker/Modal.d.ts +3 -2
  31. package/dist/types/components/molecules/DateTimePickerSelector/components/MemoizedTimeCard.d.ts +1 -1
  32. package/dist/types/components/molecules/Drawer/styled.d.ts +1 -1
  33. package/dist/types/components/molecules/Grid/Grid.d.ts +1 -1
  34. package/dist/types/components/molecules/Grid/Item/Item.d.ts +1 -1
  35. package/dist/types/components/molecules/LabeledSwitch/styled.d.ts +1 -1
  36. package/dist/types/components/molecules/Masonry/Masonry.d.ts +2 -2
  37. package/dist/types/components/molecules/Masonry/styled.d.ts +3 -3
  38. package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/SubMenuBlock/styled.d.ts +2 -2
  39. package/dist/types/components/molecules/Menubar/MenuBlock/MenuItem/styled.d.ts +2 -2
  40. package/dist/types/components/molecules/Menubar/MenuBlock/styled.d.ts +5 -5
  41. package/dist/types/components/molecules/Menubar/MostUsed/styled.d.ts +1 -1
  42. package/dist/types/components/molecules/Menubar/SearchResultItem/styled.d.ts +1 -1
  43. package/dist/types/components/molecules/Menubar/styled.d.ts +6 -6
  44. package/dist/types/components/molecules/ScrollableMonthYearPicker/styled.d.ts +2 -2
  45. package/dist/types/components/molecules/ScrollableTimePicker/styled.d.ts +2 -2
  46. package/dist/types/components/molecules/Select/Dropdown/Dropdown.d.ts +1 -1
  47. package/dist/types/components/molecules/Select/Dropdown/styled.d.ts +7 -12
  48. package/dist/types/components/molecules/Select/Select.d.ts +2 -2
  49. package/dist/types/components/molecules/Select/SelectItem/SelectItem.d.ts +2 -1
  50. package/dist/types/components/molecules/Select/SelectItem/styled.d.ts +3 -3
  51. package/dist/types/components/molecules/Select/styled.d.ts +3 -3
  52. package/dist/types/components/organisms/DataGrid/DataGrid.d.ts +1 -1
  53. package/dist/types/components/organisms/DataGrid/Footer/styled.d.ts +8 -25
  54. package/dist/types/components/organisms/DataGrid/Header/Header.d.ts +2 -1
  55. package/dist/types/components/organisms/DataGrid/Header/styled.d.ts +1 -3
  56. package/dist/types/components/organisms/DataGrid/styled.d.ts +1 -3
  57. package/package.json +3 -3
@@ -21,7 +21,7 @@ const Component = ({
21
21
  {
22
22
  style: { ...animations.defaultStyles, ...animations.transition["bottom"][state] },
23
23
  ref: refDropDown,
24
- children
24
+ children: React.isValidElement(children) ? children : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children })
25
25
  }
26
26
  ) });
27
27
  };
@@ -11,7 +11,7 @@ const Tooltip = ({
11
11
  maxWidht,
12
12
  position = "bottom"
13
13
  }) => {
14
- const spanRef = React.useRef();
14
+ const spanRef = React.useRef(null);
15
15
  const [computed, setComputed] = React.useState(
16
16
  void 0
17
17
  );
@@ -29,7 +29,9 @@ const Tooltip = ({
29
29
  maxWidth: maxWidht,
30
30
  computed,
31
31
  position,
32
- ref: (ref) => spanRef.current = ref,
32
+ ref: (ref) => {
33
+ spanRef.current = ref;
34
+ },
33
35
  children: /* @__PURE__ */ jsxRuntime.jsx(
34
36
  reactCore.Text,
35
37
  {
@@ -24,16 +24,19 @@ const Grid = ({
24
24
  flexWrap: "wrap"
25
25
  },
26
26
  ...rest,
27
- children: React.Children.map(children, (child, index) => /* @__PURE__ */ jsxRuntime.jsx(
28
- Item,
29
- {
30
- columns,
31
- span: flatLayout[index],
32
- spacing,
33
- children: child
34
- },
35
- `child-${index}`
36
- ))
27
+ children: React.Children.map(children, (child, index) => {
28
+ const content = React.isValidElement(child) ? child : /* @__PURE__ */ jsxRuntime.jsx(jsxRuntime.Fragment, { children: child });
29
+ return /* @__PURE__ */ jsxRuntime.jsx(
30
+ Item,
31
+ {
32
+ columns,
33
+ span: flatLayout[index],
34
+ spacing,
35
+ children: content
36
+ },
37
+ `child-${index}`
38
+ );
39
+ })
37
40
  }
38
41
  );
39
42
  }
@@ -48,12 +51,16 @@ const Grid = ({
48
51
  },
49
52
  ...rest,
50
53
  children: React.Children.map(children, (child, index) => {
51
- return React.cloneElement(child, {
52
- ...child?.props,
53
- columns,
54
- spacing: child?.props.spacing ?? spacing,
55
- key: `child-${index}`
56
- });
54
+ if (React.isValidElement(child)) {
55
+ const childEl = child;
56
+ return React.cloneElement(childEl, {
57
+ ...childEl.props,
58
+ columns,
59
+ spacing: childEl.props?.spacing ?? spacing,
60
+ key: `child-${index}`
61
+ });
62
+ }
63
+ return child;
57
64
  })
58
65
  }
59
66
  );
@@ -52,10 +52,14 @@ const GridItem = ({
52
52
  paddingRight: reactCore.getGridItemPadding("right", _spacing, spacing),
53
53
  paddingLeft: reactCore.getGridItemPadding("left", _spacing, spacing)
54
54
  };
55
- const clone = React.cloneElement(children, {
56
- ...children?.props,
57
- style: wrapper ? children?.props.style : { ..._style, ...children?.props.style }
58
- });
55
+ let clone = void 0;
56
+ if (React.isValidElement(children)) {
57
+ const childEl = children;
58
+ clone = React.cloneElement(childEl, {
59
+ ...childEl.props,
60
+ style: wrapper ? childEl.props?.style : { ..._style, ...childEl.props?.style }
61
+ });
62
+ }
59
63
  return wrapper ? /* @__PURE__ */ jsxRuntime.jsx("div", { ...rest, style: _style, children: clone }) : clone;
60
64
  };
61
65
 
@@ -39,7 +39,9 @@ const Menubar = ({
39
39
  if (search === "") return;
40
40
  setResults(utils.filterAndTransform(options, search));
41
41
  }, [search]);
42
- return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: (ref) => menuRef.current = ref, ...rest, children: [
42
+ return /* @__PURE__ */ jsxRuntime.jsxs("div", { ref: (ref) => {
43
+ menuRef.current = ref;
44
+ }, ...rest, children: [
43
45
  /* @__PURE__ */ jsxRuntime.jsxs(styled.StyledMenuBar, { children: [
44
46
  /* @__PURE__ */ jsxRuntime.jsx(styled.StyledMenuButton, { variant: "filled", color: "primary", onPress: toggleOpen, children: !open ? /* @__PURE__ */ jsxRuntime.jsx(
45
47
  reactCore.Icon,
@@ -1,4 +1,4 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import { StyledContainerDropdown } from './styled.js';
4
4
  import { Transition } from 'react-transition-group';
@@ -19,7 +19,7 @@ const Component = ({
19
19
  {
20
20
  style: { ...defaultStyles, ...transition["bottom"][state] },
21
21
  ref: refDropDown,
22
- children
22
+ children: React__default.isValidElement(children) ? children : /* @__PURE__ */ jsx(Fragment, { children })
23
23
  }
24
24
  ) });
25
25
  };
@@ -9,7 +9,7 @@ const Tooltip = ({
9
9
  maxWidht,
10
10
  position = "bottom"
11
11
  }) => {
12
- const spanRef = React__default.useRef();
12
+ const spanRef = React__default.useRef(null);
13
13
  const [computed, setComputed] = React__default.useState(
14
14
  void 0
15
15
  );
@@ -27,7 +27,9 @@ const Tooltip = ({
27
27
  maxWidth: maxWidht,
28
28
  computed,
29
29
  position,
30
- ref: (ref) => spanRef.current = ref,
30
+ ref: (ref) => {
31
+ spanRef.current = ref;
32
+ },
31
33
  children: /* @__PURE__ */ jsx(
32
34
  Text,
33
35
  {
@@ -1,4 +1,4 @@
1
- import { jsx } from 'react/jsx-runtime';
1
+ import { jsx, Fragment } from 'react/jsx-runtime';
2
2
  import React__default from 'react';
3
3
  import GridItem from './Item/Item.js';
4
4
 
@@ -22,16 +22,19 @@ const Grid = ({
22
22
  flexWrap: "wrap"
23
23
  },
24
24
  ...rest,
25
- children: React__default.Children.map(children, (child, index) => /* @__PURE__ */ jsx(
26
- GridItem,
27
- {
28
- columns,
29
- span: flatLayout[index],
30
- spacing,
31
- children: child
32
- },
33
- `child-${index}`
34
- ))
25
+ children: React__default.Children.map(children, (child, index) => {
26
+ const content = React__default.isValidElement(child) ? child : /* @__PURE__ */ jsx(Fragment, { children: child });
27
+ return /* @__PURE__ */ jsx(
28
+ GridItem,
29
+ {
30
+ columns,
31
+ span: flatLayout[index],
32
+ spacing,
33
+ children: content
34
+ },
35
+ `child-${index}`
36
+ );
37
+ })
35
38
  }
36
39
  );
37
40
  }
@@ -46,12 +49,16 @@ const Grid = ({
46
49
  },
47
50
  ...rest,
48
51
  children: React__default.Children.map(children, (child, index) => {
49
- return React__default.cloneElement(child, {
50
- ...child?.props,
51
- columns,
52
- spacing: child?.props.spacing ?? spacing,
53
- key: `child-${index}`
54
- });
52
+ if (React__default.isValidElement(child)) {
53
+ const childEl = child;
54
+ return React__default.cloneElement(childEl, {
55
+ ...childEl.props,
56
+ columns,
57
+ spacing: childEl.props?.spacing ?? spacing,
58
+ key: `child-${index}`
59
+ });
60
+ }
61
+ return child;
55
62
  })
56
63
  }
57
64
  );
@@ -50,10 +50,14 @@ const GridItem = ({
50
50
  paddingRight: getGridItemPadding("right", _spacing, spacing),
51
51
  paddingLeft: getGridItemPadding("left", _spacing, spacing)
52
52
  };
53
- const clone = React__default.cloneElement(children, {
54
- ...children?.props,
55
- style: wrapper ? children?.props.style : { ..._style, ...children?.props.style }
56
- });
53
+ let clone = void 0;
54
+ if (React__default.isValidElement(children)) {
55
+ const childEl = children;
56
+ clone = React__default.cloneElement(childEl, {
57
+ ...childEl.props,
58
+ style: wrapper ? childEl.props?.style : { ..._style, ...childEl.props?.style }
59
+ });
60
+ }
57
61
  return wrapper ? /* @__PURE__ */ jsx("div", { ...rest, style: _style, children: clone }) : clone;
58
62
  };
59
63
 
@@ -37,7 +37,9 @@ const Menubar = ({
37
37
  if (search === "") return;
38
38
  setResults(filterAndTransform(options, search));
39
39
  }, [search]);
40
- return /* @__PURE__ */ jsxs("div", { ref: (ref) => menuRef.current = ref, ...rest, children: [
40
+ return /* @__PURE__ */ jsxs("div", { ref: (ref) => {
41
+ menuRef.current = ref;
42
+ }, ...rest, children: [
41
43
  /* @__PURE__ */ jsxs(StyledMenuBar, { children: [
42
44
  /* @__PURE__ */ jsx(StyledMenuButton, { variant: "filled", color: "primary", onPress: toggleOpen, children: !open ? /* @__PURE__ */ jsx(
43
45
  Icon,
@@ -1,16 +1,16 @@
1
1
  export declare const IconContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const TitleContainer: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
9
9
  export declare const AccordionContainer: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme;
11
11
  as?: React.ElementType;
12
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
13
13
  export declare const ContentContainer: import("@emotion/styled").StyledComponent<{
14
14
  theme?: import("@emotion/react").Theme;
15
15
  as?: React.ElementType;
16
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ }, JSX.IntrinsicElements, {}>;
@@ -5,5 +5,5 @@ export interface DropdownProps {
5
5
  onClickAway?: () => void;
6
6
  }
7
7
  export declare const Dropdown: React.FC<DropdownProps & {
8
- children: JSX.Element;
8
+ children?: React.ReactNode;
9
9
  }>;
@@ -1,4 +1,4 @@
1
1
  export declare const StyledContainerDropdown: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const ModalContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { ZIndex } from '@tecsinapse/react-core';
3
3
  export interface OverlayProps {
4
4
  timeout?: number;
@@ -7,5 +7,5 @@ export interface OverlayProps {
7
7
  zIndex: keyof ZIndex;
8
8
  children?: ReactNode;
9
9
  }
10
- declare const Overlay: ({ timeout, open, onClose, zIndex, children, }: OverlayProps) => JSX.Element;
10
+ declare const Overlay: ({ timeout, open, onClose, zIndex, children, }: OverlayProps) => React.ReactElement;
11
11
  export default Overlay;
@@ -6,5 +6,5 @@ type InjectedProps = {
6
6
  export declare const StyledOverlay: import("@emotion/styled").StyledComponent<{
7
7
  theme?: import("@emotion/react").Theme;
8
8
  as?: React.ElementType;
9
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & InjectedProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
9
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & InjectedProps, JSX.IntrinsicElements, {}>;
10
10
  export {};
@@ -2,4 +2,4 @@ import { SkeletonProps } from './Skeleton';
2
2
  export declare const Wrapper: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme;
4
4
  as?: React.ElementType;
5
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SkeletonProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SkeletonProps>, JSX.IntrinsicElements, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const StyledSwitchContent: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledSwitch: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TCell: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").TdHTMLAttributes<HTMLTableDataCellElement>, HTMLTableDataCellElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TFooter: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
4
+ }, JSX.IntrinsicElements, {}>;
@@ -1,12 +1,12 @@
1
1
  export declare const ThStyled: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement>, HTMLTableHeaderCellElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const THeadStyled: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableSectionElement>, HTMLTableSectionElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
9
9
  export declare const HeaderBackground: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme;
11
11
  as?: React.ElementType;
12
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLHRElement>, HTMLHRElement>, {}>;
12
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TRow: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLTableRowElement>, HTMLTableRowElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TableToolbarStyled: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ }, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const TableStyled: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -7,11 +7,11 @@ type InjectedProps = {
7
7
  export declare const TooltipSpan: import("@emotion/styled").StyledComponent<{
8
8
  theme?: import("@emotion/react").Theme;
9
9
  as?: React.ElementType;
10
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & InjectedProps, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
10
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & InjectedProps, JSX.IntrinsicElements, {}>;
11
11
  export declare const Container: import("@emotion/styled").StyledComponent<{
12
12
  theme?: import("@emotion/react").Theme;
13
13
  as?: React.ElementType;
14
14
  } & {
15
15
  position?: Position;
16
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ }, JSX.IntrinsicElements, {}>;
17
17
  export {};
@@ -1,8 +1,8 @@
1
1
  export declare const StyledContainerItem: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledContainerIcon: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,4 +1,4 @@
1
1
  export declare const StyledContainerBreadcrumbs: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,6 +1,7 @@
1
1
  import { DatePickerProps, SelectionType } from '@tecsinapse/react-core';
2
+ import React from 'react';
2
3
  export type WebDatePickerProps<T extends SelectionType> = Omit<DatePickerProps<T>, 'CalendarComponent' | 'renderCalendar' | 'requestCloseCalendar' | 'requestShowCalendar'> & {
3
4
  callbackAfterValidated?: (valid: boolean, message?: string) => void;
4
5
  invalidDateLabel?: string;
5
6
  };
6
- export declare const DatePicker: <T extends SelectionType>({ value, type, locale, onChange, callbackAfterValidated, placeholder, disabled, label, invalidDateLabel, ...rest }: WebDatePickerProps<T>) => JSX.Element;
7
+ export declare const DatePicker: <T extends SelectionType>({ value, type, locale, onChange, callbackAfterValidated, placeholder, disabled, label, invalidDateLabel, ...rest }: WebDatePickerProps<T>) => React.ReactElement;
@@ -1,5 +1,6 @@
1
1
  import { CalendarProps, SelectionType } from '@tecsinapse/react-core';
2
+ import * as React from 'react';
2
3
  import { ModalProps } from 'react-native';
3
4
  export declare const Modal: <T extends SelectionType>({ onRequestClose, children, ...modalProps }: CalendarProps<T> & ModalProps & {
4
- children: JSX.Element;
5
- }) => JSX.Element;
5
+ children: React.ReactElement | React.ReactNode;
6
+ }) => React.ReactElement;
@@ -6,5 +6,5 @@ interface MemoizedTimeCardProps {
6
6
  onPress: () => void;
7
7
  TextComponent: React.FC<TextProps>;
8
8
  }
9
- declare const MemoizedTimeCard: React.MemoExoticComponent<({ time, isSelected, onPress, TextComponent, }: MemoizedTimeCardProps) => JSX.Element>;
9
+ declare const MemoizedTimeCard: React.MemoExoticComponent<({ time, isSelected, onPress, TextComponent, }: MemoizedTimeCardProps) => React.ReactElement>;
10
10
  export default MemoizedTimeCard;
@@ -2,4 +2,4 @@ import { DrawerProps } from './Drawer';
2
2
  export declare const StyledContainerDrawer: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme;
4
4
  as?: React.ElementType;
5
- } & DrawerProps & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ } & DrawerProps & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,5 +1,5 @@
1
1
  import React from 'react';
2
2
  import { IGrid } from '@tecsinapse/react-core';
3
3
  export type IGridWeb = IGrid & Omit<React.HTMLAttributes<HTMLDivElement>, 'children'>;
4
- declare const Grid: ({ children, columns, layout, style, spacing, ...rest }: IGridWeb) => JSX.Element;
4
+ declare const Grid: ({ children, columns, layout, style, spacing, ...rest }: IGridWeb) => React.ReactElement;
5
5
  export default Grid;
@@ -5,5 +5,5 @@ export interface IGridItemWeb extends Omit<IGridItem, 'span'>, Omit<React.HTMLAt
5
5
  span: number | Span;
6
6
  flexBasis?: string | 'content' | 'auto' | 'max-content' | 'min-content' | 'fit-content';
7
7
  }
8
- declare const GridItem: ({ children, span: _span, columns, loadingComponent, loading, spacing: _spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemWeb) => JSX.Element;
8
+ declare const GridItem: ({ children, span: _span, columns, loadingComponent, loading, spacing: _spacing, wrapper, alignContent, alignItems, alignSelf, flex, flexDirection, flexGrow, flexShrink, justifyContent, flexBasis, style, ...rest }: IGridItemWeb) => React.ReactElement;
9
9
  export default GridItem;
@@ -2,7 +2,7 @@ import { LabelPositionOptions } from '@tecsinapse/react-core';
2
2
  export declare const StyledDiv: import("@emotion/styled").StyledComponent<{
3
3
  theme?: import("@emotion/react").Theme;
4
4
  as?: React.ElementType;
5
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
5
+ }, JSX.IntrinsicElements, {}>;
6
6
  export declare const StyledLabel: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
7
7
  theme?: import("@emotion/react").Theme;
8
8
  as?: React.ElementType;
@@ -1,4 +1,4 @@
1
- import { ReactNode } from 'react';
1
+ import React, { ReactNode } from 'react';
2
2
  import { SpacingType } from '@tecsinapse/react-core';
3
3
  export interface MasonryProps {
4
4
  columns: number;
@@ -6,5 +6,5 @@ export interface MasonryProps {
6
6
  spacingTop: SpacingType;
7
7
  children?: ReactNode;
8
8
  }
9
- declare const Masonry: ({ children, columns, spacingTop, spacingLeft, }: MasonryProps) => JSX.Element;
9
+ declare const Masonry: ({ children, columns, spacingTop, spacingLeft, }: MasonryProps) => React.ReactElement;
10
10
  export default Masonry;
@@ -4,14 +4,14 @@ export declare const StyledColumnItem: import("@emotion/styled").StyledComponent
4
4
  as?: React.ElementType;
5
5
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
6
6
  index: number;
7
- } & Partial<MasonryProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ } & Partial<MasonryProps>, JSX.IntrinsicElements, {}>;
8
8
  export declare const StyledMasonry: import("@emotion/styled").StyledComponent<{
9
9
  theme?: import("@emotion/react").Theme;
10
10
  as?: React.ElementType;
11
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
11
+ }, JSX.IntrinsicElements, {}>;
12
12
  export declare const StyledRowItem: import("@emotion/styled").StyledComponent<{
13
13
  theme?: import("@emotion/react").Theme;
14
14
  as?: React.ElementType;
15
15
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
16
16
  index: number;
17
- } & Partial<MasonryProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
+ } & Partial<MasonryProps>, JSX.IntrinsicElements, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const StyledContainerItem: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const DummyBorder: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const StyledContainerItemText: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledSubButton: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,20 +1,20 @@
1
1
  export declare const StyledLeftComponent: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledRightComponent: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
9
9
  export declare const StyledContainerMenu: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme;
11
11
  as?: React.ElementType;
12
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
13
13
  export declare const StyledContainerItems: import("@emotion/styled").StyledComponent<{
14
14
  theme?: import("@emotion/react").Theme;
15
15
  as?: React.ElementType;
16
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
16
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
17
17
  export declare const StyledText: import("@emotion/styled").StyledComponent<{
18
18
  theme?: import("@emotion/react").Theme;
19
19
  as?: React.ElementType;
20
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
20
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,7 +1,7 @@
1
1
  export declare const StyledCardContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledCard: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").CardProps & {
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
@@ -1,7 +1,7 @@
1
1
  export declare const StyledSearchItemContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const HighlightText: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
@@ -1,11 +1,11 @@
1
1
  export declare const StyledIconInput: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledMenuBar: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
9
9
  export declare const StyledMenuButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").ButtonProps & {
10
10
  onMouseOver?: () => void;
11
11
  onMouseOut?: () => void;
@@ -18,7 +18,7 @@ export declare const StyledMenuButton: import("@emotion/native").StyledComponent
18
18
  export declare const StyledContainerOpenMenu: import("@emotion/styled").StyledComponent<{
19
19
  theme?: import("@emotion/react").Theme;
20
20
  as?: React.ElementType;
21
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
21
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
22
22
  export declare const StyledInput: import("@emotion/native").StyledComponent<Omit<import("../../atoms/Input").InputWebProps, "ref"> & import("react").RefAttributes<HTMLInputElement> & {
23
23
  theme?: import("@emotion/react").Theme;
24
24
  as?: React.ElementType;
@@ -26,12 +26,12 @@ export declare const StyledInput: import("@emotion/native").StyledComponent<Omit
26
26
  export declare const StyledInputContainer: import("@emotion/styled").StyledComponent<{
27
27
  theme?: import("@emotion/react").Theme;
28
28
  as?: React.ElementType;
29
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
29
+ }, JSX.IntrinsicElements, {}>;
30
30
  export declare const StyledSearchResultsContainer: import("@emotion/styled").StyledComponent<{
31
31
  theme?: import("@emotion/react").Theme;
32
32
  as?: React.ElementType;
33
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
33
+ }, JSX.IntrinsicElements, {}>;
34
34
  export declare const StyledSearchTextContainer: import("@emotion/styled").StyledComponent<{
35
35
  theme?: import("@emotion/react").Theme;
36
36
  as?: React.ElementType;
37
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
37
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const DivStyledColumn: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ }, JSX.IntrinsicElements, {}>;
5
5
  export declare const DivStyledRow: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ }, JSX.IntrinsicElements, {}>;
@@ -1,8 +1,8 @@
1
1
  export declare const DivStyledColumn: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ }, JSX.IntrinsicElements, {}>;
5
5
  export declare const DivStyledRow: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ }, JSX.IntrinsicElements, {}>;
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  import { SelectProps } from '../Select';
3
3
  declare const Component: <Data, Type extends "single" | "multi">({ options, onSearch, type, hideSearchBar, onSelect, value, keyExtractor, labelExtractor, setDropDownVisible, style, anchor, selectAllLabel, searchBarPlaceholder, }: SelectProps<Data, Type> & {
4
4
  setDropDownVisible: (t: boolean) => void;
5
- }, ref: React.ForwardedRef<HTMLDivElement>) => JSX.Element;
5
+ }, ref: React.ForwardedRef<HTMLDivElement>) => React.ReactElement;
6
6
  declare const Dropdown: <Data, Type extends "single" | "multi">(props: SelectProps<Data, Type> & {
7
7
  setDropDownVisible: (t: boolean) => void;
8
8
  } & {
@@ -4,32 +4,27 @@ export declare const StyledContainerDropdown: import("@emotion/styled").StyledCo
4
4
  as?: React.ElementType;
5
5
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SelectProps<unknown, "single" | "multi"> & {
6
6
  lengthOptions: number;
7
- }>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
7
+ }>, JSX.IntrinsicElements, {}>;
8
8
  export declare const OptionsContainer: import("@emotion/styled").StyledComponent<{
9
9
  theme?: import("@emotion/react").Theme;
10
10
  as?: React.ElementType;
11
11
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps & SelectProps<unknown, "single" | "multi"> & {
12
12
  lengthOptions: number;
13
- }>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
13
+ }>, JSX.IntrinsicElements, {}>;
14
14
  export declare const SearchBarContainer: import("@emotion/styled").StyledComponent<{
15
15
  theme?: import("@emotion/react").Theme;
16
16
  as?: React.ElementType;
17
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
17
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
18
18
  export declare const PaddedContainer: import("@emotion/styled").StyledComponent<{
19
19
  theme?: import("@emotion/react").Theme;
20
20
  as?: React.ElementType;
21
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
22
- export declare const StyledContainerCheckAll: import("@emotion/styled").StyledComponent<{
23
- theme?: import("@emotion/react").Theme;
24
- as?: React.ElementType;
25
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
26
- theme?: import("@emotion/react").Theme;
27
- }, {}, {}>;
21
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
22
+ export declare const StyledContainerCheckAll: import("@emotion/styled").StyledComponent<any, {}, {}>;
28
23
  export declare const StyledSpan: import("@emotion/styled").StyledComponent<{
29
24
  theme?: import("@emotion/react").Theme;
30
25
  as?: React.ElementType;
31
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
26
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
32
27
  export declare const StyledContainerTextLabel: import("@emotion/styled").StyledComponent<{
33
28
  theme?: import("@emotion/react").Theme;
34
29
  as?: React.ElementType;
35
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
30
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -20,7 +20,7 @@ export interface SelectProps<Data, Type extends 'single' | 'multi'> extends Omit
20
20
  multiLabels?: MultiLabels;
21
21
  variant?: InputVariantType;
22
22
  hint?: string;
23
- hintComponent?: JSX.Element;
23
+ hintComponent?: React.ReactNode;
24
24
  }
25
- declare const Select: <Data, Type extends "single" | "multi">({ value, options, keyExtractor, onSelect, type, labelExtractor, placeholder, onSearch, searchBarPlaceholder, hideSearchBar, label, disabled, anchor, displayTextProps, selectAllLabel, multiLabels, variant, hint, hintComponent, ...rest }: SelectProps<Data, Type>) => JSX.Element;
25
+ declare const Select: <Data, Type extends "single" | "multi">({ value, options, keyExtractor, onSelect, type, labelExtractor, placeholder, onSearch, searchBarPlaceholder, hideSearchBar, label, disabled, anchor, displayTextProps, selectAllLabel, multiLabels, variant, hint, hintComponent, ...rest }: SelectProps<Data, Type>) => React.ReactElement;
26
26
  export default Select;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  interface SelectItemProps<Data, Type extends 'single' | 'multi'> {
2
3
  item: Data;
3
4
  type: Type;
@@ -12,6 +13,6 @@ declare const SelectItem: <Data, Type extends "single" | "multi">({ item, onSele
12
13
  checkedAll: boolean;
13
14
  setCheckedAll: (t: boolean) => void;
14
15
  lenghtOptions: number;
15
- }) => JSX.Element;
16
+ }) => React.ReactElement;
16
17
  declare const _default: typeof SelectItem;
17
18
  export default _default;
@@ -1,14 +1,14 @@
1
1
  export declare const ContainerItemSelect: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledSpan: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
8
  } & Partial<import("@tecsinapse/react-core").ThemeProviderProps> & {
9
9
  singleHighligh: boolean;
10
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, {}>;
10
+ }, JSX.IntrinsicElements, {}>;
11
11
  export declare const StyledContainerTextLabel: import("@emotion/styled").StyledComponent<{
12
12
  theme?: import("@emotion/react").Theme;
13
13
  as?: React.ElementType;
14
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
@@ -1,15 +1,15 @@
1
1
  export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
2
2
  theme?: import("@emotion/react").Theme;
3
3
  as?: React.ElementType;
4
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
4
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
5
5
  export declare const StyledInputContainer: import("@emotion/styled").StyledComponent<{
6
6
  theme?: import("@emotion/react").Theme;
7
7
  as?: React.ElementType;
8
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
9
9
  export declare const StyledHintContainer: import("@emotion/styled").StyledComponent<{
10
10
  theme?: import("@emotion/react").Theme;
11
11
  as?: React.ElementType;
12
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
13
13
  export declare const StyledIconComponent: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").IconProps & {
14
14
  theme?: import("@emotion/react").Theme;
15
15
  as?: React.ElementType;
@@ -25,5 +25,5 @@ export interface DataGridProps<Data> extends React.HTMLAttributes<HTMLDivElement
25
25
  emptyPlaceholder?: React.ReactNode;
26
26
  exportComponent?: React.ReactNode;
27
27
  }
28
- declare const DataGrid: <Data>({ headers, data, rowKeyExtractor, toolbarTitle, toolbarFooter, toolbarRightIcons, selectable, selectedRows, onSelectedRows, pagination, rowsPerPage, onRowsPerPageChange, rowsPerPageOptions: _rowsPerPageOptions, rowsPerPageLabel: _rowsPerPageLabel, exportLabel, exportFunction, rowsCount, page, onPageChange, loading, skeletonComponent, emptyPlaceholder, exportComponent, ...rest }: DataGridProps<Data>) => JSX.Element;
28
+ declare const DataGrid: <Data>({ headers, data, rowKeyExtractor, toolbarTitle, toolbarFooter, toolbarRightIcons, selectable, selectedRows, onSelectedRows, pagination, rowsPerPage, onRowsPerPageChange, rowsPerPageOptions: _rowsPerPageOptions, rowsPerPageLabel: _rowsPerPageLabel, exportLabel, exportFunction, rowsCount, page, onPageChange, loading, skeletonComponent, emptyPlaceholder, exportComponent, ...rest }: DataGridProps<Data>) => React.ReactElement;
29
29
  export default DataGrid;
@@ -1,32 +1,15 @@
1
- export declare const TdFooterStyled: import("@emotion/styled").StyledComponent<import("react").TdHTMLAttributes<HTMLTableCellElement> & {
2
- theme?: import("@emotion/react").Theme;
3
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
1
+ export declare const TdFooterStyled: import("@emotion/styled").StyledComponent<any, {}, {}>;
4
2
  export declare const FlexContainer: import("@emotion/styled").StyledComponent<{
5
3
  theme?: import("@emotion/react").Theme;
6
4
  as?: React.ElementType;
7
- }, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
8
- export declare const FooterContainer: import("@emotion/styled").StyledComponent<{
9
- theme?: import("@emotion/react").Theme;
10
- as?: React.ElementType;
11
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
12
- theme?: import("@emotion/react").Theme;
13
- }, {}, {}>;
14
- export declare const FooterContainerStart: import("@emotion/styled").StyledComponent<{
15
- theme?: import("@emotion/react").Theme;
16
- as?: React.ElementType;
17
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
18
- theme?: import("@emotion/react").Theme;
19
- }, {}, {}>;
20
- export declare const FooterContainerEnd: import("@emotion/styled").StyledComponent<{
21
- theme?: import("@emotion/react").Theme;
22
- as?: React.ElementType;
23
- } & import("react").ClassAttributes<HTMLDivElement> & import("react").HTMLAttributes<HTMLDivElement> & {
24
- theme?: import("@emotion/react").Theme;
25
- }, {}, {}>;
5
+ }, JSX.IntrinsicElements, {}>;
6
+ export declare const FooterContainer: import("@emotion/styled").StyledComponent<any, {}, {}>;
7
+ export declare const FooterContainerStart: import("@emotion/styled").StyledComponent<any, {}, {}>;
8
+ export declare const FooterContainerEnd: import("@emotion/styled").StyledComponent<any, {}, {}>;
26
9
  export declare const SelectContainer: import("@emotion/styled").StyledComponent<{
27
10
  theme?: import("@emotion/react").Theme;
28
11
  as?: React.ElementType;
29
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
12
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
30
13
  export declare const NavigationButton: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").ButtonProps & {
31
14
  onMouseOver?: () => void;
32
15
  onMouseOut?: () => void;
@@ -48,11 +31,11 @@ export declare const PageButton: import("@emotion/native").StyledComponent<impor
48
31
  export declare const PagesContainer: import("@emotion/styled").StyledComponent<{
49
32
  theme?: import("@emotion/react").Theme;
50
33
  as?: React.ElementType;
51
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
34
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
52
35
  export declare const HoveredText: import("@emotion/styled").StyledComponent<{
53
36
  theme?: import("@emotion/react").Theme;
54
37
  as?: React.ElementType;
55
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
38
+ } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, JSX.IntrinsicElements, {}>;
56
39
  export declare const TextPagination: import("@emotion/native").StyledComponent<import("@tecsinapse/react-core").TextProps & {
57
40
  theme?: import("@emotion/react").Theme;
58
41
  as?: React.ElementType;
@@ -1,3 +1,4 @@
1
+ import React from 'react';
1
2
  import { HeadersType } from '../types';
2
3
  export interface DataGridHeaderProps<Data> {
3
4
  headers: HeadersType<Data>[];
@@ -8,5 +9,5 @@ export interface DataGridHeaderProps<Data> {
8
9
  rowsCount: number;
9
10
  selectable?: boolean;
10
11
  }
11
- declare const Header: <Data>({ selectable, rowsCount, headers, data, rowKeyExtractor, selectedRows, onSelected, }: DataGridHeaderProps<Data>) => JSX.Element;
12
+ declare const Header: <Data>({ selectable, rowsCount, headers, data, rowKeyExtractor, selectedRows, onSelected, }: DataGridHeaderProps<Data>) => React.ReactElement;
12
13
  export default Header;
@@ -1,3 +1 @@
1
- export declare const CheckboxHeader: import("@emotion/styled").StyledComponent<import("react").ThHTMLAttributes<HTMLTableHeaderCellElement> & {
2
- theme?: import("@emotion/react").Theme;
3
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
1
+ export declare const CheckboxHeader: import("@emotion/styled").StyledComponent<any, {}, {}>;
@@ -1,3 +1 @@
1
- export declare const CheckboxCell: import("@emotion/styled").StyledComponent<import("react").TdHTMLAttributes<HTMLTableCellElement> & {
2
- theme?: import("@emotion/react").Theme;
3
- } & Partial<import("@tecsinapse/react-core").ThemeProviderProps>, {}, {}>;
1
+ export declare const CheckboxCell: import("@emotion/styled").StyledComponent<any, {}, {}>;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@tecsinapse/react-web-kit",
3
3
  "description": "React components library for web",
4
- "version": "3.5.1-beta.0",
4
+ "version": "3.5.1-beta.1",
5
5
  "license": "MIT",
6
6
  "main": "dist/esm/index.js",
7
7
  "module": "dist/esm/index.js",
@@ -19,7 +19,7 @@
19
19
  "@emotion/native": "~11.11.0",
20
20
  "@emotion/react": "~11.11.0",
21
21
  "@emotion/styled": "~11.11.0",
22
- "@tecsinapse/react-core": "3.4.15-beta.0",
22
+ "@tecsinapse/react-core": "3.4.15-beta.1",
23
23
  "date-fns": "~2.30.0",
24
24
  "react-native-vector-icons": "^9.2.0",
25
25
  "react-transition-group": "~4.4.5"
@@ -38,5 +38,5 @@
38
38
  "react-dom": ">=18.0.0",
39
39
  "react-native-web": ">=0.18.0 <1"
40
40
  },
41
- "gitHead": "a79fd28902c6a78bc91feb725354c363d29765d5"
41
+ "gitHead": "31f09f066e7f7ee57e2736d0124f2aeb667c78a9"
42
42
  }