@bizapps/design-system-testing 1.10.0 → 1.10.1

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/dist/main.cjs CHANGED
@@ -9576,8 +9576,9 @@ function SignaturePad({
9576
9576
  className: cn(
9577
9577
  // Fixed light "paper": the pen is black and the PNG is read on white by others. The
9578
9578
  // primitive keeps the pad light for consumers that define a dark theme, where a themed
9579
- // surface (`background`, `border`) would turn dark and hide the black ink.
9580
- "bg-main-alternative-secondary border-dark-100 relative overflow-hidden rounded-xl border",
9579
+ // surface (`background`, `border`) would turn dark and hide the black ink. The edge
9580
+ // uses `dark-400` (4.66:1 on white) so the pad reads as a control (WCAG 1.4.11).
9581
+ "bg-main-alternative-secondary border-dark-400 relative overflow-hidden rounded-xl border",
9581
9582
  "data-[disabled]:cursor-not-allowed data-[disabled]:opacity-50",
9582
9583
  className
9583
9584
  ),
@@ -9595,21 +9596,23 @@ function SignaturePad({
9595
9596
  className: "block w-full touch-none"
9596
9597
  }
9597
9598
  ),
9598
- /* @__PURE__ */ jsxRuntime.jsx(
9599
+ /* @__PURE__ */ jsxRuntime.jsxs(
9599
9600
  Button,
9600
9601
  {
9601
9602
  type: "button",
9602
9603
  variant: "ghost",
9603
- size: "icon-sm",
9604
+ size: "sm",
9604
9605
  "data-slot": "signature-pad-clear",
9605
- "aria-label": clearLabel,
9606
9606
  disabled,
9607
9607
  "aria-disabled": empty && !disabled ? true : void 0,
9608
9608
  onClick: () => {
9609
9609
  if (!emptyRef.current) clear();
9610
9610
  },
9611
- className: "bg-main-white text-dark-600 border-dark-100 hover:bg-dark-100 hover:text-main-black aria-disabled:hover:bg-main-white absolute right-2 bottom-2 border border-solid aria-disabled:cursor-not-allowed aria-disabled:opacity-50",
9612
- children: /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BrushCleaning, { "aria-hidden": true, className: "size-4" })
9611
+ className: "bg-main-white text-dark-600 border-dark-400 hover:bg-dark-100 hover:text-main-black aria-disabled:hover:bg-main-white absolute right-2 bottom-2 h-11 max-w-[calc(100%-1rem)] gap-1.5 rounded-full border border-solid px-4 text-sm aria-disabled:cursor-not-allowed aria-disabled:opacity-70",
9612
+ children: [
9613
+ /* @__PURE__ */ jsxRuntime.jsx(lucideReact.BrushCleaning, { "aria-hidden": true, className: "size-4 shrink-0" }),
9614
+ /* @__PURE__ */ jsxRuntime.jsx("span", { className: "truncate", children: clearLabel })
9615
+ ]
9613
9616
  }
9614
9617
  )
9615
9618
  ]