@alfalab/core-components-calendar-input 8.2.16 → 8.2.18

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.
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var components_calendarInput_Component = require('./components/calendar-input/Component.js');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var coreComponentsCalendar = require('@alfalab/core-components-calendar');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var hooks = require('@alfalab/hooks');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var mergeRefs = require('react-merge-refs');
@@ -19,7 +21,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
19
21
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
20
22
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
21
23
 
22
- var styles = {"component":"calendar-input__component_1s8q7","block":"calendar-input__block_1s8q7","calendarContainer":"calendar-input__calendarContainer_1s8q7","calendarResponsive":"calendar-input__calendarResponsive_1s8q7","calendarIcon":"calendar-input__calendarIcon_1s8q7","nativeInput":"calendar-input__nativeInput_1s8q7"};
24
+ var styles = {"component":"calendar-input__component_1suko","block":"calendar-input__block_1suko","calendarContainer":"calendar-input__calendarContainer_1suko","calendarResponsive":"calendar-input__calendarResponsive_1suko","calendarIcon":"calendar-input__calendarIcon_1suko","nativeInput":"calendar-input__nativeInput_1suko"};
23
25
  require('./index.css')
24
26
 
25
27
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,8 +1,8 @@
1
- /* hash: ujab0 */
1
+ /* hash: iln4i */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-secondary: #e7e9eb;
5
- --color-light-graphic-primary: #0b1f35; /* 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
+ --color-light-border-secondary: #e9e9eb;
5
+ --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 */
6
6
  } :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 */
