@easy-ui-react/easy-ui-react 1.5.0 → 1.6.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -4,6 +4,7 @@ export interface EasyUIBaseProps<TSlots extends string = string> {
4
4
  disabled?: boolean;
5
5
  className?: string;
6
6
  classNames?: Partial<Record<TSlots, string>>;
7
+ preset?: string;
7
8
  }
8
9
  export interface WithContentProps {
9
10
  startContent?: ReactNode;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@easy-ui-react/easy-ui-react",
3
3
  "private": false,
4
- "version": "1.5.0",
4
+ "version": "1.6.1",
5
5
  "description": "A React UI component library",
6
6
  "license": "MIT",
7
7
  "type": "module",
@@ -11,6 +11,14 @@
11
11
  "main": "./dist/index.cjs",
12
12
  "module": "./dist/index.js",
13
13
  "types": "./dist/index.d.ts",
14
+ "exports": {
15
+ ".": {
16
+ "import": "./dist/index.js",
17
+ "require": "./dist/index.cjs",
18
+ "types": "./dist/index.d.ts"
19
+ },
20
+ "./styles.css": "./dist/styles.css"
21
+ },
14
22
  "files": [
15
23
  "dist"
16
24
  ],
@@ -21,7 +29,7 @@
21
29
  },
22
30
  "scripts": {
23
31
  "dev": "vite",
24
- "build": "tsc -b && vite build",
32
+ "build": "tsc -b && vite build && tailwindcss -i ./src/build.css -o ./dist/styles.css",
25
33
  "lint": "eslint .",
26
34
  "preview": "vite preview",
27
35
  "storybook": "storybook dev -p 6006",
@@ -35,6 +43,7 @@
35
43
  "@storybook/addon-docs": "^10.4.1",
36
44
  "@storybook/addon-vitest": "^10.4.1",
37
45
  "@storybook/react-vite": "^10.4.1",
46
+ "@tailwindcss/cli": "^4.3.1",
38
47
  "@tailwindcss/vite": "^4.3.0",
39
48
  "@testing-library/react": "^16.3.2",
40
49
  "@types/node": "^24.12.3",