@mathwiz/ui-components 0.1.31 → 0.1.32

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.
Files changed (105) hide show
  1. package/dist/components/dashboard/atoms/Badge/Badge.d.ts +7 -16
  2. package/dist/components/dashboard/atoms/Badge/Badge.d.ts.map +1 -1
  3. package/dist/components/dashboard/atoms/GamifiedToken/GamifiedToken.d.ts +14 -0
  4. package/dist/components/dashboard/atoms/GamifiedToken/GamifiedToken.d.ts.map +1 -0
  5. package/dist/components/dashboard/atoms/GamifiedToken/index.d.ts +3 -0
  6. package/dist/components/dashboard/atoms/GamifiedToken/index.d.ts.map +1 -0
  7. package/dist/components/dashboard/index.d.ts +31 -0
  8. package/dist/components/dashboard/index.d.ts.map +1 -0
  9. package/dist/components/dashboard/molecules/MathVisualizer/FormulaRenderer.d.ts +12 -0
  10. package/dist/components/dashboard/molecules/MathVisualizer/FormulaRenderer.d.ts.map +1 -0
  11. package/dist/components/dashboard/molecules/MathVisualizer/MathVisualizer.css +116 -0
  12. package/dist/components/dashboard/molecules/MathVisualizer/MathVisualizer.d.ts +39 -0
  13. package/dist/components/dashboard/molecules/MathVisualizer/MathVisualizer.d.ts.map +1 -0
  14. package/dist/components/dashboard/molecules/MathVisualizer/VisualRenderer.d.ts +12 -0
  15. package/dist/components/dashboard/molecules/MathVisualizer/VisualRenderer.d.ts.map +1 -0
  16. package/dist/components/dashboard/molecules/MathVisualizer/constants.d.ts +28 -0
  17. package/dist/components/dashboard/molecules/MathVisualizer/constants.d.ts.map +1 -0
  18. package/dist/components/dashboard/molecules/MathVisualizer/index.d.ts +5 -0
  19. package/dist/components/dashboard/molecules/MathVisualizer/index.d.ts.map +1 -0
  20. package/dist/components/dashboard/molecules/MathVisualizer/types.d.ts +29 -0
  21. package/dist/components/dashboard/molecules/MathVisualizer/types.d.ts.map +1 -0
  22. package/dist/components/dashboard/molecules/MathVisualizer/utils.d.ts +6 -0
  23. package/dist/components/dashboard/molecules/MathVisualizer/utils.d.ts.map +1 -0
  24. package/dist/components/dashboard/molecules/RadialProgress/RadialProgress.d.ts +3 -0
  25. package/dist/components/dashboard/molecules/RadialProgress/RadialProgress.d.ts.map +1 -0
  26. package/dist/components/dashboard/molecules/RadialProgress/index.d.ts +3 -0
  27. package/dist/components/dashboard/molecules/RadialProgress/index.d.ts.map +1 -0
  28. package/dist/components/dashboard/molecules/RadialProgress/types.d.ts +22 -0
  29. package/dist/components/dashboard/molecules/RadialProgress/types.d.ts.map +1 -0
  30. package/dist/components/dashboard/molecules/SegmentedTabs/SegmentedTabs.d.ts +31 -0
  31. package/dist/components/dashboard/molecules/SegmentedTabs/SegmentedTabs.d.ts.map +1 -0
  32. package/dist/components/dashboard/molecules/SegmentedTabs/SegmentedTabs.types.d.ts +39 -0
  33. package/dist/components/dashboard/molecules/SegmentedTabs/SegmentedTabs.types.d.ts.map +1 -0
  34. package/dist/components/dashboard/molecules/SegmentedTabs/index.d.ts +6 -0
  35. package/dist/components/dashboard/molecules/SegmentedTabs/index.d.ts.map +1 -0
  36. package/dist/components/dashboard/molecules/TaskCheckbox/TaskCheckbox.d.ts +20 -0
  37. package/dist/components/dashboard/molecules/TaskCheckbox/TaskCheckbox.d.ts.map +1 -0
  38. package/dist/components/dashboard/molecules/TaskCheckbox/index.d.ts +6 -0
  39. package/dist/components/dashboard/molecules/TaskCheckbox/index.d.ts.map +1 -0
  40. package/dist/components/dashboard/molecules/TaskCheckbox/types.d.ts +18 -0
  41. package/dist/components/dashboard/molecules/TaskCheckbox/types.d.ts.map +1 -0
  42. package/dist/components/dashboard/organisms/ActionHeroCard/ActionHeroCard.d.ts +3 -0
  43. package/dist/components/dashboard/organisms/ActionHeroCard/ActionHeroCard.d.ts.map +1 -0
  44. package/dist/components/dashboard/organisms/ActionHeroCard/index.d.ts +3 -0
  45. package/dist/components/dashboard/organisms/ActionHeroCard/index.d.ts.map +1 -0
  46. package/dist/components/dashboard/organisms/ActionHeroCard/types.d.ts +16 -0
  47. package/dist/components/dashboard/organisms/ActionHeroCard/types.d.ts.map +1 -0
  48. package/dist/components/dashboard/organisms/ActivityChart/ActivityChart.d.ts +4 -0
  49. package/dist/components/dashboard/organisms/ActivityChart/ActivityChart.d.ts.map +1 -0
  50. package/dist/components/dashboard/organisms/ActivityChart/index.d.ts +3 -0
  51. package/dist/components/dashboard/organisms/ActivityChart/index.d.ts.map +1 -0
  52. package/dist/components/dashboard/organisms/ActivityChart/types.d.ts +23 -0
  53. package/dist/components/dashboard/organisms/ActivityChart/types.d.ts.map +1 -0
  54. package/dist/components/dashboard/organisms/DashboardHeader/DashboardHeader.d.ts +4 -0
  55. package/dist/components/dashboard/organisms/DashboardHeader/DashboardHeader.d.ts.map +1 -0
  56. package/dist/components/dashboard/organisms/DashboardHeader/index.d.ts +3 -0
  57. package/dist/components/dashboard/organisms/DashboardHeader/index.d.ts.map +1 -0
  58. package/dist/components/dashboard/organisms/DashboardHeader/types.d.ts +28 -0
  59. package/dist/components/dashboard/organisms/DashboardHeader/types.d.ts.map +1 -0
  60. package/dist/components/dashboard/organisms/DashboardSidebar/DashboardSidebar.d.ts +4 -0
  61. package/dist/components/dashboard/organisms/DashboardSidebar/DashboardSidebar.d.ts.map +1 -0
  62. package/dist/components/dashboard/organisms/DashboardSidebar/index.d.ts +3 -0
  63. package/dist/components/dashboard/organisms/DashboardSidebar/index.d.ts.map +1 -0
  64. package/dist/components/dashboard/organisms/DashboardSidebar/types.d.ts +25 -0
  65. package/dist/components/dashboard/organisms/DashboardSidebar/types.d.ts.map +1 -0
  66. package/dist/components/dashboard/organisms/PathwayNode/PathwayNode.d.ts +32 -0
  67. package/dist/components/dashboard/organisms/PathwayNode/PathwayNode.d.ts.map +1 -0
  68. package/dist/components/dashboard/organisms/PathwayNode/index.d.ts +6 -0
  69. package/dist/components/dashboard/organisms/PathwayNode/index.d.ts.map +1 -0
  70. package/dist/components/dashboard/organisms/PathwayNode/types.d.ts +29 -0
  71. package/dist/components/dashboard/organisms/PathwayNode/types.d.ts.map +1 -0
  72. package/dist/components/dashboard/organisms/RecommendationCard/RecommendationCard.d.ts +4 -0
  73. package/dist/components/dashboard/organisms/RecommendationCard/RecommendationCard.d.ts.map +1 -0
  74. package/dist/components/dashboard/organisms/RecommendationCard/index.d.ts +3 -0
  75. package/dist/components/dashboard/organisms/RecommendationCard/index.d.ts.map +1 -0
  76. package/dist/components/dashboard/organisms/RecommendationCard/types.d.ts +44 -0
  77. package/dist/components/dashboard/organisms/RecommendationCard/types.d.ts.map +1 -0
  78. package/dist/components/dashboard/organisms/SkillRings/SkillRings.d.ts +4 -0
  79. package/dist/components/dashboard/organisms/SkillRings/SkillRings.d.ts.map +1 -0
  80. package/dist/components/dashboard/organisms/SkillRings/index.d.ts +3 -0
  81. package/dist/components/dashboard/organisms/SkillRings/index.d.ts.map +1 -0
  82. package/dist/components/dashboard/organisms/SkillRings/types.d.ts +25 -0
  83. package/dist/components/dashboard/organisms/SkillRings/types.d.ts.map +1 -0
  84. package/dist/components/dashboard/templates/DailyMilestones/DailyMilestones.d.ts +46 -0
  85. package/dist/components/dashboard/templates/DailyMilestones/DailyMilestones.d.ts.map +1 -0
  86. package/dist/components/dashboard/templates/DailyMilestones/index.d.ts +3 -0
  87. package/dist/components/dashboard/templates/DailyMilestones/index.d.ts.map +1 -0
  88. package/dist/components/dashboard/templates/DailyMilestones/types.d.ts +13 -0
  89. package/dist/components/dashboard/templates/DailyMilestones/types.d.ts.map +1 -0
  90. package/dist/components/dashboard/templates/LearningPathway/LearningPathway.d.ts +4 -0
  91. package/dist/components/dashboard/templates/LearningPathway/LearningPathway.d.ts.map +1 -0
  92. package/dist/components/dashboard/templates/LearningPathway/LearningPathway.types.d.ts +46 -0
  93. package/dist/components/dashboard/templates/LearningPathway/LearningPathway.types.d.ts.map +1 -0
  94. package/dist/components/dashboard/templates/LearningPathway/index.d.ts +6 -0
  95. package/dist/components/dashboard/templates/LearningPathway/index.d.ts.map +1 -0
  96. package/dist/index.cjs +135 -102
  97. package/dist/index.cjs.map +1 -1
  98. package/dist/index.css +1 -1
  99. package/dist/index.d.ts +2 -0
  100. package/dist/index.d.ts.map +1 -1
  101. package/dist/index.mjs +18921 -10643
  102. package/dist/index.mjs.map +1 -1
  103. package/dist/mathwiz-ui.css +1 -1
  104. package/dist/style.css +1 -1
  105. package/package.json +9 -7
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/ActionHeroCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,mBAAmB;IAClC,6EAA6E;IAC7E,cAAc,EAAE,MAAM,CAAC;IACvB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,2BAA2B;IAC3B,aAAa,EAAE,MAAM,CAAC;IACtB,8DAA8D;IAC9D,UAAU,CAAC,EAAE,SAAS,CAAC;IACvB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,sCAAsC;IACtC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,4 @@
1
+ import type { ActivityChartProps } from './types';
2
+ export declare function ActivityChart({ data, growthPercentage, isLoading, className, }: ActivityChartProps): import("react/jsx-runtime").JSX.Element;
3
+ export default ActivityChart;
4
+ //# sourceMappingURL=ActivityChart.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ActivityChart.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/ActivityChart/ActivityChart.tsx"],"names":[],"mappings":"AAWA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,SAAS,CAAC;AAKlD,wBAAgB,aAAa,CAAC,EAC5B,IAAI,EACJ,gBAAgB,EAChB,SAAiB,EACjB,SAAc,GACf,EAAE,kBAAkB,2CAwGpB;AAED,eAAe,aAAa,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { ActivityChart } from './ActivityChart';
2
+ export type { ActivityChartProps, ActivityDataPoint } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/ActivityChart/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,aAAa,EAAE,MAAM,iBAAiB,CAAC;AAChD,YAAY,EAAE,kBAAkB,EAAE,iBAAiB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,23 @@
1
+ /**
2
+ * Data point for activity chart
3
+ */
4
+ export interface ActivityDataPoint {
5
+ /** Day label (e.g., 'Mon', 'Tue') */
6
+ day: string;
7
+ /** Number of questions solved */
8
+ count: number;
9
+ }
10
+ /**
11
+ * Props for ActivityChart component
12
+ */
13
+ export interface ActivityChartProps {
14
+ /** Activity data for the last 7 days */
15
+ data: ActivityDataPoint[];
16
+ /** Growth percentage compared to previous week */
17
+ growthPercentage?: number;
18
+ /** Loading state */
19
+ isLoading?: boolean;
20
+ /** Additional CSS class names */
21
+ className?: string;
22
+ }
23
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/ActivityChart/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,iBAAiB;IAChC,qCAAqC;IACrC,GAAG,EAAE,MAAM,CAAC;IACZ,iCAAiC;IACjC,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,kBAAkB;IACjC,wCAAwC;IACxC,IAAI,EAAE,iBAAiB,EAAE,CAAC;IAC1B,kDAAkD;IAClD,gBAAgB,CAAC,EAAE,MAAM,CAAC;IAC1B,oBAAoB;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,4 @@
1
+ import type { DashboardHeaderProps } from './types';
2
+ export declare function DashboardHeader({ userName, userLevel, userAvatar, streakDays, coins, notifications, onSearch, onLanguageSwitch, onNotificationClick, onProfileClick, className, }: DashboardHeaderProps): import("react/jsx-runtime").JSX.Element;
3
+ export default DashboardHeader;
4
+ //# sourceMappingURL=DashboardHeader.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardHeader.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardHeader/DashboardHeader.tsx"],"names":[],"mappings":"AAIA,OAAO,KAAK,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC;AAEpD,wBAAgB,eAAe,CAAC,EAC9B,QAAQ,EACR,SAAS,EACT,UAAU,EACV,UAAU,EACV,KAAK,EACL,aAAiB,EACjB,QAAQ,EACR,gBAAgB,EAChB,mBAAmB,EACnB,cAAc,EACd,SAAc,GACf,EAAE,oBAAoB,2CAmHtB;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { DashboardHeader } from './DashboardHeader';
2
+ export type { DashboardHeaderProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardHeader/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,28 @@
1
+ /**
2
+ * Props for DashboardHeader component
3
+ */
4
+ export interface DashboardHeaderProps {
5
+ /** User display name */
6
+ userName: string;
7
+ /** User level description */
8
+ userLevel: string;
9
+ /** User avatar image URL */
10
+ userAvatar: string;
11
+ /** Current streak days */
12
+ streakDays: number;
13
+ /** Current coin balance */
14
+ coins: number;
15
+ /** Number of unread notifications (0 to hide badge) */
16
+ notifications?: number;
17
+ /** Callback when search input changes */
18
+ onSearch?: (query: string) => void;
19
+ /** Callback when language switch is clicked */
20
+ onLanguageSwitch?: () => void;
21
+ /** Callback when notification bell is clicked */
22
+ onNotificationClick?: () => void;
23
+ /** Callback when user profile is clicked */
24
+ onProfileClick?: () => void;
25
+ /** Additional CSS class names */
26
+ className?: string;
27
+ }
28
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardHeader/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,wBAAwB;IACxB,QAAQ,EAAE,MAAM,CAAC;IACjB,6BAA6B;IAC7B,SAAS,EAAE,MAAM,CAAC;IAClB,4BAA4B;IAC5B,UAAU,EAAE,MAAM,CAAC;IACnB,0BAA0B;IAC1B,UAAU,EAAE,MAAM,CAAC;IACnB,2BAA2B;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,yCAAyC;IACzC,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,+CAA+C;IAC/C,gBAAgB,CAAC,EAAE,MAAM,IAAI,CAAC;IAC9B,iDAAiD;IACjD,mBAAmB,CAAC,EAAE,MAAM,IAAI,CAAC;IACjC,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,IAAI,CAAC;IAC5B,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,4 @@
1
+ import type { DashboardSidebarProps } from './types';
2
+ export declare function DashboardSidebar({ activeItemId, onNavigate, className, }: DashboardSidebarProps): import("react/jsx-runtime").JSX.Element;
3
+ export default DashboardSidebar;
4
+ //# sourceMappingURL=DashboardSidebar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DashboardSidebar.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardSidebar/DashboardSidebar.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,SAAS,CAAC;AASrD,wBAAgB,gBAAgB,CAAC,EAC/B,YAAqB,EACrB,UAAU,EACV,SAAc,GACf,EAAE,qBAAqB,2CAqDvB;AAED,eAAe,gBAAgB,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { DashboardSidebar } from './DashboardSidebar';
2
+ export type { DashboardSidebarProps, NavItem } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardSidebar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,gBAAgB,EAAE,MAAM,oBAAoB,CAAC;AACtD,YAAY,EAAE,qBAAqB,EAAE,OAAO,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Navigation item for DashboardSidebar
3
+ */
4
+ export interface NavItem {
5
+ /** Unique identifier */
6
+ id: string;
7
+ /** Icon component */
8
+ icon: React.ReactNode;
9
+ /** Label for the nav item */
10
+ label: string;
11
+ /** Whether the item is disabled */
12
+ isDisabled?: boolean;
13
+ }
14
+ /**
15
+ * Props for DashboardSidebar component
16
+ */
17
+ export interface DashboardSidebarProps {
18
+ /** Currently active navigation item ID */
19
+ activeItemId?: string;
20
+ /** Callback when a navigation item is clicked */
21
+ onNavigate?: (itemId: string) => void;
22
+ /** Additional CSS class names */
23
+ className?: string;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/DashboardSidebar/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,OAAO;IACtB,wBAAwB;IACxB,EAAE,EAAE,MAAM,CAAC;IACX,qBAAqB;IACrB,IAAI,EAAE,KAAK,CAAC,SAAS,CAAC;IACtB,6BAA6B;IAC7B,KAAK,EAAE,MAAM,CAAC;IACd,mCAAmC;IACnC,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,qBAAqB;IACpC,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,iDAAiD;IACjD,UAAU,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,KAAK,IAAI,CAAC;IACtC,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,32 @@
1
+ /**
2
+ * PathwayNode Component
3
+ * A learning pathway node showing course progress status with three states:
4
+ * - completed: Green checkmark icon, strikethrough gray title
5
+ * - current: Avatar with brand border, progress bar, "Go" button, card container
6
+ * - locked: Gray lock icon, muted gray title
7
+ */
8
+ import type { PathwayNodeProps } from './types';
9
+ /**
10
+ * PathwayNode - A learning pathway node component
11
+ *
12
+ * @example
13
+ * ```tsx
14
+ * // Completed node
15
+ * <PathwayNode status="completed" title="Unit 1: Addition" />
16
+ *
17
+ * // Current node with progress
18
+ * <PathwayNode
19
+ * status="current"
20
+ * title="Unit 2: Subtraction"
21
+ * subtitle="In Progress"
22
+ * progress={45}
23
+ * avatarSrc="https://example.com/avatar.png"
24
+ * onAction={() => navigate('/unit-2')}
25
+ * />
26
+ *
27
+ * // Locked node
28
+ * <PathwayNode status="locked" title="Unit 3: Multiplication" />
29
+ * ```
30
+ */
31
+ export declare const PathwayNode: React.FC<PathwayNodeProps>;
32
+ //# sourceMappingURL=PathwayNode.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"PathwayNode.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/PathwayNode/PathwayNode.tsx"],"names":[],"mappings":"AAAA;;;;;;GAMG;AAGH,OAAO,KAAK,EAAE,gBAAgB,EAAqB,MAAM,SAAS,CAAC;AAyDnE;;;;;;;;;;;;;;;;;;;;;GAqBG;AACH,eAAO,MAAM,WAAW,EAAE,KAAK,CAAC,EAAE,CAAC,gBAAgB,CAmJlD,CAAC"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * PathwayNode component exports
3
+ */
4
+ export { PathwayNode } from './PathwayNode';
5
+ export type { PathwayNodeProps, PathwayNodeStatus, PathwayNodeSize } from './types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/PathwayNode/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAC5C,YAAY,EAAE,gBAAgB,EAAE,iBAAiB,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,29 @@
1
+ /**
2
+ * PathwayNode component types
3
+ * A learning pathway node showing course progress status with three states
4
+ */
5
+ export type PathwayNodeStatus = 'completed' | 'current' | 'locked';
6
+ export type PathwayNodeSize = 'sm' | 'md' | 'lg';
7
+ export interface PathwayNodeProps {
8
+ /** Status of the pathway node */
9
+ status: PathwayNodeStatus;
10
+ /** Title of the course/unit */
11
+ title: string;
12
+ /** Optional subtitle or description */
13
+ subtitle?: string;
14
+ /** Progress percentage (0-100), only applicable for current status */
15
+ progress?: number;
16
+ /** Avatar image source, only applicable for current status */
17
+ avatarSrc?: string;
18
+ /** Callback when action button is clicked, only applicable for current status */
19
+ onAction?: () => void;
20
+ /** Size variant of the node */
21
+ size?: PathwayNodeSize;
22
+ /** Additional CSS class names */
23
+ className?: string;
24
+ /** Whether to show the connector line */
25
+ showConnector?: boolean;
26
+ /** Whether this is the last node in the pathway */
27
+ isLast?: boolean;
28
+ }
29
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/PathwayNode/types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,MAAM,MAAM,iBAAiB,GAAG,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;AACnE,MAAM,MAAM,eAAe,GAAG,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;AAEjD,MAAM,WAAW,gBAAgB;IAC/B,iCAAiC;IACjC,MAAM,EAAE,iBAAiB,CAAC;IAC1B,+BAA+B;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,+BAA+B;IAC/B,IAAI,CAAC,EAAE,eAAe,CAAC;IACvB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yCAAyC;IACzC,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,mDAAmD;IACnD,MAAM,CAAC,EAAE,OAAO,CAAC;CAClB"}
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import type { RecommendationCardProps } from './types';
3
+ export declare const RecommendationCard: React.FC<RecommendationCardProps>;
4
+ //# sourceMappingURL=RecommendationCard.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RecommendationCard.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/RecommendationCard/RecommendationCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,KAAK,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC;AAuBvD,eAAO,MAAM,kBAAkB,EAAE,KAAK,CAAC,EAAE,CAAC,uBAAuB,CA6EhE,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { RecommendationCard } from './RecommendationCard';
2
+ export type { RecommendationCardProps } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/RecommendationCard/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,kBAAkB,EAAE,MAAM,sBAAsB,CAAC;AAC1D,YAAY,EAAE,uBAAuB,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,44 @@
1
+ import type { ReactNode } from 'react';
2
+ export interface RecommendationCardProps {
3
+ /**
4
+ * The visual variant of the card determining color scheme and icons
5
+ * @default 'weakness'
6
+ */
7
+ variant: 'weakness' | 'challenge' | 'explore';
8
+ /**
9
+ * Text displayed in the badge (e.g., "Target Weakness", "Daily Challenge")
10
+ */
11
+ badgeText: string;
12
+ /**
13
+ * Reasoning text explaining why this recommendation is shown
14
+ * @example "Based on mistake book:"
15
+ */
16
+ reasoning: string;
17
+ /**
18
+ * The title of the recommended content
19
+ */
20
+ title: string;
21
+ /**
22
+ * Optional custom content node (e.g., MathVisualizer or other components)
23
+ */
24
+ contentNode?: ReactNode;
25
+ /**
26
+ * Callback function when the action button is clicked
27
+ */
28
+ onAction?: () => void;
29
+ /**
30
+ * Text for the action button
31
+ * @default 'Try this >'
32
+ */
33
+ actionText?: string;
34
+ /**
35
+ * Additional CSS class names
36
+ */
37
+ className?: string;
38
+ /**
39
+ * Whether the card is disabled (prevents button interaction)
40
+ * @default false
41
+ */
42
+ isDisabled?: boolean;
43
+ }
44
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/RecommendationCard/types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,MAAM,WAAW,uBAAuB;IACtC;;;OAGG;IACH,OAAO,EAAE,UAAU,GAAG,WAAW,GAAG,SAAS,CAAC;IAE9C;;OAEG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;;OAGG;IACH,SAAS,EAAE,MAAM,CAAC;IAElB;;OAEG;IACH,KAAK,EAAE,MAAM,CAAC;IAEd;;OAEG;IACH,WAAW,CAAC,EAAE,SAAS,CAAC;IAExB;;OAEG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IAEtB;;;OAGG;IACH,UAAU,CAAC,EAAE,MAAM,CAAC;IAEpB;;OAEG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IAEnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB"}
@@ -0,0 +1,4 @@
1
+ import type { SkillRingsProps } from './types';
2
+ export declare function SkillRings({ skills, isLoading, className, }: SkillRingsProps): import("react/jsx-runtime").JSX.Element;
3
+ export default SkillRings;
4
+ //# sourceMappingURL=SkillRings.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"SkillRings.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/SkillRings/SkillRings.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,SAAS,CAAC;AA4D/C,wBAAgB,UAAU,CAAC,EACzB,MAAM,EACN,SAAiB,EACjB,SAAc,GACf,EAAE,eAAe,2CAmDjB;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { SkillRings } from './SkillRings';
2
+ export type { SkillRingsProps, SkillData } from './types';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/SkillRings/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAC1C,YAAY,EAAE,eAAe,EAAE,SAAS,EAAE,MAAM,SAAS,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Skill data for a single ring
3
+ */
4
+ export interface SkillData {
5
+ /** Skill name in English */
6
+ nameEn: string;
7
+ /** Skill name in Chinese */
8
+ nameZh: string;
9
+ /** Mastery percentage (0-100) */
10
+ percentage: number;
11
+ /** Color for the ring */
12
+ color: string;
13
+ }
14
+ /**
15
+ * Props for SkillRings component
16
+ */
17
+ export interface SkillRingsProps {
18
+ /** Array of skills to display */
19
+ skills: SkillData[];
20
+ /** Loading state */
21
+ isLoading?: boolean;
22
+ /** Additional CSS class names */
23
+ className?: string;
24
+ }
25
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/organisms/SkillRings/types.ts"],"names":[],"mappings":"AAAA;;GAEG;AACH,MAAM,WAAW,SAAS;IACxB,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,4BAA4B;IAC5B,MAAM,EAAE,MAAM,CAAC;IACf,iCAAiC;IACjC,UAAU,EAAE,MAAM,CAAC;IACnB,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;CACf;AAED;;GAEG;AACH,MAAM,WAAW,eAAe;IAC9B,iCAAiC;IACjC,MAAM,EAAE,SAAS,EAAE,CAAC;IACpB,oBAAoB;IACpB,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * Task interface for DailyMilestones
3
+ */
4
+ export interface Task {
5
+ /** Unique identifier for the task */
6
+ id: string;
7
+ /** English title of the task */
8
+ titleEn: string;
9
+ /** Chinese title of the task */
10
+ titleZh: string;
11
+ /** Whether the task is completed */
12
+ isCompleted: boolean;
13
+ }
14
+ /**
15
+ * Props for DailyMilestones component
16
+ */
17
+ export interface DailyMilestonesProps {
18
+ /** Current XP earned */
19
+ currentXP: number;
20
+ /** Target XP to achieve */
21
+ targetXP: number;
22
+ /** List of daily tasks */
23
+ tasks: Task[];
24
+ /** Callback when a task is toggled (only called for incomplete tasks) */
25
+ onTaskToggle?: (taskId: string, isCompleted: boolean) => void;
26
+ /** Additional CSS class names */
27
+ className?: string;
28
+ }
29
+ /**
30
+ * DailyMilestones - A template component combining RadialProgress and TaskCheckbox
31
+ * for displaying today's goals with XP progress tracking.
32
+ *
33
+ * @example
34
+ * ```tsx
35
+ * <DailyMilestones
36
+ * currentXP={80}
37
+ * targetXP={100}
38
+ * tasks={[
39
+ * { id: '1', titleEn: 'Complete 5 problems', titleZh: '完成5道题', isCompleted: false },
40
+ * ]}
41
+ * onTaskToggle={(id, completed) => console.log(id, completed)}
42
+ * />
43
+ * ```
44
+ */
45
+ export declare const DailyMilestones: React.FC<DailyMilestonesProps>;
46
+ //# sourceMappingURL=DailyMilestones.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"DailyMilestones.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/DailyMilestones/DailyMilestones.tsx"],"names":[],"mappings":"AAIA;;GAEG;AACH,MAAM,WAAW,IAAI;IACnB,qCAAqC;IACrC,EAAE,EAAE,MAAM,CAAC;IACX,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,gCAAgC;IAChC,OAAO,EAAE,MAAM,CAAC;IAChB,oCAAoC;IACpC,WAAW,EAAE,OAAO,CAAC;CACtB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,wBAAwB;IACxB,SAAS,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,QAAQ,EAAE,MAAM,CAAC;IACjB,0BAA0B;IAC1B,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,yEAAyE;IACzE,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,WAAW,EAAE,OAAO,KAAK,IAAI,CAAC;IAC9D,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;;;;;;;;;;GAeG;AACH,eAAO,MAAM,eAAe,EAAE,KAAK,CAAC,EAAE,CAAC,oBAAoB,CAqE1D,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { DailyMilestones } from './DailyMilestones';
2
+ export type { DailyMilestonesProps, Task } from './DailyMilestones';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/DailyMilestones/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,IAAI,EAAE,MAAM,mBAAmB,CAAC"}
@@ -0,0 +1,13 @@
1
+ export interface Task {
2
+ id: string;
3
+ title: string;
4
+ completed: boolean;
5
+ xp: number;
6
+ }
7
+ export interface DailyMilestonesProps {
8
+ currentXP: number;
9
+ targetXP: number;
10
+ tasks: Task[];
11
+ onTaskToggle?: (taskId: string, completed: boolean) => void;
12
+ }
13
+ //# sourceMappingURL=types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/DailyMilestones/types.ts"],"names":[],"mappings":"AAAA,MAAM,WAAW,IAAI;IACnB,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,OAAO,CAAC;IACnB,EAAE,EAAE,MAAM,CAAC;CACZ;AAED,MAAM,WAAW,oBAAoB;IACnC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,KAAK,EAAE,IAAI,EAAE,CAAC;IACd,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC7D"}
@@ -0,0 +1,4 @@
1
+ import type { LearningPathwayProps } from './LearningPathway.types';
2
+ export declare function LearningPathway({ activeTab, lessons, title, onTabChange, onLessonAction, currentLessonId, isLoading, emptyState, className, }: LearningPathwayProps): import("react/jsx-runtime").JSX.Element;
3
+ export default LearningPathway;
4
+ //# sourceMappingURL=LearningPathway.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LearningPathway.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/LearningPathway/LearningPathway.tsx"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,oBAAoB,EAAiB,MAAM,yBAAyB,CAAC;AAEnF,wBAAgB,eAAe,CAAC,EAC9B,SAAS,EACT,OAAO,EACP,KAA2B,EAC3B,WAAW,EACX,cAAc,EACd,eAAe,EACf,SAAiB,EACjB,UAAU,EACV,SAAc,GACf,EAAE,oBAAoB,2CAyGtB;AAED,eAAe,eAAe,CAAC"}
@@ -0,0 +1,46 @@
1
+ /**
2
+ * LearningPathway component types
3
+ * Template component combining SegmentedTabs and PathwayNode for learning path panel
4
+ */
5
+ import type { ReactNode } from 'react';
6
+ /**
7
+ * Represents a single lesson in the learning pathway
8
+ */
9
+ export interface PathwayLesson {
10
+ /** Unique identifier for the lesson */
11
+ id: string;
12
+ /** Title of the lesson */
13
+ title: string;
14
+ /** Optional subtitle or description */
15
+ subtitle?: string;
16
+ /** Status of the lesson */
17
+ status: 'completed' | 'current' | 'locked';
18
+ /** Progress percentage (0-100), only applicable for current status */
19
+ progress?: number;
20
+ /** Avatar image source, only applicable for current status */
21
+ avatarSrc?: string;
22
+ }
23
+ /**
24
+ * Props for the LearningPathway component
25
+ */
26
+ export interface LearningPathwayProps {
27
+ /** Currently active tab */
28
+ activeTab: 'curriculum' | 'skillTree';
29
+ /** Callback when tab selection changes */
30
+ onTabChange?: (tab: string) => void;
31
+ /** Array of lessons to display */
32
+ lessons: PathwayLesson[];
33
+ /** ID of the current lesson to highlight */
34
+ currentLessonId?: string;
35
+ /** Callback when a lesson action is triggered */
36
+ onLessonAction?: (lessonId: string) => void;
37
+ /** Additional CSS class names */
38
+ className?: string;
39
+ /** Title of the panel (default: "Learning Pathways") */
40
+ title?: string;
41
+ /** Whether the component is in loading state */
42
+ isLoading?: boolean;
43
+ /** Custom empty state content */
44
+ emptyState?: ReactNode;
45
+ }
46
+ //# sourceMappingURL=LearningPathway.types.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"LearningPathway.types.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/LearningPathway/LearningPathway.types.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAEH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC;;GAEG;AACH,MAAM,WAAW,aAAa;IAC5B,uCAAuC;IACvC,EAAE,EAAE,MAAM,CAAC;IACX,0BAA0B;IAC1B,KAAK,EAAE,MAAM,CAAC;IACd,uCAAuC;IACvC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,2BAA2B;IAC3B,MAAM,EAAE,WAAW,GAAG,SAAS,GAAG,QAAQ,CAAC;IAC3C,sEAAsE;IACtE,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,8DAA8D;IAC9D,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;GAEG;AACH,MAAM,WAAW,oBAAoB;IACnC,2BAA2B;IAC3B,SAAS,EAAE,YAAY,GAAG,WAAW,CAAC;IACtC,0CAA0C;IAC1C,WAAW,CAAC,EAAE,CAAC,GAAG,EAAE,MAAM,KAAK,IAAI,CAAC;IACpC,kCAAkC;IAClC,OAAO,EAAE,aAAa,EAAE,CAAC;IACzB,4CAA4C;IAC5C,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,iDAAiD;IACjD,cAAc,CAAC,EAAE,CAAC,QAAQ,EAAE,MAAM,KAAK,IAAI,CAAC;IAC5C,iCAAiC;IACjC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,gDAAgD;IAChD,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iCAAiC;IACjC,UAAU,CAAC,EAAE,SAAS,CAAC;CACxB"}
@@ -0,0 +1,6 @@
1
+ /**
2
+ * LearningPathway component exports
3
+ */
4
+ export { LearningPathway } from './LearningPathway';
5
+ export type { LearningPathwayProps, PathwayLesson } from './LearningPathway.types';
6
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/dashboard/templates/LearningPathway/index.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,OAAO,EAAE,eAAe,EAAE,MAAM,mBAAmB,CAAC;AACpD,YAAY,EAAE,oBAAoB,EAAE,aAAa,EAAE,MAAM,yBAAyB,CAAC"}