@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.
@@ -17,6 +17,7 @@ export const AddButtonStyled = styled.div `
17
17
  .e-addButton {
18
18
  &__inner {
19
19
  display: inline-block;
20
+ margin-top: 1rem;
20
21
  color: var(--primary-main);
21
22
  border-radius: var(--global-border-radius);
22
23
  transition: all 0.3s ease;
@@ -18,6 +18,7 @@ export const AddButtonStyled = styled.div`
18
18
  .e-addButton {
19
19
  &__inner {
20
20
  display: inline-block;
21
+ margin-top: 1rem;
21
22
  color: var(--primary-main);
22
23
  border-radius: var(--global-border-radius);
23
24
  transition: all 0.3s ease;
@@ -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 3rem;
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 3rem;
31
+ padding: 1rem 1.5rem;
32
32
 
33
33
  @media ${device['portrait-tablets']} {
34
34
  padding: 0;
@@ -5,6 +5,7 @@ export const RemoveButtonStyled = styled.section `
5
5
  .e-removeButton {
6
6
  &__inner {
7
7
  display: inline-block;
8
+ margin-top: 1rem;
8
9
  color: var(--error-main);
9
10
 
10
11
  border-radius: var(--global-border-radius);
@@ -6,6 +6,7 @@ export const RemoveButtonStyled = styled.section`
6
6
  .e-removeButton {
7
7
  &__inner {
8
8
  display: inline-block;
9
+ margin-top: 1rem;
9
10
  color: var(--error-main);
10
11
 
11
12
  border-radius: var(--global-border-radius);
@@ -21,7 +21,7 @@ export const TopBarStyled = styled.div `
21
21
  .top-bar {
22
22
  display: flex;
23
23
  background-color: var(--neutral-neutral-6);
24
- font-size: 0.9rem;
24
+ font-size: 14px;
25
25
  letter-spacing: -0.3px;
26
26
  width: 100%;
27
27
  height: 100%;
@@ -22,7 +22,7 @@ export const TopBarStyled = styled.div`
22
22
  .top-bar {
23
23
  display: flex;
24
24
  background-color: var(--neutral-neutral-6);
25
- font-size: 0.9rem;
25
+ font-size: 14px;
26
26
  letter-spacing: -0.3px;
27
27
  width: 100%;
28
28
  height: 100%;
@@ -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: [Boolean(children) && _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 })] }));
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
- {Boolean(children) && <div className='e-text__children'>{children}</div>}
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()}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.33.5",
3
+ "version": "5.33.14",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",