react-semaphor 0.1.567 → 0.1.569

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.
Files changed (128) hide show
  1. package/README.md +0 -7
  2. package/dist/analytics-protocol/index.js +434 -454
  3. package/dist/assistant-context/index.js +1 -1
  4. package/dist/brand-studio/index.js +10 -12
  5. package/dist/briefings/index.js +4 -4
  6. package/dist/chunks/{_commonjsHelpers-DimLPMtv.js → _commonjsHelpers-Bid1ZNYj.js} +271 -222
  7. package/dist/chunks/{assistant-chat-D-IuHHwh.js → assistant-chat-Dzf2Mbph.js} +107 -109
  8. package/dist/chunks/{bookmark-impact-B0estCHn.js → bookmark-impact-Czg6FGt5.js} +2 -2
  9. package/dist/chunks/{bookmark-state-Du3s13_V.js → bookmark-state-CflS88gq.js} +251 -250
  10. package/dist/chunks/{card-filter-builder-DbSmzvem.js → card-filter-builder-BS982X7x.js} +1001 -1000
  11. package/dist/chunks/{code-editor-DJNOsgJH.js → code-editor-BsxHzm9u.js} +43 -45
  12. package/dist/chunks/{comparison-window-caption-CMLb3mut.js → comparison-window-caption-lLTgzOkM.js} +252 -253
  13. package/dist/chunks/{dashboard-f8J9DHh5.js → dashboard-BiYSbxZv.js} +1 -1
  14. package/dist/chunks/{dashboard-briefing-launcher-DunvZYsU.js → dashboard-briefing-launcher-Bdj7luOr.js} +119 -120
  15. package/dist/chunks/{dashboard-controls-B09cN2Dz.js → dashboard-controls-TViDsnb8.js} +17 -19
  16. package/dist/chunks/dashboard-json-Dg9dQd9U.js +66 -0
  17. package/dist/chunks/{dates-BsJcyoC_.js → dates-BsPrWZIP.js} +8 -8
  18. package/dist/chunks/{edit-dashboard-visual-Cwzbpty8.js → edit-dashboard-visual-C6hoIeEJ.js} +20 -21
  19. package/dist/chunks/{filter-reach-copy-P-kDwUpY.js → filter-reach-copy-hcQ4os0u.js} +862 -852
  20. package/dist/chunks/filter-value-text-CVxEEDVl.js +146 -0
  21. package/dist/chunks/{index-BcXw0CpM.js → index-G4q89J6O.js} +74 -76
  22. package/dist/chunks/{layout-grid-0hIlqEtk.js → layout-grid-BIcoFfdS.js} +1 -1
  23. package/dist/chunks/{list-filter-DkgoCeBm.js → list-filter-C6tYkHyv.js} +1 -1
  24. package/dist/chunks/matrix-analytical-definition-dkS8szLM.js +1253 -0
  25. package/dist/chunks/matrix-member-presentation-DRa-9e6Q.js +169 -0
  26. package/dist/chunks/{matrix-operation-contract-Eb6elidS.js → matrix-operation-contract-DCVinw1o.js} +122 -122
  27. package/dist/chunks/{metric-comparison-ChXUFaZu.js → metric-comparison-n9NsIa-2.js} +175 -128
  28. package/dist/chunks/{palette-4vf2BEEg.js → palette-NjHOE_6B.js} +1 -1
  29. package/dist/chunks/pivot-result-contract-expectations-DkmueDTW.js +55 -0
  30. package/dist/chunks/{pivot-result-identity-BlbLrqaC.js → pivot-result-identity-B89X5xjb.js} +1 -1
  31. package/dist/chunks/raw-temporal-value-DdT0s47W.js +159 -0
  32. package/dist/chunks/{report-preferences-dialog-CbgmdWeZ.js → report-preferences-dialog-Xc8_GFju.js} +26 -28
  33. package/dist/chunks/{report-runtime-context-DnA_PiKo.js → report-runtime-context-BhPzLTbS.js} +1 -1
  34. package/dist/chunks/{resolve-dashboard-input-context-DPKSF3qj.js → resolve-dashboard-input-context-KqvcLcTM.js} +5956 -5880
  35. package/dist/chunks/{save-D6pHmSSP.js → save-C6VmEJTA.js} +1 -1
  36. package/dist/chunks/{saved-dashboard-context-CNudmm9U.js → saved-dashboard-context-BeXXyoD4.js} +6 -6
  37. package/dist/chunks/{semaphor-ready-indicator-CQd-PCCZ.js → semaphor-ready-indicator-BNkaANsG.js} +31011 -30850
  38. package/dist/chunks/{shelf-drop-preview-context-CWS3e20y.js → shelf-drop-preview-context-C_issPBA.js} +18 -20
  39. package/dist/chunks/{stored-dashboard-CrQFT27O.js → stored-dashboard-B6_StAty.js} +232 -234
  40. package/dist/chunks/{table-export-sheet--DUKWk6o.js → table-export-sheet-BWP2joD1.js} +1 -1
  41. package/dist/chunks/{temporal-input-presentation--2r9BLr0.js → temporal-input-presentation-scSWQXAB.js} +4 -4
  42. package/dist/chunks/{token-types-C8JymO8s.js → token-types-iKMplaBL.js} +1 -1
  43. package/dist/chunks/{upload-Cf3wXZT8.js → upload-BRW4Mwrd.js} +1 -1
  44. package/dist/chunks/validators-B8fpdinG.js +3651 -0
  45. package/dist/chunks/{variable-draft-BDxlD0dM.js → variable-draft-BQ3OMjvy.js} +4 -4
  46. package/dist/dashboard/index.js +2 -2
  47. package/dist/dashboard-authoring/index.js +1778 -1741
  48. package/dist/format-utils/index.js +230 -231
  49. package/dist/index.js +236 -237
  50. package/dist/report-runtime-context/index.js +1 -1
  51. package/dist/style.css +1 -1
  52. package/dist/surfboard/index.js +2 -2
  53. package/dist/types/components/surfboard/filter/types.d.ts +5 -4
  54. package/dist/types/components/ui-custom/date-range-presets.d.ts +1 -17
  55. package/dist/types/index.js +9 -9
  56. package/dist/types/lib/document/document-edits.d.ts +8 -3
  57. package/dist/types/lib/document/document-text-style.d.ts +54 -0
  58. package/dist/types/lib/hooks/use-date-filter.d.ts +3 -3
  59. package/dist/types/lib/matrix-table/matrix-card-adapter.d.ts +1 -1
  60. package/dist/types/lib/types/explorer-types.d.ts +2 -2
  61. package/dist/types/lib/types/index.d.ts +1 -1
  62. package/dist/types/lib/utils/card-definition.d.ts +7 -7
  63. package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +84 -0
  64. package/dist/types/shared/analytics-protocol/applied-constraints.d.ts +2 -2
  65. package/dist/types/shared/analytics-protocol/contracts.d.ts +8 -17
  66. package/dist/types/shared/analytics-protocol/fixtures.d.ts +3 -2
  67. package/dist/types/shared/analytics-protocol/index.d.ts +2 -4
  68. package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +4 -4
  69. package/dist/types/shared/analytics-protocol/relative-date/describe.d.ts +18 -0
  70. package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +7 -0
  71. package/dist/types/shared/analytics-protocol/relative-date/limits.d.ts +3 -0
  72. package/dist/types/shared/analytics-protocol/relative-date/presets.d.ts +11 -0
  73. package/dist/types/shared/analytics-protocol/relative-date/resolve.d.ts +49 -0
  74. package/dist/types/shared/analytics-protocol/relative-date/schemas.d.ts +76 -0
  75. package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +51 -0
  76. package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +111 -0
  77. package/dist/types/shared/analytics-protocol/selection-contract.d.ts +1 -1
  78. package/dist/types/shared/assistant-protocol/context.d.ts +12 -12
  79. package/dist/types/shared/dashboard-authoring/changes/card-query-part.d.ts +0 -2
  80. package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +176 -1756
  81. package/dist/types/shared/dashboard-authoring/changes/read-card-query.d.ts +8 -4
  82. package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +74 -74
  83. package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +20 -20
  84. package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +8 -2
  85. package/dist/types/shared/dashboard-authoring/outline/outline-filters.d.ts +10 -2
  86. package/dist/types/shared/format-utils/filter-detail.d.ts +2 -8
  87. package/dist/types/shared/format-utils/filter-line.d.ts +2 -2
  88. package/dist/types/shared/format-utils/matrix-continuation.d.ts +3 -3
  89. package/dist/types/shared/temporal/index.d.ts +0 -2
  90. package/dist/types/shared/temporal/temporal-parity-fixtures.d.ts +2 -2
  91. package/package.json +2 -24
  92. package/DATA_APP_SDK.md +0 -339
  93. package/dist/chunks/dashboard-json-BNNCaKEc.js +0 -68
  94. package/dist/chunks/filter-value-text-7zhmth1S.js +0 -163
  95. package/dist/chunks/index-CuHybtft.js +0 -51
  96. package/dist/chunks/matrix-analytical-definition-C9xB_T84.js +0 -717
  97. package/dist/chunks/matrix-card-BSUeSXpD.js +0 -42
  98. package/dist/chunks/matrix-member-presentation-DZNgQpUq.js +0 -105
  99. package/dist/chunks/operators-B3zZoskU.js +0 -66
  100. package/dist/chunks/pivot-result-contract-expectations-Ddh1rNz5.js +0 -56
  101. package/dist/chunks/raw-temporal-value-Bqz8wc7L.js +0 -242
  102. package/dist/chunks/selection-reducer-OaJ-N5uN.js +0 -46
  103. package/dist/chunks/source-entity-resolution-DF6GulDn.js +0 -607
  104. package/dist/chunks/validators-wtjw0aw6.js +0 -3332
  105. package/dist/data-app-sdk/index.js +0 -1412
  106. package/dist/data-app-sdk-adapters/index.js +0 -361
  107. package/dist/data-app-sdk-validation/index.js +0 -1031
  108. package/dist/types/data-app-sdk/adapters.d.ts +0 -35
  109. package/dist/types/data-app-sdk/builders.d.ts +0 -62
  110. package/dist/types/data-app-sdk/contracts.d.ts +0 -419
  111. package/dist/types/data-app-sdk/executor.d.ts +0 -5
  112. package/dist/types/data-app-sdk/field-catalog-validation.d.ts +0 -29
  113. package/dist/types/data-app-sdk/hooks.d.ts +0 -11
  114. package/dist/types/data-app-sdk/index.d.ts +0 -9
  115. package/dist/types/data-app-sdk/provider.d.ts +0 -8
  116. package/dist/types/data-app-sdk/relationship-aware-field-policy.d.ts +0 -21
  117. package/dist/types/data-app-sdk/selection.d.ts +0 -2
  118. package/dist/types/data-app-sdk/validation.d.ts +0 -58
  119. package/dist/types/data-app-sdk-adapters.d.ts +0 -2
  120. package/dist/types/data-app-sdk-validation.d.ts +0 -2
  121. package/dist/types/data-app-sdk.d.ts +0 -2
  122. package/dist/types/shared/analytics-protocol/relative-date-filter.d.ts +0 -68
  123. package/dist/types/shared/analytics-protocol/relative-date-label.d.ts +0 -20
  124. package/dist/types/shared/analytics-protocol/time-window-schema.d.ts +0 -314
  125. package/dist/types/shared/analytics-protocol/time-window.d.ts +0 -52
  126. package/dist/types/shared/temporal/relative-date.d.ts +0 -21
  127. package/dist/types/shared/temporal/time-window-periods.d.ts +0 -21
  128. package/src/data-app-sdk/README.md +0 -402
