Skip to content

feat: Text supports new overflow='truncate' prop#699

Merged
kurtdoherty merged 1 commit intomainfrom
feat-text-overflow-prop
Aug 21, 2025
Merged

feat: Text supports new overflow='truncate' prop#699
kurtdoherty merged 1 commit intomainfrom
feat-text-overflow-prop

Conversation

@kurtdoherty
Copy link
Contributor

What it says on the tin.

@rpt-uk-github
Copy link

rpt-uk-github commented Aug 21, 2025

🎉 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'

Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: ElText cannot be used as a class name, whereas elText can.

export const elText = css`
${generateElTextFontStyles()}
${generateElTextColourStyles()}

Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: new truncation styles

@@ -16,26 +16,37 @@ const meta = {
},
children: {
control: 'text',
Copy link
Contributor Author

Choose a reason for hiding this comment

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

note: scouting docs improvements

@codacy-production
Copy link

codacy-production bot commented Aug 21, 2025

Coverage summary from Codacy

See diff coverage on Codacy

Coverage variation Diff coverage
Report missing for 724db3c1 100.00%
Coverage variation details
Coverable lines Covered lines Coverage
Common ancestor commit (724db3c) Report Missing Report Missing Report Missing
Head commit (8ee2e8e) 8264 7627 92.29%

Coverage variation is the difference between the coverage for the head and common ancestor commits of the pull request branch: <coverage of head commit> - <coverage of common ancestor commit>

Diff coverage details
Coverable lines Covered lines Diff coverage
Pull request (#699) 21 21 100.00%

Diff coverage is the percentage of lines that are covered by tests out of the coverable lines that the pull request added or modified: <covered lines added or modified>/<coverable lines added or modified> * 100%

See your quality gate settings    Change summary preferences

Footnotes

  1. Codacy didn't receive coverage data for the commit, or there was an error processing the received data. Check your integration for errors and validate that your coverage setup is correct.

@kurtdoherty kurtdoherty marked this pull request as ready for review August 21, 2025 03:38
@kurtdoherty kurtdoherty force-pushed the feat-text-overflow-prop branch from c5c5e1e to 8ee2e8e Compare August 21, 2025 03:39
@kurtdoherty kurtdoherty merged commit e21c220 into main Aug 21, 2025
6 checks passed
@kurtdoherty kurtdoherty deleted the feat-text-overflow-prop branch August 21, 2025 03:44
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