@alfalab/core-components-password-input 4.1.8 → 4.1.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 +3 -3
package/component.js
CHANGED
|
@@ -13,7 +13,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
|
|
|
13
13
|
var React__default = /*#__PURE__*/_interopDefaultCompat(React);
|
|
14
14
|
var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
|
|
15
15
|
|
|
16
|
-
var styles = {"eye":"password-
|
|
16
|
+
var styles = {"eye":"password-input__eye_1ftl8","xl":"password-input__xl_1ftl8","input":"password-input__input_1ftl8"};
|
|
17
17
|
require('./index.css')
|
|
18
18
|
|
|
19
19
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
package/esm/component.js
CHANGED
|
@@ -6,7 +6,7 @@ import { Input } from '@alfalab/core-components-input/esm';
|
|
|
6
6
|
import { EyeMIcon } from '@alfalab/icons-glyph/EyeMIcon';
|
|
7
7
|
import { EyeOffMIcon } from '@alfalab/icons-glyph/EyeOffMIcon';
|
|
8
8
|
|
|
9
|
-
var styles = {"eye":"password-
|
|
9
|
+
var styles = {"eye":"password-input__eye_1ftl8","xl":"password-input__xl_1ftl8","input":"password-input__input_1ftl8"};
|
|
10
10
|
require('./index.css')
|
|
11
11
|
|
|
12
12
|
var PasswordInput = forwardRef(function (_a, ref) {
|
package/esm/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1praz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
--gap-m-neg: -16px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .password-
|
|
20
|
+
} .password-input__eye_1ftl8:last-child {
|
|
21
21
|
margin-right: var(--gap-s-neg);
|
|
22
|
-
} .password-
|
|
22
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8:last-child {
|
|
23
23
|
margin-right: var(--gap-m-neg);
|
|
24
|
-
} .password-
|
|
24
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8 {
|
|
25
25
|
margin-left: var(--gap-2xs);
|
|
26
|
-
} .password-
|
|
26
|
+
} .password-input__input_1ftl8::-ms-reveal {
|
|
27
27
|
display: none;
|
|
28
28
|
}
|
package/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 1praz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
--gap-m-neg: -16px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .password-
|
|
20
|
+
} .password-input__eye_1ftl8:last-child {
|
|
21
21
|
margin-right: var(--gap-s-neg);
|
|
22
|
-
} .password-
|
|
22
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8:last-child {
|
|
23
23
|
margin-right: var(--gap-m-neg);
|
|
24
|
-
} .password-
|
|
24
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8 {
|
|
25
25
|
margin-left: var(--gap-2xs);
|
|
26
|
-
} .password-
|
|
26
|
+
} .password-input__input_1ftl8::-ms-reveal {
|
|
27
27
|
display: none;
|
|
28
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_1ftl8","xl":"password-input__xl_1ftl8","input":"password-input__input_1ftl8"};
|
|
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: 1praz */
|
|
2
2
|
:root {
|
|
3
3
|
} /* deprecated */ :root {
|
|
4
4
|
} :root {
|
|
@@ -17,12 +17,12 @@
|
|
|
17
17
|
--gap-m-neg: -16px;
|
|
18
18
|
} :root {
|
|
19
19
|
} :root {
|
|
20
|
-
} .password-
|
|
20
|
+
} .password-input__eye_1ftl8:last-child {
|
|
21
21
|
margin-right: var(--gap-s-neg);
|
|
22
|
-
} .password-
|
|
22
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8:last-child {
|
|
23
23
|
margin-right: var(--gap-m-neg);
|
|
24
|
-
} .password-
|
|
24
|
+
} .password-input__xl_1ftl8 .password-input__eye_1ftl8 {
|
|
25
25
|
margin-left: var(--gap-2xs);
|
|
26
|
-
} .password-
|
|
26
|
+
} .password-input__input_1ftl8::-ms-reveal {
|
|
27
27
|
display: none;
|
|
28
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.9",
|
|
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.8",
|
|
19
|
+
"@alfalab/core-components-input": "^11.1.8",
|
|
20
20
|
"@alfalab/icons-glyph": "^2.89.0",
|
|
21
21
|
"classnames": "^2.3.1",
|
|
22
22
|
"tslib": "^2.4.0"
|