@dcl/playground-assets 7.24.4-28553021180.commit-e8ab68c → 7.24.4-28656241733.commit-c65544e

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.
@@ -1293,7 +1293,6 @@ declare module "~system/RestrictedActions" {
1293
1293
  }
1294
1294
  export interface TriggerEmoteRequest {
1295
1295
  predefinedEmote: string;
1296
- mask?: number | undefined;
1297
1296
  }
1298
1297
  export interface ChangeRealmRequest {
1299
1298
  realm: string;
@@ -1313,7 +1312,6 @@ declare module "~system/RestrictedActions" {
1313
1312
  export interface TriggerSceneEmoteRequest {
1314
1313
  src: string;
1315
1314
  loop?: boolean | undefined;
1316
- mask?: number | undefined;
1317
1315
  }
1318
1316
  export interface SuccessResponse {
1319
1317
  success: boolean;
@@ -1329,8 +1327,6 @@ declare module "~system/RestrictedActions" {
1329
1327
  text: string;
1330
1328
  }
1331
1329
  export interface EmptyResponse {
1332
- }
1333
- export interface StopEmoteRequest {
1334
1330
  }
1335
1331
 
1336
1332
  // Function declaration section
@@ -1359,8 +1355,6 @@ declare module "~system/RestrictedActions" {
1359
1355
  export function triggerSceneEmote(body: TriggerSceneEmoteRequest): Promise<SuccessResponse>;
1360
1356
  /** CopyToClipboard copies the provided text into the clipboard */
1361
1357
  export function copyToClipboard(body: CopyToClipboardRequest): Promise<EmptyResponse>;
1362
- /** StopEmote will stop the current emote */
1363
- export function stopEmote(body: StopEmoteRequest): Promise<SuccessResponse>;
1364
1358
 
1365
1359
  }
1366
1360
  /**
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.24.4-28553021180.commit-e8ab68c",
4
+ "version": "7.24.4-28656241733.commit-c65544e",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
7
  "@dcl/ecs": "file:../ecs",
@@ -35,5 +35,5 @@
35
35
  },
36
36
  "types": "./index.d.ts",
37
37
  "typings": "./index.d.ts",
38
- "commit": "e8ab68c18f53041c643a4971478eff00a29aa732"
38
+ "commit": "c65544e970e6bc383df8954be6ef562616ef892b"
39
39
  }
@@ -263,15 +263,6 @@ export declare const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAva
263
263
  /** @public */
264
264
  export declare const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
265
265
 
266
- /** Mask for which bones an animation applies to. */
267
- /**
268
- * @public
269
- */
270
- export declare const enum AvatarEmoteMask {
271
- AEM_FULL_BODY = 0,
272
- AEM_UPPER_BODY = 1
273
- }
274
-
275
266
  /** @public */
276
267
  export declare const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
277
268
 
@@ -289,9 +280,7 @@ export declare const enum AvatarModifierType {
289
280
  /** AMT_HIDE_AVATARS - avatars are invisible */
290
281
  AMT_HIDE_AVATARS = 0,
291
282
  /** AMT_DISABLE_PASSPORTS - selecting (e.g. clicking) an avatar will not bring up their profile. */
292
- AMT_DISABLE_PASSPORTS = 1,
293
- /** AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden. */
294
- AMT_HIDE_NAMETAGS = 2
283
+ AMT_DISABLE_PASSPORTS = 1
295
284
  }
296
285
 
297
286
  /** @public */
@@ -2870,6 +2859,28 @@ export declare type InstanceCompositeOptions = {
2870
2859
  alreadyRequestedSrc?: Set<string>;
2871
2860
  };
2872
2861
 
2862
+ /**
2863
+ *
2864
+ * @public
2865
+ * InteractableArea component
2866
+ *
2867
+ * Constrains its children to the area inside the renderer-reported interactable
2868
+ * area. This is the portion of the screen not covered by client UI such as the
2869
+ * minimap, chat window, or other platform overlays. On the Unity desktop client
2870
+ * the left 25% of the screen is reserved for client UI, so this container
2871
+ * positions its children within the remaining 75%.
2872
+ *
2873
+ * The container is absolutely positioned with top/left/right/bottom matching
2874
+ * the current `UiCanvasInformation.interactableArea`, so a child sized
2875
+ * 100%x100% fills the interactable area exactly.
2876
+ *
2877
+ * @example
2878
+ * <InteractableArea><MyHud /></InteractableArea>
2879
+ *
2880
+ * @category Component
2881
+ */
2882
+ export declare function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
2883
+
2873
2884
  /**
2874
2885
  * @public
2875
2886
  */
@@ -6960,7 +6971,6 @@ export declare namespace PBVideoPlayer {
6960
6971
  * an 'instant' transition (like using speed/time = 0)
6961
6972
  * * The lookAtEntity defines to which entity the Camera has to look at constantly (independent from
6962
6973
  * the holding entity transform).
6963
- * * The fov defines the Field of View of the virtual camera
6964
6974
  */
6965
6975
  /**
6966
6976
  * @public
@@ -6968,8 +6978,6 @@ export declare namespace PBVideoPlayer {
6968
6978
  export declare interface PBVirtualCamera {
6969
6979
  defaultTransition?: CameraTransition | undefined;
6970
6980
  lookAtEntity?: number | undefined;
6971
- /** default: 60 */
6972
- fov?: number | undefined;
6973
6981
  }
6974
6982
 
6975
6983
  /**
@@ -9457,6 +9465,29 @@ export declare interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlig
9457
9465
  /** @public */
9458
9466
  export declare const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
9459
9467
 
9468
+ /**
9469
+ * InteractableArea component props
9470
+ *
9471
+ * The container reads the current `interactableArea` reported by the renderer
9472
+ * via `UiCanvasInformation` (the HUD-safe zone — the portion of the screen not
9473
+ * covered by client UI such as the minimap, chat window, or other overlays) and
9474
+ * constrains its children to the area inside those insets using absolute
9475
+ * positioning. Layout props that control the container's own position
9476
+ * (`positionType`, `position`) are owned by the component and are not
9477
+ * configurable from props — every other layout, background and event prop is
9478
+ * forwarded as usual.
9479
+ *
9480
+ * @public
9481
+ */
9482
+ export declare type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
9483
+ /**
9484
+ * Layout overrides forwarded to the underlying entity. The
9485
+ * `positionType` and `position` fields are reserved by the container and
9486
+ * any value provided here is ignored.
9487
+ */
9488
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
9489
+ };
9490
+
9460
9491
  /**
9461
9492
  * Label component props
9462
9493
  * @public
@@ -2616,65 +2616,6 @@
2616
2616
  "endIndex": 5
2617
2617
  }
2618
2618
  },
2619
- {
2620
- "kind": "Enum",
2621
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask:enum",
2622
- "docComment": "/**\n * @public\n */\n",
2623
- "excerptTokens": [
2624
- {
2625
- "kind": "Content",
2626
- "text": "export declare const enum AvatarEmoteMask "
2627
- }
2628
- ],
2629
- "fileUrlPath": "../ecs/dist/components/generated/pb/decentraland/sdk/components/avatar_shape.gen.d.ts",
2630
- "releaseTag": "Public",
2631
- "name": "AvatarEmoteMask",
2632
- "preserveMemberOrder": false,
2633
- "members": [
2634
- {
2635
- "kind": "EnumMember",
2636
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_FULL_BODY:member",
2637
- "docComment": "",
2638
- "excerptTokens": [
2639
- {
2640
- "kind": "Content",
2641
- "text": "AEM_FULL_BODY = "
2642
- },
2643
- {
2644
- "kind": "Content",
2645
- "text": "0"
2646
- }
2647
- ],
2648
- "initializerTokenRange": {
2649
- "startIndex": 1,
2650
- "endIndex": 2
2651
- },
2652
- "releaseTag": "Public",
2653
- "name": "AEM_FULL_BODY"
2654
- },
2655
- {
2656
- "kind": "EnumMember",
2657
- "canonicalReference": "@dcl/playground-assets!AvatarEmoteMask.AEM_UPPER_BODY:member",
2658
- "docComment": "",
2659
- "excerptTokens": [
2660
- {
2661
- "kind": "Content",
2662
- "text": "AEM_UPPER_BODY = "
2663
- },
2664
- {
2665
- "kind": "Content",
2666
- "text": "1"
2667
- }
2668
- ],
2669
- "initializerTokenRange": {
2670
- "startIndex": 1,
2671
- "endIndex": 2
2672
- },
2673
- "releaseTag": "Public",
2674
- "name": "AEM_UPPER_BODY"
2675
- }
2676
- ]
2677
- },
2678
2619
  {
2679
2620
  "kind": "Variable",
2680
2621
  "canonicalReference": "@dcl/playground-assets!AvatarEquippedData:var",
@@ -2842,27 +2783,6 @@
2842
2783
  },
2843
2784
  "releaseTag": "Public",
2844
2785
  "name": "AMT_HIDE_AVATARS"
2845
- },
2846
- {
2847
- "kind": "EnumMember",
2848
- "canonicalReference": "@dcl/playground-assets!AvatarModifierType.AMT_HIDE_NAMETAGS:member",
2849
- "docComment": "/**\n * AMT_HIDE_NAMETAGS - the name tag displayed above an avatar is hidden.\n */\n",
2850
- "excerptTokens": [
2851
- {
2852
- "kind": "Content",
2853
- "text": "AMT_HIDE_NAMETAGS = "
2854
- },
2855
- {
2856
- "kind": "Content",
2857
- "text": "2"
2858
- }
2859
- ],
2860
- "initializerTokenRange": {
2861
- "startIndex": 1,
2862
- "endIndex": 2
2863
- },
2864
- "releaseTag": "Public",
2865
- "name": "AMT_HIDE_NAMETAGS"
2866
2786
  }
