react-timezone-range-picker 0.1.5 β 0.1.7
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/README.md +46 -11
- package/dist/AroundTimePanel/index.d.ts +1 -0
- package/dist/AroundTimePanel/index.d.ts.map +1 -1
- package/dist/AroundTimePanel/util.d.ts.map +1 -1
- package/dist/Footer/index.d.ts +5 -1
- package/dist/Footer/index.d.ts.map +1 -1
- package/dist/Provider/PopoverProvider.d.ts +1 -1
- package/dist/Provider/PopoverProvider.d.ts.map +1 -1
- package/dist/RelativeTimePanel/index.d.ts +1 -1
- package/dist/RelativeTimePanel/index.d.ts.map +1 -1
- package/dist/RelativeTimePanel/timeOptions.d.ts +1 -0
- package/dist/RelativeTimePanel/timeOptions.d.ts.map +1 -1
- package/dist/Sidebar/index.d.ts +1 -1
- package/dist/Sidebar/index.d.ts.map +1 -1
- package/dist/StartEndTimePanel/index.d.ts +1 -0
- package/dist/StartEndTimePanel/index.d.ts.map +1 -1
- package/dist/TimezonePanel/index.d.ts +1 -0
- package/dist/TimezonePanel/index.d.ts.map +1 -1
- package/dist/TimezonePanel/util/getBrowserTimezone.d.ts.map +1 -1
- package/dist/TimezonePanel/util/getTimezones.d.ts.map +1 -1
- package/dist/TimezoneRangePicker/AdvancedPickerView.d.ts +9 -0
- package/dist/TimezoneRangePicker/AdvancedPickerView.d.ts.map +1 -0
- package/dist/TimezoneRangePicker/BasicPickerView.d.ts +9 -0
- package/dist/TimezoneRangePicker/BasicPickerView.d.ts.map +1 -0
- package/dist/TimezoneRangePicker/index.d.ts +2 -7
- package/dist/TimezoneRangePicker/index.d.ts.map +1 -1
- package/dist/TimezoneRangePicker/panels.d.ts +7 -0
- package/dist/TimezoneRangePicker/panels.d.ts.map +1 -0
- package/dist/index.cjs.js +12 -12
- package/dist/index.cjs.js.map +1 -1
- package/dist/index.es.js +5881 -2080
- package/dist/index.es.js.map +1 -1
- package/dist/interfaces/index.d.ts +5 -0
- package/dist/interfaces/index.d.ts.map +1 -1
- package/dist/style.css +1 -1
- package/dist/util/dateTime.d.ts +15 -4
- package/dist/util/dateTime.d.ts.map +1 -1
- package/package.json +19 -15
package/README.md
CHANGED
|
@@ -4,20 +4,53 @@
|
|
|
4
4
|
|
|
5
5
|
[](https://www.npmjs.com/package/react-timezone-range-picker)
|
|
6
6
|
[](LICENSE)
|
|
7
|
-
[](https://react.dev)
|
|
8
8
|
|
|
9
9
|
---
|
|
10
10
|
|
|
11
11
|
## β¨ Features
|
|
12
12
|
|
|
13
|
-
- π
**
|
|
14
|
-
-
|
|
15
|
-
-
|
|
13
|
+
- π
**Basic picker by default** with a date-only range field and scrollable day quick ranges
|
|
14
|
+
- π οΈ **Advanced mode** with separate start/end date and time fields, relative ranges, around-time selection, and timezone changes
|
|
15
|
+
- π **Timezone-aware** display and conversion via the Temporal API with an old-browser polyfill
|
|
16
|
+
- π¨ **Mantine 9** components for accessibility and theming
|
|
16
17
|
- β‘οΈ **TypeScript** support with generated definitions
|
|
17
18
|
- πͺΆ **Lightweight** build via `vite`, tree-shakeable ESM + CJS outputs
|
|
18
19
|
|
|
19
20
|
---
|
|
20
21
|
|
|
22
|
+
## Picker modes
|
|
23
|
+
|
|
24
|
+
### Basic mode
|
|
25
|
+
|
|
26
|
+
The picker opens in basic mode on every mount. It provides a compact date-only range field and day-based quick options. Date and quick-option selections are applied immediately without an Apply button, and both returned times are set to `00:00:00`.
|
|
27
|
+
|
|
28
|
+
Select **Advanced** to open the full picker. In Advanced mode, use the **Basic** button on the left side of the footer to return to Basic mode.
|
|
29
|
+
|
|
30
|
+
### Advanced mode
|
|
31
|
+
|
|
32
|
+
Advanced mode provides the full picker with separate start/end date and time fields, relative time options, around-time selection, and timezone selection. Changes to its form-based panels are submitted with the Apply button.
|
|
33
|
+
|
|
34
|
+
### Restricting past or future ranges
|
|
35
|
+
|
|
36
|
+
Set `options.allowedTimeRange` to `"past"`, `"future"`, or `"all"` (the default). This filters quick options, limits date pickers, and validates date/time input against the current time in the selected timezone.
|
|
37
|
+
|
|
38
|
+
```tsx
|
|
39
|
+
<TimezoneRangePicker
|
|
40
|
+
{...range}
|
|
41
|
+
onApply={handleTimeRangeApply}
|
|
42
|
+
options={{
|
|
43
|
+
allowedTimeRange: "future",
|
|
44
|
+
// Adds today as a whole calendar day to Last/Next day ranges
|
|
45
|
+
includeTodayInQuickRanges: true,
|
|
46
|
+
}}
|
|
47
|
+
/>
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
`Today`, `Yesterday`, and `Tomorrow` use complete calendar-day boundaries (for example, Today 00:00 through Tomorrow 00:00). By default, `Last 2 days` and `Next 2 days` select two complete days before or after today. Set `includeTodayInQuickRanges` to `true` to add the complete current day to those ranges.
|
|
51
|
+
|
|
52
|
+
---
|
|
53
|
+
|
|
21
54
|
## π¦ Installation
|
|
22
55
|
|
|
23
56
|
```bash
|
|
@@ -34,17 +67,19 @@ pnpm add react-timezone-range-picker
|
|
|
34
67
|
**Peer dependencies:**
|
|
35
68
|
You must install these in your project:
|
|
36
69
|
|
|
37
|
-
- `react` (>=
|
|
38
|
-
- `react-dom` (>=
|
|
39
|
-
- `@mantine/core` (>=
|
|
40
|
-
- `@mantine/dates` (>=
|
|
41
|
-
- `@mantine/
|
|
70
|
+
- `react` (>=19.2.0)
|
|
71
|
+
- `react-dom` (>=19.2.0)
|
|
72
|
+
- `@mantine/core` (>=9.5.2)
|
|
73
|
+
- `@mantine/dates` (>=9.5.2)
|
|
74
|
+
- `@mantine/form` (>=9.5.2)
|
|
75
|
+
- `@mantine/hooks` (>=9.5.2)
|
|
42
76
|
|
|
43
77
|
---
|
|
44
78
|
|
|
45
79
|
## Usage
|
|
46
80
|
|
|
47
81
|
```tsx
|
|
82
|
+
import { useState } from "react";
|
|
48
83
|
import {
|
|
49
84
|
TimezoneRangePicker,
|
|
50
85
|
type OnApplyParams,
|
|
@@ -60,9 +95,9 @@ const DEFAULT_TIMEZONE = {
|
|
|
60
95
|
};
|
|
61
96
|
|
|
62
97
|
const DEFAULT_RANGE = {
|
|
63
|
-
startDate: "2025
|
|
98
|
+
startDate: "2025/06/10",
|
|
64
99
|
startTime: "09:00:00",
|
|
65
|
-
endDate: "2025
|
|
100
|
+
endDate: "2025/06/11",
|
|
66
101
|
endTime: "18:00:00",
|
|
67
102
|
timezone: DEFAULT_TIMEZONE,
|
|
68
103
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AroundTimePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/AroundTimePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAc3B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxC,UAAU,gBAAgB;IACxB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,eAAe,EAAE,EAAE,CAAC,gBAAgB,CA4IzC,CAAC;AAEF,OAAO,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/AroundTimePanel/util.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../src/AroundTimePanel/util.ts"],"names":[],"mappings":"AAEA,oBAAY,UAAU;IACpB,aAAa,sBAAiB;IAC9B,SAAS,oBAAe;IACxB,cAAc,sBAAiB;IAC/B,aAAa,sBAAiB;IAC9B,OAAO,kBAAa;IACpB,MAAM,iBAAY;CACnB;AAED,eAAO,MAAM,YAAY,cAOxB,CAAC;AAEF,eAAO,MAAM,mBAAmB,GAAI,MAAM,MAAM,GAAG,IAAI,EAAE,MAAM,MAAM,EAAE,YAAY,UAAU;;;;;CAgE5F,CAAC"}
|
package/dist/Footer/index.d.ts
CHANGED
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
|
|
1
|
+
interface FooterProps {
|
|
2
|
+
onBasic: () => void;
|
|
3
|
+
}
|
|
4
|
+
export declare const Footer: ({ onBasic }: FooterProps) => import("react").JSX.Element;
|
|
5
|
+
export {};
|
|
2
6
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Footer/index.tsx"],"names":[],"mappings":"AAKA,eAAO,MAAM,MAAM
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Footer/index.tsx"],"names":[],"mappings":"AAKA,UAAU,WAAW;IACnB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,MAAM,GAAI,aAAa,WAAW,gCAqC9C,CAAC"}
|
|
@@ -7,6 +7,6 @@ interface PopoverContextType {
|
|
|
7
7
|
export declare const usePopoverContext: () => PopoverContextType;
|
|
8
8
|
export declare const PopoverProvider: ({ children }: {
|
|
9
9
|
children: ReactNode;
|
|
10
|
-
}) => import("react
|
|
10
|
+
}) => import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
12
12
|
//# sourceMappingURL=PopoverProvider.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoverProvider.d.ts","sourceRoot":"","sources":["../../src/Provider/PopoverProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;AAEjG,UAAU,kBAAkB;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpD,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAID,eAAO,MAAM,iBAAiB,0BAI7B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,
|
|
1
|
+
{"version":3,"file":"PopoverProvider.d.ts","sourceRoot":"","sources":["../../src/Provider/PopoverProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAiB,QAAQ,EAAE,SAAS,EAAE,cAAc,EAAwB,MAAM,OAAO,CAAC;AAEjG,UAAU,kBAAkB;IAC1B,aAAa,EAAE,OAAO,CAAC;IACvB,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,OAAO,CAAC,CAAC,CAAC;IACpD,YAAY,EAAE,MAAM,IAAI,CAAC;CAC1B;AAID,eAAO,MAAM,iBAAiB,0BAI7B,CAAC;AAEF,eAAO,MAAM,eAAe,GAAI,cAAc;IAAE,QAAQ,EAAE,SAAS,CAAA;CAAE,gCAYpE,CAAC"}
|
|
@@ -2,6 +2,6 @@ import { TzRange } from "../interfaces";
|
|
|
2
2
|
interface IRelativeTimePanel {
|
|
3
3
|
tzRange: TzRange;
|
|
4
4
|
}
|
|
5
|
-
export declare const RelativeTimePanel: ({ tzRange }: IRelativeTimePanel) => import("react
|
|
5
|
+
export declare const RelativeTimePanel: ({ tzRange }: IRelativeTimePanel) => import("react").JSX.Element;
|
|
6
6
|
export {};
|
|
7
7
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RelativeTimePanel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,GAAI,aAAa,kBAAkB,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/RelativeTimePanel/index.tsx"],"names":[],"mappings":"AAOA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAGxC,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;CAClB;AAED,eAAO,MAAM,iBAAiB,GAAI,aAAa,kBAAkB,gCAmFhE,CAAC"}
|
|
@@ -6,6 +6,7 @@ export interface ITimeOptions {
|
|
|
6
6
|
startTime: string;
|
|
7
7
|
endTime: string;
|
|
8
8
|
unit: QuickRangeUnit;
|
|
9
|
+
direction: "past" | "future" | "present";
|
|
9
10
|
lineBreak?: boolean;
|
|
10
11
|
}
|
|
11
12
|
export declare const getTimeOptions: (timezoneName: string, options?: TimezoneRangePickerOptions) => ITimeOptions[];
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"timeOptions.d.ts","sourceRoot":"","sources":["../../src/RelativeTimePanel/timeOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"timeOptions.d.ts","sourceRoot":"","sources":["../../src/RelativeTimePanel/timeOptions.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,0BAA0B,EAAE,MAAM,eAAe,CAAC;AAG3D,MAAM,MAAM,cAAc,GAAG,SAAS,GAAG,SAAS,GAAG,OAAO,GAAG,MAAM,CAAC;AAEtE,MAAM,WAAW,YAAY;IAC3B,KAAK,EAAE,MAAM,CAAC;IACd,SAAS,EAAE,MAAM,CAAC;IAClB,SAAS,EAAE,MAAM,CAAC;IAClB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,cAAc,CAAC;IACrB,SAAS,EAAE,MAAM,GAAG,QAAQ,GAAG,SAAS,CAAC;IACzC,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAyGD,eAAO,MAAM,cAAc,GACzB,cAAc,MAAM,EACpB,UAAU,0BAA0B,KACnC,YAAY,EAgBd,CAAC"}
|
package/dist/Sidebar/index.d.ts
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Sidebar/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/Sidebar/index.tsx"],"names":[],"mappings":"AAQA,OAAO,EAAE,QAAQ,EAAE,EAAE,EAAE,cAAc,EAAE,MAAM,OAAO,CAAC;AACrD,OAAO,EAAE,KAAK,EAAE,MAAM,+BAA+B,CAAC;AAEtD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAExC,UAAU,QAAQ;IAChB,OAAO,EAAE,OAAO,CAAC;IACjB,gBAAgB,EAAE,QAAQ,CAAC,cAAc,CAAC,KAAK,CAAC,CAAC,CAAC;IAClD,kBAAkB,CAAC,EAAE,OAAO,CAAC;CAC9B;AAED,eAAO,MAAM,OAAO,EAAE,EAAE,CAAC,QAAQ,CAuDhC,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/StartEndTimePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/StartEndTimePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,OAAO,CAAC;AAgB3B,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAOxC,UAAU,kBAAkB;IAC1B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,iBAAiB,EAAE,EAAE,CAAC,kBAAkB,CA+K7C,CAAC;AAEF,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TimezonePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA2C,MAAM,OAAO,CAAC;AASpE,OAAO,EAAgB,OAAO,EAAE,MAAM,eAAe,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TimezonePanel/index.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAA2C,MAAM,OAAO,CAAC;AASpE,OAAO,EAAgB,OAAO,EAAE,MAAM,eAAe,CAAC;AAatD,UAAU,cAAc;IACtB,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,QAAA,MAAM,aAAa,EAAE,EAAE,CAAC,cAAc,CA0HrC,CAAC;AAEF,OAAO,EAAE,aAAa,EAAE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getBrowserTimezone.d.ts","sourceRoot":"","sources":["../../../src/TimezonePanel/util/getBrowserTimezone.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getBrowserTimezone.d.ts","sourceRoot":"","sources":["../../../src/TimezonePanel/util/getBrowserTimezone.ts"],"names":[],"mappings":"AASA,eAAO,MAAM,kBAAkB;;;;;;CAY9B,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"getTimezones.d.ts","sourceRoot":"","sources":["../../../src/TimezonePanel/util/getTimezones.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"getTimezones.d.ts","sourceRoot":"","sources":["../../../src/TimezonePanel/util/getTimezones.ts"],"names":[],"mappings":"AAiBA,eAAO,MAAM,YAAY;;;;;;GAgBxB,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { TzRange } from "../interfaces";
|
|
3
|
+
interface AdvancedPickerViewProps {
|
|
4
|
+
tzRange: TzRange;
|
|
5
|
+
onBasic: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const AdvancedPickerView: FC<AdvancedPickerViewProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=AdvancedPickerView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"AdvancedPickerView.d.ts","sourceRoot":"","sources":["../../src/TimezoneRangePicker/AdvancedPickerView.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,EAAE,EAAuB,MAAM,OAAO,CAAC;AAKhD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIxC,UAAU,uBAAuB;IAC/B,OAAO,EAAE,OAAO,CAAC;IACjB,OAAO,EAAE,MAAM,IAAI,CAAC;CACrB;AAED,eAAO,MAAM,kBAAkB,EAAE,EAAE,CAAC,uBAAuB,CAoD1D,CAAC"}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { FC } from "react";
|
|
2
|
+
import { TzRange } from "../interfaces";
|
|
3
|
+
interface BasicPickerViewProps {
|
|
4
|
+
tzRange: TzRange;
|
|
5
|
+
onAdvanced: () => void;
|
|
6
|
+
}
|
|
7
|
+
export declare const BasicPickerView: FC<BasicPickerViewProps>;
|
|
8
|
+
export {};
|
|
9
|
+
//# sourceMappingURL=BasicPickerView.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"BasicPickerView.d.ts","sourceRoot":"","sources":["../../src/TimezoneRangePicker/BasicPickerView.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,EAAE,EAAgC,MAAM,OAAO,CAAC;AAKzD,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAIxC,UAAU,oBAAoB;IAC5B,OAAO,EAAE,OAAO,CAAC;IACjB,UAAU,EAAE,MAAM,IAAI,CAAC;CACxB;AAOD,eAAO,MAAM,eAAe,EAAE,EAAE,CAAC,oBAAoB,CA4GpD,CAAC"}
|
|
@@ -1,10 +1,5 @@
|
|
|
1
1
|
import { TzRange } from "../interfaces";
|
|
2
|
-
export
|
|
3
|
-
|
|
4
|
-
START_END_TIME = "Start and end times",
|
|
5
|
-
AROUND_TIME = "Around a time",
|
|
6
|
-
TIMEZONE = "Time zone"
|
|
7
|
-
}
|
|
8
|
-
declare const TimezoneRangePickerWrapper: (props: TzRange) => import("react/jsx-runtime").JSX.Element;
|
|
2
|
+
export { Panel } from "./panels";
|
|
3
|
+
declare const TimezoneRangePickerWrapper: (props: TzRange) => import("react").JSX.Element;
|
|
9
4
|
export { TimezoneRangePickerWrapper as TimezoneRangePicker };
|
|
10
5
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TimezoneRangePicker/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/TimezoneRangePicker/index.tsx"],"names":[],"mappings":"AAIA,OAAO,EAAE,OAAO,EAAE,MAAM,eAAe,CAAC;AAMxC,OAAO,EAAE,KAAK,EAAE,MAAM,UAAU,CAAC;AAgFjC,QAAA,MAAM,0BAA0B,GAAI,OAAO,OAAO,gCAIjD,CAAC;AAEF,OAAO,EAAE,0BAA0B,IAAI,mBAAmB,EAAE,CAAC"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"panels.d.ts","sourceRoot":"","sources":["../../src/TimezoneRangePicker/panels.ts"],"names":[],"mappings":"AAAA,oBAAY,KAAK;IACf,aAAa,kBAAkB;IAC/B,cAAc,wBAAwB;IACtC,WAAW,kBAAkB;IAC7B,QAAQ,cAAc;CACvB"}
|