oddsgate-ds 1.0.62 → 1.0.63
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 +5 -5
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +5 -5
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/Button/Button.theme.ts +0 -26
- package/src/components/molecules/BlogCard/BlogCard.component.tsx +3 -3
- package/src/components/molecules/BlogCard/BlogCard.theme.ts +1 -0
- package/src/components/molecules/NewsCard/NewsCard.component.tsx +5 -2
- package/src/styles/utilities.ts +8 -4
package/package.json
CHANGED
|
@@ -71,32 +71,6 @@ export const StyledButton = styled.a<IButtonSC>`
|
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
73
|
`;
|
|
74
|
-
case "secondary":
|
|
75
|
-
return css`
|
|
76
|
-
${fontSize('h5')};
|
|
77
|
-
font-weight: 700;
|
|
78
|
-
text-transform:uppercase;
|
|
79
|
-
padding: 0.8rem 1.6rem;
|
|
80
|
-
border-radius: 50px;
|
|
81
|
-
|
|
82
|
-
${props.$mode === "light" ? `
|
|
83
|
-
color: ${colors.primary50};
|
|
84
|
-
background-color: ${colors.secondary50};
|
|
85
|
-
|
|
86
|
-
&:hover{
|
|
87
|
-
color: ${colors.secondary50};
|
|
88
|
-
background-color: ${colors.primary50};
|
|
89
|
-
}
|
|
90
|
-
` : `
|
|
91
|
-
color: ${colors.secondary50};
|
|
92
|
-
background-color: ${colors.primary50};
|
|
93
|
-
|
|
94
|
-
&:hover{
|
|
95
|
-
color: ${colors.primary50};
|
|
96
|
-
background-color: ${colors.secondary50};
|
|
97
|
-
}
|
|
98
|
-
`}
|
|
99
|
-
`;
|
|
100
74
|
case "link":
|
|
101
75
|
return css`
|
|
102
76
|
${fontSize('h5')};
|
|
@@ -28,14 +28,14 @@ const BlogCard = ({
|
|
|
28
28
|
</>
|
|
29
29
|
}
|
|
30
30
|
>
|
|
31
|
-
<Heading tag={'h3'} size={'h4'} className={'fw-bold textEllipsis'}>
|
|
31
|
+
<Heading tag={'h3'} size={'h4'} className={'fw-bold textEllipsis mt-4'}>
|
|
32
32
|
{title}
|
|
33
33
|
</Heading>
|
|
34
|
-
<Heading tag={'span'} size={'captions'} className={'textEllipsis mt-
|
|
34
|
+
<Heading tag={'span'} size={'captions'} className={'textEllipsis mt-3'}>
|
|
35
35
|
{description}
|
|
36
36
|
</Heading>
|
|
37
37
|
{date && (
|
|
38
|
-
<RichText tag={'p'} className="fw-bold mt-
|
|
38
|
+
<RichText tag={'p'} className="fw-bold mt-4">
|
|
39
39
|
{date}
|
|
40
40
|
</RichText>
|
|
41
41
|
)}
|
|
@@ -24,11 +24,14 @@ const NewsCard = ({
|
|
|
24
24
|
}
|
|
25
25
|
>
|
|
26
26
|
{category && <Chip variant='light' className='mb-5'>{category}</Chip>}
|
|
27
|
-
<Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis'}>
|
|
27
|
+
<Heading tag={'h3'} size={variant === "featured" ? "h3" : 'h4'} className={'fw-bold textEllipsis mt-4'}>
|
|
28
28
|
{title}
|
|
29
29
|
</Heading>
|
|
30
|
+
<Heading tag={'span'} size={'captions'} className={'textEllipsis mt-3'}>
|
|
31
|
+
{description}
|
|
32
|
+
</Heading>
|
|
30
33
|
{date && (
|
|
31
|
-
<Heading tag={'span'} size={variant === "featured" ? "h5" : 'texts'} className={'fw-bold mt-
|
|
34
|
+
<Heading tag={'span'} size={variant === "featured" ? "h5" : 'texts'} className={'fw-bold mt-4'}>
|
|
32
35
|
{date}
|
|
33
36
|
</Heading>
|
|
34
37
|
)}
|
package/src/styles/utilities.ts
CHANGED
|
@@ -130,7 +130,8 @@ export const utilities: {
|
|
|
130
130
|
between: "space-between",
|
|
131
131
|
around: "space-around",
|
|
132
132
|
evenly: "space-evenly",
|
|
133
|
-
}
|
|
133
|
+
},
|
|
134
|
+
important: true,
|
|
134
135
|
},
|
|
135
136
|
"align-items": {
|
|
136
137
|
responsive: true,
|
|
@@ -141,7 +142,8 @@ export const utilities: {
|
|
|
141
142
|
center: "center",
|
|
142
143
|
baseline: "baseline",
|
|
143
144
|
stretch: "stretch",
|
|
144
|
-
}
|
|
145
|
+
},
|
|
146
|
+
important: true,
|
|
145
147
|
},
|
|
146
148
|
"align-content": {
|
|
147
149
|
responsive: true,
|
|
@@ -153,7 +155,8 @@ export const utilities: {
|
|
|
153
155
|
between: "space-between",
|
|
154
156
|
around: "space-around",
|
|
155
157
|
stretch: "stretch",
|
|
156
|
-
}
|
|
158
|
+
},
|
|
159
|
+
important: true,
|
|
157
160
|
},
|
|
158
161
|
"align-self": {
|
|
159
162
|
responsive: true,
|
|
@@ -165,7 +168,8 @@ export const utilities: {
|
|
|
165
168
|
center: "center",
|
|
166
169
|
baseline: "baseline",
|
|
167
170
|
stretch: "stretch",
|
|
168
|
-
}
|
|
171
|
+
},
|
|
172
|
+
important: true,
|
|
169
173
|
},
|
|
170
174
|
"order": {
|
|
171
175
|
responsive: true,
|