@npm_leadtech/legal-lib-components 5.33.5 → 5.33.14
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/src/components/atoms/AddButton/AddButton.styled.js +1 -0
- package/dist/src/components/atoms/AddButton/AddButton.styled.ts +1 -0
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.js +1 -1
- package/dist/src/components/atoms/IconTextInfoSection/IconTextInfoSection.styled.ts +1 -1
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.js +1 -0
- package/dist/src/components/atoms/RemoveButton/RemoveButton.styled.ts +1 -0
- package/dist/src/components/atoms/TopBar/TopBar.styled.js +1 -1
- package/dist/src/components/atoms/TopBar/TopBar.styled.ts +1 -1
- package/dist/src/components/molecules/TextInput/TextInput.js +1 -1
- package/dist/src/components/molecules/TextInput/TextInput.tsx +1 -1
- package/package.json +1 -1
|
@@ -27,7 +27,7 @@ export const IconTextInfoSectionStyled = styled.div `
|
|
|
27
27
|
flex-direction: column;
|
|
28
28
|
background-color: var(--neutral-neutral-4);
|
|
29
29
|
justify-content: center;
|
|
30
|
-
padding: 1rem
|
|
30
|
+
padding: 1rem 1.5rem;
|
|
31
31
|
|
|
32
32
|
@media ${device['portrait-tablets']} {
|
|
33
33
|
padding: 0;
|
|
@@ -28,7 +28,7 @@ export const IconTextInfoSectionStyled = styled.div`
|
|
|
28
28
|
flex-direction: column;
|
|
29
29
|
background-color: var(--neutral-neutral-4);
|
|
30
30
|
justify-content: center;
|
|
31
|
-
padding: 1rem
|
|
31
|
+
padding: 1rem 1.5rem;
|
|
32
32
|
|
|
33
33
|
@media ${device['portrait-tablets']} {
|
|
34
34
|
padding: 0;
|
|
@@ -32,7 +32,7 @@ const TextInput = React.forwardRef(({ label, value, validate = true, isValidGrou
|
|
|
32
32
|
}
|
|
33
33
|
return (_jsx(Input, { name: name ?? '', type: type, placeholder: placeholder ?? '', className: 'e-text-input', onChange: handleChange, onClick: onClick ?? (() => { }), value: value, "data-qa": name, disabled: disabled ?? false, maxLength: maxLength, onBlur: onBlur ?? (() => { }), ref: ref, onKeyDown: handleKeyDown, onKeyUp: handleKeyUp }));
|
|
34
34
|
};
|
|
35
|
-
return (_jsxs("div", { className: classnames, children: [
|
|
35
|
+
return (_jsxs("div", { className: classnames, children: [children !== null && _jsx("div", { className: 'e-text__children', children: children }), _jsx(TextInputTooltip, { tooltip: tooltip }), _jsx(TextInputMessage, { errorMessage: errorMessage, validate: validate }), renderInput(), _jsx(TextInputLabel, { label: label, htmlFor: name, notes: notes, dialogMenuTip: dialogMenuTip })] }));
|
|
36
36
|
});
|
|
37
37
|
export default TextInput;
|
|
38
38
|
TextInput.displayName = 'TextInput';
|
|
@@ -97,7 +97,7 @@ const TextInput = React.forwardRef<HTMLInputElement, TextInputProps>(
|
|
|
97
97
|
|
|
98
98
|
return (
|
|
99
99
|
<div className={classnames}>
|
|
100
|
-
{
|
|
100
|
+
{children !== null && <div className='e-text__children'>{children}</div>}
|
|
101
101
|
<TextInputTooltip tooltip={tooltip} />
|
|
102
102
|
<TextInputMessage errorMessage={errorMessage} validate={validate} />
|
|
103
103
|
{renderInput()}
|