@granto-umbrella/umbrella-components 3.0.32 → 3.0.34

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.
Files changed (54) hide show
  1. package/package.json +4 -5
  2. package/src/components/atoms/DatePickerInput/DatePicker.styles.ts +75 -75
  3. package/src/components/atoms/DatePickerInput/DatePickerInput.tsx +154 -154
  4. package/src/components/atoms/DropDownMenu/DropdownMenu.styles.tsx +106 -106
  5. package/src/components/atoms/ErrorMessage/ErrorMessage.styles.tsx +6 -6
  6. package/src/components/atoms/Footer/Footer.styles.tsx +1 -1
  7. package/src/components/atoms/GenericContainer/GenericContainer.styles.tsx +6 -6
  8. package/src/components/atoms/Input/Input.tsx +80 -80
  9. package/src/components/atoms/Input/Input.types.ts +21 -21
  10. package/src/components/atoms/Label/Label.styles.ts +16 -16
  11. package/src/components/atoms/Loading/Loading.styles.tsx +7 -5
  12. package/src/components/atoms/Loading/index.tsx +1 -1
  13. package/src/components/atoms/LogoContainer/LogoContainer.styles.tsx +4 -4
  14. package/src/components/atoms/ModalAviso/ModalAviso.styles.tsx +10 -9
  15. package/src/components/atoms/MultiSelect/index.tsx +1 -1
  16. package/src/components/atoms/RadioButton/RadioButton.types.ts +9 -9
  17. package/src/components/atoms/ResendLink/index.tsx +2 -1
  18. package/src/components/atoms/Select/Select.types.ts +19 -19
  19. package/src/components/atoms/Skeleton/Skeleton.styles.ts +32 -32
  20. package/src/components/atoms/Skeleton/Skeleton.tsx +43 -43
  21. package/src/components/atoms/Skeleton/Skeleton.types.ts +13 -13
  22. package/src/components/atoms/Subtitle/Subtitle.styles.tsx +21 -21
  23. package/src/components/atoms/Switch/Switch.styles.ts +59 -59
  24. package/src/components/atoms/Switch/Switch.types.ts +7 -7
  25. package/src/components/atoms/TabBar/TabBar.tsx +24 -24
  26. package/src/components/atoms/TabBar/TabBar.types.ts +11 -11
  27. package/src/components/atoms/Text/Text.styles.tsx +18 -6
  28. package/src/components/atoms/Text/Text.tsx +9 -4
  29. package/src/components/atoms/Text/Text.types.ts +2 -1
  30. package/src/components/atoms/Textarea/Textarea.types.ts +7 -7
  31. package/src/components/atoms/Title/Title.styles.tsx +17 -17
  32. package/src/components/molecules/BannerAjuda/BannerAjuda.types.ts +5 -5
  33. package/src/components/molecules/ButtonGroup/ButtonGroup.tsx +27 -27
  34. package/src/components/molecules/CodeInputContainer/CodeInputContainer.tsx +32 -32
  35. package/src/components/molecules/HighlightsCard/HighlightsCard.tsx +1 -1
  36. package/src/components/molecules/InsuranceCard/InsuranceCard.styles.tsx +1 -1
  37. package/src/components/molecules/InsuranceCard/InsuranceCard.tsx +455 -455
  38. package/src/components/molecules/InsuranceCard/InsuranceCard.types.ts +41 -41
  39. package/src/components/molecules/ResultsChart/ResultsChart.styles.tsx +26 -26
  40. package/src/components/molecules/TimeLine/TimeLine.mapper.ts +69 -69
  41. package/src/components/molecules/TimeLine/TimeLine.styles.ts +154 -154
  42. package/src/components/molecules/TimeLine/TimeLine.tsx +96 -96
  43. package/src/components/molecules/TimeLine/TimeLine.types.ts +124 -124
  44. package/src/components/organisms/AlertDialog/AlertDialog.types.ts +14 -14
  45. package/src/components/organisms/Navbar/Navbar.styles.tsx +1 -1
  46. package/src/components/organisms/Navbar/Navbar.tsx +118 -118
  47. package/src/components/organisms/Navbar/Navbar.types.ts +34 -34
  48. package/src/components/organisms/TimelineModal/TimelineModal.styles.ts +49 -49
  49. package/src/components/organisms/TimelineModal/TimelineModal.tsx +49 -49
  50. package/src/index.ts +157 -157
  51. package/src/styles/tokens/colors.ts +296 -296
  52. package/src/styles/tokens/typography.ts +161 -161
  53. package/src/types/colors.types.ts +21 -21
  54. package/src/types/sizes.types.ts +4 -4
