From 77a09edfd12a51e3f4ffc084d0b2a2f4acedaa97 Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 4 Apr 2022 00:49:08 +0000 Subject: [PATCH] chore(release): 4.1.0 [skip ci] ## [4.1.0](https://github.com/gooftroop/react-image-magnify/compare/v4.0.0...v4.1.0) (2022-04-04) ### Features * move onload into a hook to avoid ssr ([2d29bd2](https://github.com/gooftroop/react-image-magnify/commit/2d29bd26a9924949c8fe4568243a29be3d841819)) ### Bug Fixes * check img complete attr on mount, fix lint errors ([e0d7379](https://github.com/gooftroop/react-image-magnify/commit/e0d73790768d884a126b9f174184b9ac99527233)) * make onLoad optional in image props ([e911943](https://github.com/gooftroop/react-image-magnify/commit/e9119435d0ad8da8dfed2c6129b1511fbfb36fc0)) --- docs/interfaces/HintProps.html | 2 +- docs/interfaces/LensProps.html | 2 +- docs/interfaces/MagnifyContainerProps.html | 2 +- docs/modules.html | 2 +- package.json | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/docs/interfaces/HintProps.html b/docs/interfaces/HintProps.html index eadd327f..3c52a96e 100644 --- a/docs/interfaces/HintProps.html +++ b/docs/interfaces/HintProps.html @@ -1 +1 @@ -HintProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HintProps

Hierarchy

  • HintProps

Index

Properties

hintTextMouse: string
hintTextTouch: string
isMouseDetected?: boolean
isTouchDetected?: boolean
style?: null | CSSProperties

Generated using TypeDoc

\ No newline at end of file +HintProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface HintProps

Hierarchy

  • HintProps

Index

Properties

hintTextMouse: string
hintTextTouch: string
isMouseDetected?: boolean
isTouchDetected?: boolean
style?: null | CSSProperties

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LensProps.html b/docs/interfaces/LensProps.html index 2c125bae..99506722 100644 --- a/docs/interfaces/LensProps.html +++ b/docs/interfaces/LensProps.html @@ -1 +1 @@ -LensProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LensProps

Hierarchy

  • HTMLProps<HTMLDivElement>
    • LensProps

Index

Properties

cursorOffset: Point
fadeDurationInMs?: number
isActive?: boolean
isPositionOutside?: boolean
position: Point

Generated using TypeDoc

\ No newline at end of file +LensProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface LensProps

Hierarchy

  • HTMLProps<HTMLDivElement>
    • LensProps

Index

Properties

cursorOffset: Point
fadeDurationInMs?: number
isActive?: boolean
isPositionOutside?: boolean
position: Point

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MagnifyContainerProps.html b/docs/interfaces/MagnifyContainerProps.html index aa6fe1a1..ab6f20df 100644 --- a/docs/interfaces/MagnifyContainerProps.html +++ b/docs/interfaces/MagnifyContainerProps.html @@ -1 +1 @@ -MagnifyContainerProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MagnifyContainerProps

Hierarchy

  • Omit<HTMLProps<HTMLDivElement>, "height" | "width">
    • MagnifyContainerProps

Index

Properties

height?: number
scale?: number
width?: number

Generated using TypeDoc

\ No newline at end of file +MagnifyContainerProps | React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

Interface MagnifyContainerProps

Hierarchy

  • Omit<HTMLProps<HTMLDivElement>, "height" | "width">
    • MagnifyContainerProps

Index

Properties

height?: number
scale?: number
width?: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index eb78039b..2b58ffe1 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -1 +1 @@ -React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

React Image Magnify

Index

Type aliases

ImageProps: Omit<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "height" | "width"> & { height?: string | number; width?: string | number }
InputType: { mouse: "mouse"; touch: "touch" }

Type declaration

  • mouse: "mouse"
  • touch: "touch"
Interactions: { click: "click"; doubleTap: "double_tap"; hover: "hover"; press: "press"; tap: "tap"; touch: "touch" }

Type declaration

  • click: "click"
  • doubleTap: "double_tap"
  • hover: "hover"
  • press: "press"
  • tap: "tap"
  • touch: "touch"
MagnifiedImagePosition: Placement | "over"
MagnifiedImageProps: DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & { height: number; width: number }
Point: { x: number; y: number }

Type declaration

  • x: number
  • y: number
PortalProps: Omit<Partial<Options>, "modifiers" | "placement"> & { className?: string; dataTestId?: string; horizontalOffset?: number; id?: string; modifiers?: Modifier<any, any>[]; placement?: MagnifiedImagePosition; style?: CSSProperties; verticalOffset?: number }

Functions

  • default(props: ReactImageMagnifyProps): Element

Generated using TypeDoc

\ No newline at end of file +React Image Magnify
Options
All
  • Public
  • Public/Protected
  • All
Menu

React Image Magnify

Index

Type aliases

ImageProps: Omit<DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement>, "height" | "width" | "onLoad"> & { height?: string | number; width?: string | number; onLoad?: any }
InputType: { mouse: "mouse"; touch: "touch" }

Type declaration

  • mouse: "mouse"
  • touch: "touch"
Interactions: { click: "click"; doubleTap: "double_tap"; hover: "hover"; press: "press"; tap: "tap"; touch: "touch" }

Type declaration

  • click: "click"
  • doubleTap: "double_tap"
  • hover: "hover"
  • press: "press"
  • tap: "tap"
  • touch: "touch"
MagnifiedImagePosition: Placement | "over"
MagnifiedImageProps: DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & { height: number; width: number }
Point: { x: number; y: number }

Type declaration

  • x: number
  • y: number
PortalProps: Omit<Partial<Options>, "modifiers" | "placement"> & { className?: string; dataTestId?: string; horizontalOffset?: number; id?: string; modifiers?: Modifier<any, any>[]; placement?: MagnifiedImagePosition; style?: CSSProperties; verticalOffset?: number }

Functions

  • default(props: ReactImageMagnifyProps): Element

Generated using TypeDoc

\ No newline at end of file diff --git a/package.json b/package.json index e06d9163..73b739cb 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@blacklab/react-image-magnify", - "version": "4.0.0", + "version": "4.1.0", "description": "A responsive react image zoom component", "repository": { "type": "git",