klun-ui 0.7.1 → 0.7.2

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "klun-ui",
3
- "version": "0.7.1",
3
+ "version": "0.7.2",
4
4
  "description": "Klun UI — a themeable React + TypeScript component library and design system (light/dark, 6 accent themes, global radius axis).",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -16,6 +16,16 @@
16
16
  "import": "./dist/index.js",
17
17
  "require": "./dist/index.cjs"
18
18
  },
19
+ "./antd": {
20
+ "import": {
21
+ "types": "./dist/antd/index.d.ts",
22
+ "default": "./dist/antd/index.js"
23
+ },
24
+ "require": {
25
+ "types": "./dist/antd/index.d.cts",
26
+ "default": "./dist/antd/index.cjs"
27
+ }
28
+ },
19
29
  "./templates": {
20
30
  "types": "./dist/templates/index.d.ts",
21
31
  "import": "./dist/templates/index.js",
@@ -36,9 +46,9 @@
36
46
  "LICENSE"
37
47
  ],
38
48
  "scripts": {
39
- "build:js": "tsup",
49
+ "build:js": "node --max-old-space-size=8192 node_modules/tsup/dist/cli-default.js",
40
50
  "build:css": "node scripts/build-css.mjs",
41
- "build": "tsup && node scripts/build-css.mjs",
51
+ "build": "pnpm run build:js && pnpm run build:css",
42
52
  "typecheck": "tsc --noEmit",
43
53
  "test": "vitest run",
44
54
  "test:watch": "vitest",
@@ -51,7 +61,7 @@
51
61
  "verify": "node scripts/kds-verify.mjs",
52
62
  "storybook": "storybook dev -p 6006",
53
63
  "build-storybook": "storybook build",
54
- "prepublishOnly": "tsup && node scripts/build-css.mjs"
64
+ "prepublishOnly": "pnpm run build"
55
65
  },
56
66
  "peerDependencies": {
57
67
  "react": ">=18",
@@ -73,6 +83,7 @@
73
83
  "@types/react": "^18.3.12",
74
84
  "@types/react-dom": "^18.3.1",
75
85
  "@vitejs/plugin-react": "^4.7.0",
86
+ "dayjs": "1.11.23",
76
87
  "esbuild": "^0.24.0",
77
88
  "jsdom": "^25",
78
89
  "react": "^18.3.1",
@@ -109,6 +120,7 @@
109
120
  "registry": "https://registry.npmjs.org/"
110
121
  },
111
122
  "dependencies": {
123
+ "antd": "6.7.2",
112
124
  "@dnd-kit/core": "^6.3.1",
113
125
  "@dnd-kit/sortable": "^10.0.0",
114
126
  "@dnd-kit/utilities": "^3.2.2"