@alfalab/core-components-calendar-input 10.3.2 → 10.3.3

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_ladw7","block":"calendar-input__block_ladw7","calendarContainer":"calendar-input__calendarContainer_ladw7","calendarResponsive":"calendar-input__calendarResponsive_ladw7","calendarIcon":"calendar-input__calendarIcon_ladw7","nativeInput":"calendar-input__nativeInput_ladw7"};
21
+ var styles = {"component":"calendar-input__component_1x3fl","block":"calendar-input__block_1x3fl","calendarContainer":"calendar-input__calendarContainer_1x3fl","calendarResponsive":"calendar-input__calendarResponsive_1x3fl","calendarIcon":"calendar-input__calendarIcon_1x3fl","nativeInput":"calendar-input__nativeInput_1x3fl"};
22
22
  require('./index.css')
23
23
 
24
24
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1lk8f */
1
+ /* hash: 1tmy3 */
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;
@@ -50,31 +50,31 @@
50
50
  } :root {
51
51
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
52
52
  --calendar-input-popover-border-radius: var(--border-radius-8);
53
- } .calendar-input__component_ladw7 {
53
+ } .calendar-input__component_1x3fl {
54
54
  display: inline-block;
55
55
  outline: none;
56
56
  position: relative;
57
- } .calendar-input__block_ladw7 {
57
+ } .calendar-input__block_1x3fl {
58
58
  width: 100%;
59
- } .calendar-input__calendarContainer_ladw7 {
59
+ } .calendar-input__calendarContainer_1x3fl {
60
60
  display: inline-block;
61
61
  box-sizing: border-box;
62
62
  border-radius: var(--calendar-input-popover-border-radius);
63
63
  border: 1px solid var(--color-light-neutral-300)
64
- } @media (max-width: 374px) { .calendar-input__calendarContainer_ladw7 {
64
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1x3fl {
65
65
  width: 100%;
66
66
  min-width: 288px
67
67
  }
68
- } .calendar-input__calendarResponsive_ladw7 {
68
+ } .calendar-input__calendarResponsive_1x3fl {
69
69
  width: var(--calendar-width);
70
- } .calendar-input__calendarIcon_ladw7 {
70
+ } .calendar-input__calendarIcon_1x3fl {
71
71
  width: 24px;
72
72
  height: 24px;
73
73
  display: block;
74
74
  color: var(--calendar-input-icon-color)
75
- } .calendar-input__calendarIcon_ladw7:not(:only-child) {
75
+ } .calendar-input__calendarIcon_1x3fl:not(:only-child) {
76
76
  margin-right: var(--gap-4);
77
- } .calendar-input__nativeInput_ladw7 {
77
+ } .calendar-input__nativeInput_1x3fl {
78
78
  opacity: 0;
79
79
  position: absolute;
80
80
  top: var(--gap-0);
@@ -83,8 +83,8 @@
83
83
  height: 100%;
84
84
  appearance: none;
85
85
  z-index: 1
86
- } .calendar-input__nativeInput_ladw7::-webkit-calendar-picker-indicator {
86
+ } .calendar-input__nativeInput_1x3fl::-webkit-calendar-picker-indicator {
87
87
  display: none;
88
- } .calendar-input__nativeInput_ladw7::-webkit-inner-spin-button {
88
+ } .calendar-input__nativeInput_1x3fl::-webkit-inner-spin-button {
89
89
  display: none;
90
90
  }
@@ -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_ladw7","block":"calendar-input__block_ladw7","calendarContainer":"calendar-input__calendarContainer_ladw7","calendarResponsive":"calendar-input__calendarResponsive_ladw7","calendarIcon":"calendar-input__calendarIcon_ladw7","nativeInput":"calendar-input__nativeInput_ladw7"};
11
+ var styles = {"component":"calendar-input__component_1x3fl","block":"calendar-input__block_1x3fl","calendarContainer":"calendar-input__calendarContainer_1x3fl","calendarResponsive":"calendar-input__calendarResponsive_1x3fl","calendarIcon":"calendar-input__calendarIcon_1x3fl","nativeInput":"calendar-input__nativeInput_1x3fl"};
12
12
  require('./index.css')
13
13
 
14
14
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1lk8f */
1
+ /* hash: 1tmy3 */
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;
@@ -50,31 +50,31 @@
50
50
  } :root {
51
51
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
52
52
  --calendar-input-popover-border-radius: var(--border-radius-8);
53
- } .calendar-input__component_ladw7 {
53
+ } .calendar-input__component_1x3fl {
54
54
  display: inline-block;
55
55
  outline: none;
56
56
  position: relative;
57
- } .calendar-input__block_ladw7 {
57
+ } .calendar-input__block_1x3fl {
58
58
  width: 100%;
59
- } .calendar-input__calendarContainer_ladw7 {
59
+ } .calendar-input__calendarContainer_1x3fl {
60
60
  display: inline-block;
61
61
  box-sizing: border-box;
62
62
  border-radius: var(--calendar-input-popover-border-radius);
63
63
  border: 1px solid var(--color-light-neutral-300)
64
- } @media (max-width: 374px) { .calendar-input__calendarContainer_ladw7 {
64
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1x3fl {
65
65
  width: 100%;
66
66
  min-width: 288px
67
67
  }
68
- } .calendar-input__calendarResponsive_ladw7 {
68
+ } .calendar-input__calendarResponsive_1x3fl {
69
69
  width: var(--calendar-width);
70
- } .calendar-input__calendarIcon_ladw7 {
70
+ } .calendar-input__calendarIcon_1x3fl {
71
71
  width: 24px;
72
72
  height: 24px;
73
73
  display: block;
74
74
  color: var(--calendar-input-icon-color)
75
- } .calendar-input__calendarIcon_ladw7:not(:only-child) {
75
+ } .calendar-input__calendarIcon_1x3fl:not(:only-child) {
76
76
  margin-right: var(--gap-4);
77
- } .calendar-input__nativeInput_ladw7 {
77
+ } .calendar-input__nativeInput_1x3fl {
78
78
  opacity: 0;
79
79
  position: absolute;
80
80
  top: var(--gap-0);
@@ -83,8 +83,8 @@
83
83
  height: 100%;
84
84
  appearance: none;
85
85
  z-index: 1
86
- } .calendar-input__nativeInput_ladw7::-webkit-calendar-picker-indicator {
86
+ } .calendar-input__nativeInput_1x3fl::-webkit-calendar-picker-indicator {
87
87
  display: none;
88
- } .calendar-input__nativeInput_ladw7::-webkit-inner-spin-button {
88
+ } .calendar-input__nativeInput_1x3fl::-webkit-inner-spin-button {
89
89
  display: none;
90
90
  }
@@ -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_ladw7","block":"calendar-input__block_ladw7","calendarContainer":"calendar-input__calendarContainer_ladw7","calendarResponsive":"calendar-input__calendarResponsive_ladw7","calendarIcon":"calendar-input__calendarIcon_ladw7","nativeInput":"calendar-input__nativeInput_ladw7"};
10
+ const styles = {"component":"calendar-input__component_1x3fl","block":"calendar-input__block_1x3fl","calendarContainer":"calendar-input__calendarContainer_1x3fl","calendarResponsive":"calendar-input__calendarResponsive_1x3fl","calendarIcon":"calendar-input__calendarIcon_1x3fl","nativeInput":"calendar-input__nativeInput_1x3fl"};
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: 1lk8f */
1
+ /* hash: 1tmy3 */
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;
@@ -50,31 +50,31 @@
50
50
  } :root {
51
51
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
52
52
  --calendar-input-popover-border-radius: var(--border-radius-8);
53
- } .calendar-input__component_ladw7 {
53
+ } .calendar-input__component_1x3fl {
54
54
  display: inline-block;
55
55
  outline: none;
56
56
  position: relative;
57
- } .calendar-input__block_ladw7 {
57
+ } .calendar-input__block_1x3fl {
58
58
  width: 100%;
59
- } .calendar-input__calendarContainer_ladw7 {
59
+ } .calendar-input__calendarContainer_1x3fl {
60
60
  display: inline-block;
61
61
  box-sizing: border-box;
62
62
  border-radius: var(--calendar-input-popover-border-radius);
63
63
  border: 1px solid var(--color-light-neutral-300)
64
- } @media (max-width: 374px) { .calendar-input__calendarContainer_ladw7 {
64
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1x3fl {
65
65
  width: 100%;
66
66
  min-width: 288px
67
67
  }
68
- } .calendar-input__calendarResponsive_ladw7 {
68
+ } .calendar-input__calendarResponsive_1x3fl {
69
69
  width: var(--calendar-width);
70
- } .calendar-input__calendarIcon_ladw7 {
70
+ } .calendar-input__calendarIcon_1x3fl {
71
71
  width: 24px;
72
72
  height: 24px;
73
73
  display: block;
74
74
  color: var(--calendar-input-icon-color)
75
- } .calendar-input__calendarIcon_ladw7:not(:only-child) {
75
+ } .calendar-input__calendarIcon_1x3fl:not(:only-child) {
76
76
  margin-right: var(--gap-4);
77
- } .calendar-input__nativeInput_ladw7 {
77
+ } .calendar-input__nativeInput_1x3fl {
78
78
  opacity: 0;
79
79
  position: absolute;
80
80
  top: var(--gap-0);
@@ -83,8 +83,8 @@
83
83
  height: 100%;
84
84
  appearance: none;
85
85
  z-index: 1
86
- } .calendar-input__nativeInput_ladw7::-webkit-calendar-picker-indicator {
86
+ } .calendar-input__nativeInput_1x3fl::-webkit-calendar-picker-indicator {
87
87
  display: none;
88
- } .calendar-input__nativeInput_ladw7::-webkit-inner-spin-button {
88
+ } .calendar-input__nativeInput_1x3fl::-webkit-inner-spin-button {
89
89
  display: none;
90
90
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "10.3.2",
3
+ "version": "10.3.3",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -15,8 +15,8 @@
15
15
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
16
16
  },
17
17
  "dependencies": {
18
- "@alfalab/core-components-calendar": "^7.12.1",
19
- "@alfalab/core-components-date-input": "^4.4.2",
18
+ "@alfalab/core-components-calendar": "^7.13.0",
19
+ "@alfalab/core-components-date-input": "^4.4.3",
20
20
  "@alfalab/core-components-popover": "^6.3.1",
21
21
  "@alfalab/hooks": "^1.13.0",
22
22
  "@alfalab/icons-glyph": "^2.139.0",
@@ -25,6 +25,6 @@
25
25
  "react-merge-refs": "^1.1.0",
26
26
  "tslib": "^2.4.0"
27
27
  },
28
- "themesVersion": "13.2.0",
28
+ "themesVersion": "13.3.0",
29
29
  "varsVersion": "9.13.1"
30
30
  }