@misael703/ui 1.58.0 → 1.59.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/dist/{chunk-CPMQ2DFS.js → chunk-2ET7IM4U.js} +77 -33
- package/dist/chunk-2ET7IM4U.js.map +1 -0
- package/dist/{chunk-HKHGODQE.js → chunk-4HHP3WT7.js} +4 -4
- package/dist/{chunk-HKHGODQE.js.map → chunk-4HHP3WT7.js.map} +1 -1
- package/dist/{chunk-S3DEFKS5.js → chunk-DLDTUVHR.js} +3 -3
- package/dist/{chunk-S3DEFKS5.js.map → chunk-DLDTUVHR.js.map} +1 -1
- package/dist/{chunk-O6FCBNWN.mjs → chunk-EJY4QWHT.mjs} +77 -33
- package/dist/chunk-EJY4QWHT.mjs.map +1 -0
- package/dist/{chunk-G4OOD6AR.mjs → chunk-F5EK5PIR.mjs} +3 -3
- package/dist/{chunk-G4OOD6AR.mjs.map → chunk-F5EK5PIR.mjs.map} +1 -1
- package/dist/{chunk-6OBFBETV.mjs → chunk-I7JH3OEO.mjs} +3 -3
- package/dist/{chunk-6OBFBETV.mjs.map → chunk-I7JH3OEO.mjs.map} +1 -1
- package/dist/{chunk-T46LLZHX.js → chunk-KNQOG43N.js} +4 -4
- package/dist/{chunk-T46LLZHX.js.map → chunk-KNQOG43N.js.map} +1 -1
- package/dist/{chunk-MSDFMVIF.js → chunk-NPUNAVWM.js} +3 -3
- package/dist/{chunk-MSDFMVIF.js.map → chunk-NPUNAVWM.js.map} +1 -1
- package/dist/{chunk-J2HHAZHV.mjs → chunk-X7BV2JFX.mjs} +3 -3
- package/dist/{chunk-J2HHAZHV.mjs.map → chunk-X7BV2JFX.mjs.map} +1 -1
- package/dist/{chunk-XJHK3RH5.mjs → chunk-ZAKJKBUX.mjs} +3 -3
- package/dist/{chunk-XJHK3RH5.mjs.map → chunk-ZAKJKBUX.mjs.map} +1 -1
- package/dist/components/AppShell.js +4 -4
- package/dist/components/AppShell.mjs +2 -2
- package/dist/components/Charts.d.mts +25 -15
- package/dist/components/Charts.d.ts +25 -15
- package/dist/components/Charts.js +6 -6
- package/dist/components/Charts.mjs +1 -1
- package/dist/components/Commerce.js +14 -14
- package/dist/components/Commerce.mjs +3 -3
- package/dist/components/Editing.js +9 -9
- package/dist/components/Editing.mjs +3 -3
- package/dist/components/Overlay.js +4 -4
- package/dist/components/Overlay.mjs +2 -2
- package/dist/hooks/index.js +5 -5
- package/dist/hooks/index.mjs +1 -1
- package/dist/index.d.mts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +33 -33
- package/dist/index.mjs +7 -7
- package/package.json +1 -1
- package/dist/chunk-CPMQ2DFS.js.map +0 -1
- package/dist/chunk-O6FCBNWN.mjs.map +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"sources":["../src/components/Overlay.tsx"],"names":[],"mappings":";;;;;;;;;;;AAYA,IAAM,OAAA,GAAU,GAAA;AAcT,SAAS,KAAA,CAAM;AAAA,EACpB,IAAA;AAAA,EAAM,OAAA;AAAA,EAAS,KAAA;AAAA,EAAO,QAAA;AAAA,EAAU,MAAA;AAAA,EAAQ,IAAA,GAAO,IAAA;AAAA,EAC/C,eAAA,GAAkB,IAAA;AAAA,EAAM,UAAA,GAAa,IAAA;AAAA,EAAM;AAC7C,CAAA,EAAiB;AACf,EAAA,MAAM,GAAA,GAAY,aAAuB,IAAI,CAAA;AAI7C,EAAA,MAAM,cAAA,GAAuB,aAAO,KAAK,CAAA;AACzC,EAAA,MAAM,UAAgB,KAAA,CAAA,KAAA,EAAM;AAC5B,EAAA,MAAM,IAAI,SAAA,EAAU;AAKpB,EAAA,MAAM,EAAE,OAAA,EAAS,OAAA,EAAQ,GAAI,iBAAA,CAAkB,MAAM,OAAO,CAAA;AAC5D,EAAA,SAAA,CAAU,IAAA,EAAM,SAAS,UAAU,CAAA;AACnC,EAAA,YAAA,CAAa,KAAK,IAAI,CAAA;AACtB,EAAA,aAAA,CAAc,IAAI,C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,QAEA,QAAA,kBAAA,IAAA;AAAA,UAAC,KAAA;AAAA,UAAA;AAAA,YACC,GAAA;AAAA,YACA,IAAA,EAAK,QAAA;AAAA,YACL,YAAA,EAAW,MAAA;AAAA,YACX,iBAAA,EAAiB,QAAQ,OAAA,GAAU,MAAA;AAAA,YACnC,SAAA,EAAW,GAAG,QAAA,EAAU,CAAA,QAAA,EAAW,IAAI,CAAA,CAAA,EAAI,OAAA,IAAW,cAAc,SAAS,CAAA;AAAA,YAE5E,QAAA,EAAA;AAAA,cAAA,KAAA,oBACC,IAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,gBAAA,EACb,QAAA,EAAA;AAAA,gCAAA,GAAA,CAAC,KAAA,EAAA,EAAI,EAAA,EAAI,OAAA,EAAS,SAAA,EAAU,iBAAiB,QAAA,EAAA,KAAA,EAAM,CAAA;AAAA,oCAClD,QAAA,EAAA,EAAO,IAAA,EAAK,QAAA,EAAS,SAAA,EAAU,iBAAgB,OAAA,EAAS,OAAA,EAAS,YAAA,EAAY,CAAA,CAAE,cAAc,CAAA,EAAG,QAAA,kBAAA,GAAA,CAAC,CAAA,EAAA,EAAE,IAAA,EAAM,IAAI,CAAA,EAAE;AAAA,eAAA,EAClH,CAAA;AAAA,8BAEF,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,cAAA,EAAgB,QAAA,EAAS,CAAA;AAAA,cACvC,MAAA,oBAAU,GAAA,CAAC,KAAA,EAAA,EAAI,SAAA,EAAU,kBAAkB,QAAA,EAAA,MAAA,EAAO;AAAA;AAAA;AAAA;AACrD;AAAA,KACF;AAAA,IACA,QAAA,CAAS;AAAA,GACX;AACF","file":"chunk-ZAKJKBUX.mjs","sourcesContent":["'use client';\nimport * as React from 'react';\nimport { createPortal } from 'react-dom';\nimport { cx } from '../utils/cx';\nimport { X } from './Icons';\nimport { useLocale } from '../locale/LocaleProvider';\nimport { useDelayedUnmount } from '../hooks/useDelayedUnmount';\nimport { useFocusTrap, useEscape, useScrollLock } from '../hooks';\n\n// Exit animation duration in ms. Must match `--duration-exit` and the\n// `is-closing` keyframes in src/styles/index.css (`.modal-backdrop`,\n// `.drawer-backdrop`).\nconst EXIT_MS = 150;\n\nexport interface OverlayProps {\n open: boolean;\n onClose: () => void;\n title?: React.ReactNode;\n children?: React.ReactNode;\n footer?: React.ReactNode;\n size?: 'sm' | 'md' | 'lg';\n closeOnBackdrop?: boolean;\n closeOnEsc?: boolean;\n className?: string;\n}\n\nexport function Modal({\n open, onClose, title, children, footer, size = 'md',\n closeOnBackdrop = true, closeOnEsc = true, className,\n}: OverlayProps) {\n const ref = React.useRef<HTMLDivElement>(null);\n // True only when the press both started AND ended on the backdrop itself.\n // Fixes: press inside (e.g. text-selecting in an input) released over the\n // backdrop must NOT dismiss.\n const downOnBackdrop = React.useRef(false);\n const titleId = React.useId();\n const t = useLocale();\n // useDelayedUnmount keeps the DOM mounted during exit animation. The\n // a11y/scroll-lock hooks still consume `open` (the user's intent), not\n // `mounted` — we don't want to trap focus or block scroll while\n // animating out.\n const { mounted, closing } = useDelayedUnmount(open, EXIT_MS);\n useEscape(open, onClose, closeOnEsc);\n useFocusTrap(ref, open);\n useScrollLock(open);\n if (!mounted || typeof document === 'undefined') return null;\n return createPortal(\n <div\n className={cx('modal-backdrop', closing && 'is-closing')}\n onMouseDown={(e) => { downOnBackdrop.current = e.target === e.currentTarget; }}\n onClick={(e) => {\n if (closeOnBackdrop && downOnBackdrop.current && e.target === e.currentTarget) onClose();\n downOnBackdrop.current = false;\n }}\n >\n <div\n ref={ref}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={title ? titleId : undefined}\n className={cx('modal', `modal--${size}`, closing && 'is-closing', className)}\n >\n {title && (\n <div className=\"modal__header\">\n <div id={titleId} className=\"modal__title\">{title}</div>\n <button type=\"button\" className=\"modal__close\" onClick={onClose} aria-label={t['modal.close']}><X size={18} /></button>\n </div>\n )}\n <div className=\"modal__body\">{children}</div>\n {footer && <div className=\"modal__footer\">{footer}</div>}\n </div>\n </div>,\n document.body\n );\n}\n\nexport interface DrawerProps extends OverlayProps {\n side?: 'left' | 'right';\n}\n\nexport function Drawer({\n open, onClose, title, children, footer, side = 'right',\n closeOnBackdrop = true, closeOnEsc = true, className,\n}: DrawerProps) {\n const ref = React.useRef<HTMLDivElement>(null);\n // True only when the press both started AND ended on the backdrop itself.\n // Fixes: press inside (e.g. text-selecting in an input) released over the\n // backdrop must NOT dismiss.\n const downOnBackdrop = React.useRef(false);\n const titleId = React.useId();\n const t = useLocale();\n const { mounted, closing } = useDelayedUnmount(open, EXIT_MS);\n useEscape(open, onClose, closeOnEsc);\n useFocusTrap(ref, open);\n useScrollLock(open);\n if (!mounted || typeof document === 'undefined') return null;\n return createPortal(\n <div\n className={cx('drawer-backdrop', closing && 'is-closing')}\n onMouseDown={(e) => { downOnBackdrop.current = e.target === e.currentTarget; }}\n onClick={(e) => {\n if (closeOnBackdrop && downOnBackdrop.current && e.target === e.currentTarget) onClose();\n downOnBackdrop.current = false;\n }}\n >\n <div\n ref={ref}\n role=\"dialog\"\n aria-modal=\"true\"\n aria-labelledby={title ? titleId : undefined}\n className={cx('drawer', `drawer--${side}`, closing && 'is-closing', className)}\n >\n {title && (\n <div className=\"drawer__header\">\n <div id={titleId} className=\"drawer__title\">{title}</div>\n <button type=\"button\" className=\"drawer__close\" onClick={onClose} aria-label={t['drawer.close']}><X size={18} /></button>\n </div>\n )}\n <div className=\"drawer__body\">{children}</div>\n {footer && <div className=\"drawer__footer\">{footer}</div>}\n </div>\n </div>,\n document.body\n );\n}\n"]}
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkNPUNAVWM_js = require('../chunk-NPUNAVWM.js');
|
|
5
5
|
require('../chunk-HT43MPKW.js');
|
|
6
|
+
require('../chunk-55P5FA5Q.js');
|
|
6
7
|
require('../chunk-D2H4VZVL.js');
|
|
7
8
|
require('../chunk-FL4ZCWUF.js');
|
|
8
9
|
require('../chunk-NPXEZCTA.js');
|
|
9
|
-
require('../chunk-55P5FA5Q.js');
|
|
10
10
|
require('../chunk-6D5UP23V.js');
|
|
11
11
|
require('../chunk-A42WMR4M.js');
|
|
12
12
|
require('../chunk-XMLBKK7X.js');
|
|
@@ -18,11 +18,11 @@ require('../chunk-PASF6T4H.js');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "AppShell", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkNPUNAVWM_js.AppShell; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "PageHeader", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkNPUNAVWM_js.PageHeader; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=AppShell.js.map
|
|
28
28
|
//# sourceMappingURL=AppShell.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AppShell, PageHeader } from '../chunk-
|
|
2
|
+
export { AppShell, PageHeader } from '../chunk-F5EK5PIR.mjs';
|
|
3
3
|
import '../chunk-JT6OOSI2.mjs';
|
|
4
|
+
import '../chunk-XOV4D6J3.mjs';
|
|
4
5
|
import '../chunk-R5DCDEB5.mjs';
|
|
5
6
|
import '../chunk-U3JH4T3A.mjs';
|
|
6
7
|
import '../chunk-6W7ZGWNA.mjs';
|
|
7
|
-
import '../chunk-XOV4D6J3.mjs';
|
|
8
8
|
import '../chunk-YTKPENNW.mjs';
|
|
9
9
|
import '../chunk-KYYRQNY7.mjs';
|
|
10
10
|
import '../chunk-6P2TKRTL.mjs';
|
|
@@ -39,7 +39,8 @@ interface BaseChartProps<D = any> {
|
|
|
39
39
|
className?: string;
|
|
40
40
|
ariaLabel?: string;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
type AxisInterval = number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd' | 'equidistantPreserveStart' | 'equidistantPreserveEnd';
|
|
43
|
+
interface CartesianChartProps<D = any> extends BaseChartProps<D> {
|
|
43
44
|
categoryKey: keyof D & string;
|
|
44
45
|
series: Array<{
|
|
45
46
|
key: keyof D & string;
|
|
@@ -48,26 +49,31 @@ interface LineChartProps<D = any> extends BaseChartProps<D> {
|
|
|
48
49
|
}>;
|
|
49
50
|
showGrid?: boolean;
|
|
50
51
|
showLegend?: boolean;
|
|
52
|
+
/** Format each category-axis tick label, e.g. shorten `2026-05-23`. → XAxis.tickFormatter */
|
|
53
|
+
xTickFormatter?: (value: string) => string;
|
|
54
|
+
/** Thin out category ticks on collision. → XAxis.interval. Default `preserveStartEnd`. */
|
|
55
|
+
xTickInterval?: AxisInterval;
|
|
56
|
+
/** Rotate category-axis labels N degrees (anchors end + reserves height so they don't clip). */
|
|
57
|
+
xTickAngle?: number;
|
|
58
|
+
/** Format numeric values (value-axis ticks + tooltip). */
|
|
59
|
+
valueFormatter?: (value: number) => string;
|
|
60
|
+
}
|
|
61
|
+
interface LineChartProps<D = any> extends CartesianChartProps<D> {
|
|
51
62
|
smooth?: boolean;
|
|
63
|
+
/** Interpolation. `monotone` smooths (default, back-compat); `linear` draws honest
|
|
64
|
+
* straight segments — recommended for counts/stepped series (no phantom humps over zeros). */
|
|
65
|
+
curve?: 'linear' | 'monotone';
|
|
52
66
|
}
|
|
53
|
-
declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
54
68
|
interface AreaChartProps<D = any> extends LineChartProps<D> {
|
|
55
69
|
stacked?: boolean;
|
|
56
70
|
}
|
|
57
|
-
declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, stacked, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
interface BarChartProps<D = any> extends
|
|
59
|
-
categoryKey: keyof D & string;
|
|
60
|
-
series: Array<{
|
|
61
|
-
key: keyof D & string;
|
|
62
|
-
label?: string;
|
|
63
|
-
color?: string;
|
|
64
|
-
}>;
|
|
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;
|
|
72
|
+
interface BarChartProps<D = any> extends CartesianChartProps<D> {
|
|
65
73
|
layout?: 'vertical' | 'horizontal';
|
|
66
74
|
stacked?: boolean;
|
|
67
|
-
showGrid?: boolean;
|
|
68
|
-
showLegend?: boolean;
|
|
69
75
|
}
|
|
70
|
-
declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
71
77
|
interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
|
|
72
78
|
data: Array<{
|
|
73
79
|
name: string;
|
|
@@ -78,8 +84,12 @@ interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
|
|
|
78
84
|
showLegend?: boolean;
|
|
79
85
|
innerRadius?: number;
|
|
80
86
|
outerRadius?: number;
|
|
87
|
+
/** Format slice names in tooltip + legend, e.g. `V_REGION` → `V Región` (no need to pre-map the data). */
|
|
88
|
+
nameFormatter?: (name: string) => string;
|
|
89
|
+
/** Format slice values in the tooltip. */
|
|
90
|
+
valueFormatter?: (value: number) => string;
|
|
81
91
|
}
|
|
82
|
-
declare function DonutChart({ recharts: R, data, height, className, ariaLabel, centerLabel, showLegend, innerRadius, outerRadius, }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare function DonutChart({ recharts: R, data, height, className, ariaLabel, centerLabel, showLegend, innerRadius, outerRadius, nameFormatter, valueFormatter, }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
83
93
|
interface SparklineProps<D = any> {
|
|
84
94
|
recharts: RechartsLike;
|
|
85
95
|
data: D[];
|
|
@@ -93,4 +103,4 @@ interface SparklineProps<D = any> {
|
|
|
93
103
|
}
|
|
94
104
|
declare function Sparkline<D = any>({ recharts: R, data, dataKey, width, height, color, fill, className, ariaLabel, }: SparklineProps<D>): react_jsx_runtime.JSX.Element;
|
|
95
105
|
|
|
96
|
-
export { AreaChart, type AreaChartProps, BarChart, type BarChartProps, type BaseChartProps, DonutChart, type DonutChartProps, LineChart, type LineChartProps, type RechartsLike, Sparkline, type SparklineProps };
|
|
106
|
+
export { AreaChart, type AreaChartProps, type AxisInterval, BarChart, type BarChartProps, type BaseChartProps, type CartesianChartProps, DonutChart, type DonutChartProps, LineChart, type LineChartProps, type RechartsLike, Sparkline, type SparklineProps };
|
|
@@ -39,7 +39,8 @@ interface BaseChartProps<D = any> {
|
|
|
39
39
|
className?: string;
|
|
40
40
|
ariaLabel?: string;
|
|
41
41
|
}
|
|
42
|
-
|
|
42
|
+
type AxisInterval = number | 'preserveStart' | 'preserveEnd' | 'preserveStartEnd' | 'equidistantPreserveStart' | 'equidistantPreserveEnd';
|
|
43
|
+
interface CartesianChartProps<D = any> extends BaseChartProps<D> {
|
|
43
44
|
categoryKey: keyof D & string;
|
|
44
45
|
series: Array<{
|
|
45
46
|
key: keyof D & string;
|
|
@@ -48,26 +49,31 @@ interface LineChartProps<D = any> extends BaseChartProps<D> {
|
|
|
48
49
|
}>;
|
|
49
50
|
showGrid?: boolean;
|
|
50
51
|
showLegend?: boolean;
|
|
52
|
+
/** Format each category-axis tick label, e.g. shorten `2026-05-23`. → XAxis.tickFormatter */
|
|
53
|
+
xTickFormatter?: (value: string) => string;
|
|
54
|
+
/** Thin out category ticks on collision. → XAxis.interval. Default `preserveStartEnd`. */
|
|
55
|
+
xTickInterval?: AxisInterval;
|
|
56
|
+
/** Rotate category-axis labels N degrees (anchors end + reserves height so they don't clip). */
|
|
57
|
+
xTickAngle?: number;
|
|
58
|
+
/** Format numeric values (value-axis ticks + tooltip). */
|
|
59
|
+
valueFormatter?: (value: number) => string;
|
|
60
|
+
}
|
|
61
|
+
interface LineChartProps<D = any> extends CartesianChartProps<D> {
|
|
51
62
|
smooth?: boolean;
|
|
63
|
+
/** Interpolation. `monotone` smooths (default, back-compat); `linear` draws honest
|
|
64
|
+
* straight segments — recommended for counts/stepped series (no phantom humps over zeros). */
|
|
65
|
+
curve?: 'linear' | 'monotone';
|
|
52
66
|
}
|
|
53
|
-
declare function LineChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, }: LineChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
54
68
|
interface AreaChartProps<D = any> extends LineChartProps<D> {
|
|
55
69
|
stacked?: boolean;
|
|
56
70
|
}
|
|
57
|
-
declare function AreaChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, showGrid, showLegend, smooth, stacked, }: AreaChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
58
|
-
interface BarChartProps<D = any> extends
|
|
59
|
-
categoryKey: keyof D & string;
|
|
60
|
-
series: Array<{
|
|
61
|
-
key: keyof D & string;
|
|
62
|
-
label?: string;
|
|
63
|
-
color?: string;
|
|
64
|
-
}>;
|
|
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;
|
|
72
|
+
interface BarChartProps<D = any> extends CartesianChartProps<D> {
|
|
65
73
|
layout?: 'vertical' | 'horizontal';
|
|
66
74
|
stacked?: boolean;
|
|
67
|
-
showGrid?: boolean;
|
|
68
|
-
showLegend?: boolean;
|
|
69
75
|
}
|
|
70
|
-
declare function BarChart<D = any>({ recharts: R, data, categoryKey, series, height, className, ariaLabel, layout, stacked, showGrid, showLegend, }: BarChartProps<D>): react_jsx_runtime.JSX.Element;
|
|
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;
|
|
71
77
|
interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
|
|
72
78
|
data: Array<{
|
|
73
79
|
name: string;
|
|
@@ -78,8 +84,12 @@ interface DonutChartProps extends Omit<BaseChartProps, 'data'> {
|
|
|
78
84
|
showLegend?: boolean;
|
|
79
85
|
innerRadius?: number;
|
|
80
86
|
outerRadius?: number;
|
|
87
|
+
/** Format slice names in tooltip + legend, e.g. `V_REGION` → `V Región` (no need to pre-map the data). */
|
|
88
|
+
nameFormatter?: (name: string) => string;
|
|
89
|
+
/** Format slice values in the tooltip. */
|
|
90
|
+
valueFormatter?: (value: number) => string;
|
|
81
91
|
}
|
|
82
|
-
declare function DonutChart({ recharts: R, data, height, className, ariaLabel, centerLabel, showLegend, innerRadius, outerRadius, }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
92
|
+
declare function DonutChart({ recharts: R, data, height, className, ariaLabel, centerLabel, showLegend, innerRadius, outerRadius, nameFormatter, valueFormatter, }: DonutChartProps): react_jsx_runtime.JSX.Element;
|
|
83
93
|
interface SparklineProps<D = any> {
|
|
84
94
|
recharts: RechartsLike;
|
|
85
95
|
data: D[];
|
|
@@ -93,4 +103,4 @@ interface SparklineProps<D = any> {
|
|
|
93
103
|
}
|
|
94
104
|
declare function Sparkline<D = any>({ recharts: R, data, dataKey, width, height, color, fill, className, ariaLabel, }: SparklineProps<D>): react_jsx_runtime.JSX.Element;
|
|
95
105
|
|
|
96
|
-
export { AreaChart, type AreaChartProps, BarChart, type BarChartProps, type BaseChartProps, DonutChart, type DonutChartProps, LineChart, type LineChartProps, type RechartsLike, Sparkline, type SparklineProps };
|
|
106
|
+
export { AreaChart, type AreaChartProps, type AxisInterval, BarChart, type BarChartProps, type BaseChartProps, type CartesianChartProps, DonutChart, type DonutChartProps, LineChart, type LineChartProps, type RechartsLike, Sparkline, type SparklineProps };
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunk2ET7IM4U_js = require('../chunk-2ET7IM4U.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
|
|
11
|
+
get: function () { return chunk2ET7IM4U_js.AreaChart; }
|
|
12
12
|
});
|
|
13
13
|
Object.defineProperty(exports, "BarChart", {
|
|
14
14
|
enumerable: true,
|
|
15
|
-
get: function () { return
|
|
15
|
+
get: function () { return chunk2ET7IM4U_js.BarChart; }
|
|
16
16
|
});
|
|
17
17
|
Object.defineProperty(exports, "DonutChart", {
|
|
18
18
|
enumerable: true,
|
|
19
|
-
get: function () { return
|
|
19
|
+
get: function () { return chunk2ET7IM4U_js.DonutChart; }
|
|
20
20
|
});
|
|
21
21
|
Object.defineProperty(exports, "LineChart", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk2ET7IM4U_js.LineChart; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "Sparkline", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk2ET7IM4U_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-
|
|
2
|
+
export { AreaChart, BarChart, DonutChart, LineChart, Sparkline } from '../chunk-EJY4QWHT.mjs';
|
|
3
3
|
import '../chunk-IEPCH3JB.mjs';
|
|
4
4
|
//# sourceMappingURL=Charts.mjs.map
|
|
5
5
|
//# sourceMappingURL=Charts.mjs.map
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunkKNQOG43N_js = require('../chunk-KNQOG43N.js');
|
|
5
|
+
require('../chunk-DLDTUVHR.js');
|
|
6
6
|
require('../chunk-G3V4UOZW.js');
|
|
7
7
|
require('../chunk-3PXYCXDW.js');
|
|
8
8
|
require('../chunk-HT43MPKW.js');
|
|
9
|
+
require('../chunk-55P5FA5Q.js');
|
|
9
10
|
require('../chunk-D2H4VZVL.js');
|
|
10
11
|
require('../chunk-FL4ZCWUF.js');
|
|
11
12
|
require('../chunk-NPXEZCTA.js');
|
|
12
|
-
require('../chunk-55P5FA5Q.js');
|
|
13
13
|
require('../chunk-6D5UP23V.js');
|
|
14
14
|
require('../chunk-A42WMR4M.js');
|
|
15
15
|
require('../chunk-XMLBKK7X.js');
|
|
@@ -21,47 +21,47 @@ require('../chunk-PASF6T4H.js');
|
|
|
21
21
|
|
|
22
22
|
Object.defineProperty(exports, "AddressForm", {
|
|
23
23
|
enumerable: true,
|
|
24
|
-
get: function () { return
|
|
24
|
+
get: function () { return chunkKNQOG43N_js.AddressForm; }
|
|
25
25
|
});
|
|
26
26
|
Object.defineProperty(exports, "CartDrawer", {
|
|
27
27
|
enumerable: true,
|
|
28
|
-
get: function () { return
|
|
28
|
+
get: function () { return chunkKNQOG43N_js.CartDrawer; }
|
|
29
29
|
});
|
|
30
30
|
Object.defineProperty(exports, "CompareTable", {
|
|
31
31
|
enumerable: true,
|
|
32
|
-
get: function () { return
|
|
32
|
+
get: function () { return chunkKNQOG43N_js.CompareTable; }
|
|
33
33
|
});
|
|
34
34
|
Object.defineProperty(exports, "FreeShippingProgress", {
|
|
35
35
|
enumerable: true,
|
|
36
|
-
get: function () { return
|
|
36
|
+
get: function () { return chunkKNQOG43N_js.FreeShippingProgress; }
|
|
37
37
|
});
|
|
38
38
|
Object.defineProperty(exports, "OrderSummary", {
|
|
39
39
|
enumerable: true,
|
|
40
|
-
get: function () { return
|
|
40
|
+
get: function () { return chunkKNQOG43N_js.OrderSummary; }
|
|
41
41
|
});
|
|
42
42
|
Object.defineProperty(exports, "PriceDisplay", {
|
|
43
43
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
44
|
+
get: function () { return chunkKNQOG43N_js.PriceDisplay; }
|
|
45
45
|
});
|
|
46
46
|
Object.defineProperty(exports, "PromoCodeInput", {
|
|
47
47
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
48
|
+
get: function () { return chunkKNQOG43N_js.PromoCodeInput; }
|
|
49
49
|
});
|
|
50
50
|
Object.defineProperty(exports, "QuantitySelector", {
|
|
51
51
|
enumerable: true,
|
|
52
|
-
get: function () { return
|
|
52
|
+
get: function () { return chunkKNQOG43N_js.QuantitySelector; }
|
|
53
53
|
});
|
|
54
54
|
Object.defineProperty(exports, "Rating", {
|
|
55
55
|
enumerable: true,
|
|
56
|
-
get: function () { return
|
|
56
|
+
get: function () { return chunkKNQOG43N_js.Rating; }
|
|
57
57
|
});
|
|
58
58
|
Object.defineProperty(exports, "VariantSelector", {
|
|
59
59
|
enumerable: true,
|
|
60
|
-
get: function () { return
|
|
60
|
+
get: function () { return chunkKNQOG43N_js.VariantSelector; }
|
|
61
61
|
});
|
|
62
62
|
Object.defineProperty(exports, "WishlistButton", {
|
|
63
63
|
enumerable: true,
|
|
64
|
-
get: function () { return
|
|
64
|
+
get: function () { return chunkKNQOG43N_js.WishlistButton; }
|
|
65
65
|
});
|
|
66
66
|
//# sourceMappingURL=Commerce.js.map
|
|
67
67
|
//# sourceMappingURL=Commerce.js.map
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { AddressForm, CartDrawer, CompareTable, FreeShippingProgress, OrderSummary, PriceDisplay, PromoCodeInput, QuantitySelector, Rating, VariantSelector, WishlistButton } from '../chunk-X7BV2JFX.mjs';
|
|
3
|
+
import '../chunk-ZAKJKBUX.mjs';
|
|
4
4
|
import '../chunk-VGA7UT6T.mjs';
|
|
5
5
|
import '../chunk-5GEWIK4T.mjs';
|
|
6
6
|
import '../chunk-JT6OOSI2.mjs';
|
|
7
|
+
import '../chunk-XOV4D6J3.mjs';
|
|
7
8
|
import '../chunk-R5DCDEB5.mjs';
|
|
8
9
|
import '../chunk-U3JH4T3A.mjs';
|
|
9
10
|
import '../chunk-6W7ZGWNA.mjs';
|
|
10
|
-
import '../chunk-XOV4D6J3.mjs';
|
|
11
11
|
import '../chunk-YTKPENNW.mjs';
|
|
12
12
|
import '../chunk-KYYRQNY7.mjs';
|
|
13
13
|
import '../chunk-6P2TKRTL.mjs';
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
5
|
-
require('../chunk-
|
|
4
|
+
var chunk4HHP3WT7_js = require('../chunk-4HHP3WT7.js');
|
|
5
|
+
require('../chunk-DLDTUVHR.js');
|
|
6
6
|
require('../chunk-6SSTTJV4.js');
|
|
7
7
|
require('../chunk-HT43MPKW.js');
|
|
8
|
+
require('../chunk-55P5FA5Q.js');
|
|
8
9
|
require('../chunk-D2H4VZVL.js');
|
|
9
10
|
require('../chunk-FL4ZCWUF.js');
|
|
10
11
|
require('../chunk-NPXEZCTA.js');
|
|
11
|
-
require('../chunk-55P5FA5Q.js');
|
|
12
12
|
require('../chunk-6D5UP23V.js');
|
|
13
13
|
require('../chunk-A42WMR4M.js');
|
|
14
14
|
require('../chunk-XMLBKK7X.js');
|
|
@@ -20,27 +20,27 @@ require('../chunk-PASF6T4H.js');
|
|
|
20
20
|
|
|
21
21
|
Object.defineProperty(exports, "ConfirmDialog", {
|
|
22
22
|
enumerable: true,
|
|
23
|
-
get: function () { return
|
|
23
|
+
get: function () { return chunk4HHP3WT7_js.ConfirmDialog; }
|
|
24
24
|
});
|
|
25
25
|
Object.defineProperty(exports, "DescriptionList", {
|
|
26
26
|
enumerable: true,
|
|
27
|
-
get: function () { return
|
|
27
|
+
get: function () { return chunk4HHP3WT7_js.DescriptionList; }
|
|
28
28
|
});
|
|
29
29
|
Object.defineProperty(exports, "DescriptionListItem", {
|
|
30
30
|
enumerable: true,
|
|
31
|
-
get: function () { return
|
|
31
|
+
get: function () { return chunk4HHP3WT7_js.DescriptionListItem; }
|
|
32
32
|
});
|
|
33
33
|
Object.defineProperty(exports, "DiffViewer", {
|
|
34
34
|
enumerable: true,
|
|
35
|
-
get: function () { return
|
|
35
|
+
get: function () { return chunk4HHP3WT7_js.DiffViewer; }
|
|
36
36
|
});
|
|
37
37
|
Object.defineProperty(exports, "EditableCell", {
|
|
38
38
|
enumerable: true,
|
|
39
|
-
get: function () { return
|
|
39
|
+
get: function () { return chunk4HHP3WT7_js.EditableCell; }
|
|
40
40
|
});
|
|
41
41
|
Object.defineProperty(exports, "TransferList", {
|
|
42
42
|
enumerable: true,
|
|
43
|
-
get: function () { return
|
|
43
|
+
get: function () { return chunk4HHP3WT7_js.TransferList; }
|
|
44
44
|
});
|
|
45
45
|
//# sourceMappingURL=Editing.js.map
|
|
46
46
|
//# sourceMappingURL=Editing.js.map
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, EditableCell, TransferList } from '../chunk-
|
|
3
|
-
import '../chunk-
|
|
2
|
+
export { ConfirmDialog, DescriptionList, DescriptionListItem, DiffViewer, EditableCell, TransferList } from '../chunk-I7JH3OEO.mjs';
|
|
3
|
+
import '../chunk-ZAKJKBUX.mjs';
|
|
4
4
|
import '../chunk-SUQLII3F.mjs';
|
|
5
5
|
import '../chunk-JT6OOSI2.mjs';
|
|
6
|
+
import '../chunk-XOV4D6J3.mjs';
|
|
6
7
|
import '../chunk-R5DCDEB5.mjs';
|
|
7
8
|
import '../chunk-U3JH4T3A.mjs';
|
|
8
9
|
import '../chunk-6W7ZGWNA.mjs';
|
|
9
|
-
import '../chunk-XOV4D6J3.mjs';
|
|
10
10
|
import '../chunk-YTKPENNW.mjs';
|
|
11
11
|
import '../chunk-KYYRQNY7.mjs';
|
|
12
12
|
import '../chunk-6P2TKRTL.mjs';
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
|
-
var
|
|
4
|
+
var chunkDLDTUVHR_js = require('../chunk-DLDTUVHR.js');
|
|
5
5
|
require('../chunk-HT43MPKW.js');
|
|
6
|
+
require('../chunk-55P5FA5Q.js');
|
|
6
7
|
require('../chunk-D2H4VZVL.js');
|
|
7
8
|
require('../chunk-FL4ZCWUF.js');
|
|
8
9
|
require('../chunk-NPXEZCTA.js');
|
|
9
|
-
require('../chunk-55P5FA5Q.js');
|
|
10
10
|
require('../chunk-6D5UP23V.js');
|
|
11
11
|
require('../chunk-A42WMR4M.js');
|
|
12
12
|
require('../chunk-XMLBKK7X.js');
|
|
@@ -18,11 +18,11 @@ require('../chunk-PASF6T4H.js');
|
|
|
18
18
|
|
|
19
19
|
Object.defineProperty(exports, "Drawer", {
|
|
20
20
|
enumerable: true,
|
|
21
|
-
get: function () { return
|
|
21
|
+
get: function () { return chunkDLDTUVHR_js.Drawer; }
|
|
22
22
|
});
|
|
23
23
|
Object.defineProperty(exports, "Modal", {
|
|
24
24
|
enumerable: true,
|
|
25
|
-
get: function () { return
|
|
25
|
+
get: function () { return chunkDLDTUVHR_js.Modal; }
|
|
26
26
|
});
|
|
27
27
|
//# sourceMappingURL=Overlay.js.map
|
|
28
28
|
//# sourceMappingURL=Overlay.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
|
-
export { Drawer, Modal } from '../chunk-
|
|
2
|
+
export { Drawer, Modal } from '../chunk-ZAKJKBUX.mjs';
|
|
3
3
|
import '../chunk-JT6OOSI2.mjs';
|
|
4
|
+
import '../chunk-XOV4D6J3.mjs';
|
|
4
5
|
import '../chunk-R5DCDEB5.mjs';
|
|
5
6
|
import '../chunk-U3JH4T3A.mjs';
|
|
6
7
|
import '../chunk-6W7ZGWNA.mjs';
|
|
7
|
-
import '../chunk-XOV4D6J3.mjs';
|
|
8
8
|
import '../chunk-YTKPENNW.mjs';
|
|
9
9
|
import '../chunk-KYYRQNY7.mjs';
|
|
10
10
|
import '../chunk-6P2TKRTL.mjs';
|
package/dist/hooks/index.js
CHANGED
|
@@ -2,16 +2,20 @@
|
|
|
2
2
|
'use strict';
|
|
3
3
|
|
|
4
4
|
require('../chunk-HT43MPKW.js');
|
|
5
|
+
var chunk55P5FA5Q_js = require('../chunk-55P5FA5Q.js');
|
|
5
6
|
var chunkD2H4VZVL_js = require('../chunk-D2H4VZVL.js');
|
|
6
7
|
var chunkFL4ZCWUF_js = require('../chunk-FL4ZCWUF.js');
|
|
7
8
|
var chunkNPXEZCTA_js = require('../chunk-NPXEZCTA.js');
|
|
8
|
-
var chunk55P5FA5Q_js = require('../chunk-55P5FA5Q.js');
|
|
9
9
|
var chunk6D5UP23V_js = require('../chunk-6D5UP23V.js');
|
|
10
10
|
var chunkXMLBKK7X_js = require('../chunk-XMLBKK7X.js');
|
|
11
11
|
var chunkCRKYET66_js = require('../chunk-CRKYET66.js');
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
|
|
15
|
+
Object.defineProperty(exports, "useFocusTrap", {
|
|
16
|
+
enumerable: true,
|
|
17
|
+
get: function () { return chunk55P5FA5Q_js.useFocusTrap; }
|
|
18
|
+
});
|
|
15
19
|
Object.defineProperty(exports, "useScrollLock", {
|
|
16
20
|
enumerable: true,
|
|
17
21
|
get: function () { return chunkD2H4VZVL_js.useScrollLock; }
|
|
@@ -24,10 +28,6 @@ Object.defineProperty(exports, "useEscape", {
|
|
|
24
28
|
enumerable: true,
|
|
25
29
|
get: function () { return chunkNPXEZCTA_js.useEscape; }
|
|
26
30
|
});
|
|
27
|
-
Object.defineProperty(exports, "useFocusTrap", {
|
|
28
|
-
enumerable: true,
|
|
29
|
-
get: function () { return chunk55P5FA5Q_js.useFocusTrap; }
|
|
30
|
-
});
|
|
31
31
|
Object.defineProperty(exports, "useVirtualRows", {
|
|
32
32
|
enumerable: true,
|
|
33
33
|
get: function () { return chunk6D5UP23V_js.useVirtualRows; }
|
package/dist/hooks/index.mjs
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import '../chunk-JT6OOSI2.mjs';
|
|
3
|
+
export { useFocusTrap } from '../chunk-XOV4D6J3.mjs';
|
|
3
4
|
export { useScrollLock } from '../chunk-R5DCDEB5.mjs';
|
|
4
5
|
export { useDelayedUnmount } from '../chunk-U3JH4T3A.mjs';
|
|
5
6
|
export { useEscape } from '../chunk-6W7ZGWNA.mjs';
|
|
6
|
-
export { useFocusTrap } from '../chunk-XOV4D6J3.mjs';
|
|
7
7
|
export { useVirtualRows } from '../chunk-YTKPENNW.mjs';
|
|
8
8
|
export { useDismiss } from '../chunk-6P2TKRTL.mjs';
|
|
9
9
|
export { usePopoverPosition } from '../chunk-5XT2LX3I.mjs';
|
package/dist/index.d.mts
CHANGED
|
@@ -17,7 +17,7 @@ export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionI
|
|
|
17
17
|
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.mjs';
|
|
18
18
|
export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.mjs';
|
|
19
19
|
export { AppShell, AppShellHeader, AppShellHeaderApi, AppShellHeaderSlot, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.mjs';
|
|
20
|
-
export { AreaChart, AreaChartProps, BarChart, BarChartProps, BaseChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.mjs';
|
|
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';
|
|
22
22
|
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, IconProps, 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 './components/Icons.mjs';
|
|
23
23
|
export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.mjs';
|
package/dist/index.d.ts
CHANGED
|
@@ -17,7 +17,7 @@ export { CheckboxGroup, CheckboxGroupProps, MoneyInput, MoneyInputProps, OptionI
|
|
|
17
17
|
export { Avatar, AvatarGroup, AvatarGroupProps, AvatarProps, Menu, MenuItemProps, MenuProps, Stat, StatProps } from './components/Display2.js';
|
|
18
18
|
export { CommandItem, CommandPalette, CommandPaletteProps, DateRange, DateRangePicker, DateRangePickerProps, MultiCombobox, MultiComboboxOption, MultiComboboxProps, UseCommandPaletteOptions, useCommandPalette } from './components/AdvancedPickers.js';
|
|
19
19
|
export { AppShell, AppShellHeader, AppShellHeaderApi, AppShellHeaderSlot, AppShellProps, AppShellTheme, NavItem, NavSection, PageHeader, PageHeaderProps } from './components/AppShell.js';
|
|
20
|
-
export { AreaChart, AreaChartProps, BarChart, BarChartProps, BaseChartProps, DonutChart, DonutChartProps, LineChart, LineChartProps, RechartsLike, Sparkline, SparklineProps } from './components/Charts.js';
|
|
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';
|
|
22
22
|
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, IconProps, 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 './components/Icons.js';
|
|
23
23
|
export { Logo, LogoBg, LogoFormat, LogoProps, LogoVariant } from './components/Logo.js';
|