analytica-frontend-lib 1.1.41 → 1.1.43

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.
@@ -896,15 +896,22 @@ var CardBase = (0, import_react.forwardRef)(
896
896
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
897
897
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
898
898
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
899
- const combinedClasses = [
900
- baseClasses,
901
- paddingClasses,
902
- minHeightClasses,
903
- layoutClasses,
904
- cursorClasses,
905
- className
906
- ].filter(Boolean).join(" ");
907
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ref, className: combinedClasses, ...props, children });
899
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
900
+ "div",
901
+ {
902
+ ref,
903
+ className: cn(
904
+ baseClasses,
905
+ paddingClasses,
906
+ minHeightClasses,
907
+ layoutClasses,
908
+ cursorClasses,
909
+ className
910
+ ),
911
+ ...props,
912
+ children
913
+ }
914
+ );
908
915
  }
909
916
  );
910
917
  var ACTION_CARD_CLASSES = {
@@ -1303,14 +1310,14 @@ var CardResults = (0, import_react.forwardRef)(
1303
1310
  layout: "horizontal",
1304
1311
  padding: "none",
1305
1312
  minHeight: "medium",
1306
- className: cn("items-center cursor-pointer pr-4", className),
1313
+ className: cn("items-stretch cursor-pointer pr-4", className),
1307
1314
  ...props,
1308
1315
  children: [
1309
1316
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1310
1317
  "div",
1311
1318
  {
1312
1319
  className: cn(
1313
- "flex justify-center items-center [&>svg]:size-8 text-text-950 min-w-20 max-w-20 min-h-20 h-full rounded-l-xl"
1320
+ "flex justify-center items-center [&>svg]:size-8 text-text-950 min-w-20 max-w-20 min-h-full rounded-l-xl"
1314
1321
  ),
1315
1322
  style: {
1316
1323
  backgroundColor: color
@@ -1318,47 +1325,49 @@ var CardResults = (0, import_react.forwardRef)(
1318
1325
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1319
1326
  }
1320
1327
  ),
1321
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1322
- "div",
1323
- {
1324
- className: cn(
1325
- "p-4 flex flex-wrap justify-between w-full h-full",
1326
- isRow ? "flex-row items-center gap-2" : "flex-col"
1327
- ),
1328
- children: [
1329
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1330
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center", children: [
1331
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1332
- Badge_default,
1333
- {
1334
- action: "success",
1335
- variant: "solid",
1336
- size: "large",
1337
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1338
- children: [
1339
- correct_answers,
1340
- " Corretas"
1341
- ]
1342
- }
1343
- ),
1344
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1345
- Badge_default,
1346
- {
1347
- action: "error",
1348
- variant: "solid",
1349
- size: "large",
1350
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1351
- children: [
1352
- incorrect_answers,
1353
- " Incorretas"
1354
- ]
1355
- }
1356
- )
1357
- ] })
1358
- ]
1359
- }
1360
- ),
1361
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1328
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1329
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1330
+ "div",
1331
+ {
1332
+ className: cn(
1333
+ "p-4 flex flex-wrap justify-between w-full h-full",
1334
+ isRow ? "flex-row items-center gap-2" : "flex-col"
1335
+ ),
1336
+ children: [
1337
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1338
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1339
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1340
+ Badge_default,
1341
+ {
1342
+ action: "success",
1343
+ variant: "solid",
1344
+ size: "large",
1345
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1346
+ children: [
1347
+ correct_answers,
1348
+ " Corretas"
1349
+ ]
1350
+ }
1351
+ ),
1352
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1353
+ Badge_default,
1354
+ {
1355
+ action: "error",
1356
+ variant: "solid",
1357
+ size: "large",
1358
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1359
+ children: [
1360
+ incorrect_answers,
1361
+ " Incorretas"
1362
+ ]
1363
+ }
1364
+ )
1365
+ ] })
1366
+ ]
1367
+ }
1368
+ ),
1369
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1370
+ ] })
1362
1371
  ]
1363
1372
  }
1364
1373
  );
@@ -1990,7 +1999,7 @@ var SIMULATION_TYPE_STYLES = {
1990
1999
  simulado: {
1991
2000
  background: "bg-exam-3",
1992
2001
  badge: "exam3",
1993
- text: "Simulado"
2002
+ text: "Simulad\xE3o"
1994
2003
  },
1995
2004
  vestibular: {
1996
2005
  background: "bg-exam-4",