@alfalab/core-components-calendar-range 7.0.8 → 7.0.9

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_module = require('./index.module-255b4286.js');
3
+ var index_module = require('./index.module-6719a1a2.js');
4
4
  var React = require('react');
5
5
  var views_popover = require('./views/popover.js');
6
6
  var views_static = require('./views/static.js');
@@ -8,7 +8,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
8
8
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
9
9
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
10
10
 
11
- var styles = {"component":"calendar-range__component_1tbg6","outer":"calendar-range__outer_1tbg6","s":"calendar-range__s_1tbg6","m":"calendar-range__m_1tbg6","l":"calendar-range__l_1tbg6","xl":"calendar-range__xl_1tbg6"};
11
+ var styles = {"component":"calendar-range__component_1aiuv","outer":"calendar-range__outer_1aiuv","s":"calendar-range__s_1aiuv","m":"calendar-range__m_1aiuv","l":"calendar-range__l_1aiuv","xl":"calendar-range__xl_1aiuv"};
12
12
  require('./index.css')
13
13
 
14
14
  var Divider = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1udsd */
1
+ /* hash: ilxr4 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -41,35 +41,35 @@
41
41
 
42
42
  /* marker */
43
43
  }
44
- .calendar-range__component_1tbg6 {
44
+ .calendar-range__component_1aiuv {
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
50
  }
51
- .calendar-range__component_1tbg6:after {
51
+ .calendar-range__component_1aiuv:after {
52
52
  content: '';
53
53
  display: block;
54
54
  width: 100%;
55
55
  height: 1px;
56
56
  background-color: var(--color-light-graphic-primary);
57
57
  }
58
- .calendar-range__outer_1tbg6 {
58
+ .calendar-range__outer_1aiuv {
59
59
  position: relative;
60
60
 
61
61
  /* FormControl .above height + margin-bottom */
62
62
  top: 24px;
63
63
  }
64
- .calendar-range__s_1tbg6 {
64
+ .calendar-range__s_1aiuv {
65
65
  height: var(--size-s-height);
66
66
  }
67
- .calendar-range__m_1tbg6 {
67
+ .calendar-range__m_1aiuv {
68
68
  height: var(--size-m-height);
69
69
  }
70
- .calendar-range__l_1tbg6 {
70
+ .calendar-range__l_1aiuv {
71
71
  height: var(--size-l-height);
72
72
  }
73
- .calendar-range__xl_1tbg6 {
73
+ .calendar-range__xl_1aiuv {
74
74
  height: var(--size-xl-height);
75
75
  }
package/esm/Component.js CHANGED
@@ -1,4 +1,4 @@
1
- import { _ as __rest, a as __assign } from './index.module-1aaed941.js';
1
+ import { _ as __rest, a as __assign } from './index.module-2ca4a4ca.js';
2
2
  import React from 'react';
3
3
  import { CalendarRangePopover } from './views/popover.js';
4
4
  import { CalendarRangeStatic } from './views/static.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- var styles = {"component":"calendar-range__component_1tbg6","outer":"calendar-range__outer_1tbg6","s":"calendar-range__s_1tbg6","m":"calendar-range__m_1tbg6","l":"calendar-range__l_1tbg6","xl":"calendar-range__xl_1tbg6"};
4
+ var styles = {"component":"calendar-range__component_1aiuv","outer":"calendar-range__outer_1aiuv","s":"calendar-range__s_1aiuv","m":"calendar-range__m_1aiuv","l":"calendar-range__l_1aiuv","xl":"calendar-range__xl_1aiuv"};
5
5
  require('./index.css')
6
6
 
7
7
  var Divider = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1udsd */
1
+ /* hash: ilxr4 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -41,35 +41,35 @@
41
41
 
42
42
  /* marker */
43
43
  }
44
- .calendar-range__component_1tbg6 {
44
+ .calendar-range__component_1aiuv {
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
50
  }
51
- .calendar-range__component_1tbg6:after {
51
+ .calendar-range__component_1aiuv:after {
52
52
  content: '';
53
53
  display: block;
54
54
  width: 100%;
55
55
  height: 1px;
56
56
  background-color: var(--color-light-graphic-primary);
57
57
  }
58
- .calendar-range__outer_1tbg6 {
58
+ .calendar-range__outer_1aiuv {
59
59
  position: relative;
60
60
 
61
61
  /* FormControl .above height + margin-bottom */
62
62
  top: 24px;
63
63
  }
64
- .calendar-range__s_1tbg6 {
64
+ .calendar-range__s_1aiuv {
65
65
  height: var(--size-s-height);
66
66
  }
67
- .calendar-range__m_1tbg6 {
67
+ .calendar-range__m_1aiuv {
68
68
  height: var(--size-m-height);
69
69
  }
70
- .calendar-range__l_1tbg6 {
70
+ .calendar-range__l_1aiuv {
71
71
  height: var(--size-l-height);
72
72
  }
73
- .calendar-range__xl_1tbg6 {
73
+ .calendar-range__xl_1aiuv {
74
74
  height: var(--size-xl-height);
75
75
  }
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CalendarRange } from './Component.js';
2
- import './index.module-1aaed941.js';
2
+ import './index.module-2ca4a4ca.js';
3
3
  import 'react';
4
4
  import './views/popover.js';
5
5
  import 'classnames';
@@ -37,7 +37,7 @@ function __rest(s, e) {
37
37
  return t;
38
38
  }
39
39
 
40
- var styles = {"component":"calendar-range__component_1ci3b","static":"calendar-range__static_1ci3b","calendar":"calendar-range__calendar_1ci3b"};
40
+ var styles = {"component":"calendar-range__component_tpi0s","static":"calendar-range__static_tpi0s","calendar":"calendar-range__calendar_tpi0s"};
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: 1y02j */
1
+ /* hash: 1axne */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,18 +30,18 @@
30
30
 
31
31
  /* marker */
32
32
  }
33
- .calendar-range__component_1ci3b {
33
+ .calendar-range__component_tpi0s {
34
34
  display: flex
35
35
  }
36
- .calendar-range__component_1ci3b button[aria-selected='true'] {
36
+ .calendar-range__component_tpi0s button[aria-selected='true'] {
37
37
  cursor: pointer;
38
38
  }
39
- .calendar-range__component_1ci3b *[class*='errorIcon_'] {
39
+ .calendar-range__component_tpi0s *[class*='errorIcon_'] {
40
40
  display: none;
41
41
  }
42
- .calendar-range__component_1ci3b *[class*='calendarIcon_'] {
42
+ .calendar-range__component_tpi0s *[class*='calendarIcon_'] {
43
43
  margin-right: 0;
44
44
  }
45
- .calendar-range__static_1ci3b .calendar-range__calendar_1ci3b {
45
+ .calendar-range__static_tpi0s .calendar-range__calendar_tpi0s {
46
46
  width: var(--calendar-inner-width);
47
47
  }
@@ -1,4 +1,4 @@
1
- import { s as styles, a as __assign } from '../index.module-1aaed941.js';
1
+ import { s as styles, a as __assign } from '../index.module-2ca4a4ca.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-1aaed941.js';
1
+ import { _ as __rest, s as styles, a as __assign } from '../index.module-2ca4a4ca.js';
2
2
  import React, { useState, useCallback, useEffect } from 'react';
3
3
  import cn from 'classnames';
4
4
  import addMonths from 'date-fns/addMonths';
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component = require('./Component.js');
4
- require('./index.module-255b4286.js');
4
+ require('./index.module-6719a1a2.js');
5
5
  require('react');
6
6
  require('./views/popover.js');
7
7
  require('classnames');
@@ -39,7 +39,7 @@ function __rest(s, e) {
39
39
  return t;
40
40
  }
41
41
 
42
- var styles = {"component":"calendar-range__component_1ci3b","static":"calendar-range__static_1ci3b","calendar":"calendar-range__calendar_1ci3b"};
42
+ var styles = {"component":"calendar-range__component_tpi0s","static":"calendar-range__static_tpi0s","calendar":"calendar-range__calendar_tpi0s"};
43
43
  require('./views/index.css')
44
44
 
45
45
  exports.__rest = __rest;
@@ -12,7 +12,7 @@ import 'date-fns/isEqual';
12
12
  import 'date-fns/max';
13
13
  import 'date-fns/min';
14
14
  import 'date-fns/subMonths';
15
- import './index.module-491eb220.js';
15
+ import './index.module-7365bf1a.js';
16
16
  import 'date-fns/endOfMonth';
17
17
  import '@alfalab/core-components-calendar/modern';
18
18
  import './utils.js';
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  import cn from 'classnames';
3
3
 
4
- const styles = {"component":"calendar-range__component_1tbg6","outer":"calendar-range__outer_1tbg6","s":"calendar-range__s_1tbg6","m":"calendar-range__m_1tbg6","l":"calendar-range__l_1tbg6","xl":"calendar-range__xl_1tbg6"};
4
+ const styles = {"component":"calendar-range__component_1aiuv","outer":"calendar-range__outer_1aiuv","s":"calendar-range__s_1aiuv","m":"calendar-range__m_1aiuv","l":"calendar-range__l_1aiuv","xl":"calendar-range__xl_1aiuv"};
5
5
  require('./index.css')
6
6
 
7
7
  const Divider = ({ inputFromProps, inputToProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1udsd */
1
+ /* hash: ilxr4 */
2
2
  :root {
3
3
  --color-light-graphic-primary: #0b1f35;
4
4
  }
@@ -41,35 +41,35 @@
41
41
 
42
42
  /* marker */
43
43
  }
44
- .calendar-range__component_1tbg6 {
44
+ .calendar-range__component_1aiuv {
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
50
  }
51
- .calendar-range__component_1tbg6:after {
51
+ .calendar-range__component_1aiuv:after {
52
52
  content: '';
53
53
  display: block;
54
54
  width: 100%;
55
55
  height: 1px;
56
56
  background-color: var(--color-light-graphic-primary);
57
57
  }
58
- .calendar-range__outer_1tbg6 {
58
+ .calendar-range__outer_1aiuv {
59
59
  position: relative;
60
60
 
61
61
  /* FormControl .above height + margin-bottom */
62
62
  top: 24px;
63
63
  }
64
- .calendar-range__s_1tbg6 {
64
+ .calendar-range__s_1aiuv {
65
65
  height: var(--size-s-height);
66
66
  }
67
- .calendar-range__m_1tbg6 {
67
+ .calendar-range__m_1aiuv {
68
68
  height: var(--size-m-height);
69
69
  }
70
- .calendar-range__l_1tbg6 {
70
+ .calendar-range__l_1aiuv {
71
71
  height: var(--size-l-height);
72
72
  }
73
- .calendar-range__xl_1tbg6 {
73
+ .calendar-range__xl_1aiuv {
74
74
  height: var(--size-xl-height);
75
75
  }
package/modern/index.js CHANGED
@@ -12,7 +12,7 @@ import 'date-fns/isEqual';
12
12
  import 'date-fns/max';
13
13
  import 'date-fns/min';
14
14
  import 'date-fns/subMonths';
15
- import './index.module-491eb220.js';
15
+ import './index.module-7365bf1a.js';
16
16
  import './views/static.js';
17
17
  import 'date-fns/endOfMonth';
18
18
  import '@alfalab/core-components-calendar/modern';
@@ -0,0 +1,4 @@
1
+ const styles = {"component":"calendar-range__component_tpi0s","static":"calendar-range__static_tpi0s","calendar":"calendar-range__calendar_tpi0s"};
2
+ require('./views/index.css')
3
+
4
+ export { styles as s };
@@ -1,4 +1,4 @@
1
- /* hash: 1y02j */
1
+ /* hash: 1axne */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,18 +30,18 @@
30
30
 
31
31
  /* marker */
32
32
  }
33
- .calendar-range__component_1ci3b {
33
+ .calendar-range__component_tpi0s {
34
34
  display: flex
35
35
  }
36
- .calendar-range__component_1ci3b button[aria-selected='true'] {
36
+ .calendar-range__component_tpi0s button[aria-selected='true'] {
37
37
  cursor: pointer;
38
38
  }
39
- .calendar-range__component_1ci3b *[class*='errorIcon_'] {
39
+ .calendar-range__component_tpi0s *[class*='errorIcon_'] {
40
40
  display: none;
41
41
  }
42
- .calendar-range__component_1ci3b *[class*='calendarIcon_'] {
42
+ .calendar-range__component_tpi0s *[class*='calendarIcon_'] {
43
43
  margin-right: 0;
44
44
  }
45
- .calendar-range__static_1ci3b .calendar-range__calendar_1ci3b {
45
+ .calendar-range__static_tpi0s .calendar-range__calendar_tpi0s {
46
46
  width: var(--calendar-inner-width);
47
47
  }
@@ -5,7 +5,7 @@ import { isValidInputValue, parseDateString, CalendarInput } from '@alfalab/core
5
5
  import { isCompleteDateInput } from '@alfalab/core-components-date-input/modern';
6
6
  import { Divider } from '../components/divider/Component.js';
7
7
  import { usePopoverViewMonthes } from '../hooks.js';
8
- import { s as styles } from '../index.module-491eb220.js';
8
+ import { s as styles } from '../index.module-7365bf1a.js';
9
9
  import 'date-fns/addMonths';
10
10
  import 'date-fns/isEqual';
11
11
  import 'date-fns/max';
@@ -11,7 +11,7 @@ import { isCompleteDateInput, DateInput } from '@alfalab/core-components-date-in
11
11
  import { Divider } from '../components/divider/Component.js';
12
12
  import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
13
13
  import { isDayButton } from '../utils.js';
14
- import { s as styles } from '../index.module-491eb220.js';
14
+ import { s as styles } from '../index.module-7365bf1a.js';
15
15
  import 'date-fns/isEqual';
16
16
  import 'date-fns/min';
17
17
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-range",
3
- "version": "7.0.8",
3
+ "version": "7.0.9",
4
4
  "description": "Calendar range component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,9 +18,9 @@
18
18
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@alfalab/core-components-calendar": "^6.2.1",
22
- "@alfalab/core-components-calendar-input": "^8.2.1",
23
- "@alfalab/core-components-date-input": "^4.1.2",
21
+ "@alfalab/core-components-calendar": "^6.2.2",
22
+ "@alfalab/core-components-calendar-input": "^8.2.2",
23
+ "@alfalab/core-components-date-input": "^4.1.3",
24
24
  "classnames": "^2.3.1",
25
25
  "date-fns": "^2.16.1"
26
26
  }
package/views/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1y02j */
1
+ /* hash: 1axne */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -30,18 +30,18 @@
30
30
 
31
31
  /* marker */
32
32
  }
33
- .calendar-range__component_1ci3b {
33
+ .calendar-range__component_tpi0s {
34
34
  display: flex
35
35
  }
36
- .calendar-range__component_1ci3b button[aria-selected='true'] {
36
+ .calendar-range__component_tpi0s button[aria-selected='true'] {
37
37
  cursor: pointer;
38
38
  }
39
- .calendar-range__component_1ci3b *[class*='errorIcon_'] {
39
+ .calendar-range__component_tpi0s *[class*='errorIcon_'] {
40
40
  display: none;
41
41
  }
42
- .calendar-range__component_1ci3b *[class*='calendarIcon_'] {
42
+ .calendar-range__component_tpi0s *[class*='calendarIcon_'] {
43
43
  margin-right: 0;
44
44
  }
45
- .calendar-range__static_1ci3b .calendar-range__calendar_1ci3b {
45
+ .calendar-range__static_tpi0s .calendar-range__calendar_tpi0s {
46
46
  width: var(--calendar-inner-width);
47
47
  }
package/views/popover.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_module = require('../index.module-255b4286.js');
3
+ var index_module = require('../index.module-6719a1a2.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var startOfMonth = require('date-fns/startOfMonth');
package/views/static.js CHANGED
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var index_module = require('../index.module-255b4286.js');
3
+ var index_module = require('../index.module-6719a1a2.js');
4
4
  var React = require('react');
5
5
  var cn = require('classnames');
6
6
  var addMonths = require('date-fns/addMonths');
@@ -1,4 +0,0 @@
1
- const styles = {"component":"calendar-range__component_1ci3b","static":"calendar-range__static_1ci3b","calendar":"calendar-range__calendar_1ci3b"};
2
- require('./views/index.css')
3
-
4
- export { styles as s };