@@ -432,7 +432,7 @@ A maximum height will applied to the datatable to force a scrollbar.
432432
433433## With toolbar (small size)
434434
435- <DataTable size="short " title="Load balancers" description="Your organization's active load balancers."
435+ <DataTable size="sm " title="Load balancers" description="Your organization's active load balancers."
436436 headers="{[
437437 { key: "name", value: "Name" },
438438 { key: "protocol", value: "Protocol" },
@@ -570,9 +570,64 @@ Note that in-memory filtering is not optimal for large data sets, where you migh
570570 ]}"
571571/>
572572
573- ## Tall rows
573+ ## Extra large rows
574574
575- <DataTable size="tall"
575+ <DataTable size="xl"
576+ headers="{[
577+ { key: "name", value: "Name" },
578+ { key: "protocol", value: "Protocol" },
579+ { key: "port", value: "Port" },
580+ { key: "rule", value: "Rule" }
581+ ]}"
582+ rows="{[
583+ {
584+ id: "a",
585+ name: "Load Balancer 3",
586+ protocol: "HTTP",
587+ port: 3000,
588+ rule: "Round robin"
589+ },
590+ {
591+ id: "b",
592+ name: "Load Balancer 1",
593+ protocol: "HTTP",
594+ port: 443,
595+ rule: "Round robin"
596+ },
597+ {
598+ id: "c",
599+ name: "Load Balancer 2",
600+ protocol: "HTTP",
601+ port: 80,
602+ rule: "DNS delegation"
603+ },
604+ {
605+ id: "d",
606+ name: "Load Balancer 6",
607+ protocol: "HTTP",
608+ port: 3000,
609+ rule: "Round robin"
610+ },
611+ {
612+ id: "e",
613+ name: "Load Balancer 4",
614+ protocol: "HTTP",
615+ port: 443,
616+ rule: "Round robin"
617+ },
618+ {
619+ id: "f",
620+ name: "Load Balancer 5",
621+ protocol: "HTTP",
622+ port: 80,
623+ rule: "DNS delegation"
624+ },
625+ ]}"
626+ />
627+
628+ ## Large rows (default)
629+
630+ <DataTable size="lg"
576631 headers="{[
577632 { key: "name", value: "Name" },
578633 { key: "protocol", value: "Protocol" },
@@ -627,7 +682,7 @@ Note that in-memory filtering is not optimal for large data sets, where you migh
627682
628683## Medium rows
629684
630- <DataTable size="medium "
685+ <DataTable size="md "
631686 headers="{[
632687 { key: "name", value: "Name" },
633688 { key: "protocol", value: "Protocol" },
@@ -680,9 +735,9 @@ Note that in-memory filtering is not optimal for large data sets, where you migh
680735 ]}"
681736/>
682737
683- ## Short rows
738+ ## Small rows
684739
685- <DataTable size="short "
740+ <DataTable size="sm "
686741 headers="{[
687742 { key: "name", value: "Name" },
688743 { key: "protocol", value: "Protocol" },
@@ -735,9 +790,9 @@ Note that in-memory filtering is not optimal for large data sets, where you migh
735790 ]}"
736791/>
737792
738- ## Compact rows
793+ ## Extra small rows
739794
740- <DataTable size="compact "
795+ <DataTable size="xs "
741796 headers="{[
742797 { key: "name", value: "Name" },
743798 { key: "protocol", value: "Protocol" },
@@ -1138,9 +1193,9 @@ Use `nonExpandableRowIds` to specify the ids for rows that should not be expanda
11381193
11391194<FileSource src="/framed/DataTable/DataTableExpandableZebra" />
11401195
1141- ## Expandable (compact size)
1196+ ## Expandable (extra small size)
11421197
1143- <DataTable size="compact " expandable
1198+ <DataTable size="xs " expandable
11441199 headers="{[
11451200 { key: "name", value: "Name" },
11461201 { key: "protocol", value: "Protocol" },
@@ -1197,9 +1252,9 @@ Use `nonExpandableRowIds` to specify the ids for rows that should not be expanda
11971252 </svelte:fragment>
11981253</DataTable>
11991254
1200- ## Expandable (short size)
1255+ ## Expandable (small size)
12011256
1202- <DataTable size="short " expandable
1257+ <DataTable size="sm " expandable
12031258 headers="{[
12041259 { key: "name", value: "Name" },
12051260 { key: "protocol", value: "Protocol" },
@@ -1256,9 +1311,9 @@ Use `nonExpandableRowIds` to specify the ids for rows that should not be expanda
12561311 </svelte:fragment>
12571312</DataTable>
12581313
1259- ## Expandable (tall size)
1314+ ## Expandable (extra tall size)
12601315
1261- <DataTable size="tall " expandable
1316+ <DataTable size="xl " expandable
12621317 headers="{[
12631318 { key: "name", value: "Name" },
12641319 { key: "protocol", value: "Protocol" },
@@ -1406,14 +1461,22 @@ Pass an object with `"empty"` set to `true` to render an empty table header colu
14061461
14071462<DataTableSkeleton showHeader={false} showToolbar={false} />
14081463
1409- ## Skeleton (tall size)
1464+ ## Skeleton (extra large size)
1465+
1466+ <DataTableSkeleton showHeader={false} showToolbar={false} size="xl" />
1467+
1468+ ## Skeleton (large size)
1469+
1470+ <DataTableSkeleton showHeader={false} showToolbar={false} size="lg" />
1471+
1472+ ## Skeleton (medium size)
14101473
1411- <DataTableSkeleton showHeader={false} showToolbar={false} size="tall " />
1474+ <DataTableSkeleton showHeader={false} showToolbar={false} size="md " />
14121475
1413- ## Skeleton (short size)
1476+ ## Skeleton (small size)
14141477
1415- <DataTableSkeleton showHeader={false} showToolbar={false} size="short " />
1478+ <DataTableSkeleton showHeader={false} showToolbar={false} size="sm " />
14161479
1417- ## Skeleton (compact size)
1480+ ## Skeleton (extra small size)
14181481
1419- <DataTableSkeleton showHeader={false} showToolbar={false} size="compact " />
1482+ <DataTableSkeleton showHeader={false} showToolbar={false} size="xs " />
0 commit comments