oddsgate-ds 1.0.56 → 1.0.58
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/cjs/index.js +4 -4
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +4 -4
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/Button/Button.component.tsx +2 -2
- package/src/components/atoms/Button/Button.theme.ts +16 -12
- package/src/components/atoms/FormField/FormField.theme.tsx +2 -4
- package/src/components/atoms/Marquee/Marquee.component.tsx +1 -1
- package/declaration.d.ts +0 -4
- package/docker-compose.yml +0 -11
package/package.json
CHANGED
|
@@ -7,7 +7,7 @@ const Button = ({
|
|
|
7
7
|
id,
|
|
8
8
|
as = 'a',
|
|
9
9
|
children,
|
|
10
|
-
variant,
|
|
10
|
+
variant = "primary",
|
|
11
11
|
mode,
|
|
12
12
|
outlined,
|
|
13
13
|
leftIcon,
|
|
@@ -42,7 +42,7 @@ const Button = ({
|
|
|
42
42
|
{variant === "primary" ? (
|
|
43
43
|
<>
|
|
44
44
|
{children && <span>{children}</span>}
|
|
45
|
-
<Icon icon={"icon-arrow-right"} />
|
|
45
|
+
{!rightIcon && !leftIcon && (<Icon icon={"icon-arrow-right"} />)}
|
|
46
46
|
</>
|
|
47
47
|
) : (
|
|
48
48
|
<>
|
|
@@ -99,22 +99,26 @@ export const StyledButton = styled.a<IButtonSC>`
|
|
|
99
99
|
`;
|
|
100
100
|
case "link":
|
|
101
101
|
return css`
|
|
102
|
-
|
|
103
|
-
|
|
102
|
+
${fontSize('h5')};
|
|
103
|
+
text-transform:uppercase;
|
|
104
104
|
|
|
105
|
-
|
|
106
|
-
|
|
105
|
+
${props.$mode === "light" ? `
|
|
106
|
+
color: ${colors.third50};
|
|
107
107
|
|
|
108
|
-
|
|
108
|
+
&:hover{
|
|
109
|
+
color: ${colors.secondary50};
|
|
110
|
+
}
|
|
111
|
+
` : `
|
|
109
112
|
color: ${colors.secondary50};
|
|
110
|
-
}
|
|
111
|
-
` : `
|
|
112
|
-
color: ${colors.secondary50};
|
|
113
113
|
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
|
|
114
|
+
&:hover{
|
|
115
|
+
color: ${colors.primary50};
|
|
116
|
+
}
|
|
117
|
+
`}
|
|
118
|
+
`;
|
|
119
|
+
case "icon":
|
|
120
|
+
return css`
|
|
121
|
+
|
|
118
122
|
`;
|
|
119
123
|
}
|
|
120
124
|
}}
|
|
@@ -59,14 +59,12 @@ export const StyledFieldContainer = styled.div<IFormField>`
|
|
|
59
59
|
input,
|
|
60
60
|
textarea,
|
|
61
61
|
select {
|
|
62
|
-
${fontSize('
|
|
63
|
-
font-weight: 700;
|
|
64
|
-
text-transform:uppercase;
|
|
62
|
+
${fontSize('h5')};
|
|
65
63
|
|
|
66
64
|
border-radius: 50px;
|
|
67
65
|
border: 0;
|
|
68
66
|
|
|
69
|
-
padding:
|
|
67
|
+
padding: 1rem 2rem;
|
|
70
68
|
color: ${colors.secondary90};
|
|
71
69
|
background: ${colors.secondary50};
|
|
72
70
|
outline: none;
|
|
@@ -8,7 +8,7 @@ const Marquee = ({ text, className, onClick, ...props }: IMarquee) => {
|
|
|
8
8
|
return (
|
|
9
9
|
<StyledMarquee className={cn(className)} onClick={onClick} {...props}>
|
|
10
10
|
<div>
|
|
11
|
-
<Heading size="display" tag="span" className='text-uppercase'>
|
|
11
|
+
<Heading size="display" tag="span" className='fw-bold text-uppercase'>
|
|
12
12
|
{text} {text} {text}
|
|
13
13
|
</Heading>
|
|
14
14
|
</div>
|
package/declaration.d.ts
DELETED