Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/TanStack/table
Browse files Browse the repository at this point in the history
  • Loading branch information
tannerlinsley committed Sep 15, 2023
2 parents 51214a8 + 31871e9 commit 0c0ff8f
Show file tree
Hide file tree
Showing 86 changed files with 629 additions and 294 deletions.
2 changes: 1 addition & 1 deletion docs/api/core/header-group.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ The depth of the header group, zero-indexed based.
type headers = Header<TData>[]
```
An array of [Header](./Header) objects that belong to this header group
An array of [Header](./header) objects that belong to this header group
2 changes: 1 addition & 1 deletion examples/react/basic/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/bootstrap/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"bootstrap": "^5.2.3",
"react": "^18.2.0",
"react-bootstrap": "2.6.0",
"react-dom": "^18.2.0"
},
"devDependencies": {
"@faker-js/faker": "^7.6.0",
"@faker-js/faker": "^8.0.2",
"@rollup/plugin-replace": "^5.0.1",
"@types/bootstrap": "^5.2.6",
"@types/react-bootstrap": "^0.32.32",
Expand Down
10 changes: 5 additions & 5 deletions examples/react/bootstrap/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/column-dnd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dnd": "^16.0.1",
"react-dnd-html5-backend": "^16.0.1",
Expand Down
10 changes: 5 additions & 5 deletions examples/react/column-dnd/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-groups/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/column-ordering/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/column-ordering/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/column-pinning/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/column-pinning/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-sizing/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
2 changes: 1 addition & 1 deletion examples/react/column-visibility/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"start": "vite"
},
"dependencies": {
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
4 changes: 2 additions & 2 deletions examples/react/editable-data/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/editable-data/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/expanding/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/expanding/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/filters/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,9 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@faker-js/faker": "^8.0.2",
"@tanstack/match-sorter-utils": "8.7.6",
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/filters/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/full-width-resizable-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/full-width-resizable-table/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/full-width-table/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/full-width-table/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/fully-controlled/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/fully-controlled/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/grouping/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
"start": "vite"
},
"dependencies": {
"@faker-js/faker": "^7.6.0",
"@tanstack/react-table": "8.9.8",
"@faker-js/faker": "^8.0.2",
"@tanstack/react-table": "8.9.10",
"react": "^18.2.0",
"react-dom": "^18.2.0"
},
Expand Down
10 changes: 5 additions & 5 deletions examples/react/grouping/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
4 changes: 2 additions & 2 deletions examples/react/kitchen-sink/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"@emotion/react": "^11.10.5",
"@emotion/styled": "^11.10.5",
"@tanstack/match-sorter-utils": "8.7.6",
"@tanstack/react-table": "8.9.8",
"@tanstack/react-table": "8.9.10",
"@types/react": "^18.0.25",
"@types/react-dom": "^18.0.9",
"react": "^18.2.0",
Expand All @@ -21,7 +21,7 @@
"devDependencies": {
"@emotion/babel-plugin": "^11.10.5",
"@emotion/babel-plugin-jsx-pragmatic": "^0.2.0",
"@faker-js/faker": "^7.6.0",
"@faker-js/faker": "^8.0.2",
"@rollup/plugin-replace": "^5.0.1",
"@vitejs/plugin-react": "^2.2.0",
"vite": "^3.2.4"
Expand Down
10 changes: 5 additions & 5 deletions examples/react/kitchen-sink/src/makeData.ts
Original file line number Diff line number Diff line change
Expand Up @@ -20,11 +20,11 @@ const range = (len: number) => {

const newPerson = (): Person => {
return {
firstName: faker.name.firstName(),
lastName: faker.name.lastName(),
age: faker.datatype.number(40),
visits: faker.datatype.number(1000),
progress: faker.datatype.number(100),
firstName: faker.person.firstName(),
lastName: faker.person.lastName(),
age: faker.number.int(40),
visits: faker.number.int(1000),
progress: faker.number.int(100),
status: faker.helpers.shuffle<Person['status']>([
'relationship',
'complicated',
Expand Down
Loading

0 comments on commit 0c0ff8f

Please sign in to comment.