@@ -2,11 +2,7 @@ import React from 'react';
2
2
3
3
import Icon from '../Icon' ;
4
4
5
- import {
6
- MultiTemplate ,
7
- MultiTemplateWithPseudoStates ,
8
- Template ,
9
- } from '../../storybook/helper.stories.templates' ;
5
+ import { MultiTemplate , Template } from '../../storybook/helper.stories.templates' ;
10
6
import { DocumentationPage } from '../../storybook/helper.stories.docs' ;
11
7
import StyleDocs from '../../storybook/docs.stories.style.mdx' ;
12
8
import AriaButtonDocs from '../../storybook/docs.stories.aria-button.mdx' ;
@@ -225,152 +221,6 @@ Disabled.parameters = {
225
221
] ,
226
222
} ;
227
223
228
- const NotGhostNotOutlineNotInverted = MultiTemplateWithPseudoStates < ButtonPillProps > (
229
- ButtonPill
230
- ) . bind ( { } ) ;
231
-
232
- NotGhostNotOutlineNotInverted . argTypes = { ...argTypes } ;
233
- delete NotGhostNotOutlineNotInverted . argTypes . children ;
234
- delete NotGhostNotOutlineNotInverted . argTypes . outline ;
235
- delete NotGhostNotOutlineNotInverted . argTypes . ghost ;
236
- delete NotGhostNotOutlineNotInverted . argTypes . inverted ;
237
-
238
- NotGhostNotOutlineNotInverted . args = {
239
- outline : false ,
240
- ghost : false ,
241
- inverted : false ,
242
- } ;
243
-
244
- NotGhostNotOutlineNotInverted . parameters = {
245
- variants : [
246
- { label : 'color: undefined' , color : undefined } ,
247
- { label : 'color: join' , color : 'join' } ,
248
- { label : 'color: cancel' , color : 'cancel' } ,
249
- { label : 'color: message' , color : 'message' } ,
250
- ] ,
251
- } ;
252
-
253
- const GhostNotOutlineNotInverted = MultiTemplateWithPseudoStates < ButtonPillProps > ( ButtonPill ) . bind (
254
- { }
255
- ) ;
256
-
257
- GhostNotOutlineNotInverted . argTypes = { ...argTypes } ;
258
- delete GhostNotOutlineNotInverted . argTypes . children ;
259
- delete GhostNotOutlineNotInverted . argTypes . outline ;
260
- delete GhostNotOutlineNotInverted . argTypes . ghost ;
261
- delete GhostNotOutlineNotInverted . argTypes . inverted ;
262
-
263
- GhostNotOutlineNotInverted . args = {
264
- outline : false ,
265
- ghost : true ,
266
- inverted : false ,
267
- } ;
268
-
269
- GhostNotOutlineNotInverted . parameters = {
270
- variants : [
271
- { label : 'color: undefined' , color : undefined } ,
272
- { label : 'color: join' , color : 'join' } ,
273
- { label : 'color: cancel' , color : 'cancel' } ,
274
- { label : 'color: message' , color : 'message' } ,
275
- ] ,
276
- } ;
277
-
278
- const NotGhostOutlineNotInverted = MultiTemplateWithPseudoStates < ButtonPillProps > ( ButtonPill ) . bind (
279
- { }
280
- ) ;
281
-
282
- NotGhostOutlineNotInverted . argTypes = { ...argTypes } ;
283
- delete NotGhostOutlineNotInverted . argTypes . children ;
284
- delete NotGhostOutlineNotInverted . argTypes . outline ;
285
- delete NotGhostOutlineNotInverted . argTypes . ghost ;
286
- delete NotGhostOutlineNotInverted . argTypes . inverted ;
287
-
288
- NotGhostOutlineNotInverted . args = {
289
- outline : true ,
290
- ghost : false ,
291
- inverted : false ,
292
- } ;
293
-
294
- NotGhostOutlineNotInverted . parameters = {
295
- variants : [
296
- { label : 'color: undefined' , color : undefined } ,
297
- { label : 'color: join' , color : 'join' } ,
298
- { label : 'color: cancel' , color : 'cancel' } ,
299
- { label : 'color: message' , color : 'message' } ,
300
- ] ,
301
- } ;
302
-
303
- const NotGhostNotOutlineInverted = MultiTemplateWithPseudoStates < ButtonPillProps > ( ButtonPill ) . bind (
304
- { }
305
- ) ;
306
-
307
- NotGhostNotOutlineInverted . argTypes = { ...argTypes } ;
308
- delete NotGhostNotOutlineInverted . argTypes . children ;
309
- delete NotGhostNotOutlineInverted . argTypes . outline ;
310
- delete NotGhostNotOutlineInverted . argTypes . ghost ;
311
- delete NotGhostNotOutlineInverted . argTypes . inverted ;
312
-
313
- NotGhostNotOutlineInverted . args = {
314
- outline : false ,
315
- ghost : false ,
316
- inverted : true ,
317
- } ;
318
-
319
- NotGhostNotOutlineInverted . parameters = {
320
- variants : [
321
- { label : 'color: undefined' , color : undefined } ,
322
- { label : 'color: join' , color : 'join' } ,
323
- { label : 'color: cancel' , color : 'cancel' } ,
324
- { label : 'color: message' , color : 'message' } ,
325
- ] ,
326
- } ;
327
-
328
- const GhostOutlineNotInverted = MultiTemplateWithPseudoStates < ButtonPillProps > ( ButtonPill ) . bind ( { } ) ;
329
-
330
- GhostOutlineNotInverted . argTypes = { ...argTypes } ;
331
- delete GhostOutlineNotInverted . argTypes . children ;
332
- delete GhostOutlineNotInverted . argTypes . outline ;
333
- delete GhostOutlineNotInverted . argTypes . ghost ;
334
- delete GhostOutlineNotInverted . argTypes . inverted ;
335
-
336
- GhostOutlineNotInverted . args = {
337
- outline : true ,
338
- ghost : true ,
339
- inverted : false ,
340
- } ;
341
-
342
- GhostOutlineNotInverted . parameters = {
343
- variants : [
344
- { label : 'color: undefined' , color : undefined } ,
345
- { label : 'color: join' , color : 'join' } ,
346
- { label : 'color: cancel' , color : 'cancel' } ,
347
- { label : 'color: message' , color : 'message' } ,
348
- ] ,
349
- } ;
350
-
351
- const NotGhostOutlineInverted = MultiTemplateWithPseudoStates < ButtonPillProps > ( ButtonPill ) . bind ( { } ) ;
352
-
353
- NotGhostOutlineInverted . argTypes = { ...argTypes } ;
354
- delete NotGhostOutlineInverted . argTypes . children ;
355
- delete NotGhostOutlineInverted . argTypes . outline ;
356
- delete NotGhostOutlineInverted . argTypes . ghost ;
357
- delete NotGhostOutlineInverted . argTypes . inverted ;
358
-
359
- NotGhostOutlineInverted . args = {
360
- outline : true ,
361
- ghost : false ,
362
- inverted : true ,
363
- } ;
364
-
365
- NotGhostOutlineInverted . parameters = {
366
- variants : [
367
- { label : 'color: undefined' , color : undefined } ,
368
- { label : 'color: join' , color : 'join' } ,
369
- { label : 'color: cancel' , color : 'cancel' } ,
370
- { label : 'color: message' , color : 'message' } ,
371
- ] ,
372
- } ;
373
-
374
224
const Common = MultiTemplate < ButtonPillProps > ( ButtonPill ) . bind ( { } ) ;
375
225
376
226
Common . argTypes = { ...argTypes } ;
@@ -398,17 +248,4 @@ Common.parameters = {
398
248
] ,
399
249
} ;
400
250
401
- export {
402
- Example ,
403
- Overflow ,
404
- Grown ,
405
- Sizes ,
406
- Disabled ,
407
- NotGhostNotOutlineNotInverted ,
408
- GhostNotOutlineNotInverted ,
409
- NotGhostOutlineNotInverted ,
410
- NotGhostNotOutlineInverted ,
411
- GhostOutlineNotInverted ,
412
- NotGhostOutlineInverted ,
413
- Common ,
414
- } ;
251
+ export { Example , Overflow , Grown , Sizes , Disabled , Common } ;
0 commit comments