7
7
  } :root {
8
8
  } :root {
@@ -44,32 +44,32 @@
44
44
  } :root {
45
45
  --calendar-input-icon-color: var(--color-light-graphic-primary);
46
46
  --calendar-input-popover-border-radius: var(--border-radius-m);
47
- } .calendar-input__component_1s8q7 {
47
+ } .calendar-input__component_1suko {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1s8q7 {
51
+ } .calendar-input__block_1suko {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1s8q7 {
53
+ } .calendar-input__calendarContainer_1suko {
54
54
  display: inline-block;
55
55
  box-sizing: border-box;
56
56
  border-radius: var(--calendar-input-popover-border-radius);
57
57
  border: 1px solid var(--color-light-border-secondary)
58
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1s8q7 {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1suko {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1s8q7 {
62
+ } .calendar-input__calendarResponsive_1suko {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1s8q7 {
65
+ } .calendar-input__calendarIcon_1suko {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1s8q7:not(:only-child) {
70
+ } .calendar-input__calendarIcon_1suko:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1s8q7 {
72
+ } .calendar-input__nativeInput_1suko {
73
73
  opacity: 0;
74
74
  position: absolute;
75
75
  top: 0;
@@ -79,8 +79,8 @@
79
79
  -webkit-appearance: none;
80
80
  appearance: none;
81
81
  z-index: 1
82
- } .calendar-input__nativeInput_1s8q7::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_1suko::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1s8q7::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_1suko::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var components_calendarInput_Component = require('./Component.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var components_calendarInput_Component = require('./components/calendar-input/Component.js');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var coreComponentsCalendar = require('@alfalab/core-components-calendar/cssm');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var hooks = require('@alfalab/hooks');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var tslib = require('tslib');
4
6
  var React = require('react');
5
7
  var mergeRefs = require('react-merge-refs');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var components_calendarInput_Component = require('./Component.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,7 +1,7 @@
1
1
  :root {
2
2
  } /* deprecated */ :root {
3
- --color-light-border-secondary: #e7e9eb;
4
- --color-light-graphic-primary: #0b1f35; /* 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 */
3
+ --color-light-border-secondary: #e9e9eb;
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 */
5
5
  } :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 */
6
6
  } :root {
7
7
  } :root {
package/cssm/desktop.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_desktop = require('./Component.desktop.js');
4
6
  require('tslib');
5
7
  require('react');
package/cssm/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_responsive = require('./Component.responsive.js');
4
6
  var utils = require('./utils.js');
5
7
  require('tslib');
@@ -14,10 +16,10 @@ require('@alfalab/core-components-date-input/cssm');
14
16
  require('@alfalab/core-components-popover/cssm');
15
17
  require('@alfalab/icons-glyph/CalendarMIcon');
16
18
  require('./components/calendar-input/index.module.css');
19
+ require('./Component.mobile.js');
17
20
  require('date-fns/format');
18
21
  require('date-fns/isSameDay');
19
22
  require('date-fns/parse');
20
- require('./Component.mobile.js');
21
23
 
22
24
 
23
25
 
package/cssm/mobile.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_mobile = require('./Component.mobile.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_responsive = require('./Component.responsive.js');
4
6
  require('tslib');
5
7
  require('react');
package/cssm/utils.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var format = require('date-fns/format');
4
6
  var isSameDay = require('date-fns/isSameDay');
5
7
  var parse = require('date-fns/parse');
package/desktop.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_desktop = require('./Component.desktop.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -11,7 +11,7 @@ import 'date-fns/format';
11
11
  import 'date-fns/isSameDay';
12
12
  import 'date-fns/parse';
13
13
 
14
- var styles = {"component":"calendar-input__component_1s8q7","block":"calendar-input__block_1s8q7","calendarContainer":"calendar-input__calendarContainer_1s8q7","calendarResponsive":"calendar-input__calendarResponsive_1s8q7","calendarIcon":"calendar-input__calendarIcon_1s8q7","nativeInput":"calendar-input__nativeInput_1s8q7"};
14
+ var styles = {"component":"calendar-input__component_1suko","block":"calendar-input__block_1suko","calendarContainer":"calendar-input__calendarContainer_1suko","calendarResponsive":"calendar-input__calendarResponsive_1suko","calendarIcon":"calendar-input__calendarIcon_1suko","nativeInput":"calendar-input__nativeInput_1suko"};
15
15
  require('./index.css')
16
16
 
17
17
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,8 +1,8 @@
1
- /* hash: ujab0 */
1
+ /* hash: iln4i */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-secondary: #e7e9eb;
5
- --color-light-graphic-primary: #0b1f35; /* 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
+ --color-light-border-secondary: #e9e9eb;
5
+ --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 */
6
6
  } :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 */
7
7
  } :root {
8
8
  } :root {
@@ -44,32 +44,32 @@
44
44
  } :root {
45
45
  --calendar-input-icon-color: var(--color-light-graphic-primary);
46
46
  --calendar-input-popover-border-radius: var(--border-radius-m);
47
- } .calendar-input__component_1s8q7 {
47
+ } .calendar-input__component_1suko {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1s8q7 {
51
+ } .calendar-input__block_1suko {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1s8q7 {
53
+ } .calendar-input__calendarContainer_1suko {
54
54
  display: inline-block;
55
55
  box-sizing: border-box;
56
56
  border-radius: var(--calendar-input-popover-border-radius);
57
57
  border: 1px solid var(--color-light-border-secondary)
58
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1s8q7 {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1suko {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1s8q7 {
62
+ } .calendar-input__calendarResponsive_1suko {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1s8q7 {
65
+ } .calendar-input__calendarIcon_1suko {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1s8q7:not(:only-child) {
70
+ } .calendar-input__calendarIcon_1suko:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1s8q7 {
72
+ } .calendar-input__nativeInput_1suko {
73
73
  opacity: 0;
74
74
  position: absolute;
75
75
  top: 0;
@@ -79,8 +79,8 @@
79
79
  -webkit-appearance: none;
80
80
  appearance: none;
81
81
  z-index: 1
82
- } .calendar-input__nativeInput_1s8q7::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_1suko::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1s8q7::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_1suko::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
package/esm/index.js CHANGED
@@ -11,7 +11,7 @@ import '@alfalab/core-components-calendar/esm';
11
11
  import '@alfalab/core-components-date-input/esm';
12
12
  import '@alfalab/core-components-popover/esm';
13
13
  import '@alfalab/icons-glyph/CalendarMIcon';
14
+ import './Component.mobile.js';
14
15
  import 'date-fns/format';
15
16
  import 'date-fns/isSameDay';
16
17
  import 'date-fns/parse';
17
- import './Component.mobile.js';
package/index.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_responsive = require('./Component.responsive.js');
4
6
  var utils = require('./utils.js');
5
7
  require('tslib');
@@ -13,10 +15,10 @@ require('@alfalab/core-components-calendar');
13
15
  require('@alfalab/core-components-date-input');
14
16
  require('@alfalab/core-components-popover');
15
17
  require('@alfalab/icons-glyph/CalendarMIcon');
18
+ require('./Component.mobile.js');
16
19
  require('date-fns/format');
17
20
  require('date-fns/isSameDay');
18
21
  require('date-fns/parse');
19
- require('./Component.mobile.js');
20
22
 
21
23
 
22
24
 
package/mobile.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_mobile = require('./Component.mobile.js');
4
6
  require('tslib');
5
7
  require('react');
@@ -10,7 +10,7 @@ import 'date-fns/format';
10
10
  import 'date-fns/isSameDay';
11
11
  import 'date-fns/parse';
12
12
 
13
- const styles = {"component":"calendar-input__component_1s8q7","block":"calendar-input__block_1s8q7","calendarContainer":"calendar-input__calendarContainer_1s8q7","calendarResponsive":"calendar-input__calendarResponsive_1s8q7","calendarIcon":"calendar-input__calendarIcon_1s8q7","nativeInput":"calendar-input__nativeInput_1s8q7"};
13
+ const styles = {"component":"calendar-input__component_1suko","block":"calendar-input__block_1suko","calendarContainer":"calendar-input__calendarContainer_1suko","calendarResponsive":"calendar-input__calendarResponsive_1suko","calendarIcon":"calendar-input__calendarIcon_1suko","nativeInput":"calendar-input__nativeInput_1suko"};
14
14
  require('./index.css')
15
15
 
16
16
  const CalendarInput = forwardRef(({ block = false, className, inputClassName, popoverClassName, defaultOpen = false, defaultMonth, defaultValue = '', calendarPosition = 'popover', value, dataTestId, calendarProps = {}, minDate = calendarProps.minDate, maxDate = calendarProps.maxDate, offDays = calendarProps.offDays || [], events = calendarProps.events || [], preventFlip, mobileMode = 'popover', wrapperRef = null, disabled, onChange = () => null, onInputChange, onCalendarChange, onKeyDown, readOnly, Calendar: Calendar$1 = Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, error, view = 'desktop', ...restProps }, ref) => {
@@ -1,8 +1,8 @@
1
- /* hash: ujab0 */
1
+ /* hash: iln4i */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
- --color-light-border-secondary: #e7e9eb;
5
- --color-light-graphic-primary: #0b1f35; /* 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
+ --color-light-border-secondary: #e9e9eb;
5
+ --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 */
6
6
  } :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 */
7
7
  } :root {
8
8
  } :root {
@@ -44,32 +44,32 @@
44
44
  } :root {
45
45
  --calendar-input-icon-color: var(--color-light-graphic-primary);
46
46
  --calendar-input-popover-border-radius: var(--border-radius-m);
47
- } .calendar-input__component_1s8q7 {
47
+ } .calendar-input__component_1suko {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1s8q7 {
51
+ } .calendar-input__block_1suko {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1s8q7 {
53
+ } .calendar-input__calendarContainer_1suko {
54
54
  display: inline-block;
55
55
  box-sizing: border-box;
56
56
  border-radius: var(--calendar-input-popover-border-radius);
57
57
  border: 1px solid var(--color-light-border-secondary)
58
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1s8q7 {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1suko {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1s8q7 {
62
+ } .calendar-input__calendarResponsive_1suko {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1s8q7 {
65
+ } .calendar-input__calendarIcon_1suko {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1s8q7:not(:only-child) {
70
+ } .calendar-input__calendarIcon_1suko:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1s8q7 {
72
+ } .calendar-input__nativeInput_1suko {
73
73
  opacity: 0;
74
74
  position: absolute;
75
75
  top: 0;
@@ -79,8 +79,8 @@
79
79
  -webkit-appearance: none;
80
80
  appearance: none;
81
81
  z-index: 1
82
- } .calendar-input__nativeInput_1s8q7::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_1suko::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1s8q7::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_1suko::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
package/modern/index.js CHANGED
@@ -10,7 +10,7 @@ import '@alfalab/core-components-calendar/modern';
10
10
  import '@alfalab/core-components-date-input/modern';
11
11
  import '@alfalab/core-components-popover/modern';
12
12
  import '@alfalab/icons-glyph/CalendarMIcon';
13
+ import './Component.mobile.js';
13
14
  import 'date-fns/format';
14
15
  import 'date-fns/isSameDay';
15
16
  import 'date-fns/parse';
16
- import './Component.mobile.js';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "8.2.16",
3
+ "version": "8.2.18",
4
4
  "description": "Calendar input 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.14",
22
- "@alfalab/core-components-date-input": "^4.2.0",
23
- "@alfalab/core-components-popover": "^6.0.7",
21
+ "@alfalab/core-components-calendar": "^6.2.16",
22
+ "@alfalab/core-components-date-input": "^4.2.1",
23
+ "@alfalab/core-components-popover": "^6.0.8",
24
24
  "@alfalab/hooks": "^1.7.0",
25
25
  "classnames": "^2.3.1",
26
26
  "date-fns": "^2.16.1",
package/responsive.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var Component_responsive = require('./Component.responsive.js');
4
6
  require('tslib');
5
7
  require('react');
package/utils.js CHANGED
@@ -1,5 +1,7 @@
1
1
  'use strict';
2
2
 
3
+ Object.defineProperty(exports, '__esModule', { value: true });
4
+
3
5
  var format = require('date-fns/format');
4
6
  var isSameDay = require('date-fns/isSameDay');
5
7
  var parse = require('date-fns/parse');