@lssm/example.learning-journey-ui-shared 0.0.0-canary-20251217083314 → 1.41.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 (76) hide show
  1. package/.turbo/turbo-build.log +24 -26
  2. package/dist/components/index.d.mts +2 -0
  3. package/dist/components/index.mjs +3 -0
  4. package/dist/components-tyJAN4Ru.mjs +164 -0
  5. package/dist/hooks/index.d.mts +2 -0
  6. package/dist/hooks/index.mjs +3 -0
  7. package/dist/{hooks/useLearningProgress.js → hooks-B-tDvppY.mjs} +1 -3
  8. package/dist/{hooks/useLearningProgress.d.ts → index-D_7WU_xm.d.mts} +2 -2
  9. package/dist/index-EWErSKip.d.mts +34 -0
  10. package/dist/{example.d.ts → index.d.mts} +5 -1
  11. package/dist/index.mjs +1643 -0
  12. package/dist/{types.d.ts → types-BMAby_Ku.d.mts} +1 -1
  13. package/dist/types.d.mts +2 -0
  14. package/dist/types.mjs +1 -0
  15. package/package.json +12 -22
  16. package/tsconfig.tsbuildinfo +1 -1
  17. package/tsdown.config.js +11 -14
  18. package/.turbo/turbo-build$colon$bundle.log +0 -342
  19. package/CHANGELOG.md +0 -16
  20. package/dist/components/BadgeDisplay.d.ts +0 -11
  21. package/dist/components/BadgeDisplay.js +0 -44
  22. package/dist/components/StreakCounter.d.ts +0 -11
  23. package/dist/components/StreakCounter.js +0 -45
  24. package/dist/components/ViewTabs.d.ts +0 -11
  25. package/dist/components/ViewTabs.js +0 -48
  26. package/dist/components/XpBar.d.ts +0 -13
  27. package/dist/components/XpBar.js +0 -46
  28. package/dist/components/index.d.ts +0 -5
  29. package/dist/components/index.js +0 -6
  30. package/dist/docs/index.d.ts +0 -1
  31. package/dist/docs/index.js +0 -1
  32. package/dist/docs/learning-journey-ui-shared.docblock.d.ts +0 -1
  33. package/dist/docs/learning-journey-ui-shared.docblock.js +0 -20
  34. package/dist/example.js +0 -34
  35. package/dist/hooks/index.d.ts +0 -2
  36. package/dist/hooks/index.js +0 -3
  37. package/dist/index.d.ts +0 -9
  38. package/dist/index.js +0 -11
  39. package/dist/libs/contracts/dist/docs/PUBLISHING.docblock.js +0 -16
  40. package/dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js +0 -16
  41. package/dist/libs/contracts/dist/docs/index.js +0 -29
  42. package/dist/libs/contracts/dist/docs/presentations.js +0 -71
  43. package/dist/libs/contracts/dist/docs/registry.js +0 -44
  44. package/dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js +0 -16
  45. package/dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js +0 -16
  46. package/dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js +0 -16
  47. package/dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js +0 -16
  48. package/dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js +0 -16
  49. package/dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js +0 -80
  50. package/dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js +0 -57
  51. package/dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js +0 -16
  52. package/dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js +0 -357
  53. package/dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js +0 -37
  54. package/dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js +0 -16
  55. package/dist/libs/contracts/dist/docs/tech/schema/README.docblock.js +0 -20
  56. package/dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js +0 -48
  57. package/dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js +0 -79
  58. package/dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js +0 -84
  59. package/dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js +0 -45
  60. package/dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js +0 -67
  61. package/dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js +0 -40
  62. package/dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js +0 -69
  63. package/dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js +0 -47
  64. package/dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js +0 -62
  65. package/dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js +0 -155
  66. package/dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js +0 -20
  67. package/dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js +0 -101
  68. package/dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js +0 -20
  69. package/dist/libs/design-system/dist/_virtual/rolldown_runtime.js +0 -5
  70. package/dist/libs/design-system/dist/components/atoms/Button.js +0 -33
  71. package/dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js +0 -55
  72. package/dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -13
  73. package/dist/libs/ui-kit-web/dist/ui/progress.js +0 -23
  74. package/dist/libs/ui-kit-web/dist/ui/utils.js +0 -10
  75. package/dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js +0 -10
  76. package/dist/types.js +0 -0
