Commit 4a7cccb
authored
docs: Integrate renderContext documentation and toggling (#549)
* Setup shared state to track selected `renderContext` to use for all examples. Add `meta.supportedContexts` to page load() to display options and document per component / example
* Add `supportedContexts` for all primatives and use `Layer` for examples with shared state
* Add `supportedContexts` for all common components (Axis, Grid, etc) and use `Layer` for examples with shared state
* Add `supportedContexts` for all simplified charts (AreaChart, BarChart, etc) and use `Layer` for examples with shared state
* breaking(Spline): Rename `splineRef` to `pathRef`
* fix(Calendar|MonthPath): Support canvas by using `Spline` instead of `path`
* Add `supportedContexts` for all data marks (Area, Bars, etc) and use `Layer` for examples with shared state
* Add `supportedContexts` for all annotations and use `Layer` for examples with shared state
* Add `supportedContexts` for all interactions and use `Layer` for examples with shared state
* Add `supportedContexts` for all layout components and use `Layer` for examples with shared state
* Add `supportedContexts` for all clip path and other components and use `Layer` for examples with shared state
* Fix types. Add changeset
* Add `supportedContexts` for force examples and a few others
* fix(GeoPath): Do not register with hit canavs unless pointer events (onclick, onpointermove, etc) or tooltipContext are defined
* Add `supportedContexts` for GeoPath example
* Add `supportedContexts` for GeoPoint example
* Fix Layer onpointermove type
* Add `supportedContexts` for more geo examples
* Add `supportedContexts` for zoomable map example
* Add `supportedContexts` for zoomable tile map example
* Add `supportedContexts` for timezomes example
* breaking(Blur): Remove children snippet props (not needed and easier to support canvas in the future)
* Add `supportedContexts` for remaining geo examples
* Cleanup
* Add `supportedContexts` for remaining examples
* fix(Layer): Pass `onpointermove` via `restProps`
* Update remaining usage of Svg/Canvas to Layer1 parent 07d9b22 commit 4a7cccb
File tree
276 files changed
+1600
-2141
lines changed- .changeset
- packages/layerchart/src
- lib
- components
- layout
- utils
- routes
- docs
- components
- AnnotationLine
- AnnotationPoint
- AnnotationRange
- ArcChart
- Arc
- AreaChart
- Area
- Axis
- BarChart
- Bars
- Bar
- Blur
- Bounds
- BrushContext
- Calendar
- ChartClipPath
- Chart
- CircleClipPath
- Circle
- ClipPath
- ColorRamp
- Connector
- Ellipse
- ForceSimulation
- Frame
- GeoCircle
- GeoContext
- GeoEdgeFade
- GeoPath
- GeoPoint
- GeoSpline
- GeoTile
- GeoVisible
- Graticule
- Grid
- Group
- Highlight
- Hull
- Labels
- Legend
- LineChart
- LinearGradient
- Line
- Link
- Marker
- MotionPath
- Pack
- Partition
- Pattern
- PieChart
- Pie
- Points
- Point
- Polygon
- RadialGradient
- RectClipPath
- Rect
- Rule
- Sankey
- ScatterChart
- Spline
- Text
- Threshold
- TileImage
- TooltipContext
- Tooltip
- TransformContext
- Treemap
- Tree
- Voronoi
- examples
- AnimatedGlobe
- Arc
- Area
- Bars
- Beeswarm
- BubbleMap
- Candlestick
- Choropleth
- CollisionDetection
- Columns
- Compound
- CountryMap
- Dagre
- Duration
- EarthquakeGlobe
- EclipsesGlobe
- ForceDisjointGraph
- ForceDrag
- ForceGraph
- ForceGroup
- ForceLattice
- ForceText
- ForceTree
- GeoPath
- GeoPoint
- GeoProjection
- GeoTile
- Histogram
- Line
- LoftedArcs
- Oscilloscope
- Pack
- Partition
- PunchCard
- RadialLine
- Sankey
- Scatter
- SketchyGlobe
- Sparkbar
- Sparkline
- SpikeMap
- StateMap
- SubmarineCablesGlobe
- Sunburst
- Threshold
- Timezones
- TranslucentGlobe
- Treemap
- Tree
- ZoomableMap
- ZoomableTileMap
- performance
- dimension_arrays_processed
- dimension_arrays
- series_arrays
- streaming
- wide_data_processed
- wide_data
- tools
- GeojsonPreview
- ShapefilePreview
- TopojsonPreview
- getting-started
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
276 files changed
+1600
-2141
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
| 22 | + | |
22 | 23 | | |
23 | 24 | | |
24 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
401 | 401 | | |
402 | 402 | | |
403 | 403 | | |
404 | | - | |
| 404 | + | |
405 | 405 | | |
406 | 406 | | |
407 | 407 | | |
408 | 408 | | |
409 | 409 | | |
410 | | - | |
| 410 | + | |
411 | 411 | | |
412 | 412 | | |
413 | 413 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
14 | 14 | | |
15 | 15 | | |
16 | 16 | | |
17 | | - | |
| 17 | + | |
18 | 18 | | |
19 | | - | |
| 19 | + | |
20 | 20 | | |
21 | 21 | | |
22 | 22 | | |
| |||
42 | 42 | | |
43 | 43 | | |
44 | 44 | | |
45 | | - | |
| 45 | + | |
46 | 46 | | |
47 | 47 | | |
| 48 | + | |
| 49 | + | |
48 | 50 | | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
82 | 82 | | |
83 | 83 | | |
84 | 84 | | |
85 | | - | |
| 85 | + | |
86 | 86 | | |
87 | 87 | | |
88 | 88 | | |
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
| 140 | + | |
141 | 141 | | |
142 | 142 | | |
143 | 143 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
157 | 157 | | |
158 | 158 | | |
159 | 159 | | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
164 | 165 | | |
165 | 166 | | |
166 | 167 | | |
| |||
0 commit comments