@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/.turbo/turbo-build.log +14 -14
- package/CHANGELOG.md +7 -7
- package/README.md +1 -2
- package/dist/components/index.d.mts +1 -1
- package/dist/{index-BH0UbqIy.d.mts → index-DJtCFWjr.d.mts} +4 -4
- package/dist/index.d.mts +35 -4
- package/dist/index.mjs +1285 -1
- package/example.ts +1 -0
- package/package.json +10 -6
- package/src/CoachingMiniApp.tsx +0 -1
- package/src/components/EngagementMeter.tsx +0 -1
- package/src/components/TipCard.tsx +0 -1
- package/src/components/TipFeed.tsx +0 -1
- package/src/components/index.ts +0 -1
- package/src/docs/index.ts +1 -0
- package/src/docs/learning-journey-ui-coaching.docblock.ts +17 -0
- package/src/example.ts +24 -0
- package/src/index.ts +2 -1
- package/src/views/Overview.tsx +0 -1
- package/src/views/Progress.tsx +0 -1
- 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/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-
|
|
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
|
|
28
|
-
"@lssm/example.learning-journey
|
|
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.
|
|
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.
|
|
40
|
+
"tsdown": "^0.17.4",
|
|
39
41
|
"typescript": "^5.9.3"
|
|
40
42
|
},
|
|
41
43
|
"peerDependencies": {
|
|
42
|
-
"react": "^
|
|
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
|
"./*": "./*"
|
package/src/CoachingMiniApp.tsx
CHANGED
package/src/components/index.ts
CHANGED
|
@@ -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
package/src/views/Overview.tsx
CHANGED
package/src/views/Progress.tsx
CHANGED
package/src/views/Steps.tsx
CHANGED
package/src/views/Timeline.tsx
CHANGED
package/src/views/index.ts
CHANGED