asma-core-ui 1.9.3 → 1.9.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.
Files changed (229) hide show
  1. package/dist/asma-core-ui.es.js +157 -39963
  2. package/dist/index.d.ts +1 -12
  3. package/dist/src/components/custom/module/module-title/StyledModuleTitle.d.ts +5 -0
  4. package/dist/src/components/custom/widget/widget-title/StyledWidgetTitle.d.ts +2 -0
  5. package/dist/src/components/data-display/badge/StyledBadge.d.ts +2 -0
  6. package/dist/src/components/data-display/badge/index.d.ts +1 -0
  7. package/dist/src/components/data-display/chip/StyledChip.d.ts +2 -0
  8. package/dist/src/components/data-display/chip/index.d.ts +1 -0
  9. package/dist/src/components/data-display/icons/Icons.d.ts +5 -0
  10. package/dist/{components → src/components/data-display}/icons/Icons.types.d.ts +2 -1
  11. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
  12. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/index.d.ts +1 -0
  13. package/dist/src/components/data-display/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
  14. package/dist/src/components/data-display/icons/clock-outline-icon/index.d.ts +1 -0
  15. package/dist/src/components/data-display/icons/empty-page-icon/EmptyPageIcon.d.ts +3 -0
  16. package/dist/src/components/data-display/icons/empty-page-icon/index.d.ts +1 -0
  17. package/dist/src/components/data-display/icons/inbox-outbox-icon/InboxOutboxIcon.d.ts +3 -0
  18. package/dist/src/components/data-display/icons/inbox-outbox-icon/index.d.ts +1 -0
  19. package/dist/src/components/data-display/icons/inbox-outbox-outline-icon/InboxOutboxOutlineIcon.d.ts +3 -0
  20. package/dist/src/components/data-display/icons/inbox-outbox-outline-icon/index.d.ts +1 -0
  21. package/dist/{components → src/components/data-display}/icons/index.d.ts +4 -0
  22. package/dist/src/components/data-display/icons/report-box-icon/ReportBoxIcon.d.ts +3 -0
  23. package/dist/src/components/data-display/icons/report-box-icon/index.d.ts +1 -0
  24. package/dist/src/components/data-display/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +3 -0
  25. package/dist/src/components/data-display/icons/report-box-outline-icon/index.d.ts +1 -0
  26. package/dist/src/components/data-display/icons/topic-icon/TopicIcon.d.ts +3 -0
  27. package/dist/src/components/data-display/icons/topic-icon/index.d.ts +1 -0
  28. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -0
  29. package/dist/{components/data-display → src/components/data-display/tooltip}/index.d.ts +0 -1
  30. package/dist/src/components/data-display/typography/StyledTypography.d.ts +2 -0
  31. package/dist/src/components/data-display/typography/index.d.ts +1 -0
  32. package/dist/src/components/data-grid/StyledDataGrid.d.ts +8 -0
  33. package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +3 -0
  34. package/dist/{components → src/components}/data-grid/components/columnActions.d.ts +1 -1
  35. package/dist/{components → src/components}/data-grid/types.d.ts +1 -0
  36. package/dist/src/components/data-grid/x-data-grid-types.d.ts +2 -0
  37. package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -0
  38. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -0
  39. package/dist/{components/feedback → src/components/feedback/alert}/index.d.ts +0 -1
  40. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +6 -0
  41. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +2 -0
  42. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -0
  43. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -0
  44. package/dist/src/components/feedback/snack-bar/SnackbarProvider.d.ts +32 -0
  45. package/dist/src/components/feedback/snack-bar/StyledAlertSnackbar.d.ts +11 -0
  46. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -0
  47. package/dist/src/components/feedback/snack-bar/index.d.ts +4 -0
  48. package/dist/src/components/feedback/snack-bar/processAlertSnackBar.d.ts +1 -0
  49. package/dist/src/components/inputs/button/StyledButton.d.ts +36 -0
  50. package/dist/src/components/inputs/button/index.d.ts +1 -0
  51. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +2 -0
  52. package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +14 -0
  53. package/dist/src/components/inputs/checkbox/index.d.ts +1 -0
  54. package/dist/src/components/inputs/input/StyledInput.d.ts +45 -0
  55. package/dist/src/components/inputs/input/index.d.ts +1 -0
  56. package/dist/src/components/inputs/rich-input/RichInput.d.ts +12 -0
  57. package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
  58. package/dist/src/components/inputs/select/StyledSelect.d.ts +11 -0
  59. package/dist/{components/Select → src/components/inputs/select}/StyledSelectItem.d.ts +0 -1
  60. package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -0
  61. package/dist/src/components/inputs/slider/index.d.ts +1 -0
  62. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +3 -0
  63. package/dist/src/components/inputs/switch/index.d.ts +1 -0
  64. package/dist/src/components/inputs/textarea/StyledTextarea.d.ts +56 -0
  65. package/dist/src/components/inputs/textarea/index.d.ts +1 -0
  66. package/dist/src/components/inputs/textarea/useAutosizeTextArea.d.ts +1 -0
  67. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -0
  68. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -0
  69. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -0
  70. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +2 -0
  71. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -0
  72. package/dist/src/components/miscellaneous/StyledStack.d.ts +2 -0
  73. package/dist/src/components/navigation/link/StyledLink.d.ts +20 -0
  74. package/dist/src/components/navigation/link/index.d.ts +1 -0
  75. package/dist/src/components/navigation/menu/StyledMenu.d.ts +2 -0
  76. package/dist/src/components/navigation/menu/StyledMenuItem.d.ts +2 -0
  77. package/dist/src/components/navigation/menu/StyledMenuList.d.ts +2 -0
  78. package/dist/src/components/navigation/menu/index.d.ts +3 -0
  79. package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +2 -0
  80. package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +2 -0
  81. package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +2 -0
  82. package/dist/src/components/surfaces/accordion/index.d.ts +3 -0
  83. package/dist/src/components/table/StyledTable.d.ts +28 -0
  84. package/dist/src/components/table/index.d.ts +2 -0
  85. package/dist/src/components/table/types.d.ts +18 -0
  86. package/dist/src/components/table/useToggleMenuVisibility.d.ts +6 -0
  87. package/dist/src/components/utils/popover/StyledPopover.d.ts +2 -0
  88. package/dist/src/components/utils/popover/index.d.ts +1 -0
  89. package/dist/{helpers → src/helpers}/index.d.ts +1 -0
  90. package/dist/src/helpers/reflections.helper.d.ts +2 -0
  91. package/dist/src/index.d.ts +35 -0
  92. package/dist/src/theme/theme.d.ts +147 -0
  93. package/dist/style.css +6 -1
  94. package/dist/tailwind.config.d.ts +196 -0
  95. package/dist/vite.config.d.ts +2 -0
  96. package/package.json +116 -117
  97. package/tw-configs/twConfigs.json +111 -0
  98. package/dist/components/Dialog/StyledDialog.d.ts +0 -6
  99. package/dist/components/Dialog/StyledDialogActions.d.ts +0 -2
  100. package/dist/components/Dialog/StyledDialogContent.d.ts +0 -2
  101. package/dist/components/Dialog/StyledDialogTitle.d.ts +0 -20
  102. package/dist/components/Select/StyledSelect.d.ts +0 -2
  103. package/dist/components/data-display/StyledBadge.d.ts +0 -36
  104. package/dist/components/data-display/StyledTooltip.d.ts +0 -2
  105. package/dist/components/data-grid/StyledDataGrid.d.ts +0 -2
  106. package/dist/components/data-grid/StyledGridActionsCellItem.d.ts +0 -3
  107. package/dist/components/data-grid/x-data-grid-types.d.ts +0 -1
  108. package/dist/components/feedback/StyledAlert.d.ts +0 -2
  109. package/dist/components/feedback/StyledAlertTitle.d.ts +0 -2
  110. package/dist/components/feedback/StyledSnackbar.d.ts +0 -2
  111. package/dist/components/form-group/index.d.ts +0 -1
  112. package/dist/components/icons/report-box-icon/ReportboxIcon.d.ts +0 -3
  113. package/dist/components/icons/report-box-icon/index.d.ts +0 -1
  114. package/dist/components/icons/report-box-outline-icon/ReportboxOutlineIcon.d.ts +0 -3
  115. package/dist/components/icons/report-box-outline-icon/index.d.ts +0 -1
  116. package/dist/components/inputs/StyledButton.d.ts +0 -34
  117. package/dist/components/inputs/StyledCheckbox.d.ts +0 -2
  118. package/dist/components/inputs/StyledFormControlLabel.d.ts +0 -2
  119. package/dist/components/inputs/StyledFormHelperText.d.ts +0 -15
  120. package/dist/components/inputs/StyledFormLabel.d.ts +0 -4
  121. package/dist/components/inputs/StyledInput.d.ts +0 -2
  122. package/dist/components/inputs/StyledInputLabel.d.ts +0 -18
  123. package/dist/components/inputs/StyledSwitch.d.ts +0 -2
  124. package/dist/components/inputs/StyledTextField.d.ts +0 -6
  125. package/dist/components/inputs/index.d.ts +0 -9
  126. package/dist/providers/ThemeProvider.d.ts +0 -3
  127. package/dist/providers/index.d.ts +0 -3
  128. package/dist/theme/theme.d.ts +0 -93
  129. package/tailwind-configs/tw_animation.cjs +0 -43
  130. package/tailwind-configs/tw_box_shadow.cjs +0 -3
  131. package/tailwind-configs/tw_configs.cjs +0 -8
  132. /package/dist/{components → src/components/data-display}/icons/IconTemplate.d.ts +0 -0
  133. /package/dist/{components → src/components/data-display}/icons/archive-icon/ArchiveIcon.d.ts +0 -0
  134. /package/dist/{components → src/components/data-display}/icons/archive-icon/index.d.ts +0 -0
  135. /package/dist/{components → src/components/data-display}/icons/assignment/AssignmentIcon.d.ts +0 -0
  136. /package/dist/{components → src/components/data-display}/icons/assignment/index.d.ts +0 -0
  137. /package/dist/{components → src/components/data-display}/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +0 -0
  138. /package/dist/{components → src/components/data-display}/icons/assignment-outline-icon/index.d.ts +0 -0
  139. /package/dist/{components → src/components/data-display}/icons/bell-icon/BellIcon.d.ts +0 -0
  140. /package/dist/{components → src/components/data-display}/icons/bell-icon/index.d.ts +0 -0
  141. /package/dist/{components → src/components/data-display}/icons/bell-outline-icon/BellOutlineIcon.d.ts +0 -0
  142. /package/dist/{components → src/components/data-display}/icons/bell-outline-icon/index.d.ts +0 -0
  143. /package/dist/{components → src/components/data-display}/icons/calendar-icon/CalendarIcon.d.ts +0 -0
  144. /package/dist/{components → src/components/data-display}/icons/calendar-icon/index.d.ts +0 -0
  145. /package/dist/{components → src/components/data-display}/icons/calendar-range-icon/CalendarIcon.d.ts +0 -0
  146. /package/dist/{components → src/components/data-display}/icons/calendar-range-icon/index.d.ts +0 -0
  147. /package/dist/{components → src/components/data-display}/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +0 -0
  148. /package/dist/{components → src/components/data-display}/icons/check-fact-outline-icon/index.d.ts +0 -0
  149. /package/dist/{components → src/components/data-display}/icons/check-icon/CheckIcon.d.ts +0 -0
  150. /package/dist/{components → src/components/data-display}/icons/check-icon/index.d.ts +0 -0
  151. /package/dist/{components → src/components/data-display}/icons/check-outline-icon/CheckOutlineIcon.d.ts +0 -0
  152. /package/dist/{components → src/components/data-display}/icons/check-outline-icon/index.d.ts +0 -0
  153. /package/dist/{components → src/components/data-display}/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +0 -0
  154. /package/dist/{components → src/components/data-display}/icons/checkbox-checked-icon/index.d.ts +0 -0
  155. /package/dist/{components → src/components/data-display}/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +0 -0
  156. /package/dist/{components → src/components/data-display}/icons/chevron-double-left-icon/index.d.ts +0 -0
  157. /package/dist/{components → src/components/data-display}/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +0 -0
  158. /package/dist/{components → src/components/data-display}/icons/chevron-double-right-icon/index.d.ts +0 -0
  159. /package/dist/{components → src/components/data-display}/icons/chevron-down-icon/ChevronDownIcon.d.ts +0 -0
  160. /package/dist/{components → src/components/data-display}/icons/chevron-down-icon/index.d.ts +0 -0
  161. /package/dist/{components → src/components/data-display}/icons/chevron-left-icon/ChevronLeftIcon.d.ts +0 -0
  162. /package/dist/{components → src/components/data-display}/icons/chevron-left-icon/index.d.ts +0 -0
  163. /package/dist/{components → src/components/data-display}/icons/chevron-right-icon/ChevronRightIcon.d.ts +0 -0
  164. /package/dist/{components → src/components/data-display}/icons/chevron-right-icon/index.d.ts +0 -0
  165. /package/dist/{components → src/components/data-display}/icons/chevron-up-icon/ChevronUpIcon.d.ts +0 -0
  166. /package/dist/{components → src/components/data-display}/icons/chevron-up-icon/index.d.ts +0 -0
  167. /package/dist/{components → src/components/data-display}/icons/close-icon/CloseIcon.d.ts +0 -0
  168. /package/dist/{components → src/components/data-display}/icons/close-icon/index.d.ts +0 -0
  169. /package/dist/{components → src/components/data-display}/icons/dashboard-view-icon/DashboardViewIcon.d.ts +0 -0
  170. /package/dist/{components → src/components/data-display}/icons/dashboard-view-icon/index.d.ts +0 -0
  171. /package/dist/{components → src/components/data-display}/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +0 -0
  172. /package/dist/{components → src/components/data-display}/icons/dashboard-view-outline-icon/index.d.ts +0 -0
  173. /package/dist/{components → src/components/data-display}/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +0 -0
  174. /package/dist/{components → src/components/data-display}/icons/dots-vertical-icon/index.d.ts +0 -0
  175. /package/dist/{components → src/components/data-display}/icons/download-icon/DownloadIcon.d.ts +0 -0
  176. /package/dist/{components → src/components/data-display}/icons/download-icon/index.d.ts +0 -0
  177. /package/dist/{components → src/components/data-display}/icons/drop-down-icon/DropDownIcon.d.ts +0 -0
  178. /package/dist/{components → src/components/data-display}/icons/drop-down-icon/index.d.ts +0 -0
  179. /package/dist/{components → src/components/data-display}/icons/drop-up-icon/DropUpIcon.d.ts +0 -0
  180. /package/dist/{components → src/components/data-display}/icons/drop-up-icon/index.d.ts +0 -0
  181. /package/dist/{components → src/components/data-display}/icons/find-replace-icon/FindReplaceIcon.d.ts +0 -0
  182. /package/dist/{components → src/components/data-display}/icons/find-replace-icon/index.d.ts +0 -0
  183. /package/dist/{components → src/components/data-display}/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +0 -0
  184. /package/dist/{components → src/components/data-display}/icons/find-replace-people-icon/index.d.ts +0 -0
  185. /package/dist/{components → src/components/data-display}/icons/hamburger-icon/HamburgerIcon.d.ts +0 -0
  186. /package/dist/{components → src/components/data-display}/icons/hamburger-icon/index.d.ts +0 -0
  187. /package/dist/{components → src/components/data-display}/icons/list-numbered-icon/ListNumberedIcon.d.ts +0 -0
  188. /package/dist/{components → src/components/data-display}/icons/list-numbered-icon/index.d.ts +0 -0
  189. /package/dist/{components → src/components/data-display}/icons/loading-icon/LoadingIcon.d.ts +0 -0
  190. /package/dist/{components → src/components/data-display}/icons/loading-icon/index.d.ts +0 -0
  191. /package/dist/{components → src/components/data-display}/icons/message-processing-icon/MessageProcessingIcon.d.ts +0 -0
  192. /package/dist/{components → src/components/data-display}/icons/message-processing-icon/index.d.ts +0 -0
  193. /package/dist/{components → src/components/data-display}/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +0 -0
  194. /package/dist/{components → src/components/data-display}/icons/message-processing-outline-icon/index.d.ts +0 -0
  195. /package/dist/{components → src/components/data-display}/icons/pdf-icon/PdfIcon.d.ts +0 -0
  196. /package/dist/{components → src/components/data-display}/icons/pdf-icon/index.d.ts +0 -0
  197. /package/dist/{components → src/components/data-display}/icons/people-icon/PeopleIcon.d.ts +0 -0
  198. /package/dist/{components → src/components/data-display}/icons/people-icon/index.d.ts +0 -0
  199. /package/dist/{components → src/components/data-display}/icons/people-outline-icon/PeopleOutlineIcon.d.ts +0 -0
  200. /package/dist/{components → src/components/data-display}/icons/people-outline-icon/index.d.ts +0 -0
  201. /package/dist/{components → src/components/data-display}/icons/perm-media-icon/PermMediaIcon.d.ts +0 -0
  202. /package/dist/{components → src/components/data-display}/icons/perm-media-icon/index.d.ts +0 -0
  203. /package/dist/{components → src/components/data-display}/icons/perm-media-outline-icon/PermMediaOutline.d.ts +0 -0
  204. /package/dist/{components → src/components/data-display}/icons/perm-media-outline-icon/index.d.ts +0 -0
  205. /package/dist/{components → src/components/data-display}/icons/person-icon/PersonIcon.d.ts +0 -0
  206. /package/dist/{components → src/components/data-display}/icons/person-icon/index.d.ts +0 -0
  207. /package/dist/{components → src/components/data-display}/icons/person-outline-icon/PersonOutlineIcon.d.ts +0 -0
  208. /package/dist/{components → src/components/data-display}/icons/person-outline-icon/index.d.ts +0 -0
  209. /package/dist/{components → src/components/data-display}/icons/qnr-icon/QnrIcon.d.ts +0 -0
  210. /package/dist/{components → src/components/data-display}/icons/qnr-icon/index.d.ts +0 -0
  211. /package/dist/{components → src/components/data-display}/icons/search-icon/SearchIcon.d.ts +0 -0
  212. /package/dist/{components → src/components/data-display}/icons/search-icon/index.d.ts +0 -0
  213. /package/dist/{components → src/components/data-display}/icons/settings-icon/SettingsIcon.d.ts +0 -0
  214. /package/dist/{components → src/components/data-display}/icons/settings-icon/index.d.ts +0 -0
  215. /package/dist/{components → src/components/data-display}/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +0 -0
  216. /package/dist/{components → src/components/data-display}/icons/settings-outline-icon/index.d.ts +0 -0
  217. /package/dist/{components → src/components}/data-grid/components/ColumnFormControlItem.d.ts +0 -0
  218. /package/dist/{components → src/components}/data-grid/components/ColumnsMenu.d.ts +0 -0
  219. /package/dist/{components → src/components}/data-grid/index.d.ts +0 -0
  220. /package/dist/{components/Dialog → src/components/feedback/dialog}/index.d.ts +0 -0
  221. /package/dist/{components/Select → src/components/inputs/select}/index.d.ts +0 -0
  222. /package/dist/{components/form-group → src/components/miscellaneous}/StyledFormGroup.d.ts +0 -0
  223. /package/dist/{helpers → src/helpers}/tokenOptimizer.helper.d.ts +0 -0
  224. /package/dist/{interfaces → src/interfaces}/index.d.ts +0 -0
  225. /package/dist/{styles → src/styles}/fretex-tokens/index.d.ts +0 -0
  226. /package/dist/{styles → src/styles}/greenish-tokens/index.d.ts +0 -0
  227. /package/dist/{styles → src/styles}/tokens/index.d.ts +0 -0
  228. /package/dist/{theme → src/theme}/customMuiColors.d.ts +0 -0
  229. /package/dist/{theme → src/theme}/index.d.ts +0 -0
