@alfalab/core-components-calendar-input 10.4.21 → 10.4.23

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_99xj3","block":"calendar-input__block_99xj3","calendarContainer":"calendar-input__calendarContainer_99xj3","calendarResponsive":"calendar-input__calendarResponsive_99xj3","calendarIcon":"calendar-input__calendarIcon_99xj3","nativeInput":"calendar-input__nativeInput_99xj3"};
21
+ var styles = {"component":"calendar-input__component_prarb","block":"calendar-input__block_prarb","calendarContainer":"calendar-input__calendarContainer_prarb","calendarResponsive":"calendar-input__calendarResponsive_prarb","calendarIcon":"calendar-input__calendarIcon_prarb","nativeInput":"calendar-input__nativeInput_prarb"};
22
22
  require('./index.css')
23
23
 
24
24
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: jdzjm */
1
+ /* hash: 1gltn */
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;
@@ -53,31 +53,31 @@
53
53
  } :root {
54
54
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
55
55
  --calendar-input-popover-border-radius: var(--border-radius-8);
56
- } .calendar-input__component_99xj3 {
56
+ } .calendar-input__component_prarb {
57
57
  display: inline-block;
58
58
  outline: none;
59
59
  position: relative;
60
- } .calendar-input__block_99xj3 {
60
+ } .calendar-input__block_prarb {
61
61
  width: 100%;
62
- } .calendar-input__calendarContainer_99xj3 {
62
+ } .calendar-input__calendarContainer_prarb {
63
63
  display: inline-block;
64
64
  box-sizing: border-box;
65
65
  border-radius: var(--calendar-input-popover-border-radius);
66
66
  border: 1px solid var(--color-light-neutral-300)
67
- } @media (max-width: 374px) { .calendar-input__calendarContainer_99xj3 {
67
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_prarb {
68
68
  width: 100%;
69
69
  min-width: 288px
70
70
  }
71
- } .calendar-input__calendarResponsive_99xj3 {
71
+ } .calendar-input__calendarResponsive_prarb {
72
72
  width: var(--calendar-width);
73
- } .calendar-input__calendarIcon_99xj3 {
73
+ } .calendar-input__calendarIcon_prarb {
74
74
  width: 24px;
75
75
  height: 24px;
76
76
  display: block;
77
77
  color: var(--calendar-input-icon-color)
78
- } .calendar-input__calendarIcon_99xj3:not(:only-child) {
78
+ } .calendar-input__calendarIcon_prarb:not(:only-child) {
79
79
  margin-right: var(--gap-4);
80
- } .calendar-input__nativeInput_99xj3 {
80
+ } .calendar-input__nativeInput_prarb {
81
81
  opacity: 0;
82
82
  position: absolute;
83
83
  top: var(--gap-0);
@@ -86,8 +86,8 @@
86
86
  height: 100%;
87
87
  appearance: none;
88
88
  z-index: 1
89
- } .calendar-input__nativeInput_99xj3::-webkit-calendar-picker-indicator {
89
+ } .calendar-input__nativeInput_prarb::-webkit-calendar-picker-indicator {
90
90
  display: none;
91
- } .calendar-input__nativeInput_99xj3::-webkit-inner-spin-button {
91
+ } .calendar-input__nativeInput_prarb::-webkit-inner-spin-button {
92
92
  display: none;
93
93
  }
@@ -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_99xj3","block":"calendar-input__block_99xj3","calendarContainer":"calendar-input__calendarContainer_99xj3","calendarResponsive":"calendar-input__calendarResponsive_99xj3","calendarIcon":"calendar-input__calendarIcon_99xj3","nativeInput":"calendar-input__nativeInput_99xj3"};
11
+ var styles = {"component":"calendar-input__component_prarb","block":"calendar-input__block_prarb","calendarContainer":"calendar-input__calendarContainer_prarb","calendarResponsive":"calendar-input__calendarResponsive_prarb","calendarIcon":"calendar-input__calendarIcon_prarb","nativeInput":"calendar-input__nativeInput_prarb"};
12
12
  require('./index.css')
13
13
 
14
14
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: jdzjm */
1
+ /* hash: 1gltn */
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;
@@ -53,31 +53,31 @@
53
53
  } :root {
54
54
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
55
55
  --calendar-input-popover-border-radius: var(--border-radius-8);
56
- } .calendar-input__component_99xj3 {
56
+ } .calendar-input__component_prarb {
57
57
  display: inline-block;
58
58
  outline: none;
59
59
  position: relative;
60
- } .calendar-input__block_99xj3 {
60
+ } .calendar-input__block_prarb {
61
61
  width: 100%;
62
- } .calendar-input__calendarContainer_99xj3 {
62
+ } .calendar-input__calendarContainer_prarb {
63
63
  display: inline-block;
64
64
  box-sizing: border-box;
65
65
  border-radius: var(--calendar-input-popover-border-radius);
66
66
  border: 1px solid var(--color-light-neutral-300)
67
- } @media (max-width: 374px) { .calendar-input__calendarContainer_99xj3 {
67
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_prarb {
68
68
  width: 100%;
69
69
  min-width: 288px
70
70
  }
71
- } .calendar-input__calendarResponsive_99xj3 {
71
+ } .calendar-input__calendarResponsive_prarb {
72
72
  width: var(--calendar-width);
73
- } .calendar-input__calendarIcon_99xj3 {
73
+ } .calendar-input__calendarIcon_prarb {
74
74
  width: 24px;
75
75
  height: 24px;
76
76
  display: block;
77
77
  color: var(--calendar-input-icon-color)
78
- } .calendar-input__calendarIcon_99xj3:not(:only-child) {
78
+ } .calendar-input__calendarIcon_prarb:not(:only-child) {
79
79
  margin-right: var(--gap-4);
80
- } .calendar-input__nativeInput_99xj3 {
80
+ } .calendar-input__nativeInput_prarb {
81
81
  opacity: 0;
82
82
  position: absolute;
83
83
  top: var(--gap-0);
@@ -86,8 +86,8 @@
86
86
  height: 100%;
87
87
  appearance: none;
88
88
  z-index: 1
89
- } .calendar-input__nativeInput_99xj3::-webkit-calendar-picker-indicator {
89
+ } .calendar-input__nativeInput_prarb::-webkit-calendar-picker-indicator {
90
90
  display: none;
91
- } .calendar-input__nativeInput_99xj3::-webkit-inner-spin-button {
91
+ } .calendar-input__nativeInput_prarb::-webkit-inner-spin-button {
92
92
  display: none;
93
93
  }
@@ -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_99xj3","block":"calendar-input__block_99xj3","calendarContainer":"calendar-input__calendarContainer_99xj3","calendarResponsive":"calendar-input__calendarResponsive_99xj3","calendarIcon":"calendar-input__calendarIcon_99xj3","nativeInput":"calendar-input__nativeInput_99xj3"};
10
+ const styles = {"component":"calendar-input__component_prarb","block":"calendar-input__block_prarb","calendarContainer":"calendar-input__calendarContainer_prarb","calendarResponsive":"calendar-input__calendarResponsive_prarb","calendarIcon":"calendar-input__calendarIcon_prarb","nativeInput":"calendar-input__nativeInput_prarb"};
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: jdzjm */
1
+ /* hash: 1gltn */
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;
@@ -53,31 +53,31 @@
53
53
  } :root {
54
54
  --calendar-input-icon-color: var(--color-light-neutral-translucent-700);
55
55
  --calendar-input-popover-border-radius: var(--border-radius-8);
56
- } .calendar-input__component_99xj3 {
56
+ } .calendar-input__component_prarb {
57
57
  display: inline-block;
58
58
  outline: none;
59
59
  position: relative;
60
- } .calendar-input__block_99xj3 {
60
+ } .calendar-input__block_prarb {
61
61
  width: 100%;
62
- } .calendar-input__calendarContainer_99xj3 {
62
+ } .calendar-input__calendarContainer_prarb {
63
63
  display: inline-block;
64
64
  box-sizing: border-box;
65
65
  border-radius: var(--calendar-input-popover-border-radius);
66
66
  border: 1px solid var(--color-light-neutral-300)
67
- } @media (max-width: 374px) { .calendar-input__calendarContainer_99xj3 {
67
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_prarb {
68
68
  width: 100%;
69
69
  min-width: 288px
70
70
  }
71
- } .calendar-input__calendarResponsive_99xj3 {
71
+ } .calendar-input__calendarResponsive_prarb {
72
72
  width: var(--calendar-width);
73
- } .calendar-input__calendarIcon_99xj3 {
73
+ } .calendar-input__calendarIcon_prarb {
74
74
  width: 24px;
75
75
  height: 24px;
76
76
  display: block;
77
77
  color: var(--calendar-input-icon-color)
78
- } .calendar-input__calendarIcon_99xj3:not(:only-child) {
78
+ } .calendar-input__calendarIcon_prarb:not(:only-child) {
79
79
  margin-right: var(--gap-4);
80
- } .calendar-input__nativeInput_99xj3 {
80
+ } .calendar-input__nativeInput_prarb {
81
81
  opacity: 0;
82
82
  position: absolute;
83
83
  top: var(--gap-0);
@@ -86,8 +86,8 @@
86
86
  height: 100%;
87
87
  appearance: none;
88
88
  z-index: 1
89
- } .calendar-input__nativeInput_99xj3::-webkit-calendar-picker-indicator {
89
+ } .calendar-input__nativeInput_prarb::-webkit-calendar-picker-indicator {
90
90
  display: none;
91
- } .calendar-input__nativeInput_99xj3::-webkit-inner-spin-button {
91
+ } .calendar-input__nativeInput_prarb::-webkit-inner-spin-button {
92
92
  display: none;
93
93
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "10.4.21",
3
+ "version": "10.4.23",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,8 +16,8 @@
16
16
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
17
17
  },
18
18
  "dependencies": {
19
- "@alfalab/core-components-calendar": "^7.17.11",
20
- "@alfalab/core-components-date-input": "^4.4.14",
19
+ "@alfalab/core-components-calendar": "^7.17.13",
20
+ "@alfalab/core-components-date-input": "^4.4.15",
21
21
  "@alfalab/core-components-mq": "^4.4.1",
22
22
  "@alfalab/core-components-popover": "^6.3.8",
23
23
  "@alfalab/hooks": "^1.13.1",
@@ -28,6 +28,6 @@
28
28
  "tslib": "^2.4.0",
29
29
  "@alfalab/core-components-shared": "^0.16.0"
30
30
  },
31
- "themesVersion": "13.7.1",
31
+ "themesVersion": "13.7.2",
32
32
  "varsVersion": "9.18.0"
33
33
  }