@contractspec/bundle.library 3.9.7 → 3.9.9
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 +186 -174
- package/CHANGELOG.md +96 -0
- package/dist/components/docs/DocsIndexPage.js +2 -2
- package/dist/components/docs/docsManifest.js +1 -1
- package/dist/components/docs/getting-started/DataViewTutorialPage.js +117 -6
- package/dist/components/docs/getting-started/index.js +130 -19
- package/dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.d.ts +6 -0
- package/dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js +176 -0
- package/dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.d.ts +1 -0
- package/dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.js +176 -0
- package/dist/components/docs/guides/GuidesIndexPage.js +2 -2
- package/dist/components/docs/guides/index.d.ts +1 -0
- package/dist/components/docs/guides/index.js +220 -46
- package/dist/components/docs/index.js +1195 -276
- package/dist/components/docs/libraries/LibrariesApplicationShellPage.content.d.ts +33 -0
- package/dist/components/docs/libraries/LibrariesApplicationShellPage.content.js +236 -0
- package/dist/components/docs/libraries/LibrariesApplicationShellPage.d.ts +1 -0
- package/dist/components/docs/libraries/LibrariesApplicationShellPage.js +236 -0
- package/dist/components/docs/libraries/LibrariesDataViewsPage.js +130 -6
- package/dist/components/docs/libraries/LibrariesDesignSystemPage.js +102 -3
- package/dist/components/docs/libraries/LibrariesOverviewPage.js +1 -1
- package/dist/components/docs/libraries/LibrariesPersonalizationPage.js +58 -4
- package/dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.d.ts +10 -0
- package/dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.js +43 -0
- package/dist/components/docs/libraries/LibrariesTranslationRuntimePage.d.ts +1 -0
- package/dist/components/docs/libraries/LibrariesTranslationRuntimePage.js +43 -0
- package/dist/components/docs/libraries/index.d.ts +2 -0
- package/dist/components/docs/libraries/index.js +616 -64
- package/dist/components/docs/specs/SpecsDataViewsPage.js +85 -3
- package/dist/components/docs/specs/index.js +96 -14
- package/dist/index.js +1206 -287
- package/dist/node/components/docs/DocsIndexPage.js +2 -2
- package/dist/node/components/docs/docsManifest.js +1 -1
- package/dist/node/components/docs/getting-started/DataViewTutorialPage.js +117 -6
- package/dist/node/components/docs/getting-started/index.js +130 -19
- package/dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js +175 -0
- package/dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.js +175 -0
- package/dist/node/components/docs/guides/GuidesIndexPage.js +2 -2
- package/dist/node/components/docs/guides/index.js +220 -46
- package/dist/node/components/docs/index.js +1195 -276
- package/dist/node/components/docs/libraries/LibrariesApplicationShellPage.content.js +235 -0
- package/dist/node/components/docs/libraries/LibrariesApplicationShellPage.js +235 -0
- package/dist/node/components/docs/libraries/LibrariesDataViewsPage.js +130 -6
- package/dist/node/components/docs/libraries/LibrariesDesignSystemPage.js +102 -3
- package/dist/node/components/docs/libraries/LibrariesOverviewPage.js +1 -1
- package/dist/node/components/docs/libraries/LibrariesPersonalizationPage.js +58 -4
- package/dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.content.js +42 -0
- package/dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.js +42 -0
- package/dist/node/components/docs/libraries/index.js +616 -64
- package/dist/node/components/docs/specs/SpecsDataViewsPage.js +85 -3
- package/dist/node/components/docs/specs/index.js +96 -14
- package/dist/node/index.js +1206 -287
- package/package.json +98 -26
- package/src/components/docs/docsManifest.test.ts +87 -0
- package/src/components/docs/docsManifest.ts +98 -1
- package/src/components/docs/generated/docs-index.notifications.json +7 -7
- package/src/components/docs/getting-started/DataViewTutorialPage.tsx +217 -47
- package/src/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.ts +185 -0
- package/src/components/docs/guides/GuideDataExchangeImportTemplatesPage.tsx +186 -0
- package/src/components/docs/guides/GuidesIndexPage.tsx +49 -42
- package/src/components/docs/guides/index.ts +1 -0
- package/src/components/docs/libraries/LibrariesApplicationShellPage.content.ts +283 -0
- package/src/components/docs/libraries/LibrariesApplicationShellPage.tsx +145 -0
- package/src/components/docs/libraries/LibrariesDataViewsPage.tsx +278 -54
- package/src/components/docs/libraries/LibrariesDesignSystemPage.tsx +244 -0
- package/src/components/docs/libraries/LibrariesOverviewPage.tsx +13 -1
- package/src/components/docs/libraries/LibrariesPersonalizationPage.tsx +141 -31
- package/src/components/docs/libraries/LibrariesTranslationRuntimePage.content.ts +78 -0
- package/src/components/docs/libraries/LibrariesTranslationRuntimePage.tsx +137 -0
- package/src/components/docs/libraries/index.ts +2 -0
- package/src/components/docs/specs/SpecsDataViewsPage.tsx +278 -116
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@contractspec/bundle.library",
|
|
3
|
-
"version": "3.9.
|
|
3
|
+
"version": "3.9.9",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"clean": "rm -rf dist",
|
|
@@ -486,6 +486,18 @@
|
|
|
486
486
|
"node": "./dist/node/components/docs/guides/GuideContractTypesPage.js",
|
|
487
487
|
"default": "./dist/components/docs/guides/GuideContractTypesPage.js"
|
|
488
488
|
},
|
|
489
|
+
"./components/docs/guides/GuideDataExchangeImportTemplatesPage": {
|
|
490
|
+
"types": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.d.ts",
|
|
491
|
+
"bun": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.js",
|
|
492
|
+
"node": "./dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.js",
|
|
493
|
+
"default": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.js"
|
|
494
|
+
},
|
|
495
|
+
"./components/docs/guides/GuideDataExchangeImportTemplatesPage.content": {
|
|
496
|
+
"types": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.d.ts",
|
|
497
|
+
"bun": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js",
|
|
498
|
+
"node": "./dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js",
|
|
499
|
+
"default": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js"
|
|
500
|
+
},
|
|
489
501
|
"./components/docs/guides/GuideDocsPipelinePage": {
|
|
490
502
|
"types": "./dist/components/docs/guides/GuideDocsPipelinePage.d.ts",
|
|
491
503
|
"bun": "./dist/components/docs/guides/GuideDocsPipelinePage.js",
|
|
@@ -780,6 +792,18 @@
|
|
|
780
792
|
"node": "./dist/node/components/docs/libraries/LibrariesAnalyticsPage.js",
|
|
781
793
|
"default": "./dist/components/docs/libraries/LibrariesAnalyticsPage.js"
|
|
782
794
|
},
|
|
795
|
+
"./components/docs/libraries/LibrariesApplicationShellPage": {
|
|
796
|
+
"types": "./dist/components/docs/libraries/LibrariesApplicationShellPage.d.ts",
|
|
797
|
+
"bun": "./dist/components/docs/libraries/LibrariesApplicationShellPage.js",
|
|
798
|
+
"node": "./dist/node/components/docs/libraries/LibrariesApplicationShellPage.js",
|
|
799
|
+
"default": "./dist/components/docs/libraries/LibrariesApplicationShellPage.js"
|
|
800
|
+
},
|
|
801
|
+
"./components/docs/libraries/LibrariesApplicationShellPage.content": {
|
|
802
|
+
"types": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.d.ts",
|
|
803
|
+
"bun": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.js",
|
|
804
|
+
"node": "./dist/node/components/docs/libraries/LibrariesApplicationShellPage.content.js",
|
|
805
|
+
"default": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.js"
|
|
806
|
+
},
|
|
783
807
|
"./components/docs/libraries/LibrariesContentGenPage": {
|
|
784
808
|
"types": "./dist/components/docs/libraries/LibrariesContentGenPage.d.ts",
|
|
785
809
|
"bun": "./dist/components/docs/libraries/LibrariesContentGenPage.js",
|
|
@@ -918,6 +942,18 @@
|
|
|
918
942
|
"node": "./dist/node/components/docs/libraries/LibrariesTestingPage.js",
|
|
919
943
|
"default": "./dist/components/docs/libraries/LibrariesTestingPage.js"
|
|
920
944
|
},
|
|
945
|
+
"./components/docs/libraries/LibrariesTranslationRuntimePage": {
|
|
946
|
+
"types": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.d.ts",
|
|
947
|
+
"bun": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.js",
|
|
948
|
+
"node": "./dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.js",
|
|
949
|
+
"default": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.js"
|
|
950
|
+
},
|
|
951
|
+
"./components/docs/libraries/LibrariesTranslationRuntimePage.content": {
|
|
952
|
+
"types": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.d.ts",
|
|
953
|
+
"bun": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.js",
|
|
954
|
+
"node": "./dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.content.js",
|
|
955
|
+
"default": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.js"
|
|
956
|
+
},
|
|
921
957
|
"./components/docs/libraries/LibrariesUIKitPage": {
|
|
922
958
|
"types": "./dist/components/docs/libraries/LibrariesUIKitPage.d.ts",
|
|
923
959
|
"bun": "./dist/components/docs/libraries/LibrariesUIKitPage.js",
|
|
@@ -1950,27 +1986,27 @@
|
|
|
1950
1986
|
"react": "19.2.0"
|
|
1951
1987
|
},
|
|
1952
1988
|
"dependencies": {
|
|
1953
|
-
"@contractspec/bundle.workspace": "4.
|
|
1989
|
+
"@contractspec/bundle.workspace": "4.6.0",
|
|
1954
1990
|
"@apollo/client": "^4.1.7",
|
|
1955
1991
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
1956
|
-
"@contractspec/example.data-grid-showcase": "3.8.
|
|
1957
|
-
"@contractspec/lib.ai-providers": "3.7.
|
|
1958
|
-
"@contractspec/lib.contracts-spec": "6.
|
|
1959
|
-
"@contractspec/lib.contracts-library": "3.7.
|
|
1960
|
-
"@contractspec/lib.content-gen": "3.7.
|
|
1961
|
-
"@contractspec/lib.contracts-runtime-server-mcp": "3.8.
|
|
1962
|
-
"@contractspec/lib.design-system": "4.
|
|
1963
|
-
"@contractspec/lib.surface-runtime": "0.5.
|
|
1964
|
-
"@contractspec/lib.provider-ranking": "0.7.
|
|
1965
|
-
"@contractspec/lib.example-shared-ui": "7.0.
|
|
1966
|
-
"@contractspec/lib.knowledge": "3.8.
|
|
1967
|
-
"@contractspec/lib.logger": "3.7.
|
|
1968
|
-
"@contractspec/lib.runtime-sandbox": "3.0.
|
|
1992
|
+
"@contractspec/example.data-grid-showcase": "3.8.21",
|
|
1993
|
+
"@contractspec/lib.ai-providers": "3.7.20",
|
|
1994
|
+
"@contractspec/lib.contracts-spec": "6.2.0",
|
|
1995
|
+
"@contractspec/lib.contracts-library": "3.7.27",
|
|
1996
|
+
"@contractspec/lib.content-gen": "3.7.27",
|
|
1997
|
+
"@contractspec/lib.contracts-runtime-server-mcp": "3.8.7",
|
|
1998
|
+
"@contractspec/lib.design-system": "4.4.0",
|
|
1999
|
+
"@contractspec/lib.surface-runtime": "0.5.27",
|
|
2000
|
+
"@contractspec/lib.provider-ranking": "0.7.20",
|
|
2001
|
+
"@contractspec/lib.example-shared-ui": "7.0.6",
|
|
2002
|
+
"@contractspec/lib.knowledge": "3.8.3",
|
|
2003
|
+
"@contractspec/lib.logger": "3.7.20",
|
|
2004
|
+
"@contractspec/lib.runtime-sandbox": "3.0.6",
|
|
1969
2005
|
"@contractspec/lib.schema": "3.7.14",
|
|
1970
|
-
"@contractspec/lib.ui-kit-web": "3.13.
|
|
1971
|
-
"@contractspec/lib.ui-link": "3.7.
|
|
1972
|
-
"@contractspec/module.context-storage": "0.7.
|
|
1973
|
-
"@contractspec/module.examples": "4.0.
|
|
2006
|
+
"@contractspec/lib.ui-kit-web": "3.13.2",
|
|
2007
|
+
"@contractspec/lib.ui-link": "3.7.22",
|
|
2008
|
+
"@contractspec/module.context-storage": "0.7.26",
|
|
2009
|
+
"@contractspec/module.examples": "4.0.6",
|
|
1974
2010
|
"@dnd-kit/core": "^6.1.0",
|
|
1975
2011
|
"@dnd-kit/sortable": "^10.0.0",
|
|
1976
2012
|
"@dnd-kit/utilities": "^3.2.2",
|
|
@@ -1981,15 +2017,15 @@
|
|
|
1981
2017
|
"elysia": "^1.4.28",
|
|
1982
2018
|
"framer-motion": "^12.38.0",
|
|
1983
2019
|
"lucide-react": "^1.8.0",
|
|
1984
|
-
"posthog-js": "^1.
|
|
2020
|
+
"posthog-js": "^1.372.3",
|
|
1985
2021
|
"posthog-node": "^5.29.4",
|
|
1986
|
-
"posthog-react-native": "^4.
|
|
1987
|
-
"react-hook-form": "^7.
|
|
2022
|
+
"posthog-react-native": "^4.43.10",
|
|
2023
|
+
"react-hook-form": "^7.74.0",
|
|
1988
2024
|
"zod": "^4.3.5",
|
|
1989
|
-
"@contractspec/lib.contracts-integrations": "3.8.
|
|
1990
|
-
"@contractspec/lib.contracts-runtime-server-rest": "3.
|
|
1991
|
-
"@contractspec/lib.contracts-runtime-server-graphql": "3.8.
|
|
1992
|
-
"@contractspec/lib.contracts-runtime-client-react": "3.
|
|
2025
|
+
"@contractspec/lib.contracts-integrations": "3.8.19",
|
|
2026
|
+
"@contractspec/lib.contracts-runtime-server-rest": "3.9.0",
|
|
2027
|
+
"@contractspec/lib.contracts-runtime-server-graphql": "3.8.6",
|
|
2028
|
+
"@contractspec/lib.contracts-runtime-client-react": "3.14.0"
|
|
1993
2029
|
},
|
|
1994
2030
|
"devDependencies": {
|
|
1995
2031
|
"@types/react": "~19.2.14",
|
|
@@ -2475,6 +2511,18 @@
|
|
|
2475
2511
|
"node": "./dist/node/components/docs/guides/GuideContractTypesPage.js",
|
|
2476
2512
|
"default": "./dist/components/docs/guides/GuideContractTypesPage.js"
|
|
2477
2513
|
},
|
|
2514
|
+
"./components/docs/guides/GuideDataExchangeImportTemplatesPage": {
|
|
2515
|
+
"types": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.d.ts",
|
|
2516
|
+
"bun": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.js",
|
|
2517
|
+
"node": "./dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.js",
|
|
2518
|
+
"default": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.js"
|
|
2519
|
+
},
|
|
2520
|
+
"./components/docs/guides/GuideDataExchangeImportTemplatesPage.content": {
|
|
2521
|
+
"types": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.d.ts",
|
|
2522
|
+
"bun": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js",
|
|
2523
|
+
"node": "./dist/node/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js",
|
|
2524
|
+
"default": "./dist/components/docs/guides/GuideDataExchangeImportTemplatesPage.content.js"
|
|
2525
|
+
},
|
|
2478
2526
|
"./components/docs/guides/GuideDocsPipelinePage": {
|
|
2479
2527
|
"types": "./dist/components/docs/guides/GuideDocsPipelinePage.d.ts",
|
|
2480
2528
|
"bun": "./dist/components/docs/guides/GuideDocsPipelinePage.js",
|
|
@@ -2769,6 +2817,18 @@
|
|
|
2769
2817
|
"node": "./dist/node/components/docs/libraries/LibrariesAnalyticsPage.js",
|
|
2770
2818
|
"default": "./dist/components/docs/libraries/LibrariesAnalyticsPage.js"
|
|
2771
2819
|
},
|
|
2820
|
+
"./components/docs/libraries/LibrariesApplicationShellPage": {
|
|
2821
|
+
"types": "./dist/components/docs/libraries/LibrariesApplicationShellPage.d.ts",
|
|
2822
|
+
"bun": "./dist/components/docs/libraries/LibrariesApplicationShellPage.js",
|
|
2823
|
+
"node": "./dist/node/components/docs/libraries/LibrariesApplicationShellPage.js",
|
|
2824
|
+
"default": "./dist/components/docs/libraries/LibrariesApplicationShellPage.js"
|
|
2825
|
+
},
|
|
2826
|
+
"./components/docs/libraries/LibrariesApplicationShellPage.content": {
|
|
2827
|
+
"types": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.d.ts",
|
|
2828
|
+
"bun": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.js",
|
|
2829
|
+
"node": "./dist/node/components/docs/libraries/LibrariesApplicationShellPage.content.js",
|
|
2830
|
+
"default": "./dist/components/docs/libraries/LibrariesApplicationShellPage.content.js"
|
|
2831
|
+
},
|
|
2772
2832
|
"./components/docs/libraries/LibrariesContentGenPage": {
|
|
2773
2833
|
"types": "./dist/components/docs/libraries/LibrariesContentGenPage.d.ts",
|
|
2774
2834
|
"bun": "./dist/components/docs/libraries/LibrariesContentGenPage.js",
|
|
@@ -2907,6 +2967,18 @@
|
|
|
2907
2967
|
"node": "./dist/node/components/docs/libraries/LibrariesTestingPage.js",
|
|
2908
2968
|
"default": "./dist/components/docs/libraries/LibrariesTestingPage.js"
|
|
2909
2969
|
},
|
|
2970
|
+
"./components/docs/libraries/LibrariesTranslationRuntimePage": {
|
|
2971
|
+
"types": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.d.ts",
|
|
2972
|
+
"bun": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.js",
|
|
2973
|
+
"node": "./dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.js",
|
|
2974
|
+
"default": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.js"
|
|
2975
|
+
},
|
|
2976
|
+
"./components/docs/libraries/LibrariesTranslationRuntimePage.content": {
|
|
2977
|
+
"types": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.d.ts",
|
|
2978
|
+
"bun": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.js",
|
|
2979
|
+
"node": "./dist/node/components/docs/libraries/LibrariesTranslationRuntimePage.content.js",
|
|
2980
|
+
"default": "./dist/components/docs/libraries/LibrariesTranslationRuntimePage.content.js"
|
|
2981
|
+
},
|
|
2910
2982
|
"./components/docs/libraries/LibrariesUIKitPage": {
|
|
2911
2983
|
"types": "./dist/components/docs/libraries/LibrariesUIKitPage.d.ts",
|
|
2912
2984
|
"bun": "./dist/components/docs/libraries/LibrariesUIKitPage.js",
|
|
@@ -26,6 +26,79 @@ describe('docs manifest learning paths', () => {
|
|
|
26
26
|
expect(buildHrefs).toContain('/docs/guides/connect-in-a-repo');
|
|
27
27
|
expect(buildHrefs).toContain('/docs/guides/first-module-bundle');
|
|
28
28
|
expect(buildHrefs).toContain('/docs/guides/host-builder-workbench');
|
|
29
|
+
expect(buildHrefs).toContain('/docs/guides/data-exchange-import-templates');
|
|
30
|
+
});
|
|
31
|
+
|
|
32
|
+
it('promotes DataView tutorial and preference docs in primary navigation', () => {
|
|
33
|
+
expect(getDocsPageByHref('/docs/getting-started/dataviews')).toBeDefined();
|
|
34
|
+
expect(getDocsPageByHref('/docs/libraries/data-views')).toBeDefined();
|
|
35
|
+
expect(getDocsPageByHref('/docs/libraries/personalization')).toBeDefined();
|
|
36
|
+
expect(
|
|
37
|
+
getDocsPageByHref('/docs/libraries/personalization')?.aliases
|
|
38
|
+
).toContain('resolveDataViewPreferences');
|
|
39
|
+
|
|
40
|
+
const startSection = getPrimaryDocsSections().find(
|
|
41
|
+
(section) => section.key === 'start'
|
|
42
|
+
);
|
|
43
|
+
const startHrefs = startSection?.items.map((item) => item.href) ?? [];
|
|
44
|
+
|
|
45
|
+
expect(startHrefs).toContain('/docs/getting-started/dataviews');
|
|
46
|
+
expect(startHrefs.indexOf('/docs/getting-started/dataviews')).toBeLessThan(
|
|
47
|
+
startHrefs.indexOf('/docs/getting-started/troubleshooting')
|
|
48
|
+
);
|
|
49
|
+
|
|
50
|
+
const buildSection = getPrimaryDocsSections().find(
|
|
51
|
+
(section) => section.key === 'build'
|
|
52
|
+
);
|
|
53
|
+
const buildHrefs = buildSection?.items.map((item) => item.href) ?? [];
|
|
54
|
+
|
|
55
|
+
expect(buildHrefs).toContain('/docs/libraries/data-views');
|
|
56
|
+
expect(buildHrefs).toContain('/docs/libraries/personalization');
|
|
57
|
+
expect(buildHrefs.indexOf('/docs/libraries/data-views')).toBeGreaterThan(
|
|
58
|
+
buildHrefs.indexOf('/docs/libraries')
|
|
59
|
+
);
|
|
60
|
+
expect(
|
|
61
|
+
buildHrefs.indexOf('/docs/libraries/personalization')
|
|
62
|
+
).toBeGreaterThan(buildHrefs.indexOf('/docs/libraries/data-views'));
|
|
63
|
+
});
|
|
64
|
+
|
|
65
|
+
it('registers the translation runtime guide for i18n and i18next adoption', () => {
|
|
66
|
+
const page = getDocsPageByHref('/docs/libraries/translation-runtime');
|
|
67
|
+
|
|
68
|
+
expect(page).toBeDefined();
|
|
69
|
+
expect(page?.aliases).toContain('i18next adapter');
|
|
70
|
+
expect(page?.description).toContain('i18next');
|
|
71
|
+
|
|
72
|
+
const buildSection = getPrimaryDocsSections().find(
|
|
73
|
+
(section) => section.key === 'build'
|
|
74
|
+
);
|
|
75
|
+
const buildHrefs = buildSection?.items.map((item) => item.href) ?? [];
|
|
76
|
+
|
|
77
|
+
expect(buildHrefs).toContain('/docs/libraries/translation-runtime');
|
|
78
|
+
expect(
|
|
79
|
+
buildHrefs.indexOf('/docs/libraries/translation-runtime')
|
|
80
|
+
).toBeGreaterThan(buildHrefs.indexOf('/docs/libraries'));
|
|
81
|
+
});
|
|
82
|
+
|
|
83
|
+
it('promotes the design-system guide for object references and adaptive panels', () => {
|
|
84
|
+
const page = getDocsPageByHref('/docs/libraries/design-system');
|
|
85
|
+
|
|
86
|
+
expect(page).toBeDefined();
|
|
87
|
+
expect(page?.aliases).toContain('ObjectReferenceHandler');
|
|
88
|
+
expect(page?.aliases).toContain('AdaptivePanel');
|
|
89
|
+
|
|
90
|
+
const buildSection = getPrimaryDocsSections().find(
|
|
91
|
+
(section) => section.key === 'build'
|
|
92
|
+
);
|
|
93
|
+
const buildHrefs = buildSection?.items.map((item) => item.href) ?? [];
|
|
94
|
+
|
|
95
|
+
expect(buildHrefs).toContain('/docs/libraries/design-system');
|
|
96
|
+
expect(buildHrefs.indexOf('/docs/libraries/design-system')).toBeGreaterThan(
|
|
97
|
+
buildHrefs.indexOf('/docs/libraries/application-shell')
|
|
98
|
+
);
|
|
99
|
+
expect(buildHrefs.indexOf('/docs/libraries/design-system')).toBeLessThan(
|
|
100
|
+
buildHrefs.indexOf('/docs/architecture')
|
|
101
|
+
);
|
|
29
102
|
});
|
|
30
103
|
|
|
31
104
|
it('keeps cross-platform UI resolvable without promoting it to primary nav', () => {
|
|
@@ -55,6 +128,14 @@ describe('docs manifest learning paths', () => {
|
|
|
55
128
|
expect(
|
|
56
129
|
buildHrefs.indexOf('/docs/guides/host-builder-workbench')
|
|
57
130
|
).toBeGreaterThan(buildHrefs.indexOf('/docs/guides/first-module-bundle'));
|
|
131
|
+
expect(
|
|
132
|
+
buildHrefs.indexOf('/docs/guides/data-exchange-import-templates')
|
|
133
|
+
).toBeGreaterThan(buildHrefs.indexOf('/docs/guides/contract-driven-forms'));
|
|
134
|
+
expect(
|
|
135
|
+
buildHrefs.indexOf('/docs/guides/data-exchange-import-templates')
|
|
136
|
+
).toBeLessThan(
|
|
137
|
+
buildHrefs.indexOf('/docs/guides/generate-docs-clients-schemas')
|
|
138
|
+
);
|
|
58
139
|
expect(
|
|
59
140
|
buildHrefs.indexOf('/docs/guides/connect-in-a-repo')
|
|
60
141
|
).toBeGreaterThan(
|
|
@@ -68,13 +149,19 @@ describe('docs manifest learning paths', () => {
|
|
|
68
149
|
'/docs/guides/connect-in-a-repo',
|
|
69
150
|
'/docs/specs/module-bundles',
|
|
70
151
|
'/docs/guides/first-module-bundle',
|
|
152
|
+
'/docs/guides/data-exchange-import-templates',
|
|
71
153
|
'/docs/specs/builder-control-plane',
|
|
72
154
|
'/docs/guides/host-builder-workbench',
|
|
73
155
|
'/docs/architecture',
|
|
74
156
|
'/docs/architecture/control-plane',
|
|
75
157
|
'/docs/specs/overlays',
|
|
76
158
|
'/docs/studio',
|
|
159
|
+
'/docs/libraries/translation-runtime',
|
|
77
160
|
'/docs/libraries/cross-platform-ui',
|
|
161
|
+
'/docs/libraries/design-system',
|
|
162
|
+
'/docs/libraries/data-views',
|
|
163
|
+
'/docs/libraries/personalization',
|
|
164
|
+
'/docs/getting-started/dataviews',
|
|
78
165
|
]) {
|
|
79
166
|
expect(
|
|
80
167
|
getDocsPageByHref(href) != null || NON_MANIFEST_DOC_ROUTES.has(href)
|
|
@@ -144,6 +144,19 @@ export const DOCS_PAGES: readonly DocsPageEntry[] = [
|
|
|
144
144
|
audience: 'oss',
|
|
145
145
|
ctaMode: 'oss-next',
|
|
146
146
|
},
|
|
147
|
+
{
|
|
148
|
+
href: '/docs/getting-started/dataviews',
|
|
149
|
+
title: 'Display data with DataViews',
|
|
150
|
+
description:
|
|
151
|
+
'Define a query-backed DataView, render it on the frontend, and add preference-aware collection defaults.',
|
|
152
|
+
section: 'start',
|
|
153
|
+
order: 55,
|
|
154
|
+
navTitle: 'Display data',
|
|
155
|
+
primaryNav: true,
|
|
156
|
+
audience: 'oss',
|
|
157
|
+
ctaMode: 'oss-next',
|
|
158
|
+
aliases: ['DataViews tutorial', 'DataView personalization tutorial'],
|
|
159
|
+
},
|
|
147
160
|
{
|
|
148
161
|
href: '/docs/getting-started/troubleshooting',
|
|
149
162
|
title: 'Troubleshooting',
|
|
@@ -325,6 +338,19 @@ export const DOCS_PAGES: readonly DocsPageEntry[] = [
|
|
|
325
338
|
audience: 'oss',
|
|
326
339
|
ctaMode: 'oss-next',
|
|
327
340
|
},
|
|
341
|
+
{
|
|
342
|
+
href: '/docs/guides/data-exchange-import-templates',
|
|
343
|
+
title: 'Flexible import templates',
|
|
344
|
+
description:
|
|
345
|
+
'Publish a recommended data-exchange import shape while users import CSV, JSON, or XML files with alternate headers and localized values.',
|
|
346
|
+
section: 'build',
|
|
347
|
+
order: 47,
|
|
348
|
+
navTitle: 'Import templates',
|
|
349
|
+
primaryNav: true,
|
|
350
|
+
audience: 'oss',
|
|
351
|
+
ctaMode: 'oss-next',
|
|
352
|
+
aliases: ['/docs/guides/import-templates', '/docs/libraries/data-exchange'],
|
|
353
|
+
},
|
|
328
354
|
{
|
|
329
355
|
href: '/docs/guides/generate-docs-clients-schemas',
|
|
330
356
|
title: 'Generate docs, clients, and schemas',
|
|
@@ -396,15 +422,86 @@ export const DOCS_PAGES: readonly DocsPageEntry[] = [
|
|
|
396
422
|
audience: 'oss',
|
|
397
423
|
ctaMode: 'oss-next',
|
|
398
424
|
},
|
|
425
|
+
{
|
|
426
|
+
href: '/docs/libraries/data-views',
|
|
427
|
+
title: 'DataViews runtime',
|
|
428
|
+
description:
|
|
429
|
+
'Render list, grid, and table DataViews with shared collection defaults, toolbar controls, data depth, and personalization bridges.',
|
|
430
|
+
section: 'build',
|
|
431
|
+
order: 71,
|
|
432
|
+
navTitle: 'DataViews runtime',
|
|
433
|
+
primaryNav: true,
|
|
434
|
+
audience: 'oss',
|
|
435
|
+
ctaMode: 'oss-next',
|
|
436
|
+
aliases: ['DataViewRenderer', 'dataDepth', 'collection view modes'],
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
href: '/docs/libraries/personalization',
|
|
440
|
+
title: 'Personalization',
|
|
441
|
+
description:
|
|
442
|
+
'Track behavior events, resolve DataView preferences, and convert insights into overlays or workflow adaptations.',
|
|
443
|
+
section: 'build',
|
|
444
|
+
order: 72,
|
|
445
|
+
navTitle: 'Personalization',
|
|
446
|
+
primaryNav: true,
|
|
447
|
+
audience: 'oss',
|
|
448
|
+
ctaMode: 'oss-next',
|
|
449
|
+
aliases: [
|
|
450
|
+
'resolveDataViewPreferences',
|
|
451
|
+
'trackDataViewInteraction',
|
|
452
|
+
'data_view_interaction',
|
|
453
|
+
],
|
|
454
|
+
},
|
|
455
|
+
{
|
|
456
|
+
href: '/docs/libraries/translation-runtime',
|
|
457
|
+
title: 'Translation runtime',
|
|
458
|
+
description:
|
|
459
|
+
'Use ContractSpec TranslationSpec catalogs as the canonical i18n layer, then resolve, format, snapshot, and optionally project messages to i18next.',
|
|
460
|
+
section: 'build',
|
|
461
|
+
order: 73,
|
|
462
|
+
navTitle: 'Translation runtime',
|
|
463
|
+
primaryNav: true,
|
|
464
|
+
audience: 'oss',
|
|
465
|
+
ctaMode: 'oss-next',
|
|
466
|
+
aliases: ['i18n runtime', 'i18next adapter', 'translations'],
|
|
467
|
+
},
|
|
399
468
|
{
|
|
400
469
|
href: '/docs/libraries/cross-platform-ui',
|
|
401
470
|
title: 'Cross-platform UI',
|
|
402
471
|
description:
|
|
403
472
|
'Understand how the presentation runtimes, ui-kit-web, ui-kit, and design-system stay aligned across React and React Native.',
|
|
404
473
|
section: 'build',
|
|
405
|
-
order:
|
|
474
|
+
order: 74,
|
|
475
|
+
audience: 'oss',
|
|
476
|
+
ctaMode: 'oss-next',
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
href: '/docs/libraries/application-shell',
|
|
480
|
+
title: 'Application shell',
|
|
481
|
+
description:
|
|
482
|
+
'Implement reusable app navigation with desktop sidebars, topbar breadcrumbs, command search, in-app notifications, mobile adapters, and PageOutline section navigation.',
|
|
483
|
+
section: 'build',
|
|
484
|
+
order: 75,
|
|
485
|
+
audience: 'oss',
|
|
486
|
+
ctaMode: 'oss-next',
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
href: '/docs/libraries/design-system',
|
|
490
|
+
title: 'Design system',
|
|
491
|
+
description:
|
|
492
|
+
'Adopt high-level product UI primitives, actionable object references, responsive AdaptivePanel overlays, forms, data tables, and theme helpers.',
|
|
493
|
+
section: 'build',
|
|
494
|
+
order: 76,
|
|
495
|
+
primaryNav: true,
|
|
406
496
|
audience: 'oss',
|
|
407
497
|
ctaMode: 'oss-next',
|
|
498
|
+
aliases: [
|
|
499
|
+
'object references',
|
|
500
|
+
'ObjectReferenceHandler',
|
|
501
|
+
'AdaptivePanel',
|
|
502
|
+
'adaptive panels',
|
|
503
|
+
'sheet drawer',
|
|
504
|
+
],
|
|
408
505
|
},
|
|
409
506
|
{
|
|
410
507
|
href: '/docs/architecture',
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
{
|
|
11
11
|
"id": "notifications/notifications.delete",
|
|
12
12
|
"title": "notifications.delete",
|
|
13
|
-
"summary": "Delete a notification.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, delete\n- **File**: `packages/
|
|
13
|
+
"summary": "Delete a notification.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, delete\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
14
14
|
"route": "/docs/reference/notifications/notifications.delete",
|
|
15
15
|
"source": "generated",
|
|
16
16
|
"contentPath": "notifications/notifications.delete.md"
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
{
|
|
19
19
|
"id": "notifications/notifications.list",
|
|
20
20
|
"title": "notifications.list",
|
|
21
|
-
"summary": "List notifications for the current user.\n- **Type**: operation (query)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, list\n- **File**: `packages/
|
|
21
|
+
"summary": "List notifications for the current user.\n- **Type**: operation (query)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, list\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
22
22
|
"route": "/docs/reference/notifications/notifications.list",
|
|
23
23
|
"source": "generated",
|
|
24
24
|
"contentPath": "notifications/notifications.list.md"
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
{
|
|
27
27
|
"id": "notifications/notifications.markAllRead",
|
|
28
28
|
"title": "notifications.markAllRead",
|
|
29
|
-
"summary": "Mark all notifications as read.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, read\n- **File**: `packages/
|
|
29
|
+
"summary": "Mark all notifications as read.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, read\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
30
30
|
"route": "/docs/reference/notifications/notifications.markAllRead",
|
|
31
31
|
"source": "generated",
|
|
32
32
|
"contentPath": "notifications/notifications.markAllRead.md"
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
{
|
|
35
35
|
"id": "notifications/notifications.markRead",
|
|
36
36
|
"title": "notifications.markRead",
|
|
37
|
-
"summary": "Mark a notification as read.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, read\n- **File**: `packages/
|
|
37
|
+
"summary": "Mark a notification as read.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, read\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
38
38
|
"route": "/docs/reference/notifications/notifications.markRead",
|
|
39
39
|
"source": "generated",
|
|
40
40
|
"contentPath": "notifications/notifications.markRead.md"
|
|
@@ -42,7 +42,7 @@
|
|
|
42
42
|
{
|
|
43
43
|
"id": "notifications/notifications.preferences.get",
|
|
44
44
|
"title": "notifications.preferences.get",
|
|
45
|
-
"summary": "Get notification preferences for current user.\n- **Type**: operation (query)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, preferences, get\n- **File**: `packages/
|
|
45
|
+
"summary": "Get notification preferences for current user.\n- **Type**: operation (query)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, preferences, get\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
46
46
|
"route": "/docs/reference/notifications/notifications.preferences.get",
|
|
47
47
|
"source": "generated",
|
|
48
48
|
"contentPath": "notifications/notifications.preferences.get.md"
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
{
|
|
51
51
|
"id": "notifications/notifications.preferences.update",
|
|
52
52
|
"title": "notifications.preferences.update",
|
|
53
|
-
"summary": "Update notification preferences.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, preferences, update\n- **File**: `packages/
|
|
53
|
+
"summary": "Update notification preferences.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, preferences, update\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
54
54
|
"route": "/docs/reference/notifications/notifications.preferences.update",
|
|
55
55
|
"source": "generated",
|
|
56
56
|
"contentPath": "notifications/notifications.preferences.update.md"
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
{
|
|
59
59
|
"id": "notifications/notifications.send",
|
|
60
60
|
"title": "notifications.send",
|
|
61
|
-
"summary": "Send a notification to a user.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, send\n- **File**: `packages/
|
|
61
|
+
"summary": "Send a notification to a user.\n- **Type**: operation (command)\n- **Version**: 1.0.0\n- **Stability**: stable\n- **Owners**: platform.notifications\n- **Tags**: notifications, send\n- **File**: `packages/libs/contracts-spec/src/notifications/contracts.ts`",
|
|
62
62
|
"route": "/docs/reference/notifications/notifications.send",
|
|
63
63
|
"source": "generated",
|
|
64
64
|
"contentPath": "notifications/notifications.send.md"
|