asma-core-ui 2.6.5 → 2.6.7

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 (185) hide show
  1. package/dist/asma-core-ui.es.js +42591 -0
  2. package/dist/index.d.ts +1 -0
  3. package/dist/src/components/data-display/badge/StyledBadge.d.ts +2 -0
  4. package/dist/src/components/data-display/badge/StyledBadge.stories.d.ts +14 -0
  5. package/dist/src/components/data-display/badge/index.d.ts +1 -0
  6. package/dist/src/components/data-display/icons/IconTemplate.d.ts +3 -0
  7. package/dist/src/components/data-display/icons/Icons.d.ts +5 -0
  8. package/dist/src/components/data-display/icons/Icons.stories.d.ts +18 -0
  9. package/dist/src/components/data-display/icons/Icons.types.d.ts +12 -0
  10. package/dist/src/components/data-display/icons/archive-icon/ArchiveIcon.d.ts +3 -0
  11. package/dist/src/components/data-display/icons/archive-icon/index.d.ts +1 -0
  12. package/dist/src/components/data-display/icons/assignment/AssignmentIcon.d.ts +3 -0
  13. package/dist/src/components/data-display/icons/assignment/index.d.ts +1 -0
  14. package/dist/src/components/data-display/icons/assignment-outline-icon/AssignmentOutlineIcon.d.ts +3 -0
  15. package/dist/src/components/data-display/icons/assignment-outline-icon/index.d.ts +1 -0
  16. package/dist/src/components/data-display/icons/bell-icon/BellIcon.d.ts +3 -0
  17. package/dist/src/components/data-display/icons/bell-icon/index.d.ts +1 -0
  18. package/dist/src/components/data-display/icons/bell-outline-icon/BellOutlineIcon.d.ts +3 -0
  19. package/dist/src/components/data-display/icons/bell-outline-icon/index.d.ts +1 -0
  20. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/CalendarBlankOutlineIcon.d.ts +3 -0
  21. package/dist/src/components/data-display/icons/calendar-blank-outline-icon/index.d.ts +1 -0
  22. package/dist/src/components/data-display/icons/calendar-icon/CalendarIcon.d.ts +3 -0
  23. package/dist/src/components/data-display/icons/calendar-icon/index.d.ts +1 -0
  24. package/dist/src/components/data-display/icons/calendar-range-icon/CalendarIcon.d.ts +3 -0
  25. package/dist/src/components/data-display/icons/calendar-range-icon/index.d.ts +1 -0
  26. package/dist/src/components/data-display/icons/check-fact-outline-icon/CheckFactOutlineIcon.d.ts +3 -0
  27. package/dist/src/components/data-display/icons/check-fact-outline-icon/index.d.ts +1 -0
  28. package/dist/src/components/data-display/icons/check-icon/CheckIcon.d.ts +3 -0
  29. package/dist/src/components/data-display/icons/check-icon/index.d.ts +1 -0
  30. package/dist/src/components/data-display/icons/check-outline-icon/CheckOutlineIcon.d.ts +3 -0
  31. package/dist/src/components/data-display/icons/check-outline-icon/index.d.ts +1 -0
  32. package/dist/src/components/data-display/icons/checkbox-checked-icon/CheckBoxCheckedIcon.d.ts +3 -0
  33. package/dist/src/components/data-display/icons/checkbox-checked-icon/index.d.ts +1 -0
  34. package/dist/src/components/data-display/icons/chevron-double-left-icon/ChevronDoubleLeftIcon.d.ts +3 -0
  35. package/dist/src/components/data-display/icons/chevron-double-left-icon/index.d.ts +1 -0
  36. package/dist/src/components/data-display/icons/chevron-double-right-icon/ChevronDoubleRightIcon.d.ts +3 -0
  37. package/dist/src/components/data-display/icons/chevron-double-right-icon/index.d.ts +1 -0
  38. package/dist/src/components/data-display/icons/chevron-down-icon/ChevronDownIcon.d.ts +3 -0
  39. package/dist/src/components/data-display/icons/chevron-down-icon/index.d.ts +1 -0
  40. package/dist/src/components/data-display/icons/chevron-left-icon/ChevronLeftIcon.d.ts +3 -0
  41. package/dist/src/components/data-display/icons/chevron-left-icon/index.d.ts +1 -0
  42. package/dist/src/components/data-display/icons/chevron-right-icon/ChevronRightIcon.d.ts +3 -0
  43. package/dist/src/components/data-display/icons/chevron-right-icon/index.d.ts +1 -0
  44. package/dist/src/components/data-display/icons/chevron-up-icon/ChevronUpIcon.d.ts +3 -0
  45. package/dist/src/components/data-display/icons/chevron-up-icon/index.d.ts +1 -0
  46. package/dist/src/components/data-display/icons/clock-outline-icon/ClockOutlineIcon.d.ts +3 -0
  47. package/dist/src/components/data-display/icons/clock-outline-icon/index.d.ts +1 -0
  48. package/dist/src/components/data-display/icons/close-icon/CloseIcon.d.ts +3 -0
  49. package/dist/src/components/data-display/icons/close-icon/index.d.ts +1 -0
  50. package/dist/src/components/data-display/icons/dashboard-view-icon/DashboardViewIcon.d.ts +3 -0
  51. package/dist/src/components/data-display/icons/dashboard-view-icon/index.d.ts +1 -0
  52. package/dist/src/components/data-display/icons/dashboard-view-outline-icon/DashboardViewOutlineIcon.d.ts +3 -0
  53. package/dist/src/components/data-display/icons/dashboard-view-outline-icon/index.d.ts +1 -0
  54. package/dist/src/components/data-display/icons/dots-vertical-icon/DotsVerticalIcon.d.ts +3 -0
  55. package/dist/src/components/data-display/icons/dots-vertical-icon/index.d.ts +1 -0
  56. package/dist/src/components/data-display/icons/download-icon/DownloadIcon.d.ts +3 -0
  57. package/dist/src/components/data-display/icons/download-icon/index.d.ts +1 -0
  58. package/dist/src/components/data-display/icons/drop-down-icon/DropDownIcon.d.ts +3 -0
  59. package/dist/src/components/data-display/icons/drop-down-icon/index.d.ts +1 -0
  60. package/dist/src/components/data-display/icons/drop-up-icon/DropUpIcon.d.ts +3 -0
  61. package/dist/src/components/data-display/icons/drop-up-icon/index.d.ts +1 -0
  62. package/dist/src/components/data-display/icons/find-replace-icon/FindReplaceIcon.d.ts +3 -0
  63. package/dist/src/components/data-display/icons/find-replace-icon/index.d.ts +1 -0
  64. package/dist/src/components/data-display/icons/find-replace-people-icon/FindReplacePeopleIcon.d.ts +3 -0
  65. package/dist/src/components/data-display/icons/find-replace-people-icon/index.d.ts +1 -0
  66. package/dist/src/components/data-display/icons/hamburger-icon/HamburgerIcon.d.ts +3 -0
  67. package/dist/src/components/data-display/icons/hamburger-icon/index.d.ts +1 -0
  68. package/dist/src/components/data-display/icons/index.d.ts +44 -0
  69. package/dist/src/components/data-display/icons/list-numbered-icon/ListNumberedIcon.d.ts +3 -0
  70. package/dist/src/components/data-display/icons/list-numbered-icon/index.d.ts +1 -0
  71. package/dist/src/components/data-display/icons/loading-icon/LoadingIcon.d.ts +3 -0
  72. package/dist/src/components/data-display/icons/loading-icon/index.d.ts +1 -0
  73. package/dist/src/components/data-display/icons/message-processing-icon/MessageProcessingIcon.d.ts +3 -0
  74. package/dist/src/components/data-display/icons/message-processing-icon/index.d.ts +1 -0
  75. package/dist/src/components/data-display/icons/message-processing-outline-icon/MessageProcessingOutlineIcon.d.ts +3 -0
  76. package/dist/src/components/data-display/icons/message-processing-outline-icon/index.d.ts +1 -0
  77. package/dist/src/components/data-display/icons/pdf-icon/PdfIcon.d.ts +3 -0
  78. package/dist/src/components/data-display/icons/pdf-icon/index.d.ts +1 -0
  79. package/dist/src/components/data-display/icons/people-icon/PeopleIcon.d.ts +3 -0
  80. package/dist/src/components/data-display/icons/people-icon/index.d.ts +1 -0
  81. package/dist/src/components/data-display/icons/people-outline-icon/PeopleOutlineIcon.d.ts +3 -0
  82. package/dist/src/components/data-display/icons/people-outline-icon/index.d.ts +1 -0
  83. package/dist/src/components/data-display/icons/perm-media-icon/PermMediaIcon.d.ts +3 -0
  84. package/dist/src/components/data-display/icons/perm-media-icon/index.d.ts +1 -0
  85. package/dist/src/components/data-display/icons/perm-media-outline-icon/PermMediaOutline.d.ts +3 -0
  86. package/dist/src/components/data-display/icons/perm-media-outline-icon/index.d.ts +1 -0
  87. package/dist/src/components/data-display/icons/person-icon/PersonIcon.d.ts +3 -0
  88. package/dist/src/components/data-display/icons/person-icon/index.d.ts +1 -0
  89. package/dist/src/components/data-display/icons/person-outline-icon/PersonOutlineIcon.d.ts +3 -0
  90. package/dist/src/components/data-display/icons/person-outline-icon/index.d.ts +1 -0
  91. package/dist/src/components/data-display/icons/qnr-icon/QnrIcon.d.ts +3 -0
  92. package/dist/src/components/data-display/icons/qnr-icon/index.d.ts +1 -0
  93. package/dist/src/components/data-display/icons/report-box-icon/ReportBoxIcon.d.ts +3 -0
  94. package/dist/src/components/data-display/icons/report-box-icon/index.d.ts +1 -0
  95. package/dist/src/components/data-display/icons/report-box-outline-icon/ReportBoxOutlineIcon.d.ts +3 -0
  96. package/dist/src/components/data-display/icons/report-box-outline-icon/index.d.ts +1 -0
  97. package/dist/src/components/data-display/icons/search-icon/SearchIcon.d.ts +3 -0
  98. package/dist/src/components/data-display/icons/search-icon/index.d.ts +1 -0
  99. package/dist/src/components/data-display/icons/settings-icon/SettingsIcon.d.ts +3 -0
  100. package/dist/src/components/data-display/icons/settings-icon/index.d.ts +1 -0
  101. package/dist/src/components/data-display/icons/settings-outline-icon/SettingsOutlineIcon.d.ts +3 -0
  102. package/dist/src/components/data-display/icons/settings-outline-icon/index.d.ts +1 -0
  103. package/dist/src/components/data-display/tooltip/StyledTooltip.d.ts +2 -0
  104. package/dist/src/components/data-display/tooltip/index.d.ts +1 -0
  105. package/dist/src/components/data-display/typography/Typography.stories.d.ts +10 -0
  106. package/dist/src/components/data-grid/StyledDataGrid.d.ts +8 -0
  107. package/dist/src/components/data-grid/StyledDataGrid.stories.d.ts +73 -0
  108. package/dist/src/components/data-grid/StyledGridActionsCellItem.d.ts +3 -0
  109. package/dist/src/components/data-grid/components/ColumnFormControlItem.d.ts +6 -0
  110. package/dist/src/components/data-grid/components/ColumnsMenu.d.ts +7 -0
  111. package/dist/src/components/data-grid/components/columnActions.d.ts +13 -0
  112. package/dist/src/components/data-grid/index.d.ts +3 -0
  113. package/dist/src/components/data-grid/types.d.ts +9 -0
  114. package/dist/src/components/data-grid/x-data-grid-types.d.ts +1 -0
  115. package/dist/src/components/feedback/alert/StyledAlert.d.ts +2 -0
  116. package/dist/src/components/feedback/alert/StyledAlert.stories.d.ts +15 -0
  117. package/dist/src/components/feedback/alert/StyledAlertTitle.d.ts +2 -0
  118. package/dist/src/components/feedback/alert/index.d.ts +2 -0
  119. package/dist/src/components/feedback/dialog/StyledDialog.d.ts +6 -0
  120. package/dist/src/components/feedback/dialog/StyledDialog.stories.d.ts +18 -0
  121. package/dist/src/components/feedback/dialog/StyledDialogActions.d.ts +2 -0
  122. package/dist/src/components/feedback/dialog/StyledDialogContent.d.ts +2 -0
  123. package/dist/src/components/feedback/dialog/StyledDialogTitle.d.ts +2 -0
  124. package/dist/src/components/feedback/dialog/index.d.ts +4 -0
  125. package/dist/src/components/feedback/snack-bar/StyledSnackbar.d.ts +2 -0
  126. package/dist/src/components/feedback/snack-bar/StyledSnackbar.stories.d.ts +13 -0
  127. package/dist/src/components/feedback/snack-bar/index.d.ts +1 -0
  128. package/dist/src/components/inputs/button/StyledButton.d.ts +2 -0
  129. package/dist/src/components/inputs/button/StyledButton.stories.d.ts +15 -0
  130. package/dist/src/components/inputs/button/index.d.ts +1 -0
  131. package/dist/src/components/inputs/checkbox/StyledCheckbox.d.ts +2 -0
  132. package/dist/src/components/inputs/checkbox/StyledCheckbox.stories.d.ts +12 -0
  133. package/dist/src/components/inputs/checkbox/index.d.ts +1 -0
  134. package/dist/src/components/inputs/input/StyledInput.d.ts +2 -0
  135. package/dist/src/components/inputs/input/index.d.ts +1 -0
  136. package/dist/src/components/inputs/rich-input/RichInput.d.ts +12 -0
  137. package/dist/src/components/inputs/rich-input/RichInput.stories.d.ts +22 -0
  138. package/dist/src/components/inputs/rich-input/index.d.ts +1 -0
  139. package/dist/src/components/inputs/select/StyledSelect.d.ts +2 -0
  140. package/dist/src/components/inputs/select/StyledSelect.stories.d.ts +19 -0
  141. package/dist/src/components/inputs/select/StyledSelectItem.d.ts +2 -0
  142. package/dist/src/components/inputs/select/index.d.ts +2 -0
  143. package/dist/src/components/inputs/slider/StyledSlider.d.ts +2 -0
  144. package/dist/src/components/inputs/slider/StyledSlider.stories.d.ts +19 -0
  145. package/dist/src/components/inputs/slider/index.d.ts +1 -0
  146. package/dist/src/components/inputs/switch/StyledSwitch.d.ts +2 -0
  147. package/dist/src/components/inputs/switch/StyledSwitch.stories.d.ts +10 -0
  148. package/dist/src/components/inputs/switch/index.d.ts +1 -0
  149. package/dist/src/components/inputs/text-field/StyledTextField.d.ts +6 -0
  150. package/dist/src/components/inputs/text-field/StyledTextField.stories.d.ts +14 -0
  151. package/dist/src/components/inputs/text-field/index.d.ts +1 -0
  152. package/dist/src/components/miscellaneous/StyledFormControl.d.ts +2 -0
  153. package/dist/src/components/miscellaneous/StyledFormControlLabel.d.ts +2 -0
  154. package/dist/src/components/miscellaneous/StyledFormGroup.d.ts +3 -0
  155. package/dist/src/components/miscellaneous/StyledFormHelperText.d.ts +2 -0
  156. package/dist/src/components/miscellaneous/StyledFormLabel.d.ts +2 -0
  157. package/dist/src/components/miscellaneous/StyledInputLabel.d.ts +2 -0
  158. package/dist/src/components/miscellaneous/StyledStack.d.ts +2 -0
  159. package/dist/src/components/surfaces/accordion/StyledAccordion.d.ts +2 -0
  160. package/dist/src/components/surfaces/accordion/StyledAccordion.stories.d.ts +13 -0
  161. package/dist/src/components/surfaces/accordion/StyledAccordionDetails.d.ts +2 -0
  162. package/dist/src/components/surfaces/accordion/StyledAccordionSummary.d.ts +2 -0
  163. package/dist/src/components/surfaces/accordion/index.d.ts +3 -0
  164. package/dist/src/helpers/index.d.ts +1 -0
  165. package/dist/src/helpers/tokenOptimizer.helper.d.ts +1 -0
  166. package/dist/src/index.d.ts +25 -0
  167. package/dist/src/interfaces/index.d.ts +5 -0
  168. package/dist/src/providers/ThemeProvider.d.ts +2 -0
  169. package/dist/src/providers/index.d.ts +3 -0
  170. package/dist/src/stories/Button.d.ts +26 -0
  171. package/dist/src/stories/Button.stories.d.ts +18 -0
  172. package/dist/src/stories/Header.d.ts +10 -0
  173. package/dist/src/stories/Header.stories.d.ts +14 -0
  174. package/dist/src/stories/Page.d.ts +2 -0
  175. package/dist/src/stories/Page.stories.d.ts +13 -0
  176. package/dist/src/styles/fretex-tokens/index.d.ts +4 -0
  177. package/dist/src/styles/greenish-tokens/index.d.ts +4 -0
  178. package/dist/src/styles/tokens/index.d.ts +4 -0
  179. package/dist/src/theme/customMuiColors.d.ts +61 -0
  180. package/dist/src/theme/index.d.ts +2 -0
  181. package/dist/src/theme/theme.d.ts +93 -0
  182. package/dist/style.css +1 -0
  183. package/dist/tailwind.config.d.ts +178 -0
  184. package/dist/vite.config.d.ts +2 -0
  185. package/package.json +1 -3
