@alfalab/core-components-calendar-range 7.0.13 → 7.0.15
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/components/divider/Component.js +1 -1
- package/components/divider/index.css +8 -8
- package/esm/Component.js +1 -1
- package/esm/components/divider/Component.js +1 -1
- package/esm/components/divider/index.css +8 -8
- package/esm/index.js +1 -1
- package/esm/{index.module-b652d776.d.ts → index.module-df48beb5.d.ts} +0 -0
- package/esm/{index.module-b652d776.js → index.module-df48beb5.js} +1 -1
- package/esm/views/index.css +6 -6
- package/esm/views/popover.js +1 -1
- package/esm/views/static.js +1 -1
- package/index.js +1 -1
- package/{index.module-5ed7938a.d.ts → index.module-14e8ddb9.d.ts} +0 -0
- package/{index.module-5ed7938a.js → index.module-14e8ddb9.js} +1 -1
- package/modern/Component.js +1 -1
- package/modern/components/divider/Component.js +1 -1
- package/modern/components/divider/index.css +8 -8
- package/modern/index.js +1 -1
- package/modern/index.module-17f16b81.js +4 -0
- package/modern/views/index.css +6 -6
- package/modern/views/popover.js +1 -1
- package/modern/views/static.js +1 -1
- package/package.json +4 -4
- package/views/index.css +6 -6
- package/views/popover.js +1 -1
- package/views/static.js +1 -1
- package/modern/index.module-c9c640cc.js +0 -4
package/Component.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var index_module = require('./index.module-
|
|
3
|
+
var index_module = require('./index.module-14e8ddb9.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var views_popover = require('./views/popover.js');
|
|
6
6
|
var views_static = require('./views/static.js');
|
|
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
8
8
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
9
9
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
10
10
|
|
|
11
|
-
var styles = {"component":"calendar-
|
|
11
|
+
var styles = {"component":"calendar-range__component_akj4n","outer":"calendar-range__outer_akj4n","s":"calendar-range__s_akj4n","m":"calendar-range__m_akj4n","l":"calendar-range__l_akj4n","xl":"calendar-range__xl_akj4n"};
|
|
12
12
|
require('./index.css')
|
|
13
13
|
|
|
14
14
|
var Divider = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5flj8 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_akj4n {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
width: 16px;
|
|
49
49
|
margin: 0 var(--gap-xs)
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-range__component_akj4n:after {
|
|
51
51
|
content: '';
|
|
52
52
|
display: block;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 1px;
|
|
55
55
|
background-color: var(--color-light-graphic-primary);
|
|
56
|
-
} .calendar-
|
|
56
|
+
} .calendar-range__outer_akj4n {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_akj4n {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_akj4n {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_akj4n {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_akj4n {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/esm/Component.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, a as __assign } from './index.module-
|
|
1
|
+
import { _ as __rest, a as __assign } from './index.module-df48beb5.js';
|
|
2
2
|
import React from 'react';
|
|
3
3
|
import { CalendarRangePopover } from './views/popover.js';
|
|
4
4
|
import { CalendarRangeStatic } from './views/static.js';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
var styles = {"component":"calendar-
|
|
4
|
+
var styles = {"component":"calendar-range__component_akj4n","outer":"calendar-range__outer_akj4n","s":"calendar-range__s_akj4n","m":"calendar-range__m_akj4n","l":"calendar-range__l_akj4n","xl":"calendar-range__xl_akj4n"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Divider = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5flj8 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_akj4n {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
width: 16px;
|
|
49
49
|
margin: 0 var(--gap-xs)
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-range__component_akj4n:after {
|
|
51
51
|
content: '';
|
|
52
52
|
display: block;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 1px;
|
|
55
55
|
background-color: var(--color-light-graphic-primary);
|
|
56
|
-
} .calendar-
|
|
56
|
+
} .calendar-range__outer_akj4n {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_akj4n {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_akj4n {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_akj4n {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_akj4n {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/esm/index.js
CHANGED
|
File without changes
|
|
@@ -37,7 +37,7 @@ function __rest(s, e) {
|
|
|
37
37
|
return t;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
var styles = {"component":"calendar-
|
|
40
|
+
var styles = {"component":"calendar-range__component_1991u","static":"calendar-range__static_1991u","calendar":"calendar-range__calendar_1991u"};
|
|
41
41
|
require('./views/index.css')
|
|
42
42
|
|
|
43
43
|
export { __rest as _, __assign as a, styles as s };
|
package/esm/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 156ae */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
/* disabled */
|
|
37
37
|
|
|
38
38
|
/* marker */
|
|
39
|
-
} .calendar-
|
|
39
|
+
} .calendar-range__component_1991u {
|
|
40
40
|
display: flex
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_1991u button[aria-selected='true'] {
|
|
42
42
|
cursor: pointer;
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_1991u *[class*='errorIcon_'] {
|
|
44
44
|
display: none;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_1991u *[class*='calendarIcon_'] {
|
|
46
46
|
margin-right: 0;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__static_1991u .calendar-range__calendar_1991u {
|
|
48
48
|
width: var(--calendar-inner-width);
|
|
49
49
|
}
|
package/esm/views/popover.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { s as styles, a as __assign } from '../index.module-
|
|
1
|
+
import { s as styles, a as __assign } from '../index.module-df48beb5.js';
|
|
2
2
|
import React, { useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import startOfMonth from 'date-fns/startOfMonth';
|
package/esm/views/static.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as __rest, s as styles, a as __assign } from '../index.module-
|
|
1
|
+
import { _ as __rest, s as styles, a as __assign } from '../index.module-df48beb5.js';
|
|
2
2
|
import React, { useState, useCallback, useEffect } from 'react';
|
|
3
3
|
import cn from 'classnames';
|
|
4
4
|
import addMonths from 'date-fns/addMonths';
|
package/index.js
CHANGED
|
File without changes
|
|
@@ -39,7 +39,7 @@ function __rest(s, e) {
|
|
|
39
39
|
return t;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
|
-
var styles = {"component":"calendar-
|
|
42
|
+
var styles = {"component":"calendar-range__component_1991u","static":"calendar-range__static_1991u","calendar":"calendar-range__calendar_1991u"};
|
|
43
43
|
require('./views/index.css')
|
|
44
44
|
|
|
45
45
|
exports.__rest = __rest;
|
package/modern/Component.js
CHANGED
|
@@ -12,7 +12,7 @@ import 'date-fns/isEqual';
|
|
|
12
12
|
import 'date-fns/max';
|
|
13
13
|
import 'date-fns/min';
|
|
14
14
|
import 'date-fns/subMonths';
|
|
15
|
-
import './index.module-
|
|
15
|
+
import './index.module-17f16b81.js';
|
|
16
16
|
import 'date-fns/endOfMonth';
|
|
17
17
|
import 'date-fns/isSameMonth';
|
|
18
18
|
import '@alfalab/core-components-calendar/modern';
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
3
|
|
|
4
|
-
const styles = {"component":"calendar-
|
|
4
|
+
const styles = {"component":"calendar-range__component_akj4n","outer":"calendar-range__outer_akj4n","s":"calendar-range__s_akj4n","m":"calendar-range__m_akj4n","l":"calendar-range__l_akj4n","xl":"calendar-range__xl_akj4n"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Divider = ({ inputFromProps, inputToProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 5flj8 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0b1f35;
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_akj4n {
|
|
45
45
|
display: flex;
|
|
46
46
|
align-items: center;
|
|
47
47
|
justify-content: center;
|
|
48
48
|
width: 16px;
|
|
49
49
|
margin: 0 var(--gap-xs)
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-range__component_akj4n:after {
|
|
51
51
|
content: '';
|
|
52
52
|
display: block;
|
|
53
53
|
width: 100%;
|
|
54
54
|
height: 1px;
|
|
55
55
|
background-color: var(--color-light-graphic-primary);
|
|
56
|
-
} .calendar-
|
|
56
|
+
} .calendar-range__outer_akj4n {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_akj4n {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_akj4n {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_akj4n {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_akj4n {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/modern/index.js
CHANGED
|
@@ -12,7 +12,7 @@ import 'date-fns/isEqual';
|
|
|
12
12
|
import 'date-fns/max';
|
|
13
13
|
import 'date-fns/min';
|
|
14
14
|
import 'date-fns/subMonths';
|
|
15
|
-
import './index.module-
|
|
15
|
+
import './index.module-17f16b81.js';
|
|
16
16
|
import './views/static.js';
|
|
17
17
|
import 'date-fns/endOfMonth';
|
|
18
18
|
import 'date-fns/isSameMonth';
|
package/modern/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 156ae */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
/* disabled */
|
|
37
37
|
|
|
38
38
|
/* marker */
|
|
39
|
-
} .calendar-
|
|
39
|
+
} .calendar-range__component_1991u {
|
|
40
40
|
display: flex
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_1991u button[aria-selected='true'] {
|
|
42
42
|
cursor: pointer;
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_1991u *[class*='errorIcon_'] {
|
|
44
44
|
display: none;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_1991u *[class*='calendarIcon_'] {
|
|
46
46
|
margin-right: 0;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__static_1991u .calendar-range__calendar_1991u {
|
|
48
48
|
width: var(--calendar-inner-width);
|
|
49
49
|
}
|
package/modern/views/popover.js
CHANGED
|
@@ -5,7 +5,7 @@ import { isValidInputValue, parseDateString, CalendarInput } from '@alfalab/core
|
|
|
5
5
|
import { isCompleteDateInput } from '@alfalab/core-components-date-input/modern';
|
|
6
6
|
import { Divider } from '../components/divider/Component.js';
|
|
7
7
|
import { usePopoverViewMonthes } from '../hooks.js';
|
|
8
|
-
import { s as styles } from '../index.module-
|
|
8
|
+
import { s as styles } from '../index.module-17f16b81.js';
|
|
9
9
|
import 'date-fns/addMonths';
|
|
10
10
|
import 'date-fns/isEqual';
|
|
11
11
|
import 'date-fns/max';
|
package/modern/views/static.js
CHANGED
|
@@ -12,7 +12,7 @@ import { isCompleteDateInput, DateInput } from '@alfalab/core-components-date-in
|
|
|
12
12
|
import { Divider } from '../components/divider/Component.js';
|
|
13
13
|
import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
|
|
14
14
|
import { isDayButton } from '../utils.js';
|
|
15
|
-
import { s as styles } from '../index.module-
|
|
15
|
+
import { s as styles } from '../index.module-17f16b81.js';
|
|
16
16
|
import 'date-fns/isEqual';
|
|
17
17
|
import 'date-fns/min';
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-range",
|
|
3
|
-
"version": "7.0.
|
|
3
|
+
"version": "7.0.15",
|
|
4
4
|
"description": "Calendar range component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
19
19
|
},
|
|
20
20
|
"dependencies": {
|
|
21
|
-
"@alfalab/core-components-calendar": "^6.2.
|
|
22
|
-
"@alfalab/core-components-calendar-input": "^8.2.
|
|
23
|
-
"@alfalab/core-components-date-input": "^4.1.
|
|
21
|
+
"@alfalab/core-components-calendar": "^6.2.8",
|
|
22
|
+
"@alfalab/core-components-calendar-input": "^8.2.8",
|
|
23
|
+
"@alfalab/core-components-date-input": "^4.1.6",
|
|
24
24
|
"classnames": "^2.3.1",
|
|
25
25
|
"date-fns": "^2.16.1"
|
|
26
26
|
}
|
package/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 156ae */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
/* disabled */
|
|
37
37
|
|
|
38
38
|
/* marker */
|
|
39
|
-
} .calendar-
|
|
39
|
+
} .calendar-range__component_1991u {
|
|
40
40
|
display: flex
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_1991u button[aria-selected='true'] {
|
|
42
42
|
cursor: pointer;
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_1991u *[class*='errorIcon_'] {
|
|
44
44
|
display: none;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_1991u *[class*='calendarIcon_'] {
|
|
46
46
|
margin-right: 0;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__static_1991u .calendar-range__calendar_1991u {
|
|
48
48
|
width: var(--calendar-inner-width);
|
|
49
49
|
}
|
package/views/popover.js
CHANGED
package/views/static.js
CHANGED