@lssm/example.learning-journey-ui-gamified 0.0.0-canary-20251212224228 → 0.0.0-canary-20251213172311
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/.turbo/turbo-build.log +13 -13
- package/CHANGELOG.md +7 -7
- package/README.md +1 -2
- package/dist/{index-Bi5V3Ihq.d.mts → index-X03x0lCK.d.mts} +5 -5
- package/dist/index.d.mts +35 -4
- package/dist/index.mjs +684 -1
- package/dist/views/index.d.mts +1 -1
- package/example.ts +1 -0
- package/package.json +7 -3
- package/src/GamifiedMiniApp.tsx +0 -1
- package/src/components/DayCalendar.tsx +0 -1
- package/src/components/FlashCard.tsx +0 -1
- package/src/components/MasteryRing.tsx +0 -1
- package/src/components/index.ts +0 -1
- package/src/docs/index.ts +3 -0
- package/src/docs/learning-journey-ui-gamified.docblock.ts +20 -0
- package/src/example.ts +25 -0
- package/src/index.ts +2 -1
- package/src/views/Overview.tsx +0 -1
- package/src/views/Progress.tsx +1 -2
- package/src/views/Steps.tsx +0 -1
- package/src/views/Timeline.tsx +0 -1
- package/src/views/index.ts +0 -1
- package/tsconfig.tsbuildinfo +1 -1
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,17 +6,17 @@ $ tsdown
|
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
9
|
-
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [
|
|
10
|
-
[34mℹ[39m [2mdist/[22m[1mcomponents/index.mjs[22m [2m
|
|
11
|
-
[34mℹ[39m [2mdist/[22m[1mviews/index.mjs[22m [2m
|
|
12
|
-
[34mℹ[39m [2mdist/[22mviews-B-DapxWu.mjs [
|
|
13
|
-
[34mℹ[39m [2mdist/[22mDayCalendar-Cha869Bi.mjs [2m
|
|
14
|
-
[34mℹ[39m [2mdist/[22mcomponents-kh0CpIG2.mjs [2m
|
|
15
|
-
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m
|
|
16
|
-
[34mℹ[39m [2mdist/[22m[32m[1mviews/index.d.mts[22m[39m [2m
|
|
17
|
-
[34mℹ[39m [2mdist/[22m[32m[1mcomponents/index.d.mts[22m[39m [2m
|
|
18
|
-
[34mℹ[39m [2mdist/[22m[32mindex-CcWC6Zo9.d.mts[39m [2m
|
|
19
|
-
[34mℹ[39m [2mdist/[22m[32mindex-
|
|
20
|
-
[34mℹ[39m 11 files, total:
|
|
21
|
-
[32m✔[39m Build complete in [
|
|
9
|
+
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m100.08 kB[22m [2m│ gzip: 34.08 kB[22m
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mcomponents/index.mjs[22m [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mviews/index.mjs[22m [2m 0.18 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
12
|
+
[34mℹ[39m [2mdist/[22mviews-B-DapxWu.mjs [2m 18.35 kB[22m [2m│ gzip: 3.52 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22mDayCalendar-Cha869Bi.mjs [2m 6.20 kB[22m [2m│ gzip: 1.87 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22mcomponents-kh0CpIG2.mjs [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m 1.74 kB[22m [2m│ gzip: 0.71 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[32m[1mviews/index.d.mts[22m[39m [2m 0.14 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[32m[1mcomponents/index.d.mts[22m[39m [2m 0.14 kB[22m [2m│ gzip: 0.12 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22m[32mindex-CcWC6Zo9.d.mts[39m [2m 1.13 kB[22m [2m│ gzip: 0.47 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22m[32mindex-X03x0lCK.d.mts[39m [2m 0.92 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
20
|
+
[34mℹ[39m 11 files, total: 129.09 kB
|
|
21
|
+
[32m✔[39m Build complete in [32m8323ms[39m
|
|
22
22
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @lssm/example.learning-journey-ui-gamified
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251213172311
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies [3086383]
|
|
8
|
-
- @lssm/lib.design-system@0.0.0-canary-
|
|
9
|
-
- @lssm/lib.ui-kit-web@0.0.0-canary-
|
|
10
|
-
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-
|
|
11
|
-
- @lssm/example.learning-journey
|
|
12
|
-
- @lssm/example.learning-journey
|
|
13
|
-
- @lssm/module.learning-journey@0.0.0-canary-
|
|
8
|
+
- @lssm/lib.design-system@0.0.0-canary-20251213172311
|
|
9
|
+
- @lssm/lib.ui-kit-web@0.0.0-canary-20251213172311
|
|
10
|
+
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-20251213172311
|
|
11
|
+
- @lssm/example.learning-journey-duo-drills@0.0.0-canary-20251213172311
|
|
12
|
+
- @lssm/example.learning-journey-quest-challenges@0.0.0-canary-20251213172311
|
|
13
|
+
- @lssm/module.learning-journey@0.0.0-canary-20251213172311
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Duolingo-style gamified learning UI for drills and quests.
|
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
15
|
import { GamifiedMiniApp } from '@lssm/example.learning-journey-ui-gamified';
|
|
16
|
-
import { drillsLanguageBasicsTrack } from '@lssm/example.learning-journey
|
|
16
|
+
import { drillsLanguageBasicsTrack } from '@lssm/example.learning-journey-duo-drills/track';
|
|
17
17
|
|
|
18
18
|
function MyApp() {
|
|
19
19
|
return (
|
|
@@ -27,4 +27,3 @@ function MyApp() {
|
|
|
27
27
|
- **FlashCard** - Tappable card that reveals action on flip
|
|
28
28
|
- **MasteryRing** - Circular progress indicator
|
|
29
29
|
- **DayCalendar** - 7-day grid for quest progress
|
|
30
|
-
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { LearningViewProps } from "@lssm/example.learning-journey-ui-shared";
|
|
2
|
-
import * as
|
|
2
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
3
3
|
|
|
4
4
|
//#region src/views/Overview.d.ts
|
|
5
5
|
interface GamifiedOverviewProps extends LearningViewProps {
|
|
@@ -9,25 +9,25 @@ declare function Overview({
|
|
|
9
9
|
track,
|
|
10
10
|
progress,
|
|
11
11
|
onStart
|
|
12
|
-
}: GamifiedOverviewProps):
|
|
12
|
+
}: GamifiedOverviewProps): react_jsx_runtime0.JSX.Element;
|
|
13
13
|
//#endregion
|
|
14
14
|
//#region src/views/Steps.d.ts
|
|
15
15
|
declare function Steps({
|
|
16
16
|
track,
|
|
17
17
|
progress,
|
|
18
18
|
onStepComplete
|
|
19
|
-
}: LearningViewProps):
|
|
19
|
+
}: LearningViewProps): react_jsx_runtime0.JSX.Element;
|
|
20
20
|
//#endregion
|
|
21
21
|
//#region src/views/Progress.d.ts
|
|
22
22
|
declare function Progress({
|
|
23
23
|
track,
|
|
24
24
|
progress
|
|
25
|
-
}: LearningViewProps):
|
|
25
|
+
}: LearningViewProps): react_jsx_runtime0.JSX.Element;
|
|
26
26
|
//#endregion
|
|
27
27
|
//#region src/views/Timeline.d.ts
|
|
28
28
|
declare function Timeline({
|
|
29
29
|
track,
|
|
30
30
|
progress
|
|
31
|
-
}: LearningViewProps):
|
|
31
|
+
}: LearningViewProps): react_jsx_runtime0.JSX.Element;
|
|
32
32
|
//#endregion
|
|
33
33
|
export { Overview as i, Progress as n, Steps as r, Timeline as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as MasteryRing, r as FlashCard, t as DayCalendar } from "./index-CcWC6Zo9.mjs";
|
|
2
|
-
import { i as Overview, n as Progress, r as Steps, t as Timeline } from "./index-
|
|
2
|
+
import { i as Overview, n as Progress, r as Steps, t as Timeline } from "./index-X03x0lCK.mjs";
|
|
3
3
|
import { LearningMiniAppProps } from "@lssm/example.learning-journey-ui-shared";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime6 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/GamifiedMiniApp.d.ts
|
|
7
7
|
type GamifiedMiniAppProps = Omit<LearningMiniAppProps, 'progress'> & {
|
|
@@ -13,6 +13,37 @@ declare function GamifiedMiniApp({
|
|
|
13
13
|
onStepComplete: externalOnStepComplete,
|
|
14
14
|
onViewChange,
|
|
15
15
|
initialView
|
|
16
|
-
}: GamifiedMiniAppProps):
|
|
16
|
+
}: GamifiedMiniAppProps): react_jsx_runtime6.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
|
|
18
|
+
//#region src/example.d.ts
|
|
19
|
+
declare const example: {
|
|
20
|
+
readonly id: "learning-journey-ui-gamified";
|
|
21
|
+
readonly title: "Learning Journey UI — Gamified";
|
|
22
|
+
readonly summary: "UI mini-app for gamified learning: flashcards, mastery ring, calendar.";
|
|
23
|
+
readonly tags: readonly ["learning", "ui", "gamified"];
|
|
24
|
+
readonly kind: "ui";
|
|
25
|
+
readonly visibility: "public";
|
|
26
|
+
readonly docs: {
|
|
27
|
+
readonly rootDocId: "docs.examples.learning-journey-ui-gamified";
|
|
28
|
+
};
|
|
29
|
+
readonly entrypoints: {
|
|
30
|
+
readonly packageName: "@lssm/example.learning-journey-ui-gamified";
|
|
31
|
+
readonly docs: "./docs";
|
|
32
|
+
};
|
|
33
|
+
readonly surfaces: {
|
|
34
|
+
readonly templates: true;
|
|
35
|
+
readonly sandbox: {
|
|
36
|
+
readonly enabled: true;
|
|
37
|
+
readonly modes: readonly ["playground", "markdown"];
|
|
38
|
+
};
|
|
39
|
+
readonly studio: {
|
|
40
|
+
readonly enabled: true;
|
|
41
|
+
readonly installable: true;
|
|
42
|
+
};
|
|
43
|
+
readonly mcp: {
|
|
44
|
+
readonly enabled: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { DayCalendar, FlashCard, GamifiedMiniApp, MasteryRing, Overview, Progress, Steps, Timeline, example };
|