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

Remove _meta.library #380

Merged
merged 2 commits into from
Aug 7, 2016
Merged

Remove _meta.library #380

merged 2 commits into from
Aug 7, 2016

Conversation

levithomason
Copy link
Member

@levithomason levithomason commented Aug 7, 2016

This repo will soon transfer to Semantic-UI-React. When that happens, there will be no more "Stardust".

All components will be under one library, SUI-React. This PR removes the _meta.library key in preparation for this transfer.

@codecov-io
Copy link

codecov-io commented Aug 7, 2016

Current coverage is 92.87% (diff: 100%)

Merging #380 into master will not change coverage

@@             master       #380   diff @@
==========================================
  Files            63         63          
  Lines           828        828          
  Methods           0          0          
  Messages          0          0          
  Branches          0          0          
==========================================
  Hits            769        769          
  Misses           59         59          
  Partials          0          0          

Powered by Codecov. Last update 4202558...520d659

@@ -28,7 +28,7 @@ export default class ComponentDescription extends Component {
renderSemanticDocsLink = () => {
const { _meta } = this.props

if (!META.isSemanticUI(_meta)) return null
if (META.isAddon(_meta)) return null
Copy link
Member Author

Choose a reason for hiding this comment

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

isSemanticUI and isStardust is now determined by whether or not a component is an addon type. All other types are SUI core.

const childClassName = c.prop('className')
if (childClassName) childClassName.should.not.contain('sd-')
})
})
Copy link
Member Author

Choose a reason for hiding this comment

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

Taking this opportunity to remove the sd-* className test now that all components have removed that className.

@levithomason levithomason merged commit b7ec491 into master Aug 7, 2016
@levithomason levithomason deleted the chore/remove-meta-library branch August 7, 2016 22:45
@levithomason levithomason mentioned this pull request Aug 8, 2016
3 tasks
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants