etudes 28.2.1 → 28.2.2

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.
@@ -1,4 +1,4 @@
1
- import { HTMLAttributes, Ref } from 'react';
1
+ import { ImgHTMLAttributes, Ref } from 'react';
2
2
  import { Size } from 'spase';
3
3
  import { ImageSource } from '../types/ImageSource.js';
4
4
  export declare namespace Image {
@@ -46,7 +46,7 @@ export declare namespace Image {
46
46
  * @param size Size of the loaded image.
47
47
  */
48
48
  onSizeChange?: (size?: Size) => void;
49
- } & Omit<HTMLAttributes<HTMLImageElement>, 'alt' | 'loading' | 'onError' | 'onLoad' | 'onLoadStart' | 'sizes' | 'src' | 'srcSet'>;
49
+ } & Omit<ImgHTMLAttributes<HTMLImageElement>, 'alt' | 'loading' | 'onError' | 'onLoad' | 'onLoadStart' | 'sizes' | 'src' | 'srcSet'>;
50
50
  }
51
51
  /**
52
52
  * A component that renders an image with support for lazy loading, `srcSet`,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "etudes",
3
- "version": "28.2.1",
3
+ "version": "28.2.2",
4
4
  "description": "A study of headless React components",
5
5
  "type": "module",
6
6
  "sideEffects": false,