Skip to content
This repository was archived by the owner on Jul 7, 2021. It is now read-only.

Commit 7308acc

Browse files
feat: furo-data-table extended with default slot to place e.g. pagination controls
1 parent 29b53fd commit 7308acc

File tree

6 files changed

+330
-204
lines changed

6 files changed

+330
-204
lines changed

packages/furo-data-ui/analysis.json

Lines changed: 49 additions & 86 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
"schema_version": "1.0.0",
33
"elements": [
44
{
5-
"description": "`furo-data-table`\nRead only data table based on the response type from the rest api spec.\n\n```\n<furo-data-table type=\"project.Project\"\n ƒ-bind-data=\"--data\"></furo-data-table>\n```\n\nCustom property | Description | Default | Fallback\n----------------|-------------|----------|----------\n`--furo-data-table-background` | Background color of the element | --surface | transparent\n`--furo-data-table-on-background` | Color of the element | --on-surface | black\n`--furo-data-table-select-background` | Background color of the focused table row element | --accent-light | lightgrey\n`--furo-data-table-select-on-background` | Color of the focused table row element | --on-accent | black\n\nConfiguration:\nAttribute: hide-header | hides the table header row\n\nTags: data-ui",
5+
"description": "`furo-data-table`\nRead only data table based on the response type from the rest api spec.\n\n\nCustom property | Description | Default | Fallback\n----------------|-------------|----------|----------\n`--furo-data-table-background` | Background color of the element | --surface | white\n`--furo-data-table-on-background` | Color of the element | --on-surface | black\n\nConfiguration:\nAttribute: hide-header | hides the table header row\n\nTags: data-ui",
66
"summary": "datatable",
77
"path": "packages/furo-data-ui/furo-data-table.js",
88
"properties": [
@@ -13,11 +13,11 @@
1313
"privacy": "public",
1414
"sourceRange": {
1515
"start": {
16-
"line": 82,
16+
"line": 76,
1717
"column": 8
1818
},
1919
"end": {
20-
"line": 82,
20+
"line": 76,
2121
"column": 17
2222
}
2323
},
@@ -35,11 +35,11 @@
3535
"privacy": "public",
3636
"sourceRange": {
3737
"start": {
38-
"line": 321,
38+
"line": 319,
3939
"column": 4
4040
},
4141
"end": {
42-
"line": 326,
42+
"line": 324,
4343
"column": 5
4444
}
4545
},
@@ -54,11 +54,11 @@
5454
"privacy": "public",
5555
"sourceRange": {
5656
"start": {
57-
"line": 143,
57+
"line": 150,
5858
"column": 12
5959
},
6060
"end": {
61-
"line": 147,
61+
"line": 154,
6262
"column": 13
6363
}
6464
},
@@ -75,28 +75,7 @@
7575
"privacy": "public",
7676
"sourceRange": {
7777
"start": {
78-
"line": 152,
79-
"column": 12
80-
},
81-
"end": {
82-
"line": 157,
83-
"column": 13
84-
}
85-
},
86-
"metadata": {
87-
"polymer": {
88-
"attributeType": "String"
89-
}
90-
}
91-
},
92-
{
93-
"name": "hideHeader",
94-
"type": "boolean | null | undefined",
95-
"description": "Flag to show table header information\nTRUE => shows header",
96-
"privacy": "public",
97-
"sourceRange": {
98-
"start": {
99-
"line": 162,
78+
"line": 159,
10079
"column": 12
10180
},
10281
"end": {
@@ -106,7 +85,7 @@
10685
},
10786
"metadata": {
10887
"polymer": {
109-
"attributeType": "Boolean"
88+
"attributeType": "String"
11089
}
11190
}
11291
},
@@ -165,11 +144,11 @@
165144
"privacy": "private",
166145
"sourceRange": {
167146
"start": {
168-
"line": 442,
147+
"line": 440,
169148
"column": 4
170149
},
171150
"end": {
172-
"line": 452,
151+
"line": 450,
173152
"column": 5
174153
}
175154
},
@@ -353,11 +332,11 @@
353332
"privacy": "protected",
354333
"sourceRange": {
355334
"start": {
356-
"line": 124,
335+
"line": 131,
357336
"column": 4
358337
},
359338
"end": {
360-
"line": 127,
339+
"line": 134,
361340
"column": 5
362341
}
363342
},
@@ -549,11 +528,11 @@
549528
"privacy": "public",
550529
"sourceRange": {
551530
"start": {
552-
"line": 328,
531+
"line": 326,
553532
"column": 4
554533
},
555534
"end": {
556-
"line": 342,
535+
"line": 340,
557536
"column": 5
558537
}
559538
},
@@ -579,11 +558,11 @@
579558
"privacy": "private",
580559
"sourceRange": {
581560
"start": {
582-
"line": 350,
561+
"line": 348,
583562
"column": 4
584563
},
585564
"end": {
586-
"line": 368,
565+
"line": 366,
587566
"column": 5
588567
}
589568
},
@@ -603,11 +582,11 @@
603582
"privacy": "private",
604583
"sourceRange": {
605584
"start": {
606-
"line": 375,
585+
"line": 373,
607586
"column": 4
608587
},
609588
"end": {
610-
"line": 385,
589+
"line": 383,
611590
"column": 5
612591
}
613592
},
@@ -627,11 +606,11 @@
627606
"privacy": "private",
628607
"sourceRange": {
629608
"start": {
630-
"line": 393,
609+
"line": 391,
631610
"column": 4
632611
},
633612
"end": {
634-
"line": 403,
613+
"line": 401,
635614
"column": 5
636615
}
637616
},
@@ -651,11 +630,11 @@
651630
"privacy": "protected",
652631
"sourceRange": {
653632
"start": {
654-
"line": 408,
633+
"line": 406,
655634
"column": 4
656635
},
657636
"end": {
658-
"line": 435,
637+
"line": 433,
659638
"column": 5
660639
}
661640
},
@@ -675,11 +654,11 @@
675654
"privacy": "public",
676655
"sourceRange": {
677656
"start": {
678-
"line": 458,
657+
"line": 456,
679658
"column": 4
680659
},
681660
"end": {
682-
"line": 472,
661+
"line": 470,
683662
"column": 5
684663
}
685664
},
@@ -700,11 +679,11 @@
700679
"privacy": "private",
701680
"sourceRange": {
702681
"start": {
703-
"line": 479,
682+
"line": 477,
704683
"column": 4
705684
},
706685
"end": {
707-
"line": 510,
686+
"line": 511,
708687
"column": 5
709688
}
710689
},
@@ -720,11 +699,11 @@
720699
"privacy": "public",
721700
"sourceRange": {
722701
"start": {
723-
"line": 516,
702+
"line": 517,
724703
"column": 4
725704
},
726705
"end": {
727-
"line": 535,
706+
"line": 536,
728707
"column": 5
729708
}
730709
},
@@ -744,11 +723,11 @@
744723
"privacy": "public",
745724
"sourceRange": {
746725
"start": {
747-
"line": 540,
726+
"line": 541,
748727
"column": 4
749728
},
750729
"end": {
751-
"line": 543,
730+
"line": 544,
752731
"column": 5
753732
}
754733
},
@@ -764,11 +743,11 @@
764743
"privacy": "public",
765744
"sourceRange": {
766745
"start": {
767-
"line": 548,
746+
"line": 549,
768747
"column": 4
769748
},
770749
"end": {
771-
"line": 550,
750+
"line": 551,
772751
"column": 5
773752
}
774753
},
@@ -784,11 +763,11 @@
784763
"privacy": "public",
785764
"sourceRange": {
786765
"start": {
787-
"line": 555,
766+
"line": 556,
788767
"column": 4
789768
},
790769
"end": {
791-
"line": 570,
770+
"line": 571,
792771
"column": 5
793772
}
794773
},
@@ -804,11 +783,11 @@
804783
"privacy": "public",
805784
"sourceRange": {
806785
"start": {
807-
"line": 575,
786+
"line": 576,
808787
"column": 4
809788
},
810789
"end": {
811-
"line": 577,
790+
"line": 578,
812791
"column": 5
813792
}
814793
},
@@ -824,11 +803,11 @@
824803
"privacy": "public",
825804
"sourceRange": {
826805
"start": {
827-
"line": 582,
806+
"line": 583,
828807
"column": 4
829808
},
830809
"end": {
831-
"line": 586,
810+
"line": 587,
832811
"column": 5
833812
}
834813
},
@@ -844,11 +823,11 @@
844823
"privacy": "public",
845824
"sourceRange": {
846825
"start": {
847-
"line": 591,
826+
"line": 592,
848827
"column": 4
849828
},
850829
"end": {
851-
"line": 596,
830+
"line": 597,
852831
"column": 5
853832
}
854833
},
@@ -864,7 +843,7 @@
864843
"privacy": "private",
865844
"sourceRange": {
866845
"start": {
867-
"line": 603,
846+
"line": 604,
868847
"column": 4
869848
},
870849
"end": {
@@ -921,7 +900,7 @@
921900
"metadata": {},
922901
"sourceRange": {
923902
"start": {
924-
"line": 51,
903+
"line": 45,
925904
"column": 0
926905
},
927906
"end": {
@@ -938,11 +917,11 @@
938917
"description": "Typedefinition of row items\nREST SPEC Type\ne.g. task.Task.[type]",
939918
"sourceRange": {
940919
"start": {
941-
"line": 321,
920+
"line": 319,
942921
"column": 4
943922
},
944923
"end": {
945-
"line": 326,
924+
"line": 324,
946925
"column": 5
947926
}
948927
},
@@ -954,11 +933,11 @@
954933
"description": "list of fields which columns should be displayed\ncomma separated field list",
955934
"sourceRange": {
956935
"start": {
957-
"line": 143,
936+
"line": 150,
958937
"column": 12
959938
},
960939
"end": {
961-
"line": 147,
940+
"line": 154,
962941
"column": 13
963942
}
964943
},
@@ -970,23 +949,7 @@
970949
"description": "list of sortable fields\ncomma separated field list",
971950
"sourceRange": {
972951
"start": {
973-
"line": 152,
974-
"column": 12
975-
},
976-
"end": {
977-
"line": 157,
978-
"column": 13
979-
}
980-
},
981-
"metadata": {},
982-
"type": "string | null | undefined"
983-
},
984-
{
985-
"name": "hide-header",
986-
"description": "Flag to show table header information\nTRUE => shows header",
987-
"sourceRange": {
988-
"start": {
989-
"line": 162,
952+
"line": 159,
990953
"column": 12
991954
},
992955
"end": {
@@ -995,7 +958,7 @@
995958
}
996959
},
997960
"metadata": {},
998-
"type": "boolean | null | undefined"
961+
"type": "string | null | undefined"
999962
},
1000963
{
1001964
"name": "single-selection",

0 commit comments

Comments
 (0)