@primevue/mcp 4.5.5 → 5.0.0-rc.2
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.
- package/LICENSE.md +45 -21
- package/README.md +48 -250
- package/data/components.json +47269 -0
- package/data/llms/components/accordion.md +629 -0
- package/data/llms/components/animateonscroll.md +165 -0
- package/data/llms/components/autocomplete.md +995 -0
- package/data/llms/components/avatar.md +264 -0
- package/data/llms/components/badge.md +200 -0
- package/data/llms/components/blockui.md +99 -0
- package/data/llms/components/breadcrumb.md +269 -0
- package/data/llms/components/button.md +902 -0
- package/data/llms/components/card.md +209 -0
- package/data/llms/components/carousel.md +506 -0
- package/data/llms/components/cascadeselect.md +1207 -0
- package/data/llms/components/chart.md +1022 -0
- package/data/llms/components/checkbox.md +401 -0
- package/data/llms/components/chip.md +206 -0
- package/data/llms/components/colorpicker.md +213 -0
- package/data/llms/components/commandmenu.md +660 -0
- package/data/llms/components/compare.md +407 -0
- package/data/llms/components/confirmdialog.md +343 -0
- package/data/llms/components/confirmpopup.md +252 -0
- package/data/llms/components/contextmenu.md +522 -0
- package/data/llms/components/datatable.md +5266 -0
- package/data/llms/components/dataview.md +569 -0
- package/data/llms/components/datepicker.md +964 -0
- package/data/llms/components/deferredcontent.md +96 -0
- package/data/llms/components/dialog.md +702 -0
- package/data/llms/components/divider.md +152 -0
- package/data/llms/components/dock.md +488 -0
- package/data/llms/components/drawer.md +469 -0
- package/data/llms/components/dynamicdialog.md +214 -0
- package/data/llms/components/editor.md +205 -0
- package/data/llms/components/fieldset.md +253 -0
- package/data/llms/components/fileupload.md +459 -0
- package/data/llms/components/floatlabel.md +144 -0
- package/data/llms/components/fluid.md +104 -0
- package/data/llms/components/focustrap.md +59 -0
- package/data/llms/components/forms.md +344 -0
- package/data/llms/components/galleria.md +1119 -0
- package/data/llms/components/gallery.md +1003 -0
- package/data/llms/components/iconfield.md +283 -0
- package/data/llms/components/iftalabel.md +96 -0
- package/data/llms/components/image.md +179 -0
- package/data/llms/components/imagecompare.md +108 -0
- package/data/llms/components/inplace.md +183 -0
- package/data/llms/components/inputcolor.md +869 -0
- package/data/llms/components/inputgroup.md +419 -0
- package/data/llms/components/inputmask.md +345 -0
- package/data/llms/components/inputnumber.md +551 -0
- package/data/llms/components/inputotp.md +345 -0
- package/data/llms/components/inputpassword.md +738 -0
- package/data/llms/components/inputtags.md +432 -0
- package/data/llms/components/inputtext.md +569 -0
- package/data/llms/components/installation.md +1 -0
- package/data/llms/components/keyfilter.md +116 -0
- package/data/llms/components/knob.md +318 -0
- package/data/llms/components/label.md +151 -0
- package/data/llms/components/laravel.md +53 -0
- package/data/llms/components/listbox.md +636 -0
- package/data/llms/components/mask.md +203 -0
- package/data/llms/components/mcp.md +39 -0
- package/data/llms/components/megamenu.md +563 -0
- package/data/llms/components/menu.md +651 -0
- package/data/llms/components/menubar.md +446 -0
- package/data/llms/components/message.md +497 -0
- package/data/llms/components/metergroup.md +281 -0
- package/data/llms/components/multiselect.md +752 -0
- package/data/llms/components/orderlist.md +224 -0
- package/data/llms/components/organizationchart.md +418 -0
- package/data/llms/components/paginator.md +221 -0
- package/data/llms/components/panel.md +321 -0
- package/data/llms/components/panelmenu.md +703 -0
- package/data/llms/components/password.md +657 -0
- package/data/llms/components/picklist.md +286 -0
- package/data/llms/components/popover.md +145 -0
- package/data/llms/components/progressbar.md +242 -0
- package/data/llms/components/progressspinner.md +104 -0
- package/data/llms/components/radiobutton.md +427 -0
- package/data/llms/components/rating.md +312 -0
- package/data/llms/components/ripple.md +91 -0
- package/data/llms/components/scrollarea.md +700 -0
- package/data/llms/components/scrollpanel.md +131 -0
- package/data/llms/components/scrolltop.md +87 -0
- package/data/llms/components/select.md +1251 -0
- package/data/llms/components/selectbutton.md +268 -0
- package/data/llms/components/sidebar.md +2232 -0
- package/data/llms/components/skeleton.md +302 -0
- package/data/llms/components/slider.md +416 -0
- package/data/llms/components/speeddial.md +402 -0
- package/data/llms/components/splitbutton.md +840 -0
- package/data/llms/components/splitter.md +447 -0
- package/data/llms/components/stepper.md +551 -0
- package/data/llms/components/styleclass.md +226 -0
- package/data/llms/components/tabs.md +609 -0
- package/data/llms/components/tag.md +178 -0
- package/data/llms/components/terminal.md +123 -0
- package/data/llms/components/textarea.md +519 -0
- package/data/llms/components/tieredmenu.md +578 -0
- package/data/llms/components/timeline.md +494 -0
- package/data/llms/components/toast.md +472 -0
- package/data/llms/components/togglebutton.md +276 -0
- package/data/llms/components/toggleswitch.md +271 -0
- package/data/llms/components/toolbar.md +140 -0
- package/data/llms/components/tooltip.md +160 -0
- package/data/llms/components/tree.md +1076 -0
- package/data/llms/components/treeselect.md +660 -0
- package/data/llms/components/treetable.md +2493 -0
- package/data/llms/components/virtualscroller.md +265 -0
- package/data/llms/guides/autoimport.md +28 -0
- package/data/llms/guides/cdn.md +72 -0
- package/data/llms/guides/configuration.md +158 -0
- package/data/llms/guides/customicons.md +67 -0
- package/data/llms/guides/guides/accessibility.md +27 -0
- package/data/llms/guides/guides/animations.md +119 -0
- package/data/llms/guides/guides/rtl.md +7 -0
- package/data/llms/guides/icons.md +136 -0
- package/data/llms/guides/installation.md +3 -0
- package/data/llms/guides/laravel.md +66 -0
- package/data/llms/guides/llms.md +15 -0
- package/data/llms/guides/mcp.md +104 -0
- package/data/llms/guides/migration/v4.md +15 -0
- package/data/llms/guides/migration/v5.md +15 -0
- package/data/llms/guides/nuxt.md +141 -0
- package/data/llms/guides/passthrough.md +137 -0
- package/data/llms/guides/primeclt.md +43 -0
- package/data/llms/guides/tailwind.md +151 -0
- package/data/llms/guides/theming/styled.md +497 -0
- package/data/llms/guides/theming/unstyled.md +57 -0
- package/data/llms/guides/uikit.md +3 -0
- package/data/llms/guides/vite.md +90 -0
- package/data/llms/llms-full.txt +54465 -0
- package/data/llms/llms.txt +132 -0
- package/data/llms/pages/accessibility.md +27 -0
- package/data/llms/pages/animations.md +119 -0
- package/data/llms/pages/autoimport.md +28 -0
- package/data/llms/pages/cdn.md +72 -0
- package/data/llms/pages/configuration.md +158 -0
- package/data/llms/pages/contribution.md +31 -0
- package/data/llms/pages/customicons.md +67 -0
- package/data/llms/pages/designer.md +79 -0
- package/data/llms/pages/dynamicimports.md +7 -0
- package/data/llms/pages/forms.md +63 -0
- package/data/llms/pages/guides/accessibility.md +27 -0
- package/data/llms/pages/guides/animations.md +119 -0
- package/data/llms/pages/guides/rtl.md +7 -0
- package/data/llms/pages/icons.md +136 -0
- package/data/llms/pages/installation.md +3 -0
- package/data/llms/pages/introduction.md +23 -0
- package/data/llms/pages/laravel.md +66 -0
- package/data/llms/pages/llms.md +15 -0
- package/data/llms/pages/mcp.md +104 -0
- package/data/llms/pages/migration/v4.md +15 -0
- package/data/llms/pages/migration/v5.md +15 -0
- package/data/llms/pages/nuxt.md +141 -0
- package/data/llms/pages/passthrough.md +137 -0
- package/data/llms/pages/primeclt.md +43 -0
- package/data/llms/pages/rtl.md +7 -0
- package/data/llms/pages/setup.md +3 -0
- package/data/llms/pages/styled.md +497 -0
- package/data/llms/pages/tailwind.md +151 -0
- package/data/llms/pages/theming/styled.md +497 -0
- package/data/llms/pages/theming/unstyled.md +57 -0
- package/data/llms/pages/uikit.md +3 -0
- package/data/llms/pages/unstyled.md +57 -0
- package/data/llms/pages/v4.md +15 -0
- package/data/llms/pages/v5.md +15 -0
- package/data/llms/pages/vite.md +90 -0
- package/data/manifest.json +11117 -0
- package/data/mcp-data.json +55940 -0
- package/dist/index.d.ts +17 -1
- package/dist/index.js +66066 -72541
- package/package.json +10 -12
|
@@ -0,0 +1,281 @@
|
|
|
1
|
+
# MeterGroup
|
|
2
|
+
|
|
3
|
+
MeterGroup displays scalar measurements within a known range.
|
|
4
|
+
|
|
5
|
+
## Basic
|
|
6
|
+
|
|
7
|
+
Visualizes multiple values as segmented horizontal bars.
|
|
8
|
+
|
|
9
|
+
```vue
|
|
10
|
+
<template>
|
|
11
|
+
<MeterGroup :value="value" class="max-w-md mx-auto" />
|
|
12
|
+
</template>
|
|
13
|
+
|
|
14
|
+
<script setup>
|
|
15
|
+
import { ref } from "vue";
|
|
16
|
+
|
|
17
|
+
const value = ref([{ label: 'Space used', value: 15, color: 'var(--p-primary-color)' }]);
|
|
18
|
+
<\/script>
|
|
19
|
+
```
|
|
20
|
+
|
|
21
|
+
## Multiple
|
|
22
|
+
|
|
23
|
+
Adding more items to the value array displays the meters in a group.
|
|
24
|
+
|
|
25
|
+
```vue
|
|
26
|
+
<template>
|
|
27
|
+
<MeterGroup :value="value" class="max-w-md mx-auto" />
|
|
28
|
+
</template>
|
|
29
|
+
|
|
30
|
+
<script setup>
|
|
31
|
+
import { ref } from "vue";
|
|
32
|
+
|
|
33
|
+
const value = ref([
|
|
34
|
+
{ label: 'Apps', value: 14, color: 'var(--p-violet-500)' },
|
|
35
|
+
{ label: 'Messages', value: 12, color: 'var(--p-emerald-500)' },
|
|
36
|
+
{ label: 'Media', value: 8, color: 'var(--p-amber-500)' },
|
|
37
|
+
{ label: 'System', value: 12, color: 'var(--p-blue-500)' },
|
|
38
|
+
{ label: 'Documents', value: 6, color: 'var(--p-gray-500)' },
|
|
39
|
+
{ label: 'Cache', value: 11, color: 'var(--p-cyan-500)' },
|
|
40
|
+
{ label: 'Other', value: 9, color: 'var(--p-pink-500)' }
|
|
41
|
+
]);
|
|
42
|
+
<\/script>
|
|
43
|
+
```
|
|
44
|
+
|
|
45
|
+
## Color
|
|
46
|
+
|
|
47
|
+
MeterGroup supports custom colors through the color property, which accepts CSS variables, hex, rgb, hsl or hsla values.
|
|
48
|
+
|
|
49
|
+
```vue
|
|
50
|
+
<template>
|
|
51
|
+
<MeterGroup :value="value" class="max-w-md mx-auto" />
|
|
52
|
+
</template>
|
|
53
|
+
|
|
54
|
+
<script setup>
|
|
55
|
+
import { ref } from 'vue';
|
|
56
|
+
|
|
57
|
+
const value = ref([
|
|
58
|
+
{ label: 'Violet', value: 12, color: 'var(--p-violet-500)' },
|
|
59
|
+
{ label: 'Emerald', value: 14, color: '#10B981' },
|
|
60
|
+
{ label: 'Rose', value: 10, color: 'rgb(244, 63, 94)' },
|
|
61
|
+
{ label: 'Blue', value: 8, color: '#3B82F6' },
|
|
62
|
+
{ label: 'Yellow', value: 10, color: '#EAB308' }
|
|
63
|
+
]);
|
|
64
|
+
<\/script>
|
|
65
|
+
```
|
|
66
|
+
|
|
67
|
+
## Icon
|
|
68
|
+
|
|
69
|
+
Icons can be displayed next to the labels instead of the default marker.
|
|
70
|
+
|
|
71
|
+
```vue
|
|
72
|
+
<template>
|
|
73
|
+
<MeterGroup :value="value" class="max-w-md mx-auto" />
|
|
74
|
+
</template>
|
|
75
|
+
|
|
76
|
+
<script setup>
|
|
77
|
+
import { ref } from 'vue';
|
|
78
|
+
import Cog from '@primeicons/vue/cog';
|
|
79
|
+
import Image from '@primeicons/vue/image';
|
|
80
|
+
import Inbox from '@primeicons/vue/inbox';
|
|
81
|
+
import Table from '@primeicons/vue/table';
|
|
82
|
+
|
|
83
|
+
const value = ref([
|
|
84
|
+
{ label: 'Apps', value: 16, color: 'var(--p-violet-500)', icon: Table },
|
|
85
|
+
{ label: 'Messages', value: 8, color: 'var(--p-emerald-500)', icon: Inbox },
|
|
86
|
+
{ label: 'Media', value: 24, color: 'var(--p-amber-500)', icon: Image },
|
|
87
|
+
{ label: 'System', value: 10, color: 'var(--p-blue-500)', icon: Cog }
|
|
88
|
+
]);
|
|
89
|
+
<\/script>
|
|
90
|
+
```
|
|
91
|
+
|
|
92
|
+
## Label
|
|
93
|
+
|
|
94
|
+
The default orientation of the labels is horizontal, and the vertical alternative is available through the labelOrientation option.
|
|
95
|
+
|
|
96
|
+
```vue
|
|
97
|
+
<template>
|
|
98
|
+
<MeterGroup :value="value" labelPosition="start" class="max-w-md mx-auto" />
|
|
99
|
+
</template>
|
|
100
|
+
|
|
101
|
+
<script setup>
|
|
102
|
+
import { ref } from "vue";
|
|
103
|
+
|
|
104
|
+
const value = ref([
|
|
105
|
+
{ label: 'Apps', value: 16, color: 'var(--p-violet-500)' },
|
|
106
|
+
{ label: 'Messages', value: 8, color: 'var(--p-emerald-500)' },
|
|
107
|
+
{ label: 'Media', value: 24, color: 'var(--p-amber-500)' },
|
|
108
|
+
{ label: 'System', value: 10, color: 'var(--p-blue-500)' }
|
|
109
|
+
]);
|
|
110
|
+
<\/script>
|
|
111
|
+
```
|
|
112
|
+
|
|
113
|
+
## Vertical
|
|
114
|
+
|
|
115
|
+
Layout of the MeterGroup is configured with the orientation property that accepts either horizontal or vertical as available options.
|
|
116
|
+
|
|
117
|
+
```vue
|
|
118
|
+
<template>
|
|
119
|
+
<div class="flex justify-center">
|
|
120
|
+
<MeterGroup :value="value" orientation="vertical" labelOrientation="vertical" :style="{ height: '360px' }" />
|
|
121
|
+
</div>
|
|
122
|
+
</template>
|
|
123
|
+
|
|
124
|
+
<script setup>
|
|
125
|
+
import { ref } from "vue";
|
|
126
|
+
|
|
127
|
+
const value = ref([
|
|
128
|
+
{ label: 'Apps', value: 24, color: 'var(--p-violet-500)' },
|
|
129
|
+
{ label: 'Messages', value: 16, color: 'var(--p-emerald-500)' },
|
|
130
|
+
{ label: 'Media', value: 24, color: 'var(--p-amber-500)' },
|
|
131
|
+
{ label: 'System', value: 12, color: 'var(--p-blue-500)' }
|
|
132
|
+
]);
|
|
133
|
+
<\/script>
|
|
134
|
+
```
|
|
135
|
+
|
|
136
|
+
## Min Max
|
|
137
|
+
|
|
138
|
+
Boundaries are configured with the min and max values whose defaults are 0 and 100 respectively.
|
|
139
|
+
|
|
140
|
+
```vue
|
|
141
|
+
<template>
|
|
142
|
+
<MeterGroup :value="value" :max="200" class="max-w-md mx-auto" />
|
|
143
|
+
</template>
|
|
144
|
+
|
|
145
|
+
<script setup>
|
|
146
|
+
import { ref } from "vue";
|
|
147
|
+
|
|
148
|
+
const value = ref([
|
|
149
|
+
{ label: 'Apps', value: 16, color: 'var(--p-violet-500)' },
|
|
150
|
+
{ label: 'Messages', value: 8, color: 'var(--p-emerald-500)' },
|
|
151
|
+
{ label: 'Media', value: 24, color: 'var(--p-amber-500)' },
|
|
152
|
+
{ label: 'System', value: 10, color: 'var(--p-blue-500)' }
|
|
153
|
+
]);
|
|
154
|
+
<\/script>
|
|
155
|
+
```
|
|
156
|
+
|
|
157
|
+
## Template
|
|
158
|
+
|
|
159
|
+
MeterGroup provides templating support for labels, meter items, and content around the meters.
|
|
160
|
+
|
|
161
|
+
```vue
|
|
162
|
+
<template>
|
|
163
|
+
<MeterGroup :value="value" labelPosition="start" class="max-w-sm mx-auto">
|
|
164
|
+
<template #label="{ value }">
|
|
165
|
+
<div class="flex flex-wrap gap-4">
|
|
166
|
+
<template v-for="val of value" :key="val.label">
|
|
167
|
+
<Card class="flex-1 border border-surface shadow-none">
|
|
168
|
+
<template #content>
|
|
169
|
+
<div class="flex justify-between gap-8">
|
|
170
|
+
<div class="flex flex-col gap-1">
|
|
171
|
+
<span class="text-surface-500 dark:text-surface-400 text-sm">{{ val.label }}</span>
|
|
172
|
+
<span class="font-bold text-lg">{{ val.value }}%</span>
|
|
173
|
+
</div>
|
|
174
|
+
<span class="w-8 h-8 rounded-full inline-flex justify-center items-center text-center" :style="{ backgroundColor: \`\${val.color1}\`, color: '#ffffff' }">
|
|
175
|
+
<component :is="val.icon" />
|
|
176
|
+
</span>
|
|
177
|
+
</div>
|
|
178
|
+
</template>
|
|
179
|
+
</Card>
|
|
180
|
+
</template>
|
|
181
|
+
</div>
|
|
182
|
+
</template>
|
|
183
|
+
<template #meter="slotProps">
|
|
184
|
+
<span :class="slotProps.class" :style="{ background: \`linear-gradient(to right, \${slotProps.value.color1}, \${slotProps.value.color2})\`, width: slotProps.size }" />
|
|
185
|
+
</template>
|
|
186
|
+
<template #start="{ totalPercent }">
|
|
187
|
+
<div class="flex justify-between mt-4 mb-2 relative">
|
|
188
|
+
<span class="text-sm">Storage</span>
|
|
189
|
+
<span :style="{ width: totalPercent + '%' }" class="absolute text-right text-sm">{{ totalPercent }}%</span>
|
|
190
|
+
<span class="font-medium text-sm">1TB</span>
|
|
191
|
+
</div>
|
|
192
|
+
</template>
|
|
193
|
+
<template #end>
|
|
194
|
+
<div class="flex justify-between mt-4">
|
|
195
|
+
<Button variant="outlined" size="small">Manage Storage</Button>
|
|
196
|
+
<Button size="small">Update Plan</Button>
|
|
197
|
+
</div>
|
|
198
|
+
</template>
|
|
199
|
+
</MeterGroup>
|
|
200
|
+
</template>
|
|
201
|
+
|
|
202
|
+
<script setup>
|
|
203
|
+
import { ref } from "vue";
|
|
204
|
+
import Cog from '@primeicons/vue/cog';
|
|
205
|
+
import Image from '@primeicons/vue/image';
|
|
206
|
+
import Inbox from '@primeicons/vue/inbox';
|
|
207
|
+
import Table from '@primeicons/vue/table';
|
|
208
|
+
|
|
209
|
+
const value = ref([
|
|
210
|
+
{ label: 'Apps', color1: '#34d399', color2: '#fbbf24', value: 25, icon: Table },
|
|
211
|
+
{ label: 'Messages', color1: '#fbbf24', color2: '#60a5fa', value: 15, icon: Inbox },
|
|
212
|
+
{ label: 'Media', color1: '#60a5fa', color2: '#c084fc', value: 20, icon: Image },
|
|
213
|
+
{ label: 'System', color1: '#c084fc', color2: '#c084fc', value: 10, icon: Cog }
|
|
214
|
+
]);
|
|
215
|
+
<\/script>
|
|
216
|
+
```
|
|
217
|
+
|
|
218
|
+
## Accessibility
|
|
219
|
+
|
|
220
|
+
Screen Reader MeterGroup component uses meter role in addition to the aria-valuemin , aria-valuemax and aria-valuenow attributes. Value to describe the component can be defined using aria-labelledby prop. Keyboard Support Component does not include any interactive elements.
|
|
221
|
+
|
|
222
|
+
## Meter Group API
|
|
223
|
+
|
|
224
|
+
### Props
|
|
225
|
+
|
|
226
|
+
| Name |Type |Default |Description |
|
|
227
|
+
| --- | --- | --- | --- |
|
|
228
|
+
| value | MeterItem[] | - | Current value of the metergroup. |
|
|
229
|
+
| min | number | 0 | Mininum boundary value. |
|
|
230
|
+
| max | number | 100 | Maximum boundary value. |
|
|
231
|
+
| orientation | "horizontal" \| "vertical" | horizontal | Specifies the layout of the component, valid values are 'horizontal' and 'vertical'. |
|
|
232
|
+
| labelPosition | "start" \| "end" | end | Specifies the label position of the component, valid values are 'start' and 'end'. |
|
|
233
|
+
| labelOrientation | "horizontal" \| "vertical" | horizontal | Specifies the label orientation of the component, valid values are 'horizontal' and 'vertical'. |
|
|
234
|
+
| dt | any | - | It generates scoped CSS variables using design tokens for the component. |
|
|
235
|
+
| pt | PassThrough<MeterGroupPassThroughOptions> | - | Used to pass attributes to DOM elements inside the component. |
|
|
236
|
+
| ptOptions | any | - | Used to configure passthrough(pt) options of the component. |
|
|
237
|
+
| unstyled | boolean | false | When enabled, it removes component related styles in the core. |
|
|
238
|
+
|
|
239
|
+
### Pass Through Options
|
|
240
|
+
|
|
241
|
+
| Name |Type |Description |
|
|
242
|
+
| --- | --- | --- |
|
|
243
|
+
| root | MeterGroupPassThroughOptionType | Used to pass attributes to the root's DOM element. |
|
|
244
|
+
| meters | MeterGroupPassThroughOptionType | Used to pass attributes to the meter container's DOM element. |
|
|
245
|
+
| meter | MeterGroupPassThroughOptionType | Used to pass attributes to the meter's DOM element. |
|
|
246
|
+
| labelList | MeterGroupPassThroughOptionType | Used to pass attributes to the label list's DOM element. |
|
|
247
|
+
| label | MeterGroupPassThroughOptionType | Used to pass attributes to the label list item's DOM element. |
|
|
248
|
+
| labelIcon | MeterGroupPassThroughOptionType | Used to pass attributes to the label icon type's DOM element. |
|
|
249
|
+
| labelMarker | MeterGroupPassThroughOptionType | Used to pass attributes to the label list type's DOM element. |
|
|
250
|
+
| labelText | MeterGroupPassThroughOptionType | Used to pass attributes to the label's DOM element. |
|
|
251
|
+
|
|
252
|
+
### Theming
|
|
253
|
+
|
|
254
|
+
### CSS Classes
|
|
255
|
+
|
|
256
|
+
| Class |Description |
|
|
257
|
+
| --- | --- |
|
|
258
|
+
| p-metergroup | Class name of the root element |
|
|
259
|
+
| p-metergroup-meters | Class name of the meters element |
|
|
260
|
+
| p-metergroup-meter | Class name of the meter element |
|
|
261
|
+
| p-metergroup-label-list | Class name of the label list element |
|
|
262
|
+
| p-metergroup-label | Class name of the label element |
|
|
263
|
+
| p-metergroup-label-icon | Class name of the label icon element |
|
|
264
|
+
| p-metergroup-label-marker | Class name of the label marker element |
|
|
265
|
+
| p-metergroup-label-text | Class name of the label text element |
|
|
266
|
+
|
|
267
|
+
### Design Tokens
|
|
268
|
+
|
|
269
|
+
| Token |CSS Variable |Description |
|
|
270
|
+
| --- | --- | --- |
|
|
271
|
+
| metergroup.border.radius | --p-metergroup-border-radius | Border radius of root |
|
|
272
|
+
| metergroup.gap | --p-metergroup-gap | Gap of root |
|
|
273
|
+
| metergroup.meters.background | --p-metergroup-meters-background | Background of meters |
|
|
274
|
+
| metergroup.meters.size | --p-metergroup-meters-size | Size of meters |
|
|
275
|
+
| metergroup.label.gap | --p-metergroup-label-gap | Gap of label |
|
|
276
|
+
| metergroup.label.marker.size | --p-metergroup-label-marker-size | Size of label marker |
|
|
277
|
+
| metergroup.label.text.font.weight | --p-metergroup-label-text-font-weight | Font weight of label text |
|
|
278
|
+
| metergroup.label.text.font.size | --p-metergroup-label-text-font-size | Font size of label text |
|
|
279
|
+
| metergroup.label.icon.size | --p-metergroup-label-icon-size | Size of label icon |
|
|
280
|
+
| metergroup.label.list.vertical.gap | --p-metergroup-label-list-vertical-gap | Vertical gap of label list |
|
|
281
|
+
| metergroup.label.list.horizontal.gap | --p-metergroup-label-list-horizontal-gap | Horizontal gap of label list |
|