@contractspec/example.learning-journey-ui-gamified 0.0.0-canary-20260113170453

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 (71) hide show
  1. package/.turbo/turbo-build$colon$bundle.log +57 -0
  2. package/.turbo/turbo-build.log +58 -0
  3. package/CHANGELOG.md +466 -0
  4. package/LICENSE +21 -0
  5. package/README.md +32 -0
  6. package/dist/GamifiedMiniApp.d.ts +17 -0
  7. package/dist/GamifiedMiniApp.d.ts.map +1 -0
  8. package/dist/GamifiedMiniApp.js +63 -0
  9. package/dist/GamifiedMiniApp.js.map +1 -0
  10. package/dist/components/DayCalendar.d.ts +16 -0
  11. package/dist/components/DayCalendar.d.ts.map +1 -0
  12. package/dist/components/DayCalendar.js +33 -0
  13. package/dist/components/DayCalendar.js.map +1 -0
  14. package/dist/components/FlashCard.d.ts +19 -0
  15. package/dist/components/FlashCard.d.ts.map +1 -0
  16. package/dist/components/FlashCard.js +80 -0
  17. package/dist/components/FlashCard.js.map +1 -0
  18. package/dist/components/MasteryRing.d.ts +18 -0
  19. package/dist/components/MasteryRing.d.ts.map +1 -0
  20. package/dist/components/MasteryRing.js +82 -0
  21. package/dist/components/MasteryRing.js.map +1 -0
  22. package/dist/components/index.d.ts +4 -0
  23. package/dist/components/index.js +5 -0
  24. package/dist/docs/index.d.ts +1 -0
  25. package/dist/docs/index.js +1 -0
  26. package/dist/docs/learning-journey-ui-gamified.docblock.d.ts +1 -0
  27. package/dist/docs/learning-journey-ui-gamified.docblock.js +20 -0
  28. package/dist/docs/learning-journey-ui-gamified.docblock.js.map +1 -0
  29. package/dist/example.d.ts +7 -0
  30. package/dist/example.d.ts.map +1 -0
  31. package/dist/example.js +42 -0
  32. package/dist/example.js.map +1 -0
  33. package/dist/index.d.ts +12 -0
  34. package/dist/index.js +14 -0
  35. package/dist/views/Overview.d.ts +15 -0
  36. package/dist/views/Overview.d.ts.map +1 -0
  37. package/dist/views/Overview.js +161 -0
  38. package/dist/views/Overview.js.map +1 -0
  39. package/dist/views/Progress.d.ts +11 -0
  40. package/dist/views/Progress.d.ts.map +1 -0
  41. package/dist/views/Progress.js +143 -0
  42. package/dist/views/Progress.js.map +1 -0
  43. package/dist/views/Steps.d.ts +12 -0
  44. package/dist/views/Steps.d.ts.map +1 -0
  45. package/dist/views/Steps.js +56 -0
  46. package/dist/views/Steps.js.map +1 -0
  47. package/dist/views/Timeline.d.ts +11 -0
  48. package/dist/views/Timeline.d.ts.map +1 -0
  49. package/dist/views/Timeline.js +133 -0
  50. package/dist/views/Timeline.js.map +1 -0
  51. package/dist/views/index.d.ts +5 -0
  52. package/dist/views/index.js +6 -0
  53. package/example.ts +1 -0
  54. package/package.json +76 -0
  55. package/src/GamifiedMiniApp.tsx +93 -0
  56. package/src/components/DayCalendar.tsx +53 -0
  57. package/src/components/FlashCard.tsx +100 -0
  58. package/src/components/MasteryRing.tsx +81 -0
  59. package/src/components/index.ts +3 -0
  60. package/src/docs/index.ts +1 -0
  61. package/src/docs/learning-journey-ui-gamified.docblock.ts +18 -0
  62. package/src/example.ts +31 -0
  63. package/src/index.ts +10 -0
  64. package/src/views/Overview.tsx +164 -0
  65. package/src/views/Progress.tsx +183 -0
  66. package/src/views/Steps.tsx +50 -0
  67. package/src/views/Timeline.tsx +197 -0
  68. package/src/views/index.ts +4 -0
  69. package/tsconfig.json +10 -0
  70. package/tsconfig.tsbuildinfo +1 -0
  71. package/tsdown.config.js +17 -0
