@contractspec/lib.example-shared-ui 6.0.7 → 6.0.12
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
CHANGED
|
@@ -3,7 +3,7 @@ $ bun run prebuild && bun run build:bundle && bun run build:types
|
|
|
3
3
|
$ contractspec-bun-build prebuild
|
|
4
4
|
$ contractspec-bun-build transpile
|
|
5
5
|
[contractspec-bun-build] transpile target=bun root=src entries=28 noBundle=false
|
|
6
|
-
Bundled 28 modules in
|
|
6
|
+
Bundled 28 modules in 55ms
|
|
7
7
|
|
|
8
8
|
./EvolutionDashboard.js 31.40 KB (entry point)
|
|
9
9
|
./index.js 119.50 KB (entry point)
|
|
@@ -35,7 +35,7 @@ Bundled 28 modules in 63ms
|
|
|
35
35
|
lib/runtime-context.js 430 bytes (entry point)
|
|
36
36
|
|
|
37
37
|
[contractspec-bun-build] transpile target=node root=src entries=28 noBundle=false
|
|
38
|
-
Bundled 28 modules in
|
|
38
|
+
Bundled 28 modules in 46ms
|
|
39
39
|
|
|
40
40
|
./EvolutionDashboard.js 31.38 KB (entry point)
|
|
41
41
|
./index.js 119.44 KB (entry point)
|
|
@@ -67,7 +67,7 @@ Bundled 28 modules in 54ms
|
|
|
67
67
|
lib/runtime-context.js 422 bytes (entry point)
|
|
68
68
|
|
|
69
69
|
[contractspec-bun-build] transpile target=browser root=src entries=28 noBundle=false
|
|
70
|
-
Bundled 28 modules in
|
|
70
|
+
Bundled 28 modules in 37ms
|
|
71
71
|
|
|
72
72
|
./EvolutionDashboard.js 31.38 KB (entry point)
|
|
73
73
|
./index.js 119.44 KB (entry point)
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,53 @@
|
|
|
1
1
|
# @contractspec/lib.example-shared-ui
|
|
2
2
|
|
|
3
|
+
## 6.0.12
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- Updated dependencies [81256ea]
|
|
8
|
+
- Updated dependencies [2619dd8]
|
|
9
|
+
- Updated dependencies [81256ea]
|
|
10
|
+
- Updated dependencies [a4489bb]
|
|
11
|
+
- Updated dependencies [9cb304e]
|
|
12
|
+
- @contractspec/lib.contracts-spec@5.0.0
|
|
13
|
+
- @contractspec/lib.presentation-runtime-core@3.9.0
|
|
14
|
+
- @contractspec/lib.design-system@3.8.5
|
|
15
|
+
- @contractspec/lib.surface-runtime@0.5.12
|
|
16
|
+
- @contractspec/lib.ui-kit-web@3.9.4
|
|
17
|
+
|
|
18
|
+
## 6.0.11
|
|
19
|
+
|
|
20
|
+
### Patch Changes
|
|
21
|
+
|
|
22
|
+
- fix: release
|
|
23
|
+
- Updated dependencies
|
|
24
|
+
- @contractspec/lib.surface-runtime@0.5.11
|
|
25
|
+
- @contractspec/lib.contracts-spec@4.1.3
|
|
26
|
+
- @contractspec/lib.design-system@3.8.4
|
|
27
|
+
- @contractspec/lib.ui-kit-web@3.9.3
|
|
28
|
+
|
|
29
|
+
## 6.0.10
|
|
30
|
+
|
|
31
|
+
### Patch Changes
|
|
32
|
+
|
|
33
|
+
- 1a44cb6: feat: improve examples to increase coverage of Contracts type
|
|
34
|
+
- Updated dependencies [1a44cb6]
|
|
35
|
+
- @contractspec/lib.surface-runtime@0.5.10
|
|
36
|
+
- @contractspec/lib.contracts-spec@4.1.2
|
|
37
|
+
- @contractspec/lib.design-system@3.8.3
|
|
38
|
+
- @contractspec/lib.ui-kit-web@3.9.2
|
|
39
|
+
|
|
40
|
+
## 6.0.9
|
|
41
|
+
|
|
42
|
+
### Patch Changes
|
|
43
|
+
|
|
44
|
+
- fix: release
|
|
45
|
+
- Updated dependencies
|
|
46
|
+
- @contractspec/lib.surface-runtime@0.5.9
|
|
47
|
+
- @contractspec/lib.contracts-spec@4.1.1
|
|
48
|
+
- @contractspec/lib.design-system@3.8.2
|
|
49
|
+
- @contractspec/lib.ui-kit-web@3.9.1
|
|
50
|
+
|
|
3
51
|
## 6.0.6
|
|
4
52
|
|
|
5
53
|
### Patch Changes
|
|
@@ -164,6 +212,7 @@
|
|
|
164
212
|
### Patch Changes
|
|
165
213
|
|
|
166
214
|
- 66c51da: feat(example-shared-ui): add SpecDrivenTemplateShell, ExampleTemplateBundle, bundles export
|
|
215
|
+
|
|
167
216
|
- Add SpecDrivenTemplateShell component
|
|
168
217
|
- Add ExampleTemplateBundle and bundles/index
|
|
169
218
|
- Add optional peer @contractspec/lib.surface-runtime
|
|
@@ -442,6 +491,7 @@
|
|
|
442
491
|
- 7f3203a: fix: make workspace test runs resilient when packages have no tests
|
|
443
492
|
|
|
444
493
|
Updates package test scripts to pass cleanly when no matching test files exist:
|
|
494
|
+
|
|
445
495
|
- Uses `bun test --pass-with-no-tests` in Bun-based packages that currently ship without test files.
|
|
446
496
|
- Uses `jest --passWithNoTests` for the UI kit web package.
|
|
447
497
|
- Adds `.vscode-test.mjs` for `vscode-contractspec` so VS Code extension test runs have an explicit config and stop failing on missing default configuration.
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import type { ApolloClient } from '@apollo/client';
|
|
2
|
-
import type { TransformEngine } from '@contractspec/lib.
|
|
2
|
+
import type { TransformEngine } from '@contractspec/lib.presentation-runtime-core/transform-engine';
|
|
3
3
|
import type { TemplateDefinition, TemplateId, TemplateInstaller } from './types';
|
|
4
4
|
export type GenericTemplateHandlers = unknown;
|
|
5
5
|
export interface TemplateRuntimeContextValue<THandlers = GenericTemplateHandlers> {
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { TransformEngine } from '@contractspec/lib.
|
|
1
|
+
import type { TransformEngine } from '@contractspec/lib.presentation-runtime-core/transform-engine';
|
|
2
2
|
interface UseMarkdownPresentationOptions {
|
|
3
3
|
engine?: TransformEngine | null;
|
|
4
4
|
fetchData: (presentationId: string) => Promise<{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/lib.example-shared-ui",
|
|
3
|
-
"version": "6.0.
|
|
3
|
+
"version": "6.0.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"exports": {
|
|
6
6
|
".": {
|
|
@@ -423,7 +423,7 @@
|
|
|
423
423
|
}
|
|
424
424
|
},
|
|
425
425
|
"peerDependencies": {
|
|
426
|
-
"@contractspec/lib.surface-runtime": "0.5.
|
|
426
|
+
"@contractspec/lib.surface-runtime": "0.5.12"
|
|
427
427
|
},
|
|
428
428
|
"peerDependenciesMeta": {
|
|
429
429
|
"@contractspec/lib.surface-runtime": {
|
|
@@ -432,24 +432,25 @@
|
|
|
432
432
|
},
|
|
433
433
|
"dependencies": {
|
|
434
434
|
"@apollo/client": "^4.1.6",
|
|
435
|
-
"@contractspec/lib.contracts-spec": "
|
|
436
|
-
"@contractspec/lib.design-system": "3.8.
|
|
437
|
-
"@contractspec/lib.ui-kit-web": "3.
|
|
435
|
+
"@contractspec/lib.contracts-spec": "5.0.0",
|
|
436
|
+
"@contractspec/lib.design-system": "3.8.5",
|
|
437
|
+
"@contractspec/lib.ui-kit-web": "3.9.4",
|
|
438
438
|
"@tanstack/react-query": "^5.91.2",
|
|
439
439
|
"framer-motion": "^12.38.0",
|
|
440
440
|
"lucide-react": "^0.577.0",
|
|
441
441
|
"react": "19.2.0",
|
|
442
|
-
"react-dom": "19.2.0"
|
|
442
|
+
"react-dom": "19.2.0",
|
|
443
|
+
"@contractspec/lib.presentation-runtime-core": "3.9.0"
|
|
443
444
|
},
|
|
444
445
|
"optionalDependencies": {
|
|
445
|
-
"@contractspec/lib.surface-runtime": "0.5.
|
|
446
|
+
"@contractspec/lib.surface-runtime": "0.5.12"
|
|
446
447
|
},
|
|
447
448
|
"devDependencies": {
|
|
448
|
-
"@contractspec/tool.typescript": "3.7.
|
|
449
|
+
"@contractspec/tool.typescript": "3.7.9",
|
|
449
450
|
"@types/react": "^19.2.14",
|
|
450
451
|
"@types/react-dom": "^19.2.2",
|
|
451
452
|
"typescript": "^5.9.3",
|
|
452
|
-
"@contractspec/tool.bun": "3.7.
|
|
453
|
+
"@contractspec/tool.bun": "3.7.9"
|
|
453
454
|
},
|
|
454
455
|
"types": "./dist/index.d.ts"
|
|
455
456
|
}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import type { ApolloClient } from '@apollo/client';
|
|
4
|
-
import type { TransformEngine } from '@contractspec/lib.
|
|
4
|
+
import type { TransformEngine } from '@contractspec/lib.presentation-runtime-core/transform-engine';
|
|
5
5
|
import { createContext, useContext } from 'react';
|
|
6
6
|
import type {
|
|
7
7
|
TemplateDefinition,
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
|
|
3
3
|
import type { PresentationTarget } from '@contractspec/lib.contracts-spec/presentations';
|
|
4
|
-
import type { TransformEngine } from '@contractspec/lib.
|
|
4
|
+
import type { TransformEngine } from '@contractspec/lib.presentation-runtime-core/transform-engine';
|
|
5
5
|
import { useCallback, useEffect, useState } from 'react';
|
|
6
6
|
|
|
7
7
|
interface MarkdownOutput {
|