@contractspec/example.learning-journey-ui-onboarding 1.44.1 → 1.45.1

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.
@@ -14,8 +14,8 @@ $ tsdown
14
14
  ℹ dist/OnboardingMiniApp.js 2.35 kB │ gzip: 0.79 kB
15
15
  ℹ dist/components/JourneyMap.js 2.15 kB │ gzip: 0.93 kB
16
16
  ℹ dist/components/CodeSnippet.js 1.60 kB │ gzip: 0.69 kB
17
+ ℹ dist/example.js 0.90 kB │ gzip: 0.49 kB
17
18
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.js 0.84 kB │ gzip: 0.47 kB
18
- ℹ dist/example.js 0.79 kB │ gzip: 0.44 kB
19
19
  ℹ dist/index.js 0.72 kB │ gzip: 0.25 kB
20
20
  ℹ dist/views/index.js 0.24 kB │ gzip: 0.12 kB
21
21
  ℹ dist/components/index.js 0.20 kB │ gzip: 0.11 kB
@@ -28,8 +28,8 @@ $ tsdown
28
28
  ℹ dist/components/JourneyMap.js.map 3.94 kB │ gzip: 1.52 kB
29
29
  ℹ dist/OnboardingMiniApp.js.map 3.64 kB │ gzip: 1.31 kB
30
30
  ℹ dist/components/CodeSnippet.js.map 2.13 kB │ gzip: 0.99 kB
31
+ ℹ dist/example.js.map 1.42 kB │ gzip: 0.71 kB
31
32
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.js.map 1.18 kB │ gzip: 0.62 kB
32
- ℹ dist/example.js.map 1.14 kB │ gzip: 0.61 kB
33
33
  ℹ dist/components/StepChecklist.d.ts.map 0.43 kB │ gzip: 0.24 kB
34
34
  ℹ dist/OnboardingMiniApp.d.ts.map 0.31 kB │ gzip: 0.22 kB
35
35
  ℹ dist/components/JourneyMap.d.ts.map 0.30 kB │ gzip: 0.21 kB
@@ -38,8 +38,7 @@ $ tsdown
38
38
  ℹ dist/views/Progress.d.ts.map 0.17 kB │ gzip: 0.15 kB
39
39
  ℹ dist/views/Timeline.d.ts.map 0.17 kB │ gzip: 0.15 kB
40
40
  ℹ dist/views/Steps.d.ts.map 0.17 kB │ gzip: 0.15 kB
41
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
42
- ℹ dist/example.d.ts 1.02 kB │ gzip: 0.43 kB
41
+ ℹ dist/example.d.ts.map 0.12 kB │ gzip: 0.12 kB
43
42
  ℹ dist/index.d.ts 0.67 kB │ gzip: 0.24 kB
44
43
  ℹ dist/components/StepChecklist.d.ts 0.66 kB │ gzip: 0.34 kB
45
44
  ℹ dist/OnboardingMiniApp.d.ts 0.60 kB │ gzip: 0.33 kB
@@ -50,8 +49,9 @@ $ tsdown
50
49
  ℹ dist/views/Steps.d.ts 0.36 kB │ gzip: 0.25 kB
51
50
  ℹ dist/views/Timeline.d.ts 0.35 kB │ gzip: 0.24 kB
52
51
  ℹ dist/views/index.d.ts 0.24 kB │ gzip: 0.12 kB
52
+ ℹ dist/example.d.ts 0.20 kB │ gzip: 0.16 kB
53
53
  ℹ dist/components/index.d.ts 0.20 kB │ gzip: 0.11 kB
54
54
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
55
55
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
56
- ℹ 47 files, total: 88.52 kB
57
- ✔ Build complete in 7547ms
56
+ ℹ 47 files, total: 88.06 kB
57
+ ✔ Build complete in 9713ms
@@ -3,7 +3,7 @@ $ tsc --noEmit
3
3
  $ tsdown
4
4
  ℹ tsdown v0.18.3 powered by rolldown v1.0.0-beta.57
5
5
  ℹ config file: /home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-onboarding/tsdown.config.js
