Skip to content

Commit 4dad826

Browse files
committed
update catalog and images
1 parent 194b550 commit 4dad826

65 files changed

Lines changed: 218 additions & 180 deletions

File tree

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

docs/src/examples/catalog/Arc.json

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -576,13 +576,6 @@
576576
"lineNumber": 10,
577577
"line": "<Arc"
578578
},
579-
{
580-
"example": "series-labels",
581-
"component": "ArcChart",
582-
"path": "/docs/components/ArcChart/series-labels",
583-
"lineNumber": 29,
584-
"line": "<Arc {...props}>"
585-
},
586579
{
587580
"example": "basic",
588581
"component": "Chord",
@@ -601,7 +594,7 @@
601594
"example": "gradient",
602595
"component": "Chord",
603596
"path": "/docs/components/Chord/gradient",
604-
"lineNumber": 116,
597+
"lineNumber": 103,
605598
"line": "<Arc"
606599
},
607600
{
@@ -629,9 +622,16 @@
629622
"example": "sunburst",
630623
"component": "Partition",
631624
"path": "/docs/components/Partition/sunburst",
632-
"lineNumber": 80,
625+
"lineNumber": 97,
633626
"line": "<Arc"
634627
},
628+
{
629+
"example": "sunburst",
630+
"component": "Partition",
631+
"path": "/docs/components/Partition/sunburst",
632+
"lineNumber": 123,
633+
"line": "<Arc {startAngle} {endAngle} {innerRadius} {outerRadius} />"
634+
},
635635
{
636636
"example": "default-slot-render-each-arc",
637637
"component": "Pie",
@@ -696,5 +696,5 @@
696696
"line": "<Arc {...props} offset={index === 1 ? 16 : undefined} />"
697697
}
698698
],
699-
"updatedAt": "2026-04-01T13:16:16.352Z"
699+
"updatedAt": "2026-04-08T04:31:39.822Z"
700700
}

docs/src/examples/catalog/ArcChart.json

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -138,16 +138,6 @@
138138
"component": "ArcChart",
139139
"lineNumber": 12,
140140
"line": "<ArcChart"
141-
},
142-
{
143-
"component": "Arc",
144-
"lineNumber": 29,
145-
"line": "<Arc {...props}>"
146-
},
147-
{
148-
"component": "Text",
149-
"lineNumber": 31,
150-
"line": "<Text"
151141
}
152142
]
153143
},
@@ -338,5 +328,5 @@
338328
"line": "<ArcChart"
339329
}
340330
],
341-
"updatedAt": "2026-02-07T20:21:31.242Z"
331+
"updatedAt": "2026-04-08T04:31:39.852Z"
342332
}
Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,42 @@
1+
{
2+
"component": "ArcLabel",
3+
"examples": [],
4+
"usage": [
5+
{
6+
"example": "basic",
7+
"component": "Chord",
8+
"path": "/docs/components/Chord/basic",
9+
"lineNumber": 46,
10+
"line": "<ArcLabel"
11+
},
12+
{
13+
"example": "directed",
14+
"component": "Chord",
15+
"path": "/docs/components/Chord/directed",
16+
"lineNumber": 47,
17+
"line": "<ArcLabel"
18+
},
19+
{
20+
"example": "gradient",
21+
"component": "Chord",
22+
"path": "/docs/components/Chord/gradient",
23+
"lineNumber": 116,
24+
"line": "<ArcLabel"
25+
},
26+
{
27+
"example": "hover",
28+
"component": "Chord",
29+
"path": "/docs/components/Chord/hover",
30+
"lineNumber": 127,
31+
"line": "<ArcLabel"
32+
},
33+
{
34+
"example": "sunburst",
35+
"component": "Partition",
36+
"path": "/docs/components/Partition/sunburst",
37+
"lineNumber": 125,
38+
"line": "<ArcLabel"
39+
}
40+
],
41+
"updatedAt": "2026-04-08T04:31:39.903Z"
42+
}

docs/src/examples/catalog/BarChart.json

