@itilite/lumina-ui 1.0.7-alpha → 1.0.9-alpha

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.
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimeValue {
4
+ hour: string;
5
+ minute: string;
6
+ period: "AM" | "PM";
7
+ }
8
+ interface DateRangeValue {
9
+ startDate: Date | null;
10
+ endDate: Date | null;
11
+ startTime: TimeValue;
12
+ endTime: TimeValue;
13
+ timezone: string;
14
+ activePreset?: string;
15
+ }
16
+ interface PresetOption {
17
+ label: string;
18
+ key: string;
19
+ getRange: () => (Date | null)[];
20
+ }
21
+ interface TimezoneOption {
22
+ label: string;
23
+ value: string;
24
+ }
25
+ interface DateRangePickerProps {
26
+ /** Controlled value for the date range */
27
+ value?: DateRangeValue;
28
+ /** Called when the user clicks "Done" */
29
+ onChange?: (value: DateRangeValue) => void;
30
+ /** Called on every selection change (live) */
31
+ onRangeChange?: (value: DateRangeValue) => void;
32
+ /** Label for the confirm button. Defaults to "Done" */
33
+ confirmLabel?: string;
34
+ /** Additional class name for the root wrapper */
35
+ className?: string;
36
+ /** Whether the picker is disabled */
37
+ disabled?: boolean;
38
+ /** Disable dates before today */
39
+ disablePastDates?: boolean;
40
+ /** Minimum selectable date (ISO string) */
41
+ minDate?: string | null;
42
+ /** Maximum selectable date (ISO string) */
43
+ maxDate?: string | null;
44
+ /** Show a single calendar instead of two */
45
+ showSingleCalendar?: boolean;
46
+ /** Id prefix for accessibility */
47
+ id?: string;
48
+ defaultTimezone?: string;
49
+ isTimezoneDisabled?: boolean;
50
+ timezoneOptions?: TimezoneOption[];
51
+ /** Initial active preset key. Defaults to "custom". e.g. "this-month", "yesterday" */
52
+ defaultPreset?: string;
53
+ /** Custom presets passed from parent */
54
+ presets?: PresetOption[];
55
+ }
56
+
57
+ declare function AdvancedDateRangePicker({ value, onChange, confirmLabel, className, disabled, disablePastDates, minDate, maxDate, showSingleCalendar, id, defaultTimezone, isTimezoneDisabled, timezoneOptions, defaultPreset, presets, }: DateRangePickerProps): React.JSX.Element;
58
+ declare namespace AdvancedDateRangePicker {
59
+ var displayName: string;
60
+ }
61
+
62
+ export { AdvancedDateRangePicker as A, type DateRangePickerProps as D, type PresetOption as P, type TimeValue as T, type DateRangeValue as a, type TimezoneOption as b };
@@ -0,0 +1,62 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimeValue {
4
+ hour: string;
5
+ minute: string;
6
+ period: "AM" | "PM";
7
+ }
8
+ interface DateRangeValue {
9
+ startDate: Date | null;
10
+ endDate: Date | null;
11
+ startTime: TimeValue;
12
+ endTime: TimeValue;
13
+ timezone: string;
14
+ activePreset?: string;
15
+ }
16
+ interface PresetOption {
17
+ label: string;
18
+ key: string;
19
+ getRange: () => (Date | null)[];
20
+ }
21
+ interface TimezoneOption {
22
+ label: string;
23
+ value: string;
24
+ }
25
+ interface DateRangePickerProps {
26
+ /** Controlled value for the date range */
27
+ value?: DateRangeValue;
28
+ /** Called when the user clicks "Done" */
29
+ onChange?: (value: DateRangeValue) => void;
30
+ /** Called on every selection change (live) */
31
+ onRangeChange?: (value: DateRangeValue) => void;
32
+ /** Label for the confirm button. Defaults to "Done" */
33
+ confirmLabel?: string;
34
+ /** Additional class name for the root wrapper */
35
+ className?: string;
36
+ /** Whether the picker is disabled */
37
+ disabled?: boolean;
38
+ /** Disable dates before today */
39
+ disablePastDates?: boolean;
40
+ /** Minimum selectable date (ISO string) */
41
+ minDate?: string | null;
42
+ /** Maximum selectable date (ISO string) */
43
+ maxDate?: string | null;
44
+ /** Show a single calendar instead of two */
45
+ showSingleCalendar?: boolean;
46
+ /** Id prefix for accessibility */
47
+ id?: string;
48
+ defaultTimezone?: string;
49
+ isTimezoneDisabled?: boolean;
50
+ timezoneOptions?: TimezoneOption[];
51
+ /** Initial active preset key. Defaults to "custom". e.g. "this-month", "yesterday" */
52
+ defaultPreset?: string;
53
+ /** Custom presets passed from parent */
54
+ presets?: PresetOption[];
55
+ }
56
+
57
+ declare function AdvancedDateRangePicker({ value, onChange, confirmLabel, className, disabled, disablePastDates, minDate, maxDate, showSingleCalendar, id, defaultTimezone, isTimezoneDisabled, timezoneOptions, defaultPreset, presets, }: DateRangePickerProps): React.JSX.Element;
58
+ declare namespace AdvancedDateRangePicker {
59
+ var displayName: string;
60
+ }
61
+
62
+ export { AdvancedDateRangePicker as A, type DateRangePickerProps as D, type PresetOption as P, type TimeValue as T, type DateRangeValue as a, type TimezoneOption as b };
@@ -0,0 +1,60 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimeValue {
4
+ hour: string;
5
+ minute: string;
6
+ period: "AM" | "PM";
7
+ }
8
+ interface DateRangeValue {
9
+ startDate: Date | null;
10
+ endDate: Date | null;
11
+ startTime: TimeValue;
12
+ endTime: TimeValue;
13
+ timezone: string;
14
+ activePreset?: string;
15
+ }
16
+ interface PresetOption {
17
+ label: string;
18
+ key: string;
19
+ getRange: () => (Date | null)[];
20
+ }
21
+ interface TimezoneOption {
22
+ label: string;
23
+ value: string;
24
+ }
25
+ interface DateRangePickerProps {
26
+ /** Controlled value for the date range */
27
+ value?: DateRangeValue;
28
+ /** Called when the user clicks "Done" */
29
+ onChange?: (value: DateRangeValue) => void;
30
+ /** Called on every selection change (live) */
31
+ onRangeChange?: (value: DateRangeValue) => void;
32
+ /** Label for the confirm button. Defaults to "Done" */
33
+ confirmLabel?: string;
34
+ /** Additional class name for the root wrapper */
35
+ className?: string;
36
+ /** Whether the picker is disabled */
37
+ disabled?: boolean;
38
+ /** Disable dates before today */
39
+ disablePastDates?: boolean;
40
+ /** Minimum selectable date (ISO string) */
41
+ minDate?: string | null;
42
+ /** Maximum selectable date (ISO string) */
43
+ maxDate?: string | null;
44
+ /** Show a single calendar instead of two */
45
+ showSingleCalendar?: boolean;
46
+ /** Id prefix for accessibility */
47
+ id?: string;
48
+ defaultTimezone?: string;
49
+ isTimezoneDisabled?: boolean;
50
+ timezoneOptions?: TimezoneOption[];
51
+ /** Initial active preset key. Defaults to "custom". e.g. "this-month", "yesterday" */
52
+ defaultPreset?: string;
53
+ }
54
+
55
+ declare function AdvancedDateRangePicker({ value, onChange, confirmLabel, className, disabled, disablePastDates, minDate, maxDate, showSingleCalendar, id, defaultTimezone, isTimezoneDisabled, timezoneOptions, defaultPreset, }: DateRangePickerProps): React.JSX.Element;
56
+ declare namespace AdvancedDateRangePicker {
57
+ var displayName: string;
58
+ }
59
+
60
+ export { AdvancedDateRangePicker as A, type DateRangePickerProps as D, type PresetOption as P, type TimeValue as T, type DateRangeValue as a, type TimezoneOption as b };
@@ -0,0 +1,60 @@
1
+ import * as React from 'react';
2
+
3
+ interface TimeValue {
4
+ hour: string;
5
+ minute: string;
6
+ period: "AM" | "PM";
7
+ }
8
+ interface DateRangeValue {
9
+ startDate: Date | null;
10
+ endDate: Date | null;
11
+ startTime: TimeValue;
12
+ endTime: TimeValue;
13
+ timezone: string;
14
+ activePreset?: string;
15
+ }
16
+ interface PresetOption {
17
+ label: string;
18
+ key: string;
19
+ getRange: () => (Date | null)[];
20
+ }
21
+ interface TimezoneOption {
22
+ label: string;
23
+ value: string;
24
+ }
25
+ interface DateRangePickerProps {
26
+ /** Controlled value for the date range */
27
+ value?: DateRangeValue;
28
+ /** Called when the user clicks "Done" */
29
+ onChange?: (value: DateRangeValue) => void;
30
+ /** Called on every selection change (live) */
31
+ onRangeChange?: (value: DateRangeValue) => void;
32
+ /** Label for the confirm button. Defaults to "Done" */
33
+ confirmLabel?: string;
34
+ /** Additional class name for the root wrapper */
35
+ className?: string;
36
+ /** Whether the picker is disabled */
37
+ disabled?: boolean;
38
+ /** Disable dates before today */
39
+ disablePastDates?: boolean;
40
+ /** Minimum selectable date (ISO string) */
41
+ minDate?: string | null;
42
+ /** Maximum selectable date (ISO string) */
43
+ maxDate?: string | null;
44
+ /** Show a single calendar instead of two */
45
+ showSingleCalendar?: boolean;
46
+ /** Id prefix for accessibility */
47
+ id?: string;
48
+ defaultTimezone?: string;
49
+ isTimezoneDisabled?: boolean;
50
+ timezoneOptions?: TimezoneOption[];
51
+ /** Initial active preset key. Defaults to "custom". e.g. "this-month", "yesterday" */
52
+ defaultPreset?: string;
53
+ }
54
+
55
+ declare function AdvancedDateRangePicker({ value, onChange, confirmLabel, className, disabled, disablePastDates, minDate, maxDate, showSingleCalendar, id, defaultTimezone, isTimezoneDisabled, timezoneOptions, defaultPreset, }: DateRangePickerProps): React.JSX.Element;
56
+ declare namespace AdvancedDateRangePicker {
57
+ var displayName: string;
58
+ }
59
+
60
+ export { AdvancedDateRangePicker as A, type DateRangePickerProps as D, type PresetOption as P, type TimeValue as T, type DateRangeValue as a, type TimezoneOption as b };
@@ -0,0 +1,129 @@
1
+ import * as React from 'react';
2
+ import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
3
+
4
+ type SortOrder = "ascend" | "descend" | undefined;
5
+ type AntColumnType<RecordType> = NonNullable<TableProps$1<RecordType>["columns"]>[number];
6
+ /**
7
+ * Header icon configuration added to any column definition.
8
+ * The Table component reads these props and renders sort/filter icons automatically.
9
+ */
10
+ interface LuminaColumnHeaderProps {
11
+ /** Show sort icon. Clicking cycles: undefined (↑↓) → ascend (↑) → descend (↓) → undefined */
12
+ sortable?: boolean;
13
+ /** Current sort direction. Provide to make sort controlled. */
14
+ sortOrder?: SortOrder;
15
+ /** Called when the user clicks the sort icon. */
16
+ onSortChange?: (order: SortOrder) => void;
17
+ /**
18
+ * Custom sort icon. This MUST be provided if sortable is true.
19
+ * If omitted, no icon will be rendered.
20
+ */
21
+ sortIcon?: React.ReactNode;
22
+ /** > 0 turns the filter icon red and shows a count badge. */
23
+ filterCount?: number;
24
+ /**
25
+ * Custom filter icon. This MUST be provided if filterContent is present.
26
+ * If omitted, no icon will be rendered.
27
+ */
28
+ filterIcon?: React.ReactNode;
29
+ /**
30
+ * Filter dropdown content from the consumer.
31
+ * Providing this prop renders the filter icon button.
32
+ * Clicking the icon toggles visibility of this content.
33
+ */
34
+ filterContent?: React.ReactNode;
35
+ /** Optional class name to apply to the header label. */
36
+ className?: string;
37
+ }
38
+ /**
39
+ * AntD ColumnType extended with optional `headerProps` for Lumina sort/filter icons.
40
+ */
41
+ type LuminaColumnType<RecordType = any> = AntColumnType<RecordType> & {
42
+ headerProps?: LuminaColumnHeaderProps;
43
+ };
44
+ type LuminaColumnsType<RecordType = any> = LuminaColumnType<RecordType>[];
45
+ interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination" | "columns"> {
46
+ /**
47
+ * Lumina UI table variant.
48
+ * - `default` – standard table
49
+ * - `selectable` – checkbox rows; clicking any row toggles its checkbox
50
+ */
51
+ variant?: "default" | "selectable";
52
+ /** If true, strips outer card chrome to fit inside an Accordion parent. */
53
+ isAccordion?: boolean;
54
+ /** If true, strips outer card chrome to fit inside a Toolbar/Container parent. */
55
+ isToolbar?: boolean;
56
+ /** Table size. Defaults to 'middle'. */
57
+ size?: "small" | "middle" | "large";
58
+ /** Extra class applied on the outermost wrapper div. */
59
+ className?: string;
60
+ /** AntD pagination config. Pass `false` to hide pagination. */
61
+ pagination?: TablePaginationConfig | boolean;
62
+ /**
63
+ * Column definitions. Add `headerProps` to any column to get sort/filter icons
64
+ * rendered automatically in the column header.
65
+ */
66
+ columns?: LuminaColumnsType<RecordType>;
67
+ /** Total number of items in the dataset (for server-side pagination). */
68
+ total?: number;
69
+ /** Current page number (1-indexed). */
70
+ current?: number;
71
+ /** Number of rows per page. */
72
+ pageSize?: number;
73
+ /** Called when the page or page size changes. */
74
+ onPaginationChange?: TablePaginationConfig["onChange"];
75
+ /**
76
+ * Custom content to show when the table has no data.
77
+ * If provided, it overrides the default Ant Design "No Data" view.
78
+ */
79
+ emptyState?: React.ReactNode;
80
+ /**
81
+ * If true, the table header (the row with column labels) will be hidden.
82
+ * Useful during loading or for specific visual variants.
83
+ */
84
+ hideHeader?: boolean;
85
+ /**
86
+ * Custom loading indicator (e.g. a spinner or skeleton).
87
+ * If provided, this will be rendered when the table is in a loading state.
88
+ */
89
+ loadingIndicator?: React.ReactElement;
90
+ /** Extra class applied to header cells (th). */
91
+ headerCellClassName?: string;
92
+ /** Extra class applied to body cells (td). */
93
+ bodyCellClassName?: string;
94
+ /** Custom class name for rows. Can be a string or function. */
95
+ rowClassName?: string | ((record: RecordType, index: number) => string);
96
+ /** Default minimum width for all columns (e.g. 144 or "144px"). */
97
+ columnMinWidth?: number | string;
98
+ }
99
+
100
+ /**
101
+ * Lumina Table component.
102
+ *
103
+ * Variants:
104
+ * - `default` – standalone table card with rounded border
105
+ * - `hover` – row highlight on mouse-over
106
+ * - `selectable` – use with `rowSelection`; clicking any row toggles its checkbox
107
+ * - `accordion-child` – strips outer card chrome; place inside your own accordion wrapper
108
+ * - `toolbar-child` – strips outer card chrome; place inside your own toolbar/container wrapper
109
+ *
110
+ * Column header icons — add `headerProps` to any column definition:
111
+ * ```tsx
112
+ * columns={[{
113
+ * key: "name", dataIndex: "name", title: "Name",
114
+ * headerProps: {
115
+ * sortable: true,
116
+ * sortOrder: sortOrders.name,
117
+ * onSortChange: (order) => setSortOrders(prev => ({ ...prev, name: order })),
118
+ * filterCount: activeFilters.name ?? 0,
119
+ * filterContent: <MyFilterPanel />,
120
+ * },
121
+ * }]}
122
+ * ```
123
+ */
124
+ declare function Table<RecordType extends object = any>(props: TableProps<RecordType>): React.JSX.Element;
125
+ declare namespace Table {
126
+ var displayName: string;
127
+ }
128
+
129
+ export { type LuminaColumnHeaderProps as L, type SortOrder as S, Table as T, type LuminaColumnType as a, type LuminaColumnsType as b, type TableProps as c };
@@ -0,0 +1,129 @@
1
+ import * as React from 'react';
2
+ import { TableProps as TableProps$1, TablePaginationConfig } from 'antd';
3
+
4
+ type SortOrder = "ascend" | "descend" | undefined;
5
+ type AntColumnType<RecordType> = NonNullable<TableProps$1<RecordType>["columns"]>[number];
6
+ /**
7
+ * Header icon configuration added to any column definition.
8
+ * The Table component reads these props and renders sort/filter icons automatically.
9
+ */
10
+ interface LuminaColumnHeaderProps {
11
+ /** Show sort icon. Clicking cycles: undefined (↑↓) → ascend (↑) → descend (↓) → undefined */
12
+ sortable?: boolean;
13
+ /** Current sort direction. Provide to make sort controlled. */
14
+ sortOrder?: SortOrder;
15
+ /** Called when the user clicks the sort icon. */
16
+ onSortChange?: (order: SortOrder) => void;
17
+ /**
18
+ * Custom sort icon. This MUST be provided if sortable is true.
19
+ * If omitted, no icon will be rendered.
20
+ */
21
+ sortIcon?: React.ReactNode;
22
+ /** > 0 turns the filter icon red and shows a count badge. */
23
+ filterCount?: number;
24
+ /**
25
+ * Custom filter icon. This MUST be provided if filterContent is present.
26
+ * If omitted, no icon will be rendered.
27
+ */
28
+ filterIcon?: React.ReactNode;
29
+ /**
30
+ * Filter dropdown content from the consumer.
31
+ * Providing this prop renders the filter icon button.
32
+ * Clicking the icon toggles visibility of this content.
33
+ */
34
+ filterContent?: React.ReactNode;
35
+ /** Optional class name to apply to the header label. */
36
+ className?: string;
37
+ }
38
+ /**
39
+ * AntD ColumnType extended with optional `headerProps` for Lumina sort/filter icons.
40
+ */
41
+ type LuminaColumnType<RecordType = any> = AntColumnType<RecordType> & {
42
+ headerProps?: LuminaColumnHeaderProps;
43
+ };
44
+ type LuminaColumnsType<RecordType = any> = LuminaColumnType<RecordType>[];
45
+ interface TableProps<RecordType = any> extends Omit<TableProps$1<RecordType>, "size" | "bordered" | "pagination" | "columns"> {
46
+ /**
47
+ * Lumina UI table variant.
48
+ * - `default` – standard table
49
+ * - `selectable` – checkbox rows; clicking any row toggles its checkbox
50
+ */
51
+ variant?: "default" | "selectable";
52
+ /** If true, strips outer card chrome to fit inside an Accordion parent. */
53
+ isAccordion?: boolean;
54
+ /** If true, strips outer card chrome to fit inside a Toolbar/Container parent. */
55
+ isToolbar?: boolean;
56
+ /** Table size. Defaults to 'middle'. */
57
+ size?: "small" | "middle" | "large";
58
+ /** Extra class applied on the outermost wrapper div. */
59
+ className?: string;
60
+ /** AntD pagination config. Pass `false` to hide pagination. */
61
+ pagination?: TablePaginationConfig | boolean;
62
+ /**
63
+ * Column definitions. Add `headerProps` to any column to get sort/filter icons
64
+ * rendered automatically in the column header.
65
+ */
66
+ columns?: LuminaColumnsType<RecordType>;
67
+ /** Total number of items in the dataset (for server-side pagination). */
68
+ total?: number;
69
+ /** Current page number (1-indexed). */
70
+ current?: number;
71
+ /** Number of rows per page. */
72
+ pageSize?: number;
73
+ /** Called when the page or page size changes. */
74
+ onPaginationChange?: TablePaginationConfig["onChange"];
75
+ /**
76
+ * Custom content to show when the table has no data.
77
+ * If provided, it overrides the default Ant Design "No Data" view.
78
+ */
79
+ emptyState?: React.ReactNode;
80
+ /**
81
+ * If true, the table header (the row with column labels) will be hidden.
82
+ * Useful during loading or for specific visual variants.
83
+ */
84
+ hideHeader?: boolean;
85
+ /**
86
+ * Custom loading indicator (e.g. a spinner or skeleton).
87
+ * If provided, this will be rendered when the table is in a loading state.
88
+ */
89
+ loadingIndicator?: React.ReactElement;
90
+ /** Extra class applied to header cells (th). */
91
+ headerCellClassName?: string;
92
+ /** Extra class applied to body cells (td). */
93
+ bodyCellClassName?: string;
94
+ /** Custom class name for rows. Can be a string or function. */
95
+ rowClassName?: string | ((record: RecordType, index: number) => string);
96
+ /** Default minimum width for all columns (e.g. 144 or "144px"). */
97
+ columnMinWidth?: number | string;
98
+ }
99
+
100
+ /**
101
+ * Lumina Table component.
102
+ *
103
+ * Variants:
104
+ * - `default` – standalone table card with rounded border
105
+ * - `hover` – row highlight on mouse-over
106
+ * - `selectable` – use with `rowSelection`; clicking any row toggles its checkbox
107
+ * - `accordion-child` – strips outer card chrome; place inside your own accordion wrapper
108
+ * - `toolbar-child` – strips outer card chrome; place inside your own toolbar/container wrapper
109
+ *
110
+ * Column header icons — add `headerProps` to any column definition:
111
+ * ```tsx
112
+ * columns={[{
113
+ * key: "name", dataIndex: "name", title: "Name",
114
+ * headerProps: {
115
+ * sortable: true,
116
+ * sortOrder: sortOrders.name,
117
+ * onSortChange: (order) => setSortOrders(prev => ({ ...prev, name: order })),
118
+ * filterCount: activeFilters.name ?? 0,
119
+ * filterContent: <MyFilterPanel />,
120
+ * },
121
+ * }]}
122
+ * ```
123
+ */
124
+ declare function Table<RecordType extends object = any>(props: TableProps<RecordType>): React.JSX.Element;
125
+ declare namespace Table {
126
+ var displayName: string;
127
+ }
128
+
129
+ export { type LuminaColumnHeaderProps as L, type SortOrder as S, Table as T, type LuminaColumnType as a, type LuminaColumnsType as b, type TableProps as c };
@@ -1,2 +1,2 @@
1
1
  import 'react';
