From 69b62088b9a34b59b6279269fd59ec11a5b181fc Mon Sep 17 00:00:00 2001 From: James <72028410+James-9696@users.noreply.github.com> Date: Mon, 30 Sep 2024 02:02:08 -0700 Subject: [PATCH] feat(link-menu): [link-menu]modify smb theme (#2210) * feat(link-menu): modify smb theme * feat(link-menu): modify smb theme * fix: modify review code --- examples/sites/demos/apis/link-menu.js | 56 ++++++++++++++++ .../data-resource-composition-api.vue | 15 ++++- .../demos/pc/app/link-menu/data-resource.vue | 14 +++- packages/theme/src/link-menu/index.less | 65 +++++++++---------- packages/theme/src/link-menu/vars.less | 30 +++++---- packages/vue/src/link-menu/src/index.ts | 10 +++ packages/vue/src/link-menu/src/pc.vue | 14 +++- 7 files changed, 151 insertions(+), 53 deletions(-) diff --git a/examples/sites/demos/apis/link-menu.js b/examples/sites/demos/apis/link-menu.js index 35c08996b9..b2a58620fe 100644 --- a/examples/sites/demos/apis/link-menu.js +++ b/examples/sites/demos/apis/link-menu.js @@ -61,6 +61,62 @@ export default { mode: ['pc'], pcDemo: 'custom-icon' }, + { + name: 'expand-icon', + type: 'Component', + defaultValue: '', + meta: { + stable: '3.19.0' + }, + desc: { + 'zh-CN': '指示展开的图标', + 'en-US': 'Indicates the expanded icon' + }, + mode: ['pc'], + pcDemo: 'data-resource' + }, + { + name: 'expand-icon-color', + type: 'string', + defaultValue: '', + meta: { + stable: '3.19.0' + }, + desc: { + 'zh-CN': '指示展开的图标色', + 'en-US': 'Indicates the expanded icon color' + }, + mode: ['pc'], + pcDemo: 'data-resource' + }, + { + name: 'shrink-icon', + type: 'Component', + defaultValue: '', + meta: { + stable: '3.19.0' + }, + desc: { + 'zh-CN': '指示收缩的图标', + 'en-US': 'Icon indicating shrink' + }, + mode: ['pc'], + pcDemo: 'data-resource' + }, + { + name: 'shrink-icon-color', + type: 'string', + defaultValue: '', + meta: { + stable: '3.19.0' + }, + desc: { + 'zh-CN': '指示收缩的图标色', + 'en-US': 'Icon indicating shrink color' + }, + mode: ['pc'], + pcDemo: 'data-resource' + }, { name: 'keep-selected-nodes', type: 'boolean', diff --git a/examples/sites/demos/pc/app/link-menu/data-resource-composition-api.vue b/examples/sites/demos/pc/app/link-menu/data-resource-composition-api.vue index a7992cef81..ebde33fe05 100644 --- a/examples/sites/demos/pc/app/link-menu/data-resource-composition-api.vue +++ b/examples/sites/demos/pc/app/link-menu/data-resource-composition-api.vue @@ -1,10 +1,23 @@