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

docs(select): Update README to new format #2589

Merged
merged 4 commits into from
Apr 24, 2018

Conversation

kfranqueiro
Copy link
Contributor

This also updates the README to follow our new structure, since I needed to document the necessary imports now anyway.

BREAKING CHANGE: mdc-floating-label and mdc-line-ripple styles must now be explicitly imported

@codecov-io
Copy link

codecov-io commented Apr 18, 2018

Codecov Report

Merging #2589 into master will not change coverage.
The diff coverage is n/a.

Impacted file tree graph

@@           Coverage Diff           @@
##           master    #2589   +/-   ##
=======================================
  Coverage   98.48%   98.48%           
=======================================
  Files          98       98           
  Lines        4230     4230           
  Branches      537      537           
=======================================
  Hits         4166     4166           
  Misses         64       64

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update de4bb76...8bf9b81. Read the comment docs.

@kfranqueiro kfranqueiro changed the title feat(select): Don't automatically import common component styles docs(select): Update README to new format Apr 20, 2018
@kfranqueiro
Copy link
Contributor Author

Disregard the branch name; since we decided to move forward with #2578 instead, I've repurposed this PR to simply update the Select README to the new format, since I had done it in this PR anyway.

```scss
@import "@material/select/mdc-select";

// Invoke mixins in the context of a custom class applied to the component's root element:
Copy link
Contributor

Choose a reason for hiding this comment

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

Is this necessary to get the default select? If not, it doesn't need to go under Basic Usage.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

I had done this as a replacement for the remark about including the mixins within a .foo-select custom class selector in the Sass mixins section, but I can put that back.

@@ -148,6 +171,8 @@ Since MDC Select uses native `<select>` and `<option>` elements, simply add the
</div>
```

## Style Customization

#### CSS Classes

| Class | Description |
Copy link
Contributor

Choose a reason for hiding this comment

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

I think these were missing from before: mdc-select--disabled, mdc-select__native-control

@kfranqueiro kfranqueiro merged commit e34a406 into master Apr 24, 2018
@kfranqueiro kfranqueiro deleted the feat/select/no-import-common branch April 24, 2018 19:14
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.

3 participants