@opentrace/opentrace 0.5.0-rc.680 → 0.5.0-rc.685
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 +11 -0
- package/dist/lib/graph.css +1570 -0
- package/package.json +4 -3
package/README.md
CHANGED
|
@@ -37,6 +37,15 @@ function MyGraph() {
|
|
|
37
37
|
}
|
|
38
38
|
```
|
|
39
39
|
|
|
40
|
+
### Custom Styling
|
|
41
|
+
|
|
42
|
+
Load only the component styles and supply your own design tokens:
|
|
43
|
+
|
|
44
|
+
```tsx
|
|
45
|
+
import { GraphToolbar, FilterPanel } from '@opentrace/opentrace';
|
|
46
|
+
import '@opentrace/opentrace/graph.css';
|
|
47
|
+
```
|
|
48
|
+
|
|
40
49
|
## Exports
|
|
41
50
|
|
|
42
51
|
The package provides multiple entry points for tree-shaking:
|
|
@@ -53,6 +62,8 @@ The package provides multiple entry points for tree-shaking:
|
|
|
53
62
|
| `@opentrace/opentrace/app-components` | Full app panels (GraphViewer, NodeDetailsPanel, ChatPanel) |
|
|
54
63
|
| `@opentrace/opentrace/app` | Drop-in `OpenTraceApp` component with all providers |
|
|
55
64
|
| `@opentrace/opentrace/utils` | Shared utility functions |
|
|
65
|
+
| `@opentrace/opentrace/style.css` | Full design system — tokens, themes, resets, and all component styles |
|
|
66
|
+
| `@opentrace/opentrace/graph.css` | Graph component styles only — token-driven, no global selectors |
|
|
56
67
|
|
|
57
68
|
## WASM Setup
|
|
58
69
|
|