@smplrspace/smplr-loader 2.33.1-beta.0 → 2.33.1-beta.2

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.
@@ -216,6 +216,8 @@ declare interface ColorSwatchesProps {
216
216
  noLabels?: boolean;
217
217
  }
218
218
 
219
+ declare type ColorValueHex = `#${string}`
220
+
219
221
  declare const cssToSmplrColor: (c: string) => string;
220
222
 
221
223
  declare namespace cube {
@@ -1370,6 +1372,15 @@ declare interface MapDataLayerSharedDefinition<T, D extends UnknownSpaceData> {
1370
1372
  onHoverOut?: (dataElement: T & D, event: MapMouseEvent) => void;
1371
1373
  }
1372
1374
 
1375
+ declare interface MapFilter {
1376
+ wallColor: ColorValueHex;
1377
+ windowColor: ColorValueHex;
1378
+ indoorGroundColor: ColorValueHex;
1379
+ grassGroundColor: ColorValueHex;
1380
+ waterGroundColor: ColorValueHex;
1381
+ darkGreyGroundColor: ColorValueHex;
1382
+ }
1383
+
1373
1384
  export declare type MapOptions = {
1374
1385
  clientToken: string;
1375
1386
  disableErrorReporting?: boolean;
@@ -1395,6 +1406,7 @@ export declare interface MapRenderOptions {
1395
1406
  windows: {
1396
1407
  render: boolean;
1397
1408
  };
1409
+ filter: MapFilter;
1398
1410
  }
1399
1411
 
1400
1412
  export declare interface MapViewerOptions {
@@ -3142,7 +3154,7 @@ declare interface Vector3Coord extends Vector2Coord {
3142
3154
  z: number;
3143
3155
  }
3144
3156
 
3145
- export declare const version = "2.33.1-beta.0";
3157
+ export declare const version = "2.33.1-beta.2";
3146
3158
 
3147
3159
  declare interface ViewerRendererHandle {
3148
3160
  // eslint-disable-next-line @typescript-eslint/no-explicit-any
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.33.1-beta.0",
3
+ "version": "2.33.1-beta.2",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [