@next-bricks/nav 1.26.1 → 1.26.3

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.
Files changed (96) hide show
  1. package/dist/bricks.json +19 -19
  2. package/dist/chunks/6128.a4b25bfc.js +2 -0
  3. package/dist/chunks/6128.a4b25bfc.js.map +1 -0
  4. package/dist/chunks/6302.d5563d52.js +3 -0
  5. package/dist/chunks/6302.d5563d52.js.map +1 -0
  6. package/dist/chunks/easyops-navbar-alerts.6c3ef359.js.map +1 -1
  7. package/dist/chunks/eo-directory-tree-internal-node.e1fd8680.js.map +1 -1
  8. package/dist/chunks/eo-directory-tree-leaf.315a4f71.js.map +1 -1
  9. package/dist/chunks/eo-directory-tree.80158b6f.js.map +1 -1
  10. package/dist/chunks/eo-directory.c305cd88.js.map +1 -1
  11. package/dist/chunks/eo-frame-breadcrumb.964ca57e.js +2 -0
  12. package/dist/chunks/eo-frame-breadcrumb.964ca57e.js.map +1 -0
  13. package/dist/chunks/eo-launchpad-button-v2.a28af14a.js.map +1 -1
  14. package/dist/chunks/eo-launchpad-quick-access.fa1ab0e2.js.map +1 -1
  15. package/dist/chunks/eo-launchpad-recent-visits.1a7c6e2c.js.map +1 -1
  16. package/dist/chunks/eo-nav-menu.2a1e5781.js.map +1 -1
  17. package/dist/chunks/eo-sidebar-sub-menu.ccc5b812.js.map +1 -1
  18. package/dist/chunks/launchpad-config.053def2c.js.map +1 -1
  19. package/dist/chunks/{main.cf330528.js → main.595062c2.js} +2 -2
  20. package/dist/chunks/{main.cf330528.js.map → main.595062c2.js.map} +1 -1
  21. package/dist/chunks/poll-announce.225cde90.js.map +1 -1
  22. package/dist/chunks/query-search.da4f15d3.js.map +1 -1
  23. package/dist/examples.json +31 -19
  24. package/dist/index.5bee1101.js +2 -0
  25. package/dist/index.5bee1101.js.map +1 -0
  26. package/dist/manifest.json +96 -82
  27. package/dist/types.json +23 -23
  28. package/dist-types/directory/index.d.ts +4 -0
  29. package/dist-types/directory-tree/directory-tree-internal-node/index.d.ts +3 -1
  30. package/dist-types/directory-tree/directory-tree-leaf/index.d.ts +2 -0
  31. package/dist-types/directory-tree/index.d.ts +4 -0
  32. package/dist-types/easyops-navbar-alerts/index.d.ts +1 -1
  33. package/dist-types/launchpad-button-v2/index.d.ts +1 -1
  34. package/dist-types/launchpad-config/index.d.ts +7 -0
  35. package/dist-types/launchpad-quick-access/index.d.ts +6 -0
  36. package/dist-types/launchpad-recent-visits/index.d.ts +3 -0
  37. package/dist-types/nav-menu/index.d.ts +3 -0
  38. package/dist-types/poll-announce/index.d.ts +4 -0
  39. package/dist-types/query-search/index.d.ts +1 -1
  40. package/dist-types/sidebar-sub-menu/index.d.ts +1 -1
  41. package/docs/easyops-navbar-alerts.md +23 -0
  42. package/docs/easyops-navbar-alerts.react.md +29 -0
  43. package/docs/eo-app-bar-wrapper.md +57 -1
  44. package/docs/eo-app-bar-wrapper.react.md +71 -0
  45. package/docs/eo-directory-tree-internal-node.md +72 -1
  46. package/docs/eo-directory-tree-internal-node.react.md +116 -0
  47. package/docs/eo-directory-tree-leaf.md +82 -1
  48. package/docs/eo-directory-tree-leaf.react.md +85 -0
  49. package/docs/eo-directory-tree.md +101 -1
  50. package/docs/eo-directory-tree.react.md +153 -0
  51. package/docs/eo-directory.md +100 -1
  52. package/docs/eo-directory.react.md +123 -0
  53. package/docs/eo-frame-breadcrumb.md +53 -1
  54. package/docs/eo-frame-breadcrumb.react.md +62 -0
  55. package/docs/eo-launchpad-quick-access.md +41 -0
  56. package/docs/eo-launchpad-quick-access.react.md +42 -0
  57. package/docs/eo-launchpad-recent-visits.md +37 -0
  58. package/docs/eo-launchpad-recent-visits.react.md +41 -0
  59. package/docs/eo-nav-menu.md +33 -252
  60. package/docs/eo-nav-menu.react.md +138 -0
  61. package/docs/eo-search-launchpad.md +29 -1
  62. package/docs/eo-search-launchpad.react.md +41 -0
  63. package/docs/eo-sidebar-menu-group.md +60 -1
  64. package/docs/eo-sidebar-menu-group.react.md +98 -0
  65. package/docs/eo-sidebar-menu-item.md +77 -1
  66. package/docs/eo-sidebar-menu-item.react.md +91 -0
  67. package/docs/eo-sidebar-menu-submenu.md +57 -1
  68. package/docs/eo-sidebar-menu-submenu.react.md +74 -0
  69. package/docs/eo-sidebar-menu.md +19 -1
  70. package/docs/eo-sidebar-menu.react.md +124 -0
  71. package/docs/eo-sidebar-sub-menu.md +19 -1
  72. package/docs/eo-sidebar-sub-menu.react.md +140 -0
  73. package/docs/eo-sidebar.md +66 -1
  74. package/docs/eo-sidebar.react.md +142 -0
  75. package/docs/launchpad-button-v2.md +23 -0
  76. package/docs/launchpad-button-v2.react.md +29 -0
  77. package/docs/launchpad-button.md +23 -0
  78. package/docs/launchpad-button.react.md +29 -0
  79. package/docs/launchpad-config.md +130 -0
  80. package/docs/launchpad-config.react.md +161 -0
  81. package/docs/nav-logo.md +15 -3
  82. package/docs/nav-logo.react.md +27 -0
  83. package/docs/poll-announce.md +46 -1
  84. package/docs/poll-announce.react.md +61 -0
  85. package/docs/query-search.md +13 -1
  86. package/docs/query-search.react.md +34 -0
  87. package/package.json +2 -2
  88. package/dist/chunks/6128.642f8e42.js +0 -2
  89. package/dist/chunks/6128.642f8e42.js.map +0 -1
  90. package/dist/chunks/6302.f681cebd.js +0 -3
  91. package/dist/chunks/6302.f681cebd.js.map +0 -1
  92. package/dist/chunks/eo-frame-breadcrumb.b50289ff.js +0 -2
  93. package/dist/chunks/eo-frame-breadcrumb.b50289ff.js.map +0 -1
  94. package/dist/index.555c6810.js +0 -2
  95. package/dist/index.555c6810.js.map +0 -1
  96. /package/dist/chunks/{6302.f681cebd.js.LICENSE.txt → 6302.d5563d52.js.LICENSE.txt} +0 -0
