@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/.turbo/turbo-build.log
CHANGED
|
@@ -1,22 +1,22 @@
|
|
|
1
1
|
$ bun build:bundle && bun build:types
|
|
2
2
|
$ tsdown
|
|
3
|
-
[34mℹ[39m tsdown [2mv0.17.
|
|
3
|
+
[34mℹ[39m tsdown [2mv0.17.4[22m powered by rolldown [2mv1.0.0-beta.53[22m
|
|
4
4
|
[34mℹ[39m config file: [4m/home/runner/work/contractspec/contractspec/packages/examples/learning-journey-ui-coaching/tsdown.config.js[24m
|
|
5
5
|
[34mℹ[39m entry: [34msrc/index.ts, src/views/index.ts, src/components/index.ts[39m
|
|
6
6
|
[34mℹ[39m target: [34mesnext[39m
|
|
7
7
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
8
8
|
[34mℹ[39m Build start
|
|
9
|
-
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [
|
|
10
|
-
[34mℹ[39m [2mdist/[22m[1mviews/index.mjs[22m [2m
|
|
11
|
-
[34mℹ[39m [2mdist/[22m[1mcomponents/index.mjs[22m [2m
|
|
12
|
-
[34mℹ[39m [2mdist/[22mviews-BTGcWRSz.mjs [
|
|
13
|
-
[34mℹ[39m [2mdist/[22mTipFeed-_1oKR35X.mjs [2m
|
|
14
|
-
[34mℹ[39m [2mdist/[22mcomponents-kh0CpIG2.mjs [2m
|
|
15
|
-
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m
|
|
16
|
-
[34mℹ[39m [2mdist/[22m[32m[1mviews/index.d.mts[22m[39m [2m
|
|
17
|
-
[34mℹ[39m [2mdist/[22m[32m[1mcomponents/index.d.mts[22m[39m [2m
|
|
18
|
-
[34mℹ[39m [2mdist/[22m[32mindex-
|
|
19
|
-
[34mℹ[39m [2mdist/[22m[32mindex-BjhNDTSh.d.mts[39m [2m
|
|
20
|
-
[34mℹ[39m 11 files, total:
|
|
21
|
-
[32m✔[39m Build complete in [
|
|
9
|
+
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m123.78 kB[22m [2m│ gzip: 41.01 kB[22m
|
|
10
|
+
[34mℹ[39m [2mdist/[22m[1mviews/index.mjs[22m [2m 0.20 kB[22m [2m│ gzip: 0.15 kB[22m
|
|
11
|
+
[34mℹ[39m [2mdist/[22m[1mcomponents/index.mjs[22m [2m 0.17 kB[22m [2m│ gzip: 0.14 kB[22m
|
|
12
|
+
[34mℹ[39m [2mdist/[22mviews-BTGcWRSz.mjs [2m 16.11 kB[22m [2m│ gzip: 2.79 kB[22m
|
|
13
|
+
[34mℹ[39m [2mdist/[22mTipFeed-_1oKR35X.mjs [2m 8.34 kB[22m [2m│ gzip: 2.01 kB[22m
|
|
14
|
+
[34mℹ[39m [2mdist/[22mcomponents-kh0CpIG2.mjs [2m 0.01 kB[22m [2m│ gzip: 0.03 kB[22m
|
|
15
|
+
[34mℹ[39m [2mdist/[22m[32m[1mindex.d.mts[22m[39m [2m 1.75 kB[22m [2m│ gzip: 0.70 kB[22m
|
|
16
|
+
[34mℹ[39m [2mdist/[22m[32m[1mviews/index.d.mts[22m[39m [2m 0.16 kB[22m [2m│ gzip: 0.13 kB[22m
|
|
17
|
+
[34mℹ[39m [2mdist/[22m[32m[1mcomponents/index.d.mts[22m[39m [2m 0.14 kB[22m [2m│ gzip: 0.11 kB[22m
|
|
18
|
+
[34mℹ[39m [2mdist/[22m[32mindex-DJtCFWjr.d.mts[39m [2m 1.16 kB[22m [2m│ gzip: 0.44 kB[22m
|
|
19
|
+
[34mℹ[39m [2mdist/[22m[32mindex-BjhNDTSh.d.mts[39m [2m 0.94 kB[22m [2m│ gzip: 0.34 kB[22m
|
|
20
|
+
[34mℹ[39m 11 files, total: 152.77 kB
|
|
21
|
+
[32m✔[39m Build complete in [32m14750ms[39m
|
|
22
22
|
$ tsc --noEmit
|
package/CHANGELOG.md
CHANGED
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
# @lssm/example.learning-journey-ui-coaching
|
|
2
2
|
|
|
3
|
-
## 0.0.0-canary-
|
|
3
|
+
## 0.0.0-canary-20251215220103
|
|
4
4
|
|
|
5
5
|
### Patch Changes
|
|
6
6
|
|
|
7
7
|
- Updated dependencies [3086383]
|
|
8
|
-
- @lssm/lib.design-system@0.0.0-canary-
|
|
9
|
-
- @lssm/lib.ui-kit-web@0.0.0-canary-
|
|
10
|
-
- @lssm/example.learning-journey
|
|
11
|
-
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-
|
|
12
|
-
- @lssm/example.learning-journey
|
|
13
|
-
- @lssm/module.learning-journey@0.0.0-canary-
|
|
8
|
+
- @lssm/lib.design-system@0.0.0-canary-20251215220103
|
|
9
|
+
- @lssm/lib.ui-kit-web@0.0.0-canary-20251215220103
|
|
10
|
+
- @lssm/example.learning-journey-crm-onboarding@0.0.0-canary-20251215220103
|
|
11
|
+
- @lssm/example.learning-journey-ui-shared@0.0.0-canary-20251215220103
|
|
12
|
+
- @lssm/example.learning-journey-ambient-coach@0.0.0-canary-20251215220103
|
|
13
|
+
- @lssm/module.learning-journey@0.0.0-canary-20251215220103
|
package/README.md
CHANGED
|
@@ -13,7 +13,7 @@ Contextual coaching UI with tip cards and engagement tracking.
|
|
|
13
13
|
|
|
14
14
|
```tsx
|
|
15
15
|
import { CoachingMiniApp } from '@lssm/example.learning-journey-ui-coaching';
|
|
16
|
-
import { moneyAmbientCoachTrack } from '@lssm/example.learning-journey
|
|
16
|
+
import { moneyAmbientCoachTrack } from '@lssm/example.learning-journey-ambient-coach/track';
|
|
17
17
|
|
|
18
18
|
function MyApp() {
|
|
19
19
|
return (
|
|
@@ -27,4 +27,3 @@ function MyApp() {
|
|
|
27
27
|
- **TipCard** - Individual coaching tip with action/dismiss options
|
|
28
28
|
- **EngagementMeter** - Donut chart showing actioned/acknowledged/pending
|
|
29
29
|
- **TipFeed** - Timeline feed of tip activity
|
|
30
|
-
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { n as EngagementMeter, r as TipCard, t as TipFeed } from "../index-
|
|
1
|
+
import { n as EngagementMeter, r as TipCard, t as TipFeed } from "../index-DJtCFWjr.mjs";
|
|
2
2
|
export { EngagementMeter, TipCard, TipFeed };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import * as
|
|
1
|
+
import * as react_jsx_runtime1 from "react/jsx-runtime";
|
|
2
2
|
import { LearningJourneyStepSpec } from "@lssm/module.learning-journey/track-spec";
|
|
3
3
|
|
|
4
4
|
//#region src/components/TipCard.d.ts
|
|
@@ -15,7 +15,7 @@ declare function TipCard({
|
|
|
15
15
|
isCurrent,
|
|
16
16
|
onComplete,
|
|
17
17
|
onDismiss
|
|
18
|
-
}: TipCardProps):
|
|
18
|
+
}: TipCardProps): react_jsx_runtime1.JSX.Element;
|
|
19
19
|
//#endregion
|
|
20
20
|
//#region src/components/EngagementMeter.d.ts
|
|
21
21
|
interface EngagementMeterProps {
|
|
@@ -29,7 +29,7 @@ declare function EngagementMeter({
|
|
|
29
29
|
actioned,
|
|
30
30
|
pending,
|
|
31
31
|
streak
|
|
32
|
-
}: EngagementMeterProps):
|
|
32
|
+
}: EngagementMeterProps): react_jsx_runtime1.JSX.Element;
|
|
33
33
|
//#endregion
|
|
34
34
|
//#region src/components/TipFeed.d.ts
|
|
35
35
|
interface TipFeedItem {
|
|
@@ -42,6 +42,6 @@ interface TipFeedProps {
|
|
|
42
42
|
}
|
|
43
43
|
declare function TipFeed({
|
|
44
44
|
items
|
|
45
|
-
}: TipFeedProps):
|
|
45
|
+
}: TipFeedProps): react_jsx_runtime1.JSX.Element;
|
|
46
46
|
//#endregion
|
|
47
47
|
export { EngagementMeter as n, TipCard as r, TipFeed as t };
|
package/dist/index.d.mts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { n as EngagementMeter, r as TipCard, t as TipFeed } from "./index-
|
|
1
|
+
import { n as EngagementMeter, r as TipCard, t as TipFeed } from "./index-DJtCFWjr.mjs";
|
|
2
2
|
import { i as Overview, n as ProgressView, r as Steps, t as Timeline } from "./index-BjhNDTSh.mjs";
|
|
3
3
|
import { LearningMiniAppProps } from "@lssm/example.learning-journey-ui-shared";
|
|
4
|
-
import * as
|
|
4
|
+
import * as react_jsx_runtime0 from "react/jsx-runtime";
|
|
5
5
|
|
|
6
6
|
//#region src/CoachingMiniApp.d.ts
|
|
7
7
|
type CoachingMiniAppProps = Omit<LearningMiniAppProps, 'progress'> & {
|
|
@@ -13,6 +13,37 @@ declare function CoachingMiniApp({
|
|
|
13
13
|
onStepComplete: externalOnStepComplete,
|
|
14
14
|
onViewChange,
|
|
15
15
|
initialView
|
|
16
|
-
}: CoachingMiniAppProps):
|
|
16
|
+
}: CoachingMiniAppProps): react_jsx_runtime0.JSX.Element;
|
|
17
17
|
//#endregion
|
|
18
|
-
|
|
18
|
+
//#region src/example.d.ts
|
|
19
|
+
declare const example: {
|
|
20
|
+
readonly id: "learning-journey-ui-coaching";
|
|
21
|
+
readonly title: "Learning Journey UI — Coaching";
|
|
22
|
+
readonly summary: "UI mini-app for coaching patterns: tips, engagement meter, progress.";
|
|
23
|
+
readonly tags: readonly ["learning", "ui", "coaching"];
|
|
24
|
+
readonly kind: "ui";
|
|
25
|
+
readonly visibility: "public";
|
|
26
|
+
readonly docs: {
|
|
27
|
+
readonly rootDocId: "docs.examples.learning-journey-ui-coaching";
|
|
28
|
+
};
|
|
29
|
+
readonly entrypoints: {
|
|
30
|
+
readonly packageName: "@lssm/example.learning-journey-ui-coaching";
|
|
31
|
+
readonly docs: "./docs";
|
|
32
|
+
};
|
|
33
|
+
readonly surfaces: {
|
|
34
|
+
readonly templates: true;
|
|
35
|
+
readonly sandbox: {
|
|
36
|
+
readonly enabled: true;
|
|
37
|
+
readonly modes: readonly ["playground", "markdown"];
|
|
38
|
+
};
|
|
39
|
+
readonly studio: {
|
|
40
|
+
readonly enabled: true;
|
|
41
|
+
readonly installable: true;
|
|
42
|
+
};
|
|
43
|
+
readonly mcp: {
|
|
44
|
+
readonly enabled: true;
|
|
45
|
+
};
|
|
46
|
+
};
|
|
47
|
+
};
|
|
48
|
+
//#endregion
|
|
49
|
+
export { CoachingMiniApp, EngagementMeter, Overview, ProgressView as Progress, Steps, Timeline, TipCard, TipFeed, example };
|