@contractspec/example.learning-journey-ui-onboarding 1.57.0 → 1.58.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.
Files changed (87) hide show
  1. package/.turbo/turbo-build.log +58 -62
  2. package/.turbo/turbo-prebuild.log +1 -0
  3. package/CHANGELOG.md +19 -0
  4. package/dist/OnboardingMiniApp.d.ts +4 -14
  5. package/dist/OnboardingMiniApp.d.ts.map +1 -1
  6. package/dist/OnboardingMiniApp.js +991 -59
  7. package/dist/browser/OnboardingMiniApp.js +994 -0
  8. package/dist/browser/components/CodeSnippet.js +65 -0
  9. package/dist/browser/components/JourneyMap.js +59 -0
  10. package/dist/browser/components/StepChecklist.js +97 -0
  11. package/dist/browser/components/index.js +219 -0
  12. package/dist/browser/docs/index.js +22 -0
  13. package/dist/browser/docs/learning-journey-ui-onboarding.docblock.js +22 -0
  14. package/dist/browser/example.js +32 -0
  15. package/dist/browser/index.js +1116 -0
  16. package/dist/browser/views/Overview.js +240 -0
  17. package/dist/browser/views/Progress.js +275 -0
  18. package/dist/browser/views/Steps.js +192 -0
  19. package/dist/browser/views/Timeline.js +213 -0
  20. package/dist/browser/views/index.js +915 -0
  21. package/dist/components/CodeSnippet.d.ts +5 -13
  22. package/dist/components/CodeSnippet.d.ts.map +1 -1
  23. package/dist/components/CodeSnippet.js +63 -47
  24. package/dist/components/JourneyMap.d.ts +6 -14
  25. package/dist/components/JourneyMap.d.ts.map +1 -1
  26. package/dist/components/JourneyMap.js +57 -46
  27. package/dist/components/StepChecklist.d.ts +10 -22
  28. package/dist/components/StepChecklist.d.ts.map +1 -1
  29. package/dist/components/StepChecklist.js +95 -77
  30. package/dist/components/index.d.ts +4 -4
  31. package/dist/components/index.d.ts.map +1 -0
  32. package/dist/components/index.js +219 -4
  33. package/dist/docs/index.d.ts +2 -1
  34. package/dist/docs/index.d.ts.map +1 -0
  35. package/dist/docs/index.js +23 -1
  36. package/dist/docs/learning-journey-ui-onboarding.docblock.d.ts +2 -1
  37. package/dist/docs/learning-journey-ui-onboarding.docblock.d.ts.map +1 -0
  38. package/dist/docs/learning-journey-ui-onboarding.docblock.js +21 -18
  39. package/dist/example.d.ts +2 -6
  40. package/dist/example.d.ts.map +1 -1
  41. package/dist/example.js +31 -39
  42. package/dist/index.d.ts +6 -12
  43. package/dist/index.d.ts.map +1 -0
  44. package/dist/index.js +1117 -14
  45. package/dist/node/OnboardingMiniApp.js +994 -0
  46. package/dist/node/components/CodeSnippet.js +65 -0
  47. package/dist/node/components/JourneyMap.js +59 -0
  48. package/dist/node/components/StepChecklist.js +97 -0
  49. package/dist/node/components/index.js +219 -0
  50. package/dist/node/docs/index.js +22 -0
  51. package/dist/node/docs/learning-journey-ui-onboarding.docblock.js +22 -0
  52. package/dist/node/example.js +32 -0
  53. package/dist/node/index.js +1116 -0
  54. package/dist/node/views/Overview.js +240 -0
  55. package/dist/node/views/Progress.js +275 -0
  56. package/dist/node/views/Steps.js +192 -0
  57. package/dist/node/views/Timeline.js +213 -0
  58. package/dist/node/views/index.js +915 -0
  59. package/dist/views/Overview.d.ts +4 -12
  60. package/dist/views/Overview.d.ts.map +1 -1
  61. package/dist/views/Overview.js +238 -177
  62. package/dist/views/Progress.d.ts +3 -10
  63. package/dist/views/Progress.d.ts.map +1 -1
  64. package/dist/views/Progress.js +273 -158
  65. package/dist/views/Steps.d.ts +2 -11
  66. package/dist/views/Steps.d.ts.map +1 -1
  67. package/dist/views/Steps.js +188 -87
  68. package/dist/views/Timeline.d.ts +2 -10
  69. package/dist/views/Timeline.d.ts.map +1 -1
  70. package/dist/views/Timeline.js +211 -95
  71. package/dist/views/index.d.ts +5 -5
  72. package/dist/views/index.d.ts.map +1 -0
  73. package/dist/views/index.js +915 -5
  74. package/package.json +155 -39
  75. package/tsdown.config.js +1 -2
  76. package/.turbo/turbo-build$colon$bundle.log +0 -59
  77. package/dist/OnboardingMiniApp.js.map +0 -1
  78. package/dist/components/CodeSnippet.js.map +0 -1
  79. package/dist/components/JourneyMap.js.map +0 -1
  80. package/dist/components/StepChecklist.js.map +0 -1
  81. package/dist/docs/learning-journey-ui-onboarding.docblock.js.map +0 -1
  82. package/dist/example.js.map +0 -1
  83. package/dist/views/Overview.js.map +0 -1
  84. package/dist/views/Progress.js.map +0 -1
  85. package/dist/views/Steps.js.map +0 -1
  86. package/dist/views/Timeline.js.map +0 -1
  87. package/tsconfig.tsbuildinfo +0 -1
