magneto365.ui 2.66.0 → 2.67.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.
@@ -10,7 +10,7 @@ export interface TimelineEventProps {
10
10
  /**
11
11
  * The status of the event in the timeline. It can be 'checked', 'current', or 'blocked'.
12
12
  */
13
- status: TimelineEventStatus;
13
+ status: TimeLineItemStatus;
14
14
  /**
15
15
  * this property have the position of the list
16
16
  */
@@ -18,6 +18,11 @@ export interface TimelineEventProps {
18
18
  /**
19
19
  * this property sets the position of the list and status
20
20
  */
21
- onClick?: (status: TimelineEventStatus, value: number) => void;
21
+ onClick?: (status: TimeLineItemStatus, value: number) => void;
22
+ }
23
+ export declare enum TimeLineItemStatus {
24
+ CHECKED = "checked",
25
+ CURRENT = "current",
26
+ BLOCKED = "blocked",
27
+ UNLOCKED = "unlocked"
22
28
  }
23
- export declare type TimelineEventStatus = 'checked' | 'current' | 'blocked';
@@ -1,4 +1,4 @@
1
- import { TimelineEventStatus } from '@components/UI/molecules';
1
+ import { TimeLineItemStatus } from '@components/UI/molecules';
2
2
  export interface ITimelineProps {
3
3
  /**
4
4
  * Represents the steps in the timeline. Each step is an object that contains a title and a subtitle.
@@ -12,7 +12,11 @@ export interface ITimelineProps {
12
12
  /**
13
13
  * this property sets the position of the list and status
14
14
  */
15
- onClick?: (status: TimelineEventStatus, value: number) => void;
15
+ onClick?: (status: TimeLineItemStatus, value: number) => void;
16
+ /**
17
+ * this property sets the icon as clock
18
+ */
19
+ isNotBlocked?: boolean;
16
20
  }
17
21
  declare type StepDetails = {
18
22
  title: string;
@@ -0,0 +1,7 @@
1
+ export declare const BASE_CLASS: string;
2
+ export declare const TIMELINE_ICONS: {
3
+ checked: any;
4
+ current: any;
5
+ unlocked: any;
6
+ blocked: any;
7
+ };