@tai42/studio-sdk 22.0.0 → 22.0.2

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.
@@ -1 +1 @@
1
- {"version":3,"file":"modal-focus.d.ts","sourceRoot":"","sources":["../../src/components/modal-focus.ts"],"names":[],"mappings":"AA6CA,MAAM,WAAW,wBAAwB;IACvC,qFAAqF;IACrF,QAAQ,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjD,wEAAwE;IACxE,QAAQ,CAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACnD;AA8CD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,OAAO,GAAG,wBAAwB,CA8CjF"}
1
+ {"version":3,"file":"modal-focus.d.ts","sourceRoot":"","sources":["../../src/components/modal-focus.ts"],"names":[],"mappings":"AAmDA,MAAM,WAAW,wBAAwB;IACvC,qFAAqF;IACrF,QAAQ,CAAC,eAAe,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;IACjD,wEAAwE;IACxE,QAAQ,CAAC,gBAAgB,EAAE,CAAC,KAAK,EAAE,KAAK,KAAK,IAAI,CAAC;CACnD;AA8CD;;;;;;GAMG;AACH,wBAAgB,mBAAmB,CAAC,UAAU,EAAE,OAAO,GAAG,wBAAwB,CAqDjF"}
@@ -37,6 +37,12 @@
37
37
  * that is itself removed first takes the listener with it. Removing it any
38
38
  * earlier would strip the attribute out from under the focus it exists to hold.
39
39
  *
40
+ * A modal opened while nothing held focus — `<body>` or the document element
41
+ * active, as when a page opens it from code — has no opener and no place in the
42
+ * page to return to. Nothing is recorded, and on close the handler only cancels
43
+ * Radix's default: focus stays wherever the close left it, including wherever
44
+ * the page itself moved it.
45
+ *
40
46
  * When a Trigger IS rendered both handlers stand down and prevent nothing, so
41
47
  * Radix's own restore runs untouched — there is never a second mechanism
42
48
  * competing with the primitive.
@@ -98,9 +104,15 @@ export function useModalFocusReturn(hasTrigger) {
98
104
  return;
99
105
  // The focus scope dispatches this BEFORE it focuses the panel, so the
100
106
  // active element is still whatever the reader activated to open the modal,
101
- // and its ancestors are still attached to record.
107
+ // and its ancestors are still attached to record. `<body>` and the
108
+ // document element are where focus sits when nothing holds it, so they
109
+ // are no opener.
102
110
  const active = document.activeElement;
103
- const opener = active instanceof HTMLElement ? active : null;
111
+ const opener = active instanceof HTMLElement &&
112
+ active !== document.body &&
113
+ active !== document.documentElement
114
+ ? active
115
+ : null;
104
116
  openerRef.current = opener;
105
117
  openedUnderRef.current = opener === null ? [] : ancestorChain(opener);
106
118
  },
