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

feat(ui5-title): add custom overstyles when used with Link #6932

Merged
merged 8 commits into from
Apr 26, 2023

Conversation

georgimkv
Copy link
Contributor

@georgimkv georgimkv commented Apr 19, 2023

There are cases when a Link will be used inside a Title.
Elements nested inside, mainly the Link, will inherit the Title's font styles.

Refactored Link to allow for overstyling. Updated text-underline when hovering a Subtle link to match the latest VD spec.

Fixes #6785

There are cases when a Link will be used inside a Title.

A subtle link will look like a default link when it is used inside a title.
Refactored Link to allow for overstyling.

Fixes #6785
@georgimkv georgimkv marked this pull request as ready for review April 19, 2023 15:15
@georgimkv georgimkv requested review from tsanislavgatev and a team April 19, 2023 15:22
Copy link
Contributor

@tsanislavgatev tsanislavgatev left a comment

Choose a reason for hiding this comment

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

+1 on link.

Copy link
Contributor

@dimovpetar dimovpetar left a comment

Choose a reason for hiding this comment

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

Also update the documentation of the slot sap.ui.webc.main.Title.prototype.default

packages/main/test/pages/Title.html Outdated Show resolved Hide resolved
packages/main/test/pages/Title.html Outdated Show resolved Hide resolved
packages/main/test/pages/Title.html Outdated Show resolved Hide resolved
packages/main/test/pages/Title.html Show resolved Hide resolved
@georgimkv georgimkv requested a review from BorisDafov April 26, 2023 08:50
Copy link

@BorisDafov BorisDafov left a comment

Choose a reason for hiding this comment

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

From UA perspective, I approve these changes...

@georgimkv georgimkv merged commit e1b65ef into main Apr 26, 2023
@georgimkv georgimkv deleted the link_in_title branch April 26, 2023 14:00
NHristov-sap pushed a commit that referenced this pull request May 4, 2023
There are cases when a Link will be used inside a Title.
Elements nested inside, mainly the Link, will inherit the Title's font styles.

Refactored Link to allow for overstyling. Updated text-underline when hovering a Subtle link to match the latest VD spec.

Fixes #6785
PetyaMarkovaBogdanova pushed a commit that referenced this pull request Jun 20, 2023
There are cases when a Link will be used inside a Title.
Elements nested inside, mainly the Link, will inherit the Title's font styles.

Refactored Link to allow for overstyling. Updated text-underline when hovering a Subtle link to match the latest VD spec.

Fixes #6785
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.

Title - Title as a Link
4 participants