Skip to content

Commit

Permalink
Addressed the feedbacks on the PR and updated the component based on …
Browse files Browse the repository at this point in the history
…that
  • Loading branch information
hbhalodia committed Dec 2, 2024
1 parent 32fd2c5 commit e4be53c
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 4 deletions.
1 change: 0 additions & 1 deletion packages/components/src/angle-picker-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ function UnforwardedAnglePickerControl(
max={ 360 }
min={ 0 }
onChange={ handleOnNumberChange }
size="__unstable-large"
step="1"
value={ value }
spinControls="none"
Expand Down
1 change: 0 additions & 1 deletion packages/components/src/color-picker/input-with-slider.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export const InputWithSlider = ( {
</InputControlPrefixWrapper>
}
spinControls="none"
size="__unstable-large"
/>
<RangeControl
__nextHasNoMarginBottom
Expand Down
3 changes: 1 addition & 2 deletions packages/components/src/number-control/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,6 @@ function UnforwardedNumberControl(
forwardedRef: ForwardedRef< any >
) {
const {
__next40pxDefaultSize,
__unstableStateReducer: stateReducerProp,
className,
dragDirection = 'n',
Expand All @@ -62,7 +61,7 @@ function UnforwardedNumberControl(
maybeWarnDeprecated36pxSize( {
componentName: 'NumberControl',
size,
__next40pxDefaultSize,
__next40pxDefaultSize: restProps.__next40pxDefaultSize,
__shouldNotWarnDeprecated36pxSize,
} );

Expand Down

0 comments on commit e4be53c

Please sign in to comment.