@lssm/example.learning-journey-ui-onboarding 0.0.0-canary-20251212224228 → 0.0.0-canary-20251213172311

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,2 +1,2 @@
1
- import { i as Overview, n as ProgressView, r as Steps, t as Timeline } from "../index-CWZmrQYz.mjs";
1
+ import { i as Overview, n as ProgressView, r as Steps, t as Timeline } from "../index-BNYp4weX.mjs";
2
2
  export { Overview, ProgressView as Progress, Steps, Timeline };
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-onboarding",
3
- "version": "0.0.0-canary-20251212224228",
3
+ "version": "0.0.0-canary-20251213172311",
4
4
  "description": "Developer onboarding UI with checklists and journey maps.",
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,8 +26,8 @@
24
26
  },
25
27
  "dependencies": {
26
28
  "@lssm/example.learning-journey-ui-shared": "workspace:*",
27
- "@lssm/example.learning-journey.studio-onboarding": "workspace:*",
28
- "@lssm/example.learning-journey.platform-tour": "workspace:*",
29
+ "@lssm/example.learning-journey-studio-onboarding": "workspace:*",
30
+ "@lssm/example.learning-journey-platform-tour": "workspace:*",
29
31
  "@lssm/module.learning-journey": "workspace:*",
30
32
  "@lssm/lib.design-system": "workspace:*",
31
33
  "@lssm/lib.ui-kit-web": "workspace:*",
@@ -45,6 +47,8 @@
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 OnboardingMiniApp({
91
91
  </div>
92
92
  );
93
93
  }
94
-
@@ -55,4 +55,3 @@ export function CodeSnippet({
55
55
  </div>
56
56
  );
57
57
  }
58
-
@@ -84,4 +84,3 @@ export function JourneyMap({
84
84
  </div>
85
85
  );
86
86
  }
87
-
@@ -135,4 +135,3 @@ export function StepChecklist({
135
135
  </div>
136
136
  );
137
137
  }
138
-
@@ -1,4 +1,3 @@
1
1
  export { StepChecklist } from './StepChecklist';
2
2
  export { CodeSnippet } from './CodeSnippet';
3
3
  export { JourneyMap } from './JourneyMap';
4
-
@@ -0,0 +1,3 @@
1
+ import './learning-journey-ui-onboarding.docblock';
2
+
3
+
@@ -0,0 +1,20 @@
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-onboarding',
7
+ title: 'Learning Journey UI — Onboarding',
8
+ summary:
9
+ 'UI mini-app components for onboarding: checklists, snippets, and journey mapping.',
10
+ kind: 'reference',
11
+ visibility: 'public',
12
+ route: '/docs/examples/learning-journey-ui-onboarding',
13
+ tags: ['learning', 'ui', 'onboarding'],
14
+ body: `## Includes\n- Onboarding mini-app shell\n- Views: overview, steps, progress, timeline\n- Components: step checklist, code snippet, journey map\n\n## Notes\n- Compose with design system components.\n- Ensure accessible labels and keyboard navigation.`,
15
+ },
16
+ ];
17
+
18
+ registerDocBlocks(blocks);
19
+
20
+
package/src/example.ts ADDED
@@ -0,0 +1,25 @@
1
+ const example = {
2
+ id: 'learning-journey-ui-onboarding',
3
+ title: 'Learning Journey UI — Onboarding',
4
+ summary: 'UI mini-app for onboarding patterns: checklists, code snippets, journey map.',
5
+ tags: ['learning', 'ui', 'onboarding'],
6
+ kind: 'ui',
7
+ visibility: 'public',
8
+ docs: {
9
+ rootDocId: 'docs.examples.learning-journey-ui-onboarding',
10
+ },
11
+ entrypoints: {
12
+ packageName: '@lssm/example.learning-journey-ui-onboarding',
13
+ docs: './docs',
14
+ },
15
+ surfaces: {
16
+ templates: true,
17
+ sandbox: { enabled: true, modes: ['playground', 'markdown'] },
18
+ studio: { enabled: true, installable: true },
19
+ mcp: { enabled: true },
20
+ },
21
+ } as const;
22
+
23
+ export default example;
24
+
25
+
package/src/index.ts CHANGED
@@ -6,4 +6,5 @@ export { Overview, Steps, Progress, Timeline } from './views';
6
6
 
7
7
  // Components
8
8
  export { StepChecklist, CodeSnippet, JourneyMap } from './components';
9
-
9
+ export { default as example } from './example';
10
+ import './docs';
@@ -202,4 +202,3 @@ export function Overview({
202
202
  </div>
203
203
  );
204
204
  }
205
-
@@ -181,4 +181,3 @@ export function ProgressView({ track, progress }: LearningViewProps) {
181
181
 
182
182
  // Re-export with correct name
183
183
  export { ProgressView as Progress };
184
-
@@ -90,4 +90,3 @@ export function Steps({ track, progress, onStepComplete }: LearningViewProps) {
90
90
  </div>
91
91
  );
92
92
  }
93
-
@@ -139,4 +139,3 @@ export function Timeline({ track, progress }: LearningViewProps) {
139
139
  </div>
140
140
  );
141
141
  }
142
-
@@ -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
-