99 {
1010 "component" : " Chart" ,
1111 "lineNumber" : 10 ,
12- "line" : " <Chart {data} x= \" date \" y= \" value \" yDomain={[0, null]} yNice padding={25} height={300}> "
12+ "line" : " <Chart"
1313 },
1414 {
1515 "component" : " Layer" ,
16- "lineNumber" : 11 ,
16+ "lineNumber" : 22 ,
1717 "line" : " <Layer>"
1818 },
1919 {
2020 "component" : " Axis" ,
21- "lineNumber" : 12 ,
21+ "lineNumber" : 23 ,
2222 "line" : " <Axis placement=\" left\" grid rule />"
2323 },
2424 {
2525 "component" : " Trail" ,
26- "lineNumber" : 14 ,
27- "line" : " <Trail r={6} class=\" fill-primary\" />"
26+ "lineNumber" : 25 ,
27+ "line" : " <Trail r=\" value \" class=\" fill-primary\" />"
2828 }
2929 ]
3030 },
3131 {
32- "name" : " tdf-stage " ,
33- "title" : " Tour de France Stage Profile " ,
34- "path" : " /docs/components/Trail/tdf-stage " ,
32+ "name" : " curves " ,
33+ "title" : " Curves and caps " ,
34+ "path" : " /docs/components/Trail/curves " ,
3535 "components" : [
3636 {
3737 "component" : " Chart" ,
38- "lineNumber" : 15 ,
38+ "lineNumber" : 45 ,
3939 "line" : " <Chart"
4040 },
4141 {
4242 "component" : " Layer" ,
43- "lineNumber" : 24 ,
43+ "lineNumber" : 55 ,
4444 "line" : " <Layer>"
4545 },
46- {
47- "component" : " Axis" ,
48- "lineNumber" : 25 ,
49- "line" : " <Axis placement=\" left\" grid label=\" Latitude\" />"
50- },
5146 {
5247 "component" : " Trail" ,
53- "lineNumber" : 27 ,
54- "line" : " <Trail r= \" elev \" class=\" fill-danger /40\" />"
48+ "lineNumber" : 56 ,
49+ "line" : " <Trail curve={curve.value} {cap} class=\" fill-primary /40\" />"
5550 },
5651 {
5752 "component" : " Spline" ,
58- "lineNumber" : 28 ,
59- "line" : " <Spline class=\" stroke-1 stroke- surface-content\" />"
53+ "lineNumber" : 57 ,
54+ "line" : " <Spline curve={curve.value} class=\" stroke-surface-content/40 stroke-1 \" />"
6055 }
6156 ],
62- "description" : " Elevation profile of a Tour de France stage using trail width to encode elevation ."
57+ "description" : " The trail mark supports round and butt capping and different interpolation methods ."
6358 },
6459 {
65- "name" : " variable-width " ,
66- "title" : " variable width " ,
67- "path" : " /docs/components/Trail/variable-width " ,
60+ "name" : " playground " ,
61+ "title" : " playground " ,
62+ "path" : " /docs/components/Trail/playground " ,
6863 "components" : [
6964 {
7065 "component" : " Chart" ,
71- "lineNumber" : 11 ,
72- "line" : " <Chart {data} x= \" date \" y= \" value \" yDomain={[0, null]} yNice r= \" value \" rScale={scaleLinear()} rRange={[2, 16]} padding={25} height={300}> "
66+ "lineNumber" : 35 ,
67+ "line" : " <Chart"
7368 },
7469 {
7570 "component" : " Layer" ,
76- "lineNumber" : 12 ,
71+ "lineNumber" : 46 ,
7772 "line" : " <Layer>"
7873 },
7974 {
8075 "component" : " Axis" ,
81- "lineNumber" : 13 ,
76+ "lineNumber" : 47 ,
8277 "line" : " <Axis placement=\" left\" grid rule />"
8378 },
8479 {
8580 "component" : " Trail" ,
86- "lineNumber" : 15 ,
87- "line" : " <Trail r=\" value\" class=\" fill-primary\" />"
81+ "lineNumber" : 50 ,
82+ "line" : " <Trail curve={config.curve} cap={config.cap} motion={config.motion} class=\" fill-primary\" />"
83+ },
84+ {
85+ "component" : " Spline" ,
86+ "lineNumber" : 52 ,
87+ "line" : " <Spline"
8888 }
8989 ]
90+ },
91+ {
92+ "name" : " tdf-stage" ,
93+ "title" : " Tour de France Stage Profile" ,
94+ "path" : " /docs/components/Trail/tdf-stage" ,
95+ "components" : [
96+ {
97+ "component" : " Chart" ,
98+ "lineNumber" : 15 ,
99+ "line" : " <Chart"
100+ },
101+ {
102+ "component" : " Layer" ,
103+ "lineNumber" : 24 ,
104+ "line" : " <Layer>"
105+ },
106+ {
107+ "component" : " Axis" ,
108+ "lineNumber" : 25 ,
109+ "line" : " <Axis placement=\" left\" grid label=\" Latitude\" />"
110+ },
111+ {
112+ "component" : " Trail" ,
113+ "lineNumber" : 27 ,
114+ "line" : " <Trail class=\" fill-danger/40\" />"
115+ },
116+ {
117+ "component" : " Spline" ,
118+ "lineNumber" : 28 ,
119+ "line" : " <Spline class=\" stroke-1 stroke-surface-content\" />"
120+ }
121+ ],
122+ "description" : " Elevation profile of a Tour de France stage using trail width to encode elevation."
90123 }
91124 ],
92125 "usage" : [
93126 {
94127 "example" : " basic" ,
95128 "component" : " Trail" ,
96129 "path" : " /docs/components/Trail/basic" ,
97- "lineNumber" : 14 ,
98- "line" : " <Trail r={6} class=\" fill-primary\" />"
130+ "lineNumber" : 25 ,
131+ "line" : " <Trail r=\" value \" class=\" fill-primary\" />"
99132 },
100133 {
101- "example" : " tdf-stage " ,
134+ "example" : " curves " ,
102135 "component" : " Trail" ,
103- "path" : " /docs/components/Trail/tdf-stage " ,
104- "lineNumber" : 27 ,
105- "line" : " <Trail r= \" elev \" class=\" fill-danger /40\" />"
136+ "path" : " /docs/components/Trail/curves " ,
137+ "lineNumber" : 56 ,
138+ "line" : " <Trail curve={curve.value} {cap} class=\" fill-primary /40\" />"
106139 },
107140 {
108- "example" : " variable-width " ,
141+ "example" : " playground " ,
109142 "component" : " Trail" ,
110- "path" : " /docs/components/Trail/variable-width" ,
111- "lineNumber" : 15 ,
112- "line" : " <Trail r=\" value\" class=\" fill-primary\" />"
143+ "path" : " /docs/components/Trail/playground" ,
144+ "lineNumber" : 50 ,
145+ "line" : " <Trail curve={config.curve} cap={config.cap} motion={config.motion} class=\" fill-primary\" />"
146+ },
147+ {
148+ "example" : " tdf-stage" ,
149+ "component" : " Trail" ,
150+ "path" : " /docs/components/Trail/tdf-stage" ,
151+ "lineNumber" : 27 ,
152+ "line" : " <Trail class=\" fill-danger/40\" />"
113153 }
114154 ],
115- "updatedAt" : " 2026-04-03T15:31:25.944Z "
155+ "updatedAt" : " 2026-04-03T20:08:36.649Z "
116156}
0 commit comments