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