@@ -1 +1 @@
1
- {"version":3,"file":"modal-focus.js","sourceRoot":"","sources":["../../src/components/modal-focus.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA0CG;AACH,OAAO,EAAE,MAAM,EAAE,MAAM,OAAO,CAAC;AAS/B;;;;GAIG;AACH,SAAS,aAAa,CAAC,OAAoB;IACzC,MAAM,KAAK,GAAkB,EAAE,CAAC;IAChC,MAAM,EAAE,IAAI,EAAE,GAAG,OAAO,CAAC,aAAa,CAAC;IACvC,KACE,IAAI,IAAI,GAAG,OAAO,CAAC,aAAa,EAChC,IAAI,KAAK,IAAI,IAAI,IAAI,KAAK,IAAI,EAC9B,IAAI,GAAG,IAAI,CAAC,aAAa,EACzB,CAAC;QACD,KAAK,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IACnB,CAAC;IACD,OAAO,KAAK,CAAC;AACf,CAAC;AAED;;;;;GAKG;AACH,SAAS,eAAe,CAAC,OAAoB;IAC3C,MAAM,QAAQ,GAAG,CAAC,OAAO,CAAC,YAAY,CAAC,UAAU,CAAC,CAAC;IACnD,IAAI,QAAQ;QAAE,OAAO,CAAC,YAAY,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC;IACrD,OAAO,CAAC,KAAK,EAAE,CA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C,MAAM;gBACR,CAAC,CAAC,IAAI,CAAC;YACX,SAAS,CAAC,OAAO,GAAG,MAAM,CAAC;YAC3B,cAAc,CAAC,OAAO,GAAG,MAAM,KAAK,IAAI,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC;QACxE,CAAC;QACD,gBAAgB,EAAE,CAAC,KAAY,EAAQ,EAAE;YACvC,IAAI,UAAU;gBAAE,OAAO;YACvB,MAAM,MAAM,GAAG,SAAS,CAAC,OAAO,CAAC;YACjC,MAAM,WAAW,GAAG,cAAc,CAAC,OAAO,CAAC;YAC3C,SAAS,CAAC,OAAO,GAAG,IAAI,CAAC;YACzB,cAAc,CAAC,OAAO,GAAG,EAAE,CAAC;YAE5B,kEAAkE;YAClE,sEAAsE;YACtE,qEAAqE;YACrE,wEAAwE;YACxE,iDAAiD;YACjD,KAAK,CAAC,cAAc,EAAE,CAAC;YACvB,IAAI,MAAM,KAAK,IAAI;gBAAE,OAAO;YAE5B,MAAM,CAAC,KAAK,EAAE,CAAC;YACf,IAAI,MAAM,CAAC,aAAa,CAAC,aAAa,KAAK,MAAM;gBAAE,OAAO;YAE1D,0EAA0E;YAC1E,0EAA0E;YAC1E,yEAAyE;YACzE,MAAM,KAAK,GAAG,MAAM,CAAC,WAAW,CAAC,CAAC,CAAC,aAAa,CAAC,MAAM,CAAC,CAAC,CAAC,CAAC,WAAW,CAAC;YACvE,KAAK,MAAM,QAAQ,IAAI,KAAK,EAAE,CAAC;gBAC7B,IAAI,QAAQ,CAAC,WAAW,IAAI,eAAe,CAAC,QAAQ,CAAC;oBAAE,OAAO;YAChE,CAAC;QACH,CAAC;KACF,CAAC;AACJ,CAAC"}
@@ -553,7 +553,7 @@ export declare const ApiProvider: import("react").Provider<{
553
553
  detail: string | null;
554
554
  error: string | null;
555
555
  name: string;
556
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
556
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
557
557
  payload: unknown;
558
558
  }[];
559
559
  mode: "fleet";
@@ -566,7 +566,7 @@ export declare const ApiProvider: import("react").Provider<{
566
566
  detail: string | null;
567
567
  error: string | null;
568
568
  name: string;
569
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
569
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
570
570
  payload: unknown;
571
571
  }[];
572
572
  mode: "unreachable";
@@ -1402,6 +1402,7 @@ export declare const ApiProvider: import("react").Provider<{
1402
1402
  text: string;
1403
1403
  })[] | null;
1404
1404
  pages: {
1405
+ button_label: string | null;
1405
1406
  display: {
1406
1407
  alt: string | null;
1407
1408
  kind: "heading" | "body" | "image";
@@ -1428,6 +1429,79 @@ export declare const ApiProvider: import("react").Provider<{
1428
1429
  name: string;
1429
1430
  parameters: Record<string, unknown> | null;
1430
1431
  } | null;
1432
+ wording: {
1433
+ answer: {
1434
+ confirm: string | null;
1435
+ decline: string | null;
1436
+ open: string | null;
1437
+ rejected: string | null;
1438
+ rejected_final: string | null;
1439
+ reply_hint: string | null;
1440
+ submit: string | null;
1441
+ } | null;
1442
+ answer_page: {
1443
+ awaiting: {
1444
+ heading: string | null;
1445
+ text: string | null;
1446
+ } | null;
1447
+ confirm: {
1448
+ heading: string | null;
1449
+ text: string | null;
1450
+ } | null;
1451
+ done: {
1452
+ heading: string | null;
1453
+ text: string | null;
1454
+ } | null;
1455
+ form: {
1456
+ choose_one: string | null;
1457
+ date_unavailable: string | null;
1458
+ failed: string | null;
1459
+ network_error: string | null;
1460
+ update_failed: string | null;
1461
+ } | null;
1462
+ submitted: {
1463
+ heading: string | null;
1464
+ text: string | null;
1465
+ } | null;
1466
+ } | null;
1467
+ choice: {
1468
+ group_label: string | null;
1469
+ label: string | null;
1470
+ reply_hint: string | null;
1471
+ } | null;
1472
+ form: {
1473
+ back: string | null;
1474
+ cancel: string | null;
1475
+ fields: Record<string, {
1476
+ choice_label: string | null;
1477
+ }>;
1478
+ open: string | null;
1479
+ review_empty: string | null;
1480
+ submit: string | null;
1481
+ title: string | null;
1482
+ } | null;
1483
+ lines: {
1484
+ answer_link: string | null;
1485
+ deadline: string | null;
1486
+ options: string | null;
1487
+ reply: string | null;
1488
+ } | null;
1489
+ status: {
1490
+ answered: string | null;
1491
+ closed: string | null;
1492
+ countdown: {
1493
+ one_second_left: string | null;
1494
+ seconds_left: string | null;
1495
+ under_half_minute: string | null;
1496
+ under_minute: string | null;
1497
+ under_ten_seconds: string | null;
1498
+ } | null;
1499
+ expired: string | null;
1500
+ sending: string | null;
1501
+ sent: string | null;
1502
+ unavailable: string | null;
1503
+ } | null;
1504
+ } | null;
1431
1505
  }[] | null;
1432
1506
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
1433
1507
  attempts: number | null;
@@ -1523,6 +1597,7 @@ export declare const ApiProvider: import("react").Provider<{
1523
1597
  text: string;
1524
1598
  })[] | null;
