@npm_leadtech/legal-lib-components 5.43.6 → 5.43.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/dist/css/styles.css
CHANGED
|
@@ -2242,12 +2242,13 @@ h2.react-datepicker__current-month {
|
|
|
2242
2242
|
right: 0;
|
|
2243
2243
|
bottom: 0;
|
|
2244
2244
|
}
|
|
2245
|
-
.e-text .input-icon-password {
|
|
2245
|
+
.e-text .input-icon-password-button {
|
|
2246
2246
|
cursor: pointer;
|
|
2247
2247
|
position: absolute;
|
|
2248
|
-
|
|
2249
|
-
|
|
2250
|
-
|
|
2248
|
+
right: 0px;
|
|
2249
|
+
bottom: 6px;
|
|
2250
|
+
background: none;
|
|
2251
|
+
border: none;
|
|
2251
2252
|
}
|
|
2252
2253
|
.e-text .formgroup--input__button {
|
|
2253
2254
|
align-self: flex-start;
|
|
@@ -13,7 +13,7 @@ export const Input = React.forwardRef(({ value, name, placeholder, className, on
|
|
|
13
13
|
setCurrentValue(event.target.value);
|
|
14
14
|
onChange(event);
|
|
15
15
|
}, [currentValue]);
|
|
16
|
-
return (_jsxs(_Fragment, { children: [_jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: className, maxLength: maxLength, placeholder: placeholder, onChange: handleChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: currentValue, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { className: 'input-icon-password', onClick: showPassword, onKeyDown: (e) => {
|
|
16
|
+
return (_jsxs(_Fragment, { children: [_jsx("input", { type: !hidden && type === 'password' ? 'text' : type, name: name, id: name, className: className, maxLength: maxLength, placeholder: placeholder, onChange: handleChange, onClick: onClick, onKeyDown: onKeyDown, onKeyUp: onKeyUp, onBlur: onBlur, value: currentValue, "data-qa": name, disabled: disabled, ref: ref }), type === 'password' && (_jsx("button", { className: 'input-icon-password-button', onClick: showPassword, onKeyDown: (e) => {
|
|
17
17
|
if (e.key === 'Enter')
|
|
18
18
|
showPassword();
|
|
19
19
|
}, children: _jsx("img", { src: hidden ? eyeIcon : eyeCloseIcon, alt: '' }) }))] }));
|
|
@@ -72,7 +72,7 @@ export const Input = React.forwardRef<HTMLInputElement, InputProps>(
|
|
|
72
72
|
/>
|
|
73
73
|
{type === 'password' && (
|
|
74
74
|
<button
|
|
75
|
-
className='input-icon-password'
|
|
75
|
+
className='input-icon-password-button'
|
|
76
76
|
onClick={showPassword}
|
|
77
77
|
onKeyDown={(e) => {
|
|
78
78
|
if (e.key === 'Enter') showPassword()
|
|
@@ -155,12 +155,13 @@
|
|
|
155
155
|
bottom: 0;
|
|
156
156
|
}
|
|
157
157
|
|
|
158
|
-
.input-icon-password {
|
|
158
|
+
.input-icon-password-button {
|
|
159
159
|
cursor: pointer;
|
|
160
160
|
position: absolute;
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
161
|
+
right: 0px;
|
|
162
|
+
bottom: 6px;
|
|
163
|
+
background: none;
|
|
164
|
+
border: none;
|
|
164
165
|
}
|
|
165
166
|
|
|
166
167
|
.formgroup--input__button {
|