@jacshuo/onyx 1.4.1 → 2.1.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/Chart/BarChart.cjs +1 -0
- package/dist/Chart/BarChart.css +1 -0
- package/dist/Chart/BarChart.d.cts +2 -0
- package/dist/Chart/BarChart.d.ts +2 -0
- package/dist/Chart/BarChart.js +1 -0
- package/dist/Chart/LineChart.cjs +1 -0
- package/dist/Chart/LineChart.css +1 -0
- package/dist/Chart/LineChart.d.cts +2 -0
- package/dist/Chart/LineChart.d.ts +2 -0
- package/dist/Chart/LineChart.js +1 -0
- package/dist/Chart/PieChart.cjs +1 -0
- package/dist/Chart/PieChart.css +1 -0
- package/dist/Chart/PieChart.d.cts +2 -0
- package/dist/Chart/PieChart.d.ts +2 -0
- package/dist/Chart/PieChart.js +1 -0
- package/dist/Chart/ScatterChart.cjs +1 -0
- package/dist/Chart/ScatterChart.css +1 -0
- package/dist/Chart/ScatterChart.d.cts +2 -0
- package/dist/Chart/ScatterChart.d.ts +2 -0
- package/dist/Chart/ScatterChart.js +1 -0
- package/dist/Chart/index.cjs +1 -0
- package/dist/Chart/index.css +1 -0
- package/dist/Chart/index.d.cts +12 -0
- package/dist/Chart/index.d.ts +12 -0
- package/dist/Chart/index.js +1 -0
- package/dist/DataDisplay/CodeBlock.cjs +2 -2
- package/dist/DataDisplay/CodeBlock.js +2 -2
- package/dist/DataDisplay/List.cjs +1 -1
- package/dist/DataDisplay/List.js +1 -1
- package/dist/DataDisplay/MetricCard.cjs +1 -0
- package/dist/DataDisplay/MetricCard.d.cts +3 -0
- package/dist/DataDisplay/MetricCard.d.ts +3 -0
- package/dist/DataDisplay/MetricCard.js +1 -0
- package/dist/DataDisplay/Stat.cjs +1 -0
- package/dist/DataDisplay/Stat.d.cts +3 -0
- package/dist/DataDisplay/Stat.d.ts +3 -0
- package/dist/DataDisplay/Stat.js +1 -0
- package/dist/DataDisplay/Table.cjs +1 -1
- package/dist/DataDisplay/Table.js +1 -1
- package/dist/DataDisplay/Tree.cjs +1 -1
- package/dist/DataDisplay/Tree.js +1 -1
- package/dist/DataDisplay/index.cjs +2 -2
- package/dist/DataDisplay/index.d.cts +7 -1
- package/dist/DataDisplay/index.d.ts +7 -1
- package/dist/DataDisplay/index.js +2 -2
- package/dist/Disclosure/index.d.cts +1 -1
- package/dist/Disclosure/index.d.ts +1 -1
- package/dist/Extras/CommandPalette.cjs +1 -0
- package/dist/Extras/CommandPalette.css +1 -0
- package/dist/Extras/CommandPalette.d.cts +4 -0
- package/dist/Extras/CommandPalette.d.ts +4 -0
- package/dist/Extras/CommandPalette.js +1 -0
- package/dist/Extras/FileExplorer.cjs +2 -2
- package/dist/Extras/FileExplorer.js +2 -2
- package/dist/Extras/Timeline.cjs +1 -0
- package/dist/Extras/Timeline.css +1 -0
- package/dist/Extras/Timeline.d.cts +6 -0
- package/dist/Extras/Timeline.d.ts +6 -0
- package/dist/Extras/Timeline.js +1 -0
- package/dist/Extras/TypewriterText.cjs +1 -0
- package/dist/Extras/TypewriterText.css +1 -0
- package/dist/Extras/TypewriterText.d.cts +2 -0
- package/dist/Extras/TypewriterText.d.ts +2 -0
- package/dist/Extras/TypewriterText.js +1 -0
- package/dist/Extras/index.cjs +4 -4
- package/dist/Extras/index.css +1 -0
- package/dist/Extras/index.d.cts +12 -1
- package/dist/Extras/index.d.ts +12 -1
- package/dist/Extras/index.js +4 -4
- package/dist/Feedback/Alert.cjs +1 -1
- package/dist/Feedback/Alert.js +1 -1
- package/dist/Feedback/ProgressBar.cjs +1 -1
- package/dist/Feedback/ProgressBar.js +1 -1
- package/dist/Feedback/Skeleton.cjs +1 -0
- package/dist/Feedback/Skeleton.d.cts +2 -0
- package/dist/Feedback/Skeleton.d.ts +2 -0
- package/dist/Feedback/Skeleton.js +1 -0
- package/dist/Feedback/Spin.cjs +2 -2
- package/dist/Feedback/Spin.js +2 -2
- package/dist/Feedback/Toast.cjs +1 -0
- package/dist/Feedback/Toast.d.cts +11 -0
- package/dist/Feedback/Toast.d.ts +11 -0
- package/dist/Feedback/Toast.js +1 -0
- package/dist/Feedback/index.cjs +2 -2
- package/dist/Feedback/index.d.cts +12 -1
- package/dist/Feedback/index.d.ts +12 -1
- package/dist/Feedback/index.js +2 -2
- package/dist/Forms/Select.cjs +1 -0
- package/dist/Forms/Select.css +1 -0
- package/dist/Forms/Select.d.cts +3 -0
- package/dist/Forms/Select.d.ts +3 -0
- package/dist/Forms/Select.js +1 -0
- package/dist/Forms/index.d.cts +1 -1
- package/dist/Forms/index.d.ts +1 -1
- package/dist/Layout/index.d.cts +1 -1
- package/dist/Layout/index.d.ts +1 -1
- package/dist/Navigation/Breadcrumb.cjs +1 -0
- package/dist/Navigation/Breadcrumb.d.cts +3 -0
- package/dist/Navigation/Breadcrumb.d.ts +3 -0
- package/dist/Navigation/Breadcrumb.js +1 -0
- package/dist/Navigation/Header.cjs +1 -1
- package/dist/Navigation/Header.js +1 -1
- package/dist/Navigation/Pagination.cjs +1 -0
- package/dist/Navigation/Pagination.d.cts +2 -0
- package/dist/Navigation/Pagination.d.ts +2 -0
- package/dist/Navigation/Pagination.js +1 -0
- package/dist/Navigation/RibbonBar.cjs +1 -0
- package/dist/Navigation/RibbonBar.d.cts +6 -0
- package/dist/Navigation/RibbonBar.d.ts +6 -0
- package/dist/Navigation/RibbonBar.js +1 -0
- package/dist/Navigation/index.cjs +2 -2
- package/dist/Navigation/index.d.cts +9 -1
- package/dist/Navigation/index.d.ts +9 -1
- package/dist/Navigation/index.js +2 -2
- package/dist/Overlay/ContextMenu.cjs +1 -0
- package/dist/Overlay/ContextMenu.d.cts +3 -0
- package/dist/Overlay/ContextMenu.d.ts +3 -0
- package/dist/Overlay/ContextMenu.js +1 -0
- package/dist/Overlay/Drawer.cjs +1 -0
- package/dist/Overlay/Drawer.css +1 -0
- package/dist/Overlay/Drawer.d.cts +10 -0
- package/dist/Overlay/Drawer.d.ts +10 -0
- package/dist/Overlay/Drawer.js +1 -0
- package/dist/Overlay/index.cjs +1 -1
- package/dist/Overlay/index.css +1 -0
- package/dist/Overlay/index.d.cts +9 -1
- package/dist/Overlay/index.d.ts +9 -1
- package/dist/Overlay/index.js +1 -1
- package/dist/Primitives/Avatar.cjs +1 -0
- package/dist/Primitives/Avatar.d.cts +4 -0
- package/dist/Primitives/Avatar.d.ts +4 -0
- package/dist/Primitives/Avatar.js +1 -0
- package/dist/Primitives/Badge.cjs +1 -1
- package/dist/Primitives/Badge.js +1 -1
- package/dist/Primitives/Button.cjs +1 -1
- package/dist/Primitives/Button.js +1 -1
- package/dist/Primitives/Checkbox.cjs +1 -1
- package/dist/Primitives/Checkbox.js +1 -1
- package/dist/Primitives/Dropdown.cjs +1 -1
- package/dist/Primitives/Dropdown.js +1 -1
- package/dist/Primitives/DropdownButton.cjs +1 -1
- package/dist/Primitives/DropdownButton.js +1 -1
- package/dist/Primitives/Indicator.cjs +1 -1
- package/dist/Primitives/Indicator.js +1 -1
- package/dist/Primitives/Input.cjs +1 -1
- package/dist/Primitives/Input.js +1 -1
- package/dist/Primitives/Label.cjs +1 -1
- package/dist/Primitives/Label.js +1 -1
- package/dist/Primitives/Radio.cjs +1 -1
- package/dist/Primitives/Radio.js +1 -1
- package/dist/Primitives/Slider.cjs +1 -0
- package/dist/Primitives/Slider.css +1 -0
- package/dist/Primitives/Slider.d.cts +4 -0
- package/dist/Primitives/Slider.d.ts +4 -0
- package/dist/Primitives/Slider.js +1 -0
- package/dist/Primitives/Switch.cjs +1 -1
- package/dist/Primitives/Switch.js +1 -1
- package/dist/Primitives/Tag.cjs +1 -0
- package/dist/Primitives/Tag.d.cts +2 -0
- package/dist/Primitives/Tag.d.ts +2 -0
- package/dist/Primitives/Tag.js +1 -0
- package/dist/Primitives/index.cjs +1 -1
- package/dist/Primitives/index.css +1 -0
- package/dist/Primitives/index.d.cts +7 -1
- package/dist/Primitives/index.d.ts +7 -1
- package/dist/Primitives/index.js +1 -1
- package/dist/_tsup-dts-rollup.d.cts +1447 -12
- package/dist/_tsup-dts-rollup.d.ts +1447 -12
- package/dist/index.cjs +5 -5
- package/dist/index.css +1 -0
- package/dist/index.d.cts +89 -0
- package/dist/index.d.ts +89 -0
- package/dist/index.js +5 -5
- package/dist/styles/Chart/BarChart.css +44 -0
- package/dist/styles/Chart/LineChart.css +72 -0
- package/dist/styles/Chart/PieChart.css +56 -0
- package/dist/styles/Chart/ScatterChart.css +45 -0
- package/dist/styles/DataDisplay/MetricCard.css +1 -0
- package/dist/styles/DataDisplay/Stat.css +1 -0
- package/dist/styles/Extras/CommandPalette.css +65 -0
- package/dist/styles/Extras/Timeline.css +52 -0
- package/dist/styles/Extras/TypewriterText.css +55 -0
- package/dist/styles/Feedback/Skeleton.css +37 -0
- package/dist/styles/Feedback/Toast.css +77 -0
- package/dist/styles/Forms/Select.css +36 -0
- package/dist/styles/Navigation/RibbonBar.css +1 -0
- package/dist/styles/Overlay/ContextMenu.css +1 -0
- package/dist/styles/Overlay/Drawer.css +52 -0
- package/dist/styles/Primitives/Slider.css +4 -0
- package/dist/styles/Primitives/Tag.css +1 -0
- package/dist/styles/base.css +1152 -0
- package/dist/styles/tokens/core.css +10 -0
- package/dist/styles.css +1570 -3
- package/dist/theme.cjs +1 -1
- package/dist/theme.d.cts +10 -0
- package/dist/theme.d.ts +10 -0
- package/dist/theme.js +1 -1
- package/package.json +1 -1
|
@@ -1,7 +1,9 @@
|
|
|
1
1
|
import { ClassProp } from 'class-variance-authority/types';
|
|
2
2
|
import { ClassValue } from 'clsx';
|
|
3
|
+
import { Dispatch } from 'react';
|
|
3
4
|
import { JSX } from 'react/jsx-runtime';
|
|
4
5
|
import { default as React_2 } from 'react';
|
|
6
|
+
import { SetStateAction } from 'react';
|
|
5
7
|
import { VariantProps } from 'class-variance-authority';
|
|
6
8
|
|
|
7
9
|
declare function Accordion({ type, defaultValue, value, onValueChange, intent, size, className, children, ...props }: AccordionProps): JSX.Element;
|
|
@@ -120,6 +122,64 @@ export { alertVariants }
|
|
|
120
122
|
export { alertVariants as alertVariants_alias_1 }
|
|
121
123
|
export { alertVariants as alertVariants_alias_2 }
|
|
122
124
|
|
|
125
|
+
declare function Avatar({ src, alt, initials, size, shape, status, className, ...props }: AvatarProps): JSX.Element;
|
|
126
|
+
export { Avatar }
|
|
127
|
+
export { Avatar as Avatar_alias_1 }
|
|
128
|
+
export { Avatar as Avatar_alias_2 }
|
|
129
|
+
export { Avatar as Avatar_alias_3 }
|
|
130
|
+
|
|
131
|
+
declare function AvatarGroup({ children, max, overlap, className }: AvatarGroupProps): JSX.Element;
|
|
132
|
+
export { AvatarGroup }
|
|
133
|
+
export { AvatarGroup as AvatarGroup_alias_1 }
|
|
134
|
+
export { AvatarGroup as AvatarGroup_alias_2 }
|
|
135
|
+
export { AvatarGroup as AvatarGroup_alias_3 }
|
|
136
|
+
|
|
137
|
+
declare type AvatarGroupProps = {
|
|
138
|
+
children: React_2.ReactNode;
|
|
139
|
+
/** How many avatars to show before collapsing to "+N". @default 4 */
|
|
140
|
+
max?: number;
|
|
141
|
+
/** Gap direction: avatars overlap on the left side. @default "left" */
|
|
142
|
+
overlap?: "left" | "right";
|
|
143
|
+
className?: string;
|
|
144
|
+
};
|
|
145
|
+
export { AvatarGroupProps }
|
|
146
|
+
export { AvatarGroupProps as AvatarGroupProps_alias_1 }
|
|
147
|
+
export { AvatarGroupProps as AvatarGroupProps_alias_2 }
|
|
148
|
+
|
|
149
|
+
declare type AvatarProps = React_2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof avatarVariants> & {
|
|
150
|
+
/** Image URL. Falls back to initials (or icon placeholder) if not provided or fails to load. */
|
|
151
|
+
src?: string;
|
|
152
|
+
/** Alt text for the image. Doubles as the source for auto-generated initials. */
|
|
153
|
+
alt?: string;
|
|
154
|
+
/** Override the auto-derived initials (max 2 chars). */
|
|
155
|
+
initials?: string;
|
|
156
|
+
/** Show a coloured status ring around the avatar. */
|
|
157
|
+
status?: "online" | "offline" | "busy" | "away";
|
|
158
|
+
};
|
|
159
|
+
export { AvatarProps }
|
|
160
|
+
export { AvatarProps as AvatarProps_alias_1 }
|
|
161
|
+
export { AvatarProps as AvatarProps_alias_2 }
|
|
162
|
+
|
|
163
|
+
declare const avatarVariants: (props?: ({
|
|
164
|
+
size?: "sm" | "md" | "lg" | "xs" | "xl" | null | undefined;
|
|
165
|
+
shape?: "circular" | "rounded" | "square" | null | undefined;
|
|
166
|
+
} & ClassProp) | undefined) => string;
|
|
167
|
+
export { avatarVariants }
|
|
168
|
+
export { avatarVariants as avatarVariants_alias_1 }
|
|
169
|
+
export { avatarVariants as avatarVariants_alias_2 }
|
|
170
|
+
|
|
171
|
+
declare interface AxisConfig {
|
|
172
|
+
label?: string;
|
|
173
|
+
min?: number;
|
|
174
|
+
max?: number;
|
|
175
|
+
tickCount?: number;
|
|
176
|
+
format?: (value: number | string) => string;
|
|
177
|
+
gridLines?: boolean;
|
|
178
|
+
}
|
|
179
|
+
export { AxisConfig }
|
|
180
|
+
export { AxisConfig as AxisConfig_alias_1 }
|
|
181
|
+
export { AxisConfig as AxisConfig_alias_2 }
|
|
182
|
+
|
|
123
183
|
declare function Badge({ intent, size, className, ...props }: BadgeProps): JSX.Element;
|
|
124
184
|
export { Badge }
|
|
125
185
|
export { Badge as Badge_alias_1 }
|
|
@@ -136,6 +196,115 @@ export { badgeVariants }
|
|
|
136
196
|
export { badgeVariants as badgeVariants_alias_1 }
|
|
137
197
|
export { badgeVariants as badgeVariants_alias_2 }
|
|
138
198
|
|
|
199
|
+
declare function BarChart({ series, xAxis, yAxis, orientation, grouped, barRadius, barPadding, groupPadding, title, height, className, legend, legendPosition, animateOnMount, emptyText, }: BarChartProps): JSX.Element;
|
|
200
|
+
export { BarChart }
|
|
201
|
+
export { BarChart as BarChart_alias_1 }
|
|
202
|
+
export { BarChart as BarChart_alias_2 }
|
|
203
|
+
export { BarChart as BarChart_alias_3 }
|
|
204
|
+
|
|
205
|
+
declare interface BarChartProps extends BaseChartProps {
|
|
206
|
+
series: ChartSeries[];
|
|
207
|
+
xAxis?: AxisConfig;
|
|
208
|
+
yAxis?: AxisConfig;
|
|
209
|
+
y2Axis?: AxisConfig;
|
|
210
|
+
/** Series IDs that map to the secondary (right) Y axis. */
|
|
211
|
+
y2Series?: string[];
|
|
212
|
+
/** "vertical" = X categorical, Y numerical (default). "horizontal" = flipped. */
|
|
213
|
+
orientation?: "vertical" | "horizontal";
|
|
214
|
+
/** true = bars side-by-side per category (default). false = stacked. */
|
|
215
|
+
grouped?: boolean;
|
|
216
|
+
/** Corner radius for bar caps in px. */
|
|
217
|
+
barRadius?: number;
|
|
218
|
+
/** Gap between individual bars within a group (0–1). */
|
|
219
|
+
barPadding?: number;
|
|
220
|
+
/** Gap between category groups (0–1). */
|
|
221
|
+
groupPadding?: number;
|
|
222
|
+
}
|
|
223
|
+
export { BarChartProps }
|
|
224
|
+
export { BarChartProps as BarChartProps_alias_1 }
|
|
225
|
+
export { BarChartProps as BarChartProps_alias_2 }
|
|
226
|
+
|
|
227
|
+
export declare interface BarSpec {
|
|
228
|
+
seriesId: string;
|
|
229
|
+
category: string;
|
|
230
|
+
x: number;
|
|
231
|
+
y: number;
|
|
232
|
+
width: number;
|
|
233
|
+
height: number;
|
|
234
|
+
stackBase: number;
|
|
235
|
+
value: number;
|
|
236
|
+
color: string;
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
declare interface BaseChartProps {
|
|
240
|
+
title?: string;
|
|
241
|
+
height?: number;
|
|
242
|
+
className?: string;
|
|
243
|
+
legend?: boolean;
|
|
244
|
+
legendPosition?: "top" | "bottom" | "left" | "right";
|
|
245
|
+
animateOnMount?: boolean;
|
|
246
|
+
emptyText?: string;
|
|
247
|
+
}
|
|
248
|
+
export { BaseChartProps }
|
|
249
|
+
export { BaseChartProps as BaseChartProps_alias_1 }
|
|
250
|
+
export { BaseChartProps as BaseChartProps_alias_2 }
|
|
251
|
+
|
|
252
|
+
declare function Breadcrumb({ items, separator, homeIcon, LinkComponent, className, }: BreadcrumbProps): JSX.Element;
|
|
253
|
+
export { Breadcrumb }
|
|
254
|
+
export { Breadcrumb as Breadcrumb_alias_1 }
|
|
255
|
+
export { Breadcrumb as Breadcrumb_alias_2 }
|
|
256
|
+
export { Breadcrumb as Breadcrumb_alias_3 }
|
|
257
|
+
|
|
258
|
+
declare type BreadcrumbItem = {
|
|
259
|
+
label: string;
|
|
260
|
+
href?: string;
|
|
261
|
+
/** Render a custom icon before the label. */
|
|
262
|
+
icon?: React_2.ReactNode;
|
|
263
|
+
};
|
|
264
|
+
export { BreadcrumbItem }
|
|
265
|
+
export { BreadcrumbItem as BreadcrumbItem_alias_1 }
|
|
266
|
+
export { BreadcrumbItem as BreadcrumbItem_alias_2 }
|
|
267
|
+
|
|
268
|
+
declare type BreadcrumbProps = {
|
|
269
|
+
items: BreadcrumbItem[];
|
|
270
|
+
/** Custom separator element. Defaults to ChevronRight icon. */
|
|
271
|
+
separator?: React_2.ReactNode;
|
|
272
|
+
/**
|
|
273
|
+
* Optional icon (or `true` to use the default Home icon) shown as the first item.
|
|
274
|
+
* @default false
|
|
275
|
+
*/
|
|
276
|
+
homeIcon?: React_2.ReactNode | boolean;
|
|
277
|
+
/** Component to render anchor elements. Defaults to standard `<a>`. */
|
|
278
|
+
LinkComponent?: React_2.ComponentType<React_2.AnchorHTMLAttributes<HTMLAnchorElement>>;
|
|
279
|
+
className?: string;
|
|
280
|
+
};
|
|
281
|
+
export { BreadcrumbProps }
|
|
282
|
+
export { BreadcrumbProps as BreadcrumbProps_alias_1 }
|
|
283
|
+
export { BreadcrumbProps as BreadcrumbProps_alias_2 }
|
|
284
|
+
|
|
285
|
+
/** Builds an area fill SVG path that closes down to the given baseline y. */
|
|
286
|
+
export declare function buildAreaPath(data: ChartDataPoint[], xScale: (v: number | string) => number, yScale: (v: number) => number, smooth: boolean, baseline: number): string;
|
|
287
|
+
|
|
288
|
+
/** Builds grouped bar specs for vertical orientation. */
|
|
289
|
+
export declare function buildGroupedBarSpecs(series: ChartSeries[], visibleIds: Set<string>, categories: string[], colorMap: Map<string, string>, plotLeft: number, plotWidth: number, plotBottom: number, plotTop: number, yScale: (v: number) => number, groupPadding: number, barPadding: number): BarSpec[];
|
|
290
|
+
|
|
291
|
+
/** Builds grouped bar specs for horizontal orientation (bars extend right from Y-axis). */
|
|
292
|
+
export declare function buildGroupedHorizontalBarSpecs(series: ChartSeries[], visibleIds: Set<string>, categories: string[], colorMap: Map<string, string>, plotLeft: number, plotTop: number, plotHeight: number, xScale: (v: number) => number, groupPadding: number, barPadding: number): BarSpec[];
|
|
293
|
+
|
|
294
|
+
/** Builds a space-separated points string for SVG <polyline>. */
|
|
295
|
+
export declare function buildPolylinePoints(data: ChartDataPoint[], xScale: (v: number | string) => number, yScale: (v: number) => number): string;
|
|
296
|
+
|
|
297
|
+
/** Builds a smooth path using Catmull-Rom → cubic Bézier conversion.
|
|
298
|
+
* Control points are derived from neighboring points so each segment's
|
|
299
|
+
* curvature naturally follows the data trend instead of a fixed pattern. */
|
|
300
|
+
export declare function buildSmoothPath(data: ChartDataPoint[], xScale: (v: number | string) => number, yScale: (v: number) => number): string;
|
|
301
|
+
|
|
302
|
+
/** Builds stacked bar specs for vertical orientation. */
|
|
303
|
+
export declare function buildStackedBarSpecs(series: ChartSeries[], visibleIds: Set<string>, categories: string[], colorMap: Map<string, string>, plotLeft: number, plotWidth: number, plotBottom: number, yScale: (v: number) => number, groupPadding: number): BarSpec[];
|
|
304
|
+
|
|
305
|
+
/** Builds stacked bar specs for horizontal orientation. */
|
|
306
|
+
export declare function buildStackedHorizontalBarSpecs(series: ChartSeries[], visibleIds: Set<string>, categories: string[], colorMap: Map<string, string>, plotLeft: number, plotTop: number, plotHeight: number, xScale: (v: number) => number, groupPadding: number): BarSpec[];
|
|
307
|
+
|
|
139
308
|
/**
|
|
140
309
|
* Map of field names → ValidationResult returned from the `onValues` callback.
|
|
141
310
|
* Form will automatically display these errors in the matching named FormItems.
|
|
@@ -202,6 +371,73 @@ export { cardVariants }
|
|
|
202
371
|
export { cardVariants as cardVariants_alias_1 }
|
|
203
372
|
export { cardVariants as cardVariants_alias_2 }
|
|
204
373
|
|
|
374
|
+
declare const Chart: {
|
|
375
|
+
LineChart: typeof LineChart;
|
|
376
|
+
BarChart: typeof BarChart;
|
|
377
|
+
PieChart: typeof PieChart;
|
|
378
|
+
ScatterChart: typeof ScatterChart;
|
|
379
|
+
};
|
|
380
|
+
export { Chart }
|
|
381
|
+
export { Chart as Chart_alias_1 }
|
|
382
|
+
export { Chart as default_alias_1 }
|
|
383
|
+
|
|
384
|
+
declare const chartContainerVariants: (props?: ({
|
|
385
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
386
|
+
} & ClassProp) | undefined) => string;
|
|
387
|
+
export { chartContainerVariants }
|
|
388
|
+
export { chartContainerVariants as chartContainerVariants_alias_1 }
|
|
389
|
+
export { chartContainerVariants as chartContainerVariants_alias_2 }
|
|
390
|
+
|
|
391
|
+
declare interface ChartDataPoint {
|
|
392
|
+
x: number | string;
|
|
393
|
+
y: number;
|
|
394
|
+
label?: string;
|
|
395
|
+
}
|
|
396
|
+
export { ChartDataPoint }
|
|
397
|
+
export { ChartDataPoint as ChartDataPoint_alias_1 }
|
|
398
|
+
export { ChartDataPoint as ChartDataPoint_alias_2 }
|
|
399
|
+
|
|
400
|
+
export declare interface ChartDimensions {
|
|
401
|
+
width: number;
|
|
402
|
+
height: number;
|
|
403
|
+
margins: ChartMargins;
|
|
404
|
+
plotLeft: number;
|
|
405
|
+
plotTop: number;
|
|
406
|
+
plotRight: number;
|
|
407
|
+
plotBottom: number;
|
|
408
|
+
plotWidth: number;
|
|
409
|
+
plotHeight: number;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
declare const chartLegendVariants: (props?: ({
|
|
413
|
+
position?: "left" | "right" | "bottom" | "top" | null | undefined;
|
|
414
|
+
} & ClassProp) | undefined) => string;
|
|
415
|
+
export { chartLegendVariants }
|
|
416
|
+
export { chartLegendVariants as chartLegendVariants_alias_1 }
|
|
417
|
+
export { chartLegendVariants as chartLegendVariants_alias_2 }
|
|
418
|
+
|
|
419
|
+
export declare interface ChartMargins {
|
|
420
|
+
top: number;
|
|
421
|
+
right: number;
|
|
422
|
+
bottom: number;
|
|
423
|
+
left: number;
|
|
424
|
+
}
|
|
425
|
+
|
|
426
|
+
declare interface ChartSeries {
|
|
427
|
+
id: string;
|
|
428
|
+
name: string;
|
|
429
|
+
color?: string;
|
|
430
|
+
data: ChartDataPoint[];
|
|
431
|
+
}
|
|
432
|
+
export { ChartSeries }
|
|
433
|
+
export { ChartSeries as ChartSeries_alias_1 }
|
|
434
|
+
export { ChartSeries as ChartSeries_alias_2 }
|
|
435
|
+
|
|
436
|
+
declare const chartTooltipVariants: (props?: ClassProp | undefined) => string;
|
|
437
|
+
export { chartTooltipVariants }
|
|
438
|
+
export { chartTooltipVariants as chartTooltipVariants_alias_1 }
|
|
439
|
+
export { chartTooltipVariants as chartTooltipVariants_alias_2 }
|
|
440
|
+
|
|
205
441
|
declare function Chat({ messages, mode, autoScroll, className, ...props }: ChatProps): JSX.Element;
|
|
206
442
|
export { Chat }
|
|
207
443
|
export { Chat as Chat_alias_1 }
|
|
@@ -326,6 +562,9 @@ export { CinePlayerSortKey }
|
|
|
326
562
|
export { CinePlayerSortKey as CinePlayerSortKey_alias_1 }
|
|
327
563
|
export { CinePlayerSortKey as CinePlayerSortKey_alias_2 }
|
|
328
564
|
|
|
565
|
+
/** Computes a padded [min, max] range from raw data extents. */
|
|
566
|
+
export declare function clampRange(min: number, max: number, padding?: number): [number, number];
|
|
567
|
+
|
|
329
568
|
declare function cn(...inputs: ClassValue[]): string;
|
|
330
569
|
export { cn }
|
|
331
570
|
export { cn as cn_alias_1 }
|
|
@@ -395,21 +634,205 @@ export { ColumnDef }
|
|
|
395
634
|
export { ColumnDef as ColumnDef_alias_1 }
|
|
396
635
|
export { ColumnDef as ColumnDef_alias_2 }
|
|
397
636
|
|
|
637
|
+
declare type CommandGroup = {
|
|
638
|
+
label: string;
|
|
639
|
+
items: CommandItem[];
|
|
640
|
+
};
|
|
641
|
+
export { CommandGroup }
|
|
642
|
+
export { CommandGroup as CommandGroup_alias_1 }
|
|
643
|
+
export { CommandGroup as CommandGroup_alias_2 }
|
|
644
|
+
export { CommandGroup as CommandGroup_alias_3 }
|
|
645
|
+
|
|
646
|
+
declare type CommandItem = {
|
|
647
|
+
/** Unique ID for this command */
|
|
648
|
+
id: string;
|
|
649
|
+
/** Primary display label */
|
|
650
|
+
label: string;
|
|
651
|
+
/** Optional sub-label / description shown below the label */
|
|
652
|
+
description?: string;
|
|
653
|
+
/** Optional icon element */
|
|
654
|
+
icon?: React_2.ReactNode;
|
|
655
|
+
/** Keyboard shortcut badge displayed on the right, e.g. ["⌘", "K"] */
|
|
656
|
+
shortcut?: string[];
|
|
657
|
+
/** Group heading this item belongs to (ungrouped if omitted) */
|
|
658
|
+
group?: string;
|
|
659
|
+
/** Extra search terms that don't appear in the UI */
|
|
660
|
+
keywords?: string[];
|
|
661
|
+
/** Disabled items appear dimmed and are not selectable */
|
|
662
|
+
disabled?: boolean;
|
|
663
|
+
/** Called when the user selects this command */
|
|
664
|
+
onSelect: () => void;
|
|
665
|
+
};
|
|
666
|
+
export { CommandItem }
|
|
667
|
+
export { CommandItem as CommandItem_alias_1 }
|
|
668
|
+
export { CommandItem as CommandItem_alias_2 }
|
|
669
|
+
export { CommandItem as CommandItem_alias_3 }
|
|
670
|
+
|
|
671
|
+
declare function CommandPalette({ open, onOpenChange, commands, placeholder, hotkey, maxItems, className, }: CommandPaletteProps): React_2.ReactPortal | null;
|
|
672
|
+
export { CommandPalette }
|
|
673
|
+
export { CommandPalette as CommandPalette_alias_1 }
|
|
674
|
+
export { CommandPalette as CommandPalette_alias_2 }
|
|
675
|
+
export { CommandPalette as CommandPalette_alias_3 }
|
|
676
|
+
|
|
677
|
+
declare type CommandPaletteProps = {
|
|
678
|
+
/** Controlled open state */
|
|
679
|
+
open: boolean;
|
|
680
|
+
onOpenChange: (open: boolean) => void;
|
|
681
|
+
/** Full list of available commands */
|
|
682
|
+
commands: CommandItem[];
|
|
683
|
+
/** Placeholder text inside the search input */
|
|
684
|
+
placeholder?: string;
|
|
685
|
+
/**
|
|
686
|
+
* Register a global Ctrl/Cmd+K hotkey to toggle the palette.
|
|
687
|
+
* @default true
|
|
688
|
+
*/
|
|
689
|
+
hotkey?: boolean;
|
|
690
|
+
/**
|
|
691
|
+
* Maximum number of result rows visible before the list scrolls.
|
|
692
|
+
* @default 8
|
|
693
|
+
*/
|
|
694
|
+
maxItems?: number;
|
|
695
|
+
/** Extra class applied to the dialog panel */
|
|
696
|
+
className?: string;
|
|
697
|
+
};
|
|
698
|
+
export { CommandPaletteProps }
|
|
699
|
+
export { CommandPaletteProps as CommandPaletteProps_alias_1 }
|
|
700
|
+
export { CommandPaletteProps as CommandPaletteProps_alias_2 }
|
|
701
|
+
export { CommandPaletteProps as CommandPaletteProps_alias_3 }
|
|
702
|
+
|
|
703
|
+
/** Computes [min, max] domain for grouped bar charts (always min=0 for bars). */
|
|
704
|
+
export declare function computeBarYDomain(series: ChartSeries[], visibleIds: Set<string>, grouped: boolean, axisConfig?: AxisConfig): [number, number];
|
|
705
|
+
|
|
706
|
+
/** Compute bounding ellipse parameters for a set of points (cx, cy, rx, ry). */
|
|
707
|
+
export declare function computeBoundingEllipse(xs: number[], ys: number[], padding?: number): {
|
|
708
|
+
cx: number;
|
|
709
|
+
cy: number;
|
|
710
|
+
rx: number;
|
|
711
|
+
ry: number;
|
|
712
|
+
} | null;
|
|
713
|
+
|
|
714
|
+
/** Extracts sorted unique category labels from all visible series. */
|
|
715
|
+
export declare function computeCategories(series: ChartSeries[], visibleIds: Set<string>): string[];
|
|
716
|
+
|
|
717
|
+
declare function computeDimensions(containerWidth: number, height: number, margins: ChartMargins): ChartDimensions;
|
|
718
|
+
export { computeDimensions }
|
|
719
|
+
export { computeDimensions as computeDimensions_alias_1 }
|
|
720
|
+
export { computeDimensions as computeDimensions_alias_2 }
|
|
721
|
+
|
|
722
|
+
/** Returns the translate offset (dx, dy) for a slice explosion at midAngle. */
|
|
723
|
+
export declare function computeExplodeTranslate(midAngle: number, offset: number): {
|
|
724
|
+
dx: number;
|
|
725
|
+
dy: number;
|
|
726
|
+
};
|
|
727
|
+
|
|
728
|
+
declare function computeMargins(hasXLabel: boolean, hasYLabel: boolean, hasY2Axis: boolean): ChartMargins;
|
|
729
|
+
export { computeMargins }
|
|
730
|
+
export { computeMargins as computeMargins_alias_1 }
|
|
731
|
+
export { computeMargins as computeMargins_alias_2 }
|
|
732
|
+
|
|
733
|
+
export declare function computeSliceSpecs(data: PieSlice[], visibleIds: Set<string>, palette: string[], outerR: number, innerR: number, cx: number, cy: number, startAngle: number, padAngle: number): SliceSpec[];
|
|
734
|
+
|
|
735
|
+
/** Generates evenly spaced tick values between min and max (inclusive). */
|
|
736
|
+
export declare function computeTicks(min: number, max: number, count: number): number[];
|
|
737
|
+
|
|
738
|
+
/** Returns evenly spaced ticks. */
|
|
739
|
+
export declare function computeTicksForAxis(domain: [number, number], count?: number): number[];
|
|
740
|
+
|
|
741
|
+
/** Returns evenly spaced ticks for an axis domain. */
|
|
742
|
+
export declare function computeTicksForAxis_alias_1(domain: [number, number], count?: number): number[];
|
|
743
|
+
|
|
744
|
+
export declare function computeTicksForAxis_alias_2(domain: [number, number], count?: number): number[];
|
|
745
|
+
|
|
746
|
+
/** Returns unique x category labels in order of first occurrence across visible series. */
|
|
747
|
+
export declare function computeXCategories(series: ChartSeries[], visibleIds: Set<string>): string[];
|
|
748
|
+
|
|
749
|
+
/** Computes [min, max] domain from all x values of visible series. */
|
|
750
|
+
export declare function computeXDomain(series: ChartSeries[], visibleIds: Set<string>, axisConfig?: AxisConfig): [number, number];
|
|
751
|
+
|
|
752
|
+
/** Computes the [min, max] domain for Y values across all visible series. */
|
|
753
|
+
export declare function computeYDomain(series: ChartSeries[], visibleIds: Set<string>, axisConfig?: AxisConfig): [number, number];
|
|
754
|
+
|
|
755
|
+
/** Computes [min, max] domain from all y values of visible series. */
|
|
756
|
+
export declare function computeYDomain_alias_1(series: ChartSeries[], visibleIds: Set<string>, axisConfig?: AxisConfig): [number, number];
|
|
757
|
+
|
|
398
758
|
declare function configureAlertTopOffset(offset: number): void;
|
|
399
759
|
export { configureAlertTopOffset }
|
|
400
760
|
export { configureAlertTopOffset as configureAlertTopOffset_alias_1 }
|
|
401
761
|
export { configureAlertTopOffset as configureAlertTopOffset_alias_2 }
|
|
402
762
|
|
|
763
|
+
declare function ContextMenu({ items, children, disabled, onOpenChange, className, }: ContextMenuProps): JSX.Element;
|
|
764
|
+
export { ContextMenu }
|
|
765
|
+
export { ContextMenu as ContextMenu_alias_1 }
|
|
766
|
+
export { ContextMenu as ContextMenu_alias_2 }
|
|
767
|
+
export { ContextMenu as ContextMenu_alias_3 }
|
|
768
|
+
|
|
769
|
+
declare interface ContextMenuItem {
|
|
770
|
+
/** Unique key */
|
|
771
|
+
key: string;
|
|
772
|
+
/** Display label */
|
|
773
|
+
label: React_2.ReactNode;
|
|
774
|
+
/** Icon element */
|
|
775
|
+
icon?: React_2.ReactNode;
|
|
776
|
+
/** Disables item */
|
|
777
|
+
disabled?: boolean;
|
|
778
|
+
/** Marks as separator — renders a divider instead of item */
|
|
779
|
+
separator?: boolean;
|
|
780
|
+
/** Keyboard shortcut displayed on the right */
|
|
781
|
+
shortcut?: string;
|
|
782
|
+
/** Destructive — renders in danger color */
|
|
783
|
+
danger?: boolean;
|
|
784
|
+
/** Sub-menu items */
|
|
785
|
+
children?: ContextMenuItem[];
|
|
786
|
+
/** Click handler */
|
|
787
|
+
onClick?: (e: React_2.MouseEvent) => void;
|
|
788
|
+
}
|
|
789
|
+
export { ContextMenuItem }
|
|
790
|
+
export { ContextMenuItem as ContextMenuItem_alias_1 }
|
|
791
|
+
export { ContextMenuItem as ContextMenuItem_alias_2 }
|
|
792
|
+
export { ContextMenuItem as ContextMenuItem_alias_3 }
|
|
793
|
+
export { ContextMenuItem as ContextMenuItem_alias_4 }
|
|
794
|
+
|
|
795
|
+
declare interface ContextMenuProps {
|
|
796
|
+
/** Menu structure */
|
|
797
|
+
items: ContextMenuItem[];
|
|
798
|
+
/** The trigger element(s) that activate the context menu */
|
|
799
|
+
children: React_2.ReactNode;
|
|
800
|
+
/** Whether the context menu is disabled */
|
|
801
|
+
disabled?: boolean;
|
|
802
|
+
/** Called when menu opens or closes */
|
|
803
|
+
onOpenChange?: (open: boolean) => void;
|
|
804
|
+
className?: string;
|
|
805
|
+
}
|
|
806
|
+
export { ContextMenuProps }
|
|
807
|
+
export { ContextMenuProps as ContextMenuProps_alias_1 }
|
|
808
|
+
export { ContextMenuProps as ContextMenuProps_alias_2 }
|
|
809
|
+
export { ContextMenuProps as ContextMenuProps_alias_3 }
|
|
810
|
+
export { ContextMenuProps as ContextMenuProps_alias_4 }
|
|
811
|
+
|
|
812
|
+
/** Creates a categorical band scale (returns center-of-band x). */
|
|
813
|
+
export declare function createCategoryScale(categories: string[], range: [number, number]): (cat: string) => number;
|
|
814
|
+
|
|
815
|
+
/** Linear scale helper. */
|
|
816
|
+
export declare function createLinearScale(domain: [number, number], range: [number, number]): (v: number) => number;
|
|
817
|
+
|
|
818
|
+
/** Creates a linear scale mapping domain values to pixel range. */
|
|
819
|
+
export declare function createLinearScale_alias_1(domain: [number, number], range: [number, number]): (v: number) => number;
|
|
820
|
+
|
|
821
|
+
/** Linear scale factory. */
|
|
822
|
+
export declare function createLinearScale_alias_2(domain: [number, number], range: [number, number]): (v: number) => number;
|
|
823
|
+
|
|
403
824
|
declare const DataDisplay: {
|
|
404
825
|
Table: typeof Table;
|
|
405
826
|
List: typeof List;
|
|
406
827
|
Tree: typeof Tree;
|
|
407
828
|
Chat: typeof Chat;
|
|
408
829
|
CodeBlock: typeof CodeBlock;
|
|
830
|
+
Stat: typeof Stat;
|
|
831
|
+
MetricCard: typeof MetricCard;
|
|
409
832
|
};
|
|
410
833
|
export { DataDisplay }
|
|
411
834
|
export { DataDisplay as DataDisplay_alias_1 }
|
|
412
|
-
export { DataDisplay as
|
|
835
|
+
export { DataDisplay as default_alias_2 }
|
|
413
836
|
|
|
414
837
|
declare function DataTable<T, K extends string = string>({ columns, data, rowKey, sort: controlledSort, onSortChange, defaultSort, selectionMode, selected: controlledSelected, onSelectionChange, editable, onCellEdit, toolbar, onAdd, onDelete, rowActions, intent, density, className, empty, }: DataTableProps<T, K>): JSX.Element;
|
|
415
838
|
export { DataTable }
|
|
@@ -460,6 +883,7 @@ export declare const default_alias: {
|
|
|
460
883
|
Dropdown: Dropdown;
|
|
461
884
|
DropdownButton: DropdownButton;
|
|
462
885
|
Badge: Badge;
|
|
886
|
+
Tag: Tag;
|
|
463
887
|
Indicator: Indicator;
|
|
464
888
|
Label: Label;
|
|
465
889
|
Input: Input;
|
|
@@ -468,6 +892,10 @@ export declare const default_alias: {
|
|
|
468
892
|
Checkbox: Checkbox;
|
|
469
893
|
Radio: Radio;
|
|
470
894
|
RadioGroup: RadioGroup;
|
|
895
|
+
Avatar: Avatar;
|
|
896
|
+
AvatarGroup: AvatarGroup;
|
|
897
|
+
Slider: Slider;
|
|
898
|
+
SliderRange: SliderRange;
|
|
471
899
|
};
|
|
472
900
|
Layout: {
|
|
473
901
|
Card: Card;
|
|
@@ -480,11 +908,16 @@ export declare const default_alias: {
|
|
|
480
908
|
Tree: Tree;
|
|
481
909
|
Chat: Chat;
|
|
482
910
|
CodeBlock: CodeBlock;
|
|
911
|
+
Stat: Stat;
|
|
912
|
+
MetricCard: MetricCard;
|
|
483
913
|
};
|
|
484
914
|
Navigation: {
|
|
485
915
|
SideNav: SideNav;
|
|
486
916
|
Header: Header;
|
|
487
917
|
NavLink: NavLink;
|
|
918
|
+
Breadcrumb: Breadcrumb;
|
|
919
|
+
Pagination: Pagination;
|
|
920
|
+
RibbonBar: RibbonBar;
|
|
488
921
|
};
|
|
489
922
|
Disclosure: {
|
|
490
923
|
Accordion: Accordion;
|
|
@@ -493,11 +926,16 @@ export declare const default_alias: {
|
|
|
493
926
|
Overlay: {
|
|
494
927
|
Dialog: Dialog;
|
|
495
928
|
Tooltip: Tooltip;
|
|
929
|
+
Drawer: Drawer;
|
|
930
|
+
ContextMenu: ContextMenu;
|
|
496
931
|
};
|
|
497
932
|
Feedback: {
|
|
498
933
|
Alert: Alert;
|
|
499
934
|
ProgressBar: ProgressBar;
|
|
500
935
|
Spin: Spin;
|
|
936
|
+
Skeleton: Skeleton;
|
|
937
|
+
ToastProvider: ToastProvider;
|
|
938
|
+
useToast: useToast;
|
|
501
939
|
};
|
|
502
940
|
Extras: {
|
|
503
941
|
FilmReel: FilmReel;
|
|
@@ -505,16 +943,63 @@ export declare const default_alias: {
|
|
|
505
943
|
CinePlayer: CinePlayer;
|
|
506
944
|
FileExplorer: FileExplorer;
|
|
507
945
|
Masonry: Masonry;
|
|
946
|
+
TypewriterText: TypewriterText;
|
|
947
|
+
CommandPalette: CommandPalette;
|
|
948
|
+
Timeline: Timeline;
|
|
508
949
|
};
|
|
509
950
|
Forms: {
|
|
510
951
|
Form: Form;
|
|
511
952
|
};
|
|
953
|
+
Chart: {
|
|
954
|
+
LineChart: LineChart;
|
|
955
|
+
BarChart: BarChart;
|
|
956
|
+
PieChart: PieChart;
|
|
957
|
+
ScatterChart: ScatterChart;
|
|
958
|
+
};
|
|
512
959
|
};
|
|
513
960
|
|
|
514
|
-
export declare function
|
|
961
|
+
export declare function default_alias_100(): JSX.Element;
|
|
962
|
+
|
|
963
|
+
export declare function default_alias_101(): JSX.Element;
|
|
964
|
+
|
|
965
|
+
export declare function default_alias_102(): JSX.Element;
|
|
966
|
+
|
|
967
|
+
export declare function default_alias_103(): JSX.Element;
|
|
968
|
+
|
|
969
|
+
export declare function default_alias_104(): JSX.Element;
|
|
970
|
+
|
|
971
|
+
export declare function default_alias_105(): JSX.Element;
|
|
972
|
+
|
|
973
|
+
export declare function default_alias_106(): JSX.Element;
|
|
974
|
+
|
|
975
|
+
export declare function default_alias_107(): JSX.Element;
|
|
976
|
+
|
|
977
|
+
export declare function default_alias_108(): JSX.Element;
|
|
978
|
+
|
|
979
|
+
export declare function default_alias_109(): JSX.Element;
|
|
515
980
|
|
|
516
981
|
export declare function default_alias_11(): JSX.Element;
|
|
517
982
|
|
|
983
|
+
export declare function default_alias_110(): JSX.Element;
|
|
984
|
+
|
|
985
|
+
export declare function default_alias_111(): JSX.Element;
|
|
986
|
+
|
|
987
|
+
export declare function default_alias_112(): JSX.Element;
|
|
988
|
+
|
|
989
|
+
export declare function default_alias_113(): JSX.Element;
|
|
990
|
+
|
|
991
|
+
export declare function default_alias_114(): JSX.Element;
|
|
992
|
+
|
|
993
|
+
export declare function default_alias_115(): JSX.Element;
|
|
994
|
+
|
|
995
|
+
export declare function default_alias_116(): JSX.Element;
|
|
996
|
+
|
|
997
|
+
export declare function default_alias_117(): JSX.Element;
|
|
998
|
+
|
|
999
|
+
export declare function default_alias_118(): JSX.Element;
|
|
1000
|
+
|
|
1001
|
+
export declare function default_alias_119(): JSX.Element;
|
|
1002
|
+
|
|
518
1003
|
export declare function default_alias_12(): JSX.Element;
|
|
519
1004
|
|
|
520
1005
|
export declare function default_alias_13(): JSX.Element;
|
|
@@ -651,6 +1136,52 @@ export declare function default_alias_78(): JSX.Element;
|
|
|
651
1136
|
|
|
652
1137
|
export declare function default_alias_79(): JSX.Element;
|
|
653
1138
|
|
|
1139
|
+
export declare function default_alias_80(): JSX.Element;
|
|
1140
|
+
|
|
1141
|
+
export declare function default_alias_81(): JSX.Element;
|
|
1142
|
+
|
|
1143
|
+
export declare function default_alias_82(): JSX.Element;
|
|
1144
|
+
|
|
1145
|
+
export declare function default_alias_83(): JSX.Element;
|
|
1146
|
+
|
|
1147
|
+
export declare function default_alias_84(): JSX.Element;
|
|
1148
|
+
|
|
1149
|
+
export declare function default_alias_85(): JSX.Element;
|
|
1150
|
+
|
|
1151
|
+
export declare function default_alias_86(): JSX.Element;
|
|
1152
|
+
|
|
1153
|
+
export declare function default_alias_87(): JSX.Element;
|
|
1154
|
+
|
|
1155
|
+
export declare function default_alias_88(): JSX.Element;
|
|
1156
|
+
|
|
1157
|
+
export declare function default_alias_89(): JSX.Element;
|
|
1158
|
+
|
|
1159
|
+
export declare function default_alias_90(): JSX.Element;
|
|
1160
|
+
|
|
1161
|
+
export declare function default_alias_91(): JSX.Element;
|
|
1162
|
+
|
|
1163
|
+
export declare function default_alias_92(): JSX.Element;
|
|
1164
|
+
|
|
1165
|
+
export declare function default_alias_93(): JSX.Element;
|
|
1166
|
+
|
|
1167
|
+
export declare function default_alias_94(): JSX.Element;
|
|
1168
|
+
|
|
1169
|
+
export declare function default_alias_95(): JSX.Element;
|
|
1170
|
+
|
|
1171
|
+
export declare function default_alias_96(): JSX.Element;
|
|
1172
|
+
|
|
1173
|
+
export declare function default_alias_97(): JSX.Element;
|
|
1174
|
+
|
|
1175
|
+
export declare function default_alias_98(): JSX.Element;
|
|
1176
|
+
|
|
1177
|
+
export declare function default_alias_99(): JSX.Element;
|
|
1178
|
+
|
|
1179
|
+
/** Builds an SVG arc path string from startAngle to endAngle (degrees). */
|
|
1180
|
+
export declare function describeArc(cx: number, cy: number, r: number, startAngle: number, endAngle: number): string;
|
|
1181
|
+
|
|
1182
|
+
/** Deterministic jitter using golden-ratio Halton-like sequence. */
|
|
1183
|
+
export declare function deterministicJitter(seriesIndex: number, pointIndex: number, amount: number): [number, number];
|
|
1184
|
+
|
|
654
1185
|
declare function Dialog({ open, onOpenChange, modal, closeOnOutsideClick, children, }: DialogProps): JSX.Element | null;
|
|
655
1186
|
export { Dialog }
|
|
656
1187
|
export { Dialog as Dialog_alias_1 }
|
|
@@ -714,7 +1245,87 @@ declare const Disclosure: {
|
|
|
714
1245
|
};
|
|
715
1246
|
export { Disclosure }
|
|
716
1247
|
export { Disclosure as Disclosure_alias_1 }
|
|
717
|
-
export { Disclosure as
|
|
1248
|
+
export { Disclosure as default_alias_3 }
|
|
1249
|
+
|
|
1250
|
+
declare function Drawer({ open, onOpenChange, side, size, backdrop, closeOnBackdropClick, children, className, }: DrawerProps): React_2.ReactPortal | null;
|
|
1251
|
+
export { Drawer }
|
|
1252
|
+
export { Drawer as Drawer_alias_1 }
|
|
1253
|
+
export { Drawer as Drawer_alias_2 }
|
|
1254
|
+
export { Drawer as Drawer_alias_3 }
|
|
1255
|
+
|
|
1256
|
+
declare function DrawerBody({ children, className }: DrawerBodyProps): JSX.Element;
|
|
1257
|
+
export { DrawerBody }
|
|
1258
|
+
export { DrawerBody as DrawerBody_alias_1 }
|
|
1259
|
+
export { DrawerBody as DrawerBody_alias_2 }
|
|
1260
|
+
export { DrawerBody as DrawerBody_alias_3 }
|
|
1261
|
+
|
|
1262
|
+
declare type DrawerBodyProps = {
|
|
1263
|
+
children: React_2.ReactNode;
|
|
1264
|
+
className?: string;
|
|
1265
|
+
};
|
|
1266
|
+
export { DrawerBodyProps }
|
|
1267
|
+
export { DrawerBodyProps as DrawerBodyProps_alias_1 }
|
|
1268
|
+
export { DrawerBodyProps as DrawerBodyProps_alias_2 }
|
|
1269
|
+
|
|
1270
|
+
declare function DrawerClose({ onClose, className }: {
|
|
1271
|
+
onClose: () => void;
|
|
1272
|
+
className?: string;
|
|
1273
|
+
}): JSX.Element;
|
|
1274
|
+
export { DrawerClose }
|
|
1275
|
+
export { DrawerClose as DrawerClose_alias_1 }
|
|
1276
|
+
export { DrawerClose as DrawerClose_alias_2 }
|
|
1277
|
+
export { DrawerClose as DrawerClose_alias_3 }
|
|
1278
|
+
|
|
1279
|
+
declare function DrawerFooter({ children, className }: DrawerFooterProps): JSX.Element;
|
|
1280
|
+
export { DrawerFooter }
|
|
1281
|
+
export { DrawerFooter as DrawerFooter_alias_1 }
|
|
1282
|
+
export { DrawerFooter as DrawerFooter_alias_2 }
|
|
1283
|
+
export { DrawerFooter as DrawerFooter_alias_3 }
|
|
1284
|
+
|
|
1285
|
+
declare type DrawerFooterProps = {
|
|
1286
|
+
children: React_2.ReactNode;
|
|
1287
|
+
className?: string;
|
|
1288
|
+
};
|
|
1289
|
+
export { DrawerFooterProps }
|
|
1290
|
+
export { DrawerFooterProps as DrawerFooterProps_alias_1 }
|
|
1291
|
+
export { DrawerFooterProps as DrawerFooterProps_alias_2 }
|
|
1292
|
+
|
|
1293
|
+
declare function DrawerHeader({ children, className }: DrawerHeaderProps): JSX.Element;
|
|
1294
|
+
export { DrawerHeader }
|
|
1295
|
+
export { DrawerHeader as DrawerHeader_alias_1 }
|
|
1296
|
+
export { DrawerHeader as DrawerHeader_alias_2 }
|
|
1297
|
+
export { DrawerHeader as DrawerHeader_alias_3 }
|
|
1298
|
+
|
|
1299
|
+
declare type DrawerHeaderProps = {
|
|
1300
|
+
children: React_2.ReactNode;
|
|
1301
|
+
className?: string;
|
|
1302
|
+
};
|
|
1303
|
+
export { DrawerHeaderProps }
|
|
1304
|
+
export { DrawerHeaderProps as DrawerHeaderProps_alias_1 }
|
|
1305
|
+
export { DrawerHeaderProps as DrawerHeaderProps_alias_2 }
|
|
1306
|
+
|
|
1307
|
+
declare type DrawerProps = {
|
|
1308
|
+
open: boolean;
|
|
1309
|
+
onOpenChange: (open: boolean) => void;
|
|
1310
|
+
/** Side from which the drawer slides in. @default "right" */
|
|
1311
|
+
side?: DrawerSide;
|
|
1312
|
+
/** Width (left/right) or height (top/bottom) of the drawer panel. */
|
|
1313
|
+
size?: string;
|
|
1314
|
+
/** Show a backdrop overlay. @default true */
|
|
1315
|
+
backdrop?: boolean;
|
|
1316
|
+
/** Close on backdrop click. @default true */
|
|
1317
|
+
closeOnBackdropClick?: boolean;
|
|
1318
|
+
children: React_2.ReactNode;
|
|
1319
|
+
className?: string;
|
|
1320
|
+
};
|
|
1321
|
+
export { DrawerProps }
|
|
1322
|
+
export { DrawerProps as DrawerProps_alias_1 }
|
|
1323
|
+
export { DrawerProps as DrawerProps_alias_2 }
|
|
1324
|
+
|
|
1325
|
+
declare type DrawerSide = "left" | "right" | "top" | "bottom";
|
|
1326
|
+
export { DrawerSide }
|
|
1327
|
+
export { DrawerSide as DrawerSide_alias_1 }
|
|
1328
|
+
export { DrawerSide as DrawerSide_alias_2 }
|
|
718
1329
|
|
|
719
1330
|
declare function Dropdown(props: DropdownProps): JSX.Element;
|
|
720
1331
|
export { Dropdown }
|
|
@@ -741,6 +1352,27 @@ declare interface DropdownBaseProps {
|
|
|
741
1352
|
size?: "sm" | "md" | "lg";
|
|
742
1353
|
/** Enable domino flip-in/flip-out animation for menu items. @default true */
|
|
743
1354
|
animated?: boolean;
|
|
1355
|
+
/** HTML name attribute — renders hidden input(s) for native form submission. */
|
|
1356
|
+
name?: string;
|
|
1357
|
+
/** Validation intent. "danger" shows a red error border. @default "default" */
|
|
1358
|
+
intent?: "default" | "danger";
|
|
1359
|
+
/** Show a ✕ button to clear the current selection. @default false */
|
|
1360
|
+
clearable?: boolean;
|
|
1361
|
+
/**
|
|
1362
|
+
* HTML id forwarded to the trigger element.
|
|
1363
|
+
* Injected automatically by FormItem for label + aria wiring.
|
|
1364
|
+
*/
|
|
1365
|
+
id?: string;
|
|
1366
|
+
/**
|
|
1367
|
+
* Forwarded to the trigger element for aria-describedby wiring.
|
|
1368
|
+
* Set automatically by FormItem to link hint/validation messages.
|
|
1369
|
+
*/
|
|
1370
|
+
"aria-describedby"?: string;
|
|
1371
|
+
/**
|
|
1372
|
+
* Marks the trigger as invalid — applies the error border style.
|
|
1373
|
+
* Injected automatically by FormItem when a validation error is present.
|
|
1374
|
+
*/
|
|
1375
|
+
"aria-invalid"?: boolean;
|
|
744
1376
|
}
|
|
745
1377
|
|
|
746
1378
|
declare function DropdownButton({ label, items, intent, size, align, className, disabled, editable, onAddItem, multiple, selected, onSelectionChange, animated, chevron, ...props }: DropdownButtonProps): JSX.Element;
|
|
@@ -802,8 +1434,13 @@ declare interface DropdownMultipleProps extends DropdownBaseProps {
|
|
|
802
1434
|
value?: never;
|
|
803
1435
|
/** Not used in multi mode. */
|
|
804
1436
|
defaultValue?: never;
|
|
805
|
-
/**
|
|
806
|
-
|
|
1437
|
+
/**
|
|
1438
|
+
* Form-integration callback (multi mode). Called with the new selected
|
|
1439
|
+
* string array on every toggle and on clear. Used by FormItem's onChange
|
|
1440
|
+
* wrapping to trigger per-field validation — do not use for primary
|
|
1441
|
+
* selection handling; prefer `onSelectionChange` for that.
|
|
1442
|
+
*/
|
|
1443
|
+
onChange?: (value: string[]) => void;
|
|
807
1444
|
}
|
|
808
1445
|
export { DropdownMultipleProps }
|
|
809
1446
|
export { DropdownMultipleProps as DropdownMultipleProps_alias_1 }
|
|
@@ -856,19 +1493,25 @@ declare const Extras: {
|
|
|
856
1493
|
CinePlayer: typeof CinePlayer;
|
|
857
1494
|
FileExplorer: typeof FileExplorer;
|
|
858
1495
|
Masonry: typeof Masonry;
|
|
1496
|
+
TypewriterText: typeof TypewriterText;
|
|
1497
|
+
CommandPalette: typeof CommandPalette;
|
|
1498
|
+
Timeline: typeof Timeline;
|
|
859
1499
|
};
|
|
860
1500
|
export { Extras }
|
|
861
1501
|
export { Extras as Extras_alias_1 }
|
|
862
|
-
export { Extras as
|
|
1502
|
+
export { Extras as default_alias_4 }
|
|
863
1503
|
|
|
864
1504
|
declare const Feedback: {
|
|
865
1505
|
Alert: typeof Alert;
|
|
866
1506
|
ProgressBar: typeof ProgressBar;
|
|
867
1507
|
Spin: typeof Spin;
|
|
1508
|
+
Skeleton: typeof Skeleton;
|
|
1509
|
+
ToastProvider: typeof ToastProvider;
|
|
1510
|
+
useToast: typeof useToast;
|
|
868
1511
|
};
|
|
869
1512
|
export { Feedback }
|
|
870
1513
|
export { Feedback as Feedback_alias_1 }
|
|
871
|
-
export { Feedback as
|
|
1514
|
+
export { Feedback as default_alias_5 }
|
|
872
1515
|
|
|
873
1516
|
declare function FileExplorer({ files, title, accent, defaultView, initialPosition, initialSize, dockable, dockSide, visible: visibleProp, onFileOpen, onSelectionChange, onNavigate, onDelete, onClose, onMinimize, onPathSubmit, defaultInputMode, actions, resizable, minSize, className, }: FileExplorerProps): JSX.Element | null;
|
|
874
1517
|
export { FileExplorer }
|
|
@@ -1049,12 +1692,18 @@ export { FilmReelProps }
|
|
|
1049
1692
|
export { FilmReelProps as FilmReelProps_alias_1 }
|
|
1050
1693
|
export { FilmReelProps as FilmReelProps_alias_2 }
|
|
1051
1694
|
|
|
1695
|
+
/** Finds the index of the nearest category to a given SVG x position. */
|
|
1696
|
+
export declare function findNearestCategoryIndex(svgX: number, categories: string[], xScale: (cat: string) => number): number;
|
|
1697
|
+
|
|
1052
1698
|
declare function Form({ children, className, intent, size, layout, title, description, footer, onValues, onSubmit, ...props }: FormProps): JSX.Element;
|
|
1053
1699
|
export { Form }
|
|
1054
1700
|
export { Form as Form_alias_1 }
|
|
1055
1701
|
export { Form as Form_alias_2 }
|
|
1056
1702
|
export { Form as Form_alias_3 }
|
|
1057
1703
|
|
|
1704
|
+
/** Formats an axis value using an optional custom formatter. */
|
|
1705
|
+
export declare function formatAxisValue(v: number | string, formatter?: (v: number | string) => string): string;
|
|
1706
|
+
|
|
1058
1707
|
declare function FormItem({ label, layout: itemLayout, required, hint, validation, name, onValidate, className, children, }: FormItemProps): JSX.Element;
|
|
1059
1708
|
export { FormItem }
|
|
1060
1709
|
export { FormItem as FormItem_alias_1 }
|
|
@@ -1143,7 +1792,7 @@ declare const Forms: {
|
|
|
1143
1792
|
};
|
|
1144
1793
|
export { Forms }
|
|
1145
1794
|
export { Forms as Forms_alias_1 }
|
|
1146
|
-
export { Forms as
|
|
1795
|
+
export { Forms as default_alias_6 }
|
|
1147
1796
|
|
|
1148
1797
|
declare function FormSection({ title, description, className, children }: FormSectionProps): JSX.Element;
|
|
1149
1798
|
export { FormSection }
|
|
@@ -1197,6 +1846,12 @@ declare const formVariants: (props?: ({
|
|
|
1197
1846
|
export { formVariants }
|
|
1198
1847
|
export { formVariants as formVariants_alias_1 }
|
|
1199
1848
|
|
|
1849
|
+
/** Returns an array of CSS custom property references for chart series colors. */
|
|
1850
|
+
export declare function getDefaultPalette(count: number): string[];
|
|
1851
|
+
|
|
1852
|
+
/** Gets the y value for a series at a given category key. */
|
|
1853
|
+
export declare function getYAtCategory(series: ChartSeries, category: string): number | undefined;
|
|
1854
|
+
|
|
1200
1855
|
declare function Header({ brand, onBrandClick, navItems, actions, linkComponent: Link, height, mobileMenu, navMenuIcon, actionsMenuIcon, className, children, }: HeaderProps): JSX.Element;
|
|
1201
1856
|
export { Header }
|
|
1202
1857
|
export { Header as Header_alias_1 }
|
|
@@ -1408,6 +2063,9 @@ export { inputVariants }
|
|
|
1408
2063
|
export { inputVariants as inputVariants_alias_1 }
|
|
1409
2064
|
export { inputVariants as inputVariants_alias_2 }
|
|
1410
2065
|
|
|
2066
|
+
/** Returns true if any data point in the series has a string x value. */
|
|
2067
|
+
export declare function isSeriesCategorical(series: ChartSeries[]): boolean;
|
|
2068
|
+
|
|
1411
2069
|
declare function Label({ intent, size, className, ...props }: LabelProps): JSX.Element;
|
|
1412
2070
|
export { Label }
|
|
1413
2071
|
export { Label as Label_alias_1 }
|
|
@@ -1431,7 +2089,43 @@ declare const Layout: {
|
|
|
1431
2089
|
};
|
|
1432
2090
|
export { Layout }
|
|
1433
2091
|
export { Layout as Layout_alias_1 }
|
|
1434
|
-
export { Layout as
|
|
2092
|
+
export { Layout as default_alias_7 }
|
|
2093
|
+
|
|
2094
|
+
declare interface LegendItem {
|
|
2095
|
+
id: string;
|
|
2096
|
+
label: string;
|
|
2097
|
+
color: string;
|
|
2098
|
+
visible: boolean;
|
|
2099
|
+
}
|
|
2100
|
+
export { LegendItem }
|
|
2101
|
+
export { LegendItem as LegendItem_alias_1 }
|
|
2102
|
+
export { LegendItem as LegendItem_alias_2 }
|
|
2103
|
+
|
|
2104
|
+
declare function LineChart({ series, xAxis, yAxis, y2Axis, y2Series, smooth, showDots, area, strokeWidth, title, height, className, legend, legendPosition, animateOnMount, emptyText, }: LineChartProps): JSX.Element;
|
|
2105
|
+
export { LineChart }
|
|
2106
|
+
export { LineChart as LineChart_alias_1 }
|
|
2107
|
+
export { LineChart as LineChart_alias_2 }
|
|
2108
|
+
export { LineChart as LineChart_alias_3 }
|
|
2109
|
+
|
|
2110
|
+
declare interface LineChartProps extends BaseChartProps {
|
|
2111
|
+
series: ChartSeries[];
|
|
2112
|
+
xAxis?: AxisConfig;
|
|
2113
|
+
yAxis?: AxisConfig;
|
|
2114
|
+
y2Axis?: AxisConfig;
|
|
2115
|
+
/** Series IDs that map to the secondary (right) Y axis. */
|
|
2116
|
+
y2Series?: string[];
|
|
2117
|
+
/** Render smooth bezier curves instead of straight polylines. */
|
|
2118
|
+
smooth?: boolean;
|
|
2119
|
+
/** Show data point dot markers. */
|
|
2120
|
+
showDots?: boolean;
|
|
2121
|
+
/** Fill area under each line. */
|
|
2122
|
+
area?: boolean;
|
|
2123
|
+
/** Line stroke width in px. */
|
|
2124
|
+
strokeWidth?: number;
|
|
2125
|
+
}
|
|
2126
|
+
export { LineChartProps }
|
|
2127
|
+
export { LineChartProps as LineChartProps_alias_1 }
|
|
2128
|
+
export { LineChartProps as LineChartProps_alias_2 }
|
|
1435
2129
|
|
|
1436
2130
|
declare function List({ intent, size, className, ...props }: ListProps): JSX.Element;
|
|
1437
2131
|
export { List }
|
|
@@ -1520,6 +2214,52 @@ export { MasonryProps }
|
|
|
1520
2214
|
export { MasonryProps as MasonryProps_alias_1 }
|
|
1521
2215
|
export { MasonryProps as MasonryProps_alias_2 }
|
|
1522
2216
|
|
|
2217
|
+
declare function MetricCard({ title, value, decimals, prefix, suffix, icon, trend, trendValue, description, animateDuration, formatter, from, intent, size, className, }: MetricCardProps): JSX.Element;
|
|
2218
|
+
export { MetricCard }
|
|
2219
|
+
export { MetricCard as MetricCard_alias_1 }
|
|
2220
|
+
export { MetricCard as MetricCard_alias_2 }
|
|
2221
|
+
export { MetricCard as MetricCard_alias_3 }
|
|
2222
|
+
|
|
2223
|
+
declare interface MetricCardProps extends VariantProps<typeof metricCardVariants> {
|
|
2224
|
+
title: string;
|
|
2225
|
+
/** Numeric value to animate to */
|
|
2226
|
+
value: number;
|
|
2227
|
+
/** Number of decimal places */
|
|
2228
|
+
decimals?: number;
|
|
2229
|
+
prefix?: React_2.ReactNode;
|
|
2230
|
+
suffix?: React_2.ReactNode;
|
|
2231
|
+
icon?: React_2.ReactNode;
|
|
2232
|
+
trend?: MetricCardTrend;
|
|
2233
|
+
trendValue?: string;
|
|
2234
|
+
/** Secondary info line */
|
|
2235
|
+
description?: string;
|
|
2236
|
+
/** Duration of counter animation in ms */
|
|
2237
|
+
animateDuration?: number;
|
|
2238
|
+
/** Custom formatter for displayed value */
|
|
2239
|
+
formatter?: (v: number) => string;
|
|
2240
|
+
/** Starting value for animation */
|
|
2241
|
+
from?: number;
|
|
2242
|
+
className?: string;
|
|
2243
|
+
}
|
|
2244
|
+
export { MetricCardProps }
|
|
2245
|
+
export { MetricCardProps as MetricCardProps_alias_1 }
|
|
2246
|
+
export { MetricCardProps as MetricCardProps_alias_2 }
|
|
2247
|
+
export { MetricCardProps as MetricCardProps_alias_3 }
|
|
2248
|
+
|
|
2249
|
+
declare type MetricCardTrend = "up" | "down" | "neutral";
|
|
2250
|
+
export { MetricCardTrend }
|
|
2251
|
+
export { MetricCardTrend as MetricCardTrend_alias_1 }
|
|
2252
|
+
export { MetricCardTrend as MetricCardTrend_alias_2 }
|
|
2253
|
+
export { MetricCardTrend as MetricCardTrend_alias_3 }
|
|
2254
|
+
|
|
2255
|
+
declare const metricCardVariants: (props?: ({
|
|
2256
|
+
intent?: "primary" | "danger" | "warning" | "success" | null | undefined;
|
|
2257
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2258
|
+
} & ClassProp) | undefined) => string;
|
|
2259
|
+
export { metricCardVariants }
|
|
2260
|
+
export { metricCardVariants as metricCardVariants_alias_1 }
|
|
2261
|
+
export { metricCardVariants as metricCardVariants_alias_2 }
|
|
2262
|
+
|
|
1523
2263
|
declare function MiniPlayer({ playlist, initialTrack, position, entrance: entranceProp, theme, docked: dockedProp, visible: visibleProp, onVisibleChange, onTrackChange, onLike, autoPlay, shuffle: shuffleProp, loop: loopProp, accent, className, }: MiniPlayerProps): JSX.Element;
|
|
1524
2264
|
export { MiniPlayer }
|
|
1525
2265
|
export { MiniPlayer as MiniPlayer_alias_1 }
|
|
@@ -1594,10 +2334,13 @@ declare const Navigation: {
|
|
|
1594
2334
|
SideNav: typeof SideNav;
|
|
1595
2335
|
Header: typeof Header;
|
|
1596
2336
|
NavLink: typeof NavLink;
|
|
2337
|
+
Breadcrumb: typeof Breadcrumb;
|
|
2338
|
+
Pagination: typeof Pagination;
|
|
2339
|
+
RibbonBar: typeof RibbonBar;
|
|
1597
2340
|
};
|
|
1598
2341
|
export { Navigation }
|
|
1599
2342
|
export { Navigation as Navigation_alias_1 }
|
|
1600
|
-
export { Navigation as
|
|
2343
|
+
export { Navigation as default_alias_8 }
|
|
1601
2344
|
|
|
1602
2345
|
declare function NavLink({ intent, size, underline, external, className, children, href, target, rel, ...props }: NavLinkProps): JSX.Element;
|
|
1603
2346
|
export { NavLink }
|
|
@@ -1622,15 +2365,46 @@ export { navLinkVariants as navLinkVariants_alias_2 }
|
|
|
1622
2365
|
declare const Overlay: {
|
|
1623
2366
|
Dialog: typeof Dialog;
|
|
1624
2367
|
Tooltip: typeof Tooltip;
|
|
2368
|
+
Drawer: typeof Drawer;
|
|
2369
|
+
ContextMenu: typeof ContextMenu;
|
|
1625
2370
|
};
|
|
1626
2371
|
export { Overlay }
|
|
1627
2372
|
export { Overlay as Overlay_alias_1 }
|
|
1628
|
-
export { Overlay as
|
|
2373
|
+
export { Overlay as default_alias_9 }
|
|
1629
2374
|
|
|
1630
2375
|
export declare function PageTitle({ children }: {
|
|
1631
2376
|
children: React_2.ReactNode;
|
|
1632
2377
|
}): JSX.Element;
|
|
1633
2378
|
|
|
2379
|
+
declare function Pagination({ totalPages, currentPage, onPageChange, siblingCount, showFirstLast, showPageCount, size, className, }: PaginationProps): JSX.Element | null;
|
|
2380
|
+
export { Pagination }
|
|
2381
|
+
export { Pagination as Pagination_alias_1 }
|
|
2382
|
+
export { Pagination as Pagination_alias_2 }
|
|
2383
|
+
export { Pagination as Pagination_alias_3 }
|
|
2384
|
+
|
|
2385
|
+
declare type PaginationProps = {
|
|
2386
|
+
/** Total number of pages. */
|
|
2387
|
+
totalPages: number;
|
|
2388
|
+
/** Current active page (1-based). */
|
|
2389
|
+
currentPage: number;
|
|
2390
|
+
/** Called when the user requests a page change. */
|
|
2391
|
+
onPageChange: (page: number) => void;
|
|
2392
|
+
/**
|
|
2393
|
+
* Number of page buttons shown around the current page.
|
|
2394
|
+
* @default 2
|
|
2395
|
+
*/
|
|
2396
|
+
siblingCount?: number;
|
|
2397
|
+
/** Show First / Last jump buttons. @default true */
|
|
2398
|
+
showFirstLast?: boolean;
|
|
2399
|
+
/** Show the total page count label. @default false */
|
|
2400
|
+
showPageCount?: boolean;
|
|
2401
|
+
size?: "sm" | "md" | "lg";
|
|
2402
|
+
className?: string;
|
|
2403
|
+
};
|
|
2404
|
+
export { PaginationProps }
|
|
2405
|
+
export { PaginationProps as PaginationProps_alias_1 }
|
|
2406
|
+
export { PaginationProps as PaginationProps_alias_2 }
|
|
2407
|
+
|
|
1634
2408
|
declare function Panel({ intent, size, className, ...props }: PanelProps): JSX.Element;
|
|
1635
2409
|
export { Panel }
|
|
1636
2410
|
export { Panel as Panel_alias_1 }
|
|
@@ -1657,11 +2431,59 @@ export { panelVariants }
|
|
|
1657
2431
|
export { panelVariants as panelVariants_alias_1 }
|
|
1658
2432
|
export { panelVariants as panelVariants_alias_2 }
|
|
1659
2433
|
|
|
2434
|
+
declare function PieChart({ data, donut, donutThickness, startAngle, padAngle, labelType, centerLabel, centerSubLabel, explodeOnHover, explodeOffset, title, height, className, legend, legendPosition, animateOnMount, emptyText, }: PieChartProps): JSX.Element;
|
|
2435
|
+
export { PieChart }
|
|
2436
|
+
export { PieChart as PieChart_alias_1 }
|
|
2437
|
+
export { PieChart as PieChart_alias_2 }
|
|
2438
|
+
export { PieChart as PieChart_alias_3 }
|
|
2439
|
+
|
|
2440
|
+
declare interface PieChartProps extends BaseChartProps {
|
|
2441
|
+
data: PieSlice[];
|
|
2442
|
+
/** Render as a donut chart with an inner hole. */
|
|
2443
|
+
donut?: boolean;
|
|
2444
|
+
/** Inner radius ratio (0–1, donut mode only). */
|
|
2445
|
+
donutThickness?: number;
|
|
2446
|
+
/** Starting angle in degrees (default: -90 = top). */
|
|
2447
|
+
startAngle?: number;
|
|
2448
|
+
/** Gap between slices in degrees (default 0 = touching). */
|
|
2449
|
+
padAngle?: number;
|
|
2450
|
+
/** Controls label content. */
|
|
2451
|
+
labelType?: "none" | "percent" | "value" | "label" | "label+percent";
|
|
2452
|
+
/** Text rendered in the center hole (donut mode only). */
|
|
2453
|
+
centerLabel?: string;
|
|
2454
|
+
/** Secondary text rendered below centerLabel (donut mode only). */
|
|
2455
|
+
centerSubLabel?: string;
|
|
2456
|
+
/** Slice pops outward when hovered. */
|
|
2457
|
+
explodeOnHover?: boolean;
|
|
2458
|
+
/** Outward offset in px for the exploded slice. */
|
|
2459
|
+
explodeOffset?: number;
|
|
2460
|
+
}
|
|
2461
|
+
export { PieChartProps }
|
|
2462
|
+
export { PieChartProps as PieChartProps_alias_1 }
|
|
2463
|
+
export { PieChartProps as PieChartProps_alias_2 }
|
|
2464
|
+
|
|
2465
|
+
declare interface PieSlice {
|
|
2466
|
+
id: string;
|
|
2467
|
+
label: string;
|
|
2468
|
+
value: number;
|
|
2469
|
+
color?: string;
|
|
2470
|
+
}
|
|
2471
|
+
export { PieSlice }
|
|
2472
|
+
export { PieSlice as PieSlice_alias_1 }
|
|
2473
|
+
export { PieSlice as PieSlice_alias_2 }
|
|
2474
|
+
|
|
2475
|
+
/** Converts polar coordinates to Cartesian (0° = top, clockwise). */
|
|
2476
|
+
export declare function polarToCartesian(cx: number, cy: number, r: number, angleDeg: number): {
|
|
2477
|
+
x: number;
|
|
2478
|
+
y: number;
|
|
2479
|
+
};
|
|
2480
|
+
|
|
1660
2481
|
declare const Primitives: {
|
|
1661
2482
|
Button: typeof Button;
|
|
1662
2483
|
Dropdown: typeof Dropdown;
|
|
1663
2484
|
DropdownButton: typeof DropdownButton;
|
|
1664
2485
|
Badge: typeof Badge;
|
|
2486
|
+
Tag: typeof Tag;
|
|
1665
2487
|
Indicator: typeof Indicator;
|
|
1666
2488
|
Label: typeof Label;
|
|
1667
2489
|
Input: typeof Input;
|
|
@@ -1670,10 +2492,14 @@ declare const Primitives: {
|
|
|
1670
2492
|
Checkbox: typeof Checkbox;
|
|
1671
2493
|
Radio: typeof Radio;
|
|
1672
2494
|
RadioGroup: typeof RadioGroup;
|
|
2495
|
+
Avatar: typeof Avatar;
|
|
2496
|
+
AvatarGroup: typeof AvatarGroup;
|
|
2497
|
+
Slider: typeof Slider;
|
|
2498
|
+
SliderRange: typeof SliderRange;
|
|
1673
2499
|
};
|
|
1674
2500
|
export { Primitives }
|
|
1675
2501
|
export { Primitives as Primitives_alias_1 }
|
|
1676
|
-
export { Primitives as
|
|
2502
|
+
export { Primitives as default_alias_10 }
|
|
1677
2503
|
|
|
1678
2504
|
declare function ProgressBar({ value, size, intent, edge, showLabel, indeterminate, animated, duration, className, ...props }: ProgressBarProps): JSX.Element;
|
|
1679
2505
|
export { ProgressBar }
|
|
@@ -1775,16 +2601,163 @@ export { radioVariants as radioVariants_alias_2 }
|
|
|
1775
2601
|
|
|
1776
2602
|
declare function removeAlert(id: string): void;
|
|
1777
2603
|
|
|
2604
|
+
declare function RibbonBar({ tabs, defaultTab, activeTab: controlledTab, onTabChange, mode: controlledMode, onModeChange, sticky, className, }: RibbonBarProps): JSX.Element;
|
|
2605
|
+
export { RibbonBar }
|
|
2606
|
+
export { RibbonBar as RibbonBar_alias_1 }
|
|
2607
|
+
export { RibbonBar as RibbonBar_alias_2 }
|
|
2608
|
+
export { RibbonBar as RibbonBar_alias_3 }
|
|
2609
|
+
|
|
2610
|
+
declare interface RibbonBarProps {
|
|
2611
|
+
/** Tabs that define the ribbon structure */
|
|
2612
|
+
tabs: RibbonTab[];
|
|
2613
|
+
/** Initially active tab key */
|
|
2614
|
+
defaultTab?: string;
|
|
2615
|
+
/** Controlled active tab */
|
|
2616
|
+
activeTab?: string;
|
|
2617
|
+
/** Called when tab changes */
|
|
2618
|
+
onTabChange?: (key: string) => void;
|
|
2619
|
+
/** Display mode */
|
|
2620
|
+
mode?: RibbonMode;
|
|
2621
|
+
/** Called when mode changes */
|
|
2622
|
+
onModeChange?: (mode: RibbonMode) => void;
|
|
2623
|
+
/** Whether ribbon is sticky to top of its container */
|
|
2624
|
+
sticky?: boolean;
|
|
2625
|
+
/** Extra class name */
|
|
2626
|
+
className?: string;
|
|
2627
|
+
}
|
|
2628
|
+
export { RibbonBarProps }
|
|
2629
|
+
export { RibbonBarProps as RibbonBarProps_alias_1 }
|
|
2630
|
+
export { RibbonBarProps as RibbonBarProps_alias_2 }
|
|
2631
|
+
export { RibbonBarProps as RibbonBarProps_alias_3 }
|
|
2632
|
+
export { RibbonBarProps as RibbonBarProps_alias_4 }
|
|
2633
|
+
|
|
2634
|
+
declare interface RibbonGroup {
|
|
2635
|
+
key: string;
|
|
2636
|
+
label: string;
|
|
2637
|
+
items: RibbonItem[];
|
|
2638
|
+
/** Disables all items in this group */
|
|
2639
|
+
disabled?: boolean;
|
|
2640
|
+
}
|
|
2641
|
+
export { RibbonGroup }
|
|
2642
|
+
export { RibbonGroup as RibbonGroup_alias_1 }
|
|
2643
|
+
export { RibbonGroup as RibbonGroup_alias_2 }
|
|
2644
|
+
export { RibbonGroup as RibbonGroup_alias_3 }
|
|
2645
|
+
export { RibbonGroup as RibbonGroup_alias_4 }
|
|
2646
|
+
|
|
2647
|
+
declare interface RibbonItem {
|
|
2648
|
+
key: string;
|
|
2649
|
+
label: string;
|
|
2650
|
+
icon?: React_2.ReactNode;
|
|
2651
|
+
onClick?: () => void;
|
|
2652
|
+
disabled?: boolean;
|
|
2653
|
+
/** Displays item as a separator */
|
|
2654
|
+
separator?: boolean;
|
|
2655
|
+
/** Marks item as active/pressed */
|
|
2656
|
+
active?: boolean;
|
|
2657
|
+
/** Tooltip shown on hover */
|
|
2658
|
+
title?: string;
|
|
2659
|
+
}
|
|
2660
|
+
export { RibbonItem }
|
|
2661
|
+
export { RibbonItem as RibbonItem_alias_1 }
|
|
2662
|
+
export { RibbonItem as RibbonItem_alias_2 }
|
|
2663
|
+
export { RibbonItem as RibbonItem_alias_3 }
|
|
2664
|
+
export { RibbonItem as RibbonItem_alias_4 }
|
|
2665
|
+
|
|
2666
|
+
declare type RibbonMode = "full" | "compact" | "icons";
|
|
2667
|
+
export { RibbonMode }
|
|
2668
|
+
export { RibbonMode as RibbonMode_alias_1 }
|
|
2669
|
+
export { RibbonMode as RibbonMode_alias_2 }
|
|
2670
|
+
export { RibbonMode as RibbonMode_alias_3 }
|
|
2671
|
+
export { RibbonMode as RibbonMode_alias_4 }
|
|
2672
|
+
|
|
2673
|
+
declare interface RibbonTab {
|
|
2674
|
+
key: string;
|
|
2675
|
+
label: string;
|
|
2676
|
+
icon?: React_2.ReactNode;
|
|
2677
|
+
groups: RibbonGroup[];
|
|
2678
|
+
/** Whether tab is hidden */
|
|
2679
|
+
hidden?: boolean;
|
|
2680
|
+
/** Disables the tab button and all groups/items inside it */
|
|
2681
|
+
disabled?: boolean;
|
|
2682
|
+
}
|
|
2683
|
+
export { RibbonTab }
|
|
2684
|
+
export { RibbonTab as RibbonTab_alias_1 }
|
|
2685
|
+
export { RibbonTab as RibbonTab_alias_2 }
|
|
2686
|
+
export { RibbonTab as RibbonTab_alias_3 }
|
|
2687
|
+
export { RibbonTab as RibbonTab_alias_4 }
|
|
2688
|
+
|
|
2689
|
+
declare function ScatterChart({ series, xAxis, yAxis, dotRadius, dotOpacity, clusters, jitter, jitterAmount, linkedLines, title, height, className, legend, legendPosition, animateOnMount, emptyText, }: ScatterChartProps): JSX.Element;
|
|
2690
|
+
export { ScatterChart }
|
|
2691
|
+
export { ScatterChart as ScatterChart_alias_1 }
|
|
2692
|
+
export { ScatterChart as ScatterChart_alias_2 }
|
|
2693
|
+
export { ScatterChart as ScatterChart_alias_3 }
|
|
2694
|
+
|
|
2695
|
+
declare interface ScatterChartProps extends BaseChartProps {
|
|
2696
|
+
series: ChartSeries[];
|
|
2697
|
+
xAxis?: AxisConfig;
|
|
2698
|
+
yAxis?: AxisConfig;
|
|
2699
|
+
/** Dot radius in px. */
|
|
2700
|
+
dotRadius?: number;
|
|
2701
|
+
/** Dot fill opacity. */
|
|
2702
|
+
dotOpacity?: number;
|
|
2703
|
+
/** Draw a faint bounding ellipse around each series' points. */
|
|
2704
|
+
clusters?: boolean;
|
|
2705
|
+
/** Not used in simplified implementation (kept for API compat). */
|
|
2706
|
+
clusterRadius?: number;
|
|
2707
|
+
/** Apply deterministic small random offset to reduce overlap. */
|
|
2708
|
+
jitter?: boolean;
|
|
2709
|
+
/** Jitter range in px. */
|
|
2710
|
+
jitterAmount?: number;
|
|
2711
|
+
/** Draw polylines connecting same-series points in x-order. */
|
|
2712
|
+
linkedLines?: boolean;
|
|
2713
|
+
}
|
|
2714
|
+
export { ScatterChartProps }
|
|
2715
|
+
export { ScatterChartProps as ScatterChartProps_alias_1 }
|
|
2716
|
+
export { ScatterChartProps as ScatterChartProps_alias_2 }
|
|
2717
|
+
|
|
1778
2718
|
export declare function Section({ title, children }: {
|
|
1779
2719
|
title: string;
|
|
1780
2720
|
children: React_2.ReactNode;
|
|
1781
2721
|
}): JSX.Element;
|
|
1782
2722
|
|
|
2723
|
+
declare function Select({ options, value: valueProp, defaultValue, onChange, placeholder, disabled, clearable, intent, size, className, id: idProp, "aria-label": ariaLabel, }: SelectProps): JSX.Element;
|
|
2724
|
+
export { Select }
|
|
2725
|
+
export { Select as Select_alias_1 }
|
|
2726
|
+
|
|
1783
2727
|
declare type SelectionMode_2 = "none" | "single" | "multiple";
|
|
1784
2728
|
export { SelectionMode_2 as SelectionMode }
|
|
1785
2729
|
export { SelectionMode_2 as SelectionMode_alias_1 }
|
|
1786
2730
|
export { SelectionMode_2 as SelectionMode_alias_2 }
|
|
1787
2731
|
|
|
2732
|
+
declare type SelectOption = {
|
|
2733
|
+
value: string;
|
|
2734
|
+
label: string;
|
|
2735
|
+
disabled?: boolean;
|
|
2736
|
+
};
|
|
2737
|
+
export { SelectOption }
|
|
2738
|
+
export { SelectOption as SelectOption_alias_1 }
|
|
2739
|
+
|
|
2740
|
+
declare type SelectProps = VariantProps<typeof selectVariants> & {
|
|
2741
|
+
options: SelectOption[];
|
|
2742
|
+
value?: string;
|
|
2743
|
+
defaultValue?: string;
|
|
2744
|
+
onChange?: (value: string) => void;
|
|
2745
|
+
placeholder?: string;
|
|
2746
|
+
disabled?: boolean;
|
|
2747
|
+
clearable?: boolean;
|
|
2748
|
+
/** Accessible label. Prefer using `<label>` + `id`. */
|
|
2749
|
+
"aria-label"?: string;
|
|
2750
|
+
id?: string;
|
|
2751
|
+
className?: string;
|
|
2752
|
+
};
|
|
2753
|
+
export { SelectProps }
|
|
2754
|
+
export { SelectProps as SelectProps_alias_1 }
|
|
2755
|
+
|
|
2756
|
+
export declare const selectVariants: (props?: ({
|
|
2757
|
+
intent?: "danger" | "default" | null | undefined;
|
|
2758
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2759
|
+
} & ClassProp) | undefined) => string;
|
|
2760
|
+
|
|
1788
2761
|
declare function SideNav({ items, title, basePath, onItemClick, LinkComponent, collapsible, collapseMode: controlledMode, defaultCollapseMode, onCollapseModeChange, showLines, expandedKeys: controlledExpandedKeys, defaultExpandedKeys, onExpandedKeysChange, className, responsive, mobileBreakpoint, mobileTopOffset, ...props }: SideNavProps): JSX.Element;
|
|
1789
2762
|
export { SideNav }
|
|
1790
2763
|
export { SideNav as SideNav_alias_1 }
|
|
@@ -1881,6 +2854,112 @@ export { SideNavProps }
|
|
|
1881
2854
|
export { SideNavProps as SideNavProps_alias_1 }
|
|
1882
2855
|
export { SideNavProps as SideNavProps_alias_2 }
|
|
1883
2856
|
|
|
2857
|
+
/**
|
|
2858
|
+
* Skeleton — loading placeholder that mimics the shape of incoming content.
|
|
2859
|
+
*
|
|
2860
|
+
* @example
|
|
2861
|
+
* <Skeleton variant="text" lines={3} />
|
|
2862
|
+
* <Skeleton variant="circular" width={48} height={48} />
|
|
2863
|
+
* <Skeleton variant="rectangular" width="100%" height={160} animation="wave" />
|
|
2864
|
+
*/
|
|
2865
|
+
declare function Skeleton({ variant, animation, width, height, lines, className, style, ...props }: SkeletonProps): JSX.Element;
|
|
2866
|
+
export { Skeleton }
|
|
2867
|
+
export { Skeleton as Skeleton_alias_1 }
|
|
2868
|
+
export { Skeleton as Skeleton_alias_2 }
|
|
2869
|
+
export { Skeleton as Skeleton_alias_3 }
|
|
2870
|
+
|
|
2871
|
+
declare type SkeletonProps = Omit<React_2.HTMLAttributes<HTMLSpanElement>, "children"> & VariantProps<typeof skeletonVariants> & {
|
|
2872
|
+
/** CSS width — e.g. "100%", 200, "12rem". Overrides default when supplied. */
|
|
2873
|
+
width?: string | number;
|
|
2874
|
+
/** CSS height — e.g. 16, "2rem". Overrides default when supplied. */
|
|
2875
|
+
height?: string | number;
|
|
2876
|
+
/**
|
|
2877
|
+
* Renders N stacked text-line skeletons.
|
|
2878
|
+
* Only meaningful when variant="text" (default).
|
|
2879
|
+
* The last line is narrowed to 60% to mimic natural paragraph endings.
|
|
2880
|
+
*/
|
|
2881
|
+
lines?: number;
|
|
2882
|
+
};
|
|
2883
|
+
export { SkeletonProps }
|
|
2884
|
+
export { SkeletonProps as SkeletonProps_alias_1 }
|
|
2885
|
+
export { SkeletonProps as SkeletonProps_alias_2 }
|
|
2886
|
+
|
|
2887
|
+
declare const skeletonVariants: (props?: ({
|
|
2888
|
+
variant?: "circular" | "rounded" | "text" | "rectangular" | null | undefined;
|
|
2889
|
+
animation?: "none" | "pulse" | "wave" | null | undefined;
|
|
2890
|
+
} & ClassProp) | undefined) => string;
|
|
2891
|
+
export { skeletonVariants }
|
|
2892
|
+
export { skeletonVariants as skeletonVariants_alias_1 }
|
|
2893
|
+
export { skeletonVariants as skeletonVariants_alias_2 }
|
|
2894
|
+
|
|
2895
|
+
export declare interface SliceSpec {
|
|
2896
|
+
id: string;
|
|
2897
|
+
label: string;
|
|
2898
|
+
value: number;
|
|
2899
|
+
percent: number;
|
|
2900
|
+
color: string;
|
|
2901
|
+
startAngle: number;
|
|
2902
|
+
endAngle: number;
|
|
2903
|
+
midAngle: number;
|
|
2904
|
+
path: string;
|
|
2905
|
+
outerR: number;
|
|
2906
|
+
innerR: number;
|
|
2907
|
+
cx: number;
|
|
2908
|
+
cy: number;
|
|
2909
|
+
}
|
|
2910
|
+
|
|
2911
|
+
declare function Slider({ mode, value: valueProp, defaultValue, onChange, min, max, step, intent, size, disabled, showValue, formatValue, label, className, ...props }: SliderProps): JSX.Element;
|
|
2912
|
+
export { Slider }
|
|
2913
|
+
export { Slider as Slider_alias_1 }
|
|
2914
|
+
export { Slider as Slider_alias_2 }
|
|
2915
|
+
export { Slider as Slider_alias_3 }
|
|
2916
|
+
|
|
2917
|
+
declare type SliderBaseProps = Omit<React_2.HTMLAttributes<HTMLDivElement>, "onChange" | "defaultValue"> & VariantProps<typeof sliderVariants> & {
|
|
2918
|
+
min?: number;
|
|
2919
|
+
max?: number;
|
|
2920
|
+
step?: number;
|
|
2921
|
+
disabled?: boolean;
|
|
2922
|
+
/** Display the current value above the thumb. */
|
|
2923
|
+
showValue?: boolean;
|
|
2924
|
+
/** Format the displayed value. */
|
|
2925
|
+
formatValue?: (value: number) => string;
|
|
2926
|
+
label?: string;
|
|
2927
|
+
};
|
|
2928
|
+
|
|
2929
|
+
declare type SliderProps = SliderBaseProps & {
|
|
2930
|
+
mode?: "single";
|
|
2931
|
+
value?: number;
|
|
2932
|
+
defaultValue?: number;
|
|
2933
|
+
onChange?: (value: number) => void;
|
|
2934
|
+
};
|
|
2935
|
+
export { SliderProps }
|
|
2936
|
+
export { SliderProps as SliderProps_alias_1 }
|
|
2937
|
+
export { SliderProps as SliderProps_alias_2 }
|
|
2938
|
+
|
|
2939
|
+
declare function SliderRange({ value: valueProp, defaultValue, onChange, min, max, step, intent, size, disabled, showValue, formatValue, label, className, ...props }: SliderRangeProps): JSX.Element;
|
|
2940
|
+
export { SliderRange }
|
|
2941
|
+
export { SliderRange as SliderRange_alias_1 }
|
|
2942
|
+
export { SliderRange as SliderRange_alias_2 }
|
|
2943
|
+
export { SliderRange as SliderRange_alias_3 }
|
|
2944
|
+
|
|
2945
|
+
declare type SliderRangeProps = SliderBaseProps & {
|
|
2946
|
+
mode: "range";
|
|
2947
|
+
value?: [number, number];
|
|
2948
|
+
defaultValue?: [number, number];
|
|
2949
|
+
onChange?: (value: [number, number]) => void;
|
|
2950
|
+
};
|
|
2951
|
+
export { SliderRangeProps }
|
|
2952
|
+
export { SliderRangeProps as SliderRangeProps_alias_1 }
|
|
2953
|
+
export { SliderRangeProps as SliderRangeProps_alias_2 }
|
|
2954
|
+
|
|
2955
|
+
declare const sliderVariants: (props?: ({
|
|
2956
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "success" | null | undefined;
|
|
2957
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
2958
|
+
} & ClassProp) | undefined) => string;
|
|
2959
|
+
export { sliderVariants }
|
|
2960
|
+
export { sliderVariants as sliderVariants_alias_1 }
|
|
2961
|
+
export { sliderVariants as sliderVariants_alias_2 }
|
|
2962
|
+
|
|
1884
2963
|
declare function SortableTable<T, K extends string = string>({ columns, data, sort: controlledSort, onSortChange, defaultSort, rowKey, rowActions, intent, density, className, empty, }: SortableTableProps<T, K>): JSX.Element;
|
|
1885
2964
|
export { SortableTable }
|
|
1886
2965
|
export { SortableTable as SortableTable_alias_1 }
|
|
@@ -1943,6 +3022,50 @@ export { spinVariants }
|
|
|
1943
3022
|
export { spinVariants as spinVariants_alias_1 }
|
|
1944
3023
|
export { spinVariants as spinVariants_alias_2 }
|
|
1945
3024
|
|
|
3025
|
+
declare function Stat({ title, value, prefix, suffix, icon, trend, trendValue, description, intent, size, className, }: StatProps): JSX.Element;
|
|
3026
|
+
export { Stat }
|
|
3027
|
+
export { Stat as Stat_alias_1 }
|
|
3028
|
+
export { Stat as Stat_alias_2 }
|
|
3029
|
+
export { Stat as Stat_alias_3 }
|
|
3030
|
+
|
|
3031
|
+
declare interface StatProps extends VariantProps<typeof statVariants> {
|
|
3032
|
+
/** Main metric label */
|
|
3033
|
+
title: string;
|
|
3034
|
+
/** Primary value to display */
|
|
3035
|
+
value: React_2.ReactNode;
|
|
3036
|
+
/** Prefix string/element before value */
|
|
3037
|
+
prefix?: React_2.ReactNode;
|
|
3038
|
+
/** Suffix string/element after value */
|
|
3039
|
+
suffix?: React_2.ReactNode;
|
|
3040
|
+
/** Icon element displayed in the card */
|
|
3041
|
+
icon?: React_2.ReactNode;
|
|
3042
|
+
/** Trend direction */
|
|
3043
|
+
trend?: StatTrend;
|
|
3044
|
+
/** Trend percentage or label */
|
|
3045
|
+
trendValue?: string;
|
|
3046
|
+
/** Description below the value */
|
|
3047
|
+
description?: string;
|
|
3048
|
+
className?: string;
|
|
3049
|
+
}
|
|
3050
|
+
export { StatProps }
|
|
3051
|
+
export { StatProps as StatProps_alias_1 }
|
|
3052
|
+
export { StatProps as StatProps_alias_2 }
|
|
3053
|
+
export { StatProps as StatProps_alias_3 }
|
|
3054
|
+
|
|
3055
|
+
declare type StatTrend = "up" | "down" | "neutral";
|
|
3056
|
+
export { StatTrend }
|
|
3057
|
+
export { StatTrend as StatTrend_alias_1 }
|
|
3058
|
+
export { StatTrend as StatTrend_alias_2 }
|
|
3059
|
+
export { StatTrend as StatTrend_alias_3 }
|
|
3060
|
+
|
|
3061
|
+
declare const statVariants: (props?: ({
|
|
3062
|
+
intent?: "primary" | "danger" | "warning" | "success" | null | undefined;
|
|
3063
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3064
|
+
} & ClassProp) | undefined) => string;
|
|
3065
|
+
export { statVariants }
|
|
3066
|
+
export { statVariants as statVariants_alias_1 }
|
|
3067
|
+
export { statVariants as statVariants_alias_2 }
|
|
3068
|
+
|
|
1946
3069
|
declare function Switch({ checked: controlledChecked, defaultChecked, onCheckedChange, checkedContent, uncheckedContent, intent, size, label, id: propId, className, disabled, ...props }: SwitchProps): JSX.Element;
|
|
1947
3070
|
export { Switch }
|
|
1948
3071
|
export { Switch as Switch_alias_1 }
|
|
@@ -2094,6 +3217,38 @@ export { tabTriggerVariants }
|
|
|
2094
3217
|
export { tabTriggerVariants as tabTriggerVariants_alias_1 }
|
|
2095
3218
|
export { tabTriggerVariants as tabTriggerVariants_alias_2 }
|
|
2096
3219
|
|
|
3220
|
+
declare function Tag({ intent, size, variant, icon, removable, onRemove, disabled, dot, className, children, ...props }: TagProps): JSX.Element;
|
|
3221
|
+
export { Tag }
|
|
3222
|
+
export { Tag as Tag_alias_1 }
|
|
3223
|
+
export { Tag as Tag_alias_2 }
|
|
3224
|
+
export { Tag as Tag_alias_3 }
|
|
3225
|
+
|
|
3226
|
+
declare type TagProps = React_2.HTMLAttributes<HTMLSpanElement> & VariantProps<typeof tagVariants> & {
|
|
3227
|
+
/** Icon or element displayed before label */
|
|
3228
|
+
icon?: React_2.ReactNode;
|
|
3229
|
+
/** Show remove button */
|
|
3230
|
+
removable?: boolean;
|
|
3231
|
+
/** Called when remove button is clicked */
|
|
3232
|
+
onRemove?: () => void;
|
|
3233
|
+
/** Disables interaction */
|
|
3234
|
+
disabled?: boolean;
|
|
3235
|
+
/** Dot indicator to left of label */
|
|
3236
|
+
dot?: boolean;
|
|
3237
|
+
};
|
|
3238
|
+
export { TagProps }
|
|
3239
|
+
export { TagProps as TagProps_alias_1 }
|
|
3240
|
+
export { TagProps as TagProps_alias_2 }
|
|
3241
|
+
export { TagProps as TagProps_alias_3 }
|
|
3242
|
+
|
|
3243
|
+
declare const tagVariants: (props?: ({
|
|
3244
|
+
intent?: "primary" | "secondary" | "danger" | "warning" | "success" | "info" | null | undefined;
|
|
3245
|
+
size?: "sm" | "md" | "lg" | null | undefined;
|
|
3246
|
+
variant?: "outline" | "solid" | "soft" | null | undefined;
|
|
3247
|
+
} & ClassProp) | undefined) => string;
|
|
3248
|
+
export { tagVariants }
|
|
3249
|
+
export { tagVariants as tagVariants_alias_1 }
|
|
3250
|
+
export { tagVariants as tagVariants_alias_2 }
|
|
3251
|
+
|
|
2097
3252
|
declare function TextBox({ state, size, showWordCount, maxWords, className, value: controlledValue, defaultValue, onChange, disabled, ...props }: TextBoxProps): JSX.Element;
|
|
2098
3253
|
export { TextBox }
|
|
2099
3254
|
export { TextBox as TextBox_alias_1 }
|
|
@@ -2114,6 +3269,187 @@ export { TextBoxProps }
|
|
|
2114
3269
|
export { TextBoxProps as TextBoxProps_alias_1 }
|
|
2115
3270
|
export { TextBoxProps as TextBoxProps_alias_2 }
|
|
2116
3271
|
|
|
3272
|
+
declare function Timeline({ items, orientation, activeIndex, animated, lineStyle, className, }: TimelineProps): JSX.Element;
|
|
3273
|
+
export { Timeline }
|
|
3274
|
+
export { Timeline as Timeline_alias_1 }
|
|
3275
|
+
export { Timeline as Timeline_alias_2 }
|
|
3276
|
+
export { Timeline as Timeline_alias_3 }
|
|
3277
|
+
|
|
3278
|
+
declare interface TimelineAction {
|
|
3279
|
+
/** Button/link label */
|
|
3280
|
+
label: string;
|
|
3281
|
+
/** Leading icon */
|
|
3282
|
+
icon?: React_2.ReactNode;
|
|
3283
|
+
/** Click handler (renders a <button>) */
|
|
3284
|
+
onClick?: () => void;
|
|
3285
|
+
/** Destination URL — renders an <a> that opens in a new tab */
|
|
3286
|
+
href?: string;
|
|
3287
|
+
/** "primary" → solid right-aligned CTA; default → ghost left-aligned */
|
|
3288
|
+
variant?: "default" | "primary";
|
|
3289
|
+
}
|
|
3290
|
+
export { TimelineAction }
|
|
3291
|
+
export { TimelineAction as TimelineAction_alias_1 }
|
|
3292
|
+
export { TimelineAction as TimelineAction_alias_2 }
|
|
3293
|
+
export { TimelineAction as TimelineAction_alias_3 }
|
|
3294
|
+
|
|
3295
|
+
declare interface TimelineItem {
|
|
3296
|
+
/** Unique key */
|
|
3297
|
+
id?: string | number;
|
|
3298
|
+
/** Card title */
|
|
3299
|
+
title: string;
|
|
3300
|
+
/** Card description text or element */
|
|
3301
|
+
description?: React_2.ReactNode;
|
|
3302
|
+
/** Timestamp / label */
|
|
3303
|
+
date?: string;
|
|
3304
|
+
/** Custom icon inside the dot */
|
|
3305
|
+
icon?: React_2.ReactNode;
|
|
3306
|
+
/** Image URL — full-width header banner (top) or sidebar column (left) */
|
|
3307
|
+
image?: string;
|
|
3308
|
+
/** Where to display `image`: "top" = banner header (default) | "left" = sidebar beside content */
|
|
3309
|
+
imagePosition?: "top" | "left";
|
|
3310
|
+
/** Array of image URLs — mosaic gallery rendered below the description */
|
|
3311
|
+
images?: string[];
|
|
3312
|
+
/** Inline SVG string or React SVG element */
|
|
3313
|
+
svg?: React_2.ReactNode;
|
|
3314
|
+
/** Item status */
|
|
3315
|
+
status?: TimelineStatus;
|
|
3316
|
+
/** Action buttons shown in the card footer */
|
|
3317
|
+
actions?: TimelineAction[];
|
|
3318
|
+
/** Extra class for this item */
|
|
3319
|
+
className?: string;
|
|
3320
|
+
}
|
|
3321
|
+
export { TimelineItem }
|
|
3322
|
+
export { TimelineItem as TimelineItem_alias_1 }
|
|
3323
|
+
export { TimelineItem as TimelineItem_alias_2 }
|
|
3324
|
+
export { TimelineItem as TimelineItem_alias_3 }
|
|
3325
|
+
export { TimelineItem as TimelineItem_alias_4 }
|
|
3326
|
+
|
|
3327
|
+
declare type TimelineOrientation = "vertical" | "horizontal";
|
|
3328
|
+
export { TimelineOrientation }
|
|
3329
|
+
export { TimelineOrientation as TimelineOrientation_alias_1 }
|
|
3330
|
+
export { TimelineOrientation as TimelineOrientation_alias_2 }
|
|
3331
|
+
export { TimelineOrientation as TimelineOrientation_alias_3 }
|
|
3332
|
+
export { TimelineOrientation as TimelineOrientation_alias_4 }
|
|
3333
|
+
|
|
3334
|
+
declare interface TimelineProps {
|
|
3335
|
+
items: TimelineItem[];
|
|
3336
|
+
orientation?: TimelineOrientation;
|
|
3337
|
+
/** Index of the active item — will be scrolled into center view */
|
|
3338
|
+
activeIndex?: number;
|
|
3339
|
+
/** Animate items as they enter the viewport */
|
|
3340
|
+
animated?: boolean;
|
|
3341
|
+
/** Connector line style */
|
|
3342
|
+
lineStyle?: "solid" | "dashed";
|
|
3343
|
+
className?: string;
|
|
3344
|
+
}
|
|
3345
|
+
export { TimelineProps }
|
|
3346
|
+
export { TimelineProps as TimelineProps_alias_1 }
|
|
3347
|
+
export { TimelineProps as TimelineProps_alias_2 }
|
|
3348
|
+
export { TimelineProps as TimelineProps_alias_3 }
|
|
3349
|
+
|
|
3350
|
+
declare type TimelineStatus = "pending" | "active" | "complete" | "error";
|
|
3351
|
+
export { TimelineStatus }
|
|
3352
|
+
export { TimelineStatus as TimelineStatus_alias_1 }
|
|
3353
|
+
export { TimelineStatus as TimelineStatus_alias_2 }
|
|
3354
|
+
export { TimelineStatus as TimelineStatus_alias_3 }
|
|
3355
|
+
export { TimelineStatus as TimelineStatus_alias_4 }
|
|
3356
|
+
|
|
3357
|
+
declare interface ToastAction {
|
|
3358
|
+
label: string;
|
|
3359
|
+
onClick: () => void;
|
|
3360
|
+
}
|
|
3361
|
+
export { ToastAction }
|
|
3362
|
+
export { ToastAction as ToastAction_alias_1 }
|
|
3363
|
+
export { ToastAction as ToastAction_alias_2 }
|
|
3364
|
+
export { ToastAction as ToastAction_alias_3 }
|
|
3365
|
+
|
|
3366
|
+
declare const ToastContext: React_2.Context<ToastContextValue | null>;
|
|
3367
|
+
export { ToastContext }
|
|
3368
|
+
export { ToastContext as ToastContext_alias_1 }
|
|
3369
|
+
export { ToastContext as ToastContext_alias_2 }
|
|
3370
|
+
export { ToastContext as ToastContext_alias_3 }
|
|
3371
|
+
|
|
3372
|
+
declare interface ToastContextValue {
|
|
3373
|
+
/** Show a toast and return its generated id. */
|
|
3374
|
+
toast: (options: ToastOptions) => string;
|
|
3375
|
+
/** Dismiss a specific toast by id. */
|
|
3376
|
+
dismiss: (id: string) => void;
|
|
3377
|
+
/** Dismiss all currently visible toasts. */
|
|
3378
|
+
dismissAll: () => void;
|
|
3379
|
+
}
|
|
3380
|
+
export { ToastContextValue }
|
|
3381
|
+
export { ToastContextValue as ToastContextValue_alias_1 }
|
|
3382
|
+
export { ToastContextValue as ToastContextValue_alias_2 }
|
|
3383
|
+
export { ToastContextValue as ToastContextValue_alias_3 }
|
|
3384
|
+
|
|
3385
|
+
/** @internal Extended item type that tracks exit-animation state */
|
|
3386
|
+
declare interface ToastItem extends ToastProps {
|
|
3387
|
+
_exiting: boolean;
|
|
3388
|
+
}
|
|
3389
|
+
export { ToastItem }
|
|
3390
|
+
export { ToastItem as ToastItem_alias_1 }
|
|
3391
|
+
|
|
3392
|
+
declare type ToastOptions = Omit<ToastProps, "id">;
|
|
3393
|
+
export { ToastOptions }
|
|
3394
|
+
export { ToastOptions as ToastOptions_alias_1 }
|
|
3395
|
+
export { ToastOptions as ToastOptions_alias_2 }
|
|
3396
|
+
export { ToastOptions as ToastOptions_alias_3 }
|
|
3397
|
+
|
|
3398
|
+
declare type ToastPosition = "top-right" | "top-left" | "top-center" | "bottom-right" | "bottom-left" | "bottom-center";
|
|
3399
|
+
export { ToastPosition }
|
|
3400
|
+
export { ToastPosition as ToastPosition_alias_1 }
|
|
3401
|
+
export { ToastPosition as ToastPosition_alias_2 }
|
|
3402
|
+
export { ToastPosition as ToastPosition_alias_3 }
|
|
3403
|
+
|
|
3404
|
+
declare interface ToastProps {
|
|
3405
|
+
id: string;
|
|
3406
|
+
title?: string;
|
|
3407
|
+
description?: string;
|
|
3408
|
+
variant?: ToastVariant;
|
|
3409
|
+
/** Duration in milliseconds. Default: 4000. Pass 0 to persist indefinitely. */
|
|
3410
|
+
duration?: number;
|
|
3411
|
+
/** Show dismiss (×) button. Default: true. */
|
|
3412
|
+
dismissible?: boolean;
|
|
3413
|
+
action?: ToastAction;
|
|
3414
|
+
position?: ToastPosition;
|
|
3415
|
+
onDismiss?: (id: string) => void;
|
|
3416
|
+
}
|
|
3417
|
+
export { ToastProps }
|
|
3418
|
+
export { ToastProps as ToastProps_alias_1 }
|
|
3419
|
+
export { ToastProps as ToastProps_alias_2 }
|
|
3420
|
+
export { ToastProps as ToastProps_alias_3 }
|
|
3421
|
+
|
|
3422
|
+
declare function ToastProvider({ children, defaultPosition, defaultDuration, }: ToastProviderProps): JSX.Element;
|
|
3423
|
+
export { ToastProvider }
|
|
3424
|
+
export { ToastProvider as ToastProvider_alias_1 }
|
|
3425
|
+
export { ToastProvider as ToastProvider_alias_2 }
|
|
3426
|
+
export { ToastProvider as ToastProvider_alias_3 }
|
|
3427
|
+
|
|
3428
|
+
declare interface ToastProviderProps {
|
|
3429
|
+
children: React_2.ReactNode;
|
|
3430
|
+
/** Default position for toasts. Each toast call can override this. */
|
|
3431
|
+
defaultPosition?: ToastPosition;
|
|
3432
|
+
/** Default auto-dismiss duration in ms. Each toast call can override. */
|
|
3433
|
+
defaultDuration?: number;
|
|
3434
|
+
}
|
|
3435
|
+
export { ToastProviderProps }
|
|
3436
|
+
export { ToastProviderProps as ToastProviderProps_alias_1 }
|
|
3437
|
+
export { ToastProviderProps as ToastProviderProps_alias_2 }
|
|
3438
|
+
export { ToastProviderProps as ToastProviderProps_alias_3 }
|
|
3439
|
+
|
|
3440
|
+
declare type ToastVariant = "default" | "success" | "danger" | "warning" | "info";
|
|
3441
|
+
export { ToastVariant }
|
|
3442
|
+
export { ToastVariant as ToastVariant_alias_1 }
|
|
3443
|
+
export { ToastVariant as ToastVariant_alias_2 }
|
|
3444
|
+
export { ToastVariant as ToastVariant_alias_3 }
|
|
3445
|
+
|
|
3446
|
+
declare const toastVariants: (props?: ({
|
|
3447
|
+
variant?: "danger" | "warning" | "success" | "info" | "default" | null | undefined;
|
|
3448
|
+
} & ClassProp) | undefined) => string;
|
|
3449
|
+
export { toastVariants }
|
|
3450
|
+
export { toastVariants as toastVariants_alias_1 }
|
|
3451
|
+
export { toastVariants as toastVariants_alias_2 }
|
|
3452
|
+
|
|
2117
3453
|
declare function Tooltip({ content, position, intent, delay, maxWidth, children, className, }: TooltipProps): JSX.Element;
|
|
2118
3454
|
export { Tooltip }
|
|
2119
3455
|
export { Tooltip as Tooltip_alias_1 }
|
|
@@ -2189,6 +3525,67 @@ declare type TreeProps = React_2.HTMLAttributes<HTMLUListElement> & {
|
|
|
2189
3525
|
size?: "sm" | "md" | "lg";
|
|
2190
3526
|
};
|
|
2191
3527
|
|
|
3528
|
+
/**
|
|
3529
|
+
* TypewriterText — renders text with a Copilot-style typewriter animation.
|
|
3530
|
+
*
|
|
3531
|
+
* Three modes:
|
|
3532
|
+
* - "typewriter" (default): animates from empty → full text on every `text` change.
|
|
3533
|
+
* - "stream": only animates newly appended characters; designed for live token streams.
|
|
3534
|
+
* - "instant": no animation; renders text immediately.
|
|
3535
|
+
*
|
|
3536
|
+
* Cursor states:
|
|
3537
|
+
* - `thinking`: blinking block cursor, no text yet.
|
|
3538
|
+
* - Actively typing: solid cursor at the trailing edge of the text.
|
|
3539
|
+
* - Waiting (stream mode, `streaming=true`): blinking cursor after catching up.
|
|
3540
|
+
* - Done: cursor fades out.
|
|
3541
|
+
*/
|
|
3542
|
+
declare function TypewriterText({ text, mode, speed, cursor, cursorChar, thinking, streaming, delay, onComplete, as: Tag, className, }: TypewriterTextProps): JSX.Element;
|
|
3543
|
+
export { TypewriterText }
|
|
3544
|
+
export { TypewriterText as TypewriterText_alias_1 }
|
|
3545
|
+
export { TypewriterText as TypewriterText_alias_2 }
|
|
3546
|
+
export { TypewriterText as TypewriterText_alias_3 }
|
|
3547
|
+
|
|
3548
|
+
declare interface TypewriterTextProps {
|
|
3549
|
+
/** Full text content to display. */
|
|
3550
|
+
text: string;
|
|
3551
|
+
/**
|
|
3552
|
+
* Animation mode.
|
|
3553
|
+
* - `"typewriter"` (default): animates from empty → full text whenever `text` changes.
|
|
3554
|
+
* - `"stream"`: only animates newly appended characters; ideal for LLM token streams.
|
|
3555
|
+
* - `"instant"`: no animation — renders text immediately.
|
|
3556
|
+
*/
|
|
3557
|
+
mode?: "typewriter" | "stream" | "instant";
|
|
3558
|
+
/** Typing speed in characters per second. @default 40 */
|
|
3559
|
+
speed?: number;
|
|
3560
|
+
/** Show a cursor at the end of the text. @default true */
|
|
3561
|
+
cursor?: boolean;
|
|
3562
|
+
/** Cursor glyph. @default "▋" */
|
|
3563
|
+
cursorChar?: string;
|
|
3564
|
+
/**
|
|
3565
|
+
* When `true`, renders only a blinking cursor (no text) — the "model is thinking"
|
|
3566
|
+
* state before the first token arrives.
|
|
3567
|
+
*/
|
|
3568
|
+
thinking?: boolean;
|
|
3569
|
+
/**
|
|
3570
|
+
* Pass `true` while the parent is still receiving streaming data.
|
|
3571
|
+
* Keeps the cursor visible and blinking even after the component has caught up
|
|
3572
|
+
* to the current `text` value.
|
|
3573
|
+
* Pass `false` (or omit) once the stream is complete.
|
|
3574
|
+
*/
|
|
3575
|
+
streaming?: boolean;
|
|
3576
|
+
/** Delay in ms before the animation begins (typewriter mode only). @default 0 */
|
|
3577
|
+
delay?: number;
|
|
3578
|
+
/** Called once each time the current animation sequence finishes catching up. */
|
|
3579
|
+
onComplete?: () => void;
|
|
3580
|
+
/** HTML element to render as. @default "span" */
|
|
3581
|
+
as?: "span" | "div" | "p" | "pre" | "code" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "label" | "li";
|
|
3582
|
+
className?: string;
|
|
3583
|
+
}
|
|
3584
|
+
export { TypewriterTextProps }
|
|
3585
|
+
export { TypewriterTextProps as TypewriterTextProps_alias_1 }
|
|
3586
|
+
export { TypewriterTextProps as TypewriterTextProps_alias_2 }
|
|
3587
|
+
export { TypewriterTextProps as TypewriterTextProps_alias_3 }
|
|
3588
|
+
|
|
2192
3589
|
declare function useAlert(): {
|
|
2193
3590
|
addAlert: typeof addAlert;
|
|
2194
3591
|
removeAlert: typeof removeAlert;
|
|
@@ -2197,6 +3594,23 @@ export { useAlert }
|
|
|
2197
3594
|
export { useAlert as useAlert_alias_1 }
|
|
2198
3595
|
export { useAlert as useAlert_alias_2 }
|
|
2199
3596
|
|
|
3597
|
+
export declare function useChartLegend(initialIds: string[]): {
|
|
3598
|
+
visible: Set<string>;
|
|
3599
|
+
toggle: (id: string) => void;
|
|
3600
|
+
isVisible: (id: string) => boolean;
|
|
3601
|
+
showAll: () => void;
|
|
3602
|
+
};
|
|
3603
|
+
|
|
3604
|
+
export declare function useCommandPalette(commands: CommandItem[], open: boolean, onOpenChange: (v: boolean) => void, hotkey: boolean): {
|
|
3605
|
+
query: string;
|
|
3606
|
+
setQuery: Dispatch<SetStateAction<string>>;
|
|
3607
|
+
groups: CommandGroup[];
|
|
3608
|
+
filtered: CommandItem[];
|
|
3609
|
+
activeIndex: number;
|
|
3610
|
+
setActiveIndex: Dispatch<SetStateAction<number>>;
|
|
3611
|
+
handleKeyDown: (e: React.KeyboardEvent) => void;
|
|
3612
|
+
};
|
|
3613
|
+
|
|
2200
3614
|
/**
|
|
2201
3615
|
* Returns a `setSpin(target, tip?)` function.
|
|
2202
3616
|
* Each call returns a **close** function to dismiss that specific overlay.
|
|
@@ -2206,6 +3620,27 @@ export { useSpin }
|
|
|
2206
3620
|
export { useSpin as useSpin_alias_1 }
|
|
2207
3621
|
export { useSpin as useSpin_alias_2 }
|
|
2208
3622
|
|
|
3623
|
+
/**
|
|
3624
|
+
* useToast — hook for triggering toasts from anywhere inside a <ToastProvider>.
|
|
3625
|
+
* Throws if called outside of a ToastProvider.
|
|
3626
|
+
*/
|
|
3627
|
+
declare function useToast(): ToastContextValue;
|
|
3628
|
+
export { useToast }
|
|
3629
|
+
export { useToast as useToast_alias_1 }
|
|
3630
|
+
export { useToast as useToast_alias_2 }
|
|
3631
|
+
export { useToast as useToast_alias_3 }
|
|
3632
|
+
|
|
3633
|
+
/**
|
|
3634
|
+
* useToastManager — internal hook that owns all toast state and timers.
|
|
3635
|
+
* Used exclusively by ToastProvider.
|
|
3636
|
+
*/
|
|
3637
|
+
export declare function useToastManager(defaultPosition: ToastPosition, defaultDuration: number): {
|
|
3638
|
+
items: ToastItem[];
|
|
3639
|
+
toast: (options: ToastOptions) => string;
|
|
3640
|
+
dismiss: (id: string) => void;
|
|
3641
|
+
dismissAll: () => void;
|
|
3642
|
+
};
|
|
3643
|
+
|
|
2209
3644
|
/** Callback type for FormItem's `onValidate` prop. */
|
|
2210
3645
|
declare type ValidateCallback = (value: unknown) => ValidationResult;
|
|
2211
3646
|
export { ValidateCallback }
|