@commercetools-uikit/password-input 14.0.1 → 14.0.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.
@@ -13,7 +13,6 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
13
13
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
14
14
  var _pt = require('prop-types');
15
15
  var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
16
- require('react');
17
16
  var react = require('@emotion/react');
18
17
  var utils = require('@commercetools-uikit/utils');
19
18
  var Constraints = require('@commercetools-uikit/constraints');
@@ -106,7 +105,7 @@ PasswordInput.isEmpty = function (value) {
106
105
  var PasswordInput$1 = PasswordInput;
107
106
 
108
107
  // NOTE: This string will be replaced on build time with the package version.
109
- var version = "14.0.1";
108
+ var version = "14.0.2";
110
109
 
111
110
  exports["default"] = PasswordInput$1;
112
111
  exports.version = version;
@@ -13,7 +13,6 @@ var _Object$defineProperty = require('@babel/runtime-corejs3/core-js-stable/obje
13
13
  var _defineProperty = require('@babel/runtime-corejs3/helpers/defineProperty');
14
14
  require('prop-types');
15
15
  var _trimInstanceProperty = require('@babel/runtime-corejs3/core-js-stable/instance/trim');
16
- require('react');
17
16
  var react = require('@emotion/react');
18
17
  var utils = require('@commercetools-uikit/utils');
19
18
  var Constraints = require('@commercetools-uikit/constraints');
@@ -85,7 +84,7 @@ PasswordInput.isEmpty = function (value) {
85
84
  var PasswordInput$1 = PasswordInput;
86
85
 
87
86
  // NOTE: This string will be replaced on build time with the package version.
88
- var version = "14.0.1";
87
+ var version = "14.0.2";
89
88
 
90
89
  exports["default"] = PasswordInput$1;
91
90
  exports.version = version;
@@ -9,7 +9,6 @@ import _Object$defineProperty from '@babel/runtime-corejs3/core-js-stable/object
9
9
  import _defineProperty from '@babel/runtime-corejs3/helpers/esm/defineProperty';
10
10
  import _pt from 'prop-types';
11
11
  import _trimInstanceProperty from '@babel/runtime-corejs3/core-js-stable/instance/trim';
12
- import 'react';
13
12
  import { useTheme } from '@emotion/react';
14
13
  import { warning, filterDataAttributes } from '@commercetools-uikit/utils';
15
14
  import Constraints from '@commercetools-uikit/constraints';
@@ -88,6 +87,6 @@ PasswordInput.isEmpty = function (value) {
88
87
  var PasswordInput$1 = PasswordInput;
89
88
 
90
89
  // NOTE: This string will be replaced on build time with the package version.
91
- var version = "14.0.1";
90
+ var version = "14.0.2";
92
91
 
93
92
  export { PasswordInput$1 as default, version };
@@ -1,4 +1,4 @@
1
- import { ChangeEventHandler, FocusEventHandler } from 'react';
1
+ import type { ChangeEventHandler, FocusEventHandler } from 'react';
2
2
  export declare type TPasswordInputProps = {
3
3
  id?: string;
4
4
  name?: string;
@@ -6,9 +6,9 @@ export declare type TPasswordInputProps = {
6
6
  'aria-errormessage'?: string;
7
7
  value: string;
8
8
  placeholder?: string;
9
- onChange?: ChangeEventHandler;
10
- onBlur?: FocusEventHandler;
11
- onFocus?: FocusEventHandler;
9
+ onChange?: ChangeEventHandler<HTMLInputElement>;
10
+ onBlur?: FocusEventHandler<HTMLInputElement>;
11
+ onFocus?: FocusEventHandler<HTMLInputElement>;
12
12
  isAutofocussed?: boolean;
13
13
  isDisabled?: boolean;
14
14
  isReadOnly?: boolean;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@commercetools-uikit/password-input",
3
3
  "description": "A controlled password input component.",
4
- "version": "14.0.1",
4
+ "version": "14.0.2",
5
5
  "bugs": "https://github.com/commercetools/ui-kit/issues",
6
6
  "repository": {
7
7
  "type": "git",
@@ -23,7 +23,7 @@
23
23
  "@babel/runtime-corejs3": "^7.17.2",
24
24
  "@commercetools-uikit/constraints": "14.0.1",
25
25
  "@commercetools-uikit/design-system": "14.0.0",
26
- "@commercetools-uikit/input-utils": "14.0.1",
26
+ "@commercetools-uikit/input-utils": "14.0.2",
27
27
  "@commercetools-uikit/utils": "14.0.1",
28
28
  "@emotion/react": "^11.4.0",
29
29
  "@emotion/styled": "^11.3.0",