@npm_leadtech/legal-lib-components 5.37.0 → 5.38.1

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.
@@ -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;
@@ -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%;
@@ -14,7 +14,7 @@ const themes = {
14
14
  icon: _jsx(Done24pxOutline, {})
15
15
  }
16
16
  };
17
- const Feedback = ({ theme = 'success', title, text, button, cancel, large, fluid, imgSrc = '', dataQa = '' }) => {
17
+ const Feedback = ({ theme = 'success', title, text, button, cancel, large = false, fluid = false, imgSrc = '', dataQa = '' }) => {
18
18
  const currentTheme = themes[theme] ?? {};
19
19
  if (Object.keys(currentTheme).length === 0 && imgSrc.length === 0) {
20
20
  return null;
@@ -28,8 +28,8 @@ const Feedback: FC<FeedbackProps> = ({
28
28
  text,
29
29
  button,
30
30
  cancel,
31
- large,
32
- fluid,
31
+ large = false,
32
+ fluid = false,
33
33
  imgSrc = '',
34
34
  dataQa = ''
35
35
  }) => {
@@ -4,8 +4,8 @@ export interface FeedbackProps {
4
4
  title?: string;
5
5
  text?: string;
6
6
  imgSrc?: string;
7
- large: boolean;
8
- fluid: boolean;
7
+ large?: boolean;
8
+ fluid?: boolean;
9
9
  dataQa?: string;
10
10
  button?: ButtonProps;
11
11
  cancel?: {
@@ -5,8 +5,8 @@ export interface FeedbackProps {
5
5
  title?: string
6
6
  text?: string
7
7
  imgSrc?: string
8
- large: boolean
9
- fluid: boolean
8
+ large?: boolean
9
+ fluid?: boolean
10
10
  dataQa?: string
11
11
  button?: ButtonProps
12
12
  cancel?: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@npm_leadtech/legal-lib-components",
3
- "version": "5.37.0",
3
+ "version": "5.38.1",
4
4
  "license": "ISC",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",