Skip to content

Commit

Permalink
chore(🤖): update SizeSemanticTokens (tokenator 20241126134156) (#313)
Browse files Browse the repository at this point in the history
Some size semantic tokens have been renamed.
No more "XL" symbols are used, but now "Xl".
The word "Size" has also been added in plenty of tokens.
Unit tests have been updated, and also screenshots for UI tests because names of tokens changed.

Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
Co-authored-by: boosted-bot <[email protected]>
Co-authored-by: Pierre-Yves Lapersonne <[email protected]>
  • Loading branch information
3 people authored Nov 26, 2024
1 parent 0aed787 commit 2c01d38
Show file tree
Hide file tree
Showing 57 changed files with 463 additions and 526 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

### Changed

- [Library] Update `SizeSemanticTokens` with rename of tokens (tokenator *20241126134156*))
- [Library] Update `ElevationSemanticTokens` (tokenator *20241126120657*)
- [Library] Improve Multiple-based objects for tokenator values integration ([#279](https://github.com/Orange-OpenSource/ouds-ios/issues/279))
- [Tool] Use `macos-15` runner for GitHub Actions builds ([#296](https://github.com/Orange-OpenSource/ouds-ios/issues/296))
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,41 +27,41 @@ extension OUDSTheme: SizeMultipleSemanticTokens {

// MARK: - Semantic token - Sizing - Icon with typography

@objc open var sizeIconWithHeadingXLargeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXLargeShortMobile, regular: sizeIconWithHeadingXLargeShortTablet) }
@objc open var sizeIconWithHeadingXLargeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXLargeMediumMobile, regular: sizeIconWithHeadingXLargeMediumTablet) }
@objc open var sizeIconWithHeadingXLargeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXLargeTallMobile, regular: sizeIconWithHeadingXLargeTallTablet) }
@objc open var sizeIconWithHeadingXlargeSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXlargeSizeShortMobile, regular: sizeIconWithHeadingXlargeSizeShortTablet) }
@objc open var sizeIconWithHeadingXlargeSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXlargeSizeMediumMobile, regular: sizeIconWithHeadingXlargeSizeMediumTablet) }
@objc open var sizeIconWithHeadingXlargeSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingXlargeSizeTallMobile, regular: sizeIconWithHeadingXlargeSizeTallTablet) }

@objc open var sizeIconWithHeadingLargeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeShortMobile, regular: sizeIconWithHeadingLargeShortTablet) }
@objc open var sizeIconWithHeadingLargeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeMediumMobile, regular: sizeIconWithHeadingLargeMediumTablet) }
@objc open var sizeIconWithHeadingLargeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeTallMobile, regular: sizeIconWithHeadingLargeTallTablet) }
@objc open var sizeIconWithHeadingLargeSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeSizeShortMobile, regular: sizeIconWithHeadingLargeSizeShortTablet) }
@objc open var sizeIconWithHeadingLargeSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeSizeMediumMobile, regular: sizeIconWithHeadingLargeSizeMediumTablet) }
@objc open var sizeIconWithHeadingLargeSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingLargeSizeTallMobile, regular: sizeIconWithHeadingLargeSizeTallTablet) }

@objc open var sizeIconWithHeadingMediumShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumShortMobile, regular: sizeIconWithHeadingMediumShortTablet) }
@objc open var sizeIconWithHeadingMediumMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumMediumMobile, regular: sizeIconWithHeadingMediumMediumTablet) }
@objc open var sizeIconWithHeadingMediumTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumTallMobile, regular: sizeIconWithHeadingMediumTallTablet) }
@objc open var sizeIconWithHeadingMediumSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumSizeShortMobile, regular: sizeIconWithHeadingMediumSizeShortTablet) }
@objc open var sizeIconWithHeadingMediumSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumSizeMediumMobile, regular: sizeIconWithHeadingMediumSizeMediumTablet) }
@objc open var sizeIconWithHeadingMediumSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingMediumSizeTallMobile, regular: sizeIconWithHeadingMediumSizeTallTablet) }

@objc open var sizeIconWithHeadingSmallShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallShortMobile, regular: sizeIconWithHeadingSmallShortTablet) }
@objc open var sizeIconWithHeadingSmallMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallMediumMobile, regular: sizeIconWithHeadingSmallMediumTablet) }
@objc open var sizeIconWithHeadingSmallTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallTallMobile, regular: sizeIconWithHeadingSmallTallTablet) }
@objc open var sizeIconWithHeadingSmallSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallSizeShortMobile, regular: sizeIconWithHeadingSmallSizeShortTablet) }
@objc open var sizeIconWithHeadingSmallSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallSizeMediumMobile, regular: sizeIconWithHeadingSmallSizeMediumTablet) }
@objc open var sizeIconWithHeadingSmallSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithHeadingSmallSizeTallMobile, regular: sizeIconWithHeadingSmallSizeTallTablet) }

@objc open var sizeIconWithBodyLargeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeShortMobile, regular: sizeIconWithBodyLargeShortTablet) }
@objc open var sizeIconWithBodyLargeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeMediumMobile, regular: sizeIconWithBodyLargeMediumTablet) }
@objc open var sizeIconWithBodyLargeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeTallMobile, regular: sizeIconWithBodyLargeTallTablet) }
@objc open var sizeIconWithBodyLargeSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeSizeShortMobile, regular: sizeIconWithBodyLargeSizeShortTablet) }
@objc open var sizeIconWithBodyLargeSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeSizeMediumMobile, regular: sizeIconWithBodyLargeSizeMediumTablet) }
@objc open var sizeIconWithBodyLargeSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyLargeSizeTallMobile, regular: sizeIconWithBodyLargeSizeTallTablet) }

@objc open var sizeIconWithBodyMediumShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumShortMobile, regular: sizeIconWithBodyMediumShortTablet) }
@objc open var sizeIconWithBodyMediumMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumMediumMobile, regular: sizeIconWithBodyMediumMediumTablet) }
@objc open var sizeIconWithBodyMediumTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumTallMobile, regular: sizeIconWithBodyMediumTallTablet) }
@objc open var sizeIconWithBodyMediumSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumSizeShortMobile, regular: sizeIconWithBodyMediumSizeShortTablet) }
@objc open var sizeIconWithBodyMediumSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumSizeMediumMobile, regular: sizeIconWithBodyMediumSizeMediumTablet) }
@objc open var sizeIconWithBodyMediumSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodyMediumSizeTallMobile, regular: sizeIconWithBodyMediumSizeTallTablet) }

@objc open var sizeIconWithBodySmallShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallShortMobile, regular: sizeIconWithBodySmallShortTablet) }
@objc open var sizeIconWithBodySmallMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallMediumMobile, regular: sizeIconWithBodySmallMediumTablet) }
@objc open var sizeIconWithBodySmallTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallTallMobile, regular: sizeIconWithBodySmallTallTablet) }
@objc open var sizeIconWithBodySmallSizeShort: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallSizeShortMobile, regular: sizeIconWithBodySmallSizeShortTablet) }
@objc open var sizeIconWithBodySmallSizeMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallSizeMediumMobile, regular: sizeIconWithBodySmallSizeMediumTablet) }
@objc open var sizeIconWithBodySmallSizeTall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeIconWithBodySmallSizeTallMobile, regular: sizeIconWithBodySmallSizeTallTablet) }

// MARK: - Semantic token - Sizing - Max width typography

@objc open var sizeMaxWidthTypeDisplayLarge: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeDisplayLargeMobile, regular: sizeMaxWidthTypeDisplayLargeTablet) }
@objc open var sizeMaxWidthTypeDisplayMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeDisplayMediumMobile, regular: sizeMaxWidthTypeDisplayMediumTablet) }
@objc open var sizeMaxWidthTypeDisplaySmall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeDisplaySmallMobile, regular: sizeMaxWidthTypeDisplaySmallTablet) }

@objc open var sizeMaxWidthTypeHeadingXLarge: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeHeadingXLargeMobile, regular: sizeMaxWidthTypeHeadingXLargeTablet) }
@objc open var sizeMaxWidthTypeHeadingXlarge: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeHeadingXlargeMobile, regular: sizeMaxWidthTypeHeadingXlargeTablet) }
@objc open var sizeMaxWidthTypeHeadingLarge: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeHeadingLargeMobile, regular: sizeMaxWidthTypeHeadingLargeTablet) }
@objc open var sizeMaxWidthTypeHeadingMedium: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeHeadingMediumMobile, regular: sizeMaxWidthTypeHeadingMediumTablet) }
@objc open var sizeMaxWidthTypeHeadingSmall: MultipleSizeSemanticTokens { MultipleSizeSemanticTokens(compact: sizeMaxWidthTypeHeadingSmallMobile, regular: sizeMaxWidthTypeHeadingSmallTablet) }
Expand Down
Loading

0 comments on commit 2c01d38

Please sign in to comment.