@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.
- package/.turbo/turbo-build$colon$bundle.log +3 -3
- package/.turbo/turbo-build.log +3 -3
- package/CHANGELOG.md +29 -0
- package/dist/index.mjs +1 -1
- package/package.json +8 -8
- package/src/MarkdownView.tsx +5 -3
|
@@ -4,6 +4,6 @@ $ tsdown
|
|
|
4
4
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
5
5
|
[34mℹ[39m Build start
|
|
6
6
|
[34mℹ[39m Cleaning 1 files
|
|
7
|
-
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m95.
|
|
8
|
-
[34mℹ[39m 1 files, total: 95.
|
|
9
|
-
[32m✔[39m Build complete in [
|
|
7
|
+
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m95.82 kB[22m [2m│ gzip: 21.11 kB[22m
|
|
8
|
+
[34mℹ[39m 1 files, total: 95.82 kB
|
|
9
|
+
[32m✔[39m Build complete in [32m135ms[39m
|
package/.turbo/turbo-build.log
CHANGED
|
@@ -6,6 +6,6 @@ $ tsdown
|
|
|
6
6
|
[34mℹ[39m tsconfig: [34mtsconfig.json[39m
|
|
7
7
|
[34mℹ[39m Build start
|
|
8
8
|
[34mℹ[39m Cleaning 1 files
|
|
9
|
-
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m95.
|
|
10
|
-
[34mℹ[39m 1 files, total: 95.
|
|
11
|
-
[32m✔[39m Build complete in [
|
|
9
|
+
[34mℹ[39m [2mdist/[22m[1mindex.mjs[22m [2m95.82 kB[22m [2m│ gzip: 21.11 kB[22m
|
|
10
|
+
[34mℹ[39m 1 files, total: 95.82 kB
|
|
11
|
+
[32m✔[39m Build complete in [32m147ms[39m
|
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.
|
|
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.
|
|
28
|
-
"@contractspec/lib.design-system": "1.
|
|
29
|
-
"@contractspec/lib.ui-kit-web": "1.
|
|
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.
|
|
33
|
-
"react": "19.2.
|
|
34
|
-
"react-dom": "19.2.
|
|
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.
|
|
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",
|
package/src/MarkdownView.tsx
CHANGED
|
@@ -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 {
|
|
12
|
-
|
|
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;
|