magneto365.ui 2.50.1 → 2.50.2

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,26 +11,68 @@ export interface IUserTerm {
11
11
  /**
12
12
  * this property closes the ui
13
13
  */
14
- onClose: () => void;
14
+ onClose?: () => void;
15
15
  }
16
16
  export declare namespace IUserTerm {
17
17
  interface Title {
18
+ /**
19
+ * this property sets custom styles
20
+ */
18
21
  className?: string;
22
+ /**
23
+ * this property sets children elements
24
+ */
25
+ children: React.ReactNode;
19
26
  }
20
27
  interface SubTitle {
28
+ /**
29
+ * this property sets custom styles
30
+ */
21
31
  className?: string;
32
+ /**
33
+ * this property sets children elements
34
+ */
35
+ children: React.ReactNode;
22
36
  }
23
37
  interface Highlight {
38
+ /**
39
+ * this property sets custom styles
40
+ */
24
41
  className?: string;
42
+ /**
43
+ * this property sets children elements
44
+ */
45
+ children: React.ReactNode;
25
46
  }
26
47
  interface Text {
48
+ /**
49
+ * this property sets custom styles
50
+ */
27
51
  className?: string;
52
+ /**
53
+ * this property sets children elements
54
+ */
55
+ children: React.ReactNode;
28
56
  }
29
57
  interface Content {
58
+ /**
59
+ * this property sets custom styles
60
+ */
30
61
  className?: string;
62
+ /**
63
+ * this property sets children elements
64
+ */
65
+ children: React.ReactNode;
31
66
  }
32
67
  interface UlList {
68
+ /**
69
+ * this property sets custom styles
70
+ */
33
71
  className?: string;
72
+ /**
73
+ * this property sets children elements
74
+ */
75
+ children: React.ReactNode;
34
76
  }
35
77
  interface Check {
36
78
  /**
@@ -40,11 +82,15 @@ export declare namespace IUserTerm {
40
82
  /**
41
83
  * this property check the input
42
84
  */
43
- isChecked: boolean;
85
+ isChecked?: boolean;
44
86
  /**
45
87
  * this fn returns true or false depending on checked
46
88
  */
47
- onChange: (value: boolean) => void;
89
+ onChange?: (value: boolean) => void;
90
+ /**
91
+ * this property sets children elements
92
+ */
93
+ children: React.ReactNode;
48
94
  }
49
95
  interface Submit extends React.ButtonHTMLAttributes<HTMLButtonElement> {
50
96
  /**
@@ -11,26 +11,68 @@ export interface IUserTerm {
11
11
  /**
12
12
  * this property closes the ui
13
13
  */
14
- onClose: () => void;
14
+ onClose?: () => void;
15
15
  }
16
16
  export declare namespace IUserTerm {
17
17
  interface Title {
18
+ /**
19
+ * this property sets custom styles
20
+ */
18
21
  className?: string;
22
+ /**
23
+ * this property sets children elements
24
+ */
25
+ children: React.ReactNode;
19
26
  }
20
27
  interface SubTitle {
28
+ /**
29
+ * this property sets custom styles
30
+ */
21
31
  className?: string;
32
+ /**
33
+ * this property sets children elements
34
+ */
35
+ children: React.ReactNode;
22
36
  }
23
37
  interface Highlight {
38
+ /**
39
+ * this property sets custom styles
40
+ */
24
41
  className?: string;
42
+ /**
43
+ * this property sets children elements
44
+ */
45
+ children: React.ReactNode;
25
46
  }
26
47
  interface Text {
48
+ /**
49
+ * this property sets custom styles
50
+ */
27
51
  className?: string;
52
+ /**
53
+ * this property sets children elements
54
+ */
55
+ children: React.ReactNode;
28
56
  }
29
57
  interface Content {
58
+ /**
59
+ * this property sets custom styles
60
+ */
30
61
  className?: string;
62
+ /**
63
+ * this property sets children elements
64
+ */
65
+ children: React.ReactNode;
31
66
  }
32
67
  interface UlList {
68
+ /**
69
+ * this property sets custom styles
70
+ */
33
71
  className?: string;
72
+ /**
73
+ * this property sets children elements
74
+ */
75
+ children: React.ReactNode;
34
76
  }
35
77
  interface Check {
36
78
  /**
@@ -40,11 +82,15 @@ export declare namespace IUserTerm {
40
82
  /**
41
83
  * this property check the input
42
84
  */
43
- isChecked: boolean;
85
+ isChecked?: boolean;
44
86
  /**
45
87
  * this fn returns true or false depending on checked
46
88
  */
47
- onChange: (value: boolean) => void;
89
+ onChange?: (value: boolean) => void;
90
+ /**
91
+ * this property sets children elements
92
+ */
93
+ children: React.ReactNode;
48
94
  }
49
95
  interface Submit extends React.ButtonHTMLAttributes<HTMLButtonElement> {
50
96
  /**
package/dist/index.d.ts CHANGED
@@ -3995,26 +3995,68 @@ interface IUserTerm {
3995
3995
  /**
3996
3996
  * this property closes the ui
3997
3997
  */
3998
- onClose: () => void;
3998
+ onClose?: () => void;
3999
3999
  }
4000
4000
  declare namespace IUserTerm {
4001
4001
  interface Title {
4002
+ /**
4003
+ * this property sets custom styles
4004
+ */
4002
4005
  className?: string;
4006
+ /**
4007
+ * this property sets children elements
4008
+ */
4009
+ children: React.ReactNode;
4003
4010
  }
4004
4011
  interface SubTitle {
4012
+ /**
4013
+ * this property sets custom styles
4014
+ */
4005
4015
  className?: string;
4016
+ /**
4017
+ * this property sets children elements
4018
+ */
4019
+ children: React.ReactNode;
4006
4020
  }
4007
4021
  interface Highlight {
4022
+ /**
4023
+ * this property sets custom styles
4024
+ */
4008
4025
  className?: string;
4026
+ /**
4027
+ * this property sets children elements
4028
+ */
4029
+ children: React.ReactNode;
4009
4030
  }
4010
4031
  interface Text {
4032
+ /**
4033
+ * this property sets custom styles
4034
+ */
4011
4035
  className?: string;
4036
+ /**
4037
+ * this property sets children elements
4038
+ */
4039
+ children: React.ReactNode;
4012
4040
  }
4013
4041
  interface Content {
4042
+ /**
4043
+ * this property sets custom styles
4044
+ */
4014
4045
  className?: string;
4046
+ /**
4047
+ * this property sets children elements
4048
+ */
4049
+ children: React.ReactNode;
4015
4050
  }
4016
4051
  interface UlList {
4052
+ /**
4053
+ * this property sets custom styles
4054
+ */
4017
4055
  className?: string;
4056
+ /**
4057
+ * this property sets children elements
4058
+ */
4059
+ children: React.ReactNode;
4018
4060
  }
4019
4061
  interface Check {
4020
4062
  /**
@@ -4024,11 +4066,15 @@ declare namespace IUserTerm {
4024
4066
  /**
4025
4067
  * this property check the input
4026
4068
  */
4027
- isChecked: boolean;
4069
+ isChecked?: boolean;
4028
4070
  /**
4029
4071
  * this fn returns true or false depending on checked
4030
4072
  */
4031
- onChange: (value: boolean) => void;
4073
+ onChange?: (value: boolean) => void;
4074
+ /**
4075
+ * this property sets children elements
4076
+ */
4077
+ children: React.ReactNode;
4032
4078
  }
4033
4079
  interface Submit extends React.ButtonHTMLAttributes<HTMLButtonElement> {
4034
4080
  /**
package/package.json CHANGED
@@ -4,7 +4,7 @@
4
4
  "type": "git",
5
5
  "url": "https://github.com/W170/talenta.magneto365.ui.git"
6
6
  },
7
- "version": "2.50.1",
7
+ "version": "2.50.2",
8
8
  "description": "Magneto365 UI common components",
9
9
  "scripts": {
10
10
  "lint": "eslint ./src --ext .js,.ts,.jsx,.tsx",