@luxalgo/vela-ui 0.1.0 → 0.3.0
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/CHANGELOG.md +89 -0
- package/README.md +5 -2
- package/dist/badge.js +1 -1
- package/dist/bar-chart.js +1 -1
- package/dist/button.d.ts +18 -4
- package/dist/button.js +4 -3
- package/dist/calendar.d.ts +3 -1
- package/dist/calendar.js +1 -1
- package/dist/callout-bubble.d.ts +6 -1
- package/dist/callout-bubble.js +12 -8
- package/dist/card.d.ts +52 -0
- package/dist/card.js +179 -0
- package/dist/checkbox.js +5 -5
- package/dist/{chunk-X4YPSIW6.js → chunk-5BJV5FY5.js} +1 -1
- package/dist/{chunk-FCO3YZLT.js → chunk-ALAHGSLC.js} +1 -1
- package/dist/{chunk-5QHXOAZA.js → chunk-B2EZB5ZG.js} +4 -4
- package/dist/{chunk-G7IQLY3A.js → chunk-C3PXY2SW.js} +5 -0
- package/dist/chunk-DXDCKZ2M.js +117 -0
- package/dist/{chunk-6NXY62JS.js → chunk-FYVQO5TN.js} +1 -1
- package/dist/{chunk-V6TTTMTE.js → chunk-GVRX3UAV.js} +4 -1
- package/dist/{chunk-XJAPCCOJ.js → chunk-IOOYDSSK.js} +4 -4
- package/dist/{chunk-OBLIX3VN.js → chunk-KKS6NEGI.js} +2 -2
- package/dist/{chunk-SAPURP46.js → chunk-OJ2SEMN6.js} +3 -3
- package/dist/{chunk-2Q4JRINP.js → chunk-OQXFQMZM.js} +3 -3
- package/dist/{chunk-AJ2IYSOI.js → chunk-TBXUF5YX.js} +35 -3
- package/dist/{chunk-ZB3BZHSN.js → chunk-UEO6W37Z.js} +4 -4
- package/dist/{chunk-CH3DV6FD.js → chunk-WWHNUKSZ.js} +5 -5
- package/dist/chunk-XBEL4K33.js +142 -0
- package/dist/collapsible.d.ts +49 -0
- package/dist/collapsible.js +106 -0
- package/dist/color-picker.js +5 -5
- package/dist/context-menu.js +5 -5
- package/dist/css.d.ts +3 -1
- package/dist/css.js +1 -1
- package/dist/data-table.d.ts +39 -2
- package/dist/data-table.js +1 -1
- package/dist/date-picker.js +3 -3
- package/dist/dialog.d.ts +8 -0
- package/dist/dialog.js +15 -5
- package/dist/donut.js +1 -1
- package/dist/drawer.js +2 -2
- package/dist/dropdown-menu.js +4 -4
- package/dist/empty.js +2 -2
- package/dist/field.js +13 -13
- package/dist/glyph-select.js +5 -5
- package/dist/h-Bl37qUis.d.ts +24 -0
- package/dist/hover-card.d.ts +1 -1
- package/dist/hover-card.js +3 -3
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +10 -2
- package/dist/index.js +3 -3
- package/dist/input-group.js +4 -3
- package/dist/input.js +2 -2
- package/dist/item.d.ts +72 -0
- package/dist/item.js +131 -0
- package/dist/kbd.js +2 -2
- package/dist/line-chart.js +1 -1
- package/dist/manifest.json +1336 -65
- package/dist/month-grid.d.ts +45 -0
- package/dist/month-grid.js +157 -0
- package/dist/number-input.js +5 -5
- package/dist/popover.js +3 -3
- package/dist/scatter-chart.js +1 -1
- package/dist/select.js +7 -7
- package/dist/slider.d.ts +46 -0
- package/dist/slider.js +111 -0
- package/dist/sort-button.d.ts +41 -0
- package/dist/sort-button.js +88 -0
- package/dist/sparkline.js +1 -1
- package/dist/stat.js +1 -1
- package/dist/switch.js +3 -3
- package/dist/tabs.d.ts +3 -1
- package/dist/tabs.js +13 -8
- package/dist/text-area.js +2 -2
- package/dist/theme-Ct-q58xz.d.ts +341 -0
- package/dist/theme.d.ts +42 -181
- package/dist/theme.js +2 -2
- package/dist/theme.schema.json +541 -1
- package/dist/toast.d.ts +49 -0
- package/dist/toast.js +463 -0
- package/dist/toggle-group.js +4 -4
- package/dist/tooltip.js +2 -2
- package/dist/treemap.d.ts +80 -0
- package/dist/treemap.js +470 -0
- package/docs/theming.md +6 -0
- package/docs/writing-a-component.md +4 -1
- package/llms.txt +11 -3
- package/package.json +1 -1
- package/registry/button.ts +105 -21
- package/registry/callout-bubble.ts +14 -3
- package/registry/card.ts +379 -0
- package/registry/collapsible.ts +271 -0
- package/registry/dialog.ts +16 -0
- package/registry/dropdown-menu.ts +3 -3
- package/registry/item.ts +376 -0
- package/registry/month-grid.ts +328 -0
- package/registry/slider.ts +259 -0
- package/registry/sort-button.ts +189 -0
- package/registry/tabs.ts +38 -4
- package/registry/toast.ts +965 -0
- package/registry/treemap.ts +847 -0
- package/skills/using-vela-ui-components/SKILL.md +14 -9
- package/src/components/button.ts +105 -21
- package/src/components/callout-bubble.ts +14 -3
- package/src/components/card.ts +379 -0
- package/src/components/collapsible.ts +271 -0
- package/src/components/dialog.ts +16 -0
- package/src/components/dropdown-menu.ts +3 -3
- package/src/components/item.ts +376 -0
- package/src/components/month-grid.ts +328 -0
- package/src/components/slider.ts +259 -0
- package/src/components/sort-button.ts +189 -0
- package/src/components/tabs.ts +38 -4
- package/src/components/toast.ts +965 -0
- package/src/components/treemap.ts +847 -0
- package/src/lib/calendar.ts +5 -0
- package/src/lib/component-index.ts +34 -2
- package/src/lib/css.ts +6 -2
- package/src/lib/icons.ts +7 -0
- package/src/lib/scope.ts +135 -0
- package/src/lib/theme.ts +21 -5
- package/dist/chunk-EZQXTO6K.js +0 -89
- package/dist/chunk-IDA2BT7D.js +0 -29
- package/dist/data-table-DtU3FX9j.d.ts +0 -61
package/dist/theme.schema.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://json-schema.org/draft/2020-12/schema",
|
|
3
|
-
"title": "@luxalgo/vela-ui 0.
|
|
3
|
+
"title": "@luxalgo/vela-ui 0.3.0 theme",
|
|
4
4
|
"description": "The input of createTheme. Every field is optional: an empty theme is the dark theme.",
|
|
5
5
|
"type": "object",
|
|
6
6
|
"additionalProperties": false,
|
|
@@ -422,6 +422,10 @@
|
|
|
422
422
|
"icon": {
|
|
423
423
|
"type": "string",
|
|
424
424
|
"description": "[data-slot~=\"button-icon\"]"
|
|
425
|
+
},
|
|
426
|
+
"keys": {
|
|
427
|
+
"type": "string",
|
|
428
|
+
"description": "[data-slot~=\"button-keys\"]"
|
|
425
429
|
}
|
|
426
430
|
}
|
|
427
431
|
}
|
|
@@ -472,6 +476,91 @@
|
|
|
472
476
|
}
|
|
473
477
|
}
|
|
474
478
|
},
|
|
479
|
+
"card": {
|
|
480
|
+
"type": "object",
|
|
481
|
+
"additionalProperties": false,
|
|
482
|
+
"properties": {
|
|
483
|
+
"radius": {
|
|
484
|
+
"type": "string",
|
|
485
|
+
"description": "--vela-card-radius, default var(--vela-radius-lg)"
|
|
486
|
+
},
|
|
487
|
+
"padding": {
|
|
488
|
+
"type": "string",
|
|
489
|
+
"description": "--vela-card-padding, default 16px"
|
|
490
|
+
},
|
|
491
|
+
"padding-sm": {
|
|
492
|
+
"type": "string",
|
|
493
|
+
"description": "--vela-card-padding-sm, default 10px 12px"
|
|
494
|
+
},
|
|
495
|
+
"gap": {
|
|
496
|
+
"type": "string",
|
|
497
|
+
"description": "--vela-card-gap, default 12px"
|
|
498
|
+
},
|
|
499
|
+
"gap-sm": {
|
|
500
|
+
"type": "string",
|
|
501
|
+
"description": "--vela-card-gap-sm, default 8px"
|
|
502
|
+
},
|
|
503
|
+
"background": {
|
|
504
|
+
"type": "string",
|
|
505
|
+
"description": "--vela-card-background, default var(--vela-surface)"
|
|
506
|
+
},
|
|
507
|
+
"border": {
|
|
508
|
+
"type": "string",
|
|
509
|
+
"description": "--vela-card-border, default var(--vela-border)"
|
|
510
|
+
},
|
|
511
|
+
"inset-background": {
|
|
512
|
+
"type": "string",
|
|
513
|
+
"description": "--vela-card-inset-background, default `color-mix(in srgb, ${t.fg.bright} 2.5%, ${t.surface})`"
|
|
514
|
+
},
|
|
515
|
+
"css": {
|
|
516
|
+
"type": "object",
|
|
517
|
+
"additionalProperties": false,
|
|
518
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
519
|
+
"properties": {
|
|
520
|
+
"root": {
|
|
521
|
+
"type": "string",
|
|
522
|
+
"description": "[data-slot~=\"card\"]"
|
|
523
|
+
},
|
|
524
|
+
"header": {
|
|
525
|
+
"type": "string",
|
|
526
|
+
"description": "[data-slot~=\"card-header\"]"
|
|
527
|
+
},
|
|
528
|
+
"heading": {
|
|
529
|
+
"type": "string",
|
|
530
|
+
"description": "[data-slot~=\"card-heading\"]"
|
|
531
|
+
},
|
|
532
|
+
"eyebrow": {
|
|
533
|
+
"type": "string",
|
|
534
|
+
"description": "[data-slot~=\"card-eyebrow\"]"
|
|
535
|
+
},
|
|
536
|
+
"title": {
|
|
537
|
+
"type": "string",
|
|
538
|
+
"description": "[data-slot~=\"card-title\"]"
|
|
539
|
+
},
|
|
540
|
+
"trigger": {
|
|
541
|
+
"type": "string",
|
|
542
|
+
"description": "[data-slot~=\"card-trigger\"]"
|
|
543
|
+
},
|
|
544
|
+
"description": {
|
|
545
|
+
"type": "string",
|
|
546
|
+
"description": "[data-slot~=\"card-description\"]"
|
|
547
|
+
},
|
|
548
|
+
"action": {
|
|
549
|
+
"type": "string",
|
|
550
|
+
"description": "[data-slot~=\"card-action\"]"
|
|
551
|
+
},
|
|
552
|
+
"content": {
|
|
553
|
+
"type": "string",
|
|
554
|
+
"description": "[data-slot~=\"card-content\"]"
|
|
555
|
+
},
|
|
556
|
+
"footer": {
|
|
557
|
+
"type": "string",
|
|
558
|
+
"description": "[data-slot~=\"card-footer\"]"
|
|
559
|
+
}
|
|
560
|
+
}
|
|
561
|
+
}
|
|
562
|
+
}
|
|
563
|
+
},
|
|
475
564
|
"checkbox": {
|
|
476
565
|
"type": "object",
|
|
477
566
|
"additionalProperties": false,
|
|
@@ -497,6 +586,55 @@
|
|
|
497
586
|
}
|
|
498
587
|
}
|
|
499
588
|
},
|
|
589
|
+
"collapsible": {
|
|
590
|
+
"type": "object",
|
|
591
|
+
"additionalProperties": false,
|
|
592
|
+
"properties": {
|
|
593
|
+
"trigger-height": {
|
|
594
|
+
"type": "string",
|
|
595
|
+
"description": "--vela-collapsible-trigger-height, default 36px"
|
|
596
|
+
},
|
|
597
|
+
"radius": {
|
|
598
|
+
"type": "string",
|
|
599
|
+
"description": "--vela-collapsible-radius, default var(--vela-radius-md)"
|
|
600
|
+
},
|
|
601
|
+
"css": {
|
|
602
|
+
"type": "object",
|
|
603
|
+
"additionalProperties": false,
|
|
604
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
605
|
+
"properties": {
|
|
606
|
+
"root": {
|
|
607
|
+
"type": "string",
|
|
608
|
+
"description": "[data-slot~=\"collapsible\"]"
|
|
609
|
+
},
|
|
610
|
+
"trigger": {
|
|
611
|
+
"type": "string",
|
|
612
|
+
"description": "[data-slot~=\"collapsible-trigger\"]"
|
|
613
|
+
},
|
|
614
|
+
"icon": {
|
|
615
|
+
"type": "string",
|
|
616
|
+
"description": "[data-slot~=\"collapsible-icon\"]"
|
|
617
|
+
},
|
|
618
|
+
"title": {
|
|
619
|
+
"type": "string",
|
|
620
|
+
"description": "[data-slot~=\"collapsible-title\"]"
|
|
621
|
+
},
|
|
622
|
+
"count": {
|
|
623
|
+
"type": "string",
|
|
624
|
+
"description": "[data-slot~=\"collapsible-count\"]"
|
|
625
|
+
},
|
|
626
|
+
"chevron": {
|
|
627
|
+
"type": "string",
|
|
628
|
+
"description": "[data-slot~=\"collapsible-chevron\"]"
|
|
629
|
+
},
|
|
630
|
+
"content": {
|
|
631
|
+
"type": "string",
|
|
632
|
+
"description": "[data-slot~=\"collapsible-content\"]"
|
|
633
|
+
}
|
|
634
|
+
}
|
|
635
|
+
}
|
|
636
|
+
}
|
|
637
|
+
},
|
|
500
638
|
"color-picker": {
|
|
501
639
|
"type": "object",
|
|
502
640
|
"additionalProperties": false,
|
|
@@ -1166,6 +1304,59 @@
|
|
|
1166
1304
|
}
|
|
1167
1305
|
}
|
|
1168
1306
|
},
|
|
1307
|
+
"item": {
|
|
1308
|
+
"type": "object",
|
|
1309
|
+
"additionalProperties": false,
|
|
1310
|
+
"properties": {
|
|
1311
|
+
"radius": {
|
|
1312
|
+
"type": "string",
|
|
1313
|
+
"description": "--vela-item-radius, default var(--vela-radius-md)"
|
|
1314
|
+
},
|
|
1315
|
+
"gap": {
|
|
1316
|
+
"type": "string",
|
|
1317
|
+
"description": "--vela-item-gap, default 10px"
|
|
1318
|
+
},
|
|
1319
|
+
"css": {
|
|
1320
|
+
"type": "object",
|
|
1321
|
+
"additionalProperties": false,
|
|
1322
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
1323
|
+
"properties": {
|
|
1324
|
+
"root": {
|
|
1325
|
+
"type": "string",
|
|
1326
|
+
"description": "[data-slot~=\"item\"]"
|
|
1327
|
+
},
|
|
1328
|
+
"media": {
|
|
1329
|
+
"type": "string",
|
|
1330
|
+
"description": "[data-slot~=\"item-media\"]"
|
|
1331
|
+
},
|
|
1332
|
+
"content": {
|
|
1333
|
+
"type": "string",
|
|
1334
|
+
"description": "[data-slot~=\"item-content\"]"
|
|
1335
|
+
},
|
|
1336
|
+
"title": {
|
|
1337
|
+
"type": "string",
|
|
1338
|
+
"description": "[data-slot~=\"item-title\"]"
|
|
1339
|
+
},
|
|
1340
|
+
"description": {
|
|
1341
|
+
"type": "string",
|
|
1342
|
+
"description": "[data-slot~=\"item-description\"]"
|
|
1343
|
+
},
|
|
1344
|
+
"meta": {
|
|
1345
|
+
"type": "string",
|
|
1346
|
+
"description": "[data-slot~=\"item-meta\"]"
|
|
1347
|
+
},
|
|
1348
|
+
"actions": {
|
|
1349
|
+
"type": "string",
|
|
1350
|
+
"description": "[data-slot~=\"item-actions\"]"
|
|
1351
|
+
},
|
|
1352
|
+
"group": {
|
|
1353
|
+
"type": "string",
|
|
1354
|
+
"description": "[data-slot~=\"item-group\"]"
|
|
1355
|
+
}
|
|
1356
|
+
}
|
|
1357
|
+
}
|
|
1358
|
+
}
|
|
1359
|
+
},
|
|
1169
1360
|
"kbd": {
|
|
1170
1361
|
"type": "object",
|
|
1171
1362
|
"additionalProperties": false,
|
|
@@ -1248,6 +1439,63 @@
|
|
|
1248
1439
|
}
|
|
1249
1440
|
}
|
|
1250
1441
|
},
|
|
1442
|
+
"month-grid": {
|
|
1443
|
+
"type": "object",
|
|
1444
|
+
"additionalProperties": false,
|
|
1445
|
+
"properties": {
|
|
1446
|
+
"radius": {
|
|
1447
|
+
"type": "string",
|
|
1448
|
+
"description": "--vela-month-grid-radius, default 8px"
|
|
1449
|
+
},
|
|
1450
|
+
"day-height": {
|
|
1451
|
+
"type": "string",
|
|
1452
|
+
"description": "--vela-month-grid-day-height, default 56px"
|
|
1453
|
+
},
|
|
1454
|
+
"gap": {
|
|
1455
|
+
"type": "string",
|
|
1456
|
+
"description": "--vela-month-grid-gap, default 4px"
|
|
1457
|
+
},
|
|
1458
|
+
"selected-ring": {
|
|
1459
|
+
"type": "string",
|
|
1460
|
+
"description": "--vela-month-grid-selected-ring, default `inset 0 0 0 1px ${t.selected.bg}`"
|
|
1461
|
+
},
|
|
1462
|
+
"css": {
|
|
1463
|
+
"type": "object",
|
|
1464
|
+
"additionalProperties": false,
|
|
1465
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
1466
|
+
"properties": {
|
|
1467
|
+
"root": {
|
|
1468
|
+
"type": "string",
|
|
1469
|
+
"description": "[data-slot~=\"month-grid\"]"
|
|
1470
|
+
},
|
|
1471
|
+
"weekday": {
|
|
1472
|
+
"type": "string",
|
|
1473
|
+
"description": "[data-slot~=\"month-grid-weekday\"]"
|
|
1474
|
+
},
|
|
1475
|
+
"day": {
|
|
1476
|
+
"type": "string",
|
|
1477
|
+
"description": "[data-slot~=\"month-grid-day\"]"
|
|
1478
|
+
},
|
|
1479
|
+
"date": {
|
|
1480
|
+
"type": "string",
|
|
1481
|
+
"description": "[data-slot~=\"month-grid-date\"]"
|
|
1482
|
+
},
|
|
1483
|
+
"value": {
|
|
1484
|
+
"type": "string",
|
|
1485
|
+
"description": "[data-slot~=\"month-grid-value\"]"
|
|
1486
|
+
},
|
|
1487
|
+
"detail": {
|
|
1488
|
+
"type": "string",
|
|
1489
|
+
"description": "[data-slot~=\"month-grid-detail\"]"
|
|
1490
|
+
},
|
|
1491
|
+
"blank": {
|
|
1492
|
+
"type": "string",
|
|
1493
|
+
"description": "[data-slot~=\"month-grid-blank\"]"
|
|
1494
|
+
}
|
|
1495
|
+
}
|
|
1496
|
+
}
|
|
1497
|
+
}
|
|
1498
|
+
},
|
|
1251
1499
|
"number-input": {
|
|
1252
1500
|
"type": "object",
|
|
1253
1501
|
"additionalProperties": false,
|
|
@@ -1436,6 +1684,84 @@
|
|
|
1436
1684
|
}
|
|
1437
1685
|
}
|
|
1438
1686
|
},
|
|
1687
|
+
"slider": {
|
|
1688
|
+
"type": "object",
|
|
1689
|
+
"additionalProperties": false,
|
|
1690
|
+
"properties": {
|
|
1691
|
+
"track-height": {
|
|
1692
|
+
"type": "string",
|
|
1693
|
+
"description": "--vela-slider-track-height, default 4px"
|
|
1694
|
+
},
|
|
1695
|
+
"thumb-size": {
|
|
1696
|
+
"type": "string",
|
|
1697
|
+
"description": "--vela-slider-thumb-size, default 14px"
|
|
1698
|
+
},
|
|
1699
|
+
"radius": {
|
|
1700
|
+
"type": "string",
|
|
1701
|
+
"description": "--vela-slider-radius, default 999px"
|
|
1702
|
+
},
|
|
1703
|
+
"focus-ring": {
|
|
1704
|
+
"type": "string",
|
|
1705
|
+
"description": "--vela-slider-focus-ring, default `0 0 0 3px ${t.focus.soft}`"
|
|
1706
|
+
},
|
|
1707
|
+
"css": {
|
|
1708
|
+
"type": "object",
|
|
1709
|
+
"additionalProperties": false,
|
|
1710
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
1711
|
+
"properties": {
|
|
1712
|
+
"root": {
|
|
1713
|
+
"type": "string",
|
|
1714
|
+
"description": "[data-slot~=\"slider\"]"
|
|
1715
|
+
},
|
|
1716
|
+
"control": {
|
|
1717
|
+
"type": "string",
|
|
1718
|
+
"description": "[data-slot~=\"slider-control\"]"
|
|
1719
|
+
},
|
|
1720
|
+
"track": {
|
|
1721
|
+
"type": "string",
|
|
1722
|
+
"description": "[data-slot~=\"slider-track\"]"
|
|
1723
|
+
},
|
|
1724
|
+
"range": {
|
|
1725
|
+
"type": "string",
|
|
1726
|
+
"description": "[data-slot~=\"slider-range\"]"
|
|
1727
|
+
},
|
|
1728
|
+
"thumb": {
|
|
1729
|
+
"type": "string",
|
|
1730
|
+
"description": "[data-slot~=\"slider-thumb\"]"
|
|
1731
|
+
}
|
|
1732
|
+
}
|
|
1733
|
+
}
|
|
1734
|
+
}
|
|
1735
|
+
},
|
|
1736
|
+
"sort-button": {
|
|
1737
|
+
"type": "object",
|
|
1738
|
+
"additionalProperties": false,
|
|
1739
|
+
"properties": {
|
|
1740
|
+
"radius": {
|
|
1741
|
+
"type": "string",
|
|
1742
|
+
"description": "--vela-sort-button-radius, default var(--vela-radius-sm)"
|
|
1743
|
+
},
|
|
1744
|
+
"css": {
|
|
1745
|
+
"type": "object",
|
|
1746
|
+
"additionalProperties": false,
|
|
1747
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
1748
|
+
"properties": {
|
|
1749
|
+
"root": {
|
|
1750
|
+
"type": "string",
|
|
1751
|
+
"description": "[data-slot~=\"sort-button\"]"
|
|
1752
|
+
},
|
|
1753
|
+
"icon": {
|
|
1754
|
+
"type": "string",
|
|
1755
|
+
"description": "[data-slot~=\"sort-button-icon\"]"
|
|
1756
|
+
},
|
|
1757
|
+
"state": {
|
|
1758
|
+
"type": "string",
|
|
1759
|
+
"description": "[data-slot~=\"sort-button-state\"]"
|
|
1760
|
+
}
|
|
1761
|
+
}
|
|
1762
|
+
}
|
|
1763
|
+
}
|
|
1764
|
+
},
|
|
1439
1765
|
"sparkline": {
|
|
1440
1766
|
"type": "object",
|
|
1441
1767
|
"additionalProperties": false,
|
|
@@ -1592,6 +1918,14 @@
|
|
|
1592
1918
|
"type": "string",
|
|
1593
1919
|
"description": "[data-slot~=\"tabs-count\"]"
|
|
1594
1920
|
},
|
|
1921
|
+
"label": {
|
|
1922
|
+
"type": "string",
|
|
1923
|
+
"description": "[data-slot~=\"tabs-label\"]"
|
|
1924
|
+
},
|
|
1925
|
+
"description": {
|
|
1926
|
+
"type": "string",
|
|
1927
|
+
"description": "[data-slot~=\"tabs-description\"]"
|
|
1928
|
+
},
|
|
1595
1929
|
"content": {
|
|
1596
1930
|
"type": "string",
|
|
1597
1931
|
"description": "[data-slot~=\"tabs-content\"]"
|
|
@@ -1629,6 +1963,103 @@
|
|
|
1629
1963
|
}
|
|
1630
1964
|
}
|
|
1631
1965
|
},
|
|
1966
|
+
"toast": {
|
|
1967
|
+
"type": "object",
|
|
1968
|
+
"additionalProperties": false,
|
|
1969
|
+
"properties": {
|
|
1970
|
+
"width": {
|
|
1971
|
+
"type": "string",
|
|
1972
|
+
"description": "--vela-toast-width, default 356px"
|
|
1973
|
+
},
|
|
1974
|
+
"radius": {
|
|
1975
|
+
"type": "string",
|
|
1976
|
+
"description": "--vela-toast-radius, default var(--vela-radius-lg)"
|
|
1977
|
+
},
|
|
1978
|
+
"background": {
|
|
1979
|
+
"type": "string",
|
|
1980
|
+
"description": "--vela-toast-background, default var(--vela-surface-elev)"
|
|
1981
|
+
},
|
|
1982
|
+
"border": {
|
|
1983
|
+
"type": "string",
|
|
1984
|
+
"description": "--vela-toast-border, default var(--vela-border)"
|
|
1985
|
+
},
|
|
1986
|
+
"foreground": {
|
|
1987
|
+
"type": "string",
|
|
1988
|
+
"description": "--vela-toast-foreground, default var(--vela-fg-bright)"
|
|
1989
|
+
},
|
|
1990
|
+
"description-color": {
|
|
1991
|
+
"type": "string",
|
|
1992
|
+
"description": "--vela-toast-description-color, default var(--vela-fg-muted)"
|
|
1993
|
+
},
|
|
1994
|
+
"shadow": {
|
|
1995
|
+
"type": "string",
|
|
1996
|
+
"description": "--vela-toast-shadow, default var(--vela-shadow)"
|
|
1997
|
+
},
|
|
1998
|
+
"success": {
|
|
1999
|
+
"type": "string",
|
|
2000
|
+
"description": "--vela-toast-success, default var(--vela-profit)"
|
|
2001
|
+
},
|
|
2002
|
+
"info": {
|
|
2003
|
+
"type": "string",
|
|
2004
|
+
"description": "--vela-toast-info, default var(--vela-accent)"
|
|
2005
|
+
},
|
|
2006
|
+
"warning": {
|
|
2007
|
+
"type": "string",
|
|
2008
|
+
"description": "--vela-toast-warning, default var(--vela-highlight)"
|
|
2009
|
+
},
|
|
2010
|
+
"error": {
|
|
2011
|
+
"type": "string",
|
|
2012
|
+
"description": "--vela-toast-error, default var(--vela-danger)"
|
|
2013
|
+
},
|
|
2014
|
+
"css": {
|
|
2015
|
+
"type": "object",
|
|
2016
|
+
"additionalProperties": false,
|
|
2017
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
2018
|
+
"properties": {
|
|
2019
|
+
"root": {
|
|
2020
|
+
"type": "string",
|
|
2021
|
+
"description": "[data-slot~=\"toast\"]"
|
|
2022
|
+
},
|
|
2023
|
+
"list": {
|
|
2024
|
+
"type": "string",
|
|
2025
|
+
"description": "[data-slot~=\"toast-list\"]"
|
|
2026
|
+
},
|
|
2027
|
+
"item": {
|
|
2028
|
+
"type": "string",
|
|
2029
|
+
"description": "[data-slot~=\"toast-item\"]"
|
|
2030
|
+
},
|
|
2031
|
+
"close": {
|
|
2032
|
+
"type": "string",
|
|
2033
|
+
"description": "[data-slot~=\"toast-close\"]"
|
|
2034
|
+
},
|
|
2035
|
+
"icon": {
|
|
2036
|
+
"type": "string",
|
|
2037
|
+
"description": "[data-slot~=\"toast-icon\"]"
|
|
2038
|
+
},
|
|
2039
|
+
"content": {
|
|
2040
|
+
"type": "string",
|
|
2041
|
+
"description": "[data-slot~=\"toast-content\"]"
|
|
2042
|
+
},
|
|
2043
|
+
"title": {
|
|
2044
|
+
"type": "string",
|
|
2045
|
+
"description": "[data-slot~=\"toast-title\"]"
|
|
2046
|
+
},
|
|
2047
|
+
"description": {
|
|
2048
|
+
"type": "string",
|
|
2049
|
+
"description": "[data-slot~=\"toast-description\"]"
|
|
2050
|
+
},
|
|
2051
|
+
"cancel": {
|
|
2052
|
+
"type": "string",
|
|
2053
|
+
"description": "[data-slot~=\"toast-cancel\"]"
|
|
2054
|
+
},
|
|
2055
|
+
"action": {
|
|
2056
|
+
"type": "string",
|
|
2057
|
+
"description": "[data-slot~=\"toast-action\"]"
|
|
2058
|
+
}
|
|
2059
|
+
}
|
|
2060
|
+
}
|
|
2061
|
+
}
|
|
2062
|
+
},
|
|
1632
2063
|
"toggle-group": {
|
|
1633
2064
|
"type": "object",
|
|
1634
2065
|
"additionalProperties": false,
|
|
@@ -1694,6 +2125,115 @@
|
|
|
1694
2125
|
}
|
|
1695
2126
|
}
|
|
1696
2127
|
}
|
|
2128
|
+
},
|
|
2129
|
+
"treemap": {
|
|
2130
|
+
"type": "object",
|
|
2131
|
+
"additionalProperties": false,
|
|
2132
|
+
"properties": {
|
|
2133
|
+
"radius": {
|
|
2134
|
+
"type": "string",
|
|
2135
|
+
"description": "--vela-treemap-radius, default var(--vela-radius-sm)"
|
|
2136
|
+
},
|
|
2137
|
+
"up": {
|
|
2138
|
+
"type": "string",
|
|
2139
|
+
"description": "--vela-treemap-up, default var(--vela-up)"
|
|
2140
|
+
},
|
|
2141
|
+
"down": {
|
|
2142
|
+
"type": "string",
|
|
2143
|
+
"description": "--vela-treemap-down, default var(--vela-down)"
|
|
2144
|
+
},
|
|
2145
|
+
"tile-bg": {
|
|
2146
|
+
"type": "string",
|
|
2147
|
+
"description": "--vela-treemap-tile-bg, default `color-mix(in srgb, ${t.fg.bright} 2.5%, ${t.surface})`"
|
|
2148
|
+
},
|
|
2149
|
+
"tint-min": {
|
|
2150
|
+
"type": "string",
|
|
2151
|
+
"description": "--vela-treemap-tint-min, default 3%"
|
|
2152
|
+
},
|
|
2153
|
+
"tint-max": {
|
|
2154
|
+
"type": "string",
|
|
2155
|
+
"description": "--vela-treemap-tint-max, default 25%"
|
|
2156
|
+
},
|
|
2157
|
+
"hover-z": {
|
|
2158
|
+
"type": "string",
|
|
2159
|
+
"description": "--vela-treemap-hover-z, default 1"
|
|
2160
|
+
},
|
|
2161
|
+
"tip-radius": {
|
|
2162
|
+
"type": "string",
|
|
2163
|
+
"description": "--vela-treemap-tip-radius, default var(--vela-radius-md)"
|
|
2164
|
+
},
|
|
2165
|
+
"tip-bg": {
|
|
2166
|
+
"type": "string",
|
|
2167
|
+
"description": "--vela-treemap-tip-bg, default var(--vela-surface-elev)"
|
|
2168
|
+
},
|
|
2169
|
+
"tip-shadow": {
|
|
2170
|
+
"type": "string",
|
|
2171
|
+
"description": "--vela-treemap-tip-shadow, default var(--vela-shadow)"
|
|
2172
|
+
},
|
|
2173
|
+
"tip-z": {
|
|
2174
|
+
"type": "string",
|
|
2175
|
+
"description": "--vela-treemap-tip-z, default 2"
|
|
2176
|
+
},
|
|
2177
|
+
"css": {
|
|
2178
|
+
"type": "object",
|
|
2179
|
+
"additionalProperties": false,
|
|
2180
|
+
"description": "CSS by part, applied after every layer of the kit. From a file, it applies only when the host passes { allowCss: true }.",
|
|
2181
|
+
"properties": {
|
|
2182
|
+
"root": {
|
|
2183
|
+
"type": "string",
|
|
2184
|
+
"description": "[data-slot~=\"treemap\"]"
|
|
2185
|
+
},
|
|
2186
|
+
"crumbs": {
|
|
2187
|
+
"type": "string",
|
|
2188
|
+
"description": "[data-slot~=\"treemap-crumbs\"]"
|
|
2189
|
+
},
|
|
2190
|
+
"crumb": {
|
|
2191
|
+
"type": "string",
|
|
2192
|
+
"description": "[data-slot~=\"treemap-crumb\"]"
|
|
2193
|
+
},
|
|
2194
|
+
"map": {
|
|
2195
|
+
"type": "string",
|
|
2196
|
+
"description": "[data-slot~=\"treemap-map\"]"
|
|
2197
|
+
},
|
|
2198
|
+
"group": {
|
|
2199
|
+
"type": "string",
|
|
2200
|
+
"description": "[data-slot~=\"treemap-group\"]"
|
|
2201
|
+
},
|
|
2202
|
+
"group-name": {
|
|
2203
|
+
"type": "string",
|
|
2204
|
+
"description": "[data-slot~=\"treemap-group-name\"]"
|
|
2205
|
+
},
|
|
2206
|
+
"group-value": {
|
|
2207
|
+
"type": "string",
|
|
2208
|
+
"description": "[data-slot~=\"treemap-group-value\"]"
|
|
2209
|
+
},
|
|
2210
|
+
"tile": {
|
|
2211
|
+
"type": "string",
|
|
2212
|
+
"description": "[data-slot~=\"treemap-tile\"]"
|
|
2213
|
+
},
|
|
2214
|
+
"tile-label": {
|
|
2215
|
+
"type": "string",
|
|
2216
|
+
"description": "[data-slot~=\"treemap-tile-label\"]"
|
|
2217
|
+
},
|
|
2218
|
+
"tile-value": {
|
|
2219
|
+
"type": "string",
|
|
2220
|
+
"description": "[data-slot~=\"treemap-tile-value\"]"
|
|
2221
|
+
},
|
|
2222
|
+
"legend": {
|
|
2223
|
+
"type": "string",
|
|
2224
|
+
"description": "[data-slot~=\"treemap-legend\"]"
|
|
2225
|
+
},
|
|
2226
|
+
"legend-bar": {
|
|
2227
|
+
"type": "string",
|
|
2228
|
+
"description": "[data-slot~=\"treemap-legend-bar\"]"
|
|
2229
|
+
},
|
|
2230
|
+
"tip": {
|
|
2231
|
+
"type": "string",
|
|
2232
|
+
"description": "[data-slot~=\"treemap-tip\"]"
|
|
2233
|
+
}
|
|
2234
|
+
}
|
|
2235
|
+
}
|
|
2236
|
+
}
|
|
1697
2237
|
}
|
|
1698
2238
|
}
|
|
1699
2239
|
}
|
package/dist/toast.d.ts
ADDED
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
import './define-D5u3F5Dj.js';
|
|
2
|
+
export { E as ExternalToast, P as PromiseData, j as PromiseSource, S as SwipeDirection, k as ToastAction, l as ToastContent, m as ToastFunction, n as ToastId, o as ToastOffset, p as ToastPromise, q as ToastT, r as ToastType, s as ToasterHandle, t as ToasterPosition, u as ToasterProps, v as createToaster, w as toast, x as toastDef } from './theme-Ct-q58xz.js';
|
|
3
|
+
import './i18n.js';
|
|
4
|
+
import './t.js';
|
|
5
|
+
import './badge.js';
|
|
6
|
+
import './variants-B4stUBnY.js';
|
|
7
|
+
import './bar-chart.js';
|
|
8
|
+
import './button.js';
|
|
9
|
+
import './callout-bubble.js';
|
|
10
|
+
import './placement.js';
|
|
11
|
+
import './tokens.js';
|
|
12
|
+
import './popover.js';
|
|
13
|
+
import './card.js';
|
|
14
|
+
import './h-Bl37qUis.js';
|
|
15
|
+
import './color-picker.js';
|
|
16
|
+
import './data-table.js';
|
|
17
|
+
import './date-picker.js';
|
|
18
|
+
import './dialog.js';
|
|
19
|
+
import '@zag-js/dialog';
|
|
20
|
+
import './donut.js';
|
|
21
|
+
import './drawer.js';
|
|
22
|
+
import './empty.js';
|
|
23
|
+
import './field.js';
|
|
24
|
+
import './select.js';
|
|
25
|
+
import './glyph-select.js';
|
|
26
|
+
import './hover-card.js';
|
|
27
|
+
import './kbd.js';
|
|
28
|
+
import './line-chart.js';
|
|
29
|
+
import './dropdown-menu.js';
|
|
30
|
+
import '@zag-js/menu';
|
|
31
|
+
import './number-input.js';
|
|
32
|
+
import './scatter-chart.js';
|
|
33
|
+
import './sparkline.js';
|
|
34
|
+
import './stat.js';
|
|
35
|
+
import './checkbox.js';
|
|
36
|
+
import './collapsible.js';
|
|
37
|
+
import './tabs.js';
|
|
38
|
+
import './text-area.js';
|
|
39
|
+
import './input.js';
|
|
40
|
+
import './input-group.js';
|
|
41
|
+
import './item.js';
|
|
42
|
+
import './month-grid.js';
|
|
43
|
+
import './slider.js';
|
|
44
|
+
import './sort-button.js';
|
|
45
|
+
import './switch.js';
|
|
46
|
+
import './toggle-group.js';
|
|
47
|
+
import './tooltip.js';
|
|
48
|
+
import '@zag-js/tooltip';
|
|
49
|
+
import './treemap.js';
|