Skip to content

Commit 7b795ed

Browse files
pylappludovic35Tayebsed93
authored
Version 0.3.0 (#165)
Release of version 0.3.0 See below the full CHANGELOG details. Added - [Library] Add color semantic tokens `colorBackgroundStatusNeutral`, some `OnBackgroundEmphasized`, `colorBackgroundAction`, `colorBackgroundAlways`, `colorContent` variants - [Library] Add typography semantic tokens for font letter spacing - [DemoApp] Create token section (Border, Typography, Elevation, Opacity) ([#120](#120)) - [Library] Unit tests for multiple tokens - [Library] Add color semantic composite tokens embeding light and dark modes values - [Library] Add spacing semantic tokens "huge" and "jumbo" - [Library] Add closed "sys" dimension semantic tokens - [Tool] GitHub issue template for tokens update request - [Library] Add more sizing semantic tokens ([#122](#122)) - [Library] Add letter spacing and more font family tokens for typography ([#51](#51)) Changed - [Library] Rename and move color raw tokens for core, Orange brand and Sosh brand - [Library] Remove web-specific grid tokens, keep compact/regular widths ([#147](#147)) - [Library] Rename of typography font weight raw tokens - [Library] Rename dimension semantic tokens to apply T-Shirt size rules ([#130](#130)) - [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingSemanticToken` to keep "composite" word for *Figma* design system - [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorRawToken` to keep "composite" word for *Figma* design system - [Library] Rename `TypographyCompositeSemanticToken` to `MultipleTypographyTokens` to keep "composite" word for *Figma* design system - [Library] Rename `SpacingCompositeSemanticToken` to `MultipleSpacingTokens` to keep "composite" word for *Figma* design system - [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingTokens` to keep "composite" word for *Figma* design system - [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorTokens` to keep "composite" word for *Figma* design system - [Library] Elevation colors have been merged into "multiple" objects colors to have less variables and manage color schemes - [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorSemanticToken` to keep "composite" word for *Figma* design system - [Library] Elevation colors have been merged into composite colors to have less variables and manage color schemes - [Library] Rename `SpacingCompositeSemanticToken` to `MultipleSpacingTokens` to keep "composite" word for *Figma* design system - [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingTokens` to keep "composite" word for *Figma* design system - [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorTokens` to keep "composite" word for *Figma* design system - [Library] Elevation colors have been merged into "multiple" objects colors to have less variables and manage color schemes - [Library] Update color semantic tokens to better manage light and dark modes values - [Library] Update elevation colors focus light and dark - [Library] Rename space padding inline component tokens by removing "component" word - [Library] Improve documentation about raw and semantic tokens definitions ([#127](#127)) - [Library] Improve documentation about raw tokens definitions - [Library] Move composite tokens elsewhere to help parser ([#129](#129)) - [Library] Improve documentation about raw and semantic tokens definitions ([#127](#127)) - [Library] Rename some sizing semantic tokens ([#122](#122)) - [Library] Replace "adaptable" word by "scaled" in space semantic tokens, "fix" by "fixed" and remove "layout" ([#117](#117)) Removed - [Library] Color semantic token `colorBackgroundEmphasizedSecondary`, `colorOnBackground` variants - [Library] Remove raw tokens `elevationZIndex` ([#119](#119)) Fixed - [Library] Blur values for elevation composite raw tokens Co-authored-by: Pierre-Yves Lapersonne <[email protected]> Co-authored-by: Ludovic Pinel <[email protected]> Co-authored-by: Tayeb Sedraia <[email protected]> Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
2 parents 98640b4 + 694c083 commit 7b795ed

File tree

197 files changed

+7183
-4211
lines changed

Some content is hidden

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

197 files changed

+7183
-4211
lines changed

.github/CODEOWNERS

+7-7
Original file line numberDiff line numberDiff line change
@@ -17,15 +17,15 @@ AUTHORS.txt @pylapp
1717
CONTRIBUTORS.txt @pylapp
1818
LICENSE @pylapp
1919

20-
README.md @ludovic35 @pylapp
21-
CHANGELOG.md @ludovic35 @pylapp
20+
README.md @ludovic35 @pylapp @Tayebsed93
21+
CHANGELOG.md @ludovic35 @pylapp @Tayebsed93
2222
DEVELOP.md @ludovic35 @pylapp
2323
CONTRIBUTING.md @ludovic35 @pylapp
24-
THIRD-PARTY.md @ludovic35 @pylapp
25-
NOTICE.txt @ludovic35 @pylapp
24+
THIRD-PARTY.md @pylapp
25+
NOTICE.txt @pylapp
2626

2727
# Project
2828

29-
/.github/ @pylapp @ludovic35
30-
/Showcase/ @pylapp @ludovic35
31-
/OUDS/ @pylapp @ludovic35
29+
/.github/ @pylapp
30+
/Showcase/ @pylapp @ludovic35 @Tayebsed93
31+
/OUDS/ @pylapp @ludovic35 @Tayebsed93

.github/CONTRIBUTORS.txt

+1
Original file line numberDiff line numberDiff line change
@@ -23,3 +23,4 @@
2323
Julien DERAMOND <[email protected]>
2424
Pierre-Yves LAPERSONNE <[email protected]>
2525
Ludovic PINEL <[email protected]>
26+
Tayeb SEDRAIA <[email protected]>

.github/DEVELOP.md

+36-2
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,8 @@
2121
## Technical preconditions
2222

2323
You should check wether or not you have the tools in use in the project like _Fastlane_, _SwiftLint_, _SwiftFormat_, etc.
24-
You can have a look for example in thr **THIRD\_PARTY.md** file which lists any dependencies and tools we use are different levels (SDK, showcase app, projects).
24+
You can have a look for example in the **THIRD\_PARTY.md** file which lists any dependencies and tools we use are different levels (SDK, showcase app, projects).
25+
Have a look on the lociks file to know which versions we are using (*Podfile*, *Podfile.lock*, *Packages.swift*, *Package.resolved*, *Gemfile*, *Gemfile.lock*).
2526

2627
If some tools are missing, pick the suitable command line below:
2728
```bash
@@ -38,7 +39,23 @@ brew install peripheryapp/periphery/periphery
3839
brew install gitleaks
3940
```
4041

42+
Ensure you have the suitable _Ruby_ version. We recommend the use of [rbenv](https://github.com/rbenv/rbenv) to load the suitable version of ruby.
43+
We use here _Ruby 3_ (3.1.x).
44+
If you are not used to this tool:
45+
46+
```shell
47+
# List available local version of Ruby
48+
rbenv install --list
49+
50+
# Apply the 3.1.2 version of Ruby (if listed previously)
51+
rbenv global 3.1.2
52+
53+
# Check Ruby version
54+
ruby --version
55+
```
56+
4157
We use also for our GitLab CI runners **Xcode 15.3**, we suggest you use this version or newer if you want but beware.
58+
**Xcode 16** use will come.
4259

4360
## Build showcase demo app
4461

@@ -147,10 +164,27 @@ A [GitHub Action bot](https://probot.github.io/apps/dco/) has been plugged in th
147164
### About commits
148165

149166
Try as best as possible to apply [conventional commits rules](https://www.conventionalcommits.org/en/v1.0.0/).
150-
Keep in mind to have your commits well prefixed, and with the issue number between parenthesis at the end.
167+
Keep in mind to have your commits well prefixed, and with the issue number between parenthesis at the end, and also if needed the pull request issue number.
151168
If your commits embed contributions for other people, do not forget to [add them as co-authors](https://docs.github.com/fr/pull-requests/committing-changes-to-your-project/creating-and-editing-commits/creating-a-commit-with-multiple-authors).
152169
All of you should also comply to DCO.
153170

171+
You commit message should be prefixed by keywords [you can find in the specification](https://www.conventionalcommits.org/en/v1.0.0/#specification):
172+
- fix:
173+
- feat:
174+
- build:
175+
- chore:
176+
- ci:
177+
- docs:
178+
- style:
179+
- refactor:
180+
- perf:
181+
- test:
182+
183+
You can add also ! aftter the keyword to say a breaking change occur, and also add a scope between parenthesis like:
184+
- feat!: breaking change because..
185+
- feat(API)!: breaking change in the API because..
186+
- feat: add something in the API...
187+
154188
For example, given a commit to fix the issue n°42, the commit should be like:
155189

156190
```text

.github/ISSUE_TEMPLATE/bug_report.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Report a bug
22
description: Tell us about a bug or issue you may have identified in OUDS iOS.
33
title: "[Bug]: Bug Summary"
44
labels: ["🐞 bug", "🔍 triage"]
5-
assignees: ["ludovic35", "pylapp"]
5+
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
66
body:
77
- type: checkboxes
88
attributes:

.github/ISSUE_TEMPLATE/documentation-update.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Documentation Update
22
description: Describe this issue found in the documentation
33
title: "[Doc]: "
44
labels: ["📖 documentation", "🔍 triage"]
5-
assignees: ["ludovic35", "pylapp"]
5+
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
66
body:
77
- type: markdown
88
attributes:

.github/ISSUE_TEMPLATE/feature_request.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ name: Feature Request
22
description: Suggest a new Epic to be added to the backlog.
33
title: "[feature]: "
44
labels: ["feature", "🔍 triage"]
5-
assignees: ["ludovic35", "pylapp"]
5+
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
66
body:
77
- type: checkboxes
88
attributes:
+49
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,49 @@
1+
name: Token Update Request
2+
description: Please fill out the following details for your token update request.
3+
title: "[Token Update] - Title"
4+
labels: ["📀 token", "🔍 triage"]
5+
assignees: ["ludovic35", "pylapp", "Tayebsed93"]
6+
body:
7+
- type: markdown
8+
attributes:
9+
value: |
10+
### Type of tokens
11+
Please fill the checkboxes of the token type you want to update:
12+
- [ ] Raw token (i.e. associated to _SwiftUI_ or _Swift_ value)
13+
- [ ] Semantic token (i.e. pointing to a raw token)
14+
- [ ] Component token (i.e. pointing to a semantic token, used for a component)
15+
validations:
16+
required: true
17+
- type: textarea
18+
id: description
19+
attributes:
20+
label: Description
21+
description: Describe your need in details
22+
validations:
23+
required: true
24+
- type: textarea
25+
id: motivation_context
26+
attributes:
27+
label: Motivation & Context
28+
description: Why is this change required? What problem does it solve?
29+
validations:
30+
required: true
31+
- type: markdown
32+
attributes:
33+
value: |
34+
### Types of change
35+
Please fill the suitable items in the list:
36+
- [ ] Add new tokens
37+
- [ ] Update existing tokens (i.e. change name or value)
38+
- [ ] Remove existing token
39+
validations:
40+
required: true
41+
- type: markdown
42+
attributes:
43+
value: |
44+
### Checklist for Core Team
45+
- [ ] Tokens have been updated
46+
- [ ] Documentation have been updated
47+
- [ ] Unit tests have been updated
48+
- [ ] Retrocompatibility has been checked, or broken API have been flagged as deprecated without a workaround
49+

.swiftlint.yml

+2
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,8 @@ excluded:
3131
- Showcase/Pods
3232
- Showcase/DerivedData
3333

34+
strict: true
35+
3436
# ==============
3537
# Disabled rules
3638
# ==============

CHANGELOG.md

+53
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,59 @@ All notable changes to this project will be documented in this file.
44
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
55
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
66

7+
## [0.3.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.2.0...0.3.0) - 2024-10-04
8+
9+
### Added
10+
11+
- [Library] Add color semantic tokens `colorBackgroundStatusNeutral`, some `OnBackgroundEmphasized`, `colorBackgroundAction`, `colorBackgroundAlways`, `colorContent` variants
12+
- [Library] Add typography semantic tokens for font letter spacing
13+
- [DemoApp] Create token section (Border, Typography, Elevation, Opacity) ([#120](https://github.com/Orange-OpenSource/ouds-ios/issues/120))
14+
- [Library] Unit tests for multiple tokens
15+
- [Library] Add color semantic composite tokens embeding light and dark modes values
16+
- [Library] Add spacing semantic tokens "huge" and "jumbo"
17+
- [Library] Add closed "sys" dimension semantic tokens
18+
- [Tool] GitHub issue template for tokens update request
19+
- [Library] Add more sizing semantic tokens ([#122](https://github.com/Orange-OpenSource/ouds-ios/issues/122))
20+
- [Library] Add letter spacing and more font family tokens for typography ([#51](https://github.com/Orange-OpenSource/ouds-ios/issues/51))
21+
22+
### Changed
23+
24+
- [Library] Rename and move color raw tokens for core, Orange brand and Sosh brand
25+
- [Library] Remove web-specific grid tokens, keep compact/regular widths ([#147](https://github.com/Orange-OpenSource/ouds-ios/pull/147))
26+
- [Library] Rename of typography font weight raw tokens
27+
- [Library] Rename dimension semantic tokens to apply T-Shirt size rules ([#130](https://github.com/Orange-OpenSource/ouds-ios/issues/130))
28+
- [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingSemanticToken` to keep "composite" word for *Figma* design system
29+
- [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorRawToken` to keep "composite" word for *Figma* design system
30+
- [Library] Rename `TypographyCompositeSemanticToken` to `MultipleTypographyTokens` to keep "composite" word for *Figma* design system
31+
- [Library] Rename `SpacingCompositeSemanticToken` to `MultipleSpacingTokens` to keep "composite" word for *Figma* design system
32+
- [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingTokens` to keep "composite" word for *Figma* design system
33+
- [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorTokens` to keep "composite" word for *Figma* design system
34+
- [Library] Elevation colors have been merged into "multiple" objects colors to have less variables and manage color schemes
35+
- [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorSemanticToken` to keep "composite" word for *Figma* design system
36+
- [Library] Elevation colors have been merged into composite colors to have less variables and manage color schemes
37+
- [Library] Rename `SpacingCompositeSemanticToken` to `MultipleSpacingTokens` to keep "composite" word for *Figma* design system
38+
- [Library] Rename `SizingCompositeSemanticToken` to `MultipleSizingTokens` to keep "composite" word for *Figma* design system
39+
- [Library] Rename `ColorCompositeSemanticToken` to `MultipleColorTokens` to keep "composite" word for *Figma* design system
40+
- [Library] Elevation colors have been merged into "multiple" objects colors to have less variables and manage color schemes
41+
- [Library] Update color semantic tokens to better manage light and dark modes values
42+
- [Library] Update elevation colors focus light and dark
43+
- [Library] Rename space padding inline component tokens by removing "component" word
44+
- [Library] Improve documentation about raw and semantic tokens definitions ([#127](https://github.com/Orange-OpenSource/ouds-ios/issues/127))
45+
- [Library] Improve documentation about raw tokens definitions
46+
- [Library] Move composite tokens elsewhere to help parser ([#129](https://github.com/Orange-OpenSource/ouds-ios/issues/129))
47+
- [Library] Improve documentation about raw and semantic tokens definitions ([#127](https://github.com/Orange-OpenSource/ouds-ios/issues/127))
48+
- [Library] Rename some sizing semantic tokens ([#122](https://github.com/Orange-OpenSource/ouds-ios/issues/122))
49+
- [Library] Replace "adaptable" word by "scaled" in space semantic tokens, "fix" by "fixed" and remove "layout" ([#117](https://github.com/Orange-OpenSource/ouds-ios/issues/117))
50+
51+
### Removed
52+
53+
- [Library] Color semantic token `colorBackgroundEmphasizedSecondary`, `colorOnBackground` variants
54+
- [Library] Remove raw tokens `elevationZIndex` ([#119](https://github.com/Orange-OpenSource/ouds-ios/issues/119))
55+
56+
### Fixed
57+
58+
- [Library] Blur values for elevation composite raw tokens
59+
760
## [0.2.0](https://github.com/Orange-OpenSource/ouds-ios/compare/0.1.0...0.2.0) - 2024-09-19
861

962
### Added

Gemfile

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
source "https://rubygems.org"
1515

1616
gem 'cocoapods', '1.15.2'
17-
gem 'fastlane', '2.222.0'
17+
gem 'fastlane', '2.223.1'
1818
gem 'fastlane-plugin-changelog', '0.16.0'
1919
gem 'fastlane-plugin-mattermost', '1.3.2'
2020
gem 'json', '2.7.2'

0 commit comments

Comments
 (0)