@mhamz.01/easyflow-whiteboard 2.116.0 → 2.117.0

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.
@@ -196,7 +196,7 @@ export default function FabricWhiteboard({ initialData, onSave, saveDebounceMs,
196
196
  { ...docTemplate, id: `${docTemplate.id}-${Date.now()}`, x: cx - 160, y: cy - 80 },
197
197
  ]);
198
198
  };
199
- return (_jsx("div", { className: "easyflow-whiteboard w-screen h-screen", children: _jsxs("div", { ref: containerRef, className: "relative w-full h-full overflow-hidden bg-[#0b0b0b]", style: { touchAction: "none", overscrollBehavior: "none" }, children: [_jsx("div", { className: "absolute inset-0 pointer-events-none", style: {
199
+ return (_jsx("div", { className: "easyflow-whiteboard h-full w-full", children: _jsxs("div", { ref: containerRef, className: "relative w-full h-full overflow-hidden bg-[#0b0b0b]", style: { touchAction: "none", overscrollBehavior: "none" }, children: [_jsx("div", { className: "absolute inset-0 pointer-events-none", style: {
200
200
  backgroundImage: `radial-gradient(circle, rgba(255,255,255,0.2) 1.2px, transparent 1.2px)`,
201
201
  backgroundSize: "40px 40px",
202
202
  zIndex: 0,
package/dist/styles.css CHANGED
@@ -570,9 +570,6 @@
570
570
  .w-px {
571
571
  width: 1px;
572
572
  }
573
- .w-screen {
574
- width: 100vw;
575
- }
576
573
  .max-w-\[120px\] {
577
574
  max-width: 120px;
578
575
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mhamz.01/easyflow-whiteboard",
3
- "version": "2.116.0",
3
+ "version": "2.117.0",
4
4
  "description": "A feature-rich whiteboard component built with Fabric.js and React",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",