@alfalab/core-components-date-range-input 2.3.9 → 2.3.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.
- package/components/date-range-input/Component.js +1 -1
- package/components/date-range-input/index.css +7 -9
- package/cssm/components/date-range-input/index.module.css +0 -2
- package/esm/components/date-range-input/Component.js +1 -1
- package/esm/components/date-range-input/index.css +7 -9
- package/modern/components/date-range-input/Component.js +1 -1
- package/modern/components/date-range-input/index.css +7 -9
- package/package.json +4 -4
|
@@ -24,7 +24,7 @@ var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
|
24
24
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
25
25
|
var dateFnsIsValid__default = /*#__PURE__*/_interopDefaultCompat(dateFnsIsValid);
|
|
26
26
|
|
|
27
|
-
var styles = {"component":"date-range-
|
|
27
|
+
var styles = {"component":"date-range-input__component_y2s0j","calendarContainer":"date-range-input__calendarContainer_y2s0j","calendarResponsive":"date-range-input__calendarResponsive_y2s0j","block":"date-range-input__block_y2s0j","calendarIcon":"date-range-input__calendarIcon_y2s0j"};
|
|
28
28
|
require('./index.css')
|
|
29
29
|
|
|
30
30
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dtvq6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
--border-radius-m: 8px;
|
|
16
16
|
} :root {
|
|
17
|
-
--gap-m: 16px;
|
|
18
17
|
--gap-s-neg: -12px;
|
|
19
18
|
} :root {
|
|
20
19
|
} :root {
|
|
@@ -42,25 +41,24 @@
|
|
|
42
41
|
/* marker */
|
|
43
42
|
} :root {
|
|
44
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
45
|
-
} .date-range-
|
|
44
|
+
} .date-range-input__component_y2s0j {
|
|
46
45
|
display: inline-block;
|
|
47
46
|
outline: none;
|
|
48
47
|
position: relative;
|
|
49
|
-
} .date-range-
|
|
48
|
+
} .date-range-input__calendarContainer_y2s0j {
|
|
50
49
|
display: inline-block;
|
|
51
50
|
box-sizing: border-box;
|
|
52
51
|
border-radius: var(--calendar-popover-border-radius);
|
|
53
52
|
border: 1px solid var(--color-light-border-secondary)
|
|
54
|
-
} @media (max-width: 374px) { .date-range-
|
|
53
|
+
} @media (max-width: 374px) { .date-range-input__calendarContainer_y2s0j {
|
|
55
54
|
width: 100%;
|
|
56
55
|
min-width: 288px
|
|
57
56
|
}
|
|
58
|
-
} .date-range-
|
|
57
|
+
} .date-range-input__calendarResponsive_y2s0j {
|
|
59
58
|
width: var(--calendar-width);
|
|
60
|
-
|
|
61
|
-
} .date-range-input__block_1hpcg {
|
|
59
|
+
} .date-range-input__block_y2s0j {
|
|
62
60
|
width: 100%;
|
|
63
|
-
} .date-range-
|
|
61
|
+
} .date-range-input__calendarIcon_y2s0j {
|
|
64
62
|
margin-right: var(--gap-s-neg);
|
|
65
63
|
height: 100%;
|
|
66
64
|
}
|
|
@@ -13,7 +13,6 @@
|
|
|
13
13
|
} :root {
|
|
14
14
|
--border-radius-m: 8px;
|
|
15
15
|
} :root {
|
|
16
|
-
--gap-m: 16px;
|
|
17
16
|
--gap-s-neg: -12px;
|
|
18
17
|
} :root {
|
|
19
18
|
} :root {
|
|
@@ -56,7 +55,6 @@
|
|
|
56
55
|
}
|
|
57
56
|
} .calendarResponsive {
|
|
58
57
|
width: var(--calendar-width);
|
|
59
|
-
padding: 0 var(--gap-m);
|
|
60
58
|
} .block {
|
|
61
59
|
width: 100%;
|
|
62
60
|
} .calendarIcon {
|
|
@@ -13,7 +13,7 @@ import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
13
13
|
import { parseTimestampToDate, DATE_FORMAT, format, parseDateString, DATE_MASK, isCompleteDateInput, isValid } from '../../utils/format.js';
|
|
14
14
|
import 'date-fns/parse';
|
|
15
15
|
|
|
16
|
-
var styles = {"component":"date-range-
|
|
16
|
+
var styles = {"component":"date-range-input__component_y2s0j","calendarContainer":"date-range-input__calendarContainer_y2s0j","calendarResponsive":"date-range-input__calendarResponsive_y2s0j","block":"date-range-input__block_y2s0j","calendarIcon":"date-range-input__calendarIcon_y2s0j"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dtvq6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
--border-radius-m: 8px;
|
|
16
16
|
} :root {
|
|
17
|
-
--gap-m: 16px;
|
|
18
17
|
--gap-s-neg: -12px;
|
|
19
18
|
} :root {
|
|
20
19
|
} :root {
|
|
@@ -42,25 +41,24 @@
|
|
|
42
41
|
/* marker */
|
|
43
42
|
} :root {
|
|
44
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
45
|
-
} .date-range-
|
|
44
|
+
} .date-range-input__component_y2s0j {
|
|
46
45
|
display: inline-block;
|
|
47
46
|
outline: none;
|
|
48
47
|
position: relative;
|
|
49
|
-
} .date-range-
|
|
48
|
+
} .date-range-input__calendarContainer_y2s0j {
|
|
50
49
|
display: inline-block;
|
|
51
50
|
box-sizing: border-box;
|
|
52
51
|
border-radius: var(--calendar-popover-border-radius);
|
|
53
52
|
border: 1px solid var(--color-light-border-secondary)
|
|
54
|
-
} @media (max-width: 374px) { .date-range-
|
|
53
|
+
} @media (max-width: 374px) { .date-range-input__calendarContainer_y2s0j {
|
|
55
54
|
width: 100%;
|
|
56
55
|
min-width: 288px
|
|
57
56
|
}
|
|
58
|
-
} .date-range-
|
|
57
|
+
} .date-range-input__calendarResponsive_y2s0j {
|
|
59
58
|
width: var(--calendar-width);
|
|
60
|
-
|
|
61
|
-
} .date-range-input__block_1hpcg {
|
|
59
|
+
} .date-range-input__block_y2s0j {
|
|
62
60
|
width: 100%;
|
|
63
|
-
} .date-range-
|
|
61
|
+
} .date-range-input__calendarIcon_y2s0j {
|
|
64
62
|
margin-right: var(--gap-s-neg);
|
|
65
63
|
height: 100%;
|
|
66
64
|
}
|
|
@@ -12,7 +12,7 @@ import { CalendarMIcon } from '@alfalab/icons-glyph/CalendarMIcon';
|
|
|
12
12
|
import { parseTimestampToDate, DATE_FORMAT, format, parseDateString, DATE_MASK, isCompleteDateInput, isValid } from '../../utils/format.js';
|
|
13
13
|
import 'date-fns/parse';
|
|
14
14
|
|
|
15
|
-
const styles = {"component":"date-range-
|
|
15
|
+
const styles = {"component":"date-range-input__component_y2s0j","calendarContainer":"date-range-input__calendarContainer_y2s0j","calendarResponsive":"date-range-input__calendarResponsive_y2s0j","block":"date-range-input__block_y2s0j","calendarIcon":"date-range-input__calendarIcon_y2s0j"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: dtvq6 */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
--color-light-border-secondary: #e9e9eb; /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
|
|
@@ -14,7 +14,6 @@
|
|
|
14
14
|
} :root {
|
|
15
15
|
--border-radius-m: 8px;
|
|
16
16
|
} :root {
|
|
17
|
-
--gap-m: 16px;
|
|
18
17
|
--gap-s-neg: -12px;
|
|
19
18
|
} :root {
|
|
20
19
|
} :root {
|
|
@@ -42,25 +41,24 @@
|
|
|
42
41
|
/* marker */
|
|
43
42
|
} :root {
|
|
44
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
45
|
-
} .date-range-
|
|
44
|
+
} .date-range-input__component_y2s0j {
|
|
46
45
|
display: inline-block;
|
|
47
46
|
outline: none;
|
|
48
47
|
position: relative;
|
|
49
|
-
} .date-range-
|
|
48
|
+
} .date-range-input__calendarContainer_y2s0j {
|
|
50
49
|
display: inline-block;
|
|
51
50
|
box-sizing: border-box;
|
|
52
51
|
border-radius: var(--calendar-popover-border-radius);
|
|
53
52
|
border: 1px solid var(--color-light-border-secondary)
|
|
54
|
-
} @media (max-width: 374px) { .date-range-
|
|
53
|
+
} @media (max-width: 374px) { .date-range-input__calendarContainer_y2s0j {
|
|
55
54
|
width: 100%;
|
|
56
55
|
min-width: 288px
|
|
57
56
|
}
|
|
58
|
-
} .date-range-
|
|
57
|
+
} .date-range-input__calendarResponsive_y2s0j {
|
|
59
58
|
width: var(--calendar-width);
|
|
60
|
-
|
|
61
|
-
} .date-range-input__block_1hpcg {
|
|
59
|
+
} .date-range-input__block_y2s0j {
|
|
62
60
|
width: 100%;
|
|
63
|
-
} .date-range-
|
|
61
|
+
} .date-range-input__calendarIcon_y2s0j {
|
|
64
62
|
margin-right: var(--gap-s-neg);
|
|
65
63
|
height: 100%;
|
|
66
64
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-date-range-input",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.10",
|
|
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.1.
|
|
20
|
-
"@alfalab/core-components-calendar": "^6.
|
|
18
|
+
"@alfalab/core-components-input": "^11.1.16",
|
|
19
|
+
"@alfalab/core-components-icon-button": "^6.1.1",
|
|
20
|
+
"@alfalab/core-components-calendar": "^6.5.0",
|
|
21
21
|
"@alfalab/core-components-popover": "^6.0.8",
|
|
22
22
|
"@alfalab/hooks": "^1.13.0",
|
|
23
23
|
"classnames": "^2.3.1",
|