react-semaphor 0.0.593 → 0.0.594

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.
@@ -1 +1 @@
1
- "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-CF2-56oq.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
1
+ "use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});const e=require("../chunks/dashboard-plus-0L3CHtnZ.js"),r=require("../types/index.cjs");exports.Surfboard=e.DashboardPlus;exports.EMPTY_SELECTION=r.EMPTY_SELECTION;
@@ -1,4 +1,4 @@
1
- import { D as f } from "../chunks/dashboard-plus-fE5Pfbcv.js";
1
+ import { D as f } from "../chunks/dashboard-plus-C-fw2Ob4.js";
2
2
  import { EMPTY_SELECTION as a } from "../types/index.js";
3
3
  export {
4
4
  a as EMPTY_SELECTION,
@@ -210,6 +210,8 @@ declare interface ColumnSettings {
210
210
  useCustomFormat: boolean;
211
211
  customFormat: string;
212
212
  useRelativeTime: boolean;
213
+ timezone?: string;
214
+ sourceTimezone?: string;
213
215
  };
214
216
  colorRanges: ColorRange_2[];
215
217
  }
@@ -421,6 +421,8 @@ declare interface ColumnSettings {
421
421
  useCustomFormat: boolean;
422
422
  customFormat: string;
423
423
  useRelativeTime: boolean;
424
+ timezone?: string;
425
+ sourceTimezone?: string;
424
426
  };
425
427
  colorRanges: ColorRange_2[];
426
428
  }
@@ -1702,7 +1704,7 @@ export declare type TLens = {
1702
1704
  * Parameters for customizing token behavior and formatting.
1703
1705
  */
1704
1706
  export declare type TokenParams = {
1705
- currencyFormat: {
1707
+ currencyFormat?: {
1706
1708
  /**
1707
1709
  * Locale identifier (e.g., 'en-US', 'fr-FR').
1708
1710
  */
@@ -1712,6 +1714,10 @@ export declare type TokenParams = {
1712
1714
  */
1713
1715
  currency: string;
1714
1716
  };
1717
+ /**
1718
+ * Time zone identifier (e.g., 'America/New_York', 'Europe/London').
1719
+ */
1720
+ timeZone?: string;
1715
1721
  };
1716
1722
 
1717
1723
  /**
@@ -210,6 +210,8 @@ declare interface ColumnSettings {
210
210
  useCustomFormat: boolean;
211
211
  customFormat: string;
212
212
  useRelativeTime: boolean;
213
+ timezone?: string;
214
+ sourceTimezone?: string;
213
215
  };
214
216
  colorRanges: ColorRange_2[];
215
217
  }
@@ -209,6 +209,8 @@ declare interface ColumnSettings {
209
209
  useCustomFormat: boolean;
210
210
  customFormat: string;
211
211
  useRelativeTime: boolean;
212
+ timezone?: string;
213
+ sourceTimezone?: string;
212
214
  };
213
215
  colorRanges: ColorRange_2[];
214
216
  }
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "email": "support@semaphor.cloud"
6
6
  },
7
7
  "license": "MIT",
8
- "version": "0.0.593",
8
+ "version": "0.0.594",
9
9
  "description": "Fully interactive and customizable dashboards for your apps.",
10
10
  "keywords": [
11
11
  "react",
@@ -88,6 +88,7 @@
88
88
  "clsx": "^2.0.0",
89
89
  "cmdk": "^1.1.1",
90
90
  "date-fns": "^3.6.0",
91
+ "date-fns-tz": "^3.2.0",
91
92
  "immer": "^10.0.3",
92
93
  "jwt-decode": "^4.0.0",
93
94
  "lodash.merge": "^4.6.2",