@next-bricks/nav 1.22.0 → 1.22.1

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.
@@ -97,42 +97,42 @@
97
97
  "insider": true
98
98
  },
99
99
  {
100
- "name": "eo-launchpad-quick-access",
101
- "properties": [
102
- {
103
- "name": "readonly",
104
- "type": "boolean"
105
- },
106
- {
107
- "name": "target",
108
- "type": "Target"
109
- }
110
- ],
100
+ "name": "eo-launchpad-button-v2",
101
+ "properties": [],
111
102
  "events": [],
112
103
  "slots": [],
113
104
  "methods": [],
114
105
  "parts": [],
115
- "description": "快捷访问",
106
+ "description": "构件 `eo-launchpad-button-v2`",
116
107
  "insider": true
117
108
  },
118
109
  {
119
- "name": "eo-launchpad-button-v2",
110
+ "name": "eo-launchpad-button",
120
111
  "properties": [],
121
112
  "events": [],
122
113
  "slots": [],
123
114
  "methods": [],
124
115
  "parts": [],
125
- "description": "构件 `eo-launchpad-button-v2`",
116
+ "description": "Launchpad 按钮构件",
126
117
  "insider": true
127
118
  },
128
119
  {
129
- "name": "eo-launchpad-button",
130
- "properties": [],
120
+ "name": "eo-launchpad-quick-access",
121
+ "properties": [
122
+ {
123
+ "name": "readonly",
124
+ "type": "boolean"
125
+ },
126
+ {
127
+ "name": "target",
128
+ "type": "Target"
129
+ }
130
+ ],
131
131
  "events": [],
132
132
  "slots": [],
133
133
  "methods": [],
134
134
  "parts": [],
135
- "description": "Launchpad 按钮构件",
135
+ "description": "快捷访问",
136
136
  "insider": true
137
137
  },
138
138
  {
@@ -214,33 +214,6 @@
214
214
  "parts": [],
215
215
  "description": "应用顶部容器"
216
216
  },
