@alfalab/core-components-password-input 2.1.7 → 2.1.11
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 +32 -0
- package/dist/component.js +1 -1
- package/dist/cssm/index.module.css +13 -3
- package/dist/esm/component.js +1 -1
- package/dist/esm/index.css +18 -8
- package/dist/index.css +18 -8
- package/dist/modern/component.js +1 -1
- package/dist/modern/index.css +18 -8
- package/package.json +4 -4
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,38 @@
|
|
|
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.1.11](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-password-input@2.1.10...@alfalab/core-components-password-input@2.1.11) (2022-01-17)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @alfalab/core-components-password-input
|
|
9
|
+
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
## [2.1.10](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-password-input@2.1.9...@alfalab/core-components-password-input@2.1.10) (2021-12-29)
|
|
15
|
+
|
|
16
|
+
**Note:** Version bump only for package @alfalab/core-components-password-input
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
## [2.1.9](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-password-input@2.1.8...@alfalab/core-components-password-input@2.1.9) (2021-12-14)
|
|
23
|
+
|
|
24
|
+
**Note:** Version bump only for package @alfalab/core-components-password-input
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
## [2.1.8](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-password-input@2.1.7...@alfalab/core-components-password-input@2.1.8) (2021-12-09)
|
|
31
|
+
|
|
32
|
+
**Note:** Version bump only for package @alfalab/core-components-password-input
|
|
33
|
+
|
|
34
|
+
|
|
35
|
+
|
|
36
|
+
|
|
37
|
+
|
|
6
38
|
## [2.1.7](https://github.com/alfa-laboratory/core-components/compare/@alfalab/core-components-password-input@2.1.6...@alfalab/core-components-password-input@2.1.7) (2021-12-08)
|
|
7
39
|
|
|
8
40
|
**Note:** Version bump only for package @alfalab/core-components-password-input
|
package/dist/component.js
CHANGED
|
@@ -55,7 +55,7 @@ function __rest(s, e) {
|
|
|
55
55
|
return t;
|
|
56
56
|
}
|
|
57
57
|
|
|
58
|
-
var styles = {"eye":"password-
|
|
58
|
+
var styles = {"eye":"password-input__eye_1c2hc","xl":"password-input__xl_1c2hc","input":"password-input__input_1c2hc"};
|
|
59
59
|
require('./index.css')
|
|
60
60
|
|
|
61
61
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
|
@@ -1,15 +1,25 @@
|
|
|
1
|
+
:root {
|
|
2
|
+
|
|
3
|
+
/* Hard */
|
|
4
|
+
|
|
5
|
+
/* Up */
|
|
6
|
+
|
|
7
|
+
/* Hard up */
|
|
8
|
+
}
|
|
9
|
+
:root {
|
|
10
|
+
--gap-2xs: 4px;
|
|
11
|
+
--gap-s-neg: -12px;
|
|
12
|
+
--gap-m-neg: -16px;
|
|
13
|
+
}
|
|
1
14
|
.eye:last-child {
|
|
2
15
|
margin-right: var(--gap-s-neg);
|
|
3
16
|
}
|
|
4
|
-
|
|
5
17
|
.xl .eye:last-child {
|
|
6
18
|
margin-right: var(--gap-m-neg);
|
|
7
19
|
}
|
|
8
|
-
|
|
9
20
|
.xl .eye {
|
|
10
21
|
margin-left: var(--gap-2xs);
|
|
11
22
|
}
|
|
12
|
-
|
|
13
23
|
.input::-ms-reveal {
|
|
14
24
|
display: none;
|
|
15
25
|
}
|
package/dist/esm/component.js
CHANGED
|
@@ -44,7 +44,7 @@ function __rest(s, e) {
|
|
|
44
44
|
return t;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
|
-
var styles = {"eye":"password-
|
|
47
|
+
var styles = {"eye":"password-input__eye_1c2hc","xl":"password-input__xl_1c2hc","input":"password-input__input_1c2hc"};
|
|
48
48
|
require('./index.css')
|
|
49
49
|
|
|
50
50
|
var PasswordInput = forwardRef(function (_a, ref) {
|
package/dist/esm/index.css
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
|
|
1
|
+
/* hash: rfdrd */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
12
|
+
--gap-s-neg: -12px;
|
|
13
|
+
--gap-m-neg: -16px;
|
|
14
|
+
}
|
|
15
|
+
.password-input__eye_1c2hc:last-child {
|
|
3
16
|
margin-right: var(--gap-s-neg);
|
|
4
17
|
}
|
|
5
|
-
|
|
6
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5:last-child {
|
|
18
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc:last-child {
|
|
7
19
|
margin-right: var(--gap-m-neg);
|
|
8
20
|
}
|
|
9
|
-
|
|
10
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5 {
|
|
21
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc {
|
|
11
22
|
margin-left: var(--gap-2xs);
|
|
12
23
|
}
|
|
13
|
-
|
|
14
|
-
.password-input__input_1o3f5::-ms-reveal {
|
|
24
|
+
.password-input__input_1c2hc::-ms-reveal {
|
|
15
25
|
display: none;
|
|
16
26
|
}
|
package/dist/index.css
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
|
|
1
|
+
/* hash: rfdrd */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
12
|
+
--gap-s-neg: -12px;
|
|
13
|
+
--gap-m-neg: -16px;
|
|
14
|
+
}
|
|
15
|
+
.password-input__eye_1c2hc:last-child {
|
|
3
16
|
margin-right: var(--gap-s-neg);
|
|
4
17
|
}
|
|
5
|
-
|
|
6
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5:last-child {
|
|
18
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc:last-child {
|
|
7
19
|
margin-right: var(--gap-m-neg);
|
|
8
20
|
}
|
|
9
|
-
|
|
10
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5 {
|
|
21
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc {
|
|
11
22
|
margin-left: var(--gap-2xs);
|
|
12
23
|
}
|
|
13
|
-
|
|
14
|
-
.password-input__input_1o3f5::-ms-reveal {
|
|
24
|
+
.password-input__input_1c2hc::-ms-reveal {
|
|
15
25
|
display: none;
|
|
16
26
|
}
|
package/dist/modern/component.js
CHANGED
|
@@ -5,7 +5,7 @@ import { IconButton } from '@alfalab/core-components-icon-button/dist/modern';
|
|
|
5
5
|
import EyeMIcon from '@alfalab/icons-glyph/EyeMIcon';
|
|
6
6
|
import EyeOffMIcon from '@alfalab/icons-glyph/EyeOffMIcon';
|
|
7
7
|
|
|
8
|
-
var styles = {"eye":"password-
|
|
8
|
+
var styles = {"eye":"password-input__eye_1c2hc","xl":"password-input__xl_1c2hc","input":"password-input__input_1c2hc"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 's', className, ...restProps }, ref) => {
|
package/dist/modern/index.css
CHANGED
|
@@ -1,16 +1,26 @@
|
|
|
1
|
-
/* hash:
|
|
2
|
-
|
|
1
|
+
/* hash: rfdrd */
|
|
2
|
+
:root {
|
|
3
|
+
|
|
4
|
+
/* Hard */
|
|
5
|
+
|
|
6
|
+
/* Up */
|
|
7
|
+
|
|
8
|
+
/* Hard up */
|
|
9
|
+
}
|
|
10
|
+
:root {
|
|
11
|
+
--gap-2xs: 4px;
|
|
12
|
+
--gap-s-neg: -12px;
|
|
13
|
+
--gap-m-neg: -16px;
|
|
14
|
+
}
|
|
15
|
+
.password-input__eye_1c2hc:last-child {
|
|
3
16
|
margin-right: var(--gap-s-neg);
|
|
4
17
|
}
|
|
5
|
-
|
|
6
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5:last-child {
|
|
18
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc:last-child {
|
|
7
19
|
margin-right: var(--gap-m-neg);
|
|
8
20
|
}
|
|
9
|
-
|
|
10
|
-
.password-input__xl_1o3f5 .password-input__eye_1o3f5 {
|
|
21
|
+
.password-input__xl_1c2hc .password-input__eye_1c2hc {
|
|
11
22
|
margin-left: var(--gap-2xs);
|
|
12
23
|
}
|
|
13
|
-
|
|
14
|
-
.password-input__input_1o3f5::-ms-reveal {
|
|
24
|
+
.password-input__input_1c2hc::-ms-reveal {
|
|
15
25
|
display: none;
|
|
16
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-password-input",
|
|
3
|
-
"version": "2.1.
|
|
3
|
+
"version": "2.1.11",
|
|
4
4
|
"description": "Input password",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -17,10 +17,10 @@
|
|
|
17
17
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
18
18
|
},
|
|
19
19
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-icon-button": "^4.
|
|
21
|
-
"@alfalab/core-components-input": "^8.0.
|
|
20
|
+
"@alfalab/core-components-icon-button": "^4.1.2",
|
|
21
|
+
"@alfalab/core-components-input": "^8.0.2",
|
|
22
22
|
"@alfalab/icons-glyph": "^1.190.0",
|
|
23
23
|
"classnames": "^2.2.6"
|
|
24
24
|
},
|
|
25
|
-
"gitHead": "
|
|
25
|
+
"gitHead": "d35b2d43cbc90ecb7665c682a2de13733bc03eb0"
|
|
26
26
|
}
|