oddsgate-ds 1.0.133 → 1.0.135
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 +1 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/index.js.map +1 -1
- package/package.json +1 -1
- package/src/components/atoms/FormField/CheckRadioField/CheckRadioField.component.tsx +6 -2
- package/src/components/atoms/Marquee/Marquee.component.tsx +2 -2
- package/src/components/molecules/ProductCard/ProductCard.theme.ts +3 -1
- package/src/components/organisms/CircularSlider/CircularSlider.theme.ts +1 -1
package/package.json
CHANGED
|
@@ -3,6 +3,7 @@ import React, { Children } from 'react'
|
|
|
3
3
|
import { Field } from 'formik'
|
|
4
4
|
import { ICheckRadioField } from './CheckRadioField.interface'
|
|
5
5
|
import { StyledCheckRadioField } from './CheckRadioField.theme'
|
|
6
|
+
import RichText from '../../RichText'
|
|
6
7
|
|
|
7
8
|
const CheckRadioField = ({
|
|
8
9
|
id,
|
|
@@ -13,8 +14,11 @@ const CheckRadioField = ({
|
|
|
13
14
|
}: ICheckRadioField) => {
|
|
14
15
|
return (
|
|
15
16
|
<StyledCheckRadioField>
|
|
16
|
-
{
|
|
17
|
-
<label
|
|
17
|
+
<RichText tag="p">{label}</RichText>
|
|
18
|
+
<label
|
|
19
|
+
htmlFor={id}
|
|
20
|
+
dangerouslySetInnerHTML={{ __html: label as string }}
|
|
21
|
+
></label>
|
|
18
22
|
</StyledCheckRadioField>
|
|
19
23
|
)
|
|
20
24
|
}
|
|
@@ -8,8 +8,8 @@ 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=
|
|
12
|
-
{text} {text} {text}
|
|
11
|
+
<Heading size="display" tag="span" className="fw-bold">
|
|
12
|
+
{text} {text} {text} {text} {text}
|
|
13
13
|
</Heading>
|
|
14
14
|
</div>
|
|
15
15
|
</StyledMarquee>
|
|
@@ -8,7 +8,7 @@ export const StyledProductCard = styled.div <IProductCard>`
|
|
|
8
8
|
|
|
9
9
|
& img{
|
|
10
10
|
width: 100%;
|
|
11
|
-
max-width:
|
|
11
|
+
max-width: 8rem;
|
|
12
12
|
object-fit: contain;
|
|
13
13
|
}
|
|
14
14
|
`;
|
|
@@ -17,8 +17,10 @@ export const StyledProductCardWrapper = styled.div<IProductCard>`
|
|
|
17
17
|
display:flex;
|
|
18
18
|
flex-flow:column;
|
|
19
19
|
align-items: center;
|
|
20
|
+
justify-content: center;
|
|
20
21
|
gap: 1.5rem;
|
|
21
22
|
background-color: ${colors.primary50};
|
|
22
23
|
padding: 3rem 2rem;
|
|
23
24
|
border-radius: 0 ${radius.lg};
|
|
25
|
+
aspect-ratio: 0.89/1;
|
|
24
26
|
`;
|