@asymmetric-effort/specifyjs 0.2.15 → 0.2.18

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.
@@ -2218,5 +2218,1059 @@ interface TradingDashboardProps {
2218
2218
  }
2219
2219
  declare function TradingDashboard(props: TradingDashboardProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2220
2220
 
2221
- export { Accordion, Alert, AnalogClock, Avatar, Badge, BarGraph, Breadcrumb, Card, Carousel, CartesianGraph2D, Checkbox, ColorPicker, ColorWheel, ComplexGraph2D, ContextMenu, DataGrid, DatePicker, DigitalClock, Drawer, Dropdown, EmptyState, FileUpload, FlexContainer, FlexItem, Footer, FormFieldWrapper, GoogleAnalytics, Grid, GridItem, HypercubeGraph, IDE, Image, LineGraph, ListView, Menubar, Modal, MultilineField, NavWrapper, NumberSpinner, Pagination, Panel, PieGraph, PolarGraph2D, Popover, ProgressBar, RadioGroup, ScrollContainer, Select, Sidebar, Skeleton, Slider, Spinner, Splitter, Stepper, Tabs, Tag, TextEditor, TextField, TimePicker, ToastContainer, Toggle, Toolbar, Tooltip, TradingDashboard, TreeNav, TreeNode, UnityDesktop, VideoPlayer, VirtualScroll, VizWrapper, WordProcessor, buildInputStyle, buildNavItemStyle, buildRotationMatrix, computeMandelbrotGrid, computeSlices, createToaster, describeArc, generateEdges, generateHypercube, generatePalette, generateVertices, numRotationAngles, projectTo2D, transformVec, useBarGraphScales, useHover, useHypercube, useLineGraphScales, useToast };
2222
- export type { AccordionContentStyle, AccordionHeaderStyle, AccordionProps, AccordionSection, AlertProps, AnalogClockProps, AvatarProps, BadgeProps, BarDatum, BarGraphProps, BarGraphScales, BreadcrumbItem, BreadcrumbProps, BreadcrumbSize, CardProps, CarouselProps, CartesianGraph2DProps, CheckboxProps, ColorPickerProps, ColorWheelProps, ComplexGraph2DProps, ComplexPointInfo, ComputedSlice, ContextMenuItem, ContextMenuProps, DataGridColumn, DataGridProps, DatePickerProps, DigitalClockProps, DrawerPosition, DrawerProps, DropdownItem, DropdownProps, Edge, EmptyStateProps, FileUploadProps, FlexContainerProps, FlexItemProps, FooterProps, FormFieldWrapperProps, FormFieldWrapperStyle, GoogleAnalyticsProps, GridBreakpoint, GridItemProps, GridProps, HypercubeData, HypercubeGraphProps, IDEProps, ImageProps, InputBaseStyle, LegendItem, LineGraphProps, LineSeries, ListViewProps, MenuDefinition, MenuItem, MenubarProps, ModalProps, ModalSize, MultilineFieldProps, NavItemStyle, NavOrientation, NavWrapperProps, NavWrapperStyle, NumberSpinnerProps, PaginationProps, PanelProps, PieGraphProps, PieSliceDatum, Point, PointEvent, PointShape, PolarGraph2DProps, PolarPointInfo, PopoverPlacement, PopoverProps, Position, ProgressBarProps, RadioGroupProps, RadioOption, ScrollContainerProps, SelectOption, SelectProps, SidebarItem, SidebarProps, SkeletonProps, SliderMark, SliderProps, SpinnerProps, SplitterProps, StackedBarDatum, StepItem, StepperOrientation, StepperProps, StepperVariant, TabDefinition, TabsProps, TagProps, TextEditorProps, TextFieldProps, TimePickerProps, ToastAction, ToastItem, ToastOptions, ToastPosition, ToastType, Toaster, ToasterConfig, ToggleProps, ToolbarButton, ToolbarItem, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPlacement, TooltipProps, TradingDashboardProps, TreeNavProps, TreeNodeData, UnityDesktopProps, UseHypercubeOptions, Vec, Vertex, VideoPlayerProps, VirtualScrollProps, VizWrapperProps, WordProcessorProps };
2221
+ interface ButtonProps {
2222
+ /** Button label / children */
2223
+ children?: unknown;
2224
+ /** Click handler */
2225
+ onClick?: (e: Event) => void;
2226
+ /** Visual variant */
2227
+ variant?: 'primary' | 'secondary' | 'outline' | 'ghost' | 'danger';
2228
+ /** Size */
2229
+ size?: 'sm' | 'md' | 'lg';
2230
+ /** Disabled state */
2231
+ disabled?: boolean;
2232
+ /** Full width */
2233
+ fullWidth?: boolean;
2234
+ /** HTML type attribute */
2235
+ type?: 'button' | 'submit' | 'reset';
2236
+ /** Custom className */
2237
+ className?: string;
2238
+ /** Custom inline style overrides */
2239
+ style?: Record<string, string>;
2240
+ /** Accessible label (when children is an icon) */
2241
+ ariaLabel?: string;
2242
+ /** Whether button is in active/toggled state */
2243
+ active?: boolean;
2244
+ }
2245
+ declare function Button(props: ButtonProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2246
+
2247
+ interface Layer3D {
2248
+ label: string;
2249
+ data: number[][];
2250
+ color?: string;
2251
+ opacity?: number;
2252
+ }
2253
+ interface ThreeDLayersProps {
2254
+ /** Array of layers, each containing a 2D grid of height values */
2255
+ layers: Layer3D[];
2256
+ /** SVG width in pixels (default: 700) */
2257
+ width?: number;
2258
+ /** SVG height in pixels (default: 500) */
2259
+ height?: number;
2260
+ /** Perspective strength (default: 0.5) — 0 = flat, 1 = strong perspective */
2261
+ perspective?: number;
2262
+ /** X-axis rotation in degrees (default: 35) */
2263
+ rotateX?: number;
2264
+ /** Y-axis rotation in degrees (default: 45) */
2265
+ rotateY?: number;
2266
+ /** Z-axis rotation in degrees (default: 0) */
2267
+ rotateZ?: number;
2268
+ /** Show layer labels (default: true) */
2269
+ showLabels?: boolean;
2270
+ /** Show 3D axes (default: true) */
2271
+ showAxes?: boolean;
2272
+ /** Vertical spacing between layers in data units (default: 2) */
2273
+ layerSpacing?: number;
2274
+ /** Color palette for layers (default: built-in palette) */
2275
+ colorScale?: string[];
2276
+ /** Grid wireframe color (default: '#94a3b8') */
2277
+ gridColor?: string;
2278
+ /** Chart title */
2279
+ title?: string;
2280
+ }
2281
+ declare function ThreeDLayers(props: ThreeDLayersProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2282
+
2283
+ interface BigNumberProps {
2284
+ /** The main value to display */
2285
+ value: number | string;
2286
+ /** Descriptive label beneath the value */
2287
+ label?: string;
2288
+ /** Prefix before the value (e.g. '$') */
2289
+ prefix?: string;
2290
+ /** Suffix after the value (e.g. '%') */
2291
+ suffix?: string;
2292
+ /** Trend value — positive = up, negative = down */
2293
+ trend?: number;
2294
+ /** Trend context label (e.g. 'vs last week') */
2295
+ trendLabel?: string;
2296
+ /** Small line chart data points */
2297
+ sparkline?: number[];
2298
+ /** SVG width in pixels (default: 280) */
2299
+ width?: number;
2300
+ /** SVG height in pixels (default: 160) */
2301
+ height?: number;
2302
+ /** Main value text color (default: '#111827') */
2303
+ valueColor?: string;
2304
+ /** Trend arrow color when positive (default: '#22c55e') */
2305
+ trendUpColor?: string;
2306
+ /** Trend arrow color when negative (default: '#ef4444') */
2307
+ trendDownColor?: string;
2308
+ /** Card background color (default: '#ffffff') */
2309
+ backgroundColor?: string;
2310
+ }
2311
+ declare function BigNumber(props: BigNumberProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2312
+
2313
+ /** Qubit state in Bloch sphere coordinates */
2314
+ interface BlochState {
2315
+ /** Polar angle from |0⟩ (north pole) in radians [0, π] */
2316
+ theta: number;
2317
+ /** Azimuthal angle in the XY plane in radians [0, 2π) */
2318
+ phi: number;
2319
+ }
2320
+ /** A point on the sphere trail */
2321
+ interface TrailPoint {
2322
+ x: number;
2323
+ y: number;
2324
+ z: number;
2325
+ }
2326
+ /** Standard quantum gate names */
2327
+ type GateName = 'X' | 'Y' | 'Z' | 'H' | 'S' | 'T' | 'Rx' | 'Ry' | 'Rz';
2328
+ /** Gate to apply with optional rotation angle */
2329
+ interface GateOp {
2330
+ gate: GateName;
2331
+ /** Rotation angle in radians (for Rx, Ry, Rz gates) */
2332
+ angle?: number;
2333
+ }
2334
+ interface BlochSphereProps {
2335
+ /** Current qubit state (default: |0⟩ = {theta: 0, phi: 0}) */
2336
+ state?: BlochState;
2337
+ /** Sequence of gates to animate (applied one per frame) */
2338
+ gates?: GateOp[];
2339
+ /** SVG viewBox width (default: 400) */
2340
+ width?: number;
2341
+ /** SVG viewBox height (default: 400) */
2342
+ height?: number;
2343
+ /** Initial rotation around Y axis in degrees (default: -25) */
2344
+ rotateY?: number;
2345
+ /** Initial rotation around X axis in degrees (default: 15) */
2346
+ rotateX?: number;
2347
+ /** Zoom level (default: 1.0, range 0.5–3.0) */
2348
+ zoom?: number;
2349
+ /** Allow interactive rotation via drag (default: true) */
2350
+ interactive?: boolean;
2351
+ /** Allow zoom via scroll (default: true) */
2352
+ zoomable?: boolean;
2353
+ /** Show state vector arrow (default: true) */
2354
+ showVector?: boolean;
2355
+ /** Show axis labels (default: true) */
2356
+ showLabels?: boolean;
2357
+ /** Show wireframe circles (default: true) */
2358
+ showWireframe?: boolean;
2359
+ /** Show trajectory trail (default: true) */
2360
+ showTrail?: boolean;
2361
+ /** Max trail points (default: 200) */
2362
+ trailMaxPoints?: number;
2363
+ /** Trail color (default: '#ef4444') */
2364
+ trailColor?: string;
2365
+ /** Sphere wireframe color (default: '#cbd5e1') */
2366
+ wireframeColor?: string;
2367
+ /** State vector color (default: '#3b82f6') */
2368
+ vectorColor?: string;
2369
+ /** Background color (default: transparent) */
2370
+ backgroundColor?: string;
2371
+ /** Sphere radius in viewBox units (default: 130) */
2372
+ sphereRadius?: number;
2373
+ /** Title text */
2374
+ title?: string;
2375
+ /** Called when state changes (from gates or interaction) */
2376
+ onStateChange?: (state: BlochState) => void;
2377
+ }
2378
+ declare function blochToCartesian(state: BlochState): {
2379
+ x: number;
2380
+ y: number;
2381
+ z: number;
2382
+ };
2383
+ declare function cartesianToBloch(x: number, y: number, z: number): BlochState;
2384
+ declare function applyGate(state: BlochState, op: GateOp): BlochState;
2385
+ declare function BlochSphere(props: BlochSphereProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2386
+
2387
+ interface BoxPlotDatum {
2388
+ /** Category label */
2389
+ label: string;
2390
+ /** Raw numeric values to compute statistics from */
2391
+ values: number[];
2392
+ /** Optional box fill color */
2393
+ color?: string;
2394
+ }
2395
+ interface BoxPlotProps {
2396
+ /** Array of box plot data */
2397
+ data: BoxPlotDatum[];
2398
+ /** SVG width in pixels (default: 600) */
2399
+ width?: number;
2400
+ /** SVG height in pixels (default: 400) */
2401
+ height?: number;
2402
+ /** Plot orientation (default: 'vertical') */
2403
+ orientation?: 'horizontal' | 'vertical';
2404
+ /** Show outlier circles (default: true) */
2405
+ showOutliers?: boolean;
2406
+ /** Show mean marker (default: false) */
2407
+ showMean?: boolean;
2408
+ /** Whisker line color (default: '#374151') */
2409
+ whiskerColor?: string;
2410
+ /** Box width as fraction of available space (default: 0.6) */
2411
+ boxWidth?: number;
2412
+ /** Show grid lines (default: true) */
2413
+ showGrid?: boolean;
2414
+ /** Chart title */
2415
+ title?: string;
2416
+ /** Padding around chart area in px (default: 60) */
2417
+ padding?: number;
2418
+ }
2419
+ interface BoxStats {
2420
+ q1: number;
2421
+ median: number;
2422
+ q3: number;
2423
+ iqr: number;
2424
+ whiskerLow: number;
2425
+ whiskerHigh: number;
2426
+ mean: number;
2427
+ outliers: number[];
2428
+ min: number;
2429
+ max: number;
2430
+ }
2431
+ /** Compute box-plot statistics from raw values. */
2432
+ declare function computeBoxStats(values: number[]): BoxStats | null;
2433
+ declare function BoxPlot(props: BoxPlotProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2434
+
2435
+ interface BubbleDatum {
2436
+ x: number;
2437
+ y: number;
2438
+ r: number;
2439
+ label?: string;
2440
+ color?: string;
2441
+ }
2442
+ interface BubbleChartProps {
2443
+ /** Array of bubble data points */
2444
+ data: BubbleDatum[];
2445
+ /** SVG width in pixels (default: 600) */
2446
+ width?: number;
2447
+ /** SVG height in pixels (default: 400) */
2448
+ height?: number;
2449
+ /** X-axis label */
2450
+ xLabel?: string;
2451
+ /** Y-axis label */
2452
+ yLabel?: string;
2453
+ /** Show grid lines (default: true) */
2454
+ showGrid?: boolean;
2455
+ /** Show axes (default: true) */
2456
+ showAxes?: boolean;
2457
+ /** Show datum labels (default: false) */
2458
+ showLabels?: boolean;
2459
+ /** Maximum rendered bubble radius in px (default: 40) */
2460
+ maxBubbleRadius?: number;
2461
+ /** Minimum rendered bubble radius in px (default: 4) */
2462
+ minBubbleRadius?: number;
2463
+ /** Default bubble fill color (default: '#3b82f6') */
2464
+ defaultColor?: string;
2465
+ /** Bubble fill opacity (default: 0.7) */
2466
+ opacity?: number;
2467
+ /** Chart title */
2468
+ title?: string;
2469
+ /** Padding around chart area in px (default: 60) */
2470
+ padding?: number;
2471
+ }
2472
+ declare function BubbleChart(props: BubbleChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2473
+
2474
+ interface CalendarDatum {
2475
+ /** Date string in 'YYYY-MM-DD' format */
2476
+ date: string;
2477
+ /** Numeric value for this date */
2478
+ value: number;
2479
+ }
2480
+ interface CalendarHeatMapProps {
2481
+ /** Array of date/value pairs */
2482
+ data: CalendarDatum[];
2483
+ /** SVG width in pixels (default: 800) */
2484
+ width?: number;
2485
+ /** SVG height in pixels (default: 160) */
2486
+ height?: number;
2487
+ /** Color gradient from low to high */
2488
+ colorScale?: string[];
2489
+ /** Size of each day cell in px (default: 12) */
2490
+ cellSize?: number;
2491
+ /** Gap between cells in px (default: 2) */
2492
+ cellGap?: number;
2493
+ /** Show month labels above the calendar (default: true) */
2494
+ showMonthLabels?: boolean;
2495
+ /** Show day-of-week labels on the left (default: true) */
2496
+ showDayLabels?: boolean;
2497
+ /** Color for days with no data (default: '#ebedf0') */
2498
+ emptyColor?: string;
2499
+ /** Chart title */
2500
+ title?: string;
2501
+ }
2502
+ declare function CalendarHeatMap(props: CalendarHeatMapProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2503
+
2504
+ interface ChordDiagramProps {
2505
+ /** Square matrix where matrix[i][j] = flow from group i to group j */
2506
+ matrix: number[][];
2507
+ /** Labels for each group (must match matrix dimensions) */
2508
+ labels: string[];
2509
+ /** SVG width in pixels (default: 600) */
2510
+ width?: number;
2511
+ /** SVG height in pixels (default: 600) */
2512
+ height?: number;
2513
+ /** Color palette for groups */
2514
+ colors?: string[];
2515
+ /** Angular padding between arcs in radians (default: 0.05) */
2516
+ padAngle?: number;
2517
+ /** Show group labels (default: true) */
2518
+ showLabels?: boolean;
2519
+ /** Show flow values on hover/annotation (default: false) */
2520
+ showValues?: boolean;
2521
+ /** Ribbon fill opacity 0..1 (default: 0.5) */
2522
+ ribbonOpacity?: number;
2523
+ /** Inner radius as ratio of outer radius (default: 0.9) */
2524
+ innerRadiusRatio?: number;
2525
+ /** Chart title */
2526
+ title?: string;
2527
+ }
2528
+ declare function ChordDiagram(props: ChordDiagramProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2529
+
2530
+ interface DecompNode {
2531
+ label: string;
2532
+ value?: number | string;
2533
+ color?: string;
2534
+ children?: DecompNode[];
2535
+ }
2536
+ interface DecompositionTreeProps {
2537
+ /** Root node of the tree */
2538
+ data: DecompNode;
2539
+ /** SVG width in pixels (default: 800) */
2540
+ width?: number;
2541
+ /** SVG height in pixels (default: 500) */
2542
+ height?: number;
2543
+ /** Layout orientation (default: 'horizontal') */
2544
+ orientation?: 'horizontal' | 'vertical';
2545
+ /** Width of each node rectangle (default: 120) */
2546
+ nodeWidth?: number;
2547
+ /** Height of each node rectangle (default: 40) */
2548
+ nodeHeight?: number;
2549
+ /** Show value inside nodes (default: true) */
2550
+ showValues?: boolean;
2551
+ /** Show connector lines between nodes (default: true) */
2552
+ showConnectors?: boolean;
2553
+ /** Connector line color (default: '#94a3b8') */
2554
+ connectorColor?: string;
2555
+ /** Color palette for nodes by depth */
2556
+ colors?: string[];
2557
+ /** Chart title */
2558
+ title?: string;
2559
+ /** Padding around chart area in px (default: 40) */
2560
+ padding?: number;
2561
+ }
2562
+ declare function DecompositionTree(props: DecompositionTreeProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2563
+
2564
+ interface ForceNode {
2565
+ id: string;
2566
+ label?: string;
2567
+ color?: string;
2568
+ x?: number;
2569
+ y?: number;
2570
+ fixed?: boolean;
2571
+ /** If true (default), this node cannot overlap other solid nodes.
2572
+ * Collisions produce elastic bounce consistent with Newtonian physics.
2573
+ * Set to false to allow nodes to pass through each other. */
2574
+ solid?: boolean;
2575
+ }
2576
+ interface ForceEdge {
2577
+ source: string;
2578
+ target: string;
2579
+ weight?: number;
2580
+ color?: string;
2581
+ }
2582
+ /** Simulation node state — exported so custom force functions can use it */
2583
+ interface ForceSimNode {
2584
+ id: string;
2585
+ label: string;
2586
+ color: string;
2587
+ x: number;
2588
+ y: number;
2589
+ vx: number;
2590
+ vy: number;
2591
+ fixed: boolean;
2592
+ /** Whether this node collides with other solid nodes (default: true) */
2593
+ solid: boolean;
2594
+ }
2595
+ /** Mouse position in viewBox coordinates (null if mouse is outside the SVG) */
2596
+ interface MousePosition {
2597
+ x: number;
2598
+ y: number;
2599
+ }
2600
+ /**
2601
+ * Custom force function signature.
2602
+ * Receives current node states, edges, viewport dimensions, and mouse position.
2603
+ * Must return the updated node states (new positions/velocities).
2604
+ * Called once per animation frame.
2605
+ */
2606
+ type CustomForceFunction = (nodes: ForceSimNode[], edges: ForceEdge[], width: number, height: number, mouse: MousePosition | null) => ForceSimNode[];
2607
+ /** Trail configuration for a specific node */
2608
+ interface TrailConfig {
2609
+ /** Node ID to trail */
2610
+ nodeId: string;
2611
+ /** Trail color */
2612
+ color?: string;
2613
+ /** Max number of trail points (default: 200) */
2614
+ maxPoints?: number;
2615
+ /** Trail line width (default: 1) */
2616
+ width?: number;
2617
+ /** Trail opacity (default: 0.5) */
2618
+ opacity?: number;
2619
+ }
2620
+ interface ForceGraphProps {
2621
+ /** Array of nodes to render */
2622
+ nodes: ForceNode[];
2623
+ /** Array of edges connecting nodes */
2624
+ edges: ForceEdge[];
2625
+ /** SVG width in pixels (default: 600) */
2626
+ width?: number;
2627
+ /** SVG height in pixels (default: 400) */
2628
+ height?: number;
2629
+ /** Node circle radius in pixels (default: 12) */
2630
+ nodeRadius?: number;
2631
+ /** Node border stroke width in pixels (default: 2, set to 0 for no border) */
2632
+ nodeStrokeWidth?: number;
2633
+ /** Show node labels (default: true) */
2634
+ showLabels?: boolean;
2635
+ /** Show arrowheads on edges (default: false) */
2636
+ showArrows?: boolean;
2637
+ /** Repulsion force between nodes (default: 300) */
2638
+ repulsionForce?: number;
2639
+ /** Attraction force along edges (default: 0.01) */
2640
+ attractionForce?: number;
2641
+ /** Velocity damping factor 0..1 (default: 0.9) */
2642
+ damping?: number;
2643
+ /** Ideal edge length in pixels (default: 100) */
2644
+ edgeLength?: number;
2645
+ /** Default edge stroke color (default: '#94a3b8') */
2646
+ edgeColor?: string;
2647
+ /** Default edge stroke width (default: 1.5) */
2648
+ edgeWidth?: number;
2649
+ /** Chart title */
2650
+ title?: string;
2651
+ /** Whether nodes are solid by default — solid nodes cannot overlap and
2652
+ * bounce off each other via elastic collision. Per-node `solid` prop
2653
+ * overrides this. (default: true) */
2654
+ solidNodes?: boolean;
2655
+ /** Custom force function — replaces the default spring/repulsion physics.
2656
+ * When provided, repulsionForce/attractionForce/damping/edgeLength are ignored.
2657
+ * The function is called once per animation frame and must return updated nodes. */
2658
+ customForce?: CustomForceFunction;
2659
+ /** Trail configurations — render fading path trails for specific nodes */
2660
+ trails?: TrailConfig[];
2661
+ }
2662
+ declare function ForceGraph(props: ForceGraphProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2663
+
2664
+ interface FunnelDatum {
2665
+ label: string;
2666
+ value: number;
2667
+ color?: string;
2668
+ }
2669
+ interface FunnelChartProps {
2670
+ /** Data sections to render (in funnel order, largest first typically) */
2671
+ data: FunnelDatum[];
2672
+ /** SVG width in pixels (default: 600) */
2673
+ width?: number;
2674
+ /** SVG height in pixels (default: 400) */
2675
+ height?: number;
2676
+ /** Funnel orientation (default: 'vertical') */
2677
+ orientation?: 'vertical' | 'horizontal';
2678
+ /** Show labels on sections (default: true) */
2679
+ showLabels?: boolean;
2680
+ /** Show values on sections (default: true) */
2681
+ showValues?: boolean;
2682
+ /** Show percentage of first item (default: true) */
2683
+ showPercentage?: boolean;
2684
+ /** Gap between sections in px (default: 2) */
2685
+ gapSize?: number;
2686
+ /** Color palette (cycles through when per-datum color is absent) */
2687
+ colors?: string[];
2688
+ /** Chart title */
2689
+ title?: string;
2690
+ }
2691
+ declare function FunnelChart(props: FunnelChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2692
+
2693
+ interface GanttTask {
2694
+ id: string;
2695
+ label: string;
2696
+ start: number;
2697
+ duration: number;
2698
+ color?: string;
2699
+ group?: string;
2700
+ }
2701
+ interface GanttChartProps {
2702
+ /** Array of tasks to render */
2703
+ tasks: GanttTask[];
2704
+ /** SVG width in pixels (default: 800) */
2705
+ width?: number;
2706
+ /** SVG height in pixels (default: 400) */
2707
+ height?: number;
2708
+ /** Height of each task bar in px (default: 24) */
2709
+ barHeight?: number;
2710
+ /** Vertical gap between task bars in px (default: 8) */
2711
+ barGap?: number;
2712
+ /** Show vertical grid lines (default: true) */
2713
+ showGrid?: boolean;
2714
+ /** Show task labels on the left (default: true) */
2715
+ showLabels?: boolean;
2716
+ /** Show progress text on bars (default: false) */
2717
+ showProgress?: boolean;
2718
+ /** Label for the time unit displayed on axis (default: 'days') */
2719
+ timeUnit?: string;
2720
+ /** Chart title */
2721
+ title?: string;
2722
+ /** Padding around chart area in px (default: 50) */
2723
+ padding?: number;
2724
+ }
2725
+ declare function GanttChart(props: GanttChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2726
+
2727
+ interface GaugeProps {
2728
+ /** Current gauge value */
2729
+ value: number;
2730
+ /** Minimum value (default: 0) */
2731
+ min?: number;
2732
+ /** Maximum value (default: 100) */
2733
+ max?: number;
2734
+ /** SVG width in pixels (default: 300) */
2735
+ width?: number;
2736
+ /** SVG height in pixels (default: 200) */
2737
+ height?: number;
2738
+ /** Arc start angle in degrees (default: -135) */
2739
+ startAngle?: number;
2740
+ /** Arc end angle in degrees (default: 135) */
2741
+ endAngle?: number;
2742
+ /** Arc stroke width (default: 20) */
2743
+ arcWidth?: number;
2744
+ /** Show the numeric value (default: true) */
2745
+ showValue?: boolean;
2746
+ /** Show min/max labels (default: true) */
2747
+ showMinMax?: boolean;
2748
+ /** Show tick marks (default: true) */
2749
+ showTicks?: boolean;
2750
+ /** Number of tick divisions (default: 10) */
2751
+ tickCount?: number;
2752
+ /** Label text below the value */
2753
+ label?: string;
2754
+ /** Unit text after the value (e.g. 'rpm', '%') */
2755
+ unit?: string;
2756
+ /** Colors for arc segments — evenly distributed (default: ['#22c55e', '#f59e0b', '#ef4444']) */
2757
+ colors?: string[];
2758
+ /** Needle color (default: '#374151') */
2759
+ needleColor?: string;
2760
+ /** Background arc color (default: '#e5e7eb') */
2761
+ backgroundColor?: string;
2762
+ }
2763
+ declare function Gauge(props: GaugeProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2764
+
2765
+ interface GeoRegion {
2766
+ id: string;
2767
+ label: string;
2768
+ path: string;
2769
+ value?: number;
2770
+ color?: string;
2771
+ }
2772
+ interface GeoMarker {
2773
+ lat: number;
2774
+ lon: number;
2775
+ label?: string;
2776
+ color?: string;
2777
+ radius?: number;
2778
+ }
2779
+ interface GeoMapProps {
2780
+ /** SVG path data for each region */
2781
+ regions?: GeoRegion[];
2782
+ /** Point markers */
2783
+ markers?: GeoMarker[];
2784
+ /** SVG width in pixels (default: 800) */
2785
+ width?: number;
2786
+ /** SVG height in pixels (default: 500) */
2787
+ height?: number;
2788
+ /** Map projection type (default: 'equirectangular') */
2789
+ projection?: 'mercator' | 'equirectangular';
2790
+ /** Gradient colors for choropleth coloring (default: blue scale) */
2791
+ colorScale?: string[];
2792
+ /** Minimum value for color scale domain */
2793
+ minValue?: number;
2794
+ /** Maximum value for color scale domain */
2795
+ maxValue?: number;
2796
+ /** Show region labels (default: false) */
2797
+ showLabels?: boolean;
2798
+ /** SVG background color (default: '#f0f4f8') */
2799
+ backgroundColor?: string;
2800
+ /** Region border color (default: '#94a3b8') */
2801
+ borderColor?: string;
2802
+ /** Region border width (default: 1) */
2803
+ borderWidth?: number;
2804
+ /** Default fill color for regions without a value (default: '#cbd5e1') */
2805
+ defaultRegionColor?: string;
2806
+ /** Chart title */
2807
+ title?: string;
2808
+ /** Padding around chart area in px (default: 20) */
2809
+ padding?: number;
2810
+ }
2811
+ /**
2812
+ * Generate simplified US map outline with ~10 state-like regions.
2813
+ * Coordinates are pre-computed SVG path data (not geographic coordinates).
2814
+ * Designed for a viewBox of roughly 800x500.
2815
+ */
2816
+ declare function generateUSMapOutline(): GeoRegion[];
2817
+ declare function GeoMap(props: GeoMapProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2818
+
2819
+ interface HeatMapProps {
2820
+ /** 2D grid of values — data[row][col] */
2821
+ data: number[][];
2822
+ /** Labels for rows (Y axis) */
2823
+ rowLabels?: string[];
2824
+ /** Labels for columns (X axis) */
2825
+ columnLabels?: string[];
2826
+ /** SVG width in pixels (default: 600) */
2827
+ width?: number;
2828
+ /** SVG height in pixels (default: 400) */
2829
+ height?: number;
2830
+ /** Color gradient from low to high (default: blue to red) */
2831
+ colorScale?: string[];
2832
+ /** Minimum value for color mapping (auto-detected if omitted) */
2833
+ minValue?: number;
2834
+ /** Maximum value for color mapping (auto-detected if omitted) */
2835
+ maxValue?: number;
2836
+ /** Show numeric value in each cell (default: false) */
2837
+ showValues?: boolean;
2838
+ /** Cell border color (default: '#fff') */
2839
+ cellBorderColor?: string;
2840
+ /** Cell border width (default: 1) */
2841
+ cellBorderWidth?: number;
2842
+ /** Chart title */
2843
+ title?: string;
2844
+ /** Padding around the chart in px (default: 60) */
2845
+ padding?: number;
2846
+ }
2847
+ declare function HeatMap(props: HeatMapProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2848
+
2849
+ interface HistogramProps {
2850
+ /** Raw data values to bin */
2851
+ data: number[];
2852
+ /** Number of bins (default: 10) */
2853
+ bins?: number;
2854
+ /** SVG width in pixels (default: 600) */
2855
+ width?: number;
2856
+ /** SVG height in pixels (default: 400) */
2857
+ height?: number;
2858
+ /** Bar fill color (default: '#3b82f6') */
2859
+ barColor?: string;
2860
+ /** Gap between bars in px (default: 2) */
2861
+ barGap?: number;
2862
+ /** Show grid lines (default: true) */
2863
+ showGrid?: boolean;
2864
+ /** Show count values above bars (default: true) */
2865
+ showValues?: boolean;
2866
+ /** Chart title */
2867
+ title?: string;
2868
+ /** X-axis label */
2869
+ xLabel?: string;
2870
+ /** Y-axis label */
2871
+ yLabel?: string;
2872
+ /** Padding around chart area in px (default: 60) */
2873
+ padding?: number;
2874
+ }
2875
+ declare function Histogram(props: HistogramProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2876
+
2877
+ interface LollipopDatum {
2878
+ label: string;
2879
+ value: number;
2880
+ color?: string;
2881
+ }
2882
+ interface LollipopChartProps {
2883
+ /** Data points to render */
2884
+ data: LollipopDatum[];
2885
+ /** SVG width in pixels (default: 600) */
2886
+ width?: number;
2887
+ /** SVG height in pixels (default: 400) */
2888
+ height?: number;
2889
+ /** Chart orientation (default: 'vertical') */
2890
+ orientation?: 'horizontal' | 'vertical';
2891
+ /** Stem line color (default: '#94a3b8') */
2892
+ stemColor?: string;
2893
+ /** Stem line width in px (default: 2) */
2894
+ stemWidth?: number;
2895
+ /** Dot radius in px (default: 6) */
2896
+ dotRadius?: number;
2897
+ /** Dot fill color (default: '#3b82f6') */
2898
+ dotColor?: string;
2899
+ /** Show grid lines (default: true) */
2900
+ showGrid?: boolean;
2901
+ /** Show value labels (default: true) */
2902
+ showValues?: boolean;
2903
+ /** Chart title */
2904
+ title?: string;
2905
+ /** Padding around chart area in px (default: 60) */
2906
+ padding?: number;
2907
+ }
2908
+ declare function LollipopChart(props: LollipopChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2909
+
2910
+ interface MatrixProps {
2911
+ /** 2D grid of values — data[row][col] */
2912
+ data: number[][];
2913
+ /** Shared row/column labels for square matrices */
2914
+ labels?: string[];
2915
+ /** Explicit row labels (overrides `labels`) */
2916
+ rowLabels?: string[];
2917
+ /** Explicit column labels (overrides `labels`) */
2918
+ columnLabels?: string[];
2919
+ /** SVG width in pixels (default: 500) */
2920
+ width?: number;
2921
+ /** SVG height in pixels (default: 500) */
2922
+ height?: number;
2923
+ /** Color gradient from low to high (default: white to blue) */
2924
+ colorScale?: string[];
2925
+ /** Show numeric value in each cell (default: true) */
2926
+ showValues?: boolean;
2927
+ /** Highlight diagonal cells (default: true) */
2928
+ showDiagonal?: boolean;
2929
+ /** Cell border color (default: '#e5e7eb') */
2930
+ cellBorderColor?: string;
2931
+ /** Chart title */
2932
+ title?: string;
2933
+ /** Padding around the chart in px (default: 70) */
2934
+ padding?: number;
2935
+ /** If true, mirror values across diagonal for correlation matrices (default: false) */
2936
+ symmetric?: boolean;
2937
+ }
2938
+ declare function Matrix(props: MatrixProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2939
+
2940
+ interface PartitionNode {
2941
+ label: string;
2942
+ value?: number;
2943
+ color?: string;
2944
+ children?: PartitionNode[];
2945
+ }
2946
+ interface PartitionProps {
2947
+ /** Root node of the partition data */
2948
+ data: PartitionNode;
2949
+ /** SVG width in pixels (default: 600) */
2950
+ width?: number;
2951
+ /** SVG height in pixels (default: 400) */
2952
+ height?: number;
2953
+ /** Layout orientation (default: 'horizontal') */
2954
+ orientation?: 'horizontal' | 'vertical';
2955
+ /** Show labels inside cells (default: true) */
2956
+ showLabels?: boolean;
2957
+ /** Show values inside cells (default: true) */
2958
+ showValues?: boolean;
2959
+ /** Color palette for cells without explicit color */
2960
+ colors?: string[];
2961
+ /** Border color around cells (default: '#ffffff') */
2962
+ borderColor?: string;
2963
+ /** Border width in px (default: 1) */
2964
+ borderWidth?: number;
2965
+ /** Chart title */
2966
+ title?: string;
2967
+ /** Padding around chart area in px (default: 10) */
2968
+ padding?: number;
2969
+ }
2970
+ declare function Partition(props: PartitionProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2971
+
2972
+ interface PivotTableProps {
2973
+ /** Array of data records */
2974
+ data: Record<string, unknown>[];
2975
+ /** Row dimension field names */
2976
+ rows: string[];
2977
+ /** Column dimension field names */
2978
+ columns: string[];
2979
+ /** Value field names to aggregate */
2980
+ values: string[];
2981
+ /** Aggregation function (default: 'sum') */
2982
+ aggregation?: 'sum' | 'count' | 'avg' | 'min' | 'max';
2983
+ /** SVG width in pixels (default: 600) */
2984
+ width?: number;
2985
+ /** SVG height in pixels (default: 400) */
2986
+ height?: number;
2987
+ /** Show totals row and column (default: true) */
2988
+ showTotals?: boolean;
2989
+ /** Chart title */
2990
+ title?: string;
2991
+ /** Header background color (default: '#3b82f6') */
2992
+ headerColor?: string;
2993
+ /** Cell padding in px (default: 8) */
2994
+ cellPadding?: number;
2995
+ }
2996
+ declare function PivotTable(props: PivotTableProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
2997
+
2998
+ interface RadarAxis {
2999
+ label: string;
3000
+ max?: number;
3001
+ }
3002
+ interface RadarSeries {
3003
+ label: string;
3004
+ values: number[];
3005
+ color: string;
3006
+ fillOpacity?: number;
3007
+ }
3008
+ interface RadarChartProps {
3009
+ /** Axes definition — one per spoke of the radar */
3010
+ axes: RadarAxis[];
3011
+ /** Data series to overlay on the chart */
3012
+ series: RadarSeries[];
3013
+ /** SVG width in pixels (default: 500) */
3014
+ width?: number;
3015
+ /** SVG height in pixels (default: 500) */
3016
+ height?: number;
3017
+ /** Number of concentric grid rings (default: 5) */
3018
+ levels?: number;
3019
+ /** Show axis labels around the perimeter (default: true) */
3020
+ showLabels?: boolean;
3021
+ /** Show value annotations at data points (default: false) */
3022
+ showValues?: boolean;
3023
+ /** Show legend (default: true) */
3024
+ showLegend?: boolean;
3025
+ /** Show dots at data points (default: true) */
3026
+ showDots?: boolean;
3027
+ /** Grid line color (default: '#d1d5db') */
3028
+ gridColor?: string;
3029
+ /** Chart title */
3030
+ title?: string;
3031
+ }
3032
+ declare function RadarChart(props: RadarChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3033
+
3034
+ interface SankeyNode {
3035
+ id: string;
3036
+ label: string;
3037
+ color?: string;
3038
+ }
3039
+ interface SankeyLink {
3040
+ source: string;
3041
+ target: string;
3042
+ value: number;
3043
+ color?: string;
3044
+ }
3045
+ interface SankeyDiagramProps {
3046
+ /** Array of nodes */
3047
+ nodes: SankeyNode[];
3048
+ /** Array of links (flows) between nodes */
3049
+ links: SankeyLink[];
3050
+ /** SVG width in pixels (default: 800) */
3051
+ width?: number;
3052
+ /** SVG height in pixels (default: 500) */
3053
+ height?: number;
3054
+ /** Width of each node rectangle in pixels (default: 20) */
3055
+ nodeWidth?: number;
3056
+ /** Vertical padding between nodes in pixels (default: 10) */
3057
+ nodePadding?: number;
3058
+ /** Show node labels (default: true) */
3059
+ showLabels?: boolean;
3060
+ /** Show flow values on links (default: false) */
3061
+ showValues?: boolean;
3062
+ /** Link fill opacity 0..1 (default: 0.4) */
3063
+ linkOpacity?: number;
3064
+ /** Color palette for auto-coloring nodes */
3065
+ colors?: string[];
3066
+ /** Chart title */
3067
+ title?: string;
3068
+ /** Padding around chart area in px (default: 40) */
3069
+ padding?: number;
3070
+ }
3071
+ declare function SankeyDiagram(props: SankeyDiagramProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3072
+
3073
+ interface SunburstNode {
3074
+ label: string;
3075
+ value?: number;
3076
+ color?: string;
3077
+ children?: SunburstNode[];
3078
+ }
3079
+ interface SunburstProps {
3080
+ /** Root node of the sunburst data */
3081
+ data: SunburstNode;
3082
+ /** SVG width in pixels (default: 500) */
3083
+ width?: number;
3084
+ /** SVG height in pixels (default: 500) */
3085
+ height?: number;
3086
+ /** Inner radius of the first ring (default: 40) */
3087
+ innerRadius?: number;
3088
+ /** Show labels on segments (default: true) */
3089
+ showLabels?: boolean;
3090
+ /** Color palette for segments without explicit color */
3091
+ colors?: string[];
3092
+ /** Stroke color between segments (default: '#ffffff') */
3093
+ strokeColor?: string;
3094
+ /** Stroke width between segments (default: 1) */
3095
+ strokeWidth?: number;
3096
+ /** Chart title */
3097
+ title?: string;
3098
+ }
3099
+ declare function Sunburst(props: SunburstProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3100
+
3101
+ interface TreeMapNode {
3102
+ label: string;
3103
+ value: number;
3104
+ color?: string;
3105
+ children?: TreeMapNode[];
3106
+ }
3107
+ interface TreeMapProps {
3108
+ /** Root node of the treemap data */
3109
+ data: TreeMapNode;
3110
+ /** SVG width in pixels (default: 600) */
3111
+ width?: number;
3112
+ /** SVG height in pixels (default: 400) */
3113
+ height?: number;
3114
+ /** Show labels inside cells (default: true) */
3115
+ showLabels?: boolean;
3116
+ /** Show values inside cells (default: true) */
3117
+ showValues?: boolean;
3118
+ /** Color palette for cells without explicit color */
3119
+ colors?: string[];
3120
+ /** Border color around cells (default: '#ffffff') */
3121
+ borderColor?: string;
3122
+ /** Border width in px (default: 2) */
3123
+ borderWidth?: number;
3124
+ /** Inner padding for nested cells in px (default: 2) */
3125
+ padding?: number;
3126
+ /** Chart title */
3127
+ title?: string;
3128
+ }
3129
+ declare function TreeMap(props: TreeMapProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3130
+
3131
+ interface VectorDatum {
3132
+ x: number;
3133
+ y: number;
3134
+ dx: number;
3135
+ dy: number;
3136
+ magnitude?: number;
3137
+ }
3138
+ interface VectorFieldProps {
3139
+ /** Pre-computed vector data */
3140
+ data?: VectorDatum[];
3141
+ /** Function that computes vector at each grid point */
3142
+ vectorFunction?: (x: number, y: number) => {
3143
+ dx: number;
3144
+ dy: number;
3145
+ };
3146
+ /** SVG width in pixels (default: 600) */
3147
+ width?: number;
3148
+ /** SVG height in pixels (default: 600) */
3149
+ height?: number;
3150
+ /** Number of arrows per axis when using vectorFunction (default: 15) */
3151
+ gridSize?: number;
3152
+ /** X-axis domain (default: [-5, 5]) */
3153
+ xRange?: [number, number];
3154
+ /** Y-axis domain (default: [-5, 5]) */
3155
+ yRange?: [number, number];
3156
+ /** Scale factor for arrow length (default: 1) */
3157
+ arrowScale?: number;
3158
+ /** Default arrow color (default: '#3b82f6') */
3159
+ arrowColor?: string;
3160
+ /** Show background grid (default: true) */
3161
+ showGrid?: boolean;
3162
+ /** Show axes through origin (default: true) */
3163
+ showAxes?: boolean;
3164
+ /** Color arrows by magnitude (default: false) */
3165
+ colorByMagnitude?: boolean;
3166
+ /** Color scale for magnitude coloring (default: blue-red) */
3167
+ colorScale?: string[];
3168
+ /** Chart title */
3169
+ title?: string;
3170
+ /** Padding around chart area in px (default: 50) */
3171
+ padding?: number;
3172
+ /** Font size for axis tick labels in px (default: 10) */
3173
+ tickFontSize?: number;
3174
+ /** Arrow stroke width (default: 1.5) */
3175
+ arrowWidth?: number;
3176
+ }
3177
+ declare function VectorField(props: VectorFieldProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3178
+
3179
+ interface WaterfallDatum {
3180
+ label: string;
3181
+ value: number;
3182
+ type?: 'increase' | 'decrease' | 'total';
3183
+ }
3184
+ interface WaterfallChartProps {
3185
+ /** Data points to render */
3186
+ data: WaterfallDatum[];
3187
+ /** SVG width in pixels (default: 600) */
3188
+ width?: number;
3189
+ /** SVG height in pixels (default: 400) */
3190
+ height?: number;
3191
+ /** Color for increase bars (default: '#10b981') */
3192
+ increaseColor?: string;
3193
+ /** Color for decrease bars (default: '#ef4444') */
3194
+ decreaseColor?: string;
3195
+ /** Color for total bars (default: '#3b82f6') */
3196
+ totalColor?: string;
3197
+ /** Color for connector lines (default: '#94a3b8') */
3198
+ connectorColor?: string;
3199
+ /** Show value labels on bars (default: true) */
3200
+ showValues?: boolean;
3201
+ /** Show grid lines (default: true) */
3202
+ showGrid?: boolean;
3203
+ /** Show connector lines between bars (default: true) */
3204
+ showConnectors?: boolean;
3205
+ /** Chart title */
3206
+ title?: string;
3207
+ /** Padding around chart area in px (default: 60) */
3208
+ padding?: number;
3209
+ }
3210
+ declare function WaterfallChart(props: WaterfallChartProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3211
+
3212
+ interface WordDatum {
3213
+ text: string;
3214
+ weight: number;
3215
+ color?: string;
3216
+ }
3217
+ interface WordCloudProps {
3218
+ /** Array of words with weights */
3219
+ words: WordDatum[];
3220
+ /** SVG width in pixels (default: 600) */
3221
+ width?: number;
3222
+ /** SVG height in pixels (default: 400) */
3223
+ height?: number;
3224
+ /** Minimum font size in px (default: 10) */
3225
+ minFontSize?: number;
3226
+ /** Maximum font size in px (default: 64) */
3227
+ maxFontSize?: number;
3228
+ /** Font family (default: 'sans-serif') */
3229
+ fontFamily?: string;
3230
+ /** Color palette for words without explicit color */
3231
+ colors?: string[];
3232
+ /** Allowed rotation angles in degrees (default: [0, -45, 45, 90]) */
3233
+ rotations?: number[];
3234
+ /** Padding between words in px (default: 4) */
3235
+ padding?: number;
3236
+ /** Spiral type for placement (default: 'archimedean') */
3237
+ spiral?: 'archimedean' | 'rectangular';
3238
+ /** Chart title */
3239
+ title?: string;
3240
+ }
3241
+ declare function WordCloud(props: WordCloudProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3242
+
3243
+ interface DiscreteCartesian2DProps {
3244
+ /** Grid data: rows x cols. Each value maps to a color via colorMap. */
3245
+ data: number[][];
3246
+ /** Map cell values to colors (e.g., {0: '#1e293b', 1: '#3b82f6'}) */
3247
+ colorMap?: Record<number, string>;
3248
+ /** SVG viewBox width (default: 600) */
3249
+ width?: number;
3250
+ /** SVG viewBox height (default: 600) */
3251
+ height?: number;
3252
+ /** Gap between cells in pixels (default: 1) */
3253
+ cellGap?: number;
3254
+ /** Cell border radius (default: 0) */
3255
+ cellRadius?: number;
3256
+ /** Show grid lines (default: false) */
3257
+ showGrid?: boolean;
3258
+ /** Grid line color (default: '#334155') */
3259
+ gridColor?: string;
3260
+ /** Show row/column indices (default: false) */
3261
+ showIndices?: boolean;
3262
+ /** Background color (default: '#0f172a') */
3263
+ backgroundColor?: string;
3264
+ /** Padding around grid (default: 10) */
3265
+ padding?: number;
3266
+ /** Called when a cell is clicked: (row, col, value) */
3267
+ onCellClick?: (row: number, col: number, value: number) => void;
3268
+ /** Called when mouse enters a cell */
3269
+ onCellHover?: (row: number, col: number, value: number) => void;
3270
+ /** Title */
3271
+ title?: string;
3272
+ }
3273
+ declare function DiscreteCartesian2D(props: DiscreteCartesian2DProps): specifyjs_shared_types.SpecElement<specifyjs_shared_types.Props>;
3274
+
3275
+ export { Accordion, Alert, AnalogClock, Avatar, Badge, BarGraph, BigNumber, BlochSphere, BoxPlot, Breadcrumb, BubbleChart, Button, CalendarHeatMap, Card, Carousel, CartesianGraph2D, Checkbox, ChordDiagram, ColorPicker, ColorWheel, ComplexGraph2D, ContextMenu, DataGrid, DatePicker, DecompositionTree, DigitalClock, DiscreteCartesian2D, Drawer, Dropdown, EmptyState, FileUpload, FlexContainer, FlexItem, Footer, ForceGraph, FormFieldWrapper, FunnelChart, GanttChart, Gauge, GeoMap, GoogleAnalytics, Grid, GridItem, HeatMap, Histogram, HypercubeGraph, IDE, Image, LineGraph, ListView, LollipopChart, Matrix, Menubar, Modal, MultilineField, NavWrapper, NumberSpinner, Pagination, Panel, Partition, PieGraph, PivotTable, PolarGraph2D, Popover, ProgressBar, RadarChart, RadioGroup, SankeyDiagram, ScrollContainer, Select, Sidebar, Skeleton, Slider, Spinner, Splitter, Stepper, Sunburst, Tabs, Tag, TextEditor, TextField, ThreeDLayers, TimePicker, ToastContainer, Toggle, Toolbar, Tooltip, TradingDashboard, TreeMap, TreeNav, TreeNode, UnityDesktop, VectorField, VideoPlayer, VirtualScroll, VizWrapper, WaterfallChart, WordCloud, WordProcessor, applyGate, blochToCartesian, buildInputStyle, buildNavItemStyle, buildRotationMatrix, cartesianToBloch, computeBoxStats, computeMandelbrotGrid, computeSlices, createToaster, describeArc, generateEdges, generateHypercube, generatePalette, generateUSMapOutline, generateVertices, numRotationAngles, projectTo2D, transformVec, useBarGraphScales, useHover, useHypercube, useLineGraphScales, useToast };
3276
+ export type { AccordionContentStyle, AccordionHeaderStyle, AccordionProps, AccordionSection, AlertProps, AnalogClockProps, AvatarProps, BadgeProps, BarDatum, BarGraphProps, BarGraphScales, BigNumberProps, BlochSphereProps, BlochState, BoxPlotDatum, BoxPlotProps, BoxStats, BreadcrumbItem, BreadcrumbProps, BreadcrumbSize, BubbleChartProps, BubbleDatum, ButtonProps, CalendarDatum, CalendarHeatMapProps, CardProps, CarouselProps, CartesianGraph2DProps, CheckboxProps, ChordDiagramProps, ColorPickerProps, ColorWheelProps, ComplexGraph2DProps, ComplexPointInfo, ComputedSlice, ContextMenuItem, ContextMenuProps, CustomForceFunction, DataGridColumn, DataGridProps, DatePickerProps, DecompNode, DecompositionTreeProps, DigitalClockProps, DiscreteCartesian2DProps, DrawerPosition, DrawerProps, DropdownItem, DropdownProps, Edge, EmptyStateProps, FileUploadProps, FlexContainerProps, FlexItemProps, FooterProps, ForceEdge, ForceGraphProps, ForceNode, ForceSimNode, FormFieldWrapperProps, FormFieldWrapperStyle, FunnelChartProps, FunnelDatum, GanttChartProps, GanttTask, GateName, GateOp, GaugeProps, GeoMapProps, GeoMarker, GeoRegion, GoogleAnalyticsProps, GridBreakpoint, GridItemProps, GridProps, HeatMapProps, HistogramProps, HypercubeData, HypercubeGraphProps, IDEProps, ImageProps, InputBaseStyle, Layer3D, LegendItem, LineGraphProps, LineSeries, ListViewProps, LollipopChartProps, LollipopDatum, MatrixProps, MenuDefinition, MenuItem, MenubarProps, ModalProps, ModalSize, MousePosition, MultilineFieldProps, NavItemStyle, NavOrientation, NavWrapperProps, NavWrapperStyle, NumberSpinnerProps, PaginationProps, PanelProps, PartitionNode, PartitionProps, PieGraphProps, PieSliceDatum, PivotTableProps, Point, PointEvent, PointShape, PolarGraph2DProps, PolarPointInfo, PopoverPlacement, PopoverProps, Position, ProgressBarProps, RadarAxis, RadarChartProps, RadarSeries, RadioGroupProps, RadioOption, SankeyDiagramProps, SankeyLink, SankeyNode, ScrollContainerProps, SelectOption, SelectProps, SidebarItem, SidebarProps, SkeletonProps, SliderMark, SliderProps, SpinnerProps, SplitterProps, StackedBarDatum, StepItem, StepperOrientation, StepperProps, StepperVariant, SunburstNode, SunburstProps, TabDefinition, TabsProps, TagProps, TextEditorProps, TextFieldProps, ThreeDLayersProps, TimePickerProps, ToastAction, ToastItem, ToastOptions, ToastPosition, ToastType, Toaster, ToasterConfig, ToggleProps, ToolbarButton, ToolbarItem, ToolbarProps, ToolbarSize, ToolbarVariant, TooltipPlacement, TooltipProps, TradingDashboardProps, TrailConfig, TrailPoint, TreeMapNode, TreeMapProps, TreeNavProps, TreeNodeData, UnityDesktopProps, UseHypercubeOptions, Vec, VectorDatum, VectorFieldProps, Vertex, VideoPlayerProps, VirtualScrollProps, VizWrapperProps, WaterfallChartProps, WaterfallDatum, WordCloudProps, WordDatum, WordProcessorProps };