Skip to content

fix(toggles): Add help text to toggles

Jarek Ostrowski requested to merge 502-add-help-text-toggles into master

What does this MR do?

  • Adds help text to toggles as a <slot>, as outlined by latest designs in Pajamas UI Kit.
  • Adds gl-font-weight-bold to .gl-toggle-label as outlined by the label style in Pajamas UI Kit.

Does this MR meet the acceptance criteria?

Conformity

  • Code review guidelines.
  • GitLab UI's contributing guidlines.
  • If it changes a Pajamas-compliant component's look & feel, the MR has been reviewed by a UX designer.
  • If it changes GitLab UI's documentation guidelines, the MR has been reviewed by a Technical Writer.
  • If the MR changes a component's API, integration MR(s) have been opened in the following projects to ensure that the @gitlab/ui package can be upgraded quickly after the changes are released:
  • Added the ~"component:*" label(s) if applicable.

Closes #502 (closed)

Edited by 🤖 GitLab Bot 🤖

Merge request reports