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/Card/index.js +20 -30
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +20 -30
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Menu/index.js +1 -1
- package/dist/Menu/index.js.map +1 -1
- package/dist/Menu/index.mjs +1 -1
- package/dist/Menu/index.mjs.map +1 -1
- package/dist/index.css +0 -4
- package/dist/index.css.map +1 -1
- package/dist/index.js +21 -31
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -31
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -4
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
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
|
|
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.
|
|
4474
|
+
return /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4475
4475
|
CardBase,
|
|
4476
4476
|
{
|
|
4477
4477
|
ref,
|
|
4478
4478
|
layout: "horizontal",
|
|
4479
|
-
padding: "
|
|
4479
|
+
padding: "medium",
|
|
4480
4480
|
minHeight: "medium",
|
|
4481
|
-
className: `items-center
|
|
4481
|
+
className: `items-center ${className}`,
|
|
4482
4482
|
...props,
|
|
4483
|
-
children: [
|
|
4484
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.
|
|
4485
|
-
|
|
4486
|
-
|
|
4487
|
-
|
|
4488
|
-
|
|
4489
|
-
|
|
4490
|
-
|
|
4491
|
-
|
|
4492
|
-
|
|
4493
|
-
|
|
4494
|
-
|
|
4495
|
-
|
|
4496
|
-
|
|
4497
|
-
|
|
4498
|
-
|
|
4499
|
-
|
|
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
|
}
|