@alfalab/core-components-calendar-range 5.1.3 → 5.1.4

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/dist/Component.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index_module = require('./index.module-a58eee14.js');
5
+ var index_module = require('./index.module-ba2473aa.js');
6
6
  var React = require('react');
7
7
  require('classnames');
8
8
  require('date-fns/startOfMonth');
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './index.module-15a85053.js';
1
+ import { _ as __rest, a as __assign } from './index.module-604e9109.js';
2
2
  import React from 'react';
3
3
  import 'classnames';
4
4
  import 'date-fns/startOfMonth';
package/dist/esm/index.js CHANGED
@@ -1,4 +1,4 @@
1
- import './index.module-15a85053.js';
1
+ import './index.module-604e9109.js';
2
2
  import 'react';
3
3
  import 'classnames';
4
4
  import 'date-fns/startOfMonth';
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var styles = {"component":"calendar-range__component_1ezn2","divider":"calendar-range__divider_1ezn2","static":"calendar-range__static_1ezn2","calendar":"calendar-range__calendar_1ezn2"};
40
+ var styles = {"component":"calendar-range__component_gtd73","divider":"calendar-range__divider_gtd73","static":"calendar-range__static_gtd73","calendar":"calendar-range__calendar_gtd73"};
41
41
  require('./views/index.css')
42
42
 
43
43
  export { __rest as _, __assign as a, styles as s };
@@ -1,4 +1,4 @@
1
- /* hash: bhpko */
1
+ /* hash: 1jhs5 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -34,19 +34,19 @@
34
34
 
35
35
  /* marker */
36
36
  }