@@ -0,0 +1,124 @@
1
+ ---
2
+ tagName: eo-sidebar-menu
3
+ displayName: WrappedEoSidebarMenu
4
+ description: 侧栏菜单
5
+ category: navigation
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # WrappedEoSidebarMenu
10
+
11
+ > 侧栏菜单
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedEoSidebarMenu } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ------------- | --------- | ---- | ------ | -------------------- |
23
+ | menuCollapsed | `boolean` | 否 | - | 菜单整体是否收起状态 |
24
+
25
+ ## Examples
26
+
27
+ ### Basic
28
+
29
+ 展示侧栏菜单的基本用法,可包含菜单项、菜单分组和子菜单,支持整体收起/展开切换。
30
+
31
+ ```tsx
32
+ import { useState } from "react";
33
+
34
+ function SidebarMenuDemo() {
35
+ const [menuCollapsed, setMenuCollapsed] = useState(false);
36
+
37
+ return (
38
+ <>
39
+ <WrappedEoButton
40
+ type="primary"
41
+ onClick={() => setMenuCollapsed((c) => !c)}
42
+ >
43
+ switch collapsed
44
+ </WrappedEoButton>
45
+ <WrappedEoSidebarMenu
46
+ menuCollapsed={menuCollapsed}
47
+ style={{ width: menuCollapsed ? "40px" : "196px" }}
48
+ >
49
+ <WrappedEoSidebarMenuItem
50
+ textContent="菜单项 1"
51
+ icon={{
52
+ lib: "easyops",
53
+ category: "second-menu",
54
+ icon: "gaussdb-for-opengauss-second-menu",
55
+ }}
56
+ />
57
+ <WrappedEoSidebarMenuGroup>
58
+ <span slot="title">菜单分组</span>
59
+ <WrappedEoSidebarMenuItem
60
+ textContent="菜单项 2"
61
+ icon={{
62
+ lib: "easyops",
63
+ category: "second-menu",
64
+ icon: "firewall-second-menu",
65
+ }}
66
+ />
67
+ <WrappedEoSidebarMenuItem
68
+ textContent="菜单项 3"
69
+ icon={{
70
+ lib: "easyops",
71
+ category: "second-menu",
72
+ icon: "host-resources-second-menu",
73
+ }}
74
+ />
75
+ <WrappedEoSidebarMenuItem
76
+ textContent="菜单项 4"
77
+ icon={{
78
+ lib: "easyops",
79
+ category: "second-menu",
80
+ icon: "loadbalance-second-menu",
81
+ }}
82
+ />
83
+ </WrappedEoSidebarMenuGroup>
84
+ <WrappedEoSidebarMenuSubmenu
85
+ icon={{
86
+ lib: "easyops",
87
+ category: "second-menu",
88
+ icon: "oceanbase-second-menu",
89
+ }}
90
+ >
91
+ <span slot="title">子菜单</span>
92
+ <WrappedEoSidebarMenuItem
93
+ textContent="菜单项 5"
94
+ icon={{
95
+ lib: "easyops",
96
+ category: "second-menu",
97
+ icon: "nginx-second-menu",
98
+ }}
99
+ inSubmenu={true}
100
+ />
101
+ <WrappedEoSidebarMenuItem
102
+ textContent="菜单项 6"
103
+ icon={{
104
+ lib: "easyops",
105
+ category: "second-menu",
106
+ icon: "process-task-second-menu",
107
+ }}
108
+ inSubmenu={true}
109
+ />
110
+ <WrappedEoSidebarMenuItem
111
+ textContent="菜单项 7"
112
+ icon={{
113
+ lib: "easyops",
114
+ category: "second-menu",
115
+ icon: "persistent-volume-statement-second-menu",
116
+ }}
117
+ inSubmenu={true}
118
+ />
119
+ </WrappedEoSidebarMenuSubmenu>
120
+ </WrappedEoSidebarMenu>
121
+ </>
122
+ );
123
+ }
124
+ ```
@@ -1,9 +1,27 @@
1
- 构件 `eo-sidebar-sub-menu`
1
+ ---
2
+ tagName: eo-sidebar-sub-menu
3
+ displayName: WrappedEoSidebarSubMenu
4
+ description: 侧边栏子菜单,支持简单菜单项、分组和子菜单的嵌套渲染
5
+ category: navigation
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # eo-sidebar-sub-menu
10
+
11
+ > 侧边栏子菜单,支持简单菜单项、分组和子菜单的嵌套渲染
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | ---- | ------------- | ---- | ------ | ------ |
17
+ | menu | `SidebarMenu` | 否 | - | 菜单项 |
2
18
 
