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.
@@ -882,15 +882,22 @@ var CardBase = forwardRef(
882
882
  const minHeightClasses = CARD_MIN_HEIGHT_CLASSES[minHeight];
883
883
  const layoutClasses = CARD_LAYOUT_CLASSES[layout];
884
884
  const cursorClasses = CARD_CURSOR_CLASSES[cursor];
885
- const combinedClasses = [
886
- baseClasses,
887
- paddingClasses,
888
- minHeightClasses,
889
- layoutClasses,
890
- cursorClasses,
891
- className
892
- ].filter(Boolean).join(" ");
893
- return /* @__PURE__ */ jsx6("div", { ref, className: combinedClasses, ...props, children });
885
+ return /* @__PURE__ */ jsx6(
886
+ "div",
887
+ {
888
+ ref,
889
+ className: cn(
890
+ baseClasses,
891
+ paddingClasses,
892
+ minHeightClasses,
893
+ layoutClasses,
894
+ cursorClasses,
895
+ className
896
+ ),
897
+ ...props,
898
+ children
899
+ }
900
+ );
894
901
  }
895
902
  );
896
903
  var ACTION_CARD_CLASSES = {
@@ -1289,14 +1296,14 @@ var CardResults = forwardRef(
1289
1296
  layout: "horizontal",
1290
1297
  padding: "none",
1291
1298
  minHeight: "medium",
1292
- className: cn("items-center cursor-pointer pr-4", className),
1299
+ className: cn("items-stretch cursor-pointer pr-4", className),
1293
1300
  ...props,
1294
1301
  children: [
1295
1302
  /* @__PURE__ */ jsx6(
1296
1303
  "div",
1297
1304
  {
1298
1305
  className: cn(
1299
- "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"
1306
+ "flex justify-center items-center [&>svg]:size-8 text-text-950 min-w-20 max-w-20 min-h-full rounded-l-xl"
1300
1307
  ),
1301
1308
  style: {
1302
1309
  backgroundColor: color
@@ -1304,47 +1311,49 @@ var CardResults = forwardRef(
1304
1311
  children: /* @__PURE__ */ jsx6(IconRender_default, { iconName: icon, color: "currentColor", size: 20 })
1305
1312
  }
1306
1313
  ),
1307
- /* @__PURE__ */ jsxs5(
1308
- "div",
1309
- {
1310
- className: cn(
1311
- "p-4 flex flex-wrap justify-between w-full h-full",
1312
- isRow ? "flex-row items-center gap-2" : "flex-col"
1313
- ),
1314
- children: [
1315
- /* @__PURE__ */ jsx6("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1316
- /* @__PURE__ */ jsxs5("span", { className: "flex flex-row gap-1 items-center", children: [
1317
- /* @__PURE__ */ jsxs5(
1318
- Badge_default,
1319
- {
1320
- action: "success",
1321
- variant: "solid",
1322
- size: "large",
1323
- iconLeft: /* @__PURE__ */ jsx6(CheckCircle, {}),
1324
- children: [
1325
- correct_answers,
1326
- " Corretas"
1327
- ]
1328
- }
1329
- ),
1330
- /* @__PURE__ */ jsxs5(
1331
- Badge_default,
1332
- {
1333
- action: "error",
1334
- variant: "solid",
1335
- size: "large",
1336
- iconLeft: /* @__PURE__ */ jsx6(XCircle, {}),
1337
- children: [
1338
- incorrect_answers,
1339
- " Incorretas"
1340
- ]
1341
- }
1342
- )
1343
- ] })
1344
- ]
1345
- }
1346
- ),
1347
- /* @__PURE__ */ jsx6(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1314
+ /* @__PURE__ */ jsxs5("div", { className: "w-full flex flex-row justify-between items-center", children: [
1315
+ /* @__PURE__ */ jsxs5(
1316
+ "div",
1317
+ {
1318
+ className: cn(
1319
+ "p-4 flex flex-wrap justify-between w-full h-full",
1320
+ isRow ? "flex-row items-center gap-2" : "flex-col"
1321
+ ),
1322
+ children: [
1323
+ /* @__PURE__ */ jsx6("p", { className: "text-sm font-bold text-text-950 flex-1", children: header }),
1324
+ /* @__PURE__ */ jsxs5("span", { className: "flex flex-wrap flex-row gap-1 items-center", children: [
1325
+ /* @__PURE__ */ jsxs5(
1326
+ Badge_default,
1327
+ {
1328
+ action: "success",
1329
+ variant: "solid",
1330
+ size: "large",
1331
+ iconLeft: /* @__PURE__ */ jsx6(CheckCircle, {}),
1332
+ children: [
1333
+ correct_answers,
1334
+ " Corretas"
1335
+ ]
1336
+ }
1337
+ ),
1338
+ /* @__PURE__ */ jsxs5(
1339
+ Badge_default,
1340
+ {
1341
+ action: "error",
1342
+ variant: "solid",
1343
+ size: "large",
1344
+ iconLeft: /* @__PURE__ */ jsx6(XCircle, {}),
1345
+ children: [
1346
+ incorrect_answers,
1347
+ " Incorretas"
1348
+ ]
1349
+ }
1350
+ )
1351
+ ] })
1352
+ ]
1353
+ }
1354
+ ),
1355
+ /* @__PURE__ */ jsx6(CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
1356
+ ] })
1348
1357
  ]
1349
1358
  }
1350
1359
  );
@@ -1976,7 +1985,7 @@ var SIMULATION_TYPE_STYLES = {
1976
1985
  simulado: {
1977
1986
  background: "bg-exam-3",
1978
1987
  badge: "exam3",
1979
- text: "Simulado"
1988
+ text: "Simulad\xE3o"
1980
1989
  },
1981
1990
  vestibular: {
1982
1991
  background: "bg-exam-4",