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.
@@ -907,15 +907,22 @@ var CardBase = (0, import_react.forwardRef)(
907
907
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
908
908
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
909
909
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
910
- const combinedClasses = [
911
- baseClasses,
912
- paddingClasses,
913
- minHeightClasses,
914
- layoutClasses,
915
- cursorClasses,
916
- className
917
- ].filter(Boolean).join(" ");
918
- return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { ref, className: combinedClasses, ...props, children });
910
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
911
+ "div",
912
+ {
913
+ ref,
914
+ className: cn(
915
+ baseClasses,
916
+ paddingClasses,
917
+ minHeightClasses,
918
+ layoutClasses,
919
+ cursorClasses,
920
+ className
921
+ ),
922
+ ...props,
923
+ children
924
+ }
925
+ );
919
926
  }
920
927
  );
921
928
  var ACTION_CARD_CLASSES = {
@@ -1314,14 +1321,14 @@ var CardResults = (0, import_react.forwardRef)(
1314
1321
  layout: "horizontal",
1315
1322
  padding: "none",
1316
1323
  minHeight: "medium",
1317
- className: cn("items-center cursor-pointer pr-4", className),
1324
+ className: cn("items-stretch cursor-pointer pr-4", className),
1318
1325
  ...props,
1319
1326
  children: [
1320
1327
  /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
1321
1328
  "div",
1322
1329
  {
1323
1330
  className: cn(
1324
- "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"
1331
+ "flex justify-center items-center [&>svg]:size-8 text-text-950 min-w-20 max-w-20 min-h-full rounded-l-xl"
1325
1332
  ),
1326
1333
  style: {
1327
1334
  backgroundColor: color
@@ -1329,47 +1336,49 @@ var CardResults = (0, import_react.forwardRef)(
1329
1336
  children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1330
1337
  }
1331
1338
  ),
1332
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1333
- "div",
1334
- {
1335
- className: cn(
1336
- "p-4 flex flex-wrap justify-between w-full h-full",
1337
- isRow ? "flex-row items-center gap-2" : "flex-col"
1338
- ),
1339
- children: [
1340
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1341
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-row gap-1 items-center", children: [
1342
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1343
- Badge_default,
1344
- {
1345
- action: "success",
1346
- variant: "solid",
1347
- size: "large",
1348
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1349
- children: [
1350
- correct_answers,
1351
- " Corretas"
1352
- ]
1353
- }
1354
- ),
1355
- /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1356
- Badge_default,
1357
- {
1358
- action: "error",
1359
- variant: "solid",
1360
- size: "large",
1361
- iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1362
- children: [
1363
- incorrect_answers,
1364
- " Incorretas"
1365
- ]
1366
- }
1367
- )
1368
- ] })
1369
- ]
1370
- }
1371
- ),
1372
- /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1339
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("div", { className: "w-full flex flex-row justify-between items-center", children: [
1340
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1341
+ "div",
1342
+ {
1343
+ className: cn(
1344
+ "p-4 flex flex-wrap justify-between w-full h-full",
1345
+ isRow ? "flex-row items-center gap-2" : "flex-col"
1346
+ ),
1347
+ children: [
1348
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1349
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1350
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1351
+ Badge_default,
1352
+ {
1353
+ action: "success",
1354
+ variant: "solid",
1355
+ size: "large",
1356
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CheckCircle, {}),
1357
+ children: [
1358
+ correct_answers,
1359
+ " Corretas"
1360
+ ]
1361
+ }
1362
+ ),
1363
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
1364
+ Badge_default,
1365
+ {
1366
+ action: "error",
1367
+ variant: "solid",
1368
+ size: "large",
1369
+ iconLeft: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.XCircle, {}),
1370
+ children: [
1371
+ incorrect_answers,
1372
+ " Incorretas"
1373
+ ]
1374
+ }
1375
+ )
1376
+ ] })
1377
+ ]
1378
+ }
1379
+ ),
1380
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_phosphor_react2.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1381
+ ] })
1373
1382
  ]
1374
1383
  }
1375
1384
  );
@@ -2001,7 +2010,7 @@ var SIMULATION_TYPE_STYLES = {
2001
2010
  simulado: {
2002
2011
  background: "bg-exam-3",
2003
2012
  badge: "exam3",
2004
- text: "Simulado"
2013
+ text: "Simulad\xE3o"
2005
2014
  },
2006
2015
  vestibular: {
2007
2016
  background: "bg-exam-4",