Skip to content

Commit 8633c48

Browse files
fix(swatch,swatchgroup,table,tabs): remove autodocs tag after rebase
1 parent f6b1152 commit 8633c48

File tree

4 files changed

+44
-44
lines changed

4 files changed

+44
-44
lines changed

components/swatch/stories/swatch.stories.js

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -162,7 +162,7 @@ Default.args = {};
162162
* The medium size is the default and most frequently used option. Use the other sizes sparingly; they should be used to create a hierarchy of importance within the page.
163163
*/
164164
export const Sizing = SizingGroup.bind({});
165-
Sizing.tags = ["autodocs", "!dev"];
165+
Sizing.tags = ["!dev"];
166166
Sizing.parameters = {
167167
chromatic: { disableSnapshot: true },
168168
};
@@ -171,13 +171,13 @@ Sizing.parameters = {
171171
* A swatch in a disabled state shows that the swatch exists, but is not available in that circumstance. Even though swatches can have a disabled state, hide unavailable swatches when possible to reduce visual clutter and ease cognitive load. Only show disabled swatches if hiding them would cause confusion to your users.
172172
*/
173173
export const Disabled = DisabledGroup.bind({});
174-
Disabled.tags = ["autodocs", "!dev"];
174+
Disabled.tags = ["!dev"];
175175

176176
/**
177177
* Default rounding and full rounding are usually used when a swatch is presented by itself near other components. A rounding of “none” is used in a swatch group to help minimize the Hermann grid illusion that happens at the intersections of white space in the group.
178178
*/
179179
export const Rounding = RoundingGroup.bind({});
180-
Rounding.tags = ["autodocs", "!dev"];
180+
Rounding.tags = ["!dev"];
181181
Rounding.parameters = {
182182
chromatic: { disableSnapshot: true },
183183
};
@@ -189,15 +189,15 @@ export const Selected = Template.bind({});
189189
Selected.args = {
190190
isSelected: true,
191191
};
192-
Selected.tags = ["autodocs", "!dev"];
192+
Selected.tags = ["!dev"];
193193

194194
/**
195195
* By default, swatches have a border. However, when swatches are used within a swatch group, there are additional border considerations.
196196
* - When color swatches are used in a [swatch group](?path=/docs/components-swatch-group--docs), they typically have the `.spectrum-Swatch--noBorder` class.
197197
* - When and only when color swatches used in a [swatch group](?path=/docs/components-swatch-group--docs) have low contrast (below 3:1 contrast with the background), those swatches will have a less prominent border compared to the swatch component when used by itself. They individually use the `.spectrum-Swatch--lightBorder` class.
198198
*/
199199
export const Border = BorderGroup.bind({});
200-
Border.tags = ["autodocs", "!dev"];
200+
Border.tags = ["!dev"];
201201

202202
/**
203203
* Swatches can have a square or a rectangle shape with an aspect ratio of 2:1. The square shape is the default and is used in swatch groups (e.g., a palette of colors).
@@ -206,11 +206,11 @@ export const Rectangle = Template.bind({});
206206
Rectangle.args = {
207207
isRectangle: true,
208208
};
209-
Rectangle.tags = ["autodocs", "!dev"];
209+
Rectangle.tags = ["!dev"];
210210

211211
export const Nothing = NothingGroup.bind({});
212212
Nothing.args = {};
213-
Nothing.tags = ["autodocs", "!dev"];
213+
Nothing.tags = ["!dev"];
214214

215215
/**
216216
* When a swatch represents multiple values that are not identical, the preview shows a `gray-50` fill and a dash UI icon.
@@ -220,21 +220,21 @@ MixedValue.args = {
220220
isMixedValue: true,
221221
swatchColor: "var(--spectrum-gray-50)",
222222
};
223-
MixedValue.tags = ["autodocs", "!dev"];
223+
MixedValue.tags = ["!dev"];
224224

225225
export const Gradient = Template.bind({});
226226
Gradient.args = {
227227
isGradient: true,
228228
gradient: "linear-gradient(to right, rgba(0, 0, 0, 88%), rgb(174, 216, 230))",
229229
};
230-
Gradient.tags = ["autodocs", "!dev"];
230+
Gradient.tags = ["!dev"];
231231

232232
export const Image = Template.bind({});
233233
Image.args = {
234234
isImage: true,
235235
imageUrl: "example-ava@2x.png",
236236
};
237-
Image.tags = ["autodocs", "!dev"];
237+
Image.tags = ["!dev"];
238238

239239
// ********* VRT ONLY ********* //
240240
export const WithForcedColors = States.bind({});

components/swatchgroup/stories/swatchgroup.stories.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -129,27 +129,27 @@ export const Compact = Template.bind({});
129129
Compact.args = {
130130
density: "compact",
131131
};
132-
Compact.tags = ["autodocs", "!dev"];
132+
Compact.tags = ["!dev"];
133133

134134
export const Spacious = Template.bind({});
135135
Spacious.args = {
136136
density: "spacious",
137137
};
138-
Spacious.tags = ["autodocs", "!dev"];
138+
Spacious.tags = ["!dev"];
139139

140140
/**
141141
* Only use rounded swatches if there is a single row.
142142
*/
143143
export const Rounding = RoundingTemplate.bind({});
144144
Rounding.args = {};
145-
Rounding.tags = ["autodocs", "!dev"];
145+
Rounding.tags = ["!dev"];
146146

147147
/**
148148
* Use any size swatches as necessary. The medium size is the default option. This only affects the size of each individual swatch, not the spacing between them.
149149
*/
150150
export const Sizing = SizingTemplate.bind({});
151151
Sizing.args = {};
152-
Sizing.tags = ["autodocs", "!dev"];
152+
Sizing.tags = ["!dev"];
153153

154154
/**
155155
* Swatches within a swatch group with low contrast (below 3:1 contrast with the background) have a less prominent border compared to the swatch component when used by itself.
@@ -179,7 +179,7 @@ WithLightBorder.args = {
179179
{swatchColor: "rgb(254, 71, 144)",},
180180
],
181181
};
182-
WithLightBorder.tags = ["autodocs", "!dev"];
182+
WithLightBorder.tags = ["!dev"];
183183
WithLightBorder.storyName = "With light border";
184184

185185
// ********* VRT ONLY ********* //

components/table/stories/table.stories.js

Lines changed: 20 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ Default.args = {};
183183
* Tables come in four different sizes: small, medium, large, and extra-large. The medium size is the default and recommended option.
184184
*/
185185
export const Sizing = SizingTemplate.bind({});
186-
Sizing.tags = ["autodocs", "!dev"];
186+
Sizing.tags = ["!dev"];
187187

188188
/**
189189
* The compact variant decreases the spacing used within the table.
@@ -193,7 +193,7 @@ Compact.args = {
193193
...Default.args,
194194
density: "compact",
195195
};
196-
Compact.tags = ["autodocs", "!dev"];
196+
Compact.tags = ["!dev"];
197197

198198
/**
199199
* The spacious variant increases the spacing used within the table.
@@ -203,7 +203,7 @@ Spacious.args = {
203203
...Default.args,
204204
density: "spacious",
205205
};
206-
Spacious.tags = ["autodocs", "!dev"];
206+
Spacious.tags = ["!dev"];
207207

208208
/**
209209
* The standard multi-select table includes a column of checkboxes used for selecting rows.
@@ -213,7 +213,7 @@ MultiSelect.storyName = "Multi-select";
213213
MultiSelect.args = {
214214
rowItems: ExampleRowItems,
215215
};
216-
MultiSelect.tags = ["autodocs", "!dev"];
216+
MultiSelect.tags = ["!dev"];
217217

218218
/**
219219
* Excluding the `.spectrum-Table--emphasized` class will change the style of selected rows.
@@ -224,7 +224,7 @@ NonEmphasizedMultiSelect.args = {
224224
isEmphasized: false,
225225
rowItems: ExampleRowItems,
226226
};
227-
NonEmphasizedMultiSelect.tags = ["autodocs", "!dev"];
227+
NonEmphasizedMultiSelect.tags = ["!dev"];
228228

229229
/**
230230
* The quiet table has a transparent background and no borders on the left and right.
@@ -234,14 +234,14 @@ Quiet.args = {
234234
...Default.args,
235235
isQuiet: true,
236236
};
237-
Quiet.tags = ["autodocs", "!dev"];
237+
Quiet.tags = ["!dev"];
238238

239239
export const MultiSelectQuiet = Template.bind({});
240240
MultiSelectQuiet.args = {
241241
...MultiSelect.args,
242242
isQuiet: true,
243243
};
244-
MultiSelectQuiet.tags = ["autodocs", "!dev"];
244+
MultiSelectQuiet.tags = ["!dev"];
245245

246246
/**
247247
* The standard table can display column dividers by including the `.spectrum-Table-cell--divider` class with `.spectrum-Table-cell`. Use sparingly to group related content.
@@ -271,7 +271,7 @@ WithColumnDividers.args = {
271271
},
272272
],
273273
};
274-
WithColumnDividers.tags = ["autodocs", "!dev"];
274+
WithColumnDividers.tags = ["!dev"];
275275

276276
/**
277277
* Tables can have a summary row to show totals, at either the top or the bottom of the table. This example shows both the optional summary row, and a row marked as selected.
@@ -298,7 +298,7 @@ SummaryAndSelected.args = {
298298
},
299299
],
300300
};
301-
SummaryAndSelected.tags = ["autodocs", "!dev"];
301+
SummaryAndSelected.tags = ["!dev"];
302302

303303
/**
304304
* Tables can style one or more rows as section headers.
@@ -331,14 +331,14 @@ SectionHeader.args = {
331331
},
332332
],
333333
};
334-
SectionHeader.tags = ["autodocs", "!dev"];
334+
SectionHeader.tags = ["!dev"];
335335

336336
export const SectionHeaderQuiet = Template.bind({});
337337
SectionHeaderQuiet.args = {
338338
...SectionHeader.args,
339339
isQuiet: true,
340340
};
341-
SectionHeaderQuiet.tags = ["autodocs", "!dev"];
341+
SectionHeaderQuiet.tags = ["!dev"];
342342

343343
/**
344344
*
@@ -379,7 +379,7 @@ Scrollable.args = {
379379
},
380380
],
381381
};
382-
Scrollable.tags = ["autodocs", "!dev"];
382+
Scrollable.tags = ["!dev"];
383383

384384
/**
385385
* A table can also be made up of `div` tags if needed, instead of a `<table>`. This example uses both the div markup, and the scrollable wrapper.
@@ -391,7 +391,7 @@ DivsScrollable.args = {
391391
useScroller: true,
392392
rowItems: ExampleRowItems,
393393
};
394-
DivsScrollable.tags = ["autodocs", "!dev"];
394+
DivsScrollable.tags = ["!dev"];
395395

396396
/**
397397
* In a table with collapsible rows, all child items must have columns that match the parent items. If they don’t, consider using multiple drill-in tables, [Miller columns](/docs/components-miller-columns--docs), or [breadcrumbs](/docs/components-breadcrumbs--docs) instead.
@@ -455,7 +455,7 @@ Collapsible.args = {
455455
},
456456
],
457457
};
458-
Collapsible.tags = ["autodocs", "!dev"];
458+
Collapsible.tags = ["!dev"];
459459

460460
export const CollapsibleMultiSelect = Template.bind({});
461461
CollapsibleMultiSelect.storyName = "Collapsible Multi-select";
@@ -524,7 +524,7 @@ CollapsibleMultiSelect.args = {
524524
},
525525
],
526526
};
527-
CollapsibleMultiSelect.tags = ["autodocs", "!dev"];
527+
CollapsibleMultiSelect.tags = ["!dev"];
528528

529529
/**
530530
* Thumbnails can be used in the table content, with some additional markup and classes for alignment.
@@ -551,7 +551,7 @@ Thumbnails.args = {
551551
},
552552
],
553553
};
554-
Thumbnails.tags = ["autodocs", "!dev"];
554+
Thumbnails.tags = ["!dev"];
555555

556556
/**
557557
* The thumbnail table variant can also be combined with collapsible rows.
@@ -596,7 +596,7 @@ ThumbnailsCollapsible.args = {
596596
},
597597
],
598598
};
599-
ThumbnailsCollapsible.tags = ["autodocs", "!dev"];
599+
ThumbnailsCollapsible.tags = ["!dev"];
600600

601601
/**
602602
* The table body can accept dropped content.
@@ -605,7 +605,7 @@ export const BodyDropzone = BodyTemplate.bind({});
605605
BodyDropzone.args = {
606606
isDropTarget: true,
607607
};
608-
BodyDropzone.tags = ["autodocs", "!dev"];
608+
BodyDropzone.tags = ["!dev"];
609609

610610
/**
611611
* In addition to the overall table, individual rows can be designated as a drop target to accept dropped content. Only one dropzone row should show at a time, but this example sets multiple at different parts of the table to test that they all display the same.
@@ -636,14 +636,14 @@ RowDropzone.args = {
636636
},
637637
],
638638
};
639-
RowDropzone.tags = ["autodocs", "!dev"];
639+
RowDropzone.tags = ["!dev"];
640640

641641
export const RowDropzoneQuiet = Template.bind({});
642642
RowDropzoneQuiet.args = {
643643
...RowDropzone.args,
644644
isQuiet: true,
645645
};
646-
RowDropzoneQuiet.tags = ["autodocs", "!dev"];
646+
RowDropzoneQuiet.tags = ["!dev"];
647647

648648
// ********* VRT ONLY ********* //
649649
export const WithForcedColors = Template.bind({});

components/tabs/stories/tabs.stories.js

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -167,15 +167,15 @@ export const Vertical = VerticalGroup.bind({});
167167
Vertical.args = {
168168
orientation: "vertical",
169169
};
170-
Vertical.tags = ["autodocs", "!dev"];
170+
Vertical.tags = ["!dev"];
171171

172172
export const VerticalRight = Template.bind({});
173173
VerticalRight.args = {
174174
orientation: "vertical",
175175
hasRightAlignedTabs: true,
176176
};
177177
VerticalRight.storyName = "Vertical right";
178-
VerticalRight.tags = ["autodocs", "!dev"];
178+
VerticalRight.tags = ["!dev"];
179179

180180
/**
181181
* When there are too many tabs to fit horizontally across the viewport, the tabs component can be displayed as a [quiet picker](/docs/components-picker--docs).
@@ -186,7 +186,7 @@ export const Overflow = OverflowGroup.bind({});
186186
Overflow.args = {
187187
orientation: "overflow",
188188
};
189-
Overflow.tags = ["autodocs", "!dev"];
189+
Overflow.tags = ["!dev"];
190190
Overflow.parameters = {
191191
docs: {
192192
story: {
@@ -220,7 +220,7 @@ Sizing.args = {
220220
},
221221
],
222222
};
223-
Sizing.tags = ["autodocs", "!dev"];
223+
Sizing.tags = ["!dev"];
224224

225225
/**
226226
* Quiet tabs have no visible divider across the tab items apart from the one that shows the selected tab item. These should be used as sub-level navigation or for containers.
@@ -248,7 +248,7 @@ Quiet.args = {
248248
},
249249
],
250250
};
251-
Quiet.tags = ["autodocs", "!dev"];
251+
Quiet.tags = ["!dev"];
252252

253253
/**
254254
* Compact tabs should never be used without the quiet variation.
@@ -277,7 +277,7 @@ Compact.args = {
277277
},
278278
],
279279
};
280-
Compact.tags = ["autodocs", "!dev"];
280+
Compact.tags = ["!dev"];
281281

282282
/**
283283
* A tab item in a disabled state shows that the tab item exists, but is not available in that circumstance.
@@ -304,7 +304,7 @@ Disabled.args = {
304304
},
305305
],
306306
};
307-
Disabled.tags = ["autodocs", "!dev"];
307+
Disabled.tags = ["!dev"];
308308

309309
/**
310310
* Emphasized tabs have blue text for the selected state for visual prominence and to draw more attention to them. This is optimal for when the selection should call attention, such as the main navigation for a website.
@@ -313,7 +313,7 @@ export const Emphasized = Template.bind({});
313313
Emphasized.args = {
314314
isEmphasized: true,
315315
};
316-
Emphasized.tags = ["autodocs", "!dev"];
316+
Emphasized.tags = ["!dev"];
317317

318318
/**
319319
* Tab items can alternatively be anchor tags (`<a>`) instead of `div` elements to allow for navigation to on-page anchors. Do not use horizontal tabs for this adaptation.
@@ -324,7 +324,7 @@ Anchors.args = {
324324
orientation: "vertical",
325325
useAnchors: true,
326326
};
327-
Anchors.tags = ["autodocs", "!dev"];
327+
Anchors.tags = ["!dev"];
328328

329329
// ********* VRT ONLY ********* //
330330
export const WithForcedColors = Default.bind({});

0 commit comments

Comments
 (0)