@jackice/pi-ui 0.7.2 → 0.7.3

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/CHANGELOG.md +4 -0
  2. package/package.json +31 -6
package/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Changelog
2
2
 
3
+ ## 0.7.3
4
+
5
+ - 新增 `core/theme`、`views/bash`、`views/write`、`views/read` subpath exports,降低消费者冷启动与 RSS。
6
+
3
7
  ## 0.7.2
4
8
 
5
9
  - `WriteView` 高亮缓存接受 `themeRevision`,主题切换后重新计算。
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@jackice/pi-ui",
3
- "version": "0.7.2",
3
+ "version": "0.7.3",
4
4
  "description": "Terminal UI components for Pi extensions: theme mapping, ANSI-safe layout, panels, status lines, segment bars, gauges, diff frames, Edit/TODO/Approval views.",
5
5
  "type": "module",
6
6
  "license": "MIT",
@@ -14,23 +14,48 @@
14
14
  "exports": {
15
15
  ".": {
16
16
  "types": "./dist/index.d.ts",
17
- "import": "./dist/index.js"
17
+ "import": "./dist/index.js",
18
+ "default": "./dist/index.js"
18
19
  },
19
20
  "./diff": {
20
21
  "types": "./dist/diff/index.d.ts",
21
- "import": "./dist/diff/index.js"
22
+ "import": "./dist/diff/index.js",
23
+ "default": "./dist/diff/index.js"
22
24
  },
23
25
  "./views/edit": {
24
26
  "types": "./dist/views/edit.d.ts",
25
- "import": "./dist/views/edit.js"
27
+ "import": "./dist/views/edit.js",
28
+ "default": "./dist/views/edit.js"
26
29
  },
27
30
  "./views/todo": {
28
31
  "types": "./dist/views/todo.d.ts",
29
- "import": "./dist/views/todo.js"
32
+ "import": "./dist/views/todo.js",
33
+ "default": "./dist/views/todo.js"
30
34
  },
31
35
  "./views/approval": {
32
36
  "types": "./dist/views/approval.d.ts",
33
- "import": "./dist/views/approval.js"
37
+ "import": "./dist/views/approval.js",
38
+ "default": "./dist/views/approval.js"
39
+ },
40
+ "./core/theme": {
41
+ "types": "./dist/core/theme.d.ts",
42
+ "import": "./dist/core/theme.js",
43
+ "default": "./dist/core/theme.js"
44
+ },
45
+ "./views/bash": {
46
+ "types": "./dist/views/bash.d.ts",
47
+ "import": "./dist/views/bash.js",
48
+ "default": "./dist/views/bash.js"
49
+ },
50
+ "./views/write": {
51
+ "types": "./dist/views/write.d.ts",
52
+ "import": "./dist/views/write.js",
53
+ "default": "./dist/views/write.js"
54
+ },
55
+ "./views/read": {
56
+ "types": "./dist/views/read.d.ts",
57
+ "import": "./dist/views/read.js",
58
+ "default": "./dist/views/read.js"
34
59
  }
35
60
  },
36
61
  "files": [