@kumwe/studio-testkit 0.1.0-alpha.3 → 0.1.0-alpha.4

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.
@@ -0,0 +1,18 @@
1
+ {
2
+ "schema": "command.schema.json",
3
+ "description": "A size role must be a bounded lower-case identifier, never free text or CSS.",
4
+ "value": {
5
+ "artifactId": "vector.blueprint",
6
+ "baseStateVersion": 0,
7
+ "contractVersion": "0.1-draft",
8
+ "id": "vector.command.malformed-size-role",
9
+ "kind": "command",
10
+ "payload": {
11
+ "axis": "inline",
12
+ "nodeId": "text-a",
13
+ "role": "calc(50% - 1rem)"
14
+ },
15
+ "sessionGeneration": "session-r1",
16
+ "type": "studio.command/set-size-role"
17
+ }
18
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kumwe/studio-testkit",
3
- "version": "0.1.0-alpha.3",
3
+ "version": "0.1.0-alpha.4",
4
4
  "repository": {
5
5
  "type": "git",
6
6
  "url": "git+https://github.com/kumwe/studio.git",
@@ -34,7 +34,7 @@
34
34
  "build": "tsc -b"
35
35
  },
36
36
  "dependencies": {
37
- "@kumwe/studio-core": "0.1.0-alpha.3",
37
+ "@kumwe/studio-core": "0.1.0-alpha.4",
38
38
  "@kumwe/studio-protocol": "0.1.0-alpha.2"
39
39
  },
40
40
  "publishConfig": {
@@ -0,0 +1,180 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.batch.size-roles",
5
+ "description": "Size-role commands participate in atomic batches: one batch assigns the base role and a responsive override, and the inverse batch unsets them in reverse order.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0"
54
+ }
55
+ ],
56
+ "status": "draft",
57
+ "version": "1.0.0"
58
+ },
59
+ "command": {
60
+ "artifactId": "vector.blueprint",
61
+ "baseStateVersion": 0,
62
+ "contractVersion": "0.1-draft",
63
+ "id": "vector.command.batch.size-roles",
64
+ "kind": "command",
65
+ "payload": {
66
+ "operations": [
67
+ {
68
+ "payload": {
69
+ "axis": "inline",
70
+ "nodeId": "text-a",
71
+ "role": "full"
72
+ },
73
+ "type": "studio.command/set-size-role"
74
+ },
75
+ {
76
+ "payload": {
77
+ "axis": "inline",
78
+ "nodeId": "text-a",
79
+ "role": "half",
80
+ "viewport": "wide"
81
+ },
82
+ "type": "studio.command/set-size-role"
83
+ }
84
+ ]
85
+ },
86
+ "sessionGeneration": "session-r1",
87
+ "type": "studio.command/batch"
88
+ },
89
+ "expect": {
90
+ "document": {
91
+ "contractVersion": "0.1-draft",
92
+ "dependencyLock": {
93
+ "blocks": [
94
+ {
95
+ "revision": "block-r1",
96
+ "type": "studio.vector/section",
97
+ "version": "1.0.0"
98
+ },
99
+ {
100
+ "revision": "block-r1",
101
+ "type": "studio.vector/text",
102
+ "version": "1.0.0"
103
+ }
104
+ ],
105
+ "theme": {
106
+ "id": "studio.vector/theme",
107
+ "revision": "theme-r1",
108
+ "version": "1.0.0"
109
+ }
110
+ },
111
+ "id": "vector.blueprint",
112
+ "kind": "blueprint",
113
+ "label": {
114
+ "defaultMessage": "Vector Blueprint",
115
+ "key": "studio.vector/blueprint"
116
+ },
117
+ "model": {
118
+ "id": "studio.vector/model",
119
+ "revision": "model-r1",
120
+ "version": "1.0.0"
121
+ },
122
+ "owner": {
123
+ "id": "studio.vector/suite",
124
+ "version": "0.1.0-alpha.0"
125
+ },
126
+ "revision": "blueprint-r1",
127
+ "roots": [
128
+ {
129
+ "authoring": {
130
+ "mode": "designer"
131
+ },
132
+ "bindings": {},
133
+ "id": "text-a",
134
+ "properties": {},
135
+ "slots": {},
136
+ "type": "studio.vector/text",
137
+ "version": "1.0.0",
138
+ "responsiveSizeRoles": {
139
+ "inline": {
140
+ "wide": "half"
141
+ }
142
+ },
143
+ "sizeRoles": {
144
+ "inline": "full"
145
+ }
146
+ }
147
+ ],
148
+ "status": "draft",
149
+ "version": "1.0.0"
150
+ }
151
+ },
152
+ "inverse": {
153
+ "artifactId": "vector.blueprint",
154
+ "baseStateVersion": 1,
155
+ "contractVersion": "0.1-draft",
156
+ "id": "vector.inverse.batch.size-roles",
157
+ "kind": "command",
158
+ "payload": {
159
+ "operations": [
160
+ {
161
+ "payload": {
162
+ "axis": "inline",
163
+ "nodeId": "text-a",
164
+ "viewport": "wide"
165
+ },
166
+ "type": "studio.command/unset-size-role"
167
+ },
168
+ {
169
+ "payload": {
170
+ "axis": "inline",
171
+ "nodeId": "text-a"
172
+ },
173
+ "type": "studio.command/unset-size-role"
174
+ }
175
+ ]
176
+ },
177
+ "sessionGeneration": "session-r1",
178
+ "type": "studio.command/batch"
179
+ }
180
+ }
@@ -0,0 +1,144 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.set-size-role.base",
5
+ "description": "Assigning a base size role materialises the sizeRoles record for that axis; the inverse unset drops the emptied record again.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0"
54
+ }
55
+ ],
56
+ "status": "draft",
57
+ "version": "1.0.0"
58
+ },
59
+ "command": {
60
+ "artifactId": "vector.blueprint",
61
+ "baseStateVersion": 0,
62
+ "contractVersion": "0.1-draft",
63
+ "id": "vector.command.set-size-role.base",
64
+ "kind": "command",
65
+ "payload": {
66
+ "axis": "inline",
67
+ "nodeId": "text-a",
68
+ "role": "half"
69
+ },
70
+ "sessionGeneration": "session-r1",
71
+ "type": "studio.command/set-size-role"
72
+ },
73
+ "expect": {
74
+ "document": {
75
+ "contractVersion": "0.1-draft",
76
+ "dependencyLock": {
77
+ "blocks": [
78
+ {
79
+ "revision": "block-r1",
80
+ "type": "studio.vector/section",
81
+ "version": "1.0.0"
82
+ },
83
+ {
84
+ "revision": "block-r1",
85
+ "type": "studio.vector/text",
86
+ "version": "1.0.0"
87
+ }
88
+ ],
89
+ "theme": {
90
+ "id": "studio.vector/theme",
91
+ "revision": "theme-r1",
92
+ "version": "1.0.0"
93
+ }
94
+ },
95
+ "id": "vector.blueprint",
96
+ "kind": "blueprint",
97
+ "label": {
98
+ "defaultMessage": "Vector Blueprint",
99
+ "key": "studio.vector/blueprint"
100
+ },
101
+ "model": {
102
+ "id": "studio.vector/model",
103
+ "revision": "model-r1",
104
+ "version": "1.0.0"
105
+ },
106
+ "owner": {
107
+ "id": "studio.vector/suite",
108
+ "version": "0.1.0-alpha.0"
109
+ },
110
+ "revision": "blueprint-r1",
111
+ "roots": [
112
+ {
113
+ "authoring": {
114
+ "mode": "designer"
115
+ },
116
+ "bindings": {},
117
+ "id": "text-a",
118
+ "properties": {},
119
+ "slots": {},
120
+ "type": "studio.vector/text",
121
+ "version": "1.0.0",
122
+ "sizeRoles": {
123
+ "inline": "half"
124
+ }
125
+ }
126
+ ],
127
+ "status": "draft",
128
+ "version": "1.0.0"
129
+ }
130
+ },
131
+ "inverse": {
132
+ "artifactId": "vector.blueprint",
133
+ "baseStateVersion": 1,
134
+ "contractVersion": "0.1-draft",
135
+ "id": "vector.inverse.set-size-role.base",
136
+ "kind": "command",
137
+ "payload": {
138
+ "axis": "inline",
139
+ "nodeId": "text-a"
140
+ },
141
+ "sessionGeneration": "session-r1",
142
+ "type": "studio.command/unset-size-role"
143
+ }
144
+ }
@@ -0,0 +1,148 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.set-size-role.duplicate",
5
+ "description": "Re-assigning the role an axis already carries leaves the document unchanged and still inverts to a set of the previous role, so the round trip is byte-identical.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0",
54
+ "sizeRoles": {
55
+ "inline": "half"
56
+ }
57
+ }
58
+ ],
59
+ "status": "draft",
60
+ "version": "1.0.0"
61
+ },
62
+ "command": {
63
+ "artifactId": "vector.blueprint",
64
+ "baseStateVersion": 0,
65
+ "contractVersion": "0.1-draft",
66
+ "id": "vector.command.set-size-role.duplicate",
67
+ "kind": "command",
68
+ "payload": {
69
+ "axis": "inline",
70
+ "nodeId": "text-a",
71
+ "role": "half"
72
+ },
73
+ "sessionGeneration": "session-r1",
74
+ "type": "studio.command/set-size-role"
75
+ },
76
+ "expect": {
77
+ "document": {
78
+ "contractVersion": "0.1-draft",
79
+ "dependencyLock": {
80
+ "blocks": [
81
+ {
82
+ "revision": "block-r1",
83
+ "type": "studio.vector/section",
84
+ "version": "1.0.0"
85
+ },
86
+ {
87
+ "revision": "block-r1",
88
+ "type": "studio.vector/text",
89
+ "version": "1.0.0"
90
+ }
91
+ ],
92
+ "theme": {
93
+ "id": "studio.vector/theme",
94
+ "revision": "theme-r1",
95
+ "version": "1.0.0"
96
+ }
97
+ },
98
+ "id": "vector.blueprint",
99
+ "kind": "blueprint",
100
+ "label": {
101
+ "defaultMessage": "Vector Blueprint",
102
+ "key": "studio.vector/blueprint"
103
+ },
104
+ "model": {
105
+ "id": "studio.vector/model",
106
+ "revision": "model-r1",
107
+ "version": "1.0.0"
108
+ },
109
+ "owner": {
110
+ "id": "studio.vector/suite",
111
+ "version": "0.1.0-alpha.0"
112
+ },
113
+ "revision": "blueprint-r1",
114
+ "roots": [
115
+ {
116
+ "authoring": {
117
+ "mode": "designer"
118
+ },
119
+ "bindings": {},
120
+ "id": "text-a",
121
+ "properties": {},
122
+ "slots": {},
123
+ "type": "studio.vector/text",
124
+ "version": "1.0.0",
125
+ "sizeRoles": {
126
+ "inline": "half"
127
+ }
128
+ }
129
+ ],
130
+ "status": "draft",
131
+ "version": "1.0.0"
132
+ }
133
+ },
134
+ "inverse": {
135
+ "artifactId": "vector.blueprint",
136
+ "baseStateVersion": 1,
137
+ "contractVersion": "0.1-draft",
138
+ "id": "vector.inverse.set-size-role.duplicate",
139
+ "kind": "command",
140
+ "payload": {
141
+ "axis": "inline",
142
+ "nodeId": "text-a",
143
+ "role": "half"
144
+ },
145
+ "sessionGeneration": "session-r1",
146
+ "type": "studio.command/set-size-role"
147
+ }
148
+ }
@@ -0,0 +1,154 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.set-size-role.viewport-add",
5
+ "description": "Assigning a responsive size-role override materialises the responsiveSizeRoles map for that axis and viewport while the base role stays untouched; the inverse unset removes the empty containers again.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0",
54
+ "sizeRoles": {
55
+ "inline": "full"
56
+ }
57
+ }
58
+ ],
59
+ "status": "draft",
60
+ "version": "1.0.0"
61
+ },
62
+ "command": {
63
+ "artifactId": "vector.blueprint",
64
+ "baseStateVersion": 0,
65
+ "contractVersion": "0.1-draft",
66
+ "id": "vector.command.set-size-role.viewport-add",
67
+ "kind": "command",
68
+ "payload": {
69
+ "axis": "inline",
70
+ "nodeId": "text-a",
71
+ "role": "half",
72
+ "viewport": "wide"
73
+ },
74
+ "sessionGeneration": "session-r1",
75
+ "type": "studio.command/set-size-role"
76
+ },
77
+ "expect": {
78
+ "document": {
79
+ "contractVersion": "0.1-draft",
80
+ "dependencyLock": {
81
+ "blocks": [
82
+ {
83
+ "revision": "block-r1",
84
+ "type": "studio.vector/section",
85
+ "version": "1.0.0"
86
+ },
87
+ {
88
+ "revision": "block-r1",
89
+ "type": "studio.vector/text",
90
+ "version": "1.0.0"
91
+ }
92
+ ],
93
+ "theme": {
94
+ "id": "studio.vector/theme",
95
+ "revision": "theme-r1",
96
+ "version": "1.0.0"
97
+ }
98
+ },
99
+ "id": "vector.blueprint",
100
+ "kind": "blueprint",
101
+ "label": {
102
+ "defaultMessage": "Vector Blueprint",
103
+ "key": "studio.vector/blueprint"
104
+ },
105
+ "model": {
106
+ "id": "studio.vector/model",
107
+ "revision": "model-r1",
108
+ "version": "1.0.0"
109
+ },
110
+ "owner": {
111
+ "id": "studio.vector/suite",
112
+ "version": "0.1.0-alpha.0"
113
+ },
114
+ "revision": "blueprint-r1",
115
+ "roots": [
116
+ {
117
+ "authoring": {
118
+ "mode": "designer"
119
+ },
120
+ "bindings": {},
121
+ "id": "text-a",
122
+ "properties": {},
123
+ "slots": {},
124
+ "type": "studio.vector/text",
125
+ "version": "1.0.0",
126
+ "responsiveSizeRoles": {
127
+ "inline": {
128
+ "wide": "half"
129
+ }
130
+ },
131
+ "sizeRoles": {
132
+ "inline": "full"
133
+ }
134
+ }
135
+ ],
136
+ "status": "draft",
137
+ "version": "1.0.0"
138
+ }
139
+ },
140
+ "inverse": {
141
+ "artifactId": "vector.blueprint",
142
+ "baseStateVersion": 1,
143
+ "contractVersion": "0.1-draft",
144
+ "id": "vector.inverse.set-size-role.viewport-add",
145
+ "kind": "command",
146
+ "payload": {
147
+ "axis": "inline",
148
+ "nodeId": "text-a",
149
+ "viewport": "wide"
150
+ },
151
+ "sessionGeneration": "session-r1",
152
+ "type": "studio.command/unset-size-role"
153
+ }
154
+ }
@@ -0,0 +1,78 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.unset-size-role.missing.error",
5
+ "description": "Unsetting an axis that carries no size role fails with property-not-found even when the other axis is assigned.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0",
54
+ "sizeRoles": {
55
+ "inline": "full"
56
+ }
57
+ }
58
+ ],
59
+ "status": "draft",
60
+ "version": "1.0.0"
61
+ },
62
+ "command": {
63
+ "artifactId": "vector.blueprint",
64
+ "baseStateVersion": 0,
65
+ "contractVersion": "0.1-draft",
66
+ "id": "vector.command.unset-size-role.missing.error",
67
+ "kind": "command",
68
+ "payload": {
69
+ "axis": "block",
70
+ "nodeId": "text-a"
71
+ },
72
+ "sessionGeneration": "session-r1",
73
+ "type": "studio.command/unset-size-role"
74
+ },
75
+ "expect": {
76
+ "errorCode": "property-not-found"
77
+ }
78
+ }
@@ -0,0 +1,154 @@
1
+ {
2
+ "contractVersion": "0.1-draft",
3
+ "kind": "command-vector",
4
+ "id": "vector.command-vector.unset-size-role.viewport",
5
+ "description": "Unsetting the only responsive size-role override drops the emptied responsiveSizeRoles containers so the viewport inherits the base role again; the inverse restores the override.",
6
+ "initial": {
7
+ "contractVersion": "0.1-draft",
8
+ "dependencyLock": {
9
+ "blocks": [
10
+ {
11
+ "revision": "block-r1",
12
+ "type": "studio.vector/section",
13
+ "version": "1.0.0"
14
+ },
15
+ {
16
+ "revision": "block-r1",
17
+ "type": "studio.vector/text",
18
+ "version": "1.0.0"
19
+ }
20
+ ],
21
+ "theme": {
22
+ "id": "studio.vector/theme",
23
+ "revision": "theme-r1",
24
+ "version": "1.0.0"
25
+ }
26
+ },
27
+ "id": "vector.blueprint",
28
+ "kind": "blueprint",
29
+ "label": {
30
+ "defaultMessage": "Vector Blueprint",
31
+ "key": "studio.vector/blueprint"
32
+ },
33
+ "model": {
34
+ "id": "studio.vector/model",
35
+ "revision": "model-r1",
36
+ "version": "1.0.0"
37
+ },
38
+ "owner": {
39
+ "id": "studio.vector/suite",
40
+ "version": "0.1.0-alpha.0"
41
+ },
42
+ "revision": "blueprint-r1",
43
+ "roots": [
44
+ {
45
+ "authoring": {
46
+ "mode": "designer"
47
+ },
48
+ "bindings": {},
49
+ "id": "text-a",
50
+ "properties": {},
51
+ "slots": {},
52
+ "type": "studio.vector/text",
53
+ "version": "1.0.0",
54
+ "responsiveSizeRoles": {
55
+ "inline": {
56
+ "wide": "half"
57
+ }
58
+ },
59
+ "sizeRoles": {
60
+ "inline": "full"
61
+ }
62
+ }
63
+ ],
64
+ "status": "draft",
65
+ "version": "1.0.0"
66
+ },
67
+ "command": {
68
+ "artifactId": "vector.blueprint",
69
+ "baseStateVersion": 0,
70
+ "contractVersion": "0.1-draft",
71
+ "id": "vector.command.unset-size-role.viewport",
72
+ "kind": "command",
73
+ "payload": {
74
+ "axis": "inline",
75
+ "nodeId": "text-a",
76
+ "viewport": "wide"
77
+ },
78
+ "sessionGeneration": "session-r1",
79
+ "type": "studio.command/unset-size-role"
80
+ },
81
+ "expect": {
82
+ "document": {
83
+ "contractVersion": "0.1-draft",
84
+ "dependencyLock": {
85
+ "blocks": [
86
+ {
87
+ "revision": "block-r1",
88
+ "type": "studio.vector/section",
89
+ "version": "1.0.0"
90
+ },
91
+ {
92
+ "revision": "block-r1",
93
+ "type": "studio.vector/text",
94
+ "version": "1.0.0"
95
+ }
96
+ ],
97
+ "theme": {
98
+ "id": "studio.vector/theme",
99
+ "revision": "theme-r1",
100
+ "version": "1.0.0"
101
+ }
102
+ },
103
+ "id": "vector.blueprint",
104
+ "kind": "blueprint",
105
+ "label": {
106
+ "defaultMessage": "Vector Blueprint",
107
+ "key": "studio.vector/blueprint"
108
+ },
109
+ "model": {
110
+ "id": "studio.vector/model",
111
+ "revision": "model-r1",
112
+ "version": "1.0.0"
113
+ },
114
+ "owner": {
115
+ "id": "studio.vector/suite",
116
+ "version": "0.1.0-alpha.0"
117
+ },
118
+ "revision": "blueprint-r1",
119
+ "roots": [
120
+ {
121
+ "authoring": {
122
+ "mode": "designer"
123
+ },
124
+ "bindings": {},
125
+ "id": "text-a",
126
+ "properties": {},
127
+ "slots": {},
128
+ "type": "studio.vector/text",
129
+ "version": "1.0.0",
130
+ "sizeRoles": {
131
+ "inline": "full"
132
+ }
133
+ }
134
+ ],
135
+ "status": "draft",
136
+ "version": "1.0.0"
137
+ }
138
+ },
139
+ "inverse": {
140
+ "artifactId": "vector.blueprint",
141
+ "baseStateVersion": 1,
142
+ "contractVersion": "0.1-draft",
143
+ "id": "vector.inverse.unset-size-role.viewport",
144
+ "kind": "command",
145
+ "payload": {
146
+ "axis": "inline",
147
+ "nodeId": "text-a",
148
+ "role": "half",
149
+ "viewport": "wide"
150
+ },
151
+ "sessionGeneration": "session-r1",
152
+ "type": "studio.command/set-size-role"
153
+ }
154
+ }