@w6w/ui 0.2.59 → 0.2.60

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.
@@ -235,6 +235,18 @@ export interface W6WApi {
235
235
  name: string;
236
236
  kind: string;
237
237
  }[]>;
238
+ /**
239
+ * OPTIONAL: the agents the signed-in user can see, for the `agent` step-param
240
+ * picker (`@w6w/model · agent`). Absent, the param renders as a plain text
241
+ * input (an `agt_…` id) and this is never called. Archived agents are not
242
+ * listed by the host. `href`, when given, opens the agent in the Agents
243
+ * dashboard.
244
+ */
245
+ listAgents?(): Promise<{
246
+ id: string;
247
+ name: string;
248
+ href?: string;
249
+ }[]>;
238
250
  /**
239
251
  * OPTIONAL: ONE page of a data store's entries, for the `data-store-key`
240
252
  * step-param picker (`@w6w/store` get/set/delete/increment). Absent, the key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@w6w/ui",
3
- "version": "0.2.59",
3
+ "version": "0.2.60",
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",
@@ -249,12 +249,28 @@
249
249
  flex-wrap: wrap;
250
250
  gap: var(--w6w-sp-1);
251
251
  }
252
+ /* A chip is a button: it picks that iteration for the body steps below (input and output open). */
252
253
  .w6w-execution-log-iteration-chip {
253
254
  padding: var(--w6w-sp-0-5) var(--w6w-sp-2);
254
255
  border: 1px solid var(--w6w-border);
255
256
  border-radius: 999px;
257
+ background: transparent;
258
+ color: inherit;
259
+ font: inherit;
256
260
  font-size: var(--w6w-fs-xs);
257
261
  white-space: nowrap;
262
+ cursor: pointer;
263
+ }
264
+ .w6w-execution-log-iteration-chip:hover {
265
+ background: var(--w6w-panel-2);
266
+ }
267
+ .w6w-execution-log-iteration-chip[aria-pressed="true"] {
268
+ box-shadow: 0 0 0 2px currentColor;
269
+ font-weight: var(--w6w-fw-semibold);
270
+ }
271
+ .w6w-execution-log-iteration-chip:focus-visible {
272
+ outline: 2px solid var(--w6w-accent);
273
+ outline-offset: 2px;
258
274
  }
259
275
  .w6w-execution-log-iteration-chip-succeeded {
260
276
  border-color: var(--w6w-success);
package/src/styles.css CHANGED
@@ -5494,12 +5494,31 @@ input.w6w-stepbuilder-search.w6w-stepbuilder-search:focus {
5494
5494
  gap: var(--w6w-sp-1);
5495
5495
  }
5496
5496
 
5497
+ /* A chip is a button: it picks that iteration for the body steps below (input and output open). */
5497
5498
  .w6w-execution-log-iteration-chip {
5498
5499
  padding: var(--w6w-sp-0-5) var(--w6w-sp-2);
5499
5500
  border: 1px solid var(--w6w-border);
5500
5501
  border-radius: 999px;
5502
+ background: transparent;
5503
+ color: inherit;
5504
+ font: inherit;
5501
5505
  font-size: var(--w6w-fs-xs);
5502
5506
  white-space: nowrap;
5507
+ cursor: pointer;
5508
+ }
5509
+
5510
+ .w6w-execution-log-iteration-chip:hover {
5511
+ background: var(--w6w-panel-2);
5512
+ }
5513
+
5514
+ .w6w-execution-log-iteration-chip[aria-pressed=true] {
5515
+ box-shadow: 0 0 0 2px currentColor;
5516
+ font-weight: var(--w6w-fw-semibold);
5517
+ }
5518
+
5519
+ .w6w-execution-log-iteration-chip:focus-visible {
5520
+ outline: 2px solid var(--w6w-accent);
5521
+ outline-offset: 2px;
5503
5522
  }
5504
5523
 
5505
5524
  .w6w-execution-log-iteration-chip-succeeded {