oddsgate-ds 1.0.134 → 1.0.136

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.134",
3
+ "version": "1.0.136",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -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
- {children}
17
- <label htmlFor={id} dangerouslySetInnerHTML={{__html: label as string}}></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
  }
@@ -19,7 +19,7 @@ export const StyledCheckRadioField = styled.div<ICheckRadioField>`
19
19
  opacity: 0;
20
20
 
21
21
  cursor: pointer;
22
- z-index: 5;
22
+ /* z-index: 5; */
23
23
 
24
24
  &+label {
25
25
  display: inline-block;
@@ -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='fw-bold'>
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>
@@ -57,7 +57,7 @@ export const StyledCircularSliderSlide = styled.div<ICircularSlider>`
57
57
  position: absolute;
58
58
  transform-origin: center;
59
59
  transition: .3s linear all;
60
- filter: brightness(25%);
60
+ filter: brightness(50%);
61
61
  cursor: pointer;
62
62
 
63
63
  & img{