@alfalab/core-components-calendar-input 8.2.9 → 8.2.10

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.
@@ -211,6 +211,6 @@ declare const CalendarInput: React.ForwardRefExoticComponent<Omit<DateInputProps
211
211
  /**
212
212
  * Отображение компонента в мобильном или десктопном виде
213
213
  */
214
- view?: "desktop" | "mobile" | undefined;
214
+ view?: "mobile" | "desktop" | undefined;
215
215
  } & React.RefAttributes<HTMLInputElement>>;
216
216
  export { CalendarInputProps, CalendarInput };
@@ -19,7 +19,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
19
19
  var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
20
20
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
21
21
 
22
- var styles = {"component":"calendar-input__component_1wl7e","block":"calendar-input__block_1wl7e","calendarContainer":"calendar-input__calendarContainer_1wl7e","calendarResponsive":"calendar-input__calendarResponsive_1wl7e","calendarIcon":"calendar-input__calendarIcon_1wl7e","nativeInput":"calendar-input__nativeInput_1wl7e"};
22
+ var styles = {"component":"calendar-input__component_1n7rs","block":"calendar-input__block_1n7rs","calendarContainer":"calendar-input__calendarContainer_1n7rs","calendarResponsive":"calendar-input__calendarResponsive_1n7rs","calendarIcon":"calendar-input__calendarIcon_1n7rs","nativeInput":"calendar-input__nativeInput_1n7rs"};
23
23
  require('./index.css')
24
24
 
