@lonik/oh-image 2.0.3 → 2.0.4

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/dist/react.d.ts +6 -6
  2. package/package.json +6 -6
package/dist/react.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { ImgHTMLAttributes } from "react";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime3 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/react/types.d.ts
5
5
  interface ImageLoaderOptions {
@@ -31,7 +31,7 @@ interface ImageProps extends Partial<Pick<ImgHTMLAttributes<HTMLImageElement>, "
31
31
  }
32
32
  //#endregion
33
33
  //#region src/react/image.d.ts
34
- declare function Image(props: ImageProps): react_jsx_runtime0.JSX.Element;
34
+ declare function Image(props: ImageProps): react_jsx_runtime3.JSX.Element;
35
35
  //#endregion
36
36
  //#region src/react/use-img-loaded.d.ts
37
37
  /**
@@ -73,7 +73,7 @@ declare function ImageProvider({
73
73
  ...props
74
74
  }: {
75
75
  children: React.ReactNode;
76
- } & Partial<ImageContextValue>): react_jsx_runtime0.JSX.Element;
76
+ } & Partial<ImageContextValue>): react_jsx_runtime3.JSX.Element;
77
77
  //#endregion
78
78
  //#region src/react/loaders/imgproxy-loader.d.ts
79
79
  interface ImgproxyLoaderOptions {
@@ -91,7 +91,7 @@ declare function ImgproxyLoaderProvider({
91
91
  ...props
92
92
  }: {
93
93
  children: React.ReactNode;
94
- } & Partial<ImgproxyLoaderOptions>): react_jsx_runtime0.JSX.Element;
94
+ } & Partial<ImgproxyLoaderOptions>): react_jsx_runtime3.JSX.Element;
95
95
  declare function useImgproxyLoader(options?: Partial<ImgproxyLoaderOptions>): ImageLoader;
96
96
  //#endregion
97
97
  //#region src/react/loaders/cloudflare-loader.d.ts
@@ -109,7 +109,7 @@ declare function CloudflareLoaderProvider({
109
109
  ...props
110
110
  }: {
111
111
  children: React.ReactNode;
112
- } & Partial<CloudflareLoaderOptions>): react_jsx_runtime0.JSX.Element;
112
+ } & Partial<CloudflareLoaderOptions>): react_jsx_runtime3.JSX.Element;
113
113
  declare function useCloudflareLoader(options?: Partial<CloudflareLoaderOptions>): ImageLoader;
114
114
  //#endregion
115
115
  //#region src/react/loaders/cloudinary-loader.d.ts
@@ -127,7 +127,7 @@ declare function CloudinaryLoaderProvider({
127
127
  ...props
128
128
  }: {
129
129
  children: React.ReactNode;
130
- } & Partial<CloudinaryLoaderOptions>): react_jsx_runtime0.JSX.Element;
130
+ } & Partial<CloudinaryLoaderOptions>): react_jsx_runtime3.JSX.Element;
131
131
  declare function useCloudinaryLoader(options?: Partial<CloudinaryLoaderOptions>): ImageLoader;
132
132
  //#endregion
133
133
  export { type CloudflareLoaderOptions, CloudflareLoaderProvider, type CloudinaryLoaderOptions, CloudinaryLoaderProvider, Image, type ImageLoader, type ImageLoaderOptions, type ImageProps, ImageProvider, type ImageSrcType, type ImgproxyLoaderOptions, ImgproxyLoaderProvider, useCloudflareContext, useCloudflareLoader, useCloudinaryContext, useCloudinaryLoader, useImageContext, useImgLoaded, useImgproxyContext, useImgproxyLoader };
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lonik/oh-image",
3
3
  "type": "module",
4
- "version": "2.0.3",
4
+ "version": "2.0.4",
5
5
  "description": "A React component library for optimized image handling.",
6
6
  "author": "Luka Onikadze <lukonik@gmail.com>",
7
7
  "license": "MIT",
@@ -74,15 +74,15 @@
74
74
  "typescript": "^5.9.3",
75
75
  "typescript-eslint": "^8.54.0",
76
76
  "vite": "^7.3.0",
77
- "vitest": "^4.0.16"
78
- },
79
- "dependencies": {
77
+ "vitest": "^4.0.16",
80
78
  "@types/supertest": "^6.0.3",
81
79
  "memfs": "^4.56.10",
82
- "p-limit": "^7.3.0",
83
- "query-string": "^9.3.1",
84
80
  "supertest": "^7.2.2"
85
81
  },
82
+ "dependencies": {
83
+ "p-limit": "^7.3.0",
84
+ "query-string": "^9.3.1"
85
+ },
86
86
  "keywords": [
87
87
  "react",
88
88
  "reactjs",