@smplrspace/smplr-loader 2.25.0 → 2.25.1-beta.0

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.
@@ -54,7 +54,11 @@ declare interface ClientOptions {
54
54
 
55
55
  declare namespace Color {
56
56
  export {
57
+ drawColorSwatches,
58
+ drawIconsSwatches,
57
59
  drawLegend,
60
+ ColorSwatches_2 as ColorSwatches,
61
+ IconsSwatches,
58
62
  Legend,
59
63
  cssToSmplrColor,
60
64
  smplrToCssColor,
@@ -72,6 +76,8 @@ declare interface ColorSwatches extends Pick<ColorSwatchesProps, 'swatches'> {
72
76
  type: 'swatches';
73
77
  }
74
78
 
79
+ declare const ColorSwatches_2: FC<ColorSwatchesProps>;
80
+
75
81
  declare interface ColorSwatchesProps {
76
82
  swatches: {
77
83
  color: string;
@@ -160,6 +166,14 @@ declare interface DottedPolylineDataLayer<D extends UnknownData = NoData> extend
160
166
  disableElevationCorrection?: boolean;
161
167
  }
162
168
 
169
+ declare const drawColorSwatches: ({ containerId, ...swatchesProps }: ColorSwatchesProps & {
170
+ containerId: string;
171
+ }) => void;
172
+
173
+ declare const drawIconsSwatches: ({ containerId, ...swatchesProps }: IconsSwatchesProps & {
174
+ containerId: string;
175
+ }) => void;
176
+
163
177
  declare const drawLegend: ({ containerId, ...legendProps }: LegendProps & {
164
178
  containerId: string;
165
179
  }) => void;
@@ -335,6 +349,8 @@ declare interface IconLegend extends Pick<IconsSwatchesProps, 'icons'> {
335
349
  type: 'icons';
336
350
  }
337
351
 
352
+ declare const IconsSwatches: FC<IconsSwatchesProps>;
353
+
338
354
  declare interface IconsSwatchesProps {
339
355
  icons: {
340
356
  url: string;
@@ -968,7 +984,7 @@ declare interface Vector3Coord extends Vector2Coord {
968
984
  z: number;
969
985
  }
970
986
 
971
- export declare const version = "2.25.0";
987
+ export declare const version = "2.25.1-beta.0";
972
988
 
973
989
  declare interface ViewerOptions {
974
990
  mode?: CameraMode;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@smplrspace/smplr-loader",
3
- "version": "2.25.0",
3
+ "version": "2.25.1-beta.0",
4
4
  "description": "NPM package to load a typed Smplr.js from CDN easily",
5
5
  "type": "module",
6
6
  "files": [