1525
1599
  pages: {
1600
+ button_label: string | null;
1526
1601
  display: {
1527
1602
  alt: string | null;
1528
1603
  kind: "heading" | "body" | "image";
@@ -1549,6 +1624,79 @@ export declare const ApiProvider: import("react").Provider<{
1549
1624
  name: string;
1550
1625
  parameters: Record<string, unknown> | null;
1551
1626
  } | null;
1627
+ wording: {
1628
+ answer: {
1629
+ confirm: string | null;
1630
+ decline: string | null;
1631
+ open: string | null;
1632
+ rejected: string | null;
1633
+ rejected_final: string | null;
1634
+ reply_hint: string | null;
1635
+ submit: string | null;
1636
+ } | null;
1637
+ answer_page: {
1638
+ awaiting: {
1639
+ heading: string | null;
1640
+ text: string | null;
1641
+ } | null;
1642
+ confirm: {
1643
+ heading: string | null;
1644
+ text: string | null;
1645
+ } | null;
1646
+ done: {
1647
+ heading: string | null;
1648
+ text: string | null;
1649
+ } | null;
1650
+ form: {
1651
+ choose_one: string | null;
1652
+ date_unavailable: string | null;
1653
+ failed: string | null;
1654
+ network_error: string | null;
1655
+ update_failed: string | null;
1656
+ } | null;
1657
+ submitted: {
1658
+ heading: string | null;
1659
+ text: string | null;
1660
+ } | null;
1661
+ } | null;
1662
+ choice: {
1663
+ group_label: string | null;
1664
+ label: string | null;
1665
+ reply_hint: string | null;
1666
+ } | null;
1667
+ form: {
1668
+ back: string | null;
1669
+ cancel: string | null;
1670
+ fields: Record<string, {
1671
+ choice_label: string | null;
1672
+ }>;
1673
+ open: string | null;
1674
+ review_empty: string | null;
1675
+ submit: string | null;
1676
+ title: string | null;
1677
+ } | null;
1678
+ lines: {
1679
+ answer_link: string | null;
1680
+ deadline: string | null;
1681
+ options: string | null;
1682
+ reply: string | null;
1683
+ } | null;
1684
+ status: {
1685
+ answered: string | null;
1686
+ closed: string | null;
1687
+ countdown: {
1688
+ one_second_left: string | null;
1689
+ seconds_left: string | null;
1690
+ under_half_minute: string | null;
1691
+ under_minute: string | null;
1692
+ under_ten_seconds: string | null;
1693
+ } | null;
1694
+ expired: string | null;
1695
+ sending: string | null;
1696
+ sent: string | null;
1697
+ unavailable: string | null;
1698
+ } | null;
1699
+ } | null;
1552
1700
  }[] | null;
1553
1701
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
1554
1702
  attempts: number | null;
@@ -1815,6 +1963,7 @@ export declare const ApiProvider: import("react").Provider<{
1815
1963
  text: string;
1816
1964
  })[] | null;