@@ -1,106 +1,106 @@
1
- import styled, { css } from 'styled-components';
2
- import {
3
- semanticBorders,
4
- semanticColors,
5
- semanticRadius,
6
- semanticShadows,
7
- semanticSizes,
8
- typographyTokens,
9
- } from '../../../styles/tokens';
10
- import { Variant } from './DropdownMenu.types';
11
-
12
- export const Wrapper = styled.div`
13
- position: relative;
14
- display: inline-flex;
15
- justify-content: flex-start;
16
- `;
17
-
18
- export const ToggleButton = styled.button<{
19
- $variant: Variant;
20
- $open: boolean;
21
- }>`
22
- display: flex;
23
- align-items: center;
24
- justify-content: space-between;
25
- gap: ${semanticSizes.global.gap.sm};
26
- padding: ${semanticSizes.global.padding.lg};
27
- height: ${semanticSizes.global.spacings.lg};
28
- font-size: ${typographyTokens.fontSizes.labelS};
29
- border: none;
30
- border-radius: ${semanticRadius.global.radius.md};
31
- cursor: pointer;
32
- transition: opacity 0.2s;
33
- min-width: 160px;
34
-
35
- ${(props) =>
36
- props.$variant === 'light'
37
- ? css`
38
- background-color: ${semanticColors.branding.border.enabled};
39
- color: ${semanticColors.branding.text.onSurfaceAccent.enabled};
40
- `
41
- : css`
42
- background-color: ${semanticColors.global.surface.default};
43
- color: ${semanticColors.branding.border.enabled};
44
- border: ${semanticBorders.global.sm} solid
45
- ${semanticColors.branding.border.enabled};
46
- `}
47
-
48
- &:hover {
49
- opacity: 0.9;
50
- }
51
- `;
52
-
53
- export const LabelText = styled.span`
54
- font-weight: ${typographyTokens.fontWeights.medium};
55
- `;
56
-
57
- export const Menu = styled.div<{ $variant: Variant }>`
58
- position: absolute;
59
- top: calc(100% + ${semanticSizes.global.gap.xs});
60
- right: 0;
61
- width: 100%;
62
- padding: ${semanticSizes.global.padding.sm} 0;
63
- border-radius: ${semanticRadius.global.radius.md};
64
- box-shadow: ${semanticShadows.shadow.default};
65
- display: grid;
66
- gap: ${semanticSizes.global.gap.xs};
67
- z-index: 10;
68
-
69
- ${(props) =>
70
- props.$variant === 'light'
71
- ? css`
72
- background-color: ${semanticColors.global.surface.default};
73
- color: ${semanticColors.global.text.default.enabled};
74
- `
75
- : css`
76
- background-color: ${semanticColors.branding.surface.enabled};
77
- color: ${semanticColors.branding.text.onSurfaceAccent.enabled};
78
- `}
79
- `;
80
-
81
- export const Item = styled.div`
82
- display: inline-grid;
83
- grid-auto-flow: column;
84
- align-items: center;
85
- justify-content: flex-start;
86
- gap: ${semanticSizes.global.gap.sm};
87
- padding: ${semanticSizes.global.padding.sm} ${semanticSizes.global.padding.lg};
88
- font-size: ${typographyTokens.fontSizes.labelS};
89
- cursor: pointer;
90
-
91
- &:hover {
92
- background-color: ${semanticColors.neutral['100']};
93
- }
94
- `;
95
-
96
- export const IconWrapper = styled.span`
97
- display: flex;
98
- align-items: center;
99
- justify-content: center;
100
- flex-shrink: 0;
101
- `;
102
-
103
- export const ItemLabel = styled.span`
104
- flex: 1;
105
- text-align: left;
106
- `;
1
+ import styled, { css } from 'styled-components';
2
+ import {
3
+ semanticBorders,
4
+ semanticColors,
5
+ semanticRadius,
6
+ semanticShadows,
7
+ semanticSizes,
8
+ typographyTokens,
9
+ } from '../../../styles/tokens';
10
+ import { Variant } from './DropdownMenu.types';
11
+
12
+ export const Wrapper = styled.div`
13
+ position: relative;
14
+ display: inline-flex;
15
+ justify-content: flex-start;
16
+ `;
17
+
18
+ export const ToggleButton = styled.button<{
19
+ $variant: Variant;
20
+ $open: boolean;
21
+ }>`
22
+ display: flex;
23
+ align-items: center;
24
+ justify-content: space-between;
25
+ gap: ${semanticSizes.global.gap.sm};
26
+ padding: ${semanticSizes.global.padding.lg};
27
+ height: ${semanticSizes.global.spacings.lg};
28
+ font-size: ${typographyTokens.fontSizes.labelS};
29
+ border: none;
30
+ border-radius: ${semanticRadius.global.radius.md};
31
+ cursor: pointer;
32
+ transition: opacity 0.2s;
33
+ min-width: 160px;
34
+
35
+ ${(props) =>
36
+ props.$variant === 'light'
37
+ ? css`
38
+ background-color: ${semanticColors.branding.border.enabled};
39
+ color: ${semanticColors.branding.text.onSurfaceAccent.enabled};
40
+ `
41
+ : css`
42
+ background-color: ${semanticColors.global.surface.default};
43
+ color: ${semanticColors.branding.border.enabled};
44
+ border: ${semanticBorders.global.sm} solid
45
+ ${semanticColors.branding.border.enabled};
46
+ `}
47
+
48
+ &:hover {
49
+ opacity: 0.9;
50
+ }
51
+ `;
52
+
53
+ export const LabelText = styled.span`
54
+ font-weight: ${typographyTokens.fontWeights.medium};
55
+ `;
56
+
57
+ export const Menu = styled.div<{ $variant: Variant }>`
58
+ position: absolute;
59
+ top: calc(100% + ${semanticSizes.global.gap.xs});
60
+ right: 0;
61
+ width: 100%;
62
+ padding: ${semanticSizes.global.padding.sm} 0;
63
+ border-radius: ${semanticRadius.global.radius.md};
64
+ box-shadow: ${semanticShadows.shadow.default};
65
+ display: grid;
66
+ gap: ${semanticSizes.global.gap.xs};
67
+ z-index: 10;
68
+
69
+ ${(props) =>
70
+ props.$variant === 'light'
71
+ ? css`
72
+ background-color: ${semanticColors.global.surface.default};
73
+ color: ${semanticColors.global.text.default.enabled};
74
+ `
75
+ : css`
76
+ background-color: ${semanticColors.branding.surface.enabled};
77
+ color: ${semanticColors.branding.text.onSurfaceAccent.enabled};
78
+ `}
79
+ `;
80
+
81
+ export const Item = styled.div`
82
+ display: inline-grid;
83
+ grid-auto-flow: column;
84
+ align-items: center;
85
+ justify-content: flex-start;
86
+ gap: ${semanticSizes.global.gap.sm};
87
+ padding: ${semanticSizes.global.padding.sm} ${semanticSizes.global.padding.lg};
88
+ font-size: ${typographyTokens.fontSizes.labelS};
89
+ cursor: pointer;
90
+
91
+ &:hover {
92
+ background-color: ${semanticColors.neutral['100']};
93
+ }
94
+ `;
95
+
96
+ export const IconWrapper = styled.span`
97
+ display: flex;
98
+ align-items: center;
99
+ justify-content: center;
100
+ flex-shrink: 0;
101
+ `;
102
+
103
+ export const ItemLabel = styled.span`
104
+ flex: 1;
105
+ text-align: left;
106
+ `;
@@ -1,10 +1,10 @@
1
- import styled, { css } from "styled-components";
1
+ import styled, { css } from 'styled-components';
2
2
  import {
3
3
  semanticBorders,
4
4
  semanticColors,
5
5
  semanticSizes,
6
6
  typographyTokens,
7
- } from "@granto-umbrella/umbrella-components";
7
+ } from '../../../styles/tokens';
8
8
 
