@alfalab/core-components-password-input 4.1.5 → 4.1.7
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/cssm/index.module.css +12 -10
- package/esm/component.js +1 -1
- package/esm/index.css +13 -11
- package/index.css +13 -11
- package/modern/component.js +1 -1
- package/modern/index.css +13 -11
- package/package.json +3 -3
package/component.js
CHANGED
|
@@ -51,7 +51,7 @@ function __rest(s, e) {
|
|
|
51
51
|
return t;
|
|
52
52
|
}
|
|
53
53
|
|
|
54
|
-
var styles = {"eye":"password-
|
|
54
|
+
var styles = {"eye":"password-input__eye_1bxdz","xl":"password-input__xl_1bxdz","input":"password-input__input_1bxdz"};
|
|
55
55
|
require('./index.css')
|
|
56
56
|
|
|
57
57
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
package/cssm/index.module.css
CHANGED
|
@@ -1,25 +1,27 @@
|
|
|
1
1
|
:root {
|
|
2
|
+
} /* deprecated */ :root {
|
|
3
|
+
} :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
2
6
|
|
|
3
7
|
/* Hard */
|
|
4
8
|
|
|
5
9
|
/* Up */
|
|
6
10
|
|
|
7
11
|
/* Hard up */
|
|
8
|
-
}
|
|
9
|
-
:root {
|
|
12
|
+
} :root {
|
|
13
|
+
} :root {
|
|
10
14
|
--gap-2xs: 4px;
|
|
11
15
|
--gap-s-neg: -12px;
|
|
12
16
|
--gap-m-neg: -16px;
|
|
13
|
-
}
|
|
14
|
-
|
|
17
|
+
} :root {
|
|
18
|
+
} :root {
|
|
19
|
+
} .eye:last-child {
|
|
15
20
|
margin-right: var(--gap-s-neg);
|
|
16
|
-
}
|
|
17
|
-
.xl .eye:last-child {
|
|
21
|
+
} .xl .eye:last-child {
|
|
18
22
|
margin-right: var(--gap-m-neg);
|
|
19
|
-
}
|
|
20
|
-
.xl .eye {
|
|
23
|
+
} .xl .eye {
|
|
21
24
|
margin-left: var(--gap-2xs);
|
|
22
|
-
}
|
|
23
|
-
.input::-ms-reveal {
|
|
25
|
+
} .input::-ms-reveal {
|
|
24
26
|
display: none;
|
|
25
27
|
}
|
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_1bxdz","xl":"password-input__xl_1bxdz","input":"password-input__input_1bxdz"};
|
|
48
48
|
require('./index.css')
|
|
49
49
|
|
|
50
50
|
var PasswordInput = forwardRef(function (_a, ref) {
|
package/esm/index.css
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ir1bj */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-2xs: 4px;
|
|
12
16
|
--gap-s-neg: -12px;
|
|
13
17
|
--gap-m-neg: -16px;
|
|
14
|
-
}
|
|
15
|
-
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .password-input__eye_1bxdz:last-child {
|
|
16
21
|
margin-right: var(--gap-s-neg);
|
|
17
|
-
}
|
|
18
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w:last-child {
|
|
22
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz:last-child {
|
|
19
23
|
margin-right: var(--gap-m-neg);
|
|
20
|
-
}
|
|
21
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w {
|
|
24
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz {
|
|
22
25
|
margin-left: var(--gap-2xs);
|
|
23
|
-
}
|
|
24
|
-
.password-input__input_4jz9w::-ms-reveal {
|
|
26
|
+
} .password-input__input_1bxdz::-ms-reveal {
|
|
25
27
|
display: none;
|
|
26
28
|
}
|
package/index.css
CHANGED
|
@@ -1,26 +1,28 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ir1bj */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-2xs: 4px;
|
|
12
16
|
--gap-s-neg: -12px;
|
|
13
17
|
--gap-m-neg: -16px;
|
|
14
|
-
}
|
|
15
|
-
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .password-input__eye_1bxdz:last-child {
|
|
16
21
|
margin-right: var(--gap-s-neg);
|
|
17
|
-
}
|
|
18
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w:last-child {
|
|
22
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz:last-child {
|
|
19
23
|
margin-right: var(--gap-m-neg);
|
|
20
|
-
}
|
|
21
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w {
|
|
24
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz {
|
|
22
25
|
margin-left: var(--gap-2xs);
|
|
23
|
-
}
|
|
24
|
-
.password-input__input_4jz9w::-ms-reveal {
|
|
26
|
+
} .password-input__input_1bxdz::-ms-reveal {
|
|
25
27
|
display: none;
|
|
26
28
|
}
|
package/modern/component.js
CHANGED
|
@@ -5,7 +5,7 @@ import { Input } from '@alfalab/core-components-input/modern';
|
|
|
5
5
|
import { EyeMIcon } from '@alfalab/icons-glyph/EyeMIcon';
|
|
6
6
|
import { EyeOffMIcon } from '@alfalab/icons-glyph/EyeOffMIcon';
|
|
7
7
|
|
|
8
|
-
const styles = {"eye":"password-
|
|
8
|
+
const styles = {"eye":"password-input__eye_1bxdz","xl":"password-input__xl_1bxdz","input":"password-input__input_1bxdz"};
|
|
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,26 +1,28 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: ir1bj */
|
|
2
2
|
:root {
|
|
3
|
+
} /* deprecated */ :root {
|
|
4
|
+
} :root {
|
|
5
|
+
} :root {
|
|
6
|
+
} :root {
|
|
3
7
|
|
|
4
8
|
/* Hard */
|
|
5
9
|
|
|
6
10
|
/* Up */
|
|
7
11
|
|
|
8
12
|
/* Hard up */
|
|
9
|
-
}
|
|
10
|
-
:root {
|
|
13
|
+
} :root {
|
|
14
|
+
} :root {
|
|
11
15
|
--gap-2xs: 4px;
|
|
12
16
|
--gap-s-neg: -12px;
|
|
13
17
|
--gap-m-neg: -16px;
|
|
14
|
-
}
|
|
15
|
-
|
|
18
|
+
} :root {
|
|
19
|
+
} :root {
|
|
20
|
+
} .password-input__eye_1bxdz:last-child {
|
|
16
21
|
margin-right: var(--gap-s-neg);
|
|
17
|
-
}
|
|
18
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w:last-child {
|
|
22
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz:last-child {
|
|
19
23
|
margin-right: var(--gap-m-neg);
|
|
20
|
-
}
|
|
21
|
-
.password-input__xl_4jz9w .password-input__eye_4jz9w {
|
|
24
|
+
} .password-input__xl_1bxdz .password-input__eye_1bxdz {
|
|
22
25
|
margin-left: var(--gap-2xs);
|
|
23
|
-
}
|
|
24
|
-
.password-input__input_4jz9w::-ms-reveal {
|
|
26
|
+
} .password-input__input_1bxdz::-ms-reveal {
|
|
25
27
|
display: none;
|
|
26
28
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-password-input",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.7",
|
|
4
4
|
"description": "Input password",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"license": "MIT",
|
|
@@ -15,8 +15,8 @@
|
|
|
15
15
|
"react-dom": "^16.9.0 || ^17.0.1 || ^18.0.0"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@alfalab/core-components-icon-button": "^6.0.
|
|
19
|
-
"@alfalab/core-components-input": "^11.1.
|
|
18
|
+
"@alfalab/core-components-icon-button": "^6.0.6",
|
|
19
|
+
"@alfalab/core-components-input": "^11.1.6",
|
|
20
20
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
21
21
|
"classnames": "^2.3.1"
|
|
22
22
|
}
|