@frybynite/image-cloud 0.3.6 → 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/README.md +4 -0
- package/dist/image-cloud-auto-init.js +836 -831
- package/dist/image-cloud-auto-init.js.map +1 -1
- package/dist/image-cloud.js +836 -831
- package/dist/image-cloud.js.map +1 -1
- package/dist/image-cloud.umd.js +3 -3
- package/dist/image-cloud.umd.js.map +1 -1
- package/dist/index.d.ts +7 -6
- package/package.json +1 -1
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
|
/**
|
|
@@ -821,7 +828,6 @@ export declare interface ImageCloudConfig {
|
|
|
821
828
|
interaction: InteractionConfig;
|
|
822
829
|
rendering: RenderingConfig;
|
|
823
830
|
styling?: ImageStylingConfig;
|
|
824
|
-
debug: boolean;
|
|
825
831
|
}
|
|
826
832
|
|
|
827
833
|
export declare interface ImageCloudOptions {
|
|
@@ -835,7 +841,6 @@ export declare interface ImageCloudOptions {
|
|
|
835
841
|
interaction?: Partial<InteractionConfig>;
|
|
836
842
|
rendering?: Partial<RenderingConfig>;
|
|
837
843
|
styling?: Partial<ImageStylingConfig>;
|
|
838
|
-
debug?: boolean;
|
|
839
844
|
}
|
|
840
845
|
|
|
841
846
|
/**
|
|
@@ -885,7 +890,6 @@ export declare interface ImageLayout {
|
|
|
885
890
|
scale: number;
|
|
886
891
|
baseSize: number;
|
|
887
892
|
zIndex?: number;
|
|
888
|
-
borderColor?: string;
|
|
889
893
|
}
|
|
890
894
|
|
|
891
895
|
/**
|
|
@@ -1006,8 +1010,6 @@ export declare interface LayoutConfig {
|
|
|
1006
1010
|
responsive?: ResponsiveBreakpoints;
|
|
1007
1011
|
targetCoverage?: number;
|
|
1008
1012
|
densityFactor?: number;
|
|
1009
|
-
debugRadials?: boolean;
|
|
1010
|
-
debugCenters?: boolean;
|
|
1011
1013
|
grid?: GridAlgorithmConfig;
|
|
1012
1014
|
spiral?: SpiralAlgorithmConfig;
|
|
1013
1015
|
cluster?: ClusterAlgorithmConfig;
|
|
@@ -1237,7 +1239,6 @@ export declare interface SharedLoaderConfig {
|
|
|
1237
1239
|
validationMethod?: 'head' | 'simple' | 'none';
|
|
1238
1240
|
failOnAllMissing?: boolean;
|
|
1239
1241
|
allowedExtensions?: string[];
|
|
1240
|
-
debugLogging?: boolean;
|
|
1241
1242
|
}
|
|
1242
1243
|
|
|
1243
1244
|
/**
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@frybynite/image-cloud",
|
|
3
|
-
"version": "0.3.
|
|
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",
|