react-semaphor 0.1.569 → 0.1.570
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/appearance/index.js +6 -3
- package/dist/appearance-runtime/index.js +1 -1
- package/dist/assistant-context/index.js +1 -1
- package/dist/brand-studio/index.js +570 -432
- package/dist/briefings/index.js +2 -2
- package/dist/chunks/appearance-context-BwBp25ZG.js +162 -0
- package/dist/chunks/appearance-runtime-provider-BRHYELkC.js +80 -0
- package/dist/chunks/assistant-chat-B-Ddyy8b.js +5940 -0
- package/dist/chunks/{bookmark-impact-Czg6FGt5.js → bookmark-impact-DCYD-6Fr.js} +1 -1
- package/dist/chunks/brand-B4BdpAB_.js +54 -0
- package/dist/chunks/{card-filter-builder-BS982X7x.js → card-filter-builder-0VvKmRst.js} +72 -72
- package/dist/chunks/{comparison-window-caption-lLTgzOkM.js → comparison-window-caption-PtcDWvkN.js} +2 -2
- package/dist/chunks/{dashboard-BiYSbxZv.js → dashboard-DxGIr1vZ.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-Bdj7luOr.js → dashboard-briefing-launcher-B-quOOOQ.js} +183 -182
- package/dist/chunks/{dashboard-controls-TViDsnb8.js → dashboard-controls-Caodx80b.js} +285 -280
- package/dist/chunks/{dashboard-json-Dg9dQd9U.js → dashboard-json-Ct-AGDHF.js} +3 -3
- package/dist/chunks/{dates-BsPrWZIP.js → dates-B9mL8BHE.js} +13 -12
- package/dist/chunks/edit-Bpdh_P_a.js +226 -0
- package/dist/chunks/{edit-dashboard-visual-C6hoIeEJ.js → edit-dashboard-visual-DeDTuYB5.js} +2256 -2268
- package/dist/chunks/{filter-reach-copy-hcQ4os0u.js → filter-reach-copy-BSY33ro5.js} +1425 -1282
- package/dist/chunks/{filter-value-text-CVxEEDVl.js → filter-value-text-DvvSNlho.js} +1 -1
- package/dist/chunks/index-BVKzKl5d.js +90 -0
- package/dist/chunks/{index-RNaTnE3m.js → index-CV_Kzou0.js} +233 -223
- package/dist/chunks/{index-G4q89J6O.js → index-y3HUzRNk.js} +61 -60
- package/dist/chunks/{layout-grid-BIcoFfdS.js → layout-grid-8rR-LPTk.js} +1 -1
- package/dist/chunks/{list-filter-C6tYkHyv.js → list-filter-C1-uTgjR.js} +1 -1
- package/dist/chunks/paintbrush-aR17Z3C9.js +27 -0
- package/dist/chunks/{palette-NjHOE_6B.js → palette-a5FCZKFI.js} +1 -1
- package/dist/chunks/{_commonjsHelpers-Bid1ZNYj.js → pickers-DkqmtnTL.js} +179 -166
- package/dist/chunks/{pivot-result-contract-expectations-DkmueDTW.js → pivot-result-contract-expectations-C-HnUKYe.js} +1 -1
- package/dist/chunks/{report-preferences-dialog-Xc8_GFju.js → report-preferences-dialog-Yvhv3WX2.js} +79 -79
- package/dist/chunks/{resolve-dashboard-input-context-KqvcLcTM.js → resolve-dashboard-input-context-Lkbwycwe.js} +5179 -5391
- package/dist/chunks/resolver-DG_tfEpt.js +156 -0
- package/dist/chunks/{save-C6VmEJTA.js → save-D985VvYp.js} +1 -1
- package/dist/chunks/{saved-dashboard-context-BeXXyoD4.js → saved-dashboard-context-DC_TEd6y.js} +3 -3
- package/dist/chunks/schema-C9NPiIru.js +2568 -0
- package/dist/chunks/{semaphor-ready-indicator-BNkaANsG.js → semaphor-ready-indicator-ByFvqHEO.js} +33935 -34031
- package/dist/chunks/{shelf-drop-preview-context-C_issPBA.js → shelf-drop-preview-context-CjoVaK6J.js} +50 -50
- package/dist/chunks/{stored-dashboard-B6_StAty.js → stored-dashboard-C0hekXiI.js} +189 -188
- package/dist/chunks/{code-editor-BsxHzm9u.js → style-sheet-parts-C7qGZuH1.js} +2400 -2036
- package/dist/chunks/{table-export-sheet-BWP2joD1.js → table-export-sheet-CP8zSOhj.js} +1 -1
- package/dist/chunks/{temporal-input-presentation-scSWQXAB.js → temporal-input-presentation-CqbJjIuu.js} +14 -14
- package/dist/chunks/{upload-BRW4Mwrd.js → upload-CiGNKJ_0.js} +1 -1
- package/dist/chunks/{variable-draft-BQ3OMjvy.js → variable-draft-9-huI1h4.js} +2 -2
- package/dist/dashboard/index.js +1 -1
- package/dist/dashboard-authoring/index.js +1911 -1859
- package/dist/format-utils/index.js +8 -8
- package/dist/index.js +332 -335
- package/dist/layouts/index.js +1 -1
- package/dist/style.css +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/appearance/index.d.ts +1 -0
- package/dist/types/brand-studio/brand-studio-draft.d.ts +7 -0
- package/dist/types/brand-studio/index.d.ts +1 -1
- package/dist/types/components/briefings/briefing-author/run-model.d.ts +1 -2
- package/dist/types/components/providers/appearance-runtime-provider.d.ts +4 -1
- package/dist/types/components/sharing-and-management/hooks/use-resource-management.d.ts +0 -2
- package/dist/types/components/sharing-and-management/utils/types.d.ts +0 -72
- package/dist/types/components/visual/data-table/hooks/use-data-table-logic.d.ts +0 -1
- package/dist/types/components/visual/data-table/types/data-table.d.ts +0 -9
- package/dist/types/components/visual/data-table/utils/pagination-utils.d.ts +0 -19
- package/dist/types/components/visual/shared/utils/table-column-order.d.ts +0 -1
- package/dist/types/lib/appearance/aliases.d.ts +42 -0
- package/dist/types/lib/appearance/compiler.d.ts +6 -0
- package/dist/types/lib/appearance/defaults.d.ts +6 -0
- package/dist/types/lib/appearance/index.d.ts +2 -0
- package/dist/types/lib/appearance/normalize-organization.d.ts +17 -0
- package/dist/types/lib/appearance/resolver.d.ts +2 -2
- package/dist/types/lib/appearance/types.d.ts +38 -1
- package/dist/types/lib/charts/types.d.ts +6 -2
- package/dist/types/lib/dashboard/semantic-dataset-references.d.ts +0 -1
- package/dist/types/lib/dashboard-inputs/dashboard-input-values.d.ts +0 -2
- package/dist/types/lib/dashboard-variables/types.d.ts +1 -6
- package/dist/types/lib/download-pdf.d.ts +0 -1
- package/dist/types/lib/hooks/use-dashboard.d.ts +3 -4
- package/dist/types/lib/stores/dashboard-store.d.ts +15 -6
- package/dist/types/lib/stores/editor-store.d.ts +0 -1
- package/dist/types/lib/stores/table-actions.d.ts +0 -1
- package/dist/types/lib/table-formatting/table-formatting-css.d.ts +0 -5
- package/dist/types/lib/types/common-types.d.ts +3 -2
- package/dist/types/lib/types/summary-types.d.ts +0 -5
- package/dist/types/shared/analytics-protocol/analytics-base-schemas.d.ts +4 -4
- package/dist/types/shared/analytics-protocol/execution-input-schemas.d.ts +10 -10
- package/dist/types/shared/analytics-protocol/matrix-definition-contract.d.ts +68 -68
- package/dist/types/shared/assistant-protocol/context.d.ts +18 -18
- package/dist/types/shared/dashboard-authoring/changes/dashboard-change.d.ts +212 -42
- package/dist/types/shared/dashboard-authoring/changes/diagnostics.d.ts +4 -1
- package/dist/types/shared/dashboard-authoring/changes/resolve-dashboard-changes.d.ts +9 -0
- package/dist/types/shared/dashboard-authoring/conditional-formatting/schema.d.ts +30 -30
- package/dist/types/shared/dashboard-authoring/control-execution-contract.d.ts +4 -4
- package/dist/types/shared/dashboard-authoring/dashboard-style/bounds.d.ts +17 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/brand.d.ts +20 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/edit-words.d.ts +7 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/edit.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/index.d.ts +15 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/layers.d.ts +19 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/legacy.d.ts +21 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/parse.d.ts +18 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/pickers.d.ts +12 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/types.d.ts +122 -0
- package/dist/types/shared/dashboard-authoring/dashboard-style/view.d.ts +10 -0
- package/dist/types/shared/dashboard-authoring/index.d.ts +1 -0
- package/dist/types/shared/dashboard-authoring/operations/operation-types.d.ts +11 -0
- package/dist/types/shared/dashboard-authoring/outline/outline-dashboard.d.ts +20 -0
- package/dist/types/shared/format-utils/matrix-continuation.d.ts +7 -7
- package/package.json +6 -3
- package/dist/chunks/appearance-context-DEYtWinQ.js +0 -126
- package/dist/chunks/appearance-runtime-provider-B-M8gwlZ.js +0 -81
- package/dist/chunks/assistant-chat-Dzf2Mbph.js +0 -8847
- package/dist/chunks/color-CJvdlFM_.js +0 -2162
- package/dist/chunks/index-CLIro-EG.js +0 -425
- package/dist/types/components/sharing-and-management/utils/group-types.d.ts +0 -105
|
@@ -2,7 +2,7 @@ import { j as p, r as y } from "./validators-B8fpdinG.js";
|
|
|
2
2
|
import { a as I } from "./metric-comparison-n9NsIa-2.js";
|
|
3
3
|
import "../value-format-preferences/index.js";
|
|
4
4
|
import { c as N } from "./raw-temporal-value-DdT0s47W.js";
|
|
5
|
-
import { a9 as k, a8 as T } from "./temporal-input-presentation-
|
|
5
|
+
import { a9 as k, a8 as T } from "./temporal-input-presentation-CqbJjIuu.js";
|
|
6
6
|
const d = { kind: "plain" }, g = { kind: "temporal" }, D = {
|
|
7
7
|
"=": "=",
|
|
8
8
|
"!=": "!=",
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
import { S as A } from "./schema-C9NPiIru.js";
|
|
2
|
+
import { r as h, d as u, n as b, A as k } from "./resolver-DG_tfEpt.js";
|
|
3
|
+
const E = [
|
|
4
|
+
{ path: ["tokens", "spacing", "gridGap"], value: { light: 12, dark: 12 } },
|
|
5
|
+
{ path: ["tokens", "spacing", "dashboardPadding"], alias: ["components", "dashboard", "padding"], value: { light: 16, dark: 16 } },
|
|
6
|
+
{ path: ["tokens", "spacing", "cardPadding"], alias: ["components", "card", "padding"], value: { light: 16, dark: 16 } },
|
|
7
|
+
{ path: ["tokens", "radius", "card"], alias: ["components", "card", "borderRadius"], value: { light: 5, dark: 5 } },
|
|
8
|
+
{
|
|
9
|
+
path: ["components", "chart", "palette"],
|
|
10
|
+
value: {
|
|
11
|
+
light: ["#3b82f6", "#10b981", "#f59e0b", "#ef4444", "#8b5cf6", "#06b6d4", "#84cc16", "#f97316"],
|
|
12
|
+
dark: ["#3b82f6", "#10b981", "#f59e0b", "#ef4444", "#8b5cf6", "#06b6d4", "#84cc16", "#f97316"]
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
], p = ["pivotTable", "aggregateTable"], S = [
|
|
16
|
+
["tokens", "shadow", "card"],
|
|
17
|
+
["components", "card", "shadow"]
|
|
18
|
+
];
|
|
19
|
+
function N(e) {
|
|
20
|
+
const { schemes: t, changes: r } = v(e), i = {};
|
|
21
|
+
for (const c of ["light", "dark"]) {
|
|
22
|
+
const n = t[c];
|
|
23
|
+
if (!n) continue;
|
|
24
|
+
const o = A.schemes[c], { value: d, removed: s } = g(n, o, []);
|
|
25
|
+
for (const f of s) r.push(`${c}.${f}: equal to the default, removed`);
|
|
26
|
+
d && Object.keys(d).length > 0 && (i[c] = d);
|
|
27
|
+
}
|
|
28
|
+
const a = Object.keys(i).length > 0;
|
|
29
|
+
return !a && e.mode === void 0 ? { spec: null, changes: r } : {
|
|
30
|
+
spec: { version: e.version, ...e.mode !== void 0 ? { mode: e.mode } : {}, ...a ? { schemes: i } : {} },
|
|
31
|
+
changes: r
|
|
32
|
+
};
|
|
33
|
+
}
|
|
34
|
+
function R(e, t) {
|
|
35
|
+
return e ? v(e).schemes[t] : void 0;
|
|
36
|
+
}
|
|
37
|
+
function v(e) {
|
|
38
|
+
var a, c;
|
|
39
|
+
const t = [], r = {}, i = y(e);
|
|
40
|
+
for (const n of ["light", "dark"]) {
|
|
41
|
+
let o = (a = e.schemes) == null ? void 0 : a[n];
|
|
42
|
+
if (!o) continue;
|
|
43
|
+
for (const s of i ? S : [])
|
|
44
|
+
h(o, s) !== void 0 && (o = u(o, s), t.push(`${n}.${s.join(".")}: never rendered, removed`));
|
|
45
|
+
for (const s of i ? E : []) {
|
|
46
|
+
const f = h(o, s.path);
|
|
47
|
+
f === void 0 || !l(f, s.value[n]) || s.alias && h(o, s.alias) !== void 0 || (o = u(o, s.path), t.push(`${n}.${s.path.join(".")}: hidden legacy default removed`));
|
|
48
|
+
}
|
|
49
|
+
const d = (c = b({ version: e.version, schemes: { [n]: o } }).schemes) == null ? void 0 : c[n];
|
|
50
|
+
l(d, o) || t.push(`${n}: component aliases folded onto canonical paths`), o = d;
|
|
51
|
+
for (const s of p)
|
|
52
|
+
h(o, ["components", s]) !== void 0 && (o = u(o, ["components", s]), t.push(`${n}.components.${s}: retired card type removed`));
|
|
53
|
+
r[n] = o;
|
|
54
|
+
}
|
|
55
|
+
return { schemes: r, changes: t };
|
|
56
|
+
}
|
|
57
|
+
function y(e) {
|
|
58
|
+
return ["light", "dark"].some((t) => {
|
|
59
|
+
var i;
|
|
60
|
+
const r = (i = e.schemes) == null ? void 0 : i[t];
|
|
61
|
+
return r ? k.some(({ alias: a }) => h(r, a) !== void 0) || p.some((a) => h(r, ["components", a]) !== void 0) : !1;
|
|
62
|
+
});
|
|
63
|
+
}
|
|
64
|
+
function g(e, t, r) {
|
|
65
|
+
const i = [], a = {};
|
|
66
|
+
for (const [c, n] of Object.entries(e)) {
|
|
67
|
+
const o = m(t) ? t[c] : void 0;
|
|
68
|
+
if (m(n) && !Array.isArray(n)) {
|
|
69
|
+
const d = g(n, o, [...r, c]);
|
|
70
|
+
i.push(...d.removed), d.value && (a[c] = d.value);
|
|
71
|
+
continue;
|
|
72
|
+
}
|
|
73
|
+
if (o !== void 0 && l(n, o)) {
|
|
74
|
+
i.push([...r, c].join("."));
|
|
75
|
+
continue;
|
|
76
|
+
}
|
|
77
|
+
a[c] = n;
|
|
78
|
+
}
|
|
79
|
+
return { value: Object.keys(a).length > 0 ? a : void 0, removed: i };
|
|
80
|
+
}
|
|
81
|
+
function l(e, t) {
|
|
82
|
+
return JSON.stringify(e) === JSON.stringify(t);
|
|
83
|
+
}
|
|
84
|
+
function m(e) {
|
|
85
|
+
return typeof e == "object" && e !== null && !Array.isArray(e);
|
|
86
|
+
}
|
|
87
|
+
export {
|
|
88
|
+
N as n,
|
|
89
|
+
R as r
|
|
90
|
+
};
|