@alfalab/core-components-calendar-input 8.2.7 → 8.2.8

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.
Files changed (35) hide show
  1. package/{Component-e779a21c.d.ts → Component-60ae032f.d.ts} +0 -0
  2. package/{Component-e779a21c.js → Component-60ae032f.js} +1 -1
  3. package/Component.desktop.d.ts +1 -1
  4. package/Component.desktop.js +1 -1
  5. package/Component.mobile.d.ts +1 -1
  6. package/Component.mobile.js +1 -1
  7. package/Component.responsive.d.ts +1 -1
  8. package/Component.responsive.js +1 -1
  9. package/components/calendar-input/Component.js +1 -1
  10. package/components/calendar-input/index.css +11 -11
  11. package/components/calendar-input/index.d.ts +1 -1
  12. package/components/calendar-input/index.js +1 -1
  13. package/desktop.js +1 -1
  14. package/esm/{Component-e2c1f213.d.ts → Component-6e641637.d.ts} +0 -0
  15. package/esm/{Component-e2c1f213.js → Component-6e641637.js} +1 -1
  16. package/esm/Component.desktop.d.ts +1 -1
  17. package/esm/Component.desktop.js +1 -1
  18. package/esm/Component.mobile.d.ts +1 -1
  19. package/esm/Component.mobile.js +1 -1
  20. package/esm/Component.responsive.d.ts +1 -1
  21. package/esm/Component.responsive.js +1 -1
  22. package/esm/components/calendar-input/Component.js +1 -1
  23. package/esm/components/calendar-input/index.css +11 -11
  24. package/esm/components/calendar-input/index.d.ts +1 -1
  25. package/esm/components/calendar-input/index.js +1 -1
  26. package/esm/desktop.js +1 -1
  27. package/esm/index.js +1 -1
  28. package/esm/mobile.js +1 -1
  29. package/esm/responsive.js +1 -1
  30. package/index.js +1 -1
  31. package/mobile.js +1 -1
  32. package/modern/components/calendar-input/Component.js +1 -1
  33. package/modern/components/calendar-input/index.css +11 -11
  34. package/package.json +3 -3
  35. package/responsive.js +1 -1
@@ -54,7 +54,7 @@ function __rest(s, e) {
54
54
  return t;
55
55
  }
56
56
 
57
- var styles = {"component":"calendar-input__component_14cog","block":"calendar-input__block_14cog","calendarContainer":"calendar-input__calendarContainer_14cog","calendarResponsive":"calendar-input__calendarResponsive_14cog","calendarIcon":"calendar-input__calendarIcon_14cog","nativeInput":"calendar-input__nativeInput_14cog"};
57
+ var styles = {"component":"calendar-input__component_1dwtp","block":"calendar-input__block_1dwtp","calendarContainer":"calendar-input__calendarContainer_1dwtp","calendarResponsive":"calendar-input__calendarResponsive_1dwtp","calendarIcon":"calendar-input__calendarIcon_1dwtp","nativeInput":"calendar-input__nativeInput_1dwtp"};
58
58
  require('./components/calendar-input/index.css')
59
59
 
