react-semaphor 0.1.589 → 0.1.590

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 (31) hide show
  1. package/dist/analytics-protocol/index.js +2 -2
  2. package/dist/assistant-context/index.js +1 -1
  3. package/dist/briefings/index.js +1 -1
  4. package/dist/chunks/{assistant-chat-DBPa6sJU.js → assistant-chat-C_6dBLUk.js} +6 -6
  5. package/dist/chunks/{bookmark-impact-B7pbMx2e.js → bookmark-impact-DkZABEd3.js} +1 -1
  6. package/dist/chunks/{card-filter-builder-CGM7ROM0.js → card-filter-builder-6vflbF9O.js} +3 -3
  7. package/dist/chunks/{dashboard-UXH3E31V.js → dashboard-DpgRl65K.js} +1 -1
  8. package/dist/chunks/{dashboard-briefing-launcher-CTFuSWH_.js → dashboard-briefing-launcher-BLbhONJz.js} +6 -6
  9. package/dist/chunks/{dashboard-controls-BcxWhOKw.js → dashboard-controls-kCTYEEsq.js} +7 -7
  10. package/dist/chunks/{dashboard-json-C-oBcKKC.js → dashboard-json-CNIFresY.js} +1 -1
  11. package/dist/chunks/{dates-BunbHJH0.js → dates-BoeweqEo.js} +4 -4
  12. package/dist/chunks/{edit-dashboard-visual-COjKc_Du.js → edit-dashboard-visual-D0eWTlPL.js} +7 -7
  13. package/dist/chunks/{filter-reach-copy-D5AmDHda.js → filter-reach-copy-eMhDPTYH.js} +3 -3
  14. package/dist/chunks/{index-dGxJTaP1.js → index-D8LFjI8j.js} +1 -1
  15. package/dist/chunks/{matrix-analytical-definition-SN0JUJVk.js → matrix-analytical-definition-D9Ll_9R-.js} +202 -190
  16. package/dist/chunks/{report-preferences-dialog-DtuOcejh.js → report-preferences-dialog-dUlVLgEk.js} +7 -7
  17. package/dist/chunks/{resolve-dashboard-input-context-DFBIngUZ.js → resolve-dashboard-input-context-NurwNg4I.js} +1 -1
  18. package/dist/chunks/{saved-dashboard-context-DKMTP9ib.js → saved-dashboard-context-CPp--vXU.js} +3 -3
  19. package/dist/chunks/{selection-filter-compiler-DkIjp1yH.js → selection-filter-compiler-CHG-8xnW.js} +1 -1
  20. package/dist/chunks/{semaphor-ready-indicator-HGEnCavj.js → semaphor-ready-indicator-CXojR95M.js} +8930 -8925
  21. package/dist/chunks/{shelf-drop-preview-context-DaCXCdMA.js → shelf-drop-preview-context-BDScAUdq.js} +2 -2
  22. package/dist/chunks/{stored-dashboard-CksluF2S.js → stored-dashboard-KkH4zOhq.js} +4 -4
  23. package/dist/chunks/{variable-draft-rbtGPvmX.js → variable-draft-Bi3RlULA.js} +3 -3
  24. package/dist/dashboard/index.js +1 -1
  25. package/dist/dashboard-authoring/index.js +10 -10
  26. package/dist/index.js +10 -10
  27. package/dist/style.css +1 -1
  28. package/dist/surfboard/index.js +1 -1
  29. package/dist/types/lib/dashboard-view-state/date-zoom.d.ts +2 -2
  30. package/dist/types/shared/analytics-protocol/metric-comparison.d.ts +7 -0
  31. package/package.json +1 -1
@@ -1,4 +1,4 @@
1
- import { a, R as s, D as o } from "../chunks/report-preferences-dialog-DtuOcejh.js";
1
+ import { a, R as s, D as o } from "../chunks/report-preferences-dialog-dUlVLgEk.js";
2
2
  import { C as f, E as D } from "../chunks/bookmark-state-Bn7k3ttp.js";
3
3
  export {
4
4
  f as CONTROL_CARD_DEFAULT_VALUE,
@@ -37,8 +37,8 @@ export declare function applicableDateZoom(zoom: CardDateZoom | undefined, saved
37
37
  * otherwise. The one rule for any axis shape:
38
38
  * - every shaded bucket is a date (a blank inside the band or at its end can't
39
39
  * be zoomed: a date range leaves undated rows out);
40
- * - the shaded dates span two or more periods (a drag across the levels of
41
- * one date, on a two-level axis, isn't a zoom);
40
+ * - one period is a zoom into that period (DZ-D3, Rev 5), on a two-level
41
+ * axis too (the levels of one date);
42
42
  * - no bucket outside the band falls strictly between its first and last date
43
43
  * (an axis sorted by a measure would pull in periods the band skipped). A
44
44
  * bucket outside the band on the first or last date is the same period (a
@@ -1,4 +1,5 @@
1
1
  import { SemaphorFieldRef, SemaphorTimeGrain, SemaphorValidationResult } from './contracts.js';
2
+ import { TemporalShift } from '../temporal/calendar-periods.js';
2
3
  export type MetricComparisonSpec = {
3
4
  kind: 'previous_period';
4
5
  offsetPeriods?: number;
@@ -111,6 +112,12 @@ export type MetricComparisonOutputBase = {
111
112
  windowGrain?: MetricComparisonWindowGrain;
112
113
  currentWindow?: ResolvedDateWindow;
113
114
  comparisonWindow?: ResolvedDateWindow;
115
+ /**
116
+ * How far back `comparisonWindow` sits from `currentWindow`: the one step a
117
+ * consumer moves a date by to reach the comparison period (a clicked
118
+ * bucket, a selection). Set with the windows.
119
+ */
120
+ step?: TemporalShift;
114
121
  referenceTime?: string;
115
122
  temporalField?: SemaphorFieldRef;
116
123
  };
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.1.589",
8
+ "version": "0.1.590",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",