@lateralus-ai/shipping-ui 1.4.7 → 1.4.8

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lateralus-ai/shipping-ui",
3
- "version": "1.4.7",
3
+ "version": "1.4.8",
4
4
  "description": "Shared UI theme and components for Lateralus shipping applications",
5
5
  "main": "dist/index.cjs",
6
6
  "module": "dist/index.esm.js",
@@ -11,6 +11,7 @@ import { cn } from "../../utils/cn"
11
11
 
12
12
  interface ImageViewerProps {
13
13
  className?: string
14
+ canvasClassName?: string
14
15
  documentUrl?: string
15
16
  onClose: () => void
16
17
  totalPages: number
@@ -20,6 +21,7 @@ interface ImageViewerProps {
20
21
 
21
22
  export const ImageViewer = ({
22
23
  className,
24
+ canvasClassName,
23
25
  onClose,
24
26
  totalPages,
25
27
  getImageSrc,
@@ -71,7 +73,7 @@ export const ImageViewer = ({
71
73
  <div className="flex flex-col h-full justify-between">
72
74
  <div className="grid relative h-full">
73
75
  <div
74
- className="overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative"
76
+ className={`${canvasClassName} overflow-hidden col-start-1 row-start-1 bg-gray-200 h-full relative`}
75
77
  onMouseMove={panActions.handleMouseMove}
76
78
  onMouseUp={panActions.handleMouseUp}
77
79
  onMouseLeave={panActions.handleMouseUp}