@opentiny/vue-docs 3.26.5 → 3.26.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@opentiny/vue-docs",
3
3
  "type": "module",
4
- "version": "3.26.5",
4
+ "version": "3.26.6",
5
5
  "license": "MIT",
6
6
  "dependencies": {
7
7
  "@docsearch/css": "^3.8.0",
@@ -29,22 +29,22 @@
29
29
  "zod": "^3.24.4",
30
30
  "@opentiny/utils": "~3.26.0",
31
31
  "@opentiny/vue": "~3.26.0",
32
+ "@opentiny/vue-design-aurora": "~3.26.0",
32
33
  "@opentiny/vue-common": "~3.26.0",
33
34
  "@opentiny/vue-design-saas": "~3.26.0",
34
- "@opentiny/vue-design-aurora": "~3.26.0",
35
35
  "@opentiny/vue-design-smb": "~3.26.0",
36
+ "@opentiny/vue-directive": "~3.26.0",
36
37
  "@opentiny/vue-flowchart": "~3.26.0",
37
38
  "@opentiny/vue-hooks": "~3.26.0",
38
- "@opentiny/vue-directive": "~3.26.0",
39
- "@opentiny/vue-icon": "~3.26.0",
40
- "@opentiny/vue-icon-multicolor": "~3.26.0",
41
39
  "@opentiny/vue-huicharts": "~3.26.0",
40
+ "@opentiny/vue-icon": "~3.26.0",
41
+ "@opentiny/vue-icon-saas": "~3.26.0",
42
42
  "@opentiny/vue-locale": "~3.26.0",
43
43
  "@opentiny/vue-modal": "~3.26.0",
44
- "@opentiny/vue-icon-saas": "~3.26.0",
44
+ "@opentiny/vue-renderless": "~3.26.0",
45
45
  "@opentiny/vue-theme": "~3.26.0",
46
46
  "@opentiny/vue-theme-saas": "~3.26.2",
47
- "@opentiny/vue-renderless": "~3.26.0"
47
+ "@opentiny/vue-icon-multicolor": "~3.26.0"
48
48
  },
49
49
  "devDependencies": {
50
50
  "@playwright/test": "~1.49.0",
package/src/menus.js CHANGED
@@ -27,7 +27,8 @@ function genMenus() {
27
27
  ]
28
28
 
29
29
  // 使用指南只在DEV下生效
30
- const docOptions = import.meta.env.DEV
30
+ const isShowDoc = import.meta.env.DEV || import.meta.env.VITE_TINY_THEME === 'saas'
31
+ const docOptions = isShowDoc
31
32
  ? docMenus.map((menu) => ({
32
33
  ...menu,
33
34
  label: `${appData.lang === 'zhCN' ? menu.label : menu.labelEn}${getChildrenStr(menu)}`,
@@ -4,6 +4,7 @@ module.exports = {
4
4
  content: [
5
5
  './index.html',
6
6
  './src/**/*.{vue,js,ts,jsx,tsx}',
7
+ './node_modules/@opentiny/vue-*/lib/*.js',
7
8
  '!../../packages/vue/src/**/node_modules',
8
9
  '../../packages/vue/src/**/*.{css,less,vue,js,jsx,ts,tsx}'
9
10
  ]