feat: Text supports new overflow='truncate' prop#699
Conversation
🎉 Snyk checks have passed. No issues have been found so far.✅ security/snyk check is complete. No issues have been found. (View Details) ✅ license/snyk check is complete. No issues have been found. (View Details) ✅ code/snyk check is complete. No issues have been found. (View Details) |
| import { font } from './font' | ||
| import { fontSizes, fontWeights, textColours } from './types' | ||
| import { styled } from '@linaria/react' | ||
|
|
There was a problem hiding this comment.
note: ElText cannot be used as a class name, whereas elText can.
| export const elText = css` | ||
| ${generateElTextFontStyles()} | ||
| ${generateElTextColourStyles()} | ||
|
|
There was a problem hiding this comment.
note: new truncation styles
| @@ -16,26 +16,37 @@ const meta = { | |||
| }, | |||
| children: { | |||
| control: 'text', | |||
There was a problem hiding this comment.
note: scouting docs improvements
Coverage summary from CodacySee diff coverage on Codacy
Coverage variation details
Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: Diff coverage details
Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: See your quality gate settings Change summary preferencesFootnotes
|
c5c5e1e to
8ee2e8e
Compare
What it says on the tin.