@cosxai/ui 0.13.4 → 0.13.5

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": "@cosxai/ui",
3
- "version": "0.13.4",
3
+ "version": "0.13.5",
4
4
  "description": "COSX design system — React 19 component primitives shared across product-meta and other consumers",
5
5
  "license": "UNLICENSED",
6
6
  "type": "module",
@@ -380,7 +380,13 @@ export const SignaturePad = forwardRef<SignaturePadHandle, SignaturePadProps>(
380
380
  display: "flex",
381
381
  flexDirection: "column",
382
382
  gap: 8,
383
+ // fit-content sizes to the canvas's intrinsic `width` prop —
384
+ // which is exactly what overflowed narrow phones: the wrapper
385
+ // itself grew to 480px, so the canvas's own maxWidth:100%
386
+ // resolved against an already-overflowing parent. Cap the
387
+ // wrapper too; the flex-column children then shrink with it.
383
388
  width: "fit-content",
389
+ maxWidth: "100%",
384
390
  }),
385
391
  [],
386
392
  );