analytica-frontend-lib 1.0.67 → 1.0.68
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/Card/index.d.mts +8 -1
- package/dist/Card/index.d.ts +8 -1
- package/dist/Card/index.js +45 -0
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +45 -0
- package/dist/Card/index.mjs.map +1 -1
- package/dist/index.css +137 -119
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +45 -0
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +45 -0
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +137 -119
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3954,6 +3954,7 @@ import {
|
|
|
3954
3954
|
CaretRight as CaretRight2,
|
|
3955
3955
|
ChatCircleText,
|
|
3956
3956
|
CheckCircle as CheckCircle3,
|
|
3957
|
+
Clock,
|
|
3957
3958
|
DotsThreeVertical,
|
|
3958
3959
|
Play,
|
|
3959
3960
|
SpeakerHigh,
|
|
@@ -4837,6 +4838,49 @@ var CardAudio = forwardRef12(
|
|
|
4837
4838
|
);
|
|
4838
4839
|
}
|
|
4839
4840
|
);
|
|
4841
|
+
var SIMULADO_BACKGROUND_CLASSES = {
|
|
4842
|
+
enem: "bg-exam-1",
|
|
4843
|
+
prova: "bg-exam-2",
|
|
4844
|
+
simuladao: "bg-exam-3",
|
|
4845
|
+
vestibular: "bg-exam-4"
|
|
4846
|
+
};
|
|
4847
|
+
var CardSimulado = forwardRef12(
|
|
4848
|
+
({ title, duration, info, backgroundColor, className, ...props }, ref) => {
|
|
4849
|
+
const backgroundClass = SIMULADO_BACKGROUND_CLASSES[backgroundColor];
|
|
4850
|
+
return /* @__PURE__ */ jsx26(
|
|
4851
|
+
CardBase,
|
|
4852
|
+
{
|
|
4853
|
+
ref,
|
|
4854
|
+
layout: "horizontal",
|
|
4855
|
+
padding: "medium",
|
|
4856
|
+
minHeight: "none",
|
|
4857
|
+
cursor: "pointer",
|
|
4858
|
+
className: `${backgroundClass} hover:shadow-soft-shadow-2 transition-shadow duration-200 ${className}`,
|
|
4859
|
+
...props,
|
|
4860
|
+
children: /* @__PURE__ */ jsxs21("div", { className: "flex justify-between items-center w-full gap-4", children: [
|
|
4861
|
+
/* @__PURE__ */ jsxs21("div", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
|
|
4862
|
+
/* @__PURE__ */ jsx26(Text_default, { size: "lg", weight: "bold", className: "text-text-950 truncate", children: title }),
|
|
4863
|
+
/* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-4 text-text-700", children: [
|
|
4864
|
+
duration && /* @__PURE__ */ jsxs21("div", { className: "flex items-center gap-1", children: [
|
|
4865
|
+
/* @__PURE__ */ jsx26(Clock, { size: 16, className: "flex-shrink-0" }),
|
|
4866
|
+
/* @__PURE__ */ jsx26(Text_default, { size: "sm", children: duration })
|
|
4867
|
+
] }),
|
|
4868
|
+
/* @__PURE__ */ jsx26(Text_default, { size: "sm", className: "truncate", children: info })
|
|
4869
|
+
] })
|
|
4870
|
+
] }),
|
|
4871
|
+
/* @__PURE__ */ jsx26(
|
|
4872
|
+
CaretRight2,
|
|
4873
|
+
{
|
|
4874
|
+
size: 24,
|
|
4875
|
+
className: "text-text-800 flex-shrink-0",
|
|
4876
|
+
"data-testid": "caret-icon"
|
|
4877
|
+
}
|
|
4878
|
+
)
|
|
4879
|
+
] })
|
|
4880
|
+
}
|
|
4881
|
+
);
|
|
4882
|
+
}
|
|
4883
|
+
);
|
|
4840
4884
|
|
|
4841
4885
|
// src/components/Skeleton/Skeleton.tsx
|
|
4842
4886
|
import { forwardRef as forwardRef13 } from "react";
|
|
@@ -4996,6 +5040,7 @@ export {
|
|
|
4996
5040
|
CardProgress,
|
|
4997
5041
|
CardQuestions,
|
|
4998
5042
|
CardResults,
|
|
5043
|
+
CardSimulado,
|
|
4999
5044
|
CardStatus,
|
|
5000
5045
|
CardTopic,
|
|
5001
5046
|
CheckBox_default as CheckBox,
|