@exponential-at/ui 0.0.0-stage → 0.1.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/LICENSE +201 -0
- package/NOTICE +54 -0
- package/README.md +360 -2
- package/catalog/a11y.json +668 -0
- package/catalog/basic-map.json +104 -0
- package/catalog/code.json +58 -0
- package/catalog/core.catalog.json +4752 -0
- package/catalog/core.schema.json +22667 -0
- package/catalog/host.json +64 -0
- package/catalog/layout.json +20 -0
- package/catalog/limits.json +9 -0
- package/catalog/locale.json +48 -0
- package/catalog/macros.json +3417 -0
- package/catalog/recipes.json +61 -0
- package/catalog/strings.json +72 -0
- package/catalog/style.json +128 -0
- package/catalog/theme.schema.json +42543 -0
- package/catalog/tokens.json +47 -0
- package/conformance/README.md +217 -0
- package/conformance/baseline.ts +101 -0
- package/conformance/browser-page.ts +146 -0
- package/conformance/browser-suites.ts +683 -0
- package/conformance/compare.ts +201 -0
- package/conformance/dom.ts +96 -0
- package/conformance/dump.ts +163 -0
- package/conformance/fonts.json +154 -0
- package/conformance/manifest.json +224 -0
- package/conformance/parity-compare.ts +191 -0
- package/conformance/parity-report.schema.json +73 -0
- package/conformance/parity.ts +412 -0
- package/conformance/pixel.ts +177 -0
- package/conformance/primitives-page.ts +49 -0
- package/conformance/report.schema.json +66 -0
- package/conformance/run.ts +118 -0
- package/dist/chunks/index-98npjvsd.js +3940 -0
- package/dist/chunks/index-98npjvsd.js.map +27 -0
- package/dist/chunks/index-gwkt14w3.js +7314 -0
- package/dist/chunks/index-gwkt14w3.js.map +10 -0
- package/dist/chunks/index-njt7yzzm.js +134 -0
- package/dist/chunks/index-njt7yzzm.js.map +9 -0
- package/dist/chunks/index-we7va6v6.js +7984 -0
- package/dist/chunks/index-we7va6v6.js.map +15 -0
- package/dist/chunks/index-xrm6f7wc.js +2563 -0
- package/dist/chunks/index-xrm6f7wc.js.map +10 -0
- package/dist/conformance.js +182749 -0
- package/dist/conformance.js.map +10 -0
- package/dist/entries/prompt.js +251 -0
- package/dist/entries/prompt.js.map +11 -0
- package/dist/entries/schema.js +1725 -0
- package/dist/entries/schema.js.map +11 -0
- package/dist/host/index.js +122 -0
- package/dist/host/index.js.map +9 -0
- package/dist/index.js +3213 -0
- package/dist/index.js.map +27 -0
- package/dist/types/src/a11y.d.ts +21 -0
- package/dist/types/src/animation.d.ts +76 -0
- package/dist/types/src/basic-map.d.ts +38 -0
- package/dist/types/src/builder.d.ts +50 -0
- package/dist/types/src/catalog.d.ts +54 -0
- package/dist/types/src/catalog.described.d.ts +33 -0
- package/dist/types/src/catalog.generated.d.ts +829 -0
- package/dist/types/src/chart.d.ts +46 -0
- package/dist/types/src/code.d.ts +44 -0
- package/dist/types/src/color.d.ts +20 -0
- package/dist/types/src/conformance.d.ts +39 -0
- package/dist/types/src/connector/app.d.ts +14 -0
- package/dist/types/src/connector/connector.d.ts +77 -0
- package/dist/types/src/connector/index.d.ts +4 -0
- package/dist/types/src/css.d.ts +29 -0
- package/dist/types/src/define.d.ts +66 -0
- package/dist/types/src/direction.d.ts +16 -0
- package/dist/types/src/dynamic.d.ts +159 -0
- package/dist/types/src/entries/prompt.d.ts +11 -0
- package/dist/types/src/entries/schema.d.ts +8 -0
- package/dist/types/src/expr.d.ts +71 -0
- package/dist/types/src/extension.d.ts +4 -0
- package/dist/types/src/format.d.ts +112 -0
- package/dist/types/src/geometry.d.ts +40 -0
- package/dist/types/src/host/contract.d.ts +188 -0
- package/dist/types/src/host/decoders.d.ts +61 -0
- package/dist/types/src/host/index.d.ts +11 -0
- package/dist/types/src/host/package.d.ts +58 -0
- package/dist/types/src/host/policy.d.ts +105 -0
- package/dist/types/src/host/router.d.ts +34 -0
- package/dist/types/src/host/runtime.d.ts +205 -0
- package/dist/types/src/host/sources.d.ts +15 -0
- package/dist/types/src/host/transports.d.ts +109 -0
- package/dist/types/src/index.d.ts +63 -0
- package/dist/types/src/layout.d.ts +20 -0
- package/dist/types/src/limits.d.ts +21 -0
- package/dist/types/src/list.d.ts +133 -0
- package/dist/types/src/locale.d.ts +22 -0
- package/dist/types/src/macros.d.ts +29 -0
- package/dist/types/src/overlay.d.ts +27 -0
- package/dist/types/src/prompt.d.ts +44 -0
- package/dist/types/src/recipes.d.ts +17 -0
- package/dist/types/src/reducer.d.ts +41 -0
- package/dist/types/src/resizable.d.ts +38 -0
- package/dist/types/src/schema.d.ts +7 -0
- package/dist/types/src/strings.d.ts +13 -0
- package/dist/types/src/style.d.ts +201 -0
- package/dist/types/src/test-preload.d.ts +1 -0
- package/dist/types/src/text-shimmer.d.ts +24 -0
- package/dist/types/src/theme-types.d.ts +162 -0
- package/dist/types/src/theme.d.ts +73 -0
- package/dist/types/src/themes.d.ts +22 -0
- package/dist/types/src/tree-guides.d.ts +17 -0
- package/dist/types/src/types.d.ts +314 -0
- package/dist/types/src/validate.d.ts +31 -0
- package/dist/types/src/web/base-css.d.ts +1 -0
- package/dist/types/src/web/box-css.d.ts +55 -0
- package/dist/types/src/web/coerce.d.ts +32 -0
- package/dist/types/src/web/data.d.ts +105 -0
- package/dist/types/src/web/dates.d.ts +12 -0
- package/dist/types/src/web/form.d.ts +44 -0
- package/dist/types/src/web/host-types.d.ts +119 -0
- package/dist/types/src/web/index.d.ts +28 -0
- package/dist/types/src/web/inputs.d.ts +55 -0
- package/dist/types/src/web/list.d.ts +13 -0
- package/dist/types/src/web/listbox.d.ts +14 -0
- package/dist/types/src/web/markdown.d.ts +96 -0
- package/dist/types/src/web/media.d.ts +62 -0
- package/dist/types/src/web/parts.d.ts +4 -0
- package/dist/types/src/web/primitives/alert-dialog.d.ts +10 -0
- package/dist/types/src/web/primitives/alert.d.ts +9 -0
- package/dist/types/src/web/primitives/avatar-color.d.ts +2 -0
- package/dist/types/src/web/primitives/avatar.d.ts +13 -0
- package/dist/types/src/web/primitives/badge.d.ts +10 -0
- package/dist/types/src/web/primitives/breadcrumb.d.ts +10 -0
- package/dist/types/src/web/primitives/button.d.ts +6 -0
- package/dist/types/src/web/primitives/calendar.d.ts +43 -0
- package/dist/types/src/web/primitives/card.d.ts +9 -0
- package/dist/types/src/web/primitives/checkbox.d.ts +5 -0
- package/dist/types/src/web/primitives/choice-tiles.d.ts +32 -0
- package/dist/types/src/web/primitives/cn.d.ts +3 -0
- package/dist/types/src/web/primitives/code-block.d.ts +24 -0
- package/dist/types/src/web/primitives/command.d.ts +134 -0
- package/dist/types/src/web/primitives/context-ring.d.ts +24 -0
- package/dist/types/src/web/primitives/dialog-arms.d.ts +6 -0
- package/dist/types/src/web/primitives/dialog.d.ts +24 -0
- package/dist/types/src/web/primitives/disclosure-header.d.ts +5 -0
- package/dist/types/src/web/primitives/dock.d.ts +42 -0
- package/dist/types/src/web/primitives/dropdown-menu.d.ts +14 -0
- package/dist/types/src/web/primitives/empty-state.d.ts +15 -0
- package/dist/types/src/web/primitives/glass-card.d.ts +4 -0
- package/dist/types/src/web/primitives/hover-card.d.ts +7 -0
- package/dist/types/src/web/primitives/icon-disc.d.ts +12 -0
- package/dist/types/src/web/primitives/index.d.ts +48 -0
- package/dist/types/src/web/primitives/input.d.ts +5 -0
- package/dist/types/src/web/primitives/kbd.d.ts +4 -0
- package/dist/types/src/web/primitives/label.d.ts +3 -0
- package/dist/types/src/web/primitives/menu-surface.d.ts +17 -0
- package/dist/types/src/web/primitives/meter.d.ts +21 -0
- package/dist/types/src/web/primitives/popover.d.ts +3 -0
- package/dist/types/src/web/primitives/progress-ring.d.ts +5 -0
- package/dist/types/src/web/primitives/progress.d.ts +8 -0
- package/dist/types/src/web/primitives/scroll-area.d.ts +49 -0
- package/dist/types/src/web/primitives/segmented-control.d.ts +5 -0
- package/dist/types/src/web/primitives/select.d.ts +47 -0
- package/dist/types/src/web/primitives/separator.d.ts +3 -0
- package/dist/types/src/web/primitives/sheet-chrome.d.ts +4 -0
- package/dist/types/src/web/primitives/sheet.d.ts +20 -0
- package/dist/types/src/web/primitives/skeleton.d.ts +3 -0
- package/dist/types/src/web/primitives/spinner.d.ts +3 -0
- package/dist/types/src/web/primitives/switch.d.ts +4 -0
- package/dist/types/src/web/primitives/table.d.ts +11 -0
- package/dist/types/src/web/primitives/tabs.d.ts +13 -0
- package/dist/types/src/web/primitives/textarea.d.ts +3 -0
- package/dist/types/src/web/primitives/toast.d.ts +163 -0
- package/dist/types/src/web/primitives/tooltip.d.ts +3 -0
- package/dist/types/src/web/primitives/truncate.d.ts +7 -0
- package/dist/types/src/web/primitives/typeahead-portal.d.ts +12 -0
- package/dist/types/src/web/share.d.ts +6 -0
- package/dist/types/src/web/table.d.ts +20 -0
- package/dist/types/src/web/theme-css.d.ts +69 -0
- package/dist/types/src/web/urls.d.ts +21 -0
- package/dist/web/index.js +2303 -0
- package/dist/web/index.js.map +26 -0
- package/dist/web/primitives/index.js +1450 -0
- package/dist/web/primitives/index.js.map +57 -0
- package/docs/components.generated.json +6238 -0
- package/docs/round-1-contract.md +679 -0
- package/docs/round-2-contract.md +476 -0
- package/docs/round-3-contract.md +174 -0
- package/docs/themes.generated.json +3503 -0
- package/fixtures/animations.json +2890 -0
- package/fixtures/bench-list.json +58 -0
- package/fixtures/bind-time.json +30664 -0
- package/fixtures/catalog-basic-map.json +1692 -0
- package/fixtures/catalog-components.json +9323 -0
- package/fixtures/catalog-extension.json +620 -0
- package/fixtures/catalog-macros.json +36370 -0
- package/fixtures/code-tokens.json +1993 -0
- package/fixtures/conformance-baseline.json +55544 -0
- package/fixtures/conformance-cases.json +49 -0
- package/fixtures/conformance-known.json +2123 -0
- package/fixtures/control-geometry.json +4200 -0
- package/fixtures/dashboard.data.json +74 -0
- package/fixtures/dashboard.json +752 -0
- package/fixtures/demo-surface.json +47 -0
- package/fixtures/format.json +870 -0
- package/fixtures/host-policy.json +1067 -0
- package/fixtures/host-router.json +1152 -0
- package/fixtures/host-transport.json +590 -0
- package/fixtures/interactions-round1.json +773 -0
- package/fixtures/kitchen-sink.expanded.json +10844 -0
- package/fixtures/kitchen-sink.json +3049 -0
- package/fixtures/layout-geometry-round1.json +7278 -0
- package/fixtures/layout-geometry.json +2072 -0
- package/fixtures/overlay-geometry.json +272 -0
- package/fixtures/primitive-specimens.json +58 -0
- package/fixtures/prompt-budget.json +33 -0
- package/fixtures/resizable.json +714 -0
- package/fixtures/round4-contract.json +2985 -0
- package/fixtures/specimens.json +9832 -0
- package/fixtures/style-conditions.json +336 -0
- package/fixtures/template-items.json +2215 -0
- package/fixtures/text-direction.json +309 -0
- package/fixtures/text-shimmer.json +96 -0
- package/fixtures/theme-extends.json +573 -0
- package/fixtures/theme-invalid.json +1296 -0
- package/fixtures/theme-recipes.json +58600 -0
- package/fixtures/theme-resolved.json +23949 -0
- package/fixtures/toast-stack.json +215 -0
- package/fixtures/tree-guides.json +224 -0
- package/fixtures/virtual-list.json +733 -0
- package/generated/ExponentialUICatalog.generated.kt +67 -0
- package/generated/ExponentialUICatalog.generated.swift +67 -0
- package/generated/ExponentialUIThemes.generated.kt +23 -0
- package/generated/ExponentialUIThemes.generated.swift +23 -0
- package/generated/catalog.descriptions.generated.rs +6 -0
- package/generated/catalog.generated.rs +80 -0
- package/generated/catalog.themes.generated.rs +34 -0
- package/generated/core.descriptions.json +2505 -0
- package/generated/core.runtime.json +3609 -0
- package/package.json +87 -4
- package/themes/exponential.recipes.json +49 -0
- package/themes/exponential.theme.json +755 -0
- package/themes/neutral.theme.json +5676 -0
- package/themes/orange.theme.json +43 -0
- package/themes/playful.theme.json +219 -0
- package/vendor/a2ui/LICENSE.txt +203 -0
- package/vendor/a2ui/README.md +27 -0
- package/vendor/a2ui/v0_9/basic_catalog.json +1387 -0
- package/vendor/a2ui/v0_9/basic_catalog_rules.txt +5 -0
- package/vendor/a2ui/v0_9/client_capabilities.json +97 -0
- package/vendor/a2ui/v0_9/client_to_server.json +104 -0
- package/vendor/a2ui/v0_9/common_types.json +315 -0
- package/vendor/a2ui/v0_9/server_to_client.json +132 -0
- package/vendor/json-render/LICENSE.txt +201 -0
- package/vendor/json-render/README.md +13 -0
|
@@ -0,0 +1,752 @@
|
|
|
1
|
+
{
|
|
2
|
+
"$comment": "VAPP-103: the conformance DASHBOARD, an agent-style project dashboard laid out by every renderer in the real-font geometry matrix (fixtures/conformance-cases.json `dashboard`, data = dashboard.data.json): an AppBar with trailing actions + a Menu, three KPI cards (Heading + Badge + Sparkline / Progress) in a responsive Grid (1 → 3 columns at md), Tabs whose active panel holds a search Input + Segmented filter toolbar and a sortable, multi-select Table with a badge, a currency and an Avatar SLOT column, an activity List from a data template beside an EmptyState card, and a closed Dialog holding a Form (overlay layers are not geometry-compared, so only its trigger is). Current catalog names only, colours = $color.* tokens.",
|
|
3
|
+
"id": "dash",
|
|
4
|
+
"component": "Box",
|
|
5
|
+
"style": {
|
|
6
|
+
"display": "flex",
|
|
7
|
+
"flexDirection": "column",
|
|
8
|
+
"gap": "$spacing.lg",
|
|
9
|
+
"padding": "$spacing.lg",
|
|
10
|
+
"width": "100%",
|
|
11
|
+
"backgroundColor": "$color.background",
|
|
12
|
+
"direction": "ltr"
|
|
13
|
+
},
|
|
14
|
+
"children": [
|
|
15
|
+
{
|
|
16
|
+
"id": "dash-bar",
|
|
17
|
+
"component": "AppBar",
|
|
18
|
+
"props": {
|
|
19
|
+
"title": "Agent runs",
|
|
20
|
+
"subtitle": {
|
|
21
|
+
"path": "/team"
|
|
22
|
+
}
|
|
23
|
+
},
|
|
24
|
+
"slots": {
|
|
25
|
+
"trailing": {
|
|
26
|
+
"id": "dash-actions",
|
|
27
|
+
"component": "Stack",
|
|
28
|
+
"props": {
|
|
29
|
+
"direction": "horizontal",
|
|
30
|
+
"gap": "xs",
|
|
31
|
+
"align": "center"
|
|
32
|
+
},
|
|
33
|
+
"children": [
|
|
34
|
+
{
|
|
35
|
+
"id": "dash-search",
|
|
36
|
+
"component": "Button",
|
|
37
|
+
"props": {
|
|
38
|
+
"icon": "search",
|
|
39
|
+
"variant": "ghost",
|
|
40
|
+
"size": "icon",
|
|
41
|
+
"label": "Search"
|
|
42
|
+
},
|
|
43
|
+
"on": {
|
|
44
|
+
"press": {
|
|
45
|
+
"event": {
|
|
46
|
+
"name": "search"
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
},
|
|
51
|
+
{
|
|
52
|
+
"id": "dash-new",
|
|
53
|
+
"component": "Button",
|
|
54
|
+
"props": {
|
|
55
|
+
"label": "New run",
|
|
56
|
+
"icon": "ui-send",
|
|
57
|
+
"size": "sm"
|
|
58
|
+
},
|
|
59
|
+
"on": {
|
|
60
|
+
"press": {
|
|
61
|
+
"event": {
|
|
62
|
+
"name": "newRun"
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"id": "dash-menu",
|
|
69
|
+
"component": "Menu",
|
|
70
|
+
"props": {
|
|
71
|
+
"items": [
|
|
72
|
+
{
|
|
73
|
+
"label": "Export CSV",
|
|
74
|
+
"value": "export",
|
|
75
|
+
"icon": "ui-copy"
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"label": "Archive finished",
|
|
79
|
+
"value": "archive",
|
|
80
|
+
"icon": "ui-archive"
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
"label": "Settings",
|
|
84
|
+
"value": "settings",
|
|
85
|
+
"icon": "nav-settings"
|
|
86
|
+
}
|
|
87
|
+
]
|
|
88
|
+
},
|
|
89
|
+
"on": {
|
|
90
|
+
"select": {
|
|
91
|
+
"event": {
|
|
92
|
+
"name": "dashMenu"
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
"children": [
|
|
97
|
+
{
|
|
98
|
+
"id": "dash-menu-trigger",
|
|
99
|
+
"component": "Button",
|
|
100
|
+
"props": {
|
|
101
|
+
"icon": "ui-more",
|
|
102
|
+
"variant": "ghost",
|
|
103
|
+
"size": "icon",
|
|
104
|
+
"label": "More"
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
]
|
|
108
|
+
}
|
|
109
|
+
]
|
|
110
|
+
}
|
|
111
|
+
}
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"id": "kpis",
|
|
115
|
+
"component": "Grid",
|
|
116
|
+
"props": {
|
|
117
|
+
"columns": {
|
|
118
|
+
"base": 1,
|
|
119
|
+
"md": 3
|
|
120
|
+
},
|
|
121
|
+
"gap": "md"
|
|
122
|
+
},
|
|
123
|
+
"children": [
|
|
124
|
+
{
|
|
125
|
+
"id": "kpi-1",
|
|
126
|
+
"component": "Card",
|
|
127
|
+
"children": [
|
|
128
|
+
{
|
|
129
|
+
"id": "kpi-1-body",
|
|
130
|
+
"component": "Stack",
|
|
131
|
+
"props": {
|
|
132
|
+
"direction": "vertical",
|
|
133
|
+
"gap": "sm"
|
|
134
|
+
},
|
|
135
|
+
"children": [
|
|
136
|
+
{
|
|
137
|
+
"id": "kpi-1-label",
|
|
138
|
+
"component": "Text",
|
|
139
|
+
"props": {
|
|
140
|
+
"text": "Runs this week",
|
|
141
|
+
"variant": "muted"
|
|
142
|
+
}
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
"id": "kpi-1-row",
|
|
146
|
+
"component": "Stack",
|
|
147
|
+
"props": {
|
|
148
|
+
"direction": "horizontal",
|
|
149
|
+
"gap": "sm",
|
|
150
|
+
"align": "center",
|
|
151
|
+
"justify": "between"
|
|
152
|
+
},
|
|
153
|
+
"children": [
|
|
154
|
+
{
|
|
155
|
+
"id": "kpi-1-value",
|
|
156
|
+
"component": "Heading",
|
|
157
|
+
"props": {
|
|
158
|
+
"text": "128",
|
|
159
|
+
"level": "h2"
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"id": "kpi-1-delta",
|
|
164
|
+
"component": "Badge",
|
|
165
|
+
"props": {
|
|
166
|
+
"text": "+12%",
|
|
167
|
+
"variant": "secondary"
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
]
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
"id": "kpi-1-spark",
|
|
174
|
+
"component": "Sparkline",
|
|
175
|
+
"props": {
|
|
176
|
+
"values": [
|
|
177
|
+
8,
|
|
178
|
+
12,
|
|
179
|
+
9,
|
|
180
|
+
15,
|
|
181
|
+
14,
|
|
182
|
+
21,
|
|
183
|
+
18
|
|
184
|
+
],
|
|
185
|
+
"tone": "success",
|
|
186
|
+
"height": 32
|
|
187
|
+
}
|
|
188
|
+
}
|
|
189
|
+
]
|
|
190
|
+
}
|
|
191
|
+
]
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
"id": "kpi-2",
|
|
195
|
+
"component": "Card",
|
|
196
|
+
"children": [
|
|
197
|
+
{
|
|
198
|
+
"id": "kpi-2-body",
|
|
199
|
+
"component": "Stack",
|
|
200
|
+
"props": {
|
|
201
|
+
"direction": "vertical",
|
|
202
|
+
"gap": "sm"
|
|
203
|
+
},
|
|
204
|
+
"children": [
|
|
205
|
+
{
|
|
206
|
+
"id": "kpi-2-label",
|
|
207
|
+
"component": "Text",
|
|
208
|
+
"props": {
|
|
209
|
+
"text": "Median time to merge",
|
|
210
|
+
"variant": "muted"
|
|
211
|
+
}
|
|
212
|
+
},
|
|
213
|
+
{
|
|
214
|
+
"id": "kpi-2-row",
|
|
215
|
+
"component": "Stack",
|
|
216
|
+
"props": {
|
|
217
|
+
"direction": "horizontal",
|
|
218
|
+
"gap": "sm",
|
|
219
|
+
"align": "center",
|
|
220
|
+
"justify": "between"
|
|
221
|
+
},
|
|
222
|
+
"children": [
|
|
223
|
+
{
|
|
224
|
+
"id": "kpi-2-value",
|
|
225
|
+
"component": "Heading",
|
|
226
|
+
"props": {
|
|
227
|
+
"text": "3h 40m",
|
|
228
|
+
"level": "h2"
|
|
229
|
+
}
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
"id": "kpi-2-delta",
|
|
233
|
+
"component": "Badge",
|
|
234
|
+
"props": {
|
|
235
|
+
"text": "-18%",
|
|
236
|
+
"variant": "secondary"
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
]
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"id": "kpi-2-spark",
|
|
243
|
+
"component": "Sparkline",
|
|
244
|
+
"props": {
|
|
245
|
+
"values": [
|
|
246
|
+
6,
|
|
247
|
+
5.5,
|
|
248
|
+
5.8,
|
|
249
|
+
4.9,
|
|
250
|
+
4.2,
|
|
251
|
+
4.0,
|
|
252
|
+
3.7
|
|
253
|
+
],
|
|
254
|
+
"tone": "info",
|
|
255
|
+
"height": 32
|
|
256
|
+
}
|
|
257
|
+
}
|
|
258
|
+
]
|
|
259
|
+
}
|
|
260
|
+
]
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"id": "kpi-3",
|
|
264
|
+
"component": "Card",
|
|
265
|
+
"children": [
|
|
266
|
+
{
|
|
267
|
+
"id": "kpi-3-body",
|
|
268
|
+
"component": "Stack",
|
|
269
|
+
"props": {
|
|
270
|
+
"direction": "vertical",
|
|
271
|
+
"gap": "sm"
|
|
272
|
+
},
|
|
273
|
+
"children": [
|
|
274
|
+
{
|
|
275
|
+
"id": "kpi-3-label",
|
|
276
|
+
"component": "Text",
|
|
277
|
+
"props": {
|
|
278
|
+
"text": "Monthly budget",
|
|
279
|
+
"variant": "muted"
|
|
280
|
+
}
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
"id": "kpi-3-row",
|
|
284
|
+
"component": "Stack",
|
|
285
|
+
"props": {
|
|
286
|
+
"direction": "horizontal",
|
|
287
|
+
"gap": "sm",
|
|
288
|
+
"align": "center",
|
|
289
|
+
"justify": "between"
|
|
290
|
+
},
|
|
291
|
+
"children": [
|
|
292
|
+
{
|
|
293
|
+
"id": "kpi-3-value",
|
|
294
|
+
"component": "Heading",
|
|
295
|
+
"props": {
|
|
296
|
+
"text": "$412",
|
|
297
|
+
"level": "h2"
|
|
298
|
+
}
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
"id": "kpi-3-delta",
|
|
302
|
+
"component": "Badge",
|
|
303
|
+
"props": {
|
|
304
|
+
"text": "72%",
|
|
305
|
+
"variant": "secondary"
|
|
306
|
+
}
|
|
307
|
+
}
|
|
308
|
+
]
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"id": "kpi-3-progress",
|
|
312
|
+
"component": "Progress",
|
|
313
|
+
"props": {
|
|
314
|
+
"value": 72,
|
|
315
|
+
"max": 100,
|
|
316
|
+
"label": "Budget used",
|
|
317
|
+
"tone": "warning"
|
|
318
|
+
}
|
|
319
|
+
}
|
|
320
|
+
]
|
|
321
|
+
}
|
|
322
|
+
]
|
|
323
|
+
}
|
|
324
|
+
]
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
"id": "dash-tabs",
|
|
328
|
+
"component": "Tabs",
|
|
329
|
+
"props": {
|
|
330
|
+
"tabs": [
|
|
331
|
+
{
|
|
332
|
+
"label": "Overview",
|
|
333
|
+
"value": "overview",
|
|
334
|
+
"icon": "nav-boards"
|
|
335
|
+
},
|
|
336
|
+
{
|
|
337
|
+
"label": "Runs",
|
|
338
|
+
"value": "runs",
|
|
339
|
+
"count": 4
|
|
340
|
+
},
|
|
341
|
+
{
|
|
342
|
+
"label": "Reviews",
|
|
343
|
+
"value": "reviews",
|
|
344
|
+
"icon": "pr-open"
|
|
345
|
+
}
|
|
346
|
+
],
|
|
347
|
+
"value": {
|
|
348
|
+
"path": "/ui/tab"
|
|
349
|
+
}
|
|
350
|
+
},
|
|
351
|
+
"on": {
|
|
352
|
+
"change": {
|
|
353
|
+
"event": {
|
|
354
|
+
"name": "tab"
|
|
355
|
+
}
|
|
356
|
+
}
|
|
357
|
+
},
|
|
358
|
+
"children": [
|
|
359
|
+
{
|
|
360
|
+
"id": "tab-overview",
|
|
361
|
+
"component": "Text",
|
|
362
|
+
"props": {
|
|
363
|
+
"text": "Throughput, cost and review load across every board."
|
|
364
|
+
}
|
|
365
|
+
},
|
|
366
|
+
{
|
|
367
|
+
"id": "tab-runs",
|
|
368
|
+
"component": "Stack",
|
|
369
|
+
"props": {
|
|
370
|
+
"direction": "vertical",
|
|
371
|
+
"gap": "md"
|
|
372
|
+
},
|
|
373
|
+
"children": [
|
|
374
|
+
{
|
|
375
|
+
"id": "runs-toolbar",
|
|
376
|
+
"component": "Stack",
|
|
377
|
+
"props": {
|
|
378
|
+
"direction": "horizontal",
|
|
379
|
+
"gap": "sm",
|
|
380
|
+
"align": "end",
|
|
381
|
+
"wrap": true
|
|
382
|
+
},
|
|
383
|
+
"children": [
|
|
384
|
+
{
|
|
385
|
+
"id": "runs-search",
|
|
386
|
+
"component": "Input",
|
|
387
|
+
"props": {
|
|
388
|
+
"label": "Search runs",
|
|
389
|
+
"name": "q",
|
|
390
|
+
"type": "search",
|
|
391
|
+
"placeholder": "Filter by title or owner",
|
|
392
|
+
"value": {
|
|
393
|
+
"path": "/filter/q"
|
|
394
|
+
}
|
|
395
|
+
},
|
|
396
|
+
"style": {
|
|
397
|
+
"flexGrow": 1,
|
|
398
|
+
"flexBasis": 240,
|
|
399
|
+
"minWidth": 0
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
"id": "runs-filter",
|
|
404
|
+
"component": "Segmented",
|
|
405
|
+
"props": {
|
|
406
|
+
"items": [
|
|
407
|
+
{
|
|
408
|
+
"label": "All",
|
|
409
|
+
"value": "all"
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
"label": "Running",
|
|
413
|
+
"value": "running"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"label": "In review",
|
|
417
|
+
"value": "review"
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
"label": "Merged",
|
|
421
|
+
"value": "merged"
|
|
422
|
+
}
|
|
423
|
+
],
|
|
424
|
+
"value": {
|
|
425
|
+
"path": "/filter/state"
|
|
426
|
+
},
|
|
427
|
+
"variant": "segmented"
|
|
428
|
+
},
|
|
429
|
+
"on": {
|
|
430
|
+
"change": {
|
|
431
|
+
"event": {
|
|
432
|
+
"name": "filterState"
|
|
433
|
+
}
|
|
434
|
+
}
|
|
435
|
+
}
|
|
436
|
+
}
|
|
437
|
+
]
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"id": "runs-table",
|
|
441
|
+
"component": "Table",
|
|
442
|
+
"props": {
|
|
443
|
+
"columns": [
|
|
444
|
+
{
|
|
445
|
+
"key": "owner",
|
|
446
|
+
"label": "Owner",
|
|
447
|
+
"type": "slot",
|
|
448
|
+
"slot": "ownerCell",
|
|
449
|
+
"width": 64
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"key": "title",
|
|
453
|
+
"label": "Run",
|
|
454
|
+
"sortable": true
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"key": "state",
|
|
458
|
+
"label": "State",
|
|
459
|
+
"type": "badge"
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
"key": "turns",
|
|
463
|
+
"label": "Turns",
|
|
464
|
+
"type": "number",
|
|
465
|
+
"align": "end",
|
|
466
|
+
"sortable": true,
|
|
467
|
+
"width": 72
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"key": "cost",
|
|
471
|
+
"label": "Cost",
|
|
472
|
+
"type": "currency",
|
|
473
|
+
"currency": "USD",
|
|
474
|
+
"decimals": 2,
|
|
475
|
+
"align": "end",
|
|
476
|
+
"width": 88
|
|
477
|
+
}
|
|
478
|
+
],
|
|
479
|
+
"rows": {
|
|
480
|
+
"path": "/runs"
|
|
481
|
+
},
|
|
482
|
+
"rowKey": "id",
|
|
483
|
+
"selectable": "multiple",
|
|
484
|
+
"selected": {
|
|
485
|
+
"path": "/ui/selected"
|
|
486
|
+
},
|
|
487
|
+
"sort": {
|
|
488
|
+
"key": "turns",
|
|
489
|
+
"direction": "desc"
|
|
490
|
+
},
|
|
491
|
+
"caption": "Four runs this week",
|
|
492
|
+
"striped": true
|
|
493
|
+
},
|
|
494
|
+
"slots": {
|
|
495
|
+
"ownerCell": {
|
|
496
|
+
"id": "runs-owner",
|
|
497
|
+
"component": "Avatar",
|
|
498
|
+
"props": {
|
|
499
|
+
"name": {
|
|
500
|
+
"path": "owner"
|
|
501
|
+
},
|
|
502
|
+
"size": "sm"
|
|
503
|
+
}
|
|
504
|
+
}
|
|
505
|
+
},
|
|
506
|
+
"on": {
|
|
507
|
+
"sort": {
|
|
508
|
+
"event": {
|
|
509
|
+
"name": "sortRuns"
|
|
510
|
+
}
|
|
511
|
+
},
|
|
512
|
+
"select": {
|
|
513
|
+
"event": {
|
|
514
|
+
"name": "selectRuns"
|
|
515
|
+
}
|
|
516
|
+
}
|
|
517
|
+
}
|
|
518
|
+
}
|
|
519
|
+
]
|
|
520
|
+
},
|
|
521
|
+
{
|
|
522
|
+
"id": "tab-reviews",
|
|
523
|
+
"component": "Text",
|
|
524
|
+
"props": {
|
|
525
|
+
"text": "Open pull requests waiting for a review."
|
|
526
|
+
}
|
|
527
|
+
}
|
|
528
|
+
]
|
|
529
|
+
},
|
|
530
|
+
{
|
|
531
|
+
"id": "dash-lower",
|
|
532
|
+
"component": "Grid",
|
|
533
|
+
"props": {
|
|
534
|
+
"columns": {
|
|
535
|
+
"base": 1,
|
|
536
|
+
"md": 2
|
|
537
|
+
},
|
|
538
|
+
"gap": "md"
|
|
539
|
+
},
|
|
540
|
+
"children": [
|
|
541
|
+
{
|
|
542
|
+
"id": "activity-card",
|
|
543
|
+
"component": "Card",
|
|
544
|
+
"props": {
|
|
545
|
+
"title": "Activity",
|
|
546
|
+
"padded": false
|
|
547
|
+
},
|
|
548
|
+
"children": [
|
|
549
|
+
{
|
|
550
|
+
"id": "activity",
|
|
551
|
+
"component": "List",
|
|
552
|
+
"props": {
|
|
553
|
+
"direction": "vertical",
|
|
554
|
+
"divided": true
|
|
555
|
+
},
|
|
556
|
+
"template": {
|
|
557
|
+
"component": "activity-item",
|
|
558
|
+
"path": "/activity"
|
|
559
|
+
},
|
|
560
|
+
"children": []
|
|
561
|
+
},
|
|
562
|
+
{
|
|
563
|
+
"id": "activity-item",
|
|
564
|
+
"component": "Row",
|
|
565
|
+
"props": {
|
|
566
|
+
"title": {
|
|
567
|
+
"path": "title"
|
|
568
|
+
},
|
|
569
|
+
"subtitle": {
|
|
570
|
+
"path": "who"
|
|
571
|
+
},
|
|
572
|
+
"meta": {
|
|
573
|
+
"path": "when"
|
|
574
|
+
},
|
|
575
|
+
"icon": "ui-issue"
|
|
576
|
+
}
|
|
577
|
+
}
|
|
578
|
+
]
|
|
579
|
+
},
|
|
580
|
+
{
|
|
581
|
+
"id": "reviews-card",
|
|
582
|
+
"component": "Card",
|
|
583
|
+
"props": {
|
|
584
|
+
"title": "Reviews"
|
|
585
|
+
},
|
|
586
|
+
"children": [
|
|
587
|
+
{
|
|
588
|
+
"id": "reviews-empty",
|
|
589
|
+
"component": "EmptyState",
|
|
590
|
+
"props": {
|
|
591
|
+
"icon": "pr-open",
|
|
592
|
+
"title": "No reviews waiting",
|
|
593
|
+
"description": "Pull requests that need you show up here.",
|
|
594
|
+
"actionLabel": "Open the queue"
|
|
595
|
+
},
|
|
596
|
+
"on": {
|
|
597
|
+
"press": {
|
|
598
|
+
"event": {
|
|
599
|
+
"name": "openReviews"
|
|
600
|
+
}
|
|
601
|
+
}
|
|
602
|
+
}
|
|
603
|
+
}
|
|
604
|
+
]
|
|
605
|
+
}
|
|
606
|
+
]
|
|
607
|
+
},
|
|
608
|
+
{
|
|
609
|
+
"id": "dash-footer",
|
|
610
|
+
"component": "Stack",
|
|
611
|
+
"props": {
|
|
612
|
+
"direction": "horizontal",
|
|
613
|
+
"gap": "sm",
|
|
614
|
+
"justify": "end",
|
|
615
|
+
"wrap": true
|
|
616
|
+
},
|
|
617
|
+
"children": [
|
|
618
|
+
{
|
|
619
|
+
"id": "dash-export",
|
|
620
|
+
"component": "Button",
|
|
621
|
+
"props": {
|
|
622
|
+
"label": "Export",
|
|
623
|
+
"variant": "outline",
|
|
624
|
+
"icon": "ui-copy"
|
|
625
|
+
},
|
|
626
|
+
"on": {
|
|
627
|
+
"press": {
|
|
628
|
+
"event": {
|
|
629
|
+
"name": "export"
|
|
630
|
+
}
|
|
631
|
+
}
|
|
632
|
+
}
|
|
633
|
+
},
|
|
634
|
+
{
|
|
635
|
+
"id": "invite",
|
|
636
|
+
"component": "Dialog",
|
|
637
|
+
"props": {
|
|
638
|
+
"title": "Invite a member",
|
|
639
|
+
"description": "They join the team and see every board.",
|
|
640
|
+
"open": {
|
|
641
|
+
"path": "/ui/inviteOpen"
|
|
642
|
+
},
|
|
643
|
+
"dismissible": true
|
|
644
|
+
},
|
|
645
|
+
"slots": {
|
|
646
|
+
"trigger": {
|
|
647
|
+
"id": "invite-trigger",
|
|
648
|
+
"component": "Button",
|
|
649
|
+
"props": {
|
|
650
|
+
"label": "Invite member",
|
|
651
|
+
"icon": "ui-assignee"
|
|
652
|
+
}
|
|
653
|
+
},
|
|
654
|
+
"footer": {
|
|
655
|
+
"id": "invite-send",
|
|
656
|
+
"component": "Button",
|
|
657
|
+
"props": {
|
|
658
|
+
"label": "Send invite"
|
|
659
|
+
},
|
|
660
|
+
"on": {
|
|
661
|
+
"press": {
|
|
662
|
+
"event": {
|
|
663
|
+
"name": "sendInvite"
|
|
664
|
+
}
|
|
665
|
+
}
|
|
666
|
+
}
|
|
667
|
+
}
|
|
668
|
+
},
|
|
669
|
+
"children": [
|
|
670
|
+
{
|
|
671
|
+
"id": "invite-form",
|
|
672
|
+
"component": "Form",
|
|
673
|
+
"props": {
|
|
674
|
+
"name": "invite",
|
|
675
|
+
"summary": true
|
|
676
|
+
},
|
|
677
|
+
"on": {
|
|
678
|
+
"submit": {
|
|
679
|
+
"event": {
|
|
680
|
+
"name": "invite"
|
|
681
|
+
}
|
|
682
|
+
}
|
|
683
|
+
},
|
|
684
|
+
"children": [
|
|
685
|
+
{
|
|
686
|
+
"id": "invite-email",
|
|
687
|
+
"component": "Input",
|
|
688
|
+
"props": {
|
|
689
|
+
"label": "Email",
|
|
690
|
+
"name": "email",
|
|
691
|
+
"type": "email",
|
|
692
|
+
"placeholder": "you@example.com",
|
|
693
|
+
"value": {
|
|
694
|
+
"path": "/invite/email"
|
|
695
|
+
},
|
|
696
|
+
"checks": [
|
|
697
|
+
{
|
|
698
|
+
"condition": {
|
|
699
|
+
"call": "email",
|
|
700
|
+
"args": {
|
|
701
|
+
"value": {
|
|
702
|
+
"path": "/invite/email"
|
|
703
|
+
}
|
|
704
|
+
}
|
|
705
|
+
},
|
|
706
|
+
"message": "Enter an email address"
|
|
707
|
+
}
|
|
708
|
+
]
|
|
709
|
+
}
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
"id": "invite-role",
|
|
713
|
+
"component": "Select",
|
|
714
|
+
"props": {
|
|
715
|
+
"label": "Role",
|
|
716
|
+
"name": "role",
|
|
717
|
+
"options": [
|
|
718
|
+
{
|
|
719
|
+
"label": "Member",
|
|
720
|
+
"value": "member"
|
|
721
|
+
},
|
|
722
|
+
{
|
|
723
|
+
"label": "Owner",
|
|
724
|
+
"value": "owner"
|
|
725
|
+
}
|
|
726
|
+
],
|
|
727
|
+
"value": {
|
|
728
|
+
"path": "/invite/role"
|
|
729
|
+
}
|
|
730
|
+
}
|
|
731
|
+
},
|
|
732
|
+
{
|
|
733
|
+
"id": "invite-note",
|
|
734
|
+
"component": "Textarea",
|
|
735
|
+
"props": {
|
|
736
|
+
"label": "Note",
|
|
737
|
+
"name": "note",
|
|
738
|
+
"rows": 3,
|
|
739
|
+
"placeholder": "Optional",
|
|
740
|
+
"value": {
|
|
741
|
+
"path": "/invite/note"
|
|
742
|
+
}
|
|
743
|
+
}
|
|
744
|
+
}
|
|
745
|
+
]
|
|
746
|
+
}
|
|
747
|
+
]
|
|
748
|
+
}
|
|
749
|
+
]
|
|
750
|
+
}
|
|
751
|
+
]
|
|
752
|
+
}
|