@alfalab/core-components-password-input 4.2.9 → 4.2.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/component.d.ts CHANGED
@@ -11,7 +11,7 @@ type PasswordInputProps = InputProps & {
11
11
  */
12
12
  onPasswordVisibleChange?: (visible: boolean) => void;
13
13
  };
14
- declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
14
+ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "FormControlComponent"> & {
15
15
  breakpoint?: number | undefined;
16
16
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
17
  } & {
package/component.js CHANGED
@@ -15,7 +15,7 @@ function _interopDefaultCompat (e) { return e && typeof e === 'object' && 'defau
15
15
  var React__default = /*#__PURE__*/_interopDefaultCompat(React);
16
16
  var cn__default = /*#__PURE__*/_interopDefaultCompat(cn);
17
17
 
18
- var styles = {"eye":"password-input__eye_11qo0","xl":"password-input__xl_11qo0","input":"password-input__input_11qo0","addons":"password-input__addons_11qo0"};
18
+ var styles = {"eye":"password-input__eye_17syd","xl":"password-input__xl_17syd","input":"password-input__input_17syd","addons":"password-input__addons_17syd"};
19
19
  require('./index.css')
20
20
 
21
21
  var PasswordInput = React.forwardRef(function (_a, ref) {
@@ -11,7 +11,7 @@ type PasswordInputProps = InputProps & {
11
11
  */
12
12
  onPasswordVisibleChange?: (visible: boolean) => void;
13
13
  };
14
- declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
14
+ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "FormControlComponent"> & {
15
15
  breakpoint?: number | undefined;
16
16
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
17
  } & {
@@ -11,7 +11,7 @@ type PasswordInputProps = InputProps & {
11
11
  */
12
12
  onPasswordVisibleChange?: (visible: boolean) => void;
13
13
  };
14
- declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
14
+ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "FormControlComponent"> & {
15
15
  breakpoint?: number | undefined;
16
16
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
17
  } & {
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-input__eye_11qo0","xl":"password-input__xl_11qo0","input":"password-input__input_11qo0","addons":"password-input__addons_11qo0"};
9
+ var styles = {"eye":"password-input__eye_17syd","xl":"password-input__xl_17syd","input":"password-input__input_17syd","addons":"password-input__addons_17syd"};
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: 1450x */
1
+ /* hash: ja8mz */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,14 +16,14 @@
16
16
  --gap-m-neg: -16px;
17
17
  } :root {
18
18
  } :root {
19
- } .password-input__eye_11qo0:last-child {
19
+ } .password-input__eye_17syd:last-child {
20
20
  height: 100%;
21
- } .password-input__xl_11qo0 .password-input__eye_11qo0:last-child {
21
+ } .password-input__xl_17syd .password-input__eye_17syd:last-child {
22
22
  margin-right: var(--gap-m-neg);
23
- } .password-input__xl_11qo0 .password-input__eye_11qo0 {
23
+ } .password-input__xl_17syd .password-input__eye_17syd {
24
24
  margin-left: var(--gap-2xs);
25
- } .password-input__input_11qo0::-ms-reveal {
25
+ } .password-input__input_17syd::-ms-reveal {
26
26
  display: none;
27
- } .password-input__addons_11qo0 {
27
+ } .password-input__addons_17syd {
28
28
  padding-right: 0;
29
29
  }
package/index.css CHANGED
@@ -1,4 +1,4 @@
1
- /* hash: 1450x */
1
+ /* hash: ja8mz */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,14 +16,14 @@
16
16
  --gap-m-neg: -16px;
17
17
  } :root {
18
18
  } :root {
19
- } .password-input__eye_11qo0:last-child {
19
+ } .password-input__eye_17syd:last-child {
20
20
  height: 100%;
21
- } .password-input__xl_11qo0 .password-input__eye_11qo0:last-child {
21
+ } .password-input__xl_17syd .password-input__eye_17syd:last-child {
22
22
  margin-right: var(--gap-m-neg);
23
- } .password-input__xl_11qo0 .password-input__eye_11qo0 {
23
+ } .password-input__xl_17syd .password-input__eye_17syd {
24
24
  margin-left: var(--gap-2xs);
25
- } .password-input__input_11qo0::-ms-reveal {
25
+ } .password-input__input_17syd::-ms-reveal {
26
26
  display: none;
27
- } .password-input__addons_11qo0 {
27
+ } .password-input__addons_17syd {
28
28
  padding-right: 0;
29
29
  }
@@ -11,7 +11,7 @@ type PasswordInputProps = InputProps & {
11
11
  */
12
12
  onPasswordVisibleChange?: (visible: boolean) => void;
13
13
  };
14
- declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "colorStyles" | "FormControlComponent"> & {
14
+ declare const PasswordInput: React.ForwardRefExoticComponent<Omit<import("@alfalab/core-components-input/components/base-input").BaseInputProps, "FormControlComponent"> & {
15
15
  breakpoint?: number | undefined;
16
16
  defaultMatchMediaValue?: boolean | (() => boolean) | undefined;
17
17
  } & {
@@ -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-input__eye_11qo0","xl":"password-input__xl_11qo0","input":"password-input__input_11qo0","addons":"password-input__addons_11qo0"};
8
+ const styles = {"eye":"password-input__eye_17syd","xl":"password-input__xl_17syd","input":"password-input__input_17syd","addons":"password-input__addons_17syd"};
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: 1450x */
1
+ /* hash: ja8mz */
2
2
  :root {
3
3
  } /* deprecated */ :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
4
4
  } :root { /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */ /* deprecated */
@@ -16,14 +16,14 @@
16
16
  --gap-m-neg: -16px;
17
17
  } :root {
18
18
  } :root {
19
- } .password-input__eye_11qo0:last-child {
19
+ } .password-input__eye_17syd:last-child {
20
20
  height: 100%;
21
- } .password-input__xl_11qo0 .password-input__eye_11qo0:last-child {
21
+ } .password-input__xl_17syd .password-input__eye_17syd:last-child {
22
22
  margin-right: var(--gap-m-neg);
23
- } .password-input__xl_11qo0 .password-input__eye_11qo0 {
23
+ } .password-input__xl_17syd .password-input__eye_17syd {
24
24
  margin-left: var(--gap-2xs);
25
- } .password-input__input_11qo0::-ms-reveal {
25
+ } .password-input__input_17syd::-ms-reveal {
26
26
  display: none;
27
- } .password-input__addons_11qo0 {
27
+ } .password-input__addons_17syd {
28
28
  padding-right: 0;
29
29
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alfalab/core-components-password-input",
3
- "version": "4.2.9",
3
+ "version": "4.2.11",
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.3.1",
19
- "@alfalab/core-components-input": "^12.2.1",
18
+ "@alfalab/core-components-icon-button": "^6.4.0",
19
+ "@alfalab/core-components-input": "^13.0.0",
20
20
  "@alfalab/icons-glyph": "^2.108.0",
21
21
  "classnames": "^2.3.1",
22
22
  "tslib": "^2.4.0"