@charcoal-ui/react-sandbox 3.10.1 → 3.12.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/package.json +8 -17
  2. package/dist/components/Carousel/index.story.d.ts +0 -7
  3. package/dist/components/Carousel/index.story.d.ts.map +0 -1
  4. package/dist/components/CarouselButton/index.story.d.ts +0 -10
  5. package/dist/components/CarouselButton/index.story.d.ts.map +0 -1
  6. package/dist/components/Filter/index.story.d.ts +0 -9
  7. package/dist/components/Filter/index.story.d.ts.map +0 -1
  8. package/dist/components/HintText/index.story.d.ts +0 -12
  9. package/dist/components/HintText/index.story.d.ts.map +0 -1
  10. package/dist/components/Layout/index.story.d.ts +0 -14
  11. package/dist/components/Layout/index.story.d.ts.map +0 -1
  12. package/dist/components/MenuListItem/index.story.d.ts +0 -18
  13. package/dist/components/MenuListItem/index.story.d.ts.map +0 -1
  14. package/dist/components/Pager/index.story.d.ts +0 -39
  15. package/dist/components/Pager/index.story.d.ts.map +0 -1
  16. package/dist/components/SwitchCheckbox/index.story.d.ts +0 -10
  17. package/dist/components/SwitchCheckbox/index.story.d.ts.map +0 -1
  18. package/dist/components/TextEllipsis/index.story.d.ts +0 -9
  19. package/dist/components/TextEllipsis/index.story.d.ts.map +0 -1
  20. package/dist/components/WithIcon/index.story.d.ts +0 -15
  21. package/dist/components/WithIcon/index.story.d.ts.map +0 -1
  22. package/src/components/Carousel/__snapshots__/index.story.storyshot +0 -360
  23. package/src/components/Carousel/index.story.tsx +0 -85
  24. package/src/components/CarouselButton/__snapshots__/index.story.storyshot +0 -168
  25. package/src/components/CarouselButton/index.story.tsx +0 -43
  26. package/src/components/Filter/__snapshots__/index.story.storyshot +0 -239
  27. package/src/components/Filter/index.story.tsx +0 -82
  28. package/src/components/HintText/__snapshots__/index.story.storyshot +0 -119
  29. package/src/components/HintText/index.story.tsx +0 -18
  30. package/src/components/Layout/__snapshots__/index.story.storyshot +0 -1297
  31. package/src/components/Layout/index.story.tsx +0 -121
  32. package/src/components/MenuListItem/__snapshots__/index.story.storyshot +0 -1389
  33. package/src/components/MenuListItem/index.story.tsx +0 -142
  34. package/src/components/Pager/__snapshots__/index.story.storyshot +0 -1894
  35. package/src/components/Pager/index.story.tsx +0 -153
  36. package/src/components/SwitchCheckbox/__snapshots__/index.story.storyshot +0 -507
  37. package/src/components/SwitchCheckbox/index.story.tsx +0 -31
  38. package/src/components/TextEllipsis/__snapshots__/index.story.storyshot +0 -32
  39. package/src/components/TextEllipsis/index.story.tsx +0 -40
  40. package/src/components/WithIcon/__snapshots__/index.story.storyshot +0 -852
  41. package/src/components/WithIcon/index.story.tsx +0 -145
