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

fix(Forms): sets SubHeading's size to medium #2581

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

henit
Copy link
Contributor

@henit henit commented Aug 22, 2023

Summary

I experienced in an attempt to implement using the SubHeading component that the size of the text was dependent on outside components. The hx-number might need to vary based on surroundings, but the point of having MainHeading and SubHeading in Eufemia Forms was that it would be predictable what size the text became. For that reason, I set the SubHeading hard coded to "medium" similar to how MainHeading has been coded to "large", and added a few more examples to trigger actual results of these types of combinations for testing purposes.

copilot:summary

Details

copilot:walkthrough

Test plan

@vercel
Copy link

vercel bot commented Aug 22, 2023

The latest updates on your projects. Learn more about Vercel for Git ↗︎

Name Status Preview Comments Updated (UTC)
eufemia ✅ Ready (Inspect) Visit Preview 💬 Add feedback Aug 22, 2023 0:54am

@codesandbox-ci
Copy link

This pull request is automatically built and testable in CodeSandbox.

To see build info of the built libraries, click here or the icon next to each commit SHA.

Latest deployment of this branch, based on commit 528684b:

Sandbox Source
eufemia-starter Configuration

@langz langz changed the title Sub heading size fix fix(Forms): sets SubHeading's size to medium Aug 22, 2023
@henit henit merged commit 7e2ccbf into main Aug 23, 2023
@henit henit deleted the feat/forms-heading-component-sizing-prop branch August 23, 2023 06:31
tujoworker pushed a commit that referenced this pull request Aug 23, 2023
## [10.7.0](v10.6.0...v10.7.0) (2023-08-23)

### 🐛 Bug Fixes

* **Forms:** Fix provider rerender issue and FlexContainer spacing issue ([#2570](#2570)) ([aafdbc1](aafdbc1))
* **Forms:** sets SubHeading's size to medium ([#2581](#2581)) ([7e2ccbf](7e2ccbf))

### ✨ Features

* **Button:** sbanken css refactoring ([#2565](#2565)) ([3b9d6b0](3b9d6b0))
* **FormLabel:** sbanken ([#2563](#2563)) ([308a0b6](308a0b6))
* **FormRow:** sbanken theme ([#2564](#2564)) ([968efdd](968efdd))
* **Forms:** Field width features upgraded ([#2580](#2580)) ([73b1650](73b1650))
* **Pagination:** sbanken theme ([#2569](#2569)) ([d08a492](d08a492))
* **PaymentCard:** adds card_status not_active ([#2578](#2578)) ([03469e6](03469e6))
* **Section:** Sbanken styling and new variant prop ([#2582](#2582)) ([416db6d](416db6d))
@tujoworker
Copy link
Member

🎉 This PR is included in version 10.7.0 🎉

The release is available on:

Your semantic-release bot 📦🚀

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Development

Successfully merging this pull request may close these issues.

3 participants