magneto365.ui 2.59.4 → 2.59.5
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/css/magneto.ui.lib.min.css +1 -1
- package/dist/cjs/index.js +520 -450
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/AlertJobModal.component.d.ts +10 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/AlertJobModal.interface.d.ts +105 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalBody/AlertJobModalBody.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalButton/AlertJobModalButton.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalFooter/AlertJobModalFooter.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalHeader/AlertJobModalHeader.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalIcon/AlertJobModalIcon.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/children/AlertJobModalTitle/AlertJobModalTitle.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobModal/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +18 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusButton/AlertJobStatusButton.component.d.ts +3 -0
- package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusButton/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/molecules/index.d.ts +1 -0
- package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +1 -0
- package/dist/esm/css/magneto.ui.lib.min.css +1 -1
- package/dist/esm/index.js +520 -451
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/types/components/UI/molecules/AlertJobModal/AlertJobModal.component.d.ts +10 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/AlertJobModal.interface.d.ts +105 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalBody/AlertJobModalBody.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalButton/AlertJobModalButton.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalFooter/AlertJobModalFooter.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalHeader/AlertJobModalHeader.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalIcon/AlertJobModalIcon.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/children/AlertJobModalTitle/AlertJobModalTitle.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobModal/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +18 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusButton/AlertJobStatusButton.component.d.ts +3 -0
- package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusButton/index.d.ts +1 -0
- package/dist/esm/types/components/UI/molecules/index.d.ts +1 -0
- package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +1 -0
- package/dist/index.d.ts +135 -1
- package/package.json +1 -1
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { IAlertJobModal } from './AlertJobModal.interface';
|
|
3
|
+
export declare const AlertJobModal: React.FC<IAlertJobModal> & {
|
|
4
|
+
Header: React.FC<IAlertJobModal.Header>;
|
|
5
|
+
Body: React.FC<IAlertJobModal.Body>;
|
|
6
|
+
Footer: React.FC<IAlertJobModal.Footer>;
|
|
7
|
+
Title: React.FC<IAlertJobModal.Title>;
|
|
8
|
+
Icon: React.FC<IAlertJobModal.Icon>;
|
|
9
|
+
Button: React.FC<IAlertJobModal.Button>;
|
|
10
|
+
};
|
|
@@ -0,0 +1,105 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export interface IAlertJobModal {
|
|
3
|
+
/**
|
|
4
|
+
* React children to be rendered inside the component.
|
|
5
|
+
*/
|
|
6
|
+
children: JSX.Element | JSX.Element[];
|
|
7
|
+
/**
|
|
8
|
+
* Additional class names for custom styling.
|
|
9
|
+
*/
|
|
10
|
+
className?: string;
|
|
11
|
+
/**
|
|
12
|
+
* Represents whether the modal is open or closed.
|
|
13
|
+
*/
|
|
14
|
+
open: boolean;
|
|
15
|
+
/**
|
|
16
|
+
* Callback function to be executed when the modal is closed.
|
|
17
|
+
*/
|
|
18
|
+
onClose: () => void;
|
|
19
|
+
}
|
|
20
|
+
export declare namespace IAlertJobModal {
|
|
21
|
+
interface Header {
|
|
22
|
+
/**
|
|
23
|
+
* React children to be rendered inside the container.
|
|
24
|
+
*/
|
|
25
|
+
children?: React.ReactNode;
|
|
26
|
+
/**
|
|
27
|
+
* Additional class names for custom styling.
|
|
28
|
+
*/
|
|
29
|
+
className?: string;
|
|
30
|
+
}
|
|
31
|
+
interface Body {
|
|
32
|
+
/**
|
|
33
|
+
* React children to be rendered inside the container.
|
|
34
|
+
*/
|
|
35
|
+
children?: React.ReactNode;
|
|
36
|
+
/**
|
|
37
|
+
* Additional class names for custom styling.
|
|
38
|
+
*/
|
|
39
|
+
className?: string;
|
|
40
|
+
}
|
|
41
|
+
interface Footer {
|
|
42
|
+
/**
|
|
43
|
+
* React children to be rendered inside the container.
|
|
44
|
+
*/
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
/**
|
|
47
|
+
* Additional class names for custom styling.
|
|
48
|
+
*/
|
|
49
|
+
className?: string;
|
|
50
|
+
}
|
|
51
|
+
interface Icon {
|
|
52
|
+
/**
|
|
53
|
+
* Additional class names for custom styling.
|
|
54
|
+
*/
|
|
55
|
+
className?: string;
|
|
56
|
+
/**
|
|
57
|
+
* Here is the icon component
|
|
58
|
+
*/
|
|
59
|
+
src?: string | null;
|
|
60
|
+
/**
|
|
61
|
+
* You can change the size of the icon by adding a numeric value here
|
|
62
|
+
*/
|
|
63
|
+
size?: number;
|
|
64
|
+
/**
|
|
65
|
+
* Text alt in the img element
|
|
66
|
+
*/
|
|
67
|
+
alt?: string | null;
|
|
68
|
+
}
|
|
69
|
+
interface Title {
|
|
70
|
+
/**
|
|
71
|
+
* Set title text on modal header
|
|
72
|
+
*/
|
|
73
|
+
title: string;
|
|
74
|
+
/**
|
|
75
|
+
* Set subtitle text on modal header
|
|
76
|
+
*/
|
|
77
|
+
subtitle?: string | null;
|
|
78
|
+
/**
|
|
79
|
+
* React children to be rendered inside the container.
|
|
80
|
+
*/
|
|
81
|
+
children?: React.ReactNode;
|
|
82
|
+
/**
|
|
83
|
+
* Additional class names for custom styling.
|
|
84
|
+
*/
|
|
85
|
+
className?: string;
|
|
86
|
+
}
|
|
87
|
+
interface Button extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
88
|
+
/**
|
|
89
|
+
* React children to be rendered inside the container.
|
|
90
|
+
*/
|
|
91
|
+
children?: React.ReactNode;
|
|
92
|
+
/**
|
|
93
|
+
* Additional class names for custom styling.
|
|
94
|
+
*/
|
|
95
|
+
className?: string;
|
|
96
|
+
/**
|
|
97
|
+
* Here is the icon button component
|
|
98
|
+
*/
|
|
99
|
+
icon?: string | null;
|
|
100
|
+
/**
|
|
101
|
+
* You can change the size of the icon by adding a numeric value here
|
|
102
|
+
*/
|
|
103
|
+
sizeIcon?: number;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AlertJobModal.component';
|
|
@@ -3,5 +3,6 @@ import { IAlertJobStatus } from './AlertJobStatus.interface';
|
|
|
3
3
|
export declare const AlertJobStatus: React.FC<IAlertJobStatus> & {
|
|
4
4
|
Container: React.FC<IAlertJobStatus.Container>;
|
|
5
5
|
Icon: React.FC<IAlertJobStatus.Icon>;
|
|
6
|
+
Button: React.FC<IAlertJobStatus.Button>;
|
|
6
7
|
Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
|
|
7
8
|
};
|
|
@@ -47,6 +47,24 @@ export declare namespace IAlertJobStatus {
|
|
|
47
47
|
*/
|
|
48
48
|
type?: EAlertJobStatusIcon;
|
|
49
49
|
}
|
|
50
|
+
interface Button extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
51
|
+
/**
|
|
52
|
+
* React children to be rendered inside the container.
|
|
53
|
+
*/
|
|
54
|
+
children?: React.ReactNode;
|
|
55
|
+
/**
|
|
56
|
+
* Additional class names for custom styling.
|
|
57
|
+
*/
|
|
58
|
+
className?: string;
|
|
59
|
+
/**
|
|
60
|
+
* Here is the icon button component
|
|
61
|
+
*/
|
|
62
|
+
icon?: string | null;
|
|
63
|
+
/**
|
|
64
|
+
* You can change the size of the icon by adding a numeric value here
|
|
65
|
+
*/
|
|
66
|
+
sizeIcon?: number;
|
|
67
|
+
}
|
|
50
68
|
}
|
|
51
69
|
export declare type EAlertJobStatusType = 'warning' | 'normal';
|
|
52
70
|
export declare type EAlertJobStatusIcon = 'success' | 'warning';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './AlertJobStatusButton.component';
|
package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts
CHANGED
|
@@ -5,6 +5,7 @@ export declare const JobSuggestedDrawer: React.FC<IJobSuggestedDrawer> & {
|
|
|
5
5
|
Alert: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus> & {
|
|
6
6
|
Container: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus.Container>;
|
|
7
7
|
Icon: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus.Icon>;
|
|
8
|
+
Button: React.FC<import("@components/UI/molecules/AlertJobStatus").IAlertJobStatus.Button>;
|
|
8
9
|
Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
|
|
9
10
|
};
|
|
10
11
|
SimilarJobs: React.FC<IJobSuggestedDrawer.SimilarJobCards>;
|