@topogram/starter-hello-web 0.1.10 → 0.1.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/package.json +2 -2
- package/topogram/docs/workflows/workflow-hello.md +1 -1
- package/topogram/projections/{proj-ui-shared.tg → proj-ui-contract.tg} +17 -5
- package/topogram/projections/{proj-ui-web.tg → proj-web-surface.tg} +5 -5
- package/topogram-template.json +1 -1
- package/topogram.project.json +4 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@topogram/starter-hello-web",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.12",
|
|
4
4
|
"description": "Vanilla HTML/CSS/JS Topogram starter with two pages and one workflow.",
|
|
5
5
|
"license": "UNLICENSED",
|
|
6
6
|
"private": false,
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
"README.md"
|
|
18
18
|
],
|
|
19
19
|
"devDependencies": {
|
|
20
|
-
"@topogram/generator-vanilla-web": "0.1.
|
|
20
|
+
"@topogram/generator-vanilla-web": "0.1.4"
|
|
21
21
|
},
|
|
22
22
|
"publishConfig": {
|
|
23
23
|
"registry": "https://registry.npmjs.org",
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
projection
|
|
1
|
+
projection proj_ui_contract {
|
|
2
2
|
name "Hello Shared UI"
|
|
3
3
|
description "Platform-neutral UI semantics for the hello web starter"
|
|
4
|
-
|
|
4
|
+
type ui_contract
|
|
5
5
|
|
|
6
6
|
realizes [cap_view_hello]
|
|
7
7
|
outputs [ui_contract]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
app_shell {
|
|
10
10
|
brand "Topogram Hello"
|
|
11
11
|
shell topbar
|
|
12
12
|
global_search false
|
|
@@ -15,12 +15,24 @@ projection proj_ui_shared {
|
|
|
15
15
|
footer none
|
|
16
16
|
}
|
|
17
17
|
|
|
18
|
-
|
|
18
|
+
design_tokens {
|
|
19
|
+
density comfortable
|
|
20
|
+
tone editorial
|
|
21
|
+
radius_scale small
|
|
22
|
+
color_role primary accent
|
|
23
|
+
typography_role body readable
|
|
24
|
+
typography_role heading prominent
|
|
25
|
+
action_role primary prominent
|
|
26
|
+
accessibility contrast aa
|
|
27
|
+
accessibility focus visible
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
screens {
|
|
19
31
|
screen hello_home kind detail title "Hello Web" load cap_view_hello view_shape shape_output_hello loading_state none
|
|
20
32
|
screen hello_workflow kind detail title "Hello Workflow" load cap_view_hello view_shape shape_output_hello loading_state none
|
|
21
33
|
}
|
|
22
34
|
|
|
23
|
-
|
|
35
|
+
navigation {
|
|
24
36
|
group hello label "Hello" placement primary pattern primary
|
|
25
37
|
screen hello_home group hello label "Home" order 10 visible true default true sitemap include pattern primary
|
|
26
38
|
screen hello_workflow group hello label "Workflow" order 20 visible true sitemap include pattern primary
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
projection
|
|
1
|
+
projection proj_web_surface {
|
|
2
2
|
name "Hello Vanilla Web"
|
|
3
3
|
description "Vanilla HTML/CSS/JS realization for the hello web starter"
|
|
4
|
-
|
|
4
|
+
type web_surface
|
|
5
5
|
|
|
6
|
-
realizes [
|
|
6
|
+
realizes [proj_ui_contract, cap_view_hello]
|
|
7
7
|
outputs [ui_contract, web_app]
|
|
8
8
|
|
|
9
|
-
|
|
9
|
+
screen_routes {
|
|
10
10
|
screen hello_home path /
|
|
11
11
|
screen hello_workflow path /workflow
|
|
12
12
|
}
|
|
13
13
|
|
|
14
|
-
|
|
14
|
+
web_hints {
|
|
15
15
|
screen hello_home shell topbar
|
|
16
16
|
screen hello_home layout detail_page
|
|
17
17
|
screen hello_workflow layout detail_page
|
package/topogram-template.json
CHANGED
package/topogram.project.json
CHANGED
|
@@ -7,17 +7,17 @@
|
|
|
7
7
|
}
|
|
8
8
|
},
|
|
9
9
|
"topology": {
|
|
10
|
-
"
|
|
10
|
+
"runtimes": [
|
|
11
11
|
{
|
|
12
12
|
"id": "app_web",
|
|
13
|
-
"
|
|
14
|
-
"projection": "proj_ui_web",
|
|
13
|
+
"projection": "proj_web_surface",
|
|
15
14
|
"generator": {
|
|
16
15
|
"id": "@topogram/generator-vanilla-web",
|
|
17
16
|
"version": "1",
|
|
18
17
|
"package": "@topogram/generator-vanilla-web"
|
|
19
18
|
},
|
|
20
|
-
"port": 5173
|
|
19
|
+
"port": 5173,
|
|
20
|
+
"kind": "web_surface"
|
|
21
21
|
}
|
|
22
22
|
]
|
|
23
23
|
}
|