@lssm/example.learning-journey-ui-coaching 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.
package/example.ts ADDED
@@ -0,0 +1 @@
1
+ export { default } from './src/example';
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@lssm/example.learning-journey-ui-coaching",
3
- "version": "0.0.0-canary-20251212230121",
3
+ "version": "0.0.0-canary-20251215220103",
4
4
  "description": "Contextual coaching UI with tip cards and engagement tracking.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
7
7
  "types": "./dist/index.d.ts",
8
8
  "exports": {
9
9
  ".": "./src/index.ts",
10
+ "./example": "./src/example.ts",
11
+ "./docs": "./src/docs/index.ts",
10
12
  "./views": "./src/views/index.ts",
11
13
  "./components": "./src/components/index.ts",
12
14
  "./*": "./*"
@@ -24,27 +26,29 @@
24
26
  },
25
27
  "dependencies": {
26
28
  "@lssm/example.learning-journey-ui-shared": "workspace:*",
27
- "@lssm/example.learning-journey.ambient-coach": "workspace:*",
28
- "@lssm/example.learning-journey.crm-onboarding": "workspace:*",
29
+ "@lssm/example.learning-journey-ambient-coach": "workspace:*",
30
+ "@lssm/example.learning-journey-crm-onboarding": "workspace:*",
29
31
  "@lssm/module.learning-journey": "workspace:*",
30
32
  "@lssm/lib.design-system": "workspace:*",
31
33
  "@lssm/lib.ui-kit-web": "workspace:*",
32
- "react": "^19.1.0"
34
+ "react": "^19.2.3"
33
35
  },
34
36
  "devDependencies": {
35
37
  "@lssm/tool.tsdown": "workspace:*",
36
38
  "@lssm/tool.typescript": "workspace:*",
37
39
  "@types/react": "^19.1.6",
38
- "tsdown": "^0.17.0",
40
+ "tsdown": "^0.17.4",
39
41
  "typescript": "^5.9.3"
40
42
  },
41
43
  "peerDependencies": {
42
- "react": "^18.0.0 || ^19.0.0"
44
+ "react": "^19.2.3"
43
45
  },
44
46
  "module": "./dist/index.js",
45
47
  "publishConfig": {
46
48
  "exports": {
47
49
  ".": "./dist/index.js",
50
+ "./example": "./dist/example.js",
51
+ "./docs": "./dist/docs/index.js",
48
52
  "./views": "./dist/views/index.js",
49
53
  "./components": "./dist/components/index.js",
50
54
  "./*": "./*"
@@ -91,4 +91,3 @@ export function CoachingMiniApp({
91
91
  </div>
92
92
  );
93
93
  }
94
-
@@ -93,4 +93,3 @@ export function EngagementMeter({
93
93
  </div>
94
94
  );
95
95
  }
96
-
@@ -99,4 +99,3 @@ export function TipCard({
99
99
  </Card>
100
100
  );
101
101
  }
102
-
@@ -99,4 +99,3 @@ export function TipFeed({ items }: TipFeedProps) {
99
99
  </div>
100
100
  );
101
101
  }
102
-
@@ -1,4 +1,3 @@
1
1
  export { TipCard } from './TipCard';
2
2
  export { EngagementMeter } from './EngagementMeter';
3
3
  export { TipFeed } from './TipFeed';
4
-
@@ -0,0 +1 @@
1
+ import './learning-journey-ui-coaching.docblock';
@@ -0,0 +1,17 @@
1
+ import type { DocBlock } from '@lssm/lib.contracts/docs';
2
+ import { registerDocBlocks } from '@lssm/lib.contracts/docs';
3
+
4
+ const blocks: DocBlock[] = [
5
+ {
6
+ id: 'docs.examples.learning-journey-ui-coaching',
7
+ title: 'Learning Journey UI — Coaching',
8
+ summary: 'UI mini-app components for coaching: tips, engagement, progress.',
9
+ kind: 'reference',
10
+ visibility: 'public',
11
+ route: '/docs/examples/learning-journey-ui-coaching',
12
+ tags: ['learning', 'ui', 'coaching'],
13
+ body: `## Includes\n- Coaching mini-app shell\n- Views: overview, steps, progress, timeline\n- Components: tip card, engagement meter, tip feed\n\n## Notes\n- Compose using design system components.\n- Keep accessibility and mobile-friendly tap targets.`,
14
+ },
15
+ ];
16
+
17
+ registerDocBlocks(blocks);
package/src/example.ts ADDED
@@ -0,0 +1,24 @@
1
+ const example = {
2
+ id: 'learning-journey-ui-coaching',
3
+ title: 'Learning Journey UI — Coaching',
4
+ summary:
5
+ 'UI mini-app for coaching patterns: tips, engagement meter, progress.',
6
+ tags: ['learning', 'ui', 'coaching'],
7
+ kind: 'ui',
8
+ visibility: 'public',
9
+ docs: {
10
+ rootDocId: 'docs.examples.learning-journey-ui-coaching',
11
+ },
12
+ entrypoints: {
13
+ packageName: '@lssm/example.learning-journey-ui-coaching',
14
+ docs: './docs',
15
+ },
16
+ surfaces: {
17
+ templates: true,
18
+ sandbox: { enabled: true, modes: ['playground', 'markdown'] },
19
+ studio: { enabled: true, installable: true },
20
+ mcp: { enabled: true },
21
+ },
22
+ } as const;
23
+
24
+ export default example;
package/src/index.ts CHANGED
@@ -6,4 +6,5 @@ export { Overview, Steps, Progress, Timeline } from './views';
6
6
 
7
7
  // Components
8
8
  export { TipCard, EngagementMeter, TipFeed } from './components';
9
-
9
+ export { default as example } from './example';
10
+ import './docs';
@@ -152,4 +152,3 @@ export function Overview({
152
152
  </div>
153
153
  );
154
154
  }
155
-
@@ -162,4 +162,3 @@ export function ProgressView({ track, progress }: LearningViewProps) {
162
162
  }
163
163
 
164
164
  export { ProgressView as Progress };
165
-
@@ -61,4 +61,3 @@ export function Steps({ track, progress, onStepComplete }: LearningViewProps) {
61
61
  </div>
62
62
  );
63
63
  }
64
-
@@ -112,4 +112,3 @@ export function Timeline({ track, progress }: LearningViewProps) {
112
112
  </div>
113
113
  );
114
114
  }
115
-
@@ -2,4 +2,3 @@ export { Overview } from './Overview';
2
2
  export { Steps } from './Steps';
3
3
  export { Progress } from './Progress';
4
4
  export { Timeline } from './Timeline';
5
-