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.
- package/dist/cjs/index.js +3 -3
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/molecules/LicenseCard/LicenseCard.component.d.ts +1 -1
- package/dist/esm/index.js +3 -3
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/molecules/LicenseCard/LicenseCard.component.d.ts +1 -1
- package/dist/types.d.ts +1 -1
- package/package.json +1 -1
- package/src/components/atoms/FormField/FormField.stories.tsx +5 -5
- package/src/components/atoms/FormField/FormField.theme.tsx +1 -1
- package/src/components/atoms/RichText/RichText.component.tsx +6 -5
- package/src/components/molecules/LicenseCard/LicenseCard.component.tsx +1 -2
- package/src/styles/variables.ts +6 -6
|
@@ -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
|
|
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
|
|
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
|
@@ -142,7 +142,7 @@ export const FilterWithInputs: StoryObj<IFormField> = {
|
|
|
142
142
|
<FormField
|
|
143
143
|
id={'input-1'}
|
|
144
144
|
label={'My custom input'}
|
|
145
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
369
|
+
leftIcon={<Icon icon={'icon-search'} />}
|
|
370
370
|
>
|
|
371
371
|
<Field
|
|
372
372
|
label={'My custom input'}
|
|
@@ -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
|
}
|
package/src/styles/variables.ts
CHANGED
|
@@ -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: '#
|
|
41
|
+
primary50: '#FF4552',
|
|
42
42
|
|
|
43
43
|
secondary10: '#FDFDF1',
|
|
44
44
|
secondary50: '#FFFECC',
|
|
45
45
|
|
|
46
|
-
third10: '#
|
|
47
|
-
third50: '#
|
|
46
|
+
third10: '#440E3F',
|
|
47
|
+
third50: '#2C092a',
|
|
48
48
|
|
|
49
49
|
// Feedback
|
|
50
50
|
warning: '#ea9a1a',
|