@kubex/zinc 1.0.106 → 1.0.107

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.
@@ -6,7 +6,11 @@ layout: component
6
6
  ---
7
7
 
8
8
  ```html:preview
9
- <zn-stat caption="Total Revenue" description="This month" amount="48250" previous="42100" currency="$" show-delta></zn-stat>
9
+ <zn-cols>
10
+ <zn-panel>
11
+ <zn-stat caption="Total Revenue" description="This month" amount="48250" previous="42100" currency="$" show-delta></zn-stat>
12
+ </zn-panel>
13
+ </zn-cols>
10
14
  ```
11
15
 
12
16
  ## Examples
@@ -16,7 +20,11 @@ layout: component
16
20
  A basic stat displays a caption, description, and amount.
17
21
 
18
22
  ```html:preview
19
- <zn-stat caption="Total Users" description="Active accounts" amount="1247"></zn-stat>
23
+ <zn-cols>
24
+ <zn-panel>
25
+ <zn-stat caption="Total Users" description="Active accounts" amount="1247"></zn-stat>
26
+ </zn-panel>
27
+ </zn-cols>
20
28
  ```
21
29
 
22
30
  ### Currency Formatting
@@ -25,9 +33,15 @@ Use the `currency` attribute to automatically format monetary values with proper
25
33
 
26
34
  ```html:preview
27
35
  <zn-cols>
28
- <zn-stat caption="Monthly Revenue" description="January 2026" amount="125750.50" currency="$" color="success"></zn-stat>
29
- <zn-stat caption="Total Sales" description="This quarter" amount="487999.99" currency="$" color="info"></zn-stat>
30
- <zn-stat caption="Outstanding Balance" description="Accounts receivable" amount="23450" currency="$" color="warning"></zn-stat>
36
+ <zn-panel>
37
+ <zn-stat caption="Monthly Revenue" description="January 2026" amount="125750.50" currency="$" color="success"></zn-stat>
38
+ </zn-panel>
39
+ <zn-panel>
40
+ <zn-stat caption="Total Sales" description="This quarter" amount="487999.99" currency="$" color="info"></zn-stat>
41
+ </zn-panel>
42
+ <zn-panel>
43
+ <zn-stat caption="Outstanding Balance" description="Accounts receivable" amount="23450" currency="$" color="warning"></zn-stat>
44
+ </zn-panel>
31
45
  </zn-cols>
32
46
  ```
33
47
 
@@ -37,9 +51,15 @@ Use `type="percent"` to display percentage metrics.
37
51
 
38
52
  ```html:preview
39
53
  <zn-cols>
40
- <zn-stat caption="Conversion Rate" description="Last 30 days" amount="4.8" type="percent" color="success"></zn-stat>
41
- <zn-stat caption="Bounce Rate" description="Website visitors" amount="32.5" type="percent" color="warning"></zn-stat>
42
- <zn-stat caption="Growth" description="Year over year" amount="127.3" type="percent" color="info"></zn-stat>
54
+ <zn-panel>
55
+ <zn-stat caption="Conversion Rate" description="Last 30 days" amount="4.8" type="percent" color="success"></zn-stat>
56
+ </zn-panel>
57
+ <zn-panel>
58
+ <zn-stat caption="Bounce Rate" description="Website visitors" amount="32.5" type="percent" color="warning"></zn-stat>
59
+ </zn-panel>
60
+ <zn-panel>
61
+ <zn-stat caption="Growth" description="Year over year" amount="127.3" type="percent" color="info"></zn-stat>
62
+ </zn-panel>
43
63
  </zn-cols>
44
64
  ```
45
65
 
@@ -49,9 +69,15 @@ Use `type="time"` to display time values in seconds, which will be formatted as
49
69
 
