@railtownai/railtracks-visualizer 0.0.19 → 0.0.21
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/README.md +0 -9
- package/dist/cjs/index.js +410 -303
- package/dist/esm/index.js +410 -303
- package/dist/types/components/AgenticFlowVisualizer.d.ts +1 -0
- package/dist/types/components/Node.d.ts +3 -4
- package/dist/types/components/Visualizer.d.ts +1 -1
- package/dist/types/components/nodes/AgentNode.d.ts +22 -0
- package/dist/types/components/nodes/CoordinatorNode.d.ts +22 -0
- package/dist/types/components/nodes/ExpandableTextarea.d.ts +9 -0
- package/dist/types/components/nodes/NodeDetailsPopover.d.ts +23 -0
- package/dist/types/components/nodes/ToolNode.d.ts +22 -0
- package/dist/types/components/nodes/index.d.ts +5 -0
- package/dist/types/components/ui/badge.d.ts +7 -4
- package/dist/types/components/ui/tooltip.d.ts +9 -0
- package/dist/types/hooks/index.d.ts +0 -1
- package/dist/types/index.d.ts +2 -0
- package/dist/types/lib/SafeThemeProvider.d.ts +19 -0
- package/dist/types/lib/ThemeProvider.d.ts +1 -0
- package/dist/types/lib/index.d.ts +2 -0
- package/dist/types/lib/safeStyled.d.ts +41 -0
- package/dist/types/lib/utils.d.ts +32 -2
- package/package.json +3 -2
- package/dist/types/hooks/useTheme.d.ts +0 -7
package/README.md
CHANGED
|
@@ -50,15 +50,6 @@ A React-based visualizer for RailTracks agentic flows
|
|
|
50
50
|
- **Dark Mode Support**: Full dark mode compatibility with automatic theme detection
|
|
51
51
|
- **Icon Integration**: Support for OpenAI, Anthropic, and Google AI provider icons
|
|
52
52
|
|
|
53
|
-
## 🎨 Theming
|
|
54
|
-
|
|
55
|
-
The component includes built-in theme support with graceful fallbacks:
|
|
56
|
-
|
|
57
|
-
- **Default Theme**: Uses a light theme by default
|
|
58
|
-
- **No Provider Required**: Works without wrapping in a ThemeProvider
|
|
59
|
-
- **Graceful Fallbacks**: If theme context is unavailable, falls back to default light theme
|
|
60
|
-
- **Custom Themes**: Can be wrapped in ThemeProvider for custom theming
|
|
61
|
-
|
|
62
53
|
### Basic Usage (No ThemeProvider Required)
|
|
63
54
|
|
|
64
55
|
```tsx
|