@codezee/sixtify-brahma 0.2.6 → 0.2.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 (279) hide show
  1. package/package.json +7 -2
  2. package/.github/workflows/deploy-storybook.yml +0 -40
  3. package/.husky/commit-msg +0 -4
  4. package/.husky/pre-commit +0 -4
  5. package/.husky/pre-push +0 -4
  6. package/.lintstagedrc +0 -5
  7. package/.prettierignore +0 -11
  8. package/.prettierrc +0 -22
  9. package/.vscode/extensions.json +0 -22
  10. package/.vscode/settings.json +0 -17
  11. package/apps/docs/.eslintrc.cjs +0 -4
  12. package/apps/docs/.eslintrc.js +0 -9
  13. package/apps/docs/.storybook/main.ts +0 -23
  14. package/apps/docs/.storybook/preview.tsx +0 -27
  15. package/apps/docs/next-env.d.ts +0 -5
  16. package/apps/docs/next.config.mjs +0 -4
  17. package/apps/docs/package.json +0 -38
  18. package/apps/docs/public/globals.css +0 -25
  19. package/apps/docs/stories/AgGrid/AgGrid.stories.tsx +0 -69
  20. package/apps/docs/stories/AppBar/AppBar.stories.tsx +0 -39
  21. package/apps/docs/stories/Breadcrumbs/Breadcrumbs.stories.tsx +0 -37
  22. package/apps/docs/stories/Button/ButtonGroup.stories.tsx +0 -99
  23. package/apps/docs/stories/Button/button.stories.tsx +0 -99
  24. package/apps/docs/stories/Card/AttendanceCard.stories.tsx +0 -37
  25. package/apps/docs/stories/Card/Card.stories.tsx +0 -39
  26. package/apps/docs/stories/Charts/PieChart.stories.tsx +0 -264
  27. package/apps/docs/stories/Chips/Chip.stories.tsx +0 -141
  28. package/apps/docs/stories/Chips/ChipWithBorder.stories.tsx +0 -18
  29. package/apps/docs/stories/Chips/FilterPill.stories.tsx +0 -24
  30. package/apps/docs/stories/Color/Color.stories.tsx +0 -14
  31. package/apps/docs/stories/Dialog/ButtomDialog.stories.tsx +0 -47
  32. package/apps/docs/stories/Dialog/DeleteDialog.stories.tsx +0 -31
  33. package/apps/docs/stories/Dialog/Dialog.stories.tsx +0 -47
  34. package/apps/docs/stories/Drawer/Drawer.stories.tsx +0 -94
  35. package/apps/docs/stories/FilterList/FilterList.stories.tsx +0 -88
  36. package/apps/docs/stories/FilterList/FilterListV2.stories.tsx +0 -92
  37. package/apps/docs/stories/FormFields/AutoComplete.stories.tsx +0 -87
  38. package/apps/docs/stories/FormFields/CheckBox.stories.tsx +0 -61
  39. package/apps/docs/stories/FormFields/DatePicker.stories.tsx +0 -98
  40. package/apps/docs/stories/FormFields/DateRangePicker.stories.tsx +0 -37
  41. package/apps/docs/stories/FormFields/FileUpload.stories.tsx +0 -83
  42. package/apps/docs/stories/FormFields/ImageUpload.stories.tsx +0 -69
  43. package/apps/docs/stories/FormFields/ListItemButton.stories.tsx +0 -59
  44. package/apps/docs/stories/FormFields/RadioGroupField.stories.tsx +0 -170
  45. package/apps/docs/stories/FormFields/SearchField.stories.tsx +0 -72
  46. package/apps/docs/stories/FormFields/TextField.stories.tsx +0 -111
  47. package/apps/docs/stories/FormFields/TimeField.stories.tsx +0 -82
  48. package/apps/docs/stories/FormFields/TimePicker.stories.tsx +0 -82
  49. package/apps/docs/stories/Indicator/Indicator.stories.tsx +0 -33
  50. package/apps/docs/stories/Indicator/SeverityIndicator.stories.tsx +0 -27
  51. package/apps/docs/stories/Layouts/FormRow.stories.tsx +0 -45
  52. package/apps/docs/stories/PadBox/PadBox.stories.tsx +0 -49
  53. package/apps/docs/stories/Stepper/Stepper.stories.tsx +0 -75
  54. package/apps/docs/stories/Stepper/StepperV2.stories.tsx +0 -44
  55. package/apps/docs/stories/Timeline/AttendanceStatus.stories.tsx +0 -29
  56. package/apps/docs/stories/Timeline/Timeline.stories.tsx +0 -38
  57. package/apps/docs/stories/Tooltip/Tooltip.stories.tsx +0 -30
  58. package/apps/docs/stories/UserProfileMenu/UserProfileMenu.stories.tsx +0 -112
  59. package/apps/docs/tsconfig.json +0 -19
  60. package/commitlint.config.cjs +0 -6
  61. package/index.ts +0 -1
  62. package/packages/eslint-config/README.md +0 -3
  63. package/packages/eslint-config/library.js +0 -88
  64. package/packages/eslint-config/next.js +0 -85
  65. package/packages/eslint-config/package.json +0 -19
  66. package/packages/eslint-config/react-internal.js +0 -89
  67. package/packages/shared-components/.eslintrc.js +0 -10
  68. package/packages/shared-components/package.json +0 -22
  69. package/packages/shared-components/src/Actions/AddAction.tsx +0 -13
  70. package/packages/shared-components/src/Actions/CalendarAction.tsx +0 -13
  71. package/packages/shared-components/src/Actions/ConfigureAction.tsx +0 -13
  72. package/packages/shared-components/src/Actions/DeleteAction.tsx +0 -13
  73. package/packages/shared-components/src/Actions/DownloadAction.tsx +0 -13
  74. package/packages/shared-components/src/Actions/EditAction.tsx +0 -13
  75. package/packages/shared-components/src/Actions/HistoryAction.tsx +0 -13
  76. package/packages/shared-components/src/Actions/index.ts +0 -7
  77. package/packages/shared-components/src/AgGrid/ActionCell/ActionCell.tsx +0 -57
  78. package/packages/shared-components/src/AgGrid/ActionCell/Popover.tsx +0 -32
  79. package/packages/shared-components/src/AgGrid/AgGrid.tsx +0 -93
  80. package/packages/shared-components/src/AgGrid/LoadingCell.tsx +0 -5
  81. package/packages/shared-components/src/AgGrid/index.ts +0 -3
  82. package/packages/shared-components/src/AppBar/AppBar.styled.tsx +0 -25
  83. package/packages/shared-components/src/AppBar/AppBar.tsx +0 -20
  84. package/packages/shared-components/src/AppBar/index.ts +0 -1
  85. package/packages/shared-components/src/Breadcrumbs/Breadcrumbs.tsx +0 -76
  86. package/packages/shared-components/src/Breadcrumbs/index.ts +0 -1
  87. package/packages/shared-components/src/Button/ActionButton.tsx +0 -38
  88. package/packages/shared-components/src/Button/Button.tsx +0 -19
  89. package/packages/shared-components/src/Button/ButtonGroup.tsx +0 -37
  90. package/packages/shared-components/src/Button/index.ts +0 -3
  91. package/packages/shared-components/src/Card/AttendanceCard.tsx +0 -51
  92. package/packages/shared-components/src/Card/Card.tsx +0 -34
  93. package/packages/shared-components/src/Card/CardItem/CardItem.tsx +0 -33
  94. package/packages/shared-components/src/Card/CardItem/CardItemValue.tsx +0 -98
  95. package/packages/shared-components/src/Card/CardItem/index.ts +0 -2
  96. package/packages/shared-components/src/Card/ProfileCard/ProfileCard.tsx +0 -40
  97. package/packages/shared-components/src/Card/ProfileCard/ProfileCardItem/ProfileCardBody.tsx +0 -53
  98. package/packages/shared-components/src/Card/ProfileCard/ProfileCardItem/ProfileCardHeader.tsx +0 -96
  99. package/packages/shared-components/src/Card/index.ts +0 -6
  100. package/packages/shared-components/src/Charts/PieChart.tsx +0 -81
  101. package/packages/shared-components/src/Charts/Skeleton.tsx +0 -36
  102. package/packages/shared-components/src/Charts/index.ts +0 -1
  103. package/packages/shared-components/src/Chips/Chip.tsx +0 -26
  104. package/packages/shared-components/src/Chips/ChipWithBorder.tsx +0 -39
  105. package/packages/shared-components/src/Chips/FilterPill.tsx +0 -47
  106. package/packages/shared-components/src/Chips/index.ts +0 -3
  107. package/packages/shared-components/src/Dialog/BottomDialog.styled.tsx +0 -28
  108. package/packages/shared-components/src/Dialog/BottomDialog.tsx +0 -37
  109. package/packages/shared-components/src/Dialog/DeleteDialog.tsx +0 -48
  110. package/packages/shared-components/src/Dialog/Dialog.tsx +0 -61
  111. package/packages/shared-components/src/Dialog/index.ts +0 -3
  112. package/packages/shared-components/src/Drawer/Bullet.tsx +0 -12
  113. package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerMenuItem.tsx +0 -57
  114. package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerMenuItemList.tsx +0 -109
  115. package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerSubMenuItemList.tsx +0 -124
  116. package/packages/shared-components/src/Drawer/CloseDrawer/MenuItem.tsx +0 -0
  117. package/packages/shared-components/src/Drawer/CloseDrawer/Popover.tsx +0 -45
  118. package/packages/shared-components/src/Drawer/CloseDrawer/Popper.tsx +0 -43
  119. package/packages/shared-components/src/Drawer/Drawer.styled.tsx +0 -51
  120. package/packages/shared-components/src/Drawer/Drawer.tsx +0 -55
  121. package/packages/shared-components/src/Drawer/MenuItem.tsx +0 -75
  122. package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerCollapse.tsx +0 -13
  123. package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerMenuItem.tsx +0 -46
  124. package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerMenuItemList.tsx +0 -197
  125. package/packages/shared-components/src/Drawer/index.ts +0 -1
  126. package/packages/shared-components/src/FilterList/FilterList.tsx +0 -172
  127. package/packages/shared-components/src/FilterList/FilterListV2.tsx +0 -515
  128. package/packages/shared-components/src/FilterList/FilterPopup.tsx +0 -148
  129. package/packages/shared-components/src/FilterList/FilterPopupWrapper.tsx +0 -113
  130. package/packages/shared-components/src/FilterList/FilterTypeWrapper.tsx +0 -58
  131. package/packages/shared-components/src/FilterList/getFormData.ts +0 -29
  132. package/packages/shared-components/src/FilterList/index.ts +0 -5
  133. package/packages/shared-components/src/FormFields/Autocomplete/Autocomplete.tsx +0 -510
  134. package/packages/shared-components/src/FormFields/Autocomplete/Skeleton.tsx +0 -26
  135. package/packages/shared-components/src/FormFields/Autocomplete/index.ts +0 -1
  136. package/packages/shared-components/src/FormFields/CheckBox/CheckBox.styled.tsx +0 -67
  137. package/packages/shared-components/src/FormFields/CheckBox/CheckBox.tsx +0 -44
  138. package/packages/shared-components/src/FormFields/CheckBox/Skeleton.tsx +0 -12
  139. package/packages/shared-components/src/FormFields/CheckBox/index.ts +0 -1
  140. package/packages/shared-components/src/FormFields/DatePicker/DatePicker.tsx +0 -217
  141. package/packages/shared-components/src/FormFields/DatePicker/Skeleton.tsx +0 -28
  142. package/packages/shared-components/src/FormFields/DatePicker/index.ts +0 -1
  143. package/packages/shared-components/src/FormFields/DateRangePicker/DateRangePicker.tsx +0 -96
  144. package/packages/shared-components/src/FormFields/DateRangePicker/Skeleton.tsx +0 -38
  145. package/packages/shared-components/src/FormFields/DateRangePicker/index.ts +0 -1
  146. package/packages/shared-components/src/FormFields/DateTimePicker/DateTimePicker.tsx +0 -250
  147. package/packages/shared-components/src/FormFields/DateTimePicker/Skeleton.tsx +0 -24
  148. package/packages/shared-components/src/FormFields/DateTimePicker/index.ts +0 -1
  149. package/packages/shared-components/src/FormFields/FileUpload/FileNames.tsx +0 -32
  150. package/packages/shared-components/src/FormFields/FileUpload/FileUpload.styled.tsx +0 -22
  151. package/packages/shared-components/src/FormFields/FileUpload/FileUpload.tsx +0 -157
  152. package/packages/shared-components/src/FormFields/FileUpload/Skeleton.tsx +0 -21
  153. package/packages/shared-components/src/FormFields/FileUpload/UploadedFileName.tsx +0 -27
  154. package/packages/shared-components/src/FormFields/FileUpload/index.ts +0 -2
  155. package/packages/shared-components/src/FormFields/ImageUpload/ImageUpload.styled.tsx +0 -16
  156. package/packages/shared-components/src/FormFields/ImageUpload/ImageUpload.tsx +0 -181
  157. package/packages/shared-components/src/FormFields/ImageUpload/ImageUploadView.tsx +0 -65
  158. package/packages/shared-components/src/FormFields/ImageUpload/PhotoCaptureDialog.tsx +0 -74
  159. package/packages/shared-components/src/FormFields/ImageUpload/Skeleton.tsx +0 -31
  160. package/packages/shared-components/src/FormFields/ImageUpload/index.ts +0 -2
  161. package/packages/shared-components/src/FormFields/ListItemButton/ListItemButton.styled.tsx +0 -22
  162. package/packages/shared-components/src/FormFields/ListItemButton/ListItemButton.tsx +0 -52
  163. package/packages/shared-components/src/FormFields/ListItemButton/index.ts +0 -1
  164. package/packages/shared-components/src/FormFields/PasswordField/PasswordField.tsx +0 -50
  165. package/packages/shared-components/src/FormFields/PasswordField/index.ts +0 -1
  166. package/packages/shared-components/src/FormFields/RadioGroupField/RadioGroupField.tsx +0 -105
  167. package/packages/shared-components/src/FormFields/RadioGroupField/Skeleton.tsx +0 -26
  168. package/packages/shared-components/src/FormFields/RadioGroupField/index.ts +0 -1
  169. package/packages/shared-components/src/FormFields/SearchField/SearchField.tsx +0 -21
  170. package/packages/shared-components/src/FormFields/SearchField/index.ts +0 -1
  171. package/packages/shared-components/src/FormFields/Switch/Skeleton.tsx +0 -12
  172. package/packages/shared-components/src/FormFields/Switch/Switch.tsx +0 -33
  173. package/packages/shared-components/src/FormFields/Switch/index.ts +0 -1
  174. package/packages/shared-components/src/FormFields/TextField/Skeleton.tsx +0 -31
  175. package/packages/shared-components/src/FormFields/TextField/TextField.tsx +0 -92
  176. package/packages/shared-components/src/FormFields/TextField/index.ts +0 -1
  177. package/packages/shared-components/src/FormFields/TimeField/Skeleton.tsx +0 -24
  178. package/packages/shared-components/src/FormFields/TimeField/TimeField.tsx +0 -120
  179. package/packages/shared-components/src/FormFields/TimeField/index.ts +0 -1
  180. package/packages/shared-components/src/FormFields/TimePicker/Skeleton.tsx +0 -24
  181. package/packages/shared-components/src/FormFields/TimePicker/TimePicker.tsx +0 -168
  182. package/packages/shared-components/src/FormFields/TimePicker/index.ts +0 -1
  183. package/packages/shared-components/src/FormFields/index.ts +0 -13
  184. package/packages/shared-components/src/Indicator/Indicator.tsx +0 -18
  185. package/packages/shared-components/src/Indicator/SeverityIndicator.tsx +0 -34
  186. package/packages/shared-components/src/Indicator/index.ts +0 -2
  187. package/packages/shared-components/src/Layouts/FormContainer.tsx +0 -6
  188. package/packages/shared-components/src/Layouts/FormGridLayout.tsx +0 -27
  189. package/packages/shared-components/src/Layouts/FormRow/FormRow.styled.tsx +0 -39
  190. package/packages/shared-components/src/Layouts/FormRow/FormRow.tsx +0 -20
  191. package/packages/shared-components/src/Layouts/FormRow/index.ts +0 -1
  192. package/packages/shared-components/src/Layouts/FormSection.tsx +0 -22
  193. package/packages/shared-components/src/Layouts/index.ts +0 -4
  194. package/packages/shared-components/src/Loader/FacebookCircularProgress.tsx +0 -41
  195. package/packages/shared-components/src/Loader/index.ts +0 -1
  196. package/packages/shared-components/src/PadBox/PadBox.tsx +0 -21
  197. package/packages/shared-components/src/PadBox/index.ts +0 -1
  198. package/packages/shared-components/src/Pagination/Pagination.tsx +0 -42
  199. package/packages/shared-components/src/Pagination/index.ts +0 -1
  200. package/packages/shared-components/src/Stepper/Stepper.tsx +0 -54
  201. package/packages/shared-components/src/Stepper/StepperV2.tsx +0 -115
  202. package/packages/shared-components/src/Stepper/StepperV3.tsx +0 -72
  203. package/packages/shared-components/src/Stepper/index.ts +0 -3
  204. package/packages/shared-components/src/Svgs/AppLogo/AppLogoMedium.tsx +0 -65
  205. package/packages/shared-components/src/Svgs/AppLogo/AppLogoSmall.tsx +0 -48
  206. package/packages/shared-components/src/Svgs/ArrowUp.tsx +0 -11
  207. package/packages/shared-components/src/Svgs/Company/CompanyBanner.tsx +0 -480
  208. package/packages/shared-components/src/Svgs/Company/index.ts +0 -1
  209. package/packages/shared-components/src/Svgs/Drawer/SettingIcon.tsx +0 -31
  210. package/packages/shared-components/src/Svgs/Drawer/SvgBankConfig.tsx +0 -36
  211. package/packages/shared-components/src/Svgs/Drawer/SvgConfiguration.tsx +0 -16
  212. package/packages/shared-components/src/Svgs/Drawer/SvgPayroll.tsx +0 -32
  213. package/packages/shared-components/src/Svgs/Drawer/SvgsEmployees.tsx +0 -25
  214. package/packages/shared-components/src/Svgs/Drawer/SvgsOrganization.tsx +0 -36
  215. package/packages/shared-components/src/Svgs/Drawer/SvgsTransaction.tsx +0 -81
  216. package/packages/shared-components/src/Svgs/Drawer/index.ts +0 -7
  217. package/packages/shared-components/src/Svgs/FormAction.tsx +0 -118
  218. package/packages/shared-components/src/Svgs/ImportExcelSuccessIcon.tsx +0 -54
  219. package/packages/shared-components/src/Svgs/LogoIcon.tsx +0 -74
  220. package/packages/shared-components/src/Svgs/SvgAdd.tsx +0 -28
  221. package/packages/shared-components/src/Svgs/SvgCalendar.tsx +0 -89
  222. package/packages/shared-components/src/Svgs/SvgConfigure.tsx +0 -51
  223. package/packages/shared-components/src/Svgs/SvgDelete.tsx +0 -55
  224. package/packages/shared-components/src/Svgs/SvgDownload.tsx +0 -20
  225. package/packages/shared-components/src/Svgs/SvgEmail.tsx +0 -24
  226. package/packages/shared-components/src/Svgs/SvgFilterList.tsx +0 -19
  227. package/packages/shared-components/src/Svgs/SvgNoLogo.tsx +0 -66
  228. package/packages/shared-components/src/Svgs/SvgNoSign.tsx +0 -28
  229. package/packages/shared-components/src/Svgs/SvgPhone.tsx +0 -16
  230. package/packages/shared-components/src/Svgs/SvgsDrop.tsx +0 -44
  231. package/packages/shared-components/src/Svgs/SvgsEdit.tsx +0 -42
  232. package/packages/shared-components/src/Svgs/SvgsHistory.tsx +0 -40
  233. package/packages/shared-components/src/Svgs/SvgsHome.tsx +0 -18
  234. package/packages/shared-components/src/Svgs/SvgsIndicator.tsx +0 -24
  235. package/packages/shared-components/src/Svgs/index.ts +0 -14
  236. package/packages/shared-components/src/Tab/Skeleton.tsx +0 -15
  237. package/packages/shared-components/src/Tab/Tabs.tsx +0 -64
  238. package/packages/shared-components/src/Tab/index.ts +0 -1
  239. package/packages/shared-components/src/Timeline/AttendanceStatus.tsx +0 -56
  240. package/packages/shared-components/src/Timeline/Timeline.tsx +0 -171
  241. package/packages/shared-components/src/Timeline/TimelineTrackSegments.tsx +0 -130
  242. package/packages/shared-components/src/Timeline/index.ts +0 -2
  243. package/packages/shared-components/src/Toast/Toast.tsx +0 -59
  244. package/packages/shared-components/src/Toast/ToastBody.tsx +0 -26
  245. package/packages/shared-components/src/Toast/ToastFooterLink.tsx +0 -19
  246. package/packages/shared-components/src/Toast/Toaster.styled.tsx +0 -76
  247. package/packages/shared-components/src/Toast/Toaster.tsx +0 -21
  248. package/packages/shared-components/src/Toast/index.ts +0 -3
  249. package/packages/shared-components/src/Toast/toasts.tsx +0 -28
  250. package/packages/shared-components/src/Toast/types.ts +0 -13
  251. package/packages/shared-components/src/Tooltip/Tooltip.tsx +0 -36
  252. package/packages/shared-components/src/Tooltip/index.ts +0 -1
  253. package/packages/shared-components/src/UserProfileMenu/UserProfileMenu.styled.tsx +0 -33
  254. package/packages/shared-components/src/UserProfileMenu/UserProfileMenu.tsx +0 -168
  255. package/packages/shared-components/src/UserProfileMenu/index.ts +0 -1
  256. package/packages/shared-components/src/index.ts +0 -25
  257. package/packages/shared-components/src/utils/colorVariant.ts +0 -162
  258. package/packages/shared-components/src/utils/date.ts +0 -25
  259. package/packages/shared-components/src/utils/file.ts +0 -20
  260. package/packages/shared-components/src/utils/fileSizeValidate.ts +0 -5
  261. package/packages/shared-components/src/utils/index.ts +0 -9
  262. package/packages/shared-components/src/utils/theme/colorPalette.ts +0 -112
  263. package/packages/shared-components/src/utils/theme/colorPaletteUI.tsx +0 -44
  264. package/packages/shared-components/src/utils/theme/paletteDark.ts +0 -10
  265. package/packages/shared-components/src/utils/theme/paletteLight.ts +0 -31
  266. package/packages/shared-components/src/utils/theme/theme.ts +0 -297
  267. package/packages/shared-components/src/utils/theme/types.ts +0 -18
  268. package/packages/shared-components/src/utils/theme/typography.ts +0 -52
  269. package/packages/shared-components/src/utils/urlToNestedObject.ts +0 -9
  270. package/packages/shared-components/tsconfig.json +0 -8
  271. package/packages/shared-components/tsconfig.lint.json +0 -8
  272. package/packages/shared-components/turbo/generators/config.ts +0 -33
  273. package/packages/shared-components/turbo/generators/templates/component.hbs +0 -8
  274. package/packages/typescript-config/base.json +0 -20
  275. package/packages/typescript-config/nextjs.json +0 -13
  276. package/packages/typescript-config/package.json +0 -9
  277. package/packages/typescript-config/react-library.json +0 -8
  278. package/pnpm-workspace.yaml +0 -3
  279. package/turbo.json +0 -44
