oddsgate-ds 1.0.171 → 1.0.174

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 { IEventsCard } from './EventsCard.interface';
2
2
  import React from 'react';
3
- declare const EventsCard: ({ variant, date, endDate, category, title, imageElement, linkElement, description, ...props }: IEventsCard) => React.JSX.Element;
3
+ declare const EventsCard: ({ variant, date, category, title, imageElement, linkElement, description, ...props }: IEventsCard) => React.JSX.Element;
4
4
  export default EventsCard;
@@ -2,7 +2,6 @@
2
2
  import { ICard } from '../Card/Card.interface';
3
3
  export interface IEventsCard extends ICard {
4
4
  date?: string;
5
- endDate?: string;
6
5
  category?: string;
7
6
  title?: string;
8
7
  description?: string | React.ReactElement;
package/dist/types.d.ts CHANGED
@@ -585,14 +585,13 @@ declare const NewsCard: ({ variant, date, category, title, imageElement, linkEle
585
585
 
586
586
  interface IEventsCard extends ICard {
587
587
  date?: string;
588
- endDate?: string;
589
588
  category?: string;
590
589
  title?: string;
591
590
  description?: string | React.ReactElement;
592
591
  linkElement?: React.ReactElement;
593
592
  }
594
593
 
595
- declare const EventsCard: ({ variant, date, endDate, category, title, imageElement, linkElement, description, ...props }: IEventsCard) => React__default.JSX.Element;
594
+ declare const EventsCard: ({ variant, date, category, title, imageElement, linkElement, description, ...props }: IEventsCard) => React__default.JSX.Element;
596
595
 
597
596
  interface ICareersCard extends ICard {
598
597
  title?: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "oddsgate-ds",
3
- "version": "1.0.171",
3
+ "version": "1.0.174",
4
4
  "description": "Miew theme component library",
5
5
  "main": "dist/cjs/index.js",
6
6
  "module": "dist/esm/index.js",
@@ -9,7 +9,6 @@ import { StyledEventsCard } from './EventsCard.theme'
9
9
  const EventsCard = ({
10
10
  variant,
11
11
  date,
12
- endDate,
13
12
  category,
14
13
  title,
15
14
  imageElement,
@@ -29,7 +28,7 @@ const EventsCard = ({
29
28
  </Heading>
30
29
  {date && (
31
30
  <Heading tag={'span'} size={'h5'} className={'mt-3'}>
32
- {date} {endDate && "- " + endDate}
31
+ {date}
33
32
  </Heading>
34
33
  )}
35
34
 
@@ -2,7 +2,6 @@ import { ICard } from '../Card/Card.interface';
2
2
 
3
3
  export interface IEventsCard extends ICard {
4
4
  date?: string,
5
- endDate?: string,
6
5
  category?: string
7
6
  title?: string
8
7
  description?: string | React.ReactElement
@@ -28,7 +28,6 @@ export const Simple: StoryObj<IEventsCard> = {
28
28
  ),
29
29
  args: {
30
30
  date: 'Nov 23, 25',
31
- endDate: 'Nov 25, 25',
32
31
  category: 'Category name',
33
32
  title: 'Lorem ipsum dolor sit amet, consectetur adipiscing elit.',
34
33
  imageElement: image,