@alfalab/core-components-date-range-input 3.3.1 → 3.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.
Files changed (40) hide show
  1. package/Component.responsive.js +0 -15
  2. package/components/date-range-input/Component.js +1 -2
  3. package/components/date-range-input/index.css +7 -7
  4. package/components/date-range-input/index.js +0 -13
  5. package/cssm/Component.responsive.js +0 -16
  6. package/cssm/components/date-range-input/Component.js +0 -1
  7. package/cssm/components/date-range-input/index.js +0 -14
  8. package/cssm/desktop/Component.desktop.js +0 -12
  9. package/cssm/desktop/index.js +0 -17
  10. package/cssm/index.js +0 -21
  11. package/cssm/mobile/Component.mobile.js +0 -12
  12. package/cssm/mobile/index.js +0 -17
  13. package/cssm/utils/index.js +0 -2
  14. package/desktop/Component.desktop.js +0 -11
  15. package/desktop/index.js +0 -16
  16. package/esm/Component.responsive.js +0 -15
  17. package/esm/components/date-range-input/Component.js +1 -2
  18. package/esm/components/date-range-input/index.css +7 -7
  19. package/esm/components/date-range-input/index.js +0 -13
  20. package/esm/desktop/Component.desktop.js +0 -11
  21. package/esm/desktop/index.js +0 -16
  22. package/esm/index.js +0 -20
  23. package/esm/mobile/Component.mobile.js +0 -11
  24. package/esm/mobile/index.js +0 -16
  25. package/esm/utils/index.js +0 -2
  26. package/index.js +0 -20
  27. package/mobile/Component.mobile.js +0 -11
  28. package/mobile/index.js +0 -16
  29. package/modern/Component.responsive.js +0 -15
  30. package/modern/components/date-range-input/Component.js +1 -2
  31. package/modern/components/date-range-input/index.css +7 -7
  32. package/modern/components/date-range-input/index.js +0 -12
  33. package/modern/desktop/Component.desktop.js +0 -11
  34. package/modern/desktop/index.js +0 -15
  35. package/modern/index.js +0 -19
  36. package/modern/mobile/Component.mobile.js +0 -11
  37. package/modern/mobile/index.js +0 -15
  38. package/modern/utils/index.js +0 -2
  39. package/package.json +4 -4
  40. package/utils/index.js +0 -2
@@ -7,21 +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('@alfalab/core-components-input/desktop');
12
- require('./components/date-range-input/Component.js');
13
- require('react-merge-refs');
14
- require('classnames');
15
- require('date-fns/isValid');
16
- require('date-fns/startOfMonth');
17
- require('@alfalab/core-components-calendar/shared');
18
- require('@alfalab/core-components-icon-button');
19
- require('@alfalab/core-components-popover');
20
- require('@alfalab/icons-glyph/CalendarMIcon');
21
- require('./utils/format.js');
22
- require('date-fns/parse');
23
- require('@alfalab/core-components-calendar/mobile');
24
- require('@alfalab/core-components-input/mobile');
25
10
 
26
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
27
12
 
@@ -14,7 +14,6 @@ var coreComponentsPopover = require('@alfalab/core-components-popover');
14
14
  var hooks = require('@alfalab/hooks');
15
15
  var CalendarMIcon = require('@alfalab/icons-glyph/CalendarMIcon');
16
16
  var utils_format = require('../../utils/format.js');
17
- require('date-fns/parse');
18
17
 
19
18
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
20
19
 
@@ -24,7 +23,7 @@ var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
24
23
  var dateFnsIsValid__default = /*#__PURE__*/_interopDefaultCompat(dateFnsIsValid);
25
24
  var startOfMonth__default = /*#__PURE__*/_interopDefaultCompat(startOfMonth);
26
25
 
27
- var styles = {"component":"date-range-input__component_ztmpb","calendarContainer":"date-range-input__calendarContainer_ztmpb","calendarResponsive":"date-range-input__calendarResponsive_ztmpb","block":"date-range-input__block_ztmpb","calendarIcon":"date-range-input__calendarIcon_ztmpb"};
26
+ var styles = {"component":"date-range-input__component_1adkl","calendarContainer":"date-range-input__calendarContainer_1adkl","calendarResponsive":"date-range-input__calendarResponsive_1adkl","block":"date-range-input__block_1adkl","calendarIcon":"date-range-input__calendarIcon_1adkl"};
28
27
  require('./index.css')
29
28
 
30
29
  var DateRangeInput = React__default.default.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yhvy */
