diff --git a/.github/workflows/publish-next.yml b/.github/workflows/publish-next.yml
index 471e15e12..ae5e59704 100644
--- a/.github/workflows/publish-next.yml
+++ b/.github/workflows/publish-next.yml
@@ -35,7 +35,7 @@ jobs:
run: npm install
- name: Build library and website
- run: npm run build
+ run: SITE_VERSION=next npm run build
- name: Test library
run: npm run test
diff --git a/apps/website/screens/common/componentsList.json b/apps/website/screens/common/componentsList.json
index e50aa0636..805db0d15 100644
--- a/apps/website/screens/common/componentsList.json
+++ b/apps/website/screens/common/componentsList.json
@@ -123,7 +123,7 @@
{
"label": "Tooltip",
"path": "/components/tooltip",
- "status": "experimental"
+ "status": "new"
},
{
"label": "Typography",
diff --git a/apps/website/screens/components/tooltip/code/TooltipCodePage.tsx b/apps/website/screens/components/tooltip/code/TooltipCodePage.tsx
index 5832db5c9..fe14e0604 100644
--- a/apps/website/screens/components/tooltip/code/TooltipCodePage.tsx
+++ b/apps/website/screens/components/tooltip/code/TooltipCodePage.tsx
@@ -1,8 +1,10 @@
-import { DxcFlex, DxcParagraph, DxcTable } from "@dxc-technology/halstack-react";
+import { DxcFlex, DxcTable } from "@dxc-technology/halstack-react";
import QuickNavContainerLayout from "@/common/QuickNavContainerLayout";
import QuickNavContainer from "@/common/QuickNavContainer";
import DocFooter from "@/common/DocFooter";
import TableCode from "@/common/TableCode";
+import basicUsage from "./examples/basicUsage";
+import Example from "@/common/example/Example";
const sections = [
{
@@ -51,11 +53,12 @@ const sections = [
},
{
title: "Examples",
- content: (
-
- The examples are under development and will be available soon.
-
- ),
+ subSections: [
+ {
+ title: "Basic Usage",
+ content: ,
+ },
+ ],
},
];
diff --git a/apps/website/screens/components/tooltip/code/examples/basicUsage.ts b/apps/website/screens/components/tooltip/code/examples/basicUsage.ts
index d9400b3b1..dc86d75a8 100644
--- a/apps/website/screens/components/tooltip/code/examples/basicUsage.ts
+++ b/apps/website/screens/components/tooltip/code/examples/basicUsage.ts
@@ -1,23 +1,23 @@
-// import {
-// DxcTooltip,
-// DxcButton,
-// DxcInset,
-// } from "@dxc-technology/halstack-react";
+import {
+ DxcTooltip,
+ DxcButton,
+ DxcInset,
+} from "@dxc-technology/halstack-react";
-// const code = `() => {
-// return (
-//
-//
-//
-//
-//
-// );
-// }`;
+const code = `() => {
+ return (
+
+
+
+
+
+ );
+ }`;
-// const scope = {
-// DxcTooltip,
-// DxcButton,
-// DxcInset,
-// };
+const scope = {
+ DxcTooltip,
+ DxcButton,
+ DxcInset,
+};
-// export default { code, scope };
+export default { code, scope };