@alfalab/core-components-password-input 2.3.0 → 2.3.2
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 +20 -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 +2 -2
- package/{dist/cssm → cssm}/index.d.ts +0 -0
- package/{dist/cssm → cssm}/index.js +2 -2
- package/{dist/cssm → cssm}/index.module.css +0 -0
- package/{dist/esm → esm}/component.d.ts +0 -0
- package/{dist/esm → esm}/component.js +3 -3
- package/{dist/modern → esm}/index.css +5 -5
- package/{dist/esm → esm}/index.d.ts +0 -0
- package/{dist/esm → esm}/index.js +2 -2
- package/{dist/esm/index.css → index.css} +5 -5
- 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 +3 -3
- package/{dist → modern}/index.css +5 -5
- package/{dist/modern → modern}/index.d.ts +0 -0
- package/{dist/modern → modern}/index.js +2 -2
- package/package.json +8 -11
- /package/{dist/send-stats.js → send-stats.js} +0 -0
package/CHANGELOG.md
CHANGED
|
@@ -3,6 +3,25 @@
|
|
|
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.2](https://github.com/core-ds/core-components/compare/@alfalab/core-components-password-input@2.3.1...@alfalab/core-components-password-input@2.3.2) (2022-07-15)
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
### Bug Fixes
|
|
10
|
+
|
|
11
|
+
* bump packages version ([#153](https://github.com/core-ds/core-components/issues/153)) ([fd3e082](https://github.com/core-ds/core-components/commit/fd3e08205672129cdce04e1000c673f2cd9c10da))
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
## [2.3.1](https://github.com/core-ds/core-components/compare/@alfalab/core-components-password-input@2.3.0...@alfalab/core-components-password-input@2.3.1) (2022-07-14)
|
|
18
|
+
|
|
19
|
+
**Note:** Version bump only for package @alfalab/core-components-password-input
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
|
|
6
25
|
# [2.3.0](https://github.com/core-ds/core-components/compare/@alfalab/core-components-password-input@2.2.9...@alfalab/core-components-password-input@2.3.0) (2022-06-28)
|
|
7
26
|
|
|
8
27
|
|
|
@@ -298,4 +317,5 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline
|
|
|
298
317
|
|
|
299
318
|
### Features
|
|
300
319
|
|
|
320
|
+
|
|
301
321
|
* **password-input:** add password input (PDS-233) ([#691](https://github.com/core-ds/core-components/issues/691)) ([d872e4d](https://github.com/core-ds/core-components/commit/d872e4dd18fd5db472864fbc2676749b812da00f))
|
|
File without changes
|
|
@@ -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_1ca58","xl":"password-input__xl_1ca58","input":"password-input__input_1ca58"};
|
|
57
57
|
require('./index.css')
|
|
58
58
|
|
|
59
59
|
var PasswordInput = React.forwardRef(function (_a, ref) {
|
|
File without changes
|
|
@@ -4,8 +4,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
4
4
|
|
|
5
5
|
var React = require('react');
|
|
6
6
|
var cn = require('classnames');
|
|
7
|
-
var coreComponentsInput = require('@alfalab/core-components-input/
|
|
8
|
-
var coreComponentsIconButton = require('@alfalab/core-components-icon-button/
|
|
7
|
+
var coreComponentsInput = require('@alfalab/core-components-input/cssm');
|
|
8
|
+
var coreComponentsIconButton = require('@alfalab/core-components-icon-button/cssm');
|
|
9
9
|
var EyeMIcon = require('@alfalab/icons-glyph/EyeMIcon');
|
|
10
10
|
var EyeOffMIcon = require('@alfalab/icons-glyph/EyeOffMIcon');
|
|
11
11
|
var styles = require('./index.module.css');
|
|
File without changes
|
|
@@ -5,8 +5,8 @@ Object.defineProperty(exports, '__esModule', { value: true });
|
|
|
5
5
|
var component = require('./component.js');
|
|
6
6
|
require('react');
|
|
7
7
|
require('classnames');
|
|
8
|
-
require('@alfalab/core-components-input/
|
|
9
|
-
require('@alfalab/core-components-icon-button/
|
|
8
|
+
require('@alfalab/core-components-input/cssm');
|
|
9
|
+
require('@alfalab/core-components-icon-button/cssm');
|
|
10
10
|
require('@alfalab/icons-glyph/EyeMIcon');
|
|
11
11
|
require('@alfalab/icons-glyph/EyeOffMIcon');
|
|
12
12
|
require('./index.module.css');
|
|
File without changes
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React, { forwardRef, useState, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Input } from '@alfalab/core-components-input/
|
|
4
|
-
import { IconButton } from '@alfalab/core-components-icon-button/
|
|
3
|
+
import { Input } from '@alfalab/core-components-input/esm';
|
|
4
|
+
import { IconButton } from '@alfalab/core-components-icon-button/esm';
|
|
5
5
|
import { EyeMIcon } from '@alfalab/icons-glyph/EyeMIcon';
|
|
6
6
|
import { EyeOffMIcon } from '@alfalab/icons-glyph/EyeOffMIcon';
|
|
7
7
|
|
|
@@ -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_1ca58","xl":"password-input__xl_1ca58","input":"password-input__input_1ca58"};
|
|
48
48
|
require('./index.css')
|
|
49
49
|
|
|
50
50
|
var PasswordInput = forwardRef(function (_a, ref) {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15o73 */
|
|
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_1ca58:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58 {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1ca58::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { PasswordInput } from './component.js';
|
|
2
2
|
import 'react';
|
|
3
3
|
import 'classnames';
|
|
4
|
-
import '@alfalab/core-components-input/
|
|
5
|
-
import '@alfalab/core-components-icon-button/
|
|
4
|
+
import '@alfalab/core-components-input/esm';
|
|
5
|
+
import '@alfalab/core-components-icon-button/esm';
|
|
6
6
|
import '@alfalab/icons-glyph/EyeMIcon';
|
|
7
7
|
import '@alfalab/icons-glyph/EyeOffMIcon';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15o73 */
|
|
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_1ca58:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58 {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1ca58::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import React, { forwardRef, useState, useCallback } from 'react';
|
|
2
2
|
import cn from 'classnames';
|
|
3
|
-
import { Input } from '@alfalab/core-components-input/
|
|
4
|
-
import { IconButton } from '@alfalab/core-components-icon-button/
|
|
3
|
+
import { Input } from '@alfalab/core-components-input/modern';
|
|
4
|
+
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_1ca58","xl":"password-input__xl_1ca58","input":"password-input__input_1ca58"};
|
|
9
9
|
require('./index.css')
|
|
10
10
|
|
|
11
11
|
const PasswordInput = forwardRef(({ onPasswordVisibleChange, passwordVisible, disabled, colors, rightAddons, size = 's', className, ...restProps }, ref) => {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
/* hash:
|
|
1
|
+
/* hash: 15o73 */
|
|
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_1ca58:last-child {
|
|
16
16
|
margin-right: var(--gap-s-neg);
|
|
17
17
|
}
|
|
18
|
-
.password-
|
|
18
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58:last-child {
|
|
19
19
|
margin-right: var(--gap-m-neg);
|
|
20
20
|
}
|
|
21
|
-
.password-
|
|
21
|
+
.password-input__xl_1ca58 .password-input__eye_1ca58 {
|
|
22
22
|
margin-left: var(--gap-2xs);
|
|
23
23
|
}
|
|
24
|
-
.password-
|
|
24
|
+
.password-input__input_1ca58::-ms-reveal {
|
|
25
25
|
display: none;
|
|
26
26
|
}
|
|
File without changes
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import 'react';
|
|
2
2
|
import 'classnames';
|
|
3
|
-
import '@alfalab/core-components-input/
|
|
4
|
-
import '@alfalab/core-components-icon-button/
|
|
3
|
+
import '@alfalab/core-components-input/modern';
|
|
4
|
+
import '@alfalab/core-components-icon-button/modern';
|
|
5
5
|
import '@alfalab/icons-glyph/EyeMIcon';
|
|
6
6
|
import '@alfalab/icons-glyph/EyeOffMIcon';
|
|
7
7
|
export { PasswordInput } from './component.js';
|
package/package.json
CHANGED
|
@@ -1,26 +1,23 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@alfalab/core-components-password-input",
|
|
3
|
-
"version": "2.3.
|
|
3
|
+
"version": "2.3.2",
|
|
4
4
|
"description": "Input password",
|
|
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
|
"publishConfig": {
|
|
13
|
-
"access": "public"
|
|
10
|
+
"access": "public",
|
|
11
|
+
"directory": "dist"
|
|
14
12
|
},
|
|
15
13
|
"peerDependencies": {
|
|
16
14
|
"react": "^16.9.0 || ^17.0.1",
|
|
17
15
|
"react-dom": "^16.9.0 || ^17.0.1"
|
|
18
16
|
},
|
|
19
17
|
"dependencies": {
|
|
20
|
-
"@alfalab/core-components-icon-button": "^4.2.
|
|
21
|
-
"@alfalab/core-components-input": "^8.2.
|
|
18
|
+
"@alfalab/core-components-icon-button": "^4.2.2",
|
|
19
|
+
"@alfalab/core-components-input": "^8.2.2",
|
|
22
20
|
"@alfalab/icons-glyph": "^2.16.0",
|
|
23
21
|
"classnames": "^2.2.6"
|
|
24
|
-
}
|
|
25
|
-
"gitHead": "dcd5c0c8e25b7c374ff9311505ccf738a82e22c0"
|
|
22
|
+
}
|
|
26
23
|
}
|
|
File without changes
|