package/tsdown.config.js CHANGED
@@ -1,17 +1,14 @@
1
1
  import { defineConfig } from 'tsdown';
2
- import { moduleLibrary, withDevExports } from '@lssm/tool.tsdown';
3
-
4
- export default defineConfig(() => ({
5
- ...moduleLibrary,
6
- ...withDevExports,
7
- }));
8
-
9
-
10
-
11
-
12
-
13
-
14
-
15
-
16
2
 
3
+ export default defineConfig({
4
+ entry: [
5
+ 'src/index.ts',
6
+ 'src/hooks/index.ts',
7
+ 'src/components/index.ts',
8
+ 'src/types.ts',
9
+ ],
10
+ format: 'esm',
11
+ target: 'esnext',
12
+ dts: true,
13
+ });
17
14
 
@@ -1,342 +0,0 @@
1
-
2
- $ tsdown
3
- ℹ tsdown v0.17.4 powered by rolldown v1.0.0-beta.53
4
- ℹ config file: /Users/tboutron/Documents/clients/lssm/monorepo-lssm/packages/contractspec/packages/examples/learning-journey-ui-shared/tsdown.config.js (unrun)
5
- ℹ entry: src/example.ts, src/index.ts, src/types.ts, src/components/BadgeDisplay.tsx, src/components/StreakCounter.tsx, src/components/ViewTabs.tsx, src/components/XpBar.tsx, src/components/index.ts, src/docs/index.ts, src/docs/learning-journey-ui-shared.docblock.ts, src/hooks/index.ts, src/hooks/useLearningProgress.ts
6
- ℹ target: esnext
7
- ℹ tsconfig: tsconfig.json
8
- ℹ Build start
9
- ℹ Cleaning 15 files
10
- ℹ dist/hooks/useLearningProgress.js  2.49 kB │ gzip: 0.88 kB
11
- ℹ dist/components/BadgeDisplay.js  1.47 kB │ gzip: 0.76 kB
12
- ℹ dist/components/XpBar.js  1.27 kB │ gzip: 0.60 kB
13
- ℹ dist/components/ViewTabs.js  1.09 kB │ gzip: 0.57 kB
14
- ℹ dist/components/StreakCounter.js  1.06 kB │ gzip: 0.57 kB
15
- ℹ dist/docs/learning-journey-ui-shared.docblock.js  0.76 kB │ gzip: 0.44 kB
16
- ℹ dist/example.js  0.71 kB │ gzip: 0.40 kB
17
- ℹ dist/index.js  0.53 kB │ gzip: 0.21 kB
18
- ℹ dist/components/index.js  0.24 kB │ gzip: 0.12 kB
19
- ℹ dist/hooks/index.js  0.10 kB │ gzip: 0.07 kB
20
- ℹ dist/docs/index.js  0.05 kB │ gzip: 0.07 kB
21
- ℹ dist/types.js  0.00 kB │ gzip: 0.02 kB
22
- ℹ dist/libs/contracts/dist/docs/accessibility_wcag_compliance_specs.docblock.js 16.91 kB │ gzip: 7.23 kB
23
- ℹ dist/libs/contracts/dist/docs/tech/schema/README.docblock.js 11.21 kB │ gzip: 4.33 kB
24
- ℹ dist/libs/contracts/dist/docs/tech/lifecycle-stage-system.docblock.js  9.96 kB │ gzip: 3.83 kB
25
- ℹ dist/libs/contracts/dist/docs/tech/llm/llm-integration.docblock.js  9.53 kB │ gzip: 3.50 kB
26
- ℹ dist/libs/contracts/dist/docs/tech/PHASE_1_QUICKSTART.docblock.js  9.22 kB │ gzip: 2.77 kB
27
- ℹ dist/libs/contracts/dist/docs/tech/PHASE_3_AUTO_EVOLUTION.docblock.js  6.16 kB │ gzip: 2.65 kB
28
- ℹ dist/libs/contracts/dist/docs/tech/templates/runtime.docblock.js  5.85 kB │ gzip: 2.66 kB
29
- ℹ dist/libs/contracts/dist/docs/tech/workflows/overview.docblock.js  5.66 kB │ gzip: 2.34 kB
30
- ℹ dist/libs/contracts/dist/docs/tech/PHASE_5_ZERO_TOUCH_OPERATIONS.docblock.js  4.62 kB │ gzip: 2.13 kB
31
- ℹ dist/libs/contracts/dist/docs/tech/telemetry-ingest.docblock.js  4.16 kB │ gzip: 1.78 kB
32
- ℹ dist/libs/contracts/dist/docs/tech/vscode-extension.docblock.js  3.85 kB │ gzip: 1.47 kB
33
- ℹ dist/libs/contracts/dist/docs/PUBLISHING.docblock.js  3.62 kB │ gzip: 1.65 kB
34
- ℹ dist/libs/contracts/dist/docs/tech/auth/better-auth-nextjs.docblock.js  3.60 kB │ gzip: 1.53 kB
35
- ℹ dist/libs/contracts/dist/docs/tech/studio/learning-journeys.docblock.js  3.33 kB │ gzip: 1.47 kB
36
- ℹ dist/libs/contracts/dist/docs/tech/studio/platform-admin-panel.docblock.js  3.30 kB │ gzip: 1.42 kB
37
- ℹ dist/libs/contracts/dist/docs/tech/PHASE_2_AI_NATIVE_OPERATIONS.docblock.js  3.25 kB │ gzip: 1.59 kB
38
- ℹ dist/libs/contracts/dist/docs/tech/PHASE_4_PERSONALIZATION_ENGINE.docblock.js  3.13 kB │ gzip: 1.47 kB
39
- ℹ dist/libs/contracts/dist/docs/tech/presentation-runtime.docblock.js  2.97 kB │ gzip: 1.38 kB
40
- ℹ dist/libs/contracts/dist/docs/tech/studio/project-routing.docblock.js  2.75 kB │ gzip: 1.22 kB
41
- ℹ dist/libs/contracts/dist/docs/tech/studio/team-invitations.docblock.js  2.40 kB │ gzip: 1.13 kB
42
- ℹ dist/libs/contracts/dist/docs/presentations.js  2.18 kB │ gzip: 0.77 kB
43
- ℹ dist/libs/design-system/dist/ui-kit-web/dist/ui/button.js  2.17 kB │ gzip: 0.92 kB
44
- ℹ dist/libs/contracts/dist/docs/tech/studio/workspaces.docblock.js  2.13 kB │ gzip: 1.02 kB
45
- ℹ dist/libs/contracts/dist/docs/tech/studio/learning-events.docblock.js  2.04 kB │ gzip: 0.97 kB
46
- ℹ dist/libs/contracts/dist/docs/tech/contracts/openapi-export.docblock.js  1.96 kB │ gzip: 0.97 kB
47
- ℹ dist/libs/contracts/dist/docs/tech/studio/project-access-teams.docblock.js  1.85 kB │ gzip: 0.87 kB
48
- ℹ dist/libs/contracts/dist/docs/tech/studio/workspace-ops.docblock.js  1.73 kB │ gzip: 0.82 kB
49
- ℹ dist/libs/contracts/dist/docs/index.js  1.58 kB │ gzip: 0.51 kB
50
- ℹ dist/libs/contracts/dist/docs/tech/mcp-endpoints.docblock.js  1.46 kB │ gzip: 0.77 kB
51
- ℹ dist/libs/design-system/dist/components/atoms/Button.js  1.37 kB │ gzip: 0.60 kB
52
- ℹ dist/libs/contracts/dist/docs/registry.js  1.25 kB │ gzip: 0.56 kB
53
- ℹ dist/libs/contracts/dist/docs/tech/studio/sandbox-unlogged.docblock.js  1.14 kB │ gzip: 0.65 kB
54
- ℹ dist/libs/ui-kit-web/dist/ui/progress.js  0.75 kB │ gzip: 0.43 kB
55
- ℹ dist/libs/design-system/dist/ui-kit-web/dist/ui-kit-core/dist/utils.js  0.37 kB │ gzip: 0.24 kB
56
- ℹ dist/libs/ui-kit-web/dist/ui-kit-core/dist/utils.js  0.22 kB │ gzip: 0.17 kB
57
- ℹ dist/libs/ui-kit-web/dist/ui/utils.js  0.21 kB │ gzip: 0.16 kB
58
- ℹ dist/libs/design-system/dist/_virtual/rolldown_runtime.js  0.17 kB │ gzip: 0.15 kB
59
- ℹ dist/types.d.ts  1.66 kB │ gzip: 0.59 kB
60
- ℹ dist/example.d.ts  0.94 kB │ gzip: 0.40 kB
61
- ℹ dist/index.d.ts  0.81 kB │ gzip: 0.25 kB
62
- ℹ dist/hooks/useLearningProgress.d.ts  0.66 kB │ gzip: 0.33 kB
63
- ℹ dist/components/StreakCounter.d.ts  0.31 kB │ gzip: 0.20 kB
64
- ℹ dist/components/BadgeDisplay.d.ts  0.30 kB │ gzip: 0.21 kB
65
- ℹ dist/components/ViewTabs.d.ts  0.30 kB │ gzip: 0.21 kB
66
- ℹ dist/components/XpBar.d.ts  0.29 kB │ gzip: 0.21 kB
67
- ℹ dist/components/index.d.ts  0.24 kB │ gzip: 0.12 kB
68
- ℹ dist/hooks/index.d.ts  0.10 kB │ gzip: 0.07 kB
69
- ℹ dist/docs/index.d.ts  0.01 kB │ gzip: 0.03 kB
70
- ℹ dist/docs/learning-journey-ui-shared.docblock.d.ts  0.01 kB │ gzip: 0.03 kB
71
- ℹ 61 files, total: 153.45 kB
72
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/Button.js
73
- ╭─[ ../../libs/design-system/dist/components/atoms/Button.js:4:25 ]
74
- │
75
- 4 │ import { Loader2 } from "lucide-react";
76
-  │ ───────┬──────
77
-  │ ╰──────── Module not found, treating it as an external dependency
78
-  │
79
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
80
- ───╯
81
-
82
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js
83
- ╭─[ ../../libs/design-system/dist/components/molecules/CommandSearchTrigger.js:8:28 ]
84
- │
85
- 8 │ import { SearchIcon } from "lucide-react";
86
-  │ ───────┬──────
87
-  │ ╰──────── Module not found, treating it as an external dependency
88
-  │
89
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
90
- ───╯
91
-
92
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/ActionButtons.js
93
- ╭─[ ../../libs/design-system/dist/components/atoms/ActionButtons.js:7:60 ]
94
- │
95
- 7 │ import { Edit, Eye, ToggleLeft, ToggleRight, Trash2 } from "lucide-react";
96
-  │ ───────┬──────
97
-  │ ╰──────── Module not found, treating it as an external dependency
98
-  │
99
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
100
- ───╯
101
-
102
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/MarketingHeaderMobile.js
103
- ╭─[ ../../libs/design-system/dist/components/organisms/MarketingHeaderMobile.js:12:22 ]
104
- │
105
- 12 │ import { Menu } from "lucide-react";
106
-  │ ───────┬──────
107
-  │ ╰──────── Module not found, treating it as an external dependency
108
-  │
109
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
110
- ────╯
111
-
112
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/Header.js
113
- ╭─[ ../../libs/design-system/dist/components/organisms/Header.js:14:22 ]
114
- │
115
- 14 │ import { Menu } from "lucide-react";
116
-  │ ───────┬──────
117
-  │ ╰──────── Module not found, treating it as an external dependency
118
-  │
119
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
120
- ────╯
121
-
122
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/organisms/MarketingHeader.js
123
- ╭─[ ../../libs/design-system/dist/components/organisms/MarketingHeader.js:19:22 ]
124
- │
125
- 19 │ import { Menu } from "lucide-react";
126
-  │ ───────┬──────
127
-  │ ╰──────── Module not found, treating it as an external dependency
128
-  │
129
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
130
- ────╯
131
-
132
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/DataChips.js
133
- ╭─[ ../../libs/design-system/dist/components/atoms/DataChips.js:4:41 ]
134
- │
135
- 4 │ import { Calendar, Clock, MapPin } from "lucide-react";
136
-  │ ───────┬──────
137
-  │ ╰──────── Module not found, treating it as an external dependency
138
-  │
139
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
140
- ───╯
141
-
142
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/atoms/LoaderCircular.js
143
- ╭─[ ../../libs/design-system/dist/components/atoms/LoaderCircular.js:5:25 ]
144
- │
145
- 5 │ import { Loader2 } from "lucide-react";
146
-  │ ───────┬──────
147
-  │ ╰──────── Module not found, treating it as an external dependency
148
-  │
149
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
150
- ───╯
151
-
152
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/marketing/MarketingComparisonSection.js
153
- ╭─[ ../../libs/design-system/dist/components/marketing/MarketingComparisonSection.js:6:29 ]
154
- │
155
- 6 │ import { CheckCircle } from "lucide-react";
156
-  │ ───────┬──────
157
-  │ ╰──────── Module not found, treating it as an external dependency
158
-  │
159
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
160
- ───╯
161
-
162
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/navigation-menu.js
163
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/navigation-menu.js:5:33 ]
164
- │
165
- 5 │ import { ChevronDownIcon } from "lucide-react";
166
-  │ ───────┬──────
167
-  │ ╰──────── Module not found, treating it as an external dependency
168
-  │
169
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
170
- ───╯
171
-
172
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js
173
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/radio-group.js:6:28 ]
174
- │
175
- 6 │ import { CircleIcon } from "lucide-react";
176
-  │ ───────┬──────
177
-  │ ╰──────── Module not found, treating it as an external dependency
178
-  │
179
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
180
- ───╯
181
-
182
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js
183
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/breadcrumb.js:5:46 ]
184
- │
185
- 5 │ import { ChevronRight, MoreHorizontal } from "lucide-react";
186
-  │ ───────┬──────
187
-  │ ╰──────── Module not found, treating it as an external dependency
188
-  │
189
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
190
- ───╯
191
-
192
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js
193
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/carousel.js:7:39 ]
194
- │
195
- 7 │ import { ArrowLeft, ArrowRight } from "lucide-react";
196
-  │ ───────┬──────
197
-  │ ╰──────── Module not found, treating it as an external dependency
198
-  │
199
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
200
- ───╯
201
-
202
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js
203
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sheet.js:6:23 ]
204
- │
205
- 6 │ import { XIcon } from "lucide-react";
206
-  │ ───────┬──────
207
-  │ ╰──────── Module not found, treating it as an external dependency
208
-  │
209
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
210
- ───╯
211
-
212
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js
213
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/checkbox.js:6:27 ]
214
- │
215
- 6 │ import { CheckIcon } from "lucide-react";
216
-  │ ───────┬──────
217
-  │ ╰──────── Module not found, treating it as an external dependency
218
-  │
219
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
220
- ───╯
221
-
222
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js
223
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dropdown-menu.js:6:39 ]
224
- │
225
- 6 │ import { CheckIcon, CircleIcon } from "lucide-react";
226
-  │ ───────┬──────
227
-  │ ╰──────── Module not found, treating it as an external dependency
228
-  │
229
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
230
- ───╯
231
-
232
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js
233
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/select.js:6:59 ]
234
- │
235
- 6 │ import { CheckIcon, ChevronDownIcon, ChevronUpIcon } from "lucide-react";
236
-  │ ───────┬──────
237
-  │ ╰──────── Module not found, treating it as an external dependency
238
-  │
239
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
240
- ───╯
241
-
242
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js
243
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/dialog.js:6:23 ]
244
- │
245
- 6 │ import { XIcon } from "lucide-react";
246
-  │ ───────┬──────
247
-  │ ╰──────── Module not found, treating it as an external dependency
248
-  │
249
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
250
- ───╯
251
-
252
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js
253
- ╭─[ ../../libs/design-system/dist/components/molecules/LangSwitchDropdown.js:4:23 ]
254
- │
255
- 4 │ import { Globe } from "lucide-react";
256
-  │ ───────┬──────
257
-  │ ╰──────── Module not found, treating it as an external dependency
258
-  │
259
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
260
- ───╯
261
-
262
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js
263
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/command.js:7:28 ]
264
- │
265
- 7 │ import { SearchIcon } from "lucide-react";
266
-  │ ───────┬──────
267
-  │ ╰──────── Module not found, treating it as an external dependency
268
-  │
269
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
270
- ───╯
271
-
272
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js
273
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/accordion.js:6:33 ]
274
- │
275
- 6 │ import { ChevronDownIcon } from "lucide-react";
276
-  │ ───────┬──────
277
-  │ ╰──────── Module not found, treating it as an external dependency
278
-  │
279
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
280
- ───╯
281
-
282
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js
283
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/organisms/ListPage/ListPage.js:9:58 ]
284
- │
285
- 9 │ import { AlertTriangle, Loader2, Plus, RefreshCcw } from "lucide-react";
286
-  │ ───────┬──────
287
-  │ ╰──────── Module not found, treating it as an external dependency
288
-  │
289
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
290
- ───╯
291
-
292
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js
293
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/pagination.js:5:59 ]
294
- │
295
- 5 │ import { ChevronLeft, ChevronRight, MoreHorizontal } from "lucide-react";
296
-  │ ───────┬──────
297
-  │ ╰──────── Module not found, treating it as an external dependency
298
-  │
299
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
300
- ───╯
301
-
302
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js
303
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/sidebar.js:12:8 ]
304
- │
305
- 12 │ import "lucide-react";
306
-  │ ───────┬──────
307
-  │ ╰──────── Module not found, treating it as an external dependency
308
-  │
309
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
310
- ────╯
311
-
312
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js
313
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/molecules/SearchAndFilter/SearchAndFilter.js:7:48 ]
314
- │
315
- 7 │ import { ChevronDown, ChevronUp, Filter } from "lucide-react";
316
-  │ ───────┬──────
317
-  │ ╰──────── Module not found, treating it as an external dependency
318
-  │
319
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
320
- ───╯
321
-
322
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js
323
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/atoms/Pagination/Pagination.js:5:72 ]
324
- │
325
- 5 │ import { ChevronLeft, ChevronRight, ChevronsLeft, ChevronsRight } from "lucide-react";
326
-  │ ───────┬──────
327
-  │ ╰──────── Module not found, treating it as an external dependency
328
-  │
329
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
330
- ───╯
331
-
332
- [UNRESOLVED_IMPORT] Warning: Could not resolve 'lucide-react' in ../../libs/design-system/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js
333
- ╭─[ ../../libs/design-system/dist/ui-kit-web/dist/ui/atoms/SearchInput/SearchInput.js:5:27 ]
334
- │
335
- 5 │ import { Search, X } from "lucide-react";
336
-  │ ───────┬──────
337
-  │ ╰──────── Module not found, treating it as an external dependency
338
-  │
339
-  │ Help: The "main" field here was ignored. Main fields must be configured explicitly when using the "neutral" platform.
340
- ───╯
341
-
342
- ✔ Build complete in 1504ms
package/CHANGELOG.md DELETED
@@ -1,16 +0,0 @@
1
- # @lssm/example.learning-journey-ui-shared
2
-
3
- ## 0.0.0-canary-20251217083314
4
-
5
- ### Minor Changes
6
-
7
- - 66a5dfd: initial release
8
-
9
- ### Patch Changes
10
-
11
- - Updated dependencies [66a5dfd]
12
- - @lssm/lib.contracts@0.0.0-canary-20251217083314
13
- - @lssm/lib.design-system@0.0.0-canary-20251217083314
14
- - @lssm/lib.schema@0.0.0-canary-20251217083314
15
- - @lssm/lib.ui-kit-web@0.0.0-canary-20251217083314
16
- - @lssm/module.learning-journey@0.0.0-canary-20251217083314
@@ -1,11 +0,0 @@
1
- import { BadgeDisplayProps } from "../types.js";
2
- import * as react_jsx_runtime2 from "react/jsx-runtime";
3
-
4
- //#region src/components/BadgeDisplay.d.ts
5
- declare function BadgeDisplay({
6
- badges,
7
- maxVisible,
8
- size
9
- }: BadgeDisplayProps): react_jsx_runtime2.JSX.Element;
10
- //#endregion
11
- export { BadgeDisplay };
@@ -1,44 +0,0 @@
1
- 'use client';
2
-
3
- import { cn } from "../libs/ui-kit-web/dist/ui/utils.js";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
-
6
- //#region src/components/BadgeDisplay.tsx
7
- const BADGE_ICONS = {
8
- studio_first_30m: "🎯",
9
- platform_tour: "🗺️",
10
- crm_first_win: "🏆",
11
- drill_master: "🧠",
12
- coach_listener: "👂",
13
- quest_complete: "⭐",
14
- streak_7: "🔥",
15
- streak_30: "💎",
16
- default: "🏅"
17
- };
18
- const sizeStyles = {
19
- sm: "h-6 w-6 text-sm",
20
- md: "h-8 w-8 text-base",
21
- lg: "h-10 w-10 text-lg"
22
- };
23
- function BadgeDisplay({ badges, maxVisible = 5, size = "md" }) {
24
- const visibleBadges = badges.slice(0, maxVisible);
25
- const hiddenCount = badges.length - maxVisible;
26
- if (badges.length === 0) return /* @__PURE__ */ jsx("div", {
27
- className: "text-muted-foreground text-sm",
28
- children: "No badges earned yet"
29
- });
30
- return /* @__PURE__ */ jsxs("div", {
31
- className: "flex items-center gap-1",
32
- children: [visibleBadges.map((badge) => /* @__PURE__ */ jsx("div", {
33
- className: cn("flex items-center justify-center rounded-full bg-gradient-to-br from-amber-400/20 to-amber-600/20", sizeStyles[size]),
34
- title: badge.replace(/_/g, " "),
35
- children: BADGE_ICONS[badge] ?? BADGE_ICONS.default
36
- }, badge)), hiddenCount > 0 && /* @__PURE__ */ jsxs("div", {
37
- className: cn("text-muted-foreground bg-muted flex items-center justify-center rounded-full", sizeStyles[size], "text-xs font-medium"),
38
- children: ["+", hiddenCount]
39
- })]
40
- });
41
- }
42
-
43
- //#endregion
44
- export { BadgeDisplay };
@@ -1,11 +0,0 @@
1
- import { StreakCounterProps } from "../types.js";
2
- import * as react_jsx_runtime1 from "react/jsx-runtime";
3
-
4
- //#region src/components/StreakCounter.d.ts
5
- declare function StreakCounter({
6
- days,
7
- isActive,
8
- size
9
- }: StreakCounterProps): react_jsx_runtime1.JSX.Element;
10
- //#endregion
11
- export { StreakCounter };
@@ -1,45 +0,0 @@
1
- 'use client';
2
-
3
- import { cn } from "../libs/ui-kit-web/dist/ui/utils.js";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
-
6
- //#region src/components/StreakCounter.tsx
7
- const sizeStyles = {
8
- sm: {
9
- container: "gap-1 px-2 py-1",
10
- icon: "text-base",
11
- text: "text-xs"
12
- },
13
- md: {
14
- container: "gap-1.5 px-3 py-1.5",
15
- icon: "text-lg",
16
- text: "text-sm"
17
- },
18
- lg: {
19
- container: "gap-2 px-4 py-2",
20
- icon: "text-xl",
21
- text: "text-base"
22
- }
23
- };
24
- function StreakCounter({ days, isActive = true, size = "md" }) {
25
- const styles = sizeStyles[size];
26
- return /* @__PURE__ */ jsxs("div", {
27
- className: cn("inline-flex items-center rounded-full font-semibold", styles.container, isActive ? "bg-orange-500/10 text-orange-500" : "bg-muted text-muted-foreground"),
28
- children: [/* @__PURE__ */ jsx("span", {
29
- className: styles.icon,
30
- role: "img",
31
- "aria-label": "streak",
32
- children: "🔥"
33
- }), /* @__PURE__ */ jsxs("span", {
34
- className: styles.text,
35
- children: [
36
- days,
37
- " ",
38
- days === 1 ? "day" : "days"
39
- ]
40
- })]
41
- });
42
- }
43
-
44
- //#endregion
45
- export { StreakCounter };
@@ -1,11 +0,0 @@
1
- import { ViewTabsProps } from "../types.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/components/ViewTabs.d.ts
5
- declare function ViewTabs({
6
- currentView,
7
- onViewChange,
8
- availableViews
9
- }: ViewTabsProps): react_jsx_runtime0.JSX.Element;
10
- //#endregion
11
- export { ViewTabs };
@@ -1,48 +0,0 @@
1
- 'use client';
2
-
3
- import { Button$1 } from "../libs/design-system/dist/components/atoms/Button.js";
4
- import { jsx, jsxs } from "react/jsx-runtime";
5
-
6
- //#region src/components/ViewTabs.tsx
7
- const VIEW_LABELS = {
8
- overview: {
9
- label: "Overview",
10
- icon: "📊"
11
- },
12
- steps: {
13
- label: "Steps",
14
- icon: "📝"
15
- },
16
- progress: {
17
- label: "Progress",
18
- icon: "📈"
19
- },
20
- timeline: {
21
- label: "Timeline",
22
- icon: "📅"
23
- }
24
- };
25
- const DEFAULT_VIEWS = [
26
- "overview",
27
- "steps",
28
- "progress",
29
- "timeline"
30
- ];
31
- function ViewTabs({ currentView, onViewChange, availableViews = DEFAULT_VIEWS }) {
32
- return /* @__PURE__ */ jsx("div", {
33
- className: "flex flex-wrap gap-2",
34
- children: availableViews.map((view) => {
35
- const { label, icon } = VIEW_LABELS[view];
36
- return /* @__PURE__ */ jsxs(Button$1, {
37
- variant: currentView === view ? "default" : "outline",
38
- size: "sm",
39
- onClick: () => onViewChange(view),
40
- className: "gap-1.5",
41
- children: [/* @__PURE__ */ jsx("span", { children: icon }), /* @__PURE__ */ jsx("span", { children: label })]
42
- }, view);
43
- })
44
- });
45
- }
46
-
47
- //#endregion
48
- export { ViewTabs };
@@ -1,13 +0,0 @@
1
- import { XpBarProps } from "../types.js";
2
- import * as react_jsx_runtime0 from "react/jsx-runtime";
3
-
4
- //#region src/components/XpBar.d.ts
5
- declare function XpBar({
6
- current,
7
- max,
8
- level,
9
- showLabel,
10
- size
11
- }: XpBarProps): react_jsx_runtime0.JSX.Element;
12
- //#endregion
13
- export { XpBar };