@@ -1,18 +1,16 @@
1
1
  import { jsxs as Ne, jsx as N, Fragment as ft } from "react/jsx-runtime";
2
2
  import * as T from "react";
3
3
  import zn, { forwardRef as Fe, createElement as xe, useContext as rt, createContext as xt, useRef as q, useLayoutEffect as Pn, useImperativeHandle as zt, useEffect as ne, useState as de, useCallback as G, useMemo as W, memo as wn, Suspense as Cn, useSyncExternalStore as En } from "react";
4
- import { aN as In, a6 as ie, aO as Pt, aP as Rn, a7 as wt, aQ as ot, aR as Ct, aS as Et, aT as Dn, aU as An, aV as Nn, aW as Mn, u as Re, aX as Ln, aY as _n, aZ as kn, a_ as Tn, a$ as Hn, b0 as Vn, b1 as $n, b2 as Fn, b3 as Kn } from "./semaphor-ready-indicator-CQd-PCCZ.js";
5
- import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as On, J as Pe, K as qn, M as At, N as Gn, O as Un } from "./code-editor-DJNOsgJH.js";
6
- import { Q as Wn, R as Nt, T as Mt, U as Je, V as Te, W as Xn, X as Yn, Y as jn, S as Qn } from "./resolve-dashboard-input-context-DPKSF3qj.js";
7
- import "./index-CuHybtft.js";
8
- import "./validators-wtjw0aw6.js";
9
- import "./matrix-operation-contract-Eb6elidS.js";
4
+ import { aN as In, a6 as ie, aO as Pt, aP as Rn, a7 as wt, aQ as ot, aR as Ct, aS as Et, aT as Dn, aU as An, aV as Nn, aW as Mn, u as Re, aX as Ln, aY as _n, aZ as kn, a_ as Tn, a$ as Hn, b0 as Vn, b1 as $n, b2 as Fn, b3 as Kn } from "./semaphor-ready-indicator-BNkaANsG.js";
5
+ import { C as It, A as Rt, D as ze, E as me, F as Dt, G as Bn, H as On, J as Pe, K as qn, M as At, N as Gn, O as Un } from "./code-editor-BsxHzm9u.js";
6
+ import { R as Wn, S as Nt, U as Mt, V as Je, W as Te, X as Xn, Y as Yn, Z as jn, T as Qn } from "./resolve-dashboard-input-context-KqvcLcTM.js";
7
+ import { c as we } from "./_commonjsHelpers-Bid1ZNYj.js";
8
+ import "./validators-B8fpdinG.js";
9
+ import "./matrix-operation-contract-DCVinw1o.js";
10
10
  import "./analytics-base-schemas-BaIQrEzX.js";