60
60
  var CalendarInput = React.forwardRef(function (_a, ref) {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e779a21c";
2
+ import { CalendarInputProps } from "./Component-60ae032f";
3
3
  type CalendarInputDesktopProps = Omit<CalendarInputProps, 'view'>;
4
4
  declare const CalendarInputDesktop: FC<CalendarInputDesktopProps>;
5
5
  export { CalendarInputDesktopProps, CalendarInputDesktop };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_calendarInput_Component = require('./Component-e779a21c.js');
3
+ var components_calendarInput_Component = require('./Component-60ae032f.js');
4
4
  var React = require('react');
5
5
  require('react-merge-refs');
6
6
  require('classnames');
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e779a21c";
2
+ import { CalendarInputProps } from "./Component-60ae032f";
3
3
  type CalendarInputMobileProps = Omit<CalendarInputProps, 'view'>;
4
4
  declare const CalendarInputMobile: FC<CalendarInputMobileProps>;
5
5
  export { CalendarInputMobileProps, CalendarInputMobile };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_calendarInput_Component = require('./Component-e779a21c.js');
3
+ var components_calendarInput_Component = require('./Component-60ae032f.js');
4
4
  var React = require('react');
5
5
  var coreComponentsCalendar = require('@alfalab/core-components-calendar');
6
6
  require('react-merge-refs');
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e779a21c";
2
+ import { CalendarInputProps } from "./Component-60ae032f";
3
3
  type CalendarInputResponsiveProps = Omit<CalendarInputProps, 'view'> & {
4
4
  /**
5
5
  * Контрольная точка, с нее начинается desktop версия
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_calendarInput_Component = require('./Component-e779a21c.js');
3
+ var components_calendarInput_Component = require('./Component-60ae032f.js');
4
4
  var React = require('react');
5
5
  var hooks = require('@alfalab/hooks');
6
6
  var Component_desktop = require('./Component.desktop.js');
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_calendarInput_Component = require('../../Component-e779a21c.js');
3
+ var components_calendarInput_Component = require('../../Component-60ae032f.js');
4
4
  require('react');
5
5
  require('react-merge-refs');
6
6
  require('classnames');
@@ -1,4 +1,4 @@
1
- /* hash: qg9io */
1
+ /* hash: 9cpr5 */
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_14cog {
46
+ } .calendar-input__component_1dwtp {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_14cog {
50
+ } .calendar-input__block_1dwtp {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_14cog {
52
+ } .calendar-input__calendarContainer_1dwtp {
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_14cog {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1dwtp {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_14cog {
60
+ } .calendar-input__calendarResponsive_1dwtp {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_14cog {
63
+ } .calendar-input__calendarIcon_1dwtp {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_14cog:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1dwtp:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_14cog {
70
+ } .calendar-input__nativeInput_1dwtp {
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_14cog::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1dwtp::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_14cog::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1dwtp::-webkit-inner-spin-button {
83
83
  display: none;
84
84
  }
@@ -1 +1 @@
1
- export * from "../../Component-e779a21c";
1
+ export * from "../../Component-60ae032f";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_calendarInput_Component = require('../../Component-e779a21c.js');
3
+ var components_calendarInput_Component = require('../../Component-60ae032f.js');
4
4
  require('react');
5
5
  require('react-merge-refs');
6
6
  require('classnames');
package/desktop.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component_desktop = require('./Component.desktop.js');
4
- require('./Component-e779a21c.js');
4
+ require('./Component-60ae032f.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -46,7 +46,7 @@ function __rest(s, e) {
46
46
  return t;
47
47
  }
48
48
 
49
- var styles = {"component":"calendar-input__component_14cog","block":"calendar-input__block_14cog","calendarContainer":"calendar-input__calendarContainer_14cog","calendarResponsive":"calendar-input__calendarResponsive_14cog","calendarIcon":"calendar-input__calendarIcon_14cog","nativeInput":"calendar-input__nativeInput_14cog"};
49
+ var styles = {"component":"calendar-input__component_1dwtp","block":"calendar-input__block_1dwtp","calendarContainer":"calendar-input__calendarContainer_1dwtp","calendarResponsive":"calendar-input__calendarResponsive_1dwtp","calendarIcon":"calendar-input__calendarIcon_1dwtp","nativeInput":"calendar-input__nativeInput_1dwtp"};
50
50
  require('./components/calendar-input/index.css')
51
51
 
52
52
  var CalendarInput = forwardRef(function (_a, ref) {
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e2c1f213";
2
+ import { CalendarInputProps } from "./Component-6e641637";
3
3
  type CalendarInputDesktopProps = Omit<CalendarInputProps, 'view'>;
4
4
  declare const CalendarInputDesktop: FC<CalendarInputDesktopProps>;
5
5
  export { CalendarInputDesktopProps, CalendarInputDesktop };
@@ -1,4 +1,4 @@
1
- import { C as CalendarInput, _ as __assign } from './Component-e2c1f213.js';
1
+ import { C as CalendarInput, _ as __assign } from './Component-6e641637.js';
2
2
  import React from 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e2c1f213";
2
+ import { CalendarInputProps } from "./Component-6e641637";
3
3
  type CalendarInputMobileProps = Omit<CalendarInputProps, 'view'>;
4
4
  declare const CalendarInputMobile: FC<CalendarInputMobileProps>;
5
5
  export { CalendarInputMobileProps, CalendarInputMobile };
@@ -1,4 +1,4 @@
1
- import { C as CalendarInput, _ as __assign } from './Component-e2c1f213.js';
1
+ import { C as CalendarInput, _ as __assign } from './Component-6e641637.js';
2
2
  import React from 'react';
3
3
  import { CalendarMobile } from '@alfalab/core-components-calendar/esm';
4
4
  import 'react-merge-refs';
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { CalendarInputProps } from "./Component-e2c1f213";
2
+ import { CalendarInputProps } from "./Component-6e641637";
3
3
  type CalendarInputResponsiveProps = Omit<CalendarInputProps, 'view'> & {
4
4
  /**
5
5
  * Контрольная точка, с нее начинается desktop версия
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from './Component-e2c1f213.js';
1
+ import { a as __rest, _ as __assign } from './Component-6e641637.js';
2
2
  import React from 'react';
3
3
  import { useMedia } from '@alfalab/hooks';
4
4
  import { CalendarInputDesktop } from './Component.desktop.js';
@@ -1,4 +1,4 @@
1
- export { C as CalendarInput } from '../../Component-e2c1f213.js';
1
+ export { C as CalendarInput } from '../../Component-6e641637.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- /* hash: qg9io */
1
+ /* hash: 9cpr5 */
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_14cog {
46
+ } .calendar-input__component_1dwtp {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_14cog {
50
+ } .calendar-input__block_1dwtp {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_14cog {
52
+ } .calendar-input__calendarContainer_1dwtp {
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_14cog {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1dwtp {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_14cog {
60
+ } .calendar-input__calendarResponsive_1dwtp {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_14cog {
63
+ } .calendar-input__calendarIcon_1dwtp {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_14cog:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1dwtp:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_14cog {
70
+ } .calendar-input__nativeInput_1dwtp {
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_14cog::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1dwtp::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_14cog::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1dwtp::-webkit-inner-spin-button {
83
83
  display: none;
84
84
  }
@@ -1 +1 @@
1
- export * from "../../Component-e2c1f213";
1
+ export * from "../../Component-6e641637";
@@ -1,4 +1,4 @@
1
- export { C as CalendarInput } from '../../Component-e2c1f213.js';
1
+ export { C as CalendarInput } from '../../Component-6e641637.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
package/esm/desktop.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CalendarInputDesktop } from './Component.desktop.js';
2
- import './Component-e2c1f213.js';
2
+ import './Component-6e641637.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/esm/index.js CHANGED
@@ -1,6 +1,6 @@
1
1
  export { CalendarInputResponsive as CalendarInput } from './Component.responsive.js';
2
2
  export { DATE_FORMAT, DATE_MASK, IS_BROWSER, NATIVE_DATE_FORMAT, SUPPORTS_INPUT_TYPE_DATE, formatDate, isInputDateSupported, isValidInputValue, parseDateString } from './utils.js';
3
- import './Component-e2c1f213.js';
3
+ import './Component-6e641637.js';
4
4
  import 'react';
5
5
  import 'react-merge-refs';
6
6
  import 'classnames';
package/esm/mobile.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CalendarInputMobile } from './Component.mobile.js';
2
- import './Component-e2c1f213.js';
2
+ import './Component-6e641637.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/esm/responsive.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { CalendarInputResponsive } from './Component.responsive.js';
2
- import './Component-e2c1f213.js';
2
+ import './Component-6e641637.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/index.js CHANGED
@@ -2,7 +2,7 @@
2
2
 
3
3
  var Component_responsive = require('./Component.responsive.js');
4
4
  var utils = require('./utils.js');
5
- require('./Component-e779a21c.js');
5
+ require('./Component-60ae032f.js');
6
6
  require('react');
7
7
  require('react-merge-refs');
8
8
  require('classnames');
package/mobile.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component_mobile = require('./Component.mobile.js');
4
- require('./Component-e779a21c.js');
4
+ require('./Component-60ae032f.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -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_14cog","block":"calendar-input__block_14cog","calendarContainer":"calendar-input__calendarContainer_14cog","calendarResponsive":"calendar-input__calendarResponsive_14cog","calendarIcon":"calendar-input__calendarIcon_14cog","nativeInput":"calendar-input__nativeInput_14cog"};
13
+ const styles = {"component":"calendar-input__component_1dwtp","block":"calendar-input__block_1dwtp","calendarContainer":"calendar-input__calendarContainer_1dwtp","calendarResponsive":"calendar-input__calendarResponsive_1dwtp","calendarIcon":"calendar-input__calendarIcon_1dwtp","nativeInput":"calendar-input__nativeInput_1dwtp"};
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: qg9io */
1
+ /* hash: 9cpr5 */
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_14cog {
46
+ } .calendar-input__component_1dwtp {
47
47
  display: inline-block;
48
48
  outline: none;
49
49
  position: relative;
50
- } .calendar-input__block_14cog {
50
+ } .calendar-input__block_1dwtp {
51
51
  width: 100%;
52
- } .calendar-input__calendarContainer_14cog {
52
+ } .calendar-input__calendarContainer_1dwtp {
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_14cog {
56
+ } @media (max-width: 374px) { .calendar-input__calendarContainer_1dwtp {
57
57
  width: 100%;
58
58
  min-width: 288px
59
59
  }
60
- } .calendar-input__calendarResponsive_14cog {
60
+ } .calendar-input__calendarResponsive_1dwtp {
61
61
  width: var(--calendar-width);
62
62
  padding: 0 var(--gap-m);
63
- } .calendar-input__calendarIcon_14cog {
63
+ } .calendar-input__calendarIcon_1dwtp {
64
64
  width: 24px;
65
65
  height: 24px;
66
66
  display: block;
67
67
  color: var(--calendar-input-icon-color)
68
- } .calendar-input__calendarIcon_14cog:not(:only-child) {
68
+ } .calendar-input__calendarIcon_1dwtp:not(:only-child) {
69
69
  margin-right: var(--gap-2xs);
70
- } .calendar-input__nativeInput_14cog {
70
+ } .calendar-input__nativeInput_1dwtp {
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_14cog::-webkit-calendar-picker-indicator {
80
+ } .calendar-input__nativeInput_1dwtp::-webkit-calendar-picker-indicator {
81
81
  display: none;
82
- } .calendar-input__nativeInput_14cog::-webkit-inner-spin-button {
82
+ } .calendar-input__nativeInput_1dwtp::-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.7",
3
+ "version": "8.2.8",
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.2.7",
22
- "@alfalab/core-components-date-input": "^4.1.5",
21
+ "@alfalab/core-components-calendar": "^6.2.8",
22
+ "@alfalab/core-components-date-input": "^4.1.6",
23
23
  "@alfalab/core-components-popover": "^6.0.6",
24
24
  "@alfalab/hooks": "^1.7.0",
25
25
  "classnames": "^2.3.1",
package/responsive.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component_responsive = require('./Component.responsive.js');
4
- require('./Component-e779a21c.js');
4
+ require('./Component-60ae032f.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');