react-semaphor 0.1.53 → 0.1.55
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/chunks/{dashboard-plus-J68IeHCv.js → dashboard-plus-DNmZgxfx.js} +3268 -3219
- package/dist/chunks/{dashboard-plus-ClGTnSK6.js → dashboard-plus-DemHXmak.js} +48 -48
- package/dist/chunks/{index-B0yZKR31.js → index-DU6R1IHW.js} +175 -175
- package/dist/chunks/{index-BGSKqs86.js → index-DgxiixWp.js} +15258 -15035
- package/dist/dashboard/index.cjs +1 -1
- package/dist/dashboard/index.js +1 -1
- package/dist/index.cjs +1 -1
- package/dist/index.js +3 -3
- package/dist/style.css +1 -1
- package/dist/surfboard/index.cjs +1 -1
- package/dist/surfboard/index.js +1 -1
- package/dist/types/dashboard.d.ts +3 -1
- package/dist/types/main.d.ts +4 -1
- package/dist/types/surfboard.d.ts +3 -1
- package/dist/types/types.d.ts +3 -1
- package/package.json +1 -1
package/dist/surfboard/index.cjs
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-
|
|
1
|
+
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-DemHXmak.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
|
package/dist/surfboard/index.js
CHANGED
|
@@ -106,6 +106,7 @@ declare interface CardConfig {
|
|
|
106
106
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
107
107
|
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
108
108
|
targetValue?: number;
|
|
109
|
+
showComparisonInLegend?: boolean;
|
|
109
110
|
showTrendline?: boolean;
|
|
110
111
|
trendlineWindow?: number;
|
|
111
112
|
trendlineGranularity?: 'day' | 'week' | 'month';
|
|
@@ -1275,7 +1276,8 @@ export declare type TEvent = {
|
|
|
1275
1276
|
|
|
1276
1277
|
declare type TFilter = {
|
|
1277
1278
|
type?: 'single' | 'multiple';
|
|
1278
|
-
uiType?: 'radio' | 'dropdown';
|
|
1279
|
+
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
1280
|
+
defaultValues?: (string | number)[];
|
|
1279
1281
|
sheetId?: string;
|
|
1280
1282
|
location?: FilterLocation;
|
|
1281
1283
|
hide?: boolean;
|
package/dist/types/main.d.ts
CHANGED
|
@@ -90,6 +90,7 @@ declare type Actions = {
|
|
|
90
90
|
removeFilter: (filterId: string) => void;
|
|
91
91
|
updateFilter: (filter: TFilter) => void;
|
|
92
92
|
updateFilterId: (filterId: string, newId: string) => void;
|
|
93
|
+
setFilterDefaultValues: (filterId: string, defaultValues: (string | number)[] | undefined) => void;
|
|
93
94
|
setFilterValues: (filterValues: TFilterValue[] | undefined) => void;
|
|
94
95
|
addOrUpdateFilterValue: (filterValue: TFilterValue) => void;
|
|
95
96
|
addOrUpdateFilterValues: (filterValues: TFilterValue[]) => void;
|
|
@@ -350,6 +351,7 @@ export declare interface CardConfig {
|
|
|
350
351
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
351
352
|
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
352
353
|
targetValue?: number;
|
|
354
|
+
showComparisonInLegend?: boolean;
|
|
353
355
|
showTrendline?: boolean;
|
|
354
356
|
trendlineWindow?: number;
|
|
355
357
|
trendlineGranularity?: 'day' | 'week' | 'month';
|
|
@@ -1952,7 +1954,8 @@ export declare type TEvent = {
|
|
|
1952
1954
|
|
|
1953
1955
|
declare type TFilter = {
|
|
1954
1956
|
type?: 'single' | 'multiple';
|
|
1955
|
-
uiType?: 'radio' | 'dropdown';
|
|
1957
|
+
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
1958
|
+
defaultValues?: (string | number)[];
|
|
1956
1959
|
sheetId?: string;
|
|
1957
1960
|
location?: FilterLocation;
|
|
1958
1961
|
hide?: boolean;
|
|
@@ -106,6 +106,7 @@ declare interface CardConfig {
|
|
|
106
106
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
107
107
|
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
108
108
|
targetValue?: number;
|
|
109
|
+
showComparisonInLegend?: boolean;
|
|
109
110
|
showTrendline?: boolean;
|
|
110
111
|
trendlineWindow?: number;
|
|
111
112
|
trendlineGranularity?: 'day' | 'week' | 'month';
|
|
@@ -1280,7 +1281,8 @@ export declare type TEvent = {
|
|
|
1280
1281
|
|
|
1281
1282
|
declare type TFilter = {
|
|
1282
1283
|
type?: 'single' | 'multiple';
|
|
1283
|
-
uiType?: 'radio' | 'dropdown';
|
|
1284
|
+
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
1285
|
+
defaultValues?: (string | number)[];
|
|
1284
1286
|
sheetId?: string;
|
|
1285
1287
|
location?: FilterLocation;
|
|
1286
1288
|
hide?: boolean;
|
package/dist/types/types.d.ts
CHANGED
|
@@ -105,6 +105,7 @@ declare interface CardConfig {
|
|
|
105
105
|
clickFilterInteractions?: ClickFilterInteraction[];
|
|
106
106
|
comparisonType?: 'none' | 'previous_period' | 'same_period_last_year' | 'target' | 'start_vs_end';
|
|
107
107
|
targetValue?: number;
|
|
108
|
+
showComparisonInLegend?: boolean;
|
|
108
109
|
showTrendline?: boolean;
|
|
109
110
|
trendlineWindow?: number;
|
|
110
111
|
trendlineGranularity?: 'day' | 'week' | 'month';
|
|
@@ -1272,7 +1273,8 @@ export declare type TEvent = {
|
|
|
1272
1273
|
|
|
1273
1274
|
declare type TFilter = {
|
|
1274
1275
|
type?: 'single' | 'multiple';
|
|
1275
|
-
uiType?: 'radio' | 'dropdown';
|
|
1276
|
+
uiType?: 'radio' | 'dropdown' | 'tabs';
|
|
1277
|
+
defaultValues?: (string | number)[];
|
|
1276
1278
|
sheetId?: string;
|
|
1277
1279
|
location?: FilterLocation;
|
|
1278
1280
|
hide?: boolean;
|