@contractspec/lib.example-shared-ui 6.0.16 → 6.0.18

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 (86) hide show
  1. package/.turbo/turbo-build.log +81 -81
  2. package/CHANGELOG.md +32 -0
  3. package/dist/EvolutionDashboard.js +1 -803
  4. package/dist/EvolutionSidebar.js +1 -531
  5. package/dist/LocalDataIndicator.js +1 -62
  6. package/dist/MarkdownView.js +1 -207
  7. package/dist/OverlayContextProvider.js +1 -202
  8. package/dist/PersonalizationInsights.js +1 -455
  9. package/dist/SaveToStudioButton.js +1 -73
  10. package/dist/SpecDrivenTemplateShell.js +1 -197
  11. package/dist/SpecEditorPanel.js +17 -358
  12. package/dist/TemplateShell.js +1 -189
  13. package/dist/browser/EvolutionDashboard.js +1 -803
  14. package/dist/browser/EvolutionSidebar.js +1 -531
  15. package/dist/browser/LocalDataIndicator.js +1 -62
  16. package/dist/browser/MarkdownView.js +1 -207
  17. package/dist/browser/OverlayContextProvider.js +1 -202
  18. package/dist/browser/PersonalizationInsights.js +1 -455
  19. package/dist/browser/SaveToStudioButton.js +1 -73
  20. package/dist/browser/SpecDrivenTemplateShell.js +1 -197
  21. package/dist/browser/SpecEditorPanel.js +17 -358
  22. package/dist/browser/TemplateShell.js +1 -189
  23. package/dist/browser/bundles/ExampleTemplateBundle.js +1 -85
  24. package/dist/browser/bundles/index.js +1 -85
  25. package/dist/browser/hooks/index.js +40 -1145
  26. package/dist/browser/hooks/useBehaviorTracking.js +1 -157
  27. package/dist/browser/hooks/useEvolution.js +1 -260
  28. package/dist/browser/hooks/useRegistryTemplates.js +1 -31
  29. package/dist/browser/hooks/useSpecContent.js +17 -218
  30. package/dist/browser/hooks/useWorkflowComposer.js +24 -483
  31. package/dist/browser/index.js +40 -3110
  32. package/dist/browser/lib/component-registry.js +1 -42
  33. package/dist/browser/lib/runtime-context.js +1 -15
  34. package/dist/browser/markdown/formatPresentationName.js +1 -9
  35. package/dist/browser/markdown/useMarkdownPresentation.js +1 -65
  36. package/dist/browser/utils/fetchPresentationData.js +1 -15
  37. package/dist/browser/utils/generateSpecFromTemplate.js +16 -62
  38. package/dist/browser/utils/index.js +16 -76
  39. package/dist/bundles/ExampleTemplateBundle.js +1 -85
  40. package/dist/bundles/index.js +1 -85
  41. package/dist/hooks/index.js +40 -1145
  42. package/dist/hooks/useBehaviorTracking.js +1 -157
  43. package/dist/hooks/useEvolution.js +1 -260
  44. package/dist/hooks/useRegistryTemplates.js +1 -31
  45. package/dist/hooks/useSpecContent.js +17 -218
  46. package/dist/hooks/useWorkflowComposer.js +24 -483
  47. package/dist/index.js +40 -3110
  48. package/dist/lib/component-registry.js +1 -42
  49. package/dist/lib/runtime-context.d.ts +2 -1
  50. package/dist/lib/runtime-context.js +1 -15
  51. package/dist/lib/singletons.test.d.ts +1 -0
  52. package/dist/markdown/formatPresentationName.js +1 -9
  53. package/dist/markdown/useMarkdownPresentation.js +1 -65
  54. package/dist/node/EvolutionDashboard.js +1 -803
  55. package/dist/node/EvolutionSidebar.js +1 -531
  56. package/dist/node/LocalDataIndicator.js +1 -62
  57. package/dist/node/MarkdownView.js +1 -207
  58. package/dist/node/OverlayContextProvider.js +1 -202
  59. package/dist/node/PersonalizationInsights.js +1 -455
  60. package/dist/node/SaveToStudioButton.js +1 -73
  61. package/dist/node/SpecDrivenTemplateShell.js +1 -197
  62. package/dist/node/SpecEditorPanel.js +17 -358
  63. package/dist/node/TemplateShell.js +1 -189
  64. package/dist/node/bundles/ExampleTemplateBundle.js +1 -85
  65. package/dist/node/bundles/index.js +1 -85
  66. package/dist/node/hooks/index.js +40 -1145
  67. package/dist/node/hooks/useBehaviorTracking.js +1 -157
  68. package/dist/node/hooks/useEvolution.js +1 -260
  69. package/dist/node/hooks/useRegistryTemplates.js +1 -31
  70. package/dist/node/hooks/useSpecContent.js +17 -218
  71. package/dist/node/hooks/useWorkflowComposer.js +24 -483
  72. package/dist/node/index.js +40 -3110
  73. package/dist/node/lib/component-registry.js +1 -42
  74. package/dist/node/lib/runtime-context.js +1 -15
  75. package/dist/node/markdown/formatPresentationName.js +1 -9
  76. package/dist/node/markdown/useMarkdownPresentation.js +1 -65
  77. package/dist/node/utils/fetchPresentationData.js +1 -15
  78. package/dist/node/utils/generateSpecFromTemplate.js +16 -62
  79. package/dist/node/utils/index.js +16 -76
  80. package/dist/utils/fetchPresentationData.js +1 -15
  81. package/dist/utils/generateSpecFromTemplate.js +16 -62
  82. package/dist/utils/index.js +16 -76
  83. package/package.json +14 -14
  84. package/src/lib/component-registry.tsx +16 -1
  85. package/src/lib/runtime-context.tsx +17 -3
  86. package/src/lib/singletons.test.ts +51 -0