Lines changed: 20 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,6 +710,18 @@
710710
}
711711
]
712712
},
713+
{
714+
"name": "labels-placement",
715+
"title": "labels placement",
716+
"path": "/docs/components/BarChart/labels-placement",
717+
"components": [
718+
{
719+
"component": "BarChart",
720+
"lineNumber": 35,
721+
"line": "<BarChart {data} x=\"date\" y=\"value\" labels={{ placement }} yPadding={[20, 20]} height={300} />"
722+
}
723+
]
724+
},
713725
{
714726
"name": "language-race",
715727
"title": "language race",
@@ -1797,6 +1809,13 @@
17971809
"lineNumber": 15,
17981810
"line": "<BarChart {data} x=\"date\" y=\"value\" labels={{ placement: 'inside' }} height={300} />"
17991811
},
1812+
{
1813+
"example": "labels-placement",
1814+
"component": "BarChart",
1815+
"path": "/docs/components/BarChart/labels-placement",
1816+
"lineNumber": 35,
1817+
"line": "<BarChart {data} x=\"date\" y=\"value\" labels={{ placement }} yPadding={[20, 20]} height={300} />"
1818+
},
18001819
{
18011820
"example": "legend-custom-labels",
18021821
"component": "BarChart",
@@ -2232,5 +2251,5 @@
22322251
"line": "<BarChart"
22332252
}
22342253
],
2235-
"updatedAt": "2026-04-01T23:39:53.231Z"
2254+
"updatedAt": "2026-04-08T04:31:40.308Z"
22362255
}

docs/src/examples/catalog/Bounds.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@
2020
"example": "sunburst",
2121
"component": "Partition",
2222
"path": "/docs/components/Partition/sunburst",
23-
"lineNumber": 65,
23+
"lineNumber": 75,
2424
"line": "<Bounds"
2525
},
2626
{
@@ -45,5 +45,5 @@
4545
"line": "<Bounds domain={asAny(selected)} motion={{ type: 'tween', duration: 800, easing: cubicOut }}>"
4646
}
4747
],
48-
"updatedAt": "2026-02-07T17:00:30.943Z"
48+
"updatedAt": "2026-04-08T04:31:40.465Z"
4949
}

docs/src/examples/catalog/Chart.json

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1710,7 +1710,7 @@
17101710
"example": "gradient",
17111711
"component": "Chord",
17121712
"path": "/docs/components/Chord/gradient",
1713-
"lineNumber": 70,
1713+
"lineNumber": 60,
17141714
"line": "<Chart height={500} padding={{ top: 50, bottom: 30 }}>"
17151715
},
17161716
{
@@ -2795,8 +2795,8 @@
27952795
"example": "sunburst",
27962796
"component": "Partition",
27972797
"path": "/docs/components/Partition/sunburst",
2798-
"lineNumber": 62,
2799-
"line": "<Chart height={600}>"
2798+
"lineNumber": 72,
2799+
"line": "<Chart height={800}>"
28002800
},
28012801
{
28022802
"example": "vertical",
@@ -4066,5 +4066,5 @@
40664066
"line": "<Chart {data} x=\"x\" y=\"y\" height={400}>"
40674067
}
40684068
],
4069-
"updatedAt": "2026-04-07T16:36:35.950Z"
4069+
"updatedAt": "2026-04-08T04:31:40.633Z"
40704070
}

docs/src/examples/catalog/Chord.json

