@frybynite/image-cloud 0.3.5 → 0.3.7

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/index.d.ts CHANGED
@@ -253,6 +253,7 @@ export declare interface CompositeLoaderConfig {
253
253
 
254
254
  export declare interface ConfigSection {
255
255
  loaders?: SharedLoaderConfig;
256
+ debug?: DebugConfig;
256
257
  }
257
258
 
258
259
  export declare interface ContainerBounds {
@@ -260,6 +261,12 @@ export declare interface ContainerBounds {
260
261
  height: number;
261
262
  }
262
263
 
264
+ export declare interface DebugConfig {
265
+ enabled?: boolean;
266
+ centers?: boolean;
267
+ loaders?: boolean;
268
+ }
269
+
263
270
  export declare const DEFAULT_CONFIG: ImageCloudConfig;
264
271
 
265
272
  /**
@@ -779,7 +786,6 @@ declare class ImageCloud {
779
786
  /**
780
787
  * Navigate to a specific image by index
781
788
  */
782
- private navigateToImage;
783
789
  private handleResize;
784
790
  private getImageHeight;
785
791
  /**
@@ -822,7 +828,6 @@ export declare interface ImageCloudConfig {
822
828
  interaction: InteractionConfig;
823
829
  rendering: RenderingConfig;
824
830
  styling?: ImageStylingConfig;
825
- debug: boolean;
826
831
  }
827
832
 
828
833
  export declare interface ImageCloudOptions {
@@ -836,7 +841,6 @@ export declare interface ImageCloudOptions {
836
841
  interaction?: Partial<InteractionConfig>;
837
842
  rendering?: Partial<RenderingConfig>;
838
843
  styling?: Partial<ImageStylingConfig>;
839
- debug?: boolean;
840
844
  }
841
845
 
842
846
  /**
@@ -886,7 +890,6 @@ export declare interface ImageLayout {
886
890
  scale: number;
887
891
  baseSize: number;
888
892
  zIndex?: number;
889
- borderColor?: string;
890
893
  }
891
894
 
892
895
  /**
@@ -1007,8 +1010,6 @@ export declare interface LayoutConfig {
1007
1010
  responsive?: ResponsiveBreakpoints;
1008
1011
  targetCoverage?: number;
1009
1012
  densityFactor?: number;
1010
- debugRadials?: boolean;
1011
- debugCenters?: boolean;
1012
1013
  grid?: GridAlgorithmConfig;
1013
1014
  spiral?: SpiralAlgorithmConfig;
1014
1015
  cluster?: ClusterAlgorithmConfig;
@@ -1238,7 +1239,6 @@ export declare interface SharedLoaderConfig {
1238
1239
  validationMethod?: 'head' | 'simple' | 'none';
1239
1240
  failOnAllMissing?: boolean;
1240
1241
  allowedExtensions?: string[];
1241
- debugLogging?: boolean;
1242
1242
  }
1243
1243
 
1244
1244
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@frybynite/image-cloud",
3
- "version": "0.3.5",
3
+ "version": "0.3.7",
4
4
  "description": "Javascript/TypeScript image cloud library with custom loaders, various layouts, full images styling, with animation and zoom effects",
5
5
  "type": "module",
6
6
  "main": "./dist/image-cloud.umd.js",