1817
1965
  pages: {
1966
+ button_label: string | null;
1818
1967
  display: {
1819
1968
  alt: string | null;
1820
1969
  kind: "heading" | "body" | "image";
@@ -1841,6 +1990,79 @@ export declare const ApiProvider: import("react").Provider<{
1841
1990
  name: string;
1842
1991
  parameters: Record<string, unknown> | null;
1843
1992
  } | null;
1993
+ wording: {
1994
+ answer: {
1995
+ confirm: string | null;
1996
+ decline: string | null;
1997
+ open: string | null;
1998
+ rejected: string | null;
1999
+ rejected_final: string | null;
2000
+ reply_hint: string | null;
2001
+ submit: string | null;
2002
+ } | null;
2003
+ answer_page: {
2004
+ awaiting: {
2005
+ heading: string | null;
2006
+ text: string | null;
2007
+ } | null;
2008
+ confirm: {
2009
+ heading: string | null;
2010
+ text: string | null;
2011
+ } | null;
2012
+ done: {
2013
+ heading: string | null;
2014
+ text: string | null;
2015
+ } | null;
2016
+ form: {
2017
+ choose_one: string | null;
2018
+ date_unavailable: string | null;
2019
+ failed: string | null;
2020
+ network_error: string | null;
2021
+ update_failed: string | null;
2022
+ } | null;
2023
+ submitted: {
2024
+ heading: string | null;
2025
+ text: string | null;
2026
+ } | null;
2027
+ } | null;
2028
+ choice: {
2029
+ group_label: string | null;
2030
+ label: string | null;
2031
+ reply_hint: string | null;
2032
+ } | null;
2033
+ form: {
2034
+ back: string | null;
2035
+ cancel: string | null;
2036
+ fields: Record<string, {
2037
+ choice_label: string | null;
2038
+ }>;
2039
+ open: string | null;
2040
+ review_empty: string | null;
2041
+ submit: string | null;
2042
+ title: string | null;
2043
+ } | null;
2044
+ lines: {
2045
+ answer_link: string | null;
2046
+ deadline: string | null;
2047
+ options: string | null;
2048
+ reply: string | null;
2049
+ } | null;
2050
+ status: {
2051
+ answered: string | null;
2052
+ closed: string | null;
2053
+ countdown: {
2054
+ one_second_left: string | null;
2055
+ seconds_left: string | null;
2056
+ under_half_minute: string | null;
2057
+ under_minute: string | null;
2058
+ under_ten_seconds: string | null;
2059
+ } | null;
2060
+ expired: string | null;
2061
+ sending: string | null;
2062
+ sent: string | null;
2063
+ unavailable: string | null;
2064
+ } | null;
2065
+ } | null;
1844
2066
  }[] | null;
1845
2067
  answer_status: "error" | "superseded" | "answered" | "silent" | "merged" | null;
1846
2068
  attempts: number | null;
@@ -2011,7 +2233,7 @@ export declare const ApiProvider: import("react").Provider<{
2011
2233
  detail: string | null;
2012
2234
  error: string | null;
2013
2235
  name: string;
2014
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2236
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2015
2237
  payload: unknown;
2016
2238
  }[];
2017
2239
  mode: "fleet";
@@ -2024,7 +2246,7 @@ export declare const ApiProvider: import("react").Provider<{
2024
2246
  detail: string | null;
2025
2247
  error: string | null;
2026
2248
  name: string;
2027
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2249
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2028
2250
  payload: unknown;
2029
2251
  }[];
2030
2252
  mode: "unreachable";
@@ -2045,7 +2267,7 @@ export declare const ApiProvider: import("react").Provider<{
2045
2267
  detail: string | null;
2046
2268
  error: string | null;
2047
2269
  name: string;
2048
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2270
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2049
2271
  payload: unknown;
2050
2272
  }[];
2051
2273
  mode: "fleet";
@@ -2058,7 +2280,7 @@ export declare const ApiProvider: import("react").Provider<{
2058
2280
  detail: string | null;
2059
2281
  error: string | null;
2060
2282
  name: string;
2061
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2283
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2062
2284
  payload: unknown;
2063
2285
  }[];
2064
2286
  mode: "unreachable";
@@ -2101,7 +2323,7 @@ export declare const ApiProvider: import("react").Provider<{
2101
2323
  detail: string | null;
2102
2324
  error: string | null;
2103
2325
  name: string;
2104
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2326
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2105
2327
  payload: unknown;
2106
2328
  }[];
2107
2329
  mode: "fleet";
@@ -2114,7 +2336,7 @@ export declare const ApiProvider: import("react").Provider<{
2114
2336
  detail: string | null;
2115
2337
  error: string | null;
2116
2338
  name: string;
2117
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2339
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2118
2340
  payload: unknown;
2119
2341
  }[];
2120
2342
  mode: "unreachable";
@@ -2199,7 +2421,7 @@ export declare const ApiProvider: import("react").Provider<{
2199
2421
  detail: string | null;
2200
2422
  error: string | null;
2201
2423
  name: string;
2202
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2424
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2203
2425
  payload: unknown;
2204
2426
  }[];
2205
2427
  mode: "fleet";
@@ -2212,7 +2434,7 @@ export declare const ApiProvider: import("react").Provider<{
2212
2434
  detail: string | null;
2213
2435
  error: string | null;
2214
2436
  name: string;
2215
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2437
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2216
2438
  payload: unknown;
2217
2439
  }[];
2218
2440
  mode: "unreachable";
@@ -2221,7 +2443,7 @@ export declare const ApiProvider: import("react").Provider<{
2221
2443
  readonly disconnect: (id: string) => Promise<{
2222
2444
  connection_id: string;
2223
2445
  removed_manifest_entries: string[];
2224
- upstream_revoke_outcome: "success" | "skipped" | "failed";
2446
+ upstream_revoke_outcome: "success" | "failed" | "skipped";
2225
2447
  upstream_revoke_status: number | null;
2226
2448
  fanout: {
2227
2449
  mode: "local-only";
@@ -2235,7 +2457,7 @@ export declare const ApiProvider: import("react").Provider<{
2235
2457
  detail: string | null;
2236
2458
  error: string | null;
2237
2459
  name: string;
2238
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2460
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2239
2461
  payload: unknown;
2240
2462
  }[];
2241
2463
  mode: "fleet";
@@ -2248,7 +2470,7 @@ export declare const ApiProvider: import("react").Provider<{
2248
2470
  detail: string | null;
2249
2471
  error: string | null;
2250
2472
  name: string;
2251
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2473
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2252
2474
  payload: unknown;
2253
2475
  }[];
2254
2476
  mode: "unreachable";
@@ -2278,7 +2500,7 @@ export declare const ApiProvider: import("react").Provider<{
2278
2500
  detail: string | null;
2279
2501
  error: string | null;
2280
2502
  name: string;
2281
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2503
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2282
2504
  payload: unknown;
2283
2505
  }[];
2284
2506
  mode: "fleet";
@@ -2291,7 +2513,7 @@ export declare const ApiProvider: import("react").Provider<{
2291
2513
  detail: string | null;
2292
2514
  error: string | null;
2293
2515
  name: string;
2294
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2516
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2295
2517
  payload: unknown;
2296
2518
  }[];
2297
2519
  mode: "unreachable";
@@ -2321,7 +2543,7 @@ export declare const ApiProvider: import("react").Provider<{
2321
2543
  detail: string | null;
2322
2544
  error: string | null;
2323
2545
  name: string;
2324
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2546
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2325
2547
  payload: unknown;
2326
2548
  }[];
2327
2549
  mode: "fleet";
@@ -2334,7 +2556,7 @@ export declare const ApiProvider: import("react").Provider<{
2334
2556
  detail: string | null;
2335
2557
  error: string | null;
2336
2558
  name: string;
2337
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2559
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2338
2560
  payload: unknown;
2339
2561
  }[];
2340
2562
  mode: "unreachable";
@@ -2378,7 +2600,7 @@ export declare const ApiProvider: import("react").Provider<{
2378
2600
  detail: string | null;
2379
2601
  error: string | null;
2380
2602
  name: string;
2381
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2603
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2382
2604
  payload: unknown;
2383
2605
  }[];
2384
2606
  mode: "fleet";
@@ -2391,7 +2613,7 @@ export declare const ApiProvider: import("react").Provider<{
2391
2613
  detail: string | null;
2392
2614
  error: string | null;
2393
2615
  name: string;
2394
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2616
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2395
2617
  payload: unknown;
2396
2618
  }[];
2397
2619
  mode: "unreachable";
@@ -2477,7 +2699,7 @@ export declare const ApiProvider: import("react").Provider<{
2477
2699
  detail: string | null;
2478
2700
  error: string | null;
2479
2701
  name: string;
2480
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2702
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2481
2703
  payload: unknown;
2482
2704
  }[];
2483
2705
  mode: "fleet";
@@ -2490,7 +2712,7 @@ export declare const ApiProvider: import("react").Provider<{
2490
2712
  detail: string | null;
2491
2713
  error: string | null;
2492
2714
  name: string;
2493
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2715
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2494
2716
  payload: unknown;
2495
2717
  }[];
2496
2718
  mode: "unreachable";
@@ -2562,7 +2784,7 @@ export declare const ApiProvider: import("react").Provider<{
2562
2784
  detail: string | null;
2563
2785
  error: string | null;
2564
2786
  name: string;
2565
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2787
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2566
2788
  payload: unknown;
2567
2789
  }[];
2568
2790
  mode: "fleet";
@@ -2575,7 +2797,7 @@ export declare const ApiProvider: import("react").Provider<{
2575
2797
  detail: string | null;
2576
2798
  error: string | null;
2577
2799
  name: string;
2578
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2800
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2579
2801
  payload: unknown;
2580
2802
  }[];
2581
2803
  mode: "unreachable";
@@ -2595,7 +2817,7 @@ export declare const ApiProvider: import("react").Provider<{
2595
2817
  detail: string | null;
2596
2818
  error: string | null;
2597
2819
  name: string;
2598
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2820
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2599
2821
  payload: unknown;
2600
2822
  }[];
2601
2823
  }>;
@@ -2663,7 +2885,7 @@ export declare const ApiProvider: import("react").Provider<{
2663
2885
  detail: string | null;
2664
2886
  error: string | null;
2665
2887
  name: string;
2666
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2888
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2667
2889
  payload: unknown;
2668
2890
  }[];
2669
2891
  mode: "fleet";
@@ -2676,7 +2898,7 @@ export declare const ApiProvider: import("react").Provider<{
2676
2898
  detail: string | null;
2677
2899
  error: string | null;
2678
2900
  name: string;
2679
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2901
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2680
2902
  payload: unknown;
2681
2903
  }[];
2682
2904
  mode: "unreachable";
@@ -2708,7 +2930,7 @@ export declare const ApiProvider: import("react").Provider<{
2708
2930
  detail: string | null;
2709
2931
  error: string | null;
2710
2932
  name: string;
2711
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2933
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2712
2934
  payload: unknown;
2713
2935
  }[];
2714
2936
  }>;
@@ -2750,7 +2972,7 @@ export declare const ApiProvider: import("react").Provider<{
2750
2972
  detail: string | null;
2751
2973
  error: string | null;
2752
2974
  name: string;
2753
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2975
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2754
2976
  payload: unknown;
2755
2977
  }[];
2756
2978
  mode: "fleet";
@@ -2763,7 +2985,7 @@ export declare const ApiProvider: import("react").Provider<{
2763
2985
  detail: string | null;
2764
2986
  error: string | null;
2765
2987
  name: string;
2766
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2988
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2767
2989
  payload: unknown;
2768
2990
  }[];
2769
2991
  mode: "unreachable";
@@ -2807,7 +3029,7 @@ export declare const ApiProvider: import("react").Provider<{
2807
3029
  detail: string | null;
2808
3030
  error: string | null;
2809
3031
  name: string;
2810
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3032
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2811
3033
  payload: unknown;
2812
3034
  }[];
2813
3035
  mode: "fleet";
@@ -2820,7 +3042,7 @@ export declare const ApiProvider: import("react").Provider<{
2820
3042
  detail: string | null;
2821
3043
  error: string | null;
2822
3044
  name: string;
2823
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3045
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2824
3046
  payload: unknown;
2825
3047
  }[];
2826
3048
  mode: "unreachable";
@@ -2864,7 +3086,7 @@ export declare const ApiProvider: import("react").Provider<{
2864
3086
  detail: string | null;
2865
3087
  error: string | null;
2866
3088
  name: string;
2867
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3089
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2868
3090
  payload: unknown;
2869
3091
  }[];
2870
3092
  mode: "fleet";
@@ -2877,7 +3099,7 @@ export declare const ApiProvider: import("react").Provider<{
2877
3099
  detail: string | null;
2878
3100
  error: string | null;
2879
3101
  name: string;
2880
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3102
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2881
3103
  payload: unknown;
2882
3104
  }[];
2883
3105
  mode: "unreachable";
@@ -2921,7 +3143,7 @@ export declare const ApiProvider: import("react").Provider<{
2921
3143
  detail: string | null;
2922
3144
  error: string | null;
2923
3145
  name: string;
2924
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3146
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2925
3147
  payload: unknown;
2926
3148
  }[];
2927
3149
  mode: "fleet";
@@ -2934,7 +3156,7 @@ export declare const ApiProvider: import("react").Provider<{
2934
3156
  detail: string | null;
2935
3157
  error: string | null;
2936
3158
  name: string;
2937
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3159
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2938
3160
  payload: unknown;
2939
3161
  }[];
2940
3162
  mode: "unreachable";
@@ -2978,7 +3200,7 @@ export declare const ApiProvider: import("react").Provider<{
2978
3200
  detail: string | null;
2979
3201
  error: string | null;
2980
3202
  name: string;
2981
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3203
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2982
3204
  payload: unknown;
2983
3205
  }[];
2984
3206
  mode: "fleet";
@@ -2991,7 +3213,7 @@ export declare const ApiProvider: import("react").Provider<{
2991
3213
  detail: string | null;
2992
3214
  error: string | null;
2993
3215
  name: string;
2994
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3216
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
2995
3217
  payload: unknown;
2996
3218
  }[];
2997
3219
  mode: "unreachable";
@@ -3007,7 +3229,7 @@ export declare const ApiProvider: import("react").Provider<{
3007
3229
  detail: string | null;
3008
3230
  error: string | null;
3009
3231
  name: string;
3010
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3232
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3011
3233
  payload: unknown;
3012
3234
  }[];
3013
3235
  }>;
@@ -3021,7 +3243,7 @@ export declare const ApiProvider: import("react").Provider<{
3021
3243
  detail: string | null;
3022
3244
  error: string | null;
3023
3245
  name: string;
3024
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3246
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3025
3247
  payload: unknown;
3026
3248
  }[];
3027
3249
  }>;
