oddsgate-ds 1.0.140 → 1.0.141

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.
@@ -1,4 +1,4 @@
1
1
  import { ILicenseCard } from './LicenseCard.interface';
2
2
  import React from 'react';
3
- declare const LicenseCard: ({ title, imageElement, description, className, style, ...props }: ILicenseCard) => React.JSX.Element;
3
+ declare const LicenseCard: ({ title, imageElement, description, className, style }: ILicenseCard) => React.JSX.Element;
4
4
  export default LicenseCard;
package/dist/types.d.ts CHANGED
@@ -553,7 +553,7 @@ interface ILicenseCard extends ICard {
553
553
  description?: string | React.ReactElement;
554
554
  }
555
555
 
556
- declare const LicenseCard: ({ title, imageElement, description, className, style, ...props }: ILicenseCard) => React__default.JSX.Element;
556
+ declare const LicenseCard: ({ title, imageElement, description, className, style }: ILicenseCard) => React__default.JSX.Element;
557
557
 
558
558
  interface INewsCard extends ICard {
559
559
  date?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.140",
3
+ "version": "1.0.141",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -142,7 +142,7 @@ export const FilterWithInputs: StoryObj<IFormField> = {
142
142
  <FormField
143
143
  id={'input-1'}
144
144
  label={'My custom input'}
145
- rightIcon={<Icon icon={'icon-search'} />}
145
+ leftIcon={<Icon icon={'icon-search'} />}
146
146
  >
147
147
  <Field
148
148
  label={'My custom input'}
@@ -157,7 +157,7 @@ export const FilterWithInputs: StoryObj<IFormField> = {
157
157
  <FormField
158
158
  id={'event_type'}
159
159
  label={'My custom input'}
160
- rightIcon={<Icon icon={'icon-search'} />}
160
+ leftIcon={<Icon icon={'icon-search'} />}
161
161
  >
162
162
  <Field
163
163
  as="select"
@@ -213,7 +213,7 @@ export const DarkStyle: StoryObj<IFormField> = {
213
213
  <FormField
214
214
  id={'input-1'}
215
215
  label={'My custom input'}
216
- rightIcon={<Icon icon={'icon-search'} />}
216
+ leftIcon={<Icon icon={'icon-search'} />}
217
217
  >
218
218
  <Field
219
219
  label={'My custom input'}
@@ -228,7 +228,7 @@ export const DarkStyle: StoryObj<IFormField> = {
228
228
  <FormField
229
229
  id={'event_type'}
230
230
  label={'My custom input'}
231
- rightIcon={<Icon icon={'icon-search'} />}
231
+ leftIcon={<Icon icon={'icon-search'} />}
232
232
  >
233
233
  <Field
234
234
  as="select"
@@ -366,7 +366,7 @@ export const All: StoryObj<IFormField> = {
366
366
  <FormField
367
367
  id={'input-1'}
368
368
  label={'My custom input'}
369
- rightIcon={<Icon icon={'icon-search'} />}
369
+ leftIcon={<Icon icon={'icon-search'} />}
370
370
  >
371
371
  <Field
372
372
  label={'My custom input'}
@@ -64,7 +64,7 @@ export const StyledFieldContainer = styled.div<IFormField>`
64
64
  border-radius: 50px;
65
65
  border: 0;
66
66
 
67
- padding: 1rem 2rem;
67
+ padding: 1rem 4rem 1rem 2rem;
68
68
  color: ${colors.third10};
69
69
  background: ${colors.secondary50};
70
70
  outline: none;
@@ -1,8 +1,8 @@
1
- import { IRichText } from './RichText.interface';
2
- import React from 'react';
3
- import { StyledRichText } from './RichText.theme';
4
- import { typographyTags } from '../Heading/Heading.interface';
5
- import xss from 'xss';
1
+ import { IRichText } from './RichText.interface'
2
+ import React from 'react'
3
+ import { StyledRichText } from './RichText.theme'
4
+ import { typographyTags } from '../Heading/Heading.interface'
5
+ import xss from 'xss'
6
6
 
7
7
  const RichText = ({
8
8
  id,
@@ -24,6 +24,7 @@ const RichText = ({
24
24
  stripIgnoreTagBody: ['script']
25
25
  })
26
26
  }}
27
+ {...props}
27
28
  />
28
29
  )
29
30
  }
@@ -8,8 +8,7 @@ const LicenseCard = ({
8
8
  imageElement,
9
9
  description,
10
10
  className,
11
- style,
12
- ...props
11
+ style
13
12
  }: ILicenseCard) => {
14
13
  return (
15
14
  <StyledLicenseCard className={className} style={style}>
@@ -7,9 +7,9 @@ export const alternativeFont = "Epilogue";
7
7
 
8
8
  export const gutter = pxToRem(8); //needs to be in this file
9
9
 
10
- export const desktop_width:number = 1620; //container size of design on desktop
11
- export const tablet_width:number = 768; //container size of design on tablet
12
- export const mobile_width:number = 375; //container size of design on mobile
10
+ export const desktop_width: number = 1620; //container size of design on desktop
11
+ export const tablet_width: number = 768; //container size of design on tablet
12
+ export const mobile_width: number = 375; //container size of design on mobile
13
13
  export const responsiveMedia = "769px"; //container size of design on mobile
14
14
  export const responsiveMediaMax = "768px"; //mobile media value for bootstrap -> use this for max-width media queries
15
15
  export const mobileMedia = "360px"; //mobile media value
@@ -38,13 +38,13 @@ export const colors = <Record<string, string>>{
38
38
  gray70: '#82816C',
39
39
  gray90: '#82816C',
40
40
 
41
- primary50: '#FC3151',
41
+ primary50: '#FF4552',
42
42
 
43
43
  secondary10: '#FDFDF1',
44
44
  secondary50: '#FFFECC',
45
45
 
46
- third10: '#440D3F',
47
- third50: '#2C0929',
46
+ third10: '#440E3F',
47
+ third50: '#2C092a',
48
48
 
49
49
  // Feedback
50
50
  warning: '#ea9a1a',