@@ -0,0 +1,73 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: {
6
+ (props: import("./types").IBaseStyledDataGrid): JSX.Element;
7
+ defaultProps: {
8
+ disableHeaderPin: boolean;
9
+ disableRowActions: boolean;
10
+ };
11
+ };
12
+ tags: string[];
13
+ argTypes: {
14
+ disableHeaderPin: {
15
+ control: string;
16
+ defaultValue: boolean;
17
+ };
18
+ disableRowActions: {
19
+ control: string;
20
+ defaultValue: boolean;
21
+ };
22
+ };
23
+ args: {
24
+ rows: {
25
+ id: number;
26
+ title: string;
27
+ description: string;
28
+ context: string;
29
+ deadline: string;
30
+ }[];
31
+ columns: ({
32
+ field: string;
33
+ headerName: string;
34
+ renderCell: () => JSX.Element;
35
+ width: number;
36
+ sortable: false;
37
+ flex?: undefined;
38
+ renderHeader?: undefined;
39
+ } | {
40
+ field: string;
41
+ headerName: string;
42
+ flex: number;
43
+ renderCell?: undefined;
44
+ width?: undefined;
45
+ sortable?: undefined;
46
+ renderHeader?: undefined;
47
+ } | {
48
+ field: string;
49
+ headerName: string;
50
+ renderHeader: () => JSX.Element;
51
+ renderCell: () => JSX.Element;
52
+ sortable: false;
53
+ width?: undefined;
54
+ flex?: undefined;
55
+ })[];
56
+ fixedColumns: string[];
57
+ checkboxSelection: true;
58
+ disableColumnMenu: true;
59
+ disableColumnSelector: true;
60
+ disableColumnFilter: true;
61
+ disableDensitySelector: true;
62
+ rowActions: () => JSX.Element[];
63
+ slots: {
64
+ columnSortedAscendingIcon: () => JSX.Element;
65
+ columnSortedDescendingIcon: () => JSX.Element;
66
+ };
67
+ disableHeaderPin: false;
68
+ disableRowActions: false;
69
+ };
70
+ };
71
+ export default meta;
72
+ type Story = StoryObj<typeof meta>;
73
+ export declare const DataGrid: Story;
@@ -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;
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import type { GridApiCommunity } from '@mui/x-data-grid/internals';
3
+ export declare const ColumnFormControlItem: React.FC<{
4
+ apiRef: React.MutableRefObject<GridApiCommunity>;
5
+ columnField: string;
6
+ }>;
@@ -0,0 +1,7 @@
1
+ import type { GridApiCommunity } from '@mui/x-data-grid/internals';
2
+ import type { ReactNode } from 'react';
3
+ export declare const ColumnsMenu: React.FC<{
4
+ columnsMenuTitle: ReactNode;
5
+ apiRef: React.MutableRefObject<GridApiCommunity>;
6
+ fixedColumns?: string[];
7
+ }>;
@@ -0,0 +1,13 @@
1
+ import { type JSXElementConstructor, type ReactElement, type ReactNode } from 'react';
2
+ import { type GridActionsCellItemProps, type GridRowParams } from '@mui/x-data-grid';
3
+ import type { GridApiCommunity } from '@mui/x-data-grid/internals';
4
+ export declare const columnActions: (apiRef: React.MutableRefObject<GridApiCommunity>, rowActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[], columnsMenuTitle: ReactNode, fixedColumns?: string[]) => {
5
+ field: string;
6
+ headerName: string;
7
+ width: number;
8
+ disableColumnMenu: boolean;
9
+ sortable: boolean;
10
+ type: string;
11
+ renderHeader: () => JSX.Element;
12
+ getActions: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
13
+ };
@@ -0,0 +1,3 @@
1
+ export * from './StyledDataGrid';
2
+ export * from './StyledGridActionsCellItem';
3
+ export * from './x-data-grid-types';
@@ -0,0 +1,9 @@
1
+ import type { DataGridProps, GridActionsCellItemProps, GridRowParams } from '@mui/x-data-grid';
2
+ import type { JSXElementConstructor, ReactElement, ReactNode } from 'react';
3
+ export interface IBaseStyledDataGrid extends DataGridProps {
4
+ columnsMenuTitle?: ReactNode;
5
+ disableRowActions?: boolean;
6
+ disableHeaderPin?: boolean;
7
+ fixedColumns?: string[];
8
+ rowActions?: (params: GridRowParams<any>) => ReactElement<GridActionsCellItemProps, string | JSXElementConstructor<any>>[];
9
+ }
@@ -0,0 +1 @@
1
+ export * 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,15 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("@mui/material").AlertProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {};
8
+ args: {
9
+ severity: "success";
10
+ variant: "standard";
11
+ };
12
+ };
13
+ export default meta;
14
+ type Story = StoryObj<typeof meta>;
15
+ export declare const Primary: Story;
@@ -0,0 +1,2 @@
1
+ import { type AlertTitleProps } from '@mui/material';
2
+ export declare const StyledAlertTitle: (props: AlertTitleProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './StyledAlert';
2
+ export * from './StyledAlertTitle';
@@ -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,18 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ onCloseText, children, onClose, showCloseIcon, ...rest }: import("./StyledDialog").IStyledDialogProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {};
8
+ args: {
9
+ title: string;
10
+ open: true;
11
+ fullScreen: false;
12
+ onClose: () => void;
13
+ };
14
+ };
15
+ export default meta;
16
+ type Story = StoryObj<typeof meta>;
17
+ export declare const Dialog: Story;
18
+ export declare const DialogExample: () => 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,4 @@
1
+ export * from './StyledDialog';
2
+ export * from './StyledDialogActions';
3
+ export * from './StyledDialogContent';
4
+ export * from './StyledDialogTitle';
@@ -0,0 +1,2 @@
1
+ import { type SnackbarProps } from '@mui/material';
2
+ export declare const StyledSnackbar: ({ children, ...props }: SnackbarProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ children, ...props }: import("@mui/material").SnackbarProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {};
8
+ args: {};
9
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const SnackBar: Story;
13
+ export declare const SnackbarExample: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSnackbar';
@@ -0,0 +1,2 @@
1
+ import { type ButtonProps } from '@mui/material';
2
+ export declare const StyledButton: (props: ButtonProps) => JSX.Element;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: (props: import("@mui/material").ButtonProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {};
8
+ args: {
9
+ children: string;
10
+ };
11
+ };
12
+ export default meta;
13
+ type Story = StoryObj<typeof meta>;
14
+ export declare const Primary: Story;
15
+ export declare const Secondary: Story;
@@ -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,12 @@
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
+ };
10
+ export default meta;
11
+ type Story = StoryObj<typeof meta>;
12
+ export declare const Checkbox: Story;
@@ -0,0 +1 @@
1
+ export * from './StyledCheckbox';
@@ -0,0 +1,2 @@
1
+ import { type InputProps } from '@mui/material';
2
+ export declare const StyledInput: (props: InputProps) => JSX.Element;
@@ -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,22 @@
1
+ /// <reference types="react" />
2
+ import { type IRichInput } from './RichInput';
3
+ import type { StoryObj } from '@storybook/react';
4
+ declare const meta: {
5
+ title: string;
6
+ component: import("react").FC<IRichInput>;
7
+ tags: string[];
8
+ argTypes: {};
9
+ args: {
10
+ placeholder: string;
11
+ value: string;
12
+ isRequired: false;
13
+ disabled: false;
14
+ label: string;
15
+ error: string;
16
+ is_error: false;
17
+ is_warning: false;
18
+ };
19
+ };
20
+ export default meta;
21
+ type Story = StoryObj<typeof meta>;
22
+ export declare const RichInputExample: Story;
@@ -0,0 +1 @@
1
+ export * from './RichInput';
@@ -0,0 +1,2 @@
1
+ import { type SelectProps } from '@mui/material';
2
+ export declare const StyledSelect: (props: SelectProps) => JSX.Element;
@@ -0,0 +1,19 @@
1
+ import type { StoryObj } from '@storybook/react';
2
+ import { StyledSelect } from './StyledSelect';
3
+ import type { SelectProps } from '@mui/material';
4
+ declare const meta: {
5
+ title: string;
6
+ component: (props: SelectProps<unknown>) => JSX.Element;
7
+ tags: string[];
8
+ argTypes: {
9
+ children: {
10
+ description: string;
11
+ };
12
+ };
13
+ args: {
14
+ children: JSX.Element[];
15
+ };
16
+ };
17
+ export default meta;
18
+ type Story = StoryObj<typeof StyledSelect>;
19
+ export declare const Select: Story;
@@ -0,0 +1,2 @@
1
+ import { type MenuItemProps } from '@mui/material';
2
+ export declare const StyledSelectItem: (item: MenuItemProps) => JSX.Element;
@@ -0,0 +1,2 @@
1
+ export * from './StyledSelect';
2
+ export * from './StyledSelectItem';
@@ -0,0 +1,2 @@
1
+ import { type SliderProps } from '@mui/material';
2
+ export declare const StyledSlider: (props: SliderProps) => JSX.Element;
@@ -0,0 +1,19 @@
1
+ /// <reference types="react" />
2
+ declare const meta: {
3
+ title: string;
4
+ component: (props: import("@mui/material").SliderProps) => JSX.Element;
5
+ tags: string[];
6
+ argTypes: {};
7
+ args: {
8
+ size: "medium";
9
+ max: number;
10
+ min: number;
11
+ step: number;
12
+ marks: {
13
+ value: number;
14
+ label: string;
15
+ }[];
16
+ };
17
+ };
18
+ export default meta;
19
+ export declare const Slider: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSlider';
@@ -0,0 +1,2 @@
1
+ import { type SwitchProps } from '@mui/material';
2
+ export declare const StyledSwitch: (props: SwitchProps) => JSX.Element;
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ declare const meta: {
3
+ title: string;
4
+ component: (props: import("@mui/material").SwitchProps) => JSX.Element;
5
+ tags: string[];
6
+ argTypes: {};
7
+ args: {};
8
+ };
9
+ export default meta;
10
+ export declare const Switch: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledSwitch';
@@ -0,0 +1,6 @@
1
+ import { type FormControlProps, type TextFieldProps } from '@mui/material';
2
+ type StyledTextFieldProps = TextFieldProps & {
3
+ FormControlProps?: FormControlProps;
4
+ };
5
+ export declare const StyledTextField: ({ FormControlProps, InputLabelProps, label, size, ...props }: StyledTextFieldProps) => JSX.Element;
6
+ export {};
@@ -0,0 +1,14 @@
1
+ /// <reference types="react" />
2
+ declare const meta: {
3
+ title: string;
4
+ component: ({ FormControlProps, InputLabelProps, label, size, ...props }: import("@mui/material").TextFieldProps & {
5
+ FormControlProps?: import("@mui/material").FormControlProps | undefined;
6
+ }) => JSX.Element;
7
+ tags: string[];
8
+ argTypes: {};
9
+ args: {
10
+ label: string;
11
+ };
12
+ };
13
+ export default meta;
14
+ export declare const TextField: () => JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './StyledTextField';
@@ -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,3 @@
1
+ /// <reference types="react" />
2
+ import { type FormGroupProps } from '@mui/material';
3
+ export declare const StyledFormGroup: React.FC<FormGroupProps>;
@@ -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,2 @@
1
+ import { type AccordionProps } from '@mui/material';
2
+ export declare const StyledAccordion: (props: AccordionProps) => JSX.Element;
@@ -0,0 +1,13 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ import { StyledAccordion } from './StyledAccordion';
4
+ declare const meta: {
5
+ title: string;
6
+ component: (props: import("@mui/material").AccordionProps) => JSX.Element;
7
+ tags: string[];
8
+ argTypes: {};
9
+ args: {};
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof StyledAccordion>;
13
+ export declare const Accordion: Story;
@@ -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';
@@ -0,0 +1 @@
1
+ export * from './tokenOptimizer.helper';
@@ -0,0 +1 @@
1
+ export declare function tokenOptimizer<T>(object: T): T;
@@ -0,0 +1,25 @@
1
+ export * from './helpers';
2
+ export * from './theme';
3
+ export * from './providers';
4
+ export * from './interfaces';
5
+ export * from './components/data-display/badge';
6
+ export * from './components/data-display/tooltip';
7
+ export * from './components/data-display/icons';
8
+ export * from './components/data-grid';
9
+ export * from './components/feedback/dialog';
10
+ export * from './components/feedback/alert';
11
+ export * from './components/feedback/snack-bar';
12
+ export * from './components/inputs/button';
13
+ export * from './components/inputs/checkbox';
14
+ export * from './components/inputs/input';
15
+ export * from './components/inputs/select';
16
+ export * from './components/inputs/slider';
17
+ export * from './components/inputs/text-field';
18
+ export * from './components/inputs/switch';
19
+ export * from './components/miscellaneous/StyledFormControl';
20
+ export * from './components/miscellaneous/StyledFormControlLabel';
21
+ export * from './components/miscellaneous/StyledFormHelperText';
22
+ export * from './components/miscellaneous/StyledFormLabel';
23
+ export * from './components/miscellaneous/StyledInputLabel';
24
+ export * from './components/miscellaneous/StyledStack';
25
+ export * from './components/miscellaneous/StyledFormGroup';
@@ -0,0 +1,5 @@
1
+ import type { ThemeProviderProps } from '@mui/material/styles/ThemeProvider';
2
+ import type { SnackbarProviderProps } from 'notistack';
3
+ export interface IThemeProvider extends ThemeProviderProps {
4
+ SnackbarProviderProps?: SnackbarProviderProps;
5
+ }
@@ -0,0 +1,2 @@
1
+ import type { IThemeProvider } from '../interfaces';
2
+ export declare const ThemeProvider: (props: IThemeProvider) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ export * from './ThemeProvider';
2
+ export { createTheme } from '@mui/material/styles';
3
+ export { enqueueSnackbar, closeSnackbar, useSnackbar } from 'notistack';
@@ -0,0 +1,26 @@
1
+ export interface ButtonProps {
2
+ /**
3
+ * Is this the principal call to action on the page?
4
+ */
5
+ primary?: boolean;
6
+ /**
7
+ * What background color to use
8
+ */
9
+ backgroundColor?: string;
10
+ /**
11
+ * How large should the button be?
12
+ */
13
+ size?: 'small' | 'medium' | 'large';
14
+ /**
15
+ * Button contents
16
+ */
17
+ label: string;
18
+ /**
19
+ * Optional click handler
20
+ */
21
+ onClick?: () => void;
22
+ }
23
+ /**
24
+ * Primary UI component for user interaction
25
+ */
26
+ export declare const Button: ({ primary, size, backgroundColor, label, ...props }: ButtonProps) => JSX.Element;
@@ -0,0 +1,18 @@
1
+ /// <reference types="react" />
2
+ import type { StoryObj } from '@storybook/react';
3
+ declare const meta: {
4
+ title: string;
5
+ component: ({ primary, size, backgroundColor, label, ...props }: import("./Button").ButtonProps) => JSX.Element;
6
+ tags: string[];
7
+ argTypes: {
8
+ backgroundColor: {
9
+ control: string;
10
+ };
11
+ };
12
+ };
13
+ export default meta;
14
+ type Story = StoryObj<typeof meta>;
15
+ export declare const Primary: Story;
16
+ export declare const Secondary: Story;
17
+ export declare const Large: Story;
18
+ export declare const Small: Story;
@@ -0,0 +1,10 @@
1
+ export type User = {
2
+ name: string;
3
+ };
4
+ export interface HeaderProps {
5
+ user?: User;
6
+ onLogin: () => void;
7
+ onLogout: () => void;
8
+ onCreateAccount: () => void;
9
+ }
10
+ export declare const Header: ({ user, onLogin, onLogout, onCreateAccount }: HeaderProps) => 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: ({ user, onLogin, onLogout, onCreateAccount }: import("./Header").HeaderProps) => JSX.Element;
6
+ tags: string[];
7
+ parameters: {
8
+ layout: string;
9
+ };
10
+ };
11
+ export default meta;
12
+ type Story = StoryObj<typeof meta>;
13
+ export declare const LoggedIn: Story;
14
+ export declare const LoggedOut: Story;
@@ -0,0 +1,2 @@
1
+ import React from 'react';
2
+ export declare const Page: React.FC;