25
25
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1csm0 */
1
+ /* hash: 2y3kn */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -43,31 +43,31 @@
43
43
  } :root {
44
44
  --calendar-input-icon-color: var(--color-light-graphic-primary);
45
45
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_1wl7e {
46
+ } .calendar-input__component_1n7rs {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_1wl7e {
50
+ } .calendar-input__block_1n7rs {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_1wl7e {
52
+ } .calendar-input__calendarContainer_1n7rs {
53
53
  display: inline-block;
54
54
  box-sizing: border-box;
55
55
  border-radius: var(--calendar-input-popover-border-radius)
56
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1wl7e {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1n7rs {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_1wl7e {
60
+ } .calendar-input__calendarResponsive_1n7rs {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_1wl7e {
63
+ } .calendar-input__calendarIcon_1n7rs {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_1wl7e:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1n7rs:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_1wl7e {
70
+ } .calendar-input__nativeInput_1n7rs {
71
71
  opacity: 0;
72
72
  position: absolute;
73
73
  top: 0;
@@ -77,8 +77,8 @@
77
77
  -webkit-appearance: none;
78
78
  appearance: none;
79
79
  z-index: 1
80
- } .calendar-input__nativeInput_1wl7e::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1n7rs::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_1wl7e::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1n7rs::-webkit-inner-spin-button {
83
83
  display: none;
84
84
  }
@@ -211,6 +211,6 @@ declare const CalendarInput: React.ForwardRefExoticComponent<Omit<DateInputProps
211
211
  /**
212
212
  * Отображение компонента в мобильном или десктопном виде
213
213
  */
214
- view?: "desktop" | "mobile" | undefined;
214
+ view?: "mobile" | "desktop" | undefined;
215
215
  } & React.RefAttributes<HTMLInputElement>>;
216
216
  export { CalendarInputProps, CalendarInput };
@@ -211,6 +211,6 @@ declare const CalendarInput: React.ForwardRefExoticComponent<Omit<DateInputProps
211
211
  /**
212
212
  * Отображение компонента в мобильном или десктопном виде
213
213
  */
214
- view?: "desktop" | "mobile" | undefined;
214
+ view?: "mobile" | "desktop" | undefined;
215
215
  } & React.RefAttributes<HTMLInputElement>>;
216
216
  export { CalendarInputProps, CalendarInput };
@@ -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_1wl7e","block":"calendar-input__block_1wl7e","calendarContainer":"calendar-input__calendarContainer_1wl7e","calendarResponsive":"calendar-input__calendarResponsive_1wl7e","calendarIcon":"calendar-input__calendarIcon_1wl7e","nativeInput":"calendar-input__nativeInput_1wl7e"};
14
+ var styles = {"component":"calendar-input__component_1n7rs","block":"calendar-input__block_1n7rs","calendarContainer":"calendar-input__calendarContainer_1n7rs","calendarResponsive":"calendar-input__calendarResponsive_1n7rs","calendarIcon":"calendar-input__calendarIcon_1n7rs","nativeInput":"calendar-input__nativeInput_1n7rs"};
15
15
  require('./index.css')
16
16
 
17
17
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,4 +1,4 @@
1
- /* hash: 1csm0 */
1
+ /* hash: 2y3kn */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -43,31 +43,31 @@
43
43
  } :root {
44
44
  --calendar-input-icon-color: var(--color-light-graphic-primary);
45
45
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_1wl7e {
46
+ } .calendar-input__component_1n7rs {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_1wl7e {
50
+ } .calendar-input__block_1n7rs {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_1wl7e {
52
+ } .calendar-input__calendarContainer_1n7rs {
53
53
  display: inline-block;
54
54
  box-sizing: border-box;
55
55
  border-radius: var(--calendar-input-popover-border-radius)
56
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1wl7e {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1n7rs {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_1wl7e {
60
+ } .calendar-input__calendarResponsive_1n7rs {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_1wl7e {
63
+ } .calendar-input__calendarIcon_1n7rs {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_1wl7e:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1n7rs:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_1wl7e {
70
+ } .calendar-input__nativeInput_1n7rs {
71
71
  opacity: 0;
72
72
  position: absolute;
73
73
  top: 0;
@@ -77,8 +77,8 @@
77
77
  -webkit-appearance: none;
78
78
  appearance: none;
79
79
  z-index: 1
80
- } .calendar-input__nativeInput_1wl7e::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1n7rs::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_1wl7e::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1n7rs::-webkit-inner-spin-button {
83
83
  display: none;
84
84
  }
@@ -211,6 +211,6 @@ declare const CalendarInput: React.ForwardRefExoticComponent<Omit<DateInputProps
211
211
  /**
212
212
  * Отображение компонента в мобильном или десктопном виде
213
213
  */
214
- view?: "desktop" | "mobile" | undefined;
214
+ view?: "mobile" | "desktop" | undefined;
215
215
  } & React.RefAttributes<HTMLInputElement>>;
216
216
  export { CalendarInputProps, CalendarInput };
@@ -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_1wl7e","block":"calendar-input__block_1wl7e","calendarContainer":"calendar-input__calendarContainer_1wl7e","calendarResponsive":"calendar-input__calendarResponsive_1wl7e","calendarIcon":"calendar-input__calendarIcon_1wl7e","nativeInput":"calendar-input__nativeInput_1wl7e"};
13
+ const styles = {"component":"calendar-input__component_1n7rs","block":"calendar-input__block_1n7rs","calendarContainer":"calendar-input__calendarContainer_1n7rs","calendarResponsive":"calendar-input__calendarResponsive_1n7rs","calendarIcon":"calendar-input__calendarIcon_1n7rs","nativeInput":"calendar-input__nativeInput_1n7rs"};
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: 1csm0 */
1
+ /* hash: 2y3kn */
2
2
  :root {
3
3
  } /* deprecated */ :root {
4
4
  --color-light-graphic-primary: #0b1f35;
@@ -43,31 +43,31 @@
43
43
  } :root {
44
44
  --calendar-input-icon-color: var(--color-light-graphic-primary);
45
45
  --calendar-input-popover-border-radius: var(--border-radius-m);
46
- } .calendar-input__component_1wl7e {
46
+ } .calendar-input__component_1n7rs {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_1wl7e {
50
+ } .calendar-input__block_1n7rs {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_1wl7e {
52
+ } .calendar-input__calendarContainer_1n7rs {
53
53
  display: inline-block;
54
54
  box-sizing: border-box;
55
55
  border-radius: var(--calendar-input-popover-border-radius)
56
- } @media (max-width: 374px) { .calendar-input__calendarContainer_1wl7e {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1n7rs {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_1wl7e {
60
+ } .calendar-input__calendarResponsive_1n7rs {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_1wl7e {
63
+ } .calendar-input__calendarIcon_1n7rs {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_1wl7e:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1n7rs:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_1wl7e {
70
+ } .calendar-input__nativeInput_1n7rs {
71
71
  opacity: 0;
72
72
  position: absolute;
73
73
  top: 0;
@@ -77,8 +77,8 @@
77
77
  -webkit-appearance: none;
78
78
  appearance: none;
79
79
  z-index: 1
80
- } .calendar-input__nativeInput_1wl7e::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1n7rs::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_1wl7e::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1n7rs::-webkit-inner-spin-button {
83
83
  display: none;
84
84
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-calendar-input",
3
- "version": "8.2.9",
3
+ "version": "8.2.10",
4
4
  "description": "Calendar input component",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -18,7 +18,7 @@
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.9",
21
+ "@alfalab/core-components-calendar": "^6.2.10",
22
22
  "@alfalab/core-components-date-input": "^4.1.7",
23
23
  "@alfalab/core-components-popover": "^6.0.7",
24
24
  "@alfalab/hooks": "^1.7.0",