From 95354f365baa8a6aff3a2bddd7fdd89a126ef2fc Mon Sep 17 00:00:00 2001 From: semantic-release-bot Date: Mon, 20 Sep 2021 14:57:34 +0000 Subject: [PATCH] chore(release): 3.3.2 [skip ci] ### [3.3.2](https://github.com/gooftroop/react-image-magnify/compare/v3.3.1...v3.3.2) (2021-09-20) ### Bug Fixes * remove ref from HintProps and set default to any ([b8ce205](https://github.com/gooftroop/react-image-magnify/commit/b8ce20548e540ba97505cafc0678fba80986a71c)) --- 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 33188704..9adce666 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<T>

Type parameters

  • T: HTMLElement = HTMLElement

Hierarchy

  • HTMLProps<T>
    • HintProps

Index

Properties

hintTextMouse

hintTextMouse: string

hintTextTouch

hintTextTouch: string

Optional isMouseDetected

isMouseDetected?: boolean

Optional isTouchDetected

isTouchDetected?: boolean

Generated using TypeDoc

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

Interface HintProps<T>

Type parameters

  • T: HTMLElement = any

Hierarchy

  • Omit<HTMLProps<T>, "ref">
    • HintProps

Index

Properties

hintTextMouse

hintTextMouse: string

hintTextTouch

hintTextTouch: string

Optional isMouseDetected

isMouseDetected?: boolean

Optional isTouchDetected

isTouchDetected?: boolean

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/LensProps.html b/docs/interfaces/LensProps.html index 9ab7ac62..17b9cc12 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

cursorOffset: Point

Optional fadeDurationInMs

fadeDurationInMs?: number

Optional isActive

isActive?: boolean

Optional isPositionOutside

isPositionOutside?: boolean

position

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

cursorOffset: Point

Optional fadeDurationInMs

fadeDurationInMs?: number

Optional isActive

isActive?: boolean

Optional isPositionOutside

isPositionOutside?: boolean

position

position: Point

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/interfaces/MagnifyContainerProps.html b/docs/interfaces/MagnifyContainerProps.html index c089d53c..aff40e27 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">
  • ContainerDimensions
    • MagnifyContainerProps

Index

Properties

Properties

height

height: number

width

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">
  • ContainerDimensions
    • MagnifyContainerProps

Index

Properties

Properties

height

height: number

width

width: number

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 26e9e0bc..574e305c 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

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

InputType

InputType: { mouse: "mouse"; touch: "touch" }

Type declaration

  • mouse: "mouse"
  • touch: "touch"

Interactions

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

MagnifiedImagePosition: Placement | "over"

MagnifiedImageProps

MagnifiedImageProps: DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & { height: number; width: number }

Point

Point: { x: number; y: number }

Type declaration

  • x: number
  • y: number

PortalProps

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

Const default

  • 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

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

InputType

InputType: { mouse: "mouse"; touch: "touch" }

Type declaration

  • mouse: "mouse"
  • touch: "touch"

Interactions

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

MagnifiedImagePosition: Placement | "over"

MagnifiedImageProps

MagnifiedImageProps: DetailedHTMLProps<ImgHTMLAttributes<HTMLImageElement>, HTMLImageElement> & { height: number; width: number }

Point

Point: { x: number; y: number }

Type declaration

  • x: number
  • y: number

PortalProps

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

Const default

  • default(props: ReactImageMagnifyProps): Element

Generated using TypeDoc

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