@dcl/playground-assets 7.6.4 → 7.6.5-11612701565.commit-a53af9d

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.
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@dcl/sdk",
3
3
  "description": "",
4
- "version": "7.6.4",
4
+ "version": "7.6.5-11612701565.commit-a53af9d",
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": "48941ef221bcf9900694421bf7f0d037e74cd2ac"
38
+ "commit": "a53af9d3a32fea1347c60b1eec0b52967e47d386"
39
39
  }
@@ -1957,6 +1957,7 @@ export declare type EventSystemOptions = {
1957
1957
  hoverText?: string;
1958
1958
  maxDistance?: number;
1959
1959
  showFeedback?: boolean;
1960
+ showHighlight?: boolean;
1960
1961
  };
1961
1962
 
1962
1963
  /**
@@ -2025,6 +2026,8 @@ export declare function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEnti
2025
2026
  */
2026
2027
  export declare function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
2027
2028
 
2029
+ export declare const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
2030
+
2028
2031
  export declare type GlobalDirectionRaycastOptions = RaycastSystemOptions & GlobalDirectionRaycastSystemOptions;
2029
2032
 
2030
2033
  export declare type GlobalDirectionRaycastSystemOptions = {
@@ -4925,8 +4928,10 @@ export declare interface PBPointerEvents_Info {
4925
4928
  hoverText?: string | undefined;
4926
4929
  /** range of interaction (default 10) */
4927
4930
  maxDistance?: number | undefined;
4928
- /** enable or disable hover text (default true) */
4931
+ /** enable or disable hover text and highlight (default true) */
4929
4932
  showFeedback?: boolean | undefined;
4933
+ /** enable or disable hover highlight (default true) */
4934
+ showHighlight?: boolean | undefined;
4930
4935
  }
4931
4936
 
4932
4937
  /**
@@ -18961,7 +18961,7 @@
18961
18961
  },
18962
18962
  {
18963
18963
  "kind": "Content",
18964
- "text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n}"
18964
+ "text": ";\n hoverText?: string;\n maxDistance?: number;\n showFeedback?: boolean;\n showHighlight?: boolean;\n}"
18965
18965
  },
18966
18966
  {
18967
18967
  "kind": "Content",
@@ -19412,6 +19412,62 @@
19412
19412
  ],
19413
19413
  "name": "getCompositeRootComponent"
19414
19414
  },
19415
+ {
19416
+ "kind": "Function",
19417
+ "canonicalReference": "@dcl/playground-assets!getDefaultOpts:function(1)",
19418
+ "docComment": "",
19419
+ "excerptTokens": [
19420
+ {
19421
+ "kind": "Content",
19422
+ "text": "getDefaultOpts: (opts?: "
19423
+ },
19424
+ {
19425
+ "kind": "Reference",
19426
+ "text": "Partial",
19427
+ "canonicalReference": "!Partial:type"
19428
+ },
19429
+ {
19430
+ "kind": "Content",
19431
+ "text": "<"
19432
+ },
19433
+ {
19434
+ "kind": "Reference",
19435
+ "text": "EventSystemOptions",
19436
+ "canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
19437
+ },
19438
+ {
19439
+ "kind": "Content",
19440
+ "text": ">"
19441
+ },
19442
+ {
19443
+ "kind": "Content",
19444
+ "text": ") => "
19445
+ },
19446
+ {
19447
+ "kind": "Reference",
19448
+ "text": "EventSystemOptions",
19449
+ "canonicalReference": "@dcl/playground-assets!EventSystemOptions:type"
19450
+ }
19451
+ ],
19452
+ "fileUrlPath": "../ecs/dist/systems/events.d.ts",
19453
+ "returnTypeTokenRange": {
19454
+ "startIndex": 6,
19455
+ "endIndex": 7
19456
+ },
19457
+ "releaseTag": "Public",
19458
+ "overloadIndex": 1,
19459
+ "parameters": [
19460
+ {
19461
+ "parameterName": "opts",
19462
+ "parameterTypeTokenRange": {
19463
+ "startIndex": 1,
19464
+ "endIndex": 5
19465
+ },
19466
+ "isOptional": true
19467
+ }
19468
+ ],
19469
+ "name": "getDefaultOpts"
19470
+ },
19415
19471
  {
19416
19472
  "kind": "TypeAlias",
19417
19473
  "canonicalReference": "@dcl/playground-assets!GlobalDirectionRaycastOptions:type",
@@ -45576,7 +45632,7 @@
45576
45632
  {
45577
45633
  "kind": "PropertySignature",
45578
45634
  "canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#showFeedback:member",
45579
- "docComment": "/**\n * enable or disable hover text (default true)\n */\n",
45635
+ "docComment": "/**\n * enable or disable hover text and highlight (default true)\n */\n",
45580
45636
  "excerptTokens": [
45581
45637
  {
45582
45638
  "kind": "Content",
@@ -45599,6 +45655,33 @@
45599
45655
  "startIndex": 1,
45600
45656
  "endIndex": 2
45601
45657
  }
45658
+ },
45659
+ {
45660
+ "kind": "PropertySignature",
45661
+ "canonicalReference": "@dcl/playground-assets!PBPointerEvents_Info#showHighlight:member",
45662
+ "docComment": "/**\n * enable or disable hover highlight (default true)\n */\n",
45663
+ "excerptTokens": [
45664
+ {
45665
+ "kind": "Content",
45666
+ "text": "showHighlight?: "
45667
+ },
45668
+ {
45669
+ "kind": "Content",
45670
+ "text": "boolean | undefined"
45671
+ },
45672
+ {
45673
+ "kind": "Content",
45674
+ "text": ";"
45675
+ }
45676
+ ],
45677
+ "isReadonly": false,
45678
+ "isOptional": true,
45679
+ "releaseTag": "Public",
45680
+ "name": "showHighlight",
45681
+ "propertyTypeTokenRange": {
45682
+ "startIndex": 1,
45683
+ "endIndex": 2
45684
+ }
45602
45685
  }
45603
45686
  ],
