analytica-frontend-lib 1.1.41 → 1.1.42
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/Accordation/index.js +62 -53
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +62 -53
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.js +62 -53
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +62 -53
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Quiz/index.js +66 -56
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +66 -56
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Quiz/useQuizStore/index.d.mts +1 -0
- package/dist/Quiz/useQuizStore/index.d.ts +1 -0
- package/dist/Quiz/useQuizStore/index.js.map +1 -1
- package/dist/Quiz/useQuizStore/index.mjs.map +1 -1
- package/dist/index.css +9 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +66 -56
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +66 -56
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +9 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
|
@@ -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
|
-
|
|
900
|
-
|
|
901
|
-
|
|
902
|
-
|
|
903
|
-
|
|
904
|
-
|
|
905
|
-
|
|
906
|
-
|
|
907
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
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: "
|
|
2002
|
+
text: "Simulad\xE3o"
|
|
1994
2003
|
},
|
|
1995
2004
|
vestibular: {
|
|
1996
2005
|
background: "bg-exam-4",
|