11
- import "zod";
12
11
  import "../value-format-preferences/index.js";
13
- import { c as we } from "./_commonjsHelpers-DimLPMtv.js";
14
12
  import { u as Jn } from "./appearance-context-DEYtWinQ.js";
15
- const zo = zn.memo(function({
13
+ const bo = zn.memo(function({
16
14
  context: t = "editor"
17
15
  } = {}) {
18
16
  return /* @__PURE__ */ Ne(
@@ -1648,7 +1646,7 @@ function Ar({ className: e }, t) {
1648
1646
  }
1649
1647
  ) });
1650
1648
  }
1651
- const Po = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
1649
+ const xo = Fe(Ar), Nr = 300, Mr = `# 'data' holds the SQL result.
1652
1650
  # Set 'result' to a list of dicts to replace it, for example:
1653
1651
  # import pandas as pd
1654
1652
  # result = pd.DataFrame(data).to_dict('records')`;
@@ -1686,7 +1684,7 @@ function Lr({ className: e }, t) {
1686
1684
  }
1687
1685
  );
1688
1686
  }
1689
- const wo = Fe(Lr);
1687
+ const zo = Fe(Lr);
1690
1688
  function _r({ card: e }) {
1691
1689
  var E, z, S, w, k;
1692
1690
  const t = Dn(), [n, r] = de({}), { authToken: i } = An(), o = Yn(i == null ? void 0 : i.accessToken), { compiledAppearance: s } = Jn(), a = W(
@@ -1905,7 +1903,7 @@ function _r({ card: e }) {
1905
1903
  (k = c.customCardPreferences) == null ? void 0 : k.componentName
1906
1904
  ) }) : null;
