@alfalab/core-components-calendar-range 7.2.0 → 7.2.1

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 (48) hide show
  1. package/{esm/Component.desktop-8c6198cc.d.ts → Component.desktop-e2b6c730.d.ts} +1 -1
  2. package/Component.js +1 -1
  3. package/components/divider/Component.js +1 -1
  4. package/components/divider/index.css +8 -8
  5. package/{Component.desktop-8c6198cc.d.ts → cssm/Component.desktop-e2b6c730.d.ts} +1 -1
  6. package/cssm/index-f034f741.d.ts +1 -1
  7. package/cssm/shared-848397c5.d.ts +1 -1
  8. package/{modern/Component.desktop-8c6198cc.d.ts → esm/Component.desktop-e2b6c730.d.ts} +1 -1
  9. package/esm/Component.js +1 -1
  10. package/esm/components/divider/Component.js +1 -1
  11. package/esm/components/divider/index.css +8 -8
  12. package/esm/index-f034f741.d.ts +1 -1
  13. package/esm/index.js +1 -1
  14. package/esm/index.module-46b1abbe.js +4 -0
  15. package/esm/shared-848397c5.d.ts +1 -1
  16. package/esm/views/index.css +7 -7
  17. package/esm/views/popover.js +1 -1
  18. package/esm/views/static.js +1 -1
  19. package/index-f034f741.d.ts +1 -1
  20. package/index.js +1 -1
  21. package/index.module-2681dffc.js +6 -0
  22. package/{cssm/Component.desktop-8c6198cc.d.ts → modern/Component.desktop-e2b6c730.d.ts} +1 -1
  23. package/modern/Component.js +1 -1
  24. package/modern/components/divider/Component.js +1 -1
  25. package/modern/components/divider/index.css +8 -8
  26. package/modern/index-f034f741.d.ts +1 -1
  27. package/modern/index.js +1 -1
  28. package/modern/index.module-95129248.js +4 -0
  29. package/modern/shared-848397c5.d.ts +1 -1
  30. package/modern/views/index.css +7 -7
  31. package/modern/views/popover.js +1 -1
  32. package/modern/views/static.js +1 -1
  33. package/package.json +4 -4
  34. package/shared-848397c5.d.ts +1 -1
  35. package/views/index.css +7 -7
  36. package/views/popover.js +1 -1
  37. package/views/static.js +1 -1
  38. package/esm/index.module-a7e95baa.js +0 -4
  39. package/index.module-41e6ec4a.js +0 -6
  40. package/modern/index.module-f2d65966.js +0 -4
  41. /package/{Component-8c6198cc.d.ts → Component-e2b6c730.d.ts} +0 -0
  42. /package/cssm/{Component-8c6198cc.d.ts → Component-e2b6c730.d.ts} +0 -0
  43. /package/cssm/{utils-8c6198cc.d.ts → utils-e2b6c730.d.ts} +0 -0
  44. /package/esm/{Component-8c6198cc.d.ts → Component-e2b6c730.d.ts} +0 -0
  45. /package/esm/{utils-8c6198cc.d.ts → utils-e2b6c730.d.ts} +0 -0
  46. /package/modern/{Component-8c6198cc.d.ts → Component-e2b6c730.d.ts} +0 -0
  47. /package/modern/{utils-8c6198cc.d.ts → utils-e2b6c730.d.ts} +0 -0
  48. /package/{utils-8c6198cc.d.ts → utils-e2b6c730.d.ts} +0 -0
@@ -129,6 +129,6 @@ type CalendarDesktopProps = {
129
129
  showCurrentYearSelector?: boolean;
130
130
  };
131
131
  declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
132
- export * from "./Component-8c6198cc";
132
+ export * from "./Component-e2b6c730";
133
133
  export * from "./Component-5684a67d";
134
134
  export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
package/Component.js CHANGED
@@ -19,7 +19,7 @@ require('date-fns/isEqual');
19
19
  require('date-fns/max');
20
20
  require('date-fns/min');
21
21
  require('date-fns/subMonths');
22
- require('./index.module-41e6ec4a.js');
22
+ require('./index.module-2681dffc.js');
23
23
  require('date-fns/endOfMonth');
24
24
  require('date-fns/isSameMonth');
25
25
  require('@alfalab/core-components-calendar/desktop');
@@ -10,7 +10,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
10
10
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
11
11
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
12
12
 
13
- var styles = {"component":"calendar-range__component_1knti","outer":"calendar-range__outer_1knti","s":"calendar-range__s_1knti","m":"calendar-range__m_1knti","l":"calendar-range__l_1knti","xl":"calendar-range__xl_1knti"};
13
+ var styles = {"component":"calendar-range__component_1pil0","outer":"calendar-range__outer_1pil0","s":"calendar-range__s_1pil0","m":"calendar-range__m_1pil0","l":"calendar-range__l_1pil0","xl":"calendar-range__xl_1pil0"};
14
14
  require('./index.css')
15
15
 
16
16
  var Divider = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1d2ab */
1
+ /* hash: phr0r */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -41,29 +41,29 @@
41
41
  /* disabled */
42
42
 
43
43
  /* marker */
44
- } .calendar-range__component_1knti {
44
+ } .calendar-range__component_1pil0 {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  justify-content: center;
48
48
  width: 16px;
49
49
  margin: 0 var(--gap-xs)
50
- } .calendar-range__component_1knti:after {
50
+ } .calendar-range__component_1pil0:after {
51
51
  content: '';
52
52
  display: block;
53
53
  width: 100%;
54
54
  height: 1px;
55
55
  background-color: var(--color-light-graphic-primary);
56
- } .calendar-range__outer_1knti {
56
+ } .calendar-range__outer_1pil0 {
57
57
  position: relative;
58
58
 
59
59
  /* FormControl .above height + margin-bottom */
60
60
  top: 24px;
61
- } .calendar-range__s_1knti {
61
+ } .calendar-range__s_1pil0 {
62
62
  height: var(--size-s-height);
63
- } .calendar-range__m_1knti {
63
+ } .calendar-range__m_1pil0 {
64
64
  height: var(--size-m-height);
65
- } .calendar-range__l_1knti {
65
+ } .calendar-range__l_1pil0 {
66
66
  height: var(--size-l-height);
67
- } .calendar-range__xl_1knti {
67
+ } .calendar-range__xl_1pil0 {
68
68
  height: var(--size-xl-height);
69
69
  }
@@ -129,6 +129,6 @@ type CalendarDesktopProps = {
129
129
  showCurrentYearSelector?: boolean;
130
130
  };
131
131
  declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
132
- export * from "./Component-8c6198cc";
132
+ export * from "./Component-e2b6c730";
133
133
  export * from "./Component-5684a67d";
134
134
  export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
@@ -1,2 +1,2 @@
1
- export * from "./Component-8c6198cc";
1
+ export * from "./Component-e2b6c730";
2
2
  export { shiftValues } from "./utils-e0a54580";
