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(accordion): add meta #1225

Merged
merged 31 commits into from Feb 28, 2022
Merged

feat(accordion): add meta #1225

merged 31 commits into from Feb 28, 2022

Conversation

rachelbt
Copy link
Contributor

@rachelbt rachelbt commented Feb 1, 2022

image
image

  • added a caption above the header text removed from this PR
  • added a meta-data text option
  • wrapped the expansion-panel button with H3 - considering wether it's too generic and we need to set is as default with an option to change the headline number according to the component position in the page hierarchy. moved to 1228
  • fixed dense ui
  • limited long header to wrap only into 2 lines:
    image

@rachelbt rachelbt requested a review from yinonov February 1, 2022 11:52
@github-actions
Copy link

github-actions bot commented Feb 1, 2022

🚀

Latest successful build of the PR deployed here.

🚀

@rachelbt rachelbt changed the title feat(accordion): add caption and meta-data feat(accordion): add meta Feb 17, 2022
Comment on lines 53 to 65
.header-text {
/* stylelint-disable property-no-vendor-prefix */
/* stylelint-disable value-no-vendor-prefix */
display: -webkit-box;
overflow: hidden;
flex-grow: 1;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
/* stylelint-enable property-no-vendor-prefix */
/* stylelint-enable value-no-vendor-prefix */
margin-inline-end: auto;
text-align: left;
}
Copy link
Contributor

Choose a reason for hiding this comment

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

what's this for? are we allowing more than a single line for heading?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes. up to 2 lines as. Joella said

Copy link
Contributor

Choose a reason for hiding this comment

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

can we extract this to another issue/PR?

yinonov
yinonov previously approved these changes Feb 27, 2022
@sonarcloud
Copy link

sonarcloud bot commented Feb 28, 2022

Kudos, SonarCloud Quality Gate passed!    Quality Gate passed

Bug A 0 Bugs
Vulnerability A 0 Vulnerabilities
Security Hotspot A 0 Security Hotspots
Code Smell A 0 Code Smells

No Coverage information No Coverage information
0.0% 0.0% Duplication

@rachelbt rachelbt merged commit 2341999 into master Feb 28, 2022
@yinonov yinonov deleted the issues-1126-accordion branch March 4, 2022 15:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Status: Done
Development

Successfully merging this pull request may close these issues.

[accordion] add support for meta data in header
3 participants