@@ -12,17 +12,17 @@ Description:
12
12
<q-card id =" code-window" class =" no-shadow" v-if =" this.activeComponentObj" >
13
13
<q-tabs
14
14
v-model =" tab"
15
- dense
15
+ dense = " "
16
16
class =" bg-subaccent text-white"
17
17
active-color =" secondary"
18
18
indicator-color =" secondary"
19
19
align =" left"
20
20
>
21
21
<q-tab name =" code" label =" Code Snippet" class =" label-text" />
22
22
<q-tab name =" html" label =" HTML Elements" class =" label-text" />
23
- <q-tab name =" state" label =" Component State " class =" label-text" />
24
- <q-tab name =" actions" label =" Component Actions" class =" label-text" />
25
- <q-tab name =" props" label =" Component Props" class =" label-text" />
23
+ <q-tab name =" state" label =" Component Properties " class =" label-text" />
24
+ <!-- < q-tab name="actions" label="Component Actions" class="label-text" />
25
+ <q-tab name="props" label="Component Props" class="label-text" /> -->
26
26
</q-tabs >
27
27
<q-tab-panels v-model =" tab" animated class =" html-bg text-white" >
28
28
<q-tab-panel name =" code" >
@@ -32,6 +32,8 @@ Description:
32
32
<HTMLQueue />
33
33
</q-tab-panel >
34
34
<q-tab-panel name =" state" >
35
+ <div class =" componentProperties" >
36
+ <q-expansion-item default-closed label =" Component State" >
35
37
<p v-if =" !this?.activeComponentObj?.state?.length" >
36
38
{{this.activeComponent ? `No state in ${this.activeComponent}` : 'Select a component.' }}
37
39
</p >
@@ -43,9 +45,11 @@ Description:
43
45
{{ comp }}
44
46
</li >
45
47
</ul >
46
- </q-tab-panel >
47
- <q-tab-panel name =" actions" >
48
- <p v-if =" !this?.activeComponentObj?.actions?.length" >
48
+ </q-expansion-item >
49
+ </div >
50
+ <div class =" componentProperties" >
51
+ <q-expansion-item default-closed label =" Component Actions" >
52
+ <p v-if =" !this?.activeComponentObj?.actions?.length" >
49
53
{{this.activeComponent ? `No actions in ${this.activeComponent}` : 'Select a component.' }}
50
54
</p >
51
55
<p v-else >
@@ -56,9 +60,11 @@ Description:
56
60
{{ comp }}
57
61
</li >
58
62
</ul >
59
- </q-tab-panel >
60
- <q-tab-panel name =" props" >
61
- <p v-if =" !this?.activeComponentObj?.props?.length" >
63
+ </q-expansion-item >
64
+ </div >
65
+ <div class =" componentProperties" >
66
+ <q-expansion-item default-closed label =" Component Props" >
67
+ <p v-if =" !this?.activeComponentObj?.props?.length" >
62
68
{{this.activeComponent ? `No props in ${this.activeComponent}` : 'Select a component.' }}
63
69
</p >
64
70
<p v-else >
@@ -69,6 +75,8 @@ Description:
69
75
{{ comp }}
70
76
</li >
71
77
</ul >
78
+ </q-expansion-item >
79
+ </div >
72
80
</q-tab-panel >
73
81
</q-tab-panels >
74
82
</q-card >
195
203
align-content : stretch ;
196
204
max-height : 95% ;
197
205
}
206
+
207
+ .componentProperties {
208
+ margin-bottom :2em ;
209
+ }
198
210
</style >
0 commit comments