@@ -61,74 +61,109 @@ export const sidebar = (lang: string): DefaultTheme.SidebarItem[] => {
6161 text : 'All Macros' ,
6262 link : `${ urlPrefix } /macros/` ,
6363 } ,
64+
6465 {
65- text : 'defineOptions' ,
66- link : `${ urlPrefix } /macros/define-options` ,
67- } ,
68- {
69- text : 'defineModel' ,
70- link : `${ urlPrefix } /macros/define-model` ,
71- } ,
72- {
73- text : 'defineProps' ,
74- link : `${ urlPrefix } /macros/define-props` ,
75- } ,
76- {
77- text : 'definePropsRefs' ,
78- link : `${ urlPrefix } /macros/define-props-refs` ,
79- } ,
80- {
81- text : 'defineSlots' ,
82- link : `${ urlPrefix } /macros/define-slots` ,
83- } ,
84- {
85- text : 'defineRender' ,
86- link : `${ urlPrefix } /macros/define-render` ,
87- } ,
88- {
89- text : 'shortEmits' ,
90- link : `${ urlPrefix } /macros/short-emits` ,
91- } ,
92- {
93- text : 'shortVmodel' ,
94- link : `${ urlPrefix } /macros/short-vmodel` ,
95- } ,
96- {
97- text : 'setupComponent' ,
98- link : `${ urlPrefix } /macros/setup-component` ,
66+ text : 'Official' ,
67+ items : [
68+ {
69+ text : 'defineOptions' ,
70+ link : `${ urlPrefix } /macros/define-options` ,
71+ } ,
72+ {
73+ text : 'defineSlots' ,
74+ link : `${ urlPrefix } /macros/define-slots` ,
75+ } ,
76+ {
77+ text : 'defineModel' ,
78+ link : `${ urlPrefix } /macros/define-model` ,
79+ } ,
80+ {
81+ text : 'shortEmits' ,
82+ link : `${ urlPrefix } /macros/short-emits` ,
83+ } ,
84+ ] ,
9985 } ,
86+
10087 {
101- text : 'setupSFC' ,
102- link : `${ urlPrefix } /macros/setup-sfc` ,
88+ text : 'Stable' ,
89+ items : [
90+ {
91+ text : 'defineProps' ,
92+ link : `${ urlPrefix } /macros/define-props` ,
93+ } ,
94+ {
95+ text : 'definePropsRefs' ,
96+ link : `${ urlPrefix } /macros/define-props-refs` ,
97+ } ,
98+ {
99+ text : 'defineRender' ,
100+ link : `${ urlPrefix } /macros/define-render` ,
101+ } ,
102+ {
103+ text : 'shortVmodel' ,
104+ link : `${ urlPrefix } /macros/short-vmodel` ,
105+ } ,
106+ ] ,
103107 } ,
108+
104109 {
105- text : 'singleDefine' ,
106- link : `${ urlPrefix } /macros/single-define` ,
110+ text : 'Experimental' ,
111+ items : [
112+ {
113+ text : 'singleDefine' ,
114+ link : `${ urlPrefix } /macros/single-define` ,
115+ } ,
116+ {
117+ text : 'setupComponent' ,
118+ link : `${ urlPrefix } /macros/setup-component` ,
119+ } ,
120+ {
121+ text : 'setupSFC' ,
122+ link : `${ urlPrefix } /macros/setup-sfc` ,
123+ } ,
124+ ] ,
107125 } ,
108126 ] ,
109127 } ,
110128 {
111129 text : 'Features' ,
112130 items : [
113131 {
114- text : 'hoistStatic' ,
115- link : `${ urlPrefix } /features/hoist-static` ,
116- } ,
117- {
118- text : 'namedTemplate' ,
119- link : `${ urlPrefix } /features/named-template` ,
120- } ,
121- {
122- text : 'betterDefine' ,
123- link : `${ urlPrefix } /features/better-define` ,
132+ text : 'Official' ,
133+ items : [
134+ {
135+ text : 'hoistStatic' ,
136+ link : `${ urlPrefix } /features/hoist-static` ,
137+ } ,
138+ ] ,
124139 } ,
140+
125141 {
126- text : 'exportProps' ,
127- link : `${ urlPrefix } /features/export-props` ,
142+ text : 'Stable' ,
143+ items : [
144+ {
145+ text : 'betterDefine' ,
146+ link : `${ urlPrefix } /features/better-define` ,
147+ } ,
148+ {
149+ text : 'reactivityTransform' ,
150+ link : `${ urlPrefix } /features/reactivity-transform` ,
151+ } ,
152+ ] ,
128153 } ,
154+
129155 {
130- text : 'reactivityTransform' ,
131- link : `${ urlPrefix } /features/reactivity-transform` ,
156+ text : 'Experimental' ,
157+ items : [
158+ {
159+ text : 'namedTemplate' ,
160+ link : `${ urlPrefix } /features/named-template` ,
161+ } ,
162+ {
163+ text : 'exportProps' ,
164+ link : `${ urlPrefix } /features/export-props` ,
165+ } ,
166+ ] ,
132167 } ,
133168 ] ,
134169 } ,
0 commit comments