From 590cd74cfe6a87671db259eb9384a8732a0de8ce Mon Sep 17 00:00:00 2001 From: Lungan Catalin Date: Tue, 25 Jun 2024 16:32:53 +0300 Subject: [PATCH] refactor(Slider): use CSS logical properties instead of physical values --- .../slider/_storybook/bq-slider.stories.tsx | 2 +- .../beeq/src/components/slider/bq-slider.tsx | 20 +++++++++---------- .../src/components/slider/scss/bq-slider.scss | 2 +- 3 files changed, 12 insertions(+), 12 deletions(-) diff --git a/packages/beeq/src/components/slider/_storybook/bq-slider.stories.tsx b/packages/beeq/src/components/slider/_storybook/bq-slider.stories.tsx index 7fb908e82..387ba58f4 100644 --- a/packages/beeq/src/components/slider/_storybook/bq-slider.stories.tsx +++ b/packages/beeq/src/components/slider/_storybook/bq-slider.stories.tsx @@ -49,7 +49,7 @@ export default meta; type Story = StoryObj; const Template = (args: Args) => html` -
+
{ @@ -307,7 +307,7 @@ export class BqSlider { return ( -
+
{value.toFixed(this.decimalCount)} ); @@ -384,22 +384,22 @@ export class BqSlider { return (
{/* LABEL (start) */} {this.renderLabel(this.minValue, 'start', 'me-xs text-end')} {/* SLIDER */} -
+
{/* TRACK AREA */} (this.trackElem = elem)} part="track-area" /> {/* PROGRESS AREA */} (this.progressElem = elem)} part="progress-area" /> diff --git a/packages/beeq/src/components/slider/scss/bq-slider.scss b/packages/beeq/src/components/slider/scss/bq-slider.scss index 0299f495d..312d5b04d 100644 --- a/packages/beeq/src/components/slider/scss/bq-slider.scss +++ b/packages/beeq/src/components/slider/scss/bq-slider.scss @@ -24,7 +24,7 @@ } :host { - @apply block w-full; + @apply block is-full; } /* ---------------------- Webkit (Chrome, Safari, Edge) --------------------- */