Skip to content

Commit edba5b0

Browse files
authored
doc: update DSM links in components documentation (#983)
1 parent 37c7163 commit edba5b0

19 files changed

+42
-47
lines changed

core/src/main/java/com/orange/ouds/core/component/OudsBadge.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ import kotlin.enums.enumEntries
7777
* See [BadgedBox] for a top level layout that will properly place the badge relative to content
7878
* such as text or an icon.
7979
*
80-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/698ea8-badge)
80+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-badge)
8181
*
8282
* > Design version: 1.2.0
8383
*
@@ -118,7 +118,7 @@ fun OudsBadge(
118118
* See [BadgedBox] for a top level layout that will properly place the badge relative to content
119119
* such as text or an icon.
120120
*
121-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/698ea8-badge/t/7f61fd0dac)
121+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-badge-count)
122122
*
123123
* > Design version: 1.2.0
124124
*
@@ -165,7 +165,7 @@ fun OudsBadge(
165165
* See [BadgedBox] for a top level layout that will properly place the badge relative to content
166166
* such as text or an icon.
167167
*
168-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/698ea8-badge/t/cb0a05d005)
168+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-badge-icon)
169169
*
170170
* > Design version: 1.2.0
171171
*

core/src/main/java/com/orange/ouds/core/component/OudsButton.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -93,7 +93,7 @@ import com.orange.ouds.theme.tokens.components.OudsButtonMonoTokens
9393
* Rounded corners can be enabled or disabled using the [OudsThemeSettings.roundedCornerButtons] property in the settings of the theme provided
9494
* when calling the [com.orange.ouds.core.theme.OudsTheme] method.
9595
*
96-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/48a788-button)
96+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-button)
9797
*
9898
* > Design version: 3.2.0
9999
*
@@ -147,7 +147,7 @@ fun OudsButton(
147147
* Rounded corners can be enabled or disabled using the [OudsThemeSettings.roundedCornerButtons] property in the settings of the theme provided
148148
* when calling the [com.orange.ouds.core.theme.OudsTheme] method.
149149
*
150-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/48a788-button)
150+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-button)
151151
*
152152
* > Design version: 3.2.0
153153
*
@@ -202,7 +202,7 @@ fun OudsButton(
202202
* Rounded corners can be enabled or disabled using the [OudsThemeSettings.roundedCornerButtons] property in the settings of the theme provided
203203
* when calling the [com.orange.ouds.core.theme.OudsTheme] method.
204204
*
205-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/48a788-button)
205+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-button)
206206
*
207207
* > Design version: 3.2.0
208208
*

core/src/main/java/com/orange/ouds/core/component/OudsCheckbox.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -66,7 +66,7 @@ import com.orange.ouds.theme.OudsThemeContract
6666
* The **standalone checkbox variant** is used when the checkbox input is nested within another component and an alternative label is provided. For example,
6767
* a checkbox can be used in a data table where its purpose is clear from its position or its connection to other items in the same row or column.
6868
*
69-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/23f1c1-checkbox)
69+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-checkbox)
7070
*
7171
* > Design version: 2.4.0
7272
*
@@ -119,7 +119,7 @@ fun OudsCheckbox(
119119
* The **indeterminate standalone checkbox variant** allows managing a checkbox with an indeterminate state that can be used when the checkbox input is nested
120120
* within another component and an alternative label is provided.
121121
*
122-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/23f1c1-checkbox)
122+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-checkbox)
123123
*
124124
* > Design version: 2.4.0
125125
*

core/src/main/java/com/orange/ouds/core/component/OudsCheckboxItem.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -44,7 +44,7 @@ import com.orange.ouds.theme.OudsThemeContract
4444
*
4545
* The OUDS checkbox item layout contains an [OudsCheckbox]. By clicking on a checkbox item, the user changes the checked state of its checkbox.
4646
*
47-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/23f1c1-checkbox)
47+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-checkbox)
4848
*
4949
* > Design version: 2.4.0
5050
*
@@ -120,7 +120,7 @@ fun OudsCheckboxItem(
120120
* The OUDS indeterminate checkbox item layout contains an [OudsTriStateCheckbox]. By clicking on an indeterminate checkbox item, the user changes the checked
121121
* state of its checkbox.
122122
*
123-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/23f1c1-checkbox)
123+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-checkbox)
124124
*
125125
* > Design version: 2.4.0
126126
*

core/src/main/java/com/orange/ouds/core/component/OudsDivider.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ import com.orange.ouds.theme.OudsThemeContract
4040
* The color of the divider can be specified using the [OudsDividerColor] enum, and the thickness is defined by the current theme's divider border width.
4141
* Note that a divider border width token set to 0 dp will produce a single pixel divider regardless of screen density.
4242
*
43-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/629e1b-divider)
43+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-divider)
4444
*
4545
* > Design version: 1.0.0
4646
*
@@ -66,7 +66,7 @@ fun OudsHorizontalDivider(
6666
* The color of the divider can be specified using the [OudsDividerColor] enum, and the thickness is defined by the current theme's divider border width.
6767
* Note that a divider border width token set to 0 dp will produce a single pixel divider regardless of screen density.
6868
*
69-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/629e1b-divider)
69+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-divider)
7070
*
7171
* > Design version: 1.0.0
7272
*