3
19
  ## Examples
4
20
 
5
21
  ### Basic
6
22
 
23
+ 展示侧边栏子菜单的基本用法,支持简单菜单项、分组和子菜单嵌套,根据当前路径自动高亮选中项。
24
+
7
25
  ```yaml preview
8
26
  - brick: eo-sidebar-sub-menu
9
27
  properties:
@@ -0,0 +1,140 @@
1
+ ---
2
+ tagName: eo-sidebar-sub-menu
3
+ displayName: WrappedEoSidebarSubMenu
4
+ description: 侧边栏子菜单,支持简单菜单项、分组和子菜单的嵌套渲染
5
+ category: navigation
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # WrappedEoSidebarSubMenu
10
+
11
+ > 侧边栏子菜单,支持简单菜单项、分组和子菜单的嵌套渲染
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedEoSidebarSubMenu } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | ---- | ------------- | ---- | ------ | ------ |
23
+ | menu | `SidebarMenu` | 否 | - | 菜单项 |
24
+
25
+ ## Examples
26
+
27
+ ### Basic
28
+
29
+ 展示侧边栏子菜单的基本用法,支持简单菜单项、分组和子菜单嵌套,根据当前路径自动高亮选中项。
30
+
31
+ ```tsx
32
+ <WrappedEoSidebarSubMenu
33
+ style={{ width: "220px", display: "block" }}
34
+ menu={{
35
+ title: "mock data",
36
+ menuItems: [
37
+ {
38
+ exact: true,
39
+ icon: {
40
+ lib: "easyops",
41
+ category: "third-menu",
42
+ icon: "advanced-settings-third-menu",
43
+ },
44
+ text: "测试标题",
45
+ to: "/developers/brick-book/atom/sub-menu",
46
+ type: "default",
47
+ key: "0",
48
+ },
49
+ {
50
+ items: [
51
+ {
52
+ icon: {
53
+ lib: "easyops",
54
+ category: "third-menu",
55
+ icon: "application-activity-third-menu",
56
+ },
57
+ text: "主机测试兼容复杂场景",
58
+ to: "/developers/brick-book/atom/sub-menu/1",
59
+ key: "1.0",
60
+ },
61
+ {
62
+ icon: {
63
+ lib: "easyops",
64
+ category: "third-menu",
65
+ icon: "dashboard-third-menu",
66
+ },
67
+ text: "Docker",
68
+ to: "/developers/brick-book/atom/sub-menu/2",
69
+ key: "1.1",
70
+ },
71
+ ],
72
+ title: "平台资源",
73
+ type: "group",
74
+ key: "1",
75
+ },
76
+ {
77
+ items: [
78
+ {
79
+ icon: {
80
+ lib: "easyops",
81
+ category: "third-menu",
82
+ icon: "host-instance-maintenance-third-menu",
83
+ },
84
+ text: "开发负责人",
85
+ to: "/developers/brick-book/atom/sub-menu/3",
86
+ key: "2.0",
87
+ },
88
+ {
89
+ icon: {
90
+ lib: "easyops",
91
+ category: "third-menu",
92
+ icon: "inspection-overview-third-menu",
93
+ },
94
+ text: "运维负责人",
95
+ to: "/developers/brick-book/atom/sub-menu/4",
96
+ key: "2.1",
97
+ },
98
+ {
99
+ icon: {
100
+ lib: "easyops",
101
+ category: "third-menu",
102
+ icon: "job-management-third-menu",
103
+ },
104
+ text: "测试负责人",
105
+ to: "/developers/brick-book/atom/sub-menu/5",
106
+ key: "2.2",
107
+ },
108
+ ],
109
+ title: "负责人",
110
+ type: "group",
111
+ key: "2",
112
+ },
113
+ {
114
+ items: [
115
+ {
116
+ icon: {
117
+ lib: "easyops",
118
+ category: "third-menu",
119
+ icon: "plugin-market-third-menu",
120
+ },
121
+ items: [
122
+ {
123
+ text: "被调方",
124
+ to: "/developers/brick-book/atom/sub-menu/8",
125
+ key: "3.1.0",
126
+ },
127
+ ],
128
+ title: "被调方",
129
+ type: "subMenu",
130
+ key: "3.1",
131
+ },
132
+ ],
133
+ title: "调用关系",
134
+ type: "group",
135
+ key: "3",
136
+ },
137
+ ],
138
+ }}
139
+ />
140
+ ```
@@ -1,9 +1,37 @@
1
- 侧边栏
1
+ ---
2
+ tagName: eo-sidebar
3
+ displayName: WrappedEoSidebar
4
+ description: 侧边栏
5
+ category: navigation
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # eo-sidebar
10
+
11
+ > 侧边栏
12
+
13
+ ## Props
14
+
15
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
16
+ | --------------- | --------------------- | ---- | --------- | -------------------------------- |
17
+ | menu | `SidebarMenuType` | 是 | - | 菜单数据 |
18
+ | hiddenFixedIcon | `boolean` | 否 | - | 是否隐藏固定按钮 |
19
+ | expandedState | `ExpandedState` | 否 | - | 侧栏状态 |
20
+ | position | `"static" \| "fixed"` | 否 | `"fixed"` | 设置定位方式:静态定位或固定定位 |
21
+
22
+ ## Events
23
+
24
+ | 事件 | detail | 说明 |
25
+ | --------------------- | -------------------------- | ------------------ |
26
+ | actual.width.change | `number` — 当前宽度 | 宽度变化时触发 |
27
+ | expanded.state.change | `ExpandedState` — 侧栏状态 | 侧栏状态变化时触发 |
2
28
 
3
29
  ## Examples
4
30
 
5
31
  ### Basic
6
32
 
33
+ 展示侧边栏的基本用法,支持菜单项、子菜单和分组,用户可鼠标悬停展开或点击固定图标固定宽度。
34
+
7
35
  ```yaml preview