@@ -1,22 +0,0 @@
1
- import { Stack, Typography } from "@mui/material";
2
- import type { PropsWithChildren } from "react";
3
- import { PadBox } from "../PadBox";
4
-
5
- export const FormSection = ({
6
- title,
7
- children,
8
- }: PropsWithChildren<{ title?: string }>) => {
9
- return (
10
- <Stack gap="15px">
11
- {title && (
12
- <Typography fontWeight={700} variant="h5">
13
- {title}
14
- </Typography>
15
- )}
16
-
17
- <PadBox padding={{ padding: "20px" }}>
18
- <Stack gap="15px">{children}</Stack>
19
- </PadBox>
20
- </Stack>
21
- );
22
- };
@@ -1,4 +0,0 @@
1
- export * from "./FormContainer";
2
- export * from "./FormGridLayout";
3
- export * from "./FormRow";
4
- export * from "./FormSection";
@@ -1,41 +0,0 @@
1
- import {
2
- Box,
3
- CircularProgress,
4
- circularProgressClasses,
5
- type CircularProgressProps,
6
- } from "@mui/material";
7
-
8
- export function FacebookCircularProgress(
9
- props: Readonly<CircularProgressProps>
10
- ) {
11
- return (
12
- <Box sx={{ position: "relative" }}>
13
- <CircularProgress
14
- variant="determinate"
15
- sx={{
16
- color: (theme) => theme.palette.grey[200],
17
- }}
18
- size={40}
19
- thickness={4}
20
- {...props}
21
- value={100}
22
- />
23
- <CircularProgress
24
- variant="indeterminate"
25
- disableShrink
26
- sx={{
27
- color: (theme) => theme.palette.app?.color.butterflyBlue[900],
28
- animationDuration: "400ms",
29
- position: "absolute",
30
- left: 0,
31
- [`& .${circularProgressClasses.circle}`]: {
32
- strokeLinecap: "round",
33
- },
34
- }}
35
- size={40}
36
- thickness={4}
37
- {...props}
38
- />
39
- </Box>
40
- );
41
- }
@@ -1 +0,0 @@
1
- export * from "./FacebookCircularProgress";
@@ -1,21 +0,0 @@
1
- import { Box, type SxProps } from "@mui/material";
2
- import type { PropsWithChildren } from "react";
3
-
4
- export const PadBox = ({
5
- children,
6
- padding,
7
- }: PropsWithChildren<{ padding: SxProps }>) => {
8
- return (
9
- <Box
10
- sx={{
11
- ...padding,
12
- height: "inherit",
13
- boxSizing: "border-box",
14
- width: "100%",
15
- }}
16
- id="pad-box"
17
- >
18
- {children}
19
- </Box>
20
- );
21
- };
@@ -1 +0,0 @@
1
- export * from "./PadBox";
@@ -1,42 +0,0 @@
1
- import {
2
- TablePagination,
3
- type TablePaginationProps,
4
- useTheme,
5
- } from "@mui/material";
6
-
7
- export const Pagination = ({
8
- count,
9
- page,
10
- onPageChange,
11
- rowsPerPage,
12
- onRowsPerPageChange,
13
- ...rest
14
- }: TablePaginationProps) => {
15
- const theme = useTheme();
16
-
17
- const { grey } = theme.palette;
18
-
19
- return (
20
- <TablePagination
21
- sx={{
22
- "& .MuiInputBase-root": {
23
- paddingRight: "10px",
24
- },
25
- "& .MuiTablePagination-select": {
26
- backgroundColor: "transparent !important",
27
- },
28
- "& .MuiTablePagination-input": {
29
- border: `1.5px solid ${grey[400]}`,
30
- borderRadius: "5px",
31
- },
32
- }}
33
- component="div"
34
- count={count}
35
- page={page}
36
- onPageChange={onPageChange}
37
- rowsPerPage={rowsPerPage}
38
- onRowsPerPageChange={onRowsPerPageChange}
39
- {...rest}
40
- />
41
- );
42
- };
@@ -1 +0,0 @@
1
- export * from "./Pagination";
@@ -1,54 +0,0 @@
1
- import type {
2
- StepperProps as MuiStepperProps,
3
- StepLabelProps,
4
- } from "@mui/material";
5
- import {
6
- Stepper as MuiStepper,
7
- Step,
8
- StepLabel,
9
- Box,
10
- Typography,
11
- useTheme,
12
- } from "@mui/material";
13
-
14
- type StepperProps = MuiStepperProps & {
15
- steps: string[];
16
- showActiveStepIcon?: boolean;
17
- stepLabelProps?: StepLabelProps;
18
- };
19
-
20
- export const Stepper = ({
21
- orientation = "horizontal",
22
- activeStep = 0,
23
- stepLabelProps = {},
24
- steps,
25
- ...rest
26
- }: StepperProps) => {
27
- const theme = useTheme();
28
-
29
- const { butterflyBlue } = theme.palette.app.color;
30
-
31
- return (
32
- <Box>
33
- <MuiStepper activeStep={activeStep} orientation={orientation} {...rest}>
34
- {steps.map((label) => (
35
- <Step key={label}>
36
- <StepLabel
37
- {...stepLabelProps}
38
- sx={{
39
- ".Mui-active .css-18pqgpd-MuiSvgIcon-root-MuiStepIcon-root": {
40
- color: `${butterflyBlue[900]} !important`,
41
- },
42
- ".Mui-completed": {
43
- color: `${butterflyBlue[900]} !important`,
44
- },
45
- }}
46
- >
47
- <Typography variant="body2">{label}</Typography>
48
- </StepLabel>
49
- </Step>
50
- ))}
51
- </MuiStepper>
52
- </Box>
53
- );
54
- };
@@ -1,115 +0,0 @@
1
- import * as React from "react";
2
- import { styled } from "@mui/material/styles";
3
- import Stack from "@mui/material/Stack";
4
- import type { StepperProps } from "@mui/material/Stepper";
5
- import Stepper from "@mui/material/Stepper";
6
- import Step from "@mui/material/Step";
7
- import type { StepLabelProps } from "@mui/material/StepLabel";
8
- import StepLabel from "@mui/material/StepLabel";
9
- import Check from "@mui/icons-material/Check";
10
- import StepConnector, {
11
- stepConnectorClasses,
12
- } from "@mui/material/StepConnector";
13
- import type { StepIconProps } from "@mui/material/StepIcon";
14
-
15
- const QontoConnector = styled(StepConnector)(({ theme }) => ({
16
- [`&.${stepConnectorClasses.alternativeLabel}`]: {
17
- top: 10,
18
- left: "calc(-50% + 16px)",
19
- right: "calc(50% + 16px)",
20
- },
21
- [`&.${stepConnectorClasses.active}`]: {
22
- [`& .${stepConnectorClasses.line}`]: {
23
- borderColor: "#784af4",
24
- },
25
- },
26
- [`&.${stepConnectorClasses.completed}`]: {
27
- [`& .${stepConnectorClasses.line}`]: {
28
- borderColor: "#784af4",
29
- },
30
- },
31
- [`& .${stepConnectorClasses.line}`]: {
32
- borderColor: "#eaeaf0",
33
- borderTopWidth: 3,
34
- borderRadius: 1,
35
- ...theme.applyStyles("dark", {
36
- borderColor: theme.palette.grey[800],
37
- }),
38
- },
39
- }));
40
-
41
- const QontoStepIconRoot = styled("div")<{ ownerState: { active?: boolean } }>(
42
- ({ theme }) => ({
43
- color: "#eaeaf0",
44
- display: "flex",
45
- height: 22,
46
- alignItems: "center",
47
- "& .QontoStepIcon-completedIcon": {
48
- color: "#784af4",
49
- zIndex: 1,
50
- fontSize: 18,
51
- },
52
- "& .QontoStepIcon-circle": {
53
- width: 8,
54
- height: 8,
55
- borderRadius: "50%",
56
- backgroundColor: "currentColor",
57
- },
58
- ...theme.applyStyles("dark", {
59
- color: theme.palette.grey[700],
60
- }),
61
- variants: [
62
- {
63
- props: ({ ownerState }) => ownerState.active,
64
- style: {
65
- color: "#784af4",
66
- },
67
- },
68
- ],
69
- })
70
- );
71
-
72
- function QontoStepIcon(props: Readonly<StepIconProps>) {
73
- const { active, completed, className } = props;
74
-
75
- return (
76
- <QontoStepIconRoot ownerState={{ active }} className={className}>
77
- {completed ? (
78
- <Check className="QontoStepIcon-completedIcon" />
79
- ) : (
80
- <div className="QontoStepIcon-circle" />
81
- )}
82
- </QontoStepIconRoot>
83
- );
84
- }
85
-
86
- type StepperV2Props = StepperProps & {
87
- steps: string[];
88
- stepLabelProps?: StepLabelProps;
89
- };
90
-
91
- export const StepperV2 = ({
92
- steps,
93
- alternativeLabel = true,
94
- stepLabelProps = {},
95
- ...rest
96
- }: StepperV2Props) => {
97
- return (
98
- <Stack sx={{ width: "100%" }} spacing={4}>
99
- <Stepper
100
- alternativeLabel={alternativeLabel}
101
- activeStep={1}
102
- connector={<QontoConnector />}
103
- {...rest}
104
- >
105
- {steps.map((label) => (
106
- <Step key={label}>
107
- <StepLabel StepIconComponent={QontoStepIcon} {...stepLabelProps}>
108
- {label}
109
- </StepLabel>
110
- </Step>
111
- ))}
112
- </Stepper>
113
- </Stack>
114
- );
115
- };
@@ -1,72 +0,0 @@
1
- import type {
2
- StepperProps as MuiStepperProps,
3
- StepLabelProps,
4
- } from "@mui/material";
5
- import {
6
- Stepper as MuiStepper,
7
- Step,
8
- StepLabel,
9
- Box,
10
- Typography,
11
- useTheme,
12
- Stack,
13
- } from "@mui/material";
14
-
15
- type StepperProps = MuiStepperProps & {
16
- steps: { in_time?: string; out_time?: string }[];
17
- showActiveStepIcon?: boolean;
18
- stepLabelProps?: StepLabelProps;
19
- };
20
-
21
- export const StepperV3 = ({
22
- orientation = "horizontal",
23
- activeStep = 0,
24
- stepLabelProps = {},
25
- steps,
26
- ...rest
27
- }: StepperProps) => {
28
- const theme = useTheme();
29
-
30
- const { butterflyBlue } = theme.palette.app.color;
31
-
32
- return (
33
- <Box>
34
- <MuiStepper activeStep={activeStep} orientation={orientation} {...rest}>
35
- {steps.map((label, index) => (
36
- // eslint-disable-next-line sonarjs/no-array-index-key
37
- <Step key={index}>
38
- <StepLabel
39
- {...stepLabelProps}
40
- sx={{
41
- ".Mui-active .css-18pqgpd-MuiSvgIcon-root-MuiStepIcon-root": {
42
- color: `${butterflyBlue[900]} !important`,
43
- },
44
- ".Mui-completed .MuiStepIcon-root": {
45
- color: `${butterflyBlue[900]} !important`,
46
- },
47
- ".MuiStepIcon-text": {
48
- color: "transparent !important",
49
- display: "none",
50
- },
51
- }}
52
- >
53
- <Stack>
54
- {label?.in_time ? (
55
- <>
56
- <Typography variant="caption">In at</Typography>
57
- <Typography variant="caption">{label?.in_time}</Typography>
58
- </>
59
- ) : (
60
- <>
61
- <Typography variant="caption">Out at</Typography>
62
- <Typography variant="caption">{label?.out_time}</Typography>
63
- </>
64
- )}
65
- </Stack>
66
- </StepLabel>
67
- </Step>
68
- ))}
69
- </MuiStepper>
70
- </Box>
71
- );
72
- };
@@ -1,3 +0,0 @@
1
- export * from "./Stepper";
2
- export * from "./StepperV2";
3
- export * from "./StepperV3";
@@ -1,65 +0,0 @@
1
- import type { SVGProps } from "react";
2
-
3
- export const AppLogoMedium = (props: SVGProps<SVGSVGElement>) => {
4
- return (
5
- <svg
6
- xmlns="http://www.w3.org/2000/svg"
7
- width={117}
8
- height={42}
9
- fill="none"
10
- {...props}
11
- >
12
- <path
13
- fill="#fff"
14
- d="m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"
15
- />
16
- <path
17
- fill="#3BA4E8"
18
- stroke="#3BA4E8"
19
- strokeWidth={0.353}
20
- d="m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"
21
- />
22
- <path
23
- fill="#3BA4E8"
24
- d="m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"
25
- />
26
- <path
27
- stroke="#3BA4E8"
28
- strokeWidth={0.353}
29
- d="m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"
30
- />
31
- <path
32
- fill="#fff"
33
- d="m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"
34
- />
35
- <path
36
- stroke="#fff"
37
- strokeWidth={0.353}
38
- d="m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"
39
- />
40
- <path
41
- fill="#fff"
42
- d="M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"
43
- />
44
- <path
45
- stroke="#fff"
46
- strokeWidth={0.353}
47
- d="M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"
48
- />
49
- <path
50
- fill="#fff"
51
- d="M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"
52
- />
53
- <path
54
- fill="#fff"
55
- stroke="#fff"
56
- strokeWidth={0.353}
57
- d="M85 26.695v-2.35h-5.569v-2.364h4.977v-2.203H79.43v-2.14h5.264v-2.332H76.64v11.389H85Zm-13.287-5.727c0 2.541-1.912 3.346-3.977 3.346h-1.371v-6.66h1.439c1.997 0 3.91.756 3.91 3.314Zm3.013 0c0-4.311-3.453-5.662-6.855-5.662h-4.332v11.389h4.469c3.3 0 6.718-1.722 6.718-5.727Zm-16.198-.016c0 2.058-1.421 3.538-3.435 3.538-2.015 0-3.42-1.48-3.42-3.538 0-1.995 1.389-3.475 3.42-3.475 2.03 0 3.436 1.48 3.436 3.475Zm3.098 0C61.626 17.3 58.85 15 55.093 15c-3.74 0-6.516 2.3-6.516 5.952 0 3.603 2.776 6.048 6.516 6.048 3.757 0 6.533-2.445 6.533-6.048Zm-13.523 4.166-2.014-1.802c-.507.676-1.405 1.159-2.539 1.159-1.997 0-3.402-1.415-3.402-3.491 0-2.01 1.438-3.49 3.452-3.49.914 0 1.879.337 2.42 1.045l1.964-1.866C46.986 15.579 45.174 15 43.5 15 39.843 15 37 17.332 37 20.984 37 24.555 39.759 27 43.449 27c2.014 0 3.605-.724 4.654-1.882Z"
58
- />
59
- <path
60
- fill="#3BA4E8"
61
- d="M117 27v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12H117Zm-10.288 0v-2.475h-5.576v-2.491h4.983v-2.322h-4.983v-2.254h5.271V15h-8.068v12h8.373Zm-10.254 0v-2.509h-5.966l5.847-7.169V15h-9.204v2.457h5.577L87 24.491V27h9.458Z"
62
- />
63
- </svg>
64
- );
65
- };
@@ -1,48 +0,0 @@
1
- import type { SVGProps } from "react";
2
- export const AppLogoSmall = (props: SVGProps<SVGSVGElement>) => (
3
- <svg
4
- xmlns="http://www.w3.org/2000/svg"
5
- width={32}
6
- height={42}
7
- fill="none"
8
- {...props}
9
- >
10
- <path
11
- fill="#fff"
12
- d="m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"
13
- />
14
- <path
15
- fill="#3BA4E8"
16
- stroke="#3BA4E8"
17
- strokeWidth={0.353}
18
- d="m29.79 23-3.958.011s-1.289-.014-1.948.655c-.706.715-2.12 2.476-2.12 2.476s-.745.775-.746 1.4L21 32.738c-.003.13.002.258.016.387.07.634.402 1.656 1.95-.115 2.076-2.375 7.75-8.797 7.75-8.797s1.061-1.19-.927-1.214Z"
19
- />
20
- <path
21
- fill="#3BA4E8"
22
- d="m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"
23
- />
24
- <path
25
- stroke="#3BA4E8"
26
- strokeWidth={0.353}
27
- d="m29.79 20-3.958-.011s-1.289.014-1.948-.655c-.706-.715-2.12-2.476-2.12-2.476s-.745-.776-.747-1.4l-.016-5.197a2.89 2.89 0 0 1 .016-.387c.069-.634.402-1.656 1.95.115 2.076 2.375 7.75 8.797 7.75 8.797s1.062 1.19-.927 1.214Z"
28
- />
29
- <path
30
- fill="#fff"
31
- d="m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"
32
- />
33
- <path
34
- stroke="#fff"
35
- strokeWidth={0.353}
36
- d="m1.487 23.774 13.157 15.828s2.397 3.197 2.351-.078c-.046-3.275 0-8.792 0-8.792s.14-1.16-1.105-2.585c-1.246-1.426-4.32-5.035-4.32-5.035S10.756 22 8.597 22.004c-2.057.005-6.116-.011-6.16 0 0 0-.222-.001-.429.012-.622.04-1.61.362-.52 1.758Z"
37
- />
38
- <path
39
- fill="#fff"
40
- d="M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"
41
- />
42
- <path
43
- stroke="#fff"
44
- strokeWidth={0.353}
45
- d="M1.487 18.226 14.644 2.398s2.397-3.197 2.351.078c-.046 3.275 0 8.792 0 8.792s.14 1.16-1.105 2.585c-1.246 1.427-4.32 5.035-4.32 5.035s-.814 1.113-2.973 1.108c-2.057-.005-6.116.011-6.16 0 0 0-.222.001-.429-.012-.622-.04-1.61-.362-.52-1.758Z"
46
- />
47
- </svg>
48
- );
@@ -1,11 +0,0 @@
1
- export const ArrowUp = () => (
2
- <svg
3
- width="10"
4
- height="10"
5
- viewBox="0 0 10 9"
6
- fill="none"
7
- xmlns="http://www.w3.org/2000/svg"
8
- >
9
- <path d="M5 0L10 8.75H0L5 0Z" fill="#D9D9D9" />
10
- </svg>
11
- );