50
70
  ```html:preview
51
71
  <zn-cols>
52
- <zn-stat caption="Avg. Session Time" description="User engagement" amount="245" type="time" color="info"></zn-stat>
53
- <zn-stat caption="Processing Time" description="Last job" amount="3665" type="time" color="success"></zn-stat>
54
- <zn-stat caption="Response Time" description="API average" amount="45" type="time" color="primary"></zn-stat>
72
+ <zn-panel>
73
+ <zn-stat caption="Avg. Session Time" description="User engagement" amount="245" type="time" color="info"></zn-stat>
74
+ </zn-panel>
75
+ <zn-panel>
76
+ <zn-stat caption="Processing Time" description="Last job" amount="3665" type="time" color="success"></zn-stat>
77
+ </zn-panel>
78
+ <zn-panel>
79
+ <zn-stat caption="Response Time" description="API average" amount="45" type="time" color="primary"></zn-stat>
80
+ </zn-panel>
55
81
  </zn-cols>
56
82
  ```
57
83
 
@@ -61,9 +87,15 @@ Use the `show-delta` attribute with `previous` to show the percentage change fro
61
87
 
62
88
  ```html:preview
63
89
  <zn-cols>
64
- <zn-stat caption="New Users" description="This week" amount="324" previous="280" show-delta color="success"></zn-stat>
65
- <zn-stat caption="Revenue" description="This month" amount="45600" previous="52300" currency="$" show-delta color="error"></zn-stat>
66
- <zn-stat caption="Conversion Rate" description="Last 30 days" amount="3.2" previous="3.2" type="percent" show-delta color="neutral"></zn-stat>
90
+ <zn-panel>
91
+ <zn-stat caption="New Users" description="This week" amount="324" previous="280" show-delta color="success"></zn-stat>
92
+ </zn-panel>
93
+ <zn-panel>
94
+ <zn-stat caption="Revenue" description="This month" amount="45600" previous="52300" currency="$" show-delta color="error"></zn-stat>
95
+ </zn-panel>
96
+ <zn-panel>
97
+ <zn-stat caption="Conversion Rate" description="Last 30 days" amount="3.2" previous="3.2" type="percent" show-delta color="neutral"></zn-stat>
98
+ </zn-panel>
67
99
  </zn-cols>
68
100
  ```
69
101
 
@@ -73,12 +105,24 @@ Use the `color` attribute to set the semantic color of the stat. Available color
73
105
 
74
106
  ```html:preview
75
107
  <zn-cols>
76
- <zn-stat caption="Active" description="Status" amount="99.8" type="percent" color="primary"></zn-stat>
77
- <zn-stat caption="Critical Errors" description="Last hour" amount="3" color="error"></zn-stat>
78
- <zn-stat caption="Notifications" description="Unread" amount="24" color="info"></zn-stat>
79
- <zn-stat caption="Warnings" description="System alerts" amount="7" color="warning"></zn-stat>
80
- <zn-stat caption="Completed" description="Tasks today" amount="42" color="success"></zn-stat>
81
- <zn-stat caption="Pending" description="In queue" amount="156" color="neutral"></zn-stat>
108
+ <zn-panel>
109
+ <zn-stat caption="Active" description="Status" amount="99.8" type="percent" color="primary"></zn-stat>
110
+ </zn-panel>
111
+ <zn-panel>
112
+ <zn-stat caption="Critical Errors" description="Last hour" amount="3" color="error"></zn-stat>
113
+ </zn-panel>
114
+ <zn-panel>
115
+ <zn-stat caption="Notifications" description="Unread" amount="24" color="info"></zn-stat>
116
+ </zn-panel>
117
+ <zn-panel>
118
+ <zn-stat caption="Warnings" description="System alerts" amount="7" color="warning"></zn-stat>
119
+ </zn-panel>
120
+ <zn-panel>
121
+ <zn-stat caption="Completed" description="Tasks today" amount="42" color="success"></zn-stat>
122
+ </zn-panel>
123
+ <zn-panel>
124
+ <zn-stat caption="Pending" description="In queue" amount="156" color="neutral"></zn-stat>
125
+ </zn-panel>
82
126
  </zn-cols>
83
127
  ```
84
128
 
@@ -88,44 +132,52 @@ A common use case is displaying multiple KPIs in a dashboard layout.
88
132
 
