magneto365.ui 2.57.3-alpha → 2.58.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.
Files changed (188) hide show
  1. package/dist/assets/035d90cb55b544da.svg +15 -0
  2. package/dist/assets/1aba91fa564f11d7.svg +16 -0
  3. package/dist/assets/3a1c54796cd5e026.svg +17 -0
  4. package/dist/assets/3e2d04cc8ff5910d.svg +11 -0
  5. package/dist/assets/4cf4b85aba741f29.svg +11 -0
  6. package/dist/assets/58346511fd62e29a.svg +5 -0
  7. package/dist/assets/8a37a9c7b0fd5027.svg +9 -0
  8. package/dist/assets/f3929a315218dc82.svg +10 -0
  9. package/dist/cjs/css/magneto.ui.lib.min.css +1 -1
  10. package/dist/cjs/index.js +1370 -983
  11. package/dist/cjs/index.js.map +1 -1
  12. package/dist/cjs/types/components/UI/atoms/Badge/Badge.component.d.ts +3 -0
  13. package/dist/cjs/types/components/UI/atoms/Badge/Badge.interface.d.ts +10 -0
  14. package/dist/cjs/types/components/UI/atoms/Badge/index.d.ts +1 -0
  15. package/dist/cjs/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
  16. package/dist/cjs/types/components/UI/atoms/HeaderTab/HeaderTab.interface.d.ts +7 -0
  17. package/dist/cjs/types/components/UI/atoms/Text/Text.interface.d.ts +2 -1
  18. package/dist/cjs/types/components/UI/atoms/ToggleButton/ToggleButton.interface.d.ts +9 -4
  19. package/dist/cjs/types/components/UI/atoms/index.d.ts +1 -0
  20. package/dist/cjs/types/components/UI/molecules/Actions/Actions.interface.d.ts +4 -0
  21. package/dist/cjs/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  22. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +7 -0
  23. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +52 -0
  24. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/AlertJobStatusContainer.component.d.ts +3 -0
  25. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/index.d.ts +1 -0
  26. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/AlertJobStatusIcon.component.d.ts +3 -0
  27. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/index.d.ts +1 -0
  28. package/dist/cjs/types/components/UI/molecules/AlertJobStatus/index.d.ts +4 -0
  29. package/dist/cjs/types/components/UI/molecules/FraudCardJob/FraudCardJob.component.d.ts +3 -0
  30. package/dist/cjs/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
  31. package/dist/cjs/types/components/UI/molecules/FraudCardJob/index.d.ts +1 -0
  32. package/dist/cjs/types/components/UI/molecules/JobActions/JobActions.interface.d.ts +5 -0
  33. package/dist/cjs/types/components/UI/molecules/JobApplyCard/JobApplyCard.interface.d.ts +4 -0
  34. package/dist/cjs/types/components/UI/molecules/JobCompanyHeader/JobCompanyHeader.interface.d.ts +6 -0
  35. package/dist/cjs/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
  36. package/dist/{esm/types/components/UI/atoms → cjs/types/components/UI/molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.interface.d.ts +5 -4
  37. package/dist/cjs/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
  38. package/dist/cjs/types/components/UI/molecules/ModalResponsive/ModalResponsive.component.d.ts +3 -0
  39. package/dist/cjs/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +22 -0
  40. package/dist/cjs/types/components/UI/molecules/ModalResponsive/index.d.ts +1 -0
  41. package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +7 -0
  42. package/dist/cjs/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +128 -0
  43. package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/SimilarCardLogo.component.d.ts +3 -0
  44. package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/index.d.ts +1 -0
  45. package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/SimilarCardIcon.component.d.ts +3 -0
  46. package/dist/cjs/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/index.d.ts +1 -0
  47. package/dist/cjs/types/components/UI/molecules/SimilarCard/index.d.ts +4 -0
  48. package/dist/cjs/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.component.d.ts +3 -0
  49. package/dist/cjs/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.interface.d.ts +23 -0
  50. package/dist/cjs/types/components/UI/molecules/ToggleButtonList/index.d.ts +2 -0
  51. package/dist/cjs/types/components/UI/molecules/Tooltip/Tooltip.interface.d.ts +7 -0
  52. package/dist/cjs/types/components/UI/molecules/index.d.ts +8 -2
  53. package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
  54. package/dist/cjs/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
  55. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
  56. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
  57. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
  58. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
  59. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
  60. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
  61. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
  62. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
  63. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
  64. package/dist/cjs/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
  65. package/dist/cjs/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
  66. package/dist/cjs/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +14 -0
  67. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +11 -0
  68. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.interface.d.ts +90 -0
  69. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/JobSuggestedHeader.component.d.ts +3 -0
  70. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/index.d.ts +1 -0
  71. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/JobSuggestedSimilarJobs.component.d.ts +3 -0
  72. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/index.d.ts +1 -0
  73. package/dist/cjs/types/components/UI/organism/JobSuggestedDrawer/index.d.ts +4 -0
  74. package/dist/cjs/types/components/UI/organism/MobileJobDetailsActionsBar/MobileJobDetailsActionsBar.interface.d.ts +4 -0
  75. package/dist/cjs/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +16 -3
  76. package/dist/cjs/types/components/UI/organism/ProcessesCard/ProcessesCard.component.d.ts +11 -0
  77. package/dist/cjs/types/components/UI/organism/ProcessesCard/ProcessesCard.interface.d.ts +42 -0
  78. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardArrow/ProcessesCardArrow.component.d.ts +2 -0
  79. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardBrand/ProcessesCardBrand.component.d.ts +2 -0
  80. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardIconStatus/ProcessesCardIconStatus.component.d.ts +3 -0
  81. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardSection/ProcessesCardSection.component.d.ts +2 -0
  82. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardStatus/ProcessesCardStatus.component.d.ts +3 -0
  83. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardText/ProcessesCardText.component.d.ts +3 -0
  84. package/dist/cjs/types/components/UI/organism/ProcessesCard/children/ProcessesCardTitle/ProcessesCardTitle.component.d.ts +3 -0
  85. package/dist/cjs/types/components/UI/organism/ProcessesCard/index.d.ts +1 -0
  86. package/dist/cjs/types/components/UI/organism/index.d.ts +3 -0
  87. package/dist/cjs/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +1 -0
  88. package/dist/cjs/types/constants/icons.constants.d.ts +8 -0
  89. package/dist/cjs/types/constants/stories/alertJob.constants.d.ts +3 -0
  90. package/dist/cjs/types/constants/stories/fraudCardJob.constant.d.ts +2 -0
  91. package/dist/cjs/types/constants/stories/index.d.ts +3 -0
  92. package/dist/cjs/types/constants/stories/jobSuggestedDrawer.constants.d.ts +3 -0
  93. package/dist/cjs/types/constants/stories/similarCard.constants.d.ts +7 -0
  94. package/dist/cjs/types/constants/stories/toggleButton.constants.d.ts +2 -0
  95. package/dist/cjs/types/utils/text/textAdapter.util.d.ts +3 -0
  96. package/dist/esm/css/magneto.ui.lib.min.css +1 -1
  97. package/dist/esm/index.js +1351 -984
  98. package/dist/esm/index.js.map +1 -1
  99. package/dist/esm/types/components/UI/atoms/Badge/Badge.component.d.ts +3 -0
  100. package/dist/esm/types/components/UI/atoms/Badge/Badge.interface.d.ts +10 -0
  101. package/dist/esm/types/components/UI/atoms/Badge/index.d.ts +1 -0
  102. package/dist/esm/types/components/UI/atoms/Divider/Divider.interface.d.ts +1 -0
  103. package/dist/esm/types/components/UI/atoms/HeaderTab/HeaderTab.interface.d.ts +7 -0
  104. package/dist/esm/types/components/UI/atoms/Text/Text.interface.d.ts +2 -1
  105. package/dist/esm/types/components/UI/atoms/ToggleButton/ToggleButton.interface.d.ts +9 -4
  106. package/dist/esm/types/components/UI/atoms/index.d.ts +1 -0
  107. package/dist/esm/types/components/UI/molecules/Actions/Actions.interface.d.ts +4 -0
  108. package/dist/esm/types/components/UI/molecules/Alert/Alert.interface.d.ts +1 -1
  109. package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.component.d.ts +7 -0
  110. package/dist/esm/types/components/UI/molecules/AlertJobStatus/AlertJobStatus.interface.d.ts +52 -0
  111. package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/AlertJobStatusContainer.component.d.ts +3 -0
  112. package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusContainer/index.d.ts +1 -0
  113. package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/AlertJobStatusIcon.component.d.ts +3 -0
  114. package/dist/esm/types/components/UI/molecules/AlertJobStatus/children/AlertJobStatusIcon/index.d.ts +1 -0
  115. package/dist/esm/types/components/UI/molecules/AlertJobStatus/index.d.ts +4 -0
  116. package/dist/esm/types/components/UI/molecules/FraudCardJob/FraudCardJob.component.d.ts +3 -0
  117. package/dist/esm/types/components/UI/molecules/FraudCardJob/FraudCardJob.interface.d.ts +18 -0
  118. package/dist/esm/types/components/UI/molecules/FraudCardJob/index.d.ts +1 -0
  119. package/dist/esm/types/components/UI/molecules/JobActions/JobActions.interface.d.ts +5 -0
  120. package/dist/esm/types/components/UI/molecules/JobApplyCard/JobApplyCard.interface.d.ts +4 -0
  121. package/dist/esm/types/components/UI/molecules/JobCompanyHeader/JobCompanyHeader.interface.d.ts +6 -0
  122. package/dist/esm/types/components/UI/molecules/MegaMenuCard/MegaMenuCard.interface.d.ts +1 -1
  123. package/dist/{cjs/types/components/UI/atoms → esm/types/components/UI/molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.interface.d.ts +5 -4
  124. package/dist/esm/types/components/UI/molecules/MegaMenuSideCards/MegaMenuSideCards.interface.d.ts +1 -0
  125. package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.component.d.ts +3 -0
  126. package/dist/esm/types/components/UI/molecules/ModalResponsive/ModalResponsive.interface.d.ts +22 -0
  127. package/dist/esm/types/components/UI/molecules/ModalResponsive/index.d.ts +1 -0
  128. package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.component.d.ts +7 -0
  129. package/dist/esm/types/components/UI/molecules/SimilarCard/SimilarCard.interface.d.ts +128 -0
  130. package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/SimilarCardLogo.component.d.ts +3 -0
  131. package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimilarCardLogo/index.d.ts +1 -0
  132. package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/SimilarCardIcon.component.d.ts +3 -0
  133. package/dist/esm/types/components/UI/molecules/SimilarCard/children/SimlarCardIcon/index.d.ts +1 -0
  134. package/dist/esm/types/components/UI/molecules/SimilarCard/index.d.ts +4 -0
  135. package/dist/esm/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.component.d.ts +3 -0
  136. package/dist/esm/types/components/UI/molecules/ToggleButtonList/ToggleButtonList.interface.d.ts +23 -0
  137. package/dist/esm/types/components/UI/molecules/ToggleButtonList/index.d.ts +2 -0
  138. package/dist/esm/types/components/UI/molecules/Tooltip/Tooltip.interface.d.ts +7 -0
  139. package/dist/esm/types/components/UI/molecules/index.d.ts +8 -2
  140. package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.component.d.ts +9 -0
  141. package/dist/esm/types/components/UI/organism/ApplicationSummary/ApplicationSummary.interface.d.ts +71 -0
  142. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/ApplicationButton.component.d.ts +3 -0
  143. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationButton/index.d.ts +1 -0
  144. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/ApplicationSection.component.d.ts +3 -0
  145. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSection/index.d.ts +1 -0
  146. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/ApplicationSubTitle.component.d.ts +3 -0
  147. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationSubTitle/index.d.ts +1 -0
  148. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/ApplicationText.component.d.ts +3 -0
  149. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationText/index.d.ts +1 -0
  150. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/ApplicationTitle.component.d.ts +3 -0
  151. package/dist/esm/types/components/UI/organism/ApplicationSummary/children/ApplicationTitle/index.d.ts +1 -0
  152. package/dist/esm/types/components/UI/organism/ApplicationSummary/index.d.ts +5 -0
  153. package/dist/esm/types/components/UI/organism/JobDetailsDrawer/JobDetailsDrawer.interface.d.ts +14 -0
  154. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.component.d.ts +11 -0
  155. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/JobSuggestedDrawer.interface.d.ts +90 -0
  156. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/JobSuggestedHeader.component.d.ts +3 -0
  157. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedHeader/index.d.ts +1 -0
  158. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/JobSuggestedSimilarJobs.component.d.ts +3 -0
  159. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/children/JobSuggestedSimilarJobs/index.d.ts +1 -0
  160. package/dist/esm/types/components/UI/organism/JobSuggestedDrawer/index.d.ts +4 -0
  161. package/dist/esm/types/components/UI/organism/MobileJobDetailsActionsBar/MobileJobDetailsActionsBar.interface.d.ts +4 -0
  162. package/dist/esm/types/components/UI/organism/MobileJobDetailsDrawer/MobileJobDetailsDrawer.interface.d.ts +16 -3
  163. package/dist/esm/types/components/UI/organism/ProcessesCard/ProcessesCard.component.d.ts +11 -0
  164. package/dist/esm/types/components/UI/organism/ProcessesCard/ProcessesCard.interface.d.ts +42 -0
  165. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardArrow/ProcessesCardArrow.component.d.ts +2 -0
  166. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardBrand/ProcessesCardBrand.component.d.ts +2 -0
  167. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardIconStatus/ProcessesCardIconStatus.component.d.ts +3 -0
  168. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardSection/ProcessesCardSection.component.d.ts +2 -0
  169. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardStatus/ProcessesCardStatus.component.d.ts +3 -0
  170. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardText/ProcessesCardText.component.d.ts +3 -0
  171. package/dist/esm/types/components/UI/organism/ProcessesCard/children/ProcessesCardTitle/ProcessesCardTitle.component.d.ts +3 -0
  172. package/dist/esm/types/components/UI/organism/ProcessesCard/index.d.ts +1 -0
  173. package/dist/esm/types/components/UI/organism/index.d.ts +3 -0
  174. package/dist/esm/types/components/UI/template/MegaMenu/MegaMenuContext.interface.d.ts +1 -0
  175. package/dist/esm/types/constants/icons.constants.d.ts +8 -0
  176. package/dist/esm/types/constants/stories/alertJob.constants.d.ts +3 -0
  177. package/dist/esm/types/constants/stories/fraudCardJob.constant.d.ts +2 -0
  178. package/dist/esm/types/constants/stories/index.d.ts +3 -0
  179. package/dist/esm/types/constants/stories/jobSuggestedDrawer.constants.d.ts +3 -0
  180. package/dist/esm/types/constants/stories/similarCard.constants.d.ts +7 -0
  181. package/dist/esm/types/constants/stories/toggleButton.constants.d.ts +2 -0
  182. package/dist/esm/types/utils/text/textAdapter.util.d.ts +3 -0
  183. package/dist/index.d.ts +690 -28
  184. package/package.json +1 -1
  185. /package/dist/cjs/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.component.d.ts +0 -0
  186. /package/dist/cjs/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/index.d.ts +0 -0
  187. /package/dist/esm/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/MegaMenuDrawerItem.component.d.ts +0 -0
  188. /package/dist/esm/types/components/UI/{atoms → molecules}/MegaMenuDrawerItem/index.d.ts +0 -0
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IBadge } from './Badge.interface';
3
+ export declare const Badge: React.FC<IBadge>;
@@ -0,0 +1,10 @@
1
+ export interface IBadge {
2
+ /**
3
+ * this property sets a custom number
4
+ */
5
+ number?: number;
6
+ /**
7
+ * this property sets custom classname
8
+ */
9
+ className?: string;
10
+ }
@@ -0,0 +1 @@
1
+ export * from './Badge.component';
@@ -1,4 +1,5 @@
1
1
  export declare type DIRECTIONS = 'HORIZONTAL' | 'VERTICAL';
2
2
  export interface IDivider {
3
3
  direction?: DIRECTIONS;
4
+ spacing?: number;
4
5
  }
@@ -16,6 +16,13 @@ export interface IHeaderTab {
16
16
  * Sets the active state of tab
17
17
  */
18
18
  isActive: boolean;
19
+ /**
20
+ * Sets custom className
21
+ */
19
22
  className?: string;
23
+ /**
24
+ * Sets badge count
25
+ */
26
+ count?: number;
20
27
  }
21
28
  export {};
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  export interface IText {
2
3
  /**
3
4
  * This is the main text
@@ -16,7 +17,7 @@ export interface ICustomText {
16
17
  /**
17
18
  * This is the value to the custom text
18
19
  * */
19
- value: string;
20
+ value: string | React.ReactNode;
20
21
  /**
21
22
  * This is the custom font weight to text
22
23
  * */
@@ -1,3 +1,7 @@
1
+ export interface IToggleButtonOnchangeValues {
2
+ name?: string;
3
+ id: string | number;
4
+ }
1
5
  export interface IToggleButton {
2
6
  /**
3
7
  * You can extend the style properties with class names
@@ -26,8 +30,9 @@ export interface IToggleButton {
26
30
  /**
27
31
  * this function returns the name and id value of the button when clicked on
28
32
  */
29
- onChange: ({ name, id }: {
30
- name?: string;
31
- id?: string | number;
32
- }) => void;
33
+ onChange?: (value: IToggleButtonOnchangeValues) => void;
34
+ /**
35
+ * this property sets custom Icon
36
+ */
37
+ customIcon?: string;
33
38
  }
@@ -1,4 +1,5 @@
1
1
  export * from './Avatar';
2
+ export * from './Badge';
2
3
  export * from './BarLoader';
3
4
  export * from './Breadcrumb';
4
5
  export * from './Button';
@@ -52,6 +52,10 @@ export interface IActions {
52
52
  * just a text to inform about back action.
53
53
  */
54
54
  backText?: string;
55
+ /**
56
+ * Props for show apply button
57
+ */
58
+ isApplied?: boolean;
55
59
  }
56
60
  export interface IShareLinksActions {
57
61
  onBack: () => void;
@@ -8,7 +8,7 @@ export interface IAlert {
8
8
  /**
9
9
  * This is the main text in the alert
10
10
  * */
11
- text?: string;
11
+ text?: string | React.ReactNode;
12
12
  /**
13
13
  * This is the custom text in the alert
14
14
  * */
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { IAlertJobStatus } from './AlertJobStatus.interface';
3
+ export declare const AlertJobStatus: React.FC<IAlertJobStatus> & {
4
+ Container: React.FC<IAlertJobStatus.Container>;
5
+ Icon: React.FC<IAlertJobStatus.Icon>;
6
+ Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
7
+ };
@@ -0,0 +1,52 @@
1
+ /// <reference types="react" />
2
+ export interface IAlertJobStatus {
3
+ /**
4
+ * React children to be rendered inside the component.
5
+ */
6
+ children?: React.ReactNode;
7
+ /**
8
+ * Additional class names for custom styling.
9
+ */
10
+ className?: string;
11
+ /**
12
+ * type to background alert 'warning' or 'normal'.
13
+ * default: warning
14
+ */
15
+ type?: EAlertJobStatusType;
16
+ }
17
+ export declare namespace IAlertJobStatus {
18
+ interface Container {
19
+ /**
20
+ * React children to be rendered inside the container.
21
+ */
22
+ children?: React.ReactNode;
23
+ /**
24
+ * Additional class names for custom styling.
25
+ */
26
+ className?: string;
27
+ }
28
+ interface Icon {
29
+ /**
30
+ * Additional class names for custom styling.
31
+ */
32
+ className?: string;
33
+ /**
34
+ * Here is the icon component
35
+ */
36
+ src?: string | null;
37
+ /**
38
+ * You can change the size of the icon by adding a numeric value here
39
+ */
40
+ size?: number;
41
+ /**
42
+ * Text alt in the img element
43
+ */
44
+ alt?: string | null;
45
+ /**
46
+ * type to icon alert 'warning' or 'success'.
47
+ */
48
+ type?: EAlertJobStatusIcon;
49
+ }
50
+ }
51
+ export declare type EAlertJobStatusType = 'warning' | 'normal';
52
+ export declare type EAlertJobStatusIcon = 'success' | 'warning';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IAlertJobStatus } from '../../AlertJobStatus.interface';
3
+ export declare const AlertJobStatusContainer: React.FC<IAlertJobStatus.Container>;
@@ -0,0 +1 @@
1
+ export * from './AlertJobStatusContainer.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IAlertJobStatus } from '../../AlertJobStatus.interface';
3
+ export declare const AlertJobStatusIcon: React.FC<IAlertJobStatus.Icon>;
@@ -0,0 +1 @@
1
+ export * from './AlertJobStatusIcon.component';
@@ -0,0 +1,4 @@
1
+ export * from './AlertJobStatus.component';
2
+ export * from './AlertJobStatus.interface';
3
+ export * from './children/AlertJobStatusContainer';
4
+ export * from './children/AlertJobStatusIcon';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IFraudCardJob } from './FraudCardJob.interface';
3
+ export declare const FraudCardJob: React.FC<IFraudCardJob>;
@@ -0,0 +1,18 @@
1
+ export interface IFraudCardJob {
2
+ /**
3
+ * This is the text that display in the title of the card
4
+ */
5
+ title: string;
6
+ /**
7
+ *This is the text that display in the body of the card
8
+ */
9
+ content: string;
10
+ /**
11
+ * This is the text that display in the report button of the card
12
+ */
13
+ linkText: string;
14
+ /**
15
+ * This is the link to redirect to the fraud form
16
+ */
17
+ link: string;
18
+ }
@@ -0,0 +1 @@
1
+ export * from './FraudCardJob.component';
@@ -27,4 +27,9 @@ export interface IJobsActions {
27
27
  * Props for the share button component.
28
28
  */
29
29
  shareButtonProps: ISharePopover;
30
+ /**
31
+ * Props for render save button.
32
+ * it's true it will not display save button
33
+ */
34
+ isApplied?: boolean;
30
35
  }
@@ -23,4 +23,8 @@ export interface IJobApplyCard {
23
23
  * Content to be displayed as an external child element.
24
24
  */
25
25
  externalChild: ReactNode | JSX.Element;
26
+ /**
27
+ * Props for show apply button
28
+ */
29
+ isApplied?: boolean;
26
30
  }
@@ -1,4 +1,5 @@
1
1
  import { IJobCompanyLogo, IJobHeader } from '@components/UI/atoms';
2
+ import { IJobsActions } from '@components/UI/molecules/JobActions';
2
3
  export interface IJobCompanyHeader {
3
4
  /**
4
5
  * Props for the company logo in the job company header.
@@ -8,4 +9,9 @@ export interface IJobCompanyHeader {
8
9
  * Props for the header of the job listing in the job company header.
9
10
  */
10
11
  jobHeaderProps: IJobHeader;
12
+ isApplied?: boolean;
13
+ /**
14
+ * Props for the actions section associated with the job details.
15
+ */
16
+ jobActionsProps?: IJobsActions;
11
17
  }
@@ -30,7 +30,7 @@ export interface IMegaMenuCard {
30
30
  /**
31
31
  * Onclick callback
32
32
  * */
33
- onClick: () => void;
33
+ onClick?: () => void;
34
34
  /**
35
35
  * Show arrow icon
36
36
  * */
@@ -20,9 +20,10 @@ export interface IMegaMenuDrawerItem {
20
20
  /**
21
21
  * Icon for each option
22
22
  */
23
- content?: {
24
- child: ReactNode;
25
- title: string;
26
- };
23
+ content?: IMegaMenuDrawerItemContent;
27
24
  onClickOption?: () => void;
28
25
  }
26
+ export interface IMegaMenuDrawerItemContent {
27
+ child: ReactNode;
28
+ title: string;
29
+ }
@@ -5,4 +5,5 @@ export interface IMegaMenuSideCards {
5
5
  onSelectCard?: (index: number) => void;
6
6
  action?: IMegaMenuLink;
7
7
  maxCards?: number;
8
+ initValue?: number;
8
9
  }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IModalResponsive } from './ModalResponsive.interface';
3
+ export declare const ModalResponsive: React.FC<IModalResponsive>;
@@ -0,0 +1,22 @@
1
+ export interface IModalResponsive {
2
+ /**
3
+ * this property open the container
4
+ */
5
+ open: boolean;
6
+ /**
7
+ * this property close the container
8
+ */
9
+ onClose: () => void;
10
+ /**
11
+ * this property sets the children elements
12
+ */
13
+ children: JSX.Element | JSX.Element[];
14
+ /**
15
+ * this property sets customs styles for the modal
16
+ */
17
+ modalClassName?: string;
18
+ /**
19
+ * this property sets customs styles for the mobile drawer
20
+ */
21
+ mobileDrawerClassName?: string;
22
+ }
@@ -0,0 +1 @@
1
+ export * from './ModalResponsive.component';
@@ -0,0 +1,7 @@
1
+ import React from 'react';
2
+ import { ISimilarCard } from './SimilarCard.interface';
3
+ export declare const SimilarCard: React.FC<ISimilarCard> & {
4
+ Text: React.FC<import("../../atoms/Text/Text.interface").IText>;
5
+ Logo: React.FC<ISimilarCard.Logo>;
6
+ Icon: React.FC<ISimilarCard.Icon>;
7
+ };
@@ -0,0 +1,128 @@
1
+ /// <reference types="react" />
2
+ import { ICustomText } from '@components/UI/atoms/Text/Text.interface';
3
+ export interface ISimilarCard {
4
+ /**
5
+ * this property sets the url title
6
+ */
7
+ title?: string;
8
+ /**
9
+ * this property sets custom styles
10
+ */
11
+ className?: string;
12
+ /**
13
+ * this property sets the url link
14
+ */
15
+ jobUrlSlug?: string;
16
+ }
17
+ export interface ISimilarCardData {
18
+ /**
19
+ * unique identifier for the job or card.
20
+ */
21
+ id?: number | null;
22
+ /**
23
+ * title of the job or offer. Required.
24
+ */
25
+ title: string;
26
+ /**
27
+ * salary for the job. Can be a string or null.
28
+ */
29
+ salary: string | null;
30
+ /**
31
+ * indicates if agreement is required for the job. Optional, can be boolean or null.
32
+ */
33
+ toAgree: boolean | null;
34
+ /**
35
+ * list of cities where the job is available. Required.
36
+ */
37
+ cities: string[];
38
+ /**
39
+ * URL slug for the job.
40
+ */
41
+ jobUrlSlug: string;
42
+ /**
43
+ * required experience for the job.
44
+ */
45
+ experience: string | null;
46
+ /**
47
+ * URL for the company logo.
48
+ */
49
+ companyLogo: string | null;
50
+ /**
51
+ * company name.
52
+ */
53
+ companyName?: string | null;
54
+ /**
55
+ * type of contract for the job.
56
+ */
57
+ contractType?: string | null;
58
+ /**
59
+ * determines if the company logo should be hidden.
60
+ */
61
+ hideLogo?: boolean;
62
+ }
63
+ export declare namespace ISimilarCard {
64
+ interface Container {
65
+ /**
66
+ * this property sets the alt text when source cant be loaded
67
+ */
68
+ title: string;
69
+ /**
70
+ * this property sets the url link
71
+ */
72
+ jobUrlSlug: string;
73
+ /**
74
+ * this property sets custom styles
75
+ */
76
+ className?: string;
77
+ /**
78
+ * this property sets children elements
79
+ */
80
+ children?: React.ReactNode;
81
+ }
82
+ interface Logo {
83
+ /**
84
+ * this property sets the logo source file
85
+ */
86
+ src?: string;
87
+ /**
88
+ * this property sets custom styles
89
+ */
90
+ className?: string;
91
+ /**
92
+ * this property sets the alt text when source cant be loaded
93
+ */
94
+ alt?: string;
95
+ /**
96
+ * this property sets if should hide logo
97
+ */
98
+ hideLogo?: boolean;
99
+ }
100
+ interface Text {
101
+ /**
102
+ * If the text must show more than one line, use customText instead text
103
+ * */
104
+ customText?: ICustomText[];
105
+ /**
106
+ * this property sets custom styles
107
+ */
108
+ className?: string;
109
+ }
110
+ interface Icon {
111
+ /**
112
+ * this property sets the icon source file
113
+ */
114
+ src?: string;
115
+ /**
116
+ * this property sets custom styles
117
+ */
118
+ className?: string;
119
+ /**
120
+ * this property sets the alt text when source cant be loaded
121
+ */
122
+ alt?: string;
123
+ /**
124
+ * this property set the icon show the source when there is a mobile resolution
125
+ */
126
+ showIconMobile?: boolean;
127
+ }
128
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ISimilarCard } from '../../SimilarCard.interface';
3
+ export declare const SimilarCardLogo: React.FC<ISimilarCard.Logo>;
@@ -0,0 +1 @@
1
+ export * from './SimilarCardLogo.component';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { ISimilarCard } from '../../SimilarCard.interface';
3
+ export declare const SimilarCardIcon: React.FC<ISimilarCard.Icon>;
@@ -0,0 +1 @@
1
+ export * from './SimilarCardIcon.component';
@@ -0,0 +1,4 @@
1
+ export { SimilarCard } from './SimilarCard.component';
2
+ export * from './SimilarCard.interface';
3
+ export * from './children/SimilarCardLogo';
4
+ export * from './children/SimlarCardIcon';
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { TToggleButtonList } from './ToggleButtonList.interface';
3
+ export declare const ToggleButtonList: React.FC<TToggleButtonList>;
@@ -0,0 +1,23 @@
1
+ import { IToggleButton, IToggleButtonOnchangeValues } from '@components/UI/atoms/ToggleButton/ToggleButton.interface';
2
+ export declare type TToggleButtonList = {
3
+ /**
4
+ * this property sets the list of toggle buttons
5
+ */
6
+ list: Partial<Pick<IToggleButton, 'id' | 'name' | 'customIcon'>>[];
7
+ /**
8
+ * this property sets the props of toggle buttons
9
+ */
10
+ toggleButtonProps?: IToggleButton;
11
+ /**
12
+ * this property returns the values of the toggle button selected
13
+ */
14
+ onChange?: (value: IToggleButtonOnchangeValues | null | number) => void;
15
+ /**
16
+ * this property sets customs className for toggle buttons
17
+ */
18
+ className?: string;
19
+ /**
20
+ * this property sets the default value or current value of the toggle button
21
+ */
22
+ currentSelect?: Pick<IToggleButton, 'id' | 'name'>;
23
+ };
@@ -0,0 +1,2 @@
1
+ export * from './ToggleButtonList.component';
2
+ export * from './ToggleButtonList.interface';
@@ -13,6 +13,13 @@ export interface ITooltipProps {
13
13
  * the tooltip component must wrap a component
14
14
  */
15
15
  children: React.ReactNode;
16
+ /**
17
+ * this property set the tooltip width
18
+ */
16
19
  width?: string;
20
+ /**
21
+ * this property set the tooltip visibility
22
+ */
23
+ visible?: boolean;
17
24
  }
18
25
  export {};
@@ -9,9 +9,11 @@ export * from './DatePicker';
9
9
  export * from './Drawer';
10
10
  export * from './EmptyResults';
11
11
  export * from './ExpandableInfo';
12
+ export * from './FilterActions';
12
13
  export * from './FilterContainerMenu';
13
14
  export * from './FilterMenuItem';
14
15
  export * from './FilterSearchItem';
16
+ export * from './FraudCardJob';
15
17
  export * from './FrequentSearch';
16
18
  export * from './HeaderDrawerCompany';
17
19
  export * from './HeaderDrawerTabs';
@@ -39,6 +41,7 @@ export * from './MagnetoResolution';
39
41
  export * from './MegaMenuCard';
40
42
  export * from './MegaMenuJobsTabs';
41
43
  export * from './MegaMenuPopover';
44
+ export * from './MegaMenuSideCards';
42
45
  export * from './MenuCollapse/children/MenuCollapseChildren.interface';
43
46
  export * from './MenuIcon';
44
47
  export * from './MenuSearch';
@@ -47,6 +50,7 @@ export * from './MobileDrawer';
47
50
  export * from './MobileJobDetailsHeader';
48
51
  export * from './MobileSearchbar';
49
52
  export * from './Modal';
53
+ export * from './ModalResponsive';
50
54
  export * from './Pagination';
51
55
  export * from './RightsReservedText';
52
56
  export * from './ScoreLevel';
@@ -60,9 +64,11 @@ export * from './Tab';
60
64
  export * from './TabButton';
61
65
  export * from './TextArea';
62
66
  export * from './TimelineEvent';
67
+ export * from './ToggleButtonList';
63
68
  export * from './Tooltip';
64
69
  export * from './UserMenu';
65
70
  export * from './UserMenuAnalyst';
66
71
  export * from './UserMenuWrapperAnalyst';
67
- export * from './FilterActions';
68
- export * from './MegaMenuSideCards';
72
+ export * from './AlertJobStatus';
73
+ export * from './SimilarCard';
74
+ export * from './MegaMenuDrawerItem';
@@ -0,0 +1,9 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from './ApplicationSummary.interface';
3
+ export declare const ApplicationSummary: React.FC<IApplicationSummary> & {
4
+ Section: React.FC<IApplicationSummary.Section>;
5
+ Title: React.FC<IApplicationSummary.Title>;
6
+ SubTitle: React.FC<IApplicationSummary.SubTitle>;
7
+ Button: React.FC<IApplicationSummary.Button>;
8
+ Text: React.FC<IApplicationSummary.Text>;
9
+ };
@@ -0,0 +1,71 @@
1
+ /// <reference types="react" />
2
+ export interface IApplicationSummary {
3
+ /**
4
+ * this property sets any component
5
+ */
6
+ children: JSX.Element | JSX.Element[];
7
+ /**
8
+ * this property opens the ui
9
+ */
10
+ open: boolean;
11
+ /**
12
+ * this property closes the ui
13
+ */
14
+ onClose: () => void;
15
+ }
16
+ export declare namespace IApplicationSummary {
17
+ interface Section {
18
+ /**
19
+ * this property sets custom styles
20
+ */
21
+ className?: string;
22
+ /**
23
+ * this property sets any component
24
+ */
25
+ children: JSX.Element | JSX.Element[];
26
+ /**
27
+ * this property update to position align the components
28
+ */
29
+ aligned?: 'start' | 'center' | 'end';
30
+ }
31
+ interface Title {
32
+ /**
33
+ * this property sets custom styles
34
+ */
35
+ className?: string;
36
+ /**
37
+ * this property sets children elements
38
+ */
39
+ children?: React.ReactNode;
40
+ }
41
+ interface SubTitle {
42
+ /**
43
+ * this property sets custom styles
44
+ */
45
+ className?: string;
46
+ /**
47
+ * this property sets children elements
48
+ */
49
+ children?: React.ReactNode;
50
+ }
51
+ interface Text {
52
+ /**
53
+ * this property sets custom styles
54
+ */
55
+ className?: string;
56
+ /**
57
+ * this property sets children elements
58
+ */
59
+ children?: React.ReactNode;
60
+ }
61
+ interface Button extends React.ButtonHTMLAttributes<HTMLButtonElement> {
62
+ /**
63
+ * this property sets custom styles
64
+ */
65
+ className?: string;
66
+ /**
67
+ * this property sets custom style button
68
+ */
69
+ variant?: 'primary' | 'secondary';
70
+ }
71
+ }
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ import { IApplicationSummary } from '../../ApplicationSummary.interface';
3
+ export declare const ApplicationButton: React.FC<IApplicationSummary.Button>;