@alfalab/core-components-password-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/component.js +1 -1
- package/esm/component.js +1 -1
- package/esm/index.css +5 -5
- package/index.css +5 -5
- package/modern/component.js +1 -1
- package/modern/index.css +5 -5
- package/package.json +4 -4
package/component.js
CHANGED
|
@@ -53,7 +53,7 @@ function __rest(s, e) {
|
|
|
53
53
|
return t;
|
|
54
54
|
}
|
|
55
55
|
|
|
56
|
-
var styles = {"eye":"password-
|
|
56
|
+
var styles = {"eye":"password-input__eye_1p7ad","xl":"password-input__xl_1p7ad","input":"password-input__input_1p7ad"};
|
|
57
57
|
require('./index.css')
|
|
58
58
|
|
|
59
59
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
package/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_1p7ad","xl":"password-input__xl_1p7ad","input":"password-input__input_1p7ad"};
|
|
48
48
|
require('./index.css')
|
|
49
49
|
|
|
50
50
|
var PasswordInput = forwardRef(function (_a, ref) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 88blj */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
--gap-s-neg: -12px;
|
|
13
13
|
--gap-m-neg: -16px;
|
|
14
14
|
}
|
|
15
|
-
.password-
|
|
15
|
+
.password-input__eye_1p7ad:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1p7ad::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 88blj */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
--gap-s-neg: -12px;
|
|
13
13
|
--gap-m-neg: -16px;
|
|
14
14
|
}
|
|
15
|
-
.password-
|
|
15
|
+
.password-input__eye_1p7ad:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1p7ad::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
package/modern/component.js
CHANGED
|
@@ -5,7 +5,7 @@ import { IconButton } from '@alfalab/core-components-icon-button/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_1p7ad","xl":"password-input__xl_1p7ad","input":"password-input__input_1p7ad"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 's', className, ...restProps }, ref) => {
|
package/modern/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 88blj */
|
|
2
2
|
:root {
|
|
3
3
|
|
|
4
4
|
/* Hard */
|
|
@@ -12,15 +12,15 @@
|
|
|
12
12
|
--gap-s-neg: -12px;
|
|
13
13
|
--gap-m-neg: -16px;
|
|
14
14
|
}
|
|
15
|
-
.password-
|
|
15
|
+
.password-input__eye_1p7ad:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1p7ad .password-input__eye_1p7ad {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1p7ad::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-password-input",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.9",
|
|
4
4
|
"description": "Input password",
|
|
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-icon-button": "^5.0.
|
|
19
|
-
"@alfalab/core-components-input": "^10.2.
|
|
20
|
-
"@alfalab/icons-glyph": "^2.
|
|
18
|
+
"@alfalab/core-components-icon-button": "^5.0.5",
|
|
19
|
+
"@alfalab/core-components-input": "^10.2.4",
|
|
20
|
+
"@alfalab/icons-glyph": "^2.71.0",
|
|
21
21
|
"classnames": "^2.3.1"
|
|
22
22
|
}
|
|
23
23
|
}
|