analytica-frontend-lib 1.2.4 → 1.2.6
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 +9 -16
- package/dist/Accordation/index.js.map +1 -1
- package/dist/Accordation/index.mjs +9 -16
- package/dist/Accordation/index.mjs.map +1 -1
- package/dist/Card/index.d.mts +0 -1
- package/dist/Card/index.d.ts +0 -1
- package/dist/Card/index.js +9 -16
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +9 -16
- package/dist/Card/index.mjs.map +1 -1
- package/dist/DropdownMenu/index.d.mts +1 -0
- package/dist/DropdownMenu/index.d.ts +1 -0
- package/dist/DropdownMenu/index.js +9 -2
- package/dist/DropdownMenu/index.js.map +1 -1
- package/dist/DropdownMenu/index.mjs +9 -2
- package/dist/DropdownMenu/index.mjs.map +1 -1
- package/dist/NotificationCard/index.js +9 -2
- package/dist/NotificationCard/index.js.map +1 -1
- package/dist/NotificationCard/index.mjs +9 -2
- package/dist/NotificationCard/index.mjs.map +1 -1
- package/dist/Quiz/index.js +9 -16
- package/dist/Quiz/index.js.map +1 -1
- package/dist/Quiz/index.mjs +9 -16
- package/dist/Quiz/index.mjs.map +1 -1
- package/dist/Search/index.js +9 -2
- package/dist/Search/index.js.map +1 -1
- package/dist/Search/index.mjs +9 -2
- package/dist/Search/index.mjs.map +1 -1
- package/dist/index.css +0 -4
- package/dist/index.css.map +1 -1
- package/dist/index.js +18 -18
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +18 -18
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +0 -4
- package/dist/styles.css.map +1 -1
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -3052,7 +3052,7 @@ var ProfileMenuTrigger = forwardRef9(({ className, onClick, store: externalStore
|
|
|
3052
3052
|
);
|
|
3053
3053
|
});
|
|
3054
3054
|
ProfileMenuTrigger.displayName = "ProfileMenuTrigger";
|
|
3055
|
-
var ProfileMenuHeader = forwardRef9(({ className, name, email, store: _store, ...props }, ref) => {
|
|
3055
|
+
var ProfileMenuHeader = forwardRef9(({ className, name, email, photoUrl, store: _store, ...props }, ref) => {
|
|
3056
3056
|
return /* @__PURE__ */ jsxs14(
|
|
3057
3057
|
"div",
|
|
3058
3058
|
{
|
|
@@ -3061,7 +3061,14 @@ var ProfileMenuHeader = forwardRef9(({ className, name, email, store: _store, ..
|
|
|
3061
3061
|
className: cn("flex flex-row gap-4 items-center", className),
|
|
3062
3062
|
...props,
|
|
3063
3063
|
children: [
|
|
3064
|
-
/* @__PURE__ */ jsx21("span", { className: "
|
|
3064
|
+
/* @__PURE__ */ jsx21("span", { className: "w-16 h-16 bg-primary-100 rounded-full flex items-center justify-center overflow-hidden", children: photoUrl ? /* @__PURE__ */ jsx21(
|
|
3065
|
+
"img",
|
|
3066
|
+
{
|
|
3067
|
+
src: photoUrl,
|
|
3068
|
+
alt: "Foto de perfil",
|
|
3069
|
+
className: "w-full h-full object-cover"
|
|
3070
|
+
}
|
|
3071
|
+
) : /* @__PURE__ */ jsx21(User, { size: 34, className: "text-primary-800" }) }),
|
|
3065
3072
|
/* @__PURE__ */ jsxs14("div", { className: "flex flex-col ", children: [
|
|
3066
3073
|
/* @__PURE__ */ jsx21(Text_default, { size: "xl", weight: "bold", color: "text-text-950", children: name }),
|
|
3067
3074
|
/* @__PURE__ */ jsx21(Text_default, { size: "md", color: "text-text-600", children: email })
|
|
@@ -7537,7 +7544,6 @@ var CardQuestions = forwardRef17(
|
|
|
7537
7544
|
className,
|
|
7538
7545
|
onClickButton,
|
|
7539
7546
|
valueButton,
|
|
7540
|
-
label = "00",
|
|
7541
7547
|
...props
|
|
7542
7548
|
}, ref) => {
|
|
7543
7549
|
const isDone = state === "done";
|
|
@@ -7555,21 +7561,15 @@ var CardQuestions = forwardRef17(
|
|
|
7555
7561
|
children: [
|
|
7556
7562
|
/* @__PURE__ */ jsxs31("section", { className: "flex flex-col gap-1 flex-1 min-w-0", children: [
|
|
7557
7563
|
/* @__PURE__ */ jsx43("p", { className: "font-bold text-xs text-text-950 truncate", children: header }),
|
|
7558
|
-
/* @__PURE__ */
|
|
7559
|
-
|
|
7560
|
-
|
|
7561
|
-
|
|
7562
|
-
|
|
7563
|
-
|
|
7564
|
-
|
|
7565
|
-
|
|
7566
|
-
|
|
7567
|
-
),
|
|
7568
|
-
/* @__PURE__ */ jsxs31("span", { className: "flex flex-row items-center gap-1 text-text-700 text-xs", children: [
|
|
7569
|
-
isDone ? "Nota" : "Sem nota",
|
|
7570
|
-
isDone && /* @__PURE__ */ jsx43(Badge_default, { size: "medium", action: "success", children: label })
|
|
7571
|
-
] })
|
|
7572
|
-
] })
|
|
7564
|
+
/* @__PURE__ */ jsx43("div", { className: "flex flex-row gap-6 items-center", children: /* @__PURE__ */ jsx43(
|
|
7565
|
+
Badge_default,
|
|
7566
|
+
{
|
|
7567
|
+
size: "medium",
|
|
7568
|
+
variant: "solid",
|
|
7569
|
+
action: isDone ? "success" : "error",
|
|
7570
|
+
children: stateLabel
|
|
7571
|
+
}
|
|
7572
|
+
) })
|
|
7573
7573
|
] }),
|
|
7574
7574
|
/* @__PURE__ */ jsx43("span", { className: "flex-shrink-0", children: /* @__PURE__ */ jsx43(
|
|
7575
7575
|
Button_default,
|