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
package/dist/Card/index.mjs
CHANGED
|
@@ -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
|
-
|
|
879
|
-
|
|
880
|
-
|
|
881
|
-
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
|
|
885
|
-
|
|
886
|
-
|
|
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-
|
|
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-
|
|
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
|
-
|
|
1302
|
-
|
|
1303
|
-
|
|
1304
|
-
|
|
1305
|
-
|
|
1306
|
-
|
|
1307
|
-
|
|
1308
|
-
|
|
1309
|
-
|
|
1310
|
-
/* @__PURE__ */ jsxs5(
|
|
1311
|
-
|
|
1312
|
-
|
|
1313
|
-
|
|
1314
|
-
|
|
1315
|
-
|
|
1316
|
-
|
|
1317
|
-
|
|
1318
|
-
|
|
1319
|
-
|
|
1320
|
-
|
|
1321
|
-
|
|
1322
|
-
|
|
1323
|
-
|
|
1324
|
-
|
|
1325
|
-
|
|
1326
|
-
|
|
1327
|
-
|
|
1328
|
-
|
|
1329
|
-
|
|
1330
|
-
|
|
1331
|
-
|
|
1332
|
-
|
|
1333
|
-
|
|
1334
|
-
|
|
1335
|
-
|
|
1336
|
-
|
|
1337
|
-
|
|
1338
|
-
|
|
1339
|
-
|
|
1340
|
-
|
|
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: "
|
|
1981
|
+
text: "Simulad\xE3o"
|
|
1973
1982
|
},
|
|
1974
1983
|
vestibular: {
|
|
1975
1984
|
background: "bg-exam-4",
|