Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down Expand Up @@ -111,8 +111,7 @@ object OudsColorRawTokens {
val ColorOpacityBlack960 = Color(0xf5000000)
val ColorOpacityDodgerBlue80 = Color(0x1426b2ff)
val ColorOpacityDodgerBlue520 = Color(0x8500598a)
val ColorOpacityGrayDark800800 = Color(0xcc1f1f1f)
val ColorOpacityGrayLight80800 = Color(0xccf4f4f4)
val ColorOpacityGrayDark880800 = Color(0xcc141414)
val ColorOpacityMalachite120 = Color(0x1f3de35a)
val ColorOpacityMalachite640 = Color(0xa30e621d)
val ColorOpacityScarlet80 = Color(0x14db0002)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,12 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw

object OudsEffectRawTokens {
const val EffectBlur160 = 16
const val EffectBlur320 = 32
const val EffectBlur480 = 48
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// OUDS core tokens version 1.9.0
// OUDS core tokens version 1.10.0
// Generated by Tokenator

package com.orange.ouds.tokens.raw
Expand Down
39 changes: 23 additions & 16 deletions theme-contract/src/main/java/com/orange/ouds/theme/OudsVersion.kt
Original file line number Diff line number Diff line change
Expand Up @@ -16,34 +16,41 @@ package com.orange.ouds.theme

object OudsVersion {
object Component {
const val Alert = "1.1.0"
const val AlertMessage = "1.1.0"
const val Badge = "1.2.0"
const val BadgeCount = "1.2.0"
const val BadgeIcon = "1.3.0"
const val Bar = "1.0.0"
const val BulletList = "1.0.0"
const val BottomSheet = "1.0.0"
const val BulletList = "1.1.0"
const val Button = "3.2.0"
const val Checkbox = "2.4.0"
const val Chip = "1.3.0"
const val Divider = "1.0.0"
const val Fab = "1.0.0"
const val FilterChip = "1.4.0"
const val InlineAlert = "1.0.0"
const val InputTag = "1.2.0"
const val Link = "2.2.0"
const val PasswordInput = "1.2.0"
const val PinCodeInput = "1.2.0"
const val NavigationButton = "3.2.1"
const val PasswordInput = "1.3.0"
const val PinCodeInput = "1.3.0"
const val RadioButton = "1.4.0"
const val SuggestionChip = "1.4.0"
const val Switch = "1.5.0"
const val Tag = "1.4.0"
const val TextArea = "1.1.0"
const val TextInput = "1.3.0"
const val Tag = "1.5.0"
const val TextArea = "1.2.0"
const val TextInput = "1.4.0"
}

object Tokens {
const val OudsCore = "1.9.0"
const val OudsCore = "1.10.0"
const val AndroidCore = "1.0.0"
const val AndroidSystem = "1.2.0"
const val OrangeCore = "1.2.0"
const val OrangeBrand = "2.3.0"
const val OrangeCompactBrand = "2.3.0"
const val SoshCore = "1.2.0"
const val SoshBrand = "2.3.0"
const val WireframeCore = "1.3.0"
const val WireframeBrand = "2.3.0"
const val OrangeBrand = "2.4.0"
const val OrangeCompactBrand = "2.4.0"
const val SoshCore = "1.3.0"
const val SoshBrand = "2.4.0"
const val WireframeCore = "1.4.0"
const val WireframeBrand = "2.4.0"
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down Expand Up @@ -134,6 +134,12 @@ sealed interface OudsColorKeyToken : OudsKeyToken {
sealed interface Status : Content {
data object Accent : Status
data object Info : Status
sealed interface Inverse : Status {
data object Info : Inverse
data object Negative : Inverse
data object Positive : Inverse
data object Warning : Inverse
}
data object Negative : Status
data object Positive : Status
data object Warning : Status
Expand All @@ -145,9 +151,10 @@ sealed interface OudsColorKeyToken : OudsKeyToken {
data object Transparent : Opacity
}
sealed interface Overlay : OudsColorKeyToken {
data object Backdrop : Overlay
data object Drag : Overlay
data object Dropdown : Overlay
data object Modal : Overlay
data object ModalSheet : Overlay
data object Tooltip : Overlay
}
sealed interface Repository : OudsColorKeyToken {
Expand Down Expand Up @@ -275,7 +282,8 @@ sealed interface OudsColorKeyToken : OudsKeyToken {
}
sealed interface Secondary : Repository {
data object High : Secondary
data object Higher : Secondary
data object HigherHigh : Secondary
data object HigherLow : Secondary
data object Highest : Secondary
data object Low : Secondary
data object Lower : Secondary
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down Expand Up @@ -75,6 +75,7 @@ sealed interface OudsSizeKeyToken : OudsKeyToken {
}
sealed interface WithLabel : Icon {
sealed interface ExtraLarge : WithLabel {
data object SizeExtraSmall : ExtraLarge
data object SizeLarge : ExtraLarge
data object SizeMedium : ExtraLarge
data object SizeSmall : ExtraLarge
Expand All @@ -101,29 +102,27 @@ sealed interface OudsSizeKeyToken : OudsKeyToken {
}
}
sealed interface MaxWidth : OudsSizeKeyToken {
sealed interface Type : MaxWidth {
sealed interface Body : Type {
data object Large : Body
data object Medium : Body
data object Small : Body
}
sealed interface Display : Type {
data object Large : Display
data object Medium : Display
data object Small : Display
}
sealed interface Heading : Type {
data object ExtraLarge : Heading
data object Large : Heading
data object Medium : Heading
data object Small : Heading
}
sealed interface Label : Type {
data object ExtraLarge : Label
data object Large : Label
data object Medium : Label
data object Small : Label
}
sealed interface Body : MaxWidth {
data object Large : Body
data object Medium : Body
data object Small : Body
}
sealed interface Display : MaxWidth {
data object Large : Display
data object Medium : Display
data object Small : Display
}
sealed interface Heading : MaxWidth {
data object ExtraLarge : Heading
data object Large : Heading
data object Medium : Heading
data object Small : Heading
}
sealed interface Label : MaxWidth {
data object ExtraLarge : Label
data object Large : Label
data object Medium : Label
data object Small : Label
}
}
data object MinInteractiveArea : OudsSizeKeyToken
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens.components
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens.components
Expand All @@ -25,7 +25,9 @@ interface OudsBadgeTokens {
val sizeMedium: Float
val sizeSmall: Float
val sizeXsmall: Float
val spaceInset: Float
val spaceInsetMediumLarge: Float
val spaceInsetSmall: Float
val spaceInsetXsmall: Float
val spacePaddingInlineLarge: OudsSpaceKeyToken.PaddingInline
val spacePaddingInlineMedium: OudsSpaceKeyToken.PaddingInline
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens.components
Expand All @@ -23,21 +23,8 @@ import com.orange.ouds.theme.tokens.OudsOpacityKeyToken
/** @suppress */
@InternalOudsApi
interface OudsBarTokens {
val borderRadiusActiveIndicatorCustomBottom: OudsBorderKeyToken.Radius
val borderRadiusActiveIndicatorCustomTop: OudsBorderKeyToken.Radius
val colorActiveIndicatorAndroidSelectedDisabled: OudsColorKeyToken
val colorActiveIndicatorAndroidSelectedEnabled: OudsColorKeyToken
val colorActiveIndicatorAndroidSelectedFocus: OudsColorKeyToken
val colorActiveIndicatorAndroidSelectedHover: OudsColorKeyToken
val colorActiveIndicatorAndroidSelectedPressed: OudsColorKeyToken
val colorActiveIndicatorAndroidUnselectedDisabled: OudsColorKeyToken
val colorActiveIndicatorAndroidUnselectedFocus: OudsColorKeyToken
val colorActiveIndicatorAndroidUnselectedHover: OudsColorKeyToken
val colorActiveIndicatorAndroidUnselectedPressed: OudsColorKeyToken
val colorActiveIndicatorCustomSelectedEnabled: OudsColorKeyToken
val colorActiveIndicatorCustomSelectedFocus: OudsColorKeyToken
val colorActiveIndicatorCustomSelectedHover: OudsColorKeyToken
val colorActiveIndicatorCustomSelectedPressed: OudsColorKeyToken
val borderRadiusCurrentIndicatorCustomBottom: OudsBorderKeyToken.Radius
val borderRadiusCurrentIndicatorCustomTop: OudsBorderKeyToken.Radius
val colorBgOpaque: OudsColorKeyToken
val colorBgTranslucent: OudsLightDarkColor
val colorBorderBadge: OudsColorKeyToken
Expand All @@ -46,13 +33,27 @@ interface OudsBarTokens {
val colorContentSelectedFocus: OudsColorKeyToken
val colorContentSelectedHover: OudsColorKeyToken
val colorContentSelectedPressed: OudsColorKeyToken
val colorContentUnselectedEnabled: OudsLightDarkColor
val colorContentUnselectedEnabled: OudsColorKeyToken
val colorContentUnselectedFocus: OudsColorKeyToken
val colorContentUnselectedHover: OudsColorKeyToken
val colorContentUnselectedPressed: OudsColorKeyToken
val colorCurrentIndicatorAndroidSelectedDisabled: OudsColorKeyToken
val colorCurrentIndicatorAndroidSelectedEnabled: OudsColorKeyToken
val colorCurrentIndicatorAndroidSelectedFocus: OudsColorKeyToken
val colorCurrentIndicatorAndroidSelectedHover: OudsColorKeyToken
val colorCurrentIndicatorAndroidSelectedPressed: OudsColorKeyToken
val colorCurrentIndicatorAndroidUnselectedDisabled: OudsColorKeyToken
val colorCurrentIndicatorAndroidUnselectedFocus: OudsColorKeyToken
val colorCurrentIndicatorAndroidUnselectedHover: OudsColorKeyToken
val colorCurrentIndicatorAndroidUnselectedPressed: OudsColorKeyToken
val colorCurrentIndicatorCustomSelectedEnabled: OudsColorKeyToken
val colorCurrentIndicatorCustomSelectedFocus: OudsColorKeyToken
val colorCurrentIndicatorCustomSelectedHover: OudsColorKeyToken
val colorCurrentIndicatorCustomSelectedPressed: OudsColorKeyToken
val colorIosAccent: OudsColorKeyToken
val effectBgBlur: Int
val opacityActiveIndicatorCustom: OudsOpacityKeyToken
val sizeHeightActiveIndicatorCustom: Float
val sizeWidthActiveIndicatorCustomBottom: Float
val sizeWidthActiveIndicatorCustomTop: Float
val opacityCurrentIndicatorCustom: OudsOpacityKeyToken
val sizeHeightCurrentIndicatorCustom: Float
val sizeWidthCurrentIndicatorCustomBottom: Float
val sizeWidthCurrentIndicatorCustomTop: Float
}
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
// Software description: Android library of reusable graphical components
//

// Orange brand tokens version 2.3.0
// Orange brand tokens version 2.4.0
// Generated by Tokenator

package com.orange.ouds.theme.tokens.components
Expand Down
Loading
Loading