@mappedin/viewer
Advanced tools
Comparing version 0.32.2-a6589fc.0 to 0.32.3-a417f73.0
@@ -0,1 +1,2 @@ | ||
import { PropsWithChildren } from 'react'; | ||
type TCarouselProps = { | ||
@@ -5,4 +6,7 @@ imageURLs: string[]; | ||
proxy?: boolean; | ||
width?: number | string; | ||
height?: number | string; | ||
navChevronOffsetY?: number; | ||
}; | ||
declare const Carousel: React.FC<TCarouselProps>; | ||
declare const Carousel: React.FC<PropsWithChildren<TCarouselProps>>; | ||
export default Carousel; |
import { TTheme } from '../../lib/types/theme'; | ||
export declare const SideNavButton: import("styled-components").IStyledComponent<"web", { | ||
export declare const SideNavButton: import("styled-components").IStyledComponent<"web", import("styled-components/dist/types").Substitute<{ | ||
hidden?: boolean | undefined | undefined; | ||
@@ -278,3 +278,5 @@ color?: string | undefined | undefined; | ||
outlineWidth?: number | undefined; | ||
}>; | ||
}, { | ||
$offsetY?: number; | ||
}>>; | ||
type TNavChevronProps = { | ||
@@ -286,4 +288,5 @@ size: number; | ||
tabIndex?: number; | ||
offsetY?: number; | ||
}; | ||
declare const NavChevrons: React.FC<TNavChevronProps>; | ||
export default NavChevrons; |
@@ -6,4 +6,5 @@ type TLogoBoxProps = { | ||
padding?: number; | ||
boxShadow?: boolean; | ||
}; | ||
declare const LogoBox: React.FC<TLogoBoxProps>; | ||
export default LogoBox; |
@@ -19,3 +19,9 @@ export type THighResCanvasOptions = { | ||
constructor(container: HTMLElement, frameCallback?: TCanvasFrameCallback, options?: THighResCanvasOptions); | ||
private handleResize; | ||
/** | ||
* Update the canvas resolution to account for high DPR devices. DPR lower than 1 should work | ||
* fine, but higher DPR's could cause blurriness without scaling. | ||
*/ | ||
private updateCanvasResolution; | ||
/** | ||
* Scale the canvas whenever the container is resized. | ||
@@ -22,0 +28,0 @@ */ |
@@ -75,2 +75,3 @@ import { StyleCollection } from '@mappedin/mvf'; | ||
primary: number; | ||
large: number; | ||
}; | ||
@@ -77,0 +78,0 @@ fontSize: { |
{ | ||
"name": "@mappedin/viewer", | ||
"version": "0.32.2-a6589fc.0", | ||
"version": "0.32.3-a417f73.0", | ||
"type": "module", | ||
@@ -5,0 +5,0 @@ "browser": "./dist/index.js", |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
24962143
436
5977