6
- ℹ entry: src/OnboardingMiniApp.tsx, src/example.ts, src/index.ts, src/components/CodeSnippet.tsx, src/components/JourneyMap.tsx, src/components/StepChecklist.tsx, src/components/index.ts, src/views/Overview.tsx, src/views/Progress.tsx, src/views/Steps.tsx, src/views/Timeline.tsx, src/views/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-onboarding.docblock.ts
6
+ ℹ entry: src/OnboardingMiniApp.tsx, src/example.ts, src/index.ts, src/components/CodeSnippet.tsx, src/components/JourneyMap.tsx, src/components/StepChecklist.tsx, src/components/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-onboarding.docblock.ts, src/views/Overview.tsx, src/views/Progress.tsx, src/views/Steps.tsx, src/views/Timeline.tsx, src/views/index.ts
7
7
  ℹ target: esnext
8
8
  ℹ tsconfig: tsconfig.json
9
9
  ℹ Build start
@@ -15,8 +15,8 @@ $ tsdown
15
15
  ℹ dist/OnboardingMiniApp.js 2.35 kB │ gzip: 0.79 kB
16
16
  ℹ dist/components/JourneyMap.js 2.15 kB │ gzip: 0.93 kB
17
17
  ℹ dist/components/CodeSnippet.js 1.60 kB │ gzip: 0.69 kB
18
+ ℹ dist/example.js 0.90 kB │ gzip: 0.49 kB
18
19
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.js 0.84 kB │ gzip: 0.47 kB
19
- ℹ dist/example.js 0.79 kB │ gzip: 0.44 kB
20
20
  ℹ dist/index.js 0.72 kB │ gzip: 0.25 kB
21
21
  ℹ dist/views/index.js 0.24 kB │ gzip: 0.12 kB
22
22
  ℹ dist/components/index.js 0.20 kB │ gzip: 0.11 kB
@@ -29,8 +29,8 @@ $ tsdown
29
29
  ℹ dist/components/JourneyMap.js.map 3.94 kB │ gzip: 1.52 kB
30
30
  ℹ dist/OnboardingMiniApp.js.map 3.64 kB │ gzip: 1.31 kB
31
31
  ℹ dist/components/CodeSnippet.js.map 2.13 kB │ gzip: 0.99 kB
32
+ ℹ dist/example.js.map 1.42 kB │ gzip: 0.71 kB
32
33
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.js.map 1.18 kB │ gzip: 0.62 kB
33
- ℹ dist/example.js.map 1.14 kB │ gzip: 0.61 kB
34
34
  ℹ dist/components/StepChecklist.d.ts.map 0.43 kB │ gzip: 0.24 kB
35
35
  ℹ dist/OnboardingMiniApp.d.ts.map 0.31 kB │ gzip: 0.22 kB
36
36
  ℹ dist/components/JourneyMap.d.ts.map 0.30 kB │ gzip: 0.21 kB
@@ -39,8 +39,7 @@ $ tsdown
39
39
  ℹ dist/views/Progress.d.ts.map 0.17 kB │ gzip: 0.15 kB
40
40
  ℹ dist/views/Timeline.d.ts.map 0.17 kB │ gzip: 0.15 kB
41
41
  ℹ dist/views/Steps.d.ts.map 0.17 kB │ gzip: 0.15 kB
42
- ℹ dist/example.d.ts.map 0.14 kB │ gzip: 0.13 kB
43
- ℹ dist/example.d.ts 1.02 kB │ gzip: 0.43 kB
42
+ ℹ dist/example.d.ts.map 0.12 kB │ gzip: 0.12 kB
44
43
  ℹ dist/index.d.ts 0.67 kB │ gzip: 0.24 kB
45
44
  ℹ dist/components/StepChecklist.d.ts 0.66 kB │ gzip: 0.34 kB
46
45
  ℹ dist/OnboardingMiniApp.d.ts 0.60 kB │ gzip: 0.33 kB
@@ -51,8 +50,9 @@ $ tsdown
51
50
  ℹ dist/views/Steps.d.ts 0.36 kB │ gzip: 0.25 kB
52
51
  ℹ dist/views/Timeline.d.ts 0.35 kB │ gzip: 0.24 kB
53
52
  ℹ dist/views/index.d.ts 0.24 kB │ gzip: 0.12 kB
53
+ ℹ dist/example.d.ts 0.20 kB │ gzip: 0.16 kB
54
54
  ℹ dist/components/index.d.ts 0.20 kB │ gzip: 0.11 kB
55
55
  ℹ dist/docs/index.d.ts 0.01 kB │ gzip: 0.03 kB
