From e4be53ca4751b3d48ec878661d44e8e04fceb9fc Mon Sep 17 00:00:00 2001 From: hbhalodia Date: Mon, 2 Dec 2024 10:53:22 +0530 Subject: [PATCH] Addressed the feedbacks on the PR and updated the component based on that --- packages/components/src/angle-picker-control/index.tsx | 1 - packages/components/src/color-picker/input-with-slider.tsx | 1 - packages/components/src/number-control/index.tsx | 3 +-- 3 files changed, 1 insertion(+), 4 deletions(-) diff --git a/packages/components/src/angle-picker-control/index.tsx b/packages/components/src/angle-picker-control/index.tsx index b8d61ac3b88cda..9c436c36caf660 100644 --- a/packages/components/src/angle-picker-control/index.tsx +++ b/packages/components/src/angle-picker-control/index.tsx @@ -63,7 +63,6 @@ function UnforwardedAnglePickerControl( max={ 360 } min={ 0 } onChange={ handleOnNumberChange } - size="__unstable-large" step="1" value={ value } spinControls="none" diff --git a/packages/components/src/color-picker/input-with-slider.tsx b/packages/components/src/color-picker/input-with-slider.tsx index 53c436f98d19b8..221a9289f7450e 100644 --- a/packages/components/src/color-picker/input-with-slider.tsx +++ b/packages/components/src/color-picker/input-with-slider.tsx @@ -46,7 +46,6 @@ export const InputWithSlider = ( { } spinControls="none" - size="__unstable-large" /> ) { const { - __next40pxDefaultSize, __unstableStateReducer: stateReducerProp, className, dragDirection = 'n', @@ -62,7 +61,7 @@ function UnforwardedNumberControl( maybeWarnDeprecated36pxSize( { componentName: 'NumberControl', size, - __next40pxDefaultSize, + __next40pxDefaultSize: restProps.__next40pxDefaultSize, __shouldNotWarnDeprecated36pxSize, } );