analytica-frontend-lib 1.0.78 → 1.0.79

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
@@ -3549,7 +3549,7 @@ var CardResults = forwardRef9(
3549
3549
  layout: "horizontal",
3550
3550
  padding: "none",
3551
3551
  minHeight: "medium",
3552
- className: `items-center pr-4 ${className}`,
3552
+ className: `items-center cursor-pointer pr-4 ${className}`,
3553
3553
  ...props,
3554
3554
  children: [
3555
3555
  /* @__PURE__ */ jsx23(
@@ -3579,7 +3579,7 @@ var CardResults = forwardRef9(
3579
3579
  {
3580
3580
  action: "success",
3581
3581
  variant: "solid",
3582
- size: "medium",
3582
+ size: "large",
3583
3583
  iconLeft: /* @__PURE__ */ jsx23(CheckCircle3, {}),
3584
3584
  children: [
3585
3585
  correct_answers,
@@ -3592,7 +3592,7 @@ var CardResults = forwardRef9(
3592
3592
  {
3593
3593
  action: "error",
3594
3594
  variant: "solid",
3595
- size: "medium",
3595
+ size: "large",
3596
3596
  iconLeft: /* @__PURE__ */ jsx23(XCircle2, {}),
3597
3597
  children: [
3598
3598
  incorrect_answers,
@@ -3604,14 +3604,14 @@ var CardResults = forwardRef9(
3604
3604
  ]
3605
3605
  }
3606
3606
  ),
3607
- /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer" })
3607
+ /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3608
3608
  ]
3609
3609
  }
3610
3610
  );
3611
3611
  }
3612
3612
  );
3613
3613
  var CardStatus = forwardRef9(
3614
- ({ header, className, status, ...props }, ref) => {
3614
+ ({ header, className, status, label, ...props }, ref) => {
3615
3615
  return /* @__PURE__ */ jsx23(
3616
3616
  CardBase,
3617
3617
  {
@@ -3619,7 +3619,7 @@ var CardStatus = forwardRef9(
3619
3619
  layout: "horizontal",
3620
3620
  padding: "medium",
3621
3621
  minHeight: "medium",
3622
- className: `items-center ${className}`,
3622
+ className: `items-center cursor-pointer ${className}`,
3623
3623
  ...props,
3624
3624
  children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
3625
3625
  /* @__PURE__ */ jsx23("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
@@ -3634,7 +3634,7 @@ var CardStatus = forwardRef9(
3634
3634
  children: status == "correct" ? "Correta" : "Incorreta"
3635
3635
  }
3636
3636
  ),
3637
- /* @__PURE__ */ jsx23("p", { className: "text-sm text-text-800", children: "Respondida" })
3637
+ label && /* @__PURE__ */ jsx23("p", { className: "text-sm text-text-800", children: label })
3638
3638
  ] }),
3639
3639
  /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3640
3640
  ] })
@@ -4313,7 +4313,7 @@ var AlternativesList = ({
4313
4313
  /* @__PURE__ */ jsx25(
4314
4314
  "p",
4315
4315
  {
4316
- className: `block font-medium ${selectedValue === alternative.value || statusBadge ? "text-primary-950" : "text-text-600"}`,
4316
+ className: `block font-medium ${selectedValue === alternative.value || statusBadge ? "text-text-950" : "text-text-600"}`,
4317
4317
  children: alternative.label
4318
4318
  }
4319
4319
  ),
@@ -4336,7 +4336,7 @@ var AlternativesList = ({
4336
4336
  /* @__PURE__ */ jsx25(
4337
4337
  "span",
4338
4338
  {
4339
- className: `flex-1 ${selectedValue === alternative.value || statusBadge ? "text-primary-950" : "text-text-600"}`,
4339
+ className: `flex-1 ${selectedValue === alternative.value || statusBadge ? "text-text-950" : "text-text-600"}`,
4340
4340
  children: alternative.label
4341
4341
  }
4342
4342
  )
@@ -4396,7 +4396,7 @@ var AlternativesList = ({
4396
4396
  {
4397
4397
  htmlFor: alternativeId,
4398
4398
  className: `block font-medium
4399
- ${actualValue === alternative.value ? "text-primary-950" : "text-text-600"}
4399
+ ${actualValue === alternative.value ? "text-text-950" : "text-text-600"}
4400
4400
  ${alternative.disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
4401
4401
  children: alternative.label
4402
4402
  }
@@ -4429,7 +4429,7 @@ var AlternativesList = ({
4429
4429
  {
4430
4430
  htmlFor: alternativeId,
4431
4431
  className: `flex-1
4432
- ${actualValue === alternative.value ? "text-primary-950" : "text-text-600"}
4432
+ ${actualValue === alternative.value ? "text-text-950" : "text-text-600"}
4433
4433
  ${alternative.disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
4434
4434
  children: alternative.label
4435
4435
  }