asma-core-ui 1.9.4 → 2.0.1

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