@safe-ugc-ui/schema 0.5.1 → 1.0.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 +786 -44
- 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
|
{
|
|
@@ -1121,6 +1140,9 @@
|
|
|
1121
1140
|
"height": {
|
|
1122
1141
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/height"
|
|
1123
1142
|
},
|
|
1143
|
+
"aspectRatio": {
|
|
1144
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/aspectRatio"
|
|
1145
|
+
},
|
|
1124
1146
|
"minWidth": {
|
|
1125
1147
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minWidth"
|
|
1126
1148
|
},
|
|
@@ -1332,7 +1354,7 @@
|
|
|
1332
1354
|
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
|
|
1333
1355
|
}
|
|
1334
1356
|
},
|
|
1335
|
-
"
|
|
1357
|
+
"fragments": {
|
|
1336
1358
|
"type": "object",
|
|
1337
1359
|
"additionalProperties": {
|
|
1338
1360
|
"anyOf": [
|
|
@@ -1348,7 +1370,132 @@
|
|
|
1348
1370
|
{
|
|
1349
1371
|
"type": "array",
|
|
1350
1372
|
"items": {
|
|
1351
|
-
"
|
|
1373
|
+
"anyOf": [
|
|
1374
|
+
{
|
|
1375
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties"
|
|
1376
|
+
},
|
|
1377
|
+
{
|
|
1378
|
+
"type": "object",
|
|
1379
|
+
"properties": {
|
|
1380
|
+
"$use": {
|
|
1381
|
+
"type": "string"
|
|
1382
|
+
},
|
|
1383
|
+
"$if": {
|
|
1384
|
+
"anyOf": [
|
|
1385
|
+
{
|
|
1386
|
+
"type": "boolean"
|
|
1387
|
+
},
|
|
1388
|
+
{
|
|
1389
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"type": "object",
|
|
1393
|
+
"properties": {
|
|
1394
|
+
"op": {
|
|
1395
|
+
"type": "string",
|
|
1396
|
+
"const": "not"
|
|
1397
|
+
},
|
|
1398
|
+
"value": {
|
|
1399
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
"required": [
|
|
1403
|
+
"op",
|
|
1404
|
+
"value"
|
|
1405
|
+
],
|
|
1406
|
+
"additionalProperties": false
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"type": "object",
|
|
1410
|
+
"properties": {
|
|
1411
|
+
"op": {
|
|
1412
|
+
"type": "string",
|
|
1413
|
+
"const": "and"
|
|
1414
|
+
},
|
|
1415
|
+
"values": {
|
|
1416
|
+
"type": "array",
|
|
1417
|
+
"items": {
|
|
1418
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1419
|
+
},
|
|
1420
|
+
"minItems": 1
|
|
1421
|
+
}
|
|
1422
|
+
},
|
|
1423
|
+
"required": [
|
|
1424
|
+
"op",
|
|
1425
|
+
"values"
|
|
1426
|
+
],
|
|
1427
|
+
"additionalProperties": false
|
|
1428
|
+
},
|
|
1429
|
+
{
|
|
1430
|
+
"type": "object",
|
|
1431
|
+
"properties": {
|
|
1432
|
+
"op": {
|
|
1433
|
+
"type": "string",
|
|
1434
|
+
"const": "or"
|
|
1435
|
+
},
|
|
1436
|
+
"values": {
|
|
1437
|
+
"type": "array",
|
|
1438
|
+
"items": {
|
|
1439
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1440
|
+
},
|
|
1441
|
+
"minItems": 1
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
"required": [
|
|
1445
|
+
"op",
|
|
1446
|
+
"values"
|
|
1447
|
+
],
|
|
1448
|
+
"additionalProperties": false
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
"type": "object",
|
|
1452
|
+
"properties": {
|
|
1453
|
+
"op": {
|
|
1454
|
+
"type": "string",
|
|
1455
|
+
"enum": [
|
|
1456
|
+
"eq",
|
|
1457
|
+
"ne",
|
|
1458
|
+
"gt",
|
|
1459
|
+
"gte",
|
|
1460
|
+
"lt",
|
|
1461
|
+
"lte"
|
|
1462
|
+
]
|
|
1463
|
+
},
|
|
1464
|
+
"left": {
|
|
1465
|
+
"anyOf": [
|
|
1466
|
+
{
|
|
1467
|
+
"type": [
|
|
1468
|
+
"string",
|
|
1469
|
+
"number",
|
|
1470
|
+
"boolean",
|
|
1471
|
+
"null"
|
|
1472
|
+
]
|
|
1473
|
+
},
|
|
1474
|
+
{
|
|
1475
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1476
|
+
}
|
|
1477
|
+
]
|
|
1478
|
+
},
|
|
1479
|
+
"right": {
|
|
1480
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if/anyOf/5/properties/left"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
"required": [
|
|
1484
|
+
"op",
|
|
1485
|
+
"left",
|
|
1486
|
+
"right"
|
|
1487
|
+
],
|
|
1488
|
+
"additionalProperties": false
|
|
1489
|
+
}
|
|
1490
|
+
]
|
|
1491
|
+
}
|
|
1492
|
+
},
|
|
1493
|
+
"required": [
|
|
1494
|
+
"$use"
|
|
1495
|
+
],
|
|
1496
|
+
"additionalProperties": false
|
|
1497
|
+
}
|
|
1498
|
+
]
|
|
1352
1499
|
}
|
|
1353
1500
|
},
|
|
1354
1501
|
{
|
|
@@ -1361,7 +1508,7 @@
|
|
|
1361
1508
|
"type": "string"
|
|
1362
1509
|
},
|
|
1363
1510
|
"template": {
|
|
1364
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1511
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
1365
1512
|
}
|
|
1366
1513
|
},
|
|
1367
1514
|
"required": [
|
|
@@ -1373,8 +1520,215 @@
|
|
|
1373
1520
|
}
|
|
1374
1521
|
]
|
|
1375
1522
|
},
|
|
1523
|
+
"$if": {
|
|
1524
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items/anyOf/1/properties/$if"
|
|
1525
|
+
},
|
|
1376
1526
|
"style": {
|
|
1377
1527
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties"
|
|
1528
|
+
},
|
|
1529
|
+
"responsive": {
|
|
1530
|
+
"type": "object",
|
|
1531
|
+
"properties": {
|
|
1532
|
+
"compact": {
|
|
1533
|
+
"type": "object",
|
|
1534
|
+
"properties": {
|
|
1535
|
+
"display": {
|
|
1536
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display"
|
|
1537
|
+
},
|
|
1538
|
+
"flexDirection": {
|
|
1539
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flexDirection"
|
|
1540
|
+
},
|
|
1541
|
+
"justifyContent": {
|
|
1542
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/justifyContent"
|
|
1543
|
+
},
|
|
1544
|
+
"alignItems": {
|
|
1545
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/alignItems"
|
|
1546
|
+
},
|
|
1547
|
+
"alignSelf": {
|
|
1548
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/alignSelf"
|
|
1549
|
+
},
|
|
1550
|
+
"flexWrap": {
|
|
1551
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flexWrap"
|
|
1552
|
+
},
|
|
1553
|
+
"flex": {
|
|
1554
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/flex"
|
|
1555
|
+
},
|
|
1556
|
+
"gap": {
|
|
1557
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap"
|
|
1558
|
+
},
|
|
1559
|
+
"width": {
|
|
1560
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/width"
|
|
1561
|
+
},
|
|
1562
|
+
"height": {
|
|
1563
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/height"
|
|
1564
|
+
},
|
|
1565
|
+
"aspectRatio": {
|
|
1566
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/aspectRatio"
|
|
1567
|
+
},
|
|
1568
|
+
"minWidth": {
|
|
1569
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minWidth"
|
|
1570
|
+
},
|
|
1571
|
+
"maxWidth": {
|
|
1572
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/maxWidth"
|
|
1573
|
+
},
|
|
1574
|
+
"minHeight": {
|
|
1575
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/minHeight"
|
|
1576
|
+
},
|
|
1577
|
+
"maxHeight": {
|
|
1578
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/maxHeight"
|
|
1579
|
+
},
|
|
1580
|
+
"padding": {
|
|
1581
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/padding"
|
|
1582
|
+
},
|
|
1583
|
+
"paddingTop": {
|
|
1584
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingTop"
|
|
1585
|
+
},
|
|
1586
|
+
"paddingRight": {
|
|
1587
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingRight"
|
|
1588
|
+
},
|
|
1589
|
+
"paddingBottom": {
|
|
1590
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingBottom"
|
|
1591
|
+
},
|
|
1592
|
+
"paddingLeft": {
|
|
1593
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/paddingLeft"
|
|
1594
|
+
},
|
|
1595
|
+
"margin": {
|
|
1596
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/margin"
|
|
1597
|
+
},
|
|
1598
|
+
"marginTop": {
|
|
1599
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginTop"
|
|
1600
|
+
},
|
|
1601
|
+
"marginRight": {
|
|
1602
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginRight"
|
|
1603
|
+
},
|
|
1604
|
+
"marginBottom": {
|
|
1605
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginBottom"
|
|
1606
|
+
},
|
|
1607
|
+
"marginLeft": {
|
|
1608
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/marginLeft"
|
|
1609
|
+
},
|
|
1610
|
+
"backgroundColor": {
|
|
1611
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor"
|
|
1612
|
+
},
|
|
1613
|
+
"color": {
|
|
1614
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/color"
|
|
1615
|
+
},
|
|
1616
|
+
"borderRadius": {
|
|
1617
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadius"
|
|
1618
|
+
},
|
|
1619
|
+
"borderRadiusTopLeft": {
|
|
1620
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusTopLeft"
|
|
1621
|
+
},
|
|
1622
|
+
"borderRadiusTopRight": {
|
|
1623
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusTopRight"
|
|
1624
|
+
},
|
|
1625
|
+
"borderRadiusBottomLeft": {
|
|
1626
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusBottomLeft"
|
|
1627
|
+
},
|
|
1628
|
+
"borderRadiusBottomRight": {
|
|
1629
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRadiusBottomRight"
|
|
1630
|
+
},
|
|
1631
|
+
"fontFamily": {
|
|
1632
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontFamily"
|
|
1633
|
+
},
|
|
1634
|
+
"fontSize": {
|
|
1635
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontSize"
|
|
1636
|
+
},
|
|
1637
|
+
"fontWeight": {
|
|
1638
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontWeight"
|
|
1639
|
+
},
|
|
1640
|
+
"fontStyle": {
|
|
1641
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontStyle"
|
|
1642
|
+
},
|
|
1643
|
+
"textAlign": {
|
|
1644
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textAlign"
|
|
1645
|
+
},
|
|
1646
|
+
"textDecoration": {
|
|
1647
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textDecoration"
|
|
1648
|
+
},
|
|
1649
|
+
"lineHeight": {
|
|
1650
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/lineHeight"
|
|
1651
|
+
},
|
|
1652
|
+
"letterSpacing": {
|
|
1653
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/letterSpacing"
|
|
1654
|
+
},
|
|
1655
|
+
"opacity": {
|
|
1656
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
|
|
1657
|
+
},
|
|
1658
|
+
"backgroundGradient": {
|
|
1659
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
|
|
1660
|
+
},
|
|
1661
|
+
"boxShadow": {
|
|
1662
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/boxShadow"
|
|
1663
|
+
},
|
|
1664
|
+
"textShadow": {
|
|
1665
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow"
|
|
1666
|
+
},
|
|
1667
|
+
"border": {
|
|
1668
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/border"
|
|
1669
|
+
},
|
|
1670
|
+
"borderTop": {
|
|
1671
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderTop"
|
|
1672
|
+
},
|
|
1673
|
+
"borderRight": {
|
|
1674
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderRight"
|
|
1675
|
+
},
|
|
1676
|
+
"borderBottom": {
|
|
1677
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderBottom"
|
|
1678
|
+
},
|
|
1679
|
+
"borderLeft": {
|
|
1680
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/borderLeft"
|
|
1681
|
+
},
|
|
1682
|
+
"transform": {
|
|
1683
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
|
|
1684
|
+
},
|
|
1685
|
+
"overflow": {
|
|
1686
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
|
|
1687
|
+
},
|
|
1688
|
+
"position": {
|
|
1689
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/position"
|
|
1690
|
+
},
|
|
1691
|
+
"top": {
|
|
1692
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/top"
|
|
1693
|
+
},
|
|
1694
|
+
"right": {
|
|
1695
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/right"
|
|
1696
|
+
},
|
|
1697
|
+
"bottom": {
|
|
1698
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/bottom"
|
|
1699
|
+
},
|
|
1700
|
+
"left": {
|
|
1701
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/left"
|
|
1702
|
+
},
|
|
1703
|
+
"objectFit": {
|
|
1704
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/objectFit"
|
|
1705
|
+
},
|
|
1706
|
+
"objectPosition": {
|
|
1707
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/objectPosition"
|
|
1708
|
+
},
|
|
1709
|
+
"gridTemplateColumns": {
|
|
1710
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridTemplateColumns"
|
|
1711
|
+
},
|
|
1712
|
+
"gridTemplateRows": {
|
|
1713
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridTemplateRows"
|
|
1714
|
+
},
|
|
1715
|
+
"gridColumn": {
|
|
1716
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridColumn"
|
|
1717
|
+
},
|
|
1718
|
+
"gridRow": {
|
|
1719
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridRow"
|
|
1720
|
+
},
|
|
1721
|
+
"zIndex": {
|
|
1722
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/zIndex"
|
|
1723
|
+
},
|
|
1724
|
+
"$style": {
|
|
1725
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/$style"
|
|
1726
|
+
}
|
|
1727
|
+
},
|
|
1728
|
+
"additionalProperties": false
|
|
1729
|
+
}
|
|
1730
|
+
},
|
|
1731
|
+
"additionalProperties": false
|
|
1378
1732
|
}
|
|
1379
1733
|
},
|
|
1380
1734
|
"required": [
|
|
@@ -1390,10 +1744,16 @@
|
|
|
1390
1744
|
"const": "Row"
|
|
1391
1745
|
},
|
|
1392
1746
|
"children": {
|
|
1393
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1747
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1748
|
+
},
|
|
1749
|
+
"$if": {
|
|
1750
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1394
1751
|
},
|
|
1395
1752
|
"style": {
|
|
1396
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1753
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1754
|
+
},
|
|
1755
|
+
"responsive": {
|
|
1756
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1397
1757
|
}
|
|
1398
1758
|
},
|
|
1399
1759
|
"required": [
|
|
@@ -1409,10 +1769,16 @@
|
|
|
1409
1769
|
"const": "Column"
|
|
1410
1770
|
},
|
|
1411
1771
|
"children": {
|
|
1412
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1772
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1773
|
+
},
|
|
1774
|
+
"$if": {
|
|
1775
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1413
1776
|
},
|
|
1414
1777
|
"style": {
|
|
1415
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1778
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1779
|
+
},
|
|
1780
|
+
"responsive": {
|
|
1781
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1416
1782
|
}
|
|
1417
1783
|
},
|
|
1418
1784
|
"required": [
|
|
@@ -1428,10 +1794,16 @@
|
|
|
1428
1794
|
"const": "Stack"
|
|
1429
1795
|
},
|
|
1430
1796
|
"children": {
|
|
1431
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1797
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1798
|
+
},
|
|
1799
|
+
"$if": {
|
|
1800
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1432
1801
|
},
|
|
1433
1802
|
"style": {
|
|
1434
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1803
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1804
|
+
},
|
|
1805
|
+
"responsive": {
|
|
1806
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1435
1807
|
}
|
|
1436
1808
|
},
|
|
1437
1809
|
"required": [
|
|
@@ -1447,10 +1819,16 @@
|
|
|
1447
1819
|
"const": "Grid"
|
|
1448
1820
|
},
|
|
1449
1821
|
"children": {
|
|
1450
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1822
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children"
|
|
1823
|
+
},
|
|
1824
|
+
"$if": {
|
|
1825
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1451
1826
|
},
|
|
1452
1827
|
"style": {
|
|
1453
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
1828
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
1829
|
+
},
|
|
1830
|
+
"responsive": {
|
|
1831
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1454
1832
|
}
|
|
1455
1833
|
},
|
|
1456
1834
|
"required": [
|
|
@@ -1472,16 +1850,181 @@
|
|
|
1472
1850
|
},
|
|
1473
1851
|
{
|
|
1474
1852
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1853
|
+
},
|
|
1854
|
+
{
|
|
1855
|
+
"type": "object",
|
|
1856
|
+
"properties": {
|
|
1857
|
+
"$template": {
|
|
1858
|
+
"type": "array",
|
|
1859
|
+
"items": {
|
|
1860
|
+
"anyOf": [
|
|
1861
|
+
{
|
|
1862
|
+
"type": "string"
|
|
1863
|
+
},
|
|
1864
|
+
{
|
|
1865
|
+
"type": "number"
|
|
1866
|
+
},
|
|
1867
|
+
{
|
|
1868
|
+
"type": "boolean"
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
"type": "null"
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1875
|
+
}
|
|
1876
|
+
]
|
|
1877
|
+
},
|
|
1878
|
+
"minItems": 1
|
|
1879
|
+
}
|
|
1880
|
+
},
|
|
1881
|
+
"required": [
|
|
1882
|
+
"$template"
|
|
1883
|
+
],
|
|
1884
|
+
"additionalProperties": false
|
|
1475
1885
|
}
|
|
1476
1886
|
]
|
|
1477
1887
|
},
|
|
1888
|
+
"spans": {
|
|
1889
|
+
"type": "array",
|
|
1890
|
+
"items": {
|
|
1891
|
+
"type": "object",
|
|
1892
|
+
"properties": {
|
|
1893
|
+
"text": {
|
|
1894
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
1895
|
+
},
|
|
1896
|
+
"style": {
|
|
1897
|
+
"type": "object",
|
|
1898
|
+
"properties": {
|
|
1899
|
+
"backgroundColor": {
|
|
1900
|
+
"anyOf": [
|
|
1901
|
+
{
|
|
1902
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1906
|
+
}
|
|
1907
|
+
]
|
|
1908
|
+
},
|
|
1909
|
+
"color": {
|
|
1910
|
+
"anyOf": [
|
|
1911
|
+
{
|
|
1912
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundColor/anyOf/0"
|
|
1913
|
+
},
|
|
1914
|
+
{
|
|
1915
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1916
|
+
}
|
|
1917
|
+
]
|
|
1918
|
+
},
|
|
1919
|
+
"fontFamily": {
|
|
1920
|
+
"anyOf": [
|
|
1921
|
+
{
|
|
1922
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontFamily/anyOf/0"
|
|
1923
|
+
},
|
|
1924
|
+
{
|
|
1925
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1926
|
+
}
|
|
1927
|
+
]
|
|
1928
|
+
},
|
|
1929
|
+
"fontSize": {
|
|
1930
|
+
"anyOf": [
|
|
1931
|
+
{
|
|
1932
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1936
|
+
}
|
|
1937
|
+
]
|
|
1938
|
+
},
|
|
1939
|
+
"fontWeight": {
|
|
1940
|
+
"anyOf": [
|
|
1941
|
+
{
|
|
1942
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontWeight/anyOf/0"
|
|
1943
|
+
},
|
|
1944
|
+
{
|
|
1945
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1946
|
+
}
|
|
1947
|
+
]
|
|
1948
|
+
},
|
|
1949
|
+
"fontStyle": {
|
|
1950
|
+
"anyOf": [
|
|
1951
|
+
{
|
|
1952
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/fontStyle/anyOf/0"
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1956
|
+
}
|
|
1957
|
+
]
|
|
1958
|
+
},
|
|
1959
|
+
"textDecoration": {
|
|
1960
|
+
"anyOf": [
|
|
1961
|
+
{
|
|
1962
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textDecoration/anyOf/0"
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1966
|
+
}
|
|
1967
|
+
]
|
|
1968
|
+
},
|
|
1969
|
+
"letterSpacing": {
|
|
1970
|
+
"anyOf": [
|
|
1971
|
+
{
|
|
1972
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
1973
|
+
},
|
|
1974
|
+
{
|
|
1975
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1976
|
+
}
|
|
1977
|
+
]
|
|
1978
|
+
},
|
|
1979
|
+
"textShadow": {
|
|
1980
|
+
"anyOf": [
|
|
1981
|
+
{
|
|
1982
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow/anyOf/0"
|
|
1983
|
+
},
|
|
1984
|
+
{
|
|
1985
|
+
"type": "array",
|
|
1986
|
+
"items": {
|
|
1987
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/textShadow/anyOf/0"
|
|
1988
|
+
}
|
|
1989
|
+
}
|
|
1990
|
+
]
|
|
1991
|
+
}
|
|
1992
|
+
},
|
|
1993
|
+
"additionalProperties": false
|
|
1994
|
+
}
|
|
1995
|
+
},
|
|
1996
|
+
"required": [
|
|
1997
|
+
"text"
|
|
1998
|
+
],
|
|
1999
|
+
"additionalProperties": false
|
|
2000
|
+
},
|
|
2001
|
+
"minItems": 1,
|
|
2002
|
+
"maxItems": 32
|
|
2003
|
+
},
|
|
2004
|
+
"maxLines": {
|
|
2005
|
+
"type": "integer",
|
|
2006
|
+
"minimum": 1,
|
|
2007
|
+
"maximum": 10
|
|
2008
|
+
},
|
|
2009
|
+
"truncate": {
|
|
2010
|
+
"type": "string",
|
|
2011
|
+
"enum": [
|
|
2012
|
+
"ellipsis",
|
|
2013
|
+
"clip"
|
|
2014
|
+
]
|
|
2015
|
+
},
|
|
2016
|
+
"$if": {
|
|
2017
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2018
|
+
},
|
|
1478
2019
|
"style": {
|
|
1479
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2020
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2021
|
+
},
|
|
2022
|
+
"responsive": {
|
|
2023
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1480
2024
|
}
|
|
1481
2025
|
},
|
|
1482
2026
|
"required": [
|
|
1483
|
-
"type"
|
|
1484
|
-
"content"
|
|
2027
|
+
"type"
|
|
1485
2028
|
],
|
|
1486
2029
|
"additionalProperties": false
|
|
1487
2030
|
},
|
|
@@ -1513,8 +2056,14 @@
|
|
|
1513
2056
|
}
|
|
1514
2057
|
]
|
|
1515
2058
|
},
|
|
2059
|
+
"$if": {
|
|
2060
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2061
|
+
},
|
|
1516
2062
|
"style": {
|
|
1517
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2063
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2064
|
+
},
|
|
2065
|
+
"responsive": {
|
|
2066
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1518
2067
|
}
|
|
1519
2068
|
},
|
|
1520
2069
|
"required": [
|
|
@@ -1560,8 +2109,14 @@
|
|
|
1560
2109
|
}
|
|
1561
2110
|
]
|
|
1562
2111
|
},
|
|
2112
|
+
"$if": {
|
|
2113
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2114
|
+
},
|
|
1563
2115
|
"style": {
|
|
1564
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2116
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2117
|
+
},
|
|
2118
|
+
"responsive": {
|
|
2119
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1565
2120
|
}
|
|
1566
2121
|
},
|
|
1567
2122
|
"required": [
|
|
@@ -1581,7 +2136,7 @@
|
|
|
1581
2136
|
"src": {
|
|
1582
2137
|
"anyOf": [
|
|
1583
2138
|
{
|
|
1584
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2139
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/6/properties/src/anyOf/0"
|
|
1585
2140
|
},
|
|
1586
2141
|
{
|
|
1587
2142
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
@@ -1598,8 +2153,14 @@
|
|
|
1598
2153
|
}
|
|
1599
2154
|
]
|
|
1600
2155
|
},
|
|
2156
|
+
"$if": {
|
|
2157
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2158
|
+
},
|
|
1601
2159
|
"style": {
|
|
1602
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2160
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2161
|
+
},
|
|
2162
|
+
"responsive": {
|
|
2163
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1603
2164
|
}
|
|
1604
2165
|
},
|
|
1605
2166
|
"required": [
|
|
@@ -1645,8 +2206,14 @@
|
|
|
1645
2206
|
}
|
|
1646
2207
|
]
|
|
1647
2208
|
},
|
|
2209
|
+
"$if": {
|
|
2210
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2211
|
+
},
|
|
1648
2212
|
"style": {
|
|
1649
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2213
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2214
|
+
},
|
|
2215
|
+
"responsive": {
|
|
2216
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1650
2217
|
}
|
|
1651
2218
|
},
|
|
1652
2219
|
"required": [
|
|
@@ -1663,14 +2230,7 @@
|
|
|
1663
2230
|
"const": "Badge"
|
|
1664
2231
|
},
|
|
1665
2232
|
"label": {
|
|
1666
|
-
"
|
|
1667
|
-
{
|
|
1668
|
-
"type": "string"
|
|
1669
|
-
},
|
|
1670
|
-
{
|
|
1671
|
-
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1672
|
-
}
|
|
1673
|
-
]
|
|
2233
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
1674
2234
|
},
|
|
1675
2235
|
"color": {
|
|
1676
2236
|
"anyOf": [
|
|
@@ -1682,8 +2242,14 @@
|
|
|
1682
2242
|
}
|
|
1683
2243
|
]
|
|
1684
2244
|
},
|
|
2245
|
+
"$if": {
|
|
2246
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2247
|
+
},
|
|
1685
2248
|
"style": {
|
|
1686
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2249
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2250
|
+
},
|
|
2251
|
+
"responsive": {
|
|
2252
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1687
2253
|
}
|
|
1688
2254
|
},
|
|
1689
2255
|
"required": [
|
|
@@ -1700,14 +2266,7 @@
|
|
|
1700
2266
|
"const": "Chip"
|
|
1701
2267
|
},
|
|
1702
2268
|
"label": {
|
|
1703
|
-
"
|
|
1704
|
-
{
|
|
1705
|
-
"type": "string"
|
|
1706
|
-
},
|
|
1707
|
-
{
|
|
1708
|
-
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1709
|
-
}
|
|
1710
|
-
]
|
|
2269
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
1711
2270
|
},
|
|
1712
2271
|
"color": {
|
|
1713
2272
|
"anyOf": [
|
|
@@ -1719,8 +2278,14 @@
|
|
|
1719
2278
|
}
|
|
1720
2279
|
]
|
|
1721
2280
|
},
|
|
2281
|
+
"$if": {
|
|
2282
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2283
|
+
},
|
|
1722
2284
|
"style": {
|
|
1723
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2285
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2286
|
+
},
|
|
2287
|
+
"responsive": {
|
|
2288
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1724
2289
|
}
|
|
1725
2290
|
},
|
|
1726
2291
|
"required": [
|
|
@@ -1756,8 +2321,14 @@
|
|
|
1756
2321
|
}
|
|
1757
2322
|
]
|
|
1758
2323
|
},
|
|
2324
|
+
"$if": {
|
|
2325
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2326
|
+
},
|
|
1759
2327
|
"style": {
|
|
1760
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2328
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2329
|
+
},
|
|
2330
|
+
"responsive": {
|
|
2331
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1761
2332
|
}
|
|
1762
2333
|
},
|
|
1763
2334
|
"required": [
|
|
@@ -1782,8 +2353,14 @@
|
|
|
1782
2353
|
}
|
|
1783
2354
|
]
|
|
1784
2355
|
},
|
|
2356
|
+
"$if": {
|
|
2357
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2358
|
+
},
|
|
1785
2359
|
"style": {
|
|
1786
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2360
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2361
|
+
},
|
|
2362
|
+
"responsive": {
|
|
2363
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1787
2364
|
}
|
|
1788
2365
|
},
|
|
1789
2366
|
"required": [
|
|
@@ -1799,20 +2376,29 @@
|
|
|
1799
2376
|
"const": "Button"
|
|
1800
2377
|
},
|
|
1801
2378
|
"label": {
|
|
2379
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2380
|
+
},
|
|
2381
|
+
"action": {
|
|
2382
|
+
"type": "string"
|
|
2383
|
+
},
|
|
2384
|
+
"disabled": {
|
|
1802
2385
|
"anyOf": [
|
|
1803
2386
|
{
|
|
1804
|
-
"type": "
|
|
2387
|
+
"type": "boolean"
|
|
1805
2388
|
},
|
|
1806
2389
|
{
|
|
1807
2390
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
1808
2391
|
}
|
|
1809
2392
|
]
|
|
1810
2393
|
},
|
|
1811
|
-
"
|
|
1812
|
-
"
|
|
2394
|
+
"$if": {
|
|
2395
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
1813
2396
|
},
|
|
1814
2397
|
"style": {
|
|
1815
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2398
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2399
|
+
},
|
|
2400
|
+
"responsive": {
|
|
2401
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1816
2402
|
}
|
|
1817
2403
|
},
|
|
1818
2404
|
"required": [
|
|
@@ -1842,8 +2428,24 @@
|
|
|
1842
2428
|
"onToggle": {
|
|
1843
2429
|
"type": "string"
|
|
1844
2430
|
},
|
|
2431
|
+
"disabled": {
|
|
2432
|
+
"anyOf": [
|
|
2433
|
+
{
|
|
2434
|
+
"type": "boolean"
|
|
2435
|
+
},
|
|
2436
|
+
{
|
|
2437
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2438
|
+
}
|
|
2439
|
+
]
|
|
2440
|
+
},
|
|
2441
|
+
"$if": {
|
|
2442
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2443
|
+
},
|
|
1845
2444
|
"style": {
|
|
1846
|
-
"$ref": "#/definitions/UGCCard/properties/
|
|
2445
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2446
|
+
},
|
|
2447
|
+
"responsive": {
|
|
2448
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
1847
2449
|
}
|
|
1848
2450
|
},
|
|
1849
2451
|
"required": [
|
|
@@ -1852,8 +2454,148 @@
|
|
|
1852
2454
|
"onToggle"
|
|
1853
2455
|
],
|
|
1854
2456
|
"additionalProperties": false
|
|
2457
|
+
},
|
|
2458
|
+
{
|
|
2459
|
+
"type": "object",
|
|
2460
|
+
"properties": {
|
|
2461
|
+
"type": {
|
|
2462
|
+
"type": "string",
|
|
2463
|
+
"const": "Accordion"
|
|
2464
|
+
},
|
|
2465
|
+
"items": {
|
|
2466
|
+
"type": "array",
|
|
2467
|
+
"items": {
|
|
2468
|
+
"type": "object",
|
|
2469
|
+
"properties": {
|
|
2470
|
+
"id": {
|
|
2471
|
+
"type": "string",
|
|
2472
|
+
"minLength": 1,
|
|
2473
|
+
"maxLength": 64
|
|
2474
|
+
},
|
|
2475
|
+
"label": {
|
|
2476
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2477
|
+
},
|
|
2478
|
+
"content": {
|
|
2479
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
2480
|
+
},
|
|
2481
|
+
"disabled": {
|
|
2482
|
+
"anyOf": [
|
|
2483
|
+
{
|
|
2484
|
+
"type": "boolean"
|
|
2485
|
+
},
|
|
2486
|
+
{
|
|
2487
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2488
|
+
}
|
|
2489
|
+
]
|
|
2490
|
+
}
|
|
2491
|
+
},
|
|
2492
|
+
"required": [
|
|
2493
|
+
"id",
|
|
2494
|
+
"label",
|
|
2495
|
+
"content"
|
|
2496
|
+
],
|
|
2497
|
+
"additionalProperties": false
|
|
2498
|
+
},
|
|
2499
|
+
"minItems": 1,
|
|
2500
|
+
"maxItems": 16
|
|
2501
|
+
},
|
|
2502
|
+
"allowMultiple": {
|
|
2503
|
+
"type": "boolean"
|
|
2504
|
+
},
|
|
2505
|
+
"defaultExpanded": {
|
|
2506
|
+
"type": "array",
|
|
2507
|
+
"items": {
|
|
2508
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2509
|
+
},
|
|
2510
|
+
"maxItems": 16
|
|
2511
|
+
},
|
|
2512
|
+
"$if": {
|
|
2513
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2514
|
+
},
|
|
2515
|
+
"style": {
|
|
2516
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2517
|
+
},
|
|
2518
|
+
"responsive": {
|
|
2519
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2520
|
+
}
|
|
2521
|
+
},
|
|
2522
|
+
"required": [
|
|
2523
|
+
"type",
|
|
2524
|
+
"items"
|
|
2525
|
+
],
|
|
2526
|
+
"additionalProperties": false
|
|
2527
|
+
},
|
|
2528
|
+
{
|
|
2529
|
+
"type": "object",
|
|
2530
|
+
"properties": {
|
|
2531
|
+
"type": {
|
|
2532
|
+
"type": "string",
|
|
2533
|
+
"const": "Tabs"
|
|
2534
|
+
},
|
|
2535
|
+
"tabs": {
|
|
2536
|
+
"type": "array",
|
|
2537
|
+
"items": {
|
|
2538
|
+
"type": "object",
|
|
2539
|
+
"properties": {
|
|
2540
|
+
"id": {
|
|
2541
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2542
|
+
},
|
|
2543
|
+
"label": {
|
|
2544
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/5/properties/content"
|
|
2545
|
+
},
|
|
2546
|
+
"content": {
|
|
2547
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
2548
|
+
},
|
|
2549
|
+
"disabled": {
|
|
2550
|
+
"anyOf": [
|
|
2551
|
+
{
|
|
2552
|
+
"type": "boolean"
|
|
2553
|
+
},
|
|
2554
|
+
{
|
|
2555
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
2556
|
+
}
|
|
2557
|
+
]
|
|
2558
|
+
}
|
|
2559
|
+
},
|
|
2560
|
+
"required": [
|
|
2561
|
+
"id",
|
|
2562
|
+
"label",
|
|
2563
|
+
"content"
|
|
2564
|
+
],
|
|
2565
|
+
"additionalProperties": false
|
|
2566
|
+
},
|
|
2567
|
+
"minItems": 1,
|
|
2568
|
+
"maxItems": 16
|
|
2569
|
+
},
|
|
2570
|
+
"defaultTab": {
|
|
2571
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/16/properties/items/items/properties/id"
|
|
2572
|
+
},
|
|
2573
|
+
"$if": {
|
|
2574
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/$if"
|
|
2575
|
+
},
|
|
2576
|
+
"style": {
|
|
2577
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/style"
|
|
2578
|
+
},
|
|
2579
|
+
"responsive": {
|
|
2580
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive"
|
|
2581
|
+
}
|
|
2582
|
+
},
|
|
2583
|
+
"required": [
|
|
2584
|
+
"type",
|
|
2585
|
+
"tabs"
|
|
2586
|
+
],
|
|
2587
|
+
"additionalProperties": false
|
|
1855
2588
|
}
|
|
1856
2589
|
]
|
|
2590
|
+
},
|
|
2591
|
+
"propertyNames": {
|
|
2592
|
+
"pattern": "^[A-Za-z][A-Za-z0-9_-]*$"
|
|
2593
|
+
}
|
|
2594
|
+
},
|
|
2595
|
+
"views": {
|
|
2596
|
+
"type": "object",
|
|
2597
|
+
"additionalProperties": {
|
|
2598
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/children/anyOf/0/items"
|
|
1857
2599
|
}
|
|
1858
2600
|
}
|
|
1859
2601
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-ugc-ui/schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "1.0.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": "0.
|
|
19
|
+
"@safe-ugc-ui/types": "1.0.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0"
|