pxengine 0.1.155 → 0.1.157

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/index.mjs CHANGED
@@ -17699,7 +17699,11 @@ var PresentationJobCard = ({
17699
17699
  const endpoint = approveOutlineUrl || `/api/presentations/${_job_id}/approve-outline`;
17700
17700
  setApprovingOutline(true);
17701
17701
  setApproveError(null);
17702
- setProgress(void 0);
17702
+ setProgress((prev) => ({
17703
+ percentage: Math.max(prev?.percentage ?? 0, 30),
17704
+ current_step: "Starting build...",
17705
+ step_type: "processing"
17706
+ }));
17703
17707
  try {
17704
17708
  const headers = { "Content-Type": "application/json" };
17705
17709
  if (authToken) headers.Authorization = `Bearer ${authToken}`;
@@ -21177,6 +21181,10 @@ A: ${label}`);
21177
21181
  {
21178
21182
  "data-testid": "mcq-option",
21179
21183
  "data-option-key": key,
21184
+ role: isMulti ? "checkbox" : "radio",
21185
+ "aria-checked": isSelected,
21186
+ "aria-disabled": isLoading || isOptionsDisabled || atCap,
21187
+ "aria-label": label,
21180
21188
  onClick: (e) => handleOptionClick(key, e),
21181
21189
  className: cn(
21182
21190
  "cursor-pointer rounded-lg p-3 transition-colors",