@fluentui/react-components 9.7.1 → 9.7.3

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.md CHANGED
@@ -1,12 +1,152 @@
1
1
  # Change Log - @fluentui/react-components
2
2
 
3
- This log was last generated on Thu, 17 Nov 2022 23:02:27 GMT and should not be manually modified.
3
+ This log was last generated on Tue, 20 Dec 2022 14:55:45 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## [9.7.3](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.7.3)
8
+
9
+ Tue, 20 Dec 2022 14:55:45 GMT
10
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.7.2..@fluentui/react-components_v9.7.3)
11
+
12
+ ### Minor changes
13
+
14
+ - `@fluentui/react-utilities`
15
+ - feat: isHTMLElement helper function ([PR #25891](https://github.com/microsoft/fluentui/pull/25891) by bernardo.sunderhus@gmail.com)
16
+ - feat: replace shouldPreventKeydown with isInteractiveHTMLElement ([PR #25942](https://github.com/microsoft/fluentui/pull/25942) by lingfangao@hotmail.com)
17
+
18
+ ### Patches
19
+
20
+ - `@fluentui/react-avatar`
21
+ - fix: Avatar shouldn't render an icon when displaying an image (performance) ([PR #25945](https://github.com/microsoft/fluentui/pull/25945) by behowell@microsoft.com)
22
+ - `@fluentui/react-checkbox`
23
+ - chore: Update Checkbox to use griffel reset styles ([PR #25984](https://github.com/microsoft/fluentui/pull/25984) by behowell@microsoft.com)
24
+ - `@fluentui/react-components`
25
+ - (chore): remove deprecated exports from ProgressBar ([PR #26027](https://github.com/microsoft/fluentui/pull/26027) by ololubek@microsoft.com)
26
+ - chore: Rename Progress to ProgressBar ([PR #25929](https://github.com/microsoft/fluentui/pull/25929) by ololubek@microsoft.com)
27
+ - `@fluentui/react-menu`
28
+ - fix: always apply typography styles in MenuPopover ([PR #25965](https://github.com/microsoft/fluentui/pull/25965) by olfedias@microsoft.com)
29
+ - `@fluentui/react-popover`
30
+ - fix: always apply typography styles in PopoverSurface ([PR #25965](https://github.com/microsoft/fluentui/pull/25965) by olfedias@microsoft.com)
31
+ - `@fluentui/react-positioning`
32
+ - fix: Coordinates should be rounded to integers ([PR #26038](https://github.com/microsoft/fluentui/pull/26038) by lingfangao@hotmail.com)
33
+ - `@fluentui/react-provider`
34
+ - add "applyStylesToPortals" prop ([PR #25965](https://github.com/microsoft/fluentui/pull/25965) by olfedias@microsoft.com)
35
+ - `@fluentui/react-radio`
36
+ - chore: Update Radio to use griffel reset styles ([PR #25984](https://github.com/microsoft/fluentui/pull/25984) by behowell@microsoft.com)
37
+ - `@fluentui/react-tabster`
38
+ - chore: Migrate to new package structure. ([PR #25833](https://github.com/microsoft/fluentui/pull/25833) by tristan.watanabe@gmail.com)
39
+ - `@fluentui/react-theme`
40
+ - fix: update theme tokens ([PR #25903](https://github.com/microsoft/fluentui/pull/25903) by miroslav.stastny@microsoft.com)
41
+
42
+ ### Changes
43
+
44
+ - `@fluentui/react-alert`
45
+ - fix: update tokens to match the spec ([PR #25855](https://github.com/microsoft/fluentui/pull/25855) by marigome@microsoft.com)
46
+ - `@fluentui/react-card`
47
+ - fix: remove unnecessary selectable ref and add support for aria-describedby on card preview ([PR #25934](https://github.com/microsoft/fluentui/pull/25934) by marcosvmmoura@gmail.com)
48
+ - fix selectable card accessibility ([PR #25827](https://github.com/microsoft/fluentui/pull/25827) by marcosvmmoura@gmail.com)
49
+ - `@fluentui/react-combobox`
50
+ - feat: update Listbox and Option to use menu and menuitemcheckbox semantics for multiselect ([PR #25905](https://github.com/microsoft/fluentui/pull/25905) by sarah.higley@microsoft.com)
51
+ - feat: multiselect Combobox does not display selected options in the text field ([PR #25898](https://github.com/microsoft/fluentui/pull/25898) by sarah.higley@microsoft.com)
52
+ - `@fluentui/react-progress`
53
+ - chore: Change name to ProgressBar ([PR #25929](https://github.com/microsoft/fluentui/pull/25929) by ololubek@microsoft.com)
54
+ - fix: Add @noflip to animation styles to prevent extra from css being generated ([PR #26029](https://github.com/microsoft/fluentui/pull/26029) by ololubek@microsoft.com)
55
+ - (chore): remove deprecated exports from ProgressBar ([PR #26027](https://github.com/microsoft/fluentui/pull/26027) by ololubek@microsoft.com)
56
+ - `@fluentui/react-table`
57
+ - fix: Explicit focus outline for TableHeaderCell and TableSelectionCell ([PR #25938](https://github.com/microsoft/fluentui/pull/25938) by lingfangao@hotmail.com)
58
+ - fix(DataGridSelectionCell): should render `aria-selected` on the cell ([PR #25950](https://github.com/microsoft/fluentui/pull/25950) by lingfangao@hotmail.com)
59
+ - fix: DataGrid supports keyboard navigation by default ([PR #25939](https://github.com/microsoft/fluentui/pull/25939) by lingfangao@hotmail.com)
60
+ - feat: Add row focus as unstable feature due to a11y unknowns ([PR #25944](https://github.com/microsoft/fluentui/pull/25944) by lingfangao@hotmail.com)
61
+ - fix(DataGridRow): `children` type should only be render function ([PR #25930](https://github.com/microsoft/fluentui/pull/25930) by lingfangao@hotmail.com)
62
+ - fix: DataGridRow should prevent default on spacebar ([PR #25942](https://github.com/microsoft/fluentui/pull/25942) by lingfangao@hotmail.com)
63
+ - feat: DataGrid supports custom row Ids ([PR #25885](https://github.com/microsoft/fluentui/pull/25885) by lingfangao@hotmail.com)
64
+ - fix(TableHeaderCell): should render `aria-sort="none"` if not sorted ([PR #25921](https://github.com/microsoft/fluentui/pull/25921) by lingfangao@hotmail.com)
65
+ - `@fluentui/react-theme-sass`
66
+ - feat: add new tokens ([PR #25903](https://github.com/microsoft/fluentui/pull/25903) by miroslav.stastny@microsoft.com)
67
+ - `@fluentui/react-toolbar`
68
+ - chore: Migrate to new package structure. ([PR #25920](https://github.com/microsoft/fluentui/pull/25920) by tristan.watanabe@gmail.com)
69
+
70
+ ## [9.7.2](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.7.2)
71
+
72
+ Mon, 05 Dec 2022 18:29:19 GMT
73
+ [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.7.1..@fluentui/react-components_v9.7.2)
74
+
75
+ ### Patches
76
+
77
+ - `@fluentui/react-avatar`
78
+ - fix: AvatarGroup's pie layout places inline items correctly in rtl. ([PR #25822](https://github.com/microsoft/fluentui/pull/25822) by esteban.230@hotmail.com)
79
+ - `@fluentui/react-button`
80
+ - chore: refactor to use makeResetStyles ([PR #25216](https://github.com/microsoft/fluentui/pull/25216) by olfedias@microsoft.com)
81
+ - `@fluentui/react-components`
82
+ - BREAKING: rename useTable->useTableFeatures, useSelection->useTableSelection, useSort->useTableSort ([PR #25797](https://github.com/microsoft/fluentui/pull/25797) by lingfangao@hotmail.com)
83
+ - chore: add exports for CSS extraction in Griffel ([PR #25216](https://github.com/microsoft/fluentui/pull/25216) by olfedias@microsoft.com)
84
+ - feat: Export `DataGrid` as unstable ([PR #25805](https://github.com/microsoft/fluentui/pull/25805) by lingfangao@hotmail.com)
85
+ - chore: deprecates unused type UninitializedMenuListState ([PR #25672](https://github.com/microsoft/fluentui/pull/25672) by bernardo.sunderhus@gmail.com)
86
+ - `@fluentui/react-input`
87
+ - chore: Replace use of fontSize tokens with typographyStyles ([PR #25727](https://github.com/microsoft/fluentui/pull/25727) by behowell@microsoft.com)
88
+ - `@fluentui/react-menu`
89
+ - chore: removes prop spreading on MenuList state ([PR #25672](https://github.com/microsoft/fluentui/pull/25672) by bernardo.sunderhus@gmail.com)
90
+ - fix: MenuDivider thickness should be `strokeWidthThin` ([PR #25711](https://github.com/microsoft/fluentui/pull/25711) by lingfangao@hotmail.com)
91
+ - `@fluentui/react-popover`
92
+ - chore: Migrate to new package structure. ([PR #25735](https://github.com/microsoft/fluentui/pull/25735) by tristan.watanabe@gmail.com)
93
+ - fix: Invoke `onOpenChange` callback without checking if open state has flipped ([PR #25741](https://github.com/microsoft/fluentui/pull/25741) by yuanboxue@microsoft.com)
94
+ - `@fluentui/react-provider`
95
+ - chore: Migrate to new package structure. ([PR #25809](https://github.com/microsoft/fluentui/pull/25809) by tristan.watanabe@gmail.com)
96
+ - `@fluentui/react-radio`
97
+ - chore: Migrate to new package structure. ([PR #25810](https://github.com/microsoft/fluentui/pull/25810) by tristan.watanabe@gmail.com)
98
+ - `@fluentui/react-spinbutton`
99
+ - chore: Migrate to new package structure. ([PR #25813](https://github.com/microsoft/fluentui/pull/25813) by tristan.watanabe@gmail.com)
100
+ - `@fluentui/react-spinner`
101
+ - chore: Migrate to new package structure. ([PR #25814](https://github.com/microsoft/fluentui/pull/25814) by tristan.watanabe@gmail.com)
102
+ - `@fluentui/react-switch`
103
+ - chore: Migrate to new package structure. ([PR #25819](https://github.com/microsoft/fluentui/pull/25819) by tristan.watanabe@gmail.com)
104
+ - `@fluentui/react-tabster`
105
+ - fix: focus-within attribute no longer the same as focus-visible ([PR #25790](https://github.com/microsoft/fluentui/pull/25790) by lingfangao@hotmail.com)
106
+ - fix: allow GriffelResetStyle to be passed to createCustomFocusIndicatorStyle ([PR #25216](https://github.com/microsoft/fluentui/pull/25216) by olfedias@microsoft.com)
107
+ - `@fluentui/react-textarea`
108
+ - chore: Replace use of fontSize tokens with typographyStyles ([PR #25727](https://github.com/microsoft/fluentui/pull/25727) by behowell@microsoft.com)
109
+ - chore: Migrate to new package structure. ([PR #25820](https://github.com/microsoft/fluentui/pull/25820) by tristan.watanabe@gmail.com)
110
+ - `@fluentui/react-theme`
111
+ - refactor: Use Object.assign to reduce loop runtime ([PR #25433](https://github.com/microsoft/fluentui/pull/25433) by tigeroakes@microsoft.com)
112
+ - chore: Migrate to new package structure. ([PR #25812](https://github.com/microsoft/fluentui/pull/25812) by tristan.watanabe@gmail.com)
113
+ - `@fluentui/react-tooltip`
114
+ - chore: Migrate to new package structure. ([PR #25818](https://github.com/microsoft/fluentui/pull/25818) by tristan.watanabe@gmail.com)
115
+
116
+ ### Changes
117
+
118
+ - `@fluentui/react-combobox`
119
+ - feat: update Option value to be a non-display value, and add an Option text prop that is required if the child is not a string ([PR #25379](https://github.com/microsoft/fluentui/pull/25379) by sarah.higley@microsoft.com)
120
+ - fix: open Combobox popup when typing ([PR #25769](https://github.com/microsoft/fluentui/pull/25769) by sarah.higley@microsoft.com)
121
+ - chore: Replace use of fontSize tokens with typographyStyles ([PR #25727](https://github.com/microsoft/fluentui/pull/25727) by behowell@microsoft.com)
122
+ - fix: Combobox should close on blur after clicking expand icon ([PR #25771](https://github.com/microsoft/fluentui/pull/25771) by sarah.higley@microsoft.com)
123
+ - `@fluentui/react-field`
124
+ - fix: Field should use aria-describedby instead of aria-errormessage ([PR #25580](https://github.com/microsoft/fluentui/pull/25580) by behowell@microsoft.com)
125
+ - chore: Migrate to new package structure. ([PR #25817](https://github.com/microsoft/fluentui/pull/25817) by tristan.watanabe@gmail.com)
126
+ - `@fluentui/react-persona`
127
+ - chore: Updating Persona's docs to match implementation. ([PR #25770](https://github.com/microsoft/fluentui/pull/25770) by esteban.230@hotmail.com)
128
+ - chore: Migrate to new package structure. ([PR #25737](https://github.com/microsoft/fluentui/pull/25737) by tristan.watanabe@gmail.com)
129
+ - fix: Make Persona's text wrap when overflowing its container. ([PR #25880](https://github.com/microsoft/fluentui/pull/25880) by esteban.230@hotmail.com)
130
+ - `@fluentui/react-progress`
131
+ - chore: Migrate to new package structure. ([PR #25744](https://github.com/microsoft/fluentui/pull/25744) by tristan.watanabe@gmail.com)
132
+ - `@fluentui/react-select`
133
+ - chore: Replace use of fontSize tokens with typographyStyles ([PR #25727](https://github.com/microsoft/fluentui/pull/25727) by behowell@microsoft.com)
134
+ - `@fluentui/react-table`
135
+ - fix: TableHeaderCell design fixes ([PR #25712](https://github.com/microsoft/fluentui/pull/25712) by lingfangao@hotmail.com)
136
+ - BREAKING(useTable): `onSelectionChange` returns data object ([PR #25731](https://github.com/microsoft/fluentui/pull/25731) by lingfangao@hotmail.com)
137
+ - docs: Update docstrings for props ([PR #25787](https://github.com/microsoft/fluentui/pull/25787) by lingfangao@hotmail.com)
138
+ - fix: Various design fixes to Table components ([PR #25715](https://github.com/microsoft/fluentui/pull/25715) by lingfangao@hotmail.com)
139
+ - fix: Cell actions should have correct background when row focused within ([PR #25790](https://github.com/microsoft/fluentui/pull/25790) by lingfangao@hotmail.com)
140
+ - fix: Table row height is determined by cells ([PR #25717](https://github.com/microsoft/fluentui/pull/25717) by lingfangao@hotmail.com)
141
+ - BREAKING: change `smaller` size to `extra-small` ([PR #25713](https://github.com/microsoft/fluentui/pull/25713) by lingfangao@hotmail.com)
142
+ - fix(TableCellLayout): Icon sizes in should match design spec ([PR #25764](https://github.com/microsoft/fluentui/pull/25764) by lingfangao@hotmail.com)
143
+ - feat: `DataGrid` supports row sorting ([PR #25655](https://github.com/microsoft/fluentui/pull/25655) by lingfangao@hotmail.com)
144
+ - BREAKING: rename useTable->useTableFeatures, useSelection->useTableSelection, useSort->useTableSort ([PR #25797](https://github.com/microsoft/fluentui/pull/25797) by lingfangao@hotmail.com)
145
+ - feat: DataGrid supports selection ([PR #25719](https://github.com/microsoft/fluentui/pull/25719) by lingfangao@hotmail.com)
146
+
7
147
  ## [9.7.1](https://github.com/microsoft/fluentui/tree/@fluentui/react-components_v9.7.1)
8
148
 
9
- Thu, 17 Nov 2022 23:02:27 GMT
149
+ Thu, 17 Nov 2022 23:05:30 GMT
10
150
  [Compare changes](https://github.com/microsoft/fluentui/compare/@fluentui/react-components_v9.7.0..@fluentui/react-components_v9.7.1)
11
151
 
12
152
  ### Minor changes
package/dist/index.d.ts CHANGED
@@ -1,4 +1,6 @@
1
1
  import { __css } from '@griffel/react';
2
+ import { __resetCSS } from '@griffel/react';
3
+ import { __resetStyles } from '@griffel/react';
2
4
  import { __styles } from '@griffel/react';
3
5
  import { Accordion } from '@fluentui/react-accordion';
4
6
  import { accordionClassNames } from '@fluentui/react-accordion';
@@ -626,6 +628,10 @@ import { webLightTheme } from '@fluentui/react-theme';
626
628
 
627
629
  export { __css }
628
630
 
631
+ export { __resetCSS }
632
+
633
+ export { __resetStyles }
634
+
629
635
  export { __styles }
630
636
 
631
637
  export { Accordion }
@@ -46,6 +46,43 @@ import { CreateColumnOptions } from '@fluentui/react-table';
46
46
  import { DATA_OVERFLOW_ITEM } from '@fluentui/react-overflow';
47
47
  import { DATA_OVERFLOW_MENU } from '@fluentui/react-overflow';
48
48
  import { DATA_OVERFLOWING } from '@fluentui/react-overflow';
49
+ import { DataGrid } from '@fluentui/react-table';
50
+ import { DataGridBody } from '@fluentui/react-table';
51
+ import { dataGridBodyClassNames } from '@fluentui/react-table';
52
+ import { DataGridBodyProps } from '@fluentui/react-table';
53
+ import { DataGridBodySlots } from '@fluentui/react-table';
54
+ import { DataGridBodyState } from '@fluentui/react-table';
55
+ import { DataGridCell } from '@fluentui/react-table';
56
+ import { dataGridCellClassNames } from '@fluentui/react-table';
57
+ import { DataGridCellProps } from '@fluentui/react-table';
58
+ import { DataGridCellSlots } from '@fluentui/react-table';
59
+ import { DataGridCellState } from '@fluentui/react-table';
60
+ import { dataGridClassNames } from '@fluentui/react-table';
61
+ import { DataGridContextValue } from '@fluentui/react-table';
62
+ import { DataGridContextValues } from '@fluentui/react-table';
63
+ import { DataGridHeader } from '@fluentui/react-table';
64
+ import { DataGridHeaderCell } from '@fluentui/react-table';
65
+ import { dataGridHeaderCellClassNames } from '@fluentui/react-table';
66
+ import { DataGridHeaderCellProps } from '@fluentui/react-table';
67
+ import { DataGridHeaderCellSlots } from '@fluentui/react-table';
68
+ import { DataGridHeaderCellState } from '@fluentui/react-table';
69
+ import { dataGridHeaderClassNames } from '@fluentui/react-table';
70
+ import { DataGridHeaderProps } from '@fluentui/react-table';
71
+ import { DataGridHeaderSlots } from '@fluentui/react-table';
72
+ import { DataGridHeaderState } from '@fluentui/react-table';
73
+ import { DataGridProps } from '@fluentui/react-table';
74
+ import { DataGridRow } from '@fluentui/react-table';
75
+ import { dataGridRowClassNames } from '@fluentui/react-table';
76
+ import { DataGridRowProps } from '@fluentui/react-table';
77
+ import { DataGridRowSlots } from '@fluentui/react-table';
78
+ import { DataGridRowState } from '@fluentui/react-table';
79
+ import { DataGridSelectionCell } from '@fluentui/react-table';
80
+ import { dataGridSelectionCellClassNames } from '@fluentui/react-table';
81
+ import { DataGridSelectionCellProps } from '@fluentui/react-table';
82
+ import { DataGridSelectionCellSlots } from '@fluentui/react-table';
83
+ import { DataGridSelectionCellState } from '@fluentui/react-table';
84
+ import { DataGridSlots } from '@fluentui/react-table';
85
+ import { DataGridState } from '@fluentui/react-table';
49
86
  import { Dropdown } from '@fluentui/react-combobox';
50
87
  import { dropdownClassNames } from '@fluentui/react-combobox';
51
88
  import { DropdownContextValues } from '@fluentui/react-combobox';
@@ -92,14 +129,14 @@ import { personaClassNames } from '@fluentui/react-persona';
92
129
  import { PersonaProps } from '@fluentui/react-persona';
93
130
  import { PersonaSlots } from '@fluentui/react-persona';
94
131
  import { PersonaState } from '@fluentui/react-persona';
95
- import { Progress } from '@fluentui/react-progress';
96
- import { progressClassNames } from '@fluentui/react-progress';
132
+ import { ProgressBar } from '@fluentui/react-progress';
133
+ import { progressBarClassNames } from '@fluentui/react-progress';
134
+ import { ProgressBarProps } from '@fluentui/react-progress';
135
+ import { ProgressBarSlots } from '@fluentui/react-progress';
136
+ import { ProgressBarState } from '@fluentui/react-progress';
97
137
  import { ProgressField_unstable as ProgressField } from '@fluentui/react-progress';
98
138
  import { progressFieldClassNames } from '@fluentui/react-progress';
99
139
  import { ProgressFieldProps_unstable as ProgressFieldProps } from '@fluentui/react-progress';
100
- import { ProgressProps } from '@fluentui/react-progress';
101
- import { ProgressSlots } from '@fluentui/react-progress';
102
- import { ProgressState } from '@fluentui/react-progress';
103
140
  import { RadioGroupField_unstable as RadioGroupField } from '@fluentui/react-radio';
104
141
  import { radioGroupFieldClassNames } from '@fluentui/react-radio';
105
142
  import { RadioGroupFieldProps_unstable as RadioGroupFieldProps } from '@fluentui/react-radio';
@@ -109,6 +146,13 @@ import { renderCardFooter_unstable } from '@fluentui/react-card';
109
146
  import { renderCardHeader_unstable } from '@fluentui/react-card';
110
147
  import { renderCardPreview_unstable } from '@fluentui/react-card';
111
148
  import { renderCombobox_unstable } from '@fluentui/react-combobox';
149
+ import { renderDataGrid_unstable } from '@fluentui/react-table';
150
+ import { renderDataGridBody_unstable } from '@fluentui/react-table';
151
+ import { renderDataGridCell_unstable } from '@fluentui/react-table';
152
+ import { renderDataGridHeader_unstable } from '@fluentui/react-table';
153
+ import { renderDataGridHeaderCell_unstable } from '@fluentui/react-table';
154
+ import { renderDataGridRow_unstable } from '@fluentui/react-table';
155
+ import { renderDataGridSelectionCell_unstable } from '@fluentui/react-table';
112
156
  import { renderDropdown_unstable } from '@fluentui/react-combobox';
113
157
  import { renderField_unstable } from '@fluentui/react-field';
114
158
  import { renderInfoButton_unstable } from '@fluentui/react-infobutton';
@@ -116,7 +160,7 @@ import { renderListbox_unstable } from '@fluentui/react-combobox';
116
160
  import { renderOption_unstable } from '@fluentui/react-combobox';
117
161
  import { renderOptionGroup_unstable } from '@fluentui/react-combobox';
118
162
  import { renderPersona_unstable } from '@fluentui/react-persona';
119
- import { renderProgress_unstable } from '@fluentui/react-progress';
163
+ import { renderProgressBar_unstable } from '@fluentui/react-progress';
120
164
  import { renderSelect_unstable } from '@fluentui/react-select';
121
165
  import { renderTable_unstable } from '@fluentui/react-table';
122
166
  import { renderTableBody_unstable } from '@fluentui/react-table';
@@ -165,6 +209,9 @@ import { tableCellClassName } from '@fluentui/react-table';
165
209
  import { tableCellClassNames } from '@fluentui/react-table';
166
210
  import { TableCellLayout } from '@fluentui/react-table';
167
211
  import { tableCellLayoutClassNames } from '@fluentui/react-table';
212
+ import { TableCellLayoutProps } from '@fluentui/react-table';
213
+ import { TableCellLayoutSlots } from '@fluentui/react-table';
214
+ import { TableCellLayoutState } from '@fluentui/react-table';
168
215
  import { TableCellProps } from '@fluentui/react-table';
169
216
  import { TableCellSlots } from '@fluentui/react-table';
170
217
  import { TableCellState } from '@fluentui/react-table';
@@ -233,6 +280,20 @@ import { useCardPreviewStyles_unstable } from '@fluentui/react-card';
233
280
  import { useCardStyles_unstable } from '@fluentui/react-card';
234
281
  import { useCombobox_unstable } from '@fluentui/react-combobox';
235
282
  import { useComboboxStyles_unstable } from '@fluentui/react-combobox';
283
+ import { useDataGrid_unstable } from '@fluentui/react-table';
284
+ import { useDataGridBody_unstable } from '@fluentui/react-table';
285
+ import { useDataGridBodyStyles_unstable } from '@fluentui/react-table';
286
+ import { useDataGridCell_unstable } from '@fluentui/react-table';
287
+ import { useDataGridCellStyles_unstable } from '@fluentui/react-table';
288
+ import { useDataGridHeader_unstable } from '@fluentui/react-table';
289
+ import { useDataGridHeaderCell_unstable } from '@fluentui/react-table';
290
+ import { useDataGridHeaderCellStyles_unstable } from '@fluentui/react-table';
291
+ import { useDataGridHeaderStyles_unstable } from '@fluentui/react-table';
292
+ import { useDataGridRow_unstable } from '@fluentui/react-table';
293
+ import { useDataGridRowStyles_unstable } from '@fluentui/react-table';
294
+ import { useDataGridSelectionCell_unstable } from '@fluentui/react-table';
295
+ import { useDataGridSelectionCellStyles_unstable } from '@fluentui/react-table';
296
+ import { useDataGridStyles_unstable } from '@fluentui/react-table';
236
297
  import { useDropdown_unstable } from '@fluentui/react-combobox';
237
298
  import { useDropdownStyles_unstable } from '@fluentui/react-combobox';
238
299
  import { useField_unstable } from '@fluentui/react-field';
@@ -250,13 +311,10 @@ import { useOptionStyles_unstable } from '@fluentui/react-combobox';
250
311
  import { useOverflowMenu } from '@fluentui/react-overflow';
251
312
  import { usePersona_unstable } from '@fluentui/react-persona';
252
313
  import { usePersonaStyles_unstable } from '@fluentui/react-persona';
253
- import { useProgress_unstable } from '@fluentui/react-progress';
254
- import { useProgressStyles_unstable } from '@fluentui/react-progress';
314
+ import { useProgressBar_unstable } from '@fluentui/react-progress';
315
+ import { useProgressBarStyles_unstable } from '@fluentui/react-progress';
255
316
  import { useSelect_unstable } from '@fluentui/react-select';
256
- import { useSelection } from '@fluentui/react-table';
257
317
  import { useSelectStyles_unstable } from '@fluentui/react-select';
258
- import { useSort } from '@fluentui/react-table';
259
- import { useTable } from '@fluentui/react-table';
260
318
  import { useTable_unstable } from '@fluentui/react-table';
261
319
  import { useTableBody_unstable } from '@fluentui/react-table';
262
320
  import { useTableBodyStyles_unstable } from '@fluentui/react-table';
@@ -267,6 +325,7 @@ import { useTableCellLayout_unstable } from '@fluentui/react-table';
267
325
  import { useTableCellLayoutStyles_unstable } from '@fluentui/react-table';
268
326
  import { useTableCellStyles_unstable } from '@fluentui/react-table';
269
327
  import { useTableContext } from '@fluentui/react-table';
328
+ import { useTableFeatures } from '@fluentui/react-table';
270
329
  import { useTableHeader_unstable } from '@fluentui/react-table';
271
330
  import { useTableHeaderCell_unstable } from '@fluentui/react-table';
272
331
  import { useTableHeaderCellStyles_unstable } from '@fluentui/react-table';
@@ -274,8 +333,10 @@ import { useTableHeaderStyles_unstable } from '@fluentui/react-table';
274
333
  import { UseTableOptions } from '@fluentui/react-table';
275
334
  import { useTableRow_unstable } from '@fluentui/react-table';
276
335
  import { useTableRowStyles_unstable } from '@fluentui/react-table';
336
+ import { useTableSelection } from '@fluentui/react-table';
277
337
  import { useTableSelectionCell_unstable } from '@fluentui/react-table';
278
338
  import { useTableSelectionCellStyles_unstable } from '@fluentui/react-table';
339
+ import { useTableSort } from '@fluentui/react-table';
279
340
  import { useTableStyles_unstable } from '@fluentui/react-table';
280
341
  import { useToolbar_unstable } from '@fluentui/react-toolbar';
281
342
  import { useToolbarDividerStyles_unstable } from '@fluentui/react-toolbar';
@@ -377,6 +438,80 @@ export { DATA_OVERFLOW_MENU }
377
438
 
378
439
  export { DATA_OVERFLOWING }
379
440
 
441
+ export { DataGrid }
442
+
443
+ export { DataGridBody }
444
+
445
+ export { dataGridBodyClassNames }
446
+
447
+ export { DataGridBodyProps }
448
+
449
+ export { DataGridBodySlots }
450
+
451
+ export { DataGridBodyState }
452
+
453
+ export { DataGridCell }
454
+
455
+ export { dataGridCellClassNames }
456
+
457
+ export { DataGridCellProps }
458
+
459
+ export { DataGridCellSlots }
460
+
461
+ export { DataGridCellState }
462
+
463
+ export { dataGridClassNames }
464
+
465
+ export { DataGridContextValue }
466
+
467
+ export { DataGridContextValues }
468
+
469
+ export { DataGridHeader }
470
+
471
+ export { DataGridHeaderCell }
472
+
473
+ export { dataGridHeaderCellClassNames }
474
+
475
+ export { DataGridHeaderCellProps }
476
+
477
+ export { DataGridHeaderCellSlots }
478
+
479
+ export { DataGridHeaderCellState }
480
+
481
+ export { dataGridHeaderClassNames }
482
+
483
+ export { DataGridHeaderProps }
484
+
485
+ export { DataGridHeaderSlots }
486
+
487
+ export { DataGridHeaderState }
488
+
489
+ export { DataGridProps }
490
+
491
+ export { DataGridRow }
492
+
493
+ export { dataGridRowClassNames }
494
+
495
+ export { DataGridRowProps }
496
+
497
+ export { DataGridRowSlots }
498
+
499
+ export { DataGridRowState }
500
+
501
+ export { DataGridSelectionCell }
502
+
503
+ export { dataGridSelectionCellClassNames }
504
+
505
+ export { DataGridSelectionCellProps }
506
+
507
+ export { DataGridSelectionCellSlots }
508
+
509
+ export { DataGridSelectionCellState }
510
+
511
+ export { DataGridSlots }
512
+
513
+ export { DataGridState }
514
+
380
515
  export { Dropdown }
381
516
 
382
517
  export { dropdownClassNames }
@@ -469,21 +604,21 @@ export { PersonaSlots }
469
604
 
470
605
  export { PersonaState }
471
606
 
472
- export { Progress }
607
+ export { ProgressBar }
473
608
 
474
- export { progressClassNames }
609
+ export { progressBarClassNames }
475
610
 
476
- export { ProgressField }
611
+ export { ProgressBarProps }
477
612
 
478
- export { progressFieldClassNames }
613
+ export { ProgressBarSlots }
479
614
 
480
- export { ProgressFieldProps }
615
+ export { ProgressBarState }
481
616
 
482
- export { ProgressProps }
617
+ export { ProgressField }
483
618
 
484
- export { ProgressSlots }
619
+ export { progressFieldClassNames }
485
620
 
486
- export { ProgressState }
621
+ export { ProgressFieldProps }
487
622
 
488
623
  export { RadioGroupField }
489
624
 
@@ -503,6 +638,20 @@ export { renderCardPreview_unstable }
503
638
 
504
639
  export { renderCombobox_unstable }
505
640
 
641
+ export { renderDataGrid_unstable }
642
+
643
+ export { renderDataGridBody_unstable }
644
+
645
+ export { renderDataGridCell_unstable }
646
+
647
+ export { renderDataGridHeader_unstable }
648
+
649
+ export { renderDataGridHeaderCell_unstable }
650
+
651
+ export { renderDataGridRow_unstable }
652
+
653
+ export { renderDataGridSelectionCell_unstable }
654
+
506
655
  export { renderDropdown_unstable }
507
656
 
508
657
  export { renderField_unstable }
@@ -517,7 +666,7 @@ export { renderOptionGroup_unstable }
517
666
 
518
667
  export { renderPersona_unstable }
519
668
 
520
- export { renderProgress_unstable }
669
+ export { renderProgressBar_unstable }
521
670
 
522
671
  export { renderSelect_unstable }
523
672
 
@@ -615,6 +764,12 @@ export { TableCellLayout }
615
764
 
616
765
  export { tableCellLayoutClassNames }
617
766
 
767
+ export { TableCellLayoutProps }
768
+
769
+ export { TableCellLayoutSlots }
770
+
771
+ export { TableCellLayoutState }
772
+
618
773
  export { TableCellProps }
619
774
 
620
775
  export { TableCellSlots }
@@ -752,6 +907,34 @@ export { useCombobox_unstable }
752
907
 
753
908
  export { useComboboxStyles_unstable }
754
909
 
910
+ export { useDataGrid_unstable }
911
+
912
+ export { useDataGridBody_unstable }
913
+
914
+ export { useDataGridBodyStyles_unstable }
915
+
916
+ export { useDataGridCell_unstable }
917
+
918
+ export { useDataGridCellStyles_unstable }
919
+
920
+ export { useDataGridHeader_unstable }
921
+
922
+ export { useDataGridHeaderCell_unstable }
923
+
924
+ export { useDataGridHeaderCellStyles_unstable }
925
+
926
+ export { useDataGridHeaderStyles_unstable }
927
+
928
+ export { useDataGridRow_unstable }
929
+
930
+ export { useDataGridRowStyles_unstable }
931
+
932
+ export { useDataGridSelectionCell_unstable }
933
+
934
+ export { useDataGridSelectionCellStyles_unstable }
935
+
936
+ export { useDataGridStyles_unstable }
937
+
755
938
  export { useDropdown_unstable }
756
939
 
757
940
  export { useDropdownStyles_unstable }
@@ -786,20 +969,14 @@ export { usePersona_unstable }
786
969
 
787
970
  export { usePersonaStyles_unstable }
788
971
 
789
- export { useProgress_unstable }
972
+ export { useProgressBar_unstable }
790
973
 
791
- export { useProgressStyles_unstable }
974
+ export { useProgressBarStyles_unstable }
792
975
 
793
976
  export { useSelect_unstable }
794
977
 
795
- export { useSelection }
796
-
797
978
  export { useSelectStyles_unstable }
798
979
 
799
- export { useSort }
800
-
801
- export { useTable }
802
-
803
980
  export { useTable_unstable }
804
981
 
805
982
  export { useTableBody_unstable }
@@ -820,6 +997,8 @@ export { useTableCellStyles_unstable }
820
997
 
821
998
  export { useTableContext }
822
999
 
1000
+ export { useTableFeatures }
1001
+
823
1002
  export { useTableHeader_unstable }
824
1003
 
825
1004
  export { useTableHeaderCell_unstable }
@@ -834,10 +1013,14 @@ export { useTableRow_unstable }
834
1013
 
835
1014
  export { useTableRowStyles_unstable }
836
1015
 
1016
+ export { useTableSelection }
1017
+
837
1018
  export { useTableSelectionCell_unstable }
838
1019
 
839
1020
  export { useTableSelectionCellStyles_unstable }
840
1021
 
1022
+ export { useTableSort }
1023
+
841
1024
  export { useTableStyles_unstable }
842
1025
 
843
1026
  export { useToolbar_unstable }
package/lib/index.js CHANGED
@@ -1,5 +1,5 @@
1
1
  // Utilities
2
- export { __css, __styles, createDOMRenderer, makeStaticStyles, makeStyles, mergeClasses, RendererProvider, renderToStyleElements, shorthands } from '@griffel/react';
2
+ export { __css, __resetCSS, __resetStyles, __styles, createDOMRenderer, makeStaticStyles, makeStyles, mergeClasses, RendererProvider, renderToStyleElements, shorthands } from '@griffel/react';
3
3
  export { FluentProvider, fluentProviderClassNames, renderFluentProvider_unstable, useFluentProvider_unstable, useFluentProviderContextValues_unstable, useFluentProviderStyles_unstable } from '@fluentui/react-provider';
4
4
  export { Radio, radioClassNames, RadioGroup, RadioGroupProvider, radioGroupClassNames, renderRadio_unstable, renderRadioGroup_unstable, useRadio_unstable, useRadioGroupContext_unstable, useRadioGroupContextValues, useRadioGroup_unstable, useRadioGroupStyles_unstable, useRadioStyles_unstable } from '@fluentui/react-radio';
5
5
  export { SpinButton, renderSpinButton_unstable, spinButtonClassNames, useSpinButtonStyles_unstable, useSpinButton_unstable } from '@fluentui/react-spinbutton';