@progress/kendo-themes-html 13.1.0-dev.1 → 13.1.0-dev.2
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.
- package/dist/cjs/filemanager/demos/filemanager.js +1 -1
- package/dist/cjs/filemanager/file-info.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-grid.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-normal.js +1 -1
- package/dist/cjs/filemanager/templates/filemanager-preview.js +1 -1
- package/dist/cjs/gantt/demos/gantt.js +1 -1
- package/dist/cjs/gantt/templates/gantt-normal.js +1 -1
- package/dist/cjs/gantt/templates/gantt-row-reordering.js +1 -1
- package/dist/cjs/grid/demos/grid.js +1 -1
- package/dist/cjs/grid/grid-pinned-container.spec.js +1 -0
- package/dist/cjs/grid/grid-sticky-container.spec.js +1 -1
- package/dist/cjs/grid/templates/grid-hierarchy.js +1 -1
- package/dist/cjs/grid/templates/grid-normal.js +1 -1
- package/dist/cjs/grid/templates/grid-with-column-menu.js +1 -1
- package/dist/cjs/grid/templates/grid-with-edit-row.js +1 -1
- package/dist/cjs/grid/templates/grid-with-filter-menu.js +1 -1
- package/dist/cjs/grid/templates/grid-with-filter-row.js +1 -1
- package/dist/cjs/grid/templates/grid-with-grouping.js +1 -1
- package/dist/cjs/grid/templates/grid-with-locked-columns.js +1 -1
- package/dist/cjs/grid/templates/grid-with-multicolumn-headers.js +1 -1
- package/dist/cjs/grid/templates/grid-with-row-reordering.js +1 -1
- package/dist/cjs/grid/templates/grid-with-selection-aggregates.js +1 -1
- package/dist/cjs/grid/templates/grid-with-sticky-columns.js +1 -1
- package/dist/cjs/index.js +8 -8
- package/dist/cjs/propertygrid/demos/propertygrid.js +1 -1
- package/dist/cjs/propertygrid/propertygrid.spec.js +1 -1
- package/dist/cjs/propertygrid/templates/propertygrid-normal.js +1 -1
- package/dist/cjs/propertygrid/templates/propertygrid-with-preview.js +1 -1
- package/dist/cjs/treelist/demos/treelist.js +1 -1
- package/dist/cjs/treelist/templates/treelist-aggregates.js +1 -1
- package/dist/cjs/treelist/templates/treelist-normal.js +1 -1
- package/dist/cjs/treelist/templates/treelist-row-reordering.js +1 -1
- package/dist/cjs/treelist/templates/treelist-with-column-menu.js +1 -1
- package/dist/cjs/treelist/templates/treelist-with-filter-menu.js +1 -1
- package/dist/cjs/treelist/treelist.spec.js +1 -1
- package/dist/esm/filemanager/demos/filemanager.mjs +1 -1
- package/dist/esm/filemanager/file-info.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid-preview.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-grid.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-normal.mjs +1 -1
- package/dist/esm/filemanager/templates/filemanager-preview.mjs +1 -1
- package/dist/esm/gantt/demos/gantt.mjs +1 -1
- package/dist/esm/gantt/templates/gantt-normal.mjs +1 -1
- package/dist/esm/gantt/templates/gantt-row-reordering.mjs +1 -1
- package/dist/esm/grid/demos/grid.mjs +1 -1
- package/dist/esm/grid/grid-pinned-container.spec.mjs +1 -0
- package/dist/esm/grid/grid-sticky-container.spec.mjs +1 -1
- package/dist/esm/grid/templates/grid-hierarchy.mjs +1 -1
- package/dist/esm/grid/templates/grid-normal.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-column-menu.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-edit-row.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-filter-menu.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-filter-row.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-grouping.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-locked-columns.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-multicolumn-headers.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-row-reordering.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-selection-aggregates.mjs +1 -1
- package/dist/esm/grid/templates/grid-with-sticky-columns.mjs +1 -1
- package/dist/esm/index.mjs +8 -8
- package/dist/esm/propertygrid/demos/propertygrid.mjs +1 -1
- package/dist/esm/propertygrid/propertygrid.spec.mjs +1 -1
- package/dist/esm/propertygrid/templates/propertygrid-normal.mjs +1 -1
- package/dist/esm/propertygrid/templates/propertygrid-with-preview.mjs +1 -1
- package/dist/esm/treelist/demos/treelist.mjs +1 -1
- package/dist/esm/treelist/templates/treelist-aggregates.mjs +1 -1
- package/dist/esm/treelist/templates/treelist-normal.mjs +1 -1
- package/dist/esm/treelist/templates/treelist-row-reordering.mjs +1 -1
- package/dist/esm/treelist/templates/treelist-with-column-menu.mjs +1 -1
- package/dist/esm/treelist/templates/treelist-with-filter-menu.mjs +1 -1
- package/dist/esm/treelist/treelist.spec.mjs +1 -1
- package/dist/types/grid/grid-pinned-container.spec.d.ts +6 -0
- package/dist/types/grid/index.d.ts +1 -0
- package/dist/types/grid/tests/grid-row-pinning-with-sticky-grouping.d.ts +2 -0
- package/package.json +2 -2
- package/src/grid/grid-pinned-container.spec.tsx +38 -0
- package/src/grid/grid-sticky-container.spec.tsx +4 -10
- package/src/grid/index.ts +2 -1
- package/src/grid/templates/grid-with-sticky-columns.tsx +22 -22
- package/src/grid/tests/grid-group-row-pinning-adaptive.tsx +24 -22
- package/src/grid/tests/grid-group-row-pinning.tsx +87 -79
- package/src/grid/tests/grid-row-pinning-adaptive.tsx +22 -19
- package/src/grid/tests/grid-row-pinning-with-sticky-grouping.tsx +177 -0
- package/src/grid/tests/grid-row-pinning.tsx +123 -111
- package/src/grid/tests/grid-sticky-grouping.tsx +43 -43
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { KendoComponent } from '../_types/component';
|
|
2
|
+
export declare const GRID_PINNED_CONTAINER_CLASSNAME = "k-grid-pinned-container";
|
|
3
|
+
export type GridPinnedContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
4
|
+
position?: 'top' | 'bottom';
|
|
5
|
+
};
|
|
6
|
+
export declare const GridPinnedContainer: KendoComponent<GridPinnedContainerProps>;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './grid.spec';
|
|
2
2
|
export * from './grid-header.spec';
|
|
3
3
|
export * from './grid-grouping-header.spec';
|
|
4
|
+
export * from './grid-pinned-container.spec';
|
|
4
5
|
export * from './grid-sticky-container.spec';
|
|
5
6
|
export * from './grid-header-table.spec';
|
|
6
7
|
export * from './grid-header-cell.spec';
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@progress/kendo-themes-html",
|
|
3
3
|
"description": "A collection of HTML helpers used for developing Kendo UI themes",
|
|
4
|
-
"version": "13.1.0-dev.
|
|
4
|
+
"version": "13.1.0-dev.2",
|
|
5
5
|
"author": "Progress",
|
|
6
6
|
"license": "Apache-2.0",
|
|
7
7
|
"keywords": [
|
|
@@ -62,5 +62,5 @@
|
|
|
62
62
|
"react-dom": "^19.0.0",
|
|
63
63
|
"vitest": "^4.0.18"
|
|
64
64
|
},
|
|
65
|
-
"gitHead": "
|
|
65
|
+
"gitHead": "feda774a2c88006abd77d1e709272d33792a49b3"
|
|
66
66
|
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { classNames } from '../misc';
|
|
2
|
+
|
|
3
|
+
import { KendoComponent } from '../_types/component';
|
|
4
|
+
import { GRID_FOLDER_NAME, GRID_MODULE_NAME } from './constants';
|
|
5
|
+
|
|
6
|
+
export const GRID_PINNED_CONTAINER_CLASSNAME = `k-grid-pinned-container`;
|
|
7
|
+
|
|
8
|
+
export type GridPinnedContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
9
|
+
position?: 'top' | 'bottom';
|
|
10
|
+
};
|
|
11
|
+
|
|
12
|
+
export const GridPinnedContainer: KendoComponent<GridPinnedContainerProps> = (
|
|
13
|
+
props: GridPinnedContainerProps
|
|
14
|
+
) => {
|
|
15
|
+
const {
|
|
16
|
+
position,
|
|
17
|
+
...other
|
|
18
|
+
} = props;
|
|
19
|
+
|
|
20
|
+
return (
|
|
21
|
+
<div
|
|
22
|
+
{...other}
|
|
23
|
+
className={classNames(
|
|
24
|
+
props.className,
|
|
25
|
+
GRID_PINNED_CONTAINER_CLASSNAME,
|
|
26
|
+
{
|
|
27
|
+
'k-pos-bottom': position === 'bottom',
|
|
28
|
+
}
|
|
29
|
+
)}
|
|
30
|
+
>
|
|
31
|
+
{props.children}
|
|
32
|
+
</div>
|
|
33
|
+
);
|
|
34
|
+
};
|
|
35
|
+
|
|
36
|
+
GridPinnedContainer.className = GRID_PINNED_CONTAINER_CLASSNAME;
|
|
37
|
+
GridPinnedContainer.moduleName = GRID_MODULE_NAME;
|
|
38
|
+
GridPinnedContainer.folderName = GRID_FOLDER_NAME;
|
|
@@ -9,27 +9,22 @@ export type GridStickyContainerProps = React.HTMLAttributes<HTMLDivElement> & {
|
|
|
9
9
|
position?: 'top' | 'bottom';
|
|
10
10
|
};
|
|
11
11
|
|
|
12
|
-
const defaultProps = {
|
|
13
|
-
position: 'top'
|
|
14
|
-
};
|
|
15
|
-
|
|
16
12
|
export const GridStickyContainer: KendoComponent<GridStickyContainerProps> = (
|
|
17
13
|
props: GridStickyContainerProps
|
|
18
14
|
) => {
|
|
19
15
|
const {
|
|
20
|
-
position
|
|
21
|
-
...
|
|
16
|
+
position,
|
|
17
|
+
...other
|
|
22
18
|
} = props;
|
|
23
19
|
|
|
24
20
|
return (
|
|
25
21
|
<div
|
|
26
|
-
{...
|
|
22
|
+
{...other}
|
|
27
23
|
className={classNames(
|
|
28
24
|
props.className,
|
|
29
25
|
GRID_STICKY_CONTAINER_CLASSNAME,
|
|
30
26
|
{
|
|
31
|
-
'k-
|
|
32
|
-
'k-grid-sticky-bottom-container': position === 'bottom',
|
|
27
|
+
'k-pos-bottom': position === 'bottom',
|
|
33
28
|
}
|
|
34
29
|
)}
|
|
35
30
|
>
|
|
@@ -39,6 +34,5 @@ export const GridStickyContainer: KendoComponent<GridStickyContainerProps> = (
|
|
|
39
34
|
};
|
|
40
35
|
|
|
41
36
|
GridStickyContainer.className = GRID_STICKY_CONTAINER_CLASSNAME;
|
|
42
|
-
GridStickyContainer.defaultProps = defaultProps;
|
|
43
37
|
GridStickyContainer.moduleName = GRID_MODULE_NAME;
|
|
44
38
|
GridStickyContainer.folderName = GRID_FOLDER_NAME;
|
package/src/grid/index.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
export * from './grid.spec';
|
|
2
2
|
export * from './grid-header.spec';
|
|
3
3
|
export * from './grid-grouping-header.spec';
|
|
4
|
+
export * from './grid-pinned-container.spec';
|
|
4
5
|
export * from './grid-sticky-container.spec';
|
|
5
6
|
export * from './grid-header-table.spec';
|
|
6
7
|
export * from './grid-header-cell.spec';
|
|
@@ -26,4 +27,4 @@ export * from './templates/grid-with-locked-columns';
|
|
|
26
27
|
export * from './templates/grid-with-sticky-columns';
|
|
27
28
|
export * from './templates/grid-with-edit-row';
|
|
28
29
|
export * from './templates/grid-stack';
|
|
29
|
-
export * from './demos/grid';
|
|
30
|
+
export * from './demos/grid';
|
|
@@ -17,10 +17,10 @@ export const GridWithStickyColumns = ({ contentClassName, ...other }: any) => (
|
|
|
17
17
|
</colgroup>
|
|
18
18
|
<TableThead>
|
|
19
19
|
<TableRow>
|
|
20
|
-
<GridHeaderCell className="k-grid-header-sticky" rowspan={1} colspan={1} columnTitle="Product Name" style={{ left: '0px',
|
|
20
|
+
<GridHeaderCell className="k-grid-header-sticky" rowspan={1} colspan={1} columnTitle="Product Name" style={{ left: '0px', borderRightWidth: "1px" }}></GridHeaderCell>
|
|
21
21
|
<GridHeaderCell rowspan={1} colspan={1} columnTitle="Units In Stock"></GridHeaderCell>
|
|
22
22
|
<GridHeaderCell rowspan={1} colspan={1} columnTitle="Price"></GridHeaderCell>
|
|
23
|
-
<GridHeaderCell className="k-grid-header-sticky" rowspan={1} colspan={1} columnTitle="Units on Order" style={{ left: "250px",
|
|
23
|
+
<GridHeaderCell className="k-grid-header-sticky" rowspan={1} colspan={1} columnTitle="Units on Order" style={{ left: "250px", borderRightWidth: "1px" }}></GridHeaderCell>
|
|
24
24
|
<GridHeaderCell rowspan={1} colspan={1} columnTitle="Reorder Level"></GridHeaderCell>
|
|
25
25
|
</TableRow>
|
|
26
26
|
</TableThead>
|
|
@@ -40,73 +40,73 @@ export const GridWithStickyColumns = ({ contentClassName, ...other }: any) => (
|
|
|
40
40
|
</colgroup>
|
|
41
41
|
<TableTbody>
|
|
42
42
|
<TableRow className="k-master-row">
|
|
43
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
43
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Chai</TableTd>
|
|
44
44
|
<TableTd colspan={1}>39</TableTd>
|
|
45
45
|
<TableTd colspan={1}>$18.00</TableTd>
|
|
46
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
46
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
47
47
|
<TableTd colspan={1}>10</TableTd>
|
|
48
48
|
</TableRow>
|
|
49
49
|
<TableRow className="k-master-row" role="row" alt>
|
|
50
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
50
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Chang</TableTd>
|
|
51
51
|
<TableTd colspan={1}>17</TableTd>
|
|
52
52
|
<TableTd colspan={1}>$19.00</TableTd>
|
|
53
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
53
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>40</TableTd>
|
|
54
54
|
<TableTd colspan={1}>25</TableTd>
|
|
55
55
|
</TableRow>
|
|
56
56
|
<TableRow className="k-master-row" role="row">
|
|
57
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
57
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Aniseed Syrup</TableTd>
|
|
58
58
|
<TableTd colspan={1}>13</TableTd>
|
|
59
59
|
<TableTd colspan={1}>$10.00</TableTd>
|
|
60
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
60
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>70</TableTd>
|
|
61
61
|
<TableTd colspan={1}>25</TableTd>
|
|
62
62
|
</TableRow>
|
|
63
63
|
<TableRow className="k-master-row" role="row" alt>
|
|
64
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
64
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Chef Anton's Cajun Seasoning</TableTd>
|
|
65
65
|
<TableTd colspan={1}>53</TableTd>
|
|
66
66
|
<TableTd colspan={1}>$22.00</TableTd>
|
|
67
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
67
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
68
68
|
<TableTd colspan={1}>0</TableTd>
|
|
69
69
|
</TableRow>
|
|
70
70
|
<TableRow className="k-master-row" role="row" >
|
|
71
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
71
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Chef Anton's Gumbo Mix</TableTd>
|
|
72
72
|
<TableTd colspan={1}>0</TableTd>
|
|
73
73
|
<TableTd colspan={1}>$21.35</TableTd>
|
|
74
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
74
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
75
75
|
<TableTd colspan={1}>0</TableTd>
|
|
76
76
|
</TableRow>
|
|
77
77
|
<TableRow className="k-master-row" role="row" alt >
|
|
78
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
78
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Grandma's Boysenberry Spread</TableTd>
|
|
79
79
|
<TableTd colspan={1}>120</TableTd>
|
|
80
80
|
<TableTd colspan={1}>$25.00</TableTd>
|
|
81
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
81
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
82
82
|
<TableTd colspan={1}>25</TableTd>
|
|
83
83
|
</TableRow>
|
|
84
84
|
<TableRow className="k-master-row" role="row">
|
|
85
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
85
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Uncle Bob's Organic Dried Pears</TableTd>
|
|
86
86
|
<TableTd colspan={1}>15</TableTd>
|
|
87
87
|
<TableTd colspan={1}>$30.00</TableTd>
|
|
88
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
88
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
89
89
|
<TableTd colspan={1}>10</TableTd>
|
|
90
90
|
</TableRow>
|
|
91
91
|
<TableRow className="k-master-row" role="row" alt>
|
|
92
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
92
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Northwoods Cranberry Sauce</TableTd>
|
|
93
93
|
<TableTd colspan={1}>6</TableTd>
|
|
94
94
|
<TableTd colspan={1}>$40.00</TableTd>
|
|
95
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
95
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
96
96
|
<TableTd colspan={1}>0</TableTd>
|
|
97
97
|
</TableRow>
|
|
98
98
|
<TableRow className="k-master-row" role="row">
|
|
99
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
99
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Mishi Kobe Niku</TableTd>
|
|
100
100
|
<TableTd colspan={1}>29</TableTd>
|
|
101
101
|
<TableTd colspan={1}>97</TableTd>
|
|
102
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
102
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
103
103
|
<TableTd colspan={1}>0</TableTd>
|
|
104
104
|
</TableRow>
|
|
105
105
|
<TableRow className="k-master-row" role="row" alt>
|
|
106
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px',
|
|
106
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: '0px', borderRightWidth: "1px" }}>Ikura</TableTd>
|
|
107
107
|
<TableTd colspan={1}>31</TableTd>
|
|
108
108
|
<TableTd colspan={1}>$31.00</TableTd>
|
|
109
|
-
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px",
|
|
109
|
+
<TableTd className="k-grid-content-sticky" colspan={1} style={{ left: "250px", borderRightWidth: "1px" }}>0</TableTd>
|
|
110
110
|
<TableTd colspan={1}>0</TableTd>
|
|
111
111
|
</TableRow>
|
|
112
112
|
</TableTbody>
|
|
@@ -10,7 +10,7 @@ import { GridGroupingHeader } from "../grid-grouping-header.spec";
|
|
|
10
10
|
import GridHeaderCell from "../grid-header-cell.spec";
|
|
11
11
|
import { GridHeaderTable } from "../grid-header-table.spec";
|
|
12
12
|
import { GridHeader } from "../grid-header.spec";
|
|
13
|
-
import {
|
|
13
|
+
import { GridPinnedContainer } from "../grid-pinned-container.spec";
|
|
14
14
|
import { GridTable } from "../grid-table.spec";
|
|
15
15
|
import Grid from "../grid.spec";
|
|
16
16
|
|
|
@@ -283,7 +283,7 @@ export default () => (
|
|
|
283
283
|
<ColumnMenuItemWrapper>
|
|
284
284
|
<ColumnMenuItem text="Hide row" startIcon="eye-slash" />
|
|
285
285
|
<ColumnMenuItem text="Set row sticky" startIcon="stick" />
|
|
286
|
-
<ColumnMenuExpander itemText="Pin group" itemStartIcon="pin" expanderIcon="chevron-right" />
|
|
286
|
+
<ColumnMenuExpander itemText="Pin group" itemStartIcon="pin-outline" expanderIcon="chevron-right" />
|
|
287
287
|
<ColumnMenuExpander itemText="Copy" itemStartIcon="copy" expanderIcon="chevron-right" />
|
|
288
288
|
<ColumnMenuItem text="Select all rows" startIcon="grid-layout" />
|
|
289
289
|
<ColumnMenuExpander itemText="Export" itemStartIcon="export" expanderIcon="chevron-right" />
|
|
@@ -423,8 +423,8 @@ export default () => (
|
|
|
423
423
|
>
|
|
424
424
|
<ColumnMenuNormal size="large">
|
|
425
425
|
<ColumnMenuItemWrapper>
|
|
426
|
-
<ColumnMenuItem text="Pin group to top" startIcon="pin" selected />
|
|
427
|
-
<ColumnMenuItem text="Pin group to bottom" startIcon="pin" />
|
|
426
|
+
<ColumnMenuItem text="Pin group to top" startIcon="pin-outline-top" selected />
|
|
427
|
+
<ColumnMenuItem text="Pin group to bottom" startIcon="pin-outline-bottom" />
|
|
428
428
|
</ColumnMenuItemWrapper>
|
|
429
429
|
</ColumnMenuNormal>
|
|
430
430
|
</ActionSheetNormal>
|
|
@@ -470,26 +470,28 @@ export default () => (
|
|
|
470
470
|
</GridHeaderTable>
|
|
471
471
|
</div>
|
|
472
472
|
</GridHeader>
|
|
473
|
+
<GridPinnedContainer>
|
|
474
|
+
<div className="k-grid-pinned-wrap">
|
|
475
|
+
<GridTable>
|
|
476
|
+
<colgroup>
|
|
477
|
+
<col className="k-group-col" />
|
|
478
|
+
<col />
|
|
479
|
+
</colgroup>
|
|
480
|
+
<TableTbody>
|
|
481
|
+
<TableRow className="k-table-group-row k-grouping-row">
|
|
482
|
+
<TableTd colspan={5}>
|
|
483
|
+
<p className="k-reset">
|
|
484
|
+
<Icon icon="none" />
|
|
485
|
+
Rating 1/5
|
|
486
|
+
</p>
|
|
487
|
+
</TableTd>
|
|
488
|
+
</TableRow>
|
|
489
|
+
</TableTbody>
|
|
490
|
+
</GridTable>
|
|
491
|
+
</div>
|
|
492
|
+
</GridPinnedContainer>
|
|
473
493
|
<GridContainer>
|
|
474
494
|
<GridContent>
|
|
475
|
-
<GridStickyContainer>
|
|
476
|
-
<GridTable>
|
|
477
|
-
<colgroup>
|
|
478
|
-
<col className="k-group-col" />
|
|
479
|
-
<col />
|
|
480
|
-
</colgroup>
|
|
481
|
-
<TableTbody>
|
|
482
|
-
<TableRow className="k-table-group-row k-grouping-row">
|
|
483
|
-
<TableTd colspan={5}>
|
|
484
|
-
<p className="k-reset">
|
|
485
|
-
<Icon icon="none" />
|
|
486
|
-
Rating 1/5
|
|
487
|
-
</p>
|
|
488
|
-
</TableTd>
|
|
489
|
-
</TableRow>
|
|
490
|
-
</TableTbody>
|
|
491
|
-
</GridTable>
|
|
492
|
-
</GridStickyContainer>
|
|
493
495
|
<GridTable>
|
|
494
496
|
<colgroup>
|
|
495
497
|
<col className="k-group-col" />
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Icon } from "../../icon";
|
|
2
2
|
import { Chip, ChipList, ChipAction } from "../../chip";
|
|
3
|
-
import { Grid, GridHeader, GridHeaderCell, GridHeaderTable, GridGroupingHeader, GridContainer, GridContent, GridTable,
|
|
3
|
+
import { Grid, GridHeader, GridHeaderCell, GridHeaderTable, GridGroupingHeader, GridContainer, GridContent, GridTable, GridPinnedContainer } from "../../grid";
|
|
4
4
|
import { TableThead, TableRow, TableTd, TableTbody } from "../../table";
|
|
5
5
|
import { ContextMenu } from "../../context-menu";
|
|
6
6
|
import { MenuListItem } from "../../menu";
|
|
@@ -174,26 +174,28 @@ export default () => (
|
|
|
174
174
|
</GridHeaderTable>
|
|
175
175
|
</div>
|
|
176
176
|
</GridHeader>
|
|
177
|
+
<GridPinnedContainer>
|
|
178
|
+
<div className="k-grid-pinned-wrap">
|
|
179
|
+
<GridTable>
|
|
180
|
+
<colgroup>
|
|
181
|
+
<col className="k-group-col" />
|
|
182
|
+
<col />
|
|
183
|
+
</colgroup>
|
|
184
|
+
<TableTbody>
|
|
185
|
+
<TableRow className="k-table-group-row k-grouping-row">
|
|
186
|
+
<TableTd colspan={9}>
|
|
187
|
+
<p className="k-reset">
|
|
188
|
+
<Icon icon="none" />
|
|
189
|
+
Rating 1/5
|
|
190
|
+
</p>
|
|
191
|
+
</TableTd>
|
|
192
|
+
</TableRow>
|
|
193
|
+
</TableTbody>
|
|
194
|
+
</GridTable>
|
|
195
|
+
</div>
|
|
196
|
+
</GridPinnedContainer>
|
|
177
197
|
<GridContainer>
|
|
178
198
|
<GridContent>
|
|
179
|
-
<GridStickyContainer>
|
|
180
|
-
<GridTable>
|
|
181
|
-
<colgroup>
|
|
182
|
-
<col className="k-group-col" />
|
|
183
|
-
<col />
|
|
184
|
-
</colgroup>
|
|
185
|
-
<TableTbody>
|
|
186
|
-
<TableRow className="k-table-group-row k-grouping-row">
|
|
187
|
-
<TableTd colspan={9}>
|
|
188
|
-
<p className="k-reset">
|
|
189
|
-
<Icon icon="none" />
|
|
190
|
-
Rating 1/5
|
|
191
|
-
</p>
|
|
192
|
-
</TableTd>
|
|
193
|
-
</TableRow>
|
|
194
|
-
</TableTbody>
|
|
195
|
-
</GridTable>
|
|
196
|
-
</GridStickyContainer>
|
|
197
199
|
<GridTable>
|
|
198
200
|
<colgroup>
|
|
199
201
|
<col className="k-group-col" />
|
|
@@ -363,26 +365,28 @@ export default () => (
|
|
|
363
365
|
</TableRow>
|
|
364
366
|
</TableTbody>
|
|
365
367
|
</GridTable>
|
|
366
|
-
<GridStickyContainer position="bottom" style={{ insetBlockEnd: "0" }}>
|
|
367
|
-
<GridTable>
|
|
368
|
-
<colgroup>
|
|
369
|
-
<col className="k-group-col" />
|
|
370
|
-
<col />
|
|
371
|
-
</colgroup>
|
|
372
|
-
<TableTbody>
|
|
373
|
-
<TableRow className="k-table-group-row k-grouping-row">
|
|
374
|
-
<TableTd colspan={4}>
|
|
375
|
-
<p className="k-reset">
|
|
376
|
-
<Icon icon="none" />
|
|
377
|
-
Rating 1/5
|
|
378
|
-
</p>
|
|
379
|
-
</TableTd>
|
|
380
|
-
</TableRow>
|
|
381
|
-
</TableTbody>
|
|
382
|
-
</GridTable>
|
|
383
|
-
</GridStickyContainer>
|
|
384
368
|
</GridContent>
|
|
385
369
|
</GridContainer>
|
|
370
|
+
<GridPinnedContainer position="bottom">
|
|
371
|
+
<div className="k-grid-pinned-wrap">
|
|
372
|
+
<GridTable>
|
|
373
|
+
<colgroup>
|
|
374
|
+
<col className="k-group-col" />
|
|
375
|
+
<col />
|
|
376
|
+
</colgroup>
|
|
377
|
+
<TableTbody>
|
|
378
|
+
<TableRow className="k-table-group-row k-grouping-row">
|
|
379
|
+
<TableTd colspan={4}>
|
|
380
|
+
<p className="k-reset">
|
|
381
|
+
<Icon icon="none" />
|
|
382
|
+
Rating 1/5
|
|
383
|
+
</p>
|
|
384
|
+
</TableTd>
|
|
385
|
+
</TableRow>
|
|
386
|
+
</TableTbody>
|
|
387
|
+
</GridTable>
|
|
388
|
+
</div>
|
|
389
|
+
</GridPinnedContainer>
|
|
386
390
|
</Grid>
|
|
387
391
|
</section>
|
|
388
392
|
|
|
@@ -548,29 +552,31 @@ export default () => (
|
|
|
548
552
|
</GridHeaderTable>
|
|
549
553
|
</div>
|
|
550
554
|
</GridHeader>
|
|
555
|
+
<GridPinnedContainer>
|
|
556
|
+
<div className="k-grid-pinned-wrap">
|
|
557
|
+
<GridTable>
|
|
558
|
+
<colgroup>
|
|
559
|
+
<col className="k-group-col" />
|
|
560
|
+
<col />
|
|
561
|
+
</colgroup>
|
|
562
|
+
<TableTbody>
|
|
563
|
+
<TableRow className="k-table-group-row k-grouping-row">
|
|
564
|
+
<TableTd colspan={9}>
|
|
565
|
+
<p className="k-reset">
|
|
566
|
+
<span className="k-pin-cell">
|
|
567
|
+
<Icon icon="unpin-outline" />
|
|
568
|
+
</span>
|
|
569
|
+
<Icon icon="none" />
|
|
570
|
+
Rating 1/5
|
|
571
|
+
</p>
|
|
572
|
+
</TableTd>
|
|
573
|
+
</TableRow>
|
|
574
|
+
</TableTbody>
|
|
575
|
+
</GridTable>
|
|
576
|
+
</div>
|
|
577
|
+
</GridPinnedContainer>
|
|
551
578
|
<GridContainer>
|
|
552
579
|
<GridContent>
|
|
553
|
-
<GridStickyContainer>
|
|
554
|
-
<GridTable>
|
|
555
|
-
<colgroup>
|
|
556
|
-
<col className="k-group-col" />
|
|
557
|
-
<col />
|
|
558
|
-
</colgroup>
|
|
559
|
-
<TableTbody>
|
|
560
|
-
<TableRow className="k-table-group-row k-grouping-row">
|
|
561
|
-
<TableTd colspan={9}>
|
|
562
|
-
<p className="k-reset">
|
|
563
|
-
<span className="k-pin-cell">
|
|
564
|
-
<Icon icon="unpin-outline" />
|
|
565
|
-
</span>
|
|
566
|
-
<Icon icon="none" />
|
|
567
|
-
Rating 1/5
|
|
568
|
-
</p>
|
|
569
|
-
</TableTd>
|
|
570
|
-
</TableRow>
|
|
571
|
-
</TableTbody>
|
|
572
|
-
</GridTable>
|
|
573
|
-
</GridStickyContainer>
|
|
574
580
|
<GridTable>
|
|
575
581
|
<colgroup>
|
|
576
582
|
<col className="k-group-col" />
|
|
@@ -752,29 +758,31 @@ export default () => (
|
|
|
752
758
|
</TableRow>
|
|
753
759
|
</TableTbody>
|
|
754
760
|
</GridTable>
|
|
755
|
-
<GridStickyContainer position="bottom" style={{ insetBlockEnd: "0" }}>
|
|
756
|
-
<GridTable>
|
|
757
|
-
<colgroup>
|
|
758
|
-
<col className="k-group-col" />
|
|
759
|
-
<col />
|
|
760
|
-
</colgroup>
|
|
761
|
-
<TableTbody>
|
|
762
|
-
<TableRow className="k-table-group-row k-grouping-row">
|
|
763
|
-
<TableTd colspan={4}>
|
|
764
|
-
<p className="k-reset">
|
|
765
|
-
<span className="k-pin-cell">
|
|
766
|
-
<Icon icon="unpin-outline" />
|
|
767
|
-
</span>
|
|
768
|
-
<Icon icon="none" />
|
|
769
|
-
Rating 1/5
|
|
770
|
-
</p>
|
|
771
|
-
</TableTd>
|
|
772
|
-
</TableRow>
|
|
773
|
-
</TableTbody>
|
|
774
|
-
</GridTable>
|
|
775
|
-
</GridStickyContainer>
|
|
776
761
|
</GridContent>
|
|
777
762
|
</GridContainer>
|
|
763
|
+
<GridPinnedContainer position="bottom">
|
|
764
|
+
<div className="k-grid-pinned-wrap">
|
|
765
|
+
<GridTable>
|
|
766
|
+
<colgroup>
|
|
767
|
+
<col className="k-group-col" />
|
|
768
|
+
<col />
|
|
769
|
+
</colgroup>
|
|
770
|
+
<TableTbody>
|
|
771
|
+
<TableRow className="k-table-group-row k-grouping-row">
|
|
772
|
+
<TableTd colspan={4}>
|
|
773
|
+
<p className="k-reset">
|
|
774
|
+
<span className="k-pin-cell">
|
|
775
|
+
<Icon icon="unpin-outline" />
|
|
776
|
+
</span>
|
|
777
|
+
<Icon icon="none" />
|
|
778
|
+
Rating 1/5
|
|
779
|
+
</p>
|
|
780
|
+
</TableTd>
|
|
781
|
+
</TableRow>
|
|
782
|
+
</TableTbody>
|
|
783
|
+
</GridTable>
|
|
784
|
+
</div>
|
|
785
|
+
</GridPinnedContainer>
|
|
778
786
|
</Grid>
|
|
779
787
|
</section>
|
|
780
788
|
</div>
|
|
@@ -7,7 +7,7 @@ import { GridContent } from "../grid-content.spec";
|
|
|
7
7
|
import GridHeaderCell from "../grid-header-cell.spec";
|
|
8
8
|
import { GridHeaderTable } from "../grid-header-table.spec";
|
|
9
9
|
import { GridHeader } from "../grid-header.spec";
|
|
10
|
-
import {
|
|
10
|
+
import { GridPinnedContainer } from "../grid-pinned-container.spec";
|
|
11
11
|
import { GridTable } from "../grid-table.spec";
|
|
12
12
|
import Grid from "../grid.spec";
|
|
13
13
|
|
|
@@ -287,26 +287,29 @@ export default () => (
|
|
|
287
287
|
</GridHeaderTable>
|
|
288
288
|
</div>
|
|
289
289
|
</GridHeader>
|
|
290
|
+
{/* Pinned Content - Row pinned to top */}
|
|
291
|
+
<GridPinnedContainer>
|
|
292
|
+
<div className="k-grid-pinned-wrap">
|
|
293
|
+
<GridTable>
|
|
294
|
+
<colgroup>
|
|
295
|
+
<col />
|
|
296
|
+
<col />
|
|
297
|
+
<col />
|
|
298
|
+
<col />
|
|
299
|
+
</colgroup>
|
|
300
|
+
<TableTbody>
|
|
301
|
+
<TableRow className="k-master-row">
|
|
302
|
+
<TableTd>Shelden Greyes</TableTd>
|
|
303
|
+
<TableTd>Operator</TableTd>
|
|
304
|
+
<TableTd>UK</TableTd>
|
|
305
|
+
<TableTd>5/5</TableTd>
|
|
306
|
+
</TableRow>
|
|
307
|
+
</TableTbody>
|
|
308
|
+
</GridTable>
|
|
309
|
+
</div>
|
|
310
|
+
</GridPinnedContainer>
|
|
290
311
|
<GridContainer>
|
|
291
312
|
<GridContent>
|
|
292
|
-
<GridStickyContainer>
|
|
293
|
-
<GridTable>
|
|
294
|
-
<colgroup>
|
|
295
|
-
<col />
|
|
296
|
-
<col />
|
|
297
|
-
<col />
|
|
298
|
-
<col />
|
|
299
|
-
</colgroup>
|
|
300
|
-
<TableTbody>
|
|
301
|
-
<TableRow className="k-master-row">
|
|
302
|
-
<TableTd>Shelden Greyes</TableTd>
|
|
303
|
-
<TableTd>Operator</TableTd>
|
|
304
|
-
<TableTd>UK</TableTd>
|
|
305
|
-
<TableTd>5/5</TableTd>
|
|
306
|
-
</TableRow>
|
|
307
|
-
</TableTbody>
|
|
308
|
-
</GridTable>
|
|
309
|
-
</GridStickyContainer>
|
|
310
313
|
<GridTable>
|
|
311
314
|
<colgroup>
|
|
312
315
|
<col />
|