56
56
  ℹ dist/docs/learning-journey-ui-onboarding.docblock.d.ts 0.01 kB │ gzip: 0.03 kB
57
- ℹ 47 files, total: 88.52 kB
58
- ✔ Build complete in 7706ms
57
+ ℹ 47 files, total: 88.06 kB
58
+ ✔ Build complete in 8386ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,54 @@
1
1
  # @contractspec/example.learning-journey-ui-onboarding
2
2
 
3
+ ## 1.45.1
4
+
5
+ ### Patch Changes
6
+
7
+ - feat: improve app config and examples contracts
8
+ - Updated dependencies
9
+ - @contractspec/example.learning-journey-studio-onboarding@1.45.1
10
+ - @contractspec/example.learning-journey-platform-tour@1.45.1
11
+ - @contractspec/example.learning-journey-ui-shared@1.45.1
12
+ - @contractspec/module.learning-journey@1.45.1
13
+ - @contractspec/lib.design-system@1.45.1
14
+ - @contractspec/lib.ui-kit-core@1.45.1
15
+ - @contractspec/lib.ui-kit-web@1.45.1
16
+ - @contractspec/lib.contracts@1.45.1
17
+ - @contractspec/lib.schema@1.45.1
18
+
19
+ ## 1.45.0
20
+
21
+ ### Minor Changes
22
+
23
+ - e73ca1d: feat: improve app config and examples contracts
24
+ feat: Contract layers support (features, examples, app-configs)
25
+
26
+ ### New CLI Commands
27
+ - `contractspec list layers` - List all contract layers with filtering
28
+
29
+ ### Enhanced Commands
30
+ - `contractspec ci` - New `layers` check category validates features/examples/config
31
+ - `contractspec doctor` - New `layers` health checks
32
+ - `contractspec integrity` - Now shows layer statistics
33
+
34
+ ### New APIs
35
+ - `discoverLayers()` - Scan workspace for all layer files
36
+ - `scanExampleSource()` - Parse ExampleSpec from source code
37
+ - `isExampleFile()` - Check if file is an example spec
38
+
39
+ ### Patch Changes
40
+
41
+ - Updated dependencies [e73ca1d]
42
+ - @contractspec/example.learning-journey-studio-onboarding@1.45.0
43
+ - @contractspec/example.learning-journey-platform-tour@1.45.0
44
+ - @contractspec/example.learning-journey-ui-shared@1.45.0
45
+ - @contractspec/module.learning-journey@1.45.0
46
+ - @contractspec/lib.design-system@1.45.0
47
+ - @contractspec/lib.ui-kit-core@1.45.0
48
+ - @contractspec/lib.ui-kit-web@1.45.0
49
+ - @contractspec/lib.contracts@1.45.0
50
+ - @contractspec/lib.schema@1.45.0
51
+
3
52
  ## 1.44.1
4
53
 
5
54
  ### Patch Changes
@@ -1,5 +1,5 @@
1
1
  import { LearningMiniAppProps } from "@contractspec/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime6 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/OnboardingMiniApp.d.ts
5
5
  type OnboardingMiniAppProps = Omit<LearningMiniAppProps, 'progress'> & {
@@ -11,7 +11,7 @@ declare function OnboardingMiniApp({
11
11
  onStepComplete: externalOnStepComplete,
12
12
  onViewChange,
13
13
  initialView
14
- }: OnboardingMiniAppProps): react_jsx_runtime6.JSX.Element;
14
+ }: OnboardingMiniAppProps): react_jsx_runtime0.JSX.Element;
15
15
  //#endregion
16
16
  export { OnboardingMiniApp };
17
17
  //# sourceMappingURL=OnboardingMiniApp.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime4 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime0 from "react/jsx-runtime";
2
2
 
3
3
  //#region src/components/CodeSnippet.d.ts
4
4
  interface CodeSnippetProps {
@@ -10,7 +10,7 @@ declare function CodeSnippet({
10
10
  code,
11
11
  language,
12
12
  title
13
- }: CodeSnippetProps): react_jsx_runtime4.JSX.Element;
13
+ }: CodeSnippetProps): react_jsx_runtime0.JSX.Element;
14
14
  //#endregion
15
15
  export { CodeSnippet };
16
16
  //# sourceMappingURL=CodeSnippet.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime2 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime1 from "react/jsx-runtime";
