Skip to content

Commit

Permalink
auto complete filter variant feature
Browse files Browse the repository at this point in the history
  • Loading branch information
KevinVandy committed Oct 6, 2023
1 parent 011420c commit b2e93a9
Show file tree
Hide file tree
Showing 7 changed files with 242 additions and 84 deletions.
Expand Up @@ -51,6 +51,13 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getCanPin',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getCanSelect',
type: '',
Expand All @@ -72,6 +79,20 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getGroupingValue',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getIsAllParentsExpanded',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getIsAllSubRowsSelected',
type: '',
Expand All @@ -93,6 +114,13 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getIsPinned',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getIsSelected',
type: '',
Expand Down Expand Up @@ -135,6 +163,13 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getPinnedIndex',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'getRightVisibleCells',
type: '',
Expand Down Expand Up @@ -177,7 +212,13 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{ rowInstanceAPI: 'id', type: '', description: '', link: '', linkText: '' },
{
rowInstanceAPI: 'id',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'index',
type: '',
Expand Down Expand Up @@ -206,6 +247,13 @@ export const rowInstanceAPIs: RowInstanceAPI[] = [
link: '',
linkText: '',
},
{
rowInstanceAPI: 'pin',
type: '',
description: '',
link: '',
linkText: '',
},
{
rowInstanceAPI: 'renderValue',
type: '',
Expand Down
Expand Up @@ -30,6 +30,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getBottomRows',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getCanNextPage',
type: '',
Expand Down Expand Up @@ -86,6 +93,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getCenterRows',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getCenterTotalSize',
type: '',
Expand Down Expand Up @@ -268,6 +282,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getIsSomeRowsPinned',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getIsSomeRowsSelected',
type: '',
Expand Down Expand Up @@ -506,6 +527,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getTopRows',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'getTotalSize',
type: '',
Expand Down Expand Up @@ -653,6 +681,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'resetRowPinning',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'resetRowSelection',
type: '',
Expand Down Expand Up @@ -716,6 +751,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setCreatingRow',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setDensity',
type: '',
Expand Down Expand Up @@ -835,6 +877,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setRowPinning',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setRowSelection',
type: '',
Expand Down Expand Up @@ -863,6 +912,13 @@ export const tableInstanceAPIs: TableInstanceAPI[] = [
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setShowToolbarDropZone',
type: '',
description: '',
link: '',
linkText: '',
},
{
tableInstanceAPI: 'setSorting',
type: '',
Expand Down
5 changes: 3 additions & 2 deletions apps/material-react-table-docs/pages/migrating-to-v2.mdx
Expand Up @@ -19,11 +19,12 @@ import { InstallCommand } from '../components/mdx/InstallCommand';
2. Greatly improved Editing and Creating features.
3. New Row Pinning Features
4. New Column Filtering `'popover'` display mode to give a more "excel-like" filtering experience.
5. New Date Filter variants.
5. New Date and Date Range Filter variants
6. New Autocomplete Filter variant

### Breaking Changes

- `@mui/x-date-pickers` is now a required peer dependency. Install it with
- `@mui/x-date-pickers v >=6.15.0` is now a required peer dependency. Install it with:

<InstallCommand packagesString="@mui/x-date-pickers" />

Expand Down
4 changes: 2 additions & 2 deletions packages/material-react-table/build-locales.mjs
@@ -1,6 +1,6 @@
import typescript from '@rollup/plugin-typescript';
import { rollup } from 'rollup';
import copy from 'rollup-plugin-copy';
import typescript from '@rollup/plugin-typescript';

const supportedLocales = [
'ar',
Expand Down Expand Up @@ -50,10 +50,10 @@ async function build(locale) {
copy({
targets: [
...['cjs', 'esm'].map((format) => ({
src: `./dist/esm/types/locales/${locale}.d.ts`,
dest: './locales',
rename: () =>
format === 'esm' ? `${locale}.${format}.d.ts` : `${locale}.d.ts`,
src: `./dist/esm/types/locales/${locale}.d.ts`,
})),
],
}),
Expand Down

0 comments on commit b2e93a9

Please sign in to comment.