@@ -30,6 +30,6 @@ declare function usePeriodWithReset({ onPeriodChange, initialSelectedFrom, initi
30
30
  updatePeriod: (date?: number) => void;
31
31
  };
32
32
  export { usePeriod, usePeriodWithReset };
33
- export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-8c6198cc";
33
+ export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-e2b6c730";
34
34
  export { useCalendar } from "./useCalendar-71d94e2b";
35
35
  export * from "./index-f034f741";
@@ -129,6 +129,6 @@ type CalendarDesktopProps = {
129
129
  showCurrentYearSelector?: boolean;
130
130
  };
131
131
  declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
132
- export * from "./Component-8c6198cc";
132
+ export * from "./Component-e2b6c730";
133
133
  export * from "./Component-5684a67d";
134
134
  export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
package/esm/Component.js CHANGED
@@ -15,7 +15,7 @@ import 'date-fns/isEqual';
15
15
  import 'date-fns/max';
16
16
  import 'date-fns/min';
17
17
  import 'date-fns/subMonths';
18
- import './index.module-a7e95baa.js';
18
+ import './index.module-46b1abbe.js';
19
19
  import 'date-fns/endOfMonth';
20
20
  import 'date-fns/isSameMonth';
21
21
  import '@alfalab/core-components-calendar/esm/desktop';
@@ -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_1knti","outer":"calendar-range__outer_1knti","s":"calendar-range__s_1knti","m":"calendar-range__m_1knti","l":"calendar-range__l_1knti","xl":"calendar-range__xl_1knti"};
4
+ var styles = {"component":"calendar-range__component_1pil0","outer":"calendar-range__outer_1pil0","s":"calendar-range__s_1pil0","m":"calendar-range__m_1pil0","l":"calendar-range__l_1pil0","xl":"calendar-range__xl_1pil0"};
5
5
  require('./index.css')
6
6
 
7
7
  var Divider = function (_a) {
@@ -1,4 +1,4 @@
1
- /* hash: 1d2ab */
1
+ /* hash: phr0r */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -41,29 +41,29 @@
41
41
  /* disabled */
42
42
 
43
43
  /* marker */
44
- } .calendar-range__component_1knti {
44
+ } .calendar-range__component_1pil0 {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  justify-content: center;
48
48
  width: 16px;
49
49
  margin: 0 var(--gap-xs)
50
- } .calendar-range__component_1knti:after {
50
+ } .calendar-range__component_1pil0:after {
51
51
  content: '';
52
52
  display: block;
53
53
  width: 100%;
54
54
  height: 1px;
55
55
  background-color: var(--color-light-graphic-primary);
56
- } .calendar-range__outer_1knti {
56
+ } .calendar-range__outer_1pil0 {
57
57
  position: relative;
58
58
 
59
59
  /* FormControl .above height + margin-bottom */
60
60
  top: 24px;
61
- } .calendar-range__s_1knti {
61
+ } .calendar-range__s_1pil0 {
62
62
  height: var(--size-s-height);
63
- } .calendar-range__m_1knti {
63
+ } .calendar-range__m_1pil0 {
64
64
  height: var(--size-m-height);
65
- } .calendar-range__l_1knti {
65
+ } .calendar-range__l_1pil0 {
66
66
  height: var(--size-l-height);
67
- } .calendar-range__xl_1knti {
67
+ } .calendar-range__xl_1pil0 {
68
68
  height: var(--size-xl-height);
69
69
  }
@@ -1,2 +1,2 @@
1
- export * from "./Component-8c6198cc";
1
+ export * from "./Component-e2b6c730";
2
2
  export { shiftValues } from "./utils-e0a54580";
package/esm/index.js CHANGED
@@ -15,7 +15,7 @@ import 'date-fns/isEqual';
15
15
  import 'date-fns/max';
16
16
  import 'date-fns/min';
17
17
  import 'date-fns/subMonths';
18
- import './index.module-a7e95baa.js';
18
+ import './index.module-46b1abbe.js';
19
19
  import './views/static.js';
20
20
  import 'date-fns/endOfMonth';
21
21
  import 'date-fns/isSameMonth';
@@ -0,0 +1,4 @@
1
+ var styles = {"component":"calendar-range__component_10sfb","static":"calendar-range__static_10sfb","calendar":"calendar-range__calendar_10sfb"};
2
+ require('./views/index.css')
3
+
4
+ export { styles as s };
@@ -30,6 +30,6 @@ declare function usePeriodWithReset({ onPeriodChange, initialSelectedFrom, initi
30
30
  updatePeriod: (date?: number) => void;
31
31
  };
32
32
  export { usePeriod, usePeriodWithReset };
33
- export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-8c6198cc";
33
+ export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-e2b6c730";
34
34
  export { useCalendar } from "./useCalendar-71d94e2b";
35
35
  export * from "./index-f034f741";
@@ -1,4 +1,4 @@
1
- /* hash: 1gokg */
1
+ /* hash: m2x3f */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -38,16 +38,16 @@
38
38
  /* disabled */
39
39
 
40
40
  /* marker */
41
- } .calendar-range__component_hnnqf {
41
+ } .calendar-range__component_10sfb {
42
42
  display: flex
43
- } .calendar-range__component_hnnqf button[aria-selected='true'] {
43
+ } .calendar-range__component_10sfb button[aria-selected='true'] {
44
44
  cursor: pointer;
45
- } .calendar-range__component_hnnqf *[class*='errorIcon_'] {
45
+ } .calendar-range__component_10sfb *[class*='errorIcon_'] {
46
46
  display: none;
47
- } .calendar-range__component_hnnqf *[class*='calendarIcon_'] {
47
+ } .calendar-range__component_10sfb *[class*='calendarIcon_'] {
48
48
  margin-right: 0;
49
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf {
49
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb {
50
50
  width: var(--calendar-inner-width)
51
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf > div:first-child {
51
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb > div:first-child {
52
52
  padding: var(--gap-m) 0 var(--gap-s);
53
53
  }
@@ -8,7 +8,7 @@ import { isCompleteDateInput } from '@alfalab/core-components-date-input/esm';
8
8
  import { useDidUpdateEffect } from '@alfalab/hooks';
9
9
  import { Divider } from '../components/divider/Component.js';
10
10
  import { usePopoverViewMonthes } from '../hooks.js';
11
- import { s as styles } from '../index.module-a7e95baa.js';
11
+ import { s as styles } from '../index.module-46b1abbe.js';
12
12
  import 'date-fns/addMonths';
13
13
  import 'date-fns/isEqual';
14
14
  import 'date-fns/max';
@@ -14,7 +14,7 @@ import { isCompleteDateInput, DateInput } from '@alfalab/core-components-date-in
14
14
  import { Divider } from '../components/divider/Component.js';
15
15
  import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
16
16
  import { isDayButton } from '../utils.js';
17
- import { s as styles } from '../index.module-a7e95baa.js';
17
+ import { s as styles } from '../index.module-46b1abbe.js';
18
18
  import 'date-fns/isEqual';
19
19
  import 'date-fns/min';
20
20
 
@@ -1,2 +1,2 @@
1
- export * from "./Component-8c6198cc";
1
+ export * from "./Component-e2b6c730";
2
2
  export { shiftValues } from "./utils-e0a54580";
package/index.js CHANGED
@@ -19,7 +19,7 @@ require('date-fns/isEqual');
19
19
  require('date-fns/max');
20
20
  require('date-fns/min');
21
21
  require('date-fns/subMonths');
22
- require('./index.module-41e6ec4a.js');
22
+ require('./index.module-2681dffc.js');
23
23
  require('./views/static.js');
24
24
  require('date-fns/endOfMonth');
25
25
  require('date-fns/isSameMonth');
@@ -0,0 +1,6 @@
1
+ 'use strict';
2
+
3
+ var styles = {"component":"calendar-range__component_10sfb","static":"calendar-range__static_10sfb","calendar":"calendar-range__calendar_10sfb"};
4
+ require('./views/index.css')
5
+
6
+ exports.styles = styles;
@@ -129,6 +129,6 @@ type CalendarDesktopProps = {
129
129
  showCurrentYearSelector?: boolean;
130
130
  };
131
131
  declare const CalendarDesktop: React.ForwardRefExoticComponent<CalendarDesktopProps & React.RefAttributes<HTMLDivElement>>;
132
- export * from "./Component-8c6198cc";
132
+ export * from "./Component-e2b6c730";
133
133
  export * from "./Component-5684a67d";
134
134
  export { YearsTableProps, YearsTable, CalendarDesktopProps, CalendarDesktop };
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
14
14
  import 'date-fns/max';
15
15
  import 'date-fns/min';
16
16
  import 'date-fns/subMonths';
17
- import './index.module-f2d65966.js';
17
+ import './index.module-95129248.js';
18
18
  import 'date-fns/endOfMonth';
19
19
  import 'date-fns/isSameMonth';
20
20
  import '@alfalab/core-components-calendar/modern/desktop';
@@ -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_1knti","outer":"calendar-range__outer_1knti","s":"calendar-range__s_1knti","m":"calendar-range__m_1knti","l":"calendar-range__l_1knti","xl":"calendar-range__xl_1knti"};
4
+ const styles = {"component":"calendar-range__component_1pil0","outer":"calendar-range__outer_1pil0","s":"calendar-range__s_1pil0","m":"calendar-range__m_1pil0","l":"calendar-range__l_1pil0","xl":"calendar-range__xl_1pil0"};
5
5
  require('./index.css')
6
6
 
7
7
  const Divider = ({ inputFromProps, inputToProps }) => {
@@ -1,4 +1,4 @@
1
- /* hash: 1d2ab */
1
+ /* hash: phr0r */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0e0e0e; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -41,29 +41,29 @@
41
41
  /* disabled */
42
42
 
43
43
  /* marker */
44
- } .calendar-range__component_1knti {
44
+ } .calendar-range__component_1pil0 {
45
45
  display: flex;
46
46
  align-items: center;
47
47
  justify-content: center;
48
48
  width: 16px;
49
49
  margin: 0 var(--gap-xs)
50
- } .calendar-range__component_1knti:after {
50
+ } .calendar-range__component_1pil0:after {
51
51
  content: '';
52
52
  display: block;
53
53
  width: 100%;
54
54
  height: 1px;
55
55
  background-color: var(--color-light-graphic-primary);
56
- } .calendar-range__outer_1knti {
56
+ } .calendar-range__outer_1pil0 {
57
57
  position: relative;
58
58
 
59
59
  /* FormControl .above height + margin-bottom */
60
60
  top: 24px;
61
- } .calendar-range__s_1knti {
61
+ } .calendar-range__s_1pil0 {
62
62
  height: var(--size-s-height);
63
- } .calendar-range__m_1knti {
63
+ } .calendar-range__m_1pil0 {
64
64
  height: var(--size-m-height);
65
- } .calendar-range__l_1knti {
65
+ } .calendar-range__l_1pil0 {
66
66
  height: var(--size-l-height);
67
- } .calendar-range__xl_1knti {
67
+ } .calendar-range__xl_1pil0 {
68
68
  height: var(--size-xl-height);
69
69
  }
@@ -1,2 +1,2 @@
1
- export * from "./Component-8c6198cc";
1
+ export * from "./Component-e2b6c730";
2
2
  export { shiftValues } from "./utils-e0a54580";
package/modern/index.js CHANGED
@@ -14,7 +14,7 @@ import 'date-fns/isEqual';
14
14
  import 'date-fns/max';
15
15
  import 'date-fns/min';
16
16
  import 'date-fns/subMonths';
17
- import './index.module-f2d65966.js';
17
+ import './index.module-95129248.js';
18
18
  import './views/static.js';
19
19
  import 'date-fns/endOfMonth';
20
20
  import 'date-fns/isSameMonth';
@@ -0,0 +1,4 @@
1
+ const styles = {"component":"calendar-range__component_10sfb","static":"calendar-range__static_10sfb","calendar":"calendar-range__calendar_10sfb"};
2
+ require('./views/index.css')
3
+
4
+ export { styles as s };
@@ -30,6 +30,6 @@ declare function usePeriodWithReset({ onPeriodChange, initialSelectedFrom, initi
30
30
  updatePeriod: (date?: number) => void;
31
31
  };
32
32
  export { usePeriod, usePeriodWithReset };
33
- export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-8c6198cc";
33
+ export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-e2b6c730";
34
34
  export { useCalendar } from "./useCalendar-71d94e2b";
35
35
  export * from "./index-f034f741";
@@ -1,4 +1,4 @@
1
- /* hash: 1gokg */
1
+ /* hash: m2x3f */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -38,16 +38,16 @@
38
38
  /* disabled */
39
39
 
40
40
  /* marker */
41
- } .calendar-range__component_hnnqf {
41
+ } .calendar-range__component_10sfb {
42
42
  display: flex
43
- } .calendar-range__component_hnnqf button[aria-selected='true'] {
43
+ } .calendar-range__component_10sfb button[aria-selected='true'] {
44
44
  cursor: pointer;
45
- } .calendar-range__component_hnnqf *[class*='errorIcon_'] {
45
+ } .calendar-range__component_10sfb *[class*='errorIcon_'] {
46
46
  display: none;
47
- } .calendar-range__component_hnnqf *[class*='calendarIcon_'] {
47
+ } .calendar-range__component_10sfb *[class*='calendarIcon_'] {
48
48
  margin-right: 0;
49
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf {
49
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb {
50
50
  width: var(--calendar-inner-width)
51
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf > div:first-child {
51
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb > div:first-child {
52
52
  padding: var(--gap-m) 0 var(--gap-s);
53
53
  }
@@ -7,7 +7,7 @@ import { isCompleteDateInput } from '@alfalab/core-components-date-input/modern'
7
7
  import { useDidUpdateEffect } from '@alfalab/hooks';
8
8
  import { Divider } from '../components/divider/Component.js';
9
9
  import { usePopoverViewMonthes } from '../hooks.js';
10
- import { s as styles } from '../index.module-f2d65966.js';
10
+ import { s as styles } from '../index.module-95129248.js';
11
11
  import 'date-fns/addMonths';
12
12
  import 'date-fns/isEqual';
13
13
  import 'date-fns/max';
@@ -13,7 +13,7 @@ import { isCompleteDateInput, DateInput } from '@alfalab/core-components-date-in
13
13
  import { Divider } from '../components/divider/Component.js';
14
14
  import { useStaticViewMonthes, useSelectionProps } from '../hooks.js';
15
15
  import { isDayButton } from '../utils.js';
16
- import { s as styles } from '../index.module-f2d65966.js';
16
+ import { s as styles } from '../index.module-95129248.js';
17
17
  import 'date-fns/isEqual';
18
18
  import 'date-fns/min';
19
19
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-range",
3
- "version": "7.2.0",
3
+ "version": "7.2.1",
4
4
  "description": "Calendar range component",
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-calendar": "^7.0.0",
19
- "@alfalab/core-components-calendar-input": "^9.0.0",
20
- "@alfalab/core-components-date-input": "^4.3.0",
18
+ "@alfalab/core-components-calendar": "^7.0.1",
19
+ "@alfalab/core-components-calendar-input": "^9.0.1",
20
+ "@alfalab/core-components-date-input": "^4.3.1",
21
21
  "@alfalab/hooks": "^1.13.0",
22
22
  "classnames": "^2.3.1",
23
23
  "date-fns": "^2.16.1",
@@ -30,6 +30,6 @@ declare function usePeriodWithReset({ onPeriodChange, initialSelectedFrom, initi
30
30
  updatePeriod: (date?: number) => void;
31
31
  };
32
32
  export { usePeriod, usePeriodWithReset };
33
- export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-8c6198cc";
33
+ export { russianWeekDay, dateInLimits, limitDate, monthName, DAYS_IN_WEEK, MONTHS, MONTHS_IN_YEAR, SUNDAY_INDEX, WEEKDAYS, DATE_FORMAT } from "./utils-e2b6c730";
34
34
  export { useCalendar } from "./useCalendar-71d94e2b";
35
35
  export * from "./index-f034f741";
package/views/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1gokg */
1
+ /* hash: m2x3f */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -38,16 +38,16 @@
38
38
  /* disabled */
39
39
 
40
40
  /* marker */
41
- } .calendar-range__component_hnnqf {
41
+ } .calendar-range__component_10sfb {
42
42
  display: flex
43
- } .calendar-range__component_hnnqf button[aria-selected='true'] {
43
+ } .calendar-range__component_10sfb button[aria-selected='true'] {
44
44
  cursor: pointer;
45
- } .calendar-range__component_hnnqf *[class*='errorIcon_'] {
45
+ } .calendar-range__component_10sfb *[class*='errorIcon_'] {
46
46
  display: none;
47
- } .calendar-range__component_hnnqf *[class*='calendarIcon_'] {
47
+ } .calendar-range__component_10sfb *[class*='calendarIcon_'] {
48
48
  margin-right: 0;
49
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf {
49
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb {
50
50
  width: var(--calendar-inner-width)
51
- } .calendar-range__static_hnnqf .calendar-range__calendar_hnnqf > div:first-child {
51
+ } .calendar-range__static_10sfb .calendar-range__calendar_10sfb > div:first-child {
52
52
  padding: var(--gap-m) 0 var(--gap-s);
53
53
  }
package/views/popover.js CHANGED
@@ -12,7 +12,7 @@ var coreComponentsDateInput = require('@alfalab/core-components-date-input');
12
12
  var hooks$1 = require('@alfalab/hooks');
13
13
  var components_divider_Component = require('../components/divider/Component.js');
14
14
  var hooks = require('../hooks.js');
15
- var index_module = require('../index.module-41e6ec4a.js');
15
+ var index_module = require('../index.module-2681dffc.js');
16
16
  require('date-fns/addMonths');
17
17
  require('date-fns/isEqual');
18
18
  require('date-fns/max');
package/views/static.js CHANGED
@@ -18,7 +18,7 @@ var coreComponentsDateInput = require('@alfalab/core-components-date-input');
18
18
  var components_divider_Component = require('../components/divider/Component.js');
19
19
  var hooks = require('../hooks.js');
20
20
  var utils = require('../utils.js');
21
- var index_module = require('../index.module-41e6ec4a.js');
21
+ var index_module = require('../index.module-2681dffc.js');
22
22
  require('date-fns/isEqual');
23
23
  require('date-fns/min');
24
24
 
@@ -1,4 +0,0 @@
1
- var styles = {"component":"calendar-range__component_hnnqf","static":"calendar-range__static_hnnqf","calendar":"calendar-range__calendar_hnnqf"};
2
- require('./views/index.css')
3
-
4
- export { styles as s };
@@ -1,6 +0,0 @@
1
- 'use strict';
2
-
3
- var styles = {"component":"calendar-range__component_hnnqf","static":"calendar-range__static_hnnqf","calendar":"calendar-range__calendar_hnnqf"};
4
- require('./views/index.css')
5
-
6
- exports.styles = styles;
@@ -1,4 +0,0 @@
1
- const styles = {"component":"calendar-range__component_hnnqf","static":"calendar-range__static_hnnqf","calendar":"calendar-range__calendar_hnnqf"};
2
- require('./views/index.css')
3
-
4
- export { styles as s };
File without changes