feat: streamline component imports and update package exports for better organization

This commit is contained in:
Firman Ramdhani
2026-02-27 15:26:36 +07:00
parent 1d38a188b7
commit b0ceb3e444
13 changed files with 26 additions and 29 deletions
+2 -4
View File
@@ -3,10 +3,8 @@
"version": "0.0.0",
"exports": {
"./theme.css": "./src/theme.css",
"./components/system-pages/*": "./src/components/system-pages/*.tsx",
"./components/*": "./src/components/*.ts",
"./hooks/*": "./src/hooks/*.ts",
"./utils/*": "./src/utils/*.ts",
"./components": "./src/components/index.ts",
"./hooks": "./src/hooks/index.ts",
"./provider": "./src/provider/index.ts"
},
"license": "MIT",
-1
View File
@@ -1 +0,0 @@
export { Button, type ButtonProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Card, type CardProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Checkbox, type CheckboxProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Container, type ContainerProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Group, type GroupProps, Stack, type StackProps } from '@mantine/core';
+6
View File
@@ -0,0 +1,6 @@
export * from '@mantine/core';
export * from './system-pages/coming-soon';
export * from './system-pages/forbidden';
export * from './system-pages/maintenance';
export * from './system-pages/not-found';
-1
View File
@@ -1 +0,0 @@
export { TextInput, type TextInputProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Select, type SelectProps } from '@mantine/core';
-1
View File
@@ -1 +0,0 @@
export { Text, type TextProps, Title, type TitleProps } from '@mantine/core';
+1
View File
@@ -0,0 +1 @@
export * from '@mantine/hooks';