@topogram/starter-hello-web 0.1.10 → 0.1.11

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 CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@topogram/starter-hello-web",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
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.3"
20
+ "@topogram/generator-vanilla-web": "0.1.4"
21
21
  },
22
22
  "publishConfig": {
23
23
  "registry": "https://registry.npmjs.org",
@@ -9,7 +9,7 @@ review_required: false
9
9
  related_capabilities:
10
10
  - cap_view_hello
11
11
  related_projections:
12
- - proj_ui_web
12
+ - proj_web_surface
13
13
  tags:
14
14
  - starter
15
15
  - workflow
@@ -1,12 +1,12 @@
1
- projection proj_ui_shared {
1
+ projection proj_ui_contract {
2
2
  name "Hello Shared UI"
3
3
  description "Platform-neutral UI semantics for the hello web starter"
4
- platform ui_shared
4
+ type ui_contract
5
5
 
6
6
  realizes [cap_view_hello]
7
7
  outputs [ui_contract]
8
8
 
9
- ui_app_shell {
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
- ui_screens {
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
- ui_navigation {
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 proj_ui_web {
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
- platform ui_web
4
+ type web_surface
5
5
 
6
- realizes [proj_ui_shared, cap_view_hello]
6
+ realizes [proj_ui_contract, cap_view_hello]
7
7
  outputs [ui_contract, web_app]
8
8
 
9
- ui_routes {
9
+ screen_routes {
10
10
  screen hello_home path /
11
11
  screen hello_workflow path /workflow
12
12
  }
13
13
 
14
- ui_web {
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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "id": "@topogram/starter-hello-web",
3
- "version": "0.1.10",
3
+ "version": "0.1.11",
4
4
  "kind": "starter",
5
5
  "description": "Vanilla HTML/CSS/JS starter with two pages and one workflow.",
6
6
  "topogramVersion": "0.1",
@@ -7,17 +7,17 @@
7
7
  }
8
8
  },
9
9
  "topology": {
10
- "components": [
10
+ "runtimes": [
11
11
  {
12
12
  "id": "app_web",
13
- "type": "web",
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
  }