@astra-spec/ui 0.0.4 → 0.0.6
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/README.md +47 -4
- package/TOKENS.md +14 -8
- package/blocks.css +1 -0
- package/components.css +6 -0
- package/dist/blocks/analysis-tree.d.ts.map +1 -1
- package/dist/blocks/analysis-tree.js +4 -7
- package/dist/blocks/analysis-tree.js.map +1 -1
- package/dist/blocks/decisions-list.d.ts.map +1 -1
- package/dist/blocks/decisions-list.js +1 -1
- package/dist/blocks/decisions-list.js.map +1 -1
- package/dist/blocks/findings-list.d.ts.map +1 -1
- package/dist/blocks/findings-list.js +3 -4
- package/dist/blocks/findings-list.js.map +1 -1
- package/dist/blocks/index.d.ts +2 -4
- package/dist/blocks/index.d.ts.map +1 -1
- package/dist/blocks/index.js +1 -2
- package/dist/blocks/index.js.map +1 -1
- package/dist/blocks/outputs-list.d.ts +2 -7
- package/dist/blocks/outputs-list.d.ts.map +1 -1
- package/dist/blocks/outputs-list.js +11 -21
- package/dist/blocks/outputs-list.js.map +1 -1
- package/dist/blocks/papers-list.d.ts.map +1 -1
- package/dist/blocks/papers-list.js +3 -3
- package/dist/blocks/papers-list.js.map +1 -1
- package/dist/blocks/section.d.ts.map +1 -1
- package/dist/blocks/section.js +3 -2
- package/dist/blocks/section.js.map +1 -1
- package/dist/components/figure-zoom.d.ts +6 -0
- package/dist/components/figure-zoom.d.ts.map +1 -0
- package/dist/components/figure-zoom.js +28 -0
- package/dist/components/figure-zoom.js.map +1 -0
- package/dist/components/finding-detail.d.ts +4 -2
- package/dist/components/finding-detail.d.ts.map +1 -1
- package/dist/components/finding-detail.js +41 -25
- package/dist/components/finding-detail.js.map +1 -1
- package/dist/components/index.d.ts +9 -0
- package/dist/components/index.d.ts.map +1 -1
- package/dist/components/index.js +5 -0
- package/dist/components/index.js.map +1 -1
- package/dist/components/insight-trigger.d.ts.map +1 -1
- package/dist/components/insight-trigger.js +3 -2
- package/dist/components/insight-trigger.js.map +1 -1
- package/dist/components/output-card.d.ts +13 -0
- package/dist/components/output-card.d.ts.map +1 -0
- package/dist/components/output-card.js +12 -0
- package/dist/components/output-card.js.map +1 -0
- package/dist/components/output-detail.d.ts +6 -2
- package/dist/components/output-detail.d.ts.map +1 -1
- package/dist/components/output-detail.js +49 -13
- package/dist/components/output-detail.js.map +1 -1
- package/dist/components/output-dialog.d.ts +6 -1
- package/dist/components/output-dialog.d.ts.map +1 -1
- package/dist/components/output-dialog.js +2 -2
- package/dist/components/output-dialog.js.map +1 -1
- package/dist/components/output-entry.d.ts +17 -0
- package/dist/components/output-entry.d.ts.map +1 -0
- package/dist/components/output-entry.js +21 -0
- package/dist/components/output-entry.js.map +1 -0
- package/dist/components/output-provenance.d.ts +6 -0
- package/dist/components/output-provenance.d.ts.map +1 -0
- package/dist/components/output-provenance.js +16 -0
- package/dist/components/output-provenance.js.map +1 -0
- package/dist/components/output-status.d.ts +8 -0
- package/dist/components/output-status.d.ts.map +1 -0
- package/dist/components/output-status.js +17 -0
- package/dist/components/output-status.js.map +1 -0
- package/dist/components/paper-detail.d.ts.map +1 -1
- package/dist/components/paper-detail.js +2 -2
- package/dist/components/paper-detail.js.map +1 -1
- package/dist/components/paper-row.d.ts +9 -0
- package/dist/components/paper-row.d.ts.map +1 -0
- package/dist/components/paper-row.js +11 -0
- package/dist/components/paper-row.js.map +1 -0
- package/dist/components/record-dialog.d.ts +5 -1
- package/dist/components/record-dialog.d.ts.map +1 -1
- package/dist/components/record-dialog.js +7 -4
- package/dist/components/record-dialog.js.map +1 -1
- package/dist/components/record-preview.d.ts.map +1 -1
- package/dist/components/record-preview.js +8 -7
- package/dist/components/record-preview.js.map +1 -1
- package/dist/lib/labels.d.ts +34 -2
- package/dist/lib/labels.d.ts.map +1 -1
- package/dist/lib/labels.js +35 -4
- package/dist/lib/labels.js.map +1 -1
- package/dist/model/index.d.ts +4 -2
- package/dist/model/index.d.ts.map +1 -1
- package/dist/model/index.js +1 -1
- package/dist/model/index.js.map +1 -1
- package/dist/model/kind.d.ts +2 -2
- package/dist/model/kind.d.ts.map +1 -1
- package/dist/model/kind.js +3 -4
- package/dist/model/kind.js.map +1 -1
- package/dist/model/output-provenance.d.ts +17 -0
- package/dist/model/output-provenance.d.ts.map +1 -0
- package/dist/model/output-provenance.js +2 -0
- package/dist/model/output-provenance.js.map +1 -0
- package/dist/model/output-status.d.ts +17 -0
- package/dist/model/output-status.d.ts.map +1 -0
- package/dist/model/output-status.js +2 -0
- package/dist/model/output-status.js.map +1 -0
- package/dist/model/relations.d.ts +37 -12
- package/dist/model/relations.d.ts.map +1 -1
- package/dist/model/relations.js +76 -23
- package/dist/model/relations.js.map +1 -1
- package/dist/primitives/dialog.d.ts.map +1 -1
- package/dist/primitives/dialog.js +9 -1
- package/dist/primitives/dialog.js.map +1 -1
- package/dist/primitives/index.d.ts +6 -0
- package/dist/primitives/index.d.ts.map +1 -1
- package/dist/primitives/index.js +3 -0
- package/dist/primitives/index.js.map +1 -1
- package/dist/primitives/inline-reference.d.ts +9 -0
- package/dist/primitives/inline-reference.d.ts.map +1 -0
- package/dist/primitives/inline-reference.js +14 -0
- package/dist/primitives/inline-reference.js.map +1 -0
- package/dist/primitives/kind-glyph.d.ts +8 -0
- package/dist/primitives/kind-glyph.d.ts.map +1 -0
- package/dist/primitives/kind-glyph.js +9 -0
- package/dist/primitives/kind-glyph.js.map +1 -0
- package/dist/primitives/output-status-glyph.d.ts +8 -0
- package/dist/primitives/output-status-glyph.d.ts.map +1 -0
- package/dist/primitives/output-status-glyph.js +13 -0
- package/dist/primitives/output-status-glyph.js.map +1 -0
- package/dist/primitives/preview-popover.d.ts +1 -1
- package/dist/primitives/preview-popover.d.ts.map +1 -1
- package/dist/primitives/record-list.d.ts.map +1 -1
- package/dist/primitives/record-list.js +3 -2
- package/dist/primitives/record-list.js.map +1 -1
- package/dist/primitives/relation-list.d.ts.map +1 -1
- package/dist/primitives/relation-list.js +3 -2
- package/dist/primitives/relation-list.js.map +1 -1
- package/dist/primitives/tooltip.d.ts +7 -0
- package/dist/primitives/tooltip.d.ts.map +1 -0
- package/dist/primitives/tooltip.js +31 -0
- package/dist/primitives/tooltip.js.map +1 -0
- package/dist/views/inventory.d.ts +12 -1
- package/dist/views/inventory.d.ts.map +1 -1
- package/dist/views/inventory.js +23 -17
- package/dist/views/inventory.js.map +1 -1
- package/isolate.css +7 -0
- package/package.json +7 -4
- package/primitives.css +3 -0
- package/src/blocks/analysis-tree.tsx +4 -30
- package/src/blocks/decisions-list.tsx +5 -3
- package/src/blocks/findings-list.tsx +10 -8
- package/src/blocks/index.ts +2 -4
- package/src/blocks/outputs-list.tsx +43 -106
- package/src/blocks/papers-list.tsx +2 -18
- package/src/blocks/section.tsx +3 -2
- package/src/components/figure-zoom.tsx +72 -0
- package/src/components/finding-detail.tsx +106 -30
- package/src/components/index.ts +13 -0
- package/src/components/insight-trigger.tsx +3 -2
- package/src/components/output-card.tsx +51 -0
- package/src/components/output-detail.tsx +69 -21
- package/src/components/output-dialog.tsx +9 -0
- package/src/components/output-entry.tsx +61 -0
- package/src/components/output-provenance.tsx +86 -0
- package/src/components/output-status.tsx +38 -0
- package/src/components/paper-detail.tsx +2 -2
- package/src/components/paper-row.tsx +41 -0
- package/src/components/record-dialog.tsx +13 -1
- package/src/components/record-preview.tsx +8 -14
- package/src/lib/labels.tsx +69 -6
- package/src/model/index.ts +6 -2
- package/src/model/kind.ts +4 -5
- package/src/model/output-provenance.ts +18 -0
- package/src/model/output-status.ts +18 -0
- package/src/model/relations.ts +92 -26
- package/src/primitives/dialog.tsx +7 -1
- package/src/primitives/index.ts +6 -0
- package/src/primitives/inline-reference.tsx +25 -0
- package/src/primitives/kind-glyph.tsx +24 -0
- package/src/primitives/output-status-glyph.tsx +37 -0
- package/src/primitives/preview-popover.tsx +1 -1
- package/src/primitives/record-list.tsx +3 -4
- package/src/primitives/relation-list.tsx +4 -7
- package/src/primitives/tooltip.tsx +51 -0
- package/src/views/inventory.tsx +54 -22
- package/styles/base.css +2 -1
- package/styles/blocks/analysis-tree.css +23 -26
- package/styles/blocks/decisions-list.css +6 -6
- package/styles/blocks/findings-list.css +50 -0
- package/styles/blocks/outputs-list.css +13 -434
- package/styles/blocks/papers-list.css +8 -74
- package/styles/blocks/records.css +13 -13
- package/styles/components/artifact-preview.css +15 -15
- package/styles/components/decision-detail.css +23 -23
- package/styles/components/evidence.css +2 -7
- package/styles/components/figure-zoom.css +62 -0
- package/styles/components/finding-detail.css +73 -11
- package/styles/components/input-detail.css +7 -7
- package/styles/components/insight-detail.css +17 -17
- package/styles/components/insight-list.css +6 -6
- package/styles/components/insight-trigger.css +5 -5
- package/styles/components/output-card.css +290 -0
- package/styles/components/output-detail.css +139 -51
- package/styles/components/output-entry.css +141 -0
- package/styles/components/output-provenance.css +94 -0
- package/styles/components/output-status.css +31 -0
- package/styles/components/paper-detail.css +22 -22
- package/styles/components/paper-doi.css +2 -2
- package/styles/components/paper-pdf-viewer.css +6 -6
- package/styles/components/paper-row.css +72 -0
- package/styles/components/record-preview.css +444 -268
- package/styles/primitives/badge.css +1 -1
- package/styles/primitives/button.css +25 -25
- package/styles/primitives/count-heading.css +3 -3
- package/styles/primitives/detail-layout.css +20 -20
- package/styles/primitives/dialog.css +75 -93
- package/styles/primitives/empty-state.css +1 -1
- package/styles/primitives/inline-reference.css +37 -0
- package/styles/primitives/kind-glyph.css +31 -0
- package/styles/primitives/kind.css +6 -0
- package/styles/primitives/preview-popover.css +6 -11
- package/styles/primitives/prose.css +1 -1
- package/styles/primitives/record-list.css +32 -48
- package/styles/primitives/relation-list.css +14 -36
- package/styles/primitives/surface-header.css +15 -11
- package/styles/primitives/tooltip.css +22 -0
- package/styles/tokens.css +19 -9
- package/styles/views/inventory.css +58 -27
- package/dist/blocks/prior-insights-list.d.ts +0 -9
- package/dist/blocks/prior-insights-list.d.ts.map +0 -1
- package/dist/blocks/prior-insights-list.js +0 -29
- package/dist/blocks/prior-insights-list.js.map +0 -1
- package/src/blocks/prior-insights-list.tsx +0 -52
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
|
|
44
44
|
:where(.astra-ui) .astra-artifact:where([data-type="metric"]) strong {
|
|
45
45
|
color: var(--astra-color-kind-output);
|
|
46
|
-
font-size:
|
|
46
|
+
font-size: 32px;
|
|
47
47
|
}
|
|
48
48
|
|
|
49
49
|
:where(.astra-ui) .astra-artifact:where([data-type="text"]) pre {
|
|
@@ -76,12 +76,12 @@
|
|
|
76
76
|
}
|
|
77
77
|
|
|
78
78
|
:where(.astra-ui) .astra-artifact:where([data-type="image"]) img {
|
|
79
|
-
padding: clamp(
|
|
79
|
+
padding: clamp(12px, 2vw, 24px);
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
:where(.astra-ui) .astra-artifact:where([data-type="image"]) figcaption {
|
|
83
83
|
margin: 0;
|
|
84
|
-
padding:
|
|
84
|
+
padding: 8.8px 12px;
|
|
85
85
|
border-block-start: 1px solid var(--astra-color-border);
|
|
86
86
|
font-family: var(--astra-font-ui);
|
|
87
87
|
font-size: var(--astra-font-size-xs);
|
|
@@ -120,7 +120,7 @@
|
|
|
120
120
|
:where(.astra-ui) .astra-artifact__placeholder {
|
|
121
121
|
display: grid;
|
|
122
122
|
place-items: center;
|
|
123
|
-
gap:
|
|
123
|
+
gap: 5.6px;
|
|
124
124
|
color: var(--astra-color-text-subtle);
|
|
125
125
|
font-family: var(--astra-font-ui);
|
|
126
126
|
font-size: var(--astra-font-size-xs);
|
|
@@ -128,7 +128,7 @@
|
|
|
128
128
|
|
|
129
129
|
:where(.astra-ui) .astra-artifact__placeholder > span:first-child {
|
|
130
130
|
color: var(--astra-color-text-muted);
|
|
131
|
-
font-size:
|
|
131
|
+
font-size: 28px;
|
|
132
132
|
}
|
|
133
133
|
|
|
134
134
|
:where(.astra-ui) .astra-artifact__table {
|
|
@@ -142,15 +142,15 @@
|
|
|
142
142
|
width: 100%;
|
|
143
143
|
margin: 0;
|
|
144
144
|
border-collapse: collapse;
|
|
145
|
-
font-size:
|
|
145
|
+
font-size: 11.84px;
|
|
146
146
|
}
|
|
147
147
|
|
|
148
148
|
:where(.astra-ui) .astra-artifact__table th,
|
|
149
149
|
:where(.astra-ui) .astra-artifact__table td {
|
|
150
|
-
max-width:
|
|
150
|
+
max-width: 192px;
|
|
151
151
|
overflow: hidden;
|
|
152
152
|
border-bottom: 1px solid color-mix(in srgb, var(--astra-color-artifact-ink) 13%, var(--astra-color-artifact-paper));
|
|
153
|
-
padding:
|
|
153
|
+
padding: 6.08px 8.8px;
|
|
154
154
|
text-align: left;
|
|
155
155
|
text-overflow: ellipsis;
|
|
156
156
|
white-space: nowrap;
|
|
@@ -178,7 +178,7 @@
|
|
|
178
178
|
}
|
|
179
179
|
|
|
180
180
|
:where(.astra-ui) .astra-artifact__table > p {
|
|
181
|
-
margin:
|
|
181
|
+
margin: 10.4px 0 0;
|
|
182
182
|
color: var(--astra-color-text-subtle);
|
|
183
183
|
font-family: var(--astra-font-ui);
|
|
184
184
|
font-size: var(--astra-font-size-xs);
|
|
@@ -187,7 +187,7 @@
|
|
|
187
187
|
:where(.astra-ui) .astra-artifact__table[data-compact] {
|
|
188
188
|
height: 100%;
|
|
189
189
|
overflow: hidden;
|
|
190
|
-
padding:
|
|
190
|
+
padding: 9.6px;
|
|
191
191
|
}
|
|
192
192
|
|
|
193
193
|
:where(.astra-ui) .astra-artifact__table[data-compact] table {
|
|
@@ -197,21 +197,21 @@
|
|
|
197
197
|
|
|
198
198
|
:where(.astra-ui) .astra-artifact__table[data-compact] th,
|
|
199
199
|
:where(.astra-ui) .astra-artifact__table[data-compact] td {
|
|
200
|
-
padding:
|
|
200
|
+
padding: 4px 5.6px;
|
|
201
201
|
}
|
|
202
202
|
|
|
203
203
|
:where(.astra-ui) .astra-artifact__metric {
|
|
204
204
|
display: flex;
|
|
205
205
|
align-items: baseline;
|
|
206
206
|
justify-content: center;
|
|
207
|
-
gap:
|
|
207
|
+
gap: 6.4px;
|
|
208
208
|
color: var(--astra-color-text);
|
|
209
209
|
font-family: var(--astra-font-ui);
|
|
210
210
|
}
|
|
211
211
|
|
|
212
212
|
:where(.astra-ui) .astra-artifact__metric-value {
|
|
213
|
-
max-width:
|
|
214
|
-
font-size: clamp(
|
|
213
|
+
max-width: 208px;
|
|
214
|
+
font-size: clamp(23.2px, 4vw, 40px);
|
|
215
215
|
font-weight: 600;
|
|
216
216
|
line-height: 1;
|
|
217
217
|
text-align: center;
|
|
@@ -220,7 +220,7 @@
|
|
|
220
220
|
:where(.astra-ui) .astra-artifact__metric-uncertainty,
|
|
221
221
|
:where(.astra-ui) .astra-artifact__metric-unit {
|
|
222
222
|
color: var(--astra-color-text-subtle);
|
|
223
|
-
font-size:
|
|
223
|
+
font-size: 12.8px;
|
|
224
224
|
}
|
|
225
225
|
|
|
226
226
|
/* Inside a dialog the table sits on the canvas, so its text follows the
|
|
@@ -4,14 +4,14 @@
|
|
|
4
4
|
:where(.astra-ui) .astra-decision-insights {
|
|
5
5
|
display: grid;
|
|
6
6
|
gap: 0;
|
|
7
|
-
margin:
|
|
7
|
+
margin: 3.2px 0 0;
|
|
8
8
|
padding: 0;
|
|
9
9
|
list-style: none;
|
|
10
10
|
}
|
|
11
11
|
|
|
12
12
|
:where(.astra-ui) .astra-decision-insights > li {
|
|
13
13
|
border-bottom: 1px solid var(--astra-color-border);
|
|
14
|
-
padding:
|
|
14
|
+
padding: 11.52px 0;
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:where(.astra-ui) .astra-decision-insights > li:last-child {
|
|
@@ -19,10 +19,10 @@
|
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:where(.astra-ui) .astra-decision-options h4 {
|
|
22
|
-
margin: 0 0
|
|
22
|
+
margin: 0 0 8.8px;
|
|
23
23
|
color: var(--astra-color-text);
|
|
24
24
|
font-family: var(--astra-font-ui);
|
|
25
|
-
font-size:
|
|
25
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
26
26
|
}
|
|
27
27
|
|
|
28
28
|
:where(.astra-ui) .astra-decision-options__marker {
|
|
@@ -36,18 +36,18 @@
|
|
|
36
36
|
:where(.astra-ui) .astra-decision-options li > span:nth-child(2) {
|
|
37
37
|
display: grid;
|
|
38
38
|
min-width: 0;
|
|
39
|
-
gap:
|
|
39
|
+
gap: 1.92px;
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
:where(.astra-ui) .astra-decision-options strong {
|
|
43
43
|
font-family: var(--astra-font-ui);
|
|
44
|
-
font-size:
|
|
44
|
+
font-size: 12.8px;
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
:where(.astra-ui) .astra-decision-options small {
|
|
48
48
|
color: var(--astra-color-accent);
|
|
49
49
|
font-family: var(--astra-font-ui);
|
|
50
|
-
font-size:
|
|
50
|
+
font-size: var(--astra-font-size-2xs);
|
|
51
51
|
font-weight: 700;
|
|
52
52
|
letter-spacing: 0.05em;
|
|
53
53
|
text-transform: uppercase;
|
|
@@ -62,65 +62,65 @@
|
|
|
62
62
|
border-block-end: 1px solid var(--astra-color-border);
|
|
63
63
|
border-radius: 0;
|
|
64
64
|
background: transparent;
|
|
65
|
-
padding:
|
|
65
|
+
padding: 12px 4px;
|
|
66
66
|
}
|
|
67
67
|
|
|
68
68
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-decision-options {
|
|
69
|
-
padding-block:
|
|
69
|
+
padding-block: 14px;
|
|
70
70
|
border-block-start: 1px solid var(--astra-color-border);
|
|
71
71
|
}
|
|
72
72
|
|
|
73
73
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-decision-options h4 {
|
|
74
74
|
color: var(--astra-color-text);
|
|
75
|
-
font: 700
|
|
75
|
+
font: 700 var(--astra-font-size-sm)/1.25 var(--astra-font-ui);
|
|
76
76
|
letter-spacing: 0;
|
|
77
77
|
text-transform: none;
|
|
78
78
|
}
|
|
79
79
|
|
|
80
80
|
:where(.astra-ui) .astra-decision-options {
|
|
81
|
-
margin-top:
|
|
81
|
+
margin-top: 26px;
|
|
82
82
|
border-top: 0;
|
|
83
83
|
padding-top: 0;
|
|
84
84
|
}
|
|
85
85
|
|
|
86
86
|
:where(.astra-ui) .astra-decision-options h4 {
|
|
87
|
-
margin: 0 0
|
|
87
|
+
margin: 0 0 8px;
|
|
88
88
|
color: var(--astra-color-text);
|
|
89
|
-
font: 700
|
|
89
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
90
90
|
}
|
|
91
91
|
|
|
92
92
|
:where(.astra-ui) .astra-decision-options ul {
|
|
93
93
|
list-style: none;
|
|
94
94
|
display: grid;
|
|
95
|
-
gap:
|
|
95
|
+
gap: 7px;
|
|
96
96
|
margin: 0;
|
|
97
97
|
padding: 0;
|
|
98
98
|
}
|
|
99
99
|
|
|
100
100
|
:where(.astra-ui) .astra-decision-options li {
|
|
101
101
|
display: grid;
|
|
102
|
-
grid-template-columns:
|
|
103
|
-
gap:
|
|
102
|
+
grid-template-columns: 22px minmax(0, 1fr) auto;
|
|
103
|
+
gap: 11px;
|
|
104
104
|
align-items: center;
|
|
105
105
|
border: 1px solid var(--astra-color-border);
|
|
106
|
-
border-radius:
|
|
106
|
+
border-radius: 10px;
|
|
107
107
|
background: var(--astra-color-canvas);
|
|
108
|
-
padding:
|
|
108
|
+
padding: 11px 14px;
|
|
109
109
|
}
|
|
110
110
|
|
|
111
111
|
:where(.astra-ui) .astra-decision-options strong {
|
|
112
|
-
font: 700
|
|
112
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
113
113
|
}
|
|
114
114
|
|
|
115
115
|
:where(.astra-ui) .astra-decision-options code {
|
|
116
|
-
margin-top:
|
|
116
|
+
margin-top: 2px;
|
|
117
117
|
color: var(--astra-color-text-subtle);
|
|
118
|
-
font-size:
|
|
118
|
+
font-size: var(--astra-font-size-2xs);
|
|
119
119
|
}
|
|
120
120
|
|
|
121
121
|
:where(.astra-ui) .astra-decision-options small {
|
|
122
122
|
color: var(--astra-color-kind-decision-ink);
|
|
123
|
-
font-size:
|
|
123
|
+
font-size: var(--astra-font-size-2xs);
|
|
124
124
|
}
|
|
125
125
|
|
|
126
126
|
:where(.astra-ui) .astra-decision-insights > li {
|
|
@@ -145,7 +145,7 @@
|
|
|
145
145
|
|
|
146
146
|
:where(.astra-ui) .astra-decision-options li {
|
|
147
147
|
border-color: var(--astra-color-border);
|
|
148
|
-
border-radius:
|
|
148
|
+
border-radius: 10px;
|
|
149
149
|
background: var(--astra-color-canvas);
|
|
150
150
|
}
|
|
151
151
|
|
|
@@ -15,12 +15,12 @@
|
|
|
15
15
|
}
|
|
16
16
|
|
|
17
17
|
:where(.astra-ui) .astra-insight-trigger:where([data-variant="claim"]) .astra-evidence__glyph--insight {
|
|
18
|
-
margin-top:
|
|
18
|
+
margin-top: 3.52px;
|
|
19
19
|
}
|
|
20
20
|
|
|
21
21
|
:where(.astra-ui) .astra-evidence {
|
|
22
22
|
list-style: none;
|
|
23
|
-
margin:
|
|
23
|
+
margin: 2.4px 0 0;
|
|
24
24
|
padding: 0;
|
|
25
25
|
display: flex;
|
|
26
26
|
flex-direction: column;
|
|
@@ -37,11 +37,6 @@
|
|
|
37
37
|
gap: 0.5em;
|
|
38
38
|
}
|
|
39
39
|
|
|
40
|
-
:where(.astra-ui) .astra-evidence__glyph--insight {
|
|
41
|
-
color: var(--astra-color-kind-insight);
|
|
42
|
-
font-size: 0.85em;
|
|
43
|
-
}
|
|
44
|
-
|
|
45
40
|
|
|
46
41
|
:where(.astra-ui) .astra-evidence__tag {
|
|
47
42
|
font-family: var(--astra-font-ui);
|
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/* figure-zoom — emitted by src/components/figure-zoom.tsx */
|
|
2
|
+
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
|
+
@layer astra.components {
|
|
4
|
+
:where(.astra-ui) .astra-figure-zoom {
|
|
5
|
+
position: relative;
|
|
6
|
+
width: 100%;
|
|
7
|
+
height: 100%;
|
|
8
|
+
min-width: 0;
|
|
9
|
+
min-height: 0;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
:where(.astra-ui) .astra-figure-zoom__controls {
|
|
13
|
+
position: absolute;
|
|
14
|
+
right: var(--astra-space-2);
|
|
15
|
+
bottom: var(--astra-space-2);
|
|
16
|
+
z-index: 1;
|
|
17
|
+
display: flex;
|
|
18
|
+
flex-direction: column;
|
|
19
|
+
gap: calc(var(--astra-space-2) / 2);
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
:where(.astra-ui) .astra-figure-zoom__controls .astra-button {
|
|
23
|
+
width: 32px;
|
|
24
|
+
padding: 0;
|
|
25
|
+
background: var(--astra-color-artifact-paper);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
/* At a zoom bound the button stays focusable (aria-disabled, not disabled)
|
|
29
|
+
so the press that reached the bound does not drop keyboard focus; it
|
|
30
|
+
looks and hovers like a disabled button. */
|
|
31
|
+
:where(.astra-ui) .astra-figure-zoom__controls .astra-button:where([aria-disabled="true"]),
|
|
32
|
+
:where(.astra-ui) .astra-figure-zoom__controls .astra-button:where([aria-disabled="true"]):hover {
|
|
33
|
+
border-color: var(--astra-color-border-strong);
|
|
34
|
+
background: var(--astra-color-artifact-paper);
|
|
35
|
+
color: var(--astra-color-text-muted);
|
|
36
|
+
cursor: default;
|
|
37
|
+
opacity: 0.55;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
:where(.astra-ui) .astra-figure-zoom__viewport {
|
|
41
|
+
min-width: 0;
|
|
42
|
+
min-height: 0;
|
|
43
|
+
overflow: hidden;
|
|
44
|
+
overscroll-behavior: contain;
|
|
45
|
+
cursor: grab;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
:where(.astra-ui) .astra-figure-zoom__viewport:focus-visible {
|
|
49
|
+
outline: 2px solid var(--astra-color-accent);
|
|
50
|
+
outline-offset: -2px;
|
|
51
|
+
}
|
|
52
|
+
|
|
53
|
+
:where(.astra-ui) .astra-figure-zoom__viewport:active {
|
|
54
|
+
cursor: grabbing;
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
:where(.astra-ui) .astra-figure-zoom__canvas {
|
|
58
|
+
min-width: 0;
|
|
59
|
+
min-height: 0;
|
|
60
|
+
transform-origin: top left;
|
|
61
|
+
}
|
|
62
|
+
}
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-finding-detail__notes h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
|
|
@@ -18,30 +18,30 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes {
|
|
21
|
-
padding-block:
|
|
21
|
+
padding-block: 14px;
|
|
22
22
|
border-block-start: 1px solid var(--astra-color-border);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes h4 {
|
|
26
26
|
color: var(--astra-color-text);
|
|
27
|
-
font: 700
|
|
27
|
+
font: 700 var(--astra-font-size-sm)/1.25 var(--astra-font-ui);
|
|
28
28
|
letter-spacing: 0;
|
|
29
29
|
text-transform: none;
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-finding-detail__notes > div {
|
|
33
33
|
color: var(--astra-color-text-muted);
|
|
34
|
-
font: 400
|
|
34
|
+
font: 400 13.5px/1.55 var(--astra-font-body);
|
|
35
35
|
}
|
|
36
36
|
|
|
37
37
|
:where(.astra-ui) .astra-finding-detail__notes {
|
|
38
|
-
margin-top:
|
|
38
|
+
margin-top: 26px;
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:where(.astra-ui) .astra-finding-detail__notes h4 {
|
|
42
|
-
margin: 0 0
|
|
42
|
+
margin: 0 0 8px;
|
|
43
43
|
color: var(--astra-color-text);
|
|
44
|
-
font: 700
|
|
44
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
45
45
|
}
|
|
46
46
|
|
|
47
47
|
:where(.astra-ui) .astra-finding-detail__notes:first-child {
|
|
@@ -49,13 +49,75 @@
|
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:where(.astra-ui) .astra-finding-detail__results {
|
|
52
|
-
margin-top:
|
|
52
|
+
margin-top: 26px;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
/* Same eyebrow the inventory puts over a run of outputs, so a finding's
|
|
56
|
+
results read as the familiar grouping rather than a new one. */
|
|
57
|
+
:where(.astra-ui) .astra-finding-detail__group-heading {
|
|
58
|
+
margin: 0 0 8px;
|
|
59
|
+
color: var(--astra-color-text-subtle);
|
|
60
|
+
font: 600 var(--astra-font-size-2xs)/1.2 var(--astra-font-ui);
|
|
61
|
+
letter-spacing: 0.09em;
|
|
62
|
+
text-transform: uppercase;
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
:where(.astra-ui) .astra-finding-detail__results section + section {
|
|
66
|
+
margin-top: 16px;
|
|
67
|
+
}
|
|
68
|
+
|
|
69
|
+
/* The runs a finding's results fall into, grouped as the inventory groups an
|
|
70
|
+
analysis's outputs: framed artifacts, then metric tiles, then files. */
|
|
71
|
+
:where(.astra-ui) .astra-finding-detail__gallery {
|
|
72
|
+
display: grid;
|
|
73
|
+
gap: 12px;
|
|
74
|
+
grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
:where(.astra-ui) .astra-finding-detail__tiles {
|
|
78
|
+
display: flex;
|
|
79
|
+
margin: 12px 0 0;
|
|
80
|
+
padding: 0;
|
|
81
|
+
flex-wrap: wrap;
|
|
82
|
+
align-items: flex-start;
|
|
83
|
+
gap: var(--astra-space-2);
|
|
84
|
+
list-style: none;
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
:where(.astra-ui) .astra-finding-detail__tiles > li {
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
min-width: 0;
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
:where(.astra-ui) .astra-finding-detail__files {
|
|
93
|
+
display: grid;
|
|
94
|
+
margin: 12px 0 0;
|
|
95
|
+
padding: 0;
|
|
96
|
+
grid-template-columns: minmax(0, 1fr);
|
|
97
|
+
list-style: none;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
/* A rule separates two file rows; it does not close off the last one, which
|
|
101
|
+
in a finding is usually the only one. */
|
|
102
|
+
:where(.astra-ui) .astra-finding-detail__files > li {
|
|
103
|
+
display: flex;
|
|
104
|
+
min-width: 0;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
:where(.astra-ui) .astra-finding-detail__files > li:not(:last-child) {
|
|
108
|
+
border-bottom: 1px solid var(--astra-color-border-subtle);
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
:where(.astra-ui) .astra-finding-detail__unresolved {
|
|
112
|
+
padding: var(--astra-space-3) var(--astra-space-2);
|
|
113
|
+
color: var(--astra-color-text-subtle);
|
|
114
|
+
font: 400 var(--astra-font-size-sm)/1.5 var(--astra-font-ui);
|
|
53
115
|
}
|
|
54
116
|
|
|
55
117
|
:where(.astra-ui) .astra-finding-detail__notes > div {
|
|
56
|
-
font-size:
|
|
118
|
+
font-size: 16px;
|
|
57
119
|
line-height: 1.6;
|
|
58
|
-
font:
|
|
120
|
+
font: var(--astra-font-size)/1.55 var(--astra-font-body);
|
|
59
121
|
color: var(--astra-color-text-muted);
|
|
60
122
|
font-family: var(--astra-font-body);
|
|
61
123
|
}
|
|
@@ -2,14 +2,14 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-input-source h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-input-source {
|
|
12
|
-
padding-block:
|
|
12
|
+
padding-block: 14px;
|
|
13
13
|
border-block-start: 1px solid var(--astra-color-border);
|
|
14
14
|
}
|
|
15
15
|
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
}
|
|
29
29
|
|
|
30
30
|
:where(.astra-ui) .astra-input-source {
|
|
31
|
-
margin-top:
|
|
31
|
+
margin-top: 26px;
|
|
32
32
|
border-top: 0;
|
|
33
33
|
padding-top: 0;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:where(.astra-ui) .astra-input-source h4 {
|
|
37
|
-
margin: 0 0
|
|
37
|
+
margin: 0 0 8px;
|
|
38
38
|
color: var(--astra-color-text);
|
|
39
39
|
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
40
40
|
}
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
border-radius: 999px;
|
|
51
51
|
background: var(--astra-color-canvas);
|
|
52
52
|
color: var(--astra-color-link);
|
|
53
|
-
padding:
|
|
53
|
+
padding: 9px 16px;
|
|
54
54
|
font: var(--astra-font-size-2xs)/1.6 var(--astra-font-mono);
|
|
55
55
|
text-align: left;
|
|
56
56
|
text-decoration: none;
|
|
@@ -75,7 +75,7 @@
|
|
|
75
75
|
}
|
|
76
76
|
|
|
77
77
|
:where(.astra-ui) .astra-dialog:where([data-kind="input"]) .astra-input-source code::-webkit-scrollbar {
|
|
78
|
-
height:
|
|
78
|
+
height: 6px;
|
|
79
79
|
}
|
|
80
80
|
|
|
81
81
|
:where(.astra-ui) .astra-dialog:where([data-kind="input"]) .astra-input-source code::-webkit-scrollbar-thumb {
|
|
@@ -5,15 +5,15 @@
|
|
|
5
5
|
:where(.astra-ui) .astra-insight-detail__paper,
|
|
6
6
|
:where(.astra-ui) .astra-insight-detail__source-quote,
|
|
7
7
|
:where(.astra-ui) .astra-insight-detail__notes {
|
|
8
|
-
margin:
|
|
8
|
+
margin: 26px 0 0;
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
/* FindingDetail still labels its passage; the insight popup renders the
|
|
12
12
|
quote alone. */
|
|
13
13
|
:where(.astra-ui) .astra-insight-detail__source-quote h4 {
|
|
14
|
-
margin: 0 0
|
|
14
|
+
margin: 0 0 8px;
|
|
15
15
|
color: var(--astra-color-text);
|
|
16
|
-
font: 700
|
|
16
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
17
17
|
}
|
|
18
18
|
|
|
19
19
|
/* The passage reads as a quotation, not a boxed section: a hanging
|
|
@@ -22,17 +22,17 @@
|
|
|
22
22
|
position: relative;
|
|
23
23
|
margin: 0;
|
|
24
24
|
color: var(--astra-color-text-muted);
|
|
25
|
-
padding: 0 0 0
|
|
26
|
-
font: italic
|
|
25
|
+
padding: 0 0 0 30px;
|
|
26
|
+
font: italic var(--astra-font-size)/1.6 var(--astra-font-body);
|
|
27
27
|
}
|
|
28
28
|
|
|
29
29
|
:where(.astra-ui) .astra-insight-detail__source-quote blockquote::before {
|
|
30
30
|
content: '\201C';
|
|
31
31
|
position: absolute;
|
|
32
|
-
top: -
|
|
32
|
+
top: -4.8px;
|
|
33
33
|
left: 0;
|
|
34
34
|
color: var(--astra-color-kind-insight);
|
|
35
|
-
font: 700
|
|
35
|
+
font: 700 34px/1 var(--astra-font-body);
|
|
36
36
|
}
|
|
37
37
|
|
|
38
38
|
:where(.astra-ui) .astra-insight-detail__source-quote blockquote > :first-child {
|
|
@@ -45,28 +45,28 @@
|
|
|
45
45
|
|
|
46
46
|
:where(.astra-ui) .astra-insight-detail__source-quote figcaption {
|
|
47
47
|
margin: 0;
|
|
48
|
-
padding-left:
|
|
48
|
+
padding-left: 30px;
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
:where(.astra-ui) .astra-insight-detail__open-source {
|
|
52
52
|
display: inline-flex;
|
|
53
|
-
gap:
|
|
53
|
+
gap: 7.2px;
|
|
54
54
|
align-items: center;
|
|
55
|
-
min-height:
|
|
56
|
-
margin-top:
|
|
55
|
+
min-height: 32px;
|
|
56
|
+
margin-top: 11px;
|
|
57
57
|
cursor: pointer;
|
|
58
58
|
border: 1px solid var(--astra-color-border-strong);
|
|
59
59
|
border-radius: var(--astra-radius-control);
|
|
60
60
|
background: var(--astra-color-surface-raised);
|
|
61
61
|
color: var(--astra-color-accent);
|
|
62
|
-
padding:
|
|
63
|
-
font: 650
|
|
62
|
+
padding: 6px 10px;
|
|
63
|
+
font: 650 var(--astra-font-size-sm)/1 var(--astra-font-ui);
|
|
64
64
|
text-decoration: none;
|
|
65
65
|
}
|
|
66
66
|
|
|
67
67
|
/* Standing alone (no quote to caption), the action keeps section rhythm. */
|
|
68
68
|
:where(.astra-ui) .astra-detail__main > .astra-insight-detail__open-source {
|
|
69
|
-
margin-top:
|
|
69
|
+
margin-top: 26px;
|
|
70
70
|
}
|
|
71
71
|
|
|
72
72
|
:where(.astra-ui) .astra-insight-detail__open-source:hover {
|
|
@@ -80,14 +80,14 @@
|
|
|
80
80
|
}
|
|
81
81
|
|
|
82
82
|
:where(.astra-ui) .astra-insight-detail__notes h4 {
|
|
83
|
-
margin: 0 0
|
|
83
|
+
margin: 0 0 8px;
|
|
84
84
|
color: var(--astra-color-text);
|
|
85
|
-
font: 700
|
|
85
|
+
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
86
86
|
}
|
|
87
87
|
|
|
88
88
|
:where(.astra-ui) .astra-insight-detail__notes > div {
|
|
89
89
|
color: var(--astra-color-text-muted);
|
|
90
|
-
font:
|
|
90
|
+
font: var(--astra-font-size)/1.55 var(--astra-font-body);
|
|
91
91
|
}
|
|
92
92
|
|
|
93
93
|
:where(.astra-ui) .astra-insight-detail__notes > div > :first-child {
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
@layer astra.tokens, astra.base, astra.components, astra.views;
|
|
3
3
|
@layer astra.components {
|
|
4
4
|
:where(.astra-ui) .astra-insight-list h4 {
|
|
5
|
-
margin: 0 0
|
|
5
|
+
margin: 0 0 8.8px;
|
|
6
6
|
color: var(--astra-color-text);
|
|
7
7
|
font-family: var(--astra-font-ui);
|
|
8
|
-
font-size:
|
|
8
|
+
font-size: 13.var(--astra-font-size-xs);
|
|
9
9
|
}
|
|
10
10
|
|
|
11
11
|
:where(.astra-ui) .astra-detail__main > .astra-insight-list:first-child {
|
|
@@ -18,7 +18,7 @@
|
|
|
18
18
|
}
|
|
19
19
|
|
|
20
20
|
:where(.astra-ui) .astra-dialog:where([data-mode="embedded"]) .astra-insight-list {
|
|
21
|
-
padding-block:
|
|
21
|
+
padding-block: 14px;
|
|
22
22
|
border-block-start: 1px solid var(--astra-color-border);
|
|
23
23
|
}
|
|
24
24
|
|
|
@@ -30,17 +30,17 @@
|
|
|
30
30
|
}
|
|
31
31
|
|
|
32
32
|
:where(.astra-ui) .astra-insight-list {
|
|
33
|
-
margin-top:
|
|
33
|
+
margin-top: 26px;
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
:where(.astra-ui) .astra-insight-list h4 {
|
|
37
|
-
margin: 0 0
|
|
37
|
+
margin: 0 0 8px;
|
|
38
38
|
color: var(--astra-color-text);
|
|
39
39
|
font: 700 var(--astra-font-size)/1.2 var(--astra-font-ui);
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
:where(.astra-ui) .astra-paper-detail__rail .astra-insight-list {
|
|
43
|
-
margin-top:
|
|
43
|
+
margin-top: 22px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
}
|
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
}
|
|
14
14
|
|
|
15
15
|
:where(.astra-ui) .astra-insight-trigger:focus-visible {
|
|
16
|
-
border-radius:
|
|
16
|
+
border-radius: 2.88px;
|
|
17
17
|
outline: 2px solid var(--astra-color-accent);
|
|
18
18
|
outline-offset: 2px;
|
|
19
19
|
}
|
|
@@ -21,7 +21,7 @@
|
|
|
21
21
|
:where(.astra-ui) .astra-insight-trigger:where([data-variant="claim"]) {
|
|
22
22
|
display: grid;
|
|
23
23
|
grid-template-columns: auto minmax(0, 1fr);
|
|
24
|
-
gap:
|
|
24
|
+
gap: 8.8px;
|
|
25
25
|
align-items: start;
|
|
26
26
|
color: var(--astra-color-text-muted);
|
|
27
27
|
}
|
|
@@ -39,13 +39,13 @@
|
|
|
39
39
|
}
|
|
40
40
|
|
|
41
41
|
:where(.astra-ui) .astra-insight-trigger:where([data-variant="claim"]) {
|
|
42
|
-
grid-template-columns:
|
|
43
|
-
padding:
|
|
42
|
+
grid-template-columns: 22px minmax(0, 1fr);
|
|
43
|
+
padding: 10px 4px;
|
|
44
44
|
}
|
|
45
45
|
|
|
46
46
|
:where(.astra-ui) .astra-insight-trigger__claim {
|
|
47
47
|
color: var(--astra-color-text);
|
|
48
|
-
font: 400
|
|
48
|
+
font: 400 var(--astra-font-size)/1.4 var(--astra-font-ui);
|
|
49
49
|
}
|
|
50
50
|
|
|
51
51
|
}
|