@praxisui/tabs 10.0.0-rc.5 → 10.0.0-rc.50
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/README.md +4 -0
- package/ai/component-registry.json +585 -49
- package/fesm2022/praxisui-tabs.mjs +823 -187
- package/package.json +5 -5
- package/src/lib/praxis-tabs-config-editor.json-api.md +12 -1
- package/src/lib/praxis-tabs.json-api.md +25 -1
- package/types/praxisui-tabs.d.ts +50 -5
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
{
|
|
2
2
|
"schemaVersion": "1.0.0",
|
|
3
|
-
"generatedAt": "2026-
|
|
3
|
+
"generatedAt": "2026-11-18T01:27:35.895Z",
|
|
4
4
|
"packageName": "@praxisui/tabs",
|
|
5
|
-
"packageVersion": "10.0.0-rc.
|
|
5
|
+
"packageVersion": "10.0.0-rc.50",
|
|
6
6
|
"sourceRegistry": "praxis-component-registry-ingestion",
|
|
7
7
|
"sourceRegistryVersion": "1.0.0",
|
|
8
8
|
"componentCount": 1,
|
|
9
9
|
"components": {
|
|
10
10
|
"praxis-tabs": {
|
|
11
11
|
"id": "praxis-tabs",
|
|
12
|
-
"description": "Abas dinâmicas baseadas em metadata, com MatTabGroup/TabNav e suporte a tokens M3 via appearance.",
|
|
12
|
+
"description": "Abas dinâmicas baseadas em metadata, com MatTabGroup/TabNav, variantes visuais (underline, pill, segmented), tons por aba/link e suporte a tokens M3 via appearance.",
|
|
13
13
|
"inputs": [
|
|
14
14
|
{
|
|
15
15
|
"name": "config",
|
|
@@ -349,6 +349,17 @@
|
|
|
349
349
|
"valueKind": "object",
|
|
350
350
|
"description": "Appearance settings."
|
|
351
351
|
},
|
|
352
|
+
{
|
|
353
|
+
"path": "appearance.variant",
|
|
354
|
+
"category": "appearance",
|
|
355
|
+
"valueKind": "enum",
|
|
356
|
+
"allowedValues": [
|
|
357
|
+
"underline",
|
|
358
|
+
"pill",
|
|
359
|
+
"segmented"
|
|
360
|
+
],
|
|
361
|
+
"description": "Visual tab strip variant (underline, pill, segmented)."
|
|
362
|
+
},
|
|
352
363
|
{
|
|
353
364
|
"path": "appearance.density",
|
|
354
365
|
"category": "appearance",
|
|
@@ -624,6 +635,24 @@
|
|
|
624
635
|
"valueKind": "string",
|
|
625
636
|
"description": "Link label."
|
|
626
637
|
},
|
|
638
|
+
{
|
|
639
|
+
"path": "nav.links[].labelClass",
|
|
640
|
+
"category": "nav",
|
|
641
|
+
"valueKind": "string",
|
|
642
|
+
"description": "Label class (string or string[])."
|
|
643
|
+
},
|
|
644
|
+
{
|
|
645
|
+
"path": "nav.links[].tone",
|
|
646
|
+
"category": "nav",
|
|
647
|
+
"valueKind": "enum",
|
|
648
|
+
"allowedValues": [
|
|
649
|
+
"default",
|
|
650
|
+
"primary",
|
|
651
|
+
"accent",
|
|
652
|
+
"outlined"
|
|
653
|
+
],
|
|
654
|
+
"description": "Per-link emphasis tone (default, primary, accent, outlined)."
|
|
655
|
+
},
|
|
627
656
|
{
|
|
628
657
|
"path": "nav.links[].active",
|
|
629
658
|
"category": "nav",
|
|
@@ -690,6 +719,18 @@
|
|
|
690
719
|
"valueKind": "string",
|
|
691
720
|
"description": "Body class (string or string[])."
|
|
692
721
|
},
|
|
722
|
+
{
|
|
723
|
+
"path": "tabs[].tone",
|
|
724
|
+
"category": "tabs",
|
|
725
|
+
"valueKind": "enum",
|
|
726
|
+
"allowedValues": [
|
|
727
|
+
"default",
|
|
728
|
+
"primary",
|
|
729
|
+
"accent",
|
|
730
|
+
"outlined"
|
|
731
|
+
],
|
|
732
|
+
"description": "Per-tab emphasis tone (default, primary, accent, outlined)."
|
|
733
|
+
},
|
|
693
734
|
{
|
|
694
735
|
"path": "tabs[].ariaLabel",
|
|
695
736
|
"category": "tabs",
|
|
@@ -753,6 +794,23 @@
|
|
|
753
794
|
"componentContext": {
|
|
754
795
|
"version": "v1",
|
|
755
796
|
"optionsByPath": {
|
|
797
|
+
"appearance.variant": {
|
|
798
|
+
"mode": "enum",
|
|
799
|
+
"options": [
|
|
800
|
+
{
|
|
801
|
+
"value": "underline",
|
|
802
|
+
"label": "Underline"
|
|
803
|
+
},
|
|
804
|
+
{
|
|
805
|
+
"value": "pill",
|
|
806
|
+
"label": "Pill"
|
|
807
|
+
},
|
|
808
|
+
{
|
|
809
|
+
"value": "segmented",
|
|
810
|
+
"label": "Segmented"
|
|
811
|
+
}
|
|
812
|
+
]
|
|
813
|
+
},
|
|
756
814
|
"appearance.density": {
|
|
757
815
|
"mode": "enum",
|
|
758
816
|
"options": [
|
|
@@ -867,9 +925,66 @@
|
|
|
867
925
|
"label": "Warn"
|
|
868
926
|
}
|
|
869
927
|
]
|
|
928
|
+
},
|
|
929
|
+
"tabs[].tone": {
|
|
930
|
+
"mode": "enum",
|
|
931
|
+
"options": [
|
|
932
|
+
{
|
|
933
|
+
"value": "default",
|
|
934
|
+
"label": "Default"
|
|
935
|
+
},
|
|
936
|
+
{
|
|
937
|
+
"value": "primary",
|
|
938
|
+
"label": "Primary"
|
|
939
|
+
},
|
|
940
|
+
{
|
|
941
|
+
"value": "accent",
|
|
942
|
+
"label": "Accent"
|
|
943
|
+
},
|
|
944
|
+
{
|
|
945
|
+
"value": "outlined",
|
|
946
|
+
"label": "Outlined"
|
|
947
|
+
}
|
|
948
|
+
]
|
|
949
|
+
},
|
|
950
|
+
"nav.links[].tone": {
|
|
951
|
+
"mode": "enum",
|
|
952
|
+
"options": [
|
|
953
|
+
{
|
|
954
|
+
"value": "default",
|
|
955
|
+
"label": "Default"
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
"value": "primary",
|
|
959
|
+
"label": "Primary"
|
|
960
|
+
},
|
|
961
|
+
{
|
|
962
|
+
"value": "accent",
|
|
963
|
+
"label": "Accent"
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
"value": "outlined",
|
|
967
|
+
"label": "Outlined"
|
|
968
|
+
}
|
|
969
|
+
]
|
|
870
970
|
}
|
|
871
971
|
},
|
|
872
972
|
"actionCatalog": [
|
|
973
|
+
{
|
|
974
|
+
"id": "appearance.variant.set",
|
|
975
|
+
"intentExamples": [
|
|
976
|
+
"pill tabs",
|
|
977
|
+
"segmented tabs",
|
|
978
|
+
"tab variant",
|
|
979
|
+
"abas em pilula",
|
|
980
|
+
"variante de abas"
|
|
981
|
+
],
|
|
982
|
+
"patchTemplate": {
|
|
983
|
+
"appearance": {
|
|
984
|
+
"variant": "{{value}}"
|
|
985
|
+
}
|
|
986
|
+
}
|
|
987
|
+
},
|
|
873
988
|
{
|
|
874
989
|
"id": "appearance.density.set",
|
|
875
990
|
"intentExamples": [
|
|
@@ -1232,47 +1347,204 @@
|
|
|
1232
1347
|
{
|
|
1233
1348
|
"kind": "tab",
|
|
1234
1349
|
"resolver": "tab-by-id-or-label",
|
|
1235
|
-
"description": "A group-mode tab in config.tabs[]."
|
|
1350
|
+
"description": "A group-mode tab in config.tabs[].",
|
|
1351
|
+
"resolutionSpec": {
|
|
1352
|
+
"allowIndex": false,
|
|
1353
|
+
"strategy": "array-match",
|
|
1354
|
+
"paths": [
|
|
1355
|
+
"tabs[]"
|
|
1356
|
+
],
|
|
1357
|
+
"matchFields": [
|
|
1358
|
+
"id",
|
|
1359
|
+
"label",
|
|
1360
|
+
"textLabel",
|
|
1361
|
+
"title"
|
|
1362
|
+
],
|
|
1363
|
+
"inputMatchFields": [
|
|
1364
|
+
"tabId",
|
|
1365
|
+
"id",
|
|
1366
|
+
"textLabel",
|
|
1367
|
+
"label"
|
|
1368
|
+
]
|
|
1369
|
+
}
|
|
1236
1370
|
},
|
|
1237
1371
|
{
|
|
1238
1372
|
"kind": "tabLabel",
|
|
1239
1373
|
"resolver": "tab-by-id-or-label",
|
|
1240
|
-
"description": "The text label of a group-mode tab."
|
|
1374
|
+
"description": "The text label of a group-mode tab.",
|
|
1375
|
+
"resolutionSpec": {
|
|
1376
|
+
"allowIndex": false,
|
|
1377
|
+
"strategy": "array-match",
|
|
1378
|
+
"paths": [
|
|
1379
|
+
"tabs[]"
|
|
1380
|
+
],
|
|
1381
|
+
"matchFields": [
|
|
1382
|
+
"id",
|
|
1383
|
+
"label",
|
|
1384
|
+
"textLabel",
|
|
1385
|
+
"title"
|
|
1386
|
+
],
|
|
1387
|
+
"inputMatchFields": [
|
|
1388
|
+
"tabId",
|
|
1389
|
+
"id",
|
|
1390
|
+
"textLabel",
|
|
1391
|
+
"label"
|
|
1392
|
+
]
|
|
1393
|
+
}
|
|
1241
1394
|
},
|
|
1242
1395
|
{
|
|
1243
1396
|
"kind": "tabIcon",
|
|
1244
1397
|
"resolver": "tab-by-id-or-label",
|
|
1245
|
-
"description": "Icon metadata rendered in a group tab label."
|
|
1398
|
+
"description": "Icon metadata rendered in a group tab label.",
|
|
1399
|
+
"resolutionSpec": {
|
|
1400
|
+
"allowIndex": false,
|
|
1401
|
+
"strategy": "array-match",
|
|
1402
|
+
"paths": [
|
|
1403
|
+
"tabs[]"
|
|
1404
|
+
],
|
|
1405
|
+
"matchFields": [
|
|
1406
|
+
"id",
|
|
1407
|
+
"label",
|
|
1408
|
+
"textLabel",
|
|
1409
|
+
"title"
|
|
1410
|
+
],
|
|
1411
|
+
"inputMatchFields": [
|
|
1412
|
+
"tabId",
|
|
1413
|
+
"id",
|
|
1414
|
+
"textLabel",
|
|
1415
|
+
"label"
|
|
1416
|
+
]
|
|
1417
|
+
}
|
|
1246
1418
|
},
|
|
1247
1419
|
{
|
|
1248
1420
|
"kind": "tabContent",
|
|
1249
1421
|
"resolver": "tab-or-link-by-id",
|
|
1250
|
-
"description": "Dynamic fields or widgets hosted by a tab or nav link."
|
|
1422
|
+
"description": "Dynamic fields or widgets hosted by a tab or nav link.",
|
|
1423
|
+
"resolutionSpec": {
|
|
1424
|
+
"allowIndex": false,
|
|
1425
|
+
"strategy": "array-match",
|
|
1426
|
+
"paths": [
|
|
1427
|
+
"tabs[]",
|
|
1428
|
+
"nav.links[]"
|
|
1429
|
+
],
|
|
1430
|
+
"matchFields": [
|
|
1431
|
+
"id",
|
|
1432
|
+
"label",
|
|
1433
|
+
"textLabel",
|
|
1434
|
+
"title"
|
|
1435
|
+
],
|
|
1436
|
+
"inputMatchFields": [
|
|
1437
|
+
"tabId",
|
|
1438
|
+
"linkId",
|
|
1439
|
+
"id",
|
|
1440
|
+
"textLabel",
|
|
1441
|
+
"label"
|
|
1442
|
+
]
|
|
1443
|
+
}
|
|
1251
1444
|
},
|
|
1252
1445
|
{
|
|
1253
1446
|
"kind": "activeTab",
|
|
1254
1447
|
"resolver": "tab-index-or-id",
|
|
1255
|
-
"description": "Selected tab or nav link index."
|
|
1448
|
+
"description": "Selected tab or nav link index.",
|
|
1449
|
+
"resolutionSpec": {
|
|
1450
|
+
"allowIndex": false,
|
|
1451
|
+
"strategy": "array-match",
|
|
1452
|
+
"paths": [
|
|
1453
|
+
"tabs[]",
|
|
1454
|
+
"nav.links[]"
|
|
1455
|
+
],
|
|
1456
|
+
"matchFields": [
|
|
1457
|
+
"id",
|
|
1458
|
+
"label",
|
|
1459
|
+
"textLabel",
|
|
1460
|
+
"title"
|
|
1461
|
+
],
|
|
1462
|
+
"inputMatchFields": [
|
|
1463
|
+
"tabId",
|
|
1464
|
+
"linkId",
|
|
1465
|
+
"id",
|
|
1466
|
+
"textLabel",
|
|
1467
|
+
"label"
|
|
1468
|
+
]
|
|
1469
|
+
}
|
|
1256
1470
|
},
|
|
1257
1471
|
{
|
|
1258
1472
|
"kind": "visibility",
|
|
1259
1473
|
"resolver": "tab-or-link-by-id",
|
|
1260
|
-
"description": "Runtime visibility flag for a group tab or nav link."
|
|
1474
|
+
"description": "Runtime visibility flag for a group tab or nav link.",
|
|
1475
|
+
"resolutionSpec": {
|
|
1476
|
+
"allowIndex": false,
|
|
1477
|
+
"strategy": "array-match",
|
|
1478
|
+
"paths": [
|
|
1479
|
+
"tabs[]",
|
|
1480
|
+
"nav.links[]"
|
|
1481
|
+
],
|
|
1482
|
+
"matchFields": [
|
|
1483
|
+
"id",
|
|
1484
|
+
"label",
|
|
1485
|
+
"textLabel",
|
|
1486
|
+
"title"
|
|
1487
|
+
],
|
|
1488
|
+
"inputMatchFields": [
|
|
1489
|
+
"tabId",
|
|
1490
|
+
"linkId",
|
|
1491
|
+
"id",
|
|
1492
|
+
"textLabel",
|
|
1493
|
+
"label"
|
|
1494
|
+
]
|
|
1495
|
+
}
|
|
1261
1496
|
},
|
|
1262
1497
|
{
|
|
1263
1498
|
"kind": "disabledState",
|
|
1264
1499
|
"resolver": "tab-or-link-by-id",
|
|
1265
|
-
"description": "Disabled state of a tab or nav link."
|
|
1500
|
+
"description": "Disabled state of a tab or nav link.",
|
|
1501
|
+
"resolutionSpec": {
|
|
1502
|
+
"allowIndex": false,
|
|
1503
|
+
"strategy": "array-match",
|
|
1504
|
+
"paths": [
|
|
1505
|
+
"tabs[]",
|
|
1506
|
+
"nav.links[]"
|
|
1507
|
+
],
|
|
1508
|
+
"matchFields": [
|
|
1509
|
+
"id",
|
|
1510
|
+
"label",
|
|
1511
|
+
"textLabel",
|
|
1512
|
+
"title"
|
|
1513
|
+
],
|
|
1514
|
+
"inputMatchFields": [
|
|
1515
|
+
"tabId",
|
|
1516
|
+
"linkId",
|
|
1517
|
+
"id",
|
|
1518
|
+
"textLabel",
|
|
1519
|
+
"label"
|
|
1520
|
+
]
|
|
1521
|
+
}
|
|
1266
1522
|
},
|
|
1267
1523
|
{
|
|
1268
1524
|
"kind": "layout",
|
|
1269
1525
|
"resolver": "tabs-layout-config",
|
|
1270
|
-
"description": "Group/nav mode, header position, density, stretch and behavior settings."
|
|
1526
|
+
"description": "Group/nav mode, visual variant, header position, density, stretch and behavior settings.",
|
|
1527
|
+
"resolutionSpec": {
|
|
1528
|
+
"allowIndex": false,
|
|
1529
|
+
"strategy": "root-path",
|
|
1530
|
+
"paths": [
|
|
1531
|
+
"$"
|
|
1532
|
+
]
|
|
1533
|
+
}
|
|
1271
1534
|
},
|
|
1272
1535
|
{
|
|
1273
1536
|
"kind": "renderBody",
|
|
1274
1537
|
"resolver": "tabs-render-body-config",
|
|
1275
|
-
"description": "Config paths group.renderBody and nav.renderBody that let the host own external body content."
|
|
1538
|
+
"description": "Config paths group.renderBody and nav.renderBody that let the host own external body content.",
|
|
1539
|
+
"resolutionSpec": {
|
|
1540
|
+
"allowIndex": false,
|
|
1541
|
+
"strategy": "root-path",
|
|
1542
|
+
"paths": [
|
|
1543
|
+
"group",
|
|
1544
|
+
"nav",
|
|
1545
|
+
"$"
|
|
1546
|
+
]
|
|
1547
|
+
}
|
|
1276
1548
|
}
|
|
1277
1549
|
],
|
|
1278
1550
|
"operations": [
|
|
@@ -1285,7 +1557,15 @@
|
|
|
1285
1557
|
"kind": "tab",
|
|
1286
1558
|
"resolver": "tabs-array",
|
|
1287
1559
|
"ambiguityPolicy": "fail",
|
|
1288
|
-
"required": false
|
|
1560
|
+
"required": false,
|
|
1561
|
+
"resolutionSpec": {
|
|
1562
|
+
"allowIndex": false,
|
|
1563
|
+
"strategy": "root-path",
|
|
1564
|
+
"paths": [
|
|
1565
|
+
"tabs[]",
|
|
1566
|
+
"$"
|
|
1567
|
+
]
|
|
1568
|
+
}
|
|
1289
1569
|
},
|
|
1290
1570
|
"inputSchema": {
|
|
1291
1571
|
"type": "object",
|
|
@@ -1303,6 +1583,27 @@
|
|
|
1303
1583
|
"icon": {
|
|
1304
1584
|
"type": "string"
|
|
1305
1585
|
},
|
|
1586
|
+
"labelClass": {
|
|
1587
|
+
"anyOf": [
|
|
1588
|
+
{
|
|
1589
|
+
"type": "string"
|
|
1590
|
+
},
|
|
1591
|
+
{
|
|
1592
|
+
"type": "array",
|
|
1593
|
+
"items": {
|
|
1594
|
+
"type": "string"
|
|
1595
|
+
}
|
|
1596
|
+
}
|
|
1597
|
+
]
|
|
1598
|
+
},
|
|
1599
|
+
"tone": {
|
|
1600
|
+
"enum": [
|
|
1601
|
+
"default",
|
|
1602
|
+
"primary",
|
|
1603
|
+
"accent",
|
|
1604
|
+
"outlined"
|
|
1605
|
+
]
|
|
1606
|
+
},
|
|
1306
1607
|
"disabled": {
|
|
1307
1608
|
"type": "boolean"
|
|
1308
1609
|
},
|
|
@@ -1355,7 +1656,26 @@
|
|
|
1355
1656
|
"kind": "tab",
|
|
1356
1657
|
"resolver": "tab-by-id-or-label",
|
|
1357
1658
|
"ambiguityPolicy": "fail",
|
|
1358
|
-
"required": true
|
|
1659
|
+
"required": true,
|
|
1660
|
+
"resolutionSpec": {
|
|
1661
|
+
"allowIndex": false,
|
|
1662
|
+
"strategy": "array-match",
|
|
1663
|
+
"paths": [
|
|
1664
|
+
"tabs[]"
|
|
1665
|
+
],
|
|
1666
|
+
"matchFields": [
|
|
1667
|
+
"id",
|
|
1668
|
+
"label",
|
|
1669
|
+
"textLabel",
|
|
1670
|
+
"title"
|
|
1671
|
+
],
|
|
1672
|
+
"inputMatchFields": [
|
|
1673
|
+
"tabId",
|
|
1674
|
+
"id",
|
|
1675
|
+
"textLabel",
|
|
1676
|
+
"label"
|
|
1677
|
+
]
|
|
1678
|
+
}
|
|
1359
1679
|
},
|
|
1360
1680
|
"inputSchema": {
|
|
1361
1681
|
"type": "object",
|
|
@@ -1369,6 +1689,11 @@
|
|
|
1369
1689
|
{
|
|
1370
1690
|
"kind": "compile-domain-patch",
|
|
1371
1691
|
"handler": "tabs.remove-tab-and-reselect",
|
|
1692
|
+
"selectionReconciliation": {
|
|
1693
|
+
"selectedIndexPath": "group.selectedIndex",
|
|
1694
|
+
"itemKeyField": "id",
|
|
1695
|
+
"onRemovedActive": "clamp"
|
|
1696
|
+
},
|
|
1372
1697
|
"handlerContract": {
|
|
1373
1698
|
"reads": [
|
|
1374
1699
|
"tabs[]",
|
|
@@ -1425,7 +1750,26 @@
|
|
|
1425
1750
|
"kind": "tabLabel",
|
|
1426
1751
|
"resolver": "tab-by-id-or-label",
|
|
1427
1752
|
"ambiguityPolicy": "fail",
|
|
1428
|
-
"required": true
|
|
1753
|
+
"required": true,
|
|
1754
|
+
"resolutionSpec": {
|
|
1755
|
+
"allowIndex": false,
|
|
1756
|
+
"strategy": "array-match",
|
|
1757
|
+
"paths": [
|
|
1758
|
+
"tabs[]"
|
|
1759
|
+
],
|
|
1760
|
+
"matchFields": [
|
|
1761
|
+
"id",
|
|
1762
|
+
"label",
|
|
1763
|
+
"textLabel",
|
|
1764
|
+
"title"
|
|
1765
|
+
],
|
|
1766
|
+
"inputMatchFields": [
|
|
1767
|
+
"tabId",
|
|
1768
|
+
"id",
|
|
1769
|
+
"textLabel",
|
|
1770
|
+
"label"
|
|
1771
|
+
]
|
|
1772
|
+
}
|
|
1429
1773
|
},
|
|
1430
1774
|
"inputSchema": {
|
|
1431
1775
|
"type": "object",
|
|
@@ -1469,7 +1813,26 @@
|
|
|
1469
1813
|
"kind": "tabIcon",
|
|
1470
1814
|
"resolver": "tab-by-id-or-label",
|
|
1471
1815
|
"ambiguityPolicy": "fail",
|
|
1472
|
-
"required": true
|
|
1816
|
+
"required": true,
|
|
1817
|
+
"resolutionSpec": {
|
|
1818
|
+
"allowIndex": false,
|
|
1819
|
+
"strategy": "array-match",
|
|
1820
|
+
"paths": [
|
|
1821
|
+
"tabs[]"
|
|
1822
|
+
],
|
|
1823
|
+
"matchFields": [
|
|
1824
|
+
"id",
|
|
1825
|
+
"label",
|
|
1826
|
+
"textLabel",
|
|
1827
|
+
"title"
|
|
1828
|
+
],
|
|
1829
|
+
"inputMatchFields": [
|
|
1830
|
+
"tabId",
|
|
1831
|
+
"id",
|
|
1832
|
+
"textLabel",
|
|
1833
|
+
"label"
|
|
1834
|
+
]
|
|
1835
|
+
}
|
|
1473
1836
|
},
|
|
1474
1837
|
"inputSchema": {
|
|
1475
1838
|
"type": "object",
|
|
@@ -1513,7 +1876,26 @@
|
|
|
1513
1876
|
"kind": "tab",
|
|
1514
1877
|
"resolver": "tab-by-id-or-label",
|
|
1515
1878
|
"ambiguityPolicy": "fail",
|
|
1516
|
-
"required": true
|
|
1879
|
+
"required": true,
|
|
1880
|
+
"resolutionSpec": {
|
|
1881
|
+
"allowIndex": false,
|
|
1882
|
+
"strategy": "array-match",
|
|
1883
|
+
"paths": [
|
|
1884
|
+
"tabs[]"
|
|
1885
|
+
],
|
|
1886
|
+
"matchFields": [
|
|
1887
|
+
"id",
|
|
1888
|
+
"label",
|
|
1889
|
+
"textLabel",
|
|
1890
|
+
"title"
|
|
1891
|
+
],
|
|
1892
|
+
"inputMatchFields": [
|
|
1893
|
+
"tabId",
|
|
1894
|
+
"id",
|
|
1895
|
+
"textLabel",
|
|
1896
|
+
"label"
|
|
1897
|
+
]
|
|
1898
|
+
}
|
|
1517
1899
|
},
|
|
1518
1900
|
"inputSchema": {
|
|
1519
1901
|
"type": "object",
|
|
@@ -1530,6 +1912,11 @@
|
|
|
1530
1912
|
{
|
|
1531
1913
|
"kind": "compile-domain-patch",
|
|
1532
1914
|
"handler": "tabs.reorder-tab-and-preserve-selection",
|
|
1915
|
+
"selectionReconciliation": {
|
|
1916
|
+
"selectedIndexPath": "group.selectedIndex",
|
|
1917
|
+
"itemKeyField": "id",
|
|
1918
|
+
"onRemovedActive": "clamp"
|
|
1919
|
+
},
|
|
1533
1920
|
"handlerContract": {
|
|
1534
1921
|
"reads": [
|
|
1535
1922
|
"tabs[]",
|
|
@@ -1587,7 +1974,28 @@
|
|
|
1587
1974
|
"kind": "disabledState",
|
|
1588
1975
|
"resolver": "tab-or-link-by-id",
|
|
1589
1976
|
"ambiguityPolicy": "fail",
|
|
1590
|
-
"required": true
|
|
1977
|
+
"required": true,
|
|
1978
|
+
"resolutionSpec": {
|
|
1979
|
+
"allowIndex": false,
|
|
1980
|
+
"strategy": "array-match",
|
|
1981
|
+
"paths": [
|
|
1982
|
+
"tabs[]",
|
|
1983
|
+
"nav.links[]"
|
|
1984
|
+
],
|
|
1985
|
+
"matchFields": [
|
|
1986
|
+
"id",
|
|
1987
|
+
"label",
|
|
1988
|
+
"textLabel",
|
|
1989
|
+
"title"
|
|
1990
|
+
],
|
|
1991
|
+
"inputMatchFields": [
|
|
1992
|
+
"tabId",
|
|
1993
|
+
"linkId",
|
|
1994
|
+
"id",
|
|
1995
|
+
"textLabel",
|
|
1996
|
+
"label"
|
|
1997
|
+
]
|
|
1998
|
+
}
|
|
1591
1999
|
},
|
|
1592
2000
|
"inputSchema": {
|
|
1593
2001
|
"type": "object",
|
|
@@ -1664,7 +2072,28 @@
|
|
|
1664
2072
|
"kind": "visibility",
|
|
1665
2073
|
"resolver": "tab-or-link-by-id",
|
|
1666
2074
|
"ambiguityPolicy": "fail",
|
|
1667
|
-
"required": true
|
|
2075
|
+
"required": true,
|
|
2076
|
+
"resolutionSpec": {
|
|
2077
|
+
"allowIndex": false,
|
|
2078
|
+
"strategy": "array-match",
|
|
2079
|
+
"paths": [
|
|
2080
|
+
"tabs[]",
|
|
2081
|
+
"nav.links[]"
|
|
2082
|
+
],
|
|
2083
|
+
"matchFields": [
|
|
2084
|
+
"id",
|
|
2085
|
+
"label",
|
|
2086
|
+
"textLabel",
|
|
2087
|
+
"title"
|
|
2088
|
+
],
|
|
2089
|
+
"inputMatchFields": [
|
|
2090
|
+
"tabId",
|
|
2091
|
+
"linkId",
|
|
2092
|
+
"id",
|
|
2093
|
+
"textLabel",
|
|
2094
|
+
"label"
|
|
2095
|
+
]
|
|
2096
|
+
}
|
|
1668
2097
|
},
|
|
1669
2098
|
"inputSchema": {
|
|
1670
2099
|
"type": "object",
|
|
@@ -1741,7 +2170,28 @@
|
|
|
1741
2170
|
"kind": "activeTab",
|
|
1742
2171
|
"resolver": "tab-index-or-id",
|
|
1743
2172
|
"ambiguityPolicy": "fail",
|
|
1744
|
-
"required": true
|
|
2173
|
+
"required": true,
|
|
2174
|
+
"resolutionSpec": {
|
|
2175
|
+
"allowIndex": false,
|
|
2176
|
+
"strategy": "array-match",
|
|
2177
|
+
"paths": [
|
|
2178
|
+
"tabs[]",
|
|
2179
|
+
"nav.links[]"
|
|
2180
|
+
],
|
|
2181
|
+
"matchFields": [
|
|
2182
|
+
"id",
|
|
2183
|
+
"label",
|
|
2184
|
+
"textLabel",
|
|
2185
|
+
"title"
|
|
2186
|
+
],
|
|
2187
|
+
"inputMatchFields": [
|
|
2188
|
+
"tabId",
|
|
2189
|
+
"linkId",
|
|
2190
|
+
"id",
|
|
2191
|
+
"textLabel",
|
|
2192
|
+
"label"
|
|
2193
|
+
]
|
|
2194
|
+
}
|
|
1745
2195
|
},
|
|
1746
2196
|
"inputSchema": {
|
|
1747
2197
|
"type": "object",
|
|
@@ -1824,13 +2274,18 @@
|
|
|
1824
2274
|
"kind": "layout",
|
|
1825
2275
|
"resolver": "tabs-layout-config",
|
|
1826
2276
|
"ambiguityPolicy": "fail",
|
|
1827
|
-
"required": true
|
|
2277
|
+
"required": true,
|
|
2278
|
+
"resolutionSpec": {
|
|
2279
|
+
"allowIndex": false,
|
|
2280
|
+
"strategy": "root-path",
|
|
2281
|
+
"paths": [
|
|
2282
|
+
"$"
|
|
2283
|
+
]
|
|
2284
|
+
}
|
|
1828
2285
|
},
|
|
1829
2286
|
"inputSchema": {
|
|
1830
2287
|
"type": "object",
|
|
1831
|
-
"
|
|
1832
|
-
"mode"
|
|
1833
|
-
],
|
|
2288
|
+
"minProperties": 1,
|
|
1834
2289
|
"properties": {
|
|
1835
2290
|
"mode": {
|
|
1836
2291
|
"enum": [
|
|
@@ -1838,6 +2293,13 @@
|
|
|
1838
2293
|
"nav"
|
|
1839
2294
|
]
|
|
1840
2295
|
},
|
|
2296
|
+
"variant": {
|
|
2297
|
+
"enum": [
|
|
2298
|
+
"underline",
|
|
2299
|
+
"pill",
|
|
2300
|
+
"segmented"
|
|
2301
|
+
]
|
|
2302
|
+
},
|
|
1841
2303
|
"density": {
|
|
1842
2304
|
"enum": [
|
|
1843
2305
|
"compact",
|
|
@@ -1892,6 +2354,7 @@
|
|
|
1892
2354
|
"editor-runtime-round-trip"
|
|
1893
2355
|
],
|
|
1894
2356
|
"affectedPaths": [
|
|
2357
|
+
"appearance.variant",
|
|
1895
2358
|
"appearance.density",
|
|
1896
2359
|
"group.headerPosition",
|
|
1897
2360
|
"group.alignTabs",
|
|
@@ -1913,7 +2376,28 @@
|
|
|
1913
2376
|
"kind": "tabContent",
|
|
1914
2377
|
"resolver": "tab-or-link-by-id",
|
|
1915
2378
|
"ambiguityPolicy": "fail",
|
|
1916
|
-
"required": true
|
|
2379
|
+
"required": true,
|
|
2380
|
+
"resolutionSpec": {
|
|
2381
|
+
"allowIndex": false,
|
|
2382
|
+
"strategy": "array-match",
|
|
2383
|
+
"paths": [
|
|
2384
|
+
"tabs[]",
|
|
2385
|
+
"nav.links[]"
|
|
2386
|
+
],
|
|
2387
|
+
"matchFields": [
|
|
2388
|
+
"id",
|
|
2389
|
+
"label",
|
|
2390
|
+
"textLabel",
|
|
2391
|
+
"title"
|
|
2392
|
+
],
|
|
2393
|
+
"inputMatchFields": [
|
|
2394
|
+
"tabId",
|
|
2395
|
+
"linkId",
|
|
2396
|
+
"id",
|
|
2397
|
+
"textLabel",
|
|
2398
|
+
"label"
|
|
2399
|
+
]
|
|
2400
|
+
}
|
|
1917
2401
|
},
|
|
1918
2402
|
"inputSchema": {
|
|
1919
2403
|
"type": "object",
|
|
@@ -1928,6 +2412,27 @@
|
|
|
1928
2412
|
"icon": {
|
|
1929
2413
|
"type": "string"
|
|
1930
2414
|
},
|
|
2415
|
+
"labelClass": {
|
|
2416
|
+
"anyOf": [
|
|
2417
|
+
{
|
|
2418
|
+
"type": "string"
|
|
2419
|
+
},
|
|
2420
|
+
{
|
|
2421
|
+
"type": "array",
|
|
2422
|
+
"items": {
|
|
2423
|
+
"type": "string"
|
|
2424
|
+
}
|
|
2425
|
+
}
|
|
2426
|
+
]
|
|
2427
|
+
},
|
|
2428
|
+
"tone": {
|
|
2429
|
+
"enum": [
|
|
2430
|
+
"default",
|
|
2431
|
+
"primary",
|
|
2432
|
+
"accent",
|
|
2433
|
+
"outlined"
|
|
2434
|
+
]
|
|
2435
|
+
},
|
|
1931
2436
|
"disabled": {
|
|
1932
2437
|
"type": "boolean"
|
|
1933
2438
|
},
|
|
@@ -1980,6 +2485,27 @@
|
|
|
1980
2485
|
"icon": {
|
|
1981
2486
|
"type": "string"
|
|
1982
2487
|
},
|
|
2488
|
+
"labelClass": {
|
|
2489
|
+
"anyOf": [
|
|
2490
|
+
{
|
|
2491
|
+
"type": "string"
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
"type": "array",
|
|
2495
|
+
"items": {
|
|
2496
|
+
"type": "string"
|
|
2497
|
+
}
|
|
2498
|
+
}
|
|
2499
|
+
]
|
|
2500
|
+
},
|
|
2501
|
+
"tone": {
|
|
2502
|
+
"enum": [
|
|
2503
|
+
"default",
|
|
2504
|
+
"primary",
|
|
2505
|
+
"accent",
|
|
2506
|
+
"outlined"
|
|
2507
|
+
]
|
|
2508
|
+
},
|
|
1983
2509
|
"disabled": {
|
|
1984
2510
|
"type": "boolean"
|
|
1985
2511
|
},
|
|
@@ -2262,6 +2788,16 @@
|
|
|
2262
2788
|
"replacementActiveTabId": "overview"
|
|
2263
2789
|
},
|
|
2264
2790
|
"isPositive": true
|
|
2791
|
+
},
|
|
2792
|
+
{
|
|
2793
|
+
"id": "set-pill-variant",
|
|
2794
|
+
"request": "Switch the tabs header to pill variant.",
|
|
2795
|
+
"operationId": "layout.variant.set",
|
|
2796
|
+
"params": {
|
|
2797
|
+
"variant": "pill",
|
|
2798
|
+
"density": "compact"
|
|
2799
|
+
},
|
|
2800
|
+
"isPositive": true
|
|
2265
2801
|
}
|
|
2266
2802
|
]
|
|
2267
2803
|
},
|
|
@@ -2269,9 +2805,9 @@
|
|
|
2269
2805
|
{
|
|
2270
2806
|
"chunkIndex": 0,
|
|
2271
2807
|
"chunkKind": "summary",
|
|
2272
|
-
"content": "Component ID: praxis-tabs\nSelector: praxis-tabs\nFriendly Name: Praxis Tabs\nDescription: Abas dinâmicas baseadas em metadata, com MatTabGroup/TabNav e suporte a tokens M3 via appearance.\nLib/Package: @praxisui/tabs\nTags: widget, tabs, configurable, stable\nInputs:\n - config (TabsMetadata)\n - tabsId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy (\"storage-first\" | \"input-first\")\n - selectedIndex (number)\n - enableCustomization (boolean)\n - form (FormGroup)\n - context (Record<string, any>)\nOutputs:\n - selectedIndexChange (number)\n - configChange (TabsConfigChangeEvent)\n - selectedTabChange (MatTabChangeEvent)\n - animationDone (void)\n - focusChange (MatTabChangeEvent)\n - indexFocused (number)\n - selectFocusedIndex (number)\n - widgetEvent (WidgetEventEnvelope)\n",
|
|
2808
|
+
"content": "Component ID: praxis-tabs\nSelector: praxis-tabs\nFriendly Name: Praxis Tabs\nDescription: Abas dinâmicas baseadas em metadata, com MatTabGroup/TabNav, variantes visuais (underline, pill, segmented), tons por aba/link e suporte a tokens M3 via appearance.\nLib/Package: @praxisui/tabs\nTags: widget, tabs, configurable, stable\nInputs:\n - config (TabsMetadata)\n - tabsId (string)\n - componentInstanceId (string)\n - configPersistenceStrategy (\"storage-first\" | \"input-first\")\n - selectedIndex (number)\n - enableCustomization (boolean)\n - form (FormGroup)\n - context (Record<string, any>)\nOutputs:\n - selectedIndexChange (number)\n - configChange (TabsConfigChangeEvent)\n - selectedTabChange (MatTabChangeEvent)\n - animationDone (void)\n - focusChange (MatTabChangeEvent)\n - indexFocused (number)\n - selectFocusedIndex (number)\n - widgetEvent (WidgetEventEnvelope)\n",
|
|
2273
2809
|
"sourcePointer": "projects/praxis-tabs/src/lib/praxis-tabs.metadata.ts",
|
|
2274
|
-
"contentHash": "
|
|
2810
|
+
"contentHash": "55054a10f32f0c9567fdd6a284540caefc7c7d1681495e705bc446df140d7c13",
|
|
2275
2811
|
"sourceKind": "component_definition",
|
|
2276
2812
|
"sourceId": "praxis-tabs",
|
|
2277
2813
|
"corpusVersion": "1.0.0"
|
|
@@ -2279,9 +2815,9 @@
|
|
|
2279
2815
|
{
|
|
2280
2816
|
"chunkIndex": 1,
|
|
2281
2817
|
"chunkKind": "capabilities",
|
|
2282
|
-
"content": "Component Capability:\n - Path: meta\n Category: meta\n Kind: object\n Description: Metadata bag for tabs.\n\nComponent Capability:\n - Path: appearance\n Category: appearance\n Kind: object\n Description: Appearance settings.\n\nComponent Capability:\n - Path: appearance.density\n Category: appearance\n Kind: enum\n Description: Density preset.\n\nComponent Capability:\n - Path: appearance.themeClass\n Category: appearance\n Kind: string\n Description: Theme CSS class applied to root.\n\nComponent Capability:\n - Path: appearance.customCss\n Category: appearance\n Kind: string\n Description: Custom CSS injected into component.\n\nComponent Capability:\n - Path: appearance.tokens\n Category: appearance\n Kind: object\n Description: Style tokens mapped to runtime CSS.\n\nComponent Capability:\n - Path: behavior\n Category: behavior\n Kind: object\n Description: Behavior settings.\n\nComponent Capability:\n - Path: behavior.lazyLoad\n Category: behavior\n Kind: boolean\n Description: Lazy load tab content.\n\nComponent Capability:\n - Path: behavior.closeable\n Category: behavior\n Kind: boolean\n Description: Show close button on tabs.\n\nComponent Capability:\n - Path: behavior.reorderable\n Category: behavior\n Kind: boolean\n Description: Allow reorder tabs/links.\n\nComponent Capability:\n - Path: accessibility\n Category: accessibility\n Kind: object\n Description: Accessibility settings.\n\nComponent Capability:\n - Path: accessibility.highContrast\n Category: accessibility\n Kind: boolean\n Description: High contrast mode.\n\nComponent Capability:\n - Path: accessibility.reduceMotion\n Category: accessibility\n Kind: boolean\n Description: Reduce motion.\n\nComponent Capability:\n - Path: group\n Category: group\n Kind: object\n Description: MatTabGroup settings.\n\nComponent Capability:\n - Path: group.alignTabs\n Category: group\n Kind: enum\n Description: Align tabs in header.\n\nComponent Capability:\n - Path: group.animationDuration\n Category: group\n Kind: string\n Description: Animation duration (e.g., 500ms).\n\nComponent Capability:\n - Path: group.ariaLabel\n Category: group\n Kind: string\n Description: aria-label for tab group.\n\nComponent Capability:\n - Path: group.ariaLabelledby\n Category: group\n Kind: string\n Description: aria-labelledby for tab group.\n\nComponent Capability:\n - Path: group.color\n Category: group\n Kind: enum\n Description: M2 color.\n\nComponent Capability:\n - Path: group.backgroundColor\n Category: group\n Kind: enum\n Description: M2 background color.\n\nComponent Capability:\n - Path: group.disablePagination\n Category: group\n Kind: boolean\n Description: Disable pagination of header.\n\nComponent Capability:\n - Path: group.disableRipple\n Category: group\n Kind: boolean\n Description: Disable ripple.\n\nComponent Capability:\n - Path: group.dynamicHeight\n Category: group\n Kind: boolean\n Description: Enable dynamic height.\n\nComponent Capability:\n - Path: group.fitInkBarToContent\n Category: group\n Kind: boolean\n Description: Fit ink bar to content.\n\nComponent Capability:\n - Path: group.headerPosition\n Category: group\n Kind: enum\n Description: Header position.\n\nComponent Capability:\n - Path: group.preserveContent\n Category: group\n Kind: boolean\n Description: Preserve content of inactive tabs.\n\nComponent Capability:\n - Path: group.selectedIndex\n Category: group\n Kind: number\n Description: Selected tab index.\n\nComponent Capability:\n - Path: group.stretchTabs\n Category: group\n Kind: boolean\n Description: Stretch tabs.\n\nComponent Capability:\n - Path: nav\n Category: nav\n Kind: object\n Description: Tab nav settings.\n\nComponent Capability:\n - Path: nav.animationDuration\n Category: nav\n Kind: string\n Description: Animation duration (e.g., 500ms).\n\nComponent Capability:\n - Path: nav.ariaLabel\n Category: nav\n Kind: string\n Description: aria-label for nav mode.\n\nComponent Capability:\n - Path: nav.ariaLabelledby\n Category: nav\n Kind: string\n Description: aria-labelledby for nav mode.\n\nComponent Capability:\n - Path: nav.color\n Category: nav\n Kind: enum\n Description: M2 color.\n\nComponent Capability:\n - Path: nav.backgroundColor\n Category: nav\n Kind: enum\n Description: M2 background color.\n\nComponent Capability:\n - Path: nav.disablePagination\n Category: nav\n Kind: boolean\n Description: Disable pagination of nav.\n\nComponent Capability:\n - Path: nav.disableRipple\n Category: nav\n Kind: boolean\n Description: Disable ripple.\n\nComponent Capability:\n - Path: nav.fitInkBarToContent\n Category: nav\n Kind: boolean\n Description: Fit ink bar to content.\n\nComponent Capability:\n - Path: nav.selectedIndex\n Category: nav\n Kind: number\n Description: Selected nav link index.\n\nComponent Capability:\n - Path: nav.stretchTabs\n Category: nav\n Kind: boolean\n Description: Stretch nav tabs.\n\nComponent Capability:\n - Path: nav.links\n Category: nav\n Kind: array\n Description: Nav links array.\n\nComponent Capability:\n - Path: nav.links[].id\n Category: nav\n Kind: string\n Description: Link id.\n\nComponent Capability:\n - Path: nav.links[].label\n Category: nav\n Kind: string\n Description: Link label.\n\nComponent Capability:\n - Path: nav.links[].active\n Category: nav\n Kind: boolean\n Description: Link active flag.\n\nComponent Capability:\n - Path: nav.links[].disabled\n Category: nav\n Kind: boolean\n Description: Disable link.\n\nComponent Capability:\n - Path: nav.links[].disableRipple\n Category: nav\n Kind: boolean\n Description: Disable ripple on link.\n\nComponent Capability:\n - Path: nav.links[].fitInkBarToContent\n Category: nav\n Kind: boolean\n Description: Fit ink bar to link content.\n\nComponent Capability:\n - Path: nav.links[].content\n Category: nav\n Kind: array\n Description: Dynamic field metadata list.\n\nComponent Capability:\n - Path: nav.links[].widgets\n Category: nav\n Kind: array\n Description: Widget definitions for link content.\n\nComponent Capability:\n - Path: tabs\n Category: tabs\n Kind: array\n Description: Tabs array.\n\nComponent Capability:\n - Path: tabs[].id\n Category: tabs\n Kind: string\n Description: Tab id.\n\nComponent Capability:\n - Path: tabs[].textLabel\n Category: tabs\n Kind: string\n Description: Tab label.\n\nComponent Capability:\n - Path: tabs[].labelClass\n Category: tabs\n Kind: string\n Description: Label class (string or string[]).\n\nComponent Capability:\n - Path: tabs[].bodyClass\n Category: tabs\n Kind: string\n Description: Body class (string or string[]).\n\nComponent Capability:\n - Path: tabs[].
|
|
2818
|
+
"content": "Component Capability:\n - Path: meta\n Category: meta\n Kind: object\n Description: Metadata bag for tabs.\n\nComponent Capability:\n - Path: appearance\n Category: appearance\n Kind: object\n Description: Appearance settings.\n\nComponent Capability:\n - Path: appearance.variant\n Category: appearance\n Kind: enum\n Description: Visual tab strip variant (underline, pill, segmented).\n\nComponent Capability:\n - Path: appearance.density\n Category: appearance\n Kind: enum\n Description: Density preset.\n\nComponent Capability:\n - Path: appearance.themeClass\n Category: appearance\n Kind: string\n Description: Theme CSS class applied to root.\n\nComponent Capability:\n - Path: appearance.customCss\n Category: appearance\n Kind: string\n Description: Custom CSS injected into component.\n\nComponent Capability:\n - Path: appearance.tokens\n Category: appearance\n Kind: object\n Description: Style tokens mapped to runtime CSS.\n\nComponent Capability:\n - Path: behavior\n Category: behavior\n Kind: object\n Description: Behavior settings.\n\nComponent Capability:\n - Path: behavior.lazyLoad\n Category: behavior\n Kind: boolean\n Description: Lazy load tab content.\n\nComponent Capability:\n - Path: behavior.closeable\n Category: behavior\n Kind: boolean\n Description: Show close button on tabs.\n\nComponent Capability:\n - Path: behavior.reorderable\n Category: behavior\n Kind: boolean\n Description: Allow reorder tabs/links.\n\nComponent Capability:\n - Path: accessibility\n Category: accessibility\n Kind: object\n Description: Accessibility settings.\n\nComponent Capability:\n - Path: accessibility.highContrast\n Category: accessibility\n Kind: boolean\n Description: High contrast mode.\n\nComponent Capability:\n - Path: accessibility.reduceMotion\n Category: accessibility\n Kind: boolean\n Description: Reduce motion.\n\nComponent Capability:\n - Path: group\n Category: group\n Kind: object\n Description: MatTabGroup settings.\n\nComponent Capability:\n - Path: group.alignTabs\n Category: group\n Kind: enum\n Description: Align tabs in header.\n\nComponent Capability:\n - Path: group.animationDuration\n Category: group\n Kind: string\n Description: Animation duration (e.g., 500ms).\n\nComponent Capability:\n - Path: group.ariaLabel\n Category: group\n Kind: string\n Description: aria-label for tab group.\n\nComponent Capability:\n - Path: group.ariaLabelledby\n Category: group\n Kind: string\n Description: aria-labelledby for tab group.\n\nComponent Capability:\n - Path: group.color\n Category: group\n Kind: enum\n Description: M2 color.\n\nComponent Capability:\n - Path: group.backgroundColor\n Category: group\n Kind: enum\n Description: M2 background color.\n\nComponent Capability:\n - Path: group.disablePagination\n Category: group\n Kind: boolean\n Description: Disable pagination of header.\n\nComponent Capability:\n - Path: group.disableRipple\n Category: group\n Kind: boolean\n Description: Disable ripple.\n\nComponent Capability:\n - Path: group.dynamicHeight\n Category: group\n Kind: boolean\n Description: Enable dynamic height.\n\nComponent Capability:\n - Path: group.fitInkBarToContent\n Category: group\n Kind: boolean\n Description: Fit ink bar to content.\n\nComponent Capability:\n - Path: group.headerPosition\n Category: group\n Kind: enum\n Description: Header position.\n\nComponent Capability:\n - Path: group.preserveContent\n Category: group\n Kind: boolean\n Description: Preserve content of inactive tabs.\n\nComponent Capability:\n - Path: group.selectedIndex\n Category: group\n Kind: number\n Description: Selected tab index.\n\nComponent Capability:\n - Path: group.stretchTabs\n Category: group\n Kind: boolean\n Description: Stretch tabs.\n\nComponent Capability:\n - Path: nav\n Category: nav\n Kind: object\n Description: Tab nav settings.\n\nComponent Capability:\n - Path: nav.animationDuration\n Category: nav\n Kind: string\n Description: Animation duration (e.g., 500ms).\n\nComponent Capability:\n - Path: nav.ariaLabel\n Category: nav\n Kind: string\n Description: aria-label for nav mode.\n\nComponent Capability:\n - Path: nav.ariaLabelledby\n Category: nav\n Kind: string\n Description: aria-labelledby for nav mode.\n\nComponent Capability:\n - Path: nav.color\n Category: nav\n Kind: enum\n Description: M2 color.\n\nComponent Capability:\n - Path: nav.backgroundColor\n Category: nav\n Kind: enum\n Description: M2 background color.\n\nComponent Capability:\n - Path: nav.disablePagination\n Category: nav\n Kind: boolean\n Description: Disable pagination of nav.\n\nComponent Capability:\n - Path: nav.disableRipple\n Category: nav\n Kind: boolean\n Description: Disable ripple.\n\nComponent Capability:\n - Path: nav.fitInkBarToContent\n Category: nav\n Kind: boolean\n Description: Fit ink bar to content.\n\nComponent Capability:\n - Path: nav.selectedIndex\n Category: nav\n Kind: number\n Description: Selected nav link index.\n\nComponent Capability:\n - Path: nav.stretchTabs\n Category: nav\n Kind: boolean\n Description: Stretch nav tabs.\n\nComponent Capability:\n - Path: nav.links\n Category: nav\n Kind: array\n Description: Nav links array.\n\nComponent Capability:\n - Path: nav.links[].id\n Category: nav\n Kind: string\n Description: Link id.\n\nComponent Capability:\n - Path: nav.links[].label\n Category: nav\n Kind: string\n Description: Link label.\n\nComponent Capability:\n - Path: nav.links[].labelClass\n Category: nav\n Kind: string\n Description: Label class (string or string[]).\n\nComponent Capability:\n - Path: nav.links[].tone\n Category: nav\n Kind: enum\n Description: Per-link emphasis tone (default, primary, accent, outlined).\n\nComponent Capability:\n - Path: nav.links[].active\n Category: nav\n Kind: boolean\n Description: Link active flag.\n\nComponent Capability:\n - Path: nav.links[].disabled\n Category: nav\n Kind: boolean\n Description: Disable link.\n\nComponent Capability:\n - Path: nav.links[].disableRipple\n Category: nav\n Kind: boolean\n Description: Disable ripple on link.\n\nComponent Capability:\n - Path: nav.links[].fitInkBarToContent\n Category: nav\n Kind: boolean\n Description: Fit ink bar to link content.\n\nComponent Capability:\n - Path: nav.links[].content\n Category: nav\n Kind: array\n Description: Dynamic field metadata list.\n\nComponent Capability:\n - Path: nav.links[].widgets\n Category: nav\n Kind: array\n Description: Widget definitions for link content.\n\nComponent Capability:\n - Path: tabs\n Category: tabs\n Kind: array\n Description: Tabs array.\n\nComponent Capability:\n - Path: tabs[].id\n Category: tabs\n Kind: string\n Description: Tab id.\n\nComponent Capability:\n - Path: tabs[].textLabel\n Category: tabs\n Kind: string\n Description: Tab label.\n\nComponent Capability:\n - Path: tabs[].labelClass\n Category: tabs\n Kind: string\n Description: Label class (string or string[]).\n\nComponent Capability:\n - Path: tabs[].bodyClass\n Category: tabs\n Kind: string\n Description: Body class (string or string[]).\n\nComponent Capability:\n - Path: tabs[].tone\n Category: tabs\n Kind: enum\n Description: Per-tab emphasis tone (default, primary, accent, outlined).\n\nComponent Capability:\n - Path: tabs[].ariaLabel\n Category: tabs\n Kind: string\n Description: aria-label for tab.\n\nComponent Capability:\n - Path: tabs[].ariaLabelledby\n Category: tabs\n Kind: string\n Description: aria-labelledby for tab.\n\nComponent Capability:\n - Path: tabs[].disabled\n Category: tabs\n Kind: boolean\n Description: Disable tab.\n\nComponent Capability:\n - Path: tabs[].content\n Category: tabs\n Kind: array\n Description: Dynamic field metadata list.",
|
|
2283
2819
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/tabs-ai-capabilities.ts",
|
|
2284
|
-
"contentHash": "
|
|
2820
|
+
"contentHash": "760d56e284bb074d49621fefab34d26088aac4d3dcdf575a320ce27be8831b83",
|
|
2285
2821
|
"sourceKind": "component_definition",
|
|
2286
2822
|
"sourceId": "praxis-tabs",
|
|
2287
2823
|
"corpusVersion": "1.0.0"
|
|
@@ -2289,9 +2825,9 @@
|
|
|
2289
2825
|
{
|
|
2290
2826
|
"chunkIndex": 2,
|
|
2291
2827
|
"chunkKind": "capabilities",
|
|
2292
|
-
"content": "Capability Note:\n - TabsMetadata drives both group and nav modes. Use nav.* when links are present.\n\nCapability Note:\n - appearance.customCss is injected into a <style> tag; avoid unsafe CSS from untrusted sources.\n\nCapability Note:\n - tabs[].content expects DynamicFieldMetadata[] and widgets[] expects WidgetDefinition[].",
|
|
2828
|
+
"content": "Component Capability:\n - Path: tabs[].widgets\n Category: tabs\n Kind: array\n Description: Widget definitions for tab content.\n\nComponent Capability:\n - Path: tabs[].isActive\n Category: tabs\n Kind: boolean\n Description: Active flag (metadata only).\n\nComponent Capability:\n - Path: tabs[].origin\n Category: tabs\n Kind: number\n Description: Origin index (metadata only).\n\nComponent Capability:\n - Path: tabs[].position\n Category: tabs\n Kind: number\n Description: Position index (metadata only).\n\nComponent Capability:\n - Path: events\n Category: events\n Kind: object\n Description: Event config (placeholder).\n\nCapability Note:\n - TabsMetadata drives both group and nav modes. Use nav.* when links are present.\n\nCapability Note:\n - appearance.customCss is injected into a <style> tag; avoid unsafe CSS from untrusted sources.\n\nCapability Note:\n - tabs[].content expects DynamicFieldMetadata[] and widgets[] expects WidgetDefinition[].",
|
|
2293
2829
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/tabs-ai-capabilities.ts",
|
|
2294
|
-
"contentHash": "
|
|
2830
|
+
"contentHash": "fb15ac1a60c3a9aaf78a8f47c9dd915c008a723570214f7ab212b326992964b0",
|
|
2295
2831
|
"sourceKind": "component_definition",
|
|
2296
2832
|
"sourceId": "praxis-tabs",
|
|
2297
2833
|
"corpusVersion": "1.0.0"
|
|
@@ -2299,9 +2835,9 @@
|
|
|
2299
2835
|
{
|
|
2300
2836
|
"chunkIndex": 3,
|
|
2301
2837
|
"chunkKind": "authoring_manifest",
|
|
2302
|
-
"content": "{\"operationId\":\"tab.add\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Add tab Effects: append-unique. Add an Overview tab before the details tab. Add another tab with id overview. Create a list in this tab; do not add a new tab.\",\"scope\":\"global\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tabs-array\",\"required\":false},\"inputContract\":{\"required\":[\"id\",\"textLabel\"],\"properties\":[\"id\",\"textLabel\",\"icon\",\"disabled\",\"visible\",\"content\",\"widgets\"],\"semanticTerms\":[\"id\",\"textLabel\",\"icon\",\"disabled\",\"visible\",\"content\",\"widgets\"]},\"effects\":[\"append-unique\"],\"affectedPaths\":[\"tabs[]\"],\"validators\":[{\"validatorId\":\"tab-id-unique\",\"level\":\"error\",\"code\":\"PTABS001\",\"description\":\"Tab ids and nav link ids must be unique within their mode.\"},{\"validatorId\":\"tabs-mode-compatible\",\"level\":\"error\",\"code\":\"PTABS011\",\"description\":\"Authoring must resolve to one primary mode: group tabs or nav links.\"},{\"validatorId\":\"tab-content-valid\",\"level\":\"error\",\"code\":\"PTABS016\",\"description\":\"Tab content must be valid DynamicFieldMetadata[] or WidgetDefinition[] and preserve nested widget identity.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-overview-tab\",\"request\":\"Add an Overview tab before the details tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Overview\"},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-duplicate-tab-id\",\"request\":\"Add another tab with id overview.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Duplicate Overview\"},\"isPositive\":false},{\"id\":\"reject-current-tab-content-as-tab-add\",\"request\":\"Create a list in this tab; do not add a new tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"list-in-this-tab\",\"textLabel\":\"List in this tab\"},\"isPositive\":false}]}",
|
|
2838
|
+
"content": "{\"operationId\":\"tab.add\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Add tab Effects: append-unique. Add an Overview tab before the details tab. Add another tab with id overview. Create a list in this tab; do not add a new tab.\",\"scope\":\"global\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tabs-array\",\"required\":false},\"inputContract\":{\"required\":[\"id\",\"textLabel\"],\"properties\":[\"id\",\"textLabel\",\"icon\",\"labelClass\",\"tone\",\"disabled\",\"visible\",\"content\",\"widgets\"],\"semanticTerms\":[\"id\",\"textLabel\",\"icon\",\"labelClass\",\"tone\",\"disabled\",\"visible\",\"content\",\"widgets\",\"default\",\"primary\",\"accent\",\"outlined\"]},\"effects\":[\"append-unique\"],\"affectedPaths\":[\"tabs[]\"],\"validators\":[{\"validatorId\":\"tab-id-unique\",\"level\":\"error\",\"code\":\"PTABS001\",\"description\":\"Tab ids and nav link ids must be unique within their mode.\"},{\"validatorId\":\"tabs-mode-compatible\",\"level\":\"error\",\"code\":\"PTABS011\",\"description\":\"Authoring must resolve to one primary mode: group tabs or nav links.\"},{\"validatorId\":\"tab-content-valid\",\"level\":\"error\",\"code\":\"PTABS016\",\"description\":\"Tab content must be valid DynamicFieldMetadata[] or WidgetDefinition[] and preserve nested widget identity.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-overview-tab\",\"request\":\"Add an Overview tab before the details tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Overview\"},\"isPositive\":true}],\"negativeExamples\":[{\"id\":\"reject-duplicate-tab-id\",\"request\":\"Add another tab with id overview.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Duplicate Overview\"},\"isPositive\":false},{\"id\":\"reject-current-tab-content-as-tab-add\",\"request\":\"Create a list in this tab; do not add a new tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"list-in-this-tab\",\"textLabel\":\"List in this tab\"},\"isPositive\":false}]}",
|
|
2303
2839
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2304
|
-
"contentHash": "
|
|
2840
|
+
"contentHash": "880f2fad9f1302f4f1789f784272c1c40488ed8460c7b631c15c393621bd8bbd",
|
|
2305
2841
|
"sourceKind": "component_definition",
|
|
2306
2842
|
"sourceId": "praxis-tabs",
|
|
2307
2843
|
"corpusVersion": "1.0.0"
|
|
@@ -2379,9 +2915,9 @@
|
|
|
2379
2915
|
{
|
|
2380
2916
|
"chunkIndex": 11,
|
|
2381
2917
|
"chunkKind": "authoring_manifest",
|
|
2382
|
-
"content": "{\"operationId\":\"layout.variant.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set tabs layout variant Effects: merge-object, merge-object, merge-object, merge-object.\",\"scope\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"required\":true},\"inputContract\":{\"required\":[
|
|
2918
|
+
"content": "{\"operationId\":\"layout.variant.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set tabs layout variant Effects: merge-object, merge-object, merge-object, merge-object. Switch the tabs header to pill variant.\",\"scope\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"mode\",\"variant\",\"density\",\"headerPosition\",\"alignTabs\",\"stretchTabs\",\"lazyLoad\"],\"semanticTerms\":[\"mode\",\"variant\",\"density\",\"headerPosition\",\"alignTabs\",\"stretchTabs\",\"lazyLoad\",\"group\",\"nav\",\"underline\",\"pill\",\"segmented\",\"compact\",\"comfortable\",\"spacious\",\"above\",\"below\",\"start\",\"center\",\"end\"]},\"effects\":[\"merge-object\",\"merge-object\",\"merge-object\",\"merge-object\"],\"affectedPaths\":[\"appearance.variant\",\"appearance.density\",\"group.headerPosition\",\"group.alignTabs\",\"group.stretchTabs\",\"nav.stretchTabs\",\"behavior.lazyLoad\"],\"validators\":[{\"validatorId\":\"tabs-mode-compatible\",\"level\":\"error\",\"code\":\"PTABS011\",\"description\":\"Authoring must resolve to one primary mode: group tabs or nav links.\"},{\"validatorId\":\"layout-values-valid\",\"level\":\"error\",\"code\":\"PTABS012\",\"description\":\"Layout values must match TabsMetadata enums and runtime bindings.\"},{\"validatorId\":\"editor-runtime-round-trip\",\"level\":\"error\",\"code\":\"PTABS013\",\"description\":\"Settings Panel, quick setup, JSON editor and runtime must preserve ids, order and selected index.\"}],\"preconditions\":[\"config-initialized\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"set-pill-variant\",\"request\":\"Switch the tabs header to pill variant.\",\"operationId\":\"layout.variant.set\",\"params\":{\"variant\":\"pill\",\"density\":\"compact\"},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
2383
2919
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2384
|
-
"contentHash": "
|
|
2920
|
+
"contentHash": "18419f741b5873abf105721df0d65eb1cca28df371f3c0a891b386fc934a7870",
|
|
2385
2921
|
"sourceKind": "component_definition",
|
|
2386
2922
|
"sourceId": "praxis-tabs",
|
|
2387
2923
|
"corpusVersion": "1.0.0"
|
|
@@ -2389,9 +2925,9 @@
|
|
|
2389
2925
|
{
|
|
2390
2926
|
"chunkIndex": 12,
|
|
2391
2927
|
"chunkKind": "authoring_manifest",
|
|
2392
|
-
"content": "{\"operationId\":\"tab.content.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set tab content Effects: compile-domain-patch. Create a list widget inside the current training tab. Add name, date and status fields to the existing onboarding tab.\",\"scope\":\"layout\",\"target\":{\"kind\":\"tabContent\",\"resolver\":\"tab-or-link-by-id\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"id\",\"textLabel\",\"icon\",\"disabled\",\"visible\",\"content\",\"widgets\"],\"semanticTerms\":[\"id\",\"textLabel\",\"icon\",\"disabled\",\"visible\",\"content\",\"widgets\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"tabs[].content\",\"tabs[].widgets\",\"nav.links[].content\",\"nav.links[].widgets\"],\"validators\":[{\"validatorId\":\"tab-or-link-exists\",\"level\":\"error\",\"code\":\"PTABS003\",\"description\":\"Target must resolve to an existing group tab or nav link.\"},{\"validatorId\":\"tab-content-valid\",\"level\":\"error\",\"code\":\"PTABS016\",\"description\":\"Tab content must be valid DynamicFieldMetadata[] or WidgetDefinition[] and preserve nested widget identity.\"},{\"validatorId\":\"widget-event-delegated\",\"level\":\"info\",\"code\":\"PTABS017\",\"description\":\"Nested widget event paths remain delegated to the tabs runtime contract and are not redefined by authoring.\"}],\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-list-to-current-tab\",\"request\":\"Create a list widget inside the current training tab.\",\"operationId\":\"tab.content.set\",\"target\":\"training\",\"params\":{\"widgets\":[{\"id\":\"training-list\",\"component\":\"praxis-list\",\"title\":\"Training list\"}]},\"isPositive\":true},{\"id\":\"add-form-fields-to-existing-tab\",\"request\":\"Add name, date and status fields to the existing onboarding tab.\",\"operationId\":\"tab.content.set\",\"target\":\"onboarding\",\"params\":{\"content\":[{\"name\":\"name\",\"label\":\"Name\",\"controlType\":\"text\"},{\"name\":\"plannedDate\",\"label\":\"Planned date\",\"controlType\":\"date\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\"}]},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
2928
|
+
"content": "{\"operationId\":\"tab.content.set\",\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operation_card\",\"semanticSummary\":\"Set tab content Effects: compile-domain-patch. Create a list widget inside the current training tab. Add name, date and status fields to the existing onboarding tab.\",\"scope\":\"layout\",\"target\":{\"kind\":\"tabContent\",\"resolver\":\"tab-or-link-by-id\",\"required\":true},\"inputContract\":{\"required\":[],\"properties\":[\"id\",\"textLabel\",\"icon\",\"labelClass\",\"tone\",\"disabled\",\"visible\",\"content\",\"widgets\"],\"semanticTerms\":[\"id\",\"textLabel\",\"icon\",\"labelClass\",\"tone\",\"disabled\",\"visible\",\"content\",\"widgets\",\"default\",\"primary\",\"accent\",\"outlined\"]},\"effects\":[\"compile-domain-patch\"],\"affectedPaths\":[\"tabs[].content\",\"tabs[].widgets\",\"nav.links[].content\",\"nav.links[].widgets\"],\"validators\":[{\"validatorId\":\"tab-or-link-exists\",\"level\":\"error\",\"code\":\"PTABS003\",\"description\":\"Target must resolve to an existing group tab or nav link.\"},{\"validatorId\":\"tab-content-valid\",\"level\":\"error\",\"code\":\"PTABS016\",\"description\":\"Tab content must be valid DynamicFieldMetadata[] or WidgetDefinition[] and preserve nested widget identity.\"},{\"validatorId\":\"widget-event-delegated\",\"level\":\"info\",\"code\":\"PTABS017\",\"description\":\"Nested widget event paths remain delegated to the tabs runtime contract and are not redefined by authoring.\"}],\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"],\"submissionImpact\":\"config-only\",\"presentationAffordances\":[],\"positiveExamples\":[{\"id\":\"add-list-to-current-tab\",\"request\":\"Create a list widget inside the current training tab.\",\"operationId\":\"tab.content.set\",\"target\":\"training\",\"params\":{\"widgets\":[{\"id\":\"training-list\",\"component\":\"praxis-list\",\"title\":\"Training list\"}]},\"isPositive\":true},{\"id\":\"add-form-fields-to-existing-tab\",\"request\":\"Add name, date and status fields to the existing onboarding tab.\",\"operationId\":\"tab.content.set\",\"target\":\"onboarding\",\"params\":{\"content\":[{\"name\":\"name\",\"label\":\"Name\",\"controlType\":\"text\"},{\"name\":\"plannedDate\",\"label\":\"Planned date\",\"controlType\":\"date\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\"}]},\"isPositive\":true}],\"negativeExamples\":[]}",
|
|
2393
2929
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2394
|
-
"contentHash": "
|
|
2930
|
+
"contentHash": "0826f4b737f5f1a73bbbefe749fcff27f1daeed210335c4b506c9d5c568eb8d5",
|
|
2395
2931
|
"sourceKind": "component_definition",
|
|
2396
2932
|
"sourceId": "praxis-tabs",
|
|
2397
2933
|
"corpusVersion": "1.0.0"
|
|
@@ -2419,9 +2955,9 @@
|
|
|
2419
2955
|
{
|
|
2420
2956
|
"chunkIndex": 15,
|
|
2421
2957
|
"chunkKind": "authoring_manifest",
|
|
2422
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"tab\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"A group-mode tab in config.tabs[].\"},{\"kind\":\"tabLabel\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"The text label of a group-mode tab.\"},{\"kind\":\"tabIcon\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"Icon metadata rendered in a group tab label.\"},{\"kind\":\"tabContent\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Dynamic fields or widgets hosted by a tab or nav link.\"},{\"kind\":\"activeTab\",\"resolver\":\"tab-index-or-id\",\"description\":\"Selected tab or nav link index.\"},{\"kind\":\"visibility\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Runtime visibility flag for a group tab or nav link.\"},{\"kind\":\"disabledState\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Disabled state of a tab or nav link.\"},{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"description\":\"Group/nav mode, header position, density, stretch and behavior settings.\"},{\"kind\":\"renderBody\",\"resolver\":\"tabs-render-body-config\",\"description\":\"Config paths group.renderBody and nav.renderBody that let the host own external body content.\"}]}",
|
|
2958
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"editableTargets\",\"editableTargets\":[{\"kind\":\"tab\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"A group-mode tab in config.tabs[].\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"tabLabel\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"The text label of a group-mode tab.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"tabIcon\",\"resolver\":\"tab-by-id-or-label\",\"description\":\"Icon metadata rendered in a group tab label.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"tabContent\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Dynamic fields or widgets hosted by a tab or nav link.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"activeTab\",\"resolver\":\"tab-index-or-id\",\"description\":\"Selected tab or nav link index.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"visibility\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Runtime visibility flag for a group tab or nav link.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"disabledState\",\"resolver\":\"tab-or-link-by-id\",\"description\":\"Disabled state of a tab or nav link.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"description\":\"Group/nav mode, visual variant, header position, density, stretch and behavior settings.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"$\"]}},{\"kind\":\"renderBody\",\"resolver\":\"tabs-render-body-config\",\"description\":\"Config paths group.renderBody and nav.renderBody that let the host own external body content.\",\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"group\",\"nav\",\"$\"]}}]}",
|
|
2423
2959
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2424
|
-
"contentHash": "
|
|
2960
|
+
"contentHash": "2e2b3b2a9e019a9fa0b346da0f0eb0c1f4dd4142d9a30023ec9db33fb59577d9",
|
|
2425
2961
|
"sourceKind": "component_definition",
|
|
2426
2962
|
"sourceId": "praxis-tabs",
|
|
2427
2963
|
"corpusVersion": "1.0.0"
|
|
@@ -2429,9 +2965,9 @@
|
|
|
2429
2965
|
{
|
|
2430
2966
|
"chunkIndex": 16,
|
|
2431
2967
|
"chunkKind": "authoring_manifest",
|
|
2432
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"tab.add\",\"title\":\"Add tab\",\"scope\":\"global\",\"targetKind\":\"tab\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tabs-array\",\"ambiguityPolicy\":\"fail\",\"required\":false},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"textLabel\"],\"properties\":{\"id\":{\"type\":\"string\"},\"textLabel\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"disabled\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\",\"default\":true},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"tabs[]\",\"key\":\"id\"}],\"validators\":[\"tab-id-unique\",\"tabs-mode-compatible\",\"tab-content-valid\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"tabs[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"tab.remove\",\"title\":\"Remove tab\",\"scope\":\"layout\",\"targetKind\":\"tab\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementActiveTabId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.remove-tab-and-reselect\",\"handlerContract\":{\"reads\":[\"tabs[]\",\"group.selectedIndex\"],\"writes\":[\"tabs[]\",\"group.selectedIndex\"],\"identityKeys\":[\"tabs[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementActiveTabId\":{\"type\":\"string\"}}},\"failureModes\":[\"target-tab-missing\",\"replacement-tab-missing\",\"confirmation-missing\"],\"description\":\"Removes the target tab by stable id and reselects a safe replacement when the active/default tab is removed.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"tab-exists\",\"active-tab-removal-safe\",\"tab-content-removal-confirmed\"],\"affectedPaths\":[\"tabs[]\",\"group.selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-exists\",\"confirmation-collected\"]},{\"operationId\":\"tab.label.set\",\"title\":\"Set tab label\",\"scope\":\"layout\",\"targetKind\":\"tabLabel\",\"target\":{\"kind\":\"tabLabel\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true
|
|
2968
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"tab.add\",\"title\":\"Add tab\",\"scope\":\"global\",\"targetKind\":\"tab\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tabs-array\",\"ambiguityPolicy\":\"fail\",\"required\":false,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"tabs[]\",\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"id\",\"textLabel\"],\"properties\":{\"id\":{\"type\":\"string\"},\"textLabel\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"labelClass\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"tone\":{\"enum\":[\"default\",\"primary\",\"accent\",\"outlined\"]},\"disabled\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\",\"default\":true},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"append-unique\",\"path\":\"tabs[]\",\"key\":\"id\"}],\"validators\":[\"tab-id-unique\",\"tabs-mode-compatible\",\"tab-content-valid\"],\"destructive\":false,\"requiresConfirmation\":false,\"affectedPaths\":[\"tabs[]\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"tab.remove\",\"title\":\"Remove tab\",\"scope\":\"layout\",\"targetKind\":\"tab\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementActiveTabId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.remove-tab-and-reselect\",\"selectionReconciliation\":{\"selectedIndexPath\":\"group.selectedIndex\",\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"},\"handlerContract\":{\"reads\":[\"tabs[]\",\"group.selectedIndex\"],\"writes\":[\"tabs[]\",\"group.selectedIndex\"],\"identityKeys\":[\"tabs[].id\"],\"inputSchema\":{\"type\":\"object\",\"properties\":{\"replacementActiveTabId\":{\"type\":\"string\"}}},\"failureModes\":[\"target-tab-missing\",\"replacement-tab-missing\",\"confirmation-missing\"],\"description\":\"Removes the target tab by stable id and reselects a safe replacement when the active/default tab is removed.\"}}],\"destructive\":true,\"requiresConfirmation\":true,\"validators\":[\"tab-exists\",\"active-tab-removal-safe\",\"tab-content-removal-confirmed\"],\"affectedPaths\":[\"tabs[]\",\"group.selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-exists\",\"confirmation-collected\"]},{\"operationId\":\"tab.label.set\",\"title\":\"Set tab label\",\"scope\":\"layout\",\"targetKind\":\"tabLabel\",\"target\":{\"kind\":\"tabLabel\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"textLabel\"],\"properties\":{\"textLabel\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"tabs[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-exists\",\"tab-label-valid\"],\"affectedPaths\":[\"tabs[].textLabel\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-exists\"]},{\"operationId\":\"tab.icon.set\",\"title\":\"Set tab icon\",\"scope\":\"layout\",\"targetKind\":\"tabIcon\",\"target\":{\"kind\":\"tabIcon\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"icon\"],\"properties\":{\"icon\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"merge-by-key\",\"path\":\"tabs[]\",\"key\":\"id\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-exists\",\"tab-icon-valid\"],\"affectedPaths\":[\"tabs[].icon\"],\"submissionImpact\":\"visual-only\",\"preconditions\":[\"config-initialized\",\"target-tab-exists\"]},{\"operationId\":\"tab.order.set\",\"title\":\"Reorder tabs\",\"scope\":\"layout\",\"targetKind\":\"tab\",\"target\":{\"kind\":\"tab\",\"resolver\":\"tab-by-id-or-label\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeTabId\"],\"properties\":{\"beforeTabId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.reorder-tab-and-preserve-selection\",\"selectionReconciliation\":{\"selectedIndexPath\":\"group.selectedIndex\",\"itemKeyField\":\"id\",\"onRemovedActive\":\"clamp\"},\"handlerContract\":{\"reads\":[\"tabs[]\",\"group.selectedIndex\"],\"writes\":[\"tabs[]\",\"group.selectedIndex\"],\"identityKeys\":[\"tabs[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"beforeTabId\"],\"properties\":{\"beforeTabId\":{\"type\":\"string\"}}},\"failureModes\":[\"target-tab-missing\",\"before-tab-missing\",\"unstable-tab-id\"],\"description\":\"Reorders tabs by stable id and remaps group.selectedIndex when the selected tab crosses positions.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-exists\",\"tab-order-deterministic\"],\"affectedPaths\":[\"tabs[]\",\"group.selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-exists\"]},{\"operationId\":\"tab.disabled.set\",\"title\":\"Set tab disabled state\",\"scope\":\"interaction\",\"targetKind\":\"disabledState\",\"target\":{\"kind\":\"disabledState\",\"resolver\":\"tab-or-link-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"disabled\"],\"properties\":{\"disabled\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.set-tab-or-link-disabled\",\"handlerContract\":{\"reads\":[\"tabs[]\",\"nav.links[]\",\"group.selectedIndex\",\"nav.selectedIndex\"],\"writes\":[\"tabs[].disabled\",\"nav.links[].disabled\"],\"identityKeys\":[\"tabs[].id\",\"nav.links[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"disabled\"],\"properties\":{\"disabled\":{\"type\":\"boolean\"}}},\"failureModes\":[\"target-tab-or-link-missing\",\"ambiguous-target\",\"active-item-disabled-without-reselection\"],\"description\":\"Sets disabled on the resolved group tab or nav link without guessing between modes.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-or-link-exists\",\"active-tab-disabled-safe\"],\"affectedPaths\":[\"tabs[].disabled\",\"nav.links[].disabled\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"]}]}",
|
|
2433
2969
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2434
|
-
"contentHash": "
|
|
2970
|
+
"contentHash": "21c9b9f39bf5f9336412e3811633c7df9b58c204726fe009257ffa493602d1d3",
|
|
2435
2971
|
"sourceKind": "component_definition",
|
|
2436
2972
|
"sourceId": "praxis-tabs",
|
|
2437
2973
|
"corpusVersion": "1.0.0"
|
|
@@ -2439,9 +2975,9 @@
|
|
|
2439
2975
|
{
|
|
2440
2976
|
"chunkIndex": 17,
|
|
2441
2977
|
"chunkKind": "authoring_manifest",
|
|
2442
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"layout.variant.set\",\"title\":\"Set tabs layout variant\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"ambiguityPolicy\":\"fail\",\"required\":true
|
|
2978
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"operations\",\"operations\":[{\"operationId\":\"tab.visible.set\",\"title\":\"Set tab visibility\",\"scope\":\"interaction\",\"targetKind\":\"visibility\",\"target\":{\"kind\":\"visibility\",\"resolver\":\"tab-or-link-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"visible\"],\"properties\":{\"visible\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.set-tab-or-link-visible\",\"handlerContract\":{\"reads\":[\"tabs[]\",\"nav.links[]\",\"group.selectedIndex\",\"nav.selectedIndex\"],\"writes\":[\"tabs[].visible\",\"nav.links[].visible\"],\"identityKeys\":[\"tabs[].id\",\"nav.links[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"visible\"],\"properties\":{\"visible\":{\"type\":\"boolean\"}}},\"failureModes\":[\"target-tab-or-link-missing\",\"ambiguous-target\",\"active-item-hidden-without-reselection\"],\"description\":\"Sets visible on the resolved group tab or nav link and preserves deterministic visible-index mapping.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-or-link-exists\",\"active-tab-visibility-safe\"],\"affectedPaths\":[\"tabs[].visible\",\"nav.links[].visible\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"]},{\"operationId\":\"tab.active.set\",\"title\":\"Set active tab\",\"scope\":\"interaction\",\"targetKind\":\"activeTab\",\"target\":{\"kind\":\"activeTab\",\"resolver\":\"tab-index-or-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"required\":[\"selectedIndex\"],\"properties\":{\"selectedIndex\":{\"type\":\"number\"},\"tabId\":{\"type\":\"string\"}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.set-active-item\",\"handlerContract\":{\"reads\":[\"tabs[]\",\"nav.links[]\",\"group.selectedIndex\",\"nav.selectedIndex\"],\"writes\":[\"group.selectedIndex\",\"nav.selectedIndex\"],\"identityKeys\":[\"tabs[].id\",\"nav.links[].id\"],\"inputSchema\":{\"type\":\"object\",\"required\":[\"selectedIndex\"],\"properties\":{\"selectedIndex\":{\"type\":\"number\"},\"tabId\":{\"type\":\"string\"}}},\"failureModes\":[\"target-tab-or-link-missing\",\"selected-index-out-of-range\",\"hidden-or-disabled-target\"],\"description\":\"Sets the active index for the current primary mode using either selectedIndex or a resolved tab/link id.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"active-tab-exists\",\"selected-index-in-range\"],\"affectedPaths\":[\"group.selectedIndex\",\"nav.selectedIndex\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"]},{\"operationId\":\"layout.variant.set\",\"title\":\"Set tabs layout variant\",\"scope\":\"layout\",\"targetKind\":\"layout\",\"target\":{\"kind\":\"layout\",\"resolver\":\"tabs-layout-config\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"root-path\",\"paths\":[\"$\"]}},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"mode\":{\"enum\":[\"group\",\"nav\"]},\"variant\":{\"enum\":[\"underline\",\"pill\",\"segmented\"]},\"density\":{\"enum\":[\"compact\",\"comfortable\",\"spacious\"]},\"headerPosition\":{\"enum\":[\"above\",\"below\"]},\"alignTabs\":{\"enum\":[\"start\",\"center\",\"end\"]},\"stretchTabs\":{\"type\":\"boolean\"},\"lazyLoad\":{\"type\":\"boolean\"}}},\"effects\":[{\"kind\":\"merge-object\",\"path\":\"appearance\"},{\"kind\":\"merge-object\",\"path\":\"group\"},{\"kind\":\"merge-object\",\"path\":\"nav\"},{\"kind\":\"merge-object\",\"path\":\"behavior\"}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tabs-mode-compatible\",\"layout-values-valid\",\"editor-runtime-round-trip\"],\"affectedPaths\":[\"appearance.variant\",\"appearance.density\",\"group.headerPosition\",\"group.alignTabs\",\"group.stretchTabs\",\"nav.stretchTabs\",\"behavior.lazyLoad\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\"]},{\"operationId\":\"tab.content.set\",\"title\":\"Set tab content\",\"scope\":\"layout\",\"targetKind\":\"tabContent\",\"target\":{\"kind\":\"tabContent\",\"resolver\":\"tab-or-link-by-id\",\"ambiguityPolicy\":\"fail\",\"required\":true,\"resolutionSpec\":{\"allowIndex\":false,\"strategy\":\"array-match\",\"paths\":[\"tabs[]\",\"nav.links[]\"],\"matchFields\":[\"id\",\"label\",\"textLabel\",\"title\"],\"inputMatchFields\":[\"tabId\",\"linkId\",\"id\",\"textLabel\",\"label\"]}},\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"textLabel\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"labelClass\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"tone\":{\"enum\":[\"default\",\"primary\",\"accent\",\"outlined\"]},\"disabled\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"effects\":[{\"kind\":\"compile-domain-patch\",\"handler\":\"tabs.set-tab-or-link-content\",\"handlerContract\":{\"reads\":[\"tabs[]\",\"nav.links[]\"],\"writes\":[\"tabs[].content\",\"tabs[].widgets\",\"nav.links[].content\",\"nav.links[].widgets\"],\"identityKeys\":[\"tabs[].id\",\"nav.links[].id\"],\"inputSchema\":{\"type\":\"object\",\"minProperties\":1,\"properties\":{\"id\":{\"type\":\"string\"},\"textLabel\":{\"type\":\"string\"},\"icon\":{\"type\":\"string\"},\"labelClass\":{\"anyOf\":[{\"type\":\"string\"},{\"type\":\"array\",\"items\":{\"type\":\"string\"}}]},\"tone\":{\"enum\":[\"default\",\"primary\",\"accent\",\"outlined\"]},\"disabled\":{\"type\":\"boolean\"},\"visible\":{\"type\":\"boolean\"},\"content\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}},\"widgets\":{\"type\":\"array\",\"items\":{\"type\":\"object\"}}}},\"failureModes\":[\"target-tab-or-link-missing\",\"invalid-dynamic-field-content\",\"invalid-widget-definition\"],\"description\":\"Updates content/widgets only on the resolved group tab or nav link while preserving nested widget identity.\"}}],\"destructive\":false,\"requiresConfirmation\":false,\"validators\":[\"tab-or-link-exists\",\"tab-content-valid\",\"widget-event-delegated\"],\"affectedPaths\":[\"tabs[].content\",\"tabs[].widgets\",\"nav.links[].content\",\"nav.links[].widgets\"],\"submissionImpact\":\"config-only\",\"preconditions\":[\"config-initialized\",\"target-tab-or-link-exists\"]}]}",
|
|
2443
2979
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2444
|
-
"contentHash": "
|
|
2980
|
+
"contentHash": "c74151f8078d255552f8842a96605f8e7e9825bdd68bc92c752852dd974214af",
|
|
2445
2981
|
"sourceKind": "component_definition",
|
|
2446
2982
|
"sourceId": "praxis-tabs",
|
|
2447
2983
|
"corpusVersion": "1.0.0"
|
|
@@ -2469,9 +3005,9 @@
|
|
|
2469
3005
|
{
|
|
2470
3006
|
"chunkIndex": 20,
|
|
2471
3007
|
"chunkKind": "authoring_manifest",
|
|
2472
|
-
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"add-overview-tab\",\"request\":\"Add an Overview tab before the details tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Overview\"},\"isPositive\":true},{\"id\":\"add-list-to-current-tab\",\"request\":\"Create a list widget inside the current training tab.\",\"operationId\":\"tab.content.set\",\"target\":\"training\",\"params\":{\"widgets\":[{\"id\":\"training-list\",\"component\":\"praxis-list\",\"title\":\"Training list\"}]},\"isPositive\":true},{\"id\":\"add-form-fields-to-existing-tab\",\"request\":\"Add name, date and status fields to the existing onboarding tab.\",\"operationId\":\"tab.content.set\",\"target\":\"onboarding\",\"params\":{\"content\":[{\"name\":\"name\",\"label\":\"Name\",\"controlType\":\"text\"},{\"name\":\"plannedDate\",\"label\":\"Planned date\",\"controlType\":\"date\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\"}]},\"isPositive\":true},{\"id\":\"rename-tab\",\"request\":\"Rename the details tab to Account Details.\",\"operationId\":\"tab.label.set\",\"target\":\"details\",\"params\":{\"textLabel\":\"Account Details\"},\"isPositive\":true},{\"id\":\"reorder-tabs\",\"request\":\"Move billing before overview.\",\"operationId\":\"tab.order.set\",\"target\":\"billing\",\"params\":{\"beforeTabId\":\"overview\"},\"isPositive\":true},{\"id\":\"disable-tab\",\"request\":\"Disable the audit tab until the user has permission.\",\"operationId\":\"tab.disabled.set\",\"target\":\"audit\",\"params\":{\"disabled\":true},\"isPositive\":true},{\"id\":\"activate-tab\",\"request\":\"Open the documents tab by default.\",\"operationId\":\"tab.active.set\",\"target\":\"documents\",\"params\":{\"tabId\":\"documents\",\"selectedIndex\":2},\"isPositive\":true},{\"id\":\"reject-duplicate-tab-id\",\"request\":\"Add another tab with id overview.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Duplicate Overview\"},\"isPositive\":false},{\"id\":\"reject-current-tab-content-as-tab-add\",\"request\":\"Create a list in this tab; do not add a new tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"list-in-this-tab\",\"textLabel\":\"List in this tab\"},\"isPositive\":false},{\"id\":\"confirm-remove-content-tab\",\"request\":\"Remove the details tab that contains widgets.\",\"operationId\":\"tab.remove\",\"target\":\"details\",\"params\":{\"replacementActiveTabId\":\"overview\"},\"isPositive\":true}]}",
|
|
3008
|
+
"content": "{\"schemaVersion\":\"1.0.0\",\"manifestVersion\":\"1.0.0\",\"componentId\":\"praxis-tabs\",\"ownerPackage\":\"@praxisui/tabs\",\"configSchemaId\":\"TabsMetadata\",\"chunkSection\":\"examples\",\"examples\":[{\"id\":\"add-overview-tab\",\"request\":\"Add an Overview tab before the details tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Overview\"},\"isPositive\":true},{\"id\":\"add-list-to-current-tab\",\"request\":\"Create a list widget inside the current training tab.\",\"operationId\":\"tab.content.set\",\"target\":\"training\",\"params\":{\"widgets\":[{\"id\":\"training-list\",\"component\":\"praxis-list\",\"title\":\"Training list\"}]},\"isPositive\":true},{\"id\":\"add-form-fields-to-existing-tab\",\"request\":\"Add name, date and status fields to the existing onboarding tab.\",\"operationId\":\"tab.content.set\",\"target\":\"onboarding\",\"params\":{\"content\":[{\"name\":\"name\",\"label\":\"Name\",\"controlType\":\"text\"},{\"name\":\"plannedDate\",\"label\":\"Planned date\",\"controlType\":\"date\"},{\"name\":\"status\",\"label\":\"Status\",\"controlType\":\"select\"}]},\"isPositive\":true},{\"id\":\"rename-tab\",\"request\":\"Rename the details tab to Account Details.\",\"operationId\":\"tab.label.set\",\"target\":\"details\",\"params\":{\"textLabel\":\"Account Details\"},\"isPositive\":true},{\"id\":\"reorder-tabs\",\"request\":\"Move billing before overview.\",\"operationId\":\"tab.order.set\",\"target\":\"billing\",\"params\":{\"beforeTabId\":\"overview\"},\"isPositive\":true},{\"id\":\"disable-tab\",\"request\":\"Disable the audit tab until the user has permission.\",\"operationId\":\"tab.disabled.set\",\"target\":\"audit\",\"params\":{\"disabled\":true},\"isPositive\":true},{\"id\":\"activate-tab\",\"request\":\"Open the documents tab by default.\",\"operationId\":\"tab.active.set\",\"target\":\"documents\",\"params\":{\"tabId\":\"documents\",\"selectedIndex\":2},\"isPositive\":true},{\"id\":\"reject-duplicate-tab-id\",\"request\":\"Add another tab with id overview.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"overview\",\"textLabel\":\"Duplicate Overview\"},\"isPositive\":false},{\"id\":\"reject-current-tab-content-as-tab-add\",\"request\":\"Create a list in this tab; do not add a new tab.\",\"operationId\":\"tab.add\",\"params\":{\"id\":\"list-in-this-tab\",\"textLabel\":\"List in this tab\"},\"isPositive\":false},{\"id\":\"confirm-remove-content-tab\",\"request\":\"Remove the details tab that contains widgets.\",\"operationId\":\"tab.remove\",\"target\":\"details\",\"params\":{\"replacementActiveTabId\":\"overview\"},\"isPositive\":true},{\"id\":\"set-pill-variant\",\"request\":\"Switch the tabs header to pill variant.\",\"operationId\":\"layout.variant.set\",\"params\":{\"variant\":\"pill\",\"density\":\"compact\"},\"isPositive\":true}]}",
|
|
2473
3009
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/praxis-tabs-authoring-manifest.ts",
|
|
2474
|
-
"contentHash": "
|
|
3010
|
+
"contentHash": "785e80d65c8081bb0639ff9d0af7bc758c07ecd2b92ea528f14cb462f22307b4",
|
|
2475
3011
|
"sourceKind": "component_definition",
|
|
2476
3012
|
"sourceId": "praxis-tabs",
|
|
2477
3013
|
"corpusVersion": "1.0.0"
|
|
@@ -2479,9 +3015,9 @@
|
|
|
2479
3015
|
{
|
|
2480
3016
|
"chunkIndex": 21,
|
|
2481
3017
|
"chunkKind": "context_pack",
|
|
2482
|
-
"content": "{\"componentContext\":{\"version\":\"v1\",\"optionsByPath\":{\"appearance.density\":{\"mode\":\"enum\",\"options\":[{\"value\":\"compact\",\"label\":\"Compact\"},{\"value\":\"comfortable\",\"label\":\"Comfortable\"},{\"value\":\"spacious\",\"label\":\"Spacious\"}]},\"group.alignTabs\":{\"mode\":\"enum\",\"options\":[{\"value\":\"start\",\"label\":\"Start\"},{\"value\":\"center\",\"label\":\"Center\"},{\"value\":\"end\",\"label\":\"End\"}]},\"group.headerPosition\":{\"mode\":\"enum\",\"options\":[{\"value\":\"above\",\"label\":\"Above\"},{\"value\":\"below\",\"label\":\"Below\"}]},\"group.color\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"group.backgroundColor\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"nav.color\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"nav.backgroundColor\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]}},\"actionCatalog\":[{\"id\":\"appearance.density.set\",\"intentExamples\":[\"density\",\"compact\",\"spacious\"],\"patchTemplate\":{\"appearance\":{\"density\":\"{{value}}\"}}},{\"id\":\"group.alignTabs.set\",\"intentExamples\":[\"align tabs\",\"tab alignment\",\"align header\"],\"patchTemplate\":{\"group\":{\"alignTabs\":\"{{value}}\"}}},{\"id\":\"group.headerPosition.set\",\"intentExamples\":[\"header position\",\"tabs position\"],\"patchTemplate\":{\"group\":{\"headerPosition\":\"{{value}}\"}}},{\"id\":\"group.selectedIndex.set\",\"intentExamples\":[\"select tab\",\"active tab\",\"selected index\"],\"patchTemplate\":{\"group\":{\"selectedIndex\":\"{{value}}\"}}},{\"id\":\"nav.selectedIndex.set\",\"intentExamples\":[\"select link\",\"active link\",\"selected nav\"],\"patchTemplate\":{\"nav\":{\"selectedIndex\":\"{{value}}\"}}},{\"id\":\"behavior.lazyLoad.enable\",\"intentExamples\":[\"lazy load\",\"load on demand\",\"lazy\"],\"patchTemplate\":{\"behavior\":{\"lazyLoad\":true}}},{\"id\":\"behavior.lazyLoad.disable\",\"intentExamples\":[\"no lazy\",\"eager load\"],\"patchTemplate\":{\"behavior\":{\"lazyLoad\":false}}},{\"id\":\"group.stretchTabs.enable\",\"intentExamples\":[\"stretch tabs\",\"full width tabs\"],\"patchTemplate\":{\"group\":{\"stretchTabs\":true}}},{\"id\":\"group.stretchTabs.disable\",\"intentExamples\":[\"no stretch tabs\",\"compact tabs\"],\"patchTemplate\":{\"group\":{\"stretchTabs\":false}}},{\"id\":\"group.disablePagination.enable\",\"intentExamples\":[\"disable pagination\",\"no pagination\"],\"patchTemplate\":{\"group\":{\"disablePagination\":true}}},{\"id\":\"group.disablePagination.disable\",\"intentExamples\":[\"enable pagination\",\"allow pagination\"],\"patchTemplate\":{\"group\":{\"disablePagination\":false}}},{\"id\":\"tab.add\",\"intentExamples\":[\"add tab\",\"new tab\",\"create tab\",\"nova aba\",\"adicionar aba\",\"criar aba\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"textLabel\":\"{{value}}\"}]}},{\"id\":\"tab.content.set\",\"intentExamples\":[\"tab content\",\"current tab content\",\"add widget to tab\",\"list in current tab\",\"inside tab\",\"conteudo da aba\",\"nesta aba\",\"aba atual\",\"componente dentro da aba\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"content\":\"{{params.content}}\",\"widgets\":\"{{params.widgets}}\"}]}},{\"id\":\"tab.label.set\",\"intentExamples\":[\"rename tab\",\"tab label\",\"tab title\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"textLabel\":\"{{value}}\"}]}},{\"id\":\"tab.disable\",\"intentExamples\":[\"disable tab\",\"lock tab\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"disabled\":true}]}},{\"id\":\"tab.enable\",\"intentExamples\":[\"enable tab\",\"unlock tab\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"disabled\":false}]}},{\"id\":\"nav.link.add\",\"intentExamples\":[\"add link\",\"add nav link\",\"new link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"label\":\"{{value}}\"}]}}},{\"id\":\"nav.link.label.set\",\"intentExamples\":[\"rename link\",\"link label\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"label\":\"{{value}}\"}]}}},{\"id\":\"nav.link.disable\",\"intentExamples\":[\"disable link\",\"lock link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"disabled\":true}]}}},{\"id\":\"nav.link.enable\",\"intentExamples\":[\"enable link\",\"unlock link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"disabled\":false}]}}}],\"fieldResolvers\":{\"tabs[]\":[\"id\",\"textLabel\"],\"nav.links[]\":[\"id\",\"label\"]},\"hints\":[\"Use tabs[].id or tabs[].textLabel as merge keys; avoid array indexes.\",\"When using nav mode, prefer nav.links[]; when using group mode, prefer tabs[].\",\"Selected index expects a zero-based number.\",\"DOC: Widget purpose: tabs or nav links with dynamic content.\",\"DOC: Host inputs: tabsId (required), config (optional), and configPersistenceStrategy. Use input-first for governed previews that must render the explicit nested widget config.\",\"DOC: Provide either tabs[] (group mode) or nav.links[] (nav mode).\",\"DOC: Each tab/link should define a label (tabs[].textLabel or nav.links[].label).\"]}}",
|
|
3018
|
+
"content": "{\"componentContext\":{\"version\":\"v1\",\"optionsByPath\":{\"appearance.variant\":{\"mode\":\"enum\",\"options\":[{\"value\":\"underline\",\"label\":\"Underline\"},{\"value\":\"pill\",\"label\":\"Pill\"},{\"value\":\"segmented\",\"label\":\"Segmented\"}]},\"appearance.density\":{\"mode\":\"enum\",\"options\":[{\"value\":\"compact\",\"label\":\"Compact\"},{\"value\":\"comfortable\",\"label\":\"Comfortable\"},{\"value\":\"spacious\",\"label\":\"Spacious\"}]},\"group.alignTabs\":{\"mode\":\"enum\",\"options\":[{\"value\":\"start\",\"label\":\"Start\"},{\"value\":\"center\",\"label\":\"Center\"},{\"value\":\"end\",\"label\":\"End\"}]},\"group.headerPosition\":{\"mode\":\"enum\",\"options\":[{\"value\":\"above\",\"label\":\"Above\"},{\"value\":\"below\",\"label\":\"Below\"}]},\"group.color\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"group.backgroundColor\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"nav.color\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"nav.backgroundColor\":{\"mode\":\"enum\",\"options\":[{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"warn\",\"label\":\"Warn\"}]},\"tabs[].tone\":{\"mode\":\"enum\",\"options\":[{\"value\":\"default\",\"label\":\"Default\"},{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"outlined\",\"label\":\"Outlined\"}]},\"nav.links[].tone\":{\"mode\":\"enum\",\"options\":[{\"value\":\"default\",\"label\":\"Default\"},{\"value\":\"primary\",\"label\":\"Primary\"},{\"value\":\"accent\",\"label\":\"Accent\"},{\"value\":\"outlined\",\"label\":\"Outlined\"}]}},\"actionCatalog\":[{\"id\":\"appearance.variant.set\",\"intentExamples\":[\"pill tabs\",\"segmented tabs\",\"tab variant\",\"abas em pilula\",\"variante de abas\"],\"patchTemplate\":{\"appearance\":{\"variant\":\"{{value}}\"}}},{\"id\":\"appearance.density.set\",\"intentExamples\":[\"density\",\"compact\",\"spacious\"],\"patchTemplate\":{\"appearance\":{\"density\":\"{{value}}\"}}},{\"id\":\"group.alignTabs.set\",\"intentExamples\":[\"align tabs\",\"tab alignment\",\"align header\"],\"patchTemplate\":{\"group\":{\"alignTabs\":\"{{value}}\"}}},{\"id\":\"group.headerPosition.set\",\"intentExamples\":[\"header position\",\"tabs position\"],\"patchTemplate\":{\"group\":{\"headerPosition\":\"{{value}}\"}}},{\"id\":\"group.selectedIndex.set\",\"intentExamples\":[\"select tab\",\"active tab\",\"selected index\"],\"patchTemplate\":{\"group\":{\"selectedIndex\":\"{{value}}\"}}},{\"id\":\"nav.selectedIndex.set\",\"intentExamples\":[\"select link\",\"active link\",\"selected nav\"],\"patchTemplate\":{\"nav\":{\"selectedIndex\":\"{{value}}\"}}},{\"id\":\"behavior.lazyLoad.enable\",\"intentExamples\":[\"lazy load\",\"load on demand\",\"lazy\"],\"patchTemplate\":{\"behavior\":{\"lazyLoad\":true}}},{\"id\":\"behavior.lazyLoad.disable\",\"intentExamples\":[\"no lazy\",\"eager load\"],\"patchTemplate\":{\"behavior\":{\"lazyLoad\":false}}},{\"id\":\"group.stretchTabs.enable\",\"intentExamples\":[\"stretch tabs\",\"full width tabs\"],\"patchTemplate\":{\"group\":{\"stretchTabs\":true}}},{\"id\":\"group.stretchTabs.disable\",\"intentExamples\":[\"no stretch tabs\",\"compact tabs\"],\"patchTemplate\":{\"group\":{\"stretchTabs\":false}}},{\"id\":\"group.disablePagination.enable\",\"intentExamples\":[\"disable pagination\",\"no pagination\"],\"patchTemplate\":{\"group\":{\"disablePagination\":true}}},{\"id\":\"group.disablePagination.disable\",\"intentExamples\":[\"enable pagination\",\"allow pagination\"],\"patchTemplate\":{\"group\":{\"disablePagination\":false}}},{\"id\":\"tab.add\",\"intentExamples\":[\"add tab\",\"new tab\",\"create tab\",\"nova aba\",\"adicionar aba\",\"criar aba\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"textLabel\":\"{{value}}\"}]}},{\"id\":\"tab.content.set\",\"intentExamples\":[\"tab content\",\"current tab content\",\"add widget to tab\",\"list in current tab\",\"inside tab\",\"conteudo da aba\",\"nesta aba\",\"aba atual\",\"componente dentro da aba\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"content\":\"{{params.content}}\",\"widgets\":\"{{params.widgets}}\"}]}},{\"id\":\"tab.label.set\",\"intentExamples\":[\"rename tab\",\"tab label\",\"tab title\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"textLabel\":\"{{value}}\"}]}},{\"id\":\"tab.disable\",\"intentExamples\":[\"disable tab\",\"lock tab\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"disabled\":true}]}},{\"id\":\"tab.enable\",\"intentExamples\":[\"enable tab\",\"unlock tab\"],\"patchTemplate\":{\"tabs\":[{\"id\":\"{{target}}\",\"disabled\":false}]}},{\"id\":\"nav.link.add\",\"intentExamples\":[\"add link\",\"add nav link\",\"new link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"label\":\"{{value}}\"}]}}},{\"id\":\"nav.link.label.set\",\"intentExamples\":[\"rename link\",\"link label\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"label\":\"{{value}}\"}]}}},{\"id\":\"nav.link.disable\",\"intentExamples\":[\"disable link\",\"lock link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"disabled\":true}]}}},{\"id\":\"nav.link.enable\",\"intentExamples\":[\"enable link\",\"unlock link\"],\"patchTemplate\":{\"nav\":{\"links\":[{\"id\":\"{{target}}\",\"disabled\":false}]}}}],\"fieldResolvers\":{\"tabs[]\":[\"id\",\"textLabel\"],\"nav.links[]\":[\"id\",\"label\"]},\"hints\":[\"Use tabs[].id or tabs[].textLabel as merge keys; avoid array indexes.\",\"When using nav mode, prefer nav.links[]; when using group mode, prefer tabs[].\",\"Selected index expects a zero-based number.\",\"DOC: Widget purpose: tabs or nav links with dynamic content.\",\"DOC: Host inputs: tabsId (required), config (optional), and configPersistenceStrategy. Use input-first for governed previews that must render the explicit nested widget config.\",\"DOC: Provide either tabs[] (group mode) or nav.links[] (nav mode).\",\"DOC: Each tab/link should define a label (tabs[].textLabel or nav.links[].label).\"]}}",
|
|
2483
3019
|
"sourcePointer": "projects/praxis-tabs/src/lib/ai/tabs-context-pack.ts",
|
|
2484
|
-
"contentHash": "
|
|
3020
|
+
"contentHash": "a18220169125e695bd6b939e030d330a7ba8a1a708124b03cfcdf40061fdc577",
|
|
2485
3021
|
"sourceKind": "component_definition",
|
|
2486
3022
|
"sourceId": "praxis-tabs",
|
|
2487
3023
|
"corpusVersion": "1.0.0"
|
|
@@ -2489,9 +3025,9 @@
|
|
|
2489
3025
|
{
|
|
2490
3026
|
"chunkIndex": 22,
|
|
2491
3027
|
"chunkKind": "recipe",
|
|
2492
|
-
"content": "{\"_comment\":\"Receita para configuração de Abas (Praxis Tabs).\",\"templateMeta\":{\"registryKey\":\"praxis-tabs\",\"variantId\":\"base\",\"useWhen\":\"Base tabs configuration.\",\"examplePrompts\":[\"create a tabs layout\",\"
|
|
3028
|
+
"content": "{\"_comment\":\"Receita canônica para configuração de Abas (Praxis Tabs).\",\"templateMeta\":{\"registryKey\":\"praxis-tabs\",\"variantId\":\"base\",\"useWhen\":\"Base tabs configuration with group, pill variant, per-tab tone, lazy loading, and nested widgets.\",\"examplePrompts\":[\"create a tabs layout\",\"configure pill tabs with per-tab tone and lazy widgets\"]},\"config\":{\"group\":{\"selectedIndex\":0,\"dynamicHeight\":true,\"stretchTabs\":false,\"headerPosition\":\"above\",\"alignTabs\":\"start\"},\"behavior\":{\"lazyLoad\":true,\"reorderable\":false,\"closeable\":false},\"appearance\":{\"variant\":\"pill\",\"density\":\"compact\",\"tokens\":{\"track-background-color\":\"#18191b\",\"track-border-color\":\"#2c2e33\",\"active-tab-background-color\":\"#28292c\",\"active-tab-outline-color\":\"#8ab4f8\",\"pill-radius\":\"9999px\"}},\"tabs\":[{\"id\":\"tab-overview\",\"textLabel\":\"Visão Geral\",\"icon\":\"dashboard\",\"tone\":\"primary\",\"labelClass\":\"tab-pill-overview\",\"widgets\":[{\"id\":\"praxis-table\",\"bindingOrder\":[\"config\",\"resourcePath\"],\"inputs\":{\"resourcePath\":\"{{resourcePath}}\",\"tableId\":\"{{resourceKey}}-overview-table\",\"config\":{\"toolbar\":{\"visible\":true}}}}]},{\"id\":\"tab-details\",\"textLabel\":\"Detalhes\",\"icon\":\"list\",\"tone\":\"outlined\",\"widgets\":[{\"id\":\"praxis-dynamic-form\",\"bindingOrder\":[\"resourcePath\",\"formId\",\"resourceId\"],\"inputs\":{\"formId\":\"{{resourceKey}}-details-form\",\"resourcePath\":\"{{resourcePath}}\",\"mode\":\"view\"}}]},{\"id\":\"tab-settings\",\"textLabel\":\"Configurações\",\"icon\":\"settings\",\"tone\":\"default\",\"disabled\":false,\"widgets\":[]}]}}",
|
|
2493
3029
|
"sourcePointer": "examples/ai-recipes/praxis-tabs.json",
|
|
2494
|
-
"contentHash": "
|
|
3030
|
+
"contentHash": "25c611adb268056b48e96948237d80767a2e2cc4badf0d240f6f1722ed4b2cbd",
|
|
2495
3031
|
"sourceKind": "component_definition",
|
|
2496
3032
|
"sourceId": "praxis-tabs",
|
|
2497
3033
|
"corpusVersion": "1.0.0"
|