@alfalab/core-components-calendar-input 8.2.21 → 8.2.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.
@@ -21,7 +21,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
21
21
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
22
22
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
23
23
 
24
- var styles = {"component":"calendar-input__component_1ychn","block":"calendar-input__block_1ychn","calendarContainer":"calendar-input__calendarContainer_1ychn","calendarResponsive":"calendar-input__calendarResponsive_1ychn","calendarIcon":"calendar-input__calendarIcon_1ychn","nativeInput":"calendar-input__nativeInput_1ychn"};
24
+ var styles = {"component":"calendar-input__component_5n8y5","block":"calendar-input__block_5n8y5","calendarContainer":"calendar-input__calendarContainer_5n8y5","calendarResponsive":"calendar-input__calendarResponsive_5n8y5","calendarIcon":"calendar-input__calendarIcon_5n8y5","nativeInput":"calendar-input__nativeInput_5n8y5"};
25
25
  require('./index.css')
26
26
 
27
27
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1gfve */
1
+ /* hash: 4t2m2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -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_1ychn {
47
+ } .calendar-input__component_5n8y5 {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1ychn {
51
+ } .calendar-input__block_5n8y5 {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1ychn {
53
+ } .calendar-input__calendarContainer_5n8y5 {
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_1ychn {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_5n8y5 {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1ychn {
62
+ } .calendar-input__calendarResponsive_5n8y5 {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1ychn {
65
+ } .calendar-input__calendarIcon_5n8y5 {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1ychn:not(:only-child) {
70
+ } .calendar-input__calendarIcon_5n8y5:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1ychn {
72
+ } .calendar-input__nativeInput_5n8y5 {
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_1ychn::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_5n8y5::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1ychn::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_5n8y5::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
@@ -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_1ychn","block":"calendar-input__block_1ychn","calendarContainer":"calendar-input__calendarContainer_1ychn","calendarResponsive":"calendar-input__calendarResponsive_1ychn","calendarIcon":"calendar-input__calendarIcon_1ychn","nativeInput":"calendar-input__nativeInput_1ychn"};
14
+ var styles = {"component":"calendar-input__component_5n8y5","block":"calendar-input__block_5n8y5","calendarContainer":"calendar-input__calendarContainer_5n8y5","calendarResponsive":"calendar-input__calendarResponsive_5n8y5","calendarIcon":"calendar-input__calendarIcon_5n8y5","nativeInput":"calendar-input__nativeInput_5n8y5"};
15
15
  require('./index.css')
16
16
 
17
17
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1gfve */
1
+ /* hash: 4t2m2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -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_1ychn {
47
+ } .calendar-input__component_5n8y5 {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1ychn {
51
+ } .calendar-input__block_5n8y5 {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1ychn {
53
+ } .calendar-input__calendarContainer_5n8y5 {
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_1ychn {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_5n8y5 {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1ychn {
62
+ } .calendar-input__calendarResponsive_5n8y5 {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1ychn {
65
+ } .calendar-input__calendarIcon_5n8y5 {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1ychn:not(:only-child) {
70
+ } .calendar-input__calendarIcon_5n8y5:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1ychn {
72
+ } .calendar-input__nativeInput_5n8y5 {
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_1ychn::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_5n8y5::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1ychn::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_5n8y5::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
@@ -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_1ychn","block":"calendar-input__block_1ychn","calendarContainer":"calendar-input__calendarContainer_1ychn","calendarResponsive":"calendar-input__calendarResponsive_1ychn","calendarIcon":"calendar-input__calendarIcon_1ychn","nativeInput":"calendar-input__nativeInput_1ychn"};
13
+ const styles = {"component":"calendar-input__component_5n8y5","block":"calendar-input__block_5n8y5","calendarContainer":"calendar-input__calendarContainer_5n8y5","calendarResponsive":"calendar-input__calendarResponsive_5n8y5","calendarIcon":"calendar-input__calendarIcon_5n8y5","nativeInput":"calendar-input__nativeInput_5n8y5"};
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,4 +1,4 @@
1
- /* hash: 1gfve */
1
+ /* hash: 4t2m2 */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-border-secondary: #e9e9eb;
@@ -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_1ychn {
47
+ } .calendar-input__component_5n8y5 {
48
48
  display: inline-block;
49
49
  outline: none;
50
50
  position: relative;
51
- } .calendar-input__block_1ychn {
51
+ } .calendar-input__block_5n8y5 {
52
52
  width: 100%;
53
- } .calendar-input__calendarContainer_1ychn {
53
+ } .calendar-input__calendarContainer_5n8y5 {
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_1ychn {
58
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_5n8y5 {
59
59
  width: 100%;
60
60
  min-width: 288px
61
61
  }
62
- } .calendar-input__calendarResponsive_1ychn {
62
+ } .calendar-input__calendarResponsive_5n8y5 {
63
63
  width: var(--calendar-width);
64
64
  padding: 0 var(--gap-m);
65
- } .calendar-input__calendarIcon_1ychn {
65
+ } .calendar-input__calendarIcon_5n8y5 {
66
66
  width: 24px;
67
67
  height: 24px;
68
68
  display: block;
69
69
  color: var(--calendar-input-icon-color)
70
- } .calendar-input__calendarIcon_1ychn:not(:only-child) {
70
+ } .calendar-input__calendarIcon_5n8y5:not(:only-child) {
71
71
  margin-right: var(--gap-2xs);
72
- } .calendar-input__nativeInput_1ychn {
72
+ } .calendar-input__nativeInput_5n8y5 {
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_1ychn::-webkit-calendar-picker-indicator {
82
+ } .calendar-input__nativeInput_5n8y5::-webkit-calendar-picker-indicator {
83
83
  display: none;
84
- } .calendar-input__nativeInput_1ychn::-webkit-inner-spin-button {
84
+ } .calendar-input__nativeInput_5n8y5::-webkit-inner-spin-button {
85
85
  display: none;
86
86
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "8.2.21",
3
+ "version": "8.2.23",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,8 +18,8 @@
18
18
  "react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
19
19
  },
20
20
  "dependencies": {
21
- "@alfalab/core-components-calendar": "^6.3.0",
22
- "@alfalab/core-components-date-input": "^4.2.3",
21
+ "@alfalab/core-components-calendar": "^6.3.2",
22
+ "@alfalab/core-components-date-input": "^4.2.5",
23
23
  "@alfalab/core-components-popover": "^6.0.8",
24
24
  "@alfalab/hooks": "^1.7.0",
25
25
  "classnames": "^2.3.1",