@safe-ugc-ui/schema 1.0.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 +156 -1
- package/package.json +2 -2
|
@@ -656,6 +656,16 @@
|
|
|
656
656
|
}
|
|
657
657
|
]
|
|
658
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
|
+
},
|
|
659
669
|
"backgroundGradient": {
|
|
660
670
|
"anyOf": [
|
|
661
671
|
{
|
|
@@ -1006,6 +1016,136 @@
|
|
|
1006
1016
|
},
|
|
1007
1017
|
"additionalProperties": false
|
|
1008
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
|
+
},
|
|
1009
1149
|
"overflow": {
|
|
1010
1150
|
"type": "string",
|
|
1011
1151
|
"enum": [
|
|
@@ -1233,6 +1373,9 @@
|
|
|
1233
1373
|
"opacity": {
|
|
1234
1374
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
|
|
1235
1375
|
},
|
|
1376
|
+
"backdropBlur": {
|
|
1377
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backdropBlur"
|
|
1378
|
+
},
|
|
1236
1379
|
"backgroundGradient": {
|
|
1237
1380
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
|
|
1238
1381
|
},
|
|
@@ -1260,6 +1403,9 @@
|
|
|
1260
1403
|
"transform": {
|
|
1261
1404
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
|
|
1262
1405
|
},
|
|
1406
|
+
"clipPath": {
|
|
1407
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/clipPath"
|
|
1408
|
+
},
|
|
1263
1409
|
"overflow": {
|
|
1264
1410
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
|
|
1265
1411
|
},
|
|
@@ -1529,7 +1675,7 @@
|
|
|
1529
1675
|
"responsive": {
|
|
1530
1676
|
"type": "object",
|
|
1531
1677
|
"properties": {
|
|
1532
|
-
"
|
|
1678
|
+
"medium": {
|
|
1533
1679
|
"type": "object",
|
|
1534
1680
|
"properties": {
|
|
1535
1681
|
"display": {
|
|
@@ -1655,6 +1801,9 @@
|
|
|
1655
1801
|
"opacity": {
|
|
1656
1802
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/opacity"
|
|
1657
1803
|
},
|
|
1804
|
+
"backdropBlur": {
|
|
1805
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backdropBlur"
|
|
1806
|
+
},
|
|
1658
1807
|
"backgroundGradient": {
|
|
1659
1808
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/backgroundGradient"
|
|
1660
1809
|
},
|
|
@@ -1682,6 +1831,9 @@
|
|
|
1682
1831
|
"transform": {
|
|
1683
1832
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/transform"
|
|
1684
1833
|
},
|
|
1834
|
+
"clipPath": {
|
|
1835
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/clipPath"
|
|
1836
|
+
},
|
|
1685
1837
|
"overflow": {
|
|
1686
1838
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/overflow"
|
|
1687
1839
|
},
|
|
@@ -1726,6 +1878,9 @@
|
|
|
1726
1878
|
}
|
|
1727
1879
|
},
|
|
1728
1880
|
"additionalProperties": false
|
|
1881
|
+
},
|
|
1882
|
+
"compact": {
|
|
1883
|
+
"$ref": "#/definitions/UGCCard/properties/fragments/additionalProperties/anyOf/0/properties/responsive/properties/medium"
|
|
1729
1884
|
}
|
|
1730
1885
|
},
|
|
1731
1886
|
"additionalProperties": false
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-ugc-ui/schema",
|
|
3
|
-
"version": "1.
|
|
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": "1.
|
|
19
|
+
"@safe-ugc-ui/types": "1.1.0"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0"
|