atenea-components 1.4.17
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/components/atoms/ActionDropdown.d.ts +20 -0
- package/dist/components/atoms/ActionDropdown.js +56 -0
- package/dist/components/atoms/Button.d.ts +10 -0
- package/dist/components/atoms/Button.js +55 -0
- package/dist/components/atoms/Checkbox.d.ts +13 -0
- package/dist/components/atoms/Checkbox.js +60 -0
- package/dist/components/atoms/Dropdown.d.ts +18 -0
- package/dist/components/atoms/Dropdown.js +116 -0
- package/dist/components/atoms/Input.d.ts +15 -0
- package/dist/components/atoms/Input.js +118 -0
- package/dist/components/atoms/IntroIllustration.d.ts +6 -0
- package/dist/components/atoms/IntroIllustration.js +12 -0
- package/dist/components/atoms/List.d.ts +7 -0
- package/dist/components/atoms/List.js +13 -0
- package/dist/components/atoms/ListItem.d.ts +9 -0
- package/dist/components/atoms/ListItem.js +12 -0
- package/dist/components/atoms/MenuItem.d.ts +12 -0
- package/dist/components/atoms/MenuItem.js +47 -0
- package/dist/components/atoms/Radio.d.ts +13 -0
- package/dist/components/atoms/Radio.js +52 -0
- package/dist/components/atoms/SelectDropdown.d.ts +19 -0
- package/dist/components/atoms/SelectDropdown.js +146 -0
- package/dist/components/atoms/Toggle.d.ts +11 -0
- package/dist/components/atoms/Toggle.js +59 -0
- package/dist/components/icons/IconArrowDown.d.ts +2 -0
- package/dist/components/icons/IconArrowDown.js +10 -0
- package/dist/components/icons/IconArrowLeft.d.ts +2 -0
- package/dist/components/icons/IconArrowLeft.js +10 -0
- package/dist/components/icons/IconArrowRight.d.ts +2 -0
- package/dist/components/icons/IconArrowRight.js +10 -0
- package/dist/components/icons/IconArrowUp.d.ts +2 -0
- package/dist/components/icons/IconArrowUp.js +10 -0
- package/dist/components/icons/IconBase.d.ts +10 -0
- package/dist/components/icons/IconBase.js +30 -0
- package/dist/components/icons/IconBook.d.ts +2 -0
- package/dist/components/icons/IconBook.js +10 -0
- package/dist/components/icons/IconBookmark.d.ts +2 -0
- package/dist/components/icons/IconBookmark.js +10 -0
- package/dist/components/icons/IconCalendar.d.ts +2 -0
- package/dist/components/icons/IconCalendar.js +10 -0
- package/dist/components/icons/IconCancel.d.ts +2 -0
- package/dist/components/icons/IconCancel.js +10 -0
- package/dist/components/icons/IconCheck.d.ts +2 -0
- package/dist/components/icons/IconCheck.js +10 -0
- package/dist/components/icons/IconCheckCircle.d.ts +2 -0
- package/dist/components/icons/IconCheckCircle.js +10 -0
- package/dist/components/icons/IconChevronDown.d.ts +2 -0
- package/dist/components/icons/IconChevronDown.js +10 -0
- package/dist/components/icons/IconChevronLeft.d.ts +2 -0
- package/dist/components/icons/IconChevronLeft.js +10 -0
- package/dist/components/icons/IconChevronRight.d.ts +2 -0
- package/dist/components/icons/IconChevronRight.js +10 -0
- package/dist/components/icons/IconChevronUp.d.ts +2 -0
- package/dist/components/icons/IconChevronUp.js +10 -0
- package/dist/components/icons/IconClipboard.d.ts +2 -0
- package/dist/components/icons/IconClipboard.js +10 -0
- package/dist/components/icons/IconCreditCard.d.ts +2 -0
- package/dist/components/icons/IconCreditCard.js +10 -0
- package/dist/components/icons/IconExclamationOctagon.d.ts +2 -0
- package/dist/components/icons/IconExclamationOctagon.js +10 -0
- package/dist/components/icons/IconExclamationTriangle.d.ts +2 -0
- package/dist/components/icons/IconExclamationTriangle.js +10 -0
- package/dist/components/icons/IconFile.d.ts +2 -0
- package/dist/components/icons/IconFile.js +10 -0
- package/dist/components/icons/IconFileScan.d.ts +2 -0
- package/dist/components/icons/IconFileScan.js +10 -0
- package/dist/components/icons/IconHouse.d.ts +2 -0
- package/dist/components/icons/IconHouse.js +10 -0
- package/dist/components/icons/IconInformationCircle.d.ts +2 -0
- package/dist/components/icons/IconInformationCircle.js +10 -0
- package/dist/components/icons/IconKanban.d.ts +2 -0
- package/dist/components/icons/IconKanban.js +10 -0
- package/dist/components/icons/IconLayout.d.ts +2 -0
- package/dist/components/icons/IconLayout.js +10 -0
- package/dist/components/icons/IconList.d.ts +2 -0
- package/dist/components/icons/IconList.js +10 -0
- package/dist/components/icons/IconListArrow.d.ts +2 -0
- package/dist/components/icons/IconListArrow.js +10 -0
- package/dist/components/icons/IconLogout.d.ts +2 -0
- package/dist/components/icons/IconLogout.js +10 -0
- package/dist/components/icons/IconMessage.d.ts +2 -0
- package/dist/components/icons/IconMessage.js +10 -0
- package/dist/components/icons/IconMessagePlus.d.ts +2 -0
- package/dist/components/icons/IconMessagePlus.js +10 -0
- package/dist/components/icons/IconPause.d.ts +2 -0
- package/dist/components/icons/IconPause.js +10 -0
- package/dist/components/icons/IconPencil.d.ts +2 -0
- package/dist/components/icons/IconPencil.js +10 -0
- package/dist/components/icons/IconPlay.d.ts +2 -0
- package/dist/components/icons/IconPlay.js +10 -0
- package/dist/components/icons/IconSidebar.d.ts +2 -0
- package/dist/components/icons/IconSidebar.js +10 -0
- package/dist/components/icons/IconSidebarCollapse.d.ts +2 -0
- package/dist/components/icons/IconSidebarCollapse.js +10 -0
- package/dist/components/icons/IconSidebarExpand.d.ts +2 -0
- package/dist/components/icons/IconSidebarExpand.js +10 -0
- package/dist/components/icons/IconTimer.d.ts +2 -0
- package/dist/components/icons/IconTimer.js +10 -0
- package/dist/components/icons/IconTrash.d.ts +2 -0
- package/dist/components/icons/IconTrash.js +10 -0
- package/dist/components/icons/IconUser.d.ts +2 -0
- package/dist/components/icons/IconUser.js +10 -0
- package/dist/components/icons/IconVerticalDots.d.ts +2 -0
- package/dist/components/icons/IconVerticalDots.js +10 -0
- package/dist/components/molecules/AnswerOption.d.ts +15 -0
- package/dist/components/molecules/AnswerOption.js +49 -0
- package/dist/components/molecules/Avatar.d.ts +15 -0
- package/dist/components/molecules/Avatar.js +39 -0
- package/dist/components/molecules/Breadcrumb.d.ts +26 -0
- package/dist/components/molecules/Breadcrumb.js +20 -0
- package/dist/components/molecules/Card.d.ts +46 -0
- package/dist/components/molecules/Card.js +16 -0
- package/dist/components/molecules/CommentCard.d.ts +9 -0
- package/dist/components/molecules/CommentCard.js +9 -0
- package/dist/components/molecules/CountdownCard.d.ts +14 -0
- package/dist/components/molecules/CountdownCard.js +30 -0
- package/dist/components/molecules/DashboardCard.d.ts +13 -0
- package/dist/components/molecules/DashboardCard.js +9 -0
- package/dist/components/molecules/FilterBar.d.ts +19 -0
- package/dist/components/molecules/FilterBar.js +15 -0
- package/dist/components/molecules/Flashcard.d.ts +13 -0
- package/dist/components/molecules/Flashcard.js +20 -0
- package/dist/components/molecules/GlobalProgressCard.d.ts +22 -0
- package/dist/components/molecules/GlobalProgressCard.js +36 -0
- package/dist/components/molecules/MoodTracker.d.ts +13 -0
- package/dist/components/molecules/MoodTracker.js +25 -0
- package/dist/components/molecules/NewsItem.d.ts +12 -0
- package/dist/components/molecules/NewsItem.js +10 -0
- package/dist/components/molecules/PercentageItem.d.ts +10 -0
- package/dist/components/molecules/PercentageItem.js +27 -0
- package/dist/components/molecules/SleepTracker.d.ts +13 -0
- package/dist/components/molecules/SleepTracker.js +25 -0
- package/dist/components/molecules/StreakCard.d.ts +11 -0
- package/dist/components/molecules/StreakCard.js +12 -0
- package/dist/components/molecules/StudyMaterialIntro.d.ts +13 -0
- package/dist/components/molecules/StudyMaterialIntro.js +9 -0
- package/dist/components/molecules/TaskItem.d.ts +25 -0
- package/dist/components/molecules/TaskItem.js +33 -0
- package/dist/components/molecules/Timer.d.ts +13 -0
- package/dist/components/molecules/Timer.js +60 -0
- package/dist/components/molecules/WeekDaySelector.d.ts +23 -0
- package/dist/components/molecules/WeekDaySelector.js +17 -0
- package/dist/components/molecules/WeeklyObjectivesCard.d.ts +11 -0
- package/dist/components/molecules/WeeklyObjectivesCard.js +12 -0
- package/dist/components/organisms/FeatureList.d.ts +12 -0
- package/dist/components/organisms/FeatureList.js +14 -0
- package/dist/components/organisms/NewsList.d.ts +20 -0
- package/dist/components/organisms/NewsList.js +45 -0
- package/dist/components/organisms/PercentageCard.d.ts +14 -0
- package/dist/components/organisms/PercentageCard.js +26 -0
- package/dist/index.d.ts +74 -0
- package/dist/index.js +86 -0
- package/dist/tokens/borders.d.ts +8 -0
- package/dist/tokens/borders.js +12 -0
- package/dist/tokens/colors.d.ts +116 -0
- package/dist/tokens/colors.js +120 -0
- package/dist/tokens/index.d.ts +5 -0
- package/dist/tokens/index.js +21 -0
- package/dist/tokens/spacing.d.ts +3 -0
- package/dist/tokens/spacing.js +7 -0
- package/dist/tokens/theme.d.ts +247 -0
- package/dist/tokens/theme.js +17 -0
- package/dist/tokens/typography.d.ts +120 -0
- package/dist/tokens/typography.js +87 -0
- package/package.json +69 -0
- package/readme.md +88 -0
- package/theme.js +335 -0
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
type FeatureItem = {
|
|
3
|
+
icon: React.ReactNode;
|
|
4
|
+
text: string;
|
|
5
|
+
iconColor?: string;
|
|
6
|
+
};
|
|
7
|
+
type FeatureListProps = {
|
|
8
|
+
features: FeatureItem[];
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
11
|
+
export declare const FeatureList: React.FC<FeatureListProps>;
|
|
12
|
+
export {};
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.FeatureList = void 0;
|
|
7
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
8
|
+
const react_1 = __importDefault(require("react"));
|
|
9
|
+
const clsx_1 = __importDefault(require("clsx"));
|
|
10
|
+
const ListItem_1 = require("../atoms/ListItem");
|
|
11
|
+
const FeatureList = ({ features, className = "", }) => {
|
|
12
|
+
return ((0, jsx_runtime_1.jsx)("div", { className: (0, clsx_1.default)("bg-white border border-gray-300 rounded-lg", className), children: features.map((feature, index) => ((0, jsx_runtime_1.jsxs)(react_1.default.Fragment, { children: [(0, jsx_runtime_1.jsx)(ListItem_1.ListItem, { icon: feature.icon, text: feature.text, iconColor: feature.iconColor, className: "text-gray-700" }), index < features.length - 1 && ((0, jsx_runtime_1.jsx)("div", { className: "border-t border-gray-300 mx-0" }))] }, index))) }));
|
|
13
|
+
};
|
|
14
|
+
exports.FeatureList = FeatureList;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface NewsItemData {
|
|
3
|
+
id: string;
|
|
4
|
+
title: string;
|
|
5
|
+
date?: string;
|
|
6
|
+
time?: string;
|
|
7
|
+
tag?: {
|
|
8
|
+
text: string;
|
|
9
|
+
};
|
|
10
|
+
onClick?: () => void;
|
|
11
|
+
}
|
|
12
|
+
interface NewsListProps {
|
|
13
|
+
title?: string;
|
|
14
|
+
showMoreText?: string;
|
|
15
|
+
onShowMoreClick?: () => void;
|
|
16
|
+
newsItems?: NewsItemData[];
|
|
17
|
+
className?: string;
|
|
18
|
+
}
|
|
19
|
+
export declare const NewsList: React.FC<NewsListProps>;
|
|
20
|
+
export {};
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.NewsList = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const NewsItem_1 = require("../molecules/NewsItem");
|
|
6
|
+
const defaultNewsItems = [
|
|
7
|
+
{
|
|
8
|
+
id: "1",
|
|
9
|
+
title: "Webinar: Masterclass Supuestos Prácticos",
|
|
10
|
+
date: "Mié 04/09",
|
|
11
|
+
time: "16:00h",
|
|
12
|
+
tag: {
|
|
13
|
+
text: "Webinar",
|
|
14
|
+
},
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
id: "2",
|
|
18
|
+
title: "Webinar: Claves para el éxito en la oposición",
|
|
19
|
+
date: "Mié 04/09",
|
|
20
|
+
time: "16:00h",
|
|
21
|
+
tag: {
|
|
22
|
+
text: "Webinar",
|
|
23
|
+
},
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
id: "3",
|
|
27
|
+
title: "Webinar: Masterclass Supuestos Prácticos",
|
|
28
|
+
date: "Mié 04/09",
|
|
29
|
+
time: "16:00h",
|
|
30
|
+
tag: {
|
|
31
|
+
text: "Webinar",
|
|
32
|
+
},
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
id: "4",
|
|
36
|
+
title: "Cómo analizar el enunciado de un Supuesto Práctico",
|
|
37
|
+
tag: {
|
|
38
|
+
text: "Material de apoyo",
|
|
39
|
+
},
|
|
40
|
+
},
|
|
41
|
+
];
|
|
42
|
+
const NewsList = ({ title = "Recursos útiles", showMoreText = "Ver más", onShowMoreClick, newsItems = defaultNewsItems, className = "", }) => {
|
|
43
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `bg-white rounded-lg p-[24px] border border-gray-200 ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "mb-[16px] flex items-center justify-between", children: [(0, jsx_runtime_1.jsx)("h2", { className: "text-textAtenea-900 text-h5", children: title }), showMoreText && ((0, jsx_runtime_1.jsx)("button", { onClick: onShowMoreClick, className: "text-primary-600 text-b1 hover:text-primary-800 transition-colors", children: showMoreText }))] }), (0, jsx_runtime_1.jsx)("div", { className: "space-y-0", children: newsItems.map((item) => ((0, jsx_runtime_1.jsx)(NewsItem_1.NewsItem, { title: item.title, date: item.date, time: item.time, tag: item.tag, onClick: item.onClick }, item.id))) })] }));
|
|
44
|
+
};
|
|
45
|
+
exports.NewsList = NewsList;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
interface ProgressItem {
|
|
3
|
+
label: string;
|
|
4
|
+
percentage: number;
|
|
5
|
+
color: "orange" | "pink" | "blue";
|
|
6
|
+
}
|
|
7
|
+
interface PercentageCardProps {
|
|
8
|
+
title?: string;
|
|
9
|
+
description?: string;
|
|
10
|
+
progressItems?: ProgressItem[];
|
|
11
|
+
className?: string;
|
|
12
|
+
}
|
|
13
|
+
export declare const PercentageCard: React.FC<PercentageCardProps>;
|
|
14
|
+
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.PercentageCard = void 0;
|
|
4
|
+
const jsx_runtime_1 = require("react/jsx-runtime");
|
|
5
|
+
const PercentageItem_1 = require("../molecules/PercentageItem");
|
|
6
|
+
const defaultProgressItems = [
|
|
7
|
+
{
|
|
8
|
+
label: "Teoría",
|
|
9
|
+
percentage: 0,
|
|
10
|
+
color: "orange",
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
label: "Supuestos Prácticos",
|
|
14
|
+
percentage: 0,
|
|
15
|
+
color: "pink",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
label: "Programación Didáctica",
|
|
19
|
+
percentage: 0,
|
|
20
|
+
color: "blue",
|
|
21
|
+
},
|
|
22
|
+
];
|
|
23
|
+
const PercentageCard = ({ title = "Tu progreso global", description = "¡Recuerda marcar el material como estudiado para actualizar tu progreso!", progressItems = defaultProgressItems, className = "", }) => {
|
|
24
|
+
return ((0, jsx_runtime_1.jsxs)("div", { className: `bg-white rounded-lg p-[24px] border border-gray-200 ${className}`, children: [(0, jsx_runtime_1.jsxs)("div", { className: "mb-[16px]", children: [(0, jsx_runtime_1.jsx)("h2", { className: "text-textAtenea-900 text-h5 mb-2", children: title }), (0, jsx_runtime_1.jsx)("p", { className: "text-textAtenea-500 text-b1", children: description })] }), (0, jsx_runtime_1.jsx)("div", { className: "flex flex-col gap-[24px]", children: progressItems.map((item, index) => ((0, jsx_runtime_1.jsx)(PercentageItem_1.PercentageItem, { label: item.label, percentage: item.percentage, color: item.color }, `${item.label}-${index}`))) })] }));
|
|
25
|
+
};
|
|
26
|
+
exports.PercentageCard = PercentageCard;
|
package/dist/index.d.ts
ADDED
|
@@ -0,0 +1,74 @@
|
|
|
1
|
+
export * from "./tokens/theme";
|
|
2
|
+
export * from "./components/atoms/Button";
|
|
3
|
+
export * from "./components/atoms/Input";
|
|
4
|
+
export * from "./components/atoms/SelectDropdown";
|
|
5
|
+
export * from "./components/atoms/ActionDropdown";
|
|
6
|
+
export * from "./components/atoms/Checkbox";
|
|
7
|
+
export * from "./components/atoms/Radio";
|
|
8
|
+
export * from "./components/atoms/Toggle";
|
|
9
|
+
export * from "./components/atoms/ListItem";
|
|
10
|
+
export * from "./components/atoms/IntroIllustration";
|
|
11
|
+
export * from "./components/atoms/MenuItem";
|
|
12
|
+
export * from "./components/molecules/Card";
|
|
13
|
+
export * from "./components/molecules/Breadcrumb";
|
|
14
|
+
export * from "./components/molecules/Avatar";
|
|
15
|
+
export * from "./components/molecules/AnswerOption";
|
|
16
|
+
export * from "./components/molecules/Flashcard";
|
|
17
|
+
export * from "./components/molecules/Timer";
|
|
18
|
+
export * from "./components/molecules/PercentageItem";
|
|
19
|
+
export * from "./components/molecules/NewsItem";
|
|
20
|
+
export * from "./components/molecules/CommentCard";
|
|
21
|
+
export * from "./components/molecules/DashboardCard";
|
|
22
|
+
export * from "./components/molecules/FilterBar";
|
|
23
|
+
export { default as StudyMaterialIntro } from "./components/molecules/StudyMaterialIntro";
|
|
24
|
+
export * from "./components/molecules/WeekDaySelector";
|
|
25
|
+
export * from "./components/molecules/TaskItem";
|
|
26
|
+
export * from "./components/molecules/StreakCard";
|
|
27
|
+
export * from "./components/molecules/CountdownCard";
|
|
28
|
+
export * from "./components/molecules/GlobalProgressCard";
|
|
29
|
+
export * from "./components/molecules/MoodTracker";
|
|
30
|
+
export * from "./components/molecules/SleepTracker";
|
|
31
|
+
export * from "./components/molecules/WeeklyObjectivesCard";
|
|
32
|
+
export * from "./components/organisms/PercentageCard";
|
|
33
|
+
export * from "./components/organisms/FeatureList";
|
|
34
|
+
export * from "./components/organisms/NewsList";
|
|
35
|
+
export * from "./tokens";
|
|
36
|
+
export * from "./components/icons/IconArrowLeft";
|
|
37
|
+
export * from "./components/icons/IconArrowRight";
|
|
38
|
+
export * from "./components/icons/IconBook";
|
|
39
|
+
export * from "./components/icons/IconCalendar";
|
|
40
|
+
export * from "./components/icons/IconKanban";
|
|
41
|
+
export * from "./components/icons/IconPencil";
|
|
42
|
+
export * from "./components/icons/IconSidebar";
|
|
43
|
+
export * from "./components/icons/IconSidebarCollapse";
|
|
44
|
+
export * from "./components/icons/IconSidebarExpand";
|
|
45
|
+
export * from "./components/icons/IconUser";
|
|
46
|
+
export * from "./components/icons/IconChevronDown";
|
|
47
|
+
export * from "./components/icons/IconChevronUp";
|
|
48
|
+
export * from "./components/icons/IconChevronRight";
|
|
49
|
+
export * from "./components/icons/IconChevronLeft";
|
|
50
|
+
export * from "./components/icons/IconCheckCircle";
|
|
51
|
+
export * from "./components/icons/IconExclamationOctagon";
|
|
52
|
+
export * from "./components/icons/IconExclamationTriangle";
|
|
53
|
+
export * from "./components/icons/IconInformationCircle";
|
|
54
|
+
export * from "./components/icons/IconVerticalDots";
|
|
55
|
+
export * from "./components/icons/IconLogout";
|
|
56
|
+
export * from "./components/icons/IconCheck";
|
|
57
|
+
export * from "./components/icons/IconTimer";
|
|
58
|
+
export * from "./components/icons/IconCancel";
|
|
59
|
+
export * from "./components/icons/IconList";
|
|
60
|
+
export * from "./components/icons/IconClipboard";
|
|
61
|
+
export * from "./components/icons/IconFile";
|
|
62
|
+
export * from "./components/icons/IconFileScan";
|
|
63
|
+
export * from "./components/icons/IconListArrow";
|
|
64
|
+
export * from "./components/icons/IconMessage";
|
|
65
|
+
export * from "./components/icons/IconPlay";
|
|
66
|
+
export * from "./components/icons/IconPause";
|
|
67
|
+
export * from "./components/icons/IconTrash";
|
|
68
|
+
export * from "./components/icons/IconBookmark";
|
|
69
|
+
export * from "./components/icons/IconHouse";
|
|
70
|
+
export * from "./components/icons/IconArrowUp";
|
|
71
|
+
export * from "./components/icons/IconArrowDown";
|
|
72
|
+
export * from "./components/icons/IconMessagePlus";
|
|
73
|
+
export * from "./components/icons/IconCreditCard";
|
|
74
|
+
export * from "./components/icons/IconLayout";
|
package/dist/index.js
ADDED
|
@@ -0,0 +1,86 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.StudyMaterialIntro = void 0;
|
|
5
|
+
const tslib_1 = require("tslib");
|
|
6
|
+
tslib_1.__exportStar(require("./tokens/theme"), exports);
|
|
7
|
+
// Components
|
|
8
|
+
tslib_1.__exportStar(require("./components/atoms/Button"), exports);
|
|
9
|
+
tslib_1.__exportStar(require("./components/atoms/Input"), exports);
|
|
10
|
+
tslib_1.__exportStar(require("./components/atoms/SelectDropdown"), exports);
|
|
11
|
+
tslib_1.__exportStar(require("./components/atoms/ActionDropdown"), exports);
|
|
12
|
+
tslib_1.__exportStar(require("./components/atoms/Checkbox"), exports);
|
|
13
|
+
tslib_1.__exportStar(require("./components/atoms/Radio"), exports);
|
|
14
|
+
tslib_1.__exportStar(require("./components/atoms/Toggle"), exports);
|
|
15
|
+
tslib_1.__exportStar(require("./components/atoms/ListItem"), exports);
|
|
16
|
+
tslib_1.__exportStar(require("./components/atoms/IntroIllustration"), exports);
|
|
17
|
+
tslib_1.__exportStar(require("./components/atoms/MenuItem"), exports);
|
|
18
|
+
// Molecules
|
|
19
|
+
tslib_1.__exportStar(require("./components/molecules/Card"), exports);
|
|
20
|
+
tslib_1.__exportStar(require("./components/molecules/Breadcrumb"), exports);
|
|
21
|
+
tslib_1.__exportStar(require("./components/molecules/Avatar"), exports);
|
|
22
|
+
tslib_1.__exportStar(require("./components/molecules/AnswerOption"), exports);
|
|
23
|
+
tslib_1.__exportStar(require("./components/molecules/Flashcard"), exports);
|
|
24
|
+
tslib_1.__exportStar(require("./components/molecules/Timer"), exports);
|
|
25
|
+
tslib_1.__exportStar(require("./components/molecules/PercentageItem"), exports);
|
|
26
|
+
tslib_1.__exportStar(require("./components/molecules/NewsItem"), exports);
|
|
27
|
+
tslib_1.__exportStar(require("./components/molecules/CommentCard"), exports);
|
|
28
|
+
tslib_1.__exportStar(require("./components/molecules/DashboardCard"), exports);
|
|
29
|
+
tslib_1.__exportStar(require("./components/molecules/FilterBar"), exports);
|
|
30
|
+
var StudyMaterialIntro_1 = require("./components/molecules/StudyMaterialIntro");
|
|
31
|
+
Object.defineProperty(exports, "StudyMaterialIntro", { enumerable: true, get: function () { return tslib_1.__importDefault(StudyMaterialIntro_1).default; } });
|
|
32
|
+
// Dashboard Components
|
|
33
|
+
tslib_1.__exportStar(require("./components/molecules/WeekDaySelector"), exports);
|
|
34
|
+
tslib_1.__exportStar(require("./components/molecules/TaskItem"), exports);
|
|
35
|
+
tslib_1.__exportStar(require("./components/molecules/StreakCard"), exports);
|
|
36
|
+
tslib_1.__exportStar(require("./components/molecules/CountdownCard"), exports);
|
|
37
|
+
tslib_1.__exportStar(require("./components/molecules/GlobalProgressCard"), exports);
|
|
38
|
+
tslib_1.__exportStar(require("./components/molecules/MoodTracker"), exports);
|
|
39
|
+
tslib_1.__exportStar(require("./components/molecules/SleepTracker"), exports);
|
|
40
|
+
tslib_1.__exportStar(require("./components/molecules/WeeklyObjectivesCard"), exports);
|
|
41
|
+
// Organisms
|
|
42
|
+
tslib_1.__exportStar(require("./components/organisms/PercentageCard"), exports);
|
|
43
|
+
tslib_1.__exportStar(require("./components/organisms/FeatureList"), exports);
|
|
44
|
+
tslib_1.__exportStar(require("./components/organisms/NewsList"), exports);
|
|
45
|
+
// Tokens
|
|
46
|
+
tslib_1.__exportStar(require("./tokens"), exports);
|
|
47
|
+
// Icons
|
|
48
|
+
tslib_1.__exportStar(require("./components/icons/IconArrowLeft"), exports);
|
|
49
|
+
tslib_1.__exportStar(require("./components/icons/IconArrowRight"), exports);
|
|
50
|
+
tslib_1.__exportStar(require("./components/icons/IconBook"), exports);
|
|
51
|
+
tslib_1.__exportStar(require("./components/icons/IconCalendar"), exports);
|
|
52
|
+
tslib_1.__exportStar(require("./components/icons/IconKanban"), exports);
|
|
53
|
+
tslib_1.__exportStar(require("./components/icons/IconPencil"), exports);
|
|
54
|
+
tslib_1.__exportStar(require("./components/icons/IconSidebar"), exports);
|
|
55
|
+
tslib_1.__exportStar(require("./components/icons/IconSidebarCollapse"), exports);
|
|
56
|
+
tslib_1.__exportStar(require("./components/icons/IconSidebarExpand"), exports);
|
|
57
|
+
tslib_1.__exportStar(require("./components/icons/IconUser"), exports);
|
|
58
|
+
tslib_1.__exportStar(require("./components/icons/IconChevronDown"), exports);
|
|
59
|
+
tslib_1.__exportStar(require("./components/icons/IconChevronUp"), exports);
|
|
60
|
+
tslib_1.__exportStar(require("./components/icons/IconChevronRight"), exports);
|
|
61
|
+
tslib_1.__exportStar(require("./components/icons/IconChevronLeft"), exports);
|
|
62
|
+
tslib_1.__exportStar(require("./components/icons/IconCheckCircle"), exports);
|
|
63
|
+
tslib_1.__exportStar(require("./components/icons/IconExclamationOctagon"), exports);
|
|
64
|
+
tslib_1.__exportStar(require("./components/icons/IconExclamationTriangle"), exports);
|
|
65
|
+
tslib_1.__exportStar(require("./components/icons/IconInformationCircle"), exports);
|
|
66
|
+
tslib_1.__exportStar(require("./components/icons/IconVerticalDots"), exports);
|
|
67
|
+
tslib_1.__exportStar(require("./components/icons/IconLogout"), exports);
|
|
68
|
+
tslib_1.__exportStar(require("./components/icons/IconCheck"), exports);
|
|
69
|
+
tslib_1.__exportStar(require("./components/icons/IconTimer"), exports);
|
|
70
|
+
tslib_1.__exportStar(require("./components/icons/IconCancel"), exports);
|
|
71
|
+
tslib_1.__exportStar(require("./components/icons/IconList"), exports);
|
|
72
|
+
tslib_1.__exportStar(require("./components/icons/IconClipboard"), exports);
|
|
73
|
+
tslib_1.__exportStar(require("./components/icons/IconFile"), exports);
|
|
74
|
+
tslib_1.__exportStar(require("./components/icons/IconFileScan"), exports);
|
|
75
|
+
tslib_1.__exportStar(require("./components/icons/IconListArrow"), exports);
|
|
76
|
+
tslib_1.__exportStar(require("./components/icons/IconMessage"), exports);
|
|
77
|
+
tslib_1.__exportStar(require("./components/icons/IconPlay"), exports);
|
|
78
|
+
tslib_1.__exportStar(require("./components/icons/IconPause"), exports);
|
|
79
|
+
tslib_1.__exportStar(require("./components/icons/IconTrash"), exports);
|
|
80
|
+
tslib_1.__exportStar(require("./components/icons/IconBookmark"), exports);
|
|
81
|
+
tslib_1.__exportStar(require("./components/icons/IconHouse"), exports);
|
|
82
|
+
tslib_1.__exportStar(require("./components/icons/IconArrowUp"), exports);
|
|
83
|
+
tslib_1.__exportStar(require("./components/icons/IconArrowDown"), exports);
|
|
84
|
+
tslib_1.__exportStar(require("./components/icons/IconMessagePlus"), exports);
|
|
85
|
+
tslib_1.__exportStar(require("./components/icons/IconCreditCard"), exports);
|
|
86
|
+
tslib_1.__exportStar(require("./components/icons/IconLayout"), exports);
|
|
@@ -0,0 +1,116 @@
|
|
|
1
|
+
export declare const colors: {
|
|
2
|
+
black: {
|
|
3
|
+
100: string;
|
|
4
|
+
90: string;
|
|
5
|
+
80: string;
|
|
6
|
+
70: string;
|
|
7
|
+
60: string;
|
|
8
|
+
50: string;
|
|
9
|
+
40: string;
|
|
10
|
+
30: string;
|
|
11
|
+
20: string;
|
|
12
|
+
10: string;
|
|
13
|
+
};
|
|
14
|
+
white: {
|
|
15
|
+
100: string;
|
|
16
|
+
90: string;
|
|
17
|
+
80: string;
|
|
18
|
+
70: string;
|
|
19
|
+
60: string;
|
|
20
|
+
50: string;
|
|
21
|
+
40: string;
|
|
22
|
+
30: string;
|
|
23
|
+
20: string;
|
|
24
|
+
10: string;
|
|
25
|
+
};
|
|
26
|
+
primary: {
|
|
27
|
+
900: string;
|
|
28
|
+
800: string;
|
|
29
|
+
700: string;
|
|
30
|
+
600: string;
|
|
31
|
+
500: string;
|
|
32
|
+
400: string;
|
|
33
|
+
300: string;
|
|
34
|
+
200: string;
|
|
35
|
+
100: string;
|
|
36
|
+
50: string;
|
|
37
|
+
};
|
|
38
|
+
textAtenea: {
|
|
39
|
+
900: string;
|
|
40
|
+
700: string;
|
|
41
|
+
500: string;
|
|
42
|
+
300: string;
|
|
43
|
+
200: string;
|
|
44
|
+
100: string;
|
|
45
|
+
50: string;
|
|
46
|
+
};
|
|
47
|
+
grey: {
|
|
48
|
+
900: string;
|
|
49
|
+
800: string;
|
|
50
|
+
700: string;
|
|
51
|
+
600: string;
|
|
52
|
+
500: string;
|
|
53
|
+
400: string;
|
|
54
|
+
300: string;
|
|
55
|
+
200: string;
|
|
56
|
+
100: string;
|
|
57
|
+
50: string;
|
|
58
|
+
};
|
|
59
|
+
greenSuccess: {
|
|
60
|
+
900: string;
|
|
61
|
+
800: string;
|
|
62
|
+
700: string;
|
|
63
|
+
600: string;
|
|
64
|
+
500: string;
|
|
65
|
+
400: string;
|
|
66
|
+
300: string;
|
|
67
|
+
200: string;
|
|
68
|
+
100: string;
|
|
69
|
+
50: string;
|
|
70
|
+
};
|
|
71
|
+
redDanger: {
|
|
72
|
+
900: string;
|
|
73
|
+
800: string;
|
|
74
|
+
700: string;
|
|
75
|
+
500: string;
|
|
76
|
+
300: string;
|
|
77
|
+
100: string;
|
|
78
|
+
50: string;
|
|
79
|
+
};
|
|
80
|
+
yellowWarning: {
|
|
81
|
+
900: string;
|
|
82
|
+
800: string;
|
|
83
|
+
700: string;
|
|
84
|
+
500: string;
|
|
85
|
+
300: string;
|
|
86
|
+
100: string;
|
|
87
|
+
50: string;
|
|
88
|
+
};
|
|
89
|
+
blueInfo: {
|
|
90
|
+
900: string;
|
|
91
|
+
800: string;
|
|
92
|
+
700: string;
|
|
93
|
+
600: string;
|
|
94
|
+
500: string;
|
|
95
|
+
400: string;
|
|
96
|
+
300: string;
|
|
97
|
+
200: string;
|
|
98
|
+
100: string;
|
|
99
|
+
50: string;
|
|
100
|
+
};
|
|
101
|
+
pinkAtenea: {
|
|
102
|
+
500: string;
|
|
103
|
+
300: string;
|
|
104
|
+
100: string;
|
|
105
|
+
};
|
|
106
|
+
violetAtenea: {
|
|
107
|
+
500: string;
|
|
108
|
+
300: string;
|
|
109
|
+
100: string;
|
|
110
|
+
};
|
|
111
|
+
orangeAtenea: {
|
|
112
|
+
500: string;
|
|
113
|
+
300: string;
|
|
114
|
+
100: string;
|
|
115
|
+
};
|
|
116
|
+
};
|
|
@@ -0,0 +1,120 @@
|
|
|
1
|
+
'use strict';
|
|
2
|
+
|
|
3
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
4
|
+
exports.colors = void 0;
|
|
5
|
+
exports.colors = {
|
|
6
|
+
black: {
|
|
7
|
+
100: '#000000', // 100% opaco
|
|
8
|
+
90: '#000000E6', // 90% opacidad (E6)
|
|
9
|
+
80: '#000000CC', // 80% opacidad (CC)
|
|
10
|
+
70: '#000000B3', // 70% opacidad (B3)
|
|
11
|
+
60: '#00000099', // 60% opacidad (99)
|
|
12
|
+
50: '#00000080', // 50% opacidad (80)
|
|
13
|
+
40: '#00000066', // 40% opacidad (66)
|
|
14
|
+
30: '#0000004D', // 30% opacidad (4D)
|
|
15
|
+
20: '#00000033', // 20% opacidad (33)
|
|
16
|
+
10: '#0000001A', // 10% opacidad (1A)
|
|
17
|
+
},
|
|
18
|
+
white: {
|
|
19
|
+
100: '#FFFFFF', // 100% opaco
|
|
20
|
+
90: '#FFFFFFE6', // 90% opacidad (E6)
|
|
21
|
+
80: '#FFFFFFCC', // 80% opacidad (CC)
|
|
22
|
+
70: '#FFFFFFB3', // 70% opacidad (B3)
|
|
23
|
+
60: '#FFFFFF99', // 60% opacidad (99)
|
|
24
|
+
50: '#FFFFFF80', // 50% opacidad (80)
|
|
25
|
+
40: '#FFFFFF66', // 40% opacidad (66)
|
|
26
|
+
30: '#FFFFFF4D', // 30% opacidad (4D)
|
|
27
|
+
20: '#FFFFFF33', // 20% opacidad (33)
|
|
28
|
+
10: '#FFFFFF1A', // 10% opacidad (1A)
|
|
29
|
+
},
|
|
30
|
+
primary: {
|
|
31
|
+
900: '#01F4D3A',
|
|
32
|
+
800: '#2D6A4D',
|
|
33
|
+
700: '#3D875F',
|
|
34
|
+
600: '#5ABF84',
|
|
35
|
+
500: '#87E7B0',
|
|
36
|
+
400: '#A6EFC4',
|
|
37
|
+
300: '#C2F5D5',
|
|
38
|
+
200: '#D8F9E4',
|
|
39
|
+
100: '#ECFCF2',
|
|
40
|
+
50: '#F7FEF9',
|
|
41
|
+
},
|
|
42
|
+
textAtenea: {
|
|
43
|
+
900: '#0B2C1D',
|
|
44
|
+
700: '#32433C',
|
|
45
|
+
500: '#5B6B64',
|
|
46
|
+
300: '#9AA7A1',
|
|
47
|
+
200: '#C8D2CE',
|
|
48
|
+
100: '#E1E7E4',
|
|
49
|
+
50: '#F4F7F6',
|
|
50
|
+
},
|
|
51
|
+
grey: {
|
|
52
|
+
900: '#131927',
|
|
53
|
+
800: '#212936',
|
|
54
|
+
700: '#394050',
|
|
55
|
+
600: '#4D5461',
|
|
56
|
+
500: '#6D717F',
|
|
57
|
+
400: '#9EA2AE',
|
|
58
|
+
300: '#D2D5DB',
|
|
59
|
+
200: '#E5E7EA',
|
|
60
|
+
100: '#F3F4F6',
|
|
61
|
+
50: '#F9FAFB',
|
|
62
|
+
},
|
|
63
|
+
greenSuccess: {
|
|
64
|
+
900: '#1C4D27',
|
|
65
|
+
800: '#1C4D27',
|
|
66
|
+
700: '#308242',
|
|
67
|
+
600: '#3DA755',
|
|
68
|
+
500: '#43B75D',
|
|
69
|
+
400: '#69C57D',
|
|
70
|
+
300: '#81CF92',
|
|
71
|
+
200: '#A9DEB4',
|
|
72
|
+
100: '#C5E9CD',
|
|
73
|
+
50: '#ECF8EF',
|
|
74
|
+
},
|
|
75
|
+
redDanger: {
|
|
76
|
+
900: '#550419',
|
|
77
|
+
800: '#960D30',
|
|
78
|
+
700: '#BA1E45',
|
|
79
|
+
500: '#F82B60',
|
|
80
|
+
300: '#FF9EB7',
|
|
81
|
+
100: '#FFDCE5',
|
|
82
|
+
50: '#FFF1F5',
|
|
83
|
+
},
|
|
84
|
+
yellowWarning: {
|
|
85
|
+
900: '#895600',
|
|
86
|
+
800: '#B87503',
|
|
87
|
+
700: '#E08D00',
|
|
88
|
+
500: '#FCB400',
|
|
89
|
+
300: '#FFD66E',
|
|
90
|
+
100: '#FFEAB6',
|
|
91
|
+
50: '#FFF6DE',
|
|
92
|
+
},
|
|
93
|
+
blueInfo: {
|
|
94
|
+
900: '#003F6B',
|
|
95
|
+
800: '#00528C',
|
|
96
|
+
700: '#006AB5',
|
|
97
|
+
600: '#0088E8',
|
|
98
|
+
500: '#0095FF',
|
|
99
|
+
400: '#33AAFF',
|
|
100
|
+
300: '#54B8FF',
|
|
101
|
+
200: '#8ACEFF',
|
|
102
|
+
100: '#B0DEFF',
|
|
103
|
+
50: '#E6F4FF',
|
|
104
|
+
},
|
|
105
|
+
pinkAtenea: {
|
|
106
|
+
500: '#FF70A0',
|
|
107
|
+
300: '#FFC3D7',
|
|
108
|
+
100: '#FFF2F6',
|
|
109
|
+
},
|
|
110
|
+
violetAtenea: {
|
|
111
|
+
500: '#CD81E2',
|
|
112
|
+
300: '#DCA7EB',
|
|
113
|
+
100: '#FBEEFF',
|
|
114
|
+
},
|
|
115
|
+
orangeAtenea: {
|
|
116
|
+
500: '#FF7D4C',
|
|
117
|
+
300: '#FFAA8B',
|
|
118
|
+
100: '#FFF2ED',
|
|
119
|
+
},
|
|
120
|
+
};
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __exportStar = (this && this.__exportStar) || function(m, exports) {
|
|
14
|
+
for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
|
|
15
|
+
};
|
|
16
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
17
|
+
__exportStar(require("./colors"), exports);
|
|
18
|
+
__exportStar(require("./typography"), exports);
|
|
19
|
+
__exportStar(require("./spacing"), exports);
|
|
20
|
+
__exportStar(require("./borders"), exports);
|
|
21
|
+
__exportStar(require("./theme"), exports);
|