89
133
  ```html:preview
90
134
  <zn-cols>
91
- <zn-stat
92
- caption="Total Revenue"
93
- description="All time"
94
- amount="2847500"
95
- previous="2650000"
96
- currency="$"
97
- show-delta
98
- color="success">
99
- </zn-stat>
100
-
101
- <zn-stat
102
- caption="Active Customers"
103
- description="Current subscribers"
104
- amount="4582"
105
- previous="4201"
106
- show-delta
107
- color="info">
108
- </zn-stat>
109
-
110
- <zn-stat
111
- caption="Avg Order Value"
112
- description="Last 30 days"
113
- amount="127.50"
114
- previous="115.80"
115
- currency="$"
116
- show-delta
117
- color="primary">
118
- </zn-stat>
119
-
120
- <zn-stat
121
- caption="Satisfaction Rate"
122
- description="Customer feedback"
123
- amount="94.7"
124
- previous="92.3"
125
- type="percent"
126
- show-delta
127
- color="success">
128
- </zn-stat>
135
+ <zn-panel>
136
+ <zn-stat
137
+ caption="Total Revenue"
138
+ description="All time"
139
+ amount="2847500"
140
+ previous="2650000"
141
+ currency="$"
142
+ show-delta
143
+ color="success">
144
+ </zn-stat>
145
+ </zn-panel>
146
+
147
+ <zn-panel>
148
+ <zn-stat
149
+ caption="Active Customers"
150
+ description="Current subscribers"
151
+ amount="4582"
152
+ previous="4201"
153
+ show-delta
154
+ color="info">
155
+ </zn-stat>
156
+ </zn-panel>
157
+
158
+ <zn-panel>
159
+ <zn-stat
160
+ caption="Avg Order Value"
161
+ description="Last 30 days"
162
+ amount="127.50"
163
+ previous="115.80"
164
+ currency="$"
165
+ show-delta
166
+ color="primary">
167
+ </zn-stat>
168
+ </zn-panel>
169
+
170
+ <zn-panel>
171
+ <zn-stat
172
+ caption="Satisfaction Rate"
173
+ description="Customer feedback"
174
+ amount="94.7"
175
+ previous="92.3"
176
+ type="percent"
177
+ show-delta
178
+ color="success">
179
+ </zn-stat>
180
+ </zn-panel>
129
181
  </zn-cols>
130
182
  ```
131
183
 
@@ -135,41 +187,49 @@ Display sales-related statistics with currency formatting.
135
187
 
136
188
  ```html:preview
137
189
  <zn-cols>
138
- <zn-stat
139
- caption="Today's Sales"
140
- description="Updated 5 min ago"
141
- amount="12450.75"
142
- currency="$"
143
- color="success">
144
- </zn-stat>
145
-
146
- <zn-stat
147
- caption="This Week"
148
- description="7 day total"
149
- amount="84922"
150
- previous="78100"
151
- currency="$"
152
- show-delta
153
- color="info">
154
- </zn-stat>
155
-
156
- <zn-stat
157
- caption="This Month"
158
- description="Month to date"
159
- amount="342678.50"
160
- previous="298450"
161
- currency="$"
162
- show-delta
163
- color="primary">
164
- </zn-stat>
165
-
166
- <zn-stat
167
- caption="Annual Goal"
168
- description="78% complete"
169
- amount="3847250"
170
- currency="$"
171
- color="warning">
172
- </zn-stat>
190
+ <zn-panel>
191
+ <zn-stat
192
+ caption="Today's Sales"
193
+ description="Updated 5 min ago"
194
+ amount="12450.75"
195
+ currency="$"
196
+ color="success">
197
+ </zn-stat>
198
+ </zn-panel>
199
+
200
+ <zn-panel>
201
+ <zn-stat
202
+ caption="This Week"
203
+ description="7 day total"
204
+ amount="84922"
205
+ previous="78100"
206
+ currency="$"
207
+ show-delta
208
+ color="info">
209
+ </zn-stat>
210
+ </zn-panel>
211
+
212
+ <zn-panel>
213
+ <zn-stat
214
+ caption="This Month"
215
+ description="Month to date"
216
+ amount="342678.50"
217
+ previous="298450"
218
+ currency="$"
219
+ show-delta
220
+ color="primary">
221
+ </zn-stat>
222
+ </zn-panel>
223
+
224
+ <zn-panel>
225
+ <zn-stat
226
+ caption="Annual Goal"
227
+ description="78% complete"
228
+ amount="3847250"
229
+ currency="$"
230
+ color="warning">
231
+ </zn-stat>
232
+ </zn-panel>
173
233
  </zn-cols>
174
234
  ```
