@codezee/sixtify-brahma 0.1.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.
- package/.github/workflows/deploy-storybook.yml +40 -0
- package/.husky/commit-msg +4 -0
- package/.husky/pre-commit +4 -0
- package/.husky/pre-push +4 -0
- package/.lintstagedrc +5 -0
- package/.prettierignore +11 -0
- package/.prettierrc +22 -0
- package/.vscode/extensions.json +22 -0
- package/.vscode/settings.json +17 -0
- package/README.md +81 -0
- package/apps/docs/.eslintrc.cjs +4 -0
- package/apps/docs/.eslintrc.js +9 -0
- package/apps/docs/.storybook/main.ts +23 -0
- package/apps/docs/.storybook/preview.tsx +27 -0
- package/apps/docs/next-env.d.ts +5 -0
- package/apps/docs/next.config.mjs +4 -0
- package/apps/docs/package.json +38 -0
- package/apps/docs/public/globals.css +25 -0
- package/apps/docs/stories/AgGrid/AgGrid.stories.tsx +69 -0
- package/apps/docs/stories/AppBar/AppBar.stories.tsx +39 -0
- package/apps/docs/stories/Breadcrumbs/Breadcrumbs.stories.tsx +37 -0
- package/apps/docs/stories/Button/ButtonGroup.stories.tsx +99 -0
- package/apps/docs/stories/Button/button.stories.tsx +99 -0
- package/apps/docs/stories/Card/AttendanceCard.stories.tsx +37 -0
- package/apps/docs/stories/Card/Card.stories.tsx +39 -0
- package/apps/docs/stories/Charts/PieChart.stories.tsx +264 -0
- package/apps/docs/stories/Chips/Chip.stories.tsx +141 -0
- package/apps/docs/stories/Chips/ChipWithBorder.stories.tsx +18 -0
- package/apps/docs/stories/Chips/FilterPill.stories.tsx +24 -0
- package/apps/docs/stories/Color/Color.stories.tsx +14 -0
- package/apps/docs/stories/Dialog/ButtomDialog.stories.tsx +47 -0
- package/apps/docs/stories/Dialog/DeleteDialog.stories.tsx +31 -0
- package/apps/docs/stories/Dialog/Dialog.stories.tsx +47 -0
- package/apps/docs/stories/Drawer/Drawer.stories.tsx +94 -0
- package/apps/docs/stories/FilterList/FilterList.stories.tsx +88 -0
- package/apps/docs/stories/FilterList/FilterListV2.stories.tsx +92 -0
- package/apps/docs/stories/FormFields/AutoComplete.stories.tsx +87 -0
- package/apps/docs/stories/FormFields/CheckBox.stories.tsx +61 -0
- package/apps/docs/stories/FormFields/DatePicker.stories.tsx +98 -0
- package/apps/docs/stories/FormFields/DateRangePicker.stories.tsx +37 -0
- package/apps/docs/stories/FormFields/FileUpload.stories.tsx +83 -0
- package/apps/docs/stories/FormFields/ImageUpload.stories.tsx +69 -0
- package/apps/docs/stories/FormFields/ListItemButton.stories.tsx +59 -0
- package/apps/docs/stories/FormFields/RadioGroupField.stories.tsx +170 -0
- package/apps/docs/stories/FormFields/SearchField.stories.tsx +72 -0
- package/apps/docs/stories/FormFields/TextField.stories.tsx +111 -0
- package/apps/docs/stories/FormFields/TimeField.stories.tsx +82 -0
- package/apps/docs/stories/FormFields/TimePicker.stories.tsx +82 -0
- package/apps/docs/stories/Indicator/Indicator.stories.tsx +33 -0
- package/apps/docs/stories/Indicator/SeverityIndicator.stories.tsx +27 -0
- package/apps/docs/stories/Layouts/FormRow.stories.tsx +45 -0
- package/apps/docs/stories/PadBox/PadBox.stories.tsx +49 -0
- package/apps/docs/stories/Stepper/Stepper.stories.tsx +75 -0
- package/apps/docs/stories/Stepper/StepperV2.stories.tsx +44 -0
- package/apps/docs/stories/Timeline/AttendanceStatus.stories.tsx +29 -0
- package/apps/docs/stories/Timeline/Timeline.stories.tsx +38 -0
- package/apps/docs/stories/Tooltip/Tooltip.stories.tsx +30 -0
- package/apps/docs/stories/UserProfileMenu/UserProfileMenu.stories.tsx +112 -0
- package/apps/docs/tsconfig.json +19 -0
- package/commitlint.config.cjs +6 -0
- package/index.ts +1 -0
- package/package.json +74 -0
- package/packages/eslint-config/README.md +3 -0
- package/packages/eslint-config/library.js +88 -0
- package/packages/eslint-config/next.js +85 -0
- package/packages/eslint-config/package.json +19 -0
- package/packages/eslint-config/react-internal.js +89 -0
- package/packages/shared-components/.eslintrc.js +10 -0
- package/packages/shared-components/package.json +22 -0
- package/packages/shared-components/src/Actions/AddAction.tsx +13 -0
- package/packages/shared-components/src/Actions/CalendarAction.tsx +13 -0
- package/packages/shared-components/src/Actions/DeleteAction.tsx +13 -0
- package/packages/shared-components/src/Actions/DownloadAction.tsx +13 -0
- package/packages/shared-components/src/Actions/EditAction.tsx +13 -0
- package/packages/shared-components/src/Actions/HistoryAction.tsx +13 -0
- package/packages/shared-components/src/Actions/index.ts +6 -0
- package/packages/shared-components/src/AgGrid/ActionCell/ActionCell.tsx +55 -0
- package/packages/shared-components/src/AgGrid/ActionCell/Popover.tsx +32 -0
- package/packages/shared-components/src/AgGrid/AgGrid.tsx +87 -0
- package/packages/shared-components/src/AgGrid/LoadingCell.tsx +5 -0
- package/packages/shared-components/src/AgGrid/index.ts +3 -0
- package/packages/shared-components/src/AppBar/AppBar.styled.tsx +25 -0
- package/packages/shared-components/src/AppBar/AppBar.tsx +20 -0
- package/packages/shared-components/src/AppBar/index.ts +1 -0
- package/packages/shared-components/src/Breadcrumbs/Breadcrumbs.tsx +76 -0
- package/packages/shared-components/src/Breadcrumbs/index.ts +1 -0
- package/packages/shared-components/src/Button/ActionButton.tsx +38 -0
- package/packages/shared-components/src/Button/Button.tsx +19 -0
- package/packages/shared-components/src/Button/ButtonGroup.tsx +37 -0
- package/packages/shared-components/src/Button/index.ts +3 -0
- package/packages/shared-components/src/Card/AttendanceCard.tsx +51 -0
- package/packages/shared-components/src/Card/Card.tsx +34 -0
- package/packages/shared-components/src/Card/CardItem/CardItem.tsx +33 -0
- package/packages/shared-components/src/Card/CardItem/CardItemValue.tsx +98 -0
- package/packages/shared-components/src/Card/CardItem/index.ts +2 -0
- package/packages/shared-components/src/Card/ProfileCard/ProfileCard.tsx +40 -0
- package/packages/shared-components/src/Card/ProfileCard/ProfileCardItem/ProfileCardBody.tsx +53 -0
- package/packages/shared-components/src/Card/ProfileCard/ProfileCardItem/ProfileCardHeader.tsx +96 -0
- package/packages/shared-components/src/Card/index.ts +6 -0
- package/packages/shared-components/src/Charts/PieChart.tsx +69 -0
- package/packages/shared-components/src/Charts/index.ts +1 -0
- package/packages/shared-components/src/Chips/Chip.tsx +26 -0
- package/packages/shared-components/src/Chips/ChipWithBorder.tsx +39 -0
- package/packages/shared-components/src/Chips/FilterPill.tsx +47 -0
- package/packages/shared-components/src/Chips/index.ts +3 -0
- package/packages/shared-components/src/Dialog/BottomDialog.styled.tsx +28 -0
- package/packages/shared-components/src/Dialog/BottomDialog.tsx +37 -0
- package/packages/shared-components/src/Dialog/DeleteDialog.tsx +48 -0
- package/packages/shared-components/src/Dialog/Dialog.tsx +61 -0
- package/packages/shared-components/src/Dialog/index.ts +3 -0
- package/packages/shared-components/src/Drawer/Bullet.tsx +12 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerMenuItem.tsx +50 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerMenuItemList.tsx +105 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/CloseDrawerSubMenuItemList.tsx +125 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/MenuItem.tsx +0 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/Popover.tsx +45 -0
- package/packages/shared-components/src/Drawer/CloseDrawer/Popper.tsx +43 -0
- package/packages/shared-components/src/Drawer/Drawer.styled.tsx +51 -0
- package/packages/shared-components/src/Drawer/Drawer.tsx +55 -0
- package/packages/shared-components/src/Drawer/MenuItem.tsx +69 -0
- package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerCollapse.tsx +13 -0
- package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerMenuItem.tsx +46 -0
- package/packages/shared-components/src/Drawer/OpenDrawer/OpenDrawerMenuItemList.tsx +249 -0
- package/packages/shared-components/src/Drawer/index.ts +1 -0
- package/packages/shared-components/src/FilterList/FilterList.tsx +172 -0
- package/packages/shared-components/src/FilterList/FilterListV2.tsx +504 -0
- package/packages/shared-components/src/FilterList/FilterPopup.tsx +148 -0
- package/packages/shared-components/src/FilterList/FilterPopupWrapper.tsx +113 -0
- package/packages/shared-components/src/FilterList/FilterTypeWrapper.tsx +58 -0
- package/packages/shared-components/src/FilterList/getFormData.ts +29 -0
- package/packages/shared-components/src/FilterList/index.ts +3 -0
- package/packages/shared-components/src/FormFields/Autocomplete/Autocomplete.tsx +428 -0
- package/packages/shared-components/src/FormFields/Autocomplete/Skeleton.tsx +26 -0
- package/packages/shared-components/src/FormFields/Autocomplete/index.ts +1 -0
- package/packages/shared-components/src/FormFields/CheckBox/CheckBox.styled.tsx +67 -0
- package/packages/shared-components/src/FormFields/CheckBox/CheckBox.tsx +44 -0
- package/packages/shared-components/src/FormFields/CheckBox/Skeleton.tsx +12 -0
- package/packages/shared-components/src/FormFields/CheckBox/index.ts +1 -0
- package/packages/shared-components/src/FormFields/DatePicker/DatePicker.tsx +206 -0
- package/packages/shared-components/src/FormFields/DatePicker/Skeleton.tsx +21 -0
- package/packages/shared-components/src/FormFields/DatePicker/index.ts +1 -0
- package/packages/shared-components/src/FormFields/DateRangePicker/DateRangePicker.tsx +96 -0
- package/packages/shared-components/src/FormFields/DateRangePicker/Skeleton.tsx +38 -0
- package/packages/shared-components/src/FormFields/DateRangePicker/index.ts +1 -0
- package/packages/shared-components/src/FormFields/DateTimePicker/DateTimePicker.tsx +245 -0
- package/packages/shared-components/src/FormFields/DateTimePicker/Skeleton.tsx +24 -0
- package/packages/shared-components/src/FormFields/DateTimePicker/index.ts +1 -0
- package/packages/shared-components/src/FormFields/FileUpload/FileUpload.styled.tsx +22 -0
- package/packages/shared-components/src/FormFields/FileUpload/FileUpload.tsx +197 -0
- package/packages/shared-components/src/FormFields/FileUpload/Skeleton.tsx +21 -0
- package/packages/shared-components/src/FormFields/FileUpload/UploadedFileName.tsx +27 -0
- package/packages/shared-components/src/FormFields/FileUpload/index.ts +1 -0
- package/packages/shared-components/src/FormFields/ImageUpload/ImageUpload.styled.tsx +16 -0
- package/packages/shared-components/src/FormFields/ImageUpload/ImageUpload.tsx +181 -0
- package/packages/shared-components/src/FormFields/ImageUpload/ImageUploadView.tsx +65 -0
- package/packages/shared-components/src/FormFields/ImageUpload/PhotoCaptureDialog.tsx +74 -0
- package/packages/shared-components/src/FormFields/ImageUpload/Skeleton.tsx +31 -0
- package/packages/shared-components/src/FormFields/ImageUpload/index.ts +2 -0
- package/packages/shared-components/src/FormFields/ListItemButton/ListItemButton.styled.tsx +22 -0
- package/packages/shared-components/src/FormFields/ListItemButton/ListItemButton.tsx +37 -0
- package/packages/shared-components/src/FormFields/ListItemButton/index.ts +1 -0
- package/packages/shared-components/src/FormFields/PasswordField/PasswordField.tsx +50 -0
- package/packages/shared-components/src/FormFields/PasswordField/index.ts +1 -0
- package/packages/shared-components/src/FormFields/RadioGroupField/RadioGroupField.tsx +105 -0
- package/packages/shared-components/src/FormFields/RadioGroupField/Skeleton.tsx +26 -0
- package/packages/shared-components/src/FormFields/RadioGroupField/index.ts +1 -0
- package/packages/shared-components/src/FormFields/SearchField/SearchField.tsx +21 -0
- package/packages/shared-components/src/FormFields/SearchField/index.ts +1 -0
- package/packages/shared-components/src/FormFields/Switch/Skeleton.tsx +12 -0
- package/packages/shared-components/src/FormFields/Switch/Switch.tsx +33 -0
- package/packages/shared-components/src/FormFields/Switch/index.ts +1 -0
- package/packages/shared-components/src/FormFields/TextField/Skeleton.tsx +26 -0
- package/packages/shared-components/src/FormFields/TextField/TextField.tsx +92 -0
- package/packages/shared-components/src/FormFields/TextField/index.ts +1 -0
- package/packages/shared-components/src/FormFields/TimeField/Skeleton.tsx +24 -0
- package/packages/shared-components/src/FormFields/TimeField/TimeField.tsx +120 -0
- package/packages/shared-components/src/FormFields/TimeField/index.ts +1 -0
- package/packages/shared-components/src/FormFields/TimePicker/Skeleton.tsx +24 -0
- package/packages/shared-components/src/FormFields/TimePicker/TimePicker.tsx +162 -0
- package/packages/shared-components/src/FormFields/TimePicker/index.ts +1 -0
- package/packages/shared-components/src/FormFields/index.ts +13 -0
- package/packages/shared-components/src/Indicator/Indicator.tsx +17 -0
- package/packages/shared-components/src/Indicator/SeverityIndicator.tsx +34 -0
- package/packages/shared-components/src/Indicator/index.ts +2 -0
- package/packages/shared-components/src/Layouts/FormContainer.tsx +6 -0
- package/packages/shared-components/src/Layouts/FormRow/FormRow.styled.tsx +39 -0
- package/packages/shared-components/src/Layouts/FormRow/FormRow.tsx +20 -0
- package/packages/shared-components/src/Layouts/FormRow/index.ts +1 -0
- package/packages/shared-components/src/Layouts/FormSection.tsx +22 -0
- package/packages/shared-components/src/Layouts/index.ts +3 -0
- package/packages/shared-components/src/Loader/FacebookCircularProgress.tsx +41 -0
- package/packages/shared-components/src/Loader/index.ts +1 -0
- package/packages/shared-components/src/PadBox/PadBox.tsx +21 -0
- package/packages/shared-components/src/PadBox/index.ts +1 -0
- package/packages/shared-components/src/Stepper/Stepper.tsx +54 -0
- package/packages/shared-components/src/Stepper/StepperV2.tsx +115 -0
- package/packages/shared-components/src/Stepper/StepperV3.tsx +72 -0
- package/packages/shared-components/src/Stepper/index.ts +3 -0
- package/packages/shared-components/src/Svgs/AppLogo/AppLogoMedium.tsx +65 -0
- package/packages/shared-components/src/Svgs/AppLogo/AppLogoSmall.tsx +48 -0
- package/packages/shared-components/src/Svgs/ArrowUp.tsx +11 -0
- package/packages/shared-components/src/Svgs/Company/CompanyBanner.tsx +480 -0
- package/packages/shared-components/src/Svgs/Company/index.ts +1 -0
- package/packages/shared-components/src/Svgs/Drawer/SettingIcon.tsx +51 -0
- package/packages/shared-components/src/Svgs/Drawer/SvgsEmployees.tsx +25 -0
- package/packages/shared-components/src/Svgs/Drawer/SvgsOrganization.tsx +36 -0
- package/packages/shared-components/src/Svgs/Drawer/SvgsTransaction.tsx +79 -0
- package/packages/shared-components/src/Svgs/Drawer/index.ts +4 -0
- package/packages/shared-components/src/Svgs/FormAction.tsx +118 -0
- package/packages/shared-components/src/Svgs/LogoIcon.tsx +74 -0
- package/packages/shared-components/src/Svgs/SvgAdd.tsx +28 -0
- package/packages/shared-components/src/Svgs/SvgCalendar.tsx +89 -0
- package/packages/shared-components/src/Svgs/SvgDelete.tsx +55 -0
- package/packages/shared-components/src/Svgs/SvgDownload.tsx +20 -0
- package/packages/shared-components/src/Svgs/SvgFilterList.tsx +19 -0
- package/packages/shared-components/src/Svgs/SvgNoLogo.tsx +66 -0
- package/packages/shared-components/src/Svgs/SvgNoSign.tsx +28 -0
- package/packages/shared-components/src/Svgs/SvgsDrop.tsx +44 -0
- package/packages/shared-components/src/Svgs/SvgsEdit.tsx +42 -0
- package/packages/shared-components/src/Svgs/SvgsHistory.tsx +40 -0
- package/packages/shared-components/src/Svgs/SvgsHome.tsx +16 -0
- package/packages/shared-components/src/Svgs/SvgsIndicator.tsx +20 -0
- package/packages/shared-components/src/Svgs/index.ts +12 -0
- package/packages/shared-components/src/Tab/Skeleton.tsx +15 -0
- package/packages/shared-components/src/Tab/Tabs.tsx +64 -0
- package/packages/shared-components/src/Tab/index.ts +1 -0
- package/packages/shared-components/src/Timeline/AttendanceStatus.tsx +56 -0
- package/packages/shared-components/src/Timeline/Timeline.tsx +171 -0
- package/packages/shared-components/src/Timeline/TimelineTrackSegments.tsx +121 -0
- package/packages/shared-components/src/Timeline/index.ts +2 -0
- package/packages/shared-components/src/Toast/Toast.tsx +59 -0
- package/packages/shared-components/src/Toast/ToastBody.tsx +26 -0
- package/packages/shared-components/src/Toast/ToastFooterLink.tsx +19 -0
- package/packages/shared-components/src/Toast/Toaster.styled.tsx +76 -0
- package/packages/shared-components/src/Toast/Toaster.tsx +21 -0
- package/packages/shared-components/src/Toast/index.ts +3 -0
- package/packages/shared-components/src/Toast/toasts.tsx +28 -0
- package/packages/shared-components/src/Toast/types.ts +13 -0
- package/packages/shared-components/src/Tooltip/Tooltip.tsx +36 -0
- package/packages/shared-components/src/Tooltip/index.ts +1 -0
- package/packages/shared-components/src/UserProfileMenu/UserProfileMenu.styled.tsx +37 -0
- package/packages/shared-components/src/UserProfileMenu/UserProfileMenu.tsx +107 -0
- package/packages/shared-components/src/UserProfileMenu/index.ts +1 -0
- package/packages/shared-components/src/index.ts +24 -0
- package/packages/shared-components/src/utils/colorVariant.ts +142 -0
- package/packages/shared-components/src/utils/date.ts +11 -0
- package/packages/shared-components/src/utils/file.ts +20 -0
- package/packages/shared-components/src/utils/fileSizeValidate.ts +5 -0
- package/packages/shared-components/src/utils/index.ts +5 -0
- package/packages/shared-components/src/utils/theme/colorPalette.ts +110 -0
- package/packages/shared-components/src/utils/theme/colorPaletteUI.tsx +44 -0
- package/packages/shared-components/src/utils/theme/paletteDark.ts +10 -0
- package/packages/shared-components/src/utils/theme/paletteLight.ts +31 -0
- package/packages/shared-components/src/utils/theme/theme.ts +289 -0
- package/packages/shared-components/src/utils/theme/types.ts +18 -0
- package/packages/shared-components/src/utils/theme/typography.ts +52 -0
- package/packages/shared-components/src/utils/urlToNestedObject.ts +9 -0
- package/packages/shared-components/tsconfig.json +8 -0
- package/packages/shared-components/tsconfig.lint.json +8 -0
- package/packages/shared-components/turbo/generators/config.ts +33 -0
- package/packages/shared-components/turbo/generators/templates/component.hbs +8 -0
- package/packages/typescript-config/base.json +20 -0
- package/packages/typescript-config/nextjs.json +13 -0
- package/packages/typescript-config/package.json +9 -0
- package/packages/typescript-config/react-library.json +8 -0
- package/pnpm-workspace.yaml +3 -0
- package/turbo.json +44 -0
|
@@ -0,0 +1,82 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { useForm, FieldValues } from "react-hook-form";
|
|
3
|
+
import { DateTime } from "luxon";
|
|
4
|
+
import { LocalizationProvider } from "@mui/x-date-pickers";
|
|
5
|
+
import { AdapterLuxon } from "@mui/x-date-pickers/AdapterLuxon";
|
|
6
|
+
import { TimePicker } from "@repo/shared-components";
|
|
7
|
+
|
|
8
|
+
const meta: Meta<typeof TimePicker> = {
|
|
9
|
+
title: "shared-component/FormFields/TimePicker",
|
|
10
|
+
component: TimePicker,
|
|
11
|
+
tags: ["autodocs"],
|
|
12
|
+
decorators: [
|
|
13
|
+
(Story) => (
|
|
14
|
+
<LocalizationProvider dateAdapter={AdapterLuxon}>
|
|
15
|
+
<Story />
|
|
16
|
+
</LocalizationProvider>
|
|
17
|
+
),
|
|
18
|
+
],
|
|
19
|
+
argTypes: {
|
|
20
|
+
label: { control: "text" },
|
|
21
|
+
required: { control: "boolean" },
|
|
22
|
+
disabled: { control: "boolean" },
|
|
23
|
+
readOnly: { control: "boolean" },
|
|
24
|
+
error: { control: "boolean" },
|
|
25
|
+
helperText: { control: "text" },
|
|
26
|
+
loading: { control: "boolean" },
|
|
27
|
+
format: {
|
|
28
|
+
options: ["HH:mm", "hh:mm a"],
|
|
29
|
+
control: { type: "select" },
|
|
30
|
+
},
|
|
31
|
+
},
|
|
32
|
+
render: (args) => {
|
|
33
|
+
const { control } = useForm<FieldValues>({
|
|
34
|
+
defaultValues: {
|
|
35
|
+
timeField: DateTime.now().toISOTime(),
|
|
36
|
+
},
|
|
37
|
+
});
|
|
38
|
+
return <TimePicker {...args} name="timeField" control={control} />;
|
|
39
|
+
},
|
|
40
|
+
args: {
|
|
41
|
+
label: "Select Time",
|
|
42
|
+
required: false,
|
|
43
|
+
disabled: false,
|
|
44
|
+
readOnly: false,
|
|
45
|
+
error: false,
|
|
46
|
+
helperText: "",
|
|
47
|
+
loading: false,
|
|
48
|
+
format: "HH:mm",
|
|
49
|
+
},
|
|
50
|
+
};
|
|
51
|
+
|
|
52
|
+
export default meta;
|
|
53
|
+
|
|
54
|
+
type Story = StoryObj<typeof TimePicker>;
|
|
55
|
+
|
|
56
|
+
export const DefaultTimePicker: Story = {
|
|
57
|
+
args: {
|
|
58
|
+
label: "Select Time",
|
|
59
|
+
},
|
|
60
|
+
};
|
|
61
|
+
|
|
62
|
+
export const RequiredTimePicker: Story = {
|
|
63
|
+
args: {
|
|
64
|
+
label: "Required Time",
|
|
65
|
+
required: true,
|
|
66
|
+
helperText: "This field is required",
|
|
67
|
+
},
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
export const DisabledTimePicker: Story = {
|
|
71
|
+
args: {
|
|
72
|
+
label: "Disabled Time Picker",
|
|
73
|
+
disabled: true,
|
|
74
|
+
},
|
|
75
|
+
};
|
|
76
|
+
|
|
77
|
+
export const ReadOnlyTimePicker: Story = {
|
|
78
|
+
args: {
|
|
79
|
+
label: "Read-Only Time Picker",
|
|
80
|
+
readOnly: true,
|
|
81
|
+
},
|
|
82
|
+
};
|
|
@@ -0,0 +1,33 @@
|
|
|
1
|
+
import { Indicator } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Indicator> = {
|
|
5
|
+
title: "shared-component/Indicator",
|
|
6
|
+
component: Indicator,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
variant: {
|
|
10
|
+
control: "select",
|
|
11
|
+
options: [
|
|
12
|
+
"holiday",
|
|
13
|
+
"weekly_off",
|
|
14
|
+
"paid_leave",
|
|
15
|
+
"absent",
|
|
16
|
+
"unpaid_leave",
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
args: {
|
|
21
|
+
variant: "holiday",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default meta;
|
|
26
|
+
|
|
27
|
+
type Story = StoryObj<typeof Indicator>;
|
|
28
|
+
|
|
29
|
+
export const DefaultIndicator: Story = {
|
|
30
|
+
args: {
|
|
31
|
+
label: "Holiday",
|
|
32
|
+
},
|
|
33
|
+
};
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { SeverityIndicator } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof SeverityIndicator> = {
|
|
5
|
+
title: "shared-component/Indicator/SeverityIndicator",
|
|
6
|
+
component: SeverityIndicator,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
isBackground: {
|
|
10
|
+
options: [true, false],
|
|
11
|
+
control: {
|
|
12
|
+
type: "select",
|
|
13
|
+
},
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
args: {
|
|
17
|
+
label: "Present",
|
|
18
|
+
color: "hsla(136, 59%, 49%, 1)",
|
|
19
|
+
isBackground: false,
|
|
20
|
+
},
|
|
21
|
+
};
|
|
22
|
+
|
|
23
|
+
export default meta;
|
|
24
|
+
|
|
25
|
+
type Story = StoryObj<typeof SeverityIndicator>;
|
|
26
|
+
|
|
27
|
+
export const DefaultSeverityIndicator: Story = {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
import { Box, Typography } from "@mui/material";
|
|
2
|
+
import { FormRow } from "@repo/shared-components";
|
|
3
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof FormRow> = {
|
|
6
|
+
title: "shared-component/Layouts/FormRow",
|
|
7
|
+
component: FormRow,
|
|
8
|
+
tags: ["autodocs"],
|
|
9
|
+
argTypes: {
|
|
10
|
+
maxColumn: {
|
|
11
|
+
options: [1, 2, 3],
|
|
12
|
+
control: {
|
|
13
|
+
type: "select",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
render: (args) => {
|
|
18
|
+
const childrenArray = Array.from({ length: args.maxColumn || 1 });
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<FormRow {...args}>
|
|
22
|
+
{childrenArray.map((_, index) => (
|
|
23
|
+
<Box
|
|
24
|
+
sx={{ height: "50px", backgroundColor: "lightblue" }}
|
|
25
|
+
key={index}
|
|
26
|
+
>
|
|
27
|
+
<Typography variant="caption">Item {index + 1}</Typography>
|
|
28
|
+
</Box>
|
|
29
|
+
))}
|
|
30
|
+
</FormRow>
|
|
31
|
+
);
|
|
32
|
+
},
|
|
33
|
+
};
|
|
34
|
+
|
|
35
|
+
export default meta;
|
|
36
|
+
|
|
37
|
+
type Story = StoryObj<typeof FormRow>;
|
|
38
|
+
|
|
39
|
+
export const DefaultFormRow: Story = {};
|
|
40
|
+
|
|
41
|
+
export const FullWidthFormRow: Story = {
|
|
42
|
+
args: {
|
|
43
|
+
fullWidth: true,
|
|
44
|
+
},
|
|
45
|
+
};
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import { Stack, Typography } from "@mui/material";
|
|
2
|
+
import { PadBox } from "@repo/shared-components";
|
|
3
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
4
|
+
|
|
5
|
+
const meta: Meta<typeof PadBox> = {
|
|
6
|
+
title: "shared-component/PadBox",
|
|
7
|
+
component: PadBox,
|
|
8
|
+
tags: ["autodocs"],
|
|
9
|
+
render: (args) => {
|
|
10
|
+
return (
|
|
11
|
+
<PadBox {...args}>
|
|
12
|
+
<Stack
|
|
13
|
+
justifyContent="center"
|
|
14
|
+
alignItems={"center"}
|
|
15
|
+
sx={{ width: "100%", height: "50px", backgroundColor: "lightblue" }}
|
|
16
|
+
>
|
|
17
|
+
<Typography variant="caption">Content inside PadBox</Typography>
|
|
18
|
+
</Stack>
|
|
19
|
+
</PadBox>
|
|
20
|
+
);
|
|
21
|
+
},
|
|
22
|
+
};
|
|
23
|
+
|
|
24
|
+
export default meta;
|
|
25
|
+
|
|
26
|
+
type Story = StoryObj<typeof PadBox>;
|
|
27
|
+
|
|
28
|
+
export const DefaultPadBox: Story = {
|
|
29
|
+
args: {
|
|
30
|
+
padding: { padding: "20px" },
|
|
31
|
+
},
|
|
32
|
+
};
|
|
33
|
+
|
|
34
|
+
export const NoPaddingPadBox: Story = {
|
|
35
|
+
args: {
|
|
36
|
+
padding: { padding: "0px" },
|
|
37
|
+
},
|
|
38
|
+
};
|
|
39
|
+
|
|
40
|
+
export const CustomPaddingPadBox: Story = {
|
|
41
|
+
args: {
|
|
42
|
+
padding: {
|
|
43
|
+
paddingTop: "50px",
|
|
44
|
+
paddingBottom: "30px",
|
|
45
|
+
paddingLeft: "10px",
|
|
46
|
+
paddingRight: "10px",
|
|
47
|
+
},
|
|
48
|
+
},
|
|
49
|
+
};
|
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
+
import { Stepper } from "@repo/shared-components";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Stepper> = {
|
|
5
|
+
title: "shared-component/Stepper/Stepper",
|
|
6
|
+
component: Stepper,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
activeStep: {
|
|
10
|
+
description: "Set the active step (zero-based index).",
|
|
11
|
+
control: { type: "number", min: -1 },
|
|
12
|
+
defaultValue: 0,
|
|
13
|
+
},
|
|
14
|
+
orientation: {
|
|
15
|
+
description: "The component orientation (layout flow direction).",
|
|
16
|
+
control: {
|
|
17
|
+
type: "select",
|
|
18
|
+
options: ["horizontal", "vertical"],
|
|
19
|
+
},
|
|
20
|
+
defaultValue: "horizontal",
|
|
21
|
+
},
|
|
22
|
+
alternativeLabel: {
|
|
23
|
+
description:
|
|
24
|
+
"If true and orientation is horizontal, step label will be under the icon.",
|
|
25
|
+
control: { type: "boolean" },
|
|
26
|
+
defaultValue: false,
|
|
27
|
+
},
|
|
28
|
+
stepLabelProps: {
|
|
29
|
+
description: "Props applied to the StepLabel component.",
|
|
30
|
+
control: { type: "object" },
|
|
31
|
+
defaultValue: {},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default meta;
|
|
37
|
+
|
|
38
|
+
type Story = StoryObj<typeof Stepper>;
|
|
39
|
+
|
|
40
|
+
export const DefaultStepper: Story = {
|
|
41
|
+
args: {
|
|
42
|
+
steps: ["Step 1", "Step 2", "Step 3"],
|
|
43
|
+
},
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export const HorizontalAlternativeLabel: Story = {
|
|
47
|
+
args: {
|
|
48
|
+
steps: ["Step 1", "Step 2", "Step 3"],
|
|
49
|
+
orientation: "horizontal",
|
|
50
|
+
alternativeLabel: true,
|
|
51
|
+
},
|
|
52
|
+
};
|
|
53
|
+
|
|
54
|
+
export const VerticalStepper: Story = {
|
|
55
|
+
args: {
|
|
56
|
+
steps: ["Step 1", "Step 2", "Step 3"],
|
|
57
|
+
orientation: "vertical",
|
|
58
|
+
},
|
|
59
|
+
};
|
|
60
|
+
|
|
61
|
+
export const ErrorStep: Story = {
|
|
62
|
+
args: {
|
|
63
|
+
steps: ["Step 1", "Step 2 (Error)", "Step 3"],
|
|
64
|
+
activeStep: 1,
|
|
65
|
+
stepLabelProps: { error: true },
|
|
66
|
+
},
|
|
67
|
+
};
|
|
68
|
+
|
|
69
|
+
export const CustomActiveStepIcon: Story = {
|
|
70
|
+
args: {
|
|
71
|
+
steps: ["Step 1", "Step 2", "Step 3"],
|
|
72
|
+
activeStep: 1,
|
|
73
|
+
showActiveStepIcon: true,
|
|
74
|
+
},
|
|
75
|
+
};
|
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
import { StepperV2 } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof StepperV2> = {
|
|
5
|
+
title: "shared-component/Stepper/StepperV2",
|
|
6
|
+
component: StepperV2,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
activeStep: {
|
|
10
|
+
description: "Set the active step (zero-based index).",
|
|
11
|
+
control: { type: "number", min: -1 },
|
|
12
|
+
defaultValue: 0,
|
|
13
|
+
},
|
|
14
|
+
orientation: {
|
|
15
|
+
description: "The component orientation (layout flow direction).",
|
|
16
|
+
control: {
|
|
17
|
+
type: "select",
|
|
18
|
+
options: ["horizontal", "vertical"],
|
|
19
|
+
},
|
|
20
|
+
defaultValue: "horizontal",
|
|
21
|
+
},
|
|
22
|
+
alternativeLabel: {
|
|
23
|
+
description:
|
|
24
|
+
"If true and orientation is horizontal, step label will be under the icon.",
|
|
25
|
+
control: { type: "boolean" },
|
|
26
|
+
defaultValue: false,
|
|
27
|
+
},
|
|
28
|
+
stepLabelProps: {
|
|
29
|
+
description: "Props applied to the StepLabel component.",
|
|
30
|
+
control: { type: "object" },
|
|
31
|
+
defaultValue: {},
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
export default meta;
|
|
37
|
+
|
|
38
|
+
type Story = StoryObj<typeof StepperV2>;
|
|
39
|
+
|
|
40
|
+
export const CustomizedSteppers: Story = {
|
|
41
|
+
args: {
|
|
42
|
+
steps: ["Step 1", "Step 2", "Step 3"],
|
|
43
|
+
},
|
|
44
|
+
};
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { AttendanceStatus } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof AttendanceStatus> = {
|
|
5
|
+
title: "shared-component/Timeline/AttendanceStatus",
|
|
6
|
+
component: AttendanceStatus,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
variant: {
|
|
10
|
+
control: "select",
|
|
11
|
+
options: [
|
|
12
|
+
"holiday",
|
|
13
|
+
"weekly_off",
|
|
14
|
+
"paid_leave",
|
|
15
|
+
"absent",
|
|
16
|
+
"unpaid_leave",
|
|
17
|
+
],
|
|
18
|
+
},
|
|
19
|
+
},
|
|
20
|
+
args: {
|
|
21
|
+
variant: "Holiday",
|
|
22
|
+
},
|
|
23
|
+
};
|
|
24
|
+
|
|
25
|
+
export default meta;
|
|
26
|
+
|
|
27
|
+
type Story = StoryObj<typeof AttendanceStatus>;
|
|
28
|
+
|
|
29
|
+
export const DefaultTimelineStatus: Story = {};
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Timeline } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Timeline> = {
|
|
5
|
+
title: "shared-component/Timeline/Timeline",
|
|
6
|
+
component: Timeline,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
};
|
|
9
|
+
|
|
10
|
+
export default meta;
|
|
11
|
+
|
|
12
|
+
type Story = StoryObj<typeof Timeline>;
|
|
13
|
+
|
|
14
|
+
export const DefaultTimeline: Story = {
|
|
15
|
+
args: {
|
|
16
|
+
totalDots: 24,
|
|
17
|
+
highlightedIntervals: [
|
|
18
|
+
{
|
|
19
|
+
in_time: "2024-11-18T04:00:04.000Z",
|
|
20
|
+
out_time: "2024-11-18T07:00:04.000Z",
|
|
21
|
+
status_type: "present",
|
|
22
|
+
},
|
|
23
|
+
{
|
|
24
|
+
in_time: "2024-11-18T08:00:04.000Z",
|
|
25
|
+
out_time: "2024-11-18T09:00:04.000Z",
|
|
26
|
+
status_type: "leave",
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
in_time: "2024-11-18T10:00:04.000Z",
|
|
30
|
+
out_time: "2024-11-18T13:00:04.000Z",
|
|
31
|
+
status_type: "present",
|
|
32
|
+
},
|
|
33
|
+
],
|
|
34
|
+
startTimeline: "2024-11-17T22:30:04.000Z",
|
|
35
|
+
shiftStartTime: "2024-11-18T03:00:04.000Z",
|
|
36
|
+
shiftEndTime: "2024-11-18T13:00:04.000Z",
|
|
37
|
+
},
|
|
38
|
+
};
|
|
@@ -0,0 +1,30 @@
|
|
|
1
|
+
import { Tooltip } from "@repo/shared-components";
|
|
2
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
3
|
+
|
|
4
|
+
const meta: Meta<typeof Tooltip> = {
|
|
5
|
+
title: "shared-component/Tooltip",
|
|
6
|
+
component: Tooltip,
|
|
7
|
+
tags: ["autodocs"],
|
|
8
|
+
argTypes: {
|
|
9
|
+
text: {
|
|
10
|
+
control: "text",
|
|
11
|
+
description: "Text to be displayed inside the tooltip",
|
|
12
|
+
},
|
|
13
|
+
},
|
|
14
|
+
};
|
|
15
|
+
|
|
16
|
+
export default meta;
|
|
17
|
+
|
|
18
|
+
type Story = StoryObj<typeof Tooltip>;
|
|
19
|
+
|
|
20
|
+
export const DefaultTooltip: Story = {
|
|
21
|
+
args: {
|
|
22
|
+
text: "This is a default tooltip",
|
|
23
|
+
},
|
|
24
|
+
};
|
|
25
|
+
|
|
26
|
+
export const LongTextTooltip: Story = {
|
|
27
|
+
args: {
|
|
28
|
+
text: "This tooltip has a long text that will be truncated if it exceeds the maximum width of 150px.",
|
|
29
|
+
},
|
|
30
|
+
};
|
|
@@ -0,0 +1,112 @@
|
|
|
1
|
+
import { AccountCircle, Logout, Settings } from "@mui/icons-material";
|
|
2
|
+
import { UserProfileMenu } from "@repo/shared-components";
|
|
3
|
+
import { Meta, StoryObj } from "@storybook/react";
|
|
4
|
+
import { fn } from "@storybook/test";
|
|
5
|
+
|
|
6
|
+
const meta: Meta<typeof UserProfileMenu> = {
|
|
7
|
+
title: "shared-component/UserProfileMenu",
|
|
8
|
+
component: UserProfileMenu,
|
|
9
|
+
tags: ["autodocs"],
|
|
10
|
+
argTypes: {
|
|
11
|
+
userDetails: { control: "object" },
|
|
12
|
+
menuItems: {
|
|
13
|
+
control: {
|
|
14
|
+
type: "object",
|
|
15
|
+
},
|
|
16
|
+
},
|
|
17
|
+
},
|
|
18
|
+
args: {
|
|
19
|
+
userDetails: {
|
|
20
|
+
name: "John Doe",
|
|
21
|
+
email: "john.doe@example.com",
|
|
22
|
+
avatar: "https://i.pravatar.cc/150?img=3",
|
|
23
|
+
},
|
|
24
|
+
menuItems: [],
|
|
25
|
+
},
|
|
26
|
+
};
|
|
27
|
+
|
|
28
|
+
export default meta;
|
|
29
|
+
|
|
30
|
+
type Story = StoryObj<typeof UserProfileMenu>;
|
|
31
|
+
|
|
32
|
+
export const DefaultUserProfileMenu: Story = {
|
|
33
|
+
args: {
|
|
34
|
+
userDetails: {
|
|
35
|
+
name: "John Doe",
|
|
36
|
+
email: "john.doe@example.com",
|
|
37
|
+
avatar: "https://i.pravatar.cc/150?img=3",
|
|
38
|
+
},
|
|
39
|
+
menuItems: [],
|
|
40
|
+
},
|
|
41
|
+
};
|
|
42
|
+
|
|
43
|
+
export const UserProfileMenuWithItems: Story = {
|
|
44
|
+
args: {
|
|
45
|
+
userDetails: {
|
|
46
|
+
name: "Jane Smith",
|
|
47
|
+
email: "jane.smith@example.com",
|
|
48
|
+
avatar: "https://i.pravatar.cc/150?img=10",
|
|
49
|
+
},
|
|
50
|
+
menuItems: [
|
|
51
|
+
{
|
|
52
|
+
key: "profile",
|
|
53
|
+
label: "Profile",
|
|
54
|
+
icon: <AccountCircle />,
|
|
55
|
+
onClick: fn(),
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
key: "settings",
|
|
59
|
+
label: "Settings",
|
|
60
|
+
icon: <Settings />,
|
|
61
|
+
onClick: fn(),
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
key: "logout",
|
|
65
|
+
label: "Logout",
|
|
66
|
+
icon: <Logout />,
|
|
67
|
+
divider: true,
|
|
68
|
+
onClick: fn(),
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
},
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
export const UserProfileMenuWithDividers: Story = {
|
|
75
|
+
args: {
|
|
76
|
+
userDetails: {
|
|
77
|
+
name: "Alice Johnson",
|
|
78
|
+
email: "alice.johnson@example.com",
|
|
79
|
+
avatar: "https://i.pravatar.cc/150?img=5",
|
|
80
|
+
},
|
|
81
|
+
menuItems: [
|
|
82
|
+
{
|
|
83
|
+
key: "profile",
|
|
84
|
+
label: "Profile",
|
|
85
|
+
icon: <AccountCircle />,
|
|
86
|
+
onClick: fn(),
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
key: "divider1",
|
|
90
|
+
label: "",
|
|
91
|
+
divider: true,
|
|
92
|
+
},
|
|
93
|
+
{
|
|
94
|
+
key: "settings",
|
|
95
|
+
label: "Settings",
|
|
96
|
+
icon: <Settings />,
|
|
97
|
+
onClick: fn(),
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
key: "divider2",
|
|
101
|
+
label: "",
|
|
102
|
+
divider: true,
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
key: "logout",
|
|
106
|
+
label: "Logout",
|
|
107
|
+
icon: <Logout />,
|
|
108
|
+
onClick: fn(),
|
|
109
|
+
},
|
|
110
|
+
],
|
|
111
|
+
},
|
|
112
|
+
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
{
|
|
2
|
+
"extends": "@repo/typescript-config/nextjs.json",
|
|
3
|
+
"compilerOptions": {
|
|
4
|
+
"plugins": [
|
|
5
|
+
{
|
|
6
|
+
"name": "next"
|
|
7
|
+
}
|
|
8
|
+
]
|
|
9
|
+
},
|
|
10
|
+
"include": [
|
|
11
|
+
"next-auth.ds",
|
|
12
|
+
"next-env.d.ts",
|
|
13
|
+
"next.config.js",
|
|
14
|
+
"**/*.ts",
|
|
15
|
+
"**/*.tsx",
|
|
16
|
+
".next/types/**/*.ts"
|
|
17
|
+
],
|
|
18
|
+
"exclude": ["node_modules"]
|
|
19
|
+
}
|
package/index.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from "./packages/shared-components/src";
|
package/package.json
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@codezee/sixtify-brahma",
|
|
3
|
+
"version": "0.1.1",
|
|
4
|
+
"scripts": {
|
|
5
|
+
"lint": "turbo lint",
|
|
6
|
+
"format": "prettier --write \"**/*.{ts,tsx}\"",
|
|
7
|
+
"prepare": "husky install",
|
|
8
|
+
"build": "turbo build"
|
|
9
|
+
},
|
|
10
|
+
"main": "index.ts",
|
|
11
|
+
"devDependencies": {
|
|
12
|
+
"@commitlint/cli": "^19.3.0",
|
|
13
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
14
|
+
"@types/lodash": "^4.17.5",
|
|
15
|
+
"@types/luxon": "^3.4.2",
|
|
16
|
+
"@types/node": "^22.10.0",
|
|
17
|
+
"@types/react-date-range": "^1.4.9",
|
|
18
|
+
"@types/react-image-gallery": "^1.2.4",
|
|
19
|
+
"@types/uuid": "^10.0.0",
|
|
20
|
+
"eslint-config-prettier": "^9.1.0",
|
|
21
|
+
"eslint-plugin-prettier": "^5.2.1",
|
|
22
|
+
"husky": "^8.0.0",
|
|
23
|
+
"lint-staged": "^15.2.7",
|
|
24
|
+
"prettier": "^3.2.5",
|
|
25
|
+
"turbo": "latest",
|
|
26
|
+
"typescript": "^5.4.5"
|
|
27
|
+
},
|
|
28
|
+
"packageManager": "pnpm@8.15.6",
|
|
29
|
+
"engines": {
|
|
30
|
+
"node": ">=18"
|
|
31
|
+
},
|
|
32
|
+
"peerDependencies": {
|
|
33
|
+
"react": "^17.0.0 || ^18.0.0",
|
|
34
|
+
"react-dom": "^17.0.0 || ^18.0.0"
|
|
35
|
+
},
|
|
36
|
+
"dependencies": {
|
|
37
|
+
"@emotion/react": "^11.11.4",
|
|
38
|
+
"@emotion/styled": "^11.11.5",
|
|
39
|
+
"@hookform/resolvers": "^3.6.0",
|
|
40
|
+
"@mui/icons-material": "^5.15.20",
|
|
41
|
+
"@mui/material": "^5.15.20",
|
|
42
|
+
"@mui/styled-engine-sc": "6.0.0-alpha.18",
|
|
43
|
+
"@mui/x-charts": "^7.22.3",
|
|
44
|
+
"@mui/x-data-grid": "^7.6.2",
|
|
45
|
+
"@mui/x-date-pickers": "^7.8.0",
|
|
46
|
+
"@tanstack/react-query": "^5.48.0",
|
|
47
|
+
"@tanstack/react-query-devtools": "^5.48.0",
|
|
48
|
+
"@types/file-saver": "^2.0.7",
|
|
49
|
+
"ag-grid-community": "^31.3.2",
|
|
50
|
+
"ag-grid-react": "^31.3.2",
|
|
51
|
+
"axios": "^1.7.2",
|
|
52
|
+
"date-fns": "^4.1.0",
|
|
53
|
+
"eslint-plugin-sonarjs": "1.0.4-alpha.1",
|
|
54
|
+
"file-saver": "^2.0.5",
|
|
55
|
+
"file64": "1.0.1",
|
|
56
|
+
"gh-pages": "^6.3.0",
|
|
57
|
+
"i18next": "^23.12.1",
|
|
58
|
+
"jszip": "^3.10.1",
|
|
59
|
+
"lodash": "^4.17.21",
|
|
60
|
+
"luxon": "^3.4.4",
|
|
61
|
+
"next": "^14.2.5",
|
|
62
|
+
"next-auth": "^4.24.7",
|
|
63
|
+
"react-date-range": "^2.0.1",
|
|
64
|
+
"react-hook-form": "^7.51.5",
|
|
65
|
+
"react-i18next": "^14.1.2",
|
|
66
|
+
"react-multi-carousel": "^2.8.5",
|
|
67
|
+
"react-toastify": "^10.0.5",
|
|
68
|
+
"react-webcam": "7.2.0",
|
|
69
|
+
"styled-components": "^6.1.11",
|
|
70
|
+
"usehooks-ts": "^3.1.0",
|
|
71
|
+
"uuid": "^10.0.0",
|
|
72
|
+
"zod": "^3.23.8"
|
|
73
|
+
}
|
|
74
|
+
}
|