Lines changed: 22 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -32,14 +32,9 @@
3232
"line": "<Arc"
3333
},
3434
{
35-
"component": "Group",
36-
"lineNumber": 45,
37-
"line": "<Group"
38-
},
39-
{
40-
"component": "Text",
41-
"lineNumber": 49,
42-
"line": "<Text"
35+
"component": "ArcLabel",
36+
"lineNumber": 46,
37+
"line": "<ArcLabel"
4338
}
4439
]
4540
},
@@ -74,14 +69,9 @@
7469
"line": "<Arc"
7570
},
7671
{
77-
"component": "Group",
78-
"lineNumber": 46,
79-
"line": "<Group"
80-
},
81-
{
82-
"component": "Text",
83-
"lineNumber": 50,
84-
"line": "<Text"
72+
"component": "ArcLabel",
73+
"lineNumber": 47,
74+
"line": "<ArcLabel"
8575
}
8676
]
8777
},
@@ -92,47 +82,42 @@
9282
"components": [
9383
{
9484
"component": "Chart",
95-
"lineNumber": 70,
85+
"lineNumber": 60,
9686
"line": "<Chart height={500} padding={{ top: 50, bottom: 30 }}>"
9787
},
9888
{
9989
"component": "Layer",
100-
"lineNumber": 72,
90+
"lineNumber": 62,
10191
"line": "<Layer center>"
10292
},
10393
{
10494
"component": "Chord",
105-
"lineNumber": 73,
95+
"lineNumber": 63,
10696
"line": "<Chord {matrix} padAngle={0.05} sortSubgroups={(a, b) => b - a}>"
10797
},
10898
{
10999
"component": "LinearGradient",
110-
"lineNumber": 76,
100+
"lineNumber": 66,
111101
"line": "<LinearGradient"
112102
},
113103
{
114104
"component": "Ribbon",
115-
"lineNumber": 84,
105+
"lineNumber": 71,
116106
"line": "<Ribbon"
117107
},
118108
{
119109
"component": "Arc",
120-
"lineNumber": 116,
110+
"lineNumber": 103,
121111
"line": "<Arc"
122112
},
123113
{
124-
"component": "Group",
125-
"lineNumber": 128,
126-
"line": "<Group"
127-
},
128-
{
129-
"component": "Text",
130-
"lineNumber": 134,
131-
"line": "<Text"
114+
"component": "ArcLabel",
115+
"lineNumber": 116,
116+
"line": "<ArcLabel"
132117
},
133118
{
134119
"component": "Tooltip",
135-
"lineNumber": 152,
120+
"lineNumber": 133,
136121
"line": "<Tooltip.Root>"
137122
}
138123
]
@@ -168,18 +153,13 @@
168153
"line": "<Arc"
169154
},
170155
{
171-
"component": "Group",
172-
"lineNumber": 126,
173-
"line": "<Group"
174-
},
175-
{
176-
"component": "Text",
177-
"lineNumber": 132,
178-
"line": "<Text"
156+
"component": "ArcLabel",
157+
"lineNumber": 127,
158+
"line": "<ArcLabel"
179159
},
180160
{
181161
"component": "Tooltip",
182-
"lineNumber": 150,
162+
"lineNumber": 144,
183163
"line": "<Tooltip.Root>"
184164
}
185165
]
@@ -246,7 +226,7 @@
246226
"example": "gradient",
247227
"component": "Chord",
248228
"path": "/docs/components/Chord/gradient",
249-
"lineNumber": 73,
229+
"lineNumber": 63,
250230
"line": "<Chord {matrix} padAngle={0.05} sortSubgroups={(a, b) => b - a}>"
251231
},
252232
{
@@ -264,5 +244,5 @@
264244
"line": "<Chord {matrix} padAngle={0.05} sortSubgroups={descending} sortChords={descending}>"
265245
}
266246
],
267-
"updatedAt": "2026-03-22T12:54:32.331Z"
247+
"updatedAt": "2026-04-08T04:31:40.719Z"
268248
}

docs/src/examples/catalog/ClipPath.json

Lines changed: 8 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,13 @@
3737
"lineNumber": 42,
3838
"line": "<ClipPath useId=\"clip\">"
3939
},
40+
{
41+
"example": "sunburst",
42+
"component": "Partition",
43+
"path": "/docs/components/Partition/sunburst",
44+
"lineNumber": 121,
45+
"line": "<ClipPath>"
46+
},
4047
{
4148
"example": "us-water-vapor",
4249
"component": "Raster",
@@ -45,5 +52,5 @@
4552
"line": "<ClipPath>"
4653
}
4754
],
48-
"updatedAt": "2026-04-01T13:16:17.746Z"
55+
"updatedAt": "2026-04-08T04:31:40.793Z"
4956
}

0 commit comments

Comments
 (0)