8
36
  brick: eo-sidebar
9
37
  properties:
@@ -102,4 +130,41 @@ properties:
102
130
  type: default
103
131
  children: []
104
132
  key: "5"
133
+ events:
134
+ actual.width.change:
135
+ action: console.log
136
+ expanded.state.change:
137
+ action: console.log
138
+ ```
139
+
140
+ ### 隐藏固定按钮
141
+
142
+ 隐藏侧边栏底部的固定/取消固定图标按钮。
143
+
144
+ ```yaml preview
145
+ brick: eo-sidebar
146
+ properties:
147
+ style:
148
+ height: 600px
149
+ position: static
150
+ hiddenFixedIcon: true
151
+ menu:
152
+ title: 菜单标题
153
+ menuItems:
154
+ - icon:
155
+ lib: easyops
156
+ category: second-menu
157
+ icon: automatic-collection-second-menu
158
+ text: item 1
159
+ to: /a
160
+ type: default
161
+ key: "0"
162
+ - icon:
163
+ lib: easyops
164
+ category: second-menu
165
+ icon: deployment-instance-second-menu
166
+ text: item 2
167
+ to: /b
168
+ type: default
169
+ key: "1"
105
170
  ```
@@ -0,0 +1,142 @@
1
+ ---
2
+ tagName: eo-sidebar
3
+ displayName: WrappedEoSidebar
4
+ description: 侧边栏
5
+ category: navigation
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # WrappedEoSidebar
10
+
11
+ > 侧边栏
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedEoSidebar } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ ## Props
20
+
21
+ | 属性 | 类型 | 必填 | 默认值 | 说明 |
22
+ | --------------- | --------------------- | ---- | --------- | -------------------------------- |
23
+ | menu | `SidebarMenuType` | 是 | - | 菜单数据 |
24
+ | hiddenFixedIcon | `boolean` | 否 | - | 是否隐藏固定按钮 |
25
+ | expandedState | `ExpandedState` | 否 | - | 侧栏状态 |
26
+ | position | `"static" \| "fixed"` | 否 | `"fixed"` | 设置定位方式:静态定位或固定定位 |
27
+
28
+ ## Events
29
+
30
+ | 事件 | detail | 说明 |
31
+ | --------------------- | -------------------------- | ------------------ |
32
+ | onActualWidthChange | `number` — 当前宽度 | 宽度变化时触发 |
33
+ | onExpandedStateChange | `ExpandedState` — 侧栏状态 | 侧栏状态变化时触发 |
34
+
35
+ ## Examples
36
+
37
+ ### Basic
38
+
39
+ 展示侧边栏的基本用法,支持菜单项、子菜单和分组,用户可鼠标悬停展开或点击固定图标固定宽度。
40
+
41
+ ```tsx
42
+ <WrappedEoSidebar
43
+ style={{ height: "600px" }}
44
+ position="static"
45
+ menu={{
46
+ title: "这是一个菜单标题",
47
+ menuItems: [
48
+ {
49
+ icon: {
50
+ lib: "easyops",
51
+ category: "second-menu",
52
+ icon: "automatic-collection-second-menu",
53
+ },
54
+ text: "item 1",
55
+ to: "/nlicro-test3/breadcrumb/new",
56
+ type: "default",
57
+ children: [],
58
+ key: "0",
59
+ },
60
+ {
61
+ icon: {
62
+ lib: "easyops",
63
+ category: "second-menu",
64
+ icon: "deployment-instance-second-menu",
65
+ },
66
+ text: "item 2",
67
+ to: "item 2",
68
+ type: "default",
69
+ children: [],
70
+ key: "1",
71
+ },
72
+ {
73
+ type: "subMenu",
74
+ title: "sub 1",
75
+ icon: {
76
+ lib: "easyops",
77
+ category: "second-menu",
78
+ icon: "deployment-architecture-second-menu",
79
+ },
80
+ items: [
81
+ {
82
+ text: "inner 1",
83
+ to: "inner 1",
84
+ type: "default",
85
+ children: [],
86
+ key: "2.0",
87
+ },
88
+ {
89
+ text: "inner 2",
90
+ to: "inner 2",
91
+ type: "default",
92
+ children: [],
93
+ key: "2.1",
94
+ },
95
+ ],
96
+ key: "2",
97
+ },
98
+ ],
99
+ }}
100
+ onActualWidthChange={(e) => console.log(e.detail)}
101
+ onExpandedStateChange={(e) => console.log(e.detail)}
102
+ />
103
+ ```
104
+
105
+ ### 隐藏固定按钮
106
+
107
+ 隐藏侧边栏底部的固定/取消固定图标按钮。
108
+
109
+ ```tsx
110
+ <WrappedEoSidebar
111
+ style={{ height: "600px" }}
112
+ position="static"
113
+ hiddenFixedIcon={true}
114
+ menu={{
115
+ title: "菜单标题",
116
+ menuItems: [
117
+ {
118
+ icon: {
119
+ lib: "easyops",
120
+ category: "second-menu",
121
+ icon: "automatic-collection-second-menu",
122
+ },
123
+ text: "item 1",
124
+ to: "/a",
125
+ type: "default",
126
+ key: "0",
127
+ },
128
+ {
129
+ icon: {
130
+ lib: "easyops",
131
+ category: "second-menu",
132
+ icon: "deployment-instance-second-menu",
133
+ },
134
+ text: "item 2",
135
+ to: "/b",
136
+ type: "default",
137
+ key: "1",
138
+ },
139
+ ],
140
+ }}
141
+ />
142
+ ```
@@ -0,0 +1,23 @@
1
+ ---
2
+ tagName: eo-launchpad-button-v2
3
+ displayName: WrappedEoLaunchpadButtonV2
4
+ description: Launchpad 启动台按钮(v2),点击后展开 Launchpad 面板,支持快捷键 Alt+L 开关、Esc 关闭。
5
+ category: ""
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # eo-launchpad-button-v2
10
+
11
+ > Launchpad 启动台按钮(v2),点击后展开 Launchpad 面板,支持快捷键 Alt+L 开关、Esc 关闭。
12
+
13
+ 此构件为内部构件(@insider),提供新版 Launchpad 启动台按钮,点击后展开完整的 Launchpad 面板。支持快捷键 Alt+L 开关和 Esc 关闭,路由切换时自动关闭。
14
+
15
+ ## Examples
16
+
17
+ ### Basic
18
+
19
+ 在导航栏中嵌入新版 Launchpad 启动台按钮。
20
+
21
+ ```yaml preview
22
+ brick: eo-launchpad-button-v2
23
+ ```
@@ -0,0 +1,29 @@
1
+ ---
2
+ tagName: eo-launchpad-button-v2
3
+ displayName: WrappedEoLaunchpadButtonV2
4
+ description: Launchpad 启动台按钮(v2),点击后展开 Launchpad 面板,支持快捷键 Alt+L 开关、Esc 关闭。
5
+ category: ""
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # WrappedEoLaunchpadButtonV2
10
+
11
+ > Launchpad 启动台按钮(v2),点击后展开 Launchpad 面板,支持快捷键 Alt+L 开关、Esc 关闭。
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedEoLaunchpadButtonV2 } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ 此构件为内部构件(@insider),提供新版 Launchpad 启动台按钮,点击后展开完整的 Launchpad 面板。支持快捷键 Alt+L 开关和 Esc 关闭,路由切换时自动关闭。
20
+
21
+ ## Examples
22
+
23
+ ### Basic
24
+
25
+ 在导航栏中嵌入新版 Launchpad 启动台按钮。
26
+
27
+ ```tsx
28
+ <WrappedEoLaunchpadButtonV2 />
29
+ ```
@@ -0,0 +1,23 @@
1
+ ---
2
+ tagName: eo-launchpad-button
3
+ displayName: WrappedEoLaunchpadButton
4
+ description: Launchpad 按钮构件
5
+ category: ""
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # eo-launchpad-button
10
+
11
+ > Launchpad 按钮构件
12
+
13
+ 此构件为内部构件(@insider),提供 Launchpad 入口按钮,无需配置属性。
14
+
15
+ ## Examples
16
+
17
+ ### Basic
18
+
19
+ 在导航栏中嵌入 Launchpad 按钮入口。
20
+
21
+ ```yaml preview
22
+ brick: eo-launchpad-button
23
+ ```
@@ -0,0 +1,29 @@
1
+ ---
2
+ tagName: eo-launchpad-button
3
+ displayName: WrappedEoLaunchpadButton
4
+ description: Launchpad 按钮构件
5
+ category: ""
6
+ source: "@next-bricks/nav"
7
+ ---
8
+
9
+ # WrappedEoLaunchpadButton
10
+
11
+ > Launchpad 按钮构件
12
+
13
+ ## 导入
14
+
15
+ ```tsx
16
+ import { WrappedEoLaunchpadButton } from "@easyops/wrapped-components";
17
+ ```
18
+
19
+ 此构件为内部构件(@insider),提供 Launchpad 入口按钮,无需配置属性。
20
+
21
+ ## Examples
22
+
23
+ ### Basic
24
+
25
+ 在导航栏中嵌入 Launchpad 按钮入口。
26
+
27
+ ```tsx
28
+ <WrappedEoLaunchpadButton />
29
+ ```