175
235
 
@@ -179,41 +239,49 @@ Track system or application performance indicators.
179
239
 
180
240
  ```html:preview
181
241
  <zn-cols>
182
- <zn-stat
183
- caption="Uptime"
184
- description="Last 30 days"
185
- amount="99.97"
186
- type="percent"
187
- color="success">
188
- </zn-stat>
189
-
190
- <zn-stat
191
- caption="API Response"
192
- description="Average latency"
193
- amount="127"
194
- type="time"
195
- color="info">
196
- </zn-stat>
197
-
198
- <zn-stat
199
- caption="Error Rate"
200
- description="Last 24 hours"
201
- amount="0.08"
202
- previous="0.12"
203
- type="percent"
204
- show-delta
205
- color="success">
206
- </zn-stat>
207
-
208
- <zn-stat
209
- caption="Queue Time"
210
- description="Processing delay"
211
- amount="43"
212
- previous="28"
213
- type="time"
214
- show-delta
215
- color="warning">
216
- </zn-stat>
242
+ <zn-panel>
243
+ <zn-stat
244
+ caption="Uptime"
245
+ description="Last 30 days"
246
+ amount="99.97"
247
+ type="percent"
248
+ color="success">
249
+ </zn-stat>
250
+ </zn-panel>
251
+
252
+ <zn-panel>
253
+ <zn-stat
254
+ caption="API Response"
255
+ description="Average latency"
256
+ amount="127"
257
+ type="time"
258
+ color="info">
259
+ </zn-stat>
260
+ </zn-panel>
261
+
262
+ <zn-panel>
263
+ <zn-stat
264
+ caption="Error Rate"
265
+ description="Last 24 hours"
266
+ amount="0.08"
267
+ previous="0.12"
268
+ type="percent"
269
+ show-delta
270
+ color="success">
271
+ </zn-stat>
272
+ </zn-panel>
273
+
274
+ <zn-panel>
275
+ <zn-stat
276
+ caption="Queue Time"
277
+ description="Processing delay"
278
+ amount="43"
279
+ previous="28"
280
+ type="time"
281
+ show-delta
282
+ color="warning">
283
+ </zn-stat>
284
+ </zn-panel>
217
285
  </zn-cols>
218
286
  ```
219
287
 
@@ -223,43 +291,51 @@ Display user-related metrics and engagement statistics.
223
291
 
224
292
  ```html:preview
225
293
  <zn-cols>
226
- <zn-stat
227
- caption="Page Views"
228
- description="Last 7 days"
229
- amount="847523"
230
- previous="792100"
231
- show-delta
232
- color="info">
233
- </zn-stat>
234
-
235
- <zn-stat
236
- caption="Unique Visitors"
237
- description="This week"
238
- amount="34782"
239
- previous="31245"
240
- show-delta
241
- color="success">
242
- </zn-stat>
243
-
244
- <zn-stat
245
- caption="Avg. Session"
246
- description="User engagement"
247
- amount="342"
248
- previous="298"
249
- type="time"
250
- show-delta
251
- color="primary">
252
- </zn-stat>
253
-
254
- <zn-stat
255
- caption="Return Rate"
256
- description="Returning users"
257
- amount="64.8"
258
- previous="62.1"
259
- type="percent"
260
- show-delta
261
- color="success">
262
- </zn-stat>
294
+ <zn-panel>
295
+ <zn-stat
296
+ caption="Page Views"
297
+ description="Last 7 days"
298
+ amount="847523"
299
+ previous="792100"
300
+ show-delta
301
+ color="info">
302
+ </zn-stat>
303
+ </zn-panel>
304
+
305
+ <zn-panel>
306
+ <zn-stat
307
+ caption="Unique Visitors"
308
+ description="This week"
309
+ amount="34782"
310
+ previous="31245"
311
+ show-delta
312
+ color="success">
313
+ </zn-stat>
314
+ </zn-panel>
315
+
316
+ <zn-panel>
317
+ <zn-stat
318
+ caption="Avg. Session"
319
+ description="User engagement"
320
+ amount="342"
321
+ previous="298"
322
+ type="time"
323
+ show-delta
324
+ color="primary">
325
+ </zn-stat>
326
+ </zn-panel>
327
+
328
+ <zn-panel>
329
+ <zn-stat
330
+ caption="Return Rate"
331
+ description="Returning users"
332
+ amount="64.8"
333
+ previous="62.1"
334
+ type="percent"
335
+ show-delta
336
+ color="success">
337
+ </zn-stat>
338
+ </zn-panel>
263
339
  </zn-cols>
264
340
  ```
