Skip to content

Commit 77463e0

Browse files
authored
refactor!: rename Orange Business Tools theme to Orange Compact (#1293)
Use new name for Orange Business Tool theme: Orange Compact BREAKING CHANGE: "Orange Business Tools" has been renamed to "Orange Compact", see MIGRATION guide As the theme is not used yet, do not expect major release for this evolution Closes #1293 Assisted-by: GitHub Copilot Acked-by: Ludovic Pinel <ludovic.pinel@orange.com> Reviewed-by: Copilot <198982749+Copilot@users.noreply.github.com> Signed-off-by: Pierre-Yves Lapersonne <pierreyves.lapersonne@orange.com>
1 parent f654b17 commit 77463e0

File tree

184 files changed

+967
-918
lines changed

Some content is hidden

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

184 files changed

+967
-918
lines changed

AGENTS.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ Here the the components provided by the Swift Package like buttons, switchs, che
5151

5252
Here is the definition of the Orange theme for all Orange products.
5353

54-
#### Core / Themes / Orange Business Tools
54+
#### Core / Themes / Orange Compact
5555

5656
Here is the definition of the Orange theme for all Orange products but with constraints of spaces and sizes.
5757

@@ -374,7 +374,7 @@ Create a theme for Orange product:
374374
let theme = OrangeTheme()
375375
```
376376

377-
The user can use instead `SoshTheme`, `WireframeTheme` or `OrangeBusinessTools` theme.
377+
The user can use instead `SoshTheme`, `WireframeTheme` or `OrangeCompact` theme.
378378

379379
### 12.4 Inject a theme in an app
380380

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,10 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
1010

1111
- `alert` component tokens
1212

13+
### Changed
14+
15+
- **BREAKING**: Rename of *Orange Business Tools* theme to *Orange Compact* (Orange-OpenSource/ouds-ios#1292)
16+
1317
## [1.1.0](https://github.com/Orange-OpenSource/ouds-ios/compare/1.0.0...1.1.0) - 2026-01-27
1418

1519
### Added

MIGRATION.md

Lines changed: 67 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,71 @@
11
# Migration Guide
22

3+
- [v1.1.0 → v1.2.0](#v110--v120)
34
- [v1.0.0 → v1.1.0](#v100--v110)
45
- [Support](#support)
56

7+
## v1.1.0 → v1.2.0
8+
9+
### Overview
10+
11+
The *Orange Business Tools* theme has been renamed by the design team to *Orange Compact*
12+
Thus the theme name is more accurate and does not have ambiguity anymore with Orange Business company.
13+
14+
### Before You Begin
15+
16+
#### Prerequisites
17+
18+
- Use version 1.x
19+
20+
### Breaking Changes
21+
22+
#### 1. Rename of Swift package product
23+
24+
**Impact**: High
25+
26+
**Before (v1.x)**:
27+
```swift
28+
import OUDSThemeOrangeBusinessTools
29+
```
30+
31+
**After (v1.2.0)**:
32+
```swift
33+
import OUDSThemeOrangeCompact
34+
```
35+
36+
**Required Action**:
37+
- If you use individual imports, rename the name of the Swift Package product from `OUDSThemeOrangeCompact` to `OUDSThemeOrangeCompact`
38+
39+
**Reason for Change**: Use more accurate name for the theme
40+
41+
#### 2. Rename of the theme
42+
43+
**Impact**: High
44+
45+
**Before (v1.x)**:
46+
```swift
47+
OrangeBusinessToolsTheme()
48+
```
49+
50+
**After (v1.2.0)**:
51+
```swift
52+
OrangeCompactTheme()
53+
```
54+
55+
**Required Action**:
56+
- If you instanciated `OrangeCompactTheme` object, use instead `OrangeCompactTheme` name
57+
58+
**Reason for Change**: Use more accurate name for the theme
59+
60+
#### 3. Change any use of "OrangeCompact"
61+
62+
**Impact**: High
63+
64+
**Required Action**:
65+
- Wherever you use the name "OrangeBusinessTools" (whatever the case or the style), in documentation, tests or source code, replace instead by "OrangeCompact"
66+
67+
**Reason for Change**: Use more accurate name for the theme
68+
669
## v1.0.0 → v1.1.0
770

871
### Overview
@@ -23,7 +86,7 @@ Component tokens of button for borders have been shortened.
2386
**Impact**: High
2487

2588
**Before (v1.0.0)**:
26-
```Swift
89+
```swift
2790
// Old namings of objects
2891
MultipleElevationCompositeRawTokens
2992
MultipleColorSemanticTokens
@@ -36,7 +99,7 @@ MultipleSpaceSemanticTokens
3699
```
37100

38101
**After (v1.1.0)**:
39-
```Swift
102+
```swift
40103
// Use new namings without final 's'
41104
MultipleElevationCompositeRawToken
42105
MultipleColorSemanticToken
@@ -65,7 +128,7 @@ MultipleSpaceSemanticToken
65128
**Impact**: High
66129

67130
**Before (v1.0.0)**:
68-
```Swift
131+
```swift
69132
// Old namings of objects
70133
buttonBorderRadiusDefault
71134
buttonBorderRadiusRounded
@@ -76,7 +139,7 @@ buttonBorderWidthDefaultInteractionMono
76139
```
77140

78141
**After (v1.1.0)**:
79-
```Swift
142+
```swift
80143
// Use new namings without 'button' prefix
81144
borderRadiusDefault
82145
borderRadiusRounded

NOTICE.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -43,9 +43,9 @@ Any use or displaying shall constitute an infringement under intellectual proper
4343
./OUDS/Core/Themes/Orange/Sources/Resources/Icons.xcassets/Components/Tag/ic_tag_bullet.imageset/ic_tag_bullet.svg
4444
./OUDS/Core/Themes/Orange/Sources/Resources/Icons.xcassets/Components/Tag/ic_tag_close.imageset/ic_tag_close.svg
4545

46-
## OUDS / Core / Themes / Orange Business Tools
46+
## OUDS / Core / Themes / Orange Compact
4747

48-
./OUDS/Core/Themes/OrangeBusinessTools/Sources/_OUDSThemesOrangeBusinessTools.docc/Resources/_/ic_theme_orangebusinesstools.png
48+
./OUDS/Core/Themes/OrangeCompact/Sources/_OUDSThemesOrangeCompact.docc/Resources/_/ic_theme_orangecompact.png
4949

5050
## OUDS / Core / Themes / Sosh
5151

OUDS/Core/Components/Sources/Actions/Button/OUDSButton.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,9 +108,9 @@ import SwiftUI
108108
///
109109
/// ![A button component in light and dark modes with Orange theme](component_button_Orange)
110110
///
111-
/// ### Orange Business Tools
111+
/// ### Orange Compact
112112
///
113-
/// ![A button component in light and dark modes with Orange Business Tools theme](component_button_OrangeBusinessTools)
113+
/// ![A button component in light and dark modes with Orange Compact theme](component_button_OrangeCompact)
114114
///
115115
/// ### Sosh
116116
///

OUDS/Core/Components/Sources/Controls/Checkbox/OUDSCheckbox.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -75,9 +75,9 @@ import SwiftUI
7575
///
7676
/// ![A checkbox component in light and dark modes with Orange theme](component_checkbox_Orange)
7777
///
78-
/// ### Orange Business Tools
78+
/// ### Orange Compact
7979
///
80-
/// ![A checkbox component in light and dark modes with Orange Business Tools theme](component_checkbox_OrangeBusinessTools)
80+
/// ![A checkbox component in light and dark modes with Orange Compact theme](component_checkbox_OrangeCompact)
8181
///
8282
/// ### Sosh
8383
///

OUDS/Core/Components/Sources/Controls/Checkbox/OUDSCheckboxIndeterminate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -76,9 +76,9 @@ import SwiftUI
7676
///
7777
/// ![A checkbox component in light and dark modes with Orange theme](component_checkbox_Orange)
7878
///
79-
/// ### Orange Business Tools
79+
/// ### Orange Compact
8080
///
81-
/// ![A checkbox component in light and dark modes with Orange Business Tools theme](component_checkbox_OrangeBusinessTools)
81+
/// ![A checkbox component in light and dark modes with Orange Compact theme](component_checkbox_OrangeCompact)
8282
///
8383
/// ### Sosh
8484
///

OUDS/Core/Components/Sources/Controls/Checkbox/OUDSCheckboxItem.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -130,9 +130,9 @@ import SwiftUI
130130
///
131131
/// ![A checkbox item component in light and dark modes with Orange theme](component_checkboxItem_Orange)
132132
///
133-
/// ### Orange Business Tools
133+
/// ### Orange Compact
134134
///
135-
/// ![A checkbox item component in light and dark modes with Orange Business Tools theme](component_checkboxItem_OrangeBusinessTools)
135+
/// ![A checkbox item component in light and dark modes with Orange Compact theme](component_checkboxItem_OrangeCompact)
136136
///
137137
/// ### Sosh
138138
///

OUDS/Core/Components/Sources/Controls/Checkbox/OUDSCheckboxItemIndeterminate.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -136,9 +136,9 @@ import SwiftUI
136136
///
137137
/// ![A checkbox item component in light and dark modes with Orange theme](component_checkboxItem_Orange)
138138
///
139-
/// ### Orange Business Tools
139+
/// ### Orange Compact
140140
///
141-
/// ![A checkbox item component in light and dark modes with Orange Business Tools theme](component_checkboxItem_OrangeBusinessTools)
141+
/// ![A checkbox item component in light and dark modes with Orange Compact theme](component_checkboxItem_OrangeCompact)
142142
///
143143
/// ### Sosh
144144
///

OUDS/Core/Components/Sources/Controls/Chip/OUDSFilterChip.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,9 +41,9 @@ import SwiftUI
4141
///
4242
/// ![A filter chip component in light and dark modes with Orange theme](component_filterChip_Orange)
4343
///
44-
/// ### Orange Business Tools
44+
/// ### Orange Compact
4545
///
46-
/// ![A filter chip component in light and dark modes with Orange Business Tools theme](component_filterChip_OrangeBusinessTools)
46+
/// ![A filter chip component in light and dark modes with Orange Compact theme](component_filterChip_OrangeCompact)
4747
///
4848
/// ### Sosh
4949
///

0 commit comments

Comments
 (0)