-
Notifications
You must be signed in to change notification settings - Fork 39
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(typography): added monospace fallback
- Loading branch information
1 parent
f3253fa
commit 4aadf66
Showing
4 changed files
with
20 additions
and
27 deletions.
There are no files selected for viewing
This file contains 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,25 +1 @@ | ||
* { box-sizing: border-box; } | ||
|
||
//html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, pre, a, abbr, acronym, address, | ||
//big, cite, code, del, dfn, em, img, ins, kbd, q, s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, | ||
//dl, dt, dd, ol, ul, li, fieldset, form, label, legend, table, caption, tbody, tfoot, thead, tr, th, td, article, aside, | ||
//canvas, details, embed, figure, figcaption, footer, header, hgroup, menu, nav, output, ruby, section, summary, time, | ||
//mark, audio, video { | ||
// margin: 0; | ||
// padding: 0; | ||
// border: 0; | ||
// font: inherit; | ||
// vertical-align: baseline; | ||
//} | ||
// | ||
//article, aside, details, figcaption, figure, footer, header, hgroup, menu, nav, section { | ||
// display: block; | ||
//} | ||
// | ||
//html, body { | ||
// height: 100%; | ||
//} | ||
// | ||
//a { text-decoration: none; } | ||
// | ||
//a img { border: none; } |
This file contains 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 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,3 +1,20 @@ | ||
`<mc-radio>` provides the same functionality as a native `<input type="radio">`. | ||
|
||
<!-- example(radio-overview) --> | ||
|
||
### Radio groups | ||
Radio-buttons should typically be placed inside of an `<mc-radio-group>` unless the DOM structure | ||
would make that impossible (e.g., radio-buttons inside of table cells). The radio-group has a | ||
`value` property that reflects the currently selected radio-button inside of the group. | ||
|
||
Individual radio-buttons inside of a radio-group will inherit the `name` of the group. | ||
|
||
|
||
### Use with `@angular/forms` | ||
`<mc-radio-group>` is compatible with `@angular/forms` and supports both `FormsModule` | ||
and `ReactiveFormsModule`. | ||
|
||
### Accessibility | ||
The `<mc-radio-button>` uses an internal `<input type="radio">` to provide an accessible experience. | ||
This internal radio button receives focus and is automatically labelled by the text content of the | ||
`<mc-radio-button>` element. |
This file contains 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