Skip to content

Conversation

@MisRob
Copy link
Member

@MisRob MisRob commented Nov 20, 2025

Description

  • Fixes internal visually hidden style (KCard example here + here) not taking effect in KDS components when used from an application

    • By moving the style from documentation styles to library styles, and adding a new installation step to register library styles in applications
  • As a side effect, above also exposes the .visuallyhidden class to be used for any component, not just KDS.

  • Allows KTextbox label to be passed via slot and adds documentation on how to achieve visually hidden label

  • Also has few maintenance commits for related documentation and test suite

Issue addressed

Steps to test

Changelog

in KDS components when used from an application.

By moving the style from documentation styles
to library styles, and adding a new installation
step to register library styles.

This also exposes the class to be used
for any component, not just KDS.

Fixes learningequality#1163
@github-actions
Copy link
Contributor

github-actions bot commented Nov 20, 2025

Percy Visual Test Results

Percy Dashboard: View Detailed Report

Environment:

  • Node.js Version: 18.x
  • OS: Ubuntu-latest

Instructions for Reviewers:

  • Click on the Percy Dashboard link to view detailed visual diffs.
  • Review the visual changes highlighted in the report.
  • Approve or request changes based on the visual differences.

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

Labels

TODO: needs review Waiting for review

Projects

None yet

Development

Successfully merging this pull request may close these issues.

[KTextbox]: Allow label to be passed via slot Investigate why visuallyhidden class doesn't take effect in Studio

1 participant