@alfalab/core-components-date-time-input 3.0.7 → 3.0.9
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.d.ts +1 -1
- package/components/date-time-input/Component.js +1 -1
- package/components/date-time-input/index.css +6 -6
- package/cssm/components/date-time-input/Component.d.ts +1 -1
- package/esm/components/date-time-input/Component.d.ts +1 -1
- package/esm/components/date-time-input/Component.js +1 -1
- package/esm/components/date-time-input/index.css +6 -6
- package/modern/components/date-time-input/Component.d.ts +1 -1
- package/modern/components/date-time-input/Component.js +1 -1
- package/modern/components/date-time-input/index.css +6 -6
- package/package.json +4 -4
|
@@ -187,6 +187,6 @@ declare const DateTimeInput: React.ForwardRefExoticComponent<Omit<InputProps, "o
|
|
|
187
187
|
/**
|
|
188
188
|
* Отображение компонента в мобильном или десктопном виде
|
|
189
189
|
*/
|
|
190
|
-
view?: "
|
|
190
|
+
view?: "mobile" | "desktop" | undefined;
|
|
191
191
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
192
192
|
export { DateTimeInputProps, DateTimeInput };
|
|
@@ -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_145mq","calendarContainer":"date-time-input__calendarContainer_145mq","calendarResponsive":"date-time-input__calendarResponsive_145mq","block":"date-time-input__block_145mq"};
|
|
24
24
|
require('./index.css')
|
|
25
25
|
|
|
26
26
|
/* eslint-disable no-useless-escape, jsx-a11y/click-events-have-key-events */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: fmk6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
/* marker */
|
|
41
41
|
} :root {
|
|
42
42
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
43
|
+
} .date-time-input__component_145mq {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
47
|
+
} .date-time-input__calendarContainer_145mq {
|
|
48
48
|
display: inline-block;
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
} @media (max-width: 374px) { .date-time-
|
|
51
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_145mq {
|
|
52
52
|
width: 100%;
|
|
53
53
|
min-width: 288px
|
|
54
54
|
}
|
|
55
|
-
} .date-time-
|
|
55
|
+
} .date-time-input__calendarResponsive_145mq {
|
|
56
56
|
width: var(--calendar-width);
|
|
57
57
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
58
|
+
} .date-time-input__block_145mq {
|
|
59
59
|
width: 100%;
|
|
60
60
|
}
|
|
@@ -187,6 +187,6 @@ declare const DateTimeInput: React.ForwardRefExoticComponent<Omit<InputProps, "o
|
|
|
187
187
|
/**
|
|
188
188
|
* Отображение компонента в мобильном или десктопном виде
|
|
189
189
|
*/
|
|
190
|
-
view?: "
|
|
190
|
+
view?: "mobile" | "desktop" | undefined;
|
|
191
191
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
192
192
|
export { DateTimeInputProps, DateTimeInput };
|
|
@@ -187,6 +187,6 @@ declare const DateTimeInput: React.ForwardRefExoticComponent<Omit<InputProps, "o
|
|
|
187
187
|
/**
|
|
188
188
|
* Отображение компонента в мобильном или десктопном виде
|
|
189
189
|
*/
|
|
190
|
-
view?: "
|
|
190
|
+
view?: "mobile" | "desktop" | undefined;
|
|
191
191
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
192
192
|
export { DateTimeInputProps, DateTimeInput };
|
|
@@ -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_145mq","calendarContainer":"date-time-input__calendarContainer_145mq","calendarResponsive":"date-time-input__calendarResponsive_145mq","block":"date-time-input__block_145mq"};
|
|
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: fmk6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
/* marker */
|
|
41
41
|
} :root {
|
|
42
42
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
43
|
+
} .date-time-input__component_145mq {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
47
|
+
} .date-time-input__calendarContainer_145mq {
|
|
48
48
|
display: inline-block;
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
} @media (max-width: 374px) { .date-time-
|
|
51
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_145mq {
|
|
52
52
|
width: 100%;
|
|
53
53
|
min-width: 288px
|
|
54
54
|
}
|
|
55
|
-
} .date-time-
|
|
55
|
+
} .date-time-input__calendarResponsive_145mq {
|
|
56
56
|
width: var(--calendar-width);
|
|
57
57
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
58
|
+
} .date-time-input__block_145mq {
|
|
59
59
|
width: 100%;
|
|
60
60
|
}
|
|
@@ -187,6 +187,6 @@ declare const DateTimeInput: React.ForwardRefExoticComponent<Omit<InputProps, "o
|
|
|
187
187
|
/**
|
|
188
188
|
* Отображение компонента в мобильном или десктопном виде
|
|
189
189
|
*/
|
|
190
|
-
view?: "
|
|
190
|
+
view?: "mobile" | "desktop" | undefined;
|
|
191
191
|
} & React.RefAttributes<HTMLInputElement>>;
|
|
192
192
|
export { DateTimeInputProps, DateTimeInput };
|
|
@@ -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_145mq","calendarContainer":"date-time-input__calendarContainer_145mq","calendarResponsive":"date-time-input__calendarResponsive_145mq","block":"date-time-input__block_145mq"};
|
|
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: fmk6v */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -40,21 +40,21 @@
|
|
|
40
40
|
/* marker */
|
|
41
41
|
} :root {
|
|
42
42
|
--calendar-popover-border-radius: var(--border-radius-m);
|
|
43
|
-
} .date-time-
|
|
43
|
+
} .date-time-input__component_145mq {
|
|
44
44
|
display: inline-block;
|
|
45
45
|
outline: none;
|
|
46
46
|
position: relative;
|
|
47
|
-
} .date-time-
|
|
47
|
+
} .date-time-input__calendarContainer_145mq {
|
|
48
48
|
display: inline-block;
|
|
49
49
|
box-sizing: border-box;
|
|
50
50
|
border-radius: var(--calendar-popover-border-radius)
|
|
51
|
-
} @media (max-width: 374px) { .date-time-
|
|
51
|
+
} @media (max-width: 374px) { .date-time-input__calendarContainer_145mq {
|
|
52
52
|
width: 100%;
|
|
53
53
|
min-width: 288px
|
|
54
54
|
}
|
|
55
|
-
} .date-time-
|
|
55
|
+
} .date-time-input__calendarResponsive_145mq {
|
|
56
56
|
width: var(--calendar-width);
|
|
57
57
|
padding: 0 var(--gap-m);
|
|
58
|
-
} .date-time-
|
|
58
|
+
} .date-time-input__block_145mq {
|
|
59
59
|
width: 100%;
|
|
60
60
|
}
|
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.9",
|
|
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-calendar": "^6.2.
|
|
19
|
-
"@alfalab/core-components-input": "^11.1.
|
|
20
|
-
"@alfalab/core-components-icon-button": "^6.0.
|
|
18
|
+
"@alfalab/core-components-calendar": "^6.2.11",
|
|
19
|
+
"@alfalab/core-components-input": "^11.1.8",
|
|
20
|
+
"@alfalab/core-components-icon-button": "^6.0.8",
|
|
21
21
|
"@alfalab/core-components-popover": "^6.0.7",
|
|
22
22
|
"@alfalab/hooks": "^1.13.0",
|
|
23
23
|
"classnames": "^2.3.1",
|