265
341
 
@@ -269,42 +345,50 @@ A complete e-commerce metrics dashboard.
269
345
 
270
346
  ```html:preview
271
347
  <zn-cols>
272
- <zn-stat
273
- caption="Orders Today"
274
- description="Real-time"
275
- amount="147"
276
- previous="132"
277
- show-delta
278
- color="primary">
279
- </zn-stat>
280
-
281
- <zn-stat
282
- caption="Cart Abandonment"
283
- description="Last 24 hours"
284
- amount="28.4"
285
- previous="31.7"
286
- type="percent"
287
- show-delta
288
- color="success">
289
- </zn-stat>
290
-
291
- <zn-stat
292
- caption="Inventory Value"
293
- description="Current stock"
294
- amount="487250"
295
- currency="$"
296
- color="info">
297
- </zn-stat>
298
-
299
- <zn-stat
300
- caption="Refund Rate"
301
- description="This month"
302
- amount="2.3"
303
- previous="1.8"
304
- type="percent"
305
- show-delta
306
- color="warning">
307
- </zn-stat>
348
+ <zn-panel>
349
+ <zn-stat
350
+ caption="Orders Today"
351
+ description="Real-time"
352
+ amount="147"
353
+ previous="132"
354
+ show-delta
355
+ color="primary">
356
+ </zn-stat>
357
+ </zn-panel>
358
+
359
+ <zn-panel>
360
+ <zn-stat
361
+ caption="Cart Abandonment"
362
+ description="Last 24 hours"
363
+ amount="28.4"
364
+ previous="31.7"
365
+ type="percent"
366
+ show-delta
367
+ color="success">
368
+ </zn-stat>
369
+ </zn-panel>
370
+
371
+ <zn-panel>
372
+ <zn-stat
373
+ caption="Inventory Value"
374
+ description="Current stock"
375
+ amount="487250"
376
+ currency="$"
377
+ color="info">
378
+ </zn-stat>
379
+ </zn-panel>
380
+
381
+ <zn-panel>
382
+ <zn-stat
383
+ caption="Refund Rate"
384
+ description="This month"
385
+ amount="2.3"
386
+ previous="1.8"
387
+ type="percent"
388
+ show-delta
389
+ color="warning">
390
+ </zn-stat>
391
+ </zn-panel>
308
392
  </zn-cols>
309
393
  ```
310
394
 
@@ -314,43 +398,51 @@ Display financial metrics with appropriate formatting.
314
398
 
