@opexa/portal-components 0.0.416 → 0.0.417
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.
|
@@ -63,7 +63,7 @@ export function DailyCheckInQuest(props) {
|
|
|
63
63
|
});
|
|
64
64
|
const remainingTime = useRemainingTime(endDateTime);
|
|
65
65
|
const renderUncompletedIcon = () => {
|
|
66
|
-
return uncompletedIcon === 'minus' ? (_jsx(MinusIcon, { className: "size-2" })) : (_jsx(XIcon, { className: "size-4" }));
|
|
66
|
+
return uncompletedIcon === 'minus' ? (_jsx(MinusIcon, { className: "size-2 text-text-secondary-700" })) : (_jsx(XIcon, { className: "size-4 text-text-secondary-700" }));
|
|
67
67
|
};
|
|
68
68
|
return (_jsxs(_Fragment, { children: [_jsxs("div", { className: twMerge('flex h-full w-full flex-col space-y-6 rounded-2xl border border-border-primary bg-bg-tertiary px-4 pt-5 pb-6', classNames?.root), children: [_jsxs("div", { className: "flex flex-col space-y-2", children: [_jsxs("div", { className: "flex max-h-7.5 items-start justify-between", children: [_jsx(RemainingTime, {}), _jsx("button", { type: "button", className: "flex size-9 cursor-pointer items-center justify-center rounded-md border border-border-secondary bg-bg-primary", onClick: () => disclosure.setOpen(true), "aria-label": "View Rules", children: _jsx(InfoCircleIcon, { className: "size-5 text-text-disabled" }) })] }), _jsx("p", { className: "font-semibold text-xl", children: name }), _jsx(Prose, { className: "text-wrap font-normal text-sm text-text-secondary-700", dangerouslySetInnerHTML: { __html: description } })] }), _jsxs("div", { className: "flex w-full flex-col space-y-2", children: [_jsx("div", { className: "grid grid-cols-7", children: dailyCheckedInData.map((item) => {
|
|
69
69
|
const done = item.day <= (checkInStreak ?? 0);
|