@@ -113,40 +113,84 @@ const docs: ComponentDocs = {
113
113
) ,
114
114
} ,
115
115
{
116
- label : 'Tone, size and space ' ,
116
+ label : 'Tone and size ' ,
117
117
description : (
118
118
< Text >
119
119
Lists support the same sizes and tones as{ ' ' }
120
- < TextLink href = "/components/Text" > Text</ TextLink > , and the same
121
- spacing as < TextLink href = "/components/Stack" > Stack</ TextLink > .
120
+ < TextLink href = "/components/Text" > Text</ TextLink > .
122
121
</ Text >
123
122
) ,
124
123
Example : ( ) =>
125
124
source (
126
125
< Columns space = "large" collapseBelow = "desktop" >
127
126
< Column >
128
- < List tone = "secondary" size = "large" space = "gutter" >
127
+ < List tone = "secondary" size = "large" >
129
128
< Text > Large</ Text >
130
129
< Text > Large</ Text >
131
130
< Text > Large</ Text >
132
131
</ List >
133
132
</ Column >
134
133
< Column >
135
- < List tone = "secondary" size = "standard" space = "medium" >
134
+ < List tone = "secondary" size = "standard" >
136
135
< Text > Standard</ Text >
137
136
< Text > Standard</ Text >
138
137
< Text > Standard</ Text >
139
138
</ List >
140
139
</ Column >
141
140
< Column >
142
- < List tone = "secondary" size = "small" space = "small" >
141
+ < List tone = "secondary" size = "small" >
143
142
< Text > Small</ Text >
144
143
< Text > Small</ Text >
145
144
< Text > Small</ Text >
146
145
</ List >
147
146
</ Column >
148
147
< Column >
149
- < List tone = "secondary" size = "xsmall" space = "small" >
148
+ < List tone = "secondary" size = "xsmall" >
149
+ < Text > Xsmall</ Text >
150
+ < Text > Xsmall</ Text >
151
+ < Text > Xsmall</ Text >
152
+ </ List >
153
+ </ Column >
154
+ </ Columns > ,
155
+ ) ,
156
+ } ,
157
+ {
158
+ label : 'Spacing' ,
159
+ description : (
160
+ < Text >
161
+ By default, Lists will use < Strong > small</ Strong > spacing, or{ ' ' }
162
+ < Strong > xsmall</ Strong > spacing if the < Strong > size</ Strong > prop is
163
+ set to either < Strong > small</ Strong > or < Strong > xsmall</ Strong > . This
164
+ can be changed via the < Strong > space</ Strong > prop, which supports the
165
+ same spacing as < TextLink href = "/components/Stack" > Stack</ TextLink > .
166
+ </ Text >
167
+ ) ,
168
+ Example : ( ) =>
169
+ source (
170
+ < Columns space = "large" collapseBelow = "desktop" >
171
+ < Column >
172
+ < List space = "large" >
173
+ < Text > Large</ Text >
174
+ < Text > Large</ Text >
175
+ < Text > Large</ Text >
176
+ </ List >
177
+ </ Column >
178
+ < Column >
179
+ < List space = "medium" >
180
+ < Text > Standard</ Text >
181
+ < Text > Standard</ Text >
182
+ < Text > Standard</ Text >
183
+ </ List >
184
+ </ Column >
185
+ < Column >
186
+ < List space = "small" >
187
+ < Text > Small</ Text >
188
+ < Text > Small</ Text >
189
+ < Text > Small</ Text >
190
+ </ List >
191
+ </ Column >
192
+ < Column >
193
+ < List space = "xsmall" >
150
194
< Text > Xsmall</ Text >
151
195
< Text > Xsmall</ Text >
152
196
< Text > Xsmall</ Text >
0 commit comments