315
399
  ```html:preview
316
400
  <zn-cols>
317
- <zn-stat
318
- caption="Net Profit"
319
- description="Q4 2025"
320
- amount="847500.25"
321
- previous="792340.50"
322
- currency="$"
323
- show-delta
324
- color="success">
325
- </zn-stat>
326
-
327
- <zn-stat
328
- caption="Operating Costs"
329
- description="This quarter"
330
- amount="234890"
331
- previous="248750"
332
- currency="$"
333
- show-delta
334
- color="success">
335
- </zn-stat>
336
-
337
- <zn-stat
338
- caption="Profit Margin"
339
- description="After expenses"
340
- amount="28.4"
341
- previous="26.7"
342
- type="percent"
343
- show-delta
344
- color="primary">
345
- </zn-stat>
346
-
347
- <zn-stat
348
- caption="Cash Flow"
349
- description="Monthly average"
350
- amount="142750"
351
- currency="$"
352
- color="info">
353
- </zn-stat>
401
+ <zn-panel>
402
+ <zn-stat
403
+ caption="Net Profit"
404
+ description="Q4 2025"
405
+ amount="847500.25"
406
+ previous="792340.50"
407
+ currency="$"
408
+ show-delta
409
+ color="success">
410
+ </zn-stat>
411
+ </zn-panel>
412
+
413
+ <zn-panel>
414
+ <zn-stat
415
+ caption="Operating Costs"
416
+ description="This quarter"
417
+ amount="234890"
418
+ previous="248750"
419
+ currency="$"
420
+ show-delta
421
+ color="success">
422
+ </zn-stat>
423
+ </zn-panel>
424
+
425
+ <zn-panel>
426
+ <zn-stat
427
+ caption="Profit Margin"
428
+ description="After expenses"
429
+ amount="28.4"
430
+ previous="26.7"
431
+ type="percent"
432
+ show-delta
433
+ color="primary">
434
+ </zn-stat>
435
+ </zn-panel>
436
+
437
+ <zn-panel>
438
+ <zn-stat
439
+ caption="Cash Flow"
440
+ description="Monthly average"
441
+ amount="142750"
442
+ currency="$"
443
+ color="info">
444
+ </zn-stat>
445
+ </zn-panel>
354
446
  </zn-cols>
355
447
  ```
356
448
 
@@ -360,44 +452,52 @@ Key metrics for SaaS businesses.
360
452
 
361
453
  ```html:preview
362
454
  <zn-cols>
363
- <zn-stat
364
- caption="MRR"
365
- description="Monthly recurring revenue"
366
- amount="284750"
367
- previous="267890"
368
- currency="$"
369
- show-delta
370
- color="success">
371
- </zn-stat>
372
-
373
- <zn-stat
374
- caption="Churn Rate"
375
- description="Customer attrition"
376
- amount="3.2"
377
- previous="4.1"
378
- type="percent"
379
- show-delta
380
- color="success">
381
- </zn-stat>
382
-
383
- <zn-stat
384
- caption="CAC"
385
- description="Customer acquisition cost"
386
- amount="127.50"
387
- previous="142.80"
388
- currency="$"
389
- show-delta
390
- color="success">
391
- </zn-stat>
392
-
393
- <zn-stat
394
- caption="LTV:CAC"
395
- description="Lifetime value ratio"
396
- amount="4.8"
397
- previous="4.2"
398
- show-delta
399
- color="info">
400
- </zn-stat>
455
+ <zn-panel>
456
+ <zn-stat
457
+ caption="MRR"
458
+ description="Monthly recurring revenue"
459
+ amount="284750"
460
+ previous="267890"
461
+ currency="$"
462
+ show-delta
463
+ color="success">
464
+ </zn-stat>
465
+ </zn-panel>
466
+
467
+ <zn-panel>
468
+ <zn-stat
469
+ caption="Churn Rate"
470
+ description="Customer attrition"
471
+ amount="3.2"
472
+ previous="4.1"
473
+ type="percent"
474
+ show-delta
475
+ color="success">
476
+ </zn-stat>
477
+ </zn-panel>
478
+
479
+ <zn-panel>
480
+ <zn-stat
481
+ caption="CAC"
482
+ description="Customer acquisition cost"
483
+ amount="127.50"
484
+ previous="142.80"
485
+ currency="$"
486
+ show-delta
487
+ color="success">
488
+ </zn-stat>
489
+ </zn-panel>
490
+
491
+ <zn-panel>
492
+ <zn-stat
493
+ caption="LTV:CAC"
494
+ description="Lifetime value ratio"
495
+ amount="4.8"
496
+ previous="4.2"
497
+ show-delta
498
+ color="info">
499
+ </zn-stat>
500
+ </zn-panel>
401
501
  </zn-cols>
402
502
  ```
403
503
 
@@ -407,44 +507,52 @@ Track marketing campaign performance.
407
507
 
