groovinads-ui 1.2.46 → 1.2.47
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.
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "groovinads-ui",
|
|
3
3
|
"description": "Groovinads UI is a React component library designed exclusively for Groovinads applications. It provides ready-to-use UI elements styled according to Groovinads design guidelines to facilitate rapid development.",
|
|
4
|
-
"version": "1.2.
|
|
4
|
+
"version": "1.2.47",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"css",
|
|
7
7
|
"sass",
|
|
@@ -26,6 +26,8 @@ const Input = ({
|
|
|
26
26
|
suffix,
|
|
27
27
|
type = 'text',
|
|
28
28
|
value,
|
|
29
|
+
min,
|
|
30
|
+
max,
|
|
29
31
|
}) => {
|
|
30
32
|
const { toCamelCase } = useTextFormatter();
|
|
31
33
|
const inputRef = useRef(null);
|
|
@@ -75,6 +77,8 @@ const Input = ({
|
|
|
75
77
|
required={!!requiredText}
|
|
76
78
|
autoFocus={autoFocus}
|
|
77
79
|
ref={inputRef}
|
|
80
|
+
min={min}
|
|
81
|
+
max={max}
|
|
78
82
|
/>
|
|
79
83
|
<label htmlFor={id}>{label}</label>
|
|
80
84
|
</div>
|
|
@@ -97,6 +101,8 @@ const Input = ({
|
|
|
97
101
|
disabled={disabled}
|
|
98
102
|
autoFocus={autoFocus}
|
|
99
103
|
ref={inputRef}
|
|
104
|
+
min={min}
|
|
105
|
+
max={max}
|
|
100
106
|
/>
|
|
101
107
|
<label htmlFor={id}>{label}</label>
|
|
102
108
|
</div>
|
|
@@ -139,6 +145,8 @@ Input.propTypes = {
|
|
|
139
145
|
]),
|
|
140
146
|
value: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
141
147
|
autoFocus: PropTypes.bool,
|
|
148
|
+
min: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
149
|
+
max: PropTypes.oneOfType([PropTypes.string, PropTypes.number]),
|
|
142
150
|
};
|
|
143
151
|
|
|
144
152
|
export default Input;
|
|
@@ -53,9 +53,9 @@ const DeckDropdown = () => {
|
|
|
53
53
|
const favApp = async (identification) => {
|
|
54
54
|
try {
|
|
55
55
|
const resp = await ComponentsService.favApplication(identification);
|
|
56
|
-
console.log('if ---->');
|
|
56
|
+
//console.log('if ---->');
|
|
57
57
|
setApplications((prev) => {
|
|
58
|
-
console.log('setApplications ---->');
|
|
58
|
+
//console.log('setApplications ---->');
|
|
59
59
|
const index = prev.findIndex(
|
|
60
60
|
(element) => element?.id_application === identification,
|
|
61
61
|
);
|
|
@@ -29,7 +29,6 @@ const DropdownClients = ({ profileSelectedClient }) => {
|
|
|
29
29
|
try {
|
|
30
30
|
setshowDropdownSkeleton(true);
|
|
31
31
|
const clientsList = await ComponentsService.getClientsList();
|
|
32
|
-
console.log('clientsList', clientsList);
|
|
33
32
|
|
|
34
33
|
setClientsList(clientsList);
|
|
35
34
|
setshowDropdownSkeleton(false);
|