9
9
  const errorMessageVariants = {
10
10
  error: css`
@@ -15,7 +15,7 @@ const errorMessageVariants = {
15
15
  `,
16
16
  };
17
17
 
18
- export const ErrorMessage = styled.p<{ $type?: "error" | "success" }>`
18
+ export const ErrorMessage = styled.p<{ $type?: 'error' | 'success' }>`
19
19
  display: flex;
20
20
  align-items: center;
21
21
  justify-content: center;
@@ -23,6 +23,6 @@ export const ErrorMessage = styled.p<{ $type?: "error" | "success" }>`
23
23
  font-size: ${typographyTokens.fontSizes.labelS};
24
24
  margin-top: ${semanticSizes.global.spacings.sm};
25
25
  border-radius: ${semanticBorders.global.md};
26
-
27
- ${({ $type = "error" }) => errorMessageVariants[$type]}
28
- `;
26
+
27
+ ${({ $type = 'error' }) => errorMessageVariants[$type]}
28
+ `;
@@ -4,7 +4,7 @@ import {
4
4
  semanticColors,
5
5
  primitiveSizes,
6
6
  typographyTokens,
7
- } from '@granto-umbrella/umbrella-components';
7
+ } from '../../../styles/tokens';
8
8
 
9
9
  export const Container = styled.div`