2
2
  import { LearningJourneyStepSpec } from "@contractspec/module.learning-journey/track-spec";
3
3
 
4
4
  //#region src/components/JourneyMap.d.ts
@@ -11,7 +11,7 @@ declare function JourneyMap({
11
11
  steps,
12
12
  completedStepIds,
13
13
  currentStepId
14
- }: JourneyMapProps): react_jsx_runtime2.JSX.Element;
14
+ }: JourneyMapProps): react_jsx_runtime1.JSX.Element;
15
15
  //#endregion
16
16
  export { JourneyMap };
17
17
  //# sourceMappingURL=JourneyMap.d.ts.map
@@ -1,4 +1,4 @@
1
- import * as react_jsx_runtime0 from "react/jsx-runtime";
1
+ import * as react_jsx_runtime2 from "react/jsx-runtime";
2
2
  import { LearningJourneyStepSpec } from "@contractspec/module.learning-journey/track-spec";
3
3
 
4
4
  //#region src/components/StepChecklist.d.ts
@@ -19,7 +19,7 @@ declare function StepChecklist({
19
19
  isExpanded,
20
20
  onToggle,
21
21
  onComplete
22
- }: StepChecklistProps): react_jsx_runtime0.JSX.Element;
22
+ }: StepChecklistProps): react_jsx_runtime2.JSX.Element;
23
23
  //#endregion
24
24
  export { StepChecklist };
25
25
  //# sourceMappingURL=StepChecklist.d.ts.map
package/dist/example.d.ts CHANGED
@@ -1,33 +1,7 @@
1
+ import { ExampleSpec } from "@contractspec/lib.contracts";
2
+
1
3
  //#region src/example.d.ts
2
- declare const example: {
3
- readonly id: "learning-journey-ui-onboarding";
4
- readonly title: "Learning Journey UI — Onboarding";
5
- readonly summary: "UI mini-app for onboarding patterns: checklists, code snippets, journey map.";
6
- readonly tags: readonly ["learning", "ui", "onboarding"];
7
- readonly kind: "ui";
8
- readonly visibility: "public";
9
- readonly docs: {
10
- readonly rootDocId: "docs.examples.learning-journey-ui-onboarding";
11
- };
12
- readonly entrypoints: {
13
- readonly packageName: "@contractspec/example.learning-journey-ui-onboarding";
14
- readonly docs: "./docs";
15
- };
16
- readonly surfaces: {
17
- readonly templates: true;
18
- readonly sandbox: {
19
- readonly enabled: true;
20
- readonly modes: readonly ["playground", "markdown"];
21
- };
22
- readonly studio: {
23
- readonly enabled: true;
24
- readonly installable: true;
25
- };
26
- readonly mcp: {
27
- readonly enabled: true;
28
- };
29
- };
30
- };
4
+ declare const example: ExampleSpec;
31
5
  //#endregion
32
6
  export { example as default };
33
7
  //# sourceMappingURL=example.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";cAAM;EAAA,SAAA,EAqBI,EAAA,gCAAA"}
1
+ {"version":3,"file":"example.d.ts","names":[],"sources":["../src/example.ts"],"sourcesContent":[],"mappings":";;;cAEM,SAAS"}
package/dist/example.js CHANGED
@@ -1,15 +1,20 @@
1
1
  //#region src/example.ts
