@hkdigital/lib-sveltekit 0.0.79 → 0.0.81

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.
@@ -162,7 +162,7 @@ export function generateDefaultDirectives(options) {
162
162
 
163
163
  // params.set('withoutEnlargement', 'true');
164
164
 
165
- console.log('defaultDirectives:output params', params);
165
+ // console.log('defaultDirectives:output params', params);
166
166
 
167
167
  return params;
168
168
  };
@@ -0,0 +1,87 @@
1
+
2
+ interface ImageVariant {
3
+ src: string;
4
+ width?: number;
5
+ height?: number;
6
+
7
+ }
8
+
9
+ declare module '*?responsive' {
10
+ const out: Promise<ImageVariant[]|string[]|string>;
11
+ export default out;
12
+ }
13
+
14
+ declare module '*&responsive' {
15
+ const out: Promise<ImageVariant[]|string[]|string>;
16
+ export default out;
17
+ }
18
+
19
+ declare module '*?preset=gradient' {
20
+ const out: Promise<ImageVariant[]|string[]|string>;
21
+ export default out;
22
+ }
23
+
24
+ declare module '*&preset=gradient' {
25
+ const out: Promise<ImageVariant[]|string[]|string>;
26
+ export default out;
27
+ }
28
+
29
+ declare module '*?preset=photo' {
30
+ const out: Promise<ImageVariant[]|string[]|string>;
31
+ export default out;
32
+ }
33
+
34
+ declare module '*&preset=photo' {
35
+ const out: Promise<ImageVariant[]|string[]|string>;
36
+ export default out;
37
+ }
38
+
39
+ declare module '*?preset=drawing' {
40
+ const out: Promise<ImageVariant[]|string[]|string>;
41
+ export default out;
42
+ }
43
+
44
+ declare module '*&preset=drawing' {
45
+ const out: Promise<ImageVariant[]|string[]|string>;
46
+ export default out;
47
+ }
48
+
49
+ declare module '*?preset=savedata' {
50
+ const out: Promise<ImageVariant[]|string[]|string>;
51
+ export default out;
52
+ }
53
+
54
+ declare module '*&preset=savedata' {
55
+ const out: Promise<ImageVariant[]|string[]|string>;
56
+ export default out;
57
+ }
58
+
59
+ declare module '*?preset=blur' {
60
+ const out: Promise<ImageVariant[]|string[]|string>;
61
+ export default out;
62
+ }
63
+
64
+ declare module '*&preset=blur' {
65
+ const out: Promise<ImageVariant[]|string[]|string>;
66
+ export default out;
67
+ }
68
+
69
+ // declare module '*&w=sm' {
70
+ // const src: string;
71
+ // export default src;
72
+ // }
73
+
74
+ // declare module '*&w=md' {
75
+ // const src: string;
76
+ // export default src;
77
+ // }
78
+
79
+ // declare module '*&w=lg' {
80
+ // const src: string;
81
+ // export default src;
82
+ // }
83
+
84
+ // declare module '*&w=hd' {
85
+ // const src: string;
86
+ // export default src;
87
+ // }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hkdigital/lib-sveltekit",
3
- "version": "0.0.79",
3
+ "version": "0.0.81",
4
4
  "author": "Jens Kleinhout, HKdigital (https://hkdigital.nl)",
5
5
  "license": "ISC",
6
6
  "repository": {