@@ -2,99 +2,99 @@ $ contractspec-bun-build prebuild
2
2
  $ bun run build:bundle && bun run build:types
3
3
  $ contractspec-bun-build transpile
4
4
  [contractspec-bun-build] transpile target=bun root=src entries=28 noBundle=false
5
- Bundled 28 modules in 47ms
5
+ Bundled 28 modules in 37ms
6
6
 
7
- ./EvolutionDashboard.js 31.40 KB (entry point)
8
- ./index.js 119.50 KB (entry point)
7
+ ./EvolutionDashboard.js 14.12 KB (entry point)
8
+ ./index.js 58.73 KB (entry point)
9
9
  ./overlay-types.js 8 bytes (entry point)
10
- utils/index.js 10.1 KB (entry point)
11
- utils/fetchPresentationData.js 461 bytes (entry point)
12
- lib/component-registry.js 1.23 KB (entry point)
10
+ utils/index.js 9.13 KB (entry point)
11
+ utils/fetchPresentationData.js 277 bytes (entry point)
12
+ lib/component-registry.js 0.71 KB (entry point)
13
13
  lib/types.js 8 bytes (entry point)
14
- ./SpecEditorPanel.js 19.64 KB (entry point)
15
- ./TemplateShell.js 6.84 KB (entry point)
16
- bundles/index.js 2.44 KB (entry point)
17
- bundles/ExampleTemplateBundle.js 2.44 KB (entry point)
18
- hooks/index.js 44.1 KB (entry point)
19
- hooks/useWorkflowComposer.js 13.67 KB (entry point)
20
- hooks/useSpecContent.js 14.30 KB (entry point)
21
- utils/generateSpecFromTemplate.js 9.65 KB (entry point)
22
- hooks/useRegistryTemplates.js 0.94 KB (entry point)
23
- ./EvolutionSidebar.js 21.24 KB (entry point)
24
- hooks/useEvolution.js 9.50 KB (entry point)
25
- ./MarkdownView.js 7.0 KB (entry point)
26
- markdown/formatPresentationName.js 314 bytes (entry point)
27
- markdown/useMarkdownPresentation.js 2.1 KB (entry point)
28
- ./OverlayContextProvider.js 5.89 KB (entry point)
29
- ./PersonalizationInsights.js 17.74 KB (entry point)
30
- hooks/useBehaviorTracking.js 5.53 KB (entry point)
31
- ./SpecDrivenTemplateShell.js 6.90 KB (entry point)
32
- ./LocalDataIndicator.js 2.20 KB (entry point)
33
- ./SaveToStudioButton.js 2.33 KB (entry point)
34
- lib/runtime-context.js 430 bytes (entry point)
14
+ ./SpecEditorPanel.js 13.35 KB (entry point)
15
+ ./TemplateShell.js 3.24 KB (entry point)
16
+ bundles/index.js 1.55 KB (entry point)
17
+ bundles/ExampleTemplateBundle.js 1.55 KB (entry point)
18
+ hooks/index.js 26.81 KB (entry point)
19
+ hooks/useWorkflowComposer.js 6.91 KB (entry point)
20
+ hooks/useSpecContent.js 11.0 KB (entry point)
21
+ utils/generateSpecFromTemplate.js 8.87 KB (entry point)
22
+ hooks/useRegistryTemplates.js 0.58 KB (entry point)
23
+ ./EvolutionSidebar.js 10.0 KB (entry point)
24
+ hooks/useEvolution.js 5.37 KB (entry point)
25
+ ./MarkdownView.js 3.13 KB (entry point)
26
+ markdown/formatPresentationName.js 171 bytes (entry point)
27
+ markdown/useMarkdownPresentation.js 0.87 KB (entry point)
28
+ ./OverlayContextProvider.js 2.98 KB (entry point)
29
+ ./PersonalizationInsights.js 7.83 KB (entry point)
30
+ hooks/useBehaviorTracking.js 2.94 KB (entry point)
31
+ ./SpecDrivenTemplateShell.js 3.31 KB (entry point)
32
+ ./LocalDataIndicator.js 1.25 KB (entry point)
33
+ ./SaveToStudioButton.js 1.34 KB (entry point)
34
+ lib/runtime-context.js 390 bytes (entry point)
35
35
 
