@kaitify/react 0.0.1-beta.5 → 0.0.1-beta.6

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.
@@ -1,43 +1,43 @@
1
1
  {
2
- "hash": "3ddfcfdc",
2
+ "hash": "c3f8d881",
3
3
  "configHash": "1bbdb887",
4
- "lockfileHash": "8c1197f1",
5
- "browserHash": "f5dca06a",
4
+ "lockfileHash": "5d16e3cf",
5
+ "browserHash": "366a552c",
6
6
  "optimized": {
7
7
  "vue": {
8
8
  "src": "../../../../node_modules/vue/dist/vue.runtime.esm-bundler.js",
9
9
  "file": "vue.js",
10
- "fileHash": "ee6ed004",
10
+ "fileHash": "c84281de",
11
11
  "needsInterop": false
12
12
  },
13
13
  "vitepress > @vue/devtools-api": {
14
14
  "src": "../../../../node_modules/@vue/devtools-api/dist/index.js",
15
15
  "file": "vitepress___@vue_devtools-api.js",
16
- "fileHash": "19eaa9e7",
16
+ "fileHash": "8f151567",
17
17
  "needsInterop": false
18
18
  },
19
19
  "vitepress > @vueuse/core": {
20
20
  "src": "../../../../node_modules/@vueuse/core/index.mjs",
21
21
  "file": "vitepress___@vueuse_core.js",
22
- "fileHash": "5f7f7f92",
22
+ "fileHash": "552f5a37",
23
23
  "needsInterop": false
24
24
  },
25
25
  "vitepress > @vueuse/integrations/useFocusTrap": {
26
26
  "src": "../../../../node_modules/@vueuse/integrations/useFocusTrap.mjs",
27
27
  "file": "vitepress___@vueuse_integrations_useFocusTrap.js",
28
- "fileHash": "775dbe6c",
28
+ "fileHash": "8fa0439b",
29
29
  "needsInterop": false
30
30
  },
31
31
  "vitepress > mark.js/src/vanilla.js": {
32
32
  "src": "../../../../node_modules/mark.js/src/vanilla.js",
33
33
  "file": "vitepress___mark__js_src_vanilla__js.js",
34
- "fileHash": "c58f96eb",
34
+ "fileHash": "d9232ccd",
35
35
  "needsInterop": false
36
36
  },
37
37
  "vitepress > minisearch": {
38
38
  "src": "../../../../node_modules/minisearch/dist/es/index.js",
39
39
  "file": "vitepress___minisearch.js",
40
- "fileHash": "c41fbbc8",
40
+ "fileHash": "0b198074",
41
41
  "needsInterop": false
42
42
  }
43
43
  },
@@ -53,12 +53,17 @@ export default defineConfig({
53
53
  nav: [
54
54
  { text: '指南', link: '/guide/introduction', activeMatch: '/guide' },
55
55
  { text: '内置菜单', link: '/menus/introduction', activeMatch: '/menus' },
56
+ { text: '更新日志', link: '/changelog' },
56
57
  {
57
58
  text: '在线体验',
58
59
  link: 'https://www.so-better.cn/run?lib=kaitify-react',
59
60
  target: '_blank'
60
61
  },
61
- { text: '更新日志', link: '/changelog' }
62
+ {
63
+ text: '联系作者',
64
+ link: 'https://www.so-better.cn/author',
65
+ target: '_blank'
66
+ }
62
67
  ],
63
68
  sidebar: {
64
69
  '/guide': [
@@ -179,7 +184,7 @@ export default defineConfig({
179
184
  },
180
185
  vite: {
181
186
  server: {
182
- port: 5401
187
+ port: 5406
183
188
  }
184
189
  }
185
190
  })
@@ -36003,7 +36003,12 @@ const TableExtension = () => Extension.create({
36003
36003
  const rows = nodes.filter((item) => item.isMatch({ tag: "tr" })).map((item) => {
36004
36004
  item.parent = tbody;
36005
36005
  if (item.hasChildren()) {
36006
- item.children = item.children.filter((it) => it.isMatch({ tag: "td" }) || it.isMatch({ tag: "th" }));
36006
+ item.children = item.children.map((it) => {
36007
+ if (!it.isMatch({ tag: "td" }) && !it.isMatch({ tag: "th" })) {
36008
+ it.toEmpty();
36009
+ }
36010
+ return it;
36011
+ });
36007
36012
  }
36008
36013
  return item;
36009
36014
  });