@w6w/ui 0.2.69 → 0.2.70

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": "@w6w/ui",
3
- "version": "0.2.69",
3
+ "version": "0.2.70",
4
4
  "description": "React components for w6w — central API management. Build plugins, apps and integrations on them.",
5
5
  "license": "MIT",
6
6
  "homepage": "https://w6w.io",
@@ -329,6 +329,25 @@
329
329
  vertical-align: middle;
330
330
  }
331
331
 
332
+ /* Which trigger started the run — on the row's first line, so a list mixing triggers reads at a
333
+ glance (the raw `Event · <node id>` segment stays the tooltip). */
334
+ .w6w-execution-trigger-chip {
335
+ display: inline-block;
336
+ max-width: 22rem;
337
+ margin-left: var(--w6w-sp-2);
338
+ padding: 0 var(--w6w-sp-1-5);
339
+ overflow: hidden;
340
+ border: 1px solid var(--w6w-border);
341
+ border-radius: var(--w6w-radius);
342
+ color: var(--w6w-text);
343
+ font-size: var(--w6w-fs-xs);
344
+ font-weight: 500;
345
+ line-height: var(--w6w-lh-tight);
346
+ text-overflow: ellipsis;
347
+ white-space: nowrap;
348
+ vertical-align: middle;
349
+ }
350
+
332
351
  .w6w-execution-detail-rerun-of {
333
352
  display: flex;
334
353
  align-items: center;
@@ -23,9 +23,10 @@
23
23
  overflow: auto;
24
24
  }
25
25
 
26
+ /* list | divider | detail. Once the divider is dragged, the view sets the first track in px. */
26
27
  .w6w-log-view-cols {
27
28
  display: grid;
28
- grid-template-columns: minmax(200px, 30%) minmax(0, 1fr);
29
+ grid-template-columns: minmax(200px, 30%) auto minmax(0, 1fr);
29
30
  flex: 1 1 auto;
30
31
  min-height: 0;
31
32
  }
@@ -37,8 +38,35 @@
37
38
  min-height: 0;
38
39
  overflow: auto;
39
40
  padding: var(--w6w-sp-2);
40
- border-right: 1px solid var(--w6w-border);
41
41
  background: var(--w6w-panel-2);
42
+ font-size: var(--w6w-fs-xs);
43
+ }
44
+
45
+ /* The column divider: a 1px rule that is wider to grab than it looks, same idiom as the dock's
46
+ own split handle (`.w6w-log-dock-resize`). */
47
+ .w6w-log-view-divider {
48
+ position: relative;
49
+ width: 1px;
50
+ background: var(--w6w-border);
51
+ cursor: col-resize;
52
+ touch-action: none;
53
+ z-index: 1;
54
+ }
55
+ .w6w-log-view-divider::before {
56
+ content: "";
57
+ position: absolute;
58
+ top: 0;
59
+ bottom: 0;
60
+ /* lint-tokens-allow: the grab area overhangs the 1px rule by 4px each side, mirroring the dock's handle */
61
+ left: -4px;
62
+ /* lint-tokens-allow: see above */
63
+ right: -4px;
64
+ }
65
+ .w6w-log-view-divider:hover,
66
+ .w6w-log-view-divider:focus-visible {
67
+ outline: none;
68
+ background: var(--w6w-accent);
69
+ box-shadow: 0 0 0 1px var(--w6w-accent);
42
70
  }
43
71
 
44
72
  .w6w-log-view-list {
@@ -55,8 +83,8 @@
55
83
  align-items: center;
56
84
  gap: var(--w6w-sp-2);
57
85
  width: 100%;
58
- padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
59
- border: 1px solid transparent;
86
+ padding: var(--w6w-sp-1) var(--w6w-sp-1-5);
87
+ border: none;
60
88
  border-radius: 6px;
61
89
  background: transparent;
62
90
  color: var(--w6w-text);
@@ -71,10 +99,10 @@
71
99
  outline: 2px solid var(--w6w-accent);
72
100
  outline-offset: -2px;
73
101
  }
102
+ /* Selection is a tint, not a framed box: the list column is already a panel of its own. */
74
103
  .w6w-log-view-item-selected,
75
104
  .w6w-log-view-item-selected:hover {
76
- background: var(--w6w-panel);
77
- border-color: var(--w6w-border);
105
+ background: color-mix(in srgb, var(--w6w-accent) 12%, transparent);
78
106
  }
79
107
  /* A failed step reads as failed in the list even before it is picked — the dot alone is colour,
80
108
  and colour is never the only signal, so its label turns danger too. */
@@ -90,6 +118,24 @@
90
118
  border-radius: 50%;
91
119
  background: var(--w6w-step-color);
