-
-
Notifications
You must be signed in to change notification settings - Fork 2.1k
Adding prop reorder exceptions #1866
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
Changes from 10 commits
c5ebf3b
1e22cca
6db959e
6940130
1db2f6e
b6f3337
73a03e4
0240768
846bce0
c58d0a8
5f4c8c7
1737bc6
ad57c27
15599ae
2f779ad
d9e386b
63e709e
7575732
2742857
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,7 +17,7 @@ | |
"private::build:js": "run-s \"private::build -- --mode production\"", | ||
"private::build:js-test": "run-s \"private::build -- --mode development --config webpack.test.config.js\"", | ||
"private::build:js-test-watch": "run-s \"private::build -- --mode development --config webpack.test.config.js --watch\"", | ||
"private::build:backends": "dash-generate-components src/dash-table/dash/DataTable.js dash_table -p package-info.json && cp dash_table_base/** dash_table/ && dash-generate-components src/dash-table/dash/DataTable.js dash_table -p package-info.json --r-prefix 'dash' --r-suggests 'dash' --jl-prefix 'dash' && black dash_table", | ||
"private::build:backends": "dash-generate-components src/dash-table/dash/DataTable.js dash_table -p package-info.json && cp dash_table_base/** dash_table/ && dash-generate-components src/dash-table/dash/DataTable.js dash_table -p package-info.json -k DataTable --r-prefix 'dash' --r-suggests 'dash' --jl-prefix 'dash' && black dash_table", | ||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more. If we make prop order explicit for table, I think we should be a little more careful about what order we end up with, especially since this will be reflected in the docs. The first two are right: |
||
"private::format.ts": "npm run private::lint.ts -- --fix", | ||
"private::format.prettier": "prettier --config .prettierrc --write \"{src,tests,demo}/**/*.{js,ts,tsx}\"", | ||
"private::format.black": "black dash_table_base tests", | ||
|
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Likewise here, there are some funny orders that I think we should be more careful about. In
Checklist
andRadioItems
, what'sinline
doing way at the end, past the dash standards and far from any of the other style props? Some of these are alphabetized, other than the ones we explicitly want upfront, but some aren't - can we be consistent about this?(BTW
DataTable
isn't needed in this list 😁)