@maycolem/stories 26.0.0 → 27.0.0

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,11 +1,14 @@
1
1
  import { Story } from '../services/type';
2
- declare const ManagmentStoryComponent: ({ story }: {
2
+ declare const ManagmentStoryComponent: ({ story, onButtonStoryClick, }: {
3
3
  story: Story;
4
+ onButtonStoryClick: any;
4
5
  }) => import("react/jsx-runtime").JSX.Element;
5
6
  export default ManagmentStoryComponent;
6
- export declare const PromoStory: ({ story }: {
7
+ export declare const PromoStory: ({ story, onButtonStoryClick, }: {
7
8
  story: Story;
9
+ onButtonStoryClick: any;
8
10
  }) => import("react/jsx-runtime").JSX.Element;
9
- export declare const BetCouponStory: ({ story }: {
11
+ export declare const BetCouponStory: ({ story, onButtonStoryClick, }: {
10
12
  story: Story;
13
+ onButtonStoryClick: any;
11
14
  }) => import("react/jsx-runtime").JSX.Element;
@@ -1,8 +1,9 @@
1
- import { IStoriesProfile } from '../services/type';
1
+ import { IStoriesProfile, Story } from '../services/type';
2
2
  interface Props {
3
3
  className?: string;
4
4
  data: IStoriesProfile[];
5
5
  isPortal?: boolean;
6
+ onButtonStoryClick?: (story: Story) => void;
6
7
  }
7
- declare const ProfileStories: ({ className, data, isPortal }: Props) => import("react/jsx-runtime").JSX.Element;
8
+ declare const ProfileStories: ({ className, data, isPortal, onButtonStoryClick, }: Props) => import("react/jsx-runtime").JSX.Element;
8
9
  export default ProfileStories;
@@ -3,6 +3,7 @@ import { BetSlipVM } from '../models/view/BetSlipVM';
3
3
  interface Props {
4
4
  slip: BetSlipVM;
5
5
  title: any;
6
+ onButtonStoryClick: any;
6
7
  }
7
8
  export declare const BetSlip: React.FC<Props>;
8
9
  export {};
@@ -1,7 +1,8 @@
1
1
  import { IStoriesProfile } from '../../../services/type';
2
- export default function StoryCube({ stories, open, onClose, initialSlide, }: {
2
+ export default function StoryCube({ stories, open, onClose, initialSlide, onButtonStoryClick, }: {
3
3
  stories: IStoriesProfile[];
4
4
  open: any;
5
5
  onClose: any;
6
6
  initialSlide: any;
7
+ onButtonStoryClick: any;
7
8
  }): import("react/jsx-runtime").JSX.Element | null;
@@ -1,5 +1,5 @@
1
1
  import { IStoriesProfile, Story } from '../../../../services/type';
2
- declare const CardStory: ({ story, onChangeStory, onAllStoriesEnd, onLeft, onRight, play, initialIndex, }: {
2
+ declare const CardStory: ({ story, onChangeStory, onAllStoriesEnd, onLeft, onRight, play, initialIndex, onButtonStoryClick, }: {
3
3
  story: IStoriesProfile;
4
4
  onChangeStory?: (currentIndex: number, story: Story) => void;
5
5
  onLeft?: any;
@@ -7,5 +7,6 @@ declare const CardStory: ({ story, onChangeStory, onAllStoriesEnd, onLeft, onRig
7
7
  onAllStoriesEnd?: any;
8
8
  initialIndex: any;
9
9
  play?: boolean;
10
+ onButtonStoryClick: any;
10
11
  }) => import("react/jsx-runtime").JSX.Element;
11
12
  export default CardStory;
@@ -1,5 +1,5 @@
1
- declare const PulseButton: ({ children, href }: {
1
+ declare const PulseButton: ({ children, onClick }: {
2
2
  children: any;
3
- href: any;
3
+ onClick: any;
4
4
  }) => import("react/jsx-runtime").JSX.Element;
5
5
  export default PulseButton;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@maycolem/stories",
3
- "version": "26.0.0",
3
+ "version": "27.0.0",
4
4
  "main": "dist/index.cjs.js",
5
5
  "module": "dist/index.esm.js",
6
6
  "types": "dist/index.d.ts",