408
508
  ```html:preview
409
509
  <zn-cols>
410
- <zn-stat
411
- caption="Impressions"
412
- description="Campaign reach"
413
- amount="1847523"
414
- previous="1592340"
415
- show-delta
416
- color="info">
417
- </zn-stat>
418
-
419
- <zn-stat
420
- caption="Click Rate"
421
- description="CTR"
422
- amount="3.8"
423
- previous="2.9"
424
- type="percent"
425
- show-delta
426
- color="success">
427
- </zn-stat>
428
-
429
- <zn-stat
430
- caption="Cost Per Click"
431
- description="Average CPC"
432
- amount="1.42"
433
- previous="1.68"
434
- currency="$"
435
- show-delta
436
- color="success">
437
- </zn-stat>
438
-
439
- <zn-stat
440
- caption="ROAS"
441
- description="Return on ad spend"
442
- amount="487"
443
- previous="412"
444
- type="percent"
445
- show-delta
446
- color="primary">
447
- </zn-stat>
510
+ <zn-panel>
511
+ <zn-stat
512
+ caption="Impressions"
513
+ description="Campaign reach"
514
+ amount="1847523"
515
+ previous="1592340"
516
+ show-delta
517
+ color="info">
518
+ </zn-stat>
519
+ </zn-panel>
520
+
521
+ <zn-panel>
522
+ <zn-stat
523
+ caption="Click Rate"
524
+ description="CTR"
525
+ amount="3.8"
526
+ previous="2.9"
527
+ type="percent"
528
+ show-delta
529
+ color="success">
530
+ </zn-stat>
531
+ </zn-panel>
532
+
533
+ <zn-panel>
534
+ <zn-stat
535
+ caption="Cost Per Click"
536
+ description="Average CPC"
537
+ amount="1.42"
538
+ previous="1.68"
539
+ currency="$"
540
+ show-delta
541
+ color="success">
542
+ </zn-stat>
543
+ </zn-panel>
544
+
545
+ <zn-panel>
546
+ <zn-stat
547
+ caption="ROAS"
548
+ description="Return on ad spend"
549
+ amount="487"
550
+ previous="412"
551
+ type="percent"
552
+ show-delta
553
+ color="primary">
554
+ </zn-stat>
555
+ </zn-panel>
448
556
  </zn-cols>
449
557
  ```
450
558
 
@@ -454,44 +562,52 @@ Display customer support metrics.
454
562
 
455
563
  ```html:preview
456
564
  <zn-cols>
457
- <zn-stat
458
- caption="Open Tickets"
459
- description="Requires attention"
460
- amount="47"
461
- previous="62"
462
- show-delta
463
- color="success">
464
- </zn-stat>
465
-
466
- <zn-stat
467
- caption="Avg Response Time"
468
- description="First reply"
469
- amount="892"
470
- previous="1247"
471
- type="time"
472
- show-delta
473
- color="success">
474
- </zn-stat>
475
-
476
- <zn-stat
477
- caption="Resolution Rate"
478
- description="First contact"
479
- amount="78.4"
480
- previous="73.2"
481
- type="percent"
482
- show-delta
483
- color="info">
484
- </zn-stat>
485
-
486
- <zn-stat
487
- caption="Satisfaction"
488
- description="CSAT score"
489
- amount="94.7"
490
- previous="92.1"
491
- type="percent"
492
- show-delta
493
- color="success">
494
- </zn-stat>
565
+ <zn-panel>
566
+ <zn-stat
567
+ caption="Open Tickets"
568
+ description="Requires attention"
569
+ amount="47"
570
+ previous="62"
571
+ show-delta
572
+ color="success">
573
+ </zn-stat>
574
+ </zn-panel>
575
+
576
+ <zn-panel>
577
+ <zn-stat
578
+ caption="Avg Response Time"
579
+ description="First reply"
580
+ amount="892"
581
+ previous="1247"
582
+ type="time"
583
+ show-delta
584
+ color="success">
585
+ </zn-stat>
586
+ </zn-panel>
587
+
588
+ <zn-panel>
589
+ <zn-stat
590
+ caption="Resolution Rate"
591
+ description="First contact"
592
+ amount="78.4"
593
+ previous="73.2"
594
+ type="percent"
595
+ show-delta
596
+ color="info">
597
+ </zn-stat>
598
+ </zn-panel>
599
+
600
+ <zn-panel>
601
+ <zn-stat
602
+ caption="Satisfaction"
603
+ description="CSAT score"
604
+ amount="94.7"
605
+ previous="92.1"
606
+ type="percent"
607
+ show-delta
608
+ color="success">
609
+ </zn-stat>
610
+ </zn-panel>
495
611
  </zn-cols>
496
612
  ```
