@alfalab/core-components-date-input 2.3.0 → 2.3.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.
- package/CHANGELOG.md +28 -0
- package/{dist/Component.d.ts → Component.d.ts} +0 -0
- package/{dist/Component.js → Component.js} +1 -1
- package/{dist/cssm → cssm}/Component.d.ts +0 -0
- package/{dist/cssm → cssm}/Component.js +1 -1
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +1 -1
- package/{dist/cssm → cssm}/index.module.css +0 -0
- package/{dist/cssm → cssm}/utils/format.d.ts +0 -0
- package/{dist/cssm → cssm}/utils/format.js +0 -0
- package/{dist/cssm → cssm}/utils/index.d.ts +0 -0
- package/{dist/cssm → cssm}/utils/index.js +0 -0
- package/{dist/cssm → cssm}/utils/native-supports.d.ts +0 -0
- package/{dist/cssm → cssm}/utils/native-supports.js +0 -0
- package/{dist/esm → esm}/Component.d.ts +0 -0
- package/{dist/esm → esm}/Component.js +2 -2
- package/{dist → esm}/index.css +4 -4
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +1 -1
- package/{dist/esm → esm}/utils/format.d.ts +0 -0
- package/{dist/esm → esm}/utils/format.js +0 -0
- package/{dist/esm → esm}/utils/index.d.ts +0 -0
- package/{dist/esm → esm}/utils/index.js +0 -0
- package/{dist/esm → esm}/utils/native-supports.d.ts +0 -0
- package/{dist/esm → esm}/utils/native-supports.js +0 -0
- package/{dist/modern/index.css → index.css} +4 -4
- package/{dist/index.d.ts → index.d.ts} +0 -0
- package/{dist/index.js → index.js} +0 -0
- package/{dist/modern → modern}/Component.d.ts +0 -0
- package/{dist/modern → modern}/Component.js +2 -2
- package/{dist/esm → modern}/index.css +4 -4
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +1 -1
- package/{dist/modern → modern}/utils/format.d.ts +0 -0
- package/{dist/modern → modern}/utils/format.js +0 -0
- package/{dist/modern → modern}/utils/index.d.ts +0 -0
- package/{dist/modern → modern}/utils/index.js +0 -0
- package/{dist/modern → modern}/utils/native-supports.d.ts +0 -0
- package/{dist/modern → modern}/utils/native-supports.js +0 -0
- package/package.json +8 -11
- /package/{dist/send-stats.js → send-stats.js} +0 -0
- /package/{dist/utils → utils}/format.d.ts +0 -0
- /package/{dist/utils → utils}/format.js +0 -0
- /package/{dist/utils → utils}/index.d.ts +0 -0
- /package/{dist/utils → utils}/index.js +0 -0
- /package/{dist/utils → utils}/native-supports.d.ts +0 -0
- /package/{dist/utils → utils}/native-supports.js +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,33 @@
|
|
|
3
3
|
All notable changes to this project will be documented in this file.
|
|
4
4
|
See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
|
|
5
5
|
|
|
6
|
+
## [2.3.3](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.2...@alfalab/core-components-date-input@2.3.3) (2022-07-18)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-date-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.3.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.1...@alfalab/core-components-date-input@2.3.2) (2022-07-15)
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
### Bug Fixes
|
|
18
|
+
|
|
19
|
+
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
## [2.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.3.0...@alfalab/core-components-date-input@2.3.1) (2022-07-14)
|
|
26
|
+
|
|
27
|
+
**Note:** Version bump only for package @alfalab/core-components-date-input
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
|
|
6
33
|
# [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-date-input@2.2.2...@alfalab/core-components-date-input@2.3.0) (2022-06-28)
|
|
7
34
|
|
|
8
35
|
|
|
@@ -298,5 +325,6 @@ Co-authored-by: dmitrsavk <dmitrsavk@yandex.ru>
|
|
|
298
325
|
|
|
299
326
|
### Features
|
|
300
327
|
|
|
328
|
+
|
|
301
329
|
* **calendar-input:** uses date-input ([#752](https://github.com/core-ds/core-components/issues/752)) ([509dba2](https://github.com/core-ds/core-components/commit/509dba26913ccf6df859a200aa476eeef1df2ddc))
|
|
302
330
|
* **date-input:** add component ([#751](https://github.com/core-ds/core-components/issues/751)) ([4b94bee](https://github.com/core-ds/core-components/commit/4b94beec36acc73ac6c62cf37f87061c0ada4b35))
|
|
File without changes
|
|
@@ -55,7 +55,7 @@ function __rest(s, e) {
|
|
|
55
55
|
return t;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
var styles = {"nativeInput":"date-
|
|
58
|
+
var styles = {"nativeInput":"date-input__nativeInput_1nvx8"};
|
|
59
59
|
require('./index.css')
|
|
60
60
|
|
|
61
61
|
var DateInput = React.forwardRef(function (_a, ref) {
|
|
File without changes
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
Object.defineProperty(exports, '__esModule', { value: true });
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
|
-
var coreComponentsInput = require('@alfalab/core-components-input/
|
|
6
|
+
var coreComponentsInput = require('@alfalab/core-components-input/cssm');
|
|
7
7
|
var mergeRefs = require('react-merge-refs');
|
|
8
8
|
require('date-fns/parse');
|
|
9
9
|
require('date-fns/format');
|
|
File without changes
|
|
@@ -4,7 +4,7 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var Component = require('./Component.js');
|
|
6
6
|
require('react');
|
|
7
|
-
require('@alfalab/core-components-input/
|
|
7
|
+
require('@alfalab/core-components-input/cssm');
|
|
8
8
|
require('react-merge-refs');
|
|
9
9
|
require('date-fns/parse');
|
|
10
10
|
require('date-fns/format');
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
|
|
2
|
-
import { Input } from '@alfalab/core-components-input/
|
|
2
|
+
import { Input } from '@alfalab/core-components-input/esm';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import 'date-fns/parse';
|
|
5
5
|
import 'date-fns/format';
|
|
@@ -46,7 +46,7 @@ function __rest(s, e) {
|
|
|
46
46
|
return t;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
|
-
var styles = {"nativeInput":"date-
|
|
49
|
+
var styles = {"nativeInput":"date-input__nativeInput_1nvx8"};
|
|
50
50
|
require('./index.css')
|
|
51
51
|
|
|
52
52
|
var DateInput = forwardRef(function (_a, ref) {
|
package/{dist → esm}/index.css
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yx3i0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.date-
|
|
10
|
+
.date-input__nativeInput_1nvx8 {
|
|
11
11
|
opacity: 0;
|
|
12
12
|
position: absolute;
|
|
13
13
|
top: 0;
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
appearance: none;
|
|
19
19
|
z-index: 1
|
|
20
20
|
}
|
|
21
|
-
.date-
|
|
21
|
+
.date-input__nativeInput_1nvx8::-webkit-calendar-picker-indicator {
|
|
22
22
|
display: none;
|
|
23
23
|
}
|
|
24
|
-
.date-
|
|
24
|
+
.date-input__nativeInput_1nvx8::-webkit-inner-spin-button {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yx3i0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.date-
|
|
10
|
+
.date-input__nativeInput_1nvx8 {
|
|
11
11
|
opacity: 0;
|
|
12
12
|
position: absolute;
|
|
13
13
|
top: 0;
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
appearance: none;
|
|
19
19
|
z-index: 1
|
|
20
20
|
}
|
|
21
|
-
.date-
|
|
21
|
+
.date-input__nativeInput_1nvx8::-webkit-calendar-picker-indicator {
|
|
22
22
|
display: none;
|
|
23
23
|
}
|
|
24
|
-
.date-
|
|
24
|
+
.date-input__nativeInput_1nvx8::-webkit-inner-spin-button {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import React, { forwardRef, useRef, useState, useCallback, useEffect } from 'react';
|
|
2
|
-
import { Input } from '@alfalab/core-components-input/
|
|
2
|
+
import { Input } from '@alfalab/core-components-input/modern';
|
|
3
3
|
import mergeRefs from 'react-merge-refs';
|
|
4
4
|
import 'date-fns/parse';
|
|
5
5
|
import 'date-fns/format';
|
|
@@ -7,7 +7,7 @@ import 'date-fns/isValid';
|
|
|
7
7
|
import { format, parseDateString, isCompleteDateInput, isValid, NATIVE_DATE_FORMAT, formatDate } from './utils/format.js';
|
|
8
8
|
import { isInputDateSupported } from './utils/native-supports.js';
|
|
9
9
|
|
|
10
|
-
var styles = {"nativeInput":"date-
|
|
10
|
+
var styles = {"nativeInput":"date-input__nativeInput_1nvx8"};
|
|
11
11
|
require('./index.css')
|
|
12
12
|
|
|
13
13
|
const DateInput = forwardRef(({ mobileMode = 'input', defaultValue = '', rightAddons, error, value: propValue, onBlur, onChange, onComplete, ...restProps }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: yx3i0 */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -7,7 +7,7 @@
|
|
|
7
7
|
|
|
8
8
|
/* Hard up */
|
|
9
9
|
}
|
|
10
|
-
.date-
|
|
10
|
+
.date-input__nativeInput_1nvx8 {
|
|
11
11
|
opacity: 0;
|
|
12
12
|
position: absolute;
|
|
13
13
|
top: 0;
|
|
@@ -18,9 +18,9 @@
|
|
|
18
18
|
appearance: none;
|
|
19
19
|
z-index: 1
|
|
20
20
|
}
|
|
21
|
-
.date-
|
|
21
|
+
.date-input__nativeInput_1nvx8::-webkit-calendar-picker-indicator {
|
|
22
22
|
display: none;
|
|
23
23
|
}
|
|
24
|
-
.date-
|
|
24
|
+
.date-input__nativeInput_1nvx8::-webkit-inner-spin-button {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
package/package.json
CHANGED
|
@@ -1,27 +1,24 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-date-input",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.3",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
7
|
-
"main": "
|
|
8
|
-
"module": "./
|
|
9
|
-
"files": [
|
|
10
|
-
"dist"
|
|
11
|
-
],
|
|
7
|
+
"main": "index.js",
|
|
8
|
+
"module": "./esm/index.js",
|
|
12
9
|
"scripts": {
|
|
13
|
-
"postinstall": "node ./
|
|
10
|
+
"postinstall": "node -e \"if (require('fs').existsSync('./send-stats.js')){require('./send-stats.js')} \""
|
|
14
11
|
},
|
|
15
12
|
"publishConfig": {
|
|
16
|
-
"access": "public"
|
|
13
|
+
"access": "public",
|
|
14
|
+
"directory": "dist"
|
|
17
15
|
},
|
|
18
16
|
"peerDependencies": {
|
|
19
17
|
"react": "^16.9.0 || ^17.0.1"
|
|
20
18
|
},
|
|
21
19
|
"dependencies": {
|
|
22
|
-
"@alfalab/core-components-input": "^8.2.
|
|
20
|
+
"@alfalab/core-components-input": "^8.2.3",
|
|
23
21
|
"date-fns": "^2.16.1",
|
|
24
22
|
"react-merge-refs": "^1.1.0"
|
|
25
|
-
}
|
|
26
|
-
"gitHead": "dcd5c0c8e25b7c374ff9311505ccf738a82e22c0"
|
|
23
|
+
}
|
|
27
24
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|