@alfalab/core-components-date-time-input 3.0.10 → 3.0.12
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-time-input/Component.js +1 -1
- package/components/date-time-input/index.css +10 -8
- package/cssm/components/date-time-input/index.module.css +4 -2
- package/esm/components/date-time-input/Component.js +1 -1
- package/esm/components/date-time-input/index.css +10 -8
- package/modern/components/date-time-input/Component.js +1 -1
- package/modern/components/date-time-input/index.css +10 -8
- package/package.json +2 -2
|
@@ -20,7 +20,7 @@ var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
|
20
20
|
var mergeRefs__default = /*#__PURE__*/_interopDefaultCompat(mergeRefs);
|
|
21
21
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
22
22
|
|
|
23
|
-
var styles = {"component":"date-time-
|
|
23
|
+
var styles = {"component":"date-time-input__component_qdk4t","calendarContainer":"date-time-input__calendarContainer_qdk4t","calendarResponsive":"date-time-input__calendarResponsive_qdk4t","block":"date-time-input__block_qdk4t"};
|
|
24
24
|
require('./index.css')
|
|
25
25
|
|
|
26
26
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 168fu */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
|
|
4
|
+
--color-light-border-secondary: #e7e9eb; /* 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 */
|
|
5
|
+
} :root { /* 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 */
|
|
5
6
|
} :root {
|
|
6
7
|
} :root {
|
|
7
8
|
|
|
@@ -40,21 +41,22 @@
|
|
|
40
41
|
/* marker */
|
|
41
42
|
} :root {
|
|
42
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
44
|
+
} .date-time-input__component_qdk4t {
|
|
44
45
|
display: inline-block;
|
|
45
46
|
outline: none;
|
|
46
47
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
48
|
+
} .date-time-input__calendarContainer_qdk4t {
|
|
48
49
|
display: inline-block;
|
|
49
50
|
box-sizing: border-box;
|
|
50
|
-
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
|
|
51
|
+
border-radius: var(--calendar-popover-border-radius);
|
|
52
|
+
border: 1px solid var(--color-light-border-secondary)
|
|
53
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_qdk4t {
|
|
52
54
|
width: 100%;
|
|
53
55
|
min-width: 288px
|
|
54
56
|
}
|
|
55
|
-
} .date-time-
|
|
57
|
+
} .date-time-input__calendarResponsive_qdk4t {
|
|
56
58
|
width: var(--calendar-width);
|
|
57
59
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
60
|
+
} .date-time-input__block_qdk4t {
|
|
59
61
|
width: 100%;
|
|
60
62
|
}
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
} /* deprecated */ :root {
|
|
3
|
-
|
|
3
|
+
--color-light-border-secondary: #e7e9eb; /* 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 */
|
|
4
|
+
} :root { /* 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 */
|
|
4
5
|
} :root {
|
|
5
6
|
} :root {
|
|
6
7
|
|
|
@@ -46,7 +47,8 @@
|
|
|
46
47
|
} .calendarContainer {
|
|
47
48
|
display: inline-block;
|
|
48
49
|
box-sizing: border-box;
|
|
49
|
-
border-radius: var(--calendar-popover-border-radius)
|
|
50
|
+
border-radius: var(--calendar-popover-border-radius);
|
|
51
|
+
border: 1px solid var(--color-light-border-secondary)
|
|
50
52
|
} @media (max-width: 374px) { .calendarContainer {
|
|
51
53
|
width: 100%;
|
|
52
54
|
min-width: 288px
|
|
@@ -12,7 +12,7 @@ import { getDateWithoutTime, DATE_WITH_TIME_LENGTH, format, getFullDateTime, isC
|
|
|
12
12
|
import 'date-fns/isValid';
|
|
13
13
|
import 'date-fns/parse';
|
|
14
14
|
|
|
15
|
-
var styles = {"component":"date-time-
|
|
15
|
+
var styles = {"component":"date-time-input__component_qdk4t","calendarContainer":"date-time-input__calendarContainer_qdk4t","calendarResponsive":"date-time-input__calendarResponsive_qdk4t","block":"date-time-input__block_qdk4t"};
|
|
16
16
|
require('./index.css')
|
|
17
17
|
|
|
18
18
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 168fu */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
|
|
4
|
+
--color-light-border-secondary: #e7e9eb; /* 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 */
|
|
5
|
+
} :root { /* 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 */
|
|
5
6
|
} :root {
|
|
6
7
|
} :root {
|
|
7
8
|
|
|
@@ -40,21 +41,22 @@
|
|
|
40
41
|
/* marker */
|
|
41
42
|
} :root {
|
|
42
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
44
|
+
} .date-time-input__component_qdk4t {
|
|
44
45
|
display: inline-block;
|
|
45
46
|
outline: none;
|
|
46
47
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
48
|
+
} .date-time-input__calendarContainer_qdk4t {
|
|
48
49
|
display: inline-block;
|
|
49
50
|
box-sizing: border-box;
|
|
50
|
-
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
|
|
51
|
+
border-radius: var(--calendar-popover-border-radius);
|
|
52
|
+
border: 1px solid var(--color-light-border-secondary)
|
|
53
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_qdk4t {
|
|
52
54
|
width: 100%;
|
|
53
55
|
min-width: 288px
|
|
54
56
|
}
|
|
55
|
-
} .date-time-
|
|
57
|
+
} .date-time-input__calendarResponsive_qdk4t {
|
|
56
58
|
width: var(--calendar-width);
|
|
57
59
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
60
|
+
} .date-time-input__block_qdk4t {
|
|
59
61
|
width: 100%;
|
|
60
62
|
}
|
|
@@ -11,7 +11,7 @@ import { getDateWithoutTime, DATE_WITH_TIME_LENGTH, format, getFullDateTime, isC
|
|
|
11
11
|
import 'date-fns/isValid';
|
|
12
12
|
import 'date-fns/parse';
|
|
13
13
|
|
|
14
|
-
const styles = {"component":"date-time-
|
|
14
|
+
const styles = {"component":"date-time-input__component_qdk4t","calendarContainer":"date-time-input__calendarContainer_qdk4t","calendarResponsive":"date-time-input__calendarResponsive_qdk4t","block":"date-time-input__block_qdk4t"};
|
|
15
15
|
require('./index.css')
|
|
16
16
|
|
|
17
17
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,7 +1,8 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 168fu */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
|
-
|
|
4
|
+
--color-light-border-secondary: #e7e9eb; /* 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 */
|
|
5
|
+
} :root { /* 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 */
|
|
5
6
|
} :root {
|
|
6
7
|
} :root {
|
|
7
8
|
|
|
@@ -40,21 +41,22 @@
|
|
|
40
41
|
/* marker */
|
|
41
42
|
} :root {
|
|
42
43
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
44
|
+
} .date-time-input__component_qdk4t {
|
|
44
45
|
display: inline-block;
|
|
45
46
|
outline: none;
|
|
46
47
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
48
|
+
} .date-time-input__calendarContainer_qdk4t {
|
|
48
49
|
display: inline-block;
|
|
49
50
|
box-sizing: border-box;
|
|
50
|
-
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
|
|
51
|
+
border-radius: var(--calendar-popover-border-radius);
|
|
52
|
+
border: 1px solid var(--color-light-border-secondary)
|
|
53
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_qdk4t {
|
|
52
54
|
width: 100%;
|
|
53
55
|
min-width: 288px
|
|
54
56
|
}
|
|
55
|
-
} .date-time-
|
|
57
|
+
} .date-time-input__calendarResponsive_qdk4t {
|
|
56
58
|
width: var(--calendar-width);
|
|
57
59
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
60
|
+
} .date-time-input__block_qdk4t {
|
|
59
61
|
width: 100%;
|
|
60
62
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-date-time-input",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.12",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-calendar": "^6.2.
|
|
18
|
+
"@alfalab/core-components-calendar": "^6.2.13",
|
|
19
19
|
"@alfalab/core-components-input": "^11.1.8",
|
|
20
20
|
"@alfalab/core-components-icon-button": "^6.0.8",
|
|
21
21
|
"@alfalab/core-components-popover": "^6.0.7",
|