Skip to content
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

[Table] Introduce padding property #8362

Merged
merged 2 commits into from
Sep 24, 2017

Conversation

eyn
Copy link
Contributor

@eyn eyn commented Sep 24, 2017

  • Introduce TableCell padding property.
  • Remove unused code

Breaking changes

-          <TableCell checkbox>
+          <TableCell padding="checkbox">

@@ -4,24 +4,22 @@ import React from 'react';
import PropTypes from 'prop-types';
import type { ElementType, Node } from 'react';
import classNames from 'classnames';
import deprecated from 'prop-types-extra/lib/deprecated';
Copy link
Member

@oliviertassinari oliviertassinari Sep 24, 2017

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please, let's avoid the depreciation. Introducing breaking changes without deprecations save maintainer times.

@eyn
Copy link
Contributor Author

eyn commented Sep 24, 2017

I originally wanted to minimise changes but have also renamed compact -> dense across the class. Removed deprecations etc. Do you want api doc updates as part of PRs or do you do them seperately?

@oliviertassinari oliviertassinari changed the title [Table] Introduce padding prop and deprecate previous props [Table] Introduce padding property Sep 24, 2017
@oliviertassinari oliviertassinari merged commit dbbcaa6 into mui:v1-beta Sep 24, 2017
@oliviertassinari
Copy link
Member

@eyn Thanks

@eyn eyn deleted the table-cell-padding-prop branch September 24, 2017 20:49
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants