analytica-frontend-lib 1.0.78 → 1.0.80

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
@@ -131,6 +131,12 @@ var VARIANT_ACTION_CLASSES2 = {
131
131
  exam3: "bg-exam-3 text-typography-2 focus-visible:outline-none",
132
132
  exam4: "bg-exam-4 text-success-700 focus-visible:outline-none"
133
133
  },
134
+ examsOutlined: {
135
+ exam1: "bg-exam-1 text-info-700 border border-info-700 focus-visible:outline-none",
136
+ exam2: "bg-exam-2 text-typography-1 border border-typography-1 focus-visible:outline-none",
137
+ exam3: "bg-exam-3 text-typography-2 border border-typography-2 focus-visible:outline-none",
138
+ exam4: "bg-exam-4 text-success-700 border border-success-700 focus-visible:outline-none"
139
+ },
134
140
  resultStatus: {
135
141
  negative: "bg-error text-error-800 focus-visible:outline-none",
136
142
  positive: "bg-success text-success-800 focus-visible:outline-none"
@@ -3549,7 +3555,7 @@ var CardResults = forwardRef9(
3549
3555
  layout: "horizontal",
3550
3556
  padding: "none",
3551
3557
  minHeight: "medium",
3552
- className: `items-center pr-4 ${className}`,
3558
+ className: `items-center cursor-pointer pr-4 ${className}`,
3553
3559
  ...props,
3554
3560
  children: [
3555
3561
  /* @__PURE__ */ jsx23(
@@ -3579,7 +3585,7 @@ var CardResults = forwardRef9(
3579
3585
  {
3580
3586
  action: "success",
3581
3587
  variant: "solid",
3582
- size: "medium",
3588
+ size: "large",
3583
3589
  iconLeft: /* @__PURE__ */ jsx23(CheckCircle3, {}),
3584
3590
  children: [
3585
3591
  correct_answers,
@@ -3592,7 +3598,7 @@ var CardResults = forwardRef9(
3592
3598
  {
3593
3599
  action: "error",
3594
3600
  variant: "solid",
3595
- size: "medium",
3601
+ size: "large",
3596
3602
  iconLeft: /* @__PURE__ */ jsx23(XCircle2, {}),
3597
3603
  children: [
3598
3604
  incorrect_answers,
@@ -3604,14 +3610,14 @@ var CardResults = forwardRef9(
3604
3610
  ]
3605
3611
  }
3606
3612
  ),
3607
- /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer" })
3613
+ /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
3608
3614
  ]
3609
3615
  }
3610
3616
  );
3611
3617
  }
3612
3618
  );
3613
3619
  var CardStatus = forwardRef9(
3614
- ({ header, className, status, ...props }, ref) => {
3620
+ ({ header, className, status, label, ...props }, ref) => {
3615
3621
  return /* @__PURE__ */ jsx23(
3616
3622
  CardBase,
3617
3623
  {
@@ -3619,7 +3625,7 @@ var CardStatus = forwardRef9(
3619
3625
  layout: "horizontal",
3620
3626
  padding: "medium",
3621
3627
  minHeight: "medium",
3622
- className: `items-center ${className}`,
3628
+ className: `items-center cursor-pointer ${className}`,
3623
3629
  ...props,
3624
3630
  children: /* @__PURE__ */ jsxs18("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
3625
3631
  /* @__PURE__ */ jsx23("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
@@ -3634,7 +3640,7 @@ var CardStatus = forwardRef9(
3634
3640
  children: status == "correct" ? "Correta" : "Incorreta"
3635
3641
  }
3636
3642
  ),
3637
- /* @__PURE__ */ jsx23("p", { className: "text-sm text-text-800", children: "Respondida" })
3643
+ label && /* @__PURE__ */ jsx23("p", { className: "text-sm text-text-800", children: label })
3638
3644
  ] }),
3639
3645
  /* @__PURE__ */ jsx23(CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
3640
3646
  ] })
@@ -4313,7 +4319,7 @@ var AlternativesList = ({
4313
4319
  /* @__PURE__ */ jsx25(
4314
4320
  "p",
4315
4321
  {
4316
- className: `block font-medium ${selectedValue === alternative.value || statusBadge ? "text-primary-950" : "text-text-600"}`,
4322
+ className: `block font-medium ${selectedValue === alternative.value || statusBadge ? "text-text-950" : "text-text-600"}`,
4317
4323
  children: alternative.label
4318
4324
  }
4319
4325
  ),
@@ -4336,7 +4342,7 @@ var AlternativesList = ({
4336
4342
  /* @__PURE__ */ jsx25(
4337
4343
  "span",
4338
4344
  {
4339
- className: `flex-1 ${selectedValue === alternative.value || statusBadge ? "text-primary-950" : "text-text-600"}`,
4345
+ className: `flex-1 ${selectedValue === alternative.value || statusBadge ? "text-text-950" : "text-text-600"}`,
4340
4346
  children: alternative.label
4341
4347
  }
4342
4348
  )
@@ -4396,7 +4402,7 @@ var AlternativesList = ({
4396
4402
  {
4397
4403
  htmlFor: alternativeId,
4398
4404
  className: `block font-medium
4399
- ${actualValue === alternative.value ? "text-primary-950" : "text-text-600"}
4405
+ ${actualValue === alternative.value ? "text-text-950" : "text-text-600"}
4400
4406
  ${alternative.disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
4401
4407
  children: alternative.label
4402
4408
  }
@@ -4429,7 +4435,7 @@ var AlternativesList = ({
4429
4435
  {
4430
4436
  htmlFor: alternativeId,
4431
4437
  className: `flex-1
4432
- ${actualValue === alternative.value ? "text-primary-950" : "text-text-600"}
4438
+ ${actualValue === alternative.value ? "text-text-950" : "text-text-600"}
4433
4439
  ${alternative.disabled ? "cursor-not-allowed" : "cursor-pointer"}`,
4434
4440
  children: alternative.label
4435
4441
  }