@alfalab/core-components-calendar-range 7.1.4 → 7.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/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-8ff2af7b.js +4 -0
- package/esm/views/index.css +7 -7
- package/esm/views/popover.js +1 -1
- package/esm/views/static.js +1 -1
- package/index.js +1 -1
- package/index.module-bda4cfcc.js +6 -0
- 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-0176534f.js +4 -0
- package/modern/views/index.css +7 -7
- package/modern/views/popover.js +1 -1
- package/modern/views/static.js +1 -1
- package/package.json +4 -7
- package/views/index.css +7 -7
- package/views/popover.js +1 -1
- package/views/static.js +1 -1
- package/esm/index.module-59e5a203.js +0 -4
- package/index.module-1c1af544.js +0 -6
- package/modern/index.module-299aab9c.js +0 -4
- package/send-stats.js +0 -82
package/Component.js
CHANGED
|
@@ -18,7 +18,7 @@ require('date-fns/isEqual');
|
|
|
18
18
|
require('date-fns/max');
|
|
19
19
|
require('date-fns/min');
|
|
20
20
|
require('date-fns/subMonths');
|
|
21
|
-
require('./index.module-
|
|
21
|
+
require('./index.module-bda4cfcc.js');
|
|
22
22
|
require('date-fns/endOfMonth');
|
|
23
23
|
require('date-fns/isSameMonth');
|
|
24
24
|
require('@alfalab/core-components-calendar');
|
|
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
10
10
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
11
11
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
12
12
|
|
|
13
|
-
var styles = {"component":"calendar-
|
|
13
|
+
var styles = {"component":"calendar-range__component_3pdtc","outer":"calendar-range__outer_3pdtc","s":"calendar-range__s_3pdtc","m":"calendar-range__m_3pdtc","l":"calendar-range__l_3pdtc","xl":"calendar-range__xl_3pdtc"};
|
|
14
14
|
require('./index.css')
|
|
15
15
|
|
|
16
16
|
var Divider = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 138hn */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_3pdtc {
|
|
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_3pdtc: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_3pdtc {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_3pdtc {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_3pdtc {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_3pdtc {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_3pdtc {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/esm/Component.js
CHANGED
|
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
|
|
|
14
14
|
import 'date-fns/max';
|
|
15
15
|
import 'date-fns/min';
|
|
16
16
|
import 'date-fns/subMonths';
|
|
17
|
-
import './index.module-
|
|
17
|
+
import './index.module-8ff2af7b.js';
|
|
18
18
|
import 'date-fns/endOfMonth';
|
|
19
19
|
import 'date-fns/isSameMonth';
|
|
20
20
|
import '@alfalab/core-components-calendar/esm';
|
|
@@ -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_3pdtc","outer":"calendar-range__outer_3pdtc","s":"calendar-range__s_3pdtc","m":"calendar-range__m_3pdtc","l":"calendar-range__l_3pdtc","xl":"calendar-range__xl_3pdtc"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
var Divider = function (_a) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 138hn */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_3pdtc {
|
|
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_3pdtc: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_3pdtc {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_3pdtc {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_3pdtc {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_3pdtc {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_3pdtc {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/esm/index.js
CHANGED
|
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
|
|
|
14
14
|
import 'date-fns/max';
|
|
15
15
|
import 'date-fns/min';
|
|
16
16
|
import 'date-fns/subMonths';
|
|
17
|
-
import './index.module-
|
|
17
|
+
import './index.module-8ff2af7b.js';
|
|
18
18
|
import './views/static.js';
|
|
19
19
|
import 'date-fns/endOfMonth';
|
|
20
20
|
import 'date-fns/isSameMonth';
|
package/esm/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16urt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
/* disabled */
|
|
39
39
|
|
|
40
40
|
/* marker */
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_pekez {
|
|
42
42
|
display: flex
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_pekez button[aria-selected='true'] {
|
|
44
44
|
cursor: pointer;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_pekez *[class*='errorIcon_'] {
|
|
46
46
|
display: none;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__component_pekez *[class*='calendarIcon_'] {
|
|
48
48
|
margin-right: 0;
|
|
49
|
-
} .calendar-
|
|
49
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez {
|
|
50
50
|
width: var(--calendar-inner-width)
|
|
51
|
-
} .calendar-
|
|
51
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez > div:first-child {
|
|
52
52
|
padding: var(--gap-m) 0 var(--gap-s);
|
|
53
53
|
}
|
package/esm/views/popover.js
CHANGED
|
@@ -7,7 +7,7 @@ import { isCompleteDateInput } from '@alfalab/core-components-date-input/esm';
|
|
|
7
7
|
import { useDidUpdateEffect } from '@alfalab/hooks';
|
|
8
8
|
import { Divider } from '../components/divider/Component.js';
|
|
9
9
|
import { usePopoverViewMonthes } from '../hooks.js';
|
|
10
|
-
import { s as styles } from '../index.module-
|
|
10
|
+
import { s as styles } from '../index.module-8ff2af7b.js';
|
|
11
11
|
import 'date-fns/addMonths';
|
|
12
12
|
import 'date-fns/isEqual';
|
|
13
13
|
import 'date-fns/max';
|
package/esm/views/static.js
CHANGED
|
@@ -13,7 +13,7 @@ import { isCompleteDateInput, DateInput } from '@alfalab/core-components-date-in
|
|
|
13
13
|
import { Divider } from '../components/divider/Component.js';
|
|
14
14
|
import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
|
|
15
15
|
import { isDayButton } from '../utils.js';
|
|
16
|
-
import { s as styles } from '../index.module-
|
|
16
|
+
import { s as styles } from '../index.module-8ff2af7b.js';
|
|
17
17
|
import 'date-fns/isEqual';
|
|
18
18
|
import 'date-fns/min';
|
|
19
19
|
|
package/index.js
CHANGED
|
@@ -18,7 +18,7 @@ require('date-fns/isEqual');
|
|
|
18
18
|
require('date-fns/max');
|
|
19
19
|
require('date-fns/min');
|
|
20
20
|
require('date-fns/subMonths');
|
|
21
|
-
require('./index.module-
|
|
21
|
+
require('./index.module-bda4cfcc.js');
|
|
22
22
|
require('./views/static.js');
|
|
23
23
|
require('date-fns/endOfMonth');
|
|
24
24
|
require('date-fns/isSameMonth');
|
package/modern/Component.js
CHANGED
|
@@ -13,7 +13,7 @@ import 'date-fns/isEqual';
|
|
|
13
13
|
import 'date-fns/max';
|
|
14
14
|
import 'date-fns/min';
|
|
15
15
|
import 'date-fns/subMonths';
|
|
16
|
-
import './index.module-
|
|
16
|
+
import './index.module-0176534f.js';
|
|
17
17
|
import 'date-fns/endOfMonth';
|
|
18
18
|
import 'date-fns/isSameMonth';
|
|
19
19
|
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_3pdtc","outer":"calendar-range__outer_3pdtc","s":"calendar-range__s_3pdtc","m":"calendar-range__m_3pdtc","l":"calendar-range__l_3pdtc","xl":"calendar-range__xl_3pdtc"};
|
|
5
5
|
require('./index.css')
|
|
6
6
|
|
|
7
7
|
const Divider = ({ inputFromProps, inputToProps }) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 138hn */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -41,29 +41,29 @@
|
|
|
41
41
|
/* disabled */
|
|
42
42
|
|
|
43
43
|
/* marker */
|
|
44
|
-
} .calendar-
|
|
44
|
+
} .calendar-range__component_3pdtc {
|
|
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_3pdtc: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_3pdtc {
|
|
57
57
|
position: relative;
|
|
58
58
|
|
|
59
59
|
/* FormControl .above height + margin-bottom */
|
|
60
60
|
top: 24px;
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-range__s_3pdtc {
|
|
62
62
|
height: var(--size-s-height);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-range__m_3pdtc {
|
|
64
64
|
height: var(--size-m-height);
|
|
65
|
-
} .calendar-
|
|
65
|
+
} .calendar-range__l_3pdtc {
|
|
66
66
|
height: var(--size-l-height);
|
|
67
|
-
} .calendar-
|
|
67
|
+
} .calendar-range__xl_3pdtc {
|
|
68
68
|
height: var(--size-xl-height);
|
|
69
69
|
}
|
package/modern/index.js
CHANGED
|
@@ -13,7 +13,7 @@ import 'date-fns/isEqual';
|
|
|
13
13
|
import 'date-fns/max';
|
|
14
14
|
import 'date-fns/min';
|
|
15
15
|
import 'date-fns/subMonths';
|
|
16
|
-
import './index.module-
|
|
16
|
+
import './index.module-0176534f.js';
|
|
17
17
|
import './views/static.js';
|
|
18
18
|
import 'date-fns/endOfMonth';
|
|
19
19
|
import 'date-fns/isSameMonth';
|
package/modern/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16urt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
/* disabled */
|
|
39
39
|
|
|
40
40
|
/* marker */
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_pekez {
|
|
42
42
|
display: flex
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_pekez button[aria-selected='true'] {
|
|
44
44
|
cursor: pointer;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_pekez *[class*='errorIcon_'] {
|
|
46
46
|
display: none;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__component_pekez *[class*='calendarIcon_'] {
|
|
48
48
|
margin-right: 0;
|
|
49
|
-
} .calendar-
|
|
49
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez {
|
|
50
50
|
width: var(--calendar-inner-width)
|
|
51
|
-
} .calendar-
|
|
51
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez > div:first-child {
|
|
52
52
|
padding: var(--gap-m) 0 var(--gap-s);
|
|
53
53
|
}
|
package/modern/views/popover.js
CHANGED
|
@@ -6,7 +6,7 @@ import { isCompleteDateInput } from '@alfalab/core-components-date-input/modern'
|
|
|
6
6
|
import { useDidUpdateEffect } from '@alfalab/hooks';
|
|
7
7
|
import { Divider } from '../components/divider/Component.js';
|
|
8
8
|
import { usePopoverViewMonthes } from '../hooks.js';
|
|
9
|
-
import { s as styles } from '../index.module-
|
|
9
|
+
import { s as styles } from '../index.module-0176534f.js';
|
|
10
10
|
import 'date-fns/addMonths';
|
|
11
11
|
import 'date-fns/isEqual';
|
|
12
12
|
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-0176534f.js';
|
|
16
16
|
import 'date-fns/isEqual';
|
|
17
17
|
import 'date-fns/min';
|
|
18
18
|
|
package/package.json
CHANGED
|
@@ -1,14 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-range",
|
|
3
|
-
"version": "7.1.
|
|
3
|
+
"version": "7.1.6",
|
|
4
4
|
"description": "Calendar range component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
7
|
"main": "index.js",
|
|
8
8
|
"module": "./esm/index.js",
|
|
9
|
-
"scripts": {
|
|
10
|
-
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
11
|
-
},
|
|
12
9
|
"publishConfig": {
|
|
13
10
|
"access": "public",
|
|
14
11
|
"directory": "dist"
|
|
@@ -18,9 +15,9 @@
|
|
|
18
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
19
16
|
},
|
|
20
17
|
"dependencies": {
|
|
21
|
-
"@alfalab/core-components-calendar": "^6.6.
|
|
22
|
-
"@alfalab/core-components-calendar-input": "^8.
|
|
23
|
-
"@alfalab/core-components-date-input": "^4.2.
|
|
18
|
+
"@alfalab/core-components-calendar": "^6.6.2",
|
|
19
|
+
"@alfalab/core-components-calendar-input": "^8.3.1",
|
|
20
|
+
"@alfalab/core-components-date-input": "^4.2.10",
|
|
24
21
|
"@alfalab/hooks": "^1.13.0",
|
|
25
22
|
"classnames": "^2.3.1",
|
|
26
23
|
"date-fns": "^2.16.1",
|
package/views/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 16urt */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
4
4
|
} :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -38,16 +38,16 @@
|
|
|
38
38
|
/* disabled */
|
|
39
39
|
|
|
40
40
|
/* marker */
|
|
41
|
-
} .calendar-
|
|
41
|
+
} .calendar-range__component_pekez {
|
|
42
42
|
display: flex
|
|
43
|
-
} .calendar-
|
|
43
|
+
} .calendar-range__component_pekez button[aria-selected='true'] {
|
|
44
44
|
cursor: pointer;
|
|
45
|
-
} .calendar-
|
|
45
|
+
} .calendar-range__component_pekez *[class*='errorIcon_'] {
|
|
46
46
|
display: none;
|
|
47
|
-
} .calendar-
|
|
47
|
+
} .calendar-range__component_pekez *[class*='calendarIcon_'] {
|
|
48
48
|
margin-right: 0;
|
|
49
|
-
} .calendar-
|
|
49
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez {
|
|
50
50
|
width: var(--calendar-inner-width)
|
|
51
|
-
} .calendar-
|
|
51
|
+
} .calendar-range__static_pekez .calendar-range__calendar_pekez > div:first-child {
|
|
52
52
|
padding: var(--gap-m) 0 var(--gap-s);
|
|
53
53
|
}
|
package/views/popover.js
CHANGED
|
@@ -11,7 +11,7 @@ var coreComponentsDateInput = require('@alfalab/core-components-date-input');
|
|
|
11
11
|
var hooks$1 = require('@alfalab/hooks');
|
|
12
12
|
var components_divider_Component = require('../components/divider/Component.js');
|
|
13
13
|
var hooks = require('../hooks.js');
|
|
14
|
-
var index_module = require('../index.module-
|
|
14
|
+
var index_module = require('../index.module-bda4cfcc.js');
|
|
15
15
|
require('date-fns/addMonths');
|
|
16
16
|
require('date-fns/isEqual');
|
|
17
17
|
require('date-fns/max');
|
package/views/static.js
CHANGED
|
@@ -17,7 +17,7 @@ var coreComponentsDateInput = require('@alfalab/core-components-date-input');
|
|
|
17
17
|
var components_divider_Component = require('../components/divider/Component.js');
|
|
18
18
|
var hooks = require('../hooks.js');
|
|
19
19
|
var utils = require('../utils.js');
|
|
20
|
-
var index_module = require('../index.module-
|
|
20
|
+
var index_module = require('../index.module-bda4cfcc.js');
|
|
21
21
|
require('date-fns/isEqual');
|
|
22
22
|
require('date-fns/min');
|
|
23
23
|
|
package/index.module-1c1af544.js
DELETED
package/send-stats.js
DELETED
|
@@ -1,82 +0,0 @@
|
|
|
1
|
-
const http = require('http');
|
|
2
|
-
const fs = require('fs');
|
|
3
|
-
const { promisify } = require('util');
|
|
4
|
-
const path = require('path');
|
|
5
|
-
|
|
6
|
-
const readFile = promisify(fs.readFile);
|
|
7
|
-
|
|
8
|
-
async function main() {
|
|
9
|
-
const remoteHost = process.env.NIS_HOST || 'digital';
|
|
10
|
-
const remotePort = process.env.NIS_PORT || 80;
|
|
11
|
-
const remotePath = process.env.NIS_PATH || '/npm-install-stats/api/install-stats';
|
|
12
|
-
|
|
13
|
-
try {
|
|
14
|
-
const [_, node, os, arch] =
|
|
15
|
-
/node\/v(\d+\.\d+\.\d+) (\w+) (\w+)/.exec(process.env.npm_config_user_agent) || [];
|
|
16
|
-
const [__, npm] = /npm\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
|
|
17
|
-
const [___, yarn] = /yarn\/(\d+\.\d+\.\d+)/.exec(process.env.npm_config_user_agent) || [];
|
|
18
|
-
|
|
19
|
-
let ownPackageJson, packageJson;
|
|
20
|
-
|
|
21
|
-
try {
|
|
22
|
-
const result = await Promise.all([
|
|
23
|
-
readFile(path.join(process.cwd(), 'package.json'), 'utf-8'),
|
|
24
|
-
readFile(path.join(process.cwd(), '../../../package.json'), 'utf-8'),
|
|
25
|
-
]);
|
|
26
|
-
|
|
27
|
-
ownPackageJson = JSON.parse(result[0]);
|
|
28
|
-
packageJson = JSON.parse(result[1]);
|
|
29
|
-
} catch (err) {
|
|
30
|
-
ownPackageJson = '';
|
|
31
|
-
packageJson = '';
|
|
32
|
-
}
|
|
33
|
-
|
|
34
|
-
const data = {
|
|
35
|
-
node,
|
|
36
|
-
npm,
|
|
37
|
-
yarn,
|
|
38
|
-
os,
|
|
39
|
-
arch,
|
|
40
|
-
ownPackageJson: JSON.stringify(ownPackageJson),
|
|
41
|
-
packageJson: JSON.stringify(packageJson),
|
|
42
|
-
};
|
|
43
|
-
|
|
44
|
-
const body = JSON.stringify(data);
|
|
45
|
-
|
|
46
|
-
const options = {
|
|
47
|
-
host: remoteHost,
|
|
48
|
-
port: remotePort,
|
|
49
|
-
path: remotePath,
|
|
50
|
-
method: 'POST',
|
|
51
|
-
headers: {
|
|
52
|
-
'Content-Type': 'application/json',
|
|
53
|
-
'Content-Length': body.length,
|
|
54
|
-
},
|
|
55
|
-
};
|
|
56
|
-
|
|
57
|
-
return new Promise((resolve, reject) => {
|
|
58
|
-
const req = http.request(options, (res) => {
|
|
59
|
-
res.on('end', () => {
|
|
60
|
-
resolve();
|
|
61
|
-
});
|
|
62
|
-
});
|
|
63
|
-
|
|
64
|
-
req.on('error', () => {
|
|
65
|
-
reject();
|
|
66
|
-
});
|
|
67
|
-
|
|
68
|
-
req.write(body);
|
|
69
|
-
req.end();
|
|
70
|
-
});
|
|
71
|
-
} catch (error) {
|
|
72
|
-
throw error;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
main()
|
|
77
|
-
.then(() => {
|
|
78
|
-
process.exit(0);
|
|
79
|
-
})
|
|
80
|
-
.catch(() => {
|
|
81
|
-
process.exit(0);
|
|
82
|
-
});
|