2
- export { A as AdvancedDateRangePicker, A as default } from '../../AdvancedDateRangePicker-D7xn4So6.mjs';
2
+ export { A as AdvancedDateRangePicker, A as default } from '../../AdvancedDateRangePicker-DGg-rucL.mjs';
@@ -1,2 +1,2 @@
1
1
  import 'react';
2
- export { A as AdvancedDateRangePicker, A as default } from '../../AdvancedDateRangePicker-D7xn4So6.js';
2
+ export { A as AdvancedDateRangePicker, A as default } from '../../AdvancedDateRangePicker-DGg-rucL.js';
@@ -1391,10 +1391,11 @@ function AdvancedDateRangePicker({
1391
1391
  defaultTimezone = "UTC",
1392
1392
  isTimezoneDisabled = false,
1393
1393
  timezoneOptions = [],
1394
- defaultPreset = "custom"
1394
+ defaultPreset = "custom",
1395
+ presets
1395
1396
  }) {
1396
1397
  var _a, _b, _c;
1397
- const PRESETS = (0, import_react4.useMemo)(() => getPresets(), []);
1398
+ const PRESETS = (0, import_react4.useMemo)(() => presets || getPresets(), [presets]);
1398
1399
  const [startDate, setStartDate] = (0, import_react4.useState)((_a = value == null ? void 0 : value.startDate) != null ? _a : null);
1399
1400
  const [endDate, setEndDate] = (0, import_react4.useState)((_b = value == null ? void 0 : value.endDate) != null ? _b : null);
1400
1401
  const [timezone, setTimezone] = (0, import_react4.useState)((_c = value == null ? void 0 : value.timezone) != null ? _c : defaultTimezone);
@@ -1511,9 +1512,10 @@ function AdvancedDateRangePicker({
1511
1512
  endDate,
1512
1513
  startTime: fromTime,
1513
1514
  endTime: toTime,
1514
- timezone
1515
+ timezone,
1516
+ activePreset
1515
1517
  });
1516
- }, [isReady, onChange, startDate, endDate, fromTimeStr, toTimeStr, timezone]);
1518
+ }, [isReady, onChange, startDate, endDate, fromTimeStr, toTimeStr, timezone, activePreset]);
1517
1519
  return /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: (0, import_clsx3.default)(AdvancedDateRangePicker_module_default.root, className, { [AdvancedDateRangePicker_module_default.singleCalendar]: isSingle }), id, children: [
1518
1520
  /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: AdvancedDateRangePicker_module_default.inner, children: [
1519
1521
  /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("aside", { className: AdvancedDateRangePicker_module_default.left, children: PRESETS.map((p) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  AdvancedDateRangePicker,
3
3
  AdvancedDateRangePicker_default
4
- } from "../../chunk-UC4NTBDH.mjs";
4
+ } from "../../chunk-C5VYFNVC.mjs";
5
5
  import "../../chunk-GU5F7Z7I.mjs";
6
6
  import "../../chunk-MLCMZRUC.mjs";
7
7
  import "../../chunk-FPH63V2R.mjs";