@alfalab/core-components-date-range-input 2.2.2 → 2.2.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.
Files changed (35) hide show
  1. package/{Component-fd7fd8ef.d.ts → Component-9a6da64e.d.ts} +0 -0
  2. package/{Component-fd7fd8ef.js → Component-9a6da64e.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/date-range-input/Component.js +1 -1
  10. package/components/date-range-input/index.css +6 -6
  11. package/components/date-range-input/index.d.ts +1 -1
  12. package/components/date-range-input/index.js +1 -1
  13. package/desktop.js +1 -1
  14. package/esm/{Component-550f221e.d.ts → Component-61c161e7.d.ts} +0 -0
  15. package/esm/{Component-550f221e.js → Component-61c161e7.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/date-range-input/Component.js +1 -1
  23. package/esm/components/date-range-input/index.css +6 -6
  24. package/esm/components/date-range-input/index.d.ts +1 -1
  25. package/esm/components/date-range-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/date-range-input/Component.js +1 -1
  33. package/modern/components/date-range-input/index.css +6 -6
  34. package/package.json +3 -3
  35. package/responsive.js +1 -1
@@ -58,7 +58,7 @@ function __rest(s, e) {
58
58
  return t;
59
59
  }
60
60
 
61
- var styles = {"component":"date-range-input__component_a0llm","calendarContainer":"date-range-input__calendarContainer_a0llm","calendarResponsive":"date-range-input__calendarResponsive_a0llm","block":"date-range-input__block_a0llm"};
61
+ var styles = {"component":"date-range-input__component_gu60y","calendarContainer":"date-range-input__calendarContainer_gu60y","calendarResponsive":"date-range-input__calendarResponsive_gu60y","block":"date-range-input__block_gu60y"};
62
62
  require('./components/date-range-input/index.css')
63
63
 
64
64
  /* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DateRangeInputProps } from "./Component-fd7fd8ef";
2
+ import { DateRangeInputProps } from "./Component-9a6da64e";
3
3
  type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view'>;
4
4
  declare const DateRangeInputDesktop: FC<DateRangeInputDesktopProps>;
5
5
  export { DateRangeInputDesktopProps, DateRangeInputDesktop };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_dateRangeInput_Component = require('./Component-fd7fd8ef.js');
3
+ var components_dateRangeInput_Component = require('./Component-9a6da64e.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 { DateRangeInputProps } from "./Component-fd7fd8ef";
2
+ import { DateRangeInputProps } from "./Component-9a6da64e";
3
3
  type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view'>;
4
4
  declare const DateRangeInputMobile: FC<DateRangeInputMobileProps>;
5
5
  export { DateRangeInputMobileProps, DateRangeInputMobile };
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_dateRangeInput_Component = require('./Component-fd7fd8ef.js');
3
+ var components_dateRangeInput_Component = require('./Component-9a6da64e.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 { DateRangeInputProps } from "./Component-fd7fd8ef";
2
+ import { DateRangeInputProps } from "./Component-9a6da64e";
3
3
  type DateRangeInputResponsiveProps = Omit<DateRangeInputProps, 'view'> & {
4
4
  /**
5
5
  * Контрольная точка, с нее начинается desktop версия
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_dateRangeInput_Component = require('./Component-fd7fd8ef.js');
3
+ var components_dateRangeInput_Component = require('./Component-9a6da64e.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_dateRangeInput_Component = require('../../Component-fd7fd8ef.js');
3
+ var components_dateRangeInput_Component = require('../../Component-9a6da64e.js');
4
4
  require('react');
5
5
  require('react-merge-refs');
6
6
  require('classnames');
@@ -1,4 +1,4 @@
1
- /* hash: lj7cp */
1
+ /* hash: wjsyj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -39,26 +39,26 @@
39
39
  :root {
40
40
  --calendar-popover-border-radius: var(--border-radius-m);
41
41
  }
42
- .date-range-input__component_a0llm {
42
+ .date-range-input__component_gu60y {
43
43
  display: inline-block;
44
44
  outline: none;
45
45
  position: relative;
46
46
  }
47
- .date-range-input__calendarContainer_a0llm {
47
+ .date-range-input__calendarContainer_gu60y {
48
48
  display: inline-block;
49
49
  box-sizing: border-box;
50
50
  border-radius: var(--calendar-popover-border-radius)
51
51
  }
52
52
  @media (max-width: 374px) {
53
- .date-range-input__calendarContainer_a0llm {
53
+ .date-range-input__calendarContainer_gu60y {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
57
  }
58
- .date-range-input__calendarResponsive_a0llm {
58
+ .date-range-input__calendarResponsive_gu60y {
59
59
  width: var(--calendar-width);
60
60
  padding: 0 var(--gap-m);
61
61
  }
62
- .date-range-input__block_a0llm {
62
+ .date-range-input__block_gu60y {
63
63
  width: 100%;
64
64
  }
@@ -1 +1 @@
1
- export * from "../../Component-fd7fd8ef";
1
+ export * from "../../Component-9a6da64e";
@@ -1,6 +1,6 @@
1
1
  'use strict';
2
2
 
3
- var components_dateRangeInput_Component = require('../../Component-fd7fd8ef.js');
3
+ var components_dateRangeInput_Component = require('../../Component-9a6da64e.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-fd7fd8ef.js');
4
+ require('./Component-9a6da64e.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -49,7 +49,7 @@ function __rest(s, e) {
49
49
  return t;
50
50
  }
51
51
 
52
- var styles = {"component":"date-range-input__component_a0llm","calendarContainer":"date-range-input__calendarContainer_a0llm","calendarResponsive":"date-range-input__calendarResponsive_a0llm","block":"date-range-input__block_a0llm"};
52
+ var styles = {"component":"date-range-input__component_gu60y","calendarContainer":"date-range-input__calendarContainer_gu60y","calendarResponsive":"date-range-input__calendarResponsive_gu60y","block":"date-range-input__block_gu60y"};
53
53
  require('./components/date-range-input/index.css')
54
54
 
55
55
  /* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
@@ -1,5 +1,5 @@
1
1
  import { FC } from 'react';
2
- import { DateRangeInputProps } from "./Component-550f221e";
2
+ import { DateRangeInputProps } from "./Component-61c161e7";
3
3
  type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view'>;
4
4
  declare const DateRangeInputDesktop: FC<DateRangeInputDesktopProps>;
5
5
  export { DateRangeInputDesktopProps, DateRangeInputDesktop };
@@ -1,4 +1,4 @@
1
- import { D as DateRangeInput, _ as __assign } from './Component-550f221e.js';
1
+ import { D as DateRangeInput, _ as __assign } from './Component-61c161e7.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 { DateRangeInputProps } from "./Component-550f221e";
2
+ import { DateRangeInputProps } from "./Component-61c161e7";
3
3
  type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view'>;
4
4
  declare const DateRangeInputMobile: FC<DateRangeInputMobileProps>;
5
5
  export { DateRangeInputMobileProps, DateRangeInputMobile };
@@ -1,4 +1,4 @@
1
- import { D as DateRangeInput, _ as __assign } from './Component-550f221e.js';
1
+ import { D as DateRangeInput, _ as __assign } from './Component-61c161e7.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 { DateRangeInputProps } from "./Component-550f221e";
2
+ import { DateRangeInputProps } from "./Component-61c161e7";
3
3
  type DateRangeInputResponsiveProps = Omit<DateRangeInputProps, 'view'> & {
4
4
  /**
5
5
  * Контрольная точка, с нее начинается desktop версия
@@ -1,4 +1,4 @@
1
- import { a as __rest, _ as __assign } from './Component-550f221e.js';
1
+ import { a as __rest, _ as __assign } from './Component-61c161e7.js';
2
2
  import React from 'react';
3
3
  import { useMedia } from '@alfalab/hooks';
4
4
  import { DateRangeInputDesktop } from './Component.desktop.js';
@@ -1,4 +1,4 @@
1
- export { D as DateRangeInput } from '../../Component-550f221e.js';
1
+ export { D as DateRangeInput } from '../../Component-61c161e7.js';
2
2
  import 'react';
3
3
  import 'react-merge-refs';
4
4
  import 'classnames';
@@ -1,4 +1,4 @@
1
- /* hash: lj7cp */
1
+ /* hash: wjsyj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -39,26 +39,26 @@
39
39
  :root {
40
40
  --calendar-popover-border-radius: var(--border-radius-m);
41
41
  }
42
- .date-range-input__component_a0llm {
42
+ .date-range-input__component_gu60y {
43
43
  display: inline-block;
44
44
  outline: none;
45
45
  position: relative;
46
46
  }
47
- .date-range-input__calendarContainer_a0llm {
47
+ .date-range-input__calendarContainer_gu60y {
48
48
  display: inline-block;
49
49
  box-sizing: border-box;
50
50
  border-radius: var(--calendar-popover-border-radius)
51
51
  }
52
52
  @media (max-width: 374px) {
53
- .date-range-input__calendarContainer_a0llm {
53
+ .date-range-input__calendarContainer_gu60y {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
57
  }
58
- .date-range-input__calendarResponsive_a0llm {
58
+ .date-range-input__calendarResponsive_gu60y {
59
59
  width: var(--calendar-width);
60
60
  padding: 0 var(--gap-m);
61
61
  }
62
- .date-range-input__block_a0llm {
62
+ .date-range-input__block_gu60y {
63
63
  width: 100%;
64
64
  }
@@ -1 +1 @@
1
- export * from "../../Component-550f221e";
1
+ export * from "../../Component-61c161e7";
@@ -1,4 +1,4 @@
1
- export { D as DateRangeInput } from '../../Component-550f221e.js';
1
+ export { D as DateRangeInput } from '../../Component-61c161e7.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 { DateRangeInputDesktop } from './Component.desktop.js';
2
- import './Component-550f221e.js';
2
+ import './Component-61c161e7.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/esm/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DateRangeInputResponsive as DateRangeInput } from './Component.responsive.js';
2
- import './Component-550f221e.js';
2
+ import './Component-61c161e7.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/esm/mobile.js CHANGED
@@ -1,5 +1,5 @@
1
1
  export { DateRangeInputMobile } from './Component.mobile.js';
2
- import './Component-550f221e.js';
2
+ import './Component-61c161e7.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 { DateRangeInputResponsive } from './Component.responsive.js';
2
- import './Component-550f221e.js';
2
+ import './Component-61c161e7.js';
3
3
  import 'react';
4
4
  import 'react-merge-refs';
5
5
  import 'classnames';
package/index.js CHANGED
@@ -1,7 +1,7 @@
1
1
  'use strict';
2
2
 
3
3
  var Component_responsive = require('./Component.responsive.js');
4
- require('./Component-fd7fd8ef.js');
4
+ require('./Component-9a6da64e.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  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-fd7fd8ef.js');
4
+ require('./Component-9a6da64e.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');
@@ -11,7 +11,7 @@ import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
11
11
  import { parseTimestampToDate, DATE_FORMAT, DATE_MASK, format, parseDateString, isCompleteDateInput, isValid } from '../../utils/format.js';
12
12
  import 'date-fns/parse';
13
13
 
14
- const styles = {"component":"date-range-input__component_a0llm","calendarContainer":"date-range-input__calendarContainer_a0llm","calendarResponsive":"date-range-input__calendarResponsive_a0llm","block":"date-range-input__block_a0llm"};
14
+ const styles = {"component":"date-range-input__component_gu60y","calendarContainer":"date-range-input__calendarContainer_gu60y","calendarResponsive":"date-range-input__calendarResponsive_gu60y","block":"date-range-input__block_gu60y"};
15
15
  require('./index.css')
16
16
 
17
17
  /* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
@@ -1,4 +1,4 @@
1
- /* hash: lj7cp */
1
+ /* hash: wjsyj */
2
2
  :root {
3
3
 
4
4
  /* Hard */
@@ -39,26 +39,26 @@
39
39
  :root {
40
40
  --calendar-popover-border-radius: var(--border-radius-m);
41
41
  }
42
- .date-range-input__component_a0llm {
42
+ .date-range-input__component_gu60y {
43
43
  display: inline-block;
44
44
  outline: none;
45
45
  position: relative;
46
46
  }
47
- .date-range-input__calendarContainer_a0llm {
47
+ .date-range-input__calendarContainer_gu60y {
48
48
  display: inline-block;
49
49
  box-sizing: border-box;
50
50
  border-radius: var(--calendar-popover-border-radius)
51
51
  }
52
52
  @media (max-width: 374px) {
53
- .date-range-input__calendarContainer_a0llm {
53
+ .date-range-input__calendarContainer_gu60y {
54
54
  width: 100%;
55
55
  min-width: 288px
56
56
  }
57
57
  }
58
- .date-range-input__calendarResponsive_a0llm {
58
+ .date-range-input__calendarResponsive_gu60y {
59
59
  width: var(--calendar-width);
60
60
  padding: 0 var(--gap-m);
61
61
  }
62
- .date-range-input__block_a0llm {
62
+ .date-range-input__block_gu60y {
63
63
  width: 100%;
64
64
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-date-range-input",
3
- "version": "2.2.2",
3
+ "version": "2.2.3",
4
4
  "description": "",
5
5
  "keywords": [],
6
6
  "license": "MIT",
@@ -16,8 +16,8 @@
16
16
  },
17
17
  "dependencies": {
18
18
  "@alfalab/core-components-input": "^11.1.3",
19
- "@alfalab/core-components-icon-button": "^6.0.2",
20
- "@alfalab/core-components-calendar": "^6.2.2",
19
+ "@alfalab/core-components-icon-button": "^6.0.3",
20
+ "@alfalab/core-components-calendar": "^6.2.3",
21
21
  "@alfalab/core-components-popover": "^6.0.5",
22
22
  "@alfalab/hooks": "^1.13.0",
23
23
  "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-fd7fd8ef.js');
4
+ require('./Component-9a6da64e.js');
5
5
  require('react');
6
6
  require('react-merge-refs');
7
7
  require('classnames');