oddsgate-ds 1.0.99 → 1.0.101
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 +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/FormField/FormField.theme.tsx +19 -0
- package/src/components/atoms/SocialLinks/SocialLinks.theme.ts +16 -3
- package/src/components/molecules/BlogCard/BlogCard.component.tsx +1 -1
- package/src/components/molecules/BlogCard/BlogCard.theme.ts +6 -0
- package/src/components/molecules/LicenseCard/LicenseCard.theme.ts +9 -2
- package/src/components/molecules/NewsCard/NewsCard.component.tsx +4 -2
- package/src/styles/variables.ts +1 -1
package/package.json
CHANGED
|
@@ -77,6 +77,25 @@ export const StyledFieldContainer = styled.div<IFormField>`
|
|
|
77
77
|
}
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
input::file-selector-button {
|
|
81
|
+
font-family: inherit;
|
|
82
|
+
color: ${colors.secondary50};
|
|
83
|
+
background-color: ${colors.primary50};
|
|
84
|
+
${fontSize('h5')};
|
|
85
|
+
padding: 0.8rem 1.6rem;
|
|
86
|
+
border-radius: 50px;
|
|
87
|
+
text-transform: uppercase;
|
|
88
|
+
|
|
89
|
+
border: 0;
|
|
90
|
+
outline: 0;
|
|
91
|
+
cursor:pointer;
|
|
92
|
+
transition: all 0.3s ease;
|
|
93
|
+
|
|
94
|
+
&:hover{
|
|
95
|
+
opacity: 0.6;
|
|
96
|
+
}
|
|
97
|
+
}
|
|
98
|
+
|
|
80
99
|
textarea{
|
|
81
100
|
border-radius: 46px;
|
|
82
101
|
height: 11.5rem;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
+
import { colors, responsiveMedia } from '@/styles/variables';
|
|
1
2
|
import styled, { css } from 'styled-components';
|
|
2
3
|
|
|
3
4
|
import { ISocialLinks } from './SocialLinks.interface';
|
|
4
|
-
import { colors } from '@/styles/variables';
|
|
5
5
|
|
|
6
6
|
export const StyledSocialLinks = styled.ul<ISocialLinks>`
|
|
7
7
|
display: inline-flex;
|
|
@@ -15,8 +15,8 @@ export const StyledSocialLinks = styled.ul<ISocialLinks>`
|
|
|
15
15
|
align-items: center;
|
|
16
16
|
justify-content: center;
|
|
17
17
|
|
|
18
|
-
width:
|
|
19
|
-
height:
|
|
18
|
+
width: 4rem;
|
|
19
|
+
height: 4rem;
|
|
20
20
|
border-radius: 50%;
|
|
21
21
|
text-align: center;
|
|
22
22
|
|
|
@@ -32,6 +32,19 @@ export const StyledSocialLinks = styled.ul<ISocialLinks>`
|
|
|
32
32
|
}
|
|
33
33
|
}
|
|
34
34
|
|
|
35
|
+
@media only screen and (min-width: ${responsiveMedia}) {
|
|
36
|
+
& li{
|
|
37
|
+
& a{
|
|
38
|
+
width: 6rem;
|
|
39
|
+
height: 6rem;
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
& i{
|
|
43
|
+
font-size: 2.4rem;
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
|
|
35
48
|
${(props) => {
|
|
36
49
|
switch (props.variant) {
|
|
37
50
|
case "light": default:
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { colors, radius } from '@/styles/variables';
|
|
1
|
+
import { colors, radius, responsiveMedia } from '@/styles/variables';
|
|
2
2
|
import styled, { css } from 'styled-components';
|
|
3
3
|
|
|
4
4
|
import { ILicenseCard } from './LicenseCard.interface';
|
|
@@ -14,8 +14,15 @@ export const StyledLicenseCard = styled.div <ILicenseCard>`
|
|
|
14
14
|
|
|
15
15
|
& img{
|
|
16
16
|
width: 100%;
|
|
17
|
-
max-width:
|
|
17
|
+
max-width: 4rem;
|
|
18
18
|
object-fit: contain;
|
|
19
19
|
}
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
@media only screen and (min-width: ${responsiveMedia}) {
|
|
23
|
+
& img{
|
|
24
|
+
max-width: 7rem;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
20
27
|
`;
|
|
21
28
|
|
|
@@ -20,10 +20,12 @@ const NewsCard = ({
|
|
|
20
20
|
<StyledNewsCard
|
|
21
21
|
$variant={variant}
|
|
22
22
|
imageElement={
|
|
23
|
-
|
|
23
|
+
<>
|
|
24
|
+
{category && <Chip variant='light'>{category}</Chip>}
|
|
25
|
+
<ImageWrapper aspectRatioHeight={63}>{imageElement}</ImageWrapper>
|
|
26
|
+
</>
|
|
24
27
|
}
|
|
25
28
|
>
|
|
26
|
-
{category && <Chip variant='light' className='mb-5'>{category}</Chip>}
|
|
27
29
|
<Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis mt-4'}>
|
|
28
30
|
{title}
|
|
29
31
|
</Heading>
|