@contractspec/example.learning-journey-ui-coaching 3.7.19 → 4.0.0

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.
@@ -2,7 +2,7 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build transpile
4
4
  [contractspec-bun-build] transpile target=bun root=src entries=15 noBundle=false
5
- Bundled 15 modules in 22ms
5
+ Bundled 15 modules in 45ms
6
6
 
7
7
  ./CoachingMiniApp.js 15.65 KB (entry point)
8
8
  ./index.js 17.53 KB (entry point)
@@ -21,7 +21,7 @@ Bundled 15 modules in 22ms
21
21
  ./example.js 0.69 KB (entry point)
22
22
 
23
23
  [contractspec-bun-build] transpile target=node root=src entries=15 noBundle=false
24
- Bundled 15 modules in 19ms
24
+ Bundled 15 modules in 27ms
25
25
 
26
26
  ./CoachingMiniApp.js 15.62 KB (entry point)
27
27
  ./index.js 17.49 KB (entry point)
@@ -40,7 +40,7 @@ Bundled 15 modules in 19ms
40
40
  ./example.js 0.68 KB (entry point)
41
41
 
42
42
  [contractspec-bun-build] transpile target=browser root=src entries=15 noBundle=false
43
- Bundled 15 modules in 30ms
43
+ Bundled 15 modules in 24ms
44
44
 
45
45
  ./CoachingMiniApp.js 15.62 KB (entry point)
46
46
  ./index.js 17.49 KB (entry point)
@@ -59,3 +59,4 @@ Bundled 15 modules in 30ms
59
59
  ./example.js 0.68 KB (entry point)
60
60
 
61
61
  $ contractspec-bun-build types
62
+ $ contractspec-bun-build types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,29 @@
1
1
  # @contractspec/example.learning-journey-ui-coaching
2
2
 
3
+ ## 4.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - Redesign the learning system around the adaptive journey runtime and repair shared learning sandbox presentation wiring.
8
+ - Packages: @contractspec/module.learning-journey (major), @contractspec/module.examples (patch), @contractspec/example.learning-journey-ambient-coach (major), @contractspec/example.learning-journey-crm-onboarding (major), @contractspec/example.learning-journey-duo-drills (major), @contractspec/example.learning-journey-platform-tour (major), @contractspec/example.learning-journey-quest-challenges (major), @contractspec/example.learning-journey-registry (major), @contractspec/example.learning-journey-studio-onboarding (major), @contractspec/example.learning-journey-ui-coaching (major), @contractspec/example.learning-journey-ui-gamified (major), @contractspec/example.learning-journey-ui-onboarding (major), @contractspec/example.learning-journey-ui-shared (major), @contractspec/example.learning-patterns (major)
9
+ - Migration: Replace the old onboarding-centric learning contracts and local example progress logic with the canonical adaptive `learning.journey.*` runtime.; Use the shared learning registry mapping/data helpers so supported learning sandbox templates resolve the shared presentation set consistently.
10
+
11
+ ### Patch Changes
12
+
13
+ - Updated dependencies because of Add a family-aware ContractSpec Adoption Engine, expand contract authoring targets across CLI and VS Code tooling, and refresh release-facing schema and policy artifacts for downstream workspaces.
14
+ - Updated dependencies because of Improve app-config, theme, and feature authoring with explicit validation APIs, first-class theme discovery and scaffolding, and key-based app-config generation across contracts, workspace tooling, and the CLI.
15
+ - Updated dependencies because of Harden the shared data-table stack and add a first-class composed toolbar for search, filter chips, selection summary, and hidden-column recovery.
16
+ - Updated dependencies because of Refresh root, package, website, and LLM-facing docs so Connect, Builder, release capsules, and the current contracts-spec export surface stay aligned.
17
+ - Updated dependencies because of Persist canonical knowledge payload text during indexing and align the retrieval/query docs with the corrected behavior.
18
+ - Updated dependencies because of Redesign the learning system around the adaptive journey runtime and repair shared learning sandbox presentation wiring.
19
+ - @contractspec/lib.contracts-spec@5.4.0
20
+ - @contractspec/lib.design-system@3.10.0
21
+ - @contractspec/lib.ui-kit-web@3.10.1
22
+ - @contractspec/module.learning-journey@4.0.0
23
+ - @contractspec/example.learning-journey-ambient-coach@4.0.0
24
+ - @contractspec/example.learning-journey-crm-onboarding@4.0.0
25
+ - @contractspec/example.learning-journey-ui-shared@4.0.0
26
+
3
27
  ## 3.7.19
