@alfalab/core-components-date-range-input 2.2.2 → 2.2.4
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.
- package/{Component-fd7fd8ef.d.ts → Component-f127e458.d.ts} +0 -0
- package/{Component-fd7fd8ef.js → Component-f127e458.js} +1 -1
- package/Component.desktop.d.ts +1 -1
- package/Component.desktop.js +1 -1
- package/Component.mobile.d.ts +1 -1
- package/Component.mobile.js +1 -1
- package/Component.responsive.d.ts +1 -1
- package/Component.responsive.js +1 -1
- package/components/date-range-input/Component.js +1 -1
- package/components/date-range-input/index.css +6 -6
- package/components/date-range-input/index.d.ts +1 -1
- package/components/date-range-input/index.js +1 -1
- package/desktop.js +1 -1
- package/esm/{Component-550f221e.d.ts → Component-be7a360b.d.ts} +0 -0
- package/esm/{Component-550f221e.js → Component-be7a360b.js} +1 -1
- package/esm/Component.desktop.d.ts +1 -1
- package/esm/Component.desktop.js +1 -1
- package/esm/Component.mobile.d.ts +1 -1
- package/esm/Component.mobile.js +1 -1
- package/esm/Component.responsive.d.ts +1 -1
- package/esm/Component.responsive.js +1 -1
- package/esm/components/date-range-input/Component.js +1 -1
- package/esm/components/date-range-input/index.css +6 -6
- package/esm/components/date-range-input/index.d.ts +1 -1
- package/esm/components/date-range-input/index.js +1 -1
- package/esm/desktop.js +1 -1
- package/esm/index.js +1 -1
- package/esm/mobile.js +1 -1
- package/esm/responsive.js +1 -1
- package/index.js +1 -1
- package/mobile.js +1 -1
- package/modern/components/date-range-input/Component.js +1 -1
- package/modern/components/date-range-input/index.css +6 -6
- package/package.json +4 -4
- package/responsive.js +1 -1
|
File without changes
|
|
@@ -58,7 +58,7 @@ function __rest(s, e) {
|
|
|
58
58
|
return t;
|
|
59
59
|
}
|
|
60
60
|
|
|
61
|
-
var styles = {"component":"date-range-
|
|
61
|
+
var styles = {"component":"date-range-input__component_1c1z6","calendarContainer":"date-range-input__calendarContainer_1c1z6","calendarResponsive":"date-range-input__calendarResponsive_1c1z6","block":"date-range-input__block_1c1z6"};
|
|
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 */
|
package/Component.desktop.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DateRangeInputProps } from "./Component-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-f127e458";
|
|
3
3
|
type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view'>;
|
|
4
4
|
declare const DateRangeInputDesktop: FC<DateRangeInputDesktopProps>;
|
|
5
5
|
export { DateRangeInputDesktopProps, DateRangeInputDesktop };
|
package/Component.desktop.js
CHANGED
package/Component.mobile.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DateRangeInputProps } from "./Component-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-f127e458";
|
|
3
3
|
type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view'>;
|
|
4
4
|
declare const DateRangeInputMobile: FC<DateRangeInputMobileProps>;
|
|
5
5
|
export { DateRangeInputMobileProps, DateRangeInputMobile };
|
package/Component.mobile.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_dateRangeInput_Component = require('./Component-
|
|
3
|
+
var components_dateRangeInput_Component = require('./Component-f127e458.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-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-f127e458";
|
|
3
3
|
type DateRangeInputResponsiveProps = Omit<DateRangeInputProps, 'view'> & {
|
|
4
4
|
/**
|
|
5
5
|
* Контрольная точка, с нее начинается desktop версия
|
package/Component.responsive.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var components_dateRangeInput_Component = require('./Component-
|
|
3
|
+
var components_dateRangeInput_Component = require('./Component-f127e458.js');
|
|
4
4
|
var React = require('react');
|
|
5
5
|
var hooks = require('@alfalab/hooks');
|
|
6
6
|
var Component_desktop = require('./Component.desktop.js');
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: qcfq8 */
|
|
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-
|
|
42
|
+
.date-range-input__component_1c1z6 {
|
|
43
43
|
display: inline-block;
|
|
44
44
|
outline: none;
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
47
|
-
.date-range-
|
|
47
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
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-
|
|
53
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
54
54
|
width: 100%;
|
|
55
55
|
min-width: 288px
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
.date-range-
|
|
58
|
+
.date-range-input__calendarResponsive_1c1z6 {
|
|
59
59
|
width: var(--calendar-width);
|
|
60
60
|
padding: 0 var(--gap-m);
|
|
61
61
|
}
|
|
62
|
-
.date-range-
|
|
62
|
+
.date-range-input__block_1c1z6 {
|
|
63
63
|
width: 100%;
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-f127e458";
|
package/desktop.js
CHANGED
|
File without changes
|
|
@@ -49,7 +49,7 @@ function __rest(s, e) {
|
|
|
49
49
|
return t;
|
|
50
50
|
}
|
|
51
51
|
|
|
52
|
-
var styles = {"component":"date-range-
|
|
52
|
+
var styles = {"component":"date-range-input__component_1c1z6","calendarContainer":"date-range-input__calendarContainer_1c1z6","calendarResponsive":"date-range-input__calendarResponsive_1c1z6","block":"date-range-input__block_1c1z6"};
|
|
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-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-be7a360b";
|
|
3
3
|
type DateRangeInputDesktopProps = Omit<DateRangeInputProps, 'view'>;
|
|
4
4
|
declare const DateRangeInputDesktop: FC<DateRangeInputDesktopProps>;
|
|
5
5
|
export { DateRangeInputDesktopProps, DateRangeInputDesktop };
|
package/esm/Component.desktop.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FC } from 'react';
|
|
2
|
-
import { DateRangeInputProps } from "./Component-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-be7a360b";
|
|
3
3
|
type DateRangeInputMobileProps = Omit<DateRangeInputProps, 'view'>;
|
|
4
4
|
declare const DateRangeInputMobile: FC<DateRangeInputMobileProps>;
|
|
5
5
|
export { DateRangeInputMobileProps, DateRangeInputMobile };
|
package/esm/Component.mobile.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { D as DateRangeInput, _ as __assign } from './Component-
|
|
1
|
+
import { D as DateRangeInput, _ as __assign } from './Component-be7a360b.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-
|
|
2
|
+
import { DateRangeInputProps } from "./Component-be7a360b";
|
|
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-
|
|
1
|
+
import { a as __rest, _ as __assign } from './Component-be7a360b.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
|
-
/* hash:
|
|
1
|
+
/* hash: qcfq8 */
|
|
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-
|
|
42
|
+
.date-range-input__component_1c1z6 {
|
|
43
43
|
display: inline-block;
|
|
44
44
|
outline: none;
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
47
|
-
.date-range-
|
|
47
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
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-
|
|
53
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
54
54
|
width: 100%;
|
|
55
55
|
min-width: 288px
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
.date-range-
|
|
58
|
+
.date-range-input__calendarResponsive_1c1z6 {
|
|
59
59
|
width: var(--calendar-width);
|
|
60
60
|
padding: 0 var(--gap-m);
|
|
61
61
|
}
|
|
62
|
-
.date-range-
|
|
62
|
+
.date-range-input__block_1c1z6 {
|
|
63
63
|
width: 100%;
|
|
64
64
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export * from "../../Component-
|
|
1
|
+
export * from "../../Component-be7a360b";
|
package/esm/desktop.js
CHANGED
package/esm/index.js
CHANGED
package/esm/mobile.js
CHANGED
package/esm/responsive.js
CHANGED
package/index.js
CHANGED
package/mobile.js
CHANGED
|
@@ -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-
|
|
14
|
+
const styles = {"component":"date-range-input__component_1c1z6","calendarContainer":"date-range-input__calendarContainer_1c1z6","calendarResponsive":"date-range-input__calendarResponsive_1c1z6","block":"date-range-input__block_1c1z6"};
|
|
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:
|
|
1
|
+
/* hash: qcfq8 */
|
|
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-
|
|
42
|
+
.date-range-input__component_1c1z6 {
|
|
43
43
|
display: inline-block;
|
|
44
44
|
outline: none;
|
|
45
45
|
position: relative;
|
|
46
46
|
}
|
|
47
|
-
.date-range-
|
|
47
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
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-
|
|
53
|
+
.date-range-input__calendarContainer_1c1z6 {
|
|
54
54
|
width: 100%;
|
|
55
55
|
min-width: 288px
|
|
56
56
|
}
|
|
57
57
|
}
|
|
58
|
-
.date-range-
|
|
58
|
+
.date-range-input__calendarResponsive_1c1z6 {
|
|
59
59
|
width: var(--calendar-width);
|
|
60
60
|
padding: 0 var(--gap-m);
|
|
61
61
|
}
|
|
62
|
-
.date-range-
|
|
62
|
+
.date-range-input__block_1c1z6 {
|
|
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.
|
|
3
|
+
"version": "2.2.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,9 +15,9 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-input": "^11.1.
|
|
19
|
-
"@alfalab/core-components-icon-button": "^6.0.
|
|
20
|
-
"@alfalab/core-components-calendar": "^6.2.
|
|
18
|
+
"@alfalab/core-components-input": "^11.1.4",
|
|
19
|
+
"@alfalab/core-components-icon-button": "^6.0.4",
|
|
20
|
+
"@alfalab/core-components-calendar": "^6.2.4",
|
|
21
21
|
"@alfalab/core-components-popover": "^6.0.5",
|
|
22
22
|
"@alfalab/hooks": "^1.13.0",
|
|
23
23
|
"classnames": "^2.3.1"
|