@@ -1,1297 +0,0 @@
1
- // Jest Snapshot v1, https://goo.gl/fbAQLP
2
-
3
- exports[`Storybook Tests Sandbox/Layout Basic 1`] = `
4
- .c2 {
5
- display: -webkit-box;
6
- display: -webkit-flex;
7
- display: -ms-flexbox;
8
- display: flex;
9
- -webkit-flex-direction: column;
10
- -ms-flex-direction: column;
11
- flex-direction: column;
12
- -webkit-align-items: flex-start;
13
- -webkit-box-align: flex-start;
14
- -ms-flex-align: flex-start;
15
- align-items: flex-start;
16
- }
17
-
18
- .c3 {
19
- display: -webkit-box;
20
- display: -webkit-flex;
21
- display: -ms-flexbox;
22
- display: flex;
23
- -webkit-align-items: center;
24
- -webkit-box-align: center;
25
- -ms-flex-align: center;
26
- align-items: center;
27
- color: #858585;
28
- border-radius: 24px;
29
- font-weight: bold;
30
- font-size: 14px;
31
- line-height: 22px;
32
- padding: 0 16px;
33
- height: 40px;
34
- -webkit-transition: 0.2s color;
35
- transition: 0.2s color;
36
- }
37
-
38
- .c3:hover {
39
- -webkit-transition: 0.2s color;
40
- transition: 0.2s color;
41
- color: #474747;
42
- }
43
-
44
- .c3[aria-current] {
45
- color: #474747;
46
- background-color: rgba(0,0,0,0.04);
47
- }
48
-
49
- .c0 {
50
- display: -webkit-box;
51
- display: -webkit-flex;
52
- display: -ms-flexbox;
53
- display: flex;
54
- background-color: #f5f5f5;
55
- }
56
-
57
- .c1 {
58
- min-width: 208px;
59
- padding: 40px 0 40px 24px;
60
- box-sizing: border-box;
61
- }
62
-
63
- .c4 {
64
- -webkit-box-flex: 1;
65
- -webkit-flex-grow: 1;
66
- -ms-flex-positive: 1;
67
- flex-grow: 1;
68
- min-width: 0;
69
- max-width: 1224px;
70
- padding: 40px 72px;
71
- margin: 0 auto;
72
- display: -webkit-box;
73
- display: -webkit-flex;
74
- display: -ms-flexbox;
75
- display: flex;
76
- -webkit-flex-direction: column;
77
- -ms-flex-direction: column;
78
- flex-direction: column;
79
- }
80
-
81
- .c5 {
82
- font-weight: bold;
83
- margin-bottom: 12px;
84
- font-size: 20px;
85
- line-height: 28px;
86
- color: #474747;
87
- }
88
-
89
- .c6 {
90
- display: grid;
91
- gap: 24px;
92
- grid-template-columns: 1fr;
93
- grid-auto-columns: 1fr;
94
- grid-auto-rows: auto;
95
- }
96
-
97
- .c7 {
98
- grid-column-start: auto;
99
- grid-column-end: span 3;
100
- border-radius: 24px;
101
- color: #474747;
102
- background-color: #ffffff;
103
- min-width: 0;
104
- }
105
-
106
- .c11 {
107
- grid-column-start: auto;
108
- grid-column-end: span 2;
109
- border-radius: 24px;
110
- color: #474747;
111
- background-color: #ffffff;
112
- min-width: 0;
113
- }
114
-
115
- .c12 {
116
- grid-column-start: auto;
117
- grid-column-end: span 1;
118
- border-radius: 24px;
119
- color: #474747;
120
- background-color: #ffffff;
121
- min-width: 0;
122
- }
123
-
124
- .c8 {
125
- padding: 0 24px;
126
- height: 48px;
127
- display: grid;
128
- -webkit-align-items: center;
129
- -webkit-box-align: center;
130
- -ms-flex-align: center;
131
- align-items: center;
132
- font-size: 16px;
133
- line-height: 24px;
134
- font-weight: bold;
135
- background-color: rgba(0,0,0,0.02);
136
- color: #474747;
137
- border-radius: 24px 24px 0 0;
138
- }
139
-
140
- .c9 {
141
- padding: 24px 24px;
142
- width: 100%;
143
- box-sizing: border-box;
144
- }
145
-
146
- .c10 {
147
- height: 184px;
148
- color: #adadad;
149
- display: -webkit-box;
150
- display: -webkit-flex;
151
- display: -ms-flexbox;
152
- display: flex;
153
- -webkit-align-items: center;
154
- -webkit-box-align: center;
155
- -ms-flex-align: center;
156
- align-items: center;
157
- -webkit-box-pack: center;
158
- -webkit-justify-content: center;
159
- -ms-flex-pack: center;
160
- justify-content: center;
161
- font-size: 14px;
162
- font-weight: bold;
163
- }
164
-
165
- @media (max-width:743px) {
166
- .c0 {
167
- background-color: #ffffff;
168
- }
169
- }
170
-
171
- @media 1160 {
172
- .c1 {
173
- display: none;
174
- }
175
- }
176
-
177
- @media (max-width:743px) {
178
- .c4 {
179
- padding: 0;
180
- }
181
- }
182
-
183
- @media (max-width:743px) {
184
- .c5 {
185
- margin-bottom: 0;
186
- padding: 12px;
187
- font-size: 16px;
188
- line-height: 24px;
189
- display: -webkit-box;
190
- display: -webkit-flex;
191
- display: -ms-flexbox;
192
- display: flex;
193
- -webkit-box-pack: center;
194
- -webkit-justify-content: center;
195
- -ms-flex-pack: center;
196
- justify-content: center;
197
- background-color: rgba(0,0,0,0.02);
198
- }
199
- }
200
-
201
- @media (max-width:743px) {
202
- .c6 {
203
- gap: 0;
204
- background-color: #ffffff;
205
- padding-bottom: 60px;
206
- }
207
- }
208
-
209
- @media 1368 {
210
- .c7 {
211
- grid-column-end: span 2;
212
- }
213
- }
214
-
215
- @media (max-width:743px) {
216
- .c7 {
217
- grid-column-end: span 1;
218
- border-radius: 0;
219
- padding-bottom: 40px;
220
- }
221
- }
222
-
223
- @media 1368 {
224
-
225
- }
226
-
227
- @media (max-width:743px) {
228
- .c11 {
229
- grid-column-end: span 1;
230
- border-radius: 0;
231
- padding-bottom: 40px;
232
- }
233
- }
234
-
235
- @media 1368 {
236
-
237
- }
238
-
239
- @media (max-width:743px) {
240
- .c12 {
241
- border-radius: 0;
242
- padding-bottom: 40px;
243
- }
244
- }
245
-
246
- @media (max-width:743px) {
247
- .c8 {
248
- margin-top: 4px;
249
- padding: 0 16px;
250
- background: none;
251
- overflow-x: auto;
252
- border-radius: unset;
253
- }
254
- }
255
-
256
- @media (max-width:743px) {
257
- .c9 {
258
- padding: 16px 16px 0;
259
- }
260
- }
261
-
262
- <div
263
- data-dark={false}
264
- >
265
- <div
266
- className="c0"
267
- >
268
- <div
269
- className="c1"
270
- >
271
- <div
272
- className="c2"
273
- >
274
- <a
275
- href="#hello"
276
- >
277
- <div
278
- aria-current={true}
279
- className="c3"
280
- >
281
- Hello
282
- </div>
283
- </a>
284
- <a
285
- href="#world"
286
- >
287
- <div
288
- className="c3"
289
- >
290
- World
291
- </div>
292
- </a>
293
- <a
294
- href="#dummy"
295
- >
296
- <div
297
- className="c3"
298
- >
299
- Dummy
300
- </div>
301
- </a>
302
- <a
303
- href="#menu"
304
- >
305
- <div
306
- className="c3"
307
- >
308
- Menu
309
- </div>
310
- </a>
311
- </div>
312
- </div>
313
- <div
314
- className="c4"
315
- >
316
- <div
317
- className="c5"
318
- >
319
- Header
320
- </div>
321
- <div
322
- className="c6"
323
- >
324
- <div
325
- className="c7"
326
- span={3}
327
- >
328
- <div
329
- className="c8"
330
- >
331
- Dummy
332
- </div>
333
- <div
334
- className="c9"
335
- >
336
- <div
337
- className="c10"
338
- >
339
- Span 3
340
- </div>
341
- </div>
342
- </div>
343
- <div
344
- className="c11"
345
- span={2}
346
- >
347
- <div
348
- className="c8"
349
- >
350
- Dummy
351
- </div>
352
- <div
353
- className="c9"
354
- >
355
- <div
356
- className="c10"
357
- >
358
- Span 2
359
- </div>
360
- </div>
361
- </div>
362
- <div
363
- className="c12"
364
- span={1}
365
- >
366
- <div
367
- className="c8"
368
- >
369
- Dummy
370
- </div>
371
- <div
372
- className="c9"
373
- >
374
- <div
375
- className="c10"
376
- >
377
- Span 1
378
- </div>
379
- </div>
380
- </div>
381
- <div
382
- className="c12"
383
- span={1}
384
- >
385
- <div
386
- className="c8"
387
- >
388
- Dummy
389
- </div>
390
- <div
391
- className="c9"
392
- >
393
- <div
394
- className="c10"
395
- >
396
- Span 1
397
- </div>
398
- </div>
399
- </div>
400
- <div
401
- className="c12"
402
- span={1}
403
- >
404
- <div
405
- className="c8"
406
- >
407
- Dummy
408
- </div>
409
- <div
410
- className="c9"
411
- >
412
- <div
413
- className="c10"
414
- >
415
- Span 1
416
- </div>
417
- </div>
418
- </div>
419
- <div
420
- className="c12"
421
- span={1}
422
- >
423
- <div
424
- className="c8"
425
- >
426
- Dummy
427
- </div>
428
- <div
429
- className="c9"
430
- >
431
- <div
432
- className="c10"
433
- >
434
- Span 1
435
- </div>
436
- </div>
437
- </div>
438
- </div>
439
- </div>
440
- </div>
441
- </div>
442
- `;
443
-
444
- exports[`Storybook Tests Sandbox/Layout Center 1`] = `
445
- .c0 {
446
- display: -webkit-box;
447
- display: -webkit-flex;
448
- display: -ms-flexbox;
449
- display: flex;
450
- background-color: #f5f5f5;
451
- }
452
-
453
- .c1 {
454
- -webkit-box-flex: 1;
455
- -webkit-flex-grow: 1;
456
- -ms-flex-positive: 1;
457
- flex-grow: 1;
458
- min-width: 0;
459
- max-width: 600px;
460
- padding: 40px 72px;
461
- margin: 0 auto;
462
- display: -webkit-box;
463
- display: -webkit-flex;
464
- display: -ms-flexbox;
465
- display: flex;
466
- -webkit-flex-direction: column;
467
- -ms-flex-direction: column;
468
- flex-direction: column;
469
- }
470
-
471
- .c2 {
472
- font-weight: bold;
473
- margin-bottom: 12px;
474
- font-size: 20px;
475
- line-height: 28px;
476
- color: #474747;
477
- }
478
-
479
- .c3 {
480
- display: grid;
481
- gap: 24px;
482
- grid-template-columns: 1fr;
483
- grid-auto-columns: 1fr;
484
- grid-auto-rows: auto;
485
- }
486
-
487
- .c4 {
488
- grid-column-start: auto;
489
- grid-column-end: span 3;
490
- border-radius: 24px;
491
- color: #474747;
492
- background-color: #ffffff;
493
- min-width: 0;
494
- }
495
-
496
- .c5 {
497
- padding: 0 40px;
498
- height: 64px;
499
- display: grid;
500
- -webkit-align-items: center;
501
- -webkit-box-align: center;
502
- -ms-flex-align: center;
503
- align-items: center;
504
- font-size: 16px;
505
- line-height: 24px;
506
- font-weight: bold;
507
- background-color: rgba(0,0,0,0.02);
508
- color: #474747;
509
- border-radius: 24px 24px 0 0;
510
- -webkit-box-pack: center;
511
- -webkit-justify-content: center;
512
- -ms-flex-pack: center;
513
- justify-content: center;
514
- }
515
-
516
- .c6 {
517
- padding: 40px 40px;
518
- width: 100%;
519
- box-sizing: border-box;
520
- }
521
-
522
- .c7 {
523
- height: 184px;
524
- color: #adadad;
525
- display: -webkit-box;
526
- display: -webkit-flex;
527
- display: -ms-flexbox;
528
- display: flex;
529
- -webkit-align-items: center;
530
- -webkit-box-align: center;
531
- -ms-flex-align: center;
532
- align-items: center;
533
- -webkit-box-pack: center;
534
- -webkit-justify-content: center;
535
- -ms-flex-pack: center;
536
- justify-content: center;
537
- font-size: 14px;
538
- font-weight: bold;
539
- }
540
-
541
- @media (max-width:743px) {
542
- .c0 {
543
- background-color: #ffffff;
544
- }
545
- }
546
-
547
- @media (max-width:743px) {
548
- .c1 {
549
- padding: 0;
550
- }
551
- }
552
-
553
- @media (max-width:743px) {
554
- .c2 {
555
- margin-bottom: 0;
556
- padding: 12px;
557
- font-size: 16px;
558
- line-height: 24px;
559
- display: -webkit-box;
560
- display: -webkit-flex;
561
- display: -ms-flexbox;
562
- display: flex;
563
- -webkit-box-pack: center;
564
- -webkit-justify-content: center;
565
- -ms-flex-pack: center;
566
- justify-content: center;
567
- background-color: rgba(0,0,0,0.02);
568
- }
569
- }
570
-
571
- @media (max-width:743px) {
572
- .c3 {
573
- gap: 0;
574
- background-color: #ffffff;
575
- padding-bottom: 60px;
576
- }
577
- }
578
-
579
- @media 1160 {
580
- .c4 {
581
- grid-column-end: span 2;
582
- }
583
- }
584
-
585
- @media (max-width:743px) {
586
- .c4 {
587
- grid-column-end: span 1;
588
- border-radius: 0;
589
- padding-bottom: 40px;
590
- }
591
- }
592
-
593
- @media (max-width:743px) {
594
- .c5 {
595
- margin-top: 4px;
596
- padding: 0 16px;
597
- background: none;
598
- overflow-x: auto;
599
- border-radius: unset;
600
- height: 48px;
601
- margin-top: 0;
602
- }
603
- }
604
-
605
- @media (max-width:743px) {
606
- .c6 {
607
- padding: 16px 16px 0;
608
- }
609
- }
610
-
611
- <div
612
- data-dark={false}
613
- >
614
- <div
615
- className="c0"
616
- >
617
- <div
618
- className="c1"
619
- >
620
- <div
621
- className="c2"
622
- >
623
- Header
624
- </div>
625
- <div
626
- className="c3"
627
- >
628
- <div
629
- className="c4"
630
- span={3}
631
- >
632
- <div
633
- className="c5"
634
- >
635
- Center
636
- </div>
637
- <div
638
- className="c6"
639
- >
640
- <div
641
- className="c7"
642
- >
643
- Hello, Flexible Grid Layout!
644
- </div>
645
- </div>
646
- </div>
647
- </div>
648
- </div>
649
- </div>
650
- </div>
651
- `;
652
-
653
- exports[`Storybook Tests Sandbox/Layout NoMenu 1`] = `
654
- .c0 {
655
- display: -webkit-box;
656
- display: -webkit-flex;
657
- display: -ms-flexbox;
658
- display: flex;
659
- background-color: #f5f5f5;
660
- }
661
-
662
- .c1 {
663
- -webkit-box-flex: 1;
664
- -webkit-flex-grow: 1;
665
- -ms-flex-positive: 1;
666
- flex-grow: 1;
667
- min-width: 0;
668
- max-width: 1224px;
669
- padding: 40px 72px;
670
- margin: 0 auto;
671
- display: -webkit-box;
672
- display: -webkit-flex;
673
- display: -ms-flexbox;
674
- display: flex;
675
- -webkit-flex-direction: column;
676
- -ms-flex-direction: column;
677
- flex-direction: column;
678
- }
679
-
680
- .c2 {
681
- font-weight: bold;
682
- margin-bottom: 12px;
683
- font-size: 20px;
684
- line-height: 28px;
685
- color: #474747;
686
- }
687
-
688
- .c3 {
689
- display: grid;
690
- gap: 24px;
691
- grid-template-columns: 1fr;
692
- grid-auto-columns: 1fr;
693
- grid-auto-rows: auto;
694
- }
695
-
696
- .c4 {
697
- grid-column-start: auto;
698
- grid-column-end: span 3;
699
- border-radius: 24px;
700
- color: #474747;
701
- background-color: #ffffff;
702
- min-width: 0;
703
- }
704
-
705
- .c8 {
706
- grid-column-start: auto;
707
- grid-column-end: span 2;
708
- border-radius: 24px;
709
- color: #474747;
710
- background-color: #ffffff;
711
- min-width: 0;
712
- }
713
-
714
- .c9 {
715
- grid-column-start: auto;
716
- grid-column-end: span 1;
717
- border-radius: 24px;
718
- color: #474747;
719
- background-color: #ffffff;
720
- min-width: 0;
721
- }
722
-
723
- .c5 {
724
- padding: 0 24px;
725
- height: 48px;
726
- display: grid;
727
- -webkit-align-items: center;
728
- -webkit-box-align: center;
729
- -ms-flex-align: center;
730
- align-items: center;
731
- font-size: 16px;
732
- line-height: 24px;
733
- font-weight: bold;
734
- background-color: rgba(0,0,0,0.02);
735
- color: #474747;
736
- border-radius: 24px 24px 0 0;
737
- }
738
-
739
- .c6 {
740
- padding: 24px 24px;
741
- width: 100%;
742
- box-sizing: border-box;
743
- }
744
-
745
- .c7 {
746
- height: 184px;
747
- color: #adadad;
748
- display: -webkit-box;
749
- display: -webkit-flex;
750
- display: -ms-flexbox;
751
- display: flex;
752
- -webkit-align-items: center;
753
- -webkit-box-align: center;
754
- -ms-flex-align: center;
755
- align-items: center;
756
- -webkit-box-pack: center;
757
- -webkit-justify-content: center;
758
- -ms-flex-pack: center;
759
- justify-content: center;
760
- font-size: 14px;
761
- font-weight: bold;
762
- }
763
-
764
- @media (max-width:743px) {
765
- .c0 {
766
- background-color: #ffffff;
767
- }
768
- }
769
-
770
- @media (max-width:743px) {
771
- .c1 {
772
- padding: 0;
773
- }
774
- }
775
-
776
- @media (max-width:743px) {
777
- .c2 {
778
- margin-bottom: 0;
779
- padding: 12px;
780
- font-size: 16px;
781
- line-height: 24px;
782
- display: -webkit-box;
783
- display: -webkit-flex;
784
- display: -ms-flexbox;
785
- display: flex;
786
- -webkit-box-pack: center;
787
- -webkit-justify-content: center;
788
- -ms-flex-pack: center;
789
- justify-content: center;
790
- background-color: rgba(0,0,0,0.02);
791
- }
792
- }
793
-
794
- @media (max-width:743px) {
795
- .c3 {
796
- gap: 0;
797
- background-color: #ffffff;
798
- padding-bottom: 60px;
799
- }
800
- }
801
-
802
- @media 1160 {
803
- .c4 {
804
- grid-column-end: span 2;
805
- }
806
- }
807
-
808
- @media (max-width:743px) {
809
- .c4 {
810
- grid-column-end: span 1;
811
- border-radius: 0;
812
- padding-bottom: 40px;
813
- }
814
- }
815
-
816
- @media 1160 {
817
-
818
- }
819
-
820
- @media (max-width:743px) {
821
- .c8 {
822
- grid-column-end: span 1;
823
- border-radius: 0;
824
- padding-bottom: 40px;
825
- }
826
- }
827
-
828
- @media 1160 {
829
-
830
- }
831
-
832
- @media (max-width:743px) {
833
- .c9 {
834
- border-radius: 0;
835
- padding-bottom: 40px;
836
- }
837
- }
838
-
839
- @media (max-width:743px) {
840
- .c5 {
841
- margin-top: 4px;
842
- padding: 0 16px;
843
- background: none;
844
- overflow-x: auto;
845
- border-radius: unset;
846
- }
847
- }
848
-
849
- @media (max-width:743px) {
850
- .c6 {
851
- padding: 16px 16px 0;
852
- }
853
- }
854
-
855
- <div
856
- data-dark={false}
857
- >
858
- <div
859
- className="c0"
860
- >
861
- <div
862
- className="c1"
863
- >
864
- <div
865
- className="c2"
866
- >
867
- Header
868
- </div>
869
- <div
870
- className="c3"
871
- >
872
- <div
873
- className="c4"
874
- span={3}
875
- >
876
- <div
877
- className="c5"
878
- >
879
- Dummy
880
- </div>
881
- <div
882
- className="c6"
883
- >
884
- <div
885
- className="c7"
886
- >
887
- Span 3
888
- </div>
889
- </div>
890
- </div>
891
- <div
892
- className="c8"
893
- span={2}
894
- >
895
- <div
896
- className="c5"
897
- >
898
- Dummy
899
- </div>
900
- <div
901
- className="c6"
902
- >
903
- <div
904
- className="c7"
905
- >
906
- Span 2
907
- </div>
908
- </div>
909
- </div>
910
- <div
911
- className="c9"
912
- span={1}
913
- >
914
- <div
915
- className="c5"
916
- >
917
- Dummy
918
- </div>
919
- <div
920
- className="c6"
921
- >
922
- <div
923
- className="c7"
924
- >
925
- Span 1
926
- </div>
927
- </div>
928
- </div>
929
- <div
930
- className="c9"
931
- span={1}
932
- >
933
- <div
934
- className="c5"
935
- >
936
- Dummy
937
- </div>
938
- <div
939
- className="c6"
940
- >
941
- <div
942
- className="c7"
943
- >
944
- Span 1
945
- </div>
946
- </div>
947
- </div>
948
- <div
949
- className="c9"
950
- span={1}
951
- >
952
- <div
953
- className="c5"
954
- >
955
- Dummy
956
- </div>
957
- <div
958
- className="c6"
959
- >
960
- <div
961
- className="c7"
962
- >
963
- Span 1
964
- </div>
965
- </div>
966
- </div>
967
- <div
968
- className="c9"
969
- span={1}
970
- >
971
- <div
972
- className="c5"
973
- >
974
- Dummy
975
- </div>
976
- <div
977
- className="c6"
978
- >
979
- <div
980
- className="c7"
981
- >
982
- Span 1
983
- </div>
984
- </div>
985
- </div>
986
- </div>
987
- </div>
988
- </div>
989
- </div>
990
- `;
991
-
992
- exports[`Storybook Tests Sandbox/Layout Wide 1`] = `
993
- .c2 {
994
- display: -webkit-box;
995
- display: -webkit-flex;
996
- display: -ms-flexbox;
997
- display: flex;
998
- -webkit-flex-direction: column;
999
- -ms-flex-direction: column;
1000
- flex-direction: column;
1001
- -webkit-align-items: flex-start;
1002
- -webkit-box-align: flex-start;
1003
- -ms-flex-align: flex-start;
1004
- align-items: flex-start;
1005
- }
1006
-
1007
- .c3 {
1008
- display: -webkit-box;
1009
- display: -webkit-flex;
1010
- display: -ms-flexbox;
1011
- display: flex;
1012
- -webkit-align-items: center;
1013
- -webkit-box-align: center;
1014
- -ms-flex-align: center;
1015
- align-items: center;
1016
- color: #858585;
1017
- border-radius: 24px;
1018
- font-weight: bold;
1019
- font-size: 14px;
1020
- line-height: 22px;
1021
- padding: 0 16px;
1022
- height: 40px;
1023
- -webkit-transition: 0.2s color;
1024
- transition: 0.2s color;
1025
- }
1026
-
1027
- .c3:hover {
1028
- -webkit-transition: 0.2s color;
1029
- transition: 0.2s color;
1030
- color: #474747;
1031
- }
1032
-
1033
- .c3[aria-current] {
1034
- color: #474747;
1035
- background-color: rgba(0,0,0,0.04);
1036
- }
1037
-
1038
- .c0 {
1039
- display: -webkit-box;
1040
- display: -webkit-flex;
1041
- display: -ms-flexbox;
1042
- display: flex;
1043
- background-color: #f5f5f5;
1044
- }
1045
-
1046
- .c1 {
1047
- min-width: 208px;
1048
- padding: 40px 0 40px 24px;
1049
- box-sizing: border-box;
1050
- }
1051
-
1052
- .c4 {
1053
- -webkit-box-flex: 1;
1054
- -webkit-flex-grow: 1;
1055
- -ms-flex-positive: 1;
1056
- flex-grow: 1;
1057
- min-width: 0;
1058
- max-width: 1224px;
1059
- padding: 40px 72px;
1060
- margin: 0 auto;
1061
- display: -webkit-box;
1062
- display: -webkit-flex;
1063
- display: -ms-flexbox;
1064
- display: flex;
1065
- -webkit-flex-direction: column;
1066
- -ms-flex-direction: column;
1067
- flex-direction: column;
1068
- }
1069
-
1070
- .c5 {
1071
- font-weight: bold;
1072
- margin-bottom: 12px;
1073
- font-size: 20px;
1074
- line-height: 28px;
1075
- color: #474747;
1076
- }
1077
-
1078
- .c6 {
1079
- display: grid;
1080
- gap: 24px;
1081
- grid-template-columns: 1fr;
1082
- grid-auto-columns: 1fr;
1083
- grid-auto-rows: auto;
1084
- }
1085
-
1086
- .c7 {
1087
- grid-column-start: auto;
1088
- grid-column-end: span 3;
1089
- border-radius: 24px;
1090
- color: #474747;
1091
- background-color: #ffffff;
1092
- min-width: 0;
1093
- }
1094
-
1095
- .c8 {
1096
- padding: 0 40px;
1097
- height: 64px;
1098
- display: grid;
1099
- -webkit-align-items: center;
1100
- -webkit-box-align: center;
1101
- -ms-flex-align: center;
1102
- align-items: center;
1103
- font-size: 16px;
1104
- line-height: 24px;
1105
- font-weight: bold;
1106
- background-color: rgba(0,0,0,0.02);
1107
- color: #474747;
1108
- border-radius: 24px 24px 0 0;
1109
- }
1110
-
1111
- .c9 {
1112
- padding: 40px 40px;
1113
- width: 100%;
1114
- box-sizing: border-box;
1115
- }
1116
-
1117
- .c10 {
1118
- height: 184px;
1119
- color: #adadad;
1120
- display: -webkit-box;
1121
- display: -webkit-flex;
1122
- display: -ms-flexbox;
1123
- display: flex;
1124
- -webkit-align-items: center;
1125
- -webkit-box-align: center;
1126
- -ms-flex-align: center;
1127
- align-items: center;
1128
- -webkit-box-pack: center;
1129
- -webkit-justify-content: center;
1130
- -ms-flex-pack: center;
1131
- justify-content: center;
1132
- font-size: 14px;
1133
- font-weight: bold;
1134
- }
1135
-
1136
- @media (max-width:743px) {
1137
- .c0 {
1138
- background-color: #ffffff;
1139
- }
1140
- }
1141
-
1142
- @media 1160 {
1143
- .c1 {
1144
- display: none;
1145
- }
1146
- }
1147
-
1148
- @media (max-width:743px) {
1149
- .c4 {
1150
- padding: 0;
1151
- }
1152
- }
1153
-
1154
- @media (max-width:743px) {
1155
- .c5 {
1156
- margin-bottom: 0;
1157
- padding: 12px;
1158
- font-size: 16px;
1159
- line-height: 24px;
1160
- display: -webkit-box;
1161
- display: -webkit-flex;
1162
- display: -ms-flexbox;
1163
- display: flex;
1164
- -webkit-box-pack: center;
1165
- -webkit-justify-content: center;
1166
- -ms-flex-pack: center;
1167
- justify-content: center;
1168
- background-color: rgba(0,0,0,0.02);
1169
- }
1170
- }
1171
-
1172
- @media (max-width:743px) {
1173
- .c6 {
1174
- gap: 0;
1175
- background-color: #ffffff;
1176
- padding-bottom: 60px;
1177
- }
1178
- }
1179
-
1180
- @media 1368 {
1181
- .c7 {
1182
- grid-column-end: span 2;
1183
- }
1184
- }
1185
-
1186
- @media (max-width:743px) {
1187
- .c7 {
1188
- grid-column-end: span 1;
1189
- border-radius: 0;
1190
- padding-bottom: 40px;
1191
- }
1192
- }
1193
-
1194
- @media (max-width:743px) {
1195
- .c8 {
1196
- margin-top: 4px;
1197
- padding: 0 16px;
1198
- background: none;
1199
- overflow-x: auto;
1200
- border-radius: unset;
1201
- height: 48px;
1202
- margin-top: 0;
1203
- }
1204
- }
1205
-
1206
- @media (max-width:743px) {
1207
- .c9 {
1208
- padding: 16px 16px 0;
1209
- }
1210
- }
1211
-
1212
- <div
1213
- data-dark={false}
1214
- >
1215
- <div
1216
- className="c0"
1217
- >
1218
- <div
1219
- className="c1"
1220
- >
1221
- <div
1222
- className="c2"
1223
- >
1224
- <a
1225
- href="#hello"
1226
- >
1227
- <div
1228
- aria-current={true}
1229
- className="c3"
1230
- >
1231
- Hello
1232
- </div>
1233
- </a>
1234
- <a
1235
- href="#world"
1236
- >
1237
- <div
1238
- className="c3"
1239
- >
1240
- World
1241
- </div>
1242
- </a>
1243
- <a
1244
- href="#dummy"
1245
- >
1246
- <div
1247
- className="c3"
1248
- >
1249
- Dummy
1250
- </div>
1251
- </a>
1252
- <a
1253
- href="#menu"
1254
- >
1255
- <div
1256
- className="c3"
1257
- >
1258
- Menu
1259
- </div>
1260
- </a>
1261
- </div>
1262
- </div>
1263
- <div
1264
- className="c4"
1265
- >
1266
- <div
1267
- className="c5"
1268
- >
1269
- Header
1270
- </div>
1271
- <div
1272
- className="c6"
1273
- >
1274
- <div
1275
- className="c7"
1276
- span={3}
1277
- >
1278
- <div
1279
- className="c8"
1280
- >
1281
- Wide
1282
- </div>
1283
- <div
1284
- className="c9"
1285
- >
1286
- <div
1287
- className="c10"
1288
- >
1289
- Hello, Flexible Grid Layout!
1290
- </div>
1291
- </div>
1292
- </div>
1293
- </div>
1294
- </div>
1295
- </div>
1296
- </div>
1297
- `;