Skip to content

Implement readonly on LionSwitchButton#2783

Open
ing-athirlwall wants to merge 4 commits into
ing-bank:masterfrom
ing-athirlwall:feat/add-readonly-to-switch
Open

Implement readonly on LionSwitchButton#2783
ing-athirlwall wants to merge 4 commits into
ing-bank:masterfrom
ing-athirlwall:feat/add-readonly-to-switch

Conversation

@ing-athirlwall

Copy link
Copy Markdown
Collaborator

What I did

Implement readonly property on LionSwitchButton

Why

Allows consumers to style "disabled" differently to "readonly".
"disabled" switches can appear greyed out while "readonly" switches can be normally styled but unusable

@changeset-bot

changeset-bot Bot commented Jun 16, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: f62acfe

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

This PR includes changesets to release 1 package
Name Type
@lion/ui 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

@CLAassistant

Copy link
Copy Markdown

CLA assistant check
Thank you for your submission! We really appreciate it. Like many open source projects, we ask that you sign our Contributor License Agreement before we can accept your contribution.


Alex Thirlwall seems not to be a GitHub user. You need a GitHub account to be able to sign the CLA. If you have already a GitHub account, please add the email address used for this commit to your account.
You have signed the CLA already but the status is still pending? Let us recheck it.

@okadurin

Copy link
Copy Markdown
Collaborator

Please add a changeset

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

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants