From aeb2b532769b681387cf9c400af934fbafe1e854 Mon Sep 17 00:00:00 2001 From: AmbrishRamachandiran Date: Wed, 4 Mar 2026 17:18:57 +0530 Subject: [PATCH] Fix review comments Signed-off-by: AmbrishRamachandiran --- .../src/app/components/range-slider/props-definition.ts | 8 ++++---- .../ui/src/components/RangeSlider/RangeSlider.module.css | 1 + 2 files changed, 5 insertions(+), 4 deletions(-) diff --git a/docs-ui/src/app/components/range-slider/props-definition.ts b/docs-ui/src/app/components/range-slider/props-definition.ts index 90ca2c64a6..833fc7097f 100644 --- a/docs-ui/src/app/components/range-slider/props-definition.ts +++ b/docs-ui/src/app/components/range-slider/props-definition.ts @@ -37,24 +37,24 @@ export const rangeSliderPropDefs: Record = { }, value: { type: 'enum', - values: ['number[]'], + values: ['[number, number]'], description: 'Controlled value as an array [min, max]. Use with onChange for controlled behavior.', }, defaultValue: { type: 'enum', - values: ['number[]'], + values: ['[number, number]'], description: 'Initial value as an array [min, max] for uncontrolled usage.', default: '[0, 100]', }, onChange: { type: 'enum', - values: ['(value: number[]) => void'], + values: ['(value: [number, number]) => void'], description: 'Called when the slider range changes.', }, onChangeEnd: { type: 'enum', - values: ['(value: number[]) => void'], + values: ['(value: [number, number]) => void'], description: 'Called when the user stops dragging, useful for triggering actions only on final values.', }, diff --git a/packages/ui/src/components/RangeSlider/RangeSlider.module.css b/packages/ui/src/components/RangeSlider/RangeSlider.module.css index 76e44f74f6..085d69946a 100644 --- a/packages/ui/src/components/RangeSlider/RangeSlider.module.css +++ b/packages/ui/src/components/RangeSlider/RangeSlider.module.css @@ -82,6 +82,7 @@ height: auto; left: 0; right: 0; + top: auto; } }