92
120
  }
121
+ /* The step's icon with its status dot pinned to the corner, so the mark costs one slot of width.
122
+ No icon (the host gave no node) ⇒ the dot alone, inline. */
123
+ .w6w-log-view-item-mark {
124
+ position: relative;
125
+ display: inline-flex;
126
+ flex-shrink: 0;
127
+ }
128
+ .w6w-log-view-item-mark-icon > .w6w-log-view-dot {
129
+ position: absolute;
130
+ /* lint-tokens-allow: the status dot overhangs the icon's corner as a badge */
131
+ right: -2px;
132
+ /* lint-tokens-allow: see above */
133
+ bottom: -2px;
134
+ box-shadow: 0 0 0 2px var(--w6w-panel-2);
135
+ }
136
+ .w6w-log-view-item-selected .w6w-log-view-item-mark-icon > .w6w-log-view-dot {
137
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--w6w-accent) 12%, var(--w6w-panel-2));
138
+ }
93
139
  .w6w-log-view-dot.w6w-step-pill-skipped {
94
140
  background: transparent;
95
141
  border: 1px dashed var(--w6w-step-color);
@@ -110,13 +156,14 @@
110
156
  }
111
157
 
112
158
  .w6w-log-view-item-label {
113
- font-size: var(--w6w-fs-sm);
159
+ font-size: var(--w6w-fs-xs);
114
160
  }
115
161
 
116
162
  .w6w-log-view-item-uses,
117
163
  .w6w-log-view-item-time {
118
164
  color: var(--w6w-muted);
119
- font-size: var(--w6w-fs-xs);
165
+ /* lint-tokens-allow: one step under --w6w-fs-xs for the secondary line; the ramp has no 2xs role */
166
+ font-size: 0.6875rem;
120
167
  }
121
168
 
122
169
  .w6w-log-view-item-time {
@@ -130,6 +177,28 @@
130
177
  overflow: auto;
131
178
  padding: var(--w6w-sp-3);
132
179
  container-type: inline-size;
180
+ font-size: var(--w6w-fs-xs);
181
+ }
182
+
183
+ /* `.w6w-small` is relative (0.85em): inside an already-small column it would drop the Input /
184
+ Output / Console labels under the ramp's smallest role. */
185
+ .w6w-log-view-detail-col .w6w-small {
186
+ font-size: var(--w6w-fs-xs);
187
+ }
188
+
189
+ .w6w-log-view-detail-title > strong {
190
+ font-size: var(--w6w-fs-sm);
191
+ }
192
+
193
+ /* The detail reads at the list's density: payloads in the small mono size, and the viewer's
194
+ Expand/Collapse toolbar as compact ghost buttons rather than full-size form buttons. */
195
+ .w6w-log-view-detail-col .w6w-result-viewer-body {
196
+ font-size: var(--w6w-fs-xs);
197
+ }
198
+ .w6w-log-view-detail-col .w6w-result-viewer-bar .w6w-btn,
199
+ .w6w-log-view-detail-col .w6w-execution-log-subrow-head .w6w-select {
200
+ padding: var(--w6w-sp-0-5) var(--w6w-sp-2);
201
+ font-size: var(--w6w-fs-xs);
133
202
  }
134
203
 
135
204
  .w6w-log-view-detail-head {
@@ -98,7 +98,7 @@
98
98
  .w6w-execution-log {
99
99
  display: flex;
100
100
  flex-direction: column;
101
- gap: var(--w6w-sp-3);
101
+ gap: 0;
102
102
  list-style: none;
103
103
  margin: 0;
104
104
  padding: 0;
@@ -120,6 +120,18 @@
120
120
  min-width: 0;
121
121
  }
122
122
 
123
+ /* Rows are a divided list, not a stack of boxed cards: an opened row holds the framed
124
+ Input/Output viewers (`.w6w-copyable`), and a `.w6w-section` box around them drew a card
125
+ inside a card. The section keeps its `<details>` behaviour; only its frame goes. */
126
+ .w6w-execution-log-row > .w6w-section {
127
+ border: none;
128
+ border-radius: 0;
129
+ padding: var(--w6w-sp-2) 0;
130
+ }
131
+ .w6w-execution-log-row + .w6w-execution-log-row {
132
+ border-top: 1px solid var(--w6w-border);
133
+ }
134
+
123
135
  .w6w-execution-log-row-header {
124
136
  display: flex;
125
137
  align-items: center;
package/src/styles.css CHANGED
@@ -5692,7 +5692,7 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5692
5692
  .w6w-execution-log {
5693
5693
  display: flex;
5694
5694
  flex-direction: column;
5695
- gap: var(--w6w-sp-3);
5695
+ gap: 0;
5696
5696
  list-style: none;
5697
5697
  margin: 0;
5698
5698
  padding: 0;
@@ -5714,6 +5714,19 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5714
5714
  min-width: 0;
5715
5715
  }
5716
5716
 
5717
+ /* Rows are a divided list, not a stack of boxed cards: an opened row holds the framed
5718
+ Input/Output viewers (`.w6w-copyable`), and a `.w6w-section` box around them drew a card
5719
+ inside a card. The section keeps its `<details>` behaviour; only its frame goes. */
5720
+ .w6w-execution-log-row > .w6w-section {
5721
+ border: none;
5722
+ border-radius: 0;
5723
+ padding: var(--w6w-sp-2) 0;
5724
+ }
5725
+
5726
+ .w6w-execution-log-row + .w6w-execution-log-row {
5727
+ border-top: 1px solid var(--w6w-border);
5728
+ }
5729
+
5717
5730
  .w6w-execution-log-row-header {
5718
5731
  display: flex;
5719
5732
  align-items: center;
@@ -5967,9 +5980,10 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5967
5980
  overflow: auto;
5968
5981
  }
5969
5982
 
5983
+ /* list | divider | detail. Once the divider is dragged, the view sets the first track in px. */
5970
5984
  .w6w-log-view-cols {
5971
5985
  display: grid;
5972
- grid-template-columns: minmax(200px, 30%) minmax(0, 1fr);
5986
+ grid-template-columns: minmax(200px, 30%) auto minmax(0, 1fr);
5973
5987
  flex: 1 1 auto;
5974
5988
  min-height: 0;
5975
5989
  }
@@ -5981,8 +5995,37 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5981
5995
  min-height: 0;
5982
5996
  overflow: auto;
5983
5997
  padding: var(--w6w-sp-2);
5984
- border-right: 1px solid var(--w6w-border);
5985
5998
  background: var(--w6w-panel-2);
5999
+ font-size: var(--w6w-fs-xs);
6000
+ }
6001
+
6002
+ /* The column divider: a 1px rule that is wider to grab than it looks, same idiom as the dock's
6003
+ own split handle (`.w6w-log-dock-resize`). */
6004
+ .w6w-log-view-divider {
6005
+ position: relative;
6006
+ width: 1px;
6007
+ background: var(--w6w-border);
6008
+ cursor: col-resize;
6009
+ touch-action: none;
6010
+ z-index: 1;
6011
+ }
6012
+
6013
+ .w6w-log-view-divider::before {
6014
+ content: "";
6015
+ position: absolute;
6016
+ top: 0;
6017
+ bottom: 0;
6018
+ /* lint-tokens-allow: the grab area overhangs the 1px rule by 4px each side, mirroring the dock's handle */
6019
+ left: -4px;
6020
+ /* lint-tokens-allow: see above */
6021
+ right: -4px;
6022
+ }
6023
+
6024
+ .w6w-log-view-divider:hover,
6025
+ .w6w-log-view-divider:focus-visible {
6026
+ outline: none;
6027
+ background: var(--w6w-accent);
6028
+ box-shadow: 0 0 0 1px var(--w6w-accent);
5986
6029
  }
5987
6030
 
5988
6031
  .w6w-log-view-list {
@@ -5999,8 +6042,8 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5999
6042
  align-items: center;
6000
6043
  gap: var(--w6w-sp-2);
6001
6044
  width: 100%;
6002
- padding: var(--w6w-sp-1-5) var(--w6w-sp-2);
6003
- border: 1px solid transparent;
6045
+ padding: var(--w6w-sp-1) var(--w6w-sp-1-5);
6046
+ border: none;
6004
6047
  border-radius: 6px;
6005
6048
  background: transparent;
6006
6049
  color: var(--w6w-text);
@@ -6018,10 +6061,10 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
6018
6061
  outline-offset: -2px;
6019
6062
  }
6020
6063
 
6064
+ /* Selection is a tint, not a framed box: the list column is already a panel of its own. */
6021
6065
  .w6w-log-view-item-selected,
6022
6066
  .w6w-log-view-item-selected:hover {
6023
- background: var(--w6w-panel);
6024
- border-color: var(--w6w-border);
6067
+ background: color-mix(in srgb, var(--w6w-accent) 12%, transparent);
6025
6068
  }
6026
6069
 
6027
6070
  /* A failed step reads as failed in the list even before it is picked — the dot alone is colour,
@@ -6039,6 +6082,27 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
6039
6082
  background: var(--w6w-step-color);
6040
6083
  }
6041
6084
 
6085
+ /* The step's icon with its status dot pinned to the corner, so the mark costs one slot of width.
6086
+ No icon (the host gave no node) ⇒ the dot alone, inline. */
6087
+ .w6w-log-view-item-mark {
6088
+ position: relative;
6089
+ display: inline-flex;
6090
+ flex-shrink: 0;
6091
+ }
6092
+
6093
+ .w6w-log-view-item-mark-icon > .w6w-log-view-dot {
6094
+ position: absolute;
6095
+ /* lint-tokens-allow: the status dot overhangs the icon's corner as a badge */
6096
+ right: -2px;
6097
+ /* lint-tokens-allow: see above */
6098
+ bottom: -2px;
6099
+ box-shadow: 0 0 0 2px var(--w6w-panel-2);
6100
+ }
6101
+
6102
+ .w6w-log-view-item-selected .w6w-log-view-item-mark-icon > .w6w-log-view-dot {
6103
+ box-shadow: 0 0 0 2px color-mix(in srgb, var(--w6w-accent) 12%, var(--w6w-panel-2));
6104
+ }
6105
+
6042
6106
  .w6w-log-view-dot.w6w-step-pill-skipped {
6043
6107
  background: transparent;
6044
6108
  border: 1px dashed var(--w6w-step-color);
@@ -6059,13 +6123,14 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
6059
6123
  }
6060
6124
 
6061
6125
  .w6w-log-view-item-label {
6062
- font-size: var(--w6w-fs-sm);
6126
+ font-size: var(--w6w-fs-xs);
6063
6127
  }
6064
6128
 
6065
6129
  .w6w-log-view-item-uses,
6066
6130
  .w6w-log-view-item-time {
6067
6131
  color: var(--w6w-muted);
6068
- font-size: var(--w6w-fs-xs);
6132
+ /* lint-tokens-allow: one step under --w6w-fs-xs for the secondary line; the ramp has no 2xs role */
6133
+ font-size: 0.6875rem;
6069
6134
  }
6070
6135
 
6071
6136
  .w6w-log-view-item-time {
@@ -6079,6 +6144,29 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
6079
6144
  overflow: auto;
6080
6145
  padding: var(--w6w-sp-3);
6081
6146
  container-type: inline-size;
6147
+ font-size: var(--w6w-fs-xs);
6148
+ }
6149
+
6150
+ /* `.w6w-small` is relative (0.85em): inside an already-small column it would drop the Input /
6151
+ Output / Console labels under the ramp's smallest role. */
6152
+ .w6w-log-view-detail-col .w6w-small {
6153
+ font-size: var(--w6w-fs-xs);
6154
+ }
6155
+
6156
+ .w6w-log-view-detail-title > strong {
6157
+ font-size: var(--w6w-fs-sm);
6158
+ }
6159
+
6160
+ /* The detail reads at the list's density: payloads in the small mono size, and the viewer's
6161
+ Expand/Collapse toolbar as compact ghost buttons rather than full-size form buttons. */
6162
+ .w6w-log-view-detail-col .w6w-result-viewer-body {
6163
+ font-size: var(--w6w-fs-xs);
6164
+ }
6165
+
6166
+ .w6w-log-view-detail-col .w6w-result-viewer-bar .w6w-btn,
6167
+ .w6w-log-view-detail-col .w6w-execution-log-subrow-head .w6w-select {
6168
+ padding: var(--w6w-sp-0-5) var(--w6w-sp-2);
6169
+ font-size: var(--w6w-fs-xs);
6082
6170
  }
6083
6171
 
6084
6172
  .w6w-log-view-detail-head {
@@ -6590,6 +6678,25 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
6590
6678
  vertical-align: middle;
6591
6679
  }
6592
6680
 
6681
+ /* Which trigger started the run — on the row's first line, so a list mixing triggers reads at a
6682
+ glance (the raw `Event · <node id>` segment stays the tooltip). */
6683
+ .w6w-execution-trigger-chip {
6684
+ display: inline-block;
6685
+ max-width: 22rem;
6686
+ margin-left: var(--w6w-sp-2);
6687
+ padding: 0 var(--w6w-sp-1-5);
6688
+ overflow: hidden;
6689
+ border: 1px solid var(--w6w-border);
6690
+ border-radius: var(--w6w-radius);
6691
+ color: var(--w6w-text);
6692
+ font-size: var(--w6w-fs-xs);
6693
+ font-weight: 500;
6694
+ line-height: var(--w6w-lh-tight);
6695
+ text-overflow: ellipsis;
6696
+ white-space: nowrap;
6697
+ vertical-align: middle;
6698
+ }
6699
+
6593
6700
  .w6w-execution-detail-rerun-of {
6594
6701
  display: flex;
6595
6702
  align-items: center;