@comitor/ui 3.17.1 → 3.17.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.
Files changed (2) hide show
  1. package/README.md +2 -1
  2. package/package.json +19 -10
package/README.md CHANGED
@@ -384,7 +384,8 @@ Mỗi bản publish đi qua cùng một chuỗi cổng (`prepublishOnly` nối c
384
384
  file `dist/` tương ứng phải mở đầu y hệt (thiếu file build cũng tính là hỏng), và không hằng dữ
385
385
  liệu thuần nào được kẹt trong file client (§4.2).
386
386
  - **`smoke:entries`** nạp cả 9 entry bằng Node ESM thuần, qua đúng `exports` map (§3) — và sau đó quét `dist` tìm
387
- class mẫu Tailwind có giá trị giữ chỗ (từ `3.17.1`), thứ mà Tailwind của app đọc thành CSS hỏng.
387
+ class mẫu Tailwind có giá trị giữ chỗ (từ `3.17.1`), thứ mà Tailwind của app đọc thành CSS hỏng. Từ `3.17.2` nó còn
388
+ phân giải cả 9 entry theo điều kiện `require` — đường webpack đi khi app nạp một entry bằng `next/dynamic`.
388
389
  - **`test:editor-markdown`** — markdown là định dạng LƯU của `MarkdownEditor`, nên phép đo là tài liệu →
389
390
  markdown → tài liệu phải ra đúng tài liệu ban đầu, trên CHÍNH lược đồ trong `dist/`. Lỗi loại này không lộ
390
391
  ra lúc gõ mà ở lần mở sau. Trên lược đồ gốc của Tiptap (chưa vá) cổng trượt 16/46 — [docs/editor.md](docs/editor.md) §5.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@comitor/ui",
3
- "version": "3.17.1",
3
+ "version": "3.17.2",
4
4
  "description": "Comitor design system — Shadcn/UI tùy biến theo brand Comitor + component dùng chung cho hệ sinh thái SaaS (Tasks, Chat, CRM, HR…)",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -32,39 +32,48 @@
32
32
  "exports": {
33
33
  ".": {
34
34
  "types": "./dist/index.d.ts",
35
- "import": "./dist/index.js"
35
+ "import": "./dist/index.js",
36
+ "default": "./dist/index.js"
36
37
  },
37
38
  "./shell": {
38
39
  "types": "./dist/shell/index.d.ts",
39
- "import": "./dist/shell/index.js"
40
+ "import": "./dist/shell/index.js",
41
+ "default": "./dist/shell/index.js"
40
42
  },
41
43
  "./chart": {
42
44
  "types": "./dist/chart/index.d.ts",
43
- "import": "./dist/chart/index.js"
45
+ "import": "./dist/chart/index.js",
46
+ "default": "./dist/chart/index.js"
44
47
  },
45
48
  "./data-grid": {
46
49
  "types": "./dist/data-grid/index.d.ts",
47
- "import": "./dist/data-grid/index.js"
50
+ "import": "./dist/data-grid/index.js",
51
+ "default": "./dist/data-grid/index.js"
48
52
  },
49
53
  "./uploader": {
50
54
  "types": "./dist/uploader/index.d.ts",
51
- "import": "./dist/uploader/index.js"
55
+ "import": "./dist/uploader/index.js",
56
+ "default": "./dist/uploader/index.js"
52
57
  },
53
58
  "./editor": {
54
59
  "types": "./dist/editor/index.d.ts",
55
- "import": "./dist/editor/index.js"
60
+ "import": "./dist/editor/index.js",
61
+ "default": "./dist/editor/index.js"
56
62
  },
57
63
  "./chat": {
58
64
  "types": "./dist/chat/index.d.ts",
59
- "import": "./dist/chat/index.js"
65
+ "import": "./dist/chat/index.js",
66
+ "default": "./dist/chat/index.js"
60
67
  },
61
68
  "./form": {
62
69
  "types": "./dist/form.d.ts",
63
- "import": "./dist/form.js"
70
+ "import": "./dist/form.js",
71
+ "default": "./dist/form.js"
64
72
  },
65
73
  "./tokens": {
66
74
  "types": "./dist/tokens.d.ts",
67
- "import": "./dist/tokens.js"
75
+ "import": "./dist/tokens.js",
76
+ "default": "./dist/tokens.js"
68
77
  },
69
78
  "./styles.css": "./styles.css",
70
79
  "./package.json": "./package.json"