497
613
 
@@ -501,34 +617,42 @@ Simple status indicators without delta comparisons.
501
617
 
502
618
  ```html:preview
503
619
  <zn-cols>
504
- <zn-stat
505
- caption="System Status"
506
- description="All systems operational"
507
- amount="100"
508
- type="percent"
509
- color="success">
510
- </zn-stat>
511
-
512
- <zn-stat
513
- caption="Active Sessions"
514
- description="Current users"
515
- amount="1847"
516
- color="info">
517
- </zn-stat>
518
-
519
- <zn-stat
520
- caption="Queue Length"
521
- description="Pending jobs"
522
- amount="23"
523
- color="warning">
524
- </zn-stat>
525
-
526
- <zn-stat
527
- caption="Failed Jobs"
528
- description="Requires intervention"
529
- amount="2"
530
- color="error">
531
- </zn-stat>
620
+ <zn-panel>
621
+ <zn-stat
622
+ caption="System Status"
623
+ description="All systems operational"
624
+ amount="100"
625
+ type="percent"
626
+ color="success">
627
+ </zn-stat>
628
+ </zn-panel>
629
+
630
+ <zn-panel>
631
+ <zn-stat
632
+ caption="Active Sessions"
633
+ description="Current users"
634
+ amount="1847"
635
+ color="info">
636
+ </zn-stat>
637
+ </zn-panel>
638
+
639
+ <zn-panel>
640
+ <zn-stat
641
+ caption="Queue Length"
642
+ description="Pending jobs"
643
+ amount="23"
644
+ color="warning">
645
+ </zn-stat>
646
+ </zn-panel>
647
+
648
+ <zn-panel>
649
+ <zn-stat
650
+ caption="Failed Jobs"
651
+ description="Requires intervention"
652
+ amount="2"
653
+ color="error">
654
+ </zn-stat>
655
+ </zn-panel>
532
656
  </zn-cols>
533
657
  ```
534
658
 
@@ -538,27 +662,33 @@ Stats automatically format large numbers with currency symbols.
538
662
 
539
663
  ```html:preview
540
664
  <zn-cols>
541
- <zn-stat
542
- caption="Total Valuation"
543
- description="Company worth"
544
- amount="12500000"
545
- currency="$"
546
- color="primary">
547
- </zn-stat>
548
-
549
- <zn-stat
550
- caption="Total Users"
551
- description="Platform wide"
552
- amount="8472831"
553
- color="info">
554
- </zn-stat>
555
-
556
- <zn-stat
557
- caption="Transactions"
558
- description="All time"
559
- amount="24789532"
560
- color="success">
561
- </zn-stat>
665
+ <zn-panel>
666
+ <zn-stat
667
+ caption="Total Valuation"
668
+ description="Company worth"
669
+ amount="12500000"
670
+ currency="$"
671
+ color="primary">
672
+ </zn-stat>
673
+ </zn-panel>
674
+
675
+ <zn-panel>
676
+ <zn-stat
677
+ caption="Total Users"
678
+ description="Platform wide"
679
+ amount="8472831"
680
+ color="info">
681
+ </zn-stat>
682
+ </zn-panel>
683
+
684
+ <zn-panel>
685
+ <zn-stat
686
+ caption="Transactions"
687
+ description="All time"
688
+ amount="24789532"
689
+ color="success">
690
+ </zn-stat>
691
+ </zn-panel>
562
692
  </zn-cols>
563
693
  ```
564
694