Skip to content

Commit

Permalink
remove thumbStart and thumbEnd
Browse files Browse the repository at this point in the history
  • Loading branch information
siriwatknp committed Jun 13, 2022
1 parent bd0bab6 commit 094a177
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 8 deletions.
4 changes: 0 additions & 4 deletions packages/mui-joy/src/Slider/Slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -45,8 +45,6 @@ const useUtilityClasses = (ownerState: OwnerState) => {
valueLabel: ['valueLabel'],
valueLabelOpen: ['valueLabelOpen'],
thumb: ['thumb', disabled && 'disabled'],
thumbStart: ['thumbStart'],
thumbEnd: ['thumbEnd'],
active: ['active'],
focusVisible: ['focusVisible'],
};
Expand Down Expand Up @@ -534,8 +532,6 @@ const Slider = React.forwardRef(function Slider(inProps, ref) {
className={clsx(classes.thumb, componentsProps.thumb?.className, {
[classes.active]: active === index,
[classes.focusVisible]: focusVisible === index,
[classes.thumbStart]: percent === 0,
[classes.thumbEnd]: percent === 100,
})}
style={{
...style,
Expand Down
4 changes: 0 additions & 4 deletions packages/mui-joy/src/Slider/sliderClasses.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,6 @@ export interface SliderClasses {
trackInverted: string;
/** Class name applied to the thumb element. */
thumb: string;
/** Class name applied to the thumb element if percent is 0. */
thumbStart: string;
/** Class name applied to the thumb element if percent is 100. */
thumbEnd: string;
/** Class name applied to the thumb label element. */
valueLabel: string;
/** Class name applied to the thumb label element if it's open. */
Expand Down

0 comments on commit 094a177

Please sign in to comment.