2
2
  const example = {
3
- id: "learning-journey-ui-onboarding",
4
- title: "Learning Journey UI — Onboarding",
5
- summary: "UI mini-app for onboarding patterns: checklists, code snippets, journey map.",
6
- tags: [
7
- "learning",
8
- "ui",
9
- "onboarding"
10
- ],
11
- kind: "ui",
12
- visibility: "public",
3
+ meta: {
4
+ key: "learning-journey-ui-onboarding",
5
+ version: "1.0.0",
6
+ title: "Learning Journey UI — Onboarding",
7
+ description: "UI mini-app for onboarding patterns: checklists, code snippets, journey map.",
8
+ kind: "ui",
9
+ visibility: "public",
10
+ stability: "experimental",
11
+ owners: ["@platform.core"],
12
+ tags: [
13
+ "learning",
14
+ "ui",
15
+ "onboarding"
16
+ ]
17
+ },
13
18
  docs: { rootDocId: "docs.examples.learning-journey-ui-onboarding" },
14
19
  entrypoints: {
15
20
  packageName: "@contractspec/example.learning-journey-ui-onboarding",
@@ -1 +1 @@
1
- {"version":3,"file":"example.js","names":[],"sources":["../src/example.ts"],"sourcesContent":["const example = {\n id: 'learning-journey-ui-onboarding',\n title: 'Learning Journey UI — Onboarding',\n summary:\n 'UI mini-app for onboarding patterns: checklists, code snippets, journey map.',\n tags: ['learning', 'ui', 'onboarding'],\n kind: 'ui',\n visibility: 'public',\n docs: {\n rootDocId: 'docs.examples.learning-journey-ui-onboarding',\n },\n entrypoints: {\n packageName: '@contractspec/example.learning-journey-ui-onboarding',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['playground', 'markdown'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n} as const;\n\nexport default example;\n"],"mappings":";AAAA,MAAM,UAAU;CACd,IAAI;CACJ,OAAO;CACP,SACE;CACF,MAAM;EAAC;EAAY;EAAM;EAAa;CACtC,MAAM;CACN,YAAY;CACZ,MAAM,EACJ,WAAW,gDACZ;CACD,aAAa;EACX,aAAa;EACb,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,cAAc,WAAW;GAAE;EAC7D,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF;AAED,sBAAe"}
1
+ {"version":3,"file":"example.js","names":["example: ExampleSpec"],"sources":["../src/example.ts"],"sourcesContent":["import type { ExampleSpec } from '@contractspec/lib.contracts';\n\nconst example: ExampleSpec = {\n meta: {\n key: 'learning-journey-ui-onboarding',\n version: '1.0.0',\n title: 'Learning Journey UI — Onboarding',\n description:\n 'UI mini-app for onboarding patterns: checklists, code snippets, journey map.',\n kind: 'ui',\n visibility: 'public',\n stability: 'experimental',\n owners: ['@platform.core'],\n tags: ['learning', 'ui', 'onboarding'],\n },\n docs: {\n rootDocId: 'docs.examples.learning-journey-ui-onboarding',\n },\n entrypoints: {\n packageName: '@contractspec/example.learning-journey-ui-onboarding',\n docs: './docs',\n },\n surfaces: {\n templates: true,\n sandbox: { enabled: true, modes: ['playground', 'markdown'] },\n studio: { enabled: true, installable: true },\n mcp: { enabled: true },\n },\n};\n\nexport default example;\n"],"mappings":";AAEA,MAAMA,UAAuB;CAC3B,MAAM;EACJ,KAAK;EACL,SAAS;EACT,OAAO;EACP,aACE;EACF,MAAM;EACN,YAAY;EACZ,WAAW;EACX,QAAQ,CAAC,iBAAiB;EAC1B,MAAM;GAAC;GAAY;GAAM;GAAa;EACvC;CACD,MAAM,EACJ,WAAW,gDACZ;CACD,aAAa;EACX,aAAa;EACb,MAAM;EACP;CACD,UAAU;EACR,WAAW;EACX,SAAS;GAAE,SAAS;GAAM,OAAO,CAAC,cAAc,WAAW;GAAE;EAC7D,QAAQ;GAAE,SAAS;GAAM,aAAa;GAAM;EAC5C,KAAK,EAAE,SAAS,MAAM;EACvB;CACF;AAED,sBAAe"}
@@ -1,11 +1,11 @@
1
1
  import { LearningViewProps } from "@contractspec/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime4 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/views/Progress.d.ts
5
5
  declare function ProgressView({
6
6
  track,
7
7
  progress
8
- }: LearningViewProps): react_jsx_runtime0.JSX.Element;
8
+ }: LearningViewProps): react_jsx_runtime4.JSX.Element;
9
9
  //#endregion
10
10
  export { ProgressView as Progress, ProgressView };
11
11
  //# sourceMappingURL=Progress.d.ts.map
@@ -1,12 +1,12 @@
1
1
  import { LearningViewProps } from "@contractspec/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime5 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/views/Steps.d.ts
5
5
  declare function Steps({
6
6
  track,
7
7
  progress,
8
8
  onStepComplete
9
- }: LearningViewProps): react_jsx_runtime1.JSX.Element;
9
+ }: LearningViewProps): react_jsx_runtime5.JSX.Element;
10
10
  //#endregion
