Skip to content

Commit 81798dc

Browse files
mperrottiCopilot
andauthored
Remove unused classes from ProgressBar CSS Module (#6814)
Co-authored-by: Copilot <175728472+Copilot@users.noreply.github.com>
1 parent 71382dc commit 81798dc

File tree

1 file changed

+4
-9
lines changed

1 file changed

+4
-9
lines changed

packages/react/src/ProgressBar/ProgressBar.module.css

Lines changed: 4 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,10 @@
99
}
1010

1111
.ProgressBarItem {
12+
/* these are passed from the component */
13+
--progress-width: ;
14+
--progress-bg: ;
15+
1216
width: var(--progress-width);
1317
/* stylelint-disable-next-line primer/colors */
1418
background-color: var(--progress-bg);
@@ -49,13 +53,4 @@
4953
&:where([data-progress-bar-size='large']) {
5054
height: 10px;
5155
}
52-
53-
/* Width support for containers */
54-
&:where([data-width='auto']) {
55-
width: auto;
56-
}
57-
58-
&:where([data-width='full']) {
59-
width: 100%;
60-
}
6156
}

0 commit comments

Comments
 (0)