2867
2787
  ]
2868
2788
  },
@@ -25865,6 +25785,53 @@
25865
25785
  "endIndex": 16
25866
25786
  }
25867
25787
  },
25788
+ {
25789
+ "kind": "Function",
25790
+ "canonicalReference": "@dcl/playground-assets!InteractableArea:function(1)",
25791
+ "docComment": "/**\n * InteractableArea component\n *\n * Constrains its children to the area inside the renderer-reported interactable area. This is the portion of the screen not covered by client UI such as the minimap, chat window, or other platform overlays. On the Unity desktop client the left 25% of the screen is reserved for client UI, so this container positions its children within the remaining 75%.\n *\n * The container is absolutely positioned with top/left/right/bottom matching the current `UiCanvasInformation.interactableArea`, so a child sized 100%x100% fills the interactable area exactly.\n *\n * @example\n *\n * <InteractableArea><MyHud /></InteractableArea>\n *\n * @category Component\n *\n * @public\n */\n",
25792
+ "excerptTokens": [
25793
+ {
25794
+ "kind": "Content",
25795
+ "text": "export declare function InteractableArea(props: "
25796
+ },
25797
+ {
25798
+ "kind": "Reference",
25799
+ "text": "UiInteractableAreaProps",
25800
+ "canonicalReference": "@dcl/playground-assets!UiInteractableAreaProps:type"
25801
+ },
25802
+ {
25803
+ "kind": "Content",
25804
+ "text": "): "
25805
+ },
25806
+ {
25807
+ "kind": "Reference",
25808
+ "text": "ReactEcs.JSX.Element",
25809
+ "canonicalReference": "@dcl/playground-assets!ReactEcs.JSX.Element:interface"
25810
+ },
25811
+ {
25812
+ "kind": "Content",
25813
+ "text": ";"
25814
+ }
25815
+ ],
25816
+ "fileUrlPath": "../react-ecs/dist/components/InteractableArea/index.d.ts",
25817
+ "returnTypeTokenRange": {
25818
+ "startIndex": 3,
25819
+ "endIndex": 4
25820
+ },
25821
+ "releaseTag": "Public",
25822
+ "overloadIndex": 1,
25823
+ "parameters": [
25824
+ {
25825
+ "parameterName": "props",
25826
+ "parameterTypeTokenRange": {
25827
+ "startIndex": 1,
25828
+ "endIndex": 2
25829
+ },
25830
+ "isOptional": false
25831
+ }
25832
+ ],
25833
+ "name": "InteractableArea"
25834
+ },
25868
25835
  {
25869
25836
  "kind": "Enum",
25870
25837
  "canonicalReference": "@dcl/playground-assets!InteractionType:enum",
@@ -67913,33 +67880,6 @@
67913
67880
  "endIndex": 3
67914
67881
  }
