@@ -15,6 +15,7 @@ import {
15
15
Combobox ,
16
16
DataGrid ,
17
17
DateField ,
18
+ Disclosure ,
18
19
Divider ,
19
20
Listbox ,
20
21
Menu ,
@@ -27,6 +28,7 @@ import {
27
28
RadioGroup ,
28
29
Search ,
29
30
Select ,
31
+ Skeleton ,
30
32
Slider ,
31
33
SliderLabel ,
32
34
Switch ,
@@ -331,6 +333,9 @@ function Artwork(props: { dataRef: React.Ref<WebDataGrid> }): JSX.Element {
331
333
</ Checkbox >
332
334
</ div >
333
335
< Switch onChange = { onChangeConsole } > Switch</ Switch >
336
+ < Disclosure title = "Disclosure" >
337
+ < p > Very long blabla</ p >
338
+ </ Disclosure >
334
339
</ div >
335
340
< div className = "jp-FlexColumn" style = { { gridColumn : 3 } } >
336
341
< Avatar shape = "circle" > JS</ Avatar >
@@ -413,6 +418,19 @@ function Artwork(props: { dataRef: React.Ref<WebDataGrid> }): JSX.Element {
413
418
aria-label = "With Sticky Header"
414
419
> </ DataGrid >
415
420
421
+ < div style = { { display : 'block' , width : '100%' } } >
422
+ < Skeleton
423
+ shimmer = { true }
424
+ shape = "circle"
425
+ style = { { borderRadius : '4px' , width : '50px' , height : '50px' } }
426
+ > </ Skeleton >
427
+ < Skeleton
428
+ shimmer = { true }
429
+ shape = "rect"
430
+ style = { { borderRadius : '4px' , marginTop : '10px' , height : '10px' } }
431
+ > </ Skeleton >
432
+ </ div >
433
+
416
434
< Tabs onChange = { onEvent } >
417
435
< Tab id = "one" > One</ Tab >
418
436
< Tab id = "two" > Two</ Tab >
@@ -530,6 +548,9 @@ function createNode(): HTMLElement {
530
548
<jp-checkbox disabled>Label</jp-checkbox>
531
549
</div>
532
550
<jp-switch>Switch</jp-switch>
551
+ <jp-disclosure title="Disclosure">
552
+ <p>Very long blablabla to be disclosed.</p>
553
+ </jp-disclosure>
533
554
</div>
534
555
<div class="jp-FlexColumn" style="grid-column: 3;">
535
556
<jp-badge>18</jp-badge>
@@ -607,6 +628,19 @@ function createNode(): HTMLElement {
607
628
608
629
<jp-data-grid id="basic-grid" generate-header="sticky" aria-label="With Sticky Header"></jp-data-grid>
609
630
631
+ <div style="display: block; width: 100%;">
632
+ <jp-skeleton
633
+ style="border-radius: 4px; width: 50px; height: 50px;"
634
+ shape="circle"
635
+ shimmer
636
+ ></jp-skeleton>
637
+ <jp-skeleton
638
+ style="border-radius: 4px; margin-top: 10px; height: 10px;"
639
+ shape="rect"
640
+ shimmer
641
+ ></jp-skeleton>
642
+ </div>
643
+
610
644
<jp-tabs aria-label="Default">
611
645
<jp-tab id="tab-1">Tab 1</jp-tab>
612
646
<jp-tab id="tab-2">Tab 2</jp-tab>
0 commit comments