@lssm/example.learning-journey-ui-gamified 0.0.0-canary-20251212230121 → 0.0.0-canary-20251215220103

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.
@@ -1,22 +1,22 @@
1
1
  $ bun build:bundle && bun build:types
2
2
  $ tsdown
3
- ℹ tsdown v0.17.0 powered by rolldown v1.0.0-beta.53
3
+ ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
4
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-gamified/tsdown.config.js
5
5
  ℹ entry: src/index.ts, src/views/index.ts, src/components/index.ts
6
6
  ℹ target: esnext
7
7
  ℹ tsconfig: tsconfig.json
8
8
  ℹ Build start
9
- ℹ dist/index.mjs  2.36 kB │ gzip: 0.83 kB
10
- ℹ dist/components/index.mjs  0.18 kB │ gzip: 0.15 kB
11
- ℹ dist/views/index.mjs  0.18 kB │ gzip: 0.15 kB
12
- ℹ dist/views-B-DapxWu.mjs 18.35 kB │ gzip: 3.52 kB
13
- ℹ dist/DayCalendar-Cha869Bi.mjs  6.20 kB │ gzip: 1.87 kB
14
- ℹ dist/components-kh0CpIG2.mjs  0.01 kB │ gzip: 0.03 kB
15
- ℹ dist/index.d.mts  0.80 kB │ gzip: 0.41 kB
16
- ℹ dist/views/index.d.mts  0.14 kB │ gzip: 0.12 kB
17
- ℹ dist/components/index.d.mts  0.14 kB │ gzip: 0.12 kB
18
- ℹ dist/index-C7CBKOil.d.mts  1.13 kB │ gzip: 0.47 kB
19
- ℹ dist/index-DiAD2ivN.d.mts  0.92 kB │ gzip: 0.34 kB
20
- ℹ 11 files, total: 30.42 kB
21
- ✔ Build complete in 7797ms
9
+ ℹ dist/index.mjs 123.79 kB │ gzip: 41.04 kB
10
+ ℹ dist/components/index.mjs  0.18 kB │ gzip: 0.15 kB
11
+ ℹ dist/views/index.mjs  0.18 kB │ gzip: 0.15 kB
12
+ ℹ dist/views-B-DapxWu.mjs  18.35 kB │ gzip: 3.52 kB
13
+ ℹ dist/DayCalendar-Cha869Bi.mjs  6.20 kB │ gzip: 1.87 kB
14
+ ℹ dist/components-kh0CpIG2.mjs  0.01 kB │ gzip: 0.03 kB
15
+ ℹ dist/index.d.mts  1.74 kB │ gzip: 0.71 kB
16
+ ℹ dist/views/index.d.mts  0.14 kB │ gzip: 0.12 kB
17
+ ℹ dist/components/index.d.mts  0.14 kB │ gzip: 0.12 kB
18
+ ℹ dist/index-CcWC6Zo9.d.mts  1.13 kB │ gzip: 0.47 kB
19
+ ℹ dist/index-X03x0lCK.d.mts  0.92 kB │ gzip: 0.34 kB
20
+ ℹ 11 files, total: 152.80 kB
21
+ ✔ Build complete in 8611ms
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-20251212230121
3
+ ## 0.0.0-canary-20251215220103
4
4
 
5
5
  ### Patch Changes
6
6
 
7
7
  - Updated dependencies [3086383]
8
- - @lssm/lib.design-system@0.0.0-canary-20251212230121
9
- - @lssm/lib.ui-kit-web@0.0.0-canary-20251212230121
10
- - @lssm/example.learning-journey-ui-shared@0.0.0-canary-20251212230121
11
- - @lssm/example.learning-journey.duo-drills@0.0.0-canary-20251212230121
12
- - @lssm/example.learning-journey.quest-challenges@0.0.0-canary-20251212230121
13
- - @lssm/module.learning-journey@0.0.0-canary-20251212230121
8
+ - @lssm/lib.design-system@0.0.0-canary-20251215220103
9
+ - @lssm/lib.ui-kit-web@0.0.0-canary-20251215220103
10
+ - @lssm/example.learning-journey-ui-shared@0.0.0-canary-20251215220103
11
+ - @lssm/example.learning-journey-duo-drills@0.0.0-canary-20251215220103
12
+ - @lssm/example.learning-journey-quest-challenges@0.0.0-canary-20251215220103
13
+ - @lssm/module.learning-journey@0.0.0-canary-20251215220103
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.duo-drills/track';
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,2 +1,2 @@
1
- import { n as MasteryRing, r as FlashCard, t as DayCalendar } from "../index-C7CBKOil.mjs";
1
+ import { n as MasteryRing, r as FlashCard, t as DayCalendar } from "../index-CcWC6Zo9.mjs";
2
2
  export { DayCalendar, FlashCard, MasteryRing };
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
2
2
  import { LearningJourneyStepSpec } from "@lssm/module.learning-journey/track-spec";
3
3
 
4
4
  //#region src/components/FlashCard.d.ts
@@ -13,7 +13,7 @@ declare function FlashCard({
13
13
  isCompleted,
14
14
  isCurrent,
15
15
  onComplete
16
- }: FlashCardProps): react_jsx_runtime0.JSX.Element;
16
+ }: FlashCardProps): react_jsx_runtime4.JSX.Element;
17
17
  //#endregion
18
18
  //#region src/components/MasteryRing.d.ts
19
19
  interface MasteryRingProps {
@@ -27,7 +27,7 @@ declare function MasteryRing({
27
27
  percentage,
28
28
  size,
29
29
  color
30
- }: MasteryRingProps): react_jsx_runtime0.JSX.Element;
30
+ }: MasteryRingProps): react_jsx_runtime4.JSX.Element;
31
31
  //#endregion
32
32
  //#region src/components/DayCalendar.d.ts
33
33
  interface DayCalendarProps {
@@ -39,6 +39,6 @@ declare function DayCalendar({
39
39
  totalDays,
40
40
  currentDay,
41
41
  completedDays
42
- }: DayCalendarProps): react_jsx_runtime0.JSX.Element;
42
+ }: DayCalendarProps): react_jsx_runtime4.JSX.Element;
43
43
  //#endregion
44
44
  export { MasteryRing as n, FlashCard as r, DayCalendar as t };
@@ -1,5 +1,5 @@
1
1
  import { LearningViewProps } from "@lssm/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime4 from "react/jsx-runtime";
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): react_jsx_runtime4.JSX.Element;
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): react_jsx_runtime4.JSX.Element;
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): react_jsx_runtime4.JSX.Element;
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): react_jsx_runtime4.JSX.Element;
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
- import { n as MasteryRing, r as FlashCard, t as DayCalendar } from "./index-C7CBKOil.mjs";
2
- import { i as Overview, n as Progress, r as Steps, t as Timeline } from "./index-DiAD2ivN.mjs";
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-X03x0lCK.mjs";
3
3
  import { LearningMiniAppProps } from "@lssm/example.learning-journey-ui-shared";
4
- import * as react_jsx_runtime2 from "react/jsx-runtime";
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): react_jsx_runtime2.JSX.Element;
16
+ }: GamifiedMiniAppProps): react_jsx_runtime6.JSX.Element;
17
17
  //#endregion
18
- export { DayCalendar, FlashCard, GamifiedMiniApp, MasteryRing, Overview, Progress, Steps, Timeline };
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 };