@@ -0,0 +1,57 @@
1
+ $ tsdown
2
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
3
+ ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-gamified/tsdown.config.js
4
+ ℹ entry: src/GamifiedMiniApp.tsx, src/example.ts, src/index.ts, src/components/DayCalendar.tsx, src/components/FlashCard.tsx, src/components/MasteryRing.tsx, src/components/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-gamified.docblock.ts, src/views/Overview.tsx, src/views/Progress.tsx, src/views/Steps.tsx, src/views/Timeline.tsx, src/views/index.ts
5
+ ℹ target: esnext
6
+ ℹ tsconfig: tsconfig.json
7
+ ℹ Build start
8
+ ℹ Cleaning 50 files
9
+ ℹ dist/views/Overview.js 6.10 kB │ gzip: 1.61 kB
10
+ ℹ dist/views/Timeline.js 5.75 kB │ gzip: 1.45 kB
11
+ ℹ dist/views/Progress.js 5.62 kB │ gzip: 1.57 kB
12
+ ℹ dist/components/FlashCard.js 2.94 kB │ gzip: 1.03 kB
13
+ ℹ dist/GamifiedMiniApp.js 2.32 kB │ gzip: 0.79 kB
14
+ ℹ dist/components/MasteryRing.js 2.15 kB │ gzip: 0.88 kB
15
+ ℹ dist/views/Steps.js 1.63 kB │ gzip: 0.68 kB
16
+ ℹ dist/components/DayCalendar.js 1.51 kB │ gzip: 0.68 kB
17
+ ℹ dist/example.js 0.96 kB │ gzip: 0.52 kB
18
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.js 0.83 kB │ gzip: 0.47 kB
19
+ ℹ dist/index.js 0.67 kB │ gzip: 0.24 kB
20
+ ℹ dist/views/index.js 0.21 kB │ gzip: 0.11 kB
21
+ ℹ dist/components/index.js 0.19 kB │ gzip: 0.11 kB
22
+ ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
23
+ ℹ dist/views/Timeline.js.map 9.32 kB │ gzip: 2.53 kB
24
+ ℹ dist/views/Progress.js.map 8.35 kB │ gzip: 2.53 kB
25
+ ℹ dist/views/Overview.js.map 7.85 kB │ gzip: 2.37 kB
26
+ ℹ dist/components/FlashCard.js.map 4.21 kB │ gzip: 1.56 kB
27
+ ℹ dist/GamifiedMiniApp.js.map 3.62 kB │ gzip: 1.30 kB
28
+ ℹ dist/components/MasteryRing.js.map 3.43 kB │ gzip: 1.34 kB
29
+ ℹ dist/views/Steps.js.map 2.36 kB │ gzip: 1.04 kB
30
+ ℹ dist/components/DayCalendar.js.map 2.28 kB │ gzip: 0.99 kB
31
+ ℹ dist/example.js.map 1.39 kB │ gzip: 0.71 kB
32
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.js.map 1.17 kB │ gzip: 0.63 kB
33
+ ℹ dist/components/MasteryRing.d.ts.map 0.37 kB │ gzip: 0.23 kB
34
+ ℹ dist/components/FlashCard.d.ts.map 0.32 kB │ gzip: 0.21 kB
35
+ ℹ dist/GamifiedMiniApp.d.ts.map 0.31 kB │ gzip: 0.22 kB
36
+ ℹ dist/components/DayCalendar.d.ts.map 0.29 kB │ gzip: 0.20 kB
37
+ ℹ dist/views/Overview.d.ts.map 0.26 kB │ gzip: 0.19 kB
38
+ ℹ dist/views/Progress.d.ts.map 0.17 kB │ gzip: 0.15 kB
39
+ ℹ dist/views/Timeline.d.ts.map 0.17 kB │ gzip: 0.15 kB
40
+ ℹ dist/views/Steps.d.ts.map 0.17 kB │ gzip: 0.15 kB
41
+ ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
42
+ ℹ dist/index.d.ts 0.62 kB │ gzip: 0.22 kB
43
+ ℹ dist/GamifiedMiniApp.d.ts 0.59 kB │ gzip: 0.33 kB
44
+ ℹ dist/components/FlashCard.d.ts 0.53 kB │ gzip: 0.31 kB
45
+ ℹ dist/views/Overview.d.ts 0.45 kB │ gzip: 0.29 kB
46
+ ℹ dist/components/MasteryRing.d.ts 0.45 kB │ gzip: 0.28 kB
47
+ ℹ dist/components/DayCalendar.d.ts 0.41 kB │ gzip: 0.24 kB
48
+ ℹ dist/views/Steps.d.ts 0.36 kB │ gzip: 0.25 kB
49
+ ℹ dist/views/Progress.d.ts 0.35 kB │ gzip: 0.24 kB
50
+ ℹ dist/views/Timeline.d.ts 0.35 kB │ gzip: 0.24 kB
51
+ ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
52
+ ℹ dist/views/index.d.ts 0.21 kB │ gzip: 0.11 kB
53
+ ℹ dist/components/index.d.ts 0.19 kB │ gzip: 0.11 kB
54
+ ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
55
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
56
+ ℹ 47 files, total: 81.90 kB
57
+ ✔ Build complete in 20044ms
@@ -0,0 +1,58 @@
1
+ $ bun build:types && bun build:bundle
2
+ $ tsc --noEmit
3
+ $ tsdown
4
+ ℹ tsdown v0.19.0 powered by rolldown v1.0.0-beta.59
5
+ ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-gamified/tsdown.config.js
6
+ ℹ entry: src/GamifiedMiniApp.tsx, src/example.ts, src/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-gamified.docblock.ts, src/views/Overview.tsx, src/views/Progress.tsx, src/views/Steps.tsx, src/views/Timeline.tsx, src/views/index.ts, src/components/DayCalendar.tsx, src/components/FlashCard.tsx, src/components/MasteryRing.tsx, src/components/index.ts
7
+ ℹ target: esnext
8
+ ℹ tsconfig: tsconfig.json
9
+ ℹ Build start
10
+ ℹ dist/views/Overview.js 6.10 kB │ gzip: 1.61 kB
11
+ ℹ dist/views/Timeline.js 5.75 kB │ gzip: 1.45 kB
12
+ ℹ dist/views/Progress.js 5.62 kB │ gzip: 1.57 kB
13
+ ℹ dist/components/FlashCard.js 2.94 kB │ gzip: 1.03 kB
14
+ ℹ dist/GamifiedMiniApp.js 2.32 kB │ gzip: 0.79 kB
15
+ ℹ dist/components/MasteryRing.js 2.15 kB │ gzip: 0.88 kB
16
+ ℹ dist/views/Steps.js 1.63 kB │ gzip: 0.68 kB
17
+ ℹ dist/components/DayCalendar.js 1.51 kB │ gzip: 0.68 kB
18
+ ℹ dist/example.js 0.96 kB │ gzip: 0.52 kB
19
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.js 0.83 kB │ gzip: 0.47 kB
20
+ ℹ dist/index.js 0.67 kB │ gzip: 0.24 kB
21
+ ℹ dist/views/index.js 0.21 kB │ gzip: 0.11 kB
22
+ ℹ dist/components/index.js 0.19 kB │ gzip: 0.11 kB
23
+ ℹ dist/docs/index.js 0.05 kB │ gzip: 0.07 kB
24
+ ℹ dist/views/Timeline.js.map 9.32 kB │ gzip: 2.53 kB
25
+ ℹ dist/views/Progress.js.map 8.35 kB │ gzip: 2.53 kB
26
+ ℹ dist/views/Overview.js.map 7.85 kB │ gzip: 2.37 kB
27
+ ℹ dist/components/FlashCard.js.map 4.21 kB │ gzip: 1.56 kB
28
+ ℹ dist/GamifiedMiniApp.js.map 3.62 kB │ gzip: 1.30 kB
29
+ ℹ dist/components/MasteryRing.js.map 3.43 kB │ gzip: 1.34 kB
30
+ ℹ dist/views/Steps.js.map 2.36 kB │ gzip: 1.04 kB
31
+ ℹ dist/components/DayCalendar.js.map 2.28 kB │ gzip: 0.99 kB
32
+ ℹ dist/example.js.map 1.39 kB │ gzip: 0.71 kB
33
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.js.map 1.17 kB │ gzip: 0.63 kB
34
+ ℹ dist/components/MasteryRing.d.ts.map 0.37 kB │ gzip: 0.23 kB
35
+ ℹ dist/components/FlashCard.d.ts.map 0.32 kB │ gzip: 0.21 kB
36
+ ℹ dist/GamifiedMiniApp.d.ts.map 0.31 kB │ gzip: 0.22 kB
37
+ ℹ dist/components/DayCalendar.d.ts.map 0.29 kB │ gzip: 0.20 kB
38
+ ℹ dist/views/Overview.d.ts.map 0.26 kB │ gzip: 0.19 kB
39
+ ℹ dist/views/Progress.d.ts.map 0.17 kB │ gzip: 0.15 kB
40
+ ℹ dist/views/Timeline.d.ts.map 0.17 kB │ gzip: 0.15 kB
41
+ ℹ dist/views/Steps.d.ts.map 0.17 kB │ gzip: 0.15 kB
42
+ ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
43
+ ℹ dist/index.d.ts 0.62 kB │ gzip: 0.22 kB
44
+ ℹ dist/GamifiedMiniApp.d.ts 0.59 kB │ gzip: 0.33 kB
45
+ ℹ dist/components/FlashCard.d.ts 0.53 kB │ gzip: 0.31 kB
46
+ ℹ dist/views/Overview.d.ts 0.45 kB │ gzip: 0.29 kB
47
+ ℹ dist/components/MasteryRing.d.ts 0.45 kB │ gzip: 0.28 kB
48
+ ℹ dist/components/DayCalendar.d.ts 0.41 kB │ gzip: 0.25 kB
49
+ ℹ dist/views/Steps.d.ts 0.36 kB │ gzip: 0.25 kB
50
+ ℹ dist/views/Progress.d.ts 0.35 kB │ gzip: 0.24 kB
51
+ ℹ dist/views/Timeline.d.ts 0.35 kB │ gzip: 0.24 kB
52
+ ℹ dist/example.d.ts 0.25 kB │ gzip: 0.17 kB
53
+ ℹ dist/views/index.d.ts 0.21 kB │ gzip: 0.11 kB
54
+ ℹ dist/components/index.d.ts 0.19 kB │ gzip: 0.11 kB
55
+ ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
56
+ ℹ dist/docs/learning-journey-ui-gamified.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
57
+ ℹ 47 files, total: 81.90 kB
58
+ ✔ Build complete in 8809ms
package/CHANGELOG.md ADDED
@@ -0,0 +1,466 @@
1
+ # @contractspec/example.learning-journey-ui-gamified
2
+
3
+ ## 0.0.0-canary-20260113170453
4
+
5
+ ### Minor Changes
6
+
7
+ - caf8701: feat: add cli vibe command to run workflow
8
+ - c69b849: feat: add api web services (mcp & website)
9
+ - 42b8d78: feat: add cli `contractspec vibe` workflow to simplify usage
10
+ - fd38e85: feat: auto-fix contractspec issues
11
+
12
+ ### Patch Changes
13
+
14
+ - e7ded36: feat: improve stability (adding ts-morph)
15
+ - c231a8b: test: improve workspace stability
16
+ - Updated dependencies [e7ded36]
17
+ - Updated dependencies [caf8701]
18
+ - Updated dependencies [c69b849]
19
+ - Updated dependencies [c231a8b]
20
+ - Updated dependencies [42b8d78]
21
+ - Updated dependencies [fd38e85]
22
+ - @contractspec/example.learning-journey-quest-challenges@0.0.0-canary-20260113170453
23
+ - @contractspec/example.learning-journey-duo-drills@0.0.0-canary-20260113170453
24
+ - @contractspec/example.learning-journey-ui-shared@0.0.0-canary-20260113170453
25
+ - @contractspec/module.learning-journey@0.0.0-canary-20260113170453
26
+ - @contractspec/lib.design-system@0.0.0-canary-20260113170453
27
+ - @contractspec/lib.ui-kit-web@0.0.0-canary-20260113170453
28
+ - @contractspec/lib.contracts@0.0.0-canary-20260113170453
29
+
30
+ ## 1.46.2
31
+
32
+ ### Patch Changes
33
+
34
+ - 7e21625: feat: library services (landing page & api)
35
+ - Updated dependencies [7e21625]
36
+ - @contractspec/example.learning-journey-quest-challenges@1.46.2
37
+ - @contractspec/example.learning-journey-duo-drills@1.46.2
38
+ - @contractspec/example.learning-journey-ui-shared@1.46.2
39
+ - @contractspec/module.learning-journey@1.46.2
40
+ - @contractspec/lib.design-system@1.46.2
41
+ - @contractspec/lib.ui-kit-web@1.46.2
42
+ - @contractspec/lib.contracts@1.46.2
43
+
44
+ ## 1.46.1
45
+
46
+ ### Patch Changes
47
+
48
+ - 2d8a72b: fix: mcp for presentation
49
+ - Updated dependencies [2d8a72b]
50
+ - @contractspec/example.learning-journey-quest-challenges@1.46.1
51
+ - @contractspec/example.learning-journey-duo-drills@1.46.1
52
+ - @contractspec/example.learning-journey-ui-shared@1.46.1
53
+ - @contractspec/module.learning-journey@1.46.1
54
+ - @contractspec/lib.design-system@1.46.1
55
+ - @contractspec/lib.ui-kit-web@1.46.1
56
+ - @contractspec/lib.contracts@1.46.1
57
+
58
+ ## 1.46.0
59
+
60
+ ### Minor Changes
61
+
62
+ - 07cb19b: feat: feat: cleaude code & opencode integrations
63
+
64
+ ### Patch Changes
65
+
66
+ - Updated dependencies [07cb19b]
67
+ - @contractspec/example.learning-journey-quest-challenges@1.46.0
68
+ - @contractspec/example.learning-journey-duo-drills@1.46.0
69
+ - @contractspec/example.learning-journey-ui-shared@1.46.0
70
+ - @contractspec/module.learning-journey@1.46.0
71
+ - @contractspec/lib.design-system@1.46.0
72
+ - @contractspec/lib.ui-kit-web@1.46.0
73
+ - @contractspec/lib.contracts@1.46.0
74
+
75
+ ## 1.45.6
76
+
77
+ ### Patch Changes
78
+
79
+ - a913074: feat: improve ai agents rules management"
80
+ - Updated dependencies [a913074]
81
+ - @contractspec/example.learning-journey-quest-challenges@1.45.6
82
+ - @contractspec/example.learning-journey-duo-drills@1.45.6
83
+ - @contractspec/example.learning-journey-ui-shared@1.45.6
84
+ - @contractspec/module.learning-journey@1.45.6
85
+ - @contractspec/lib.design-system@1.45.6
86
+ - @contractspec/lib.ui-kit-web@1.45.6
87
+ - @contractspec/lib.contracts@1.45.6
88
+
89
+ ## 1.45.5
90
+
91
+ ### Patch Changes
92
+
93
+ - 9ddd7fa: feat: improve versioning
94
+ - Updated dependencies [9ddd7fa]
95
+ - @contractspec/example.learning-journey-quest-challenges@1.45.5
96
+ - @contractspec/example.learning-journey-duo-drills@1.45.5
97
+ - @contractspec/example.learning-journey-ui-shared@1.45.5
98
+ - @contractspec/module.learning-journey@1.45.5
99
+ - @contractspec/lib.design-system@1.45.5
100
+ - @contractspec/lib.ui-kit-web@1.45.5
101
+ - @contractspec/lib.contracts@1.45.5
102
+
103
+ ## 1.45.4
104
+
105
+ ### Patch Changes
106
+
107
+ - fix: github action
108
+ - Updated dependencies
109
+ - @contractspec/example.learning-journey-quest-challenges@1.45.4
110
+ - @contractspec/example.learning-journey-duo-drills@1.45.4
111
+ - @contractspec/example.learning-journey-ui-shared@1.45.4
112
+ - @contractspec/module.learning-journey@1.45.4
113
+ - @contractspec/lib.design-system@1.45.4
114
+ - @contractspec/lib.ui-kit-web@1.45.4
115
+ - @contractspec/lib.contracts@1.45.4
116
+
117
+ ## 1.45.3
118
+
119
+ ### Patch Changes
120
+
121
+ - e74ea9e: feat: version management
122
+ - Updated dependencies [e74ea9e]
123
+ - @contractspec/example.learning-journey-quest-challenges@1.45.3
124
+ - @contractspec/example.learning-journey-duo-drills@1.45.3
125
+ - @contractspec/example.learning-journey-ui-shared@1.45.3
126
+ - @contractspec/module.learning-journey@1.45.3
127
+ - @contractspec/lib.design-system@1.45.3
128
+ - @contractspec/lib.ui-kit-web@1.45.3
129
+ - @contractspec/lib.contracts@1.45.3
130
+
131
+ ## 1.45.2
132
+
133
+ ### Patch Changes
134
+
135
+ - 39ca241: code cleaning
136
+ - Updated dependencies [39ca241]
137
+ - @contractspec/example.learning-journey-quest-challenges@1.45.2
138
+ - @contractspec/example.learning-journey-duo-drills@1.45.2
139
+ - @contractspec/example.learning-journey-ui-shared@1.45.2
140
+ - @contractspec/module.learning-journey@1.45.2
141
+ - @contractspec/lib.design-system@1.45.2
142
+ - @contractspec/lib.ui-kit-web@1.45.2
143
+ - @contractspec/lib.contracts@1.45.2
144
+
145
+ ## 1.45.1
146
+
147
+ ### Patch Changes
148
+
149
+ - feat: improve app config and examples contracts
150
+ - Updated dependencies
151
+ - @contractspec/example.learning-journey-quest-challenges@1.45.1
152
+ - @contractspec/example.learning-journey-duo-drills@1.45.1
153
+ - @contractspec/example.learning-journey-ui-shared@1.45.1
154
+ - @contractspec/module.learning-journey@1.45.1
155
+ - @contractspec/lib.design-system@1.45.1
156
+ - @contractspec/lib.ui-kit-web@1.45.1
157
+ - @contractspec/lib.contracts@1.45.1
158
+ - @contractspec/lib.schema@1.45.1
159
+
160
+ ## 1.45.0
161
+
162
+ ### Minor Changes
163
+
164
+ - e73ca1d: feat: improve app config and examples contracts
165
+ feat: Contract layers support (features, examples, app-configs)
166
+
167
+ ### New CLI Commands
168
+ - `contractspec list layers` - List all contract layers with filtering
169
+
170
+ ### Enhanced Commands
171
+ - `contractspec ci` - New `layers` check category validates features/examples/config
172
+ - `contractspec doctor` - New `layers` health checks
173
+ - `contractspec integrity` - Now shows layer statistics
174
+
175
+ ### New APIs
176
+ - `discoverLayers()` - Scan workspace for all layer files
177
+ - `scanExampleSource()` - Parse ExampleSpec from source code
178
+ - `isExampleFile()` - Check if file is an example spec
179
+
180
+ ### Patch Changes
181
+
182
+ - Updated dependencies [e73ca1d]
183
+ - @contractspec/example.learning-journey-quest-challenges@1.45.0
184
+ - @contractspec/example.learning-journey-duo-drills@1.45.0
185
+ - @contractspec/example.learning-journey-ui-shared@1.45.0
186
+ - @contractspec/module.learning-journey@1.45.0
187
+ - @contractspec/lib.design-system@1.45.0
188
+ - @contractspec/lib.ui-kit-web@1.45.0
189
+ - @contractspec/lib.contracts@1.45.0
190
+ - @contractspec/lib.schema@1.45.0
191
+
192
+ ## 1.44.1
193
+
194
+ ### Patch Changes
195
+
196
+ - 3c594fb: fix
197
+ - Updated dependencies [3c594fb]
198
+ - @contractspec/example.learning-journey-quest-challenges@1.44.1
199
+ - @contractspec/example.learning-journey-duo-drills@1.44.1
200
+ - @contractspec/example.learning-journey-ui-shared@1.44.1
201
+ - @contractspec/module.learning-journey@1.44.1
202
+ - @contractspec/lib.design-system@1.44.1
203
+ - @contractspec/lib.ui-kit-web@1.44.1
204
+ - @contractspec/lib.contracts@1.44.1
205
+ - @contractspec/lib.schema@1.44.1
206
+
207
+ ## 1.44.0
208
+
209
+ ### Minor Changes
210
+
211
+ - 5f3a868: chore: isolate branding to contractspec.io
212
+
213
+ ### Patch Changes
214
+
215
+ - Updated dependencies [5f3a868]
216
+ - @contractspec/example.learning-journey-quest-challenges@1.44.0
217
+ - @contractspec/example.learning-journey-duo-drills@1.44.0
218
+ - @contractspec/example.learning-journey-ui-shared@1.44.0
219
+ - @contractspec/module.learning-journey@1.44.0
220
+ - @contractspec/lib.design-system@1.44.0
221
+ - @contractspec/lib.ui-kit-web@1.44.0
222
+ - @contractspec/lib.contracts@1.44.0
223
+ - @contractspec/lib.schema@1.44.0
224
+
225
+ ## 1.43.4
226
+
227
+ ### Patch Changes
228
+
229
+ - 9216062: fix: cross-platform compatibility
230
+ - Updated dependencies [9216062]
231
+ - @contractspec/example.learning-journey-quest-challenges@1.43.4
232
+ - @contractspec/example.learning-journey-duo-drills@1.43.4
233
+ - @contractspec/example.learning-journey-ui-shared@1.43.4
234
+ - @contractspec/module.learning-journey@1.43.4
235
+ - @contractspec/lib.design-system@1.43.4
236
+ - @contractspec/lib.ui-kit-web@1.43.3
237
+ - @contractspec/lib.contracts@1.43.4
238
+ - @contractspec/lib.schema@1.43.3
239
+
240
+ ## 1.43.3
241
+
242
+ ### Patch Changes
243
+
244
+ - 24d9759: improve documentation
245
+ - Updated dependencies [24d9759]
246
+ - @contractspec/example.learning-journey-quest-challenges@1.43.3
247
+ - @contractspec/example.learning-journey-duo-drills@1.43.3
248
+ - @contractspec/example.learning-journey-ui-shared@1.43.3
249
+ - @contractspec/module.learning-journey@1.43.3
250
+ - @contractspec/lib.design-system@1.43.3
251
+ - @contractspec/lib.ui-kit-web@1.43.2
252
+ - @contractspec/lib.contracts@1.43.3
253
+ - @contractspec/lib.schema@1.43.2
254
+
255
+ ## 1.43.2
256
+
257
+ ### Patch Changes
258
+
259
+ - e147271: fix: improve stability
260
+ - Updated dependencies [e147271]
261
+ - @contractspec/example.learning-journey-quest-challenges@1.43.2
262
+ - @contractspec/example.learning-journey-duo-drills@1.43.2
263
+ - @contractspec/example.learning-journey-ui-shared@1.43.2
264
+ - @contractspec/module.learning-journey@1.43.2
265
+ - @contractspec/lib.design-system@1.43.2
266
+ - @contractspec/lib.contracts@1.43.2
267
+ - @contractspec/lib.schema@1.43.1
268
+ - @contractspec/lib.ui-kit-web@1.43.1
269
+
270
+ ## 1.43.1
271
+
272
+ ### Patch Changes
273
+
274
+ - Updated dependencies [f28fdad]
275
+ - @contractspec/lib.contracts@1.43.1
276
+ - @contractspec/example.learning-journey-duo-drills@1.43.1
277
+ - @contractspec/example.learning-journey-quest-challenges@1.43.1
278
+ - @contractspec/example.learning-journey-ui-shared@1.43.1
279
+ - @contractspec/lib.design-system@1.43.1
280
+ - @contractspec/module.learning-journey@1.43.1
281
+
282
+ ## 1.43.0
283
+
284
+ ### Minor Changes
285
+
286
+ - 042d072: feat: schema declaration using json schema, including zod
287
+
288
+ ### Patch Changes
289
+
290
+ - Updated dependencies [042d072]
291
+ - @contractspec/example.learning-journey-quest-challenges@1.43.0
292
+ - @contractspec/example.learning-journey-duo-drills@1.43.0
293
+ - @contractspec/example.learning-journey-ui-shared@1.43.0
294
+ - @contractspec/module.learning-journey@1.43.0
295
+ - @contractspec/lib.design-system@1.43.0
296
+ - @contractspec/lib.ui-kit-web@1.43.0
297
+ - @contractspec/lib.contracts@1.43.0
298
+ - @contractspec/lib.schema@1.43.0
299
+
300
+ ## 1.42.10
301
+
302
+ ### Patch Changes
303
+
304
+ - 1e6a0f1: fix: mcp server
305
+ - Updated dependencies [1e6a0f1]
306
+ - @contractspec/example.learning-journey-quest-challenges@1.42.10
307
+ - @contractspec/example.learning-journey-duo-drills@1.42.10
308
+ - @contractspec/example.learning-journey-ui-shared@1.42.10
309
+ - @contractspec/module.learning-journey@1.42.10
310
+ - @contractspec/lib.design-system@1.42.10
311
+ - @contractspec/lib.ui-kit-web@1.42.10
312
+ - @contractspec/lib.contracts@1.42.10
313
+ - @contractspec/lib.schema@1.42.10
314
+
315
+ ## 1.42.9
316
+
317
+ ### Patch Changes
318
+
319
+ - 9281db7: fix ModelRegistry
320
+ - Updated dependencies [9281db7]
321
+ - @contractspec/example.learning-journey-quest-challenges@1.42.9
322
+ - @contractspec/example.learning-journey-duo-drills@1.42.9
323
+ - @contractspec/example.learning-journey-ui-shared@1.42.9
324
+ - @contractspec/module.learning-journey@1.42.9
325
+ - @contractspec/lib.design-system@1.42.9
326
+ - @contractspec/lib.ui-kit-web@1.42.9
327
+ - @contractspec/lib.contracts@1.42.9
328
+ - @contractspec/lib.schema@1.42.9
329
+
330
+ ## 1.42.8
331
+
332
+ ### Patch Changes
333
+
334
+ - e07b5ac: fix
335
+ - Updated dependencies [e07b5ac]
336
+ - @contractspec/example.learning-journey-quest-challenges@1.42.8
337
+ - @contractspec/example.learning-journey-duo-drills@1.42.8
338
+ - @contractspec/example.learning-journey-ui-shared@1.42.8
339
+ - @contractspec/module.learning-journey@1.42.8
340
+ - @contractspec/lib.design-system@1.42.8
341
+ - @contractspec/lib.ui-kit-web@1.42.8
342
+ - @contractspec/lib.contracts@1.42.8
343
+ - @contractspec/lib.schema@1.42.8
344
+
345
+ ## 1.42.7
346
+
347
+ ### Patch Changes
348
+
349
+ - e9b575d: fix release
350
+ - Updated dependencies [e9b575d]
351
+ - @contractspec/example.learning-journey-quest-challenges@1.42.7
352
+ - @contractspec/example.learning-journey-duo-drills@1.42.7
353
+ - @contractspec/example.learning-journey-ui-shared@1.42.7
354
+ - @contractspec/module.learning-journey@1.42.7
355
+ - @contractspec/lib.design-system@1.42.7
356
+ - @contractspec/lib.ui-kit-web@1.42.7
357
+ - @contractspec/lib.contracts@1.42.7
358
+ - @contractspec/lib.schema@1.42.7
359
+
360
+ ## 1.42.6
361
+
362
+ ### Patch Changes
363
+
364
+ - 1500242: fix tooling
365
+ - Updated dependencies [1500242]
366
+ - @contractspec/example.learning-journey-quest-challenges@1.42.6
367
+ - @contractspec/example.learning-journey-duo-drills@1.42.6
368
+ - @contractspec/example.learning-journey-ui-shared@1.42.6
369
+ - @contractspec/module.learning-journey@1.42.6
370
+ - @contractspec/lib.design-system@1.42.6
371
+ - @contractspec/lib.ui-kit-web@1.42.6
372
+ - @contractspec/lib.contracts@1.42.6
373
+ - @contractspec/lib.schema@1.42.6
374
+
375
+ ## 1.42.5
376
+
377
+ ### Patch Changes
378
+
379
+ - 1299719: fix vscode
380
+ - Updated dependencies [1299719]
381
+ - @contractspec/example.learning-journey-quest-challenges@1.42.5
382
+ - @contractspec/example.learning-journey-duo-drills@1.42.5
383
+ - @contractspec/example.learning-journey-ui-shared@1.42.5
384
+ - @contractspec/module.learning-journey@1.42.5
385
+ - @contractspec/lib.design-system@1.42.5
386
+ - @contractspec/lib.ui-kit-web@1.42.5
387
+ - @contractspec/lib.contracts@1.42.5
388
+ - @contractspec/lib.schema@1.42.5
389
+
390
+ ## 1.42.4
391
+
392
+ ### Patch Changes
393
+
394
+ - ac28b99: fix: generate from openapi
395
+ - Updated dependencies [ac28b99]
396
+ - @contractspec/example.learning-journey-quest-challenges@1.42.4
397
+ - @contractspec/example.learning-journey-duo-drills@1.42.4
398
+ - @contractspec/example.learning-journey-ui-shared@1.42.4
399
+ - @contractspec/module.learning-journey@1.42.4
400
+ - @contractspec/lib.design-system@1.42.4
401
+ - @contractspec/lib.ui-kit-web@1.42.4
402
+ - @contractspec/lib.contracts@1.42.4
403
+ - @contractspec/lib.schema@1.42.4
404
+
405
+ ## 1.42.3
406
+
407
+ ### Patch Changes
408
+
409
+ - 3f5d015: fix(tooling): cicd
410
+ - Updated dependencies [3f5d015]
411
+ - @contractspec/example.learning-journey-duo-drills@1.42.3
412
+ - @contractspec/example.learning-journey-quest-challenges@1.42.3
413
+ - @contractspec/example.learning-journey-ui-shared@1.42.3
414
+ - @contractspec/lib.contracts@1.42.3
415
+ - @contractspec/lib.design-system@1.42.3
416
+ - @contractspec/lib.schema@1.42.3
417
+ - @contractspec/lib.ui-kit-web@1.42.3
418
+ - @contractspec/module.learning-journey@1.42.3
419
+
420
+ ## 1.42.2
421
+
422
+ ### Patch Changes
423
+
424
+ - 1f9ac4c: fix
425
+ - Updated dependencies [1f9ac4c]
426
+ - @contractspec/example.learning-journey-duo-drills@1.42.2
427
+ - @contractspec/example.learning-journey-quest-challenges@1.42.2
428
+ - @contractspec/example.learning-journey-ui-shared@1.42.2
429
+ - @contractspec/lib.contracts@1.42.2
430
+ - @contractspec/lib.design-system@1.42.2
431
+ - @contractspec/lib.schema@1.42.2
432
+ - @contractspec/lib.ui-kit-web@1.42.2
433
+ - @contractspec/module.learning-journey@1.42.2
434
+
435
+ ## 1.42.1
436
+
437
+ ### Patch Changes
438
+
439
+ - f043995: Fix release
440
+ - Updated dependencies [f043995]
441
+ - @contractspec/example.learning-journey-quest-challenges@1.42.1
442
+ - @contractspec/example.learning-journey-duo-drills@1.42.1
443
+ - @contractspec/example.learning-journey-ui-shared@1.42.1
444
+ - @contractspec/module.learning-journey@1.42.1
445
+ - @contractspec/lib.design-system@1.42.1
446
+ - @contractspec/lib.ui-kit-web@1.42.1
447
+ - @contractspec/lib.contracts@1.42.1
448
+ - @contractspec/lib.schema@1.42.1
449
+
450
+ ## 1.42.0
451
+
452
+ ### Minor Changes
453
+
454
+ - 8eefd9c: initial release
455
+
456
+ ### Patch Changes
457
+
458
+ - Updated dependencies [8eefd9c]
459
+ - @contractspec/example.learning-journey-duo-drills@1.42.0
460
+ - @contractspec/example.learning-journey-quest-challenges@1.42.0
461
+ - @contractspec/example.learning-journey-ui-shared@1.42.0
462
+ - @contractspec/lib.contracts@1.42.0
463
+ - @contractspec/lib.design-system@1.42.0
464
+ - @contractspec/lib.schema@1.42.0
465
+ - @contractspec/lib.ui-kit-web@1.42.0
466
+ - @contractspec/module.learning-journey@1.42.0
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) 2025 Chaman Ventures, SASU
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @contractspec/example.learning-journey-ui-gamified
2
+
3
+ Website: https://contractspec.io/
4
+
5
+
6
+ Duolingo-style gamified learning UI for drills and quests.
7
+
8
+ ## Features
9
+
10
+ - **Overview**: Hero card with XP, streak, and next challenge preview
11
+ - **Steps**: Interactive flashcard-style step cards
12
+ - **Progress**: Mastery rings, XP bar, and badge display
13
+ - **Timeline**: Day calendar for quests, step timeline for drills
14
+
15
+ ## Usage
16
+
17
+ ```tsx
18
+ import { GamifiedMiniApp } from '@contractspec/example.learning-journey-ui-gamified';
19
+ import { drillsLanguageBasicsTrack } from '@contractspec/example.learning-journey-duo-drills/track';
20
+
21
+ function MyApp() {
22
+ return (
23
+ <GamifiedMiniApp track={drillsLanguageBasicsTrack} initialView="overview" />
24
+ );
25
+ }
26
+ ```
27
+
28
+ ## Components
29
+
30
+ - **FlashCard** - Tappable card that reveals action on flip
31
+ - **MasteryRing** - Circular progress indicator
32
+ - **DayCalendar** - 7-day grid for quest progress
@@ -0,0 +1,17 @@
1
+ import { LearningMiniAppProps } from "@contractspec/example.learning-journey-ui-shared";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
+
4
+ //#region src/GamifiedMiniApp.d.ts
5
+ type GamifiedMiniAppProps = Omit<LearningMiniAppProps, 'progress'> & {
6
+ progress?: LearningMiniAppProps['progress'];
7
+ };
8
+ declare function GamifiedMiniApp({
9
+ track,
10
+ progress: externalProgress,
11
+ onStepComplete: externalOnStepComplete,
12
+ onViewChange,
13
+ initialView
14
+ }: GamifiedMiniAppProps): react_jsx_runtime0.JSX.Element;
15
+ //#endregion
16
+ export { GamifiedMiniApp };
17
+ //# sourceMappingURL=GamifiedMiniApp.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"GamifiedMiniApp.d.ts","names":[],"sources":["../src/GamifiedMiniApp.tsx"],"sourcesContent":[],"mappings":";;;;KAeK,oBAAA,GAAuB,KAAK;aACpB;;AADR,iBAIW,eAAA,CAJS;EAAA,KAAA;EAAA,QAAA,EAMb,gBANa;EAAA,cAAA,EAOP,sBAPO;EAAA,YAAA;EAAA;AAAA,CAAA,EAUtB,oBAVsB,CAAA,EAUF,kBAAA,CAAA,GAAA,CAAA,OAVE"}