@@ -1,161 +1,276 @@
1
- 'use client';
2
-
3
- import { Card, CardContent, CardHeader, CardTitle } from "@contractspec/lib.ui-kit-web/ui/card";
4
- import { BadgeDisplay, XpBar } from "@contractspec/example.learning-journey-ui-shared";
1
+ // @bun
2
+ // src/views/Progress.tsx
3
+ import {
4
+ Card,
5
+ CardContent,
6
+ CardHeader,
7
+ CardTitle
8
+ } from "@contractspec/lib.ui-kit-web/ui/card";
5
9
  import { Progress } from "@contractspec/lib.ui-kit-web/ui/progress";
6
- import { jsx, jsxs } from "react/jsx-runtime";
7
-
8
- //#region src/views/Progress.tsx
10
+ import {
11
+ XpBar,
12
+ BadgeDisplay
13
+ } from "@contractspec/example.learning-journey-ui-shared";
14
+ import { jsxDEV } from "react/jsx-dev-runtime";
15
+ "use client";
9
16
  function ProgressView({ track, progress }) {
10
- const totalSteps = track.steps.length;
11
- const completedSteps = progress.completedStepIds.length;
12
- const percentComplete = totalSteps > 0 ? completedSteps / totalSteps * 100 : 0;
13
- const totalXp = track.totalXp ?? track.steps.reduce((sum, s) => sum + (s.xpReward ?? 0), 0) + (track.completionRewards?.xpBonus ?? 0);
14
- const remainingSteps = totalSteps - completedSteps;
15
- const estimatedMinutes = remainingSteps * 5;
16
- return /* @__PURE__ */ jsxs("div", {
17
- className: "space-y-6",
18
- children: [
19
- /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(CardTitle, {
20
- className: "flex items-center gap-2",
21
- children: [/* @__PURE__ */ jsx("span", { children: "📈" }), /* @__PURE__ */ jsx("span", { children: "Your Progress" })]
22
- }) }), /* @__PURE__ */ jsxs(CardContent, {
23
- className: "space-y-6",
24
- children: [/* @__PURE__ */ jsx("div", {
25
- className: "flex items-center justify-center",
26
- children: /* @__PURE__ */ jsxs("div", {
27
- className: "relative flex h-40 w-40 items-center justify-center",
28
- children: [/* @__PURE__ */ jsxs("svg", {
29
- className: "absolute h-full w-full -rotate-90",
30
- viewBox: "0 0 100 100",
31
- children: [/* @__PURE__ */ jsx("circle", {
32
- cx: "50",
33
- cy: "50",
34
- r: "45",
35
- fill: "none",
36
- strokeWidth: "8",
37
- className: "stroke-muted"
38
- }), /* @__PURE__ */ jsx("circle", {
39
- cx: "50",
40
- cy: "50",
41
- r: "45",
42
- fill: "none",
43
- strokeWidth: "8",
44
- strokeLinecap: "round",
45
- strokeDasharray: `${percentComplete * 2.83} 283`,
46
- className: "stroke-blue-500 transition-all duration-500"
47
- })]
48
- }), /* @__PURE__ */ jsxs("div", {
49
- className: "text-center",
50
- children: [/* @__PURE__ */ jsxs("div", {
51
- className: "text-3xl font-bold",
52
- children: [Math.round(percentComplete), "%"]
53
- }), /* @__PURE__ */ jsx("div", {
54
- className: "text-muted-foreground text-sm",
55
- children: "Complete"
56
- })]
57
- })]
58
- })
59
- }), /* @__PURE__ */ jsxs("div", {
60
- className: "grid grid-cols-3 gap-4 text-center",
61
- children: [
62
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
63
- className: "text-2xl font-bold text-green-500",
64
- children: completedSteps
65
- }), /* @__PURE__ */ jsx("div", {
66
- className: "text-muted-foreground text-sm",
67
- children: "Completed"
68
- })] }),
69
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsx("div", {
70
- className: "text-2xl font-bold text-orange-500",
71
- children: remainingSteps
72
- }), /* @__PURE__ */ jsx("div", {
73
- className: "text-muted-foreground text-sm",
74
- children: "Remaining"
75
- })] }),
76
- /* @__PURE__ */ jsxs("div", { children: [/* @__PURE__ */ jsxs("div", {
77
- className: "text-2xl font-bold",
78
- children: [estimatedMinutes, "m"]
79
- }), /* @__PURE__ */ jsx("div", {
80
- className: "text-muted-foreground text-sm",
81
- children: "Est. Time"
82
- })] })
83
- ]
84
- })]
85
- })] }),
86
- /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(CardTitle, {
87
- className: "flex items-center gap-2",
88
- children: [/* @__PURE__ */ jsx("span", { children: "⚡" }), /* @__PURE__ */ jsx("span", { children: "Experience Points" })]
89
- }) }), /* @__PURE__ */ jsxs(CardContent, {
90
- className: "space-y-4",
91
- children: [/* @__PURE__ */ jsxs("div", {
92
- className: "flex items-baseline gap-2",
93
- children: [/* @__PURE__ */ jsx("span", {
94
- className: "text-3xl font-bold text-blue-500",
95
- children: progress.xpEarned
96
- }), /* @__PURE__ */ jsxs("span", {
97
- className: "text-muted-foreground",
98
- children: [
99
- "/ ",
100
- totalXp,
101
- " XP"
102
- ]
103
- })]
104
- }), /* @__PURE__ */ jsx(XpBar, {
105
- current: progress.xpEarned,
106
- max: totalXp,
107
- showLabel: false,
108
- size: "lg"
109
- })]
110
- })] }),
111
- /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(CardTitle, {
112
- className: "flex items-center gap-2",
113
- children: [/* @__PURE__ */ jsx("span", { children: "🏅" }), /* @__PURE__ */ jsx("span", { children: "Achievements" })]
114
- }) }), /* @__PURE__ */ jsxs(CardContent, { children: [/* @__PURE__ */ jsx(BadgeDisplay, {
115
- badges: progress.badges,
116
- size: "lg"
117
- }), progress.badges.length === 0 && track.completionRewards?.badgeKey && /* @__PURE__ */ jsxs("p", {
118
- className: "text-muted-foreground text-sm",
119
- children: [
120
- "Complete all steps to earn the \"",
121
- track.completionRewards.badgeKey,
122
- "\" badge!"
123
- ]
124
- })] })] }),
125
- /* @__PURE__ */ jsxs(Card, { children: [/* @__PURE__ */ jsx(CardHeader, { children: /* @__PURE__ */ jsxs(CardTitle, {
126
- className: "flex items-center gap-2",
127
- children: [/* @__PURE__ */ jsx("span", { children: "📋" }), /* @__PURE__ */ jsx("span", { children: "Step Details" })]
128
- }) }), /* @__PURE__ */ jsx(CardContent, { children: /* @__PURE__ */ jsx("div", {
129
- className: "space-y-3",
130
- children: track.steps.map((step, index) => {
131
- const isCompleted = progress.completedStepIds.includes(step.id);
132
- const stepProgress = isCompleted ? 100 : 0;
133
- return /* @__PURE__ */ jsxs("div", {
134
- className: "space-y-1",
135
- children: [/* @__PURE__ */ jsxs("div", {
136
- className: "flex items-center justify-between text-sm",
137
- children: [/* @__PURE__ */ jsxs("span", {
138
- className: isCompleted ? "text-green-500" : "text-foreground",
139
- children: [
140
- index + 1,
141
- ". ",
142
- step.title
143
- ]
144
- }), /* @__PURE__ */ jsx("span", {
145
- className: isCompleted ? "text-green-500" : "text-muted-foreground",
146
- children: isCompleted ? "✓" : "Pending"
147
- })]
148
- }), /* @__PURE__ */ jsx(Progress, {
149
- value: stepProgress,
150
- className: "h-1"
151
- })]
152
- }, step.id);
153
- })
154
- }) })] })
155
- ]
156
- });
17
+ const totalSteps = track.steps.length;
18
+ const completedSteps = progress.completedStepIds.length;
19
+ const percentComplete = totalSteps > 0 ? completedSteps / totalSteps * 100 : 0;
20
+ const totalXp = track.totalXp ?? track.steps.reduce((sum, s) => sum + (s.xpReward ?? 0), 0) + (track.completionRewards?.xpBonus ?? 0);
21
+ const remainingSteps = totalSteps - completedSteps;
22
+ const estimatedMinutes = remainingSteps * 5;
23
+ return /* @__PURE__ */ jsxDEV("div", {
24
+ className: "space-y-6",
25
+ children: [
26
+ /* @__PURE__ */ jsxDEV(Card, {
27
+ children: [
28
+ /* @__PURE__ */ jsxDEV(CardHeader, {
29
+ children: /* @__PURE__ */ jsxDEV(CardTitle, {
30
+ className: "flex items-center gap-2",
31
+ children: [
32
+ /* @__PURE__ */ jsxDEV("span", {
33
+ children: "\uD83D\uDCC8"
34
+ }, undefined, false, undefined, this),
35
+ /* @__PURE__ */ jsxDEV("span", {
36
+ children: "Your Progress"
37
+ }, undefined, false, undefined, this)
38
+ ]
39
+ }, undefined, true, undefined, this)
40
+ }, undefined, false, undefined, this),
41
+ /* @__PURE__ */ jsxDEV(CardContent, {
42
+ className: "space-y-6",
43
+ children: [
44
+ /* @__PURE__ */ jsxDEV("div", {
45
+ className: "flex items-center justify-center",
46
+ children: /* @__PURE__ */ jsxDEV("div", {
47
+ className: "relative flex h-40 w-40 items-center justify-center",
48
+ children: [
49
+ /* @__PURE__ */ jsxDEV("svg", {
50
+ className: "absolute h-full w-full -rotate-90",
51
+ viewBox: "0 0 100 100",
52
+ children: [
53
+ /* @__PURE__ */ jsxDEV("circle", {
54
+ cx: "50",
55
+ cy: "50",
56
+ r: "45",
57
+ fill: "none",
58
+ strokeWidth: "8",
59
+ className: "stroke-muted"
60
+ }, undefined, false, undefined, this),
61
+ /* @__PURE__ */ jsxDEV("circle", {
62
+ cx: "50",
63
+ cy: "50",
64
+ r: "45",
65
+ fill: "none",
66
+ strokeWidth: "8",
67
+ strokeLinecap: "round",
68
+ strokeDasharray: `${percentComplete * 2.83} 283`,
69
+ className: "stroke-blue-500 transition-all duration-500"
70
+ }, undefined, false, undefined, this)
71
+ ]
72
+ }, undefined, true, undefined, this),
73
+ /* @__PURE__ */ jsxDEV("div", {
74
+ className: "text-center",
75
+ children: [
76
+ /* @__PURE__ */ jsxDEV("div", {
77
+ className: "text-3xl font-bold",
78
+ children: [
79
+ Math.round(percentComplete),
80
+ "%"
81
+ ]
82
+ }, undefined, true, undefined, this),
83
+ /* @__PURE__ */ jsxDEV("div", {
84
+ className: "text-muted-foreground text-sm",
85
+ children: "Complete"
86
+ }, undefined, false, undefined, this)
87
+ ]
88
+ }, undefined, true, undefined, this)
89
+ ]
90
+ }, undefined, true, undefined, this)
91
+ }, undefined, false, undefined, this),
92
+ /* @__PURE__ */ jsxDEV("div", {
93
+ className: "grid grid-cols-3 gap-4 text-center",
94
+ children: [
95
+ /* @__PURE__ */ jsxDEV("div", {
96
+ children: [
97
+ /* @__PURE__ */ jsxDEV("div", {
98
+ className: "text-2xl font-bold text-green-500",
99
+ children: completedSteps
100
+ }, undefined, false, undefined, this),
101
+ /* @__PURE__ */ jsxDEV("div", {
102
+ className: "text-muted-foreground text-sm",
103
+ children: "Completed"
104
+ }, undefined, false, undefined, this)
105
+ ]
106
+ }, undefined, true, undefined, this),
107
+ /* @__PURE__ */ jsxDEV("div", {
108
+ children: [
109
+ /* @__PURE__ */ jsxDEV("div", {
110
+ className: "text-2xl font-bold text-orange-500",
111
+ children: remainingSteps
112
+ }, undefined, false, undefined, this),
113
+ /* @__PURE__ */ jsxDEV("div", {
114
+ className: "text-muted-foreground text-sm",
115
+ children: "Remaining"
116
+ }, undefined, false, undefined, this)
117
+ ]
118
+ }, undefined, true, undefined, this),
119
+ /* @__PURE__ */ jsxDEV("div", {
120
+ children: [
121
+ /* @__PURE__ */ jsxDEV("div", {
122
+ className: "text-2xl font-bold",
123
+ children: [
124
+ estimatedMinutes,
125
+ "m"
126
+ ]
127
+ }, undefined, true, undefined, this),
128
+ /* @__PURE__ */ jsxDEV("div", {
129
+ className: "text-muted-foreground text-sm",
130
+ children: "Est. Time"
131
+ }, undefined, false, undefined, this)
132
+ ]
133
+ }, undefined, true, undefined, this)
134
+ ]
135
+ }, undefined, true, undefined, this)
136
+ ]
137
+ }, undefined, true, undefined, this)
138
+ ]
139
+ }, undefined, true, undefined, this),
140
+ /* @__PURE__ */ jsxDEV(Card, {
141
+ children: [
142
+ /* @__PURE__ */ jsxDEV(CardHeader, {
143
+ children: /* @__PURE__ */ jsxDEV(CardTitle, {
144
+ className: "flex items-center gap-2",
145
+ children: [
146
+ /* @__PURE__ */ jsxDEV("span", {
147
+ children: "\u26A1"
148
+ }, undefined, false, undefined, this),
149
+ /* @__PURE__ */ jsxDEV("span", {
150
+ children: "Experience Points"
151
+ }, undefined, false, undefined, this)
152
+ ]
153
+ }, undefined, true, undefined, this)
154
+ }, undefined, false, undefined, this),
155
+ /* @__PURE__ */ jsxDEV(CardContent, {
156
+ className: "space-y-4",
157
+ children: [
158
+ /* @__PURE__ */ jsxDEV("div", {
159
+ className: "flex items-baseline gap-2",
160
+ children: [
161
+ /* @__PURE__ */ jsxDEV("span", {
162
+ className: "text-3xl font-bold text-blue-500",
163
+ children: progress.xpEarned
164
+ }, undefined, false, undefined, this),
165
+ /* @__PURE__ */ jsxDEV("span", {
166
+ className: "text-muted-foreground",
167
+ children: [
168
+ "/ ",
169
+ totalXp,
170
+ " XP"
171
+ ]
172
+ }, undefined, true, undefined, this)
173
+ ]
174
+ }, undefined, true, undefined, this),
175
+ /* @__PURE__ */ jsxDEV(XpBar, {
176
+ current: progress.xpEarned,
177
+ max: totalXp,
178
+ showLabel: false,
179
+ size: "lg"
180
+ }, undefined, false, undefined, this)
181
+ ]
182
+ }, undefined, true, undefined, this)
183
+ ]
184
+ }, undefined, true, undefined, this),
185
+ /* @__PURE__ */ jsxDEV(Card, {
186
+ children: [
187
+ /* @__PURE__ */ jsxDEV(CardHeader, {
188
+ children: /* @__PURE__ */ jsxDEV(CardTitle, {
189
+ className: "flex items-center gap-2",
190
+ children: [
191
+ /* @__PURE__ */ jsxDEV("span", {
192
+ children: "\uD83C\uDFC5"
193
+ }, undefined, false, undefined, this),
194
+ /* @__PURE__ */ jsxDEV("span", {
195
+ children: "Achievements"
196
+ }, undefined, false, undefined, this)
197
+ ]
198
+ }, undefined, true, undefined, this)
199
+ }, undefined, false, undefined, this),
200
+ /* @__PURE__ */ jsxDEV(CardContent, {
201
+ children: [
202
+ /* @__PURE__ */ jsxDEV(BadgeDisplay, {
203
+ badges: progress.badges,
204
+ size: "lg"
205
+ }, undefined, false, undefined, this),
206
+ progress.badges.length === 0 && track.completionRewards?.badgeKey && /* @__PURE__ */ jsxDEV("p", {
207
+ className: "text-muted-foreground text-sm",
208
+ children: [
209
+ 'Complete all steps to earn the "',
210
+ track.completionRewards.badgeKey,
211
+ '" badge!'
212
+ ]
213
+ }, undefined, true, undefined, this)
214
+ ]
215
+ }, undefined, true, undefined, this)
216
+ ]
217
+ }, undefined, true, undefined, this),
218
+ /* @__PURE__ */ jsxDEV(Card, {
219
+ children: [
220
+ /* @__PURE__ */ jsxDEV(CardHeader, {
221
+ children: /* @__PURE__ */ jsxDEV(CardTitle, {
222
+ className: "flex items-center gap-2",
223
+ children: [
224
+ /* @__PURE__ */ jsxDEV("span", {
225
+ children: "\uD83D\uDCCB"
226
+ }, undefined, false, undefined, this),
227
+ /* @__PURE__ */ jsxDEV("span", {
228
+ children: "Step Details"
229
+ }, undefined, false, undefined, this)
230
+ ]
231
+ }, undefined, true, undefined, this)
232
+ }, undefined, false, undefined, this),
233
+ /* @__PURE__ */ jsxDEV(CardContent, {
234
+ children: /* @__PURE__ */ jsxDEV("div", {
235
+ className: "space-y-3",
236
+ children: track.steps.map((step, index) => {
237
+ const isCompleted = progress.completedStepIds.includes(step.id);
238
+ const stepProgress = isCompleted ? 100 : 0;
239
+ return /* @__PURE__ */ jsxDEV("div", {
240
+ className: "space-y-1",
241
+ children: [
242
+ /* @__PURE__ */ jsxDEV("div", {
243
+ className: "flex items-center justify-between text-sm",
244
+ children: [
245
+ /* @__PURE__ */ jsxDEV("span", {
246
+ className: isCompleted ? "text-green-500" : "text-foreground",
247
+ children: [
248
+ index + 1,
249
+ ". ",
250
+ step.title
251
+ ]
252
+ }, undefined, true, undefined, this),
253
+ /* @__PURE__ */ jsxDEV("span", {
254
+ className: isCompleted ? "text-green-500" : "text-muted-foreground",
255
+ children: isCompleted ? "\u2713" : "Pending"
256
+ }, undefined, false, undefined, this)
257
+ ]
258
+ }, undefined, true, undefined, this),
259
+ /* @__PURE__ */ jsxDEV(Progress, {
260
+ value: stepProgress,
261
+ className: "h-1"
262
+ }, undefined, false, undefined, this)
263
+ ]
264
+ }, step.id, true, undefined, this);
265
+ })
266
+ }, undefined, false, undefined, this)
267
+ }, undefined, false, undefined, this)
268
+ ]
269
+ }, undefined, true, undefined, this)
270
+ ]
271
+ }, undefined, true, undefined, this);
157
272
  }
