Skip to content

Commit ae1b403

Browse files
pylappludovic35boosted-botrenovate[bot]
authored
Version 1.0.0 (#1228)
Release of version 1.0.0 Embeds token libraries: - Core OUDS version: 1.9.0 - Core Orange version: 1.2.0 - Brand Orange version: 2.3.0 - Core Sosh version: 1.2.0 - Brand Sosh version: 2.3.0 - Core Wireframe version: 1.3.0 - Brand Wireframe version: 2.3.0 - Brand Orange Business Tools version: 2.3.0 See below the full CHANGELOG details. Added: - `tab bar` component (#1135) - `constrainedMaxWidth` parameter to `control items` and `text input` components (#1211) Changed: - `Ruby` version from v3.4.7 to v3.4.8 for `build-and-test` workflows - `actions/upload-artifact` action from v5.0.0 to v6.0.0 for `scorecard` workflow - `ruby/setup-ruby` action from v1.268.0 to v1.271.0 for `build-and-test` workflow - GitHub Actions `checkout` from v6.0.0 to v6.0.1 for all workflows - `github/codeql-action/upload-sarif` action for `scorecard` workflow - Swift package `SwifFormat` from v0.58.6 to v0.58.7 - Define timeout of 1 hour for all GitHub Actions workflows - Color semantic tokens (#1206) - Update wording keys and translations (#1200) - Update icons to v1.4.0 (#1193) - References to DSM documentation (#1210) (#1212) - Update `switch` components to v1.5.0 (#1138) - Update `radio` components to v1.4.0 (#1139) - Update `checkbox` components to v2.4.0 (#1137) - Read only variant for `checkbox` and `checkbox indeterminate` components (#1137) Fixed: - Accessibility hint on placeholder if no helper text in `text input` (#1083) - Separate label from trait, state, value and error message in `text input`, `checkbox`, `radio` and `switch` (#1188) - The warning icon for Orange theme is not the right one used on `tag` and `badge` (#1219) - Icon not shown for negative `tag` and `badge` types (#1216) - Missing accessibility label for badge `standard` and `count` types (#1060) (#1222) - Set own accessibility label to trailing action in `TextInput` (#1087) - Scale icons with information for tag and badge components (#1179) Co-authored-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com> Co-authored-by: Ludovic Pinel <ludovic.pinel@orange.com> Co-authored-by: boosted-bot <boosted-bot@users.noreply.github.com> Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
2 parents 8306d49 + ae7fbc3 commit ae1b403

File tree

313 files changed

+3856
-1992
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

313 files changed

+3856
-1992
lines changed

.github/DEVELOP.md

Lines changed: 42 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@
77
* [Illustrations](#illustrations)
88
- [Run tests](#run-tests)
99
* [Unit tests for OUDS Swift package](#unit-tests-for-ouds-swift-package)
10+
* [On devices tests](#on-devices-tests)
1011
- [Developer Certificate of Origin](#developer-certificate-of-origin)
1112
- [Commits, changelog, release note, versioning](#commits-changelog-release-note-versioning)
1213
* [About commits](#about-commits)
@@ -194,6 +195,47 @@ Finally, we ensure our themes can override any semantic tokens. Themes are in fa
194195

195196
Beware, UI tests and snapshots tests (i.e. visual regression) are designed in the [Design System Toolbox project](https://github.com/Orange-OpenSource/ouds-ios-design-system-toolbox): we need an app to build, generated views and tigger some user inputs.
196197

198+
### On devices tests
199+
200+
End to end tests must be done on several devices so as to check the behaviours of the Swift Package and the design toolbox app.
201+
Thus we suggest to test on all platforms, if possible on real devices, otherwise on simulators, and also with some specific OS versions to cover breaking changes like Liquid Glass.
202+
We try to cover several devices types and OS max version according to [iosref.com](https://iosref.com/ios).
203+
204+
> ![NOTE]
205+
> Keep in mind focus is on iOS and iPadOS first
206+
207+
#### iPhone / iOS
208+
209+
- iPhone 17 Pro (iOS 26.1)
210+
- iPhone 14 Pro (iOS 17.5)
211+
- iPhone Xs Max (iOS 18.6)
212+
- iPhone 8 Plus (iOS 16.4)
213+
- iPhone SE Gen 1 (iOS 15.5)
214+
215+
#### iPad / iPadOS
216+
217+
- iPad (A16) (iPadOS 26.1)
218+
- iPad (A16) (iPadOS 18.6)
219+
- iPad Pro 11" (3rd generation) (iPadOS 17.5)
220+
- iPad Air (5th generation) (iPadOS 16.4)
221+
- iPad Air (3rd generation) (iPadOS 15.5)
222+
223+
#### Vision Pro / visionOS
224+
225+
- Apple Vision Pro (visionOS 26.0)
226+
227+
#### Apple TV / tvOS
228+
229+
- Apple TV 4K (3rd generation) (tvOS 26.0)
230+
231+
#### Apple Watch / watchOS
232+
233+
- Appel Watch Series 11 (46mm) (watchOS 26.0)
234+
235+
#### Mac / macOS
236+
237+
- macOS Tahoe 26.1
238+
197239
## Developer Certificate of Origin
198240

199241
A [GitHub Action bot](https://probot.github.io/apps/dco/) has been plugged in the repository so as to check wether or not the DCO is applied for commits.

.github/cliff.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -57,24 +57,23 @@ filter_unconventional = true
5757
split_commits = false
5858

5959
# Regex for parsing and grouping commits
60-
# We assume commits of build and style should not appear in generate release note
60+
# We assume commits of build (build:) and style (style:) should not appear in generate release note
6161
commit_parsers = [
6262
{ message = "^feat:", group = "🚀 Features" },
6363
{ message = "^fix:", group = "🐛 Fixes" },
6464
{ message = "^docs:", group = "📖 Docs" },
6565
{ message = "^chore:", group = "🧰 Chore" },
66+
{ message = "^chore\\(deps\\):", group = "🧰 Chore" },
6667
{ message = "^refactor:", group = "🧰 Chore" },
6768
{ message = "^test:", group = "🧰 Chore" },
6869
{ message = "^ci:", group = "🧰 Chore" },
69-
{ message = "^style:", group = "🧰 Chore" },
7070
{ message = "^feat!:", group = "💥 Breaking changes" },
7171
{ message = "^fix!:", group = "💥 Breaking changes" },
7272
{ message = "^docs!:", group = "💥 Breaking changes" },
7373
{ message = "^chore!:", group = "💥 Breaking changes" },
7474
{ message = "^refactor!:", group = "💥 Breaking changes" },
7575
{ message = "^test!:", group = "💥 Breaking changes" },
7676
{ message = "^ci!:", group = "💥 Breaking changes" },
77-
{ message = "^.*:", group = "🧰 Chore" },
7877
]
7978
commit_preprocessors = [
8079
{ pattern = '.*', replace_command = 'git show -s --format=%B $COMMIT_SHA' }

.github/workflows/build-and-test.yml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -51,18 +51,19 @@ jobs:
5151
# Build the library
5252
build:
5353
runs-on: macos-26
54+
timeout-minutes: 60
5455
steps:
5556
- name: Checkout code
56-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
57+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5758

5859
- name: Set up Xcode 26.0.1
5960
run: |
6061
sudo xcode-select -s /Applications/Xcode_26.0.1.app/Contents/Developer
6162
6263
- name: Set up Ruby
63-
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0, https://github.com/ruby/setup-ruby
64+
uses: ruby/setup-ruby@f8d7259c7a66155a7c4a157a1a10ca601f186594 # v1.271.0, https://github.com/ruby/setup-ruby
6465
with:
65-
ruby-version: '3.4.7'
66+
ruby-version: '3.4.8'
6667

6768
- name: Install Fastlane
6869
run: |
@@ -75,18 +76,19 @@ jobs:
7576
# Test the library with unit tests
7677
unit-test:
7778
runs-on: macos-26
79+
timeout-minutes: 60
7880
steps:
7981
- name: Checkout code
80-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
82+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
8183

8284
- name: Set up Xcode 26.0.1
8385
run: |
8486
sudo xcode-select -s /Applications/Xcode_26.0.1.app/Contents/Developer
8587
8688
- name: Set up Ruby
87-
uses: ruby/setup-ruby@8aeb6ff8030dd539317f8e1769a044873b56ea71 # v1.268.0, https://github.com/ruby/setup-ruby
89+
uses: ruby/setup-ruby@f8d7259c7a66155a7c4a157a1a10ca601f186594 # v1.271.0, https://github.com/ruby/setup-ruby
8890
with:
89-
ruby-version: '3.4.7'
91+
ruby-version: '3.4.8'
9092

9193
- name: Install Fastlane
9294
run: |

.github/workflows/build-documentation.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,9 +50,10 @@ jobs:
5050
# Build the documentation to check if everything works well
5151
build-documentation:
5252
runs-on: macos-26
53+
timeout-minutes: 60
5354
steps:
5455
- name: Checkout code
55-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
56+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5657

5758
- name: Set up Xcode 26.0.1
5859
run: |

.github/workflows/dependency-review.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ concurrency:
3636
jobs:
3737
dependency-review:
3838
runs-on: ubuntu-latest
39+
timeout-minutes: 60
3940
steps:
4041
- name: 'Checkout Repository'
41-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
42+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4243
- name: 'Dependency Review'
4344
uses: actions/dependency-review-action@3c4e3dcb1aa7874d2c16be7d79418e9b7efd6261 # v4.8.2

.github/workflows/gitleaks.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,8 +48,9 @@ jobs:
4848
scan:
4949
name: gitleaks
5050
runs-on: ubuntu-latest
51+
timeout-minutes: 60
5152
steps:
52-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
53+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5354
with:
5455
fetch-depth: 0
5556
- uses: gitleaks/gitleaks-action@ff98106e4c7b2bc287b24eaf42907196329070c7 # v2.3.9, https://github.com/gitleaks/gitleaks-action

.github/workflows/scorecard.yml

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -42,6 +42,7 @@ jobs:
4242
analysis:
4343
name: Scorecard analysis
4444
runs-on: ubuntu-latest
45+
timeout-minutes: 60
4546
# `publish_results: true` only works when run from the default branch. conditional can be removed if disabled.
4647
if: github.event.repository.default_branch == github.ref_name || github.event_name == 'pull_request'
4748
permissions:
@@ -55,7 +56,7 @@ jobs:
5556

5657
steps:
5758
- name: "Checkout code"
58-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
59+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5960
with:
6061
persist-credentials: false
6162

@@ -85,7 +86,7 @@ jobs:
8586
# Upload the results as artifacts (optional). Commenting out will disable uploads of run results in SARIF
8687
# format to the repository Actions tab.
8788
- name: "Upload artifact"
88-
uses: actions/upload-artifact@330a01c490aca151604b8cf639adc76d48f6c5d4 # v5.0.0
89+
uses: actions/upload-artifact@b7c566a772e6b6bfb58ed0dc250532a479d7789f # v6.0.0
8990
with:
9091
name: SARIF file
9192
path: results.sarif
@@ -94,6 +95,6 @@ jobs:
9495
# Upload the results to GitHub's code scanning dashboard (optional).
9596
# Commenting out will disable upload of results to your repo's Code Scanning dashboard
9697
- name: "Upload to code-scanning"
97-
uses: github/codeql-action/upload-sarif@fdbfb4d2750291e159f0156def62b853c2798ca2 # v4, https://github.com/github/codeql-action
98+
uses: github/codeql-action/upload-sarif@5d4e8d1aca955e8d8589aabd499c5cae939e33c7 # v4, https://github.com/github/codeql-action
9899
with:
99100
sarif_file: results.sarif

.github/workflows/snapshot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,8 +36,9 @@ concurrency:
3636
jobs:
3737
snapshot:
3838
runs-on: ubuntu-latest
39+
timeout-minutes: 60
3940
steps:
40-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
41+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
4142
with:
4243
ref: develop
4344
token: ${{ secrets.GITHUB_TOKEN }}

.github/workflows/swiftlint.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,9 @@ concurrency:
4545
jobs:
4646
SwiftLint:
4747
runs-on: macos-26
48+
timeout-minutes: 60
4849
steps:
49-
- uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
50+
- uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5051
- uses: cirruslabs/swiftlint-action@37b78e658ba6bcb1679df34819a4a8d8c269a940 # v1.1.0, https://github.com/cirruslabs/swiftlint-action
5152
with:
5253
version: latest

.github/workflows/swiftpolyglot.yml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,10 @@ jobs:
4949
i18n:
5050
name: Check translations (Swift Polyglot)
5151
runs-on: macos-26
52+
timeout-minutes: 60
5253
steps:
5354
- name: Checkout code
54-
uses: actions/checkout@1af3b93b6815bc44a9784bd300feb67ff0d1eeb3 # v6.0.0
55+
uses: actions/checkout@8e8c483db84b4bee98b60c0593521ed34d9990e8 # v6.0.1
5556

5657
- name: Clone SwiftPolyglot
5758
run: git clone https://github.com/appdecostudio/SwiftPolyglot.git --branch=1.1.0 ../SwiftPolyglot

0 commit comments

Comments
 (0)