@misael703/ui 1.61.0 → 1.62.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.
@@ -81,8 +81,35 @@ interface DateRangePickerProps {
81
81
  monthDropdown?: boolean;
82
82
  /** Number of month panels. Default `2`; `1` is the compact single-month layout. */
83
83
  months?: 1 | 2;
84
+ /**
85
+ * Start with a preset active (by its label, e.g. `"Este mes"`). Must match a
86
+ * `presets` entry — the picker initializes the range to that preset and shows
87
+ * its name on the trigger. Uncontrolled init only (when controlled, drive
88
+ * `value` yourself; this still sets the initial trigger name). Ignored if it
89
+ * doesn't match any preset.
90
+ */
91
+ defaultPreset?: string;
92
+ }
93
+ type DateRangePresetKey = 'today' | 'yesterday' | 'thisWeek' | 'lastWeek' | 'thisMonth' | 'lastMonth' | 'thisYear' | 'lastYear';
94
+ interface DateRangePresetItem {
95
+ key: DateRangePresetKey;
96
+ label: string;
97
+ range: () => DateRange;
98
+ }
99
+ interface DateRangePresetsOptions {
100
+ /** Pick a subset and order. Default: all eight in a sensible order. */
101
+ include?: DateRangePresetKey[];
102
+ /** Override labels (e.g. for i18n). Defaults are Spanish. */
103
+ labels?: Partial<Record<DateRangePresetKey, string>>;
84
104
  }
