@safe-ugc-ui/schema 0.6.0 → 1.1.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/ugc-card.schema.json +711 -60
- package/package.json +2 -2
|
@@ -199,6 +199,25 @@
|
|
|
199
199
|
}
|
|
200
200
|
]
|
|
201
201
|
},
|
|
202
|
+
"aspectRatio": {
|
|
203
|
+
"anyOf": [
|
|
204
|
+
{
|
|
205
|
+
"anyOf": [
|
|
206
|
+
{
|
|
207
|
+
"type": "number",
|
|
208
|
+
"exclusiveMinimum": 0
|
|
209
|
+
},
|
|
210
|
+
{
|
|
211
|
+
"type": "string",
|
|
212
|
+
"pattern": "^\\s*[0-9]+(\\.[0-9]+)?\\s*\\/\\s*[0-9]+(\\.[0-9]+)?\\s*$"
|
|
213
|
+
}
|
|
214
|
+
]
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
218
|
+
}
|
|
219
|
+
]
|
|
220
|
+
},
|
|
202
221
|
"minWidth": {
|
|
203
222
|
"anyOf": [
|
|
204
223
|
{
|
|
@@ -637,6 +656,16 @@
|
|
|
637
656
|
}
|
|
638
657
|
]
|
|
639
658
|
},
|
|
659
|
+
"backdropBlur": {
|
|
660
|
+
"anyOf": [
|
|
661
|
+
{
|
|
662
|
+
"type": "number"
|
|
663
|
+
},
|
|
664
|
+
{
|
|
665
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
666
|
+
}
|
|
667
|
+
]
|
|
668
|
+
},
|
|
640
669
|
"backgroundGradient": {
|
|
641
670
|
"anyOf": [
|
|
642
671
|
{
|
|
@@ -987,6 +1016,136 @@
|
|
|
987
1016
|
},
|
|
988
1017
|
"additionalProperties": false
|
|
989
1018
|
},
|
|
1019
|
+
"clipPath": {
|
|
1020
|
+
"anyOf": [
|
|
1021
|
+
{
|
|
1022
|
+
"type": "object",
|
|
1023
|
+
"properties": {
|
|
1024
|
+
"type": {
|
|
1025
|
+
"type": "string",
|
|
1026
|
+
"const": "circle"
|
|
1027
|
+
},
|
|
1028
|
+
"radius": {
|
|
1029
|
+
"anyOf": [
|
|
1030
|
+
{
|
|
1031
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1032
|
+
},
|
|
1033
|
+
{
|
|
1034
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1035
|
+
}
|
|
1036
|
+
]
|
|
1037
|
+
}
|
|
1038
|
+
},
|
|
1039
|
+
"required": [
|
|
1040
|
+
"type",
|
|
1041
|
+
"radius"
|
|
1042
|
+
],
|
|
1043
|
+
"additionalProperties": false
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
"type": "object",
|
|
1047
|
+
"properties": {
|
|
1048
|
+
"type": {
|
|
1049
|
+
"type": "string",
|
|
1050
|
+
"const": "ellipse"
|
|
1051
|
+
},
|
|
1052
|
+
"rx": {
|
|
1053
|
+
"anyOf": [
|
|
1054
|
+
{
|
|
1055
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1056
|
+
},
|
|
1057
|
+
{
|
|
1058
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1059
|
+
}
|
|
1060
|
+
]
|
|
1061
|
+
},
|
|
1062
|
+
"ry": {
|
|
1063
|
+
"anyOf": [
|
|
1064
|
+
{
|
|
1065
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1066
|
+
},
|
|
1067
|
+
{
|
|
1068
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1069
|
+
}
|
|
1070
|
+
]
|
|
1071
|
+
}
|
|
1072
|
+
},
|
|
1073
|
+
"required": [
|
|
1074
|
+
"type",
|
|
1075
|
+
"rx",
|
|
1076
|
+
"ry"
|
|
1077
|
+
],
|
|
1078
|
+
"additionalProperties": false
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
"type": "object",
|
|
1082
|
+
"properties": {
|
|
1083
|
+
"type": {
|
|
1084
|
+
"type": "string",
|
|
1085
|
+
"const": "inset"
|
|
1086
|
+
},
|
|
1087
|
+
"top": {
|
|
1088
|
+
"anyOf": [
|
|
1089
|
+
{
|
|
1090
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1094
|
+
}
|
|
1095
|
+
]
|
|
1096
|
+
},
|
|
1097
|
+
"right": {
|
|
1098
|
+
"anyOf": [
|
|
1099
|
+
{
|
|
1100
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1101
|
+
},
|
|
1102
|
+
{
|
|
1103
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1104
|
+
}
|
|
1105
|
+
]
|
|
1106
|
+
},
|
|
1107
|
+
"bottom": {
|
|
1108
|
+
"anyOf": [
|
|
1109
|
+
{
|
|
1110
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1114
|
+
}
|
|
1115
|
+
]
|
|
1116
|
+
},
|
|
1117
|
+
"left": {
|
|
1118
|
+
"anyOf": [
|
|
1119
|
+
{
|
|
1120
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1121
|
+
},
|
|
1122
|
+
{
|
|
1123
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1124
|
+
}
|
|
1125
|
+
]
|
|
1126
|
+
},
|
|
1127
|
+
"round": {
|
|
1128
|
+
"anyOf": [
|
|
1129
|
+
{
|
|
1130
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1131
|
+
},
|
|
1132
|
+
{
|
|
1133
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1134
|
+
}
|
|
1135
|
+
]
|
|
1136
|
+
}
|
|
1137
|
+
},
|
|
1138
|
+
"required": [
|
|
1139
|
+
"type",
|
|
1140
|
+
"top",
|
|
1141
|
+
"right",
|
|
1142
|
+
"bottom",
|
|
1143
|
+
"left"
|
|
1144
|
+
],
|
|
1145
|
+
"additionalProperties": false
|
|
1146
|
+
}
|
|
1147
|
+
]
|
|
1148
|
+
},
|
|
990
1149
|
"overflow": {
|
|
991
1150
|
"type": "string",
|
|
992
1151
|
"enum": [
|
|
@@ -1121,6 +1280,9 @@
|
|
|
1121
1280
|
"height": {
|
|
1122
1281
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/height"
|
|
1123
1282
|
},
|
|
1283
|
+
"aspectRatio": {
|
|
1284
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/aspectRatio"
|
|
1285
|
+
},
|
|
1124
1286
|
"minWidth": {
|
|
1125
1287
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minWidth"
|
|
1126
1288
|
},
|
|
@@ -1211,6 +1373,9 @@
|
|
|
1211
1373
|
"opacity": {
|
|
1212
1374
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
|
|
1213
1375
|
},
|
|
1376
|
+
"backdropBlur": {
|
|
1377
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backdropBlur"
|
|
1378
|
+
},
|
|
1214
1379
|
"backgroundGradient": {
|
|
1215
1380
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
|
|
1216
1381
|
},
|
|
@@ -1238,6 +1403,9 @@
|
|
|
1238
1403
|
"transform": {
|
|
1239
1404
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
|
|
1240
1405
|
},
|
|
1406
|
+
"clipPath": {
|
|
1407
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/clipPath"
|
|
1408
|
+
},
|
|
1241
1409
|
"overflow": {
|
|
1242
1410
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
|
|
1243
1411
|
},
|
|
@@ -1332,7 +1500,7 @@
|
|
|
1332
1500
|
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
|
|
1333
1501
|
}
|
|
1334
1502
|
},
|
|
1335
|
-
"
|
|
1503
|
+
"fragments": {
|
|
1336
1504
|
"type": "object",
|
|
1337
1505
|
"additionalProperties": {
|
|
1338
1506
|
"anyOf": [
|
|
@@ -1348,7 +1516,132 @@
|
|
|
1348
1516
|
{
|
|
1349
1517
|
"type": "array",
|
|
1350
1518
|
"items": {
|
|
1351
|
-
"
|
|
1519
|
+
"anyOf": [
|
|
1520
|
+
{
|
|
1521
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties"
|
|
1522
|
+
},
|
|
1523
|
+
{
|
|
1524
|
+
"type": "object",
|
|
1525
|
+
"properties": {
|
|
1526
|
+
"$use": {
|
|
1527
|
+
"type": "string"
|
|
1528
|
+
},
|
|
1529
|
+
"$if": {
|
|
1530
|
+
"anyOf": [
|
|
1531
|
+
{
|
|
1532
|
+
"type": "boolean"
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1536
|
+
},
|
|
1537
|
+
{
|
|
1538
|
+
"type": "object",
|
|
1539
|
+
"properties": {
|
|
1540
|
+
"op": {
|
|
1541
|
+
"type": "string",
|
|
1542
|
+
"const": "not"
|
|
1543
|
+
},
|
|
1544
|
+
"value": {
|
|
1545
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1546
|
+
}
|
|
1547
|
+
},
|
|
1548
|
+
"required": [
|
|
1549
|
+
"op",
|
|
1550
|
+
"value"
|
|
1551
|
+
],
|
|
1552
|
+
"additionalProperties": false
|
|
1553
|
+
},
|
|
1554
|
+
{
|
|
1555
|
+
"type": "object",
|
|
1556
|
+
"properties": {
|
|
1557
|
+
"op": {
|
|
1558
|
+
"type": "string",
|
|
1559
|
+
"const": "and"
|
|
1560
|
+
},
|
|
1561
|
+
"values": {
|
|
1562
|
+
"type": "array",
|
|
1563
|
+
"items": {
|
|
1564
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1565
|
+
},
|
|
1566
|
+
"minItems": 1
|
|
1567
|
+
}
|
|
1568
|
+
},
|
|
1569
|
+
"required": [
|
|
1570
|
+
"op",
|
|
1571
|
+
"values"
|
|
1572
|
+
],
|
|
1573
|
+
"additionalProperties": false
|
|
1574
|
+
},
|
|
1575
|
+
{
|
|
1576
|
+
"type": "object",
|
|
1577
|
+
"properties": {
|
|
1578
|
+
"op": {
|
|
1579
|
+
"type": "string",
|
|
1580
|
+
"const": "or"
|
|
1581
|
+
},
|
|
1582
|
+
"values": {
|
|
1583
|
+
"type": "array",
|
|
1584
|
+
"items": {
|
|
1585
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1586
|
+
},
|
|
1587
|
+
"minItems": 1
|
|
1588
|
+
}
|
|
1589
|
+
},
|
|
1590
|
+
"required": [
|
|
1591
|
+
"op",
|
|
1592
|
+
"values"
|
|
1593
|
+
],
|
|
1594
|
+
"additionalProperties": false
|
|
1595
|
+
},
|
|
1596
|
+
{
|
|
1597
|
+
"type": "object",
|
|
1598
|
+
"properties": {
|
|
1599
|
+
"op": {
|
|
1600
|
+
"type": "string",
|
|
1601
|
+
"enum": [
|
|
1602
|
+
"eq",
|
|
1603
|
+
"ne",
|
|
1604
|
+
"gt",
|
|
1605
|
+
"gte",
|
|
1606
|
+
"lt",
|
|
1607
|
+
"lte"
|
|
1608
|
+
]
|
|
1609
|
+
},
|
|
1610
|
+
"left": {
|
|
1611
|
+
"anyOf": [
|
|
1612
|
+
{
|
|
1613
|
+
"type": [
|
|
1614
|
+
"string",
|
|
1615
|
+
"number",
|
|
1616
|
+
"boolean",
|
|
1617
|
+
"null"
|
|
1618
|
+
]
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1622
|
+
}
|
|
1623
|
+
]
|
|
1624
|
+
},
|
|
1625
|
+
"right": {
|
|
1626
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if/anyOf/5/properties/left"
|
|
1627
|
+
}
|
|
1628
|
+
},
|
|
1629
|
+
"required": [
|
|
1630
|
+
"op",
|
|
1631
|
+
"left",
|
|
1632
|
+
"right"
|
|
1633
|
+
],
|
|
1634
|
+
"additionalProperties": false
|
|
1635
|
+
}
|
|
1636
|
+
]
|
|
1637
|
+
}
|
|
1638
|
+
},
|
|
1639
|
+
"required": [
|
|
1640
|
+
"$use"
|
|
1641
|
+
],
|
|
1642
|
+
"additionalProperties": false
|
|
1643
|
+
}
|
|
1644
|
+
]
|
|
1352
1645
|
}
|
|
1353
1646
|
},
|
|
1354
1647
|
{
|
|
@@ -1361,7 +1654,7 @@
|
|
|
1361
1654
|
"type": "string"
|
|
1362
1655
|
},
|
|
1363
1656
|
"template": {
|
|
1364
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1657
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
1365
1658
|
}
|
|
1366
1659
|
},
|
|
1367
1660
|
"required": [
|
|
@@ -1373,13 +1666,16 @@
|
|
|
1373
1666
|
}
|
|
1374
1667
|
]
|
|
1375
1668
|
},
|
|
1669
|
+
"$if": {
|
|
1670
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1671
|
+
},
|
|
1376
1672
|
"style": {
|
|
1377
1673
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties"
|
|
1378
1674
|
},
|
|
1379
1675
|
"responsive": {
|
|
1380
1676
|
"type": "object",
|
|
1381
1677
|
"properties": {
|
|
1382
|
-
"
|
|
1678
|
+
"medium": {
|
|
1383
1679
|
"type": "object",
|
|
1384
1680
|
"properties": {
|
|
1385
1681
|
"display": {
|
|
@@ -1412,6 +1708,9 @@
|
|
|
1412
1708
|
"height": {
|
|
1413
1709
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/height"
|
|
1414
1710
|
},
|
|
1711
|
+
"aspectRatio": {
|
|
1712
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/aspectRatio"
|
|
1713
|
+
},
|
|
1415
1714
|
"minWidth": {
|
|
1416
1715
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minWidth"
|
|
1417
1716
|
},
|
|
@@ -1502,6 +1801,9 @@
|
|
|
1502
1801
|
"opacity": {
|
|
1503
1802
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
|
|
1504
1803
|
},
|
|
1804
|
+
"backdropBlur": {
|
|
1805
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backdropBlur"
|
|
1806
|
+
},
|
|
1505
1807
|
"backgroundGradient": {
|
|
1506
1808
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
|
|
1507
1809
|
},
|
|
@@ -1529,6 +1831,9 @@
|
|
|
1529
1831
|
"transform": {
|
|
1530
1832
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
|
|
1531
1833
|
},
|
|
1834
|
+
"clipPath": {
|
|
1835
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/clipPath"
|
|
1836
|
+
},
|
|
1532
1837
|
"overflow": {
|
|
1533
1838
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
|
|
1534
1839
|
},
|
|
@@ -1573,6 +1878,9 @@
|
|
|
1573
1878
|
}
|
|
1574
1879
|
},
|
|
1575
1880
|
"additionalProperties": false
|
|
1881
|
+
},
|
|
1882
|
+
"compact": {
|
|
1883
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive/properties/medium"
|
|
1576
1884
|
}
|
|
1577
1885
|
},
|
|
1578
1886
|
"additionalProperties": false
|
|
@@ -1591,13 +1899,16 @@
|
|
|
1591
1899
|
"const": "Row"
|
|
1592
1900
|
},
|
|
1593
1901
|
"children": {
|
|
1594
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1902
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1903
|
+
},
|
|
1904
|
+
"$if": {
|
|
1905
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1595
1906
|
},
|
|
1596
1907
|
"style": {
|
|
1597
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1908
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1598
1909
|
},
|
|
1599
1910
|
"responsive": {
|
|
1600
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1911
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1601
1912
|
}
|
|
1602
1913
|
},
|
|
1603
1914
|
"required": [
|
|
@@ -1613,13 +1924,16 @@
|
|
|
1613
1924
|
"const": "Column"
|
|
1614
1925
|
},
|
|
1615
1926
|
"children": {
|
|
1616
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1927
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1928
|
+
},
|
|
1929
|
+
"$if": {
|
|
1930
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1617
1931
|
},
|
|
1618
1932
|
"style": {
|
|
1619
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1933
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1620
1934
|
},
|
|
1621
1935
|
"responsive": {
|
|
1622
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1936
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1623
1937
|
}
|
|
1624
1938
|
},
|
|
1625
1939
|
"required": [
|
|
@@ -1635,13 +1949,16 @@
|
|
|
1635
1949
|
"const": "Stack"
|
|
1636
1950
|
},
|
|
1637
1951
|
"children": {
|
|
1638
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1952
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1953
|
+
},
|
|
1954
|
+
"$if": {
|
|
1955
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1639
1956
|
},
|
|
1640
1957
|
"style": {
|
|
1641
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1958
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1642
1959
|
},
|
|
1643
1960
|
"responsive": {
|
|
1644
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1961
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1645
1962
|
}
|
|
1646
1963
|
},
|
|
1647
1964
|
"required": [
|
|
@@ -1657,13 +1974,16 @@
|
|
|
1657
1974
|
"const": "Grid"
|
|
1658
1975
|
},
|
|
1659
1976
|
"children": {
|
|
1660
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1977
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1978
|
+
},
|
|
1979
|
+
"$if": {
|
|
1980
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1661
1981
|
},
|
|
1662
1982
|
"style": {
|
|
1663
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1983
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1664
1984
|
},
|
|
1665
1985
|
"responsive": {
|
|
1666
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1986
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1667
1987
|
}
|
|
1668
1988
|
},
|
|
1669
1989
|
"required": [
|
|
@@ -1685,19 +2005,181 @@
|
|
|
1685
2005
|
},
|
|
1686
2006
|
{
|
|
1687
2007
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2008
|
+
},
|
|
2009
|
+
{
|
|
2010
|
+
"type": "object",
|
|
2011
|
+
"properties": {
|
|
2012
|
+
"$template": {
|
|
2013
|
+
"type": "array",
|
|
2014
|
+
"items": {
|
|
2015
|
+
"anyOf": [
|
|
2016
|
+
{
|
|
2017
|
+
"type": "string"
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
"type": "number"
|
|
2021
|
+
},
|
|
2022
|
+
{
|
|
2023
|
+
"type": "boolean"
|
|
2024
|
+
},
|
|
2025
|
+
{
|
|
2026
|
+
"type": "null"
|
|
2027
|
+
},
|
|
2028
|
+
{
|
|
2029
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2030
|
+
}
|
|
2031
|
+
]
|
|
2032
|
+
},
|
|
2033
|
+
"minItems": 1
|
|
2034
|
+
}
|
|
2035
|
+
},
|
|
2036
|
+
"required": [
|
|
2037
|
+
"$template"
|
|
2038
|
+
],
|
|
2039
|
+
"additionalProperties": false
|
|
1688
2040
|
}
|
|
1689
2041
|
]
|
|
1690
2042
|
},
|
|
2043
|
+
"spans": {
|
|
2044
|
+
"type": "array",
|
|
2045
|
+
"items": {
|
|
2046
|
+
"type": "object",
|
|
2047
|
+
"properties": {
|
|
2048
|
+
"text": {
|
|
2049
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2050
|
+
},
|
|
2051
|
+
"style": {
|
|
2052
|
+
"type": "object",
|
|
2053
|
+
"properties": {
|
|
2054
|
+
"backgroundColor": {
|
|
2055
|
+
"anyOf": [
|
|
2056
|
+
{
|
|
2057
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
|
|
2058
|
+
},
|
|
2059
|
+
{
|
|
2060
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2061
|
+
}
|
|
2062
|
+
]
|
|
2063
|
+
},
|
|
2064
|
+
"color": {
|
|
2065
|
+
"anyOf": [
|
|
2066
|
+
{
|
|
2067
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
|
|
2068
|
+
},
|
|
2069
|
+
{
|
|
2070
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2071
|
+
}
|
|
2072
|
+
]
|
|
2073
|
+
},
|
|
2074
|
+
"fontFamily": {
|
|
2075
|
+
"anyOf": [
|
|
2076
|
+
{
|
|
2077
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontFamily/anyOf/0"
|
|
2078
|
+
},
|
|
2079
|
+
{
|
|
2080
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2081
|
+
}
|
|
2082
|
+
]
|
|
2083
|
+
},
|
|
2084
|
+
"fontSize": {
|
|
2085
|
+
"anyOf": [
|
|
2086
|
+
{
|
|
2087
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2091
|
+
}
|
|
2092
|
+
]
|
|
2093
|
+
},
|
|
2094
|
+
"fontWeight": {
|
|
2095
|
+
"anyOf": [
|
|
2096
|
+
{
|
|
2097
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontWeight/anyOf/0"
|
|
2098
|
+
},
|
|
2099
|
+
{
|
|
2100
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2101
|
+
}
|
|
2102
|
+
]
|
|
2103
|
+
},
|
|
2104
|
+
"fontStyle": {
|
|
2105
|
+
"anyOf": [
|
|
2106
|
+
{
|
|
2107
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontStyle/anyOf/0"
|
|
2108
|
+
},
|
|
2109
|
+
{
|
|
2110
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2111
|
+
}
|
|
2112
|
+
]
|
|
2113
|
+
},
|
|
2114
|
+
"textDecoration": {
|
|
2115
|
+
"anyOf": [
|
|
2116
|
+
{
|
|
2117
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textDecoration/anyOf/0"
|
|
2118
|
+
},
|
|
2119
|
+
{
|
|
2120
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2121
|
+
}
|
|
2122
|
+
]
|
|
2123
|
+
},
|
|
2124
|
+
"letterSpacing": {
|
|
2125
|
+
"anyOf": [
|
|
2126
|
+
{
|
|
2127
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
2128
|
+
},
|
|
2129
|
+
{
|
|
2130
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2131
|
+
}
|
|
2132
|
+
]
|
|
2133
|
+
},
|
|
2134
|
+
"textShadow": {
|
|
2135
|
+
"anyOf": [
|
|
2136
|
+
{
|
|
2137
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow/anyOf/0"
|
|
2138
|
+
},
|
|
2139
|
+
{
|
|
2140
|
+
"type": "array",
|
|
2141
|
+
"items": {
|
|
2142
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow/anyOf/0"
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
]
|
|
2146
|
+
}
|
|
2147
|
+
},
|
|
2148
|
+
"additionalProperties": false
|
|
2149
|
+
}
|
|
2150
|
+
},
|
|
2151
|
+
"required": [
|
|
2152
|
+
"text"
|
|
2153
|
+
],
|
|
2154
|
+
"additionalProperties": false
|
|
2155
|
+
},
|
|
2156
|
+
"minItems": 1,
|
|
2157
|
+
"maxItems": 32
|
|
2158
|
+
},
|
|
2159
|
+
"maxLines": {
|
|
2160
|
+
"type": "integer",
|
|
2161
|
+
"minimum": 1,
|
|
2162
|
+
"maximum": 10
|
|
2163
|
+
},
|
|
2164
|
+
"truncate": {
|
|
2165
|
+
"type": "string",
|
|
2166
|
+
"enum": [
|
|
2167
|
+
"ellipsis",
|
|
2168
|
+
"clip"
|
|
2169
|
+
]
|
|
2170
|
+
},
|
|
2171
|
+
"$if": {
|
|
2172
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2173
|
+
},
|
|
1691
2174
|
"style": {
|
|
1692
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2175
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1693
2176
|
},
|
|
1694
2177
|
"responsive": {
|
|
1695
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2178
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1696
2179
|
}
|
|
1697
2180
|
},
|
|
1698
2181
|
"required": [
|
|
1699
|
-
"type"
|
|
1700
|
-
"content"
|
|
2182
|
+
"type"
|
|
1701
2183
|
],
|
|
1702
2184
|
"additionalProperties": false
|
|
1703
2185
|
},
|
|
@@ -1729,11 +2211,14 @@
|
|
|
1729
2211
|
}
|
|
1730
2212
|
]
|
|
1731
2213
|
},
|
|
2214
|
+
"$if": {
|
|
2215
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2216
|
+
},
|
|
1732
2217
|
"style": {
|
|
1733
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2218
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1734
2219
|
},
|
|
1735
2220
|
"responsive": {
|
|
1736
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2221
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1737
2222
|
}
|
|
1738
2223
|
},
|
|
1739
2224
|
"required": [
|
|
@@ -1779,11 +2264,14 @@
|
|
|
1779
2264
|
}
|
|
1780
2265
|
]
|
|
1781
2266
|
},
|
|
2267
|
+
"$if": {
|
|
2268
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2269
|
+
},
|
|
1782
2270
|
"style": {
|
|
1783
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2271
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1784
2272
|
},
|
|
1785
2273
|
"responsive": {
|
|
1786
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2274
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1787
2275
|
}
|
|
1788
2276
|
},
|
|
1789
2277
|
"required": [
|
|
@@ -1803,7 +2291,7 @@
|
|
|
1803
2291
|
"src": {
|
|
1804
2292
|
"anyOf": [
|
|
1805
2293
|
{
|
|
1806
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2294
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/6/properties/src/anyOf/0"
|
|
1807
2295
|
},
|
|
1808
2296
|
{
|
|
1809
2297
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
@@ -1820,11 +2308,14 @@
|
|
|
1820
2308
|
}
|
|
1821
2309
|
]
|
|
1822
2310
|
},
|
|
2311
|
+
"$if": {
|
|
2312
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2313
|
+
},
|
|
1823
2314
|
"style": {
|
|
1824
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2315
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1825
2316
|
},
|
|
1826
2317
|
"responsive": {
|
|
1827
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2318
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1828
2319
|
}
|
|
1829
2320
|
},
|
|
1830
2321
|
"required": [
|
|
@@ -1870,11 +2361,14 @@
|
|
|
1870
2361
|
}
|
|
1871
2362
|
]
|
|
1872
2363
|
},
|
|
2364
|
+
"$if": {
|
|
2365
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2366
|
+
},
|
|
1873
2367
|
"style": {
|
|
1874
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2368
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1875
2369
|
},
|
|
1876
2370
|
"responsive": {
|
|
1877
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2371
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1878
2372
|
}
|
|
1879
2373
|
},
|
|
1880
2374
|
"required": [
|
|
@@ -1891,14 +2385,7 @@
|
|
|
1891
2385
|
"const": "Badge"
|
|
1892
2386
|
},
|
|
1893
2387
|
"label": {
|
|
1894
|
-
"
|
|
1895
|
-
{
|
|
1896
|
-
"type": "string"
|
|
1897
|
-
},
|
|
1898
|
-
{
|
|
1899
|
-
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1900
|
-
}
|
|
1901
|
-
]
|
|
2388
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
1902
2389
|
},
|
|
1903
2390
|
"color": {
|
|
1904
2391
|
"anyOf": [
|
|
@@ -1910,11 +2397,14 @@
|
|
|
1910
2397
|
}
|
|
1911
2398
|
]
|
|
1912
2399
|
},
|
|
2400
|
+
"$if": {
|
|
2401
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2402
|
+
},
|
|
1913
2403
|
"style": {
|
|
1914
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2404
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1915
2405
|
},
|
|
1916
2406
|
"responsive": {
|
|
1917
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2407
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1918
2408
|
}
|
|
1919
2409
|
},
|
|
1920
2410
|
"required": [
|
|
@@ -1931,14 +2421,7 @@
|
|
|
1931
2421
|
"const": "Chip"
|
|
1932
2422
|
},
|
|
1933
2423
|
"label": {
|
|
1934
|
-
"
|
|
1935
|
-
{
|
|
1936
|
-
"type": "string"
|
|
1937
|
-
},
|
|
1938
|
-
{
|
|
1939
|
-
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1940
|
-
}
|
|
1941
|
-
]
|
|
2424
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
1942
2425
|
},
|
|
1943
2426
|
"color": {
|
|
1944
2427
|
"anyOf": [
|
|
@@ -1950,11 +2433,14 @@
|
|
|
1950
2433
|
}
|
|
1951
2434
|
]
|
|
1952
2435
|
},
|
|
2436
|
+
"$if": {
|
|
2437
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2438
|
+
},
|
|
1953
2439
|
"style": {
|
|
1954
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2440
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1955
2441
|
},
|
|
1956
2442
|
"responsive": {
|
|
1957
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2443
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1958
2444
|
}
|
|
1959
2445
|
},
|
|
1960
2446
|
"required": [
|
|
@@ -1990,11 +2476,14 @@
|
|
|
1990
2476
|
}
|
|
1991
2477
|
]
|
|
1992
2478
|
},
|
|
2479
|
+
"$if": {
|
|
2480
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2481
|
+
},
|
|
1993
2482
|
"style": {
|
|
1994
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2483
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1995
2484
|
},
|
|
1996
2485
|
"responsive": {
|
|
1997
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2486
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1998
2487
|
}
|
|
1999
2488
|
},
|
|
2000
2489
|
"required": [
|
|
@@ -2019,11 +2508,14 @@
|
|
|
2019
2508
|
}
|
|
2020
2509
|
]
|
|
2021
2510
|
},
|
|
2511
|
+
"$if": {
|
|
2512
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2513
|
+
},
|
|
2022
2514
|
"style": {
|
|
2023
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2515
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2024
2516
|
},
|
|
2025
2517
|
"responsive": {
|
|
2026
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2518
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2027
2519
|
}
|
|
2028
2520
|
},
|
|
2029
2521
|
"required": [
|
|
@@ -2039,23 +2531,29 @@
|
|
|
2039
2531
|
"const": "Button"
|
|
2040
2532
|
},
|
|
2041
2533
|
"label": {
|
|
2534
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2535
|
+
},
|
|
2536
|
+
"action": {
|
|
2537
|
+
"type": "string"
|
|
2538
|
+
},
|
|
2539
|
+
"disabled": {
|
|
2042
2540
|
"anyOf": [
|
|
2043
2541
|
{
|
|
2044
|
-
"type": "
|
|
2542
|
+
"type": "boolean"
|
|
2045
2543
|
},
|
|
2046
2544
|
{
|
|
2047
2545
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2048
2546
|
}
|
|
2049
2547
|
]
|
|
2050
2548
|
},
|
|
2051
|
-
"
|
|
2052
|
-
"
|
|
2549
|
+
"$if": {
|
|
2550
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2053
2551
|
},
|
|
2054
2552
|
"style": {
|
|
2055
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2553
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2056
2554
|
},
|
|
2057
2555
|
"responsive": {
|
|
2058
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2556
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2059
2557
|
}
|
|
2060
2558
|
},
|
|
2061
2559
|
"required": [
|
|
@@ -2085,11 +2583,24 @@
|
|
|
2085
2583
|
"onToggle": {
|
|
2086
2584
|
"type": "string"
|
|
2087
2585
|
},
|
|
2586
|
+
"disabled": {
|
|
2587
|
+
"anyOf": [
|
|
2588
|
+
{
|
|
2589
|
+
"type": "boolean"
|
|
2590
|
+
},
|
|
2591
|
+
{
|
|
2592
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2593
|
+
}
|
|
2594
|
+
]
|
|
2595
|
+
},
|
|
2596
|
+
"$if": {
|
|
2597
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2598
|
+
},
|
|
2088
2599
|
"style": {
|
|
2089
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2600
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2090
2601
|
},
|
|
2091
2602
|
"responsive": {
|
|
2092
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2603
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2093
2604
|
}
|
|
2094
2605
|
},
|
|
2095
2606
|
"required": [
|
|
@@ -2098,8 +2609,148 @@
|
|
|
2098
2609
|
"onToggle"
|
|
2099
2610
|
],
|
|
2100
2611
|
"additionalProperties": false
|
|
2612
|
+
},
|
|
2613
|
+
{
|
|
2614
|
+
"type": "object",
|
|
2615
|
+
"properties": {
|
|
2616
|
+
"type": {
|
|
2617
|
+
"type": "string",
|
|
2618
|
+
"const": "Accordion"
|
|
2619
|
+
},
|
|
2620
|
+
"items": {
|
|
2621
|
+
"type": "array",
|
|
2622
|
+
"items": {
|
|
2623
|
+
"type": "object",
|
|
2624
|
+
"properties": {
|
|
2625
|
+
"id": {
|
|
2626
|
+
"type": "string",
|
|
2627
|
+
"minLength": 1,
|
|
2628
|
+
"maxLength": 64
|
|
2629
|
+
},
|
|
2630
|
+
"label": {
|
|
2631
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2632
|
+
},
|
|
2633
|
+
"content": {
|
|
2634
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
2635
|
+
},
|
|
2636
|
+
"disabled": {
|
|
2637
|
+
"anyOf": [
|
|
2638
|
+
{
|
|
2639
|
+
"type": "boolean"
|
|
2640
|
+
},
|
|
2641
|
+
{
|
|
2642
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2643
|
+
}
|
|
2644
|
+
]
|
|
2645
|
+
}
|
|
2646
|
+
},
|
|
2647
|
+
"required": [
|
|
2648
|
+
"id",
|
|
2649
|
+
"label",
|
|
2650
|
+
"content"
|
|
2651
|
+
],
|
|
2652
|
+
"additionalProperties": false
|
|
2653
|
+
},
|
|
2654
|
+
"minItems": 1,
|
|
2655
|
+
"maxItems": 16
|
|
2656
|
+
},
|
|
2657
|
+
"allowMultiple": {
|
|
2658
|
+
"type": "boolean"
|
|
2659
|
+
},
|
|
2660
|
+
"defaultExpanded": {
|
|
2661
|
+
"type": "array",
|
|
2662
|
+
"items": {
|
|
2663
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2664
|
+
},
|
|
2665
|
+
"maxItems": 16
|
|
2666
|
+
},
|
|
2667
|
+
"$if": {
|
|
2668
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2669
|
+
},
|
|
2670
|
+
"style": {
|
|
2671
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2672
|
+
},
|
|
2673
|
+
"responsive": {
|
|
2674
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2675
|
+
}
|
|
2676
|
+
},
|
|
2677
|
+
"required": [
|
|
2678
|
+
"type",
|
|
2679
|
+
"items"
|
|
2680
|
+
],
|
|
2681
|
+
"additionalProperties": false
|
|
2682
|
+
},
|
|
2683
|
+
{
|
|
2684
|
+
"type": "object",
|
|
2685
|
+
"properties": {
|
|
2686
|
+
"type": {
|
|
2687
|
+
"type": "string",
|
|
2688
|
+
"const": "Tabs"
|
|
2689
|
+
},
|
|
2690
|
+
"tabs": {
|
|
2691
|
+
"type": "array",
|
|
2692
|
+
"items": {
|
|
2693
|
+
"type": "object",
|
|
2694
|
+
"properties": {
|
|
2695
|
+
"id": {
|
|
2696
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2697
|
+
},
|
|
2698
|
+
"label": {
|
|
2699
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2700
|
+
},
|
|
2701
|
+
"content": {
|
|
2702
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
2703
|
+
},
|
|
2704
|
+
"disabled": {
|
|
2705
|
+
"anyOf": [
|
|
2706
|
+
{
|
|
2707
|
+
"type": "boolean"
|
|
2708
|
+
},
|
|
2709
|
+
{
|
|
2710
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2711
|
+
}
|
|
2712
|
+
]
|
|
2713
|
+
}
|
|
2714
|
+
},
|
|
2715
|
+
"required": [
|
|
2716
|
+
"id",
|
|
2717
|
+
"label",
|
|
2718
|
+
"content"
|
|
2719
|
+
],
|
|
2720
|
+
"additionalProperties": false
|
|
2721
|
+
},
|
|
2722
|
+
"minItems": 1,
|
|
2723
|
+
"maxItems": 16
|
|
2724
|
+
},
|
|
2725
|
+
"defaultTab": {
|
|
2726
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2727
|
+
},
|
|
2728
|
+
"$if": {
|
|
2729
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2730
|
+
},
|
|
2731
|
+
"style": {
|
|
2732
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2733
|
+
},
|
|
2734
|
+
"responsive": {
|
|
2735
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2736
|
+
}
|
|
2737
|
+
},
|
|
2738
|
+
"required": [
|
|
2739
|
+
"type",
|
|
2740
|
+
"tabs"
|
|
2741
|
+
],
|
|
2742
|
+
"additionalProperties": false
|
|
2101
2743
|
}
|
|
2102
2744
|
]
|
|
2745
|
+
},
|
|
2746
|
+
"propertyNames": {
|
|
2747
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
|
|
2748
|
+
}
|
|
2749
|
+
},
|
|
2750
|
+
"views": {
|
|
2751
|
+
"type": "object",
|
|
2752
|
+
"additionalProperties": {
|
|
2753
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
2103
2754
|
}
|
|
2104
2755
|
}
|
|
2105
2756
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-ugc-ui/schema",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "1.1.0",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "./dist/index.js",
|
|
6
6
|
"types": "./dist/index.d.ts",
|
|
@@ -16,7 +16,7 @@
|
|
|
16
16
|
],
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"zod-to-json-schema": "^3.24.0",
|
|
19
|
-
"@safe-ugc-ui/types": "
|
|
19
|
+
"@safe-ugc-ui/types": "1.1.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0"
|