67915
67882
  },
67916
- {
67917
- "kind": "PropertySignature",
67918
- "canonicalReference": "@dcl/playground-assets!PBVirtualCamera#fov:member",
67919
- "docComment": "/**\n * default: 60\n */\n",
67920
- "excerptTokens": [
67921
- {
67922
- "kind": "Content",
67923
- "text": "fov?: "
67924
- },
67925
- {
67926
- "kind": "Content",
67927
- "text": "number | undefined"
67928
- },
67929
- {
67930
- "kind": "Content",
67931
- "text": ";"
67932
- }
67933
- ],
67934
- "isReadonly": false,
67935
- "isOptional": true,
67936
- "releaseTag": "Public",
67937
- "name": "fov",
67938
- "propertyTypeTokenRange": {
67939
- "startIndex": 1,
67940
- "endIndex": 2
67941
- }
67942
- },
67943
67883
  {
67944
67884
  "kind": "PropertySignature",
67945
67885
  "canonicalReference": "@dcl/playground-assets!PBVirtualCamera#lookAtEntity:member",
@@ -89319,6 +89259,73 @@
89319
89259
  "endIndex": 5
89320
89260
  }
89321
89261
  },
89262
+ {
89263
+ "kind": "TypeAlias",
89264
+ "canonicalReference": "@dcl/playground-assets!UiInteractableAreaProps:type",
89265
+ "docComment": "/**\n * InteractableArea component props\n *\n * The container reads the current `interactableArea` reported by the renderer via `UiCanvasInformation` (the HUD-safe zone — the portion of the screen not covered by client UI such as the minimap, chat window, or other overlays) and constrains its children to the area inside those insets using absolute positioning. Layout props that control the container's own position (`positionType`, `position`) are owned by the component and are not configurable from props — every other layout, background and event prop is forwarded as usual.\n *\n * @public\n */\n",
89266
+ "excerptTokens": [
89267
+ {
89268
+ "kind": "Content",
89269
+ "text": "export type UiInteractableAreaProps = "
89270
+ },
89271
+ {
89272
+ "kind": "Reference",
89273
+ "text": "Omit",
89274
+ "canonicalReference": "!Omit:type"
89275
+ },
89276
+ {
89277
+ "kind": "Content",
89278
+ "text": "<"
89279
+ },
89280
+ {
89281
+ "kind": "Reference",
89282
+ "text": "EntityPropTypes",
89283
+ "canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
89284
+ },
89285
+ {
89286
+ "kind": "Content",
89287
+ "text": ", 'uiTransform'> & {\n uiTransform?: "
89288
+ },
89289
+ {
89290
+ "kind": "Reference",
89291
+ "text": "Omit",
89292
+ "canonicalReference": "!Omit:type"
89293
+ },
89294
+ {
89295
+ "kind": "Content",
89296
+ "text": "<"
89297
+ },
89298
+ {
89299
+ "kind": "Reference",
89300
+ "text": "NonNullable",
89301
+ "canonicalReference": "!NonNullable:type"
89302
+ },
89303
+ {
89304
+ "kind": "Content",
89305
+ "text": "<"
89306
+ },
89307
+ {
89308
+ "kind": "Reference",
89309
+ "text": "EntityPropTypes",
89310
+ "canonicalReference": "@dcl/playground-assets!EntityPropTypes:interface"
89311
+ },
89312
+ {
89313
+ "kind": "Content",
89314
+ "text": "['uiTransform']>, 'positionType' | 'position'>;\n}"
89315
+ },
89316
+ {
89317
+ "kind": "Content",
89318
+ "text": ";"
89319
+ }
89320
+ ],
89321
+ "fileUrlPath": "../react-ecs/dist/components/InteractableArea/types.d.ts",
89322
+ "releaseTag": "Public",
89323
+ "name": "UiInteractableAreaProps",
89324
+ "typeTokenRange": {
89325
+ "startIndex": 1,
89326
+ "endIndex": 11
89327
+ }
89328
+ },
89322
89329
  {
89323
89330
  "kind": "Interface",
89324
89331
  "canonicalReference": "@dcl/playground-assets!UiLabelProps:interface",
@@ -184,14 +184,6 @@ export const AvatarBase: LastWriteWinElementSetComponentDefinition<PBAvatarBase>
184
184
  // @public (undocumented)
185
185
  export const AvatarEmoteCommand: GrowOnlyValueSetComponentDefinition<PBAvatarEmoteCommand>;
186
186
 
187
- // @public (undocumented)
188
- export const enum AvatarEmoteMask {
189
- // (undocumented)
190
- AEM_FULL_BODY = 0,
191
- // (undocumented)
192
- AEM_UPPER_BODY = 1
193
- }
194
-
195
187
  // @public (undocumented)
196
188
  export const AvatarEquippedData: LastWriteWinElementSetComponentDefinition<PBAvatarEquippedData>;
197
189
 
@@ -204,8 +196,7 @@ export const AvatarModifierArea: LastWriteWinElementSetComponentDefinition<PBAva
204
196
  // @public (undocumented)
205
197
  export const enum AvatarModifierType {
206
198
  AMT_DISABLE_PASSPORTS = 1,
207
- AMT_HIDE_AVATARS = 0,
208
- AMT_HIDE_NAMETAGS = 2
199
+ AMT_HIDE_AVATARS = 0
209
200
  }
210
201
 
211
202
  // @public (undocumented)
@@ -1628,6 +1619,11 @@ export type InstanceCompositeOptions = {
1628
1619
  alreadyRequestedSrc?: Set<string>;
1629
1620
  };
1630
1621
 
1622
+ // Warning: (tsdoc-undefined-tag) The TSDoc tag "@category" is not defined in this configuration
1623
+ //
1624
+ // @public
1625
+ export function InteractableArea(props: UiInteractableAreaProps): ReactEcs.JSX.Element;
1626
+
1631
1627
  // @public (undocumented)
1632
1628
  export const enum InteractionType {
1633
1629
  // (undocumented)
@@ -4051,7 +4047,6 @@ export namespace PBVideoPlayer {
4051
4047
  export interface PBVirtualCamera {
4052
4048
  // (undocumented)
4053
4049
  defaultTransition?: CameraTransition | undefined;
4054
- fov?: number | undefined;
4055
4050
  // (undocumented)
4056
4051
  lookAtEntity?: number | undefined;
4057
4052
  }
@@ -5310,6 +5305,11 @@ export interface UiInputProps extends Omit<PBUiInput, 'font' | 'textAlign' | 'fo
5310
5305
  // @public (undocumented)
5311
5306
  export const UiInputResult: LastWriteWinElementSetComponentDefinition<PBUiInputResult>;
5312
5307
 
5308
+ // @public
5309
+ export type UiInteractableAreaProps = Omit<EntityPropTypes, 'uiTransform'> & {
5310
+ uiTransform?: Omit<NonNullable<EntityPropTypes['uiTransform']>, 'positionType' | 'position'>;
5311
+ };
5312
+
5313
5313
  // @public
5314
5314
  export interface UiLabelProps {
5315
5315
  color?: PBColor4 | undefined;
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.24.4-28553021180.commit-e8ab68c",
4
+ "version": "7.24.4-28656241733.commit-c65544e",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.24.4-28553021180.commit-e8ab68c",
8
- "@dcl/sdk": "7.24.4-28553021180.commit-e8ab68c"
7
+ "@dcl/js-runtime": "7.24.4-28656241733.commit-c65544e",
8
+ "@dcl/sdk": "7.24.4-28656241733.commit-c65544e"
9
9
  },
10
10
  "devDependencies": {
11
11
  "@microsoft/api-extractor": "^7.33.8"
@@ -32,5 +32,5 @@
32
32
  },
33
33
  "types": "./dist/index.d.ts",
34
34
  "typings": "./dist/index.d.ts",
35
- "commit": "e8ab68c18f53041c643a4971478eff00a29aa732"
35
+ "commit": "c65544e970e6bc383df8954be6ef562616ef892b"
36
36
  }