core/src/main/java/com/orange/ouds/core/component/OudsFilterChip.kt

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ import com.orange.ouds.theme.OudsThemeContract
3939
* Best suited for category-based filters that do not require additional visual elements.
4040
* Other layouts are available for this component: *text + icon* and *icon only*.
4141
*
42-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/77fdea-chip/t/14bf4bd854)
42+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-filter-chip)
4343
*
4444
* > Design version: 1.3.0
4545
*
@@ -89,7 +89,7 @@ fun OudsFilterChip(
8989
* Works well with universally recognized symbols, such as a heart for favorites or a checkmark for selection.
9090
* Other layouts are available for this component: *text only* and *text + icon*.
9191
*
92-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/77fdea-chip/t/14bf4bd854)
92+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-filter-chip)
9393
*
9494
* > Design version: 1.3.0
9595
*
@@ -139,7 +139,7 @@ fun OudsFilterChip(
139139
* Ideal when a visual cue helps reinforce the filter’s meaning.
140140
* Other layouts are available for this component: *text only* and *icon only*.
141141
*
142-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/77fdea-chip/t/14bf4bd854)
142+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-filter-chip)
143143
*
144144
* > Design version: 1.3.0
145145
*

core/src/main/java/com/orange/ouds/core/component/OudsInputTag.kt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ import com.orange.ouds.theme.OudsThemeContract
5959
* enter, comma, or tab), each value is transformed into a tag.
6060
* Input tags are often used for adding labels, categories, or participants. They typically support editing, removing, and validating individual tags.
6161
*
62-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/7565ce-tag/t/697817ca4d)
62+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-input-tag)
6363
*
6464
* > Design version: 1.4.0
6565
*
@@ -170,7 +170,7 @@ fun OudsInputTag(
170170
* enter, comma, or tab), each value is transformed into a tag.
171171
* Input tags are often used for adding labels, categories, or participants. They typically support editing, removing, and validating individual tags.
172172
*
173-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com)
173+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-input-tag)
174174
*
175175
* > Design version: 1.4.0
176176
*

core/src/main/java/com/orange/ouds/core/component/OudsLink.kt

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,6 @@ import androidx.compose.runtime.getValue
3131
import androidx.compose.runtime.remember
3232
import androidx.compose.ui.Alignment
3333
import androidx.compose.ui.Modifier
34-
import androidx.compose.ui.draw.rotate
3534
import androidx.compose.ui.graphics.Color
3635
import androidx.compose.ui.graphics.ImageBitmap
3736
import androidx.compose.ui.graphics.painter.Painter
@@ -71,7 +70,7 @@ import com.orange.ouds.theme.tokens.components.OudsLinkMonoTokens
7170
* Note that if it is placed in an [OudsColoredBox], its monochrome variant is automatically displayed.
7271
* The tokens associated with this variant can be customized by overriding [OudsLinkMonoTokens].
7372
*
74-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/31c33b-link)
73+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-link)
7574
*
7675
* > Design version: 2.2.0
7776
*
@@ -108,7 +107,7 @@ fun OudsLink(
108107
* Note that if it is placed in an [OudsColoredBox], its monochrome variant is automatically displayed.
109108
* The tokens associated with this variant can be customized by overriding [OudsLinkMonoTokens].
110109
*
111-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/31c33b-link)
110+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-link)
112111
*
113112
* > Design version: 2.2.0
114113
*
@@ -147,7 +146,7 @@ fun OudsLink(
147146
* If it is used in an [OudsColoredBox], its monochrome variant is automatically displayed.
148147
* The tokens associated with this variant can be customized by overriding [OudsLinkMonoTokens].
149148
*
150-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/31c33b-link)
149+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-link)
151150
*
152151
* > Design version: 2.2.0
153152
*

core/src/main/java/com/orange/ouds/core/component/OudsNavigationBar.kt

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -82,7 +82,6 @@ import com.orange.ouds.theme.OudsThemeContract
8282
*/
8383
val OudsNavigationBarHeight = 80.dp
8484

85-
//TODO update DSM link when available
8685
/**
8786
* The navigation bar lets people switch between UI views on smaller devices.
8887
* It offers a persistent and convenient way to switch between primary destinations in an app.
@@ -100,7 +99,7 @@ val OudsNavigationBarHeight = 80.dp
10099
* 3. As your screen content needs to scroll behind the navigation bar, you'll probably need to add an additional bottom padding
101100
* that will have the height of [OudsNavigationBar]. For this, please use [OudsNavigationBarHeight] constant.
102101
*
103-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com)
102+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-android-navigation-bar)
104103
*
105104
* > Design version: 1.0.0
106105
*
@@ -160,6 +159,10 @@ fun OudsNavigationBar(
160159
*
161160
* [OudsNavigationBarItem] always shows text labels.
162161
*
162+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-android-navigation-bar)
163+
*
164+
* > Design version: 1.0.0
165+
*
163166
* @param selected Whether this item is selected or not.
164167
* @param onClick Called when this item is clicked.
165168
* @param icon Icon of the item.

core/src/main/java/com/orange/ouds/core/component/OudsRadioButton.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ import com.orange.ouds.theme.OudsThemeContract
6464
*
6565
* The **standalone radio button variant** can be used when the radio selector control is nested within another component and an alternative label is provided.
6666
*
67-
* > Design guidelines: [unified-design-system.orange.com](https://unified-design-system.orange.com/472794e18/p/90c467-radio-button)
67+
* > Design guidelines: [unified-design-system.orange.com](https://r.orange.fr/r/S-ouds-doc-radio-button)
6868
*
6969
* > Design version: 1.4.0
7070
*

0 commit comments

Comments
 (0)