11
11
  export { Steps };
12
12
  //# sourceMappingURL=Steps.d.ts.map
@@ -1,11 +1,11 @@
1
1
  import { LearningViewProps } from "@contractspec/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime5 from "react/jsx-runtime";
2
+ import * as react_jsx_runtime6 from "react/jsx-runtime";
3
3
 
4
4
  //#region src/views/Timeline.d.ts
5
5
  declare function Timeline({
6
6
  track,
7
7
  progress
8
- }: LearningViewProps): react_jsx_runtime5.JSX.Element;
8
+ }: LearningViewProps): react_jsx_runtime6.JSX.Element;
9
9
  //#endregion
10
10
  export { Timeline };
11
11
  //# sourceMappingURL=Timeline.d.ts.map
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/example.learning-journey-ui-onboarding",
3
- "version": "1.44.1",
3
+ "version": "1.45.1",
4
4
  "description": "Developer onboarding UI with checklists and journey maps.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",
@@ -36,20 +36,20 @@
36
36
  "test": "bun test"
37
37
  },
38
38
  "dependencies": {
39
- "@contractspec/lib.ui-kit-core": "1.44.1",
40
- "@contractspec/lib.schema": "1.44.1",
41
- "@contractspec/lib.contracts": "1.44.1",
42
- "@contractspec/example.learning-journey-ui-shared": "1.44.1",
43
- "@contractspec/example.learning-journey-studio-onboarding": "1.44.1",
44
- "@contractspec/example.learning-journey-platform-tour": "1.44.1",
45
- "@contractspec/module.learning-journey": "1.44.1",
46
- "@contractspec/lib.design-system": "1.44.1",
47
- "@contractspec/lib.ui-kit-web": "1.44.1",
39
+ "@contractspec/lib.ui-kit-core": "1.45.1",
40
+ "@contractspec/lib.schema": "1.45.1",
41
+ "@contractspec/lib.contracts": "1.45.1",
42
+ "@contractspec/example.learning-journey-ui-shared": "1.45.1",
43
+ "@contractspec/example.learning-journey-studio-onboarding": "1.45.1",
44
+ "@contractspec/example.learning-journey-platform-tour": "1.45.1",
45
+ "@contractspec/module.learning-journey": "1.45.1",
46
+ "@contractspec/lib.design-system": "1.45.1",
47
+ "@contractspec/lib.ui-kit-web": "1.45.1",
48
48
  "react": "19.2.3"
49
49
  },
50
50
  "devDependencies": {
51
- "@contractspec/tool.tsdown": "1.44.1",
52
- "@contractspec/tool.typescript": "1.44.1",
51
+ "@contractspec/tool.tsdown": "1.45.1",
52
+ "@contractspec/tool.typescript": "1.45.1",
53
53
  "@types/react": "^19.1.6",
54
54
  "tsdown": "^0.18.3",
55
55
  "typescript": "^5.9.3"
package/src/example.ts CHANGED
@@ -1,11 +1,18 @@
1
- const example = {
2
- id: 'learning-journey-ui-onboarding',
3
- title: 'Learning Journey UI — Onboarding',
4
- summary:
5
- 'UI mini-app for onboarding patterns: checklists, code snippets, journey map.',
6
- tags: ['learning', 'ui', 'onboarding'],
7
- kind: 'ui',
8
- visibility: 'public',
1
+ import type { ExampleSpec } from '@contractspec/lib.contracts';
2
+
3
+ const example: ExampleSpec = {
4
+ meta: {
5
+ key: 'learning-journey-ui-onboarding',
6
+ version: '1.0.0',
7
+ title: 'Learning Journey UI — Onboarding',
8
+ description:
9
+ 'UI mini-app for onboarding patterns: checklists, code snippets, journey map.',
10
+ kind: 'ui',
11
+ visibility: 'public',
12
+ stability: 'experimental',
13
+ owners: ['@platform.core'],
14
+ tags: ['learning', 'ui', 'onboarding'],
15
+ },
9
16
  docs: {
10
17
  rootDocId: 'docs.examples.learning-journey-ui-onboarding',
11
18
  },
@@ -19,6 +26,6 @@ const example = {
19
26
  studio: { enabled: true, installable: true },
20
27
  mcp: { enabled: true },
21
28
  },
22
- } as const;
29
+ };
23
30
 
24
31
  export default example;