37
- .calendar-range__component_1ezn2 {
37
+ .calendar-range__component_gtd73 {
38
38
  display: flex
39
39
  }
40
- .calendar-range__component_1ezn2 button[aria-selected='true'] {
40
+ .calendar-range__component_gtd73 button[aria-selected='true'] {
41
41
  cursor: pointer;
42
42
  }
43
- .calendar-range__component_1ezn2 *[class*='errorIcon_'] {
43
+ .calendar-range__component_gtd73 *[class*='errorIcon_'] {
44
44
  display: none;
45
45
  }
46
- .calendar-range__component_1ezn2 *[class*='calendarIcon_'] {
46
+ .calendar-range__component_gtd73 *[class*='calendarIcon_'] {
47
47
  margin-right: 0;
48
48
  }
49
- .calendar-range__divider_1ezn2 {
49
+ .calendar-range__divider_gtd73 {
50
50
  height: 48px;
51
51
  display: flex;
52
52
  align-items: center;
@@ -54,13 +54,13 @@
54
54
  width: 16px;
55
55
  margin: 0 var(--gap-xs)
56
56
  }
57
- .calendar-range__divider_1ezn2:after {
57
+ .calendar-range__divider_gtd73:after {
58
58
  content: '';
59
59
  display: block;
60
60
  width: 100%;
61
61
  height: 1px;
62
62
  background-color: var(--color-light-graphic-primary);
63
63
  }
64
- .calendar-range__static_1ezn2 .calendar-range__calendar_1ezn2 {
64
+ .calendar-range__static_gtd73 .calendar-range__calendar_gtd73 {
65
65
  width: var(--calendar-inner-width);
66
66
  }
@@ -1,4 +1,4 @@
1
- import { s as styles, a as __assign } from '../index.module-15a85053.js';
1
+ import { s as styles, a as __assign } from '../index.module-604e9109.js';
2
2
  import React, { useState, useCallback, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import startOfMonth from 'date-fns/startOfMonth';
@@ -1,4 +1,4 @@
1
- import { _ as __rest, s as styles, a as __assign } from '../index.module-15a85053.js';
1
+ import { _ as __rest, s as styles, a as __assign } from '../index.module-604e9109.js';
2
2
  import React, { useState, useCallback, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import startOfMonth from 'date-fns/startOfMonth';
package/dist/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- require('./index.module-a58eee14.js');
5
+ require('./index.module-ba2473aa.js');
6
6
  require('react');
7
7
  require('classnames');
8
8
  require('date-fns/startOfMonth');
@@ -39,7 +39,7 @@ function __rest(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- var styles = {"component":"calendar-range__component_1ezn2","divider":"calendar-range__divider_1ezn2","static":"calendar-range__static_1ezn2","calendar":"calendar-range__calendar_1ezn2"};
42
+ var styles = {"component":"calendar-range__component_gtd73","divider":"calendar-range__divider_gtd73","static":"calendar-range__static_gtd73","calendar":"calendar-range__calendar_gtd73"};
43
43
  require('./views/index.css')
44
44
 
45
45
  exports.__rest = __rest;
@@ -9,7 +9,7 @@ import 'date-fns/max';
9
9
  import 'date-fns/min';
10
10
  import 'date-fns/isEqual';
11
11
  import './hooks.js';
12
- import './index.module-414efa06.js';
12
+ import './index.module-4120bd67.js';
13
13
  import { CalendarRangePopover } from './views/popover.js';
14
14
  import 'date-fns/endOfMonth';
15
15
  import '@alfalab/core-components-calendar/dist/modern';
@@ -9,7 +9,7 @@ import 'date-fns/max';
9
9
  import 'date-fns/min';
10
10
  import 'date-fns/isEqual';
11
11
  import './hooks.js';
12
- import './index.module-414efa06.js';
12
+ import './index.module-4120bd67.js';
13
13
  import './views/popover.js';
14
14
  import 'date-fns/endOfMonth';
15
15
  import '@alfalab/core-components-calendar/dist/modern';
@@ -0,0 +1,4 @@
1
+ var styles = {"component":"calendar-range__component_gtd73","divider":"calendar-range__divider_gtd73","static":"calendar-range__static_gtd73","calendar":"calendar-range__calendar_gtd73"};
2
+ require('./views/index.css')
3
+
4
+ export { styles as s };
@@ -1,4 +1,4 @@
1
- /* hash: bhpko */
1
+ /* hash: 1jhs5 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -34,19 +34,19 @@
34
34
 
35
35
  /* marker */
36
36
  }
37
- .calendar-range__component_1ezn2 {
37
+ .calendar-range__component_gtd73 {
38
38
  display: flex
39
39
  }
40
- .calendar-range__component_1ezn2 button[aria-selected='true'] {
40
+ .calendar-range__component_gtd73 button[aria-selected='true'] {
41
41
  cursor: pointer;
42
42
  }
43
- .calendar-range__component_1ezn2 *[class*='errorIcon_'] {
43
+ .calendar-range__component_gtd73 *[class*='errorIcon_'] {
44
44
  display: none;
45
45
  }
46
- .calendar-range__component_1ezn2 *[class*='calendarIcon_'] {
46
+ .calendar-range__component_gtd73 *[class*='calendarIcon_'] {
47
47
  margin-right: 0;
48
48
  }
49
- .calendar-range__divider_1ezn2 {
49
+ .calendar-range__divider_gtd73 {
50
50
  height: 48px;
51
51
  display: flex;
52
52
  align-items: center;
@@ -54,13 +54,13 @@
54
54
  width: 16px;
55
55
  margin: 0 var(--gap-xs)
56
56
  }
57
- .calendar-range__divider_1ezn2:after {
57
+ .calendar-range__divider_gtd73:after {
58
58
  content: '';
59
59
  display: block;
60
60
  width: 100%;
61
61
  height: 1px;
62
62
  background-color: var(--color-light-graphic-primary);
63
63
  }
64
- .calendar-range__static_1ezn2 .calendar-range__calendar_1ezn2 {
64
+ .calendar-range__static_gtd73 .calendar-range__calendar_gtd73 {
65
65
  width: var(--calendar-inner-width);
66
66
  }
@@ -9,7 +9,7 @@ import 'date-fns/max';
9
9
  import 'date-fns/min';
10
10
  import 'date-fns/isEqual';
11
11
  import { usePopoverViewMonthes } from '../hooks.js';
12
- import { s as styles } from '../index.module-414efa06.js';
12
+ import { s as styles } from '../index.module-4120bd67.js';
13
13
 
14
14
  const CalendarRangePopover = ({ className, defaultMonth = startOfMonth(new Date()).getTime(), minDate, maxDate, valueFrom = '', valueTo = '', onDateFromChange = () => null, onDateToChange = () => null, onChange = () => null, inputFromProps = {}, inputToProps = {}, offDays, events, dataTestId, }) => {
15
15
  const [inputFromValue, setInputFromValue] = useState(valueFrom);
@@ -9,7 +9,7 @@ import max from 'date-fns/max';
9
9
  import 'date-fns/min';
10
10
  import 'date-fns/isEqual';
11
11
  import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
12
- import { s as styles } from '../index.module-414efa06.js';
12
+ import { s as styles } from '../index.module-4120bd67.js';
13
13
  import endOfMonth from 'date-fns/endOfMonth';
14
14
  import { usePeriodWithReset, Calendar } from '@alfalab/core-components-calendar/dist/modern';
15
15
  import { isDayButton } from '../utils.js';
@@ -1,4 +1,4 @@
1
- /* hash: bhpko */
1
+ /* hash: 1jhs5 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -34,19 +34,19 @@
34
34
 
35
35
  /* marker */
36
36
  }
37
- .calendar-range__component_1ezn2 {
37
+ .calendar-range__component_gtd73 {
38
38
  display: flex
39
39
  }
40
- .calendar-range__component_1ezn2 button[aria-selected='true'] {
40
+ .calendar-range__component_gtd73 button[aria-selected='true'] {
41
41
  cursor: pointer;
42
42
  }
43
- .calendar-range__component_1ezn2 *[class*='errorIcon_'] {
43
+ .calendar-range__component_gtd73 *[class*='errorIcon_'] {
44
44
  display: none;
45
45
  }
46
- .calendar-range__component_1ezn2 *[class*='calendarIcon_'] {
46
+ .calendar-range__component_gtd73 *[class*='calendarIcon_'] {
47
47
  margin-right: 0;
48
48
  }
49
- .calendar-range__divider_1ezn2 {
49
+ .calendar-range__divider_gtd73 {
50
50
  height: 48px;
51
51
  display: flex;
52
52
  align-items: center;
@@ -54,13 +54,13 @@
54
54
  width: 16px;
55
55
  margin: 0 var(--gap-xs)
56
56
  }
57
- .calendar-range__divider_1ezn2:after {
57
+ .calendar-range__divider_gtd73:after {
58
58
  content: '';
59
59
  display: block;
60
60
  width: 100%;
61
61
  height: 1px;
62
62
  background-color: var(--color-light-graphic-primary);
63
63
  }
64
- .calendar-range__static_1ezn2 .calendar-range__calendar_1ezn2 {
64
+ .calendar-range__static_gtd73 .calendar-range__calendar_gtd73 {
65
65
  width: var(--calendar-inner-width);
66
66
  }
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index_module = require('../index.module-a58eee14.js');
5
+ var index_module = require('../index.module-ba2473aa.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var startOfMonth = require('date-fns/startOfMonth');
@@ -2,7 +2,7 @@
2
2
 
3
3
  Object.defineProperty(exports, '__esModule', { value: true });
4
4
 
5
- var index_module = require('../index.module-a58eee14.js');
5
+ var index_module = require('../index.module-ba2473aa.js');
6
6
  var React = require('react');
7
7
  var cn = require('classnames');
8
8
  var startOfMonth = require('date-fns/startOfMonth');
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-range",
3
- "version": "5.1.3",
3
+ "version": "5.1.4",
4
4
  "description": "Calendar range component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -19,11 +19,11 @@
19
19
  "react-dom": "^16.9.0 || ^17.0.1"
20
20
  },
21
21
  "dependencies": {
22
- "@alfalab/core-components-calendar": "^5.2.0",
23
- "@alfalab/core-components-calendar-input": "^6.1.2",
24
- "@alfalab/core-components-date-input": "^2.1.0",
25
- "classnames": "^2.2.6",
26
- "date-fns": "^2.16.1"
22
+ "@alfalab/core-components-calendar": "^5.2.1",
23
+ "@alfalab/core-components-calendar-input": "^6.1.3",
24
+ "@alfalab/core-components-date-input": "^2.1.1",
25
+ "classnames": "2.2.6",
26
+ "date-fns": "2.16.1"
27
27
  },
28
- "gitHead": "c0dcdbba11224404e19bdfd1ce2037f7e2bc2104"
28
+ "gitHead": "0363f194b7d8e6d2949795b8f0570262d7028aff"
29
29
  }
@@ -1,4 +0,0 @@
1
- var styles = {"component":"calendar-range__component_1ezn2","divider":"calendar-range__divider_1ezn2","static":"calendar-range__static_1ezn2","calendar":"calendar-range__calendar_1ezn2"};
2
- require('./views/index.css')
3
-
4
- export { styles as s };