-
Notifications
You must be signed in to change notification settings - Fork 60
/
input-group.stories.js
905 lines (852 loc) · 33.7 KB
/
input-group.stories.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
import '../../../../src/icon.scss';
import '../../../../src/button.scss';
import '../../../../src/form-item.scss';
import '../../../../src/form-label.scss';
import '../../../../src/input.scss';
import '../../../../src/popover.scss';
import '../../../../src/input-group.scss';
export default {
title: 'Components/Forms/Input Group',
parameters: {
description: 'The input group includes form inputs with add-ons that allow the user to better understand the information being entered.',
tags: ['f3', 'a11y', 'theme']
}
};
export const Sizes = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde111">Default Size </label>
<div class="fd-input-group">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde111" name="" value="1234568910 ">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde112">Compact Size </label>
<div class="fd-input-group fd-input-group--compact">
<span class="fd-input-group__addon fd-input-group__addon--compact">$</span>
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde112" name="" value="1234568910 ">
</div>
</div>
`;
Sizes.parameters = {
docs: {
iframeHeight: 160,
description: {
story: 'The Input Group supports **compact** mode (by virtue of the `--compact` modifier on child components).'
}
}
};
export const TextAddOn = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde113">Left Aligned Text Add-on</label>
<div class="fd-input-group">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde113" name="" value="1234568910 ">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde114">Right Aligned Text Add-on</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde114" name="" value="1234568910 ">
<span class="fd-input-group__addon">€</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde115">Right Aligned Text Add-on With Right Aligned Input Text</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input right-align" type="text" id="aqwsde115" name="" value="1234568910 ">
<span class="fd-input-group__addon">€</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde116">Left and Right Aligned Text Add-ons</label>
<div class="fd-input-group">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde116" name="" value="This is a test">
<span class="fd-input-group__addon">.00</span>
</div>
</div>
`;
TextAddOn.parameters = {
docs: {
iframeHeight: 400,
description: {
story: 'The Input Group with text add-on component is typically used to specify the type of the data being entered, such as currency or unit of measure. This add-on can be placed at the left or right (or both) of the input element.'
}
}
};
export const InputWithIcons = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde117">Input with icon on the left</label>
<div class="fd-input-group">
<span class="fd-input-group__addon">
<span class="sap-icon--employee" role="presentation"></span>
</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde117" name="" value="1000000">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde118">Input with icon on the right</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde118" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde119">Input with icon on the right and right aligned input text</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input right-align" type="text" id="aqwsde119" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
`;
InputWithIcons.parameters = {
docs: {
iframeHeight: 300,
description: {
story: 'The Input with add-on supports icons.'
}
}
};
export const InputWithActions = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde120">Input with text add-on</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde120" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button">
<button class="fd-input-group__button fd-button fd-button--transparent">
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde121">Input with icon action</label>
<div class="fd-input-group">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde121" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button">
<button class="fd-input-group__button fd-button fd-button--icon fd-button--transparent" aria-label="Navigation">
<i class="sap-icon--navigation-down-arrow"></i>
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde122">Compact Input with icon action</label>
<div class="fd-input-group fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde122" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button fd-input-group__addon--compact">
<button class="fd-input-group__button fd-button fd-button--icon fd-button--transparent fd-button--compact" aria-label="Navigation">
<i class="sap-icon--navigation-down-arrow"></i>
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde123">Input with text action on left</label>
<div class="fd-input-group">
<span class="fd-input-group__addon fd-input-group__addon--button">
<button class="fd-input-group__button fd-button fd-button--transparent">
Button
</button>
</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde123" name="" value="1000000">
</div>
</div>
`;
InputWithActions.parameters = {
docs: {
iframeHeight: 300,
description: {
story: 'The Input with add-on supports actions. Actions can be shown with a text label or icon.'
}
}
};
export const States = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde124">Success</label>
<div class="fd-input-group is-success">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde124" name="" value="1234568910">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde125">Error</label>
<div class="fd-input-group is-error">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde125" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde126">Warning (Alert)</label>
<div class="fd-input-group is-warning">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde126" name="" value="1234568910">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde127">Information compact</label>
<div class="fd-input-group is-information fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde127" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button fd-input-group__addon--compact">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact">
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde127">Error compact</label>
<div class="fd-input-group is-error fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde127" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button fd-input-group__addon--compact">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact">
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde127">Warning(Alert) compact</label>
<div class="fd-input-group is-warning fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde127" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button fd-input-group__addon--compact">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact">
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde127">Success compact</label>
<div class="fd-input-group is-success fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde127" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--button fd-input-group__addon--compact">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact">
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde128">Disabled</label>
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" disabled type="text" id="aqwsde128" name="" placeholder="Enter a value">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde129">Disabled Success</label>
<div class="fd-input-group is-success is-disabled">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" disabled type="text" id="aqwsde129" name="" value="1234568910">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde130">Disabled Error</label>
<div class="fd-input-group is-error is-disabled">
<input class="fd-input fd-input-group__input" disabled type="text" id="aqwsde130" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde131">Disabled Warning (Alert)</label>
<div class="fd-input-group is-warning is-disabled">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" disabled type="text" id="aqwsde131" name="" value="1234568910">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde132">Disabled Information</label>
<div class="fd-input-group is-information is-disabled fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" disabled type="text" id="aqwsde132" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--compact fd-input-group__addon--button">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact" disabled>
Button
</button>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde132">Read-Only</label>
<div class="fd-input-group is-readonly fd-input-group--compact">
<input class="fd-input fd-input--compact fd-input-group__input" readonly type="text" id="aqwsde132" name="" value="1000000">
<span class="fd-input-group__addon fd-input-group__addon--compact fd-input-group__addon--button">
<button class="fd-input-group__button fd-button fd-button--transparent fd-button--compact">
Button
</button>
</span>
</div>
</div>
`;
States.parameters = {
docs: {
iframeHeight: 700
}
};
export const Focus = () => `
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde133">Default</label>
<div class="fd-input-group is-focus">
<span class="fd-input-group__addon">$</span>
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde133" name="" value="1234568910">
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde134">Error State</label>
<div class="fd-input-group is-error is-focus">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde134" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde134ff">Success State</label>
<div class="fd-input-group is-success is-focus">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde134ff" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
<br />
<div class="fd-form-item">
<label class="fd-form-label" for="aqwsde134ss">Warning State</label>
<div class="fd-input-group is-warning is-focus">
<input class="fd-input fd-input-group__input" type="text" placeholder="Placeholder" id="aqwsde134ss" name="" value="1000000">
<span class="fd-input-group__addon">
<span class="sap-icon--hide" role="presentation"></span>
</span>
</div>
</div>
`;
Focus.parameters = {
docs: {
iframeHeight: 200,
description: {
story: 'The Input Group supports <b>focus</b> state, it can be added by putting `.is-focus` class to component.'
}
}
};
export const TestOne = () => `
<div class="fd-input-group ">
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon ">
km/h
</span>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon ">
.00
</span>
</div>
<br />
<div class="fd-input-group ">
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon ">
km/h
</span>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon ">
.00
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon ">
km/h
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon ">
.00
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon ">
km/h
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon ">
.00
</span>
</div>
`;
TestOne.parameters = {
docs: {
disable: true
}
};
export const TestTwo = () => `
<div class="fd-input-group fd-input-group--compact">
<input aria-label="test" class="input-group-input-playground input-group-input-playground--compact fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--compact">
km/h
</span>
</div>
<br />
<div class="fd-input-group fd-input-group--compact">
<span class="fd-input-group__addon fd-input-group__addon--compact">
$
</span>
<input aria-label="test" class="input-group-input-playground input-group-input-playground--compact fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group fd-input-group--compact">
<span class="fd-input-group__addon fd-input-group__addon--compact">
$
</span>
<input aria-label="test" class="input-group-input-playground input-group-input-playground--compact fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--compact">
.00
</span>
</div>
`;
TestTwo.parameters = {
docs: {
disable: true
}
};
export const TestThree = () => `
<div class="fd-input-group is-success ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-success ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-success is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-success is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-error ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-error ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-error is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-error is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-warning ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-warning ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-warning is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-warning is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-information ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-information ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-information is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-information is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
`;
TestThree.parameters = {
docs: {
disable: true
}
};
export const TestFour = () => `
<div class="fd-input-group ">
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group ">
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group ">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<h3>Disabled</h3>
<div class="fd-input-group is-disabled">
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-disabled">
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
<span class="fd-input-group__addon fd-input-group__addon--button ">
<button class="btn-playground fd-input-group__button">Click Me</button>
</span>
</div>
`;
TestFour.parameters = {
docs: {
disable: true
}
};
export const TestFive = () => `
<div class="fd-input-group is-success ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-success ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-success is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-success is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-error ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-error ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-error is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-error is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-warning ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-warning ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-warning is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-warning is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-information ">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-information ">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
<br />
<div class="fd-input-group is-information is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309" />
</div>
<br />
<div class="fd-input-group is-information is-disabled">
<span class="fd-input-group__addon ">
$
</span>
<textarea aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="" value="19387309"></textarea>
</div>
`;
TestFive.parameters = {
docs: {
disable: true
}
};
export const TestSix = () => `
<div class="fd-input-group fd-input-group--inline ">
<span class="fd-input-group__addon ">
phone
</span>
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="Field placeholder text" value="" />
</div>
<div class="fd-input-group fd-input-group--inline ">
<input aria-label="test" class="input-group-input-playground fd-input-group__input" placeholder="Field placeholder text" value="" />
<span class="fd-input-group__addon ">
fax
</span>
</div>
`;
TestSix.parameters = {
docs: {
disable: true
}
};