react-semaphor 0.1.531 → 0.1.532
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/brand-studio/index.js +1 -1
- package/dist/chunks/{dashboard-BHMHze_t.js → dashboard-BoSKlMPx.js} +1 -1
- package/dist/chunks/{dashboard-briefing-launcher-nHbT_XPG.js → dashboard-briefing-launcher-BR5llbxb.js} +3 -3
- package/dist/chunks/{dashboard-controls-Chv8n1oV.js → dashboard-controls-4Thl0eL1.js} +4 -4
- package/dist/chunks/{dashboard-json-XgY8U_hG.js → dashboard-json-Ez0I7b2H.js} +1 -1
- package/dist/chunks/{edit-dashboard-visual-CcxZN7C6.js → edit-dashboard-visual-DpGb6dpY.js} +4 -4
- package/dist/chunks/{editor-action-buttons-CCzvDROJ.js → editor-action-buttons--SQ3CcBI.js} +2 -2
- package/dist/chunks/{report-preferences-dialog-D2Tz_5WT.js → report-preferences-dialog-Cv_2GMlz.js} +5 -5
- package/dist/chunks/{semaphor-ready-indicator-CpbyewzC.js → semaphor-ready-indicator-lALyc-pQ.js} +33581 -33647
- package/dist/chunks/{slider-p0D5yTI_.js → slider-DlRYiI2m.js} +3 -3
- package/dist/chunks/{switch-JmX27lNB.js → switch-CCOKraBb.js} +6 -6
- package/dist/dashboard/index.js +1 -1
- package/dist/index.js +8 -8
- package/dist/surfboard/index.js +1 -1
- package/dist/types/components/ui-custom/date-range-picker.d.ts +18 -6
- package/package.json +1 -1
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { jsxs as B, jsx as p, Fragment as fe } from "react/jsx-runtime";
|
|
2
2
|
import * as C from "react";
|
|
3
3
|
import Ue, { useState as pe, useRef as F, useCallback as W, useEffect as Q, forwardRef as ge, useMemo as T, memo as Qe, Suspense as Ye } from "react";
|
|
4
|
-
import { ax as $e, ay as oe, az as he, aA as Ge, aB as je, aC as We, aD as Xe, aE as Je, aF as Ze, aG as et, aH as tt, aI as nt, aJ as rt, aK as ot, aL as st, aM as at } from "./semaphor-ready-indicator-
|
|
5
|
-
import { a4 as Se, a5 as z, a6 as k, c as ve, a7 as it, a2 as L, a3 as ye, C as be, B as lt, a8 as ct, a9 as ut, u as Z, aa as dt, ab as ft, ac as H, ad as mt, ae as Ce, af as pt, ag as gt } from "./switch-
|
|
4
|
+
import { ax as $e, ay as oe, az as he, aA as Ge, aB as je, aC as We, aD as Xe, aE as Je, aF as Ze, aG as et, aH as tt, aI as nt, aJ as rt, aK as ot, aL as st, aM as at } from "./semaphor-ready-indicator-lALyc-pQ.js";
|
|
5
|
+
import { a4 as Se, a5 as z, a6 as k, c as ve, a7 as it, a2 as L, a3 as ye, C as be, B as lt, a8 as ct, a9 as ut, u as Z, aa as dt, ab as ft, ac as H, ad as mt, ae as Ce, af as pt, ag as gt } from "./switch-CCOKraBb.js";
|
|
6
6
|
import "./x-CXDkqdur.js";
|
|
7
7
|
import "./validators-BS521dum.js";
|
|
8
8
|
import "./matrix-operation-contract-BotZ-6zT.js";
|
|
9
9
|
import "zod";
|
|
10
10
|
import "../value-format-preferences/index.js";
|
|
11
|
-
import { u as Ee, r as we, f as Re } from "./editor-action-buttons
|
|
11
|
+
import { u as Ee, r as we, f as Re } from "./editor-action-buttons--SQ3CcBI.js";
|
|
12
12
|
import { M as ht } from "./selection-reducer-DQok8gsC.js";
|
|
13
13
|
import "./card-config-utils-DqyASiD_.js";
|
|
14
14
|
import { P as St, r as vt, g as yt, a as me, b as ee, n as bt, c as Ct } from "./index-BpAM7UE0.js";
|
|
@@ -11,7 +11,7 @@ import Wc from "react-dom";
|
|
|
11
11
|
import { u as im } from "./appearance-context-DEYtWinQ.js";
|
|
12
12
|
import { r as am, l as Ra, v as yt, D as ro, B as Pa, n as sm, o as lm, p as oo, q as cm, s as Bs, h as dm, t as um, b as fm, u as $s, x as $e } from "./card-config-utils-DqyASiD_.js";
|
|
13
13
|
import { A as Gi, z as pm, m as rr, j as Na, N as hm, n as vt, e as zs, u as $t, c as Hc, d as ko, a as io, b as Gc, K as Te, l as mm, k as Kc, r as Yc, o as Xc, f as Qc, h as gm, H as Ar } from "./calculated-field-identity-Q1aCudPD.js";
|
|
14
|
-
import { a as bm, C as ym, u as Zc, B as vm, x as Im,
|
|
14
|
+
import { a as bm, C as ym, u as Zc, B as vm, x as Im, m as Sm, w as Jc, z as Oa, A as ed, t as Cm, d as Ki, e as Yi, c as xm, g as ot, i as wm, b as Tm, D as _a, F as td, r as ao, j as Em } from "./calendar-day-equality-Ddkpfhot.js";
|
|
15
15
|
import { b as Fm } from "./report-runtime-context-DceiWMKz.js";
|
|
16
16
|
import { i as nd, a as Dm, r as Am } from "./matrix-card-CkfMe-h-.js";
|
|
17
17
|
import "./matrix-continuation-C4sRcjZU.js";
|
|
@@ -23861,13 +23861,13 @@ export {
|
|
|
23861
23861
|
hw as dI,
|
|
23862
23862
|
vo as dJ,
|
|
23863
23863
|
jg as dK,
|
|
23864
|
-
|
|
23864
|
+
iD as dL,
|
|
23865
23865
|
sD as dM,
|
|
23866
23866
|
cD as dN,
|
|
23867
|
-
|
|
23868
|
-
|
|
23869
|
-
|
|
23870
|
-
|
|
23867
|
+
lD as dO,
|
|
23868
|
+
Kg as dP,
|
|
23869
|
+
Vg as dQ,
|
|
23870
|
+
oD as dR,
|
|
23871
23871
|
Lg as dS,
|
|
23872
23872
|
pA as dT,
|
|
23873
23873
|
SS as dU,
|
package/dist/dashboard/index.js
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,19 +1,19 @@
|
|
|
1
|
-
import { D as j } from "./chunks/dashboard-
|
|
1
|
+
import { D as j } from "./chunks/dashboard-BoSKlMPx.js";
|
|
2
2
|
import { C as Ze, E as ea } from "./chunks/common-types-C6cAQgyh.js";
|
|
3
|
-
import { a as ta, R as ra, D as sa } from "./chunks/report-preferences-dialog-
|
|
3
|
+
import { a as ta, R as ra, D as sa } from "./chunks/report-preferences-dialog-Cv_2GMlz.js";
|
|
4
4
|
import { jsx as n, jsxs as C } from "react/jsx-runtime";
|
|
5
|
-
import { E as _, F as k, S as I, a as M, U as O, c as U, C as V, V as z, d as $, e as H, f as W, g as q, I as K, R as Q, h as G, i as Y, j as J, k as X } from "./chunks/semaphor-ready-indicator-
|
|
6
|
-
import { ak as na, al as ia, am as la, B as ca, T as ua, A as da, y as pa, x as fa, at as ha, M as ma, m as ga, p as Ca, p as ya, q as ba, z as Ea, af as Da, ah as va, ai as Aa, ag as xa, a6 as wa, a9 as Sa, as as Ta, Z as Ba, ae as Na, ao as _a, a1 as Fa, aa as Pa, w as Ra, v as La, aw as ja, Y as ka, ab as Ia, ac as Ma, a5 as Oa, a8 as Ua, ar as Va, aq as za, ap as $a, av as Ha, au as Wa, a7 as qa, X as Ka, W as Qa, $ as Ga, ad as Ya, a3 as Ja, a0 as Xa, a2 as Za, a4 as et, _ as at, O as tt, K as rt, an as st, t as ot, H as nt, s as it, l as lt, G as ct, J as ut, n as dt, Q as pt, N as ft, L as ht, P as mt, u as gt, r as Ct, o as yt, aj as bt } from "./chunks/semaphor-ready-indicator-
|
|
7
|
-
import { u as Z, P as ee, a as ae, B as te, c as B, b as re, d as se } from "./chunks/switch-
|
|
8
|
-
import { a1 as Dt, M as vt, z as At, A as xt, E as wt, O as St, N as Tt, W as Bt, X as Nt, K as _t, D as Ft, J as Pt, Q as Rt, H as Lt, G as jt, F as kt, Y as It, V as Mt, Z as Ot, $ as Ut, _ as Vt, a0 as zt, a3 as $t, a2 as Ht } from "./chunks/switch-
|
|
5
|
+
import { E as _, F as k, S as I, a as M, U as O, c as U, C as V, V as z, d as $, e as H, f as W, g as q, I as K, R as Q, h as G, i as Y, j as J, k as X } from "./chunks/semaphor-ready-indicator-lALyc-pQ.js";
|
|
6
|
+
import { ak as na, al as ia, am as la, B as ca, T as ua, A as da, y as pa, x as fa, at as ha, M as ma, m as ga, p as Ca, p as ya, q as ba, z as Ea, af as Da, ah as va, ai as Aa, ag as xa, a6 as wa, a9 as Sa, as as Ta, Z as Ba, ae as Na, ao as _a, a1 as Fa, aa as Pa, w as Ra, v as La, aw as ja, Y as ka, ab as Ia, ac as Ma, a5 as Oa, a8 as Ua, ar as Va, aq as za, ap as $a, av as Ha, au as Wa, a7 as qa, X as Ka, W as Qa, $ as Ga, ad as Ya, a3 as Ja, a0 as Xa, a2 as Za, a4 as et, _ as at, O as tt, K as rt, an as st, t as ot, H as nt, s as it, l as lt, G as ct, J as ut, n as dt, Q as pt, N as ft, L as ht, P as mt, u as gt, r as Ct, o as yt, aj as bt } from "./chunks/semaphor-ready-indicator-lALyc-pQ.js";
|
|
7
|
+
import { u as Z, P as ee, a as ae, B as te, c as B, b as re, d as se } from "./chunks/switch-CCOKraBb.js";
|
|
8
|
+
import { a1 as Dt, M as vt, z as At, A as xt, E as wt, O as St, N as Tt, W as Bt, X as Nt, K as _t, D as Ft, J as Pt, Q as Rt, H as Lt, G as jt, F as kt, Y as It, V as Mt, Z as Ot, $ as Ut, _ as Vt, a0 as zt, a3 as $t, a2 as Ht } from "./chunks/switch-CCOKraBb.js";
|
|
9
9
|
import * as w from "react";
|
|
10
10
|
import F, { useMemo as oe, useEffect as P } from "react";
|
|
11
11
|
import { D as qt } from "./chunks/token-types-Brc30mNN.js";
|
|
12
12
|
import { C as Qt, D as Gt, L as Yt, P as Jt, f as Xt, g as Zt, k as er, j as ar, l as tr, e as rr, c as sr, b as or, d as nr, n as ir, h as lr } from "./chunks/validators-BS521dum.js";
|
|
13
|
-
import { A as ur, h as dr, D as pr, f as fr, g as hr, e as mr, b as gr, E as Cr, N as yr, U as br, a as Er, V as Dr, W as vr, u as Ar, c as xr, d as wr } from "./chunks/dashboard-briefing-launcher-
|
|
13
|
+
import { A as ur, h as dr, D as pr, f as fr, g as hr, e as mr, b as gr, E as Cr, N as yr, U as br, a as Er, V as Dr, W as vr, u as Ar, c as xr, d as wr } from "./chunks/dashboard-briefing-launcher-BR5llbxb.js";
|
|
14
14
|
import { u as Tr } from "./chunks/use-debounced-dirty-check-BwAbnX_5.js";
|
|
15
15
|
import { createRoot as ne } from "react-dom/client";
|
|
16
|
-
import "./chunks/slider-
|
|
16
|
+
import "./chunks/slider-DlRYiI2m.js";
|
|
17
17
|
import "./chunks/matrix-operation-contract-BotZ-6zT.js";
|
|
18
18
|
import "zod";
|
|
19
19
|
import "./chunks/matrix-continuation-C4sRcjZU.js";
|
package/dist/surfboard/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-
|
|
1
|
+
import { a, R as s, D as o } from "../chunks/report-preferences-dialog-Cv_2GMlz.js";
|
|
2
2
|
import { C as f, E as D } from "../chunks/common-types-C6cAQgyh.js";
|
|
3
3
|
export {
|
|
4
4
|
f as CONTROL_CARD_DEFAULT_VALUE,
|
|
@@ -7,24 +7,32 @@ export type PresetOption = {
|
|
|
7
7
|
value: (timezone: string, weekStart: WeekStart, now: Date) => DateRange;
|
|
8
8
|
category: 'time' | 'year' | 'quarter' | 'month' | 'week' | 'day';
|
|
9
9
|
};
|
|
10
|
-
export type
|
|
10
|
+
export type DateSelectionChangeOptions = {
|
|
11
11
|
temporalPrecision?: TemporalPrecision;
|
|
12
|
+
/**
|
|
13
|
+
* The condition chosen in the popover, sent with the dates on Apply (and on
|
|
14
|
+
* a preset click) when the picker shows conditions (`comparisonOptions`).
|
|
15
|
+
*/
|
|
16
|
+
operation?: DateComparisonOperation;
|
|
12
17
|
};
|
|
13
18
|
export interface DateRangePickerProps {
|
|
14
19
|
value?: DateRange;
|
|
15
|
-
onChange?: (range: DateRange | undefined, options?:
|
|
20
|
+
onChange?: (range: DateRange | undefined, options?: DateSelectionChangeOptions) => void;
|
|
16
21
|
selectionMode?: 'range' | 'single';
|
|
17
22
|
singleValue?: Date;
|
|
18
|
-
onSingleChange?: (date: Date | undefined, options?:
|
|
23
|
+
onSingleChange?: (date: Date | undefined, options?: DateSelectionChangeOptions) => void;
|
|
19
24
|
comparisonOptions?: Array<{
|
|
20
25
|
value: DateComparisonOperation;
|
|
21
26
|
label: string;
|
|
22
27
|
}>;
|
|
28
|
+
/**
|
|
29
|
+
* The applied condition. The picker keeps its own draft condition, seeded
|
|
30
|
+
* from this, and sends it with the dates on Apply (`options.operation`).
|
|
31
|
+
*/
|
|
23
32
|
comparisonValue?: DateComparisonOperation;
|
|
24
|
-
onComparisonChange?: (value: DateComparisonOperation) => void;
|
|
25
33
|
comparisonLabel?: string;
|
|
26
34
|
hideDateInputs?: boolean;
|
|
27
|
-
onRelativeSelect?: (range: DateRange, meta: RelativeDateFilter, options?:
|
|
35
|
+
onRelativeSelect?: (range: DateRange, meta: RelativeDateFilter, options?: DateSelectionChangeOptions) => void;
|
|
28
36
|
/** Applied relative selection, used to restore the matching preset interval. */
|
|
29
37
|
relativeValue?: RelativeDateFilter;
|
|
30
38
|
placeholder?: string;
|
|
@@ -33,6 +41,10 @@ export interface DateRangePickerProps {
|
|
|
33
41
|
showRelativeTab?: boolean;
|
|
34
42
|
hideCalendar?: boolean;
|
|
35
43
|
disabled?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Time inputs are available. With conditions shown, the picker also applies
|
|
46
|
+
* the per-condition rule to its draft condition.
|
|
47
|
+
*/
|
|
36
48
|
enableTimePrecision?: boolean;
|
|
37
49
|
temporalPrecision?: TemporalPrecision;
|
|
38
50
|
buttonClassName?: string;
|
|
@@ -70,4 +82,4 @@ export interface DateRangePickerProps {
|
|
|
70
82
|
/** Notifies nested-popover owners when this picker opens or closes. */
|
|
71
83
|
onOpenChange?: (open: boolean) => void;
|
|
72
84
|
}
|
|
73
|
-
export declare function DateRangePicker({ value, onChange, selectionMode, singleValue, onSingleChange, comparisonOptions, comparisonValue,
|
|
85
|
+
export declare function DateRangePicker({ value, onChange, selectionMode, singleValue, onSingleChange, comparisonOptions, comparisonValue, comparisonLabel, hideDateInputs, onRelativeSelect, relativeValue, placeholder, className, timezone, showRelativeTab, hideCalendar, disabled, enableTimePrecision: timePrecisionAvailable, temporalPrecision, buttonClassName, buttonLabelSuffix, relativeSummary, singleValueLabel, contentClassName, overlayContentClassName, targetColumns, selectedColumn, onColumnChange, inline, onApplied, supplementalFooter, onOpenChange, }: DateRangePickerProps): import("react").JSX.Element;
|