From 5823cb8c3170a512941949431fa07f5e1f15ea45 Mon Sep 17 00:00:00 2001 From: GitHub Actions Bot <> Date: Mon, 28 Oct 2024 19:37:16 +0000 Subject: [PATCH] Update API doc --- apps/showcase/doc/common/apidoc/index.json | 24 ++++------ packages/themes/types/menubar/index.d.ts | 54 +++++++++++----------- pnpm-lock.yaml | 31 ++++++------- 3 files changed, 48 insertions(+), 61 deletions(-) diff --git a/apps/showcase/doc/common/apidoc/index.json b/apps/showcase/doc/common/apidoc/index.json index 204b99ed6..a8ee8f047 100644 --- a/apps/showcase/doc/common/apidoc/index.json +++ b/apps/showcase/doc/common/apidoc/index.json @@ -87726,14 +87726,6 @@ "default": "", "description": "Used to pass tokens of the submenu section" }, - { - "name": "submenuIcon", - "optional": true, - "readonly": false, - "type": "Object", - "default": "", - "description": "Used to pass tokens of the submenu icon section" - }, { "name": "separator", "optional": true, @@ -88005,40 +87997,40 @@ "description": "Mobile indent of submenu" }, { - "name": "submenuIcon.size", + "name": "icon.size", "token": "menubar.submenu.icon.size", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Size of submenu icon" + "description": "Icon size of submenu" }, { - "name": "submenuIcon.color", + "name": "icon.color", "token": "menubar.submenu.icon.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Color of submenu icon" + "description": "Icon color of submenu" }, { - "name": "submenuIcon.focusColor", + "name": "icon.focusColor", "token": "menubar.submenu.icon.focus.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Focus color of submenu icon" + "description": "Icon focus color of submenu" }, { - "name": "submenuIcon.activeColor", + "name": "icon.activeColor", "token": "menubar.submenu.icon.active.color", "optional": true, "readonly": false, "type": "string", "default": "", - "description": "Active color of submenu icon" + "description": "Icon active color of submenu" }, { "name": "separator.borderColor", diff --git a/packages/themes/types/menubar/index.d.ts b/packages/themes/types/menubar/index.d.ts index a6f84e559..0cde113b6 100644 --- a/packages/themes/types/menubar/index.d.ts +++ b/packages/themes/types/menubar/index.d.ts @@ -197,35 +197,35 @@ export interface MenubarDesignTokens extends ColorSchemeDesignToken<MenubarDesig * @designToken menubar.submenu.mobile.indent */ mobileIndent?: string; - }; - /** - * Used to pass tokens of the submenu icon section - */ - submenuIcon?: { /** - * Size of submenu icon - * - * @designToken menubar.submenu.icon.size + * Icon of submenu */ - size?: string; - /** - * Color of submenu icon - * - * @designToken menubar.submenu.icon.color - */ - color?: string; - /** - * Focus color of submenu icon - * - * @designToken menubar.submenu.icon.focus.color - */ - focusColor?: string; - /** - * Active color of submenu icon - * - * @designToken menubar.submenu.icon.active.color - */ - activeColor?: string; + icon?: { + /** + * Icon size of submenu + * + * @designToken menubar.submenu.icon.size + */ + size?: string; + /** + * Icon color of submenu + * + * @designToken menubar.submenu.icon.color + */ + color?: string; + /** + * Icon focus color of submenu + * + * @designToken menubar.submenu.icon.focus.color + */ + focusColor?: string; + /** + * Icon active color of submenu + * + * @designToken menubar.submenu.icon.active.color + */ + activeColor?: string; + }; }; /** * Used to pass tokens of the separator section diff --git a/pnpm-lock.yaml b/pnpm-lock.yaml index 9df04c4ca..615e45d85 100644 --- a/pnpm-lock.yaml +++ b/pnpm-lock.yaml @@ -234,7 +234,7 @@ importers: devDependencies: '@nuxt/devtools': specifier: ^0.8.5 - version: 0.8.5(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)) + version: 0.8.5(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2) '@nuxt/eslint-config': specifier: ^0.2.0 version: 0.2.0(eslint@8.57.1) @@ -246,7 +246,7 @@ importers: version: 3.13.2(rollup@4.24.2) '@nuxt/test-utils': specifier: ^3.7.3 - version: 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + version: 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) '@primevue/themes': specifier: workspace:* version: link:../themes @@ -8315,13 +8315,12 @@ snapshots: '@nuxt/devalue@2.0.2': {} - '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))': + '@nuxt/devtools-kit@0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) '@nuxt/schema': 3.13.2(rollup@4.24.2) execa: 7.2.0 nuxt: 3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3) - vite: 5.4.10(@types/node@18.19.59)(terser@5.36.0) transitivePeerDependencies: - magicast - rollup @@ -8341,10 +8340,10 @@ snapshots: rc9: 2.1.2 semver: 7.6.3 - '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))': + '@nuxt/devtools@0.8.5(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)': dependencies: '@antfu/utils': 0.7.10 - '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)) + '@nuxt/devtools-kit': 0.8.5(magicast@0.3.5)(nuxt@3.3.2(@types/node@18.19.59)(encoding@0.1.13)(eslint@8.57.1)(ioredis@5.4.1)(magicast@0.3.5)(optionator@0.9.4)(rollup@4.24.2)(terser@5.36.0)(typescript@5.6.3))(rollup@4.24.2) '@nuxt/devtools-wizard': 0.8.5 '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) birpc: 0.2.19 @@ -8375,9 +8374,8 @@ snapshots: simple-git: 3.27.0 sirv: 2.0.4 unimport: 3.13.1(rollup@4.24.2) - vite: 5.4.10(@types/node@18.19.59)(terser@5.36.0) - vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)) - vite-plugin-vue-inspector: 3.7.2(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)) + vite-plugin-inspect: 0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2) + vite-plugin-vue-inspector: 3.7.2 wait-on: 7.2.0 which: 3.0.1 ws: 8.18.0 @@ -8687,7 +8685,7 @@ snapshots: - supports-color - webpack-sources - '@nuxt/test-utils@3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))': + '@nuxt/test-utils@3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3))': dependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) '@nuxt/schema': 3.13.2(rollup@4.24.2) @@ -8713,8 +8711,7 @@ snapshots: ufo: 1.5.4 unenv: 1.10.0 unplugin: 1.15.0(webpack-sources@3.2.3) - vite: 5.4.10(@types/node@18.19.59)(terser@5.36.0) - vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + vitest-environment-nuxt: 1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) vue: 3.5.12(typescript@5.6.3) vue-router: 4.4.5(vue@3.5.12(typescript@5.6.3)) optionalDependencies: @@ -14234,7 +14231,7 @@ snapshots: optionator: 0.9.4 typescript: 5.6.3 - vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)): + vite-plugin-inspect@0.7.42(@nuxt/kit@3.13.2(magicast@0.3.5)(rollup@4.24.2))(rollup@4.24.2): dependencies: '@antfu/utils': 0.7.10 '@rollup/pluginutils': 5.1.3(rollup@4.24.2) @@ -14244,14 +14241,13 @@ snapshots: open: 9.1.0 picocolors: 1.1.1 sirv: 2.0.4 - vite: 5.4.10(@types/node@18.19.59)(terser@5.36.0) optionalDependencies: '@nuxt/kit': 3.13.2(magicast@0.3.5)(rollup@4.24.2) transitivePeerDependencies: - rollup - supports-color - vite-plugin-vue-inspector@3.7.2(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0)): + vite-plugin-vue-inspector@3.7.2: dependencies: '@babel/core': 7.26.0 '@babel/plugin-proposal-decorators': 7.25.9(@babel/core@7.26.0) @@ -14262,7 +14258,6 @@ snapshots: '@vue/compiler-dom': 3.5.12 kolorist: 1.8.0 magic-string: 0.30.12 - vite: 5.4.10(@types/node@18.19.59)(terser@5.36.0) transitivePeerDependencies: - supports-color @@ -14299,9 +14294,9 @@ snapshots: fsevents: 2.3.3 terser: 5.36.0 - vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)): + vitest-environment-nuxt@1.0.1(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)): dependencies: - '@nuxt/test-utils': 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vite@5.4.10(@types/node@18.19.59)(terser@5.36.0))(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) + '@nuxt/test-utils': 3.14.4(@vue/test-utils@2.4.6)(h3@1.13.0)(magicast@0.3.5)(nitropack@2.9.7(encoding@0.1.13)(magicast@0.3.5))(rollup@4.24.2)(vitest@1.6.0(@types/node@18.19.59)(terser@5.36.0))(vue-router@4.4.5(vue@3.5.12(typescript@5.6.3)))(vue@3.5.12(typescript@5.6.3)) transitivePeerDependencies: - '@cucumber/cucumber' - '@jest/globals'