File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
packages/progress-bar/src Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -145,7 +145,7 @@ export function ProgressBar(props: ProgressBarProps) {
145
145
>
146
146
< div className = { headerStyles } >
147
147
< Label
148
- data-lgid = { lgIds . root } // handled by <Label> internally
148
+ data-lgid = { lgIds . label } // handled by <Label> internally
149
149
id = { labelId }
150
150
htmlFor = { barId }
151
151
className = { truncatedTextStyles }
@@ -209,7 +209,7 @@ export function ProgressBar(props: ProgressBarProps) {
209
209
< Description
210
210
id = { descId }
211
211
disabled = { disabled }
212
- data-lgid = { lgIds . root } // handled by <Description> internally
212
+ data-lgid = { lgIds . description } // handled by <Description> internally
213
213
className = { cx ( { [ getAnimatedTextStyles ( ) ] : isNewDescription } ) }
214
214
// if on fade-in transition, reset state after animation ends
215
215
onAnimationEnd = { ( ) => setIsNewDescription ( false ) }
Original file line number Diff line number Diff line change @@ -13,6 +13,8 @@ export const getLgIds = (root: `lg-${string}` = DEFAULT_LGID_ROOT) => {
13
13
track : `${ root } -track` ,
14
14
fill : `${ root } -fill` ,
15
15
valueText : `${ root } -value_text` ,
16
+ label : `${ root } -label` ,
17
+ description : `${ root } -description` ,
16
18
} as const ;
17
19
} ;
18
20
You can’t perform that action at this time.
0 commit comments