Skip to content

Commit

Permalink
feat: re-export react-table logic hooks
Browse files Browse the repository at this point in the history
  • Loading branch information
bsunderhus committed Oct 26, 2022
1 parent f6f3e4b commit 760ad64
Show file tree
Hide file tree
Showing 3 changed files with 54 additions and 0 deletions.
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"type": "patch",
"comment": "feat: export react-table logic hooks",
"packageName": "@fluentui/react-components",
"email": "bernardo.sunderhus@gmail.com",
"dependentChangeType": "patch"
}
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,8 @@ import { CardState } from '@fluentui/react-card';
import { CheckboxField } from '@fluentui/react-field';
import { checkboxFieldClassNames } from '@fluentui/react-field';
import { CheckboxFieldProps } from '@fluentui/react-field';
import { ColumnDefinition } from '@fluentui/react-table';
import { ColumnId } from '@fluentui/react-table';
import { Combobox } from '@fluentui/react-combobox';
import { comboboxClassNames } from '@fluentui/react-combobox';
import { ComboboxContextValues } from '@fluentui/react-combobox';
Expand Down Expand Up @@ -143,6 +145,8 @@ import { renderTableHeaderCell_unstable } from '@fluentui/react-table';
import { renderTableRow_unstable } from '@fluentui/react-table';
import { renderTableSelectionCell_unstable } from '@fluentui/react-table';
import { renderToolbar_unstable } from '@fluentui/react-toolbar';
import { RowId } from '@fluentui/react-table';
import { RowState } from '@fluentui/react-table';
import { Select } from '@fluentui/react-select';
import { selectClassNames } from '@fluentui/react-select';
import { SelectField } from '@fluentui/react-field';
Expand Down Expand Up @@ -210,8 +214,11 @@ import { tableSelectionCellClassNames } from '@fluentui/react-table';
import { TableSelectionCellProps } from '@fluentui/react-table';
import { TableSelectionCellSlots } from '@fluentui/react-table';
import { TableSelectionCellState } from '@fluentui/react-table';
import { TableSelectionState } from '@fluentui/react-table';
import { TableSlots } from '@fluentui/react-table';
import { TableSortState } from '@fluentui/react-table';
import { TableState } from '@fluentui/react-table';
import { TableStatePlugin } from '@fluentui/react-table';
import { TextareaField } from '@fluentui/react-field';
import { textareaFieldClassNames } from '@fluentui/react-field';
import { TextareaFieldProps } from '@fluentui/react-field';
Expand Down Expand Up @@ -268,7 +275,10 @@ import { usePersonaStyles_unstable } from '@fluentui/react-persona';
import { useProgress_unstable } from '@fluentui/react-progress';
import { useProgressStyles_unstable } from '@fluentui/react-progress';
import { useSelect_unstable } from '@fluentui/react-select';
import { useSelection } from '@fluentui/react-table';
import { useSelectStyles_unstable } from '@fluentui/react-select';
import { useSort } from '@fluentui/react-table';
import { useTable } from '@fluentui/react-table';
import { useTable_unstable } from '@fluentui/react-table';
import { useTableBody_unstable } from '@fluentui/react-table';
import { useTableBodyStyles_unstable } from '@fluentui/react-table';
Expand All @@ -283,6 +293,7 @@ import { useTableHeader_unstable } from '@fluentui/react-table';
import { useTableHeaderCell_unstable } from '@fluentui/react-table';
import { useTableHeaderCellStyles_unstable } from '@fluentui/react-table';
import { useTableHeaderStyles_unstable } from '@fluentui/react-table';
import { UseTableOptions } from '@fluentui/react-table';
import { useTableRow_unstable } from '@fluentui/react-table';
import { useTableRowStyles_unstable } from '@fluentui/react-table';
import { useTableSelectionCell_unstable } from '@fluentui/react-table';
Expand Down Expand Up @@ -384,6 +395,10 @@ export { checkboxFieldClassNames }

export { CheckboxFieldProps }

export { ColumnDefinition }

export { ColumnId }

export { Combobox }

export { comboboxClassNames }
Expand Down Expand Up @@ -570,6 +585,10 @@ export { renderTableSelectionCell_unstable }

export { renderToolbar_unstable }

export { RowId }

export { RowState }

export { Select }

export { selectClassNames }
Expand Down Expand Up @@ -704,10 +723,17 @@ export { TableSelectionCellSlots }

export { TableSelectionCellState }

export { TableSelectionState }

export { TableSlots }

export { TableSortState }

export { TableState as HeadlessTableState }
export { TableState }

export { TableStatePlugin }

export { TextareaField }

export { textareaFieldClassNames }
Expand Down Expand Up @@ -820,8 +846,14 @@ export { useProgressStyles_unstable }

export { useSelect_unstable }

export { useSelection }

export { useSelectStyles_unstable }

export { useSort }

export { useTable }

export { useTable_unstable }

export { useTableBody_unstable }
Expand Down Expand Up @@ -850,6 +882,8 @@ export { useTableHeaderCellStyles_unstable }

export { useTableHeaderStyles_unstable }

export { UseTableOptions }

export { useTableRow_unstable }

export { useTableRowStyles_unstable }
Expand Down
13 changes: 13 additions & 0 deletions packages/react-components/react-components/src/unstable/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -232,7 +232,11 @@ export {
useTableCellLayoutStyles_unstable,
renderTableCellLayout_unstable,
tableCellLayoutClassNames,
useTable,
useSelection,
useSort,
} from '@fluentui/react-table';

export type {
SortDirection,
TableHeaderCellProps,
Expand Down Expand Up @@ -261,6 +265,15 @@ export type {
TableCellActionsProps,
TableCellActionsState,
TableCellActionsSlots,
UseTableOptions,
TableState as HeadlessTableState,
TableSelectionState,
TableSortState,
TableStatePlugin,
RowState,
RowId,
ColumnDefinition,
ColumnId,
} from '@fluentui/react-table';

export {
Expand Down

0 comments on commit 760ad64

Please sign in to comment.