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
+17 -4
View File
@@ -183,8 +183,8 @@ importers:
specifier: ^24.2.2
version: 24.2.3(typescript@5.5.4)
lucide-react:
specifier: ^1.17.0
version: 1.17.0(react@19.2.3)
specifier: ^1.22.0
version: 1.22.0(react@19.2.3)
react:
specifier: ^19.2.3
version: 19.2.3
@@ -446,9 +446,15 @@ importers:
'@mantine/tiptap':
specifier: ^9.3.2
version: 9.3.2(@mantine/core@8.3.15)(@mantine/hooks@8.3.15)(@tiptap/extension-link@3.27.1)(@tiptap/react@3.27.1)(react-dom@19.2.3)(react@19.2.3)
'@repo/core-api':
specifier: workspace:^
version: link:../core-api
'@repo/core-i18n':
specifier: workspace:*
version: link:../core-i18n
'@repo/core-storage':
specifier: workspace:^
version: link:../core-storage
'@repo/utils':
specifier: workspace:*
version: link:../utils
@@ -473,9 +479,15 @@ importers:
dayjs:
specifier: ^1.11.19
version: 1.11.19
lucide-react:
specifier: ^1.22.0
version: 1.22.0(react@19.2.3)
react-hook-form:
specifier: ^7.56.4
version: 7.79.0(react@19.2.3)
react-router-dom:
specifier: ^7.11.0
version: 7.11.0(react-dom@19.2.3)(react@19.2.3)
tailwind-merge:
specifier: ^3.4.0
version: 3.4.0
@@ -1673,6 +1685,7 @@ packages:
/@floating-ui/core@1.7.4:
resolution: {integrity: sha512-C3HlIdsBxszvm5McXlB8PeOEWfBhcGBTZGkGlWc2U0KFY5IwG5OQEuQ8rq52DZmcHDlPLd+YFBK+cZcytwIFWg==}
requiresBuild: true
dependencies:
'@floating-ui/utils': 0.2.10
dev: false
@@ -8627,8 +8640,8 @@ packages:
resolution: {integrity: sha512-AI2r85+4MquTw9ZYqabu4nMwy9Oftlfa/e/52t9IjtfG+mGBbTNdAoZ3RQKLHR6r0wQnwZnPIEh/Ya6XTWAKNA==}
dev: true
/lucide-react@1.17.0(react@19.2.3):
resolution: {integrity: sha512-9FA9evdox/JQL5PT57fdA1x/yg8T7knJ98+zjTL3UfKza6pflQUUh3XtaQIHKvnsJw1lmsEyHVlt5jchYxOQ5w==}
/lucide-react@1.22.0(react@19.2.3):
resolution: {integrity: sha512-c9o3l0PiNcgOQDW4F31BEYHudE7kgxVt3o30qMl36ZPwTxXlGB4QnLilhERvVM4uh/pl5MDyY1/gzZSYcHDtBg==}
peerDependencies:
react: ^16.5.1 || ^17.0.0 || ^18.0.0 || ^19.0.0
dependencies: