@alfalab/core-components-calendar-input 10.2.21 → 10.2.22

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.
@@ -18,7 +18,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
18
18
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
19
19
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
20
20
 
21
- var styles = {"component":"calendar-input__component_875pt","block":"calendar-input__block_875pt","calendarContainer":"calendar-input__calendarContainer_875pt","calendarResponsive":"calendar-input__calendarResponsive_875pt","calendarIcon":"calendar-input__calendarIcon_875pt","nativeInput":"calendar-input__nativeInput_875pt"};
21
+ var styles = {"component":"calendar-input__component_y4ujr","block":"calendar-input__block_y4ujr","calendarContainer":"calendar-input__calendarContainer_y4ujr","calendarResponsive":"calendar-input__calendarResponsive_y4ujr","calendarIcon":"calendar-input__calendarIcon_y4ujr","nativeInput":"calendar-input__nativeInput_y4ujr"};
22
22
  require('./index.css')
23
23
 
24
24
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 17qrr */
1
+ /* hash: pw9az */
2
2
  :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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -14,8 +14,10 @@
14
14
  /* Hard up */
15
15
  } :root {
16
16
  --border-radius-m: 8px;
17
- } :root {
18
- --gap-2xs: 4px;
17
+ } :root { /* deprecated */
18
+ --gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
+
20
+ /* новые значения, используйте их */
19
21
  } :root {
20
22
  } :root {
21
23
  } :root {
@@ -43,31 +45,31 @@
43
45
  } :root {
44
46
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
45
47
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_875pt {
48
+ } .calendar-input__component_y4ujr {
47
49
  display: inline-block;
48
50
  outline: none;
49
51
  position: relative;
50
- } .calendar-input__block_875pt {
52
+ } .calendar-input__block_y4ujr {
51
53
  width: 100%;
52
- } .calendar-input__calendarContainer_875pt {
54
+ } .calendar-input__calendarContainer_y4ujr {
53
55
  display: inline-block;
54
56
  box-sizing: border-box;
55
57
  border-radius: var(--calendar-input-popover-border-radius);
56
58
  border: 1px solid var(--color-light-neutral-300)
57
- } @media (max-width: 374px) { .calendar-input__calendarContainer_875pt {
59
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_y4ujr {
58
60
  width: 100%;
59
61
  min-width: 288px
60
62
  }
61
- } .calendar-input__calendarResponsive_875pt {
63
+ } .calendar-input__calendarResponsive_y4ujr {
62
64
  width: var(--calendar-width);
63
- } .calendar-input__calendarIcon_875pt {
65
+ } .calendar-input__calendarIcon_y4ujr {
64
66
  width: 24px;
65
67
  height: 24px;
66
68
  display: block;
67
69
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_875pt:not(:only-child) {
70
+ } .calendar-input__calendarIcon_y4ujr:not(:only-child) {
69
71
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_875pt {
72
+ } .calendar-input__nativeInput_y4ujr {
71
73
  opacity: 0;
72
74
  position: absolute;
73
75
  top: 0;
@@ -76,8 +78,8 @@
76
78
  height: 100%;
77
79
  appearance: none;
78
80
  z-index: 1
79
- } .calendar-input__nativeInput_875pt::-webkit-calendar-picker-indicator {
81
+ } .calendar-input__nativeInput_y4ujr::-webkit-calendar-picker-indicator {
80
82
  display: none;
81
- } .calendar-input__nativeInput_875pt::-webkit-inner-spin-button {
83
+ } .calendar-input__nativeInput_y4ujr::-webkit-inner-spin-button {
82
84
  display: none;
83
85
  }
@@ -13,8 +13,10 @@
13
13
  /* Hard up */
14
14
  } :root {
15
15
  --border-radius-m: 8px;
16
- } :root {
17
- --gap-2xs: 4px;
16
+ } :root { /* deprecated */
17
+ --gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
18
+
19
+ /* новые значения, используйте их */
18
20
  } :root {
19
21
  } :root {
20
22
  } :root {
@@ -8,7 +8,7 @@ import { Popover } from '@alfalab/core-components-popover/esm';
8
8
  import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
9
9
  import { SUPPORTS_INPUT_TYPE_DATE } from '../../utils.js';
10
10
 
11
- var styles = {"component":"calendar-input__component_875pt","block":"calendar-input__block_875pt","calendarContainer":"calendar-input__calendarContainer_875pt","calendarResponsive":"calendar-input__calendarResponsive_875pt","calendarIcon":"calendar-input__calendarIcon_875pt","nativeInput":"calendar-input__nativeInput_875pt"};
11
+ var styles = {"component":"calendar-input__component_y4ujr","block":"calendar-input__block_y4ujr","calendarContainer":"calendar-input__calendarContainer_y4ujr","calendarResponsive":"calendar-input__calendarResponsive_y4ujr","calendarIcon":"calendar-input__calendarIcon_y4ujr","nativeInput":"calendar-input__nativeInput_y4ujr"};
12
12
  require('./index.css')
13
13
 
14
14
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 17qrr */
1
+ /* hash: pw9az */
2
2
  :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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -14,8 +14,10 @@
14
14
  /* Hard up */
15
15
  } :root {
16
16
  --border-radius-m: 8px;
17
- } :root {
18
- --gap-2xs: 4px;
17
+ } :root { /* deprecated */
18
+ --gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
+
20
+ /* новые значения, используйте их */
19
21
  } :root {
20
22
  } :root {
21
23
  } :root {
@@ -43,31 +45,31 @@
43
45
  } :root {
44
46
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
45
47
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_875pt {
48
+ } .calendar-input__component_y4ujr {
47
49
  display: inline-block;
48
50
  outline: none;
49
51
  position: relative;
50
- } .calendar-input__block_875pt {
52
+ } .calendar-input__block_y4ujr {
51
53
  width: 100%;
52
- } .calendar-input__calendarContainer_875pt {
54
+ } .calendar-input__calendarContainer_y4ujr {
53
55
  display: inline-block;
54
56
  box-sizing: border-box;
55
57
  border-radius: var(--calendar-input-popover-border-radius);
56
58
  border: 1px solid var(--color-light-neutral-300)
57
- } @media (max-width: 374px) { .calendar-input__calendarContainer_875pt {
59
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_y4ujr {
58
60
  width: 100%;
59
61
  min-width: 288px
60
62
  }
61
- } .calendar-input__calendarResponsive_875pt {
63
+ } .calendar-input__calendarResponsive_y4ujr {
62
64
  width: var(--calendar-width);
63
- } .calendar-input__calendarIcon_875pt {
65
+ } .calendar-input__calendarIcon_y4ujr {
64
66
  width: 24px;
65
67
  height: 24px;
66
68
  display: block;
67
69
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_875pt:not(:only-child) {
70
+ } .calendar-input__calendarIcon_y4ujr:not(:only-child) {
69
71
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_875pt {
72
+ } .calendar-input__nativeInput_y4ujr {
71
73
  opacity: 0;
72
74
  position: absolute;
73
75
  top: 0;
@@ -76,8 +78,8 @@
76
78
  height: 100%;
77
79
  appearance: none;
78
80
  z-index: 1
79
- } .calendar-input__nativeInput_875pt::-webkit-calendar-picker-indicator {
81
+ } .calendar-input__nativeInput_y4ujr::-webkit-calendar-picker-indicator {
80
82
  display: none;
81
- } .calendar-input__nativeInput_875pt::-webkit-inner-spin-button {
83
+ } .calendar-input__nativeInput_y4ujr::-webkit-inner-spin-button {
82
84
  display: none;
83
85
  }
@@ -7,7 +7,7 @@ import { Popover } from '@alfalab/core-components-popover/modern';
7
7
  import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
8
8
  import { SUPPORTS_INPUT_TYPE_DATE } from '../../utils.js';
9
9
 
10
- const styles = {"component":"calendar-input__component_875pt","block":"calendar-input__block_875pt","calendarContainer":"calendar-input__calendarContainer_875pt","calendarResponsive":"calendar-input__calendarResponsive_875pt","calendarIcon":"calendar-input__calendarIcon_875pt","nativeInput":"calendar-input__nativeInput_875pt"};
10
+ const styles = {"component":"calendar-input__component_y4ujr","block":"calendar-input__block_y4ujr","calendarContainer":"calendar-input__calendarContainer_y4ujr","calendarResponsive":"calendar-input__calendarResponsive_y4ujr","calendarIcon":"calendar-input__calendarIcon_y4ujr","nativeInput":"calendar-input__nativeInput_y4ujr"};
11
11
  require('./index.css')
12
12
 
13
13
  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, onCalendarOpen, onCalendarClose, onKeyDown, readOnly, disableUserInput = false, Calendar, popoverPosition = 'bottom-start', zIndexPopover, useAnchorWidth, rightAddons, error, view = 'desktop', ...restProps }, ref) => {
@@ -1,4 +1,4 @@
1
- /* hash: 17qrr */
1
+ /* hash: pw9az */
2
2
  :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 */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* 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
3
  } /* deprecated */ :root {
4
4
  --color-light-neutral-300: #e7e8eb;
@@ -14,8 +14,10 @@
14
14
  /* Hard up */
15
15
  } :root {
16
16
  --border-radius-m: 8px;
17
- } :root {
18
- --gap-2xs: 4px;
17
+ } :root { /* deprecated */
18
+ --gap-2xs: 4px; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
19
+
20
+ /* новые значения, используйте их */
19
21
  } :root {
20
22
  } :root {
21
23
  } :root {
@@ -43,31 +45,31 @@
43
45
  } :root {
44
46
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
45
47
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_875pt {
48
+ } .calendar-input__component_y4ujr {
47
49
  display: inline-block;
48
50
  outline: none;
49
51
  position: relative;
50
- } .calendar-input__block_875pt {
52
+ } .calendar-input__block_y4ujr {
51
53
  width: 100%;
52
- } .calendar-input__calendarContainer_875pt {
54
+ } .calendar-input__calendarContainer_y4ujr {
53
55
  display: inline-block;
54
56
  box-sizing: border-box;
55
57
  border-radius: var(--calendar-input-popover-border-radius);
56
58
  border: 1px solid var(--color-light-neutral-300)
57
- } @media (max-width: 374px) { .calendar-input__calendarContainer_875pt {
59
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_y4ujr {
58
60
  width: 100%;
59
61
  min-width: 288px
60
62
  }
61
- } .calendar-input__calendarResponsive_875pt {
63
+ } .calendar-input__calendarResponsive_y4ujr {
62
64
  width: var(--calendar-width);
63
- } .calendar-input__calendarIcon_875pt {
65
+ } .calendar-input__calendarIcon_y4ujr {
64
66
  width: 24px;
65
67
  height: 24px;
66
68
  display: block;
67
69
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_875pt:not(:only-child) {
70
+ } .calendar-input__calendarIcon_y4ujr:not(:only-child) {
69
71
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_875pt {
72
+ } .calendar-input__nativeInput_y4ujr {
71
73
  opacity: 0;
72
74
  position: absolute;
73
75
  top: 0;
@@ -76,8 +78,8 @@
76
78
  height: 100%;
77
79
  appearance: none;
78
80
  z-index: 1
79
- } .calendar-input__nativeInput_875pt::-webkit-calendar-picker-indicator {
81
+ } .calendar-input__nativeInput_y4ujr::-webkit-calendar-picker-indicator {
80
82
  display: none;
81
- } .calendar-input__nativeInput_875pt::-webkit-inner-spin-button {
83
+ } .calendar-input__nativeInput_y4ujr::-webkit-inner-spin-button {
82
84
  display: none;
83
85
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "10.2.21",
3
+ "version": "10.2.22",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,7 +15,7 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-calendar": "^7.9.0",
18
+ "@alfalab/core-components-calendar": "^7.9.1",
19
19
  "@alfalab/core-components-date-input": "^4.3.34",
20
20
  "@alfalab/core-components-popover": "^6.2.4",
21
21
  "@alfalab/hooks": "^1.13.0",
@@ -24,5 +24,7 @@
24
24
  "date-fns": "^2.16.1",
25
25
  "react-merge-refs": "^1.1.0",
26
26
  "tslib": "^2.4.0"
27
- }
27
+ },
28
+ "themesVersion": "13.0.1",
29
+ "varsVersion": "9.10.0"
28
30
  }