10
10
  font-size: ${typographyTokens.fontSizes.bodyM};
@@ -1,21 +1,21 @@
1
- import styled from "styled-components";
1
+ import styled from 'styled-components';
2
2
  import {
3
3
  semanticColors,
4
4
  semanticSizes,
5
5
  typographyTokens,
6
- } from "@granto-umbrella/umbrella-components";
6
+ } from '../../../styles/tokens';
7
7
 
8
8
  export const Container = styled.div`
9
- padding: ${semanticSizes.global.padding["2xl"]};
10
-
9
+ padding: ${semanticSizes.global.padding['2xl']};
10
+
11
11
  h1 {
12
12
  font-size: ${typographyTokens.fontSizes.displayM};
13
13
  font-weight: ${typographyTokens.fontWeights.semibold};
14
14
  line-height: ${typographyTokens.lineHeights.displayM};
15
15
  margin-top: ${semanticSizes.global.padding.xl};
16
16
  }
17
-
17
+
18
18
  .text {
19
19
  color: ${semanticColors.global.text.default.enabled};
20
20
  }
21
- `;
21
+ `;
@@ -1,80 +1,80 @@
1
- import React, { forwardRef } from 'react';
2
- import { InputProps } from './Input.types';
3
- import {
4
- Container,
5
- Label,
6
- InputWrapper,
7
- StyledInput,
8
- Icon,
9
- SupportText,
10
- } from './Input.styles';
11
-
12
- function mergeRefs<T>(
13
- ...refs: (React.Ref<T> | null | undefined)[]
14
- ): React.RefCallback<T> {
15
- return (value: T) => {
16
- refs.forEach((ref) => {
17
- if (typeof ref === 'function') {
18
- ref(value);
19
- } else if (ref != null) {
20
- (ref as React.MutableRefObject<T | null>).current = value;
21
- }
22
- });
23
- };
24
- }
25
-
26
- const Input = forwardRef<HTMLInputElement, InputProps>(
27
- (
28
- {
29
- type = 'text',
30
- placeholder = '',
31
- value,
32
- onChange,
33
- error = false,
34
- disabled = false,
35
- icon,
36
- label,
37
- supportText,
38
- size = 'sm',
39
- radius = 'md' as 'md' | 'lg' | 'sm' | 'full',
40
- shadow = 'default' as 'none' | 'default' | 'md' | 'lg',
41
- style,
42
- register,
43
- testId,
44
- className,
45
- onBlur,
46
- },
47
- ref
48
- ) => {
49
- return (
50
- <Container>
51
- {label && <Label>{label}</Label>}
52
- <InputWrapper
53
- $error={error}
54
- $disabled={disabled}
55
- $radius={radius}
56
- $shadow={shadow}
57
- $size={size}
58
- >
59
- {icon && <Icon>{icon}</Icon>}
60
- <StyledInput
61
- data-testid={testId}
62
- id={testId}
63
- {...(register || {})}
64
- ref={mergeRefs(ref, register ? register.ref : null)}
65
- style={style}
66
- type={type}
67
- placeholder={placeholder}
68
- value={value}
69
- onChange={onChange}
70
- onBlur={onBlur}
71
- className={className}
72
- disabled={disabled}
73
- />
74
- </InputWrapper>
75
- {supportText && <SupportText $error={error}>{supportText}</SupportText>}
76
- </Container>
77
- );
78
- }
79
- );
80
- export default Input;
1
+ import React, { forwardRef } from 'react';
2
+ import { InputProps } from './Input.types';
3
+ import {
4
+ Container,
5
+ Label,
6
+ InputWrapper,
7
+ StyledInput,
8
+ Icon,
9
+ SupportText,
10
+ } from './Input.styles';
11
+
12
+ function mergeRefs<T>(
13
+ ...refs: (React.Ref<T> | null | undefined)[]
14
+ ): React.RefCallback<T> {
15
+ return (value: T) => {
16
+ refs.forEach((ref) => {
17
+ if (typeof ref === 'function') {
18
+ ref(value);
19
+ } else if (ref != null) {
20
+ (ref as React.MutableRefObject<T | null>).current = value;
21
+ }
22
+ });
23
+ };
24
+ }
25
+
26
+ const Input = forwardRef<HTMLInputElement, InputProps>(
27
+ (
28
+ {
29
+ type = 'text',
30
+ placeholder = '',
31
+ value,
32
+ onChange,
33
+ error = false,
34
+ disabled = false,
35
+ icon,
36
+ label,
37
+ supportText,
38
+ size = 'sm',
39
+ radius = 'md' as 'md' | 'lg' | 'sm' | 'full',
40
+ shadow = 'default' as 'none' | 'default' | 'md' | 'lg',
41
+ style,
42
+ register,
43
+ testId,
44
+ className,
45
+ onBlur,
46
+ },
47
+ ref
48
+ ) => {
49
+ return (
50
+ <Container>
51
+ {label && <Label>{label}</Label>}
52
+ <InputWrapper
53
+ $error={error}
54
+ $disabled={disabled}
55
+ $radius={radius}
56
+ $shadow={shadow}
57
+ $size={size}
58
+ >
59
+ {icon && <Icon>{icon}</Icon>}
60
+ <StyledInput
61
+ data-testid={testId}
62
+ id={testId}
63
+ {...(register || {})}
64
+ ref={mergeRefs(ref, register ? register.ref : null)}
65
+ style={style}
66
+ type={type}
67
+ placeholder={placeholder}
68
+ value={value}
69
+ onChange={onChange}
70
+ onBlur={onBlur}
71
+ className={className}
72
+ disabled={disabled}
73
+ />
74
+ </InputWrapper>
75
+ {supportText && <SupportText $error={error}>{supportText}</SupportText>}
76
+ </Container>
77
+ );
78
+ }
79
+ );
80
+ export default Input;
@@ -1,21 +1,21 @@
1
- /* eslint-disable @typescript-eslint/no-explicit-any */
2
- export interface InputProps {
3
- type?: string;
4
- placeholder?: string;
5
- value?: string;
6
- onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
- onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
8
- className?: string;
9
- error?: boolean;
10
- disabled?: boolean;
11
- icon?: React.ReactNode;
12
- label?: string;
13
- supportText?: string;
14
- size?: 'sm' | 'md' | 'lg';
15
-
16
- radius?: 'md' | 'lg' | 'sm' | 'full';
17
- shadow?: 'none' | 'default' | 'md' | 'lg';
18
- style?: React.CSSProperties;
19
- register?: any;
20
- testId?: string;
21
- }
1
+ /* eslint-disable @typescript-eslint/no-explicit-any */
2
+ export interface InputProps {
3
+ type?: string;
4
+ placeholder?: string;
5
+ value?: string;
6
+ onChange?: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
+ onBlur?: (event: React.FocusEvent<HTMLInputElement>) => void;
8
+ className?: string;
9
+ error?: boolean;
10
+ disabled?: boolean;
11
+ icon?: React.ReactNode;
12
+ label?: string;
13
+ supportText?: string;
14
+ size?: 'sm' | 'md' | 'lg';
15
+
16
+ radius?: 'md' | 'lg' | 'sm' | 'full';
17
+ shadow?: 'none' | 'default' | 'md' | 'lg';
18
+ style?: React.CSSProperties;
19
+ register?: any;
20
+ testId?: string;
21
+ }
@@ -1,16 +1,16 @@
1
- // Label.styled.tsx
2
- import styled from 'styled-components';
3
- import * as LabelPrimitive from '@radix-ui/react-label';
4
- import { typographyTokens } from '../../../styles/tokens/typography';
5
-
6
- export const StyledLabel = styled(LabelPrimitive.Root)`
7
- font-size: ${typographyTokens.fontSizes.labelS};
8
- font-weight: ${typographyTokens.fontWeights.medium};
9
-
10
- line-height: ${typographyTokens.lineHeights.labelS};
11
- font-family: ${typographyTokens.fontFamily.base};
12
- &[data-disabled='true'] {
13
- cursor: not-allowed;
14
- opacity: 0.7;
15
- }
16
- `;
1
+ // Label.styled.tsx
2
+ import styled from 'styled-components';
3
+ import * as LabelPrimitive from '@radix-ui/react-label';
4
+ import { typographyTokens } from '../../../styles/tokens/typography';
5
+
6
+ export const StyledLabel = styled(LabelPrimitive.Root)`
7
+ font-size: ${typographyTokens.fontSizes.labelS};
8
+ font-weight: ${typographyTokens.fontWeights.medium};
9
+
10
+ line-height: ${typographyTokens.lineHeights.labelS};
11
+ font-family: ${typographyTokens.fontFamily.base};
12
+ &[data-disabled='true'] {
13
+ cursor: not-allowed;
14
+ opacity: 0.7;
15
+ }
16
+ `;
@@ -1,10 +1,10 @@
1
- import styled, { keyframes } from "styled-components";
1
+ import styled, { keyframes } from 'styled-components';
2
2
  import {
3
3
  semanticBorders,
4
4
  semanticColors,
5
5
  semanticRadius,
6
6
  semanticSizes,
7
- } from "@granto-umbrella/umbrella-components";
7
+ } from '../../../styles/tokens';
8
8
 
9
9
  const spin = keyframes`
