magneto365.ui 2.43.5 → 2.44.1

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,5 +1,5 @@
1
- import { IMegaMenuCard } from '@components/UI/atoms';
2
1
  import { IMegaMenuLink } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
2
+ import { IMegaMenuCard } from '../MegaMenuCard/MegaMenuCard.interface';
3
3
  export interface IMegaMenuCards {
4
4
  jobs: IMegaMenuCard[];
5
5
  action?: IMegaMenuLink;
@@ -1,5 +1,5 @@
1
- import { IMegaMenuCard } from '@components/UI/atoms';
2
1
  import { IMegaMenuLink } from '@components/UI/template/MegaMenu/MegaMenuContext.interface';
2
+ import { IMegaMenuCard } from '../MegaMenuCard';
3
3
  export interface IMegaMenuSideCards {
4
4
  jobs: IMegaMenuCard[];
5
5
  onSelectCard?: (index: number) => void;
@@ -11,5 +11,13 @@ export interface TimelineEventProps {
11
11
  * The status of the event in the timeline. It can be 'checked', 'current', or 'blocked'.
12
12
  */
13
13
  status: TimelineEventStatus;
14
+ /**
15
+ * this property have the position of the list
16
+ */
17
+ index?: number;
18
+ /**
19
+ * this property sets the position of the list and status
20
+ */
21
+ onClick?: (status: TimelineEventStatus, value: number) => void;
14
22
  }
15
23
  export declare type TimelineEventStatus = 'checked' | 'current' | 'blocked';
@@ -1,3 +1,4 @@
1
+ import { TimelineEventStatus } from '@components/UI/molecules';
1
2
  export interface ITimelineProps {
2
3
  /**
3
4
  * Represents the steps in the timeline. Each step is an object that contains a title and a subtitle.
@@ -8,6 +9,10 @@ export interface ITimelineProps {
8
9
  * It is suggested that this number be greater than 0.
9
10
  */
10
11
  currentStep: number;
12
+ /**
13
+ * this property sets the position of the list and status
14
+ */
15
+ onClick?: (status: TimelineEventStatus, value: number) => void;
11
16
  }
12
17
  declare type StepDetails = {
13
18
  title: string;
@@ -0,0 +1,4 @@
1
+ export declare const timeLineSteps: {
2
+ title: string;
3
+ subtitle: string;
4
+ }[];