@fluentui/react-table 9.0.0-alpha.7 → 9.0.0-alpha.9
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/CHANGELOG.json +101 -9
- package/CHANGELOG.md +37 -10
- package/dist/index.d.ts +282 -0
- package/lib/DataGrid.js +2 -0
- package/lib/DataGrid.js.map +1 -0
- package/lib/DataGridBody.js +2 -0
- package/lib/DataGridBody.js.map +1 -0
- package/lib/DataGridCell.js +2 -0
- package/lib/DataGridCell.js.map +1 -0
- package/lib/DataGridHeader.js +2 -0
- package/lib/DataGridHeader.js.map +1 -0
- package/lib/DataGridHeaderCell.js +2 -0
- package/lib/DataGridHeaderCell.js.map +1 -0
- package/lib/DataGridRow.js +2 -0
- package/lib/DataGridRow.js.map +1 -0
- package/lib/DataGridSelectionCell.js +2 -0
- package/lib/DataGridSelectionCell.js.map +1 -0
- package/lib/components/DataGrid/DataGrid.js +16 -0
- package/lib/components/DataGrid/DataGrid.js.map +1 -0
- package/lib/components/DataGrid/DataGrid.types.js +2 -0
- package/lib/components/DataGrid/DataGrid.types.js.map +1 -0
- package/lib/components/DataGrid/index.js +6 -0
- package/lib/components/DataGrid/index.js.map +1 -0
- package/lib/components/DataGrid/renderDataGrid.js +9 -0
- package/lib/components/DataGrid/renderDataGrid.js.map +1 -0
- package/lib/components/DataGrid/useDataGrid.js +17 -0
- package/lib/components/DataGrid/useDataGrid.js.map +1 -0
- package/lib/components/DataGrid/useDataGridContextValues.js +5 -0
- package/lib/components/DataGrid/useDataGridContextValues.js.map +1 -0
- package/lib/components/DataGrid/useDataGridStyles.js +15 -0
- package/lib/components/DataGrid/useDataGridStyles.js.map +1 -0
- package/lib/components/DataGridBody/DataGridBody.js +15 -0
- package/lib/components/DataGridBody/DataGridBody.js.map +1 -0
- package/lib/components/DataGridBody/DataGridBody.types.js +2 -0
- package/lib/components/DataGridBody/DataGridBody.types.js.map +1 -0
- package/lib/components/DataGridBody/index.js +6 -0
- package/lib/components/DataGridBody/index.js.map +1 -0
- package/lib/components/DataGridBody/renderDataGridBody.js +9 -0
- package/lib/components/DataGridBody/renderDataGridBody.js.map +1 -0
- package/lib/components/DataGridBody/useDataGridBody.js +17 -0
- package/lib/components/DataGridBody/useDataGridBody.js.map +1 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.js +15 -0
- package/lib/components/DataGridBody/useDataGridBodyStyles.js.map +1 -0
- package/lib/components/DataGridCell/DataGridCell.js +15 -0
- package/lib/components/DataGridCell/DataGridCell.js.map +1 -0
- package/lib/components/DataGridCell/DataGridCell.types.js +2 -0
- package/lib/components/DataGridCell/DataGridCell.types.js.map +1 -0
- package/lib/components/DataGridCell/index.js +6 -0
- package/lib/components/DataGridCell/index.js.map +1 -0
- package/lib/components/DataGridCell/renderDataGridCell.js +9 -0
- package/lib/components/DataGridCell/renderDataGridCell.js.map +1 -0
- package/lib/components/DataGridCell/useDataGridCell.js +17 -0
- package/lib/components/DataGridCell/useDataGridCell.js.map +1 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.js +15 -0
- package/lib/components/DataGridCell/useDataGridCellStyles.js.map +1 -0
- package/lib/components/DataGridHeader/DataGridHeader.js +15 -0
- package/lib/components/DataGridHeader/DataGridHeader.js.map +1 -0
- package/lib/components/DataGridHeader/DataGridHeader.types.js +2 -0
- package/lib/components/DataGridHeader/DataGridHeader.types.js.map +1 -0
- package/lib/components/DataGridHeader/index.js +6 -0
- package/lib/components/DataGridHeader/index.js.map +1 -0
- package/lib/components/DataGridHeader/renderDataGridHeader.js +9 -0
- package/lib/components/DataGridHeader/renderDataGridHeader.js.map +1 -0
- package/lib/components/DataGridHeader/useDataGridHeader.js +17 -0
- package/lib/components/DataGridHeader/useDataGridHeader.js.map +1 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.js +15 -0
- package/lib/components/DataGridHeader/useDataGridHeaderStyles.js.map +1 -0
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.js +15 -0
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.js.map +1 -0
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.types.js +2 -0
- package/lib/components/DataGridHeaderCell/DataGridHeaderCell.types.js.map +1 -0
- package/lib/components/DataGridHeaderCell/index.js +6 -0
- package/lib/components/DataGridHeaderCell/index.js.map +1 -0
- package/lib/components/DataGridHeaderCell/renderDataGridHeaderCell.js +9 -0
- package/lib/components/DataGridHeaderCell/renderDataGridHeaderCell.js.map +1 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCell.js +17 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCell.js.map +1 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.js +26 -0
- package/lib/components/DataGridHeaderCell/useDataGridHeaderCellStyles.js.map +1 -0
- package/lib/components/DataGridRow/DataGridRow.js +15 -0
- package/lib/components/DataGridRow/DataGridRow.js.map +1 -0
- package/lib/components/DataGridRow/DataGridRow.types.js +2 -0
- package/lib/components/DataGridRow/DataGridRow.types.js.map +1 -0
- package/lib/components/DataGridRow/index.js +6 -0
- package/lib/components/DataGridRow/index.js.map +1 -0
- package/lib/components/DataGridRow/renderDataGridRow.js +9 -0
- package/lib/components/DataGridRow/renderDataGridRow.js.map +1 -0
- package/lib/components/DataGridRow/useDataGridRow.js +17 -0
- package/lib/components/DataGridRow/useDataGridRow.js.map +1 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.js +15 -0
- package/lib/components/DataGridRow/useDataGridRowStyles.js.map +1 -0
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.js +15 -0
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.js.map +1 -0
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.types.js +2 -0
- package/lib/components/DataGridSelectionCell/DataGridSelectionCell.types.js.map +1 -0
- package/lib/components/DataGridSelectionCell/index.js +6 -0
- package/lib/components/DataGridSelectionCell/index.js.map +1 -0
- package/lib/components/DataGridSelectionCell/renderDataGridSelectionCell.js +9 -0
- package/lib/components/DataGridSelectionCell/renderDataGridSelectionCell.js.map +1 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCell.js +17 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCell.js.map +1 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.js +26 -0
- package/lib/components/DataGridSelectionCell/useDataGridSelectionCellStyles.js.map +1 -0
- package/lib/index.js +7 -0
- package/lib/index.js.map +1 -1
- package/lib-commonjs/DataGrid.js +10 -0
- package/lib-commonjs/DataGrid.js.map +1 -0
- package/lib-commonjs/DataGridBody.js +10 -0
- package/lib-commonjs/DataGridBody.js.map +1 -0
- package/lib-commonjs/DataGridCell.js +10 -0
- package/lib-commonjs/DataGridCell.js.map +1 -0
- package/lib-commonjs/DataGridHeader.js +10 -0
- package/lib-commonjs/DataGridHeader.js.map +1 -0
- package/lib-commonjs/DataGridHeaderCell.js +10 -0
- package/lib-commonjs/DataGridHeaderCell.js.map +1 -0
- package/lib-commonjs/DataGridRow.js +10 -0
- package/lib-commonjs/DataGridRow.js.map +1 -0
- package/lib-commonjs/DataGridSelectionCell.js +10 -0
- package/lib-commonjs/DataGridSelectionCell.js.map +1 -0
- package/lib-commonjs/components/DataGrid/DataGrid.js +28 -0
- package/lib-commonjs/components/DataGrid/DataGrid.js.map +1 -0
- package/lib-commonjs/components/DataGrid/DataGrid.types.js +6 -0
- package/lib-commonjs/components/DataGrid/DataGrid.types.js.map +1 -0
- package/lib-commonjs/components/DataGrid/index.js +18 -0
- package/lib-commonjs/components/DataGrid/index.js.map +1 -0
- package/lib-commonjs/components/DataGrid/renderDataGrid.js +19 -0
- package/lib-commonjs/components/DataGrid/renderDataGrid.js.map +1 -0
- package/lib-commonjs/components/DataGrid/useDataGrid.js +27 -0
- package/lib-commonjs/components/DataGrid/useDataGrid.js.map +1 -0
- package/lib-commonjs/components/DataGrid/useDataGridContextValues.js +15 -0
- package/lib-commonjs/components/DataGrid/useDataGridContextValues.js.map +1 -0
- package/lib-commonjs/components/DataGrid/useDataGridStyles.js +26 -0
- package/lib-commonjs/components/DataGrid/useDataGridStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.js +26 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.types.js +6 -0
- package/lib-commonjs/components/DataGridBody/DataGridBody.types.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/index.js +18 -0
- package/lib-commonjs/components/DataGridBody/index.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/renderDataGridBody.js +19 -0
- package/lib-commonjs/components/DataGridBody/renderDataGridBody.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBody.js +27 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBody.js.map +1 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.js +26 -0
- package/lib-commonjs/components/DataGridBody/useDataGridBodyStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.js +26 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.types.js +6 -0
- package/lib-commonjs/components/DataGridCell/DataGridCell.types.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/index.js +18 -0
- package/lib-commonjs/components/DataGridCell/index.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/renderDataGridCell.js +19 -0
- package/lib-commonjs/components/DataGridCell/renderDataGridCell.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCell.js +27 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCell.js.map +1 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.js +26 -0
- package/lib-commonjs/components/DataGridCell/useDataGridCellStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.js +26 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.types.js +6 -0
- package/lib-commonjs/components/DataGridHeader/DataGridHeader.types.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/index.js +18 -0
- package/lib-commonjs/components/DataGridHeader/index.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/renderDataGridHeader.js +19 -0
- package/lib-commonjs/components/DataGridHeader/renderDataGridHeader.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeader.js +27 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeader.js.map +1 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.js +26 -0
- package/lib-commonjs/components/DataGridHeader/useDataGridHeaderStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.js +26 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.types.js +6 -0
- package/lib-commonjs/components/DataGridHeaderCell/DataGridHeaderCell.types.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/index.js +18 -0
- package/lib-commonjs/components/DataGridHeaderCell/index.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/renderDataGridHeaderCell.js +19 -0
- package/lib-commonjs/components/DataGridHeaderCell/renderDataGridHeaderCell.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCell.js +27 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCell.js.map +1 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.js +37 -0
- package/lib-commonjs/components/DataGridHeaderCell/useDataGridHeaderCellStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.js +26 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.types.js +6 -0
- package/lib-commonjs/components/DataGridRow/DataGridRow.types.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/index.js +18 -0
- package/lib-commonjs/components/DataGridRow/index.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/renderDataGridRow.js +19 -0
- package/lib-commonjs/components/DataGridRow/renderDataGridRow.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRow.js +27 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRow.js.map +1 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.js +26 -0
- package/lib-commonjs/components/DataGridRow/useDataGridRowStyles.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.js +26 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.types.js +6 -0
- package/lib-commonjs/components/DataGridSelectionCell/DataGridSelectionCell.types.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/index.js +18 -0
- package/lib-commonjs/components/DataGridSelectionCell/index.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/renderDataGridSelectionCell.js +19 -0
- package/lib-commonjs/components/DataGridSelectionCell/renderDataGridSelectionCell.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCell.js +27 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCell.js.map +1 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.js +37 -0
- package/lib-commonjs/components/DataGridSelectionCell/useDataGridSelectionCellStyles.js.map +1 -0
- package/lib-commonjs/index.js +232 -1
- package/lib-commonjs/index.js.map +1 -1
- package/package.json +18 -10
package/CHANGELOG.json
CHANGED
|
@@ -2,7 +2,99 @@
|
|
|
2
2
|
"name": "@fluentui/react-table",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
5
|
+
"date": "Wed, 02 Nov 2022 11:55:03 GMT",
|
|
6
|
+
"tag": "@fluentui/react-table_v9.0.0-alpha.9",
|
|
7
|
+
"version": "9.0.0-alpha.9",
|
|
8
|
+
"comments": {
|
|
9
|
+
"none": [
|
|
10
|
+
{
|
|
11
|
+
"author": "lingfangao@hotmail.com",
|
|
12
|
+
"package": "@fluentui/react-table",
|
|
13
|
+
"commit": "870f51fc39736198871559d6e12ece5663b0525f",
|
|
14
|
+
"comment": "chore: Updates folder structure"
|
|
15
|
+
}
|
|
16
|
+
],
|
|
17
|
+
"prerelease": [
|
|
18
|
+
{
|
|
19
|
+
"author": "olfedias@microsoft.com",
|
|
20
|
+
"package": "@fluentui/react-table",
|
|
21
|
+
"commit": "c619ba066f11a8654e95375314824ba6b81b003e",
|
|
22
|
+
"comment": "chore: Update Griffel to latest version"
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
"author": "lingfangao@hotmail.com",
|
|
26
|
+
"package": "@fluentui/react-table",
|
|
27
|
+
"commit": "acce21b88a9bbd59651661d87cc964ce2ff5ff28",
|
|
28
|
+
"comment": "feat: Initialize DataGrid components"
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
"author": "beachball",
|
|
32
|
+
"package": "@fluentui/react-table",
|
|
33
|
+
"comment": "Bump @fluentui/react-aria to v9.3.0",
|
|
34
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"author": "beachball",
|
|
38
|
+
"package": "@fluentui/react-table",
|
|
39
|
+
"comment": "Bump @fluentui/react-avatar to v9.2.5",
|
|
40
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
"author": "beachball",
|
|
44
|
+
"package": "@fluentui/react-table",
|
|
45
|
+
"comment": "Bump @fluentui/react-checkbox to v9.0.11",
|
|
46
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
"author": "beachball",
|
|
50
|
+
"package": "@fluentui/react-table",
|
|
51
|
+
"comment": "Bump @fluentui/react-radio to v9.0.10",
|
|
52
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
"author": "beachball",
|
|
56
|
+
"package": "@fluentui/react-table",
|
|
57
|
+
"comment": "Bump @fluentui/react-tabster to v9.2.1",
|
|
58
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
"author": "beachball",
|
|
62
|
+
"package": "@fluentui/react-table",
|
|
63
|
+
"comment": "Bump @fluentui/react-utilities to v9.2.0",
|
|
64
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
"author": "beachball",
|
|
68
|
+
"package": "@fluentui/react-table",
|
|
69
|
+
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17",
|
|
70
|
+
"commit": "393a7b169155997a97a6ce1ad36ee3eafc6f461b"
|
|
71
|
+
}
|
|
72
|
+
]
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"date": "Tue, 25 Oct 2022 00:35:40 GMT",
|
|
77
|
+
"tag": "@fluentui/react-table_v9.0.0-alpha.8",
|
|
78
|
+
"version": "9.0.0-alpha.8",
|
|
79
|
+
"comments": {
|
|
80
|
+
"prerelease": [
|
|
81
|
+
{
|
|
82
|
+
"author": "beachball",
|
|
83
|
+
"package": "@fluentui/react-table",
|
|
84
|
+
"comment": "Bump @fluentui/react-avatar to v9.2.4",
|
|
85
|
+
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
"author": "beachball",
|
|
89
|
+
"package": "@fluentui/react-table",
|
|
90
|
+
"comment": "Bump @fluentui/react-checkbox to v9.0.10",
|
|
91
|
+
"commit": "eef12b9ae58b64ff68576dc2d865b601e46c85b9"
|
|
92
|
+
}
|
|
93
|
+
]
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"date": "Thu, 20 Oct 2022 08:39:49 GMT",
|
|
6
98
|
"tag": "@fluentui/react-table_v9.0.0-alpha.7",
|
|
7
99
|
"version": "9.0.0-alpha.7",
|
|
8
100
|
"comments": {
|
|
@@ -41,49 +133,49 @@
|
|
|
41
133
|
"author": "beachball",
|
|
42
134
|
"package": "@fluentui/react-table",
|
|
43
135
|
"comment": "Bump @fluentui/react-aria to v9.2.3",
|
|
44
|
-
"commit": "
|
|
136
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
45
137
|
},
|
|
46
138
|
{
|
|
47
139
|
"author": "beachball",
|
|
48
140
|
"package": "@fluentui/react-table",
|
|
49
141
|
"comment": "Bump @fluentui/react-avatar to v9.2.3",
|
|
50
|
-
"commit": "
|
|
142
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
51
143
|
},
|
|
52
144
|
{
|
|
53
145
|
"author": "beachball",
|
|
54
146
|
"package": "@fluentui/react-table",
|
|
55
147
|
"comment": "Bump @fluentui/react-checkbox to v9.0.9",
|
|
56
|
-
"commit": "
|
|
148
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
57
149
|
},
|
|
58
150
|
{
|
|
59
151
|
"author": "beachball",
|
|
60
152
|
"package": "@fluentui/react-table",
|
|
61
153
|
"comment": "Bump @fluentui/react-radio to v9.0.9",
|
|
62
|
-
"commit": "
|
|
154
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
63
155
|
},
|
|
64
156
|
{
|
|
65
157
|
"author": "beachball",
|
|
66
158
|
"package": "@fluentui/react-table",
|
|
67
159
|
"comment": "Bump @fluentui/react-tabster to v9.2.0",
|
|
68
|
-
"commit": "
|
|
160
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
69
161
|
},
|
|
70
162
|
{
|
|
71
163
|
"author": "beachball",
|
|
72
164
|
"package": "@fluentui/react-table",
|
|
73
165
|
"comment": "Bump @fluentui/react-theme to v9.1.1",
|
|
74
|
-
"commit": "
|
|
166
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
75
167
|
},
|
|
76
168
|
{
|
|
77
169
|
"author": "beachball",
|
|
78
170
|
"package": "@fluentui/react-table",
|
|
79
171
|
"comment": "Bump @fluentui/react-utilities to v9.1.2",
|
|
80
|
-
"commit": "
|
|
172
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
81
173
|
},
|
|
82
174
|
{
|
|
83
175
|
"author": "beachball",
|
|
84
176
|
"package": "@fluentui/react-table",
|
|
85
177
|
"comment": "Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16",
|
|
86
|
-
"commit": "
|
|
178
|
+
"commit": "5ea1372675d910d76cf1b9cbd74d05b7c4e8fcbc"
|
|
87
179
|
}
|
|
88
180
|
],
|
|
89
181
|
"none": [
|
package/CHANGELOG.md
CHANGED
|
@@ -1,12 +1,39 @@
|
|
|
1
1
|
# Change Log - @fluentui/react-table
|
|
2
2
|
|
|
3
|
-
This log was last generated on
|
|
3
|
+
This log was last generated on Wed, 02 Nov 2022 11:55:03 GMT and should not be manually modified.
|
|
4
4
|
|
|
5
5
|
<!-- Start content -->
|
|
6
6
|
|
|
7
|
+
## [9.0.0-alpha.9](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.0.0-alpha.9)
|
|
8
|
+
|
|
9
|
+
Wed, 02 Nov 2022 11:55:03 GMT
|
|
10
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.0.0-alpha.8..@fluentui/react-table_v9.0.0-alpha.9)
|
|
11
|
+
|
|
12
|
+
### Changes
|
|
13
|
+
|
|
14
|
+
- chore: Update Griffel to latest version ([PR #25412](https://github.com/microsoft/fluentui/pull/25412) by olfedias@microsoft.com)
|
|
15
|
+
- feat: Initialize DataGrid components ([PR #25442](https://github.com/microsoft/fluentui/pull/25442) by lingfangao@hotmail.com)
|
|
16
|
+
- Bump @fluentui/react-aria to v9.3.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
17
|
+
- Bump @fluentui/react-avatar to v9.2.5 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
18
|
+
- Bump @fluentui/react-checkbox to v9.0.11 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
19
|
+
- Bump @fluentui/react-radio to v9.0.10 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
20
|
+
- Bump @fluentui/react-tabster to v9.2.1 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
21
|
+
- Bump @fluentui/react-utilities to v9.2.0 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
22
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.17 ([PR #25456](https://github.com/microsoft/fluentui/pull/25456) by beachball)
|
|
23
|
+
|
|
24
|
+
## [9.0.0-alpha.8](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.0.0-alpha.8)
|
|
25
|
+
|
|
26
|
+
Tue, 25 Oct 2022 00:35:40 GMT
|
|
27
|
+
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.0.0-alpha.7..@fluentui/react-table_v9.0.0-alpha.8)
|
|
28
|
+
|
|
29
|
+
### Changes
|
|
30
|
+
|
|
31
|
+
- Bump @fluentui/react-avatar to v9.2.4 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
|
|
32
|
+
- Bump @fluentui/react-checkbox to v9.0.10 ([PR #25363](https://github.com/microsoft/fluentui/pull/25363) by beachball)
|
|
33
|
+
|
|
7
34
|
## [9.0.0-alpha.7](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.0.0-alpha.7)
|
|
8
35
|
|
|
9
|
-
Thu, 20 Oct 2022 08:
|
|
36
|
+
Thu, 20 Oct 2022 08:39:49 GMT
|
|
10
37
|
[Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-table_v9.0.0-alpha.6..@fluentui/react-table_v9.0.0-alpha.7)
|
|
11
38
|
|
|
12
39
|
### Changes
|
|
@@ -16,14 +43,14 @@ Thu, 20 Oct 2022 08:35:25 GMT
|
|
|
16
43
|
- chore: Bump peer deps to support React 18 ([PR #24972](https://github.com/microsoft/fluentui/pull/24972) by mgodbolt@microsoft.com)
|
|
17
44
|
- chore: Update Griffel to latest version ([PR #25212](https://github.com/microsoft/fluentui/pull/25212) by olfedias@microsoft.com)
|
|
18
45
|
- feat: Add `appearance` prop to `TableRow` ([PR #25192](https://github.com/microsoft/fluentui/pull/25192) by lingfangao@hotmail.com)
|
|
19
|
-
- Bump @fluentui/react-aria to v9.2.3 ([
|
|
20
|
-
- Bump @fluentui/react-avatar to v9.2.3 ([
|
|
21
|
-
- Bump @fluentui/react-checkbox to v9.0.9 ([
|
|
22
|
-
- Bump @fluentui/react-radio to v9.0.9 ([
|
|
23
|
-
- Bump @fluentui/react-tabster to v9.2.0 ([
|
|
24
|
-
- Bump @fluentui/react-theme to v9.1.1 ([
|
|
25
|
-
- Bump @fluentui/react-utilities to v9.1.2 ([
|
|
26
|
-
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([
|
|
46
|
+
- Bump @fluentui/react-aria to v9.2.3 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
47
|
+
- Bump @fluentui/react-avatar to v9.2.3 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
48
|
+
- Bump @fluentui/react-checkbox to v9.0.9 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
49
|
+
- Bump @fluentui/react-radio to v9.0.9 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
50
|
+
- Bump @fluentui/react-tabster to v9.2.0 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
51
|
+
- Bump @fluentui/react-theme to v9.1.1 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
52
|
+
- Bump @fluentui/react-utilities to v9.1.2 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
53
|
+
- Bump @fluentui/react-conformance-griffel to v9.0.0-beta.16 ([PR #25265](https://github.com/microsoft/fluentui/pull/25265) by beachball)
|
|
27
54
|
|
|
28
55
|
## [9.0.0-alpha.6](https://github.com/microsoft/fluentui/tree/@fluentui/react-table_v9.0.0-alpha.6)
|
|
29
56
|
|
package/dist/index.d.ts
CHANGED
|
@@ -19,6 +19,141 @@ export declare interface ColumnDefinition<TItem> {
|
|
|
19
19
|
|
|
20
20
|
export declare type ColumnId = string | number;
|
|
21
21
|
|
|
22
|
+
/**
|
|
23
|
+
* DataGrid component - TODO: add more docs
|
|
24
|
+
*/
|
|
25
|
+
export declare const DataGrid: ForwardRefComponent<DataGridProps>;
|
|
26
|
+
|
|
27
|
+
/**
|
|
28
|
+
* DataGridBody component - TODO: add more docs
|
|
29
|
+
*/
|
|
30
|
+
export declare const DataGridBody: ForwardRefComponent<DataGridBodyProps>;
|
|
31
|
+
|
|
32
|
+
export declare const dataGridBodyClassNames: SlotClassNames<DataGridBodySlots>;
|
|
33
|
+
|
|
34
|
+
/**
|
|
35
|
+
* DataGridBody Props
|
|
36
|
+
*/
|
|
37
|
+
export declare type DataGridBodyProps = TableBodyProps;
|
|
38
|
+
|
|
39
|
+
export declare type DataGridBodySlots = TableBodySlots;
|
|
40
|
+
|
|
41
|
+
/**
|
|
42
|
+
* State used in rendering DataGridBody
|
|
43
|
+
*/
|
|
44
|
+
export declare type DataGridBodyState = TableBodyState;
|
|
45
|
+
|
|
46
|
+
/**
|
|
47
|
+
* DataGridCell component - TODO: add more docs
|
|
48
|
+
*/
|
|
49
|
+
export declare const DataGridCell: ForwardRefComponent<DataGridCellProps>;
|
|
50
|
+
|
|
51
|
+
export declare const dataGridCellClassNames: SlotClassNames<DataGridCellSlots>;
|
|
52
|
+
|
|
53
|
+
/**
|
|
54
|
+
* DataGridCell Props
|
|
55
|
+
*/
|
|
56
|
+
export declare type DataGridCellProps = TableCellProps;
|
|
57
|
+
|
|
58
|
+
export declare type DataGridCellSlots = TableCellSlots;
|
|
59
|
+
|
|
60
|
+
/**
|
|
61
|
+
* State used in rendering DataGridCell
|
|
62
|
+
*/
|
|
63
|
+
export declare type DataGridCellState = TableCellState;
|
|
64
|
+
|
|
65
|
+
export declare const dataGridClassNames: SlotClassNames<DataGridSlots>;
|
|
66
|
+
|
|
67
|
+
export declare type DataGridContextValues = TableContextValues;
|
|
68
|
+
|
|
69
|
+
/**
|
|
70
|
+
* DataGridHeader component - TODO: add more docs
|
|
71
|
+
*/
|
|
72
|
+
export declare const DataGridHeader: ForwardRefComponent<DataGridHeaderProps>;
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* DataGridHeaderCell component - TODO: add more docs
|
|
76
|
+
*/
|
|
77
|
+
export declare const DataGridHeaderCell: ForwardRefComponent<DataGridHeaderCellProps>;
|
|
78
|
+
|
|
79
|
+
export declare const dataGridHeaderCellClassNames: SlotClassNames<DataGridHeaderCellSlots>;
|
|
80
|
+
|
|
81
|
+
/**
|
|
82
|
+
* DataGridHeaderCell Props
|
|
83
|
+
*/
|
|
84
|
+
export declare type DataGridHeaderCellProps = TableHeaderCellProps;
|
|
85
|
+
|
|
86
|
+
export declare type DataGridHeaderCellSlots = TableHeaderCellSlots;
|
|
87
|
+
|
|
88
|
+
/**
|
|
89
|
+
* State used in rendering DataGridHeaderCell
|
|
90
|
+
*/
|
|
91
|
+
export declare type DataGridHeaderCellState = TableHeaderCellState;
|
|
92
|
+
|
|
93
|
+
export declare const dataGridHeaderClassNames: SlotClassNames<DataGridHeaderSlots>;
|
|
94
|
+
|
|
95
|
+
/**
|
|
96
|
+
* DataGridHeader Props
|
|
97
|
+
*/
|
|
98
|
+
export declare type DataGridHeaderProps = TableHeaderProps;
|
|
99
|
+
|
|
100
|
+
export declare type DataGridHeaderSlots = TableHeaderSlots;
|
|
101
|
+
|
|
102
|
+
/**
|
|
103
|
+
* State used in rendering DataGridHeader
|
|
104
|
+
*/
|
|
105
|
+
export declare type DataGridHeaderState = TableHeaderState;
|
|
106
|
+
|
|
107
|
+
/**
|
|
108
|
+
* DataGrid Props
|
|
109
|
+
*/
|
|
110
|
+
export declare type DataGridProps = TableProps;
|
|
111
|
+
|
|
112
|
+
/**
|
|
113
|
+
* DataGridRow component - TODO: add more docs
|
|
114
|
+
*/
|
|
115
|
+
export declare const DataGridRow: ForwardRefComponent<DataGridRowProps>;
|
|
116
|
+
|
|
117
|
+
export declare const dataGridRowClassNames: SlotClassNames<DataGridRowSlots>;
|
|
118
|
+
|
|
119
|
+
/**
|
|
120
|
+
* DataGridRow Props
|
|
121
|
+
*/
|
|
122
|
+
export declare type DataGridRowProps = TableRowProps;
|
|
123
|
+
|
|
124
|
+
export declare type DataGridRowSlots = TableRowSlots;
|
|
125
|
+
|
|
126
|
+
/**
|
|
127
|
+
* State used in rendering DataGridRow
|
|
128
|
+
*/
|
|
129
|
+
export declare type DataGridRowState = TableRowState;
|
|
130
|
+
|
|
131
|
+
/**
|
|
132
|
+
* DataGridSelectionCell component - TODO: add more docs
|
|
133
|
+
*/
|
|
134
|
+
export declare const DataGridSelectionCell: ForwardRefComponent<DataGridSelectionCellProps>;
|
|
135
|
+
|
|
136
|
+
export declare const dataGridSelectionCellClassNames: SlotClassNames<DataGridSelectionCellSlots>;
|
|
137
|
+
|
|
138
|
+
/**
|
|
139
|
+
* DataGridSelectionCell Props
|
|
140
|
+
*/
|
|
141
|
+
export declare type DataGridSelectionCellProps = TableSelectionCellProps;
|
|
142
|
+
|
|
143
|
+
export declare type DataGridSelectionCellSlots = TableSelectionCellSlots;
|
|
144
|
+
|
|
145
|
+
/**
|
|
146
|
+
* State used in rendering DataGridSelectionCell
|
|
147
|
+
*/
|
|
148
|
+
export declare type DataGridSelectionCellState = TableSelectionCellState;
|
|
149
|
+
|
|
150
|
+
export declare type DataGridSlots = TableSlots;
|
|
151
|
+
|
|
152
|
+
/**
|
|
153
|
+
* State used in rendering DataGrid
|
|
154
|
+
*/
|
|
155
|
+
export declare type DataGridState = TableState;
|
|
156
|
+
|
|
22
157
|
export declare interface HeadlessTableState<TItem> extends Pick<UseTableOptions<TItem>, 'items' | 'getRowId'> {
|
|
23
158
|
/**
|
|
24
159
|
* The row data for rendering
|
|
@@ -39,6 +174,41 @@ export declare interface HeadlessTableState<TItem> extends Pick<UseTableOptions<
|
|
|
39
174
|
columns: ColumnDefinition<TItem>[];
|
|
40
175
|
}
|
|
41
176
|
|
|
177
|
+
/**
|
|
178
|
+
* Render the final JSX of DataGrid
|
|
179
|
+
*/
|
|
180
|
+
export declare const renderDataGrid_unstable: (state: DataGridState, contextValues: DataGridContextValues) => JSX.Element;
|
|
181
|
+
|
|
182
|
+
/**
|
|
183
|
+
* Render the final JSX of DataGridBody
|
|
184
|
+
*/
|
|
185
|
+
export declare const renderDataGridBody_unstable: (state: DataGridBodyState) => JSX.Element;
|
|
186
|
+
|
|
187
|
+
/**
|
|
188
|
+
* Render the final JSX of DataGridCell
|
|
189
|
+
*/
|
|
190
|
+
export declare const renderDataGridCell_unstable: (state: DataGridCellState) => JSX.Element;
|
|
191
|
+
|
|
192
|
+
/**
|
|
193
|
+
* Render the final JSX of DataGridHeader
|
|
194
|
+
*/
|
|
195
|
+
export declare const renderDataGridHeader_unstable: (state: DataGridHeaderState) => JSX.Element;
|
|
196
|
+
|
|
197
|
+
/**
|
|
198
|
+
* Render the final JSX of DataGridHeaderCell
|
|
199
|
+
*/
|
|
200
|
+
export declare const renderDataGridHeaderCell_unstable: (state: DataGridHeaderCellState) => JSX.Element;
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Render the final JSX of DataGridRow
|
|
204
|
+
*/
|
|
205
|
+
export declare const renderDataGridRow_unstable: (state: DataGridRowState) => JSX.Element;
|
|
206
|
+
|
|
207
|
+
/**
|
|
208
|
+
* Render the final JSX of DataGridSelectionCell
|
|
209
|
+
*/
|
|
210
|
+
export declare const renderDataGridSelectionCell_unstable: (state: DataGridSelectionCellState) => JSX.Element;
|
|
211
|
+
|
|
42
212
|
/**
|
|
43
213
|
* Render the final JSX of Table
|
|
44
214
|
*/
|
|
@@ -467,6 +637,118 @@ export declare type TableState = ComponentState<TableSlots> & Pick<Required<Tabl
|
|
|
467
637
|
|
|
468
638
|
export declare type TableStatePlugin = <TItem>(tableState: HeadlessTableState<TItem>) => HeadlessTableState<TItem>;
|
|
469
639
|
|
|
640
|
+
/**
|
|
641
|
+
* Create the state required to render DataGrid.
|
|
642
|
+
*
|
|
643
|
+
* The returned state can be modified with hooks such as useDataGridStyles_unstable,
|
|
644
|
+
* before being passed to renderDataGrid_unstable.
|
|
645
|
+
*
|
|
646
|
+
* @param props - props from this instance of DataGrid
|
|
647
|
+
* @param ref - reference to root HTMLElement of DataGrid
|
|
648
|
+
*/
|
|
649
|
+
export declare const useDataGrid_unstable: (props: DataGridProps, ref: React_2.Ref<HTMLElement>) => DataGridState;
|
|
650
|
+
|
|
651
|
+
/**
|
|
652
|
+
* Create the state required to render DataGridBody.
|
|
653
|
+
*
|
|
654
|
+
* The returned state can be modified with hooks such as useDataGridBodyStyles_unstable,
|
|
655
|
+
* before being passed to renderDataGridBody_unstable.
|
|
656
|
+
*
|
|
657
|
+
* @param props - props from this instance of DataGridBody
|
|
658
|
+
* @param ref - reference to root HTMLElement of DataGridBody
|
|
659
|
+
*/
|
|
660
|
+
export declare const useDataGridBody_unstable: (props: DataGridBodyProps, ref: React_2.Ref<HTMLElement>) => DataGridBodyState;
|
|
661
|
+
|
|
662
|
+
/**
|
|
663
|
+
* Apply styling to the DataGridBody slots based on the state
|
|
664
|
+
*/
|
|
665
|
+
export declare const useDataGridBodyStyles_unstable: (state: DataGridBodyState) => DataGridBodyState;
|
|
666
|
+
|
|
667
|
+
/**
|
|
668
|
+
* Create the state required to render DataGridCell.
|
|
669
|
+
*
|
|
670
|
+
* The returned state can be modified with hooks such as useDataGridCellStyles_unstable,
|
|
671
|
+
* before being passed to renderDataGridCell_unstable.
|
|
672
|
+
*
|
|
673
|
+
* @param props - props from this instance of DataGridCell
|
|
674
|
+
* @param ref - reference to root HTMLElement of DataGridCell
|
|
675
|
+
*/
|
|
676
|
+
export declare const useDataGridCell_unstable: (props: DataGridCellProps, ref: React_2.Ref<HTMLElement>) => DataGridCellState;
|
|
677
|
+
|
|
678
|
+
/**
|
|
679
|
+
* Apply styling to the DataGridCell slots based on the state
|
|
680
|
+
*/
|
|
681
|
+
export declare const useDataGridCellStyles_unstable: (state: DataGridCellState) => DataGridCellState;
|
|
682
|
+
|
|
683
|
+
/**
|
|
684
|
+
* Create the state required to render DataGridHeader.
|
|
685
|
+
*
|
|
686
|
+
* The returned state can be modified with hooks such as useDataGridHeaderStyles_unstable,
|
|
687
|
+
* before being passed to renderDataGridHeader_unstable.
|
|
688
|
+
*
|
|
689
|
+
* @param props - props from this instance of DataGridHeader
|
|
690
|
+
* @param ref - reference to root HTMLElement of DataGridHeader
|
|
691
|
+
*/
|
|
692
|
+
export declare const useDataGridHeader_unstable: (props: DataGridHeaderProps, ref: React_2.Ref<HTMLElement>) => DataGridHeaderState;
|
|
693
|
+
|
|
694
|
+
/**
|
|
695
|
+
* Create the state required to render DataGridHeaderCell.
|
|
696
|
+
*
|
|
697
|
+
* The returned state can be modified with hooks such as useDataGridHeaderCellStyles_unstable,
|
|
698
|
+
* before being passed to renderDataGridHeaderCell_unstable.
|
|
699
|
+
*
|
|
700
|
+
* @param props - props from this instance of DataGridHeaderCell
|
|
701
|
+
* @param ref - reference to root HTMLElement of DataGridHeaderCell
|
|
702
|
+
*/
|
|
703
|
+
export declare const useDataGridHeaderCell_unstable: (props: DataGridHeaderCellProps, ref: React_2.Ref<HTMLElement>) => DataGridHeaderCellState;
|
|
704
|
+
|
|
705
|
+
/**
|
|
706
|
+
* Apply styling to the DataGridHeaderCell slots based on the state
|
|
707
|
+
*/
|
|
708
|
+
export declare const useDataGridHeaderCellStyles_unstable: (state: DataGridHeaderCellState) => DataGridHeaderCellState;
|
|
709
|
+
|
|
710
|
+
/**
|
|
711
|
+
* Apply styling to the DataGridHeader slots based on the state
|
|
712
|
+
*/
|
|
713
|
+
export declare const useDataGridHeaderStyles_unstable: (state: DataGridHeaderState) => DataGridHeaderState;
|
|
714
|
+
|
|
715
|
+
/**
|
|
716
|
+
* Create the state required to render DataGridRow.
|
|
717
|
+
*
|
|
718
|
+
* The returned state can be modified with hooks such as useDataGridRowStyles_unstable,
|
|
719
|
+
* before being passed to renderDataGridRow_unstable.
|
|
720
|
+
*
|
|
721
|
+
* @param props - props from this instance of DataGridRow
|
|
722
|
+
* @param ref - reference to root HTMLElement of DataGridRow
|
|
723
|
+
*/
|
|
724
|
+
export declare const useDataGridRow_unstable: (props: DataGridRowProps, ref: React_2.Ref<HTMLElement>) => DataGridRowState;
|
|
725
|
+
|
|
726
|
+
/**
|
|
727
|
+
* Apply styling to the DataGridRow slots based on the state
|
|
728
|
+
*/
|
|
729
|
+
export declare const useDataGridRowStyles_unstable: (state: DataGridRowState) => DataGridRowState;
|
|
730
|
+
|
|
731
|
+
/**
|
|
732
|
+
* Create the state required to render DataGridSelectionCell.
|
|
733
|
+
*
|
|
734
|
+
* The returned state can be modified with hooks such as useDataGridSelectionCellStyles_unstable,
|
|
735
|
+
* before being passed to renderDataGridSelectionCell_unstable.
|
|
736
|
+
*
|
|
737
|
+
* @param props - props from this instance of DataGridSelectionCell
|
|
738
|
+
* @param ref - reference to root HTMLElement of DataGridSelectionCell
|
|
739
|
+
*/
|
|
740
|
+
export declare const useDataGridSelectionCell_unstable: (props: DataGridSelectionCellProps, ref: React_2.Ref<HTMLElement>) => DataGridSelectionCellState;
|
|
741
|
+
|
|
742
|
+
/**
|
|
743
|
+
* Apply styling to the DataGridSelectionCell slots based on the state
|
|
744
|
+
*/
|
|
745
|
+
export declare const useDataGridSelectionCellStyles_unstable: (state: DataGridSelectionCellState) => DataGridSelectionCellState;
|
|
746
|
+
|
|
747
|
+
/**
|
|
748
|
+
* Apply styling to the DataGrid slots based on the state
|
|
749
|
+
*/
|
|
750
|
+
export declare const useDataGridStyles_unstable: (state: DataGridState) => DataGridState;
|
|
751
|
+
|
|
470
752
|
export declare function useSelection<TItem>(options: UseSelectionOptions): (tableState: HeadlessTableState<TItem>) => HeadlessTableState<TItem>;
|
|
471
753
|
|
|
472
754
|
declare interface UseSelectionOptions {
|
package/lib/DataGrid.js
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGrid.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGrid.ts"],"names":[],"mappings":"AAAA,cAAc,6BAA6B,CAAC","sourcesContent":["export * from './components/DataGrid/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridBody.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridBody.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC","sourcesContent":["export * from './components/DataGridBody/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridCell.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridCell.ts"],"names":[],"mappings":"AAAA,cAAc,iCAAiC,CAAC","sourcesContent":["export * from './components/DataGridCell/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridHeader.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridHeader.ts"],"names":[],"mappings":"AAAA,cAAc,mCAAmC,CAAC","sourcesContent":["export * from './components/DataGridHeader/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridHeaderCell.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridHeaderCell.ts"],"names":[],"mappings":"AAAA,cAAc,uCAAuC,CAAC","sourcesContent":["export * from './components/DataGridHeaderCell/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridRow.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridRow.ts"],"names":[],"mappings":"AAAA,cAAc,gCAAgC,CAAC","sourcesContent":["export * from './components/DataGridRow/index';\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGridSelectionCell.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/DataGridSelectionCell.ts"],"names":[],"mappings":"AAAA,cAAc,0CAA0C,CAAC","sourcesContent":["export * from './components/DataGridSelectionCell/index';\n"]}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { useDataGrid_unstable } from './useDataGrid';
|
|
3
|
+
import { renderDataGrid_unstable } from './renderDataGrid';
|
|
4
|
+
import { useDataGridStyles_unstable } from './useDataGridStyles';
|
|
5
|
+
import { useDataGridContextValues_unstable } from './useDataGridContextValues';
|
|
6
|
+
/**
|
|
7
|
+
* DataGrid component - TODO: add more docs
|
|
8
|
+
*/
|
|
9
|
+
|
|
10
|
+
export const DataGrid = /*#__PURE__*/React.forwardRef((props, ref) => {
|
|
11
|
+
const state = useDataGrid_unstable(props, ref);
|
|
12
|
+
useDataGridStyles_unstable(state);
|
|
13
|
+
return renderDataGrid_unstable(state, useDataGridContextValues_unstable(state));
|
|
14
|
+
});
|
|
15
|
+
DataGrid.displayName = 'DataGrid';
|
|
16
|
+
//# sourceMappingURL=DataGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["packages/react-components/react-table/src/components/DataGrid/DataGrid.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAZ,MAAuB,OAAvB;AACA,SAAS,oBAAT,QAAqC,eAArC;AACA,SAAS,uBAAT,QAAwC,kBAAxC;AACA,SAAS,0BAAT,QAA2C,qBAA3C;AAGA,SAAS,iCAAT,QAAkD,4BAAlD;AAEA;;AAEG;;AACH,OAAO,MAAM,QAAQ,gBAAuC,KAAK,CAAC,UAAN,CAAiB,CAAC,KAAD,EAAQ,GAAR,KAAe;EAC1F,MAAM,KAAK,GAAG,oBAAoB,CAAC,KAAD,EAAQ,GAAR,CAAlC;EAEA,0BAA0B,CAAC,KAAD,CAA1B;EACA,OAAO,uBAAuB,CAAC,KAAD,EAAQ,iCAAiC,CAAC,KAAD,CAAzC,CAA9B;AACD,CAL2D,CAArD;AAOP,QAAQ,CAAC,WAAT,GAAuB,UAAvB","sourcesContent":["import * as React from 'react';\nimport { useDataGrid_unstable } from './useDataGrid';\nimport { renderDataGrid_unstable } from './renderDataGrid';\nimport { useDataGridStyles_unstable } from './useDataGridStyles';\nimport type { DataGridProps } from './DataGrid.types';\nimport type { ForwardRefComponent } from '@fluentui/react-utilities';\nimport { useDataGridContextValues_unstable } from './useDataGridContextValues';\n\n/**\n * DataGrid component - TODO: add more docs\n */\nexport const DataGrid: ForwardRefComponent<DataGridProps> = React.forwardRef((props, ref) => {\n const state = useDataGrid_unstable(props, ref);\n\n useDataGridStyles_unstable(state);\n return renderDataGrid_unstable(state, useDataGridContextValues_unstable(state));\n});\n\nDataGrid.displayName = 'DataGrid';\n"],"sourceRoot":"../src/"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"DataGrid.types.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/components/DataGrid/DataGrid.types.ts"],"names":[],"mappings":"","sourcesContent":["import { TableContextValues, TableProps, TableSlots, TableState } from '../Table/Table.types';\n\nexport type DataGridSlots = TableSlots;\n\nexport type DataGridContextValues = TableContextValues;\n\n/**\n * DataGrid Props\n */\nexport type DataGridProps = TableProps;\n\n/**\n * State used in rendering DataGrid\n */\nexport type DataGridState = TableState;\n"]}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"../src/","sources":["packages/react-components/react-table/src/components/DataGrid/index.ts"],"names":[],"mappings":"AAAA,cAAc,YAAY,CAAC;AAC3B,cAAc,kBAAkB,CAAC;AACjC,cAAc,kBAAkB,CAAC;AACjC,cAAc,eAAe,CAAC;AAC9B,cAAc,qBAAqB,CAAC","sourcesContent":["export * from './DataGrid';\nexport * from './DataGrid.types';\nexport * from './renderDataGrid';\nexport * from './useDataGrid';\nexport * from './useDataGridStyles';\n"]}
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import { renderTable_unstable } from '../Table/renderTable';
|
|
2
|
+
/**
|
|
3
|
+
* Render the final JSX of DataGrid
|
|
4
|
+
*/
|
|
5
|
+
|
|
6
|
+
export const renderDataGrid_unstable = (state, contextValues) => {
|
|
7
|
+
return renderTable_unstable(state, contextValues);
|
|
8
|
+
};
|
|
9
|
+
//# sourceMappingURL=renderDataGrid.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["packages/react-components/react-table/src/components/DataGrid/renderDataGrid.tsx"],"names":[],"mappings":"AACA,SAAS,oBAAT,QAAqC,sBAArC;AAEA;;AAEG;;AACH,OAAO,MAAM,uBAAuB,GAAG,CAAC,KAAD,EAAuB,aAAvB,KAA+D;EACpG,OAAO,oBAAoB,CAAC,KAAD,EAAQ,aAAR,CAA3B;AACD,CAFM","sourcesContent":["import type { DataGridContextValues, DataGridState } from './DataGrid.types';\nimport { renderTable_unstable } from '../Table/renderTable';\n\n/**\n * Render the final JSX of DataGrid\n */\nexport const renderDataGrid_unstable = (state: DataGridState, contextValues: DataGridContextValues) => {\n return renderTable_unstable(state, contextValues);\n};\n"],"sourceRoot":"../src/"}
|