Skip to content

Commit 605d1d5

Browse files
committed
build: point to last develop version of OUDS iOS Swift Package
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent de64dc4 commit 605d1d5

File tree

14 files changed

+14
-13
lines changed

14 files changed

+14
-13
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
88

99
### Changed
1010

11+
- [Library] **BREAKING**: Rename some multiple token object (from plural to singular form)
1112
- [Library] Use `DynamicTypeSize` instead of `ContentSizeCategory` (Orange-OpenSource/ouds-ios#1187)
1213

1314
### Fixed

DesignToolbox/DesignToolbox (Light)/Views/Tokens/Colors/ColorsView.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -228,7 +228,7 @@ struct ColorsView: View {
228228
self.name = name
229229
}
230230

231-
init(token: MultipleColorSemanticTokens, name: String) {
231+
init(token: MultipleColorSemanticToken, name: String) {
232232
lightValue = token.light
233233
darkValue = token.dark
234234
self.name = name

DesignToolbox/DesignToolbox.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

DesignToolbox/DesignToolbox/Pages/Tokens/Color/ColorTokenPage.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -154,7 +154,7 @@ struct ColorTokenPage: View {
154154
}
155155
}
156156

157-
init(token: MultipleColorSemanticTokens, name: String) {
157+
init(token: MultipleColorSemanticToken, name: String) {
158158
self.name = name
159159

160160
if token.hasForbiddenColorValue() {

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Action.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ extension NamedColor {
4040
case actionReadOnlySecondary
4141
case actionAccent
4242

43-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
43+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
4444
switch self {
4545
case .actionDisabled:
4646
theme.colors.actionDisabled

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Background.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ extension NamedColor {
2222
case bgInverseHigh
2323
case bgInverseLow
2424

25-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
25+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
2626
switch self {
2727
case .bgPrimary:
2828
theme.colors.bgPrimary

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Border.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ extension NamedColor {
3434
case borderStatusNegative
3535
case borderStatusAccent
3636

37-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
37+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
3838
switch self {
3939
case .borderBrandPrimary:
4040
theme.colors.borderBrandPrimary

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Chart.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ extension NamedColor {
3838

3939
// We can bang! theme.charts here because controls on the existence of theme.charts have been previosuly done
4040
// swiftlint:disable force_unwrapping
41-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
41+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
4242
switch self {
4343
case .border:
4444
theme.charts!.border

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Content.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ extension NamedColor {
5151
case contentStatusWarning
5252
case contentStatusAccent
5353

54-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
54+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
5555
switch self {
5656
case .contentBrandPrimary:
5757
theme.colors.contentBrandPrimary

DesignToolbox/DesignToolbox/Pages/Tokens/Color/NamedColor/NamedColor+Opacity.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ extension NamedColor {
2020
case opacityLower
2121
case opacityTransparent
2222

23-
func token(from theme: OUDSTheme) -> MultipleColorSemanticTokens {
23+
func token(from theme: OUDSTheme) -> MultipleColorSemanticToken {
2424
switch self {
2525
case .opacityLowest:
2626
theme.colors.opacityLowest

0 commit comments

Comments
 (0)