45604
45687
  "extendsTokenRanges": []
@@ -1130,6 +1130,7 @@ export type EventSystemOptions = {
1130
1130
  hoverText?: string;
1131
1131
  maxDistance?: number;
1132
1132
  showFeedback?: boolean;
1133
+ showHighlight?: boolean;
1133
1134
  };
1134
1135
 
1135
1136
  // @public
@@ -1167,6 +1168,11 @@ export function getComponentEntityTree<T>(engine: Pick<IEngine, 'getEntitiesWith
1167
1168
  // @public @deprecated (undocumented)
1168
1169
  export function getCompositeRootComponent(engine: IEngine): LastWriteWinElementSetComponentDefinition<CompositeRootType>;
1169
1170
 
1171
+ // Warning: (ae-missing-release-tag) "getDefaultOpts" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1172
+ //
1173
+ // @public (undocumented)
1174
+ export const getDefaultOpts: (opts?: Partial<EventSystemOptions>) => EventSystemOptions;
1175
+
1170
1176
  // Warning: (ae-missing-release-tag) "GlobalDirectionRaycastOptions" is part of the package's API, but it is missing a release tag (@alpha, @beta, @public, or @internal)
1171
1177
  //
1172
1178
  // @public (undocumented)
@@ -2677,6 +2683,7 @@ export interface PBPointerEvents_Info {
2677
2683
  hoverText?: string | undefined;
2678
2684
  maxDistance?: number | undefined;
2679
2685
  showFeedback?: boolean | undefined;
2686
+ showHighlight?: boolean | undefined;
2680
2687
  }
2681
2688
 
2682
2689
  // @public (undocumented)
package/package.json CHANGED
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "name": "@dcl/playground-assets",
3
3
  "description": "",
4
- "version": "7.6.4",
4
+ "version": "7.6.5-11612701565.commit-a53af9d",
5
5
  "author": "Decentraland",
6
6
  "dependencies": {
7
- "@dcl/js-runtime": "7.6.4",
8
- "@dcl/sdk": "7.6.4"
7
+ "@dcl/js-runtime": "7.6.5-11612701565.commit-a53af9d",
8
+ "@dcl/sdk": "7.6.5-11612701565.commit-a53af9d"
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": "48941ef221bcf9900694421bf7f0d037e74cd2ac"
35
+ "commit": "a53af9d3a32fea1347c60b1eec0b52967e47d386"
36
36
  }