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.
- 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 +65 -55
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +65 -55
- 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 +6 -0
- package/dist/index.css.map +1 -1
- package/dist/index.js +65 -55
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +65 -55
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +6 -0
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/Card/index.js
CHANGED
|
@@ -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
|
-
|
|
911
|
-
|
|
912
|
-
|
|
913
|
-
|
|
914
|
-
|
|
915
|
-
|
|
916
|
-
|
|
917
|
-
|
|
918
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
1341
|
-
|
|
1342
|
-
/* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
1343
|
-
|
|
1344
|
-
|
|
1345
|
-
|
|
1346
|
-
|
|
1347
|
-
|
|
1348
|
-
|
|
1349
|
-
|
|
1350
|
-
|
|
1351
|
-
|
|
1352
|
-
|
|
1353
|
-
|
|
1354
|
-
|
|
1355
|
-
|
|
1356
|
-
|
|
1357
|
-
|
|
1358
|
-
|
|
1359
|
-
|
|
1360
|
-
|
|
1361
|
-
|
|
1362
|
-
|
|
1363
|
-
|
|
1364
|
-
|
|
1365
|
-
|
|
1366
|
-
|
|
1367
|
-
|
|
1368
|
-
|
|
1369
|
-
|
|
1370
|
-
|
|
1371
|
-
|
|
1372
|
-
|
|
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: "
|
|
2013
|
+
text: "Simulad\xE3o"
|
|
2005
2014
|
},
|
|
2006
2015
|
vestibular: {
|
|
2007
2016
|
background: "bg-exam-4",
|