@alfalab/core-components-calendar-input 5.2.5 → 5.2.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/CHANGELOG.md +8 -0
- package/dist/Component.js +1 -1
- package/dist/esm/Component.js +1 -1
- package/dist/esm/index.css +10 -10
- package/dist/index.css +10 -10
- package/dist/modern/Component.js +1 -1
- package/dist/modern/index.css +10 -10
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,14 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [5.2.6](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@5.2.5...@alfalab/core-components-calendar-input@5.2.6) (2022-02-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
6
14
|
## [5.2.5](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-calendar-input@5.2.4...@alfalab/core-components-calendar-input@5.2.5) (2022-02-03)
|
|
7
15
|
|
|
8
16
|
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
package/dist/Component.js
CHANGED
|
@@ -55,7 +55,7 @@ function __rest(s, e) {
|
|
|
55
55
|
return t;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
var styles = {"component":"calendar-
|
|
58
|
+
var styles = {"component":"calendar-input__component_1s0er","block":"calendar-input__block_1s0er","calendarContainer":"calendar-input__calendarContainer_1s0er","calendarIcon":"calendar-input__calendarIcon_1s0er","nativeInput":"calendar-input__nativeInput_1s0er"};
|
|
59
59
|
require('./index.css')
|
|
60
60
|
|
|
61
61
|
var CalendarInput = React.forwardRef(function (_a, ref) {
|
package/dist/esm/Component.js
CHANGED
|
@@ -45,7 +45,7 @@ function __rest(s, e) {
|
|
|
45
45
|
return t;
|
|
46
46
|
}
|
|
47
47
|
|
|
48
|
-
var styles = {"component":"calendar-
|
|
48
|
+
var styles = {"component":"calendar-input__component_1s0er","block":"calendar-input__block_1s0er","calendarContainer":"calendar-input__calendarContainer_1s0er","calendarIcon":"calendar-input__calendarIcon_1s0er","nativeInput":"calendar-input__nativeInput_1s0er"};
|
|
49
49
|
require('./index.css')
|
|
50
50
|
|
|
51
51
|
var CalendarInput = forwardRef(function (_a, ref) {
|
package/dist/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1v5y6 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-primary: #dbdee1;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
--calendar-input-popover-border-color: var(--color-light-border-primary);
|
|
44
44
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
45
45
|
}
|
|
46
|
-
.calendar-
|
|
46
|
+
.calendar-input__component_1s0er {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__block_1s0er {
|
|
52
52
|
width: 100%;
|
|
53
53
|
}
|
|
54
|
-
.calendar-
|
|
54
|
+
.calendar-input__calendarContainer_1s0er {
|
|
55
55
|
display: inline-block;
|
|
56
56
|
box-sizing: border-box;
|
|
57
57
|
box-shadow: var(--shadow-s);
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
60
60
|
}
|
|
61
61
|
@media (max-width: 374px) {
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarContainer_1s0er {
|
|
63
63
|
width: 100%;
|
|
64
64
|
min-width: 288px
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
.calendar-
|
|
67
|
+
.calendar-input__calendarIcon_1s0er {
|
|
68
68
|
width: 24px;
|
|
69
69
|
height: 24px;
|
|
70
70
|
display: block;
|
|
71
71
|
color: var(--calendar-input-icon-color)
|
|
72
72
|
}
|
|
73
|
-
.calendar-
|
|
73
|
+
.calendar-input__calendarIcon_1s0er:not(:only-child) {
|
|
74
74
|
margin-right: var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.calendar-
|
|
76
|
+
.calendar-input__nativeInput_1s0er {
|
|
77
77
|
opacity: 0;
|
|
78
78
|
position: absolute;
|
|
79
79
|
top: 0;
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
appearance: none;
|
|
85
85
|
z-index: 1
|
|
86
86
|
}
|
|
87
|
-
.calendar-
|
|
87
|
+
.calendar-input__nativeInput_1s0er::-webkit-calendar-picker-indicator {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
-
.calendar-
|
|
90
|
+
.calendar-input__nativeInput_1s0er::-webkit-inner-spin-button {
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1v5y6 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-primary: #dbdee1;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
--calendar-input-popover-border-color: var(--color-light-border-primary);
|
|
44
44
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
45
45
|
}
|
|
46
|
-
.calendar-
|
|
46
|
+
.calendar-input__component_1s0er {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__block_1s0er {
|
|
52
52
|
width: 100%;
|
|
53
53
|
}
|
|
54
|
-
.calendar-
|
|
54
|
+
.calendar-input__calendarContainer_1s0er {
|
|
55
55
|
display: inline-block;
|
|
56
56
|
box-sizing: border-box;
|
|
57
57
|
box-shadow: var(--shadow-s);
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
60
60
|
}
|
|
61
61
|
@media (max-width: 374px) {
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarContainer_1s0er {
|
|
63
63
|
width: 100%;
|
|
64
64
|
min-width: 288px
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
.calendar-
|
|
67
|
+
.calendar-input__calendarIcon_1s0er {
|
|
68
68
|
width: 24px;
|
|
69
69
|
height: 24px;
|
|
70
70
|
display: block;
|
|
71
71
|
color: var(--calendar-input-icon-color)
|
|
72
72
|
}
|
|
73
|
-
.calendar-
|
|
73
|
+
.calendar-input__calendarIcon_1s0er:not(:only-child) {
|
|
74
74
|
margin-right: var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.calendar-
|
|
76
|
+
.calendar-input__nativeInput_1s0er {
|
|
77
77
|
opacity: 0;
|
|
78
78
|
position: absolute;
|
|
79
79
|
top: 0;
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
appearance: none;
|
|
85
85
|
z-index: 1
|
|
86
86
|
}
|
|
87
|
-
.calendar-
|
|
87
|
+
.calendar-input__nativeInput_1s0er::-webkit-calendar-picker-indicator {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
-
.calendar-
|
|
90
|
+
.calendar-input__nativeInput_1s0er::-webkit-inner-spin-button {
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
package/dist/modern/Component.js
CHANGED
|
@@ -6,7 +6,7 @@ import { parseDateString, isCompleteDateInput, formatDate, DateInput, SUPPORTS_I
|
|
|
6
6
|
import { Calendar, dateInLimits } from '@alfalab/core-components-calendar/dist/modern';
|
|
7
7
|
import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"component":"calendar-
|
|
9
|
+
var styles = {"component":"calendar-input__component_1s0er","block":"calendar-input__block_1s0er","calendarContainer":"calendar-input__calendarContainer_1s0er","calendarIcon":"calendar-input__calendarIcon_1s0er","nativeInput":"calendar-input__nativeInput_1s0er"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
const CalendarInput = forwardRef(({ block = false, className, inputClassName, popoverClassName, defaultOpen = false, defaultMonth, defaultValue = '', calendarPosition = 'popover', value, dataTestId, calendarProps = {}, minDate = calendarProps.minDate, maxDate = calendarProps.maxDate, offDays = calendarProps.offDays || [], preventFlip, mobileMode = 'popover', wrapperRef = null, disabled, onChange, onInputChange, onCalendarChange, onKeyDown, readOnly, Calendar: Calendar$1 = Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, ...restProps }, ref) => {
|
package/dist/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1v5y6 */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-border-primary: #dbdee1;
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -43,15 +43,15 @@
|
|
|
43
43
|
--calendar-input-popover-border-color: var(--color-light-border-primary);
|
|
44
44
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
45
45
|
}
|
|
46
|
-
.calendar-
|
|
46
|
+
.calendar-input__component_1s0er {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__block_1s0er {
|
|
52
52
|
width: 100%;
|
|
53
53
|
}
|
|
54
|
-
.calendar-
|
|
54
|
+
.calendar-input__calendarContainer_1s0er {
|
|
55
55
|
display: inline-block;
|
|
56
56
|
box-sizing: border-box;
|
|
57
57
|
box-shadow: var(--shadow-s);
|
|
@@ -59,21 +59,21 @@
|
|
|
59
59
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
60
60
|
}
|
|
61
61
|
@media (max-width: 374px) {
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarContainer_1s0er {
|
|
63
63
|
width: 100%;
|
|
64
64
|
min-width: 288px
|
|
65
65
|
}
|
|
66
66
|
}
|
|
67
|
-
.calendar-
|
|
67
|
+
.calendar-input__calendarIcon_1s0er {
|
|
68
68
|
width: 24px;
|
|
69
69
|
height: 24px;
|
|
70
70
|
display: block;
|
|
71
71
|
color: var(--calendar-input-icon-color)
|
|
72
72
|
}
|
|
73
|
-
.calendar-
|
|
73
|
+
.calendar-input__calendarIcon_1s0er:not(:only-child) {
|
|
74
74
|
margin-right: var(--gap-2xs);
|
|
75
75
|
}
|
|
76
|
-
.calendar-
|
|
76
|
+
.calendar-input__nativeInput_1s0er {
|
|
77
77
|
opacity: 0;
|
|
78
78
|
position: absolute;
|
|
79
79
|
top: 0;
|
|
@@ -84,9 +84,9 @@
|
|
|
84
84
|
appearance: none;
|
|
85
85
|
z-index: 1
|
|
86
86
|
}
|
|
87
|
-
.calendar-
|
|
87
|
+
.calendar-input__nativeInput_1s0er::-webkit-calendar-picker-indicator {
|
|
88
88
|
display: none;
|
|
89
89
|
}
|
|
90
|
-
.calendar-
|
|
90
|
+
.calendar-input__nativeInput_1s0er::-webkit-inner-spin-button {
|
|
91
91
|
display: none;
|
|
92
92
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-input",
|
|
3
|
-
"version": "5.2.
|
|
3
|
+
"version": "5.2.6",
|
|
4
4
|
"description": "Calendar input component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -19,12 +19,12 @@
|
|
|
19
19
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
20
20
|
},
|
|
21
21
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-calendar": "^4.2.
|
|
23
|
-
"@alfalab/core-components-date-input": "^1.2.
|
|
22
|
+
"@alfalab/core-components-calendar": "^4.2.3",
|
|
23
|
+
"@alfalab/core-components-date-input": "^1.2.12",
|
|
24
24
|
"@alfalab/core-components-popover": "^5.6.0",
|
|
25
25
|
"classnames": "^2.2.6",
|
|
26
26
|
"date-fns": "^2.16.1",
|
|
27
27
|
"react-merge-refs": "^1.1.0"
|
|
28
28
|
},
|
|
29
|
-
"gitHead": "
|
|
29
|
+
"gitHead": "d5b56eb1bd377ac6da09c7826de36ae6f0d1a152"
|
|
30
30
|
}
|