36
36
  [contractspec-bun-build] transpile target=node root=src entries=28 noBundle=false
37
- Bundled 28 modules in 55ms
37
+ Bundled 28 modules in 65ms
38
38
 
39
- ./EvolutionDashboard.js 31.38 KB (entry point)
40
- ./index.js 119.44 KB (entry point)
39
+ ./EvolutionDashboard.js 14.1 KB (entry point)
40
+ ./index.js 58.67 KB (entry point)
41
41
  ./overlay-types.js 0 KB (entry point)
42
- utils/index.js 10.1 KB (entry point)
43
- utils/fetchPresentationData.js 453 bytes (entry point)
44
- lib/component-registry.js 1.22 KB (entry point)
42
+ utils/index.js 9.12 KB (entry point)
43
+ utils/fetchPresentationData.js 269 bytes (entry point)
44
+ lib/component-registry.js 0.70 KB (entry point)
45
45
  lib/types.js 0 KB (entry point)
46
- ./SpecEditorPanel.js 19.63 KB (entry point)
47
- ./TemplateShell.js 6.83 KB (entry point)
48
- bundles/index.js 2.43 KB (entry point)
49
- bundles/ExampleTemplateBundle.js 2.43 KB (entry point)
50
- hooks/index.js 44.1 KB (entry point)
51
- hooks/useWorkflowComposer.js 13.67 KB (entry point)
52
- hooks/useSpecContent.js 14.29 KB (entry point)
53
- utils/generateSpecFromTemplate.js 9.64 KB (entry point)
54
- hooks/useRegistryTemplates.js 0.93 KB (entry point)
55
- ./EvolutionSidebar.js 21.23 KB (entry point)
56
- hooks/useEvolution.js 9.50 KB (entry point)
57
- ./MarkdownView.js 7.0 KB (entry point)
58
- markdown/formatPresentationName.js 306 bytes (entry point)
59
- markdown/useMarkdownPresentation.js 2.0 KB (entry point)
60
- ./OverlayContextProvider.js 5.88 KB (entry point)
61
- ./PersonalizationInsights.js 17.71 KB (entry point)
62
- hooks/useBehaviorTracking.js 5.52 KB (entry point)
63
- ./SpecDrivenTemplateShell.js 6.88 KB (entry point)
64
- ./LocalDataIndicator.js 2.19 KB (entry point)
65
- ./SaveToStudioButton.js 2.32 KB (entry point)
66
- lib/runtime-context.js 422 bytes (entry point)
46
+ ./SpecEditorPanel.js 13.34 KB (entry point)
47
+ ./TemplateShell.js 3.22 KB (entry point)
48
+ bundles/index.js 1.54 KB (entry point)
49
+ bundles/ExampleTemplateBundle.js 1.54 KB (entry point)
50
+ hooks/index.js 26.80 KB (entry point)
51
+ hooks/useWorkflowComposer.js 6.90 KB (entry point)
52
+ hooks/useSpecContent.js 11.0 KB (entry point)
53
+ utils/generateSpecFromTemplate.js 8.86 KB (entry point)
54
+ hooks/useRegistryTemplates.js 0.57 KB (entry point)
55
+ ./EvolutionSidebar.js 10.0 KB (entry point)
56
+ hooks/useEvolution.js 5.36 KB (entry point)
57
+ ./MarkdownView.js 3.13 KB (entry point)
58
+ markdown/formatPresentationName.js 163 bytes (entry point)
59
+ markdown/useMarkdownPresentation.js 0.87 KB (entry point)
60
+ ./OverlayContextProvider.js 2.97 KB (entry point)
61
+ ./PersonalizationInsights.js 7.80 KB (entry point)
62
+ hooks/useBehaviorTracking.js 2.93 KB (entry point)
63
+ ./SpecDrivenTemplateShell.js 3.29 KB (entry point)
64
+ ./LocalDataIndicator.js 1.24 KB (entry point)
65
+ ./SaveToStudioButton.js 1.33 KB (entry point)
66
+ lib/runtime-context.js 382 bytes (entry point)
67
67
 