1
+ /* hash: 4a0a1 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb; /* 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,24 +41,24 @@
41
41
  /* marker */
42
42
  } :root {
43
43
  --calendar-popover-border-radius: var(--border-radius-m);
44
- } .date-range-input__component_ztmpb {
44
+ } .date-range-input__component_1adkl {
45
45
  display: inline-block;
46
46
  outline: none;
47
47
  position: relative;
48
- } .date-range-input__calendarContainer_ztmpb {
48
+ } .date-range-input__calendarContainer_1adkl {
49
49
  display: inline-block;
50
50
  box-sizing: border-box;
51
51
  border-radius: var(--calendar-popover-border-radius);
52
52
  border: 1px solid var(--color-light-neutral-300)
53
- } @media (max-width: 374px) { .date-range-input__calendarContainer_ztmpb {
53
+ } @media (max-width: 374px) { .date-range-input__calendarContainer_1adkl {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
- } .date-range-input__calendarResponsive_ztmpb {
57
+ } .date-range-input__calendarResponsive_1adkl {
58
58
  width: var(--calendar-width);
59
- } .date-range-input__block_ztmpb {
59
+ } .date-range-input__block_1adkl {
60
60
  width: 100%;
61
- } .date-range-input__calendarIcon_ztmpb {
61
+ } .date-range-input__calendarIcon_1adkl {
62
62
  margin-right: var(--gap-s-neg);
63
63
  height: 100%;
64
64
  }
@@ -3,19 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var components_dateRangeInput_Component = require('./Component.js');
6
- require('tslib');
7
- require('react');
8
- require('react-merge-refs');
9
- require('classnames');
10
- require('date-fns/isValid');
11
- require('date-fns/startOfMonth');
12
- require('@alfalab/core-components-calendar/shared');
13
- require('@alfalab/core-components-icon-button');
14
- require('@alfalab/core-components-popover');
15
- require('@alfalab/hooks');
16
- require('@alfalab/icons-glyph/CalendarMIcon');
17
- require('../../utils/format.js');
18
- require('date-fns/parse');
19
6
 
20
7
 
21
8
 
@@ -7,22 +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('@alfalab/core-components-input/cssm/desktop');
12
- require('./components/date-range-input/Component.js');
13
- require('react-merge-refs');
14
- require('classnames');
15
- require('date-fns/isValid');
16
- require('date-fns/startOfMonth');
17
- require('@alfalab/core-components-calendar/cssm/shared');
18
- require('@alfalab/core-components-icon-button/cssm');
19
- require('@alfalab/core-components-popover/cssm');
20
- require('@alfalab/icons-glyph/CalendarMIcon');
21
- require('./utils/format.js');
22
- require('date-fns/parse');
23
- require('./components/date-range-input/index.module.css');
24
- require('@alfalab/core-components-calendar/cssm/mobile');
25
- require('@alfalab/core-components-input/cssm/mobile');
26
10
 
27
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
28
12
 
@@ -15,7 +15,6 @@ var hooks = require('@alfalab/hooks');
15
15
  var CalendarMIcon = require('@alfalab/icons-glyph/CalendarMIcon');
16
16
  var utils_format = require('../../utils/format.js');
17
17
  var styles = require('./index.module.css');
18
- require('date-fns/parse');
19
18
 
20
19
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
21
20
 
@@ -3,20 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var components_dateRangeInput_Component = require('./Component.js');
6
- require('tslib');
7
- require('react');
8
- require('react-merge-refs');
9
- require('classnames');
10
- require('date-fns/isValid');
11
- require('date-fns/startOfMonth');
12
- require('@alfalab/core-components-calendar/cssm/shared');
13
- require('@alfalab/core-components-icon-button/cssm');
14
- require('@alfalab/core-components-popover/cssm');
15
- require('@alfalab/hooks');
16
- require('@alfalab/icons-glyph/CalendarMIcon');
17
- require('../../utils/format.js');
18
- require('date-fns/parse');
19
- require('./index.module.css');
20
6
 
21
7
 
22
8
 
@@ -7,18 +7,6 @@ var React = require('react');
7
7
  var desktop$1 = require('@alfalab/core-components-calendar/cssm/desktop');
8
8
  var desktop = require('@alfalab/core-components-input/cssm/desktop');
9
9
  var components_dateRangeInput_Component = require('../components/date-range-input/Component.js');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('date-fns/isValid');
13
- require('date-fns/startOfMonth');
14
- require('@alfalab/core-components-calendar/cssm/shared');
15
- require('@alfalab/core-components-icon-button/cssm');
16
- require('@alfalab/core-components-popover/cssm');
17
- require('@alfalab/hooks');
18
- require('@alfalab/icons-glyph/CalendarMIcon');
19
- require('../utils/format.js');
20
- require('date-fns/parse');
21
- require('../components/date-range-input/index.module.css');
22
10
 
23
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
24
12
 
@@ -3,23 +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('@alfalab/core-components-input/cssm/desktop');
10
- require('../components/date-range-input/Component.js');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('date-fns/isValid');
14
- require('date-fns/startOfMonth');
15
- require('@alfalab/core-components-calendar/cssm/shared');
16
- require('@alfalab/core-components-icon-button/cssm');
17
- require('@alfalab/core-components-popover/cssm');
18
- require('@alfalab/hooks');
19
- require('@alfalab/icons-glyph/CalendarMIcon');
20
- require('../utils/format.js');
21
- require('date-fns/parse');
22
- require('../components/date-range-input/index.module.css');
23
6
 
24
7
 
25
8
 
package/cssm/index.js CHANGED
@@ -3,27 +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('@alfalab/core-components-input/cssm/desktop');
12
- require('./components/date-range-input/Component.js');
13
- require('react-merge-refs');
14
- require('classnames');
15
- require('date-fns/isValid');
16
- require('date-fns/startOfMonth');
17
- require('@alfalab/core-components-calendar/cssm/shared');
18
- require('@alfalab/core-components-icon-button/cssm');
19
- require('@alfalab/core-components-popover/cssm');
20
- require('@alfalab/icons-glyph/CalendarMIcon');
21
- require('./utils/format.js');
22
- require('date-fns/parse');
23
- require('./components/date-range-input/index.module.css');
24
- require('./mobile/Component.mobile.js');
25
- require('@alfalab/core-components-calendar/cssm/mobile');
26
- require('@alfalab/core-components-input/cssm/mobile');
27
6
 
28
7
 
29
8
 
@@ -7,18 +7,6 @@ var React = require('react');
7
7
  var mobile$1 = require('@alfalab/core-components-calendar/cssm/mobile');
8
8
  var mobile = require('@alfalab/core-components-input/cssm/mobile');
9
9
  var components_dateRangeInput_Component = require('../components/date-range-input/Component.js');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('date-fns/isValid');
13
- require('date-fns/startOfMonth');
14
- require('@alfalab/core-components-calendar/cssm/shared');
15
- require('@alfalab/core-components-icon-button/cssm');
16
- require('@alfalab/core-components-popover/cssm');
17
- require('@alfalab/hooks');
18
- require('@alfalab/icons-glyph/CalendarMIcon');
19
- require('../utils/format.js');
20
- require('date-fns/parse');
21
- require('../components/date-range-input/index.module.css');
22
10
 
23
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
24
12
 
@@ -3,23 +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('@alfalab/core-components-input/cssm/mobile');
10
- require('../components/date-range-input/Component.js');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('date-fns/isValid');
14
- require('date-fns/startOfMonth');
15
- require('@alfalab/core-components-calendar/cssm/shared');
16
- require('@alfalab/core-components-icon-button/cssm');
17
- require('@alfalab/core-components-popover/cssm');
18
- require('@alfalab/hooks');
19
- require('@alfalab/icons-glyph/CalendarMIcon');
20
- require('../utils/format.js');
21
- require('date-fns/parse');
22
- require('../components/date-range-input/index.module.css');
23
6
 
24
7
 
25
8
 
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var utils_format = require('./format.js');
6
- require('date-fns/isValid');
7
- require('date-fns/parse');
8
6
 
9
7
 
10
8
 
@@ -7,17 +7,6 @@ var React = require('react');
7
7
  var desktop$1 = require('@alfalab/core-components-calendar/desktop');
8
8
  var desktop = require('@alfalab/core-components-input/desktop');
9
9
  var components_dateRangeInput_Component = require('../components/date-range-input/Component.js');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('date-fns/isValid');
13
- require('date-fns/startOfMonth');
14
- require('@alfalab/core-components-calendar/shared');
15
- require('@alfalab/core-components-icon-button');
16
- require('@alfalab/core-components-popover');
17
- require('@alfalab/hooks');
18
- require('@alfalab/icons-glyph/CalendarMIcon');
19
- require('../utils/format.js');
20
- require('date-fns/parse');
21
10
 
22
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
23
12
 
package/desktop/index.js CHANGED
@@ -3,22 +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('@alfalab/core-components-input/desktop');
10
- require('../components/date-range-input/Component.js');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('date-fns/isValid');
14
- require('date-fns/startOfMonth');
15
- require('@alfalab/core-components-calendar/shared');
16
- require('@alfalab/core-components-icon-button');
17
- require('@alfalab/core-components-popover');
18
- require('@alfalab/hooks');
19
- require('@alfalab/icons-glyph/CalendarMIcon');
20
- require('../utils/format.js');
21
- require('date-fns/parse');
22
6
 
23
7
 
24
8
 
@@ -3,21 +3,6 @@ import React, { forwardRef } from 'react';
3
3
  import { useMedia } from '@alfalab/hooks';
4
4
  import { DateRangeInputDesktop } from './desktop/Component.desktop.js';
5
5
  import { DateRangeInputMobile } from './mobile/Component.mobile.js';
6
- import '@alfalab/core-components-calendar/esm/desktop';
7
- import '@alfalab/core-components-input/esm/desktop';
8
- import './components/date-range-input/Component.js';
9
- import 'react-merge-refs';
10
- import 'classnames';
11
- import 'date-fns/isValid';
12
- import 'date-fns/startOfMonth';
13
- import '@alfalab/core-components-calendar/esm/shared';
14
- import '@alfalab/core-components-icon-button/esm';
15
- import '@alfalab/core-components-popover/esm';
16
- import '@alfalab/icons-glyph/CalendarMIcon';
17
- import './utils/format.js';
18
- import 'date-fns/parse';
19
- import '@alfalab/core-components-calendar/esm/mobile';
20
- import '@alfalab/core-components-input/esm/mobile';
21
6
 
22
7
  /**
23
8
  * @deprecated
@@ -10,9 +10,8 @@ import { Popover } from '@alfalab/core-components-popover/esm';
10
10
  import { useDidUpdateEffect } from '@alfalab/hooks';
11
11
  import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
12
12
  import { parseTimestampToDate, DATE_FORMAT, format, parseDateString, DATE_MASK, isCompleteDateInput, isValid } from '../../utils/format.js';
13
- import 'date-fns/parse';
14
13
 
15
- var styles = {"component":"date-range-input__component_ztmpb","calendarContainer":"date-range-input__calendarContainer_ztmpb","calendarResponsive":"date-range-input__calendarResponsive_ztmpb","block":"date-range-input__block_ztmpb","calendarIcon":"date-range-input__calendarIcon_ztmpb"};
14
+ var styles = {"component":"date-range-input__component_1adkl","calendarContainer":"date-range-input__calendarContainer_1adkl","calendarResponsive":"date-range-input__calendarResponsive_1adkl","block":"date-range-input__block_1adkl","calendarIcon":"date-range-input__calendarIcon_1adkl"};
16
15
  require('./index.css')
17
16
 
18
17
  var DateRangeInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1yhvy */
1
+ /* hash: 4a0a1 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb; /* 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,24 +41,24 @@
41
41
  /* marker */
42
42
  } :root {
43
43
  --calendar-popover-border-radius: var(--border-radius-m);
44
- } .date-range-input__component_ztmpb {
44
+ } .date-range-input__component_1adkl {
45
45
  display: inline-block;
46
46
  outline: none;
47
47
  position: relative;
48
- } .date-range-input__calendarContainer_ztmpb {
48
+ } .date-range-input__calendarContainer_1adkl {
49
49
  display: inline-block;
50
50
  box-sizing: border-box;
51
51
  border-radius: var(--calendar-popover-border-radius);
52
52
  border: 1px solid var(--color-light-neutral-300)
53
- } @media (max-width: 374px) { .date-range-input__calendarContainer_ztmpb {
53
+ } @media (max-width: 374px) { .date-range-input__calendarContainer_1adkl {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
- } .date-range-input__calendarResponsive_ztmpb {
57
+ } .date-range-input__calendarResponsive_1adkl {
58
58
  width: var(--calendar-width);
59
- } .date-range-input__block_ztmpb {
59
+ } .date-range-input__block_1adkl {
60
60
  width: 100%;
61
- } .date-range-input__calendarIcon_ztmpb {
61
+ } .date-range-input__calendarIcon_1adkl {
62
62
  margin-right: var(--gap-s-neg);
63
63
  height: 100%;
64
64
  }
@@ -1,14 +1 @@
1
1
  export { DateRangeInput } from './Component.js';
2
- import 'tslib';
3
- import 'react';
4
- import 'react-merge-refs';
5
- import 'classnames';
6
- import 'date-fns/isValid';
7
- import 'date-fns/startOfMonth';
8
- import '@alfalab/core-components-calendar/esm/shared';
9
- import '@alfalab/core-components-icon-button/esm';
10
- import '@alfalab/core-components-popover/esm';
11
- import '@alfalab/hooks';
12
- import '@alfalab/icons-glyph/CalendarMIcon';
13
- import '../../utils/format.js';
14
- import 'date-fns/parse';
@@ -3,17 +3,6 @@ import React, { forwardRef } from 'react';
3
3
  import { CalendarDesktop } from '@alfalab/core-components-calendar/esm/desktop';
4
4
  import { InputDesktop } from '@alfalab/core-components-input/esm/desktop';
5
5
  import { DateRangeInput } from '../components/date-range-input/Component.js';
6
- import 'react-merge-refs';
7
- import 'classnames';
8
- import 'date-fns/isValid';
9
- import 'date-fns/startOfMonth';
10
- import '@alfalab/core-components-calendar/esm/shared';
11
- import '@alfalab/core-components-icon-button/esm';
12
- import '@alfalab/core-components-popover/esm';
13
- import '@alfalab/hooks';
14
- import '@alfalab/icons-glyph/CalendarMIcon';
15
- import '../utils/format.js';
16
- import 'date-fns/parse';
17
6
 
18
7
  /**
19
8
  * @deprecated
@@ -1,17 +1 @@
1
1
  export { DateRangeInputDesktop } from './Component.desktop.js';
2
- import 'tslib';
3
- import 'react';
4
- import '@alfalab/core-components-calendar/esm/desktop';
5
- import '@alfalab/core-components-input/esm/desktop';
6
- import '../components/date-range-input/Component.js';
7
- import 'react-merge-refs';
8
- import 'classnames';
9
- import 'date-fns/isValid';
10
- import 'date-fns/startOfMonth';
11
- import '@alfalab/core-components-calendar/esm/shared';
12
- import '@alfalab/core-components-icon-button/esm';
13
- import '@alfalab/core-components-popover/esm';
14
- import '@alfalab/hooks';
15
- import '@alfalab/icons-glyph/CalendarMIcon';
16
- import '../utils/format.js';
17
- import 'date-fns/parse';
package/esm/index.js CHANGED
@@ -1,21 +1 @@
1
1
  export { DateRangeInputResponsive as DateRangeInput } 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 '@alfalab/core-components-input/esm/desktop';
8
- import './components/date-range-input/Component.js';
9
- import 'react-merge-refs';
10
- import 'classnames';
11
- import 'date-fns/isValid';
12
- import 'date-fns/startOfMonth';
13
- import '@alfalab/core-components-calendar/esm/shared';
14
- import '@alfalab/core-components-icon-button/esm';
15
- import '@alfalab/core-components-popover/esm';
16
- import '@alfalab/icons-glyph/CalendarMIcon';
17
- import './utils/format.js';
18
- import 'date-fns/parse';
19
- import './mobile/Component.mobile.js';
20
- import '@alfalab/core-components-calendar/esm/mobile';
21
- import '@alfalab/core-components-input/esm/mobile';
@@ -3,17 +3,6 @@ import React, { forwardRef } from 'react';
3
3
  import { CalendarMobile } from '@alfalab/core-components-calendar/esm/mobile';
4
4
  import { InputMobile } from '@alfalab/core-components-input/esm/mobile';
5
5
  import { DateRangeInput } from '../components/date-range-input/Component.js';
6
- import 'react-merge-refs';
7
- import 'classnames';
8
- import 'date-fns/isValid';
9
- import 'date-fns/startOfMonth';
10
- import '@alfalab/core-components-calendar/esm/shared';
11
- import '@alfalab/core-components-icon-button/esm';
12
- import '@alfalab/core-components-popover/esm';
13
- import '@alfalab/hooks';
14
- import '@alfalab/icons-glyph/CalendarMIcon';
15
- import '../utils/format.js';
16
- import 'date-fns/parse';
17
6
 
18
7
  /**
19
8
  * @deprecated
@@ -1,17 +1 @@
1
1
  export { DateRangeInputMobile } from './Component.mobile.js';
2
- import 'tslib';
3
- import 'react';
4
- import '@alfalab/core-components-calendar/esm/mobile';
5
- import '@alfalab/core-components-input/esm/mobile';
6
- import '../components/date-range-input/Component.js';
7
- import 'react-merge-refs';
8
- import 'classnames';
9
- import 'date-fns/isValid';
10
- import 'date-fns/startOfMonth';
11
- import '@alfalab/core-components-calendar/esm/shared';
12
- import '@alfalab/core-components-icon-button/esm';
13
- import '@alfalab/core-components-popover/esm';
14
- import '@alfalab/hooks';
15
- import '@alfalab/icons-glyph/CalendarMIcon';
16
- import '../utils/format.js';
17
- import 'date-fns/parse';
@@ -1,3 +1 @@
1
1
  export { DATE_FORMAT, DATE_MASK, format, isCompleteDateInput, isValid, parseDateString, parseTimestampToDate } from './format.js';
2
- import 'date-fns/isValid';
3
- import 'date-fns/parse';
package/index.js CHANGED
@@ -3,26 +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('@alfalab/core-components-input/desktop');
12
- require('./components/date-range-input/Component.js');
13
- require('react-merge-refs');
14
- require('classnames');
15
- require('date-fns/isValid');
16
- require('date-fns/startOfMonth');
17
- require('@alfalab/core-components-calendar/shared');
18
- require('@alfalab/core-components-icon-button');
19
- require('@alfalab/core-components-popover');
20
- require('@alfalab/icons-glyph/CalendarMIcon');
21
- require('./utils/format.js');
22
- require('date-fns/parse');
23
- require('./mobile/Component.mobile.js');
24
- require('@alfalab/core-components-calendar/mobile');
25
- require('@alfalab/core-components-input/mobile');
26
6
 
27
7
 
28
8
 
@@ -7,17 +7,6 @@ var React = require('react');
7
7
  var mobile$1 = require('@alfalab/core-components-calendar/mobile');
8
8
  var mobile = require('@alfalab/core-components-input/mobile');
9
9
  var components_dateRangeInput_Component = require('../components/date-range-input/Component.js');
10
- require('react-merge-refs');
11
- require('classnames');
12
- require('date-fns/isValid');
13
- require('date-fns/startOfMonth');
14
- require('@alfalab/core-components-calendar/shared');
15
- require('@alfalab/core-components-icon-button');
16
- require('@alfalab/core-components-popover');
17
- require('@alfalab/hooks');
18
- require('@alfalab/icons-glyph/CalendarMIcon');
19
- require('../utils/format.js');
20
- require('date-fns/parse');
21
10
 
22
11
  function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'default' in e ? e : { default: e }; }
23
12
 
package/mobile/index.js CHANGED
@@ -3,22 +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('@alfalab/core-components-input/mobile');
10
- require('../components/date-range-input/Component.js');
11
- require('react-merge-refs');
12
- require('classnames');
13
- require('date-fns/isValid');
14
- require('date-fns/startOfMonth');
15
- require('@alfalab/core-components-calendar/shared');
16
- require('@alfalab/core-components-icon-button');
17
- require('@alfalab/core-components-popover');
18
- require('@alfalab/hooks');
19
- require('@alfalab/icons-glyph/CalendarMIcon');
20
- require('../utils/format.js');
21
- require('date-fns/parse');
22
6
 
23
7
 
24
8
 
@@ -2,21 +2,6 @@ import React, { forwardRef } from 'react';
2
2
  import { useMedia } from '@alfalab/hooks';
3
3
  import { DateRangeInputDesktop } from './desktop/Component.desktop.js';
4
4
  import { DateRangeInputMobile } from './mobile/Component.mobile.js';
5
- import '@alfalab/core-components-calendar/modern/desktop';
6
- import '@alfalab/core-components-input/modern/desktop';
7
- import './components/date-range-input/Component.js';
8
- import 'react-merge-refs';
9
- import 'classnames';
10
- import 'date-fns/isValid';
11
- import 'date-fns/startOfMonth';
12
- import '@alfalab/core-components-calendar/modern/shared';
13
- import '@alfalab/core-components-icon-button/modern';
14
- import '@alfalab/core-components-popover/modern';
15
- import '@alfalab/icons-glyph/CalendarMIcon';
16
- import './utils/format.js';
17
- import 'date-fns/parse';
18
- import '@alfalab/core-components-calendar/modern/mobile';
19
- import '@alfalab/core-components-input/modern/mobile';
20
5
 
21
6
  /**
22
7
  * @deprecated
@@ -9,9 +9,8 @@ import { Popover } from '@alfalab/core-components-popover/modern';
9
9
  import { useDidUpdateEffect } from '@alfalab/hooks';
10
10
  import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
11
11
  import { parseTimestampToDate, DATE_FORMAT, format, parseDateString, DATE_MASK, isCompleteDateInput, isValid } from '../../utils/format.js';
12
- import 'date-fns/parse';
13
12
 
14
- const styles = {"component":"date-range-input__component_ztmpb","calendarContainer":"date-range-input__calendarContainer_ztmpb","calendarResponsive":"date-range-input__calendarResponsive_ztmpb","block":"date-range-input__block_ztmpb","calendarIcon":"date-range-input__calendarIcon_ztmpb"};
13
+ const styles = {"component":"date-range-input__component_1adkl","calendarContainer":"date-range-input__calendarContainer_1adkl","calendarResponsive":"date-range-input__calendarResponsive_1adkl","block":"date-range-input__block_1adkl","calendarIcon":"date-range-input__calendarIcon_1adkl"};
15
14
  require('./index.css')
16
15
 
17
16
  /* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
@@ -1,4 +1,4 @@
1
- /* hash: 1yhvy */
1
+ /* hash: 4a0a1 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb; /* 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,24 +41,24 @@
41
41
  /* marker */
42
42
  } :root {
43
43
  --calendar-popover-border-radius: var(--border-radius-m);
44
- } .date-range-input__component_ztmpb {
44
+ } .date-range-input__component_1adkl {
45
45
  display: inline-block;
46
46
  outline: none;
47
47
  position: relative;
48
- } .date-range-input__calendarContainer_ztmpb {
48
+ } .date-range-input__calendarContainer_1adkl {
49
49
  display: inline-block;
50
50
  box-sizing: border-box;
51
51
  border-radius: var(--calendar-popover-border-radius);
52
52
  border: 1px solid var(--color-light-neutral-300)
53
- } @media (max-width: 374px) { .date-range-input__calendarContainer_ztmpb {
53
+ } @media (max-width: 374px) { .date-range-input__calendarContainer_1adkl {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
- } .date-range-input__calendarResponsive_ztmpb {
57
+ } .date-range-input__calendarResponsive_1adkl {
58
58
  width: var(--calendar-width);
59
- } .date-range-input__block_ztmpb {
59
+ } .date-range-input__block_1adkl {
60
60
  width: 100%;
61
- } .date-range-input__calendarIcon_ztmpb {
61
+ } .date-range-input__calendarIcon_1adkl {
62
62
  margin-right: var(--gap-s-neg);
63
63
  height: 100%;
64
64
  }
@@ -1,13 +1 @@
1
1
  export { DateRangeInput } from './Component.js';
2
- import 'react';
3
- import 'react-merge-refs';
4
- import 'classnames';
5
- import 'date-fns/isValid';
6
- import 'date-fns/startOfMonth';
7
- import '@alfalab/core-components-calendar/modern/shared';
8
- import '@alfalab/core-components-icon-button/modern';
9
- import '@alfalab/core-components-popover/modern';
10
- import '@alfalab/hooks';
11
- import '@alfalab/icons-glyph/CalendarMIcon';
12
- import '../../utils/format.js';
13
- import 'date-fns/parse';
@@ -2,17 +2,6 @@ import React, { forwardRef } from 'react';
2
2
  import { CalendarDesktop } from '@alfalab/core-components-calendar/modern/desktop';
3
3
  import { InputDesktop } from '@alfalab/core-components-input/modern/desktop';
4
4
  import { DateRangeInput } from '../components/date-range-input/Component.js';
5
- import 'react-merge-refs';
6
- import 'classnames';
7
- import 'date-fns/isValid';
8
- import 'date-fns/startOfMonth';
9
- import '@alfalab/core-components-calendar/modern/shared';
10
- import '@alfalab/core-components-icon-button/modern';
11
- import '@alfalab/core-components-popover/modern';
12
- import '@alfalab/hooks';
13
- import '@alfalab/icons-glyph/CalendarMIcon';
14
- import '../utils/format.js';
15
- import 'date-fns/parse';
16
5
 
17
6
  /**
18
7
  * @deprecated
@@ -1,16 +1 @@
1
1
  export { DateRangeInputDesktop } from './Component.desktop.js';
2
- import 'react';
3
- import '@alfalab/core-components-calendar/modern/desktop';
4
- import '@alfalab/core-components-input/modern/desktop';
5
- import '../components/date-range-input/Component.js';
6
- import 'react-merge-refs';
7
- import 'classnames';
8
- import 'date-fns/isValid';
9
- import 'date-fns/startOfMonth';
10
- import '@alfalab/core-components-calendar/modern/shared';
11
- import '@alfalab/core-components-icon-button/modern';
12
- import '@alfalab/core-components-popover/modern';
13
- import '@alfalab/hooks';
14
- import '@alfalab/icons-glyph/CalendarMIcon';
15
- import '../utils/format.js';
16
- import 'date-fns/parse';
package/modern/index.js CHANGED
@@ -1,20 +1 @@
1
1
  export { DateRangeInputResponsive as DateRangeInput } 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 '@alfalab/core-components-input/modern/desktop';
7
- import './components/date-range-input/Component.js';
8
- import 'react-merge-refs';
9
- import 'classnames';
10
- import 'date-fns/isValid';
11
- import 'date-fns/startOfMonth';
12
- import '@alfalab/core-components-calendar/modern/shared';
13
- import '@alfalab/core-components-icon-button/modern';
14
- import '@alfalab/core-components-popover/modern';
15
- import '@alfalab/icons-glyph/CalendarMIcon';
16
- import './utils/format.js';
17
- import 'date-fns/parse';
18
- import './mobile/Component.mobile.js';
19
- import '@alfalab/core-components-calendar/modern/mobile';
20
- import '@alfalab/core-components-input/modern/mobile';
@@ -2,17 +2,6 @@ import React, { forwardRef } from 'react';
2
2
  import { CalendarMobile } from '@alfalab/core-components-calendar/modern/mobile';
3
3
  import { InputMobile } from '@alfalab/core-components-input/modern/mobile';
4
4
  import { DateRangeInput } from '../components/date-range-input/Component.js';
5
- import 'react-merge-refs';
6
- import 'classnames';
7
- import 'date-fns/isValid';
8
- import 'date-fns/startOfMonth';
9
- import '@alfalab/core-components-calendar/modern/shared';
10
- import '@alfalab/core-components-icon-button/modern';
11
- import '@alfalab/core-components-popover/modern';
12
- import '@alfalab/hooks';
13
- import '@alfalab/icons-glyph/CalendarMIcon';
14
- import '../utils/format.js';
15
- import 'date-fns/parse';
16
5
 
17
6
  /**
18
7
  * @deprecated
@@ -1,16 +1 @@
1
1
  export { DateRangeInputMobile } from './Component.mobile.js';
2
- import 'react';
3
- import '@alfalab/core-components-calendar/modern/mobile';
4
- import '@alfalab/core-components-input/modern/mobile';
5
- import '../components/date-range-input/Component.js';
6
- import 'react-merge-refs';
7
- import 'classnames';
8
- import 'date-fns/isValid';
9
- import 'date-fns/startOfMonth';
10
- import '@alfalab/core-components-calendar/modern/shared';
11
- import '@alfalab/core-components-icon-button/modern';
12
- import '@alfalab/core-components-popover/modern';
13
- import '@alfalab/hooks';
14
- import '@alfalab/icons-glyph/CalendarMIcon';
15
- import '../utils/format.js';
16
- import 'date-fns/parse';
@@ -1,3 +1 @@
1
1
  export { DATE_FORMAT, DATE_MASK, format, isCompleteDateInput, isValid, parseDateString, parseTimestampToDate } from './format.js';
2
- import 'date-fns/isValid';
3
- import 'date-fns/parse';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-date-range-input",
3
- "version": "3.3.1",
3
+ "version": "3.3.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,9 +15,9 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-input": "^14.1.1",
19
- "@alfalab/core-components-icon-button": "^6.5.1",
20
- "@alfalab/core-components-calendar": "^7.3.1",
18
+ "@alfalab/core-components-input": "^14.2.0",
19
+ "@alfalab/core-components-icon-button": "^6.5.2",
20
+ "@alfalab/core-components-calendar": "^7.3.2",
21
21
  "@alfalab/core-components-popover": "^6.2.1",
22
22
  "@alfalab/hooks": "^1.13.0",
23
23
  "@alfalab/icons-glyph": "^2.139.0",
package/utils/index.js CHANGED
@@ -3,8 +3,6 @@
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
5
  var utils_format = require('./format.js');
6
- require('date-fns/isValid');
7
- require('date-fns/parse');
8
6
 
9
7
 
10
8