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.mjs
CHANGED
|
@@ -3793,7 +3793,7 @@ var MenuItem = forwardRef11(
|
|
|
3793
3793
|
{
|
|
3794
3794
|
"data-variant": "menu2",
|
|
3795
3795
|
className: `
|
|
3796
|
-
w-full flex flex-col items-center px-2 pt-4 gap-3
|
|
3796
|
+
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
|
|
3797
3797
|
focus:outline-none focus:border-indicator-info focus:border-2
|
|
3798
3798
|
${selectedValue === value ? "" : "pb-4"}
|
|
3799
3799
|
`,
|
|
@@ -4450,42 +4450,32 @@ var CardResults = forwardRef12(
|
|
|
4450
4450
|
);
|
|
4451
4451
|
var CardStatus = forwardRef12(
|
|
4452
4452
|
({ header, className, status, ...props }, ref) => {
|
|
4453
|
-
return /* @__PURE__ */
|
|
4453
|
+
return /* @__PURE__ */ jsx26(
|
|
4454
4454
|
CardBase,
|
|
4455
4455
|
{
|
|
4456
4456
|
ref,
|
|
4457
4457
|
layout: "horizontal",
|
|
4458
|
-
padding: "
|
|
4458
|
+
padding: "medium",
|
|
4459
4459
|
minHeight: "medium",
|
|
4460
|
-
className: `items-center
|
|
4460
|
+
className: `items-center ${className}`,
|
|
4461
4461
|
...props,
|
|
4462
|
-
children: [
|
|
4463
|
-
/* @__PURE__ */
|
|
4464
|
-
|
|
4465
|
-
|
|
4466
|
-
|
|
4467
|
-
|
|
4468
|
-
|
|
4469
|
-
|
|
4470
|
-
|
|
4471
|
-
|
|
4472
|
-
|
|
4473
|
-
|
|
4474
|
-
|
|
4475
|
-
|
|
4476
|
-
|
|
4477
|
-
|
|
4478
|
-
|
|
4479
|
-
children: status == "correct" ? "Correta" : "Incorreta"
|
|
4480
|
-
}
|
|
4481
|
-
),
|
|
4482
|
-
/* @__PURE__ */ jsx26("p", { className: "text-sm text-text-800", children: "Respondida" })
|
|
4483
|
-
] })
|
|
4484
|
-
]
|
|
4485
|
-
}
|
|
4486
|
-
),
|
|
4487
|
-
/* @__PURE__ */ jsx26(CaretRight2, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer" })
|
|
4488
|
-
]
|
|
4462
|
+
children: /* @__PURE__ */ jsxs21("div", { className: "flex justify-between w-full h-full flex-row items-center gap-2", children: [
|
|
4463
|
+
/* @__PURE__ */ jsx26("p", { className: "text-sm font-bold text-text-950 truncate flex-1 min-w-0", children: header }),
|
|
4464
|
+
status && /* @__PURE__ */ jsxs21("span", { className: "flex flex-row gap-1 items-center flex-shrink-0", children: [
|
|
4465
|
+
/* @__PURE__ */ jsx26(
|
|
4466
|
+
Badge_default,
|
|
4467
|
+
{
|
|
4468
|
+
action: status == "correct" ? "success" : "error",
|
|
4469
|
+
variant: "solid",
|
|
4470
|
+
size: "medium",
|
|
4471
|
+
iconLeft: /* @__PURE__ */ jsx26(CheckCircle3, {}),
|
|
4472
|
+
children: status == "correct" ? "Correta" : "Incorreta"
|
|
4473
|
+
}
|
|
4474
|
+
),
|
|
4475
|
+
/* @__PURE__ */ jsx26("p", { className: "text-sm text-text-800", children: "Respondida" })
|
|
4476
|
+
] }),
|
|
4477
|
+
/* @__PURE__ */ jsx26(CaretRight2, { className: "min-w-6 min-h-6 text-text-800 cursor-pointer flex-shrink-0 ml-2" })
|
|
4478
|
+
] })
|
|
4489
4479
|
}
|
|
4490
4480
|
);
|
|
4491
4481
|
}
|