@alfalab/core-components-date-input 4.1.4 → 4.1.6
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/Component.js +1 -1
- package/cssm/index.module.css +11 -6
- package/esm/Component.js +1 -1
- package/esm/index.css +12 -7
- package/index.css +12 -7
- package/modern/Component.js +1 -1
- package/modern/index.css +12 -7
- package/package.json +2 -2
package/Component.js
CHANGED
|
@@ -53,7 +53,7 @@ function __rest(s, e) {
|
|
|
53
53
|
return t;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
var styles = {"nativeInput":"date-
|
|
56
|
+
var styles = {"nativeInput":"date-input__nativeInput_io3rx"};
|
|
57
57
|
require('./index.css')
|
|
58
58
|
|
|
59
59
|
var DateInput = React.forwardRef(function (_a, ref) {
|
package/cssm/index.module.css
CHANGED
|
@@ -1,12 +1,19 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} .nativeInput {
|
|
10
17
|
opacity: 0;
|
|
11
18
|
position: absolute;
|
|
12
19
|
top: 0;
|
|
@@ -16,10 +23,8 @@
|
|
|
16
23
|
-webkit-appearance: none;
|
|
17
24
|
appearance: none;
|
|
18
25
|
z-index: 1
|
|
19
|
-
}
|
|
20
|
-
.nativeInput::-webkit-calendar-picker-indicator {
|
|
26
|
+
} .nativeInput::-webkit-calendar-picker-indicator {
|
|
21
27
|
display: none;
|
|
22
|
-
}
|
|
23
|
-
.nativeInput::-webkit-inner-spin-button {
|
|
28
|
+
} .nativeInput::-webkit-inner-spin-button {
|
|
24
29
|
display: none;
|
|
25
30
|
}
|
package/esm/Component.js
CHANGED
package/esm/index.css
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 115rl */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} .date-input__nativeInput_io3rx {
|
|
11
18
|
opacity: 0;
|
|
12
19
|
position: absolute;
|
|
13
20
|
top: 0;
|
|
@@ -17,10 +24,8 @@
|
|
|
17
24
|
-webkit-appearance: none;
|
|
18
25
|
appearance: none;
|
|
19
26
|
z-index: 1
|
|
20
|
-
}
|
|
21
|
-
.date-input__nativeInput_1xfnz::-webkit-calendar-picker-indicator {
|
|
27
|
+
} .date-input__nativeInput_io3rx::-webkit-calendar-picker-indicator {
|
|
22
28
|
display: none;
|
|
23
|
-
}
|
|
24
|
-
.date-input__nativeInput_1xfnz::-webkit-inner-spin-button {
|
|
29
|
+
} .date-input__nativeInput_io3rx::-webkit-inner-spin-button {
|
|
25
30
|
display: none;
|
|
26
31
|
}
|
package/index.css
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 115rl */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} .date-input__nativeInput_io3rx {
|
|
11
18
|
opacity: 0;
|
|
12
19
|
position: absolute;
|
|
13
20
|
top: 0;
|
|
@@ -17,10 +24,8 @@
|
|
|
17
24
|
-webkit-appearance: none;
|
|
18
25
|
appearance: none;
|
|
19
26
|
z-index: 1
|
|
20
|
-
}
|
|
21
|
-
.date-input__nativeInput_1xfnz::-webkit-calendar-picker-indicator {
|
|
27
|
+
} .date-input__nativeInput_io3rx::-webkit-calendar-picker-indicator {
|
|
22
28
|
display: none;
|
|
23
|
-
}
|
|
24
|
-
.date-input__nativeInput_1xfnz::-webkit-inner-spin-button {
|
|
29
|
+
} .date-input__nativeInput_io3rx::-webkit-inner-spin-button {
|
|
25
30
|
display: none;
|
|
26
31
|
}
|
package/modern/Component.js
CHANGED
|
@@ -7,7 +7,7 @@ import 'date-fns/format';
|
|
|
7
7
|
import 'date-fns/isValid';
|
|
8
8
|
import 'date-fns/parse';
|
|
9
9
|
|
|
10
|
-
const styles = {"nativeInput":"date-
|
|
10
|
+
const styles = {"nativeInput":"date-input__nativeInput_io3rx"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const DateInput = forwardRef(({ mobileMode = 'input', defaultValue = '', rightAddons, error, value: propValue, onBlur, onChange, onComplete, ...restProps }, ref) => {
|
package/modern/index.css
CHANGED
|
@@ -1,13 +1,20 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 115rl */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
15
|
+
} :root {
|
|
16
|
+
} :root {
|
|
17
|
+
} .date-input__nativeInput_io3rx {
|
|
11
18
|
opacity: 0;
|
|
12
19
|
position: absolute;
|
|
13
20
|
top: 0;
|
|
@@ -17,10 +24,8 @@
|
|
|
17
24
|
-webkit-appearance: none;
|
|
18
25
|
appearance: none;
|
|
19
26
|
z-index: 1
|
|
20
|
-
}
|
|
21
|
-
.date-input__nativeInput_1xfnz::-webkit-calendar-picker-indicator {
|
|
27
|
+
} .date-input__nativeInput_io3rx::-webkit-calendar-picker-indicator {
|
|
22
28
|
display: none;
|
|
23
|
-
}
|
|
24
|
-
.date-input__nativeInput_1xfnz::-webkit-inner-spin-button {
|
|
29
|
+
} .date-input__nativeInput_io3rx::-webkit-inner-spin-button {
|
|
25
30
|
display: none;
|
|
26
31
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-date-input",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"react": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-input": "^11.1.
|
|
20
|
+
"@alfalab/core-components-input": "^11.1.6",
|
|
21
21
|
"date-fns": "^2.16.1",
|
|
22
22
|
"react-merge-refs": "^1.1.0"
|
|
23
23
|
}
|