From 89bb1125c8a706eab105db9d605dbf5f044d08f3 Mon Sep 17 00:00:00 2001 From: Pelayo Felgueroso Date: Mon, 6 Oct 2025 10:51:57 +0200 Subject: [PATCH] Normlize disabled prop description on all Doc Code Pages --- apps/website/screens/components/link/code/LinkCodePage.tsx | 2 +- .../screens/components/nav-tabs/code/NavTabsCodePage.tsx | 2 +- apps/website/screens/components/tabs/code/TabsCodePage.tsx | 2 +- apps/website/screens/components/wizard/code/WizardCodePage.tsx | 2 +- packages/lib/src/link/types.ts | 2 +- packages/lib/src/nav-tabs/types.ts | 2 +- packages/lib/src/wizard/types.ts | 2 +- 7 files changed, 7 insertions(+), 7 deletions(-) diff --git a/apps/website/screens/components/link/code/LinkCodePage.tsx b/apps/website/screens/components/link/code/LinkCodePage.tsx index 5292dadc33..a3ba4610af 100644 --- a/apps/website/screens/components/link/code/LinkCodePage.tsx +++ b/apps/website/screens/components/link/code/LinkCodePage.tsx @@ -42,7 +42,7 @@ const sections = [ boolean - If true, the link is disabled. + If true, the link will be disabled. false diff --git a/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx b/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx index d33144905c..fdfff95780 100644 --- a/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx +++ b/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx @@ -110,7 +110,7 @@ const sections = [ boolean - Whether the tab is disabled or not. + If true, the tab will be disabled. false diff --git a/apps/website/screens/components/tabs/code/TabsCodePage.tsx b/apps/website/screens/components/tabs/code/TabsCodePage.tsx index bbde193050..16998acfce 100644 --- a/apps/website/screens/components/tabs/code/TabsCodePage.tsx +++ b/apps/website/screens/components/tabs/code/TabsCodePage.tsx @@ -130,7 +130,7 @@ const sections = [ boolean - Whether the tab is disabled or not. + If true, the tab will be disabled. false diff --git a/apps/website/screens/components/wizard/code/WizardCodePage.tsx b/apps/website/screens/components/wizard/code/WizardCodePage.tsx index c4470d750d..0410a95c88 100644 --- a/apps/website/screens/components/wizard/code/WizardCodePage.tsx +++ b/apps/website/screens/components/wizard/code/WizardCodePage.tsx @@ -111,7 +111,7 @@ const sections = [ name or SVG element used as the icon displayed in the step.
  • - disabled: Whether the step is disabled or not. + disabled: If true, the step will be disabled.
  • valid: Whether the step is valid or not. diff --git a/packages/lib/src/link/types.ts b/packages/lib/src/link/types.ts index bea6ded47e..8802dbc31a 100644 --- a/packages/lib/src/link/types.ts +++ b/packages/lib/src/link/types.ts @@ -2,7 +2,7 @@ import { Margin, SVG, Space } from "../common/utils"; export type LinkProps = { /** - * If true, the link is disabled. + * If true, the link will be disabled. */ disabled?: boolean; /** diff --git a/packages/lib/src/nav-tabs/types.ts b/packages/lib/src/nav-tabs/types.ts index 83fafddc2b..5bc960f205 100644 --- a/packages/lib/src/nav-tabs/types.ts +++ b/packages/lib/src/nav-tabs/types.ts @@ -17,7 +17,7 @@ export type TabProps = { */ children: string; /** - * Whether the tab is disabled or not. + * If true, the tab will be disabled. */ disabled?: boolean; /** diff --git a/packages/lib/src/wizard/types.ts b/packages/lib/src/wizard/types.ts index df8d87b651..074edb1d3e 100644 --- a/packages/lib/src/wizard/types.ts +++ b/packages/lib/src/wizard/types.ts @@ -14,7 +14,7 @@ export type StepProps = { */ icon?: string | SVG; /** - * Whether the step is disabled or not. + * If true, the step will be disabled. */ disabled?: boolean; /**