@lateralus-ai/shipping-ui 1.4.7 → 1.4.9

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.9",
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={`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}
@@ -106,7 +108,9 @@ export const ImageViewer = ({
106
108
  </div>
107
109
  </div>
108
110
 
109
- <div className="col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10">
111
+ <div
112
+ className={`${canvasClassName} col-start-1 row-start-1 self-end p-4 flex gap-2 justify-between w-full z-10`}
113
+ >
110
114
  <ButtonGroup className="divide-x-0 h-[52px]">
111
115
  <IconButton
112
116
  variant="filled"