* fix: enhance DataTable pagination examples and improve display logic - Added a note in the DataTableStory component to clarify that examples show only the first page of data for demonstration purposes. - Adjusted pagination examples to reflect smaller datasets, changing the displayed data slices for better clarity and testing. - Updated the Pagination component to calculate and display the current record range more accurately based on the current page index and size. * chore(dependencies): update package versions for improved compatibility - Upgraded `@supabase/supabase-js` from `2.55.0` to `2.57.0` for enhanced functionality and performance. - Bumped `@tanstack/react-query` from `5.85.5` to `5.85.9` to incorporate the latest improvements. - Updated `ai` from `5.0.28` to `5.0.30` for better performance. - Incremented `nodemailer` from `7.0.5` to `7.0.6` for stability. - Updated `typescript-eslint` from `8.41.0` to `8.42.0` for improved type definitions and linting capabilities. - Adjusted various package dependencies across multiple components to ensure compatibility and stability. * chore(dependencies): update package versions for improved compatibility - Upgraded `@ai-sdk/openai` from `2.0.23` to `2.0.24` for enhanced functionality. - Bumped `@tanstack/react-query` from `5.85.9` to `5.86.0` to incorporate the latest improvements. - Updated `ai` from `5.0.30` to `5.0.33` for better performance. - Incremented `@types/node` from `24.3.0` to `24.3.1` for type safety enhancements. - Updated `dotenv` from `17.2.1` to `17.2.2` for stability. - Adjusted `tailwindcss` and related packages to `4.1.13` for improved styling capabilities. - Updated `react-i18next` from `15.7.3` to `15.7.3` to include the latest localization fixes. - Incremented `@sentry/nextjs` from `10.8.0` to `10.10.0` for enhanced monitoring features. - Updated various package dependencies across multiple components to ensure compatibility and stability. * fix(config): conditionally disable `devIndicators` in CI environment * feat(settings): encapsulate danger zone actions in a styled card component - Introduced a new `DangerZoneCard` component to enhance the visual presentation of danger zone actions in the team account settings. - Updated `TeamAccountDangerZone` to wrap deletion and leave actions within the `DangerZoneCard` for improved user experience. - Removed redundant card structure from `TeamAccountSettingsContainer` to streamline the component hierarchy. * fix(e2e): improve admin account tests for response handling and visibility checks - Enhanced the admin test suite by adding a check for the POST request method when waiting for the response from the `/admin/accounts` endpoint. - Reduced wait times in the `filterAccounts` function for improved test performance. - Updated the `selectAccount` function to ensure the account link is visible before clicking, enhancing reliability in the test flow. * chore(dependencies): update package versions for improved compatibility - Upgraded `@supabase/supabase-js` from `2.57.0` to `2.57.2` for enhanced functionality and performance. - Bumped `@tanstack/react-query` from `5.86.0` to `5.87.1` to incorporate the latest improvements. - Updated `i18next` from `25.5.1` to `25.5.2` for better localization support. - Incremented `eslint` from `9.34.0` to `9.35.0` for improved linting capabilities. - Adjusted various package dependencies across multiple components to ensure compatibility and stability. * feat(admin): enhance user ban and reactivation actions with success handling - Updated `AdminBanUserDialog` and `AdminReactivateUserDialog` components to handle success states based on the results of the respective actions. - Modified `banUserAction` and `reactivateUserAction` to return success status and log errors if the actions fail. - Introduced `revalidatePage` function to refresh the user account page after banning or reactivating a user. - Improved error handling in the dialogs to provide better feedback to the admin user. * feat(admin): refactor user ban and reactivation dialogs for improved structure and error handling - Introduced `BanUserForm` and `ReactivateUserForm` components to encapsulate form logic within the respective dialogs, enhancing readability and maintainability. - Updated the `AdminBanUserDialog` and `AdminReactivateUserDialog` components to utilize the new form components, streamlining the user interface. - Enhanced error handling to provide clearer feedback to the admin user during ban and reactivation actions. - Removed unnecessary revalidation calls in the server actions to optimize performance and maintain clarity in the action flow. - Added `@types/react-dom` dependency for improved type definitions. * refactor(admin): streamline user dialogs and server actions for improved clarity - Removed unnecessary `useRouter` imports from `AdminBanUserDialog` and `AdminReactivateUserDialog` components to simplify the code. - Updated `revalidateAdmin` function calls to use `revalidatePath` with specific paths, enhancing clarity in the server actions. - Ensured that the user dialogs maintain a clean structure while focusing on form logic and error handling.
129 lines
4.8 KiB
JSON
129 lines
4.8 KiB
JSON
{
|
|
"name": "@kit/ui",
|
|
"private": true,
|
|
"version": "0.1.0",
|
|
"scripts": {
|
|
"clean": "git clean -xdf .turbo node_modules",
|
|
"format": "prettier --check \"**/*.{ts,tsx}\"",
|
|
"lint": "eslint .",
|
|
"typecheck": "tsc --noEmit"
|
|
},
|
|
"dependencies": {
|
|
"@hookform/resolvers": "^5.2.1",
|
|
"@radix-ui/react-icons": "^1.3.2",
|
|
"clsx": "^2.1.1",
|
|
"cmdk": "1.1.1",
|
|
"input-otp": "1.4.2",
|
|
"lucide-react": "^0.542.0",
|
|
"radix-ui": "1.4.3",
|
|
"react-dropzone": "^14.3.8",
|
|
"react-top-loading-bar": "3.0.2",
|
|
"recharts": "2.15.3",
|
|
"tailwind-merge": "^3.3.1"
|
|
},
|
|
"devDependencies": {
|
|
"@kit/eslint-config": "workspace:*",
|
|
"@kit/prettier-config": "workspace:*",
|
|
"@kit/tsconfig": "workspace:*",
|
|
"@supabase/supabase-js": "2.57.2",
|
|
"@tanstack/react-query": "5.87.1",
|
|
"@tanstack/react-table": "^8.21.3",
|
|
"@types/react": "19.1.12",
|
|
"@types/react-dom": "19.1.9",
|
|
"class-variance-authority": "^0.7.1",
|
|
"date-fns": "^4.1.0",
|
|
"eslint": "^9.35.0",
|
|
"next": "15.5.2",
|
|
"next-themes": "0.4.6",
|
|
"prettier": "^3.6.2",
|
|
"react-day-picker": "^9.9.0",
|
|
"react-hook-form": "^7.62.0",
|
|
"react-i18next": "^15.7.3",
|
|
"sonner": "^2.0.7",
|
|
"tailwindcss": "4.1.13",
|
|
"tailwindcss-animate": "^1.0.7",
|
|
"typescript": "^5.9.2",
|
|
"zod": "^3.25.74"
|
|
},
|
|
"prettier": "@kit/prettier-config",
|
|
"imports": {
|
|
"#utils": [
|
|
"./src/lib/utils/index.ts"
|
|
]
|
|
},
|
|
"exports": {
|
|
"./accordion": "./src/shadcn/accordion.tsx",
|
|
"./alert-dialog": "./src/shadcn/alert-dialog.tsx",
|
|
"./avatar": "./src/shadcn/avatar.tsx",
|
|
"./button": "./src/shadcn/button.tsx",
|
|
"./calendar": "./src/shadcn/calendar.tsx",
|
|
"./card": "./src/shadcn/card.tsx",
|
|
"./checkbox": "./src/shadcn/checkbox.tsx",
|
|
"./command": "./src/shadcn/command.tsx",
|
|
"./data-table": "./src/shadcn/data-table.tsx",
|
|
"./dialog": "./src/shadcn/dialog.tsx",
|
|
"./dropdown-menu": "./src/shadcn/dropdown-menu.tsx",
|
|
"./navigation-menu": "./src/shadcn/navigation-menu.tsx",
|
|
"./form": "./src/shadcn/form.tsx",
|
|
"./input": "./src/shadcn/input.tsx",
|
|
"./label": "./src/shadcn/label.tsx",
|
|
"./popover": "./src/shadcn/popover.tsx",
|
|
"./progress": "./src/shadcn/progress.tsx",
|
|
"./scroll-area": "./src/shadcn/scroll-area.tsx",
|
|
"./select": "./src/shadcn/select.tsx",
|
|
"./sheet": "./src/shadcn/sheet.tsx",
|
|
"./slider": "./src/shadcn/slider.tsx",
|
|
"./table": "./src/shadcn/table.tsx",
|
|
"./tabs": "./src/shadcn/tabs.tsx",
|
|
"./tooltip": "./src/shadcn/tooltip.tsx",
|
|
"./sonner": "./src/shadcn/sonner.tsx",
|
|
"./heading": "./src/shadcn/heading.tsx",
|
|
"./alert": "./src/shadcn/alert.tsx",
|
|
"./badge": "./src/shadcn/badge.tsx",
|
|
"./radio-group": "./src/shadcn/radio-group.tsx",
|
|
"./separator": "./src/shadcn/separator.tsx",
|
|
"./input-otp": "./src/shadcn/input-otp.tsx",
|
|
"./textarea": "./src/shadcn/textarea.tsx",
|
|
"./switch": "./src/shadcn/switch.tsx",
|
|
"./breadcrumb": "./src/shadcn/breadcrumb.tsx",
|
|
"./chart": "./src/shadcn/chart.tsx",
|
|
"./skeleton": "./src/shadcn/skeleton.tsx",
|
|
"./shadcn-sidebar": "./src/shadcn/sidebar.tsx",
|
|
"./collapsible": "./src/shadcn/collapsible.tsx",
|
|
"./utils": "./src/lib/utils/index.ts",
|
|
"./if": "./src/makerkit/if.tsx",
|
|
"./trans": "./src/makerkit/trans.tsx",
|
|
"./sidebar": "./src/makerkit/sidebar.tsx",
|
|
"./navigation-schema": "./src/makerkit/navigation-config.schema.ts",
|
|
"./bordered-navigation-menu": "./src/makerkit/bordered-navigation-menu.tsx",
|
|
"./spinner": "./src/makerkit/spinner.tsx",
|
|
"./page": "./src/makerkit/page.tsx",
|
|
"./image-uploader": "./src/makerkit/image-uploader.tsx",
|
|
"./global-loader": "./src/makerkit/global-loader.tsx",
|
|
"./auth-change-listener": "./src/makerkit/auth-change-listener.tsx",
|
|
"./loading-overlay": "./src/makerkit/loading-overlay.tsx",
|
|
"./profile-avatar": "./src/makerkit/profile-avatar.tsx",
|
|
"./mode-toggle": "./src/makerkit/mode-toggle.tsx",
|
|
"./mobile-mode-toggle": "./src/makerkit/mobile-mode-toggle.tsx",
|
|
"./enhanced-data-table": "./src/makerkit/data-table.tsx",
|
|
"./language-selector": "./src/makerkit/language-selector.tsx",
|
|
"./stepper": "./src/makerkit/stepper.tsx",
|
|
"./cookie-banner": "./src/makerkit/cookie-banner.tsx",
|
|
"./card-button": "./src/makerkit/card-button.tsx",
|
|
"./version-updater": "./src/makerkit/version-updater.tsx",
|
|
"./multi-step-form": "./src/makerkit/multi-step-form.tsx",
|
|
"./app-breadcrumbs": "./src/makerkit/app-breadcrumbs.tsx",
|
|
"./empty-state": "./src/makerkit/empty-state.tsx",
|
|
"./marketing": "./src/makerkit/marketing/index.tsx",
|
|
"./oauth-provider-logo-image": "./src/makerkit/oauth-provider-logo-image.tsx",
|
|
"./file-uploader": "./src/makerkit/file-uploader.tsx"
|
|
},
|
|
"typesVersions": {
|
|
"*": {
|
|
"*": [
|
|
"src/*"
|
|
]
|
|
}
|
|
}
|
|
}
|