feat: add RowActions component for enhanced row-level actions in data grids

- Introduced RowActions component to manage row-level actions with tooltips and dropdown menus.
- Created types for row actions and page actions to standardize action properties.
- Implemented utility function to map action intents to Mantine theme colors.
- Updated CoreAppShell component to support optional slots for better flexibility.
- Added enterprise module structure with context hooks for managing module state and actions.
- Implemented draft management for forms to enhance user experience during data entry.
- Established context providers for detail, form, and index pages to streamline data handling.
- Updated dependencies to ensure compatibility with the latest versions.
This commit is contained in:
Firman Ramdhani
2026-07-01 17:04:20 +07:00
parent 1c2090f4fb
commit 8f14c4bc7b
60 changed files with 2188 additions and 442 deletions
+6 -1
View File
@@ -7,7 +7,8 @@
"./form": "./src/components/Form/index.ts",
"./hooks": "./src/hooks/index.ts",
"./provider": "./src/provider/index.ts",
"./validators": "./src/validators/index.ts"
"./validators": "./src/validators/index.ts",
"./foundations": "./src/foundations/index.ts"
},
"license": "MIT",
"scripts": {
@@ -24,7 +25,9 @@
"@mantine/core": "^8.3.15",
"@mantine/hooks": "^8.3.15",
"@mantine/tiptap": "^9.3.2",
"@repo/core-api": "workspace:^",
"@repo/core-i18n": "workspace:*",
"@repo/core-storage": "workspace:^",
"@repo/utils": "workspace:*",
"@tiptap/extension-link": "^3.27.1",
"@tiptap/extension-text-align": "^3.27.1",
@@ -33,7 +36,9 @@
"@tiptap/react": "^3.27.1",
"@tiptap/starter-kit": "^3.27.1",
"dayjs": "^1.11.19",
"lucide-react": "^1.22.0",
"react-hook-form": "^7.56.4",
"react-router-dom": "^7.11.0",
"tailwind-merge": "^3.4.0",
"tailwind-variants": "^3.2.2",
"tailwindcss": "^4.1.18",