Skip to content

✨ feat(hint): title only show on mobile add prop to control that #1736

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

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

github-actions[bot]
Copy link
Contributor

closes #1494

@github-actions github-actions bot added the ✨ feature New feature or request label Jun 20, 2025
Copy link

vercel bot commented Jun 20, 2025

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

Name Status Preview Comments Updated (UTC)
design-system ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:46pm
design-system-core ✅ Ready (Inspect) Visit Preview 💬 Add feedback Jun 20, 2025 1:46pm

Copy link

changeset-bot bot commented Jun 20, 2025

🦋 Changeset detected

Latest commit: 9633b3a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 18 packages
Name Type
@baloise/ds-core Minor
@baloise/ds-angular-common Minor
@baloise/ds-angular-module Minor
@baloise/ds-angular Minor
@baloise/ds-react Minor
@baloise/ds-table Minor
@baloise/ds-testing Minor
docs Patch
e2e Patch
@baloise/ds-brand-icons Minor
@baloise/ds-devkit Minor
@baloise/ds-favicons Minor
@baloise/ds-fonts Minor
@baloise/ds-icons Minor
@baloise/ds-maps Minor
@baloise/ds-styles Minor
@baloise/ds-tokens Minor
@baloise/ds-nx Minor

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@@ -22,6 +27,8 @@ export class FieldHint {
*/
@Prop() small = false

@State() isDesktop = balBreakpoints.isDesktop
Copy link
Member

Choose a reason for hiding this comment

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

You need to listen to breakpoint changes use the listener we created.

@ListenToBreakpoints()
breakpointListener(breakpoints: BalBreakpoints): void {
this.isDesktop = breakpoints.desktop
}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
✨ feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

✨ feat(hint): title only show on mobile add prop to control that
2 participants