@@ -3035,7 +3257,7 @@ export declare const ApiProvider: import("react").Provider<{
3035
3257
  detail: string | null;
3036
3258
  error: string | null;
3037
3259
  name: string;
3038
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3260
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3039
3261
  payload: unknown;
3040
3262
  }[];
3041
3263
  }>;
@@ -3176,7 +3398,7 @@ export declare const ApiProvider: import("react").Provider<{
3176
3398
  detail: string | null;
3177
3399
  error: string | null;
3178
3400
  name: string;
3179
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3401
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3180
3402
  payload: unknown;
3181
3403
  }[];
3182
3404
  mode: "fleet";
@@ -3189,7 +3411,7 @@ export declare const ApiProvider: import("react").Provider<{
3189
3411
  detail: string | null;
3190
3412
  error: string | null;
3191
3413
  name: string;
3192
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3414
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3193
3415
  payload: unknown;
3194
3416
  }[];
3195
3417
  mode: "unreachable";
@@ -3227,7 +3449,7 @@ export declare const ApiProvider: import("react").Provider<{
3227
3449
  detail: string | null;
3228
3450
  error: string | null;
3229
3451
  name: string;
3230
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3452
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
3231
3453
  payload: unknown;
3232
3454
  }[];
3233
3455
  }>;
