@dcl/playground-assets 7.1.2 → 7.1.3-4448471926.commit-264de76
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/alpha.d.ts +37 -10
- package/dist/beta.d.ts +37 -10
- package/dist/index.bundled.d.ts +37 -10
- package/dist/index.js +730 -65
- package/dist/index.js.map +1 -1
- package/dist/index.min.js +1 -1
- package/dist/index.min.js.map +1 -1
- package/dist/playground/sdk/dcl-sdk.package.json +2 -2
- package/dist/playground-assets.d.ts +37 -10
- package/etc/playground-assets.api.json +371 -29
- package/etc/playground-assets.api.md +46 -10
- package/package.json +3 -3
package/dist/alpha.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
schema?: JsonSchemaExtended;
|
|
1139
|
-
data: Map<Entity, unknown>;
|
|
1140
|
-
}[];
|
|
1141
|
-
};
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1142
1150
|
|
|
1143
1151
|
/**
|
|
1144
1152
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1153
|
*/
|
|
1147
|
-
export declare
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|
|
@@ -4986,6 +5009,10 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4986
5009
|
* Use any of the available button style types to create a styled button.
|
|
4987
5010
|
*/
|
|
4988
5011
|
variant?: 'primary' | 'secondary';
|
|
5012
|
+
/**
|
|
5013
|
+
* Enable or disable the pointer events on the button
|
|
5014
|
+
*/
|
|
5015
|
+
disabled?: boolean;
|
|
4989
5016
|
}
|
|
4990
5017
|
|
|
4991
5018
|
/**
|
package/dist/beta.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
schema?: JsonSchemaExtended;
|
|
1139
|
-
data: Map<Entity, unknown>;
|
|
1140
|
-
}[];
|
|
1141
|
-
};
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1142
1150
|
|
|
1143
1151
|
/**
|
|
1144
1152
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1153
|
*/
|
|
1147
|
-
export declare
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|
|
@@ -4982,6 +5005,10 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4982
5005
|
* Use any of the available button style types to create a styled button.
|
|
4983
5006
|
*/
|
|
4984
5007
|
variant?: 'primary' | 'secondary';
|
|
5008
|
+
/**
|
|
5009
|
+
* Enable or disable the pointer events on the button
|
|
5010
|
+
*/
|
|
5011
|
+
disabled?: boolean;
|
|
4985
5012
|
}
|
|
4986
5013
|
|
|
4987
5014
|
/**
|
package/dist/index.bundled.d.ts
CHANGED
|
@@ -1080,6 +1080,19 @@ export declare type Color4Type = {
|
|
|
1080
1080
|
a: number;
|
|
1081
1081
|
};
|
|
1082
1082
|
|
|
1083
|
+
/**
|
|
1084
|
+
* @public
|
|
1085
|
+
*/
|
|
1086
|
+
export declare interface ComponentData {
|
|
1087
|
+
data?: {
|
|
1088
|
+
$case: "json";
|
|
1089
|
+
json: any | undefined;
|
|
1090
|
+
} | {
|
|
1091
|
+
$case: "binary";
|
|
1092
|
+
binary: Uint8Array;
|
|
1093
|
+
};
|
|
1094
|
+
}
|
|
1095
|
+
|
|
1083
1096
|
/**
|
|
1084
1097
|
* @public
|
|
1085
1098
|
*/
|
|
@@ -1129,22 +1142,32 @@ export declare const enum ComponentType {
|
|
|
1129
1142
|
|
|
1130
1143
|
/**
|
|
1131
1144
|
* @public
|
|
1132
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1133
1145
|
*/
|
|
1134
|
-
export declare
|
|
1146
|
+
export declare interface Composite {
|
|
1135
1147
|
id: string;
|
|
1136
|
-
components:
|
|
1137
|
-
|
|
1138
|
-
schema?: JsonSchemaExtended;
|
|
1139
|
-
data: Map<Entity, unknown>;
|
|
1140
|
-
}[];
|
|
1141
|
-
};
|
|
1148
|
+
components: CompositeComponent[];
|
|
1149
|
+
}
|
|
1142
1150
|
|
|
1143
1151
|
/**
|
|
1144
1152
|
* @public
|
|
1145
|
-
* @deprecated composite is not being supported so far, please do not use this feature
|
|
1146
1153
|
*/
|
|
1147
|
-
export declare
|
|
1154
|
+
export declare interface CompositeComponent {
|
|
1155
|
+
name: string;
|
|
1156
|
+
jsonSchema: any | undefined;
|
|
1157
|
+
data: Map<number, ComponentData>;
|
|
1158
|
+
}
|
|
1159
|
+
|
|
1160
|
+
/**
|
|
1161
|
+
* @public
|
|
1162
|
+
*/
|
|
1163
|
+
export declare interface CompositeComponent_DataEntry {
|
|
1164
|
+
key: number;
|
|
1165
|
+
value: ComponentData | undefined;
|
|
1166
|
+
}
|
|
1167
|
+
|
|
1168
|
+
export declare function compositeFromBinary(buffer: Uint8Array): Composite;
|
|
1169
|
+
|
|
1170
|
+
export declare function compositeFromJson(object: any): Composite;
|
|
1148
1171
|
|
|
1149
1172
|
/**
|
|
1150
1173
|
* @public
|
|
@@ -4982,6 +5005,10 @@ export declare interface UiButtonProps extends UiLabelProps, EntityPropTypes {
|
|
|
4982
5005
|
* Use any of the available button style types to create a styled button.
|
|
4983
5006
|
*/
|
|
4984
5007
|
variant?: 'primary' | 'secondary';
|
|
5008
|
+
/**
|
|
5009
|
+
* Enable or disable the pointer events on the button
|
|
5010
|
+
*/
|
|
5011
|
+
disabled?: boolean;
|
|
4985
5012
|
}
|
|
4986
5013
|
|
|
4987
5014
|
/**
|