68
68
  [contractspec-bun-build] transpile target=browser root=src entries=28 noBundle=false
69
- Bundled 28 modules in 63ms
69
+ Bundled 28 modules in 33ms
70
70
 
71
- ./EvolutionDashboard.js 31.38 KB (entry point)
72
- ./index.js 119.44 KB (entry point)
71
+ ./EvolutionDashboard.js 14.1 KB (entry point)
72
+ ./index.js 58.67 KB (entry point)
73
73
  ./overlay-types.js 0 KB (entry point)
74
- utils/index.js 10.1 KB (entry point)
75
- utils/fetchPresentationData.js 453 bytes (entry point)
76
- lib/component-registry.js 1.22 KB (entry point)
74
+ utils/index.js 9.12 KB (entry point)
75
+ utils/fetchPresentationData.js 269 bytes (entry point)
76
+ lib/component-registry.js 0.70 KB (entry point)
77
77
  lib/types.js 0 KB (entry point)
78
- ./SpecEditorPanel.js 19.63 KB (entry point)
79
- ./TemplateShell.js 6.83 KB (entry point)
80
- bundles/index.js 2.43 KB (entry point)
81
- bundles/ExampleTemplateBundle.js 2.43 KB (entry point)
82
- hooks/index.js 44.1 KB (entry point)
83
- hooks/useWorkflowComposer.js 13.67 KB (entry point)
84
- hooks/useSpecContent.js 14.29 KB (entry point)
85
- utils/generateSpecFromTemplate.js 9.64 KB (entry point)
86
- hooks/useRegistryTemplates.js 0.93 KB (entry point)
87
- ./EvolutionSidebar.js 21.23 KB (entry point)
88
- hooks/useEvolution.js 9.50 KB (entry point)
89
- ./MarkdownView.js 7.0 KB (entry point)
90
- markdown/formatPresentationName.js 306 bytes (entry point)
91
- markdown/useMarkdownPresentation.js 2.0 KB (entry point)
92
- ./OverlayContextProvider.js 5.88 KB (entry point)
93
- ./PersonalizationInsights.js 17.71 KB (entry point)
94
- hooks/useBehaviorTracking.js 5.52 KB (entry point)
95
- ./SpecDrivenTemplateShell.js 6.88 KB (entry point)
96
- ./LocalDataIndicator.js 2.19 KB (entry point)
97
- ./SaveToStudioButton.js 2.32 KB (entry point)
98
- lib/runtime-context.js 422 bytes (entry point)
78
+ ./SpecEditorPanel.js 13.34 KB (entry point)
79
+ ./TemplateShell.js 3.22 KB (entry point)
80
+ bundles/index.js 1.54 KB (entry point)
81
+ bundles/ExampleTemplateBundle.js 1.54 KB (entry point)
82
+ hooks/index.js 26.80 KB (entry point)
83
+ hooks/useWorkflowComposer.js 6.90 KB (entry point)
84
+ hooks/useSpecContent.js 11.0 KB (entry point)
85
+ utils/generateSpecFromTemplate.js 8.86 KB (entry point)
86
+ hooks/useRegistryTemplates.js 0.57 KB (entry point)
87
+ ./EvolutionSidebar.js 10.0 KB (entry point)
88
+ hooks/useEvolution.js 5.36 KB (entry point)
89
+ ./MarkdownView.js 3.13 KB (entry point)
90
+ markdown/formatPresentationName.js 163 bytes (entry point)
91
+ markdown/useMarkdownPresentation.js 0.87 KB (entry point)
92
+ ./OverlayContextProvider.js 2.97 KB (entry point)
93
+ ./PersonalizationInsights.js 7.80 KB (entry point)
94
+ hooks/useBehaviorTracking.js 2.93 KB (entry point)
95
+ ./SpecDrivenTemplateShell.js 3.29 KB (entry point)
96
+ ./LocalDataIndicator.js 1.24 KB (entry point)
97
+ ./SaveToStudioButton.js 1.33 KB (entry point)
98
+ lib/runtime-context.js 382 bytes (entry point)
99
99
 
