analytica-frontend-lib 1.0.51 → 1.0.53
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/Calendar/index.js +5 -5
- package/dist/Calendar/index.js.map +1 -1
- package/dist/Calendar/index.mjs +5 -5
- package/dist/Calendar/index.mjs.map +1 -1
- package/dist/Radio/index.js +4 -4
- package/dist/Radio/index.js.map +1 -1
- package/dist/Radio/index.mjs +4 -4
- package/dist/Radio/index.mjs.map +1 -1
- package/dist/TextArea/index.js +6 -1
- package/dist/TextArea/index.js.map +1 -1
- package/dist/TextArea/index.mjs +6 -1
- package/dist/TextArea/index.mjs.map +1 -1
- package/dist/index.js +49 -44
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +21 -16
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -844,7 +844,7 @@ var SIZE_CLASSES4 = {
|
|
|
844
844
|
textSize: "sm",
|
|
845
845
|
spacing: "gap-1.5",
|
|
846
846
|
borderWidth: "border-2",
|
|
847
|
-
dotSize: "w-2 h-2",
|
|
847
|
+
dotSize: "w-2.5 h-2.5",
|
|
848
848
|
labelHeight: "h-5"
|
|
849
849
|
},
|
|
850
850
|
medium: {
|
|
@@ -852,7 +852,7 @@ var SIZE_CLASSES4 = {
|
|
|
852
852
|
textSize: "md",
|
|
853
853
|
spacing: "gap-2",
|
|
854
854
|
borderWidth: "border-2",
|
|
855
|
-
dotSize: "w-
|
|
855
|
+
dotSize: "w-3 h-3",
|
|
856
856
|
labelHeight: "h-6"
|
|
857
857
|
},
|
|
858
858
|
large: {
|
|
@@ -860,7 +860,7 @@ var SIZE_CLASSES4 = {
|
|
|
860
860
|
textSize: "lg",
|
|
861
861
|
spacing: "gap-2",
|
|
862
862
|
borderWidth: "border-2",
|
|
863
|
-
dotSize: "w-3 h-3",
|
|
863
|
+
dotSize: "w-3.5 h-3.5",
|
|
864
864
|
labelHeight: "h-7"
|
|
865
865
|
},
|
|
866
866
|
extraLarge: {
|
|
@@ -868,7 +868,7 @@ var SIZE_CLASSES4 = {
|
|
|
868
868
|
textSize: "xl",
|
|
869
869
|
spacing: "gap-3",
|
|
870
870
|
borderWidth: "border-2",
|
|
871
|
-
dotSize: "w-
|
|
871
|
+
dotSize: "w-4 h-4",
|
|
872
872
|
labelHeight: "h-8"
|
|
873
873
|
}
|
|
874
874
|
};
|
|
@@ -1032,6 +1032,7 @@ var Radio_default = Radio;
|
|
|
1032
1032
|
|
|
1033
1033
|
// src/components/TextArea/TextArea.tsx
|
|
1034
1034
|
var import_react7 = require("react");
|
|
1035
|
+
var import_phosphor_react4 = require("phosphor-react");
|
|
1035
1036
|
var import_jsx_runtime12 = require("react/jsx-runtime");
|
|
1036
1037
|
var SIZE_CLASSES5 = {
|
|
1037
1038
|
small: {
|
|
@@ -1146,7 +1147,11 @@ var TextArea = (0, import_react7.forwardRef)(
|
|
|
1146
1147
|
...props
|
|
1147
1148
|
}
|
|
1148
1149
|
),
|
|
1149
|
-
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime12.
|
|
1150
|
+
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error mt-1.5", children: [
|
|
1151
|
+
/* @__PURE__ */ (0, import_jsx_runtime12.jsx)(import_phosphor_react4.WarningCircle, { size: 16 }),
|
|
1152
|
+
" ",
|
|
1153
|
+
errorMessage
|
|
1154
|
+
] }),
|
|
1150
1155
|
helperMessage && !errorMessage && /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Text_default, { size: "sm", weight: "normal", className: "mt-1.5 text-text-500", children: helperMessage })
|
|
1151
1156
|
] });
|
|
1152
1157
|
}
|
|
@@ -1155,7 +1160,7 @@ TextArea.displayName = "TextArea";
|
|
|
1155
1160
|
var TextArea_default = TextArea;
|
|
1156
1161
|
|
|
1157
1162
|
// src/components/Toast/Toast.tsx
|
|
1158
|
-
var
|
|
1163
|
+
var import_phosphor_react5 = require("phosphor-react");
|
|
1159
1164
|
var import_jsx_runtime13 = require("react/jsx-runtime");
|
|
1160
1165
|
var VARIANT_ACTION_CLASSES4 = {
|
|
1161
1166
|
solid: {
|
|
@@ -1170,9 +1175,9 @@ var VARIANT_ACTION_CLASSES4 = {
|
|
|
1170
1175
|
}
|
|
1171
1176
|
};
|
|
1172
1177
|
var iconMap = {
|
|
1173
|
-
success:
|
|
1174
|
-
info:
|
|
1175
|
-
warning:
|
|
1178
|
+
success: import_phosphor_react5.CheckCircle,
|
|
1179
|
+
info: import_phosphor_react5.Info,
|
|
1180
|
+
warning: import_phosphor_react5.WarningCircle
|
|
1176
1181
|
};
|
|
1177
1182
|
var Toast = ({
|
|
1178
1183
|
variant = "outlined",
|
|
@@ -1218,7 +1223,7 @@ var Toast = ({
|
|
|
1218
1223
|
onClick: onClose,
|
|
1219
1224
|
"aria-label": "Dismiss notification",
|
|
1220
1225
|
className: "text-background-500 cursor-pointer opacity-0 group-hover:opacity-100 transition-opacity",
|
|
1221
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
|
|
1226
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(import_phosphor_react5.X, {})
|
|
1222
1227
|
}
|
|
1223
1228
|
)
|
|
1224
1229
|
]
|
|
@@ -1289,7 +1294,7 @@ var Divider = ({
|
|
|
1289
1294
|
var Divider_default = Divider;
|
|
1290
1295
|
|
|
1291
1296
|
// src/components/Input/Input.tsx
|
|
1292
|
-
var
|
|
1297
|
+
var import_phosphor_react6 = require("phosphor-react");
|
|
1293
1298
|
var import_react8 = require("react");
|
|
1294
1299
|
var import_jsx_runtime16 = require("react/jsx-runtime");
|
|
1295
1300
|
var SIZE_CLASSES6 = {
|
|
@@ -1330,7 +1335,7 @@ var getPasswordToggleConfig = (type, disabled, readOnly, showPassword, iconRight
|
|
|
1330
1335
|
let actualIconRight = iconRight;
|
|
1331
1336
|
let ariaLabel;
|
|
1332
1337
|
if (shouldShowPasswordToggle) {
|
|
1333
|
-
actualIconRight = showPassword ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1338
|
+
actualIconRight = showPassword ? /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_phosphor_react6.EyeSlash, {}) : /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_phosphor_react6.Eye, {});
|
|
1334
1339
|
ariaLabel = showPassword ? "Ocultar senha" : "Mostrar senha";
|
|
1335
1340
|
}
|
|
1336
1341
|
return { shouldShowPasswordToggle, actualIconRight, ariaLabel };
|
|
@@ -1441,7 +1446,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
|
1441
1446
|
/* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("div", { className: "mt-1.5 gap-1.5", children: [
|
|
1442
1447
|
helperText && /* @__PURE__ */ (0, import_jsx_runtime16.jsx)("p", { className: "text-sm text-text-500", children: helperText }),
|
|
1443
1448
|
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime16.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
|
|
1444
|
-
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
|
|
1449
|
+
/* @__PURE__ */ (0, import_jsx_runtime16.jsx)(import_phosphor_react6.WarningCircle, { size: 16 }),
|
|
1445
1450
|
" ",
|
|
1446
1451
|
errorMessage
|
|
1447
1452
|
] })
|
|
@@ -1452,7 +1457,7 @@ var Input = (0, import_react8.forwardRef)(
|
|
|
1452
1457
|
var Input_default = Input;
|
|
1453
1458
|
|
|
1454
1459
|
// src/components/Chips/Chips.tsx
|
|
1455
|
-
var
|
|
1460
|
+
var import_phosphor_react7 = require("phosphor-react");
|
|
1456
1461
|
var import_jsx_runtime17 = require("react/jsx-runtime");
|
|
1457
1462
|
var STATE_CLASSES5 = {
|
|
1458
1463
|
default: "bg-background text-text-950 border border-border-100 hover:bg-secondary-50 hover:border-border-300",
|
|
@@ -1476,7 +1481,7 @@ var Chips = ({
|
|
|
1476
1481
|
type,
|
|
1477
1482
|
...props,
|
|
1478
1483
|
children: [
|
|
1479
|
-
selected && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: `flex items-center`, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
|
|
1484
|
+
selected && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: `flex items-center`, children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(import_phosphor_react7.Check, { weight: "bold", size: 16 }) }),
|
|
1480
1485
|
/* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "flex-1", children })
|
|
1481
1486
|
]
|
|
1482
1487
|
}
|
|
@@ -2090,7 +2095,7 @@ var ProgressCircle = ({
|
|
|
2090
2095
|
var ProgressCircle_default = ProgressCircle;
|
|
2091
2096
|
|
|
2092
2097
|
// src/components/Stepper/Stepper.tsx
|
|
2093
|
-
var
|
|
2098
|
+
var import_phosphor_react8 = require("phosphor-react");
|
|
2094
2099
|
var import_jsx_runtime20 = require("react/jsx-runtime");
|
|
2095
2100
|
var SIZE_CLASSES9 = {
|
|
2096
2101
|
small: {
|
|
@@ -2261,7 +2266,7 @@ var Step = ({
|
|
|
2261
2266
|
`,
|
|
2262
2267
|
"aria-label": getAriaLabel(),
|
|
2263
2268
|
children: isCompleted ? /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
|
|
2264
|
-
|
|
2269
|
+
import_phosphor_react8.Check,
|
|
2265
2270
|
{
|
|
2266
2271
|
weight: "bold",
|
|
2267
2272
|
className: `
|
|
@@ -2457,7 +2462,7 @@ var getDayStyles = (day, variant, showActivities) => {
|
|
|
2457
2462
|
let textStyle = "";
|
|
2458
2463
|
if (variant === "selection" && day.isSelected) {
|
|
2459
2464
|
dayStyle = "bg-primary-800";
|
|
2460
|
-
textStyle = "text-
|
|
2465
|
+
textStyle = "text-text";
|
|
2461
2466
|
} else if (day.isToday) {
|
|
2462
2467
|
textStyle = "text-primary-800";
|
|
2463
2468
|
} else if (variant === "navigation" && showActivities && day.activities?.length) {
|
|
@@ -2829,7 +2834,7 @@ var Calendar = ({
|
|
|
2829
2834
|
)
|
|
2830
2835
|
] })
|
|
2831
2836
|
] }),
|
|
2832
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "grid grid-cols-7
|
|
2837
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "grid grid-cols-7 mb-2", children: WEEK_DAYS.map((day) => /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2833
2838
|
"div",
|
|
2834
2839
|
{
|
|
2835
2840
|
className: "h-4 flex items-center justify-center text-xs font-semibold text-text-500",
|
|
@@ -2837,7 +2842,7 @@ var Calendar = ({
|
|
|
2837
2842
|
},
|
|
2838
2843
|
day
|
|
2839
2844
|
)) }),
|
|
2840
|
-
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "grid grid-cols-7
|
|
2845
|
+
/* @__PURE__ */ (0, import_jsx_runtime21.jsx)("div", { className: "grid grid-cols-7", children: calendarData.map((day) => {
|
|
2841
2846
|
if (!day.isCurrentMonth) {
|
|
2842
2847
|
return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
|
|
2843
2848
|
"div",
|
|
@@ -2861,9 +2866,9 @@ var Calendar = ({
|
|
|
2861
2866
|
"button",
|
|
2862
2867
|
{
|
|
2863
2868
|
className: `
|
|
2864
|
-
w-
|
|
2869
|
+
w-9 h-9
|
|
2865
2870
|
flex items-center justify-center
|
|
2866
|
-
text-
|
|
2871
|
+
text-lg font-normal
|
|
2867
2872
|
cursor-pointer
|
|
2868
2873
|
rounded-full
|
|
2869
2874
|
focus:outline-none focus:ring-2 focus:ring-primary-600 focus:ring-offset-1
|
|
@@ -2887,7 +2892,7 @@ var Calendar_default = Calendar;
|
|
|
2887
2892
|
|
|
2888
2893
|
// src/components/Modal/Modal.tsx
|
|
2889
2894
|
var import_react10 = require("react");
|
|
2890
|
-
var
|
|
2895
|
+
var import_phosphor_react9 = require("phosphor-react");
|
|
2891
2896
|
var import_jsx_runtime22 = require("react/jsx-runtime");
|
|
2892
2897
|
var SIZE_CLASSES10 = {
|
|
2893
2898
|
xs: "max-w-[360px]",
|
|
@@ -2962,7 +2967,7 @@ var Modal = ({
|
|
|
2962
2967
|
onClick: onClose,
|
|
2963
2968
|
className: "p-1 text-text-500 hover:text-text-700 hover:bg-background-50 rounded-md transition-colors focus:outline-none focus:ring-2 focus:ring-indicator-info focus:ring-offset-2",
|
|
2964
2969
|
"aria-label": "Fechar modal",
|
|
2965
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
|
|
2970
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_phosphor_react9.X, { size: 18 })
|
|
2966
2971
|
}
|
|
2967
2972
|
)
|
|
2968
2973
|
] }),
|
|
@@ -2975,7 +2980,7 @@ var Modal = ({
|
|
|
2975
2980
|
var Modal_default = Modal;
|
|
2976
2981
|
|
|
2977
2982
|
// src/components/DropdownMenu/DropdownMenu.tsx
|
|
2978
|
-
var
|
|
2983
|
+
var import_phosphor_react10 = require("phosphor-react");
|
|
2979
2984
|
var import_react11 = require("react");
|
|
2980
2985
|
var import_zustand2 = require("zustand");
|
|
2981
2986
|
var import_jsx_runtime23 = require("react/jsx-runtime");
|
|
@@ -3275,7 +3280,7 @@ var ProfileMenuTrigger = (0, import_react11.forwardRef)(({ className, onClick, s
|
|
|
3275
3280
|
},
|
|
3276
3281
|
"aria-expanded": open,
|
|
3277
3282
|
...props,
|
|
3278
|
-
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "size-6 rounded-full bg-background-100 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3283
|
+
children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "size-6 rounded-full bg-background-100 flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_phosphor_react10.User, { className: "text-background-950", size: 18 }) })
|
|
3279
3284
|
}
|
|
3280
3285
|
);
|
|
3281
3286
|
});
|
|
@@ -3292,7 +3297,7 @@ var ProfileMenuHeader = (0, import_react11.forwardRef)(({ className, name, email
|
|
|
3292
3297
|
`,
|
|
3293
3298
|
...props,
|
|
3294
3299
|
children: [
|
|
3295
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "size-16 bg-background-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3300
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "size-16 bg-background-100 rounded-full flex items-center justify-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_phosphor_react10.User, { size: 34, className: "text-background-950" }) }),
|
|
3296
3301
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsxs)("div", { className: "flex flex-col ", children: [
|
|
3297
3302
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-xl font-bold text-text-950", children: name }),
|
|
3298
3303
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("p", { className: "text-md text-text-600", children: email })
|
|
@@ -3338,7 +3343,7 @@ var ProfileMenuFooter = ({
|
|
|
3338
3343
|
},
|
|
3339
3344
|
...props,
|
|
3340
3345
|
children: [
|
|
3341
|
-
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "mr-2 flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
|
|
3346
|
+
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { className: "mr-2 flex items-center", children: /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(import_phosphor_react10.SignOut, {}) }),
|
|
3342
3347
|
/* @__PURE__ */ (0, import_jsx_runtime23.jsx)("span", { children: "Sair" })
|
|
3343
3348
|
]
|
|
3344
3349
|
}
|
|
@@ -3350,7 +3355,7 @@ var DropdownMenu_default = DropdownMenu;
|
|
|
3350
3355
|
// src/components/Select/Select.tsx
|
|
3351
3356
|
var import_zustand3 = require("zustand");
|
|
3352
3357
|
var import_react12 = require("react");
|
|
3353
|
-
var
|
|
3358
|
+
var import_phosphor_react11 = require("phosphor-react");
|
|
3354
3359
|
var import_jsx_runtime24 = require("react/jsx-runtime");
|
|
3355
3360
|
var VARIANT_CLASSES4 = {
|
|
3356
3361
|
outlined: "border rounded-lg focus:border-primary-950",
|
|
@@ -3534,7 +3539,7 @@ var Select = ({
|
|
|
3534
3539
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("div", { className: "mt-1.5 gap-1.5", children: [
|
|
3535
3540
|
helperText && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("p", { className: "text-sm text-text-500", children: helperText }),
|
|
3536
3541
|
errorMessage && /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)("p", { className: "flex gap-1 items-center text-sm text-indicator-error", children: [
|
|
3537
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3542
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_phosphor_react11.WarningCircle, { size: 16 }),
|
|
3538
3543
|
" ",
|
|
3539
3544
|
errorMessage
|
|
3540
3545
|
] })
|
|
@@ -3589,7 +3594,7 @@ var SelectTrigger = (0, import_react12.forwardRef)(
|
|
|
3589
3594
|
children: [
|
|
3590
3595
|
props.children,
|
|
3591
3596
|
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3592
|
-
|
|
3597
|
+
import_phosphor_react11.CaretDown,
|
|
3593
3598
|
{
|
|
3594
3599
|
className: `h-[1em] w-[1em] opacity-50 transition-transform ${open ? "rotate-180" : ""}`
|
|
3595
3600
|
}
|
|
@@ -3673,7 +3678,7 @@ var SelectItem = (0, import_react12.forwardRef)(
|
|
|
3673
3678
|
tabIndex: disabled ? -1 : 0,
|
|
3674
3679
|
...props,
|
|
3675
3680
|
children: [
|
|
3676
|
-
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
|
|
3681
|
+
/* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "absolute right-2 flex h-3.5 w-3.5 items-center justify-center", children: selectedValue === value && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(import_phosphor_react11.Check, { className: "" }) }),
|
|
3677
3682
|
children
|
|
3678
3683
|
]
|
|
3679
3684
|
}
|
|
@@ -3686,7 +3691,7 @@ var Select_default = Select;
|
|
|
3686
3691
|
// src/components/Menu/Menu.tsx
|
|
3687
3692
|
var import_zustand4 = require("zustand");
|
|
3688
3693
|
var import_react13 = require("react");
|
|
3689
|
-
var
|
|
3694
|
+
var import_phosphor_react12 = require("phosphor-react");
|
|
3690
3695
|
var import_jsx_runtime25 = require("react/jsx-runtime");
|
|
3691
3696
|
var createMenuStore = () => (0, import_zustand4.create)((set) => ({
|
|
3692
3697
|
value: "",
|
|
@@ -3835,7 +3840,7 @@ var MenuSeparator = (0, import_react13.forwardRef)(
|
|
|
3835
3840
|
"aria-hidden": "true",
|
|
3836
3841
|
className: `[&>svg]:w-4 [&>svg]:h-4 text-text-600 ${className ?? ""}`,
|
|
3837
3842
|
...props,
|
|
3838
|
-
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
|
|
3843
|
+
children: children ?? /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(import_phosphor_react12.CaretRight, {})
|
|
3839
3844
|
}
|
|
3840
3845
|
)
|
|
3841
3846
|
);
|
|
@@ -3853,7 +3858,7 @@ var Menu_default = Menu;
|
|
|
3853
3858
|
|
|
3854
3859
|
// src/components/Card/Card.tsx
|
|
3855
3860
|
var import_react14 = require("react");
|
|
3856
|
-
var
|
|
3861
|
+
var import_phosphor_react13 = require("phosphor-react");
|
|
3857
3862
|
var import_jsx_runtime26 = require("react/jsx-runtime");
|
|
3858
3863
|
var ACTION_CARD_CLASSES = {
|
|
3859
3864
|
warning: "bg-warning-background",
|
|
@@ -4131,7 +4136,7 @@ var CardPerformance = (0, import_react14.forwardRef)(
|
|
|
4131
4136
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("div", { className: "w-full", children: hasProgress ? /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(ProgressBar_default, { value: progress, label: `${progress}% corretas` }) : /* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "text-xs text-text-600", children: description }) })
|
|
4132
4137
|
] }),
|
|
4133
4138
|
!hasProgress && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4134
|
-
|
|
4139
|
+
import_phosphor_react13.CaretRight,
|
|
4135
4140
|
{
|
|
4136
4141
|
className: "size-4.5 text-text-800",
|
|
4137
4142
|
"data-testid": "caret-icon",
|
|
@@ -4193,7 +4198,7 @@ var CardResults = (0, import_react14.forwardRef)(
|
|
|
4193
4198
|
action: "success",
|
|
4194
4199
|
variant: "solid",
|
|
4195
4200
|
size: "medium",
|
|
4196
|
-
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4201
|
+
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CheckCircle, {}),
|
|
4197
4202
|
children: [
|
|
4198
4203
|
correct_answers,
|
|
4199
4204
|
" Corretas"
|
|
@@ -4206,7 +4211,7 @@ var CardResults = (0, import_react14.forwardRef)(
|
|
|
4206
4211
|
action: "error",
|
|
4207
4212
|
variant: "solid",
|
|
4208
4213
|
size: "medium",
|
|
4209
|
-
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4214
|
+
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.XCircle, {}),
|
|
4210
4215
|
children: [
|
|
4211
4216
|
incorrect_answers,
|
|
4212
4217
|
" Incorretas"
|
|
@@ -4217,7 +4222,7 @@ var CardResults = (0, import_react14.forwardRef)(
|
|
|
4217
4222
|
]
|
|
4218
4223
|
}
|
|
4219
4224
|
),
|
|
4220
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4225
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
|
|
4221
4226
|
]
|
|
4222
4227
|
}
|
|
4223
4228
|
);
|
|
@@ -4250,7 +4255,7 @@ var CardStatus = (0, import_react14.forwardRef)(
|
|
|
4250
4255
|
action: status == "correct" ? "success" : "error",
|
|
4251
4256
|
variant: "solid",
|
|
4252
4257
|
size: "medium",
|
|
4253
|
-
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4258
|
+
iconLeft: /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CheckCircle, {}),
|
|
4254
4259
|
children: status == "correct" ? "Correta" : "Incorreta"
|
|
4255
4260
|
}
|
|
4256
4261
|
),
|
|
@@ -4259,7 +4264,7 @@ var CardStatus = (0, import_react14.forwardRef)(
|
|
|
4259
4264
|
]
|
|
4260
4265
|
}
|
|
4261
4266
|
),
|
|
4262
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4267
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { className: "min-w-6 min-h-6 text-text-800" })
|
|
4263
4268
|
]
|
|
4264
4269
|
}
|
|
4265
4270
|
);
|
|
@@ -4276,7 +4281,7 @@ var CardSettings = (0, import_react14.forwardRef)(
|
|
|
4276
4281
|
children: [
|
|
4277
4282
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("span", { className: "[&>svg]:size-6", children: icon }),
|
|
4278
4283
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)("p", { className: "w-full text-md", children: header }),
|
|
4279
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4284
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { size: 24 })
|
|
4280
4285
|
]
|
|
4281
4286
|
}
|
|
4282
4287
|
);
|
|
@@ -4303,7 +4308,7 @@ var CardSupport = (0, import_react14.forwardRef)(
|
|
|
4303
4308
|
]
|
|
4304
4309
|
}
|
|
4305
4310
|
),
|
|
4306
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4311
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.CaretRight, { className: "text-text-800", size: 24 })
|
|
4307
4312
|
]
|
|
4308
4313
|
}
|
|
4309
4314
|
);
|
|
@@ -4358,7 +4363,7 @@ var CardForum = (0, import_react14.forwardRef)(
|
|
|
4358
4363
|
onClick: () => onClickComments?.(valueComments),
|
|
4359
4364
|
className: "text-text-600 flex flex-row gap-2 items-center",
|
|
4360
4365
|
children: [
|
|
4361
|
-
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
|
|
4366
|
+
/* @__PURE__ */ (0, import_jsx_runtime26.jsx)(import_phosphor_react13.ChatCircleText, { "aria-hidden": "true", size: 16 }),
|
|
4362
4367
|
/* @__PURE__ */ (0, import_jsx_runtime26.jsxs)("p", { className: "text-xs", children: [
|
|
4363
4368
|
comments,
|
|
4364
4369
|
" respostas"
|