From 305de15432730397b23f0c2061b73b48857af6a3 Mon Sep 17 00:00:00 2001 From: Akshar Patel <123344143+AksharP5@users.noreply.github.com> Date: Tue, 1 Sep 2026 20:40:11 -0400 Subject: [PATCH] fix(catalog): sync tab labels with the sliding indicator (#3267) * fix(catalog): sync tab labels with the sliding indicator * fix(catalog): preserve tab contrast during indicator motion --- .../components/tabs-slide-indicator.mdx | 82 ++++++++++++++----- .../components/tabs-slide-indicator.json | 2 +- .../components/tabs-slide-indicator/demo.html | 68 +++++++++++---- .../tabs-slide-indicator.html | 41 +++++++--- 4 files changed, 146 insertions(+), 47 deletions(-) diff --git a/docs/catalog/components/tabs-slide-indicator.mdx b/docs/catalog/components/tabs-slide-indicator.mdx index 640c7b3b1..86384d8a4 100644 --- a/docs/catalog/components/tabs-slide-indicator.mdx +++ b/docs/catalog/components/tabs-slide-indicator.mdx @@ -42,8 +42,8 @@ import { VariablesExplorer } from "/snippets/variables-explorer.jsx"; commas. Two or more names rebuild the row, one name or none leaves the authored markup alone, since a single tab has nowhere to slide to. - On every default the result is identical to the original: three 86px tabs in - a light pill track, a near-black pill sliding from the first to the second. + With the defaults, this renders three 86px tabs in a light pill track. The + near-black pill and white active label move from the first tab to the second. -->