react-semaphor 0.1.589 → 0.1.591
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/dist/analytics-protocol/index.js +254 -236
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +7 -7
- package/dist/briefings/index.js +4 -4
- package/dist/chunks/{aggregate-measure-field-BrkXsSJp.js → aggregate-measure-field-DHlDj0Pc.js} +2 -2
- package/dist/chunks/{assistant-chat-DBPa6sJU.js → assistant-chat-Cazikwyh.js} +13 -13
- package/dist/chunks/{bookmark-impact-B7pbMx2e.js → bookmark-impact-rWjQgk8h.js} +2 -2
- package/dist/chunks/{bookmark-state-Bn7k3ttp.js → bookmark-state-Bt_eQEqt.js} +569 -537
- package/dist/chunks/{card-filter-builder-CGM7ROM0.js → card-filter-builder-DFR-6Jpm.js} +929 -910
- package/dist/chunks/{comparison-window-caption-fqijZdVd.js → comparison-window-caption-CFaw-kIV.js} +6 -6
- package/dist/chunks/{dashboard-UXH3E31V.js → dashboard-DCh9hKnJ.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-CTFuSWH_.js → dashboard-briefing-launcher-ob8G1b58.js} +91 -91
- package/dist/chunks/{dashboard-controls-BcxWhOKw.js → dashboard-controls-Nszg0k1A.js} +64 -64
- package/dist/chunks/{dashboard-json-C-oBcKKC.js → dashboard-json-BpwnG23b.js} +4 -4
- package/dist/chunks/{dates-BunbHJH0.js → dates-BOLBSBpn.js} +8 -8
- package/dist/chunks/{edit-dashboard-visual-COjKc_Du.js → edit-dashboard-visual-BvM7br5P.js} +5501 -5475
- package/dist/chunks/filter-line-CYT7KIXb.js +133 -0
- package/dist/chunks/{filter-reach-copy-D5AmDHda.js → filter-reach-copy-By3r7O3G.js} +11 -11
- package/dist/chunks/filter-value-text-CFiIZWJP.js +153 -0
- package/dist/chunks/{index-dGxJTaP1.js → index-CsQYlwhU.js} +5 -5
- package/dist/chunks/{layout-grid-BG__sPkb.js → layout-grid-DoFIfQGd.js} +1 -1
- package/dist/chunks/{list-filter-Cb8i7N8f.js → list-filter-BeTQxjNy.js} +1 -1
- package/dist/chunks/{matrix-analytical-definition-SN0JUJVk.js → matrix-analytical-definition-CyWOwLmE.js} +202 -190
- package/dist/chunks/{matrix-member-presentation-DVBJR0MA.js → matrix-member-presentation-Bj2YcHAP.js} +1 -1
- package/dist/chunks/{matrix-operation-contract-JSmproo9.js → matrix-operation-contract-CAanJeCj.js} +60 -60
- package/dist/chunks/{metric-comparison-xE_J6hkg.js → metric-comparison-BeKnUD08.js} +27 -31
- package/dist/chunks/{paintbrush-C310xSuR.js → paintbrush-KeaU1L1a.js} +1 -1
- package/dist/chunks/{palette-Ci5P91Zb.js → palette-BcFJLeXB.js} +1 -1
- package/dist/chunks/{pivot-header-presentation-D-DfPAjb.js → pivot-header-presentation-gUxhdIdr.js} +1 -1
- package/dist/chunks/{pivot-result-contract-expectations-DbBahmgc.js → pivot-result-contract-expectations-BkMRCjzf.js} +111 -111
- package/dist/chunks/{pivot-result-identity-CUsMt_4r.js → pivot-result-identity-BKUjYO1u.js} +1 -1
- package/dist/chunks/raw-temporal-value-BzdgeDa7.js +454 -0
- package/dist/chunks/{report-preferences-dialog-DtuOcejh.js → report-preferences-dialog-ChXt8wCt.js} +13 -13
- package/dist/chunks/{report-runtime-context-CrOgmuxO.js → report-runtime-context-g4Zp_TU9.js} +1 -1
- package/dist/chunks/{resolve-dashboard-input-context-DFBIngUZ.js → resolve-dashboard-input-context-BlyFX8He.js} +5053 -4955
- package/dist/chunks/{save-BhhXfp4s.js → save-C9CZAk6V.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-DKMTP9ib.js → saved-dashboard-context-BPSdH2jW.js} +7 -7
- package/dist/chunks/{selection-filter-compiler-DkIjp1yH.js → selection-filter-compiler-BclSpK3P.js} +1 -1
- package/dist/chunks/{semaphor-ready-indicator-HGEnCavj.js → semaphor-ready-indicator-BZUMCHRU.js} +28972 -28922
- package/dist/chunks/{shelf-drop-preview-context-DaCXCdMA.js → shelf-drop-preview-context-yJheoeTC.js} +5 -5
- package/dist/chunks/{stored-dashboard-CksluF2S.js → stored-dashboard-CxQl9g0l.js} +654 -658
- package/dist/chunks/{style-sheet-parts-CmXmKqGw.js → style-sheet-parts-DM_Mw_sm.js} +45 -42
- package/dist/chunks/{table-export-sheet-ClSgERQC.js → table-export-sheet-h7wm5TwP.js} +1 -1
- package/dist/chunks/{token-types-DTocOcwt.js → token-types-BB2ImFx6.js} +1 -1
- package/dist/chunks/{upload-DDYc1Qjj.js → upload-CMTCg47S.js} +1 -1
- package/dist/chunks/{validators-CrYXNnNE.js → validators-BlEWWX9O.js} +576 -562
- package/dist/chunks/{variable-draft-rbtGPvmX.js → variable-draft-OpYyaVCW.js} +4 -4
- package/dist/dashboard/index.js +2 -2
- package/dist/dashboard-authoring/index.js +1602 -1555
- package/dist/format-utils/index.js +14 -14
- package/dist/index.js +18 -18
- package/dist/report-runtime-context/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +2 -2
- package/dist/types/components/surfboard/filter/types.d.ts +7 -5
- package/dist/types/index.js +5 -5
- package/dist/types/lib/dashboard-inputs/dashboard-date-comparison-plan.d.ts +0 -1
- package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +2 -2
- package/dist/types/lib/formatters/raw-temporal-presentation.d.ts +0 -2
- package/dist/types/shared/analytics-protocol/agent-time-window.d.ts +1 -1
- package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +7 -0
- package/dist/types/shared/analytics-protocol/relative-date/index.d.ts +2 -1
- package/dist/types/shared/analytics-protocol/relative-date/sentence.d.ts +81 -0
- package/dist/types/shared/analytics-protocol/relative-date/traits.d.ts +0 -9
- package/dist/types/shared/analytics-protocol/relative-date/window.d.ts +23 -2
- package/dist/types/shared/dashboard-authoring/canonical-result-keys.d.ts +20 -0
- package/dist/types/shared/dashboard-authoring/card-formats/detail-date-display.d.ts +84 -0
- package/dist/types/shared/dashboard-authoring/card-settings/column-names.d.ts +2 -0
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +36 -36
- package/dist/types/shared/dashboard-authoring/filter-model/date-filter-default.d.ts +37 -0
- package/dist/types/shared/dashboard-authoring/filter-model/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/format-utils/filter-line.d.ts +2 -0
- package/package.json +1 -1
- package/dist/chunks/filter-line-Dza3ee4w.js +0 -131
- package/dist/chunks/filter-value-text-DQw4v3nC.js +0 -146
- package/dist/chunks/raw-temporal-value-BnGCWJAL.js +0 -322
|
@@ -2,8 +2,8 @@ import { jsx as v, jsxs as re, Fragment as xt } from "react/jsx-runtime";
|
|
|
2
2
|
import * as l from "react";
|
|
3
3
|
import ke, { forwardRef as jn, createElement as In, useLayoutEffect as cs, useState as ro, useRef as vn, useMemo as us, useId as ds, useImperativeHandle as fs } from "react";
|
|
4
4
|
import { b as ps, c as ee, d as me, g as hs } from "./pickers-DkqmtnTL.js";
|
|
5
|
-
import "./validators-
|
|
6
|
-
import "./matrix-operation-contract-
|
|
5
|
+
import "./validators-BlEWWX9O.js";
|
|
6
|
+
import "./matrix-operation-contract-CAanJeCj.js";
|
|
7
7
|
import "./analytics-base-schemas-8wz9vqn_.js";
|
|
8
8
|
import "../value-format-preferences/index.js";
|
|
9
9
|
import * as Gt from "react-dom";
|
|
@@ -6229,6 +6229,36 @@ const qf = Ue(
|
|
|
6229
6229
|
}
|
|
6230
6230
|
));
|
|
6231
6231
|
Qf.displayName = os.displayName;
|
|
6232
|
+
function qp({
|
|
6233
|
+
value: e,
|
|
6234
|
+
label: t,
|
|
6235
|
+
options: n,
|
|
6236
|
+
onChange: r,
|
|
6237
|
+
style: o
|
|
6238
|
+
}) {
|
|
6239
|
+
return /* @__PURE__ */ v(
|
|
6240
|
+
Ri,
|
|
6241
|
+
{
|
|
6242
|
+
"aria-label": t,
|
|
6243
|
+
value: e ?? "",
|
|
6244
|
+
onValueChange: (a) => r(a),
|
|
6245
|
+
orientation: "horizontal",
|
|
6246
|
+
style: o,
|
|
6247
|
+
className: "inline-flex h-7 items-center gap-0.5 overflow-hidden rounded-control bg-muted p-0.5",
|
|
6248
|
+
children: n.map((a) => /* @__PURE__ */ v(
|
|
6249
|
+
Ai,
|
|
6250
|
+
{
|
|
6251
|
+
value: a.value,
|
|
6252
|
+
title: a.title,
|
|
6253
|
+
disabled: a.disabled,
|
|
6254
|
+
className: "h-6 rounded-control px-2.5 text-[12px] leading-none text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring disabled:pointer-events-none disabled:opacity-50 data-[state=checked]:bg-background data-[state=checked]:text-foreground data-[state=checked]:shadow-sm",
|
|
6255
|
+
children: a.label
|
|
6256
|
+
},
|
|
6257
|
+
a.value
|
|
6258
|
+
))
|
|
6259
|
+
}
|
|
6260
|
+
);
|
|
6261
|
+
}
|
|
6232
6262
|
var as = {}, ae = me && me.__assign || function() {
|
|
6233
6263
|
return ae = Object.assign || function(e) {
|
|
6234
6264
|
for (var t, n = 1, r = arguments.length; n < r; n++) {
|
|
@@ -8209,7 +8239,7 @@ function hp(e) {
|
|
|
8209
8239
|
const t = e.trim().toLowerCase(), n = pp[t] ?? t;
|
|
8210
8240
|
return Me.languages[n] ? n : null;
|
|
8211
8241
|
}
|
|
8212
|
-
function
|
|
8242
|
+
function Zp(e, t) {
|
|
8213
8243
|
const n = hp(t);
|
|
8214
8244
|
return n ? wt.highlight(e, wt.languages[n], n) : null;
|
|
8215
8245
|
}
|
|
@@ -8425,18 +8455,18 @@ function mp({
|
|
|
8425
8455
|
}
|
|
8426
8456
|
);
|
|
8427
8457
|
}
|
|
8428
|
-
const
|
|
8458
|
+
const Qp = jn(mp);
|
|
8429
8459
|
function vp(e) {
|
|
8430
8460
|
return e === "muted" ? "hsl(var(--semaphor-muted))" : e === "background" ? "hsl(var(--semaphor-background))" : e;
|
|
8431
8461
|
}
|
|
8432
8462
|
const yp = "text-[10px] font-medium uppercase tracking-[0.08em] text-muted-foreground";
|
|
8433
|
-
function
|
|
8463
|
+
function Jp({ children: e, right: t }) {
|
|
8434
8464
|
return /* @__PURE__ */ re("div", { className: "flex items-center justify-between border-y border-border/60 bg-muted/40 px-4 py-1 first:border-t-0", children: [
|
|
8435
8465
|
/* @__PURE__ */ v("p", { className: yp, children: e }),
|
|
8436
8466
|
t
|
|
8437
8467
|
] });
|
|
8438
8468
|
}
|
|
8439
|
-
function
|
|
8469
|
+
function eh({ label: e, state: t, children: n }) {
|
|
8440
8470
|
return /* @__PURE__ */ re("div", { className: ee("grid grid-cols-[104px_minmax(0,1fr)_28px] items-center gap-x-2 gap-y-1 px-4", e ? "py-2" : "-mt-1 pb-2"), children: [
|
|
8441
8471
|
/* @__PURE__ */ v("span", { className: ee("text-[12px]", t != null && t.changed ? "font-medium text-foreground" : "text-muted-foreground"), children: e }),
|
|
8442
8472
|
/* @__PURE__ */ v("div", { className: "flex min-w-0 items-center gap-1.5", children: n }),
|
|
@@ -8447,7 +8477,7 @@ function Jp({ label: e, state: t, children: n }) {
|
|
|
8447
8477
|
function ss({ title: e, label: t, onClick: n }) {
|
|
8448
8478
|
return /* @__PURE__ */ v(io, { size: "xs", variant: "ghost", className: "h-6 w-6 p-0 text-muted-foreground hover:text-foreground", title: e, "aria-label": `Reset ${t}`, onClick: n, children: /* @__PURE__ */ v(Os, { className: "h-3.5 w-3.5", "aria-hidden": !0 }) });
|
|
8449
8479
|
}
|
|
8450
|
-
function
|
|
8480
|
+
function th({ value: e, min: t, max: n, label: r, onChange: o }) {
|
|
8451
8481
|
return /* @__PURE__ */ re("span", { className: "relative inline-flex", children: [
|
|
8452
8482
|
/* @__PURE__ */ v(
|
|
8453
8483
|
fa,
|
|
@@ -8468,36 +8498,9 @@ function eh({ value: e, min: t, max: n, label: r, onChange: o }) {
|
|
|
8468
8498
|
/* @__PURE__ */ v("span", { className: "pointer-events-none absolute right-2 top-1/2 -translate-y-1/2 text-[11px] text-muted-foreground", children: "px" })
|
|
8469
8499
|
] });
|
|
8470
8500
|
}
|
|
8471
|
-
function
|
|
8501
|
+
function nh({ color: e, label: t, onChange: n }) {
|
|
8472
8502
|
return /* @__PURE__ */ v("label", { className: "relative inline-flex h-6 w-6 shrink-0 cursor-pointer rounded-[4px] border border-border", style: { background: e }, title: e, children: /* @__PURE__ */ v("input", { type: "color", value: e.startsWith("#") && e.length === 7 ? e : "#ffffff", onChange: (r) => n(r.target.value), className: "sr-only", "aria-label": t }) });
|
|
8473
8503
|
}
|
|
8474
|
-
function nh({
|
|
8475
|
-
value: e,
|
|
8476
|
-
label: t,
|
|
8477
|
-
options: n,
|
|
8478
|
-
onChange: r
|
|
8479
|
-
}) {
|
|
8480
|
-
return /* @__PURE__ */ v(
|
|
8481
|
-
Ri,
|
|
8482
|
-
{
|
|
8483
|
-
"aria-label": t,
|
|
8484
|
-
value: e ?? "",
|
|
8485
|
-
onValueChange: (o) => r(o),
|
|
8486
|
-
orientation: "horizontal",
|
|
8487
|
-
className: "inline-flex h-7 items-center gap-0.5 overflow-hidden rounded-control bg-muted p-0.5",
|
|
8488
|
-
children: n.map((o) => /* @__PURE__ */ v(
|
|
8489
|
-
Ai,
|
|
8490
|
-
{
|
|
8491
|
-
value: o.value,
|
|
8492
|
-
title: o.title,
|
|
8493
|
-
className: "h-6 rounded-control px-2.5 text-[12px] leading-none text-muted-foreground transition-colors hover:text-foreground focus-visible:outline-none focus-visible:ring-1 focus-visible:ring-ring data-[state=checked]:bg-background data-[state=checked]:text-foreground data-[state=checked]:shadow-sm",
|
|
8494
|
-
children: o.label
|
|
8495
|
-
},
|
|
8496
|
-
o.value
|
|
8497
|
-
))
|
|
8498
|
-
}
|
|
8499
|
-
);
|
|
8500
|
-
}
|
|
8501
8504
|
function bp({ look: e }) {
|
|
8502
8505
|
const n = e.spacing === 0, r = n && e.canvasPadding === 0 ? 0 : e.cardCorners * 0.4, o = (a) => ({
|
|
8503
8506
|
borderRadius: a,
|
|
@@ -8567,7 +8570,7 @@ export {
|
|
|
8567
8570
|
dc as $,
|
|
8568
8571
|
zp as A,
|
|
8569
8572
|
io as B,
|
|
8570
|
-
|
|
8573
|
+
Qp as C,
|
|
8571
8574
|
Hd as D,
|
|
8572
8575
|
zd as E,
|
|
8573
8576
|
lo as F,
|
|
@@ -8578,12 +8581,12 @@ export {
|
|
|
8578
8581
|
Ue as K,
|
|
8579
8582
|
_p as L,
|
|
8580
8583
|
Se as M,
|
|
8581
|
-
|
|
8584
|
+
th as N,
|
|
8582
8585
|
co as O,
|
|
8583
8586
|
rh as P,
|
|
8584
8587
|
G as Q,
|
|
8585
8588
|
Os as R,
|
|
8586
|
-
|
|
8589
|
+
qp as S,
|
|
8587
8590
|
Up as T,
|
|
8588
8591
|
St as U,
|
|
8589
8592
|
Mn as V,
|
|
@@ -8592,7 +8595,7 @@ export {
|
|
|
8592
8595
|
cr as Y,
|
|
8593
8596
|
lc as Z,
|
|
8594
8597
|
uc as _,
|
|
8595
|
-
|
|
8598
|
+
nh as a,
|
|
8596
8599
|
hc as a0,
|
|
8597
8600
|
gc as a1,
|
|
8598
8601
|
Ql as a2,
|
|
@@ -8612,13 +8615,13 @@ export {
|
|
|
8612
8615
|
Ui as aG,
|
|
8613
8616
|
bf as aH,
|
|
8614
8617
|
wf as aI,
|
|
8615
|
-
|
|
8616
|
-
|
|
8618
|
+
Jp as aJ,
|
|
8619
|
+
eh as aK,
|
|
8617
8620
|
Hf as aL,
|
|
8618
8621
|
Qi as aM,
|
|
8619
8622
|
Vf as aN,
|
|
8620
8623
|
Rs as aa,
|
|
8621
|
-
|
|
8624
|
+
Zp as ab,
|
|
8622
8625
|
Vp as ac,
|
|
8623
8626
|
Vd as ad,
|
|
8624
8627
|
Hi as ae,
|
|
@@ -2,7 +2,7 @@ var ft = Object.defineProperty;
|
|
|
2
2
|
var ht = (e, t, r) => t in e ? ft(e, t, { enumerable: !0, configurable: !0, writable: !0, value: r }) : e[t] = r;
|
|
3
3
|
var ne = (e, t, r) => ht(e, typeof t != "symbol" ? t + "" : t, r);
|
|
4
4
|
import { z as S } from "zod";
|
|
5
|
-
import { e as ct } from "./comparison-window-caption-
|
|
5
|
+
import { e as ct } from "./comparison-window-caption-CFaw-kIV.js";
|
|
6
6
|
var E = Uint8Array, I = Uint16Array, pe = Int32Array, xe = new E([
|
|
7
7
|
0,
|
|
8
8
|
0,
|