package/dist/index.d.ts CHANGED
@@ -1,12 +1 @@
1
- export * from './components/data-display';
2
- export * from './components/icons';
3
- export * from './components/data-grid';
4
- export * from './components/Dialog';
5
- export * from './components/feedback';
6
- export * from './components/inputs';
7
- export * from './components/Select';
8
- export * from './components/form-group';
9
- export * from './helpers';
10
- export * from './theme';
11
- export * from './providers';
12
- export * from './interfaces';
1
+ export * from './src/index'
@@ -0,0 +1,5 @@
1
+ import type { ReactNode } from "react";
2
+ export declare const StyledModuleTitle: React.FC<{
3
+ dataTest: string;
4
+ children: ReactNode;
5
+ }>;
@@ -0,0 +1,2 @@
1
+ /// <reference types="react" />
2
+ export declare const StyledWidgetTitle: React.FC<React.PropsWithChildren>;
@@ -0,0 +1,2 @@
1
+ import { type BadgeProps } from '@mui/material';
2
+ export declare const StyledBadge: ({ color, ...props }: BadgeProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledBadge';
@@ -0,0 +1,2 @@
1
+ import { type ChipProps } from '@mui/material';
2
+ export declare const StyledChip: (props: ChipProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledChip';
@@ -0,0 +1,5 @@
1
+ /// <reference types="react" />
2
+ export declare const Icons: React.FC<{
3
+ height?: number;
4
+ width?: number;
5
+ }>;
@@ -1,8 +1,9 @@
1
+ /// <reference types="react" />
1
2
  export interface IIcon {
2
3
  width?: number;
3
4
  height?: number;
4
5
  className?: string;
5
- onClick?: () => void;
6
+ onClick?: (event: React.MouseEvent<SVGSVGElement, MouseEvent>) => void;
6
7
  color?: string;
7
8
  vFlip?: boolean;
8
9
  }
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const CalendarBlankOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './CalendarBlankOutlineIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const ClockOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './ClockOutlineIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const EmptyPageIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './EmptyPageIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const InboxOutboxIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './InboxOutboxIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const InboxOutboxOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './InboxOutboxOutlineIcon';
@@ -42,3 +42,7 @@ export * from './close-icon';
42
42
  export * from './check-icon';
43
43
  export * from './perm-media-icon';
44
44
  export * from './perm-media-outline-icon';
45
+ export * from './inbox-outbox-icon';
46
+ export * from './inbox-outbox-outline-icon';
47
+ export * from './topic-icon';
48
+ export * from './empty-page-icon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const ReportBoxIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './ReportBoxIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const ReportBoxOutlineIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './ReportBoxOutlineIcon';
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import type { IIcon } from '../Icons.types';
3
+ export declare const TopicIcon: React.FC<IIcon>;
@@ -0,0 +1 @@
1
+ export * from './TopicIcon';
@@ -0,0 +1,2 @@
1
+ import { type TooltipProps } from '@mui/material';
2
+ export declare const StyledTooltip: (props: TooltipProps) => JSX.Element;
@@ -1,2 +1 @@
1
- export * from './StyledBadge';
2
1
  export * from './StyledTooltip';
@@ -0,0 +1,2 @@
1
+ import { type TypographyProps } from '@mui/material';
2
+ export declare const StyledTypography: (props: TypographyProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledTypography';
@@ -0,0 +1,8 @@
1
+ import type { IBaseStyledDataGrid } from './types';
2
+ export declare const StyledDataGrid: {
3
+ (props: IBaseStyledDataGrid): JSX.Element;
4
+ defaultProps: {
5
+ disableHeaderPin: boolean;
6
+ disableRowActions: boolean;
7
+ };
8
+ };
@@ -0,0 +1,3 @@
1
+ import { type GridActionsCellItemProps } from '@mui/x-data-grid';
2
+ import type { RefAttributes } from 'react';
3
+ export declare const StyledGridActionsCellItem: (props: GridActionsCellItemProps & RefAttributes<HTMLButtonElement>) => JSX.Element;
@@ -1,4 +1,4 @@
1
- import { type ReactNode, type JSXElementConstructor, type ReactElement } from 'react';
1
+ import { type JSXElementConstructor, type ReactElement, type ReactNode } from 'react';
2
2
  import { type GridActionsCellItemProps, type GridRowParams } from '@mui/x-data-grid';
3
3
  import type { GridApiCommunity } from '@mui/x-data-grid/internals';
4
4
  export declare const columnActions: (apiRef: React.MutableRefObject<GridApiCommunity>, rowActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[], columnsMenuTitle: ReactNode, fixedColumns?: string[]) => {
@@ -3,6 +3,7 @@ import type { JSXElementConstructor, ReactElement, ReactNode } from 'react';
3
3
  export interface IBaseStyledDataGrid extends DataGridProps {
4
4
  columnsMenuTitle?: ReactNode;
5
5
  disableRowActions?: boolean;
6
+ disableHeaderPin?: boolean;
6
7
  fixedColumns?: string[];
7
8
  rowActions?: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
8
9
  }
@@ -0,0 +1,2 @@
1
+ export { gridDateComparator, GridRow } from '@mui/x-data-grid';
2
+ export type * from '@mui/x-data-grid';
@@ -0,0 +1,2 @@
1
+ import { type AlertProps } from '@mui/material';
2
+ export declare const StyledAlert: (props: AlertProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type AlertTitleProps } from '@mui/material';
2
+ export declare const StyledAlertTitle: (props: AlertTitleProps) => JSX.Element;
@@ -1,3 +1,2 @@
1
1
  export * from './StyledAlert';
2
2
  export * from './StyledAlertTitle';
3
- export * from './StyledSnackbar';
@@ -0,0 +1,6 @@
1
+ import type { DialogProps } from '@mui/material/Dialog';
2
+ export interface IStyledDialogProps extends DialogProps {
3
+ onCloseText?: string;
4
+ showCloseIcon?: boolean;
5
+ }
6
+ export declare const StyledDialog: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: IStyledDialogProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type DialogActionsProps } from '@mui/material';
2
+ export declare const StyledDialogActions: (props: DialogActionsProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type DialogContentProps } from '@mui/material';
2
+ export declare const StyledDialogContent: ({ children, classes, className, ...rest }: DialogContentProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import type { DialogTitleProps } from '@mui/material/DialogTitle/DialogTitle';
2
+ export declare const StyledDialogTitle: ({ children, ...rest }: DialogTitleProps) => JSX.Element | null;
@@ -0,0 +1,32 @@
1
+ import type { AlertColor } from '@mui/material';
2
+ import { type SnackbarProviderProps } from 'notistack';
3
+ /**
4
+ * @ignore
5
+ * @internal
6
+ */
7
+ export declare const SnackbarProvider: (props: SnackbarProviderProps) => JSX.Element;
8
+ declare module 'notistack' {
9
+ interface VariantOverrides {
10
+ alert: {
11
+ /**
12
+ * The className to apply to the alert.
13
+ */
14
+ alertClassName?: string;
15
+ /**
16
+ * The variant to use.
17
+ * @default 'standard'
18
+ */
19
+ alertVariant?: 'standard' | 'filled' | 'outlined';
20
+ /**
21
+ * The severity of the alert. This defines the color and icon used.
22
+ * @default 'success'
23
+ */
24
+ severity?: AlertColor;
25
+ /**
26
+ * If true, the alert is closable.
27
+ * @default false
28
+ */
29
+ closeButton?: boolean;
30
+ };
31
+ }
32
+ }
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import type { AlertColor } from '@mui/material';
3
+ import { type CustomContentProps } from 'notistack';
4
+ interface StyledAlertSnackbarProps extends CustomContentProps {
5
+ severity?: AlertColor;
6
+ alertClassName?: string;
7
+ alertVariant?: 'standard' | 'filled' | 'outlined';
8
+ closeButton?: boolean;
9
+ }
10
+ export declare const StyledAlertSnackbar: import("react").ForwardRefExoticComponent<StyledAlertSnackbarProps & import("react").RefAttributes<HTMLDivElement>>;
11
+ export {};
@@ -0,0 +1,2 @@
1
+ import { type SnackbarProps } from '@mui/material';
2
+ export declare const StyledSnackbar: ({ children, ...props }: SnackbarProps) => JSX.Element;
@@ -0,0 +1,4 @@
1
+ export * from './SnackbarProvider';
2
+ export { enqueueSnackbar, closeSnackbar, useSnackbar } from 'notistack';
3
+ export * from './StyledSnackbar';
4
+ export * from './processAlertSnackBar';
@@ -0,0 +1 @@
1
+ export declare function processAlertSnackBar(message: string): void;
@@ -0,0 +1,36 @@
1
+ import React, { type ReactNode } from 'react';
2
+ export type StyledButtonType = 'contained' | 'outlined' | 'text' | 'textGray';
3
+ type commonProps = {
4
+ refLink?: React.Ref<HTMLButtonElement>;
5
+ size?: 'large' | 'small';
6
+ startIcon?: ReactNode;
7
+ endIcon?: ReactNode;
8
+ dataTest?: string;
9
+ };
10
+ type variantTextGrayProps = {
11
+ variant?: 'textGray';
12
+ error?: never;
13
+ };
14
+ type buttonStandartVariantsProps = {
15
+ variant?: 'contained' | 'outlined' | 'text';
16
+ error?: boolean;
17
+ };
18
+ type conditionalProps = variantTextGrayProps | buttonStandartVariantsProps;
19
+ export type StyledButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & commonProps & conditionalProps;
20
+ /**
21
+ * Developer: daria.bogatiriov@carasent.com
22
+ *
23
+ * @remarks for icon button add only startIcon prop
24
+ * @remarks for error button no textGray variant
25
+ *
26
+ * Custom props:
27
+ * @param variant - 'contained' | 'outlined' | 'text' | 'textGray'
28
+ * @param size - 'large' | 'small'
29
+ * @param startIcon - ReactNode
30
+ * @param endIcon - ReactNode
31
+ * @param error - boolean
32
+ * @param refLink - ref to component
33
+ * @param dataTest - data-test tag
34
+ */
35
+ export declare const StyledButton: ({ variant, className, size, children, refLink, startIcon, endIcon, dataTest, error, ...otherProps }: StyledButtonProps) => JSX.Element;
36
+ export {};
@@ -0,0 +1 @@
1
+ export * from './StyledButton';
@@ -0,0 +1,2 @@
1
+ import { type CheckboxProps } from '@mui/material';
2
+ export declare const StyledCheckbox: (props: CheckboxProps) => JSX.Element;
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("@mui/material").CheckboxProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {};
8
+ args: {
9
+ disableRipple: true;
10
+ };
11
+ };
12
+ export default meta;
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Checkbox: Story;
@@ -0,0 +1 @@
1
+ export * from './StyledCheckbox';
@@ -0,0 +1,45 @@
1
+ import { type FC } from 'react';
2
+ /**
3
+ * Developer: bragari.andrei@carasent.com
4
+ * Custom props:
5
+ * @param description - message under input (string)
6
+ * @param startIcon - icon before input (JSX.Element)
7
+ * @param endIcon - icon after input (JSX.Element)
8
+ * @param dataTest - data-test tag (string)
9
+ * @param label - string
10
+ * @param refLink - ref to component
11
+ * @param size - 'large' | 'small'
12
+ * @param className - for styles (width)
13
+ */
14
+ type ConditionalProps = {
15
+ disabled?: boolean;
16
+ error?: boolean;
17
+ notEditable?: never;
18
+ readOnly?: never;
19
+ } | {
20
+ disabled?: boolean;
21
+ error?: boolean;
22
+ notEditable?: never;
23
+ readOnly?: never;
24
+ } | {
25
+ disabled?: never;
26
+ error?: never;
27
+ notEditable?: boolean;
28
+ readOnly?: never;
29
+ } | {
30
+ disabled?: never;
31
+ error?: never;
32
+ notEditable?: never;
33
+ readOnly?: boolean;
34
+ };
35
+ export type StyledInputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & {
36
+ size?: 'large' | 'small';
37
+ description?: string;
38
+ startIcon?: JSX.Element;
39
+ endIcon?: JSX.Element;
40
+ dataTest?: string;
41
+ label?: string;
42
+ refLink?: React.Ref<HTMLInputElement>;
43
+ } & ConditionalProps;
44
+ export declare const StyledInput: FC<StyledInputProps>;
45
+ export {};
@@ -0,0 +1 @@
1
+ export * from './StyledInput';
@@ -0,0 +1,12 @@
1
+ import type { FC } from 'react';
2
+ import ReactQuill from 'react-quill';
3
+ export interface IRichInput extends ReactQuill.ReactQuillProps {
4
+ isRequired?: boolean;
5
+ disabled?: boolean;
6
+ label?: string;
7
+ error?: string;
8
+ is_error?: boolean;
9
+ is_warning?: boolean;
10
+ }
11
+ declare const RichInput: FC<IRichInput>;
12
+ export { RichInput };
@@ -0,0 +1 @@
1
+ export * from './RichInput';
@@ -0,0 +1,11 @@
1
+ /// <reference types="react" />
2
+ import { type SelectProps } from '@mui/material';
3
+ /**
4
+ *
5
+ * @inputRef
6
+ * inputRef to get Node of Input Element inside
7
+ *
8
+ */
9
+ export declare const StyledSelect: (props: SelectProps<unknown> & {
10
+ reflink?: import("react").RefObject<unknown> | ((instance: unknown) => void) | null | undefined;
11
+ }) => JSX.Element;
@@ -1,3 +1,2 @@
1
- /// <reference types="react" />
2
1
  import { type MenuItemProps } from '@mui/material';
3
2
  export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type SliderProps } from '@mui/material';
2
+ export declare const StyledSlider: (props: SliderProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSlider';
@@ -0,0 +1,3 @@
1
+ import { type SwitchProps as _SwitchProps } from '@mui/material';
2
+ export type SwitchProps = _SwitchProps;
3
+ export declare const StyledSwitch: (props: SwitchProps) => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSwitch';
@@ -0,0 +1,56 @@
1
+ import React, { type ChangeEvent } from 'react';
2
+ type TextareaCommonProps = {
3
+ id?: string;
4
+ value?: string;
5
+ label?: string;
6
+ description?: string;
7
+ className?: string;
8
+ dataTest?: string;
9
+ };
10
+ type TextAreaNotEditableProps = {
11
+ variant?: 'not_editable' | 'view_only';
12
+ minRows?: never;
13
+ maxRows?: never;
14
+ disabled?: never;
15
+ placeholder?: never;
16
+ error?: never;
17
+ errorMessage?: never;
18
+ onChange?: never;
19
+ maxLength?: never;
20
+ counter?: never;
21
+ refLink?: never;
22
+ counterLimit?: never;
23
+ };
24
+ type TextAreaActiveProps = {
25
+ variant?: 'active';
26
+ minRows?: number;
27
+ maxRows?: number;
28
+ disabled?: boolean;
29
+ placeholder?: string;
30
+ onChange?: (e: ChangeEvent<HTMLTextAreaElement>) => void;
31
+ error?: boolean;
32
+ errorMessage?: string;
33
+ maxLength?: number;
34
+ counter?: boolean;
35
+ refLink?: React.RefObject<HTMLTextAreaElement> | null | undefined;
36
+ counterLimit?: number;
37
+ };
38
+ type TextareaConditionalProps = TextAreaActiveProps | TextAreaNotEditableProps;
39
+ type StyledTextAreaProps = React.TextareaHTMLAttributes<HTMLTextAreaElement> & TextareaCommonProps & TextareaConditionalProps;
40
+ /**
41
+ * Developer: bularga.alexandru@carasent.com
42
+ *
43
+ * Custom props:
44
+ * @param variant - 'not_editable' | 'view_only' | 'active'
45
+ * @param error - boolean
46
+ * @param errorMessage - string
47
+ * @param minRows - number
48
+ * @param maxRows - number
49
+ * @param counter - number
50
+ * @param maxLength - number
51
+ * @param refLink - ref to component
52
+ * @param dataTest - data-test tag
53
+ *
54
+ */
55
+ export declare const StyledTextarea: React.FC<StyledTextAreaProps>;
56
+ export {};
@@ -0,0 +1 @@
1
+ export * from './StyledTextarea';
@@ -0,0 +1 @@
1
+ export declare const useAutosizeTextArea: (textAreaRef: HTMLTextAreaElement | null, value: string, minRows: number, maxRows: number, mounted: boolean, counterEnabled?: boolean) => void;
@@ -0,0 +1,2 @@
1
+ import { type FormControlProps } from '@mui/material';
2
+ export declare const StyledFormControl: (props: FormControlProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type FormControlLabelProps } from '@mui/material';
2
+ export declare const StyledFormControlLabel: (props: FormControlLabelProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type FormHelperTextProps } from '@mui/material';
2
+ export declare const StyledFormHelperText: (props: FormHelperTextProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type FormLabelProps } from '@mui/material';
2
+ export declare const StyledFormLabel: (props: FormLabelProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type InputLabelProps } from '@mui/material';
2
+ export declare const StyledInputLabel: (props: InputLabelProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type StackProps } from '@mui/material';
2
+ export declare const StyledStack: (props: StackProps) => JSX.Element;
@@ -0,0 +1,20 @@
1
+ import React, { type AnchorHTMLAttributes } from 'react';
2
+ export type StyledLinkProps = AnchorHTMLAttributes<HTMLAnchorElement> & {
3
+ disabled?: boolean;
4
+ size?: 'small' | 'large';
5
+ title: string;
6
+ children?: never;
7
+ reflink?: React.Ref<HTMLAnchorElement>;
8
+ dataTest?: string;
9
+ };
10
+ /**
11
+ * Developer: bularga.alexandru@carasent.com
12
+ *
13
+ * Custom props:
14
+ * @param title - title of the link
15
+ * @param disabled = disabled
16
+ * @param size - 'large' | 'small'
17
+ * @param refLink - ref to component
18
+ * @param dataTest - data-test tag
19
+ */
20
+ export declare const StyledLink: React.FC<StyledLinkProps>;
@@ -0,0 +1 @@
1
+ export * from './StyledLink';
@@ -0,0 +1,2 @@
1
+ import { type MenuProps } from '@mui/material';
2
+ export declare const StyledMenu: (props: MenuProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type MenuItemProps } from '@mui/material';
2
+ export declare const StyledMenuItem: (props: MenuItemProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type MenuListProps } from '@mui/material';
2
+ export declare const StyledMenuList: (props: MenuListProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './StyledMenu';
2
+ export * from './StyledMenuItem';
3
+ export * from './StyledMenuList';
@@ -0,0 +1,2 @@
1
+ import { type AccordionProps } from '@mui/material';
2
+ export declare const StyledAccordion: (props: AccordionProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type AccordionDetailsProps } from '@mui/material';
2
+ export declare const StyledAccordionDetails: (props: AccordionDetailsProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { type AccordionSummaryProps } from '@mui/material';
2
+ export declare const StyledAccordionSummary: (props: AccordionSummaryProps) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './StyledAccordion';
2
+ export * from './StyledAccordionSummary';
3
+ export * from './StyledAccordionDetails';