feat: streamline component imports and update package exports for better organization
This commit is contained in:
@@ -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 +0,0 @@
|
||||
export { Button, type ButtonProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Card, type CardProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Checkbox, type CheckboxProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Container, type ContainerProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Group, type GroupProps, Stack, type StackProps } from '@mantine/core';
|
||||
@@ -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 +0,0 @@
|
||||
export { TextInput, type TextInputProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Select, type SelectProps } from '@mantine/core';
|
||||
@@ -1 +0,0 @@
|
||||
export { Text, type TextProps, Title, type TitleProps } from '@mantine/core';
|
||||
@@ -0,0 +1 @@
|
||||
export * from '@mantine/hooks';
|
||||
Reference in New Issue
Block a user