-
Notifications
You must be signed in to change notification settings - Fork 5
feat(Virtualizer): custom sizes management #46
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
amen-souissi
wants to merge
10
commits into
master
Choose a base branch
from
v3-1
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
10 commits
Select commit
Hold shift + click to select a range
3b06731
chore(v3.0): custom size
amen-souissi 629ff70
chore(Virtualizer): optimization
amen-souissi 6cb6110
chore(Utils): cleanup, doc
amen-souissi 10f089d
chore(PR): cleanup, rename
amen-souissi a6828da
chore(PR): typo
amen-souissi 5a24f19
chore(virtualizer): update custom props
amen-souissi 63e648c
chore(Scroller): fix horizontal scroll
amen-souissi c551888
doc(Table): cleanup & update comments
amen-souissi 8fa685e
chore(virtualizer): include scrollbar size
amen-souissi a02dad4
chore(Versions): upgrade all versions
amen-souissi File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,16 @@ | ||
<style id="stories-style"></style> | ||
<link href="https://fonts.googleapis.com/css?family=Roboto:400,500" rel="stylesheet" /> | ||
<link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet" /> | ||
|
||
<style id="stories-style"> | ||
body { | ||
margin: 0; | ||
padding: 0; | ||
font-family: "Roboto Condensed", Helvetica, Arial, sans-serif; | ||
font-size: 14px; | ||
} | ||
|
||
* { | ||
box-sizing: border-box; | ||
outline: none; | ||
} | ||
</style> |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
{ | ||
"name": "@decathlon/react-table", | ||
"version": "2.1.1", | ||
"version": "3.0.0", | ||
"description": "React components for efficiently rendering large tabular data", | ||
"main": "dist/index.js", | ||
"types": "dist/index.d.ts", | ||
|
@@ -16,88 +16,92 @@ | |
"dist" | ||
], | ||
"dependencies": { | ||
"classnames": "^2.3.1", | ||
"@storybook/builder-webpack5": "^6.5.12", | ||
"classnames": "^2.3.2", | ||
"html-webpack-plugin": "^5.5.0", | ||
"immutability-helper": "^3.1.1", | ||
"lodash": "^4.17.21", | ||
"memoize-one": "^5.2.1", | ||
"react-number-format": "^4.7.3", | ||
"react-resize-detector": "^6.7.7" | ||
"memoize-one": "^6.0.0", | ||
"react-number-format": "4.7.3", | ||
"react-resize-detector": "^7.1.2" | ||
}, | ||
"peerDependencies": { | ||
"@emotion/react": "^11.4.1", | ||
"@emotion/styled": "^11.3.0", | ||
"@mui/icons-material": "^5.0.3", | ||
"@mui/material": "^5.0.3", | ||
"@mui/styles": "^5.0.1", | ||
"react": "^17.0.2", | ||
"react-dom": "^17.0.2" | ||
"@emotion/react": "^11.10.4", | ||
"@emotion/styled": "^11.10.4", | ||
"@mui/icons-material": "^5.10.9", | ||
"@mui/material": "^5.10.10", | ||
"@mui/styles": "^5.10.10", | ||
"react": "^18.2.0", | ||
"react-dom": "^18.2.0" | ||
}, | ||
"devDependencies": { | ||
"@babel/core": "^7.15.8", | ||
"@emotion/react": "^11.4.1", | ||
"@emotion/styled": "^11.3.0", | ||
"@mui/icons-material": "^5.0.3", | ||
"@mui/material": "^5.0.3", | ||
"@mui/styles": "^5.0.1", | ||
"@storybook/addon-a11y": "~6.3.10", | ||
"@storybook/addon-actions": "~6.3.10", | ||
"@storybook/addon-jest": "~6.3.10", | ||
"@babel/core": "^7.19.6", | ||
"@emotion/react": "^11.10.4", | ||
"@emotion/styled": "^11.10.4", | ||
"@mui/icons-material": "^5.10.9", | ||
"@mui/material": "^5.10.10", | ||
"@mui/styles": "^5.10.10", | ||
"@storybook/addon-a11y": "~6.5.12", | ||
"@storybook/addon-actions": "~6.5.12", | ||
"@storybook/addon-jest": "~6.5.12", | ||
"@storybook/addon-knobs": "~6.3.1", | ||
"@storybook/addon-storysource": "~6.3.10", | ||
"@storybook/addon-viewport": "~6.3.10", | ||
"@storybook/addons": "~6.3.10", | ||
"@storybook/react": "~6.3.10", | ||
"@testing-library/react": "^12.1.2", | ||
"@storybook/addon-storysource": "~6.5.12", | ||
"@storybook/addon-viewport": "~6.5.12", | ||
"@storybook/addons": "~6.5.12", | ||
"@storybook/react": "~6.5.12", | ||
"@testing-library/react": "12.1.2", | ||
"@types/classnames": "^2.3.1", | ||
"@types/enzyme": "^3.10.9", | ||
"@types/jest": "^27.0.2", | ||
"@types/lodash": "^4.14.175", | ||
"@types/node": "^16.10.3", | ||
"@types/react": "^17.0.27", | ||
"@types/react-dom": "^17.0.9", | ||
"@types/react-test-renderer": "^17.0.1", | ||
"@typescript-eslint/eslint-plugin": "^4.33.0", | ||
"@typescript-eslint/parser": "^4.33.0", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.3", | ||
"babel-loader": "^8.2.2", | ||
"css-loader": "^6.3.0", | ||
"@types/enzyme": "^3.10.12", | ||
"@types/jest": "^29.2.0", | ||
"@types/lodash": "^4.14.186", | ||
"@types/node": "^18.11.3", | ||
"@types/react": "^18.0.21", | ||
"@types/react-dom": "^18.0.6", | ||
"@types/react-test-renderer": "^18.0.0", | ||
"@typescript-eslint/eslint-plugin": "^5.40.1", | ||
"@typescript-eslint/parser": "^5.40.1", | ||
"@wojtekmaj/enzyme-adapter-react-17": "^0.6.7", | ||
"babel-loader": "^8.2.5", | ||
"css-loader": "^6.7.1", | ||
"enzyme": "^3.11.0", | ||
"enzyme-adapter-react-16": "^1.15.6", | ||
"eslint": "^7.32.0", | ||
"eslint-config-airbnb": "^18.2.1", | ||
"eslint-config-airbnb-typescript": "^14.0.1", | ||
"eslint-config-prettier": "^8.3.0", | ||
"eslint-formatter-json": "^0.1.0", | ||
"eslint": "^8.25.0", | ||
"eslint-config-airbnb": "^19.0.4", | ||
"eslint-config-airbnb-typescript": "^17.0.0", | ||
"eslint-config-prettier": "^8.5.0", | ||
"eslint-formatter-json": "^8.3.0", | ||
"eslint-formatter-pretty": "^4.1.0", | ||
"eslint-import-resolver-typescript": "^2.4.0", | ||
"eslint-plugin-import": "^2.24.2", | ||
"eslint-plugin-jest": "^24.5.2", | ||
"eslint-plugin-jsx-a11y": "^6.4.1", | ||
"eslint-plugin-prettier": "^4.0.0", | ||
"eslint-plugin-react": "^7.26.1", | ||
"eslint-plugin-react-hooks": "^4.2.0", | ||
"husky": "~3.1.0", | ||
"eslint-import-resolver-typescript": "^3.5.2", | ||
"eslint-plugin-import": "^2.26.0", | ||
"eslint-plugin-jest": "^27.1.3", | ||
"eslint-plugin-jsx-a11y": "^6.6.1", | ||
"eslint-plugin-prettier": "^4.2.1", | ||
"eslint-plugin-react": "^7.31.10", | ||
"eslint-plugin-react-hooks": "^4.6.0", | ||
"husky": "~8.0.1", | ||
"isomorphic-fetch": "^3.0.0", | ||
"jest": "^27.2.5", | ||
"markdown-loader": "^6.0.0", | ||
"node-sass": "^6.0.1", | ||
"jest": "^29.2.1", | ||
"jest-environment-jsdom": "^29.2.1", | ||
"markdown-loader": "^8.0.0", | ||
"node-sass": "^7.0.3", | ||
"path": "~0.12.7", | ||
"prettier": "^2.4.1", | ||
"prettier": "^2.7.1", | ||
"prettier-check": "~2.0.0", | ||
"react": "^17.0.2", | ||
"react": "^18.2.0", | ||
"react-17": "npm:[email protected]", | ||
"react-docgen-typescript-loader": "^3.7.2", | ||
"react-dom": "^17.0.2", | ||
"react-test-renderer": "^17.0.2", | ||
"react-dom": "^18.2.0", | ||
"react-dom-17": "npm:[email protected]", | ||
"react-test-renderer": "^18.2.0", | ||
"rimraf": "^3.0.2", | ||
"sass-lint": "~1.13.1", | ||
"sass-loader": "^12.1.0", | ||
"ts-jest": "^27.0.5", | ||
"ts-loader": "^9.2.6", | ||
"typescript": "^4.4.3" | ||
"sass-loader": "^13.1.0", | ||
"ts-jest": "^29.0.3", | ||
"ts-loader": "^9.4.1", | ||
"typescript": "^4.8.4" | ||
}, | ||
"scripts": { | ||
"build": "rimraf dist && tsc && npm run build:scss", | ||
"build:scss": "node-sass src/style/index.scss -o dist/style && cp -r src/style/fonts dist/style", | ||
"build": "rimraf dist && tsc --project tsconfig.build.json && npm run build:scss", | ||
"build:scss": "node-sass src/style/index.scss -o dist/style", | ||
"prepublish": "npm run build", | ||
"test": "npm run test:unit", | ||
"test:unit": "jest", | ||
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.