Skip to content

Dev 8255#330

Open
blksnk wants to merge 5 commits into
mainfrom
dev-8255
Open

Dev 8255#330
blksnk wants to merge 5 commits into
mainfrom
dev-8255

Conversation

@blksnk

@blksnk blksnk commented Oct 23, 2025

Copy link
Copy Markdown
Member

Changed

  • v0.0.7 Switch component

    • Added readonly property to hide the switch's toggle ui element and force the helper text to be shown if valid, overriding withHelper:false
  • v0.0.5 FeatureSwitch component

    • Added readonly property to forward it to the inner Switch

@blksnk blksnk self-assigned this Oct 23, 2025
@blksnk blksnk added Enhancement New feature or request Patch Will trigger a patch release once merged labels Oct 23, 2025
@linear

linear Bot commented Oct 23, 2025

Copy link
Copy Markdown
DEV-8255 Mise à jour du composant FeatureSwitch et Switch avec une nouvelle prop readOnly

Mise à jour du composant Switch (et FeatureSwitch) avec l’ajout d’une prop readOnly.

Lorsque readOnly est à false, le composant est en mode édition :

  • le toggle est visible et interactif,
  • l’utilisateur peut modifier l’état du switch.

Lorsque readOnly est à true, le composant passe en mode lecture :

  • le toggle disparaît,
  • seul le texte “Activé / Désactivé” reste affiché pour indiquer l’état actuel.

FeatureSwitch - UI Kit 2024 (Figma)

@blksnk blksnk requested review from VassoD and codinHamster October 29, 2025 14:05

@VassoD VassoD left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

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

unit tests fail

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

Labels

Enhancement New feature or request Patch Will trigger a patch release once merged

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants