Skip to content

Commit 1354712

Browse files
authored
docs: add details about API versions (#374) (#375)
Signed-off-by: Pierre-Yves Lapersonne <[email protected]>
1 parent 16cb92a commit 1354712

File tree

52 files changed

+111
-18
lines changed

Some content is hidden

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

52 files changed

+111
-18
lines changed

CHANGELOG.md

+1

OUDS/Core/Components/Sources/ViewModifiers/AccessibleModifiers/AccessibleModifiers.swift

+2
Original file line numberDiff line numberDiff line change
@@ -70,6 +70,8 @@ struct RequestAccessibleFocusModifier: ViewModifier {
7070
/// .oudsRequestAccessibleFocus(_requestFocus, for: .some(id: elements[0].id))
7171
/// }
7272
/// ```
73+
///
74+
/// - Since: 0.8.0
7375
public enum AccessibilityFocusable: Hashable {
7476
case none
7577
case some(id: String)

OUDS/Core/OUDS/Sources/OUDSTheme/OUDSTheme.swift

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ import OUDSTokensSemantic
2525
/// Because `OUDSTheme` is not a *final* class, its type cannot be seen as `Sendable`, that is the reason why this conformity is unchecked.
2626
///
2727
/// **Warning: You are not supposed to use this abstract default theme directly. Please prefer `OrangeTheme` instead**
28+
///
29+
/// - Since: 0.8.0
2830
open class OUDSTheme: @unchecked Sendable {
2931

3032
// MARK: - Properties

OUDS/Core/OUDS/Sources/OUDSTheme/Views/OUDSThemeableView.swift

+1
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,7 @@ extension EnvironmentValues {
6767
/// YourRootView()
6868
/// }
6969
///
70+
/// - Since: 0.8.0
7071
public struct OUDSThemeableView<Content>: View where Content: View {
7172

7273
private let theme: OUDSTheme

OUDS/Core/OUDS/Sources/OUDSUserInterfaceSizeClass.swift

+2
Original file line numberDiff line numberDiff line change
@@ -75,6 +75,8 @@ extension EnvironmentValues {
7575
/// @Environment(\.oudsHorizontalSizeClass) var horizontalSizeClass
7676
/// @Environment(\.oudsVerticalSizeClass) var verticalSizeClass
7777
/// ```
78+
///
79+
/// - Since: 0.8.0
7880
public enum OUDSUserInterfaceSizeClass: String, Sendable {
7981
case extraCompact = "Extra Compact"
8082
case compact = "Compact"

OUDS/Core/Themes/Inverse/Sources/InverseTheme.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,8 @@ import OUDSTokensSemantic
4343
///
4444
/// @Environment(\.theme) var theme
4545
/// ```
46-
///
46+
///
47+
/// - Since: 0.8.0
4748
public final class InverseTheme: OrangeTheme, @unchecked Sendable {
4849

4950
// MARK: - Initializers

OUDS/Core/Themes/Orange/Sources/Declarations/OrangeBrandColorRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/// This enum helps to add new **color raw tokens** exclusive to this ``OrangeTheme``.
1515
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
1616
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
17+
///
18+
/// - Since: 0.8.0
1719
public enum OrangeBrandColorRawTokens {
1820

1921
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Themes/Orange/Sources/Declarations/OrangeBrandFontRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@
1414
/// This enum helps to add new **font raw tokens** exclusive to this ``OrangeTheme``
1515
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
1616
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
17+
///
18+
/// - Since: 0.8.0
1719
public enum OrangeBrandFontRawTokens {
1820

1921
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Themes/Orange/Sources/OrangeTheme.swift

+2
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,8 @@ import OUDSTokensSemantic
4646
///
4747
/// @Environment(\.theme) var theme
4848
/// ```
49+
///
50+
/// - Since: 0.8.0
4951
open class OrangeTheme: OUDSTheme, @unchecked Sendable {
5052

5153
// MARK: - Initializers

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeBorderSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,8 @@ import OUDSFoundations
5151
/// ```swift
5252
/// OrangeTheme(borders: CustomBorderTokensProvider())
5353
/// ```
54+
///
55+
/// - Since: 0.8.0
5456
open class OrangeThemeBorderSemanticTokensProvider {
5557

5658
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeColorSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import OUDSFoundations
4949
/// ```swift
5050
/// OrangeTheme(colors: CustomColorTokensProvider())
5151
/// ```
52+
///
53+
/// - Since: 0.8.0
5254
open class OrangeThemeColorSemanticTokensProvider {
5355

5456
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeElevationSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,8 @@ import OUDSFoundations
4747
/// ```swift
4848
/// OrangeTheme(elevations: CustomElevationTokensProvider())
4949
/// ```
50+
///
51+
/// - Since: 0.8.0
5052
open class OrangeThemeElevationSemanticTokensProvider {
5153

5254
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeFontSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import OUDSFoundations
4949
/// ```swift
5050
/// OrangeTheme(fonts: CustomFontTokensProvider())
5151
/// ```
52+
///
53+
/// - Since: 0.8.0
5254
open class OrangeThemeFontSemanticTokensProvider {
5355

5456
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeGridSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -53,6 +53,8 @@ import OUDSFoundations
5353
/// ```swift
5454
/// OrangeTheme(grids: CustomGridTokensProvider())
5555
/// ```
56+
///
57+
/// - Since: 0.8.0
5658
open class OrangeThemeGridSemanticTokensProvider {
5759

5860
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeOpacitySemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,8 @@ import OUDSFoundations
4545
/// ```swift
4646
/// OrangeTheme(opacities: CustomOpacityTokensProvider())
4747
/// ```
48+
///
49+
/// - Since: 0.8.0
4850
open class OrangeThemeOpacitySemanticTokensProvider {
4951

5052
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeSizeSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import OUDSFoundations
4949
/// ```swift
5050
/// OrangeTheme(sizes: CustomSizeTokensProvider())
5151
/// ```
52+
///
53+
/// - Since: 0.8.0
5254
open class OrangeThemeSizeSemanticTokensProvider {
5355

5456
/// Intializes the provider

OUDS/Core/Themes/Orange/Sources/Providers/OrangeThemeSpaceSemanticTokensProvider.swift

+2
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,8 @@ import OUDSFoundations
4949
/// ```swift
5050
/// OrangeTheme(spaces: CustomSpaceTokenProvider())
5151
/// ```
52+
///
53+
/// - Since: 0.8.0
5254
open class OrangeThemeSpaceSemanticTokensProvider {
5355

5456
/// Intializes the provider

OUDS/Core/Tokens/ComponentTokens/Sources/Values/ButtonsComponentTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import OUDSTokensSemantic
1717

1818
/// This is a component tokens list for buttons like `OUDSButton`.
1919
/// **Warning: This is a draft component **
20+
///
21+
/// - Since: 0.8.0
2022
public protocol ButtonsComponentTokens {
2123

2224
/*

OUDS/Core/Tokens/RawTokens/Sources/Composites/ElevationCompositeRawToken.swift

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import Foundation
1818
/// Here an *elevation* is caracterized by *X and Y offsets*, a *radius* for the shadow and a *color* to apply on that shadow.
1919
/// All these elements are *raw tokens*, and together define a *composite raw token* for *elevation* effect.
2020
/// It is defined as a `final class` and `NSObject` so as to be shared through `@objc` with extensions and protocols within modules.
21+
///
22+
/// - Since: 0.8.0
2123
public final class ElevationCompositeRawToken: NSObject, Sendable { // NSObject for @objc compatibility
2224

2325
/// The X offset for the elevation

OUDS/Core/Tokens/RawTokens/Sources/Composites/FontCompositeRawToken.swift

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ infix operator <|
2020
/// Composite tokens are tokens defined in *Figma* by other tokens.
2121
/// Here a *font* thing is caracterized by a *font size*, a *line height*, a *font weight* and *letter spacing* values.
2222
/// All these elements are *raw tokens*, and together define a *composite raw token* for *font* thing.
23+
///
24+
/// - Since: 0.8.0
2325
public struct FontCompositeRawToken: Equatable, Sendable {
2426

2527
// Font family is not included here because this is the only thing which can vary

OUDS/Core/Tokens/RawTokens/Sources/Declarations/BorderRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,8 @@
1919
/// Primitive types such as `Double` and `String` must be used to as to allow to use `@objc` keywords in _Swift extensions_ for overriding.
2020
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2121
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
22+
///
23+
/// - Since: 0.8.0
2224
public enum BorderRawTokens {
2325

2426
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/ColorRawTokens.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -16,9 +16,11 @@
1616
/// ``ColorRawTokens`` are tokens to use to define *colors* of components thants to ``ColorRawToken`` type. Some of these colors are "raw", and others have transparancy effects.
1717
/// This enum contains also the shared colors, i.e. colors exposed to any theme. Some colors related to the Orange brand are defined elswhere in `OrangeBrandColorRawTokens`.
1818
///
19-
/// Primitive types such as ``String` must be used to as to allow to use `@objc` keywords in extensions for overriding.
19+
/// Primitive types such as `String` must be used to as to allow to use `@objc` keywords in extensions for overriding.
2020
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2121
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
22+
///
23+
/// - Since: 0.8.0
2224
public enum ColorRawTokens {
2325

2426
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/DimensionRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
/// Primitive types such as `Double` must be used to as to allow to use `@objc` keywords in extensions for overriding.
1919
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2020
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
21+
///
22+
/// - Since: 0.8.0
2123
public enum DimensionRawTokens {
2224

2325
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/ElevationRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
/// Primitive types such as `CGFloat` must be used to as to allow to use `@objc` keywords in extensions for overriding.
2121
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2222
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
23+
///
24+
/// - Since: 0.8.0
2325
public enum ElevationRawTokens {
2426

2527
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/FontRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@
2525
/// Primitive types such as `Int` and `String` must be used to as to allow to use `@objc` keywords in extensions for overriding.
2626
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2727
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
28+
///
29+
/// - Since: 0.8.0
2830
public enum FontRawTokens {
2931

3032
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/GridRawTokens.swift

+3-1
Original file line numberDiff line numberDiff line change
@@ -13,11 +13,13 @@
1313

1414
/// Defined as the group of all **raw tokens** related to **grid**.
1515
/// Values are defined in *GridRawTokens+Values.swift* file updated by the tokenator.
16-
/// ``GridRawTokens`` are tokens to use to define *grids* using ``GridRawToken` type.
16+
/// ``GridRawTokens`` are tokens to use to define *grids* using ``GridRawToken`` type.
1717
///
1818
/// Primitive types such as `Int` must be used to as to allow to use `@objc` keywords in extensions for overriding.
1919
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2020
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
21+
///
22+
/// - Since: 0.8.0
2123
public enum GridRawTokens {
2224

2325
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/RawTokens/Sources/Declarations/OpacityRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@
1818
/// Primitive types such as `Double` must be used to as to allow to use `@objc` keywords in extensions for overriding.
1919
/// Such tokens are packed in a _Swift enum_ so as to gather them in one object with the suitable namespace and avoid to have just constants in nothing else
2020
/// (i.e. publicly accessible from everywhere). More optimized than _struct_.
21+
///
22+
/// - Since: 0.8.0
2123
public enum OpacityRawTokens {
2224

2325
// ଘ( ・ω・)_/゚・:*:・。☆

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleColorSemanticTokens.swift

+1
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,7 @@ import SwiftUI
4040
/// // It is recommended to use the higher level version as it is less error-prone.
4141
/// ```
4242
///
43+
/// - Since: 0.8.0
4344
public final class MultipleColorSemanticTokens: NSObject, Sendable {
4445

4546
/// For **light** mode scheme

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleElevationCompositeRawTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@ import SwiftUI
4848
/// The case of this `MultipleElevationCompositeRawTokens` is quite particular because in fact it contains `MultipleElevationCompositeRawTokens` (i.e. raw tokens) instead of semantic tokens.
4949
/// In fact only the *color* of the elevation effect vary depending to the color scheme,
5050
/// but in the *Figma* kit this is composite raw tokens which are defined for ligh and dark mode as only one token.
51+
///
52+
/// - Since: 0.8.0
5153
public final class MultipleElevationCompositeRawTokens: NSObject, Sendable {
5254

5355
/// For **light** mode scheme

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleFontCompositeRawTokens.swift

+1
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,7 @@ import SwiftUICore
4343
/// (i.e. raw tokens) instead of semantic tokens.
4444
/// In fact there is not "font composite semantic tokens" defined in the *Figma* kit.
4545
///
46+
/// - Since: 0.8.0
4647
public final class MultipleFontCompositeRawTokens: NSObject, Sendable {
4748

4849
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleFontLetterSpacingSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@ import OUDSTokensRaw
4242
/// // The theme exposes both generated font letter spacing semantic tokens and "crafted" higher level color semantic tokens.
4343
/// // It is recommended to use the higher level version as it is less error-prone.
4444
/// ```
45-
///
45+
///
46+
/// - Since: 0.8.0
4647
public final class MultipleFontLetterSpacingSemanticTokens: NSObject, Sendable {
4748

4849
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleFontLineHeightSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ import OUDSTokensRaw
4040
/// // The theme exposes both generated font line height semantic tokens and "crafted" higher level color semantic tokens.
4141
/// // It is recommended to use the higher level version as it is less error-prone.
4242
/// ```
43-
///
43+
///
44+
/// - Since: 0.8.0
4445
public final class MultipleFontLineHeightSemanticTokens: NSObject, Sendable {
4546

4647
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleFontSizeSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,8 @@ import OUDSTokensRaw
3838
/// // The theme exposes both generated font size semantic tokens and "crafted" higher level color semantic tokens.
3939
/// // It is recommended to use the higher level version as it is less error-prone.
4040
/// ```
41-
///
41+
///
42+
/// - Since: 0.8.0
4243
public final class MultipleFontSizeSemanticTokens: NSObject, Sendable {
4344

4445
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleSizeSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,8 @@ import SwiftUICore
4141
/// // The theme exposes both generated font size semantic tokens and "crafted" higher level color semantic tokens.
4242
/// // It is recommended to use the higher level version as it is less error-prone.
4343
/// ```
44-
///
44+
///
45+
/// - Since: 0.8.0
4546
public final class MultipleSizeSemanticTokens: NSObject, Sendable {
4647

4748
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Multiples/MultipleSpaceSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,8 @@ import SwiftUICore
4040
/// // The theme exposes both generated font space semantic tokens and "crafted" higher level color semantic tokens.
4141
/// // It is recommended to use the higher level version as it is less error-prone.
4242
/// ```
43-
///
43+
///
44+
/// - Since: 0.8.0
4445
public final class MultipleSpaceSemanticTokens: NSObject, Sendable {
4546

4647
/// For **extra-compact** and **compact** viewports

OUDS/Core/Tokens/SemanticTokens/Sources/Values/BorderSemanticTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@
2020
/// This is a group of semantic tokens for **borders**.
2121
/// It defines all ``BorderWidthSemanticToken``, ``BorderRadiusSemanticToken`` and ``BorderStyleSemanticToken`` a theme must have.
2222
/// Any border semantic token must be declared there as providers like `OUDSBorderSemanticTokensProvider` will then expose them through `OUDSTheme`.
23+
///
24+
/// - Since: 0.8.0
2325
public protocol BorderSemanticTokens {
2426

2527
// MARK: - Semantic token - Border - Width

OUDS/Core/Tokens/SemanticTokens/Sources/Values/ColorMultipleSemanticTokens.swift

+2-1
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,8 @@
4242
/// // Thus users can in their components use colorBgPrimary as defined in their design system
4343
/// // (even if they are still able to use 'lower level' semantic tokens but it is more error-prone)
4444
/// ```
45-
///
45+
///
46+
/// - Since: 0.8.0
4647
public protocol ColorMultipleSemanticTokens {
4748

4849
// MARK: - Color - Opacity - Invisible

OUDS/Core/Tokens/SemanticTokens/Sources/Values/ColorSemanticTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -23,6 +23,8 @@
2323
/// It defines all ``ColorSemanticToken`` a theme must have.
2424
/// These tokens are then gathered inside ``MultipleColorSemanticTokens`` defined in ``ColorMultipleSemanticTokens``.
2525
/// Any color semantic token must be declared there (except ``MultipleColorSemanticTokens``)
26+
///
27+
/// - Since: 0.8.0
2628
public protocol ColorSemanticTokens {
2729

2830
// MARK: - Color - Opacity - Invisible

OUDS/Core/Tokens/SemanticTokens/Sources/Values/ElevationCompositeSemanticTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@
4040
/// // Or use .light or .dark instead of elevation(for:)
4141
/// }
4242
/// ```
43+
///
44+
/// - Since: 0.8.0
4345
public protocol ElevationCompositeSemanticTokens {
4446

4547
var elevationNone: ElevationCompositeSemanticToken { get }

OUDS/Core/Tokens/SemanticTokens/Sources/Values/ElevationMultipleSemanticTokens.swift

+1
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,7 @@
4545
/// // (even if they are still able to use 'lower level' semantic tokens but it is more error-prone)
4646
/// ```
4747
///
48+
/// - Since: 0.8.0
4849
public protocol ElevationMultipleSemanticTokens {
4950

5051
var elevationColorDefault: MultipleColorSemanticTokens { get }

OUDS/Core/Tokens/SemanticTokens/Sources/Values/ElevationSemanticTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -24,6 +24,8 @@
2424
/// However the composite tokens (here for box shadows) are defined in ``ElevationCompositeSemanticTokens`` because the *tokenator*
2525
/// is not able to generate them yet, and they must be defined elsewhere to not be deleted.
2626
/// Any elevation semantic token must be declared there (except ``ElevationCompositeSemanticTokens``)
27+
///
28+
/// - Since: 0.8.0
2729
public protocol ElevationSemanticTokens {
2830

2931
// MARK: Semantic token - Elevation - X

OUDS/Core/Tokens/SemanticTokens/Sources/Values/FontCompositeSemanticTokens.swift

+2
Original file line numberDiff line numberDiff line change
@@ -43,6 +43,8 @@
4343
///
4444
/// // Etc.
4545
/// ```
46+
///
47+
/// - Since: 0.8.0
4648
public protocol FontCompositeSemanticTokens {
4749

4850
// MARK: - Semantic tokens - Typography - Composites - Display

OUDS/Core/Tokens/SemanticTokens/Sources/Values/FontMultipleSemanticTokens.swift

+1
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@
5151
/// // (even if they are still able to use 'lower level' semantic tokens but it is more error-prone)
5252
/// ```
5353
///
54+
/// - Since: 0.8.0
5455
public protocol FontMultipleSemanticTokens {
5556

5657
// MARK: - Semantic token - Typography - Font - Size

0 commit comments

Comments
 (0)