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

Change documentation for legend and legendIsQuestionTitle params #3466

Merged
merged 5 commits into from
Jan 10, 2025

Conversation

SriHV
Copy link
Contributor

@SriHV SriHV commented Dec 30, 2024

What is the context of this PR?

ONSDESYS-205.

Based on the macro file, the legend and legendIsQuestionTitle parameters are not mutually exclusive. The legendIsQuestionTitle parameter is used to render the legend as an <h1> tag. Many components use only the legend param only, the legendIsQuestionTitle parameter can be false.

Changed this in mutually exclusive component where these params are defined

How to review this PR

Check that documentation is updated

Checklist

This needs to be completed by the person raising the PR.

  • I have selected the correct Assignee
  • I have linked the correct Issue

@SriHV SriHV self-assigned this Dec 30, 2024
@SriHV SriHV added the Documentation Documentation content or feature for the design system website label Dec 30, 2024
Copy link

netlify bot commented Dec 30, 2024

Deploy Preview for ons-design-system-preview ready!

Name Link
🔨 Latest commit 0999a9c
🔍 Latest deploy log https://app.netlify.com/sites/ons-design-system-preview/deploys/677ff4492a384400084eee64
😎 Deploy Preview https://deploy-preview-3466--ons-design-system-preview.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@SriHV SriHV marked this pull request as ready for review December 30, 2024 12:34
@rmccar
Copy link
Contributor

rmccar commented Jan 6, 2025

The documentation around the legendIsQuestionTitle and legend params hasn't been updated in the mutually exclusive component

@rmccar rmccar changed the title added documentation for fieldset component Add documentation for fieldset component Jan 9, 2025
@SriHV SriHV changed the title Add documentation for fieldset component Change documentation for legend and legendIsQuestionTitle params Jan 9, 2025
@SriHV SriHV merged commit a2cf3fd into main Jan 10, 2025
27 checks passed
@SriHV SriHV deleted the fix/205/update-fieldset-component-documentation branch January 10, 2025 09:25
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Documentation Documentation content or feature for the design system website
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants