@alfalab/core-components-calendar-input 10.2.2 → 10.2.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/Component.responsive.js +0 -13
- package/components/calendar-input/Component.js +1 -4
- package/components/calendar-input/index.css +11 -11
- package/components/calendar-input/index.js +0 -12
- package/cssm/Component.responsive.js +0 -14
- package/cssm/components/calendar-input/Component.js +0 -3
- package/cssm/components/calendar-input/index.js +0 -13
- package/cssm/desktop/Component.desktop.js +0 -11
- package/cssm/desktop/index.js +0 -15
- package/cssm/index.js +0 -19
- package/cssm/mobile/Component.mobile.js +0 -11
- package/cssm/mobile/index.js +0 -15
- package/cssm/shared/index.js +0 -5
- package/desktop/Component.desktop.js +0 -10
- package/desktop/index.js +0 -14
- package/esm/Component.responsive.js +0 -13
- package/esm/components/calendar-input/Component.js +1 -4
- package/esm/components/calendar-input/index.css +11 -11
- package/esm/components/calendar-input/index.js +0 -12
- package/esm/desktop/Component.desktop.js +0 -10
- package/esm/desktop/index.js +0 -14
- package/esm/index.js +0 -18
- package/esm/mobile/Component.mobile.js +0 -10
- package/esm/mobile/index.js +0 -14
- package/esm/shared/index.js +0 -5
- package/index.js +0 -18
- package/mobile/Component.mobile.js +0 -10
- package/mobile/index.js +0 -14
- package/modern/Component.responsive.js +0 -13
- package/modern/components/calendar-input/Component.js +1 -4
- package/modern/components/calendar-input/index.css +11 -11
- package/modern/components/calendar-input/index.js +0 -11
- package/modern/desktop/Component.desktop.js +0 -10
- package/modern/desktop/index.js +0 -13
- package/modern/index.js +0 -17
- package/modern/mobile/Component.mobile.js +0 -10
- package/modern/mobile/index.js +0 -13
- package/modern/shared/index.js +0 -5
- package/package.json +3 -3
- package/shared/index.js +0 -5
package/Component.responsive.js
CHANGED
|
@@ -7,19 +7,6 @@ var React = require('react');
|
|
|
7
7
|
var hooks = require('@alfalab/hooks');
|
|
8
8
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
9
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
-
require('@alfalab/core-components-calendar/desktop');
|
|
11
|
-
require('./components/calendar-input/Component.js');
|
|
12
|
-
require('react-merge-refs');
|
|
13
|
-
require('classnames');
|
|
14
|
-
require('@alfalab/core-components-calendar/shared');
|
|
15
|
-
require('@alfalab/core-components-date-input');
|
|
16
|
-
require('@alfalab/core-components-popover');
|
|
17
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
18
|
-
require('./utils.js');
|
|
19
|
-
require('date-fns/format');
|
|
20
|
-
require('date-fns/isSameDay');
|
|
21
|
-
require('date-fns/parse');
|
|
22
|
-
require('@alfalab/core-components-calendar/mobile');
|
|
23
10
|
|
|
24
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
25
12
|
|
|
@@ -11,9 +11,6 @@ var coreComponentsDateInput = require('@alfalab/core-components-date-input');
|
|
|
11
11
|
var coreComponentsPopover = require('@alfalab/core-components-popover');
|
|
12
12
|
var CalendarMIcon = require('@alfalab/icons-glyph/CalendarMIcon');
|
|
13
13
|
var utils = require('../../utils.js');
|
|
14
|
-
require('date-fns/format');
|
|
15
|
-
require('date-fns/isSameDay');
|
|
16
|
-
require('date-fns/parse');
|
|
17
14
|
|
|
18
15
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
19
16
|
|
|
@@ -21,7 +18,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
21
18
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
22
19
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
23
20
|
|
|
24
|
-
var styles = {"component":"calendar-
|
|
21
|
+
var styles = {"component":"calendar-input__component_2yr6g","block":"calendar-input__block_2yr6g","calendarContainer":"calendar-input__calendarContainer_2yr6g","calendarResponsive":"calendar-input__calendarResponsive_2yr6g","calendarIcon":"calendar-input__calendarIcon_2yr6g","nativeInput":"calendar-input__nativeInput_2yr6g"};
|
|
25
22
|
require('./index.css')
|
|
26
23
|
|
|
27
24
|
var CalendarInput = React.forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wnv6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb;
|
|
@@ -43,31 +43,31 @@
|
|
|
43
43
|
} :root {
|
|
44
44
|
--calendar-input-icon-color: var(--color-light-neutral-translucent-700);
|
|
45
45
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
46
|
-
} .calendar-
|
|
46
|
+
} .calendar-input__component_2yr6g {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-input__block_2yr6g {
|
|
51
51
|
width: 100%;
|
|
52
|
-
} .calendar-
|
|
52
|
+
} .calendar-input__calendarContainer_2yr6g {
|
|
53
53
|
display: inline-block;
|
|
54
54
|
box-sizing: border-box;
|
|
55
55
|
border-radius: var(--calendar-input-popover-border-radius);
|
|
56
56
|
border: 1px solid var(--color-light-neutral-300)
|
|
57
|
-
} @media (max-width: 374px) { .calendar-
|
|
57
|
+
} @media (max-width: 374px) { .calendar-input__calendarContainer_2yr6g {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-input__calendarResponsive_2yr6g {
|
|
62
62
|
width: var(--calendar-width);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-input__calendarIcon_2yr6g {
|
|
64
64
|
width: 24px;
|
|
65
65
|
height: 24px;
|
|
66
66
|
display: block;
|
|
67
67
|
color: var(--calendar-input-icon-color)
|
|
68
|
-
} .calendar-
|
|
68
|
+
} .calendar-input__calendarIcon_2yr6g:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
|
-
} .calendar-
|
|
70
|
+
} .calendar-input__nativeInput_2yr6g {
|
|
71
71
|
opacity: 0;
|
|
72
72
|
position: absolute;
|
|
73
73
|
top: 0;
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
height: 100%;
|
|
77
77
|
appearance: none;
|
|
78
78
|
z-index: 1
|
|
79
|
-
} .calendar-
|
|
79
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-calendar-picker-indicator {
|
|
80
80
|
display: none;
|
|
81
|
-
} .calendar-
|
|
81
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-inner-spin-button {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
@@ -3,18 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var components_calendarInput_Component = require('./Component.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('react-merge-refs');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-calendar/shared');
|
|
11
|
-
require('@alfalab/core-components-date-input');
|
|
12
|
-
require('@alfalab/core-components-popover');
|
|
13
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
14
|
-
require('../../utils.js');
|
|
15
|
-
require('date-fns/format');
|
|
16
|
-
require('date-fns/isSameDay');
|
|
17
|
-
require('date-fns/parse');
|
|
18
6
|
|
|
19
7
|
|
|
20
8
|
|
|
@@ -7,20 +7,6 @@ var React = require('react');
|
|
|
7
7
|
var hooks = require('@alfalab/hooks');
|
|
8
8
|
var desktop_Component_desktop = require('./desktop/Component.desktop.js');
|
|
9
9
|
var mobile_Component_mobile = require('./mobile/Component.mobile.js');
|
|
10
|
-
require('@alfalab/core-components-calendar/cssm/desktop');
|
|
11
|
-
require('./components/calendar-input/Component.js');
|
|
12
|
-
require('react-merge-refs');
|
|
13
|
-
require('classnames');
|
|
14
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
15
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
16
|
-
require('@alfalab/core-components-popover/cssm');
|
|
17
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
18
|
-
require('./utils.js');
|
|
19
|
-
require('date-fns/format');
|
|
20
|
-
require('date-fns/isSameDay');
|
|
21
|
-
require('date-fns/parse');
|
|
22
|
-
require('./components/calendar-input/index.module.css');
|
|
23
|
-
require('@alfalab/core-components-calendar/cssm/mobile');
|
|
24
10
|
|
|
25
11
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
26
12
|
|
|
@@ -12,9 +12,6 @@ var coreComponentsPopover = require('@alfalab/core-components-popover/cssm');
|
|
|
12
12
|
var CalendarMIcon = require('@alfalab/icons-glyph/CalendarMIcon');
|
|
13
13
|
var utils = require('../../utils.js');
|
|
14
14
|
var styles = require('./index.module.css');
|
|
15
|
-
require('date-fns/format');
|
|
16
|
-
require('date-fns/isSameDay');
|
|
17
|
-
require('date-fns/parse');
|
|
18
15
|
|
|
19
16
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
20
17
|
|
|
@@ -3,19 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var components_calendarInput_Component = require('./Component.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('react-merge-refs');
|
|
9
|
-
require('classnames');
|
|
10
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
11
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
12
|
-
require('@alfalab/core-components-popover/cssm');
|
|
13
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
14
|
-
require('../../utils.js');
|
|
15
|
-
require('date-fns/format');
|
|
16
|
-
require('date-fns/isSameDay');
|
|
17
|
-
require('date-fns/parse');
|
|
18
|
-
require('./index.module.css');
|
|
19
6
|
|
|
20
7
|
|
|
21
8
|
|
|
@@ -6,17 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var desktop = require('@alfalab/core-components-calendar/cssm/desktop');
|
|
8
8
|
var components_calendarInput_Component = require('../components/calendar-input/Component.js');
|
|
9
|
-
require('react-merge-refs');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
12
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
13
|
-
require('@alfalab/core-components-popover/cssm');
|
|
14
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
15
|
-
require('../utils.js');
|
|
16
|
-
require('date-fns/format');
|
|
17
|
-
require('date-fns/isSameDay');
|
|
18
|
-
require('date-fns/parse');
|
|
19
|
-
require('../components/calendar-input/index.module.css');
|
|
20
9
|
|
|
21
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
22
11
|
|
package/cssm/desktop/index.js
CHANGED
|
@@ -3,21 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var desktop_Component_desktop = require('./Component.desktop.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-calendar/cssm/desktop');
|
|
9
|
-
require('../components/calendar-input/Component.js');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
13
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
14
|
-
require('@alfalab/core-components-popover/cssm');
|
|
15
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
16
|
-
require('../utils.js');
|
|
17
|
-
require('date-fns/format');
|
|
18
|
-
require('date-fns/isSameDay');
|
|
19
|
-
require('date-fns/parse');
|
|
20
|
-
require('../components/calendar-input/index.module.css');
|
|
21
6
|
|
|
22
7
|
|
|
23
8
|
|
package/cssm/index.js
CHANGED
|
@@ -3,25 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var Component_responsive = require('./Component.responsive.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/hooks');
|
|
9
|
-
require('./desktop/Component.desktop.js');
|
|
10
|
-
require('@alfalab/core-components-calendar/cssm/desktop');
|
|
11
|
-
require('./components/calendar-input/Component.js');
|
|
12
|
-
require('react-merge-refs');
|
|
13
|
-
require('classnames');
|
|
14
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
15
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
16
|
-
require('@alfalab/core-components-popover/cssm');
|
|
17
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
18
|
-
require('./utils.js');
|
|
19
|
-
require('date-fns/format');
|
|
20
|
-
require('date-fns/isSameDay');
|
|
21
|
-
require('date-fns/parse');
|
|
22
|
-
require('./components/calendar-input/index.module.css');
|
|
23
|
-
require('./mobile/Component.mobile.js');
|
|
24
|
-
require('@alfalab/core-components-calendar/cssm/mobile');
|
|
25
6
|
|
|
26
7
|
|
|
27
8
|
|
|
@@ -6,17 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var mobile = require('@alfalab/core-components-calendar/cssm/mobile');
|
|
8
8
|
var components_calendarInput_Component = require('../components/calendar-input/Component.js');
|
|
9
|
-
require('react-merge-refs');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
12
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
13
|
-
require('@alfalab/core-components-popover/cssm');
|
|
14
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
15
|
-
require('../utils.js');
|
|
16
|
-
require('date-fns/format');
|
|
17
|
-
require('date-fns/isSameDay');
|
|
18
|
-
require('date-fns/parse');
|
|
19
|
-
require('../components/calendar-input/index.module.css');
|
|
20
9
|
|
|
21
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
22
11
|
|
package/cssm/mobile/index.js
CHANGED
|
@@ -3,21 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var mobile_Component_mobile = require('./Component.mobile.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-calendar/cssm/mobile');
|
|
9
|
-
require('../components/calendar-input/Component.js');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
13
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
14
|
-
require('@alfalab/core-components-popover/cssm');
|
|
15
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
16
|
-
require('../utils.js');
|
|
17
|
-
require('date-fns/format');
|
|
18
|
-
require('date-fns/isSameDay');
|
|
19
|
-
require('date-fns/parse');
|
|
20
|
-
require('../components/calendar-input/index.module.css');
|
|
21
6
|
|
|
22
7
|
|
|
23
8
|
|
package/cssm/shared/index.js
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var utils = require('../utils.js');
|
|
6
|
-
require('date-fns/format');
|
|
7
|
-
require('date-fns/isSameDay');
|
|
8
|
-
require('date-fns/parse');
|
|
9
|
-
require('@alfalab/core-components-calendar/cssm/shared');
|
|
10
|
-
require('@alfalab/core-components-date-input/cssm');
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
|
|
@@ -6,16 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var desktop = require('@alfalab/core-components-calendar/desktop');
|
|
8
8
|
var components_calendarInput_Component = require('../components/calendar-input/Component.js');
|
|
9
|
-
require('react-merge-refs');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-calendar/shared');
|
|
12
|
-
require('@alfalab/core-components-date-input');
|
|
13
|
-
require('@alfalab/core-components-popover');
|
|
14
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
15
|
-
require('../utils.js');
|
|
16
|
-
require('date-fns/format');
|
|
17
|
-
require('date-fns/isSameDay');
|
|
18
|
-
require('date-fns/parse');
|
|
19
9
|
|
|
20
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
21
11
|
|
package/desktop/index.js
CHANGED
|
@@ -3,20 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var desktop_Component_desktop = require('./Component.desktop.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-calendar/desktop');
|
|
9
|
-
require('../components/calendar-input/Component.js');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('@alfalab/core-components-calendar/shared');
|
|
13
|
-
require('@alfalab/core-components-date-input');
|
|
14
|
-
require('@alfalab/core-components-popover');
|
|
15
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
16
|
-
require('../utils.js');
|
|
17
|
-
require('date-fns/format');
|
|
18
|
-
require('date-fns/isSameDay');
|
|
19
|
-
require('date-fns/parse');
|
|
20
6
|
|
|
21
7
|
|
|
22
8
|
|
|
@@ -3,19 +3,6 @@ import React, { forwardRef } from 'react';
|
|
|
3
3
|
import { useMedia } from '@alfalab/hooks';
|
|
4
4
|
import { CalendarInputDesktop } from './desktop/Component.desktop.js';
|
|
5
5
|
import { CalendarInputMobile } from './mobile/Component.mobile.js';
|
|
6
|
-
import '@alfalab/core-components-calendar/esm/desktop';
|
|
7
|
-
import './components/calendar-input/Component.js';
|
|
8
|
-
import 'react-merge-refs';
|
|
9
|
-
import 'classnames';
|
|
10
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
11
|
-
import '@alfalab/core-components-date-input/esm';
|
|
12
|
-
import '@alfalab/core-components-popover/esm';
|
|
13
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
14
|
-
import './utils.js';
|
|
15
|
-
import 'date-fns/format';
|
|
16
|
-
import 'date-fns/isSameDay';
|
|
17
|
-
import 'date-fns/parse';
|
|
18
|
-
import '@alfalab/core-components-calendar/esm/mobile';
|
|
19
6
|
|
|
20
7
|
/**
|
|
21
8
|
* @deprecated
|
|
@@ -7,11 +7,8 @@ import { parseDateString, DateInput, isCompleteDateInput, formatDate } from '@al
|
|
|
7
7
|
import { Popover } from '@alfalab/core-components-popover/esm';
|
|
8
8
|
import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
|
|
9
9
|
import { SUPPORTS_INPUT_TYPE_DATE } from '../../utils.js';
|
|
10
|
-
import 'date-fns/format';
|
|
11
|
-
import 'date-fns/isSameDay';
|
|
12
|
-
import 'date-fns/parse';
|
|
13
10
|
|
|
14
|
-
var styles = {"component":"calendar-
|
|
11
|
+
var styles = {"component":"calendar-input__component_2yr6g","block":"calendar-input__block_2yr6g","calendarContainer":"calendar-input__calendarContainer_2yr6g","calendarResponsive":"calendar-input__calendarResponsive_2yr6g","calendarIcon":"calendar-input__calendarIcon_2yr6g","nativeInput":"calendar-input__nativeInput_2yr6g"};
|
|
15
12
|
require('./index.css')
|
|
16
13
|
|
|
17
14
|
var CalendarInput = forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wnv6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb;
|
|
@@ -43,31 +43,31 @@
|
|
|
43
43
|
} :root {
|
|
44
44
|
--calendar-input-icon-color: var(--color-light-neutral-translucent-700);
|
|
45
45
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
46
|
-
} .calendar-
|
|
46
|
+
} .calendar-input__component_2yr6g {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-input__block_2yr6g {
|
|
51
51
|
width: 100%;
|
|
52
|
-
} .calendar-
|
|
52
|
+
} .calendar-input__calendarContainer_2yr6g {
|
|
53
53
|
display: inline-block;
|
|
54
54
|
box-sizing: border-box;
|
|
55
55
|
border-radius: var(--calendar-input-popover-border-radius);
|
|
56
56
|
border: 1px solid var(--color-light-neutral-300)
|
|
57
|
-
} @media (max-width: 374px) { .calendar-
|
|
57
|
+
} @media (max-width: 374px) { .calendar-input__calendarContainer_2yr6g {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-input__calendarResponsive_2yr6g {
|
|
62
62
|
width: var(--calendar-width);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-input__calendarIcon_2yr6g {
|
|
64
64
|
width: 24px;
|
|
65
65
|
height: 24px;
|
|
66
66
|
display: block;
|
|
67
67
|
color: var(--calendar-input-icon-color)
|
|
68
|
-
} .calendar-
|
|
68
|
+
} .calendar-input__calendarIcon_2yr6g:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
|
-
} .calendar-
|
|
70
|
+
} .calendar-input__nativeInput_2yr6g {
|
|
71
71
|
opacity: 0;
|
|
72
72
|
position: absolute;
|
|
73
73
|
top: 0;
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
height: 100%;
|
|
77
77
|
appearance: none;
|
|
78
78
|
z-index: 1
|
|
79
|
-
} .calendar-
|
|
79
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-calendar-picker-indicator {
|
|
80
80
|
display: none;
|
|
81
|
-
} .calendar-
|
|
81
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-inner-spin-button {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
@@ -1,13 +1 @@
|
|
|
1
1
|
export { CalendarInput } from './Component.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import 'react-merge-refs';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
7
|
-
import '@alfalab/core-components-date-input/esm';
|
|
8
|
-
import '@alfalab/core-components-popover/esm';
|
|
9
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
10
|
-
import '../../utils.js';
|
|
11
|
-
import 'date-fns/format';
|
|
12
|
-
import 'date-fns/isSameDay';
|
|
13
|
-
import 'date-fns/parse';
|
|
@@ -2,16 +2,6 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { CalendarDesktop } from '@alfalab/core-components-calendar/esm/desktop';
|
|
4
4
|
import { CalendarInput } from '../components/calendar-input/Component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
8
|
-
import '@alfalab/core-components-date-input/esm';
|
|
9
|
-
import '@alfalab/core-components-popover/esm';
|
|
10
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
11
|
-
import '../utils.js';
|
|
12
|
-
import 'date-fns/format';
|
|
13
|
-
import 'date-fns/isSameDay';
|
|
14
|
-
import 'date-fns/parse';
|
|
15
5
|
|
|
16
6
|
/**
|
|
17
7
|
* @deprecated
|
package/esm/desktop/index.js
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
1
|
export { CalendarInputDesktop } from './Component.desktop.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-calendar/esm/desktop';
|
|
5
|
-
import '../components/calendar-input/Component.js';
|
|
6
|
-
import 'react-merge-refs';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
9
|
-
import '@alfalab/core-components-date-input/esm';
|
|
10
|
-
import '@alfalab/core-components-popover/esm';
|
|
11
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
12
|
-
import '../utils.js';
|
|
13
|
-
import 'date-fns/format';
|
|
14
|
-
import 'date-fns/isSameDay';
|
|
15
|
-
import 'date-fns/parse';
|
package/esm/index.js
CHANGED
|
@@ -1,19 +1 @@
|
|
|
1
1
|
export { CalendarInputResponsive as CalendarInput } from './Component.responsive.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/hooks';
|
|
5
|
-
import './desktop/Component.desktop.js';
|
|
6
|
-
import '@alfalab/core-components-calendar/esm/desktop';
|
|
7
|
-
import './components/calendar-input/Component.js';
|
|
8
|
-
import 'react-merge-refs';
|
|
9
|
-
import 'classnames';
|
|
10
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
11
|
-
import '@alfalab/core-components-date-input/esm';
|
|
12
|
-
import '@alfalab/core-components-popover/esm';
|
|
13
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
14
|
-
import './utils.js';
|
|
15
|
-
import 'date-fns/format';
|
|
16
|
-
import 'date-fns/isSameDay';
|
|
17
|
-
import 'date-fns/parse';
|
|
18
|
-
import './mobile/Component.mobile.js';
|
|
19
|
-
import '@alfalab/core-components-calendar/esm/mobile';
|
|
@@ -2,16 +2,6 @@ import { __assign } from 'tslib';
|
|
|
2
2
|
import React, { forwardRef } from 'react';
|
|
3
3
|
import { CalendarMobile } from '@alfalab/core-components-calendar/esm/mobile';
|
|
4
4
|
import { CalendarInput } from '../components/calendar-input/Component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
8
|
-
import '@alfalab/core-components-date-input/esm';
|
|
9
|
-
import '@alfalab/core-components-popover/esm';
|
|
10
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
11
|
-
import '../utils.js';
|
|
12
|
-
import 'date-fns/format';
|
|
13
|
-
import 'date-fns/isSameDay';
|
|
14
|
-
import 'date-fns/parse';
|
|
15
5
|
|
|
16
6
|
/**
|
|
17
7
|
* @deprecated
|
package/esm/mobile/index.js
CHANGED
|
@@ -1,15 +1 @@
|
|
|
1
1
|
export { CalendarInputMobile } from './Component.mobile.js';
|
|
2
|
-
import 'tslib';
|
|
3
|
-
import 'react';
|
|
4
|
-
import '@alfalab/core-components-calendar/esm/mobile';
|
|
5
|
-
import '../components/calendar-input/Component.js';
|
|
6
|
-
import 'react-merge-refs';
|
|
7
|
-
import 'classnames';
|
|
8
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
9
|
-
import '@alfalab/core-components-date-input/esm';
|
|
10
|
-
import '@alfalab/core-components-popover/esm';
|
|
11
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
12
|
-
import '../utils.js';
|
|
13
|
-
import 'date-fns/format';
|
|
14
|
-
import 'date-fns/isSameDay';
|
|
15
|
-
import 'date-fns/parse';
|
package/esm/shared/index.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
1
|
export { DATE_FORMAT, DATE_MASK, IS_BROWSER, NATIVE_DATE_FORMAT, SUPPORTS_INPUT_TYPE_DATE, formatDate, isInputDateSupported, isValidInputValue, parseDateString } from '../utils.js';
|
|
2
|
-
import 'date-fns/format';
|
|
3
|
-
import 'date-fns/isSameDay';
|
|
4
|
-
import 'date-fns/parse';
|
|
5
|
-
import '@alfalab/core-components-calendar/esm/shared';
|
|
6
|
-
import '@alfalab/core-components-date-input/esm';
|
package/index.js
CHANGED
|
@@ -3,24 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var Component_responsive = require('./Component.responsive.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/hooks');
|
|
9
|
-
require('./desktop/Component.desktop.js');
|
|
10
|
-
require('@alfalab/core-components-calendar/desktop');
|
|
11
|
-
require('./components/calendar-input/Component.js');
|
|
12
|
-
require('react-merge-refs');
|
|
13
|
-
require('classnames');
|
|
14
|
-
require('@alfalab/core-components-calendar/shared');
|
|
15
|
-
require('@alfalab/core-components-date-input');
|
|
16
|
-
require('@alfalab/core-components-popover');
|
|
17
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
18
|
-
require('./utils.js');
|
|
19
|
-
require('date-fns/format');
|
|
20
|
-
require('date-fns/isSameDay');
|
|
21
|
-
require('date-fns/parse');
|
|
22
|
-
require('./mobile/Component.mobile.js');
|
|
23
|
-
require('@alfalab/core-components-calendar/mobile');
|
|
24
6
|
|
|
25
7
|
|
|
26
8
|
|
|
@@ -6,16 +6,6 @@ var tslib = require('tslib');
|
|
|
6
6
|
var React = require('react');
|
|
7
7
|
var mobile = require('@alfalab/core-components-calendar/mobile');
|
|
8
8
|
var components_calendarInput_Component = require('../components/calendar-input/Component.js');
|
|
9
|
-
require('react-merge-refs');
|
|
10
|
-
require('classnames');
|
|
11
|
-
require('@alfalab/core-components-calendar/shared');
|
|
12
|
-
require('@alfalab/core-components-date-input');
|
|
13
|
-
require('@alfalab/core-components-popover');
|
|
14
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
15
|
-
require('../utils.js');
|
|
16
|
-
require('date-fns/format');
|
|
17
|
-
require('date-fns/isSameDay');
|
|
18
|
-
require('date-fns/parse');
|
|
19
9
|
|
|
20
10
|
function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
|
|
21
11
|
|
package/mobile/index.js
CHANGED
|
@@ -3,20 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var mobile_Component_mobile = require('./Component.mobile.js');
|
|
6
|
-
require('tslib');
|
|
7
|
-
require('react');
|
|
8
|
-
require('@alfalab/core-components-calendar/mobile');
|
|
9
|
-
require('../components/calendar-input/Component.js');
|
|
10
|
-
require('react-merge-refs');
|
|
11
|
-
require('classnames');
|
|
12
|
-
require('@alfalab/core-components-calendar/shared');
|
|
13
|
-
require('@alfalab/core-components-date-input');
|
|
14
|
-
require('@alfalab/core-components-popover');
|
|
15
|
-
require('@alfalab/icons-glyph/CalendarMIcon');
|
|
16
|
-
require('../utils.js');
|
|
17
|
-
require('date-fns/format');
|
|
18
|
-
require('date-fns/isSameDay');
|
|
19
|
-
require('date-fns/parse');
|
|
20
6
|
|
|
21
7
|
|
|
22
8
|
|
|
@@ -2,19 +2,6 @@ import React, { forwardRef } from 'react';
|
|
|
2
2
|
import { useMedia } from '@alfalab/hooks';
|
|
3
3
|
import { CalendarInputDesktop } from './desktop/Component.desktop.js';
|
|
4
4
|
import { CalendarInputMobile } from './mobile/Component.mobile.js';
|
|
5
|
-
import '@alfalab/core-components-calendar/modern/desktop';
|
|
6
|
-
import './components/calendar-input/Component.js';
|
|
7
|
-
import 'react-merge-refs';
|
|
8
|
-
import 'classnames';
|
|
9
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
10
|
-
import '@alfalab/core-components-date-input/modern';
|
|
11
|
-
import '@alfalab/core-components-popover/modern';
|
|
12
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
13
|
-
import './utils.js';
|
|
14
|
-
import 'date-fns/format';
|
|
15
|
-
import 'date-fns/isSameDay';
|
|
16
|
-
import 'date-fns/parse';
|
|
17
|
-
import '@alfalab/core-components-calendar/modern/mobile';
|
|
18
5
|
|
|
19
6
|
/**
|
|
20
7
|
* @deprecated
|
|
@@ -6,11 +6,8 @@ import { parseDateString, DateInput, isCompleteDateInput, formatDate } from '@al
|
|
|
6
6
|
import { Popover } from '@alfalab/core-components-popover/modern';
|
|
7
7
|
import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
|
|
8
8
|
import { SUPPORTS_INPUT_TYPE_DATE } from '../../utils.js';
|
|
9
|
-
import 'date-fns/format';
|
|
10
|
-
import 'date-fns/isSameDay';
|
|
11
|
-
import 'date-fns/parse';
|
|
12
9
|
|
|
13
|
-
const styles = {"component":"calendar-
|
|
10
|
+
const styles = {"component":"calendar-input__component_2yr6g","block":"calendar-input__block_2yr6g","calendarContainer":"calendar-input__calendarContainer_2yr6g","calendarResponsive":"calendar-input__calendarResponsive_2yr6g","calendarIcon":"calendar-input__calendarIcon_2yr6g","nativeInput":"calendar-input__nativeInput_2yr6g"};
|
|
14
11
|
require('./index.css')
|
|
15
12
|
|
|
16
13
|
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, onCalendarOpen, onCalendarClose, onKeyDown, readOnly, disableUserInput = false, Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, error, view = 'desktop', ...restProps }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: wnv6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-neutral-300: #e7e8eb;
|
|
@@ -43,31 +43,31 @@
|
|
|
43
43
|
} :root {
|
|
44
44
|
--calendar-input-icon-color: var(--color-light-neutral-translucent-700);
|
|
45
45
|
--calendar-input-popover-border-radius: var(--border-radius-m);
|
|
46
|
-
} .calendar-
|
|
46
|
+
} .calendar-input__component_2yr6g {
|
|
47
47
|
display: inline-block;
|
|
48
48
|
outline: none;
|
|
49
49
|
position: relative;
|
|
50
|
-
} .calendar-
|
|
50
|
+
} .calendar-input__block_2yr6g {
|
|
51
51
|
width: 100%;
|
|
52
|
-
} .calendar-
|
|
52
|
+
} .calendar-input__calendarContainer_2yr6g {
|
|
53
53
|
display: inline-block;
|
|
54
54
|
box-sizing: border-box;
|
|
55
55
|
border-radius: var(--calendar-input-popover-border-radius);
|
|
56
56
|
border: 1px solid var(--color-light-neutral-300)
|
|
57
|
-
} @media (max-width: 374px) { .calendar-
|
|
57
|
+
} @media (max-width: 374px) { .calendar-input__calendarContainer_2yr6g {
|
|
58
58
|
width: 100%;
|
|
59
59
|
min-width: 288px
|
|
60
60
|
}
|
|
61
|
-
} .calendar-
|
|
61
|
+
} .calendar-input__calendarResponsive_2yr6g {
|
|
62
62
|
width: var(--calendar-width);
|
|
63
|
-
} .calendar-
|
|
63
|
+
} .calendar-input__calendarIcon_2yr6g {
|
|
64
64
|
width: 24px;
|
|
65
65
|
height: 24px;
|
|
66
66
|
display: block;
|
|
67
67
|
color: var(--calendar-input-icon-color)
|
|
68
|
-
} .calendar-
|
|
68
|
+
} .calendar-input__calendarIcon_2yr6g:not(:only-child) {
|
|
69
69
|
margin-right: var(--gap-2xs);
|
|
70
|
-
} .calendar-
|
|
70
|
+
} .calendar-input__nativeInput_2yr6g {
|
|
71
71
|
opacity: 0;
|
|
72
72
|
position: absolute;
|
|
73
73
|
top: 0;
|
|
@@ -76,8 +76,8 @@
|
|
|
76
76
|
height: 100%;
|
|
77
77
|
appearance: none;
|
|
78
78
|
z-index: 1
|
|
79
|
-
} .calendar-
|
|
79
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-calendar-picker-indicator {
|
|
80
80
|
display: none;
|
|
81
|
-
} .calendar-
|
|
81
|
+
} .calendar-input__nativeInput_2yr6g::-webkit-inner-spin-button {
|
|
82
82
|
display: none;
|
|
83
83
|
}
|
|
@@ -1,12 +1 @@
|
|
|
1
1
|
export { CalendarInput } from './Component.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import 'react-merge-refs';
|
|
4
|
-
import 'classnames';
|
|
5
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
6
|
-
import '@alfalab/core-components-date-input/modern';
|
|
7
|
-
import '@alfalab/core-components-popover/modern';
|
|
8
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
9
|
-
import '../../utils.js';
|
|
10
|
-
import 'date-fns/format';
|
|
11
|
-
import 'date-fns/isSameDay';
|
|
12
|
-
import 'date-fns/parse';
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { CalendarDesktop } from '@alfalab/core-components-calendar/modern/desktop';
|
|
3
3
|
import { CalendarInput } from '../components/calendar-input/Component.js';
|
|
4
|
-
import 'react-merge-refs';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
7
|
-
import '@alfalab/core-components-date-input/modern';
|
|
8
|
-
import '@alfalab/core-components-popover/modern';
|
|
9
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
10
|
-
import '../utils.js';
|
|
11
|
-
import 'date-fns/format';
|
|
12
|
-
import 'date-fns/isSameDay';
|
|
13
|
-
import 'date-fns/parse';
|
|
14
4
|
|
|
15
5
|
/**
|
|
16
6
|
* @deprecated
|
package/modern/desktop/index.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
1
|
export { CalendarInputDesktop } from './Component.desktop.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/core-components-calendar/modern/desktop';
|
|
4
|
-
import '../components/calendar-input/Component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
8
|
-
import '@alfalab/core-components-date-input/modern';
|
|
9
|
-
import '@alfalab/core-components-popover/modern';
|
|
10
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
11
|
-
import '../utils.js';
|
|
12
|
-
import 'date-fns/format';
|
|
13
|
-
import 'date-fns/isSameDay';
|
|
14
|
-
import 'date-fns/parse';
|
package/modern/index.js
CHANGED
|
@@ -1,18 +1 @@
|
|
|
1
1
|
export { CalendarInputResponsive as CalendarInput } from './Component.responsive.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/hooks';
|
|
4
|
-
import './desktop/Component.desktop.js';
|
|
5
|
-
import '@alfalab/core-components-calendar/modern/desktop';
|
|
6
|
-
import './components/calendar-input/Component.js';
|
|
7
|
-
import 'react-merge-refs';
|
|
8
|
-
import 'classnames';
|
|
9
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
10
|
-
import '@alfalab/core-components-date-input/modern';
|
|
11
|
-
import '@alfalab/core-components-popover/modern';
|
|
12
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
13
|
-
import './utils.js';
|
|
14
|
-
import 'date-fns/format';
|
|
15
|
-
import 'date-fns/isSameDay';
|
|
16
|
-
import 'date-fns/parse';
|
|
17
|
-
import './mobile/Component.mobile.js';
|
|
18
|
-
import '@alfalab/core-components-calendar/modern/mobile';
|
|
@@ -1,16 +1,6 @@
|
|
|
1
1
|
import React, { forwardRef } from 'react';
|
|
2
2
|
import { CalendarMobile } from '@alfalab/core-components-calendar/modern/mobile';
|
|
3
3
|
import { CalendarInput } from '../components/calendar-input/Component.js';
|
|
4
|
-
import 'react-merge-refs';
|
|
5
|
-
import 'classnames';
|
|
6
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
7
|
-
import '@alfalab/core-components-date-input/modern';
|
|
8
|
-
import '@alfalab/core-components-popover/modern';
|
|
9
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
10
|
-
import '../utils.js';
|
|
11
|
-
import 'date-fns/format';
|
|
12
|
-
import 'date-fns/isSameDay';
|
|
13
|
-
import 'date-fns/parse';
|
|
14
4
|
|
|
15
5
|
/**
|
|
16
6
|
* @deprecated
|
package/modern/mobile/index.js
CHANGED
|
@@ -1,14 +1 @@
|
|
|
1
1
|
export { CalendarInputMobile } from './Component.mobile.js';
|
|
2
|
-
import 'react';
|
|
3
|
-
import '@alfalab/core-components-calendar/modern/mobile';
|
|
4
|
-
import '../components/calendar-input/Component.js';
|
|
5
|
-
import 'react-merge-refs';
|
|
6
|
-
import 'classnames';
|
|
7
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
8
|
-
import '@alfalab/core-components-date-input/modern';
|
|
9
|
-
import '@alfalab/core-components-popover/modern';
|
|
10
|
-
import '@alfalab/icons-glyph/CalendarMIcon';
|
|
11
|
-
import '../utils.js';
|
|
12
|
-
import 'date-fns/format';
|
|
13
|
-
import 'date-fns/isSameDay';
|
|
14
|
-
import 'date-fns/parse';
|
package/modern/shared/index.js
CHANGED
|
@@ -1,6 +1 @@
|
|
|
1
1
|
export { DATE_FORMAT, DATE_MASK, IS_BROWSER, NATIVE_DATE_FORMAT, SUPPORTS_INPUT_TYPE_DATE, formatDate, isInputDateSupported, isValidInputValue, parseDateString } from '../utils.js';
|
|
2
|
-
import 'date-fns/format';
|
|
3
|
-
import 'date-fns/isSameDay';
|
|
4
|
-
import 'date-fns/parse';
|
|
5
|
-
import '@alfalab/core-components-calendar/modern/shared';
|
|
6
|
-
import '@alfalab/core-components-date-input/modern';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-calendar-input",
|
|
3
|
-
"version": "10.2.
|
|
3
|
+
"version": "10.2.3",
|
|
4
4
|
"description": "Calendar input component",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-calendar": "^7.3.
|
|
19
|
-
"@alfalab/core-components-date-input": "^4.3.
|
|
18
|
+
"@alfalab/core-components-calendar": "^7.3.2",
|
|
19
|
+
"@alfalab/core-components-date-input": "^4.3.19",
|
|
20
20
|
"@alfalab/core-components-popover": "^6.2.1",
|
|
21
21
|
"@alfalab/hooks": "^1.13.0",
|
|
22
22
|
"@alfalab/icons-glyph": "^2.139.0",
|
package/shared/index.js
CHANGED
|
@@ -3,11 +3,6 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var utils = require('../utils.js');
|
|
6
|
-
require('date-fns/format');
|
|
7
|
-
require('date-fns/isSameDay');
|
|
8
|
-
require('date-fns/parse');
|
|
9
|
-
require('@alfalab/core-components-calendar/shared');
|
|
10
|
-
require('@alfalab/core-components-date-input');
|
|
11
6
|
|
|
12
7
|
|
|
13
8
|
|