4
28
 
5
29
  ### Patch Changes
@@ -1,6 +1,6 @@
1
- import type { LearningJourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
1
+ import type { JourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
2
2
  interface TipCardProps {
3
- step: LearningJourneyStepSpec;
3
+ step: JourneyStepSpec;
4
4
  isCompleted: boolean;
5
5
  isCurrent: boolean;
6
6
  onComplete?: () => void;
@@ -1,6 +1,6 @@
1
- import type { LearningJourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
1
+ import type { JourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
2
2
  interface TipFeedItem {
3
- step: LearningJourneyStepSpec;
3
+ step: JourneyStepSpec;
4
4
  isCompleted: boolean;
5
5
  completedAt?: string;
6
6
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-journey-ui-coaching",
3
- "version": "3.7.19",
3
+ "version": "4.0.0",
4
4
  "description": "Contextual coaching UI with tip cards and engagement tracking.",
5
5
  "type": "module",
6
6
  "types": "./dist/index.d.ts",
@@ -127,13 +127,13 @@
127
127
  "typecheck": "tsc --noEmit"
128
128
  },
129
129
  "dependencies": {
130
- "@contractspec/lib.contracts-spec": "5.3.0",
131
- "@contractspec/example.learning-journey-ui-shared": "3.7.19",
132
- "@contractspec/example.learning-journey-ambient-coach": "3.7.19",
133
- "@contractspec/example.learning-journey-crm-onboarding": "3.7.19",
134
- "@contractspec/module.learning-journey": "3.7.18",
135
- "@contractspec/lib.design-system": "3.9.0",
136
- "@contractspec/lib.ui-kit-web": "3.10.0",
130
+ "@contractspec/lib.contracts-spec": "5.4.0",
131
+ "@contractspec/example.learning-journey-ui-shared": "4.0.0",
132
+ "@contractspec/example.learning-journey-ambient-coach": "4.0.0",
133
+ "@contractspec/example.learning-journey-crm-onboarding": "4.0.0",
134
+ "@contractspec/module.learning-journey": "4.0.0",
135
+ "@contractspec/lib.design-system": "3.10.0",
136
+ "@contractspec/lib.ui-kit-web": "3.10.1",
137
137
  "react": "19.2.0"
138
138
  },
139
139
  "devDependencies": {
@@ -3,10 +3,10 @@
3
3
  import { Button } from '@contractspec/lib.design-system';
4
4
  import { Card, CardContent } from '@contractspec/lib.ui-kit-web/ui/card';
5
5
  import { cn } from '@contractspec/lib.ui-kit-web/ui/utils';
6
- import type { LearningJourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
6
+ import type { JourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
7
7
 
8
8
  interface TipCardProps {
9
- step: LearningJourneyStepSpec;
9
+ step: JourneyStepSpec;
10
10
  isCompleted: boolean;
11
11
  isCurrent: boolean;
12
12
  onComplete?: () => void;
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
 
3
3
  import { cn } from '@contractspec/lib.ui-kit-web/ui/utils';
4
- import type { LearningJourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
4
+ import type { JourneyStepSpec } from '@contractspec/module.learning-journey/track-spec';
5
5
 
6
6
  interface TipFeedItem {
7
- step: LearningJourneyStepSpec;
7
+ step: JourneyStepSpec;
8
8
  isCompleted: boolean;
9
9
  completedAt?: string;
10
10
  }