From bc59009a2e10e4047e9a05e7e9fcbbca8e4f3a9d Mon Sep 17 00:00:00 2001 From: PelayoFelgueroso Date: Thu, 18 Jun 2026 12:30:03 +0200 Subject: [PATCH 1/2] remove new status to props --- .../code/ApplicationLayoutCodePage.tsx | 7 +-- .../components/badge/code/BadgeCodePage.tsx | 8 +-- .../data-grid/code/DataGridCodePage.tsx | 7 +-- .../file-input/code/FileInputCodePage.tsx | 14 +---- .../components/flex/code/FlexCodePage.tsx | 7 +-- .../components/footer/code/FooterCodePage.tsx | 22 +------- .../components/header/code/HeaderCodePage.tsx | 36 ++---------- .../nav-tabs/code/NavTabsCodePage.tsx | 7 +-- .../code/ResultsetTableCodePage.tsx | 7 +-- .../components/select/code/SelectCodePage.tsx | 21 +------ .../sidenav/code/SidenavCodePage.tsx | 56 +++---------------- .../spinner/code/SpinnerCodePage.tsx | 8 +-- .../text-input/code/TextInputCodePage.tsx | 8 +-- .../toggle-group/code/ToggleGroupCodePage.tsx | 7 +-- 14 files changed, 30 insertions(+), 185 deletions(-) diff --git a/apps/website/screens/components/application-layout/code/ApplicationLayoutCodePage.tsx b/apps/website/screens/components/application-layout/code/ApplicationLayoutCodePage.tsx index 210495031c..6b68338ebb 100644 --- a/apps/website/screens/components/application-layout/code/ApplicationLayoutCodePage.tsx +++ b/apps/website/screens/components/application-layout/code/ApplicationLayoutCodePage.tsx @@ -69,12 +69,7 @@ const ApplicationLayoutPropsTable = () => ( - - - - - logo - - + logo {logoTypeString} diff --git a/apps/website/screens/components/badge/code/BadgeCodePage.tsx b/apps/website/screens/components/badge/code/BadgeCodePage.tsx index 7c63d52a78..0c8b3be9b8 100644 --- a/apps/website/screens/components/badge/code/BadgeCodePage.tsx +++ b/apps/website/screens/components/badge/code/BadgeCodePage.tsx @@ -6,7 +6,6 @@ import Example from "@/common/example/Example"; import contextual from "./examples/contextual"; import notification from "./examples/notification"; import icons from "./examples/icons"; -import StatusBadge from "@/common/StatusBadge"; const sections = [ { @@ -23,12 +22,7 @@ const sections = [ - - - - color - - + color 'primary' | 'secondary' | 'tertiary' | 'success' | 'info' | 'neutral' | 'warning' | 'error' diff --git a/apps/website/screens/components/data-grid/code/DataGridCodePage.tsx b/apps/website/screens/components/data-grid/code/DataGridCodePage.tsx index 679b3bea28..aaa39b80ff 100644 --- a/apps/website/screens/components/data-grid/code/DataGridCodePage.tsx +++ b/apps/website/screens/components/data-grid/code/DataGridCodePage.tsx @@ -170,12 +170,7 @@ const sections = [ - - - - - childrenTrigger - - + childrenTrigger {childrenTriggerTypeString} diff --git a/apps/website/screens/components/file-input/code/FileInputCodePage.tsx b/apps/website/screens/components/file-input/code/FileInputCodePage.tsx index a7a84529bf..e13c5f5007 100644 --- a/apps/website/screens/components/file-input/code/FileInputCodePage.tsx +++ b/apps/website/screens/components/file-input/code/FileInputCodePage.tsx @@ -153,12 +153,7 @@ const sections = [ - - - - optional - - + optional boolean @@ -189,12 +184,7 @@ const sections = [ - - - - size - - + size 'medium' | 'fillParent' diff --git a/apps/website/screens/components/flex/code/FlexCodePage.tsx b/apps/website/screens/components/flex/code/FlexCodePage.tsx index 01af8bfe48..175a58535f 100644 --- a/apps/website/screens/components/flex/code/FlexCodePage.tsx +++ b/apps/website/screens/components/flex/code/FlexCodePage.tsx @@ -136,12 +136,7 @@ const sections = [ - - - - fullHeight - - + fullHeight boolean diff --git a/apps/website/screens/components/footer/code/FooterCodePage.tsx b/apps/website/screens/components/footer/code/FooterCodePage.tsx index 2132e1b87b..a16ded6c47 100644 --- a/apps/website/screens/components/footer/code/FooterCodePage.tsx +++ b/apps/website/screens/components/footer/code/FooterCodePage.tsx @@ -1,7 +1,6 @@ import { DxcFlex, DxcTable, DxcLink } from "@dxc-technology/halstack-react"; import QuickNavContainer from "@/common/QuickNavContainer"; import DocFooter from "@/common/DocFooter"; -import StatusBadge from "@/common/StatusBadge"; import Code, { ExtendedTableCode, TableCode } from "@/common/Code"; const bottomLinksTypeString = `{ @@ -71,12 +70,7 @@ const sections = [ - - - - leftContent - - + leftContent React.ReactNode @@ -84,12 +78,7 @@ const sections = [ - - - - - logo - - + logo {logoTypeString} @@ -119,12 +108,7 @@ const sections = [ - - - - rightContent - - + rightContent React.ReactNode diff --git a/apps/website/screens/components/header/code/HeaderCodePage.tsx b/apps/website/screens/components/header/code/HeaderCodePage.tsx index 99dcef8cc2..402cba488d 100644 --- a/apps/website/screens/components/header/code/HeaderCodePage.tsx +++ b/apps/website/screens/components/header/code/HeaderCodePage.tsx @@ -2,7 +2,6 @@ import { DxcFlex, DxcTable } from "@dxc-technology/halstack-react"; import DocFooter from "@/common/DocFooter"; import QuickNavContainer from "@/common/QuickNavContainer"; import Code, { ExtendedTableCode, TableCode } from "@/common/Code"; -import StatusBadge from "@/common/StatusBadge"; const navItemsTypeString = `(GroupItem | Item)[]`; @@ -48,12 +47,7 @@ const sections = [ - - - - appTitle - - + appTitle string @@ -61,12 +55,7 @@ const sections = [ - - - - - navItems - - + navItems {navItemsTypeString} @@ -92,12 +81,7 @@ const sections = [ - - - - - responsiveBottomContent - - + responsiveBottomContent React.ReactNode @@ -108,12 +92,7 @@ const sections = [ - - - - - searchBar - - + searchBar {searchBarTypeString} @@ -128,12 +107,7 @@ const sections = [ - - - - - sideContent - - + sideContent {"React.ReactNode | (isResponsive: boolean) => React.ReactNode"} diff --git a/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx b/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx index fdfff95780..a6539616a2 100644 --- a/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx +++ b/apps/website/screens/components/nav-tabs/code/NavTabsCodePage.tsx @@ -139,12 +139,7 @@ const sections = [ - - - - - onClick - - + onClick {"() => void"} diff --git a/apps/website/screens/components/resultset-table/code/ResultsetTableCodePage.tsx b/apps/website/screens/components/resultset-table/code/ResultsetTableCodePage.tsx index 3033790479..c5bd8167f0 100644 --- a/apps/website/screens/components/resultset-table/code/ResultsetTableCodePage.tsx +++ b/apps/website/screens/components/resultset-table/code/ResultsetTableCodePage.tsx @@ -199,12 +199,7 @@ const sections = [ - - - - virtualizedHeight - - + virtualizedHeight string diff --git a/apps/website/screens/components/select/code/SelectCodePage.tsx b/apps/website/screens/components/select/code/SelectCodePage.tsx index 177579c903..d7887ff71c 100644 --- a/apps/website/screens/components/select/code/SelectCodePage.tsx +++ b/apps/website/screens/components/select/code/SelectCodePage.tsx @@ -62,12 +62,7 @@ const sections = [ - - - - enableSelectAll - - + enableSelectAll boolean @@ -256,12 +251,7 @@ const sections = [ - - - - searchByStartsWith - - + searchByStartsWith boolean @@ -315,12 +305,7 @@ const sections = [ - - - - - virtualizedHeight - - + virtualizedHeight string diff --git a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx index 48fa240a9b..12ef19bfa1 100644 --- a/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx +++ b/apps/website/screens/components/sidenav/code/SidenavCodePage.tsx @@ -51,12 +51,7 @@ const sections = [ - - - - appTitle - - + appTitle React.ReactNode @@ -64,12 +59,7 @@ const sections = [ - - - - - bottomContent - - + bottomContent React.ReactNode @@ -77,12 +67,7 @@ const sections = [ - - - - - defaultExpanded - - + defaultExpanded boolean @@ -90,12 +75,7 @@ const sections = [ - - - - - displayGroupLines - - + displayGroupLines boolean @@ -105,12 +85,7 @@ const sections = [ - - - - expanded - - + expanded boolean @@ -153,12 +128,7 @@ const sections = [ - - - - - onExpandedChange - - + onExpandedChange {"(value: boolean) => void"} @@ -166,12 +136,7 @@ const sections = [ - - - - - searchBar - - + searchBar {searchBarTypeString} @@ -179,12 +144,7 @@ const sections = [ - - - - - topContent - - + topContent React.ReactNode diff --git a/apps/website/screens/components/spinner/code/SpinnerCodePage.tsx b/apps/website/screens/components/spinner/code/SpinnerCodePage.tsx index e2a5e1ec7e..a5c4912f22 100644 --- a/apps/website/screens/components/spinner/code/SpinnerCodePage.tsx +++ b/apps/website/screens/components/spinner/code/SpinnerCodePage.tsx @@ -6,7 +6,6 @@ import basicUsage from "./examples/basicUsage"; import overlay from "./examples/overlay"; import { TableCode } from "@/common/Code"; import Code from "@/common/Code"; -import StatusBadge from "@/common/StatusBadge"; const sections = [ { @@ -36,12 +35,7 @@ const sections = [ - - - - inheritColor - - + inheritColor boolean diff --git a/apps/website/screens/components/text-input/code/TextInputCodePage.tsx b/apps/website/screens/components/text-input/code/TextInputCodePage.tsx index c1f38ad2e1..15848b4eed 100644 --- a/apps/website/screens/components/text-input/code/TextInputCodePage.tsx +++ b/apps/website/screens/components/text-input/code/TextInputCodePage.tsx @@ -8,7 +8,6 @@ import action from "./examples/action"; import functionSuggestions from "./examples/functionSuggestions"; import errorHandling from "./examples/errorHandling"; import Code, { TableCode, ExtendedTableCode } from "@/common/Code"; -import StatusBadge from "@/common/StatusBadge"; const actionTypeString = `{ icon?: string | (React.ReactNode @@ -32,12 +31,7 @@ const sections = [ - - - - alignment - - + alignment 'left' | 'right' diff --git a/apps/website/screens/components/toggle-group/code/ToggleGroupCodePage.tsx b/apps/website/screens/components/toggle-group/code/ToggleGroupCodePage.tsx index 5abd7875e9..0307b7cd87 100644 --- a/apps/website/screens/components/toggle-group/code/ToggleGroupCodePage.tsx +++ b/apps/website/screens/components/toggle-group/code/ToggleGroupCodePage.tsx @@ -92,12 +92,7 @@ const sections = [ - - - - - orientation - - + orientation 'horizontal' | 'vertical' From 49afe6d8218fffa600b94988c21804fd9121ad9f Mon Sep 17 00:00:00 2001 From: PelayoFelgueroso Date: Thu, 18 Jun 2026 12:31:28 +0200 Subject: [PATCH 2/2] change avatar to new status --- apps/website/screens/common/componentsList.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/website/screens/common/componentsList.json b/apps/website/screens/common/componentsList.json index c22bbc5b52..5969856e1f 100644 --- a/apps/website/screens/common/componentsList.json +++ b/apps/website/screens/common/componentsList.json @@ -12,7 +12,7 @@ { "label": "Avatar", "path": "/components/avatar", - "status": "experimental", + "status": "new", "icon": "filled_account_circle" }, {