158
-
159
- //#endregion
160
- export { ProgressView as Progress, ProgressView };
161
- //# sourceMappingURL=Progress.js.map
273
+ export {
274
+ ProgressView,
275
+ ProgressView as Progress
276
+ };
@@ -1,12 +1,3 @@
1
- import { LearningViewProps } from "@contractspec/example.learning-journey-ui-shared";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/views/Steps.d.ts
5
- declare function Steps({
6
- track,
7
- progress,
8
- onStepComplete
9
- }: LearningViewProps): react_jsx_runtime0.JSX.Element;
10
- //#endregion
11
- export { Steps };
1
+ import type { LearningViewProps } from '@contractspec/example.learning-journey-ui-shared';
2
+ export declare function Steps({ track, progress, onStepComplete }: LearningViewProps): import("react/jsx-runtime").JSX.Element;
12
3
  //# sourceMappingURL=Steps.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"Steps.d.ts","names":[],"sources":["../../src/views/Steps.tsx"],"mappings":";;;;iBAOgB,KAAA,CAAA;EAAQ,KAAA;EAAO,QAAA;EAAU;AAAA,GAAkB,iBAAA,GAAiB,kBAAA,CAAA,GAAA,CAAA,OAAA"}
1
+ {"version":3,"file":"Steps.d.ts","sourceRoot":"","sources":["../../src/views/Steps.tsx"],"names":[],"mappings":"AAKA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,kDAAkD,CAAC;AAE1F,wBAAgB,KAAK,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,cAAc,EAAE,EAAE,iBAAiB,2CAoF3E"}