analytica-frontend-lib 1.0.66 → 1.0.67

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.js CHANGED
@@ -3829,7 +3829,7 @@ var MenuItem = (0, import_react13.forwardRef)(
3829
3829
  {
3830
3830
  "data-variant": "menu2",
3831
3831
  className: `
3832
- w-full flex flex-col items-center px-2 pt-4 gap-3 border-b-4 border-transparent cursor-pointer focus:rounded-sm justify-center hover:bg-background-100 rounded-lg
3832
+ w-full flex flex-col items-center px-2 pt-4 gap-3 cursor-pointer focus:rounded-sm justify-center hover:bg-background-100 rounded-lg
3833
3833
  focus:outline-none focus:border-indicator-info focus:border-2
3834
3834
  ${selectedValue === value ? "" : "pb-4"}
3835
3835
  `,
@@ -4471,42 +4471,32 @@ var CardResults = (0, import_react14.forwardRef)(
4471
4471
  );
4472
4472
  var CardStatus = (0, import_react14.forwardRef)(
4473
4473
  ({ header, className, status, ...props }, ref) => {
4474
- return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4474
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4475
4475
  CardBase,
4476
4476
  {
4477
4477
  ref,
4478
4478
  layout: "horizontal",
4479
- padding: "none",
4479
+ padding: "medium",
4480
4480
  minHeight: "medium",
4481
- className: `items-center pr-4 ${className}`,
4481
+ className: `items-center ${className}`,
4482
4482
  ...props,
4483
- children: [
4484
- /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
4485
- "div",
4486
- {
4487
- className: `
4488
- p-4 flex justify-between w-full h-full flex-row items-center gap-2
4489
- `,
4490
- children: [
4491
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4492
- status && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center", children: [
4493
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4494
- Badge_default,
4495
- {
4496
- action: status == "correct" ? "success" : "error",
4497
- variant: "solid",
4498
- size: "medium",
4499
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CheckCircle, {}),
4500
- children: status == "correct" ? "Correta" : "Incorreta"
4501
- }
4502
- ),
4503
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-800", children: "Respondida" })
4504
- ] })
4505
- ]
4506
- }
4507
- ),
4508
- /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer" })
4509
- ]
4483
+ children: /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
4484
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
4485
+ status && /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
4486
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
4487
+ Badge_default,
4488
+ {
4489
+ action: status == "correct" ? "success" : "error",
4490
+ variant: "solid",
4491
+ size: "medium",
4492
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CheckCircle, {}),
4493
+ children: status == "correct" ? "Correta" : "Incorreta"
4494
+ }
4495
+ ),
4496
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-sm text-text-800", children: "Respondida" })
4497
+ ] }),
4498
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
4499
+ ] })
4510
4500
  }
4511
4501
  );
4512
4502
  }