10
10
  to {
@@ -14,10 +14,12 @@ const spin = keyframes`
14
14
 
15
15
  export const StyledLoader = styled.div`
16
16
  margin: ${semanticSizes.global.spacings.lg} auto;
17
- border: ${semanticBorders.global.lg} solid ${semanticColors.global.border.default};
18
- border-top: ${semanticBorders.global.lg} solid ${semanticColors.info.border.feedback};
17
+ border: ${semanticBorders.global.lg} solid
18
+ ${semanticColors.global.border.default};
19
+ border-top: ${semanticBorders.global.lg} solid
20
+ ${semanticColors.info.border.feedback};
19
21
  border-radius: ${semanticRadius.global.radius.full};
20
22
  width: ${semanticSizes.global.spacings.md};
21
23
  height: ${semanticSizes.global.spacings.md};
22
24
  animation: ${spin} 1s linear infinite;
23
- `;
25
+ `;
@@ -1 +1 @@
1
- export { default } from './Loading';
1
+ export { default } from './Loading';
@@ -1,11 +1,11 @@
1
- import styled from "styled-components";
2
- import { primitiveSizes } from "@granto-umbrella/umbrella-components";
1
+ import styled from 'styled-components';
2
+ import { primitiveSizes } from '../../../styles/tokens';
3
3
 
4
4
  export const Logo = styled.img<{ marginBottom?: string }>`
5
5
  margin-bottom: ${(props) => props.marginBottom || primitiveSizes.size.x6};
6
6
  width: 112px;
7
-
7
+
8
8
  @media (max-width: 768px) {
9
9
  width: 114.12px;
10
10
  }
11
- `;
11
+ `;
@@ -1,17 +1,17 @@
1
1
  // ModalAviso.styles.tsx
2
- import styled from "styled-components";
3
- import {
2
+ import styled from 'styled-components';
3
+ import {
4
4
  primitiveColors,
5
5
  semanticSizes,
6
6
  semanticRadius,
7
- typographyTokens,
8
- semanticBorders
9
- } from "../../../styles/tokens";
10
- import { semanticColors } from "@granto-umbrella/umbrella-components";
7
+ typographyTokens,
8
+ semanticBorders,
9
+ } from '../../../styles/tokens';
10
+ import { semanticColors } from '../../../styles/tokens';
11
11
 
12
12
  export const Wrapper = styled.div`
13
13
  position: fixed;
14
- bottom: calc(${semanticSizes.global.spacings.lg} + 10px);
14
+ bottom: calc(${semanticSizes.global.spacings.lg} + 10px);
15
15
  right: ${semanticSizes.global.padding.lg};
16
16
  z-index: 9999;
17
17
  `;
@@ -19,7 +19,8 @@ export const Wrapper = styled.div`
19
19
  export const Container = styled.div`
20
20
  background-color: ${semanticColors.info.surface.feedback};
21
21
  border-radius: ${semanticRadius.global.radius.md2};
22
- border: ${semanticBorders.global.md} solid ${semanticColors.info.border.feedback};
22
+ border: ${semanticBorders.global.md} solid
23
+ ${semanticColors.info.border.feedback};
23
24
  padding: ${semanticSizes.global.padding.md} ${semanticSizes.global.padding.lg};
24
25
  display: flex;
25
26
  align-items: start;
@@ -52,4 +53,4 @@ export const CloseButton = styled.button`
52
53
  cursor: pointer;
53
54
  color: ${primitiveColors.gray[600]};
54
55
  line-height: 0;
55
- `;
56
+ `;
@@ -1 +1 @@
1
- export { default as MultiSelect } from './MultiSelect';
1
+ export { default as MultiSelect } from './MultiSelect';
@@ -1,9 +1,9 @@
1
- export interface RadioButtonProps {
2
- label: string;
3
- name: string;
4
- value: string;
5
- checked?: boolean;
6
- onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
- disabled?: boolean;
8
- testId?: string;
9
- }
1
+ export interface RadioButtonProps {
2
+ label: string;
3
+ name: string;
4
+ value: string;
5
+ checked?: boolean;
6
+ onChange: (event: React.ChangeEvent<HTMLInputElement>) => void;
7
+ disabled?: boolean;
8
+ testId?: string;
9
+ }
@@ -1 +1,2 @@
1
- export { ResendLink } from "./ResendLink";
1
+ export { ResendLink } from "./ResendLink";
2
+ export type { ResendLinkProps } from "./ResendLink.types";