1907
1905
  }
1908
- const Co = wn(_r);
1906
+ const Po = wn(_r);
1909
1907
  var en = "Toggle", tn = T.forwardRef((e, t) => {
1910
1908
  const { pressed: n, defaultPressed: r, onPressedChange: i, ...o } = e, [s, a] = Rt({
1911
1909
  prop: n,
@@ -2435,12 +2433,12 @@ function Sn(e) {
2435
2433
  const t = rt(so) ?? ao;
2436
2434
  return En(t.subscribe, () => e(t.get()), () => e(null));
2437
2435
  }
2438
- function Eo(e) {
2436
+ function wo(e) {
2439
2437
  return Sn(
2440
2438
  G((t) => (t == null ? void 0 : t.slot.zone) === e ? t.outcome : null, [e])
2441
2439
  );
2442
2440
  }
2443
- function Io(e, t, n) {
2441
+ function Co(e, t, n) {
2444
2442
  return Sn(
2445
2443
  G(
2446
2444
  (r) => (r == null ? void 0 : r.slot.zone) !== e || r.outcome.kind === "refused" ? null : r.slot.beforeId === t ? "top" : !r.slot.beforeId && n ? "bottom" : null,
@@ -2450,18 +2448,18 @@ function Io(e, t, n) {
2450
2448
  }
2451
2449
  export {
2452
2450
  Vr as A,
2453
- Co as E,
2454
- zo as F,
2451
+ Po as E,
2452
+ bo as F,
2455
2453
  tr as P,
2456
- Po as S,
2454
+ xo as S,
2457
2455
  Tr as T,
2458
2456
  Er as a,
2459
2457
  Rr as b,
2460
- wo as c,
2458
+ zo as c,
2461
2459
  Fr as d,
2462
2460
  io as e,
2463
- Eo as f,
2464
- Io as g,
2461
+ wo as f,
2462
+ Co as g,
2465
2463
  so as h,
2466
2464
  Zt as r,
2467
2465
  Qt as u