@tomaszjarosz/react-visualizers 0.3.0 → 0.4.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/index.d.ts CHANGED
@@ -29,6 +29,21 @@ declare interface ArrayListVisualizerProps {
29
29
  className?: string;
30
30
  }
31
31
 
32
+ export declare const AStarInterviewVisualizer: default_2.NamedExoticComponent<AStarInterviewVisualizerProps>;
33
+
34
+ declare interface AStarInterviewVisualizerProps {
35
+ showControls?: boolean;
36
+ className?: string;
37
+ }
38
+
39
+ export declare const AStarVisualizer: default_2.NamedExoticComponent<AStarVisualizerProps>;
40
+
41
+ declare interface AStarVisualizerProps {
42
+ showControls?: boolean;
43
+ showCode?: boolean;
44
+ className?: string;
45
+ }
46
+
32
47
  export declare const BinarySearchVisualizer: default_2.NamedExoticComponent<BinarySearchVisualizerProps>;
33
48
 
34
49
  declare interface BinarySearchVisualizerProps {
@@ -304,6 +319,13 @@ declare interface LinkedHashMapVisualizerProps {
304
319
  className?: string;
305
320
  }
306
321
 
322
+ export declare const LinkedListInterviewVisualizer: default_2.NamedExoticComponent<LinkedListInterviewVisualizerProps>;
323
+
324
+ declare interface LinkedListInterviewVisualizerProps {
325
+ showControls?: boolean;
326
+ className?: string;
327
+ }
328
+
307
329
  export declare const LinkedListVisualizer: default_2.NamedExoticComponent<LinkedListVisualizerProps>;
308
330
 
309
331
  declare interface LinkedListVisualizerProps {
@@ -319,6 +341,14 @@ declare interface ListComparisonVisualizerProps {
319
341
  className?: string;
320
342
  }
321
343
 
344
+ export declare const LRUCacheVisualizer: default_2.NamedExoticComponent<LRUCacheVisualizerProps>;
345
+
346
+ declare interface LRUCacheVisualizerProps {
347
+ showControls?: boolean;
348
+ showCode?: boolean;
349
+ className?: string;
350
+ }
351
+
322
352
  export declare const PriorityQueueVisualizer: default_2.NamedExoticComponent<PriorityQueueVisualizerProps>;
323
353
 
324
354
  declare interface PriorityQueueVisualizerProps {
@@ -342,6 +372,29 @@ declare interface RaftVisualizerProps {
342
372
  className?: string;
343
373
  }
344
374
 
375
+ export declare const SegmentTreeVisualizer: default_2.NamedExoticComponent<SegmentTreeVisualizerProps>;
376
+
377
+ declare interface SegmentTreeVisualizerProps {
378
+ showControls?: boolean;
379
+ showCode?: boolean;
380
+ className?: string;
381
+ }
382
+
383
+ export declare const SkipListInterviewVisualizer: default_2.NamedExoticComponent<SkipListInterviewVisualizerProps>;
384
+
385
+ declare interface SkipListInterviewVisualizerProps {
386
+ showControls?: boolean;
387
+ className?: string;
388
+ }
389
+
390
+ export declare const SkipListVisualizer: default_2.NamedExoticComponent<SkipListVisualizerProps>;
391
+
392
+ declare interface SkipListVisualizerProps {
393
+ showControls?: boolean;
394
+ showCode?: boolean;
395
+ className?: string;
396
+ }
397
+
345
398
  /**
346
399
  * Shared constants for sorting algorithm visualizers.
347
400
  * Centralizes algorithm metadata to avoid duplication.
@@ -410,6 +463,14 @@ export declare interface StepHistoryProps {
410
463
  onToggleCollapse?: () => void;
411
464
  }
412
465
 
466
+ export declare const TopologicalSortVisualizer: default_2.NamedExoticComponent<TopologicalSortVisualizerProps>;
467
+
468
+ declare interface TopologicalSortVisualizerProps {
469
+ showControls?: boolean;
470
+ showCode?: boolean;
471
+ className?: string;
472
+ }
473
+
413
474
  declare type TraversalAlgorithm = 'dfs' | 'bfs';
414
475
 
415
476
  export declare const TreeSetInterviewVisualizer: default_2.NamedExoticComponent<TreeSetInterviewVisualizerProps>;
@@ -427,6 +488,13 @@ declare interface TreeSetVisualizerProps {
427
488
  className?: string;
428
489
  }
429
490
 
491
+ export declare const TrieInterviewVisualizer: default_2.NamedExoticComponent<TrieInterviewVisualizerProps>;
492
+
493
+ declare interface TrieInterviewVisualizerProps {
494
+ showControls?: boolean;
495
+ className?: string;
496
+ }
497
+
430
498
  export declare const TrieVisualizer: default_2.NamedExoticComponent<TrieVisualizerProps>;
431
499
 
432
500
  declare interface TrieVisualizerProps {
@@ -435,6 +503,13 @@ declare interface TrieVisualizerProps {
435
503
  className?: string;
436
504
  }
437
505
 
506
+ export declare const UnionFindInterviewVisualizer: default_2.NamedExoticComponent<UnionFindInterviewVisualizerProps>;
507
+
508
+ declare interface UnionFindInterviewVisualizerProps {
509
+ showControls?: boolean;
510
+ className?: string;
511
+ }
512
+
438
513
  export declare const UnionFindVisualizer: default_2.NamedExoticComponent<UnionFindVisualizerProps>;
439
514
 
440
515
  declare interface UnionFindVisualizerProps {