@@ -3841,7 +4063,7 @@ export declare const ApiProvider: import("react").Provider<{
3841
4063
  readonly retryPendingSave: (id: string) => Promise<{
3842
4064
  id: string;
3843
4065
  last_error: string | null;
3844
- status: "running" | "applied" | "failed" | "calls" | "pending";
4066
+ status: "running" | "failed" | "applied" | "calls" | "pending";
3845
4067
  }>;
3846
4068
  readonly discardPendingSave: (id: string) => Promise<{
3847
4069
  discarded: string;
@@ -4227,7 +4449,7 @@ export declare const ApiProvider: import("react").Provider<{
4227
4449
  detail: string | null;
4228
4450
  error: string | null;
4229
4451
  name: string;
4230
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
4452
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
4231
4453
  payload: unknown;
4232
4454
  }[];
4233
4455
  }>;
@@ -4241,7 +4463,7 @@ export declare const ApiProvider: import("react").Provider<{
4241
4463
  detail: string | null;
4242
4464
  error: string | null;
4243
4465
  name: string;
4244
- outcome: "applied" | "failed" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
4466
+ outcome: "failed" | "applied" | "missing" | "departed" | "timed_out" | "resyncing" | "recycling" | "stale";
4245
4467
  payload: unknown;
4246
4468
  }[];
4247
4469
  }>;
