From 6012d5539f9447b16017d46f668dea66ca5f5704 Mon Sep 17 00:00:00 2001 From: Emil Petrov Date: Fri, 26 May 2023 15:46:38 +0300 Subject: [PATCH] test(grid): add large size test --- packages/html/src/grid/tests/grid-size-lg.tsx | 434 ++++++++++++++++++ 1 file changed, 434 insertions(+) create mode 100644 packages/html/src/grid/tests/grid-size-lg.tsx diff --git a/packages/html/src/grid/tests/grid-size-lg.tsx b/packages/html/src/grid/tests/grid-size-lg.tsx new file mode 100644 index 00000000000..834cf857951 --- /dev/null +++ b/packages/html/src/grid/tests/grid-size-lg.tsx @@ -0,0 +1,434 @@ +import { Button } from '../../button'; +import { Checkbox } from '../../checkbox'; +import { Chip, ChipAction, ChipList } from '../../chip'; +import { DropdownList } from '../../dropdownlist'; +import { Icon } from '../../icon'; +import { NumericTextbox } from '../../numerictextbox'; +import { Pager } from '../../pager'; +import { Textbox } from '../../textbox'; +import { Toolbar } from '../../toolbar'; + + +const styles = ` + .k-grouping-header .k-grouping-dropclue { + left: 0; + } + .k-drag-clue { + position: relative; + } +`; + +export default () =>( + <> + +
+ + Grid + +
+
+
+
+ + + + + + + + + + + +
+ + + 100px + + + + + + no width + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + + +
1Row
2Alt row
3 + This text continues to the end of the grid to test overflow behavior of row contents, as well as line height and vertical alignment. +
4
5
+
+ +
+
+ + Filtering +
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + +
+ + + + Default + + + + + + + Hover + + + + + + + Focus + + + + + + + Active + + + + + + + Sorted + + + + +
+
+
+
+
+
+
+
+ +
+ + {' '} + +
+
+
+
+
+
+ +
+ + {' '} + +
+
+
+
+
+
+ +
+ + {' '} + +
+
+
+
+
+
+ +
+ + {' '} + +
+
+
+
+
+
+
+
+
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + + +
+ + 1TextTextTextText
+ {/* hierarchy child content */} +
+ Nested content +
+
+ + 2TextTextTextText
+
+
+
+ + Editing +
+
+ + + +
+
+ + + + + + + + + + + + +
+ + + Name + + + + + + Price + + + + + + Available + + +  
+
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + +
+ + + +
Price
+
+ + +
+ + LongSingleWordTestLongSingleWordTestLongSingleWordTestLongSingleWordTest + 18false + + +
Chang19false + + +
+
+
+ +
+ + Grouping +
+
+
+
+ + }>Price + }>Name + +
+
+
+
+ + + + + + + + + + + + + +
+ + + Name + + + + + + Price + + + + + + Available + + + + + + Units + + +
+
+
+
+ + + + + + + + + + + + + + + + + + + +
+

+ + Price: 19 +

+
+

+ + Price: 30 +

+
 Chai30false15
+
+
+
+
+ +);