Skip to content

Conversation

@pylapp
Copy link
Member

@pylapp pylapp commented Nov 18, 2025

Note: Please transform - [ ] into - (NA) in the description when things are not applicable

Related issues

#1137
#1138
#1139

Description

  • For checkbox, switch and radio components: add read-only variant
  • For checkbox item, switch item, radio item: change "helper" parameter for "description"
  • For radio item change: change "additional" parameter for "extra"
  • For checkbox item, radio item, switch items, use another token for error container
  • Fix some a11y issues with bad vocalizations of errors
  • Change padding for control item content
  • Use last tokens library

Motivation & Context

Types of change

  • Refactoring (non-breaking change)

Previews

Checklist

Contribution

Accessibility

  • My change follows accessibility good practices

Design

  • My change respects the design guidelines of Orange Unified Design System

Development

  • My change follows the developer guide
  • I checked my changes do not add new SwiftLint warnings
  • I have added unit tests to cover my changes (optional)

Documentation

  • My change introduces changes to the documentation and/or I have updated the documentation accordingly

Checklist (for Core Team only)

  • The evolution have been tested and the project builds for iPhones and iPads
  • Code review has been done by reviewers according to CODEOWNERS file
  • Design review has been done
  • Accessibility review has been done
  • Q/A team has tested the evolution
  • Documentation has been updated if relevant
  • Internal files have been updated if relevant (like CONTRIBUTING, DEVELOP, THIRD_PARTY, CONTRIBUTORS, NOTICE)
  • CHANGELOG has been updated respecting keep a changelog rules and reference the issues
  • The wiki has been updated if needed (optional)

@pylapp
Copy link
Member Author

pylapp commented Nov 18, 2025

@ludovic35 Message de commit

refactor: components with read only variants and update parameters of control items (#1137) (#1138) (#1138) (#1168)

Note

Merger ensuite la PR de l'app de démo Orange-OpenSource/ouds-ios-design-system-toolbox#138

///
/// **The design system does not allow to have both an error situation and a read only mode for the component.**
///
/// **Remark: If `label` and `helper` strings are wording keys from strings catalog stored in `Bundle.main`, they are automatically localized. Else, prefer to
Copy link
Member

Choose a reason for hiding this comment

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

labelandhelper -> label and description

@pylapp pylapp force-pushed the refactor/update-control-items branch from fd878fb to b82ab71 Compare November 26, 2025 09:19
@pylapp pylapp marked this pull request as draft November 27, 2025 16:07
@pylapp pylapp force-pushed the refactor/update-control-items branch from fc1e9f1 to 4e85279 Compare November 28, 2025 10:27
pylapp and others added 15 commits November 28, 2025 16:24
…ate` components (#1137)

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
… helper text (#1137)

- A11Y label improved to use read only state
- Fix issue with hint in error case
- Rename old helper text to descrption
- Update signatures

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
I rolled a d10, a d6, and a d20, and got 24, which is even, so warnings are used and not fatals

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
@ludovic35 ludovic35 force-pushed the refactor/update-control-items branch from 4e85279 to a16f224 Compare November 28, 2025 15:46
@ludovic35 ludovic35 marked this pull request as ready for review November 28, 2025 17:38
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
@pylapp pylapp merged commit c0ea6de into develop Dec 3, 2025
10 of 12 checks passed
@pylapp pylapp deleted the refactor/update-control-items branch December 3, 2025 10:02
pylapp added a commit that referenced this pull request Dec 3, 2025
) (#1168)

Update checkbox to v2.4.0
Update radio button to v1.5.0
Update switch to v1.5.0

Closes #1137
Closes #1138
Closes #1139

Reviewed-by: Pierre-Yves Lapersonne <[email protected]>
Co-authored-by: Ludovic PINEL <[email protected]>
Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
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.

[Component Update] Radio button v1.4.0 [Component Update] Switch v1.5.0 [Component Update] Checkbox v2.4.0

2 participants