@alfalab/core-components-calendar-input 6.2.2 → 6.3.3
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 +35 -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,41 @@
|
|
|
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
|
+
## [6.3.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-input@6.3.2...@alfalab/core-components-calendar-input@6.3.3) (2022-06-24)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [6.3.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-input@6.3.1...@alfalab/core-components-calendar-input@6.3.2) (2022-06-23)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [6.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-input@6.3.0...@alfalab/core-components-calendar-input@6.3.1) (2022-06-20)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
# [6.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-input@6.2.2...@alfalab/core-components-calendar-input@6.3.0) (2022-06-03)
|
|
31
|
+
|
|
32
|
+
|
|
33
|
+
### Features
|
|
34
|
+
|
|
35
|
+
* **date-input:** removed date validation ([#69](https://github.com/core-ds/core-components/issues/69)) ([ca56ec9](https://github.com/core-ds/core-components/commit/ca56ec97db0d966233bd4312fdddabd59ed427ae))
|
|
36
|
+
|
|
37
|
+
|
|
38
|
+
|
|
39
|
+
|
|
40
|
+
|
|
6
41
|
## [6.1.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-calendar-input@6.1.1...@alfalab/core-components-calendar-input@6.1.2) (2022-03-18)
|
|
7
42
|
|
|
8
43
|
**Note:** Version bump only for package @alfalab/core-components-calendar-input
|
package/dist/Component.js
CHANGED
|
@@ -59,7 +59,7 @@ function __rest(s, e) {
|
|
|
59
59
|
return t;
|
|
60
60
|
}
|
|
61
61
|
|
|
62
|
-
var styles = {"component":"calendar-
|
|
62
|
+
var styles = {"component":"calendar-input__component_1fhzg","block":"calendar-input__block_1fhzg","calendarContainer":"calendar-input__calendarContainer_1fhzg","calendarIcon":"calendar-input__calendarIcon_1fhzg","nativeInput":"calendar-input__nativeInput_1fhzg"};
|
|
63
63
|
require('./index.css')
|
|
64
64
|
|
|
65
65
|
var CalendarInput = React.forwardRef(function (_a, ref) {
|
package/dist/esm/Component.js
CHANGED
|
@@ -49,7 +49,7 @@ function __rest(s, e) {
|
|
|
49
49
|
return t;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
var styles = {"component":"calendar-
|
|
52
|
+
var styles = {"component":"calendar-input__component_1fhzg","block":"calendar-input__block_1fhzg","calendarContainer":"calendar-input__calendarContainer_1fhzg","calendarIcon":"calendar-input__calendarIcon_1fhzg","nativeInput":"calendar-input__nativeInput_1fhzg"};
|
|
53
53
|
require('./index.css')
|
|
54
54
|
|
|
55
55
|
var CalendarInput = forwardRef(function (_a, ref) {
|
package/dist/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qbj4s */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -40,35 +40,35 @@
|
|
|
40
40
|
--calendar-input-icon-color: var(--color-light-graphic-primary);
|
|
41
41
|
--calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
|
|
42
42
|
}
|
|
43
|
-
.calendar-
|
|
43
|
+
.calendar-input__component_1fhzg {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
47
|
}
|
|
48
|
-
.calendar-
|
|
48
|
+
.calendar-input__block_1fhzg {
|
|
49
49
|
width: 100%;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
52
52
|
display: inline-block;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
55
55
|
}
|
|
56
56
|
@media (max-width: 374px) {
|
|
57
|
-
.calendar-
|
|
57
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarIcon_1fhzg {
|
|
63
63
|
width: 24px;
|
|
64
64
|
height: 24px;
|
|
65
65
|
display: block;
|
|
66
66
|
color: var(--calendar-input-icon-color)
|
|
67
67
|
}
|
|
68
|
-
.calendar-
|
|
68
|
+
.calendar-input__calendarIcon_1fhzg:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
70
|
}
|
|
71
|
-
.calendar-
|
|
71
|
+
.calendar-input__nativeInput_1fhzg {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
position: absolute;
|
|
74
74
|
top: 0;
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
appearance: none;
|
|
80
80
|
z-index: 1
|
|
81
81
|
}
|
|
82
|
-
.calendar-
|
|
82
|
+
.calendar-input__nativeInput_1fhzg::-webkit-calendar-picker-indicator {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
|
-
.calendar-
|
|
85
|
+
.calendar-input__nativeInput_1fhzg::-webkit-inner-spin-button {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
package/dist/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qbj4s */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -40,35 +40,35 @@
|
|
|
40
40
|
--calendar-input-icon-color: var(--color-light-graphic-primary);
|
|
41
41
|
--calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
|
|
42
42
|
}
|
|
43
|
-
.calendar-
|
|
43
|
+
.calendar-input__component_1fhzg {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
47
|
}
|
|
48
|
-
.calendar-
|
|
48
|
+
.calendar-input__block_1fhzg {
|
|
49
49
|
width: 100%;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
52
52
|
display: inline-block;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
55
55
|
}
|
|
56
56
|
@media (max-width: 374px) {
|
|
57
|
-
.calendar-
|
|
57
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarIcon_1fhzg {
|
|
63
63
|
width: 24px;
|
|
64
64
|
height: 24px;
|
|
65
65
|
display: block;
|
|
66
66
|
color: var(--calendar-input-icon-color)
|
|
67
67
|
}
|
|
68
|
-
.calendar-
|
|
68
|
+
.calendar-input__calendarIcon_1fhzg:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
70
|
}
|
|
71
|
-
.calendar-
|
|
71
|
+
.calendar-input__nativeInput_1fhzg {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
position: absolute;
|
|
74
74
|
top: 0;
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
appearance: none;
|
|
80
80
|
z-index: 1
|
|
81
81
|
}
|
|
82
|
-
.calendar-
|
|
82
|
+
.calendar-input__nativeInput_1fhzg::-webkit-calendar-picker-indicator {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
|
-
.calendar-
|
|
85
|
+
.calendar-input__nativeInput_1fhzg::-webkit-inner-spin-button {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
package/dist/modern/Component.js
CHANGED
|
@@ -10,7 +10,7 @@ import 'date-fns/format';
|
|
|
10
10
|
import 'date-fns/isSameDay';
|
|
11
11
|
import { SUPPORTS_INPUT_TYPE_DATE } from './utils.js';
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"calendar-
|
|
13
|
+
var styles = {"component":"calendar-input__component_1fhzg","block":"calendar-input__block_1fhzg","calendarContainer":"calendar-input__calendarContainer_1fhzg","calendarIcon":"calendar-input__calendarIcon_1fhzg","nativeInput":"calendar-input__nativeInput_1fhzg"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
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 || [], events = calendarProps.events || [], preventFlip, mobileMode = 'popover', wrapperRef = null, disabled, onChange = () => null, onInputChange, onCalendarChange, onKeyDown, readOnly, Calendar: Calendar$1 = Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, error, ...restProps }, ref) => {
|
package/dist/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qbj4s */
|
|
2
2
|
:root {
|
|
3
3
|
--color-light-graphic-primary: #0b1f35;
|
|
4
4
|
}
|
|
@@ -40,35 +40,35 @@
|
|
|
40
40
|
--calendar-input-icon-color: var(--color-light-graphic-primary);
|
|
41
41
|
--calendar-input-popover-border-radius: 0 0 var(--border-radius-s) var(--border-radius-s);
|
|
42
42
|
}
|
|
43
|
-
.calendar-
|
|
43
|
+
.calendar-input__component_1fhzg {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
47
|
}
|
|
48
|
-
.calendar-
|
|
48
|
+
.calendar-input__block_1fhzg {
|
|
49
49
|
width: 100%;
|
|
50
50
|
}
|
|
51
|
-
.calendar-
|
|
51
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
52
52
|
display: inline-block;
|
|
53
53
|
box-sizing: border-box;
|
|
54
54
|
border-radius: var(--calendar-input-popover-border-radius)
|
|
55
55
|
}
|
|
56
56
|
@media (max-width: 374px) {
|
|
57
|
-
.calendar-
|
|
57
|
+
.calendar-input__calendarContainer_1fhzg {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
61
|
}
|
|
62
|
-
.calendar-
|
|
62
|
+
.calendar-input__calendarIcon_1fhzg {
|
|
63
63
|
width: 24px;
|
|
64
64
|
height: 24px;
|
|
65
65
|
display: block;
|
|
66
66
|
color: var(--calendar-input-icon-color)
|
|
67
67
|
}
|
|
68
|
-
.calendar-
|
|
68
|
+
.calendar-input__calendarIcon_1fhzg:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
70
|
}
|
|
71
|
-
.calendar-
|
|
71
|
+
.calendar-input__nativeInput_1fhzg {
|
|
72
72
|
opacity: 0;
|
|
73
73
|
position: absolute;
|
|
74
74
|
top: 0;
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
appearance: none;
|
|
80
80
|
z-index: 1
|
|
81
81
|
}
|
|
82
|
-
.calendar-
|
|
82
|
+
.calendar-input__nativeInput_1fhzg::-webkit-calendar-picker-indicator {
|
|
83
83
|
display: none;
|
|
84
84
|
}
|
|
85
|
-
.calendar-
|
|
85
|
+
.calendar-input__nativeInput_1fhzg::-webkit-inner-spin-button {
|
|
86
86
|
display: none;
|
|
87
87
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-input",
|
|
3
|
-
"version": "6.
|
|
3
|
+
"version": "6.3.3",
|
|
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": "^5.3.
|
|
23
|
-
"@alfalab/core-components-date-input": "^2.
|
|
22
|
+
"@alfalab/core-components-calendar": "^5.3.5",
|
|
23
|
+
"@alfalab/core-components-date-input": "^2.2.2",
|
|
24
24
|
"@alfalab/core-components-popover": "^5.6.3",
|
|
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": "97545dc462e2c884c25f4a7e5092abf6dafac81f"
|
|
30
30
|
}
|