@safe-ugc-ui/schema 0.2.0 → 0.3.1
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 +39 -0
- package/package.json +2 -2
|
@@ -884,6 +884,39 @@
|
|
|
884
884
|
"left": {
|
|
885
885
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gap/anyOf/0"
|
|
886
886
|
},
|
|
887
|
+
"objectFit": {
|
|
888
|
+
"anyOf": [
|
|
889
|
+
{
|
|
890
|
+
"type": "string",
|
|
891
|
+
"enum": [
|
|
892
|
+
"cover",
|
|
893
|
+
"contain",
|
|
894
|
+
"fill",
|
|
895
|
+
"none",
|
|
896
|
+
"scale-down"
|
|
897
|
+
]
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
|
|
904
|
+
}
|
|
905
|
+
]
|
|
906
|
+
},
|
|
907
|
+
"objectPosition": {
|
|
908
|
+
"anyOf": [
|
|
909
|
+
{
|
|
910
|
+
"type": "string"
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/1"
|
|
914
|
+
},
|
|
915
|
+
{
|
|
916
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/display/anyOf/2"
|
|
917
|
+
}
|
|
918
|
+
]
|
|
919
|
+
},
|
|
887
920
|
"gridTemplateColumns": {
|
|
888
921
|
"anyOf": [
|
|
889
922
|
{
|
|
@@ -1104,6 +1137,12 @@
|
|
|
1104
1137
|
"left": {
|
|
1105
1138
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/left"
|
|
1106
1139
|
},
|
|
1140
|
+
"objectFit": {
|
|
1141
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/objectFit"
|
|
1142
|
+
},
|
|
1143
|
+
"objectPosition": {
|
|
1144
|
+
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/objectPosition"
|
|
1145
|
+
},
|
|
1107
1146
|
"gridTemplateColumns": {
|
|
1108
1147
|
"$ref": "#/definitions/UGCCard/properties/styles/additionalProperties/properties/gridTemplateColumns"
|
|
1109
1148
|
},
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@safe-ugc-ui/schema",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.3.1",
|
|
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": "0.3.1"
|
|
20
20
|
},
|
|
21
21
|
"devDependencies": {
|
|
22
22
|
"@types/node": "^22.0.0"
|