vuepress-theme-uniapp-official 1.6.11 → 1.6.13

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.
@@ -13,7 +13,7 @@
13
13
  <div class="meta">
14
14
  <span class="time">{{ m.time }}</span>
15
15
 
16
- <div class="actions" v-if="m.role === 'assistant' && m.uni_ai_feedback_id.length > 0">
16
+ <div class="actions" v-if="m.role === 'assistant' && typeof m.uni_ai_feedback_id === 'string' && m.uni_ai_feedback_id.length > 0">
17
17
  <AIFeedback :like="m.like" :dislike="m.dislike" :uni_ai_feedback_id="m.uni_ai_feedback_id" @action="data => feedbackAction(m.id, data)"/>
18
18
  </div>
19
19
  </div>
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "vuepress-theme-uniapp-official",
3
- "version": "1.6.11",
3
+ "version": "1.6.13",
4
4
  "description": "uni-app official website theme for vuepress",
5
5
  "main": "index.js",
6
6
  "repository": {
@@ -27,6 +27,12 @@
27
27
  "enhanceApp.js",
28
28
  "index.js"
29
29
  ],
30
+ "scripts": {
31
+ "publish:patch": "npm version patch && npm publish",
32
+ "publish:minor": "npm version minor && npm publish",
33
+ "publish:major": "npm version major && npm publish",
34
+ "postpublish": "cnpm sync vuepress-theme-uniapp-official && node ../../scripts/postPublishTheme.js"
35
+ },
30
36
  "publishConfig": {
31
37
  "access": "public"
32
38
  },
@@ -41,13 +47,13 @@
41
47
  "markdown-it-task-lists": "^2.1.1",
42
48
  "marked": "^3.0.8",
43
49
  "qr-code-with-logo": "^1.1.0",
50
+ "vuepress-plugin-check-md2": "workspace:^",
51
+ "vuepress-plugin-expandable-row": "workspace:^",
44
52
  "vuepress-plugin-juejin-style-copy": "^1.0.4",
45
53
  "vuepress-plugin-mermaidjs": "1.9.1",
46
54
  "vuepress-plugin-named-chunks": "^1.1.4",
47
- "vuepress-plugin-zooming": "^1.1.8",
48
- "vuepress-plugin-noscript-code": "^1.0.2",
49
- "vuepress-plugin-check-md2": "^1.0.5",
50
- "vuepress-plugin-expandable-row": "^1.0.10"
55
+ "vuepress-plugin-noscript-code": "workspace:^",
56
+ "vuepress-plugin-zooming": "^1.1.8"
51
57
  },
52
58
  "resolutions": {
53
59
  "terser-webpack-plugin": "1.4.6",
@@ -56,10 +62,5 @@
56
62
  },
57
63
  "devDependencies": {
58
64
  "vue": "2.7.16"
59
- },
60
- "scripts": {
61
- "publish:patch": "npm version patch && npm publish",
62
- "publish:minor": "npm version minor && npm publish",
63
- "publish:major": "npm version major && npm publish"
64
65
  }
65
- }
66
+ }
@@ -35,18 +35,17 @@ $navbar-logo-height = $navbar-main-navbar-height - 2rem
35
35
  justify-content center
36
36
  align-items center
37
37
  .main-navbar-links
38
- width 55%
38
+ // width 55%
39
39
  display inline-block
40
40
  @media (min-width: 1080px) and (max-width: 1680px)
41
41
  &
42
42
  flex 1
43
- padding 0 300px
44
43
  show-after()
45
44
  opacity 1
46
45
  transform scaleX(1)
47
46
  .main-navbar-item
48
47
  display inline-block
49
- padding 0 3%
48
+ padding 0 15px
50
49
  position relative
51
50
  &.active a
52
51
  color $accentColor
@@ -7,5 +7,5 @@ $navbar-background-color = #f7f7f7
7
7
  $search-container-color = #f5f6f7
8
8
  $vuepress-toc-width = 14rem
9
9
  $vuepress-display-min-width = 1500px
10
- $MQMobile = 768px
10
+ $MQMobile = 1050px
11
11
  $DocSearch_MQMobile = 1400px