85
- declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, showInputs, monthDropdown, months, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
105
+ /**
106
+ * The common analytics date-range presets (Bsale-style): today, yesterday,
107
+ * this/last week, this/last month, this/last year. Pass straight to
108
+ * `<DateRangePicker presets={dateRangePresets()} />` so consumers don't
109
+ * re-derive the (fiddly) "previous week/month" boundaries each time.
110
+ */
111
+ declare function dateRangePresets(opts?: DateRangePresetsOptions): DateRangePresetItem[];
112
+ declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, showInputs, monthDropdown, months, defaultPreset, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
86
113
  interface CommandItem {
87
114
  id: string;
88
115
  label: string;
@@ -112,4 +139,4 @@ declare function useCommandPalette({ hotkey }?: UseCommandPaletteOptions): {
112
139
  toggle: () => void;
113
140
  };
114
141
 
115
- export { type CommandItem, CommandPalette, type CommandPaletteProps, type DateRange, DateRangePicker, type DateRangePickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type UseCommandPaletteOptions, useCommandPalette };
142
+ export { type CommandItem, CommandPalette, type CommandPaletteProps, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePresetItem, type DateRangePresetKey, type DateRangePresetsOptions, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type UseCommandPaletteOptions, dateRangePresets, useCommandPalette };
@@ -81,8 +81,35 @@ interface DateRangePickerProps {
81
81
  monthDropdown?: boolean;
82
82
  /** Number of month panels. Default `2`; `1` is the compact single-month layout. */
83
83
  months?: 1 | 2;
84
+ /**
85
+ * Start with a preset active (by its label, e.g. `"Este mes"`). Must match a
86
+ * `presets` entry — the picker initializes the range to that preset and shows
87
+ * its name on the trigger. Uncontrolled init only (when controlled, drive
88
+ * `value` yourself; this still sets the initial trigger name). Ignored if it
89
+ * doesn't match any preset.
90
+ */
91
+ defaultPreset?: string;
92
+ }
93
+ type DateRangePresetKey = 'today' | 'yesterday' | 'thisWeek' | 'lastWeek' | 'thisMonth' | 'lastMonth' | 'thisYear' | 'lastYear';
94
+ interface DateRangePresetItem {
95
+ key: DateRangePresetKey;
96
+ label: string;
97
+ range: () => DateRange;
98
+ }
99
+ interface DateRangePresetsOptions {
100
+ /** Pick a subset and order. Default: all eight in a sensible order. */
101
+ include?: DateRangePresetKey[];
102
+ /** Override labels (e.g. for i18n). Defaults are Spanish. */
103
+ labels?: Partial<Record<DateRangePresetKey, string>>;
84
104
  }
85
- declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, showInputs, monthDropdown, months, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
105
+ /**
106
+ * The common analytics date-range presets (Bsale-style): today, yesterday,
107
+ * this/last week, this/last month, this/last year. Pass straight to
108
+ * `<DateRangePicker presets={dateRangePresets()} />` so consumers don't
109
+ * re-derive the (fiddly) "previous week/month" boundaries each time.
110
+ */
111
+ declare function dateRangePresets(opts?: DateRangePresetsOptions): DateRangePresetItem[];
112
+ declare function DateRangePicker({ value, onChange, defaultValue, onApply, onOpenChange, minDate, maxDate, isDateDisabled, presets, invalid, disabled, className, id, format, showInputs, monthDropdown, months, defaultPreset, }: DateRangePickerProps): react_jsx_runtime.JSX.Element;
86
113
  interface CommandItem {
87
114
  id: string;
88
115
  label: string;
@@ -112,4 +139,4 @@ declare function useCommandPalette({ hotkey }?: UseCommandPaletteOptions): {
112
139
  toggle: () => void;
113
140
  };
114
141
 
115
- export { type CommandItem, CommandPalette, type CommandPaletteProps, type DateRange, DateRangePicker, type DateRangePickerProps, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type UseCommandPaletteOptions, useCommandPalette };
142
+ export { type CommandItem, CommandPalette, type CommandPaletteProps, type DateRange, DateRangePicker, type DateRangePickerProps, type DateRangePresetItem, type DateRangePresetKey, type DateRangePresetsOptions, MultiCombobox, type MultiComboboxOption, type MultiComboboxProps, type UseCommandPaletteOptions, dateRangePresets, useCommandPalette };
@@ -1,7 +1,7 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk3RB4OZTJ_js = require('../chunk-3RB4OZTJ.js');
4
+ var chunkF2MD6DAE_js = require('../chunk-F2MD6DAE.js');
5
5
  require('../chunk-MUXOT5KS.js');
6
6
  require('../chunk-AB52PRTH.js');
7
7
  require('../chunk-WAGWB35Q.js');
@@ -16,19 +16,23 @@ require('../chunk-PASF6T4H.js');
16
16
 
17
17
  Object.defineProperty(exports, "CommandPalette", {
18
18
  enumerable: true,
19
- get: function () { return chunk3RB4OZTJ_js.CommandPalette; }
19
+ get: function () { return chunkF2MD6DAE_js.CommandPalette; }
20
20
  });
21
21
  Object.defineProperty(exports, "DateRangePicker", {
22
22
  enumerable: true,
23
- get: function () { return chunk3RB4OZTJ_js.DateRangePicker; }
23
+ get: function () { return chunkF2MD6DAE_js.DateRangePicker; }
24
24
  });
25
25
  Object.defineProperty(exports, "MultiCombobox", {
26
26
  enumerable: true,
27
- get: function () { return chunk3RB4OZTJ_js.MultiCombobox; }
27
+ get: function () { return chunkF2MD6DAE_js.MultiCombobox; }
28
+ });
29
+ Object.defineProperty(exports, "dateRangePresets", {
30
+ enumerable: true,
31
+ get: function () { return chunkF2MD6DAE_js.dateRangePresets; }
28
32
  });
29
33
  Object.defineProperty(exports, "useCommandPalette", {
30
34
  enumerable: true,
31
- get: function () { return chunk3RB4OZTJ_js.useCommandPalette; }
35
+ get: function () { return chunkF2MD6DAE_js.useCommandPalette; }
32
36
  });
33
37
  //# sourceMappingURL=AdvancedPickers.js.map
34
38
  //# sourceMappingURL=AdvancedPickers.js.map
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- export { CommandPalette, DateRangePicker, MultiCombobox, useCommandPalette } from '../chunk-JXRAMV3H.mjs';
2
+ export { CommandPalette, DateRangePicker, MultiCombobox, dateRangePresets, useCommandPalette } from '../chunk-B6PQAH5C.mjs';
3
3
  import '../chunk-ODE2ROR2.mjs';
4
4
  import '../chunk-IGNKSI2E.mjs';
5
5
  import '../chunk-FKBQYQQD.mjs';
@@ -6,7 +6,10 @@ import * as React from 'react';
6
6
  * and passes the modules in via the `recharts` prop so consumers only pay for what they use.
7
7
  *
8
8
  * Recharts is treated as an implicit peer dependency: install it in the host
9
- * app if you use any chart component.
9
+ * app if you use any chart component. Use **recharts ≥ 3** — earlier versions use
10
+ * `defaultProps` on function components, which logs a deprecation warning under
11
+ * React 19. recharts 3 removed them; these wrappers use default parameters, so on
12
+ * recharts 3.8+ the console stays clean (verified).
10
13
  *
11
14
  * Usage in a Next.js client component:
12
15
  *
@@ -57,6 +60,17 @@ interface CartesianChartProps<D = any> extends BaseChartProps<D> {
57
60
  xTickAngle?: number;
58
61
  /** Format numeric values (value-axis ticks + tooltip). */
59
62
  valueFormatter?: (value: number) => string;
63
+ /**
64
+ * Allow fractional value-axis ticks. Default: auto — `false` when every series
65
+ * value is an integer (count data → no `0.25` ticks), `true` otherwise. Pass
66
+ * explicitly to override the auto-detection.
67
+ */
68
+ allowDecimals?: boolean;
69
+ /**
70
+ * Format the category label in the tooltip. Defaults to `xTickFormatter` so the
71
+ * tooltip matches the axis (e.g. both show `18 jun`, not the raw `2026-06-18`).
72
+ */
73
+ tooltipLabelFormatter?: (value: string) => string;
60
74
  }
61
75
  interface LineChartProps<D = any> extends CartesianChartProps<D> {
62
76
  smooth?: boolean;
@@ -64,16 +78,16 @@ interface LineChartProps<D = any> extends CartesianChartProps<D> {
64
78
  * straight segments — recommended for counts/stepped series (no phantom humps over zeros). */
65
79
  curve?: 'linear' | 'monotone';
66
80
  }
67
- declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
81
+ declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
68
82
  interface AreaChartProps<D = any> extends LineChartProps<D> {
69
83
  stacked?: boolean;
70
84
  }
71
- declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, stacked, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
85
+ declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, stacked, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
72
86
  interface BarChartProps<D = any> extends CartesianChartProps<D> {
73
87
  layout?: 'vertical' | 'horizontal';
74
88
  stacked?: boolean;
75
89
  }
76
- declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
90
+ declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
77
91
  interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
78
92
  data: Array<{
79
93
  name: string;
@@ -6,7 +6,10 @@ import * as React from 'react';
6
6
  * and passes the modules in via the `recharts` prop so consumers only pay for what they use.
7
7
  *
8
8
  * Recharts is treated as an implicit peer dependency: install it in the host
9
- * app if you use any chart component.
9
+ * app if you use any chart component. Use **recharts ≥ 3** — earlier versions use
10
+ * `defaultProps` on function components, which logs a deprecation warning under
11
+ * React 19. recharts 3 removed them; these wrappers use default parameters, so on
12
+ * recharts 3.8+ the console stays clean (verified).
10
13
  *
11
14
  * Usage in a Next.js client component:
12
15
  *
@@ -57,6 +60,17 @@ interface CartesianChartProps<D = any> extends BaseChartProps<D> {
57
60
  xTickAngle?: number;
58
61
  /** Format numeric values (value-axis ticks + tooltip). */
59
62
  valueFormatter?: (value: number) => string;
63
+ /**
64
+ * Allow fractional value-axis ticks. Default: auto — `false` when every series
65
+ * value is an integer (count data → no `0.25` ticks), `true` otherwise. Pass
66
+ * explicitly to override the auto-detection.
67
+ */
68
+ allowDecimals?: boolean;
69
+ /**
70
+ * Format the category label in the tooltip. Defaults to `xTickFormatter` so the
71
+ * tooltip matches the axis (e.g. both show `18 jun`, not the raw `2026-06-18`).
72
+ */
73
+ tooltipLabelFormatter?: (value: string) => string;
60
74
  }
61
75
  interface LineChartProps<D = any> extends CartesianChartProps<D> {
62
76
  smooth?: boolean;
@@ -64,16 +78,16 @@ interface LineChartProps<D = any> extends CartesianChartProps<D> {
64
78
  * straight segments — recommended for counts/stepped series (no phantom humps over zeros). */
65
79
  curve?: 'linear' | 'monotone';
66
80
  }
67
- declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
81
+ declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
68
82
  interface AreaChartProps<D = any> extends LineChartProps<D> {
69
83
  stacked?: boolean;
70
84
  }
71
- declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, stacked, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
85
+ declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, curve, stacked, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
72
86
  interface BarChartProps<D = any> extends CartesianChartProps<D> {
73
87
  layout?: 'vertical' | 'horizontal';
74
88
  stacked?: boolean;
75
89
  }
76
- declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
90
+ declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, xTickFormatter, xTickInterval, xTickAngle, valueFormatter, allowDecimals, tooltipLabelFormatter, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
77
91
  interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
78
92
  data: Array<{
79
93
  name: string;
@@ -1,30 +1,30 @@
1
1
  'use client';
2
2
  'use strict';
3
3
 
4
- var chunk2ET7IM4U_js = require('../chunk-2ET7IM4U.js');
4
+ var chunkIKMKQUUR_js = require('../chunk-IKMKQUUR.js');
5
5
  require('../chunk-PASF6T4H.js');
6
6
 
7
7
 
8
8
 
9
9
  Object.defineProperty(exports, "AreaChart", {
10
10
  enumerable: true,
11
- get: function () { return chunk2ET7IM4U_js.AreaChart; }
11
+ get: function () { return chunkIKMKQUUR_js.AreaChart; }
12
12
  });
13
13
  Object.defineProperty(exports, "BarChart", {
14
14
  enumerable: true,
15
- get: function () { return chunk2ET7IM4U_js.BarChart; }
15
+ get: function () { return chunkIKMKQUUR_js.BarChart; }
16
16
  });
17
17
  Object.defineProperty(exports, "DonutChart", {
18
18
  enumerable: true,
19
- get: function () { return chunk2ET7IM4U_js.DonutChart; }
19
+ get: function () { return chunkIKMKQUUR_js.DonutChart; }
20
20
  });
21
21
  Object.defineProperty(exports, "LineChart", {
22
22
  enumerable: true,
23
- get: function () { return chunk2ET7IM4U_js.LineChart; }
23
+ get: function () { return chunkIKMKQUUR_js.LineChart; }
24
24
  });
25
25
  Object.defineProperty(exports, "Sparkline", {
26
26
  enumerable: true,
27
- get: function () { return chunk2ET7IM4U_js.Sparkline; }
27
+ get: function () { return chunkIKMKQUUR_js.Sparkline; }
28
28
  });
29
29
  //# sourceMappingURL=Charts.js.map
30
30
  //# sourceMappingURL=Charts.js.map
@@ -1,5 +1,5 @@
1
1
  'use client';
2
- export { AreaChart, BarChart, DonutChart, LineChart, Sparkline } from '../chunk-EJY4QWHT.mjs';
2
+ export { AreaChart, BarChart, DonutChart, LineChart, Sparkline } from '../chunk-ORQPCZNF.mjs';
3
3
  import '../chunk-IEPCH3JB.mjs';
4
4
  //# sourceMappingURL=Charts.mjs.map
5
5
  //# sourceMappingURL=Charts.mjs.map
package/dist/index.d.mts CHANGED
@@ -15,7 +15,7 @@ export { Combobox, ComboboxOption, ComboboxProps, DatePicker, DatePickerProps, F
15
15
  export { Accordion, AccordionItem, AccordionProps, BreadcrumbItem, Breadcrumbs, Column, ColumnToggle, ColumnToggleProps, DataTable, DataTableProps, TablePagination, TablePaginationProps, TableToolbar } from './components/DataTable.mjs';
16
16
  export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionItem, PhoneInput, PhoneInputProps, Progress, ProgressCircle, ProgressCircleProps, ProgressProps, RadioGroup, RadioGroupProps, Slider, SliderProps, TagInput, TagInputProps, TimeGranularity, TimePicker, TimePickerProps } from './components/InputsExtra.mjs';
17
17
  export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.mjs';
18
- export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.mjs';
18
+ export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, DateRangePresetItem, DateRangePresetKey, DateRangePresetsOptions, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, dateRangePresets, useCommandPalette } from './components/AdvancedPickers.mjs';
19
19
  export { AppShell, AppShellHeader, AppShellHeaderApi, AppShellHeaderSlot, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.mjs';
20
20
  export { AreaChart, AreaChartProps, AxisInterval, BarChart, BarChartProps, BaseChartProps, CartesianChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.mjs';
21
21
  export { BulletChart, BulletChartProps, BulletTone, CalendarHeatmap, CalendarHeatmapProps, DeltaBadge, DeltaBadgeProps, DeltaTone, HeatmapCell, Meter, MeterOptimum, MeterProps, ProportionBar, ProportionBarProps, ProportionSegment, Sparkbar, SparkbarProps, StatCard, StatCardProps } from './components/Metrics.mjs';
package/dist/index.d.ts CHANGED
@@ -15,7 +15,7 @@ export { Combobox, ComboboxOption, ComboboxProps, DatePicker, DatePickerProps, F
15
15
  export { Accordion, AccordionItem, AccordionProps, BreadcrumbItem, Breadcrumbs, Column, ColumnToggle, ColumnToggleProps, DataTable, DataTableProps, TablePagination, TablePaginationProps, TableToolbar } from './components/DataTable.js';
16
16
  export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionItem, PhoneInput, PhoneInputProps, Progress, ProgressCircle, ProgressCircleProps, ProgressProps, RadioGroup, RadioGroupProps, Slider, SliderProps, TagInput, TagInputProps, TimeGranularity, TimePicker, TimePickerProps } from './components/InputsExtra.js';
17
17
  export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.js';
18
- export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.js';
18
+ export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, DateRangePresetItem, DateRangePresetKey, DateRangePresetsOptions, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, dateRangePresets, useCommandPalette } from './components/AdvancedPickers.js';
19
19
  export { AppShell, AppShellHeader, AppShellHeaderApi, AppShellHeaderSlot, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.js';
20
20
  export { AreaChart, AreaChartProps, AxisInterval, BarChart, BarChartProps, BaseChartProps, CartesianChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.js';
21
21
  export { BulletChart, BulletChartProps, BulletTone, CalendarHeatmap, CalendarHeatmapProps, DeltaBadge, DeltaBadgeProps, DeltaTone, HeatmapCell, Meter, MeterOptimum, MeterProps, ProportionBar, ProportionBarProps, ProportionSegment, Sparkbar, SparkbarProps, StatCard, StatCardProps } from './components/Metrics.js';
package/dist/index.js CHANGED
@@ -37,7 +37,7 @@ var chunkDYYMUXKH_js = require('./chunk-DYYMUXKH.js');
37
37
  var chunk6SSTTJV4_js = require('./chunk-6SSTTJV4.js');
38
38
  var chunkIH7U4FJT_js = require('./chunk-IH7U4FJT.js');
39
39
  var chunkAGMDYCGG_js = require('./chunk-AGMDYCGG.js');
40
- var chunk3RB4OZTJ_js = require('./chunk-3RB4OZTJ.js');
40
+ var chunkF2MD6DAE_js = require('./chunk-F2MD6DAE.js');
41
41
  var chunkMUXOT5KS_js = require('./chunk-MUXOT5KS.js');
42
42
  var chunkAB52PRTH_js = require('./chunk-AB52PRTH.js');
43
43
  var chunkWAGWB35Q_js = require('./chunk-WAGWB35Q.js');
@@ -56,7 +56,7 @@ var chunkAJ22SXI2_js = require('./chunk-AJ22SXI2.js');
56
56
  var chunkEUB4PHPI_js = require('./chunk-EUB4PHPI.js');
57
57
  var chunkGGILBESE_js = require('./chunk-GGILBESE.js');
58
58
  var chunkC4AKMVDZ_js = require('./chunk-C4AKMVDZ.js');
59
- var chunk2ET7IM4U_js = require('./chunk-2ET7IM4U.js');
59
+ var chunkIKMKQUUR_js = require('./chunk-IKMKQUUR.js');
60
60
  var chunkPASF6T4H_js = require('./chunk-PASF6T4H.js');
61
61
 
62
62
 
@@ -651,19 +651,23 @@ Object.defineProperty(exports, "Stat", {
651
651
  });
652
652
  Object.defineProperty(exports, "CommandPalette", {
653
653
  enumerable: true,
654
- get: function () { return chunk3RB4OZTJ_js.CommandPalette; }
654
+ get: function () { return chunkF2MD6DAE_js.CommandPalette; }
655
655
  });
656
656
  Object.defineProperty(exports, "DateRangePicker", {
657
657
  enumerable: true,
658
- get: function () { return chunk3RB4OZTJ_js.DateRangePicker; }
658
+ get: function () { return chunkF2MD6DAE_js.DateRangePicker; }
659
659
  });
660
660
  Object.defineProperty(exports, "MultiCombobox", {
661
661
  enumerable: true,
662
- get: function () { return chunk3RB4OZTJ_js.MultiCombobox; }
662
+ get: function () { return chunkF2MD6DAE_js.MultiCombobox; }
663
+ });
664
+ Object.defineProperty(exports, "dateRangePresets", {
665
+ enumerable: true,
666
+ get: function () { return chunkF2MD6DAE_js.dateRangePresets; }
663
667
  });
664
668
  Object.defineProperty(exports, "useCommandPalette", {
665
669
  enumerable: true,
666
- get: function () { return chunk3RB4OZTJ_js.useCommandPalette; }
670
+ get: function () { return chunkF2MD6DAE_js.useCommandPalette; }
667
671
  });
668
672
  Object.defineProperty(exports, "addMonths", {
669
673
  enumerable: true,
@@ -1107,23 +1111,23 @@ Object.defineProperty(exports, "X", {
1107
1111
  });
1108
1112
  Object.defineProperty(exports, "AreaChart", {
1109
1113
  enumerable: true,
1110
- get: function () { return chunk2ET7IM4U_js.AreaChart; }
1114
+ get: function () { return chunkIKMKQUUR_js.AreaChart; }
1111
1115
  });
1112
1116
  Object.defineProperty(exports, "BarChart", {
1113
1117
  enumerable: true,
1114
- get: function () { return chunk2ET7IM4U_js.BarChart; }
1118
+ get: function () { return chunkIKMKQUUR_js.BarChart; }
1115
1119
  });
1116
1120
  Object.defineProperty(exports, "DonutChart", {
1117
1121
  enumerable: true,
1118
- get: function () { return chunk2ET7IM4U_js.DonutChart; }
1122
+ get: function () { return chunkIKMKQUUR_js.DonutChart; }
1119
1123
  });
1120
1124
  Object.defineProperty(exports, "LineChart", {
1121
1125
  enumerable: true,
1122
- get: function () { return chunk2ET7IM4U_js.LineChart; }
1126
+ get: function () { return chunkIKMKQUUR_js.LineChart; }
1123
1127
  });
1124
1128
  Object.defineProperty(exports, "Sparkline", {
1125
1129
  enumerable: true,
1126
- get: function () { return chunk2ET7IM4U_js.Sparkline; }
1130
+ get: function () { return chunkIKMKQUUR_js.Sparkline; }
1127
1131
  });
1128
1132
  Object.defineProperty(exports, "cx", {
1129
1133
  enumerable: true,
package/dist/index.mjs CHANGED
@@ -35,7 +35,7 @@ export { EmptyState, Kpi, NumberInput, Pagination } from './chunk-YBJ7NFFW.mjs';
35
35
  export { Checkbox, FormField, Input, InputGroup, InputGroupAddon, Label, Radio, Select, Switch, Textarea } from './chunk-SUQLII3F.mjs';
36
36
  export { Alert, Badge, Card, CardBody, CardFooter, CardHeader, Chip, ChipGroup, ProductCard, Skeleton, Spinner } from './chunk-6IXP5UIY.mjs';
37
37
  export { Avatar, AvatarGroup, Menu, Stat } from './chunk-DH3IXJRJ.mjs';
38
- export { CommandPalette, DateRangePicker, MultiCombobox, useCommandPalette } from './chunk-JXRAMV3H.mjs';
38
+ export { CommandPalette, DateRangePicker, MultiCombobox, dateRangePresets, useCommandPalette } from './chunk-B6PQAH5C.mjs';
39
39
  export { addMonths, buildMonthGrid, buildMonthGrid6, dateFormatPlaceholder, detectFormatFromLocale, formatDate, formatRelativeDay, isSameDay, isToday, isTomorrow, isYesterday, parseDate, resolveDateFormat, startOfMonth } from './chunk-ODE2ROR2.mjs';
40
40
  export { format } from './chunk-IGNKSI2E.mjs';
41
41
  export { Portal } from './chunk-FKBQYQQD.mjs';
@@ -54,7 +54,7 @@ export { Button, ButtonGroup } from './chunk-NAL457NQ.mjs';
54
54
  export { AspectRatio, ScrollArea, Separator, Slot, Slottable } from './chunk-IEPKSPBX.mjs';
55
55
  export { Carousel } from './chunk-VXJTDBSM.mjs';
56
56
  export { AlertCircle, AlertTriangle, AlignCenter, AlignLeft, AlignRight, ArrowDown, ArrowLeft, ArrowRight, ArrowUp, Bell, Bold, Building, CalendarDays, CalendarIcon, Check, CheckCircle, ChevronDown, ChevronLeft, ChevronRight, ChevronUp, Clock, Columns3, Copy, CreditCard, Download, Edit, ExternalLink, Eye, EyeOff, FileText, Filter, Folder, Globe, Heart, History, Home, Info, Italic, LayoutGrid, Link, List, Loader, Lock, LogOut, Mail, Map, MapPin, MenuIcon, Minus, Moon, MoreHorizontal, MoreVertical, Package, Phone, Plus, RefreshCw, Rows3, Search, Settings, ShoppingCart, Star, Sun, Tag, Tool, Trash, Truck, Underline, Unlock, Upload, User, Users, Wallet, Wrench, X } from './chunk-BJGMROKL.mjs';
57
- export { AreaChart, BarChart, DonutChart, LineChart, Sparkline } from './chunk-EJY4QWHT.mjs';
57
+ export { AreaChart, BarChart, DonutChart, LineChart, Sparkline } from './chunk-ORQPCZNF.mjs';
58
58
  export { cx } from './chunk-IEPCH3JB.mjs';
59
59
  //# sourceMappingURL=index.mjs.map
60
60
  //# sourceMappingURL=index.mjs.map