@contractspec/lib.example-shared-ui 1.6.0 → 1.8.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.
@@ -4,6 +4,6 @@ $ tsdown
4
4
  ℹ tsconfig: tsconfig.json
5
5
  ℹ Build start
6
6
  ℹ Cleaning 1 files
7
- ℹ dist/index.mjs 95.80 kB │ gzip: 21.10 kB
8
- ℹ 1 files, total: 95.80 kB
9
- ✔ Build complete in 121ms
7
+ ℹ dist/index.mjs 95.82 kB │ gzip: 21.11 kB
8
+ ℹ 1 files, total: 95.82 kB
9
+ ✔ Build complete in 135ms
@@ -6,6 +6,6 @@ $ tsdown
6
6
  ℹ tsconfig: tsconfig.json
7
7
  ℹ Build start
8
8
  ℹ Cleaning 1 files
9
- ℹ dist/index.mjs 95.80 kB │ gzip: 21.10 kB
10
- ℹ 1 files, total: 95.80 kB
11
- ✔ Build complete in 148ms
9
+ ℹ dist/index.mjs 95.82 kB │ gzip: 21.11 kB
10
+ ℹ 1 files, total: 95.82 kB
11
+ ✔ Build complete in 147ms
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # @contractspec/lib.example-shared-ui
2
2
 
3
+ ## 1.8.0
4
+
5
+ ### Minor Changes
6
+
7
+ - ec5e95c: chore: upgrade dependencies
8
+
9
+ ### Patch Changes
10
+
11
+ - Updated dependencies [ec5e95c]
12
+ - @contractspec/lib.design-system@1.54.0
13
+ - @contractspec/lib.ui-kit-web@1.54.0
14
+ - @contractspec/lib.contracts@1.54.0
15
+
16
+ ## 1.7.0
17
+
18
+ ### Minor Changes
19
+
20
+ - f4180d4: fix: performance improvement
21
+
22
+ ### Patch Changes
23
+
24
+ - Updated dependencies [eefeb1b]
25
+ - Updated dependencies [5b371b1]
26
+ - Updated dependencies [f4180d4]
27
+ - Updated dependencies [64d84e1]
28
+ - @contractspec/lib.design-system@1.53.0
29
+ - @contractspec/lib.contracts@1.53.0
30
+ - @contractspec/lib.ui-kit-web@1.53.0
31
+
3
32
  ## 1.6.0
4
33
 
5
34
  ### Minor Changes
package/dist/index.mjs CHANGED
@@ -3118,4 +3118,4 @@ function useTemplateComponents(templateId) {
3118
3118
  }
3119
3119
 
3120
3120
  //#endregion
3121
- export { EvolutionDashboard, EvolutionSidebar, LocalDataIndicator, MarkdownView, OverlayContextProvider, PersonalizationInsights, SaveToStudioButton, SpecEditorPanel, TemplateComponentRegistry, TemplateRuntimeContext, TemplateShell, fetchPresentationData, generateSpecFromTemplate, getRegisteredPresentationFetchers, hasPresentationDataFetcher, registerTemplateComponents, templateComponentRegistry, useBehaviorTracking, useEvolution, useIsInOverlayContext, useOverlayContext, useRegistryTemplates, useSpecContent, useTemplateComponents, useTemplateRuntime, useWorkflowComposer };
3121
+ export { EvolutionDashboard, EvolutionSidebar, LocalDataIndicator, MarkdownRenderer, MarkdownView, OverlayContextProvider, PersonalizationInsights, SaveToStudioButton, SpecEditorPanel, TemplateComponentRegistry, TemplateRuntimeContext, TemplateShell, fetchPresentationData, generateSpecFromTemplate, getRegisteredPresentationFetchers, hasPresentationDataFetcher, registerTemplateComponents, templateComponentRegistry, useBehaviorTracking, useEvolution, useIsInOverlayContext, useOverlayContext, useRegistryTemplates, useSpecContent, useTemplateComponents, useTemplateRuntime, useWorkflowComposer };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.example-shared-ui",
3
- "version": "1.6.0",
3
+ "version": "1.8.0",
4
4
  "type": "module",
5
5
  "exports": {
6
6
  ".": "./src/index.ts"
@@ -24,17 +24,17 @@
24
24
  },
25
25
  "dependencies": {
26
26
  "@apollo/client": "^4.0.12",
27
- "@contractspec/lib.contracts": "1.52.0",
28
- "@contractspec/lib.design-system": "1.52.0",
29
- "@contractspec/lib.ui-kit-web": "1.52.0",
27
+ "@contractspec/lib.contracts": "1.54.0",
28
+ "@contractspec/lib.design-system": "1.54.0",
29
+ "@contractspec/lib.ui-kit-web": "1.54.0",
30
30
  "@tanstack/react-query": "^5.90.16",
31
31
  "framer-motion": "^12.26.1",
32
- "lucide-react": "^0.300.0",
33
- "react": "19.2.3",
34
- "react-dom": "19.2.3"
32
+ "lucide-react": "^0.563.0",
33
+ "react": "19.2.4",
34
+ "react-dom": "19.2.4"
35
35
  },
36
36
  "devDependencies": {
37
- "@contractspec/tool.typescript": "1.52.0",
37
+ "@contractspec/tool.typescript": "1.54.0",
38
38
  "@types/react": "^19.2.8",
39
39
  "@types/react-dom": "^19.2.2",
40
40
  "eslint": "^9.39.2",
@@ -8,8 +8,10 @@ import {
8
8
  } from '@contractspec/lib.design-system';
9
9
  import { Card } from '@contractspec/lib.ui-kit-web/ui/card';
10
10
  import { Badge } from '@contractspec/lib.ui-kit-web/ui/badge';
11
- import type { PresentationTarget } from '@contractspec/lib.contracts';
12
- import type { TransformEngine } from '@contractspec/lib.contracts';
11
+ import type {
12
+ PresentationTarget,
13
+ TransformEngine,
14
+ } from '@contractspec/lib.contracts';
13
15
  import type { TemplateId } from './lib/types';
14
16
 
15
17
  import { useTemplateRuntime } from './lib/runtime-context';
@@ -195,7 +197,7 @@ export function MarkdownView({
195
197
  * Simple markdown renderer using pre-formatted display
196
198
  * For production, consider using react-markdown or similar
197
199
  */
198
- function MarkdownRenderer({ content }: { content: string }) {
200
+ export function MarkdownRenderer({ content }: { content: string }) {
199
201
  const lines = content.split('\n');
200
202
  const rendered: React.ReactNode[] = [];
201
203
  let i = 0;