217
- {
218
- "name": "eo-frame-breadcrumb",
219
- "properties": [
220
- {
221
- "name": "breadcrumb",
222
- "description": "面包屑配置",
223
- "attribute": false,
224
- "type": "BreadcrumbItemConf[]"
225
- },
226
- {
227
- "name": "noCurrentApp",
228
- "description": "是否隐藏当前应用名称",
229
- "type": "boolean"
230
- },
231
- {
232
- "name": "menu",
233
- "description": "菜单配置",
234
- "attribute": false,
235
- "type": "Menu"
236
- }
237
- ],
238
- "events": [],
239
- "slots": [],
240
- "methods": [],
241
- "parts": [],
242
- "description": "面包屑"
243
- },
244
217
  {
245
218
  "name": "eo-sidebar-menu-group",
246
219
  "properties": [
@@ -277,6 +250,54 @@
277
250
  "description": "侧栏菜单分组",
278
251
  "category": "navigation"
279
252
  },
253
+ {
254
+ "name": "eo-sidebar-menu-item",
255
+ "properties": [
256
+ {
257
+ "name": "url",
258
+ "description": "菜单项对应的系统内地址",
259
+ "attribute": false,
260
+ "type": "LinkProps[\"url\"]"
261
+ },
262
+ {
263
+ "name": "href",
264
+ "description": "菜单项对应的外部链接地址",
265
+ "type": "LinkProps[\"href\"]"
266
+ },
267
+ {
268
+ "name": "target",
269
+ "description": "菜单项链接打开的目标",
270
+ "type": "LinkProps[\"target\"]"
271
+ },
272
+ {
273
+ "name": "icon",
274
+ "description": "菜单项的图标",
275
+ "attribute": false,
276
+ "type": "GeneralIconProps"
277
+ },
278
+ {
279
+ "name": "selected",
280
+ "description": "是否选中",
281
+ "type": "boolean"
282
+ },
283
+ {
284
+ "name": "inSubmenu",
285
+ "description": "是否在二级菜单中",
286
+ "type": "boolean"
287
+ },
288
+ {
289
+ "name": "menuCollapsed",
290
+ "description": "菜单整体是否收起状态",
291
+ "type": "boolean"
292
+ }
293
+ ],
294
+ "events": [],
295
+ "slots": [],
296
+ "methods": [],
297
+ "parts": [],
298
+ "description": "侧栏菜单项",
299
+ "category": "navigation"
300
+ },
280
301
  {
281
302
  "name": "eo-sidebar-menu-submenu",
282
303
  "properties": [
@@ -331,52 +352,31 @@
331
352
  "category": "navigation"
332
353
  },
333
354
  {
334
- "name": "eo-sidebar-menu-item",
355
+ "name": "eo-frame-breadcrumb",
335
356
  "properties": [
336
357
  {
337
- "name": "url",
338
- "description": "菜单项对应的系统内地址",
339
- "attribute": false,
340
- "type": "LinkProps[\"url\"]"
341
- },
342
- {
343
- "name": "href",
344
- "description": "菜单项对应的外部链接地址",
345
- "type": "LinkProps[\"href\"]"
346
- },
347
- {
348
- "name": "target",
349
- "description": "菜单项链接打开的目标",
350
- "type": "LinkProps[\"target\"]"
351
- },
352
- {
353
- "name": "icon",
354
- "description": "菜单项的图标",
358
+ "name": "breadcrumb",
359
+ "description": "面包屑配置",
355
360
  "attribute": false,
356
- "type": "GeneralIconProps"
357
- },
358
- {
359
- "name": "selected",
360
- "description": "是否选中",
361
- "type": "boolean"
361
+ "type": "BreadcrumbItemConf[]"
362
362
  },
363
363
  {
364
- "name": "inSubmenu",
365
- "description": "是否在二级菜单中",
364
+ "name": "noCurrentApp",
365
+ "description": "是否隐藏当前应用名称",
366
366
  "type": "boolean"
367
367
  },
368
368
  {
369
- "name": "menuCollapsed",
370
- "description": "菜单整体是否收起状态",
371
- "type": "boolean"
369
+ "name": "menu",
370
+ "description": "菜单配置",
371
+ "attribute": false,
372
+ "type": "Menu"
372
373
  }
373
374
  ],
374
375
  "events": [],
375
376
  "slots": [],
376
377
  "methods": [],
377
378
  "parts": [],
378
- "description": "侧栏菜单项",
379
- "category": "navigation"
379
+ "description": "面包屑"
380
380
  },
381
381
  {
382
382
  "name": "eo-sidebar",
@@ -428,23 +428,6 @@
428
428
  "description": "侧边栏",
429
429
  "category": "navigation"
430
430
  },
431
- {
432
- "name": "eo-sidebar-sub-menu",
433
- "properties": [
434
- {
435
- "name": "menu",
436
- "description": "菜单项",
437
- "attribute": false,
438
- "type": "SidebarMenu"
439
- }
440
- ],
441
- "events": [],
442
- "slots": [],
443
- "methods": [],
444
- "parts": [],
445
- "description": "构件 `eo-sidebar-sub-menu`",
446
- "category": "navigation"
447
- },
448
431
  {
449
432
  "name": "eo-directory",
450
433
  "properties": [
@@ -509,6 +492,23 @@
509
492
  "parts": [],
510
493
  "description": "目录"
511
494
  },
495
+ {
496
+ "name": "eo-sidebar-sub-menu",
497
+ "properties": [
498
+ {
499
+ "name": "menu",
500
+ "description": "菜单项",
501
+ "attribute": false,
502
+ "type": "SidebarMenu"
503
+ }
504
+ ],
505
+ "events": [],
506
+ "slots": [],
507
+ "methods": [],
508
+ "parts": [],
509
+ "description": "构件 `eo-sidebar-sub-menu`",
510
+ "category": "navigation"
511
+ },
512
512
  {
513
513
  "name": "eo-directory-tree",
514
514
  "properties": [
package/dist/types.json CHANGED
@@ -57,94 +57,6 @@
57
57
  "events": [],
58
58
  "methods": []
59
59
  },
60
- "eo-frame-breadcrumb": {
61
- "properties": [
62
- {
63
- "name": "breadcrumb",
64
- "annotation": {
65
- "type": "array",
66
- "elementType": {
67
- "type": "reference",
68
- "typeName": {
69
- "type": "identifier",
70
- "name": "BreadcrumbItemConf"
71
- }
72
- }
73
- }
74
- },
75
- {
76
- "name": "noCurrentApp",
77
- "annotation": {
78
- "type": "keyword",
79
- "value": "boolean"
80
- }
81
- },
82
- {
83
- "name": "menu",
84
- "annotation": {
85
- "type": "reference",
86
- "typeName": {
87
- "type": "identifier",
88
- "name": "Menu"
89
- }
90
- }
91
- }
92
- ],
93
- "events": [],
94
- "methods": [],
95
- "types": [
96
- {
97
- "type": "interface",
98
- "name": "Menu",
99
- "body": [
100
- {
101
- "type": "propertySignature",
102
- "key": {
103
- "type": "identifier",
104
- "name": "title"
105
- },
106
- "annotation": {
107
- "type": "keyword",
108
- "value": "string"
109
- },
110
- "computed": false
111
- },
112
- {
113
- "type": "propertySignature",
114
- "key": {
115
- "type": "identifier",
116
- "name": "icon"
117
- },
118
- "annotation": {
119
- "type": "reference",
120
- "typeName": {
121
- "type": "identifier",
122
- "name": "GeneralIconProps"
123
- }
124
- },
125
- "optional": true,
126
- "computed": false
127
- },
128
- {
129
- "type": "propertySignature",
130
- "key": {
131
- "type": "identifier",
132
- "name": "link"
133
- },
134
- "annotation": {
135
- "type": "reference",
136
- "typeName": {
137
- "type": "identifier",
138
- "name": "ExtendedLocationDescriptor"
139
- }
140
- },
141
- "optional": true,
142
- "computed": false
143
- }
144
- ]
145
- }
146
- ]
147
- },
148
60
  "eo-sidebar-menu-item": {
149
61
  "properties": [
150
62
  {
@@ -233,21 +145,93 @@
233
145
  "events": [],
234
146
  "methods": []
235
147
  },
236
- "eo-sidebar-sub-menu": {
148
+ "eo-frame-breadcrumb": {
237
149
  "properties": [
150
+ {
151
+ "name": "breadcrumb",
152
+ "annotation": {
153
+ "type": "array",
154
+ "elementType": {
155
+ "type": "reference",
156
+ "typeName": {
157
+ "type": "identifier",
158
+ "name": "BreadcrumbItemConf"
159
+ }
160
+ }
161
+ }
162
+ },
163
+ {
164
+ "name": "noCurrentApp",
165
+ "annotation": {
166
+ "type": "keyword",
167
+ "value": "boolean"
168
+ }
169
+ },
238
170
  {
239
171
  "name": "menu",
240
172
  "annotation": {
241
173
  "type": "reference",
242
174
  "typeName": {
243
175
  "type": "identifier",
244
- "name": "SidebarMenu"
176
+ "name": "Menu"
245
177
  }
246
178
  }
247
179
  }
248
180
  ],
249
181
  "events": [],
250
- "methods": []
182
+ "methods": [],
183
+ "types": [
184
+ {
185
+ "type": "interface",
186
+ "name": "Menu",
187
+ "body": [
188
+ {
189
+ "type": "propertySignature",
190
+ "key": {
191
+ "type": "identifier",
192
+ "name": "title"
193
+ },
194
+ "annotation": {
195
+ "type": "keyword",
196
+ "value": "string"
197
+ },
198
+ "computed": false
199
+ },
200
+ {
201
+ "type": "propertySignature",
202
+ "key": {
203
+ "type": "identifier",
204
+ "name": "icon"
205
+ },
206
+ "annotation": {
207
+ "type": "reference",
208
+ "typeName": {
209
+ "type": "identifier",
210
+ "name": "GeneralIconProps"
211
+ }
212
+ },
213
+ "optional": true,
214
+ "computed": false
215
+ },
216
+ {
217
+ "type": "propertySignature",
218
+ "key": {
219
+ "type": "identifier",
220
+ "name": "link"
221
+ },
222
+ "annotation": {
223
+ "type": "reference",
224
+ "typeName": {
225
+ "type": "identifier",
226
+ "name": "ExtendedLocationDescriptor"
227
+ }
228
+ },
229
+ "optional": true,
230
+ "computed": false
231
+ }
232
+ ]
233
+ }
234
+ ]
251
235
  },
252
236
  "eo-directory": {
253
237
  "properties": [
@@ -559,6 +543,22 @@
559
543
  }
560
544
  ]
561
545
  },
546
+ "eo-sidebar-sub-menu": {
547
+ "properties": [
548
+ {
549
+ "name": "menu",
550
+ "annotation": {
551
+ "type": "reference",
552
+ "typeName": {
553
+ "type": "identifier",
554
+ "name": "SidebarMenu"
555
+ }
556
+ }
557
+ }
558
+ ],
559
+ "events": [],
560
+ "methods": []
561
+ },
562
562
  "nav.nav-logo": {
563
563
  "properties": [],
564
564
  "events": [],
@@ -1864,6 +1864,29 @@
1864
1864
  "events": [],
1865
1865
  "methods": []
1866
1866
  },
1867
+ "eo-launchpad-quick-access": {
1868
+ "properties": [
1869
+ {
1870
+ "name": "readonly",
1871
+ "annotation": {
1872
+ "type": "keyword",
1873
+ "value": "boolean"
1874
+ }
1875
+ },
1876
+ {
1877
+ "name": "target",
1878
+ "annotation": {
1879
+ "type": "reference",
1880
+ "typeName": {
1881
+ "type": "identifier",
1882
+ "name": "Target"
1883
+ }
1884
+ }
1885
+ }
1886
+ ],
1887
+ "events": [],
1888
+ "methods": []
1889
+ },
1867
1890
  "eo-directory-tree": {
1868
1891
  "properties": [
1869
1892
  {
@@ -2961,29 +2984,6 @@
2961
2984
  "events": [],
2962
2985
  "methods": []
2963
2986
  },
2964
- "eo-launchpad-quick-access": {
2965
- "properties": [
2966
- {
2967
- "name": "readonly",
2968
- "annotation": {
2969
- "type": "keyword",
2970
- "value": "boolean"
2971
- }
2972
- },
2973
- {
2974
- "name": "target",
2975
- "annotation": {
2976
- "type": "reference",
2977
- "typeName": {
2978
- "type": "identifier",
2979
- "name": "Target"
2980
- }
2981
- }
2982
- }
2983
- ],
2984
- "events": [],
2985
- "methods": []
2986
- },
2987
2987
  "eo-launchpad-button": {
2988
2988
  "properties": [],
2989
2989
  "events": [],
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@next-bricks/nav",
3
- "version": "1.22.0",
3
+ "version": "1.22.1",
4
4
  "homepage": "https://github.com/easyops-cn/next-advanced-bricks/tree/master/bricks/nav",
5
5
  "repository": {
6
6
  "type": "git",
@@ -43,5 +43,5 @@
43
43
  "@next-bricks/form": "*",
44
44
  "@next-bricks/icons": "*"
45
45
  },
46
- "gitHead": "fd4d5b5f903bc5f64654f65fa29458ff5823be81"
46
+ "gitHead": "b7cc292b702f8cea76f558dc0349bbb5e72fd81a"
47
47
  }