@docusaurus/plugin-ideal-image 0.0.0-4768 → 0.0.0-4771

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.
Files changed (2) hide show
  1. package/package.json +8 -8
  2. package/src/deps.d.ts +2 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@docusaurus/plugin-ideal-image",
3
- "version": "0.0.0-4768",
3
+ "version": "0.0.0-4771",
4
4
  "description": "Docusaurus Plugin to generate an almost ideal image (responsive, lazy-loading, and low quality placeholder).",
5
5
  "main": "lib/index.js",
6
6
  "types": "src/plugin-ideal-image.d.ts",
@@ -21,11 +21,11 @@
21
21
  },
22
22
  "license": "MIT",
23
23
  "dependencies": {
24
- "@docusaurus/core": "0.0.0-4768",
25
- "@docusaurus/lqip-loader": "0.0.0-4768",
24
+ "@docusaurus/core": "0.0.0-4771",
25
+ "@docusaurus/lqip-loader": "0.0.0-4771",
26
26
  "@docusaurus/responsive-loader": "^1.7.0",
27
- "@docusaurus/theme-translations": "0.0.0-4768",
28
- "@docusaurus/utils-validation": "0.0.0-4768",
27
+ "@docusaurus/theme-translations": "0.0.0-4771",
28
+ "@docusaurus/utils-validation": "0.0.0-4771",
29
29
  "@endiliey/react-ideal-image": "^0.0.11",
30
30
  "react-waypoint": "^10.1.0",
31
31
  "sharp": "^0.30.3",
@@ -33,8 +33,8 @@
33
33
  "webpack": "^5.70.0"
34
34
  },
35
35
  "devDependencies": {
36
- "@docusaurus/module-type-aliases": "0.0.0-4768",
37
- "@docusaurus/types": "0.0.0-4768",
36
+ "@docusaurus/module-type-aliases": "0.0.0-4771",
37
+ "@docusaurus/types": "0.0.0-4771",
38
38
  "fs-extra": "^10.0.1"
39
39
  },
40
40
  "peerDependencies": {
@@ -50,5 +50,5 @@
50
50
  "engines": {
51
51
  "node": ">=14"
52
52
  },
53
- "gitHead": "4a89ff667d4a8896c47c4f946796cf3f58d219dc"
53
+ "gitHead": "1b462b797e77b4a018e3c1ebb36ec87521ad4d07"
54
54
  }
package/src/deps.d.ts CHANGED
@@ -68,7 +68,7 @@ declare module '@endiliey/react-ideal-image' {
68
68
  * from material design, Implemented as React components with the SVG
69
69
  * element. You can customize icons
70
70
  */
71
- icons?: Partial<Record<IconKey, ComponentType>>;
71
+ icons?: Partial<{[icon in IconKey]: ComponentType}>;
72
72
  /**
73
73
  * This prop takes one of the 2 options, xhr and image.
74
74
  * Read more about it:
@@ -102,7 +102,7 @@ declare module '@endiliey/react-ideal-image' {
102
102
  * inline styles, but it is also possible to use CSS modules and override
103
103
  * all styles.
104
104
  */
105
- theme?: Partial<Record<ThemeKey, string | CSSProperties>>;
105
+ theme?: Partial<{[key in ThemeKey]: string | CSSProperties}>;
106
106
  /**
107
107
  * Tells how much to wait in milliseconds until consider the download to be
108
108
  * slow.