@@ -1 +1 @@
1
- {"version":3,"file":"useApi.d.ts","sourceRoot":"","sources":["../../src/hooks/useApi.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,mBAAmB,CAAC;AAKnD,eAAO,MAAM,WAAW;wCAW0gB,CAAC,0BAA0B,CAAC;+BAAsG,CAAC;oCAAuE,CAAC;;;;;;sCAAsM,CAAC,4DAA+D,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;mBAAqvB,CAAC;;;;;;2EAAsM,CAAC;;;;;;;;;;;;;;;;;;;;;;;;;;;sBAAq1B,CAAC;;;;;;;;4BAA+T,CAAC;;;;;;;;;;;;cAA2U,CAAC;gBAAiE,CAAC;eAA4C,CAAC;;+CAAq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SAAS,CAMlC;AAED,YAAY,EAAE,SAAS,EAAE,CAAC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tai42/studio-sdk",
3
- "version": "22.0.0",
3
+ "version": "22.0.2",
4
4
  "description": "The Studio plugin contract, shared UI components, and hooks that every feature builds on.",
5
5
  "license": "Apache-2.0",
6
6
  "author": "tai42 <oss@tai42.ai>",
@@ -81,22 +81,22 @@
81
81
  "@types/react": "^19.3.0",
82
82
  "@types/react-dom": "^19.3.0",
83
83
  "@vitejs/plugin-react": "^4.7.0",
84
- "@vitest/coverage-v8": "^5.0.0",
84
+ "@vitest/coverage-v8": "^5.0.4",
85
85
  "jsdom": "^30.0.1",
86
86
  "react": "^19.3.0",
87
87
  "react-dom": "^19.3.0",
88
- "vitest": "^5.0.0"
88
+ "vitest": "^5.0.4"
89
89
  },
90
90
  "dependencies": {
91
91
  "@fontsource-variable/geist-mono": "^5.2.7",
92
92
  "@fontsource-variable/inter": "^5.2.8",
93
- "@radix-ui/react-checkbox": "^1.3.11",
94
- "@radix-ui/react-dialog": "^1.1.18",
95
- "@radix-ui/react-radio-group": "^1.4.2",
96
- "@radix-ui/react-select": "^2.3.2",
97
- "@radix-ui/react-tabs": "^1.1.21",
98
- "@radix-ui/react-tooltip": "^1.2.16",
99
- "@tai42/api-client": "22.0.0"
93
+ "@radix-ui/react-checkbox": "^1.3.12",
94
+ "@radix-ui/react-dialog": "^1.2.0",
95
+ "@radix-ui/react-radio-group": "^1.4.8",
96
+ "@radix-ui/react-select": "^2.3.8",
97
+ "@radix-ui/react-tabs": "^1.1.22",
98
+ "@radix-ui/react-tooltip": "^1.3.0",
99
+ "@tai42/api-client": "22.0.2"
100
100
  },
101
101
  "scripts": {
102
102
  "build": "tsc -b tsconfig.build.json && node scripts/copy-assets.mjs",
@@ -37,6 +37,12 @@
37
37
  * that is itself removed first takes the listener with it. Removing it any
38
38
  * earlier would strip the attribute out from under the focus it exists to hold.
39
39
  *
40
+ * A modal opened while nothing held focus — `<body>` or the document element
41
+ * active, as when a page opens it from code — has no opener and no place in the
42
+ * page to return to. Nothing is recorded, and on close the handler only cancels
43
+ * Radix's default: focus stays wherever the close left it, including wherever
44
+ * the page itself moved it.
45
+ *
40
46
  * When a Trigger IS rendered both handlers stand down and prevent nothing, so
41
47
  * Radix's own restore runs untouched — there is never a second mechanism
42
48
  * competing with the primitive.
@@ -114,9 +120,16 @@ export function useModalFocusReturn(hasTrigger: boolean): ModalFocusReturnHandle
114
120
  if (hasTrigger) return;
115
121
  // The focus scope dispatches this BEFORE it focuses the panel, so the
116
122
  // active element is still whatever the reader activated to open the modal,
117
- // and its ancestors are still attached to record.
123
+ // and its ancestors are still attached to record. `<body>` and the
124
+ // document element are where focus sits when nothing holds it, so they
125
+ // are no opener.
118
126
  const active = document.activeElement;
119
- const opener = active instanceof HTMLElement ? active : null;
127
+ const opener =
128
+ active instanceof HTMLElement &&
129
+ active !== document.body &&
130
+ active !== document.documentElement
131
+ ? active
132
+ : null;
120
133
  openerRef.current = opener;
121
134
  openedUnderRef.current = opener === null ? [] : ancestorChain(opener);
122
135
  },