@spscommerce/ds-shared 7.12.3 → 7.14.0

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/lib/datetime.d.ts CHANGED
@@ -10,6 +10,7 @@ export interface SimpleDate {
10
10
  date: number;
11
11
  }
12
12
  export type SimpleDateRange = [SimpleDate, SimpleDate];
13
+ export type SimpleMomentRange = [Moment | null, Moment | null];
13
14
  export declare enum SelectMode {
14
15
  START = 0,
15
16
  END = 1
@@ -34,3 +35,7 @@ export interface DatePreset {
34
35
  label: string;
35
36
  definition: ISO8601String | (() => SimpleDateRange);
36
37
  }
38
+ export interface DateTimePreset {
39
+ label: string;
40
+ definition: ISO8601String | (() => SimpleMomentRange);
41
+ }
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@spscommerce/ds-shared",
3
3
  "description": "Package for sharing code and types between DS Angular and DS React.",
4
- "version": "7.12.3",
4
+ "version": "7.14.0",
5
5
  "author": "SPS Commerce",
6
6
  "license": "UNLICENSED",
7
7
  "repository": "https://github.com/spscommerce/woodland/tree/main/packages/@spscommerce/ds-shared",