From 73f27447a715b66598050d6cd84a235a5aee3dde Mon Sep 17 00:00:00 2001 From: "Boosted Bot [bot]" <130566815+boosted-bot@users.noreply.github.com> Date: Wed, 23 Oct 2024 10:13:49 +0200 Subject: [PATCH] =?UTF-8?q?chore(=F0=9F=A4=96):=20update`ElevationRawToken?= =?UTF-8?q?s`=20(tokenator=20generation=2020241022174330)=20(#235)?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Pierre-Yves Lapersonne Co-authored-by: boosted-bot Co-authored-by: Pierre-Yves Lapersonne --- CHANGELOG.md | 1 + .../Values/ElevationRawTokens+Values.swift | 29 +++++-------------- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index c45c4590c3..5b495c7fff 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -12,6 +12,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Changed +- [Library] Update `ElevationRawTokens` (tokenator *20241022174330*) - [Library] Update `DimensionRawTokens` (tokenator *20241022132646*) - [Tool] Improve configuration of SwiftLint, update to v0.57.0 ([#77](https://github.com/Orange-OpenSource/ouds-ios/pull/77)) - [Library] Rename all color semantic tokens `*OnBackground*` to `*OnBg*` ([#208](https://github.com/Orange-OpenSource/ouds-ios/issues/208)) diff --git a/OUDS/Core/Tokens/RawTokens/Sources/Values/ElevationRawTokens+Values.swift b/OUDS/Core/Tokens/RawTokens/Sources/Values/ElevationRawTokens+Values.swift index 78d260723e..73b8acf654 100644 --- a/OUDS/Core/Tokens/RawTokens/Sources/Values/ElevationRawTokens+Values.swift +++ b/OUDS/Core/Tokens/RawTokens/Sources/Values/ElevationRawTokens+Values.swift @@ -11,30 +11,9 @@ // Software description: A SwiftUI components library with code examples for Orange Unified Design System // -// ଘ( ・ω・)_/゚・:*:・。☆ -// [File to generate with the tokenator] - // swiftlint:disable missing_docs -/// Extracted in a separated file to help the *Figma* JSON to Swift parser to generate files to include easily. extension ElevationRawTokens { - - // MARK: Primitive token - Elevation - X - - public static let elevationX0: ElevationRawToken = 0 - - // MARK: Primitive token - Elevation - Y - - public static let elevationY0: ElevationRawToken = 0 - public static let elevationY100: ElevationRawToken = 1 - public static let elevationY200: ElevationRawToken = 2 - public static let elevationY300: ElevationRawToken = 4 - public static let elevationY400: ElevationRawToken = 8 - public static let elevationY500: ElevationRawToken = 12 - public static let elevationY600: ElevationRawToken = 20 - - // MARK: Primitive token - Elevation - Blur - public static let elevationBlur0: ElevationRawToken = 0 public static let elevationBlur100: ElevationRawToken = 1 public static let elevationBlur200: ElevationRawToken = 2 @@ -43,6 +22,14 @@ extension ElevationRawTokens { public static let elevationBlur500: ElevationRawToken = 8 public static let elevationBlur600: ElevationRawToken = 12 public static let elevationBlur700: ElevationRawToken = 20 + public static let elevationX0: ElevationRawToken = 0 + public static let elevationY0: ElevationRawToken = 0 + public static let elevationY100: ElevationRawToken = 1 + public static let elevationY200: ElevationRawToken = 2 + public static let elevationY300: ElevationRawToken = 4 + public static let elevationY400: ElevationRawToken = 8 + public static let elevationY500: ElevationRawToken = 12 + public static let elevationY600: ElevationRawToken = 20 } // swiftlint:enable missing_docs