100
100
  $ contractspec-bun-build types
package/CHANGELOG.md CHANGED
@@ -1,5 +1,37 @@
1
1
  # @contractspec/lib.example-shared-ui
2
2
 
3
+ ## 6.0.18
4
+
5
+ ### Patch Changes
6
+
7
+ - Pass Bun transpile paths through production JSX mode so published browser bundles stop emitting the dev runtime.
8
+ - Packages: @contractspec/tool.bun (patch), @contractspec/bundle.marketing (patch), @contractspec/lib.accessibility (patch), @contractspec/lib.contracts-runtime-client-react (patch), @contractspec/lib.design-system (patch), @contractspec/lib.example-shared-ui (patch), @contractspec/lib.presentation-runtime-react (patch), @contractspec/lib.surface-runtime (patch), @contractspec/lib.ui-kit (patch), @contractspec/lib.ui-kit-web (patch), @contractspec/lib.ui-link (patch), @contractspec/lib.video-gen (patch), @contractspec/module.builder-workbench (patch), @contractspec/module.examples (patch), @contractspec/module.execution-console (patch), @contractspec/module.mobile-review (patch)
9
+ - Migration: Pull the patch releases for the affected Contractspec React/browser packages.
10
+ - Updated dependencies because of chore: auto-bump internal dependents
11
+ - Updated dependencies because of Introduce the Builder v3 control plane as a governed authoring layer over external execution providers.
12
+ - Updated dependencies because of Implement ContractSpec Connect as a first-class spec, runtime, and CLI workflow.
13
+ - Updated dependencies because of Pass Bun transpile paths through production JSX mode so published browser bundles stop emitting the dev runtime.
14
+ - @contractspec/lib.presentation-runtime-core@3.9.6
15
+ - @contractspec/lib.contracts-spec@5.2.0
16
+ - @contractspec/lib.design-system@3.8.11
17
+ - @contractspec/lib.surface-runtime@0.5.18
18
+ - @contractspec/lib.ui-kit-web@3.9.10
19
+
20
+ ## 6.0.17
21
+
22
+ ### Patch Changes
23
+
24
+ - Fix workflow runtime imports for sandboxed workflow execution and keep workflow authoring on safe subpaths.
25
+ - Migration: Keep Node-only workflow runner code out of "use workflow" entrypoints.
26
+ - Deprecations: Importing the broad `@contractspec/lib.contracts-spec/workflow` barrel from sandboxed workflow entrypoints is discouraged.
27
+ - Updated dependencies because of Fix workflow runtime imports for sandboxed workflow execution and keep workflow authoring on safe subpaths.
28
+ - Updated dependencies because of Add versioning-backed release capsules, generated patch notes, and guided upgrade flows.
29
+ - @contractspec/lib.presentation-runtime-core@3.9.5
30
+ - @contractspec/lib.surface-runtime@0.5.17
31
+ - @contractspec/lib.contracts-spec@5.1.0
32
+ - @contractspec/lib.design-system@3.8.10
33
+ - @contractspec/lib.ui-kit-web@3.9.9
34
+
3
35
  ## 6.0.16
4
36
 
5
37
  ### Patch Changes