@xelto.npm/xc2-lib 0.0.36 → 0.0.37

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 (26) hide show
  1. package/dist/cjs/index.js +52099 -52098
  2. package/dist/cjs/index.js.map +1 -1
  3. package/dist/cjs/types/components/Inputs/datepicker/DatePicker.d.ts +1 -1
  4. package/dist/cjs/types/components/Inputs/textfield/TextField.d.ts +4 -4
  5. package/dist/cjs/types/components/appTile/AppTileComponent.d.ts +1 -1
  6. package/dist/cjs/types/components/buttons/customButton/CustomButtonComponent.d.ts +1 -1
  7. package/dist/cjs/types/components/buttons/customButton/index.d.ts +1 -1
  8. package/dist/cjs/types/components/buttons/iconButton/IconButtonComponent.d.ts +1 -1
  9. package/dist/cjs/types/components/buttons/iconButton/index.d.ts +1 -1
  10. package/dist/cjs/types/components/checkbox/CheckboxComponent.d.ts +1 -1
  11. package/dist/cjs/types/components/foundations/icon/Icon.d.ts +4 -4
  12. package/dist/cjs/types/components/typography/Typography.d.ts +1 -1
  13. package/dist/esm/index.js +52099 -52098
  14. package/dist/esm/index.js.map +1 -1
  15. package/dist/esm/types/components/Inputs/datepicker/DatePicker.d.ts +1 -1
  16. package/dist/esm/types/components/Inputs/textfield/TextField.d.ts +4 -4
  17. package/dist/esm/types/components/appTile/AppTileComponent.d.ts +1 -1
  18. package/dist/esm/types/components/buttons/customButton/CustomButtonComponent.d.ts +1 -1
  19. package/dist/esm/types/components/buttons/customButton/index.d.ts +1 -1
  20. package/dist/esm/types/components/buttons/iconButton/IconButtonComponent.d.ts +1 -1
  21. package/dist/esm/types/components/buttons/iconButton/index.d.ts +1 -1
  22. package/dist/esm/types/components/checkbox/CheckboxComponent.d.ts +1 -1
  23. package/dist/esm/types/components/foundations/icon/Icon.d.ts +4 -4
  24. package/dist/esm/types/components/typography/Typography.d.ts +1 -1
  25. package/dist/index.d.ts +14 -13
  26. package/package.json +1 -1
@@ -8,7 +8,7 @@ declare const DatePicker: {
8
8
  label?: string | undefined;
9
9
  fluid?: boolean | undefined;
10
10
  disabled?: boolean | undefined;
11
- forwardedRef: any;
11
+ forwardedRef?: null | undefined;
12
12
  }): JSX.Element;
13
13
  propTypes: {
14
14
  disabled: PropTypes.Requireable<boolean>;
@@ -1,4 +1,4 @@
1
- /// <reference types="react" />
1
+ import * as React from 'react';
2
2
  import propTypes from "prop-types";
3
3
  export declare const StyledTextField: import("@emotion/styled").StyledComponent<import("@mui/material/TextField").TextFieldProps & import("@mui/system").MUIStyledCommonProps<import("@mui/material/styles").Theme>, {}, {}>;
4
4
  declare const TextField: {
@@ -14,9 +14,9 @@ declare const TextField: {
14
14
  max?: string | undefined;
15
15
  small?: boolean | undefined;
16
16
  helperText?: string | undefined;
17
- value?: null | undefined;
18
- onChange?: null | undefined;
19
- onBlur?: null | undefined;
17
+ value?: string | undefined;
18
+ onChange?: ((event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => null) | undefined;
19
+ onBlur?: ((event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => null) | undefined;
20
20
  forwardedRef?: null | undefined;
21
21
  endAdornment?: string | undefined;
22
22
  }): JSX.Element;
@@ -3,7 +3,7 @@ declare const AppTileComponent: ({ header, description, illustrationName, forwar
3
3
  header: any;
4
4
  description: any;
5
5
  illustrationName: any;
6
- forwardedRef: any;
6
+ forwardedRef?: null | undefined;
7
7
  isBigType: any;
8
8
  size: any;
9
9
  color: any;
@@ -10,6 +10,6 @@ declare const CustomButtonComponent: ({ type, text, size, fluid, color, resoluti
10
10
  width: any;
11
11
  onClick: any;
12
12
  disabled: any;
13
- forwardedRef: any;
13
+ forwardedRef?: null | undefined;
14
14
  }) => JSX.Element;
15
15
  export default CustomButtonComponent;
@@ -1 +1 @@
1
- export { default } from "./CustomButtonComponent.js";
1
+ export { default } from "./CustomButtonComponent";
@@ -7,5 +7,5 @@ export default function IconButtonComponent({ text, type, icon, color, fluid, on
7
7
  color: any;
8
8
  fluid: any;
9
9
  onClick: any;
10
- forwardedRef: any;
10
+ forwardedRef?: null | undefined;
11
11
  }): JSX.Element;
@@ -1 +1 @@
1
- export { default } from "./IconButtonComponent.js";
1
+ export { default } from "./IconButtonComponent";
@@ -6,6 +6,6 @@ declare const CheckboxComponent: ({ disabled, label, checked, onChange, indeterm
6
6
  checked: any;
7
7
  onChange: any;
8
8
  indeterminate: any;
9
- forwardedRef: any;
9
+ forwardedRef?: null | undefined;
10
10
  }) => JSX.Element;
11
11
  export default CheckboxComponent;
@@ -1,9 +1,9 @@
1
1
  /// <reference types="react" />
2
2
  declare const Icon: ({ iconName, color, size, forwardedRef, ...rest }: {
3
3
  [x: string]: any;
4
- iconName: any;
5
- color: any;
6
- size: any;
7
- forwardedRef: any;
4
+ iconName?: string | undefined;
5
+ color?: string | undefined;
6
+ size?: string | undefined;
7
+ forwardedRef?: null | undefined;
8
8
  }) => JSX.Element;
9
9
  export default Icon;
@@ -3,6 +3,6 @@ declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
3
3
  [x: string]: any;
4
4
  text: any;
5
5
  type: any;
6
- forwardedRef: any;
6
+ forwardedRef?: null | undefined;
7
7
  }) => JSX.Element;
8
8
  export default TypographyComponent;
package/dist/index.d.ts CHANGED
@@ -1,11 +1,12 @@
1
1
  /// <reference types="react" />
2
2
  import propTypes from 'prop-types';
3
+ import * as React from 'react';
3
4
 
4
5
  declare const AppTileComponent: ({ header, description, illustrationName, forwardedRef, isBigType, size, color }: {
5
6
  header: any;
6
7
  description: any;
7
8
  illustrationName: any;
8
- forwardedRef: any;
9
+ forwardedRef?: null | undefined;
9
10
  isBigType: any;
10
11
  size: any;
11
12
  color: any;
@@ -15,7 +16,7 @@ declare const TypographyComponent: ({ text, type, forwardedRef, ...props }: {
15
16
  [x: string]: any;
16
17
  text: any;
17
18
  type: any;
18
- forwardedRef: any;
19
+ forwardedRef?: null | undefined;
19
20
  }) => JSX.Element;
20
21
 
21
22
  declare const CustomButtonComponent: ({ type, text, size, fluid, color, resolution, width, onClick, disabled, forwardedRef, ...props }: {
@@ -29,7 +30,7 @@ declare const CustomButtonComponent: ({ type, text, size, fluid, color, resoluti
29
30
  width: any;
30
31
  onClick: any;
31
32
  disabled: any;
32
- forwardedRef: any;
33
+ forwardedRef?: null | undefined;
33
34
  }) => JSX.Element;
34
35
 
35
36
  declare function IconButtonComponent({ text, type, icon, color, fluid, onClick, forwardedRef, ...props }: {
@@ -40,7 +41,7 @@ declare function IconButtonComponent({ text, type, icon, color, fluid, onClick,
40
41
  color: any;
41
42
  fluid: any;
42
43
  onClick: any;
43
- forwardedRef: any;
44
+ forwardedRef?: null | undefined;
44
45
  }): JSX.Element;
45
46
 
46
47
  declare const Illustration: ({ illustrationName, color, size, isBigType }: {
@@ -52,10 +53,10 @@ declare const Illustration: ({ illustrationName, color, size, isBigType }: {
52
53
 
53
54
  declare const Icon: ({ iconName, color, size, forwardedRef, ...rest }: {
54
55
  [x: string]: any;
55
- iconName: any;
56
- color: any;
57
- size: any;
58
- forwardedRef: any;
56
+ iconName?: string | undefined;
57
+ color?: string | undefined;
58
+ size?: string | undefined;
59
+ forwardedRef?: null | undefined;
59
60
  }) => JSX.Element;
60
61
 
61
62
  declare const Logo: ({ logoName, color, ...props }: {
@@ -91,7 +92,7 @@ declare const CheckboxComponent: ({ disabled, label, checked, onChange, indeterm
91
92
  checked: any;
92
93
  onChange: any;
93
94
  indeterminate: any;
94
- forwardedRef: any;
95
+ forwardedRef?: null | undefined;
95
96
  }) => JSX.Element;
96
97
 
97
98
  declare const DatePicker: {
@@ -102,7 +103,7 @@ declare const DatePicker: {
102
103
  label?: string | undefined;
103
104
  fluid?: boolean | undefined;
104
105
  disabled?: boolean | undefined;
105
- forwardedRef: any;
106
+ forwardedRef?: null | undefined;
106
107
  }): JSX.Element;
107
108
  propTypes: {
108
109
  disabled: propTypes.Requireable<boolean>;
@@ -124,9 +125,9 @@ declare const TextField: {
124
125
  max?: string | undefined;
125
126
  small?: boolean | undefined;
126
127
  helperText?: string | undefined;
127
- value?: null | undefined;
128
- onChange?: null | undefined;
129
- onBlur?: null | undefined;
128
+ value?: string | undefined;
129
+ onChange?: ((event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => null) | undefined;
130
+ onBlur?: ((event: React.ChangeEvent<HTMLTextAreaElement | HTMLInputElement>) => null) | undefined;
130
131
  forwardedRef?: null | undefined;
131
132
  endAdornment?: string | undefined;
132
133
  }): JSX.Element;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xelto.npm/xc2-lib",
3
- "version": "0.0.36",
3
+ "version": "0.0.37",
4
4
  "author": "XELTO",
5
5
  "description": "React component library based on MUI",
6
6
  "license": "ISC",