diff --git a/apps/website/next.config.js b/apps/website/next.config.js index 047c88588..f475ff353 100644 --- a/apps/website/next.config.js +++ b/apps/website/next.config.js @@ -13,10 +13,17 @@ module.exports = { return config; }, reactStrictMode: true, - assetPrefix: process.env.NODE_ENV === "production" ? `/halstack/${process.env.NEXT_PUBLIC_SITE_VERSION?.split(".")[0]}` : undefined, - basePath: process.env.NODE_ENV === "production" ? `/halstack/${process.env.NEXT_PUBLIC_SITE_VERSION?.split(".")[0]}` : undefined, + assetPrefix: + process.env.NODE_ENV === "production" + ? `/halstack/${process.env.NEXT_PUBLIC_SITE_VERSION?.split(".")[0]}` + : undefined, + basePath: + process.env.NODE_ENV === "production" + ? `/halstack/${process.env.NEXT_PUBLIC_SITE_VERSION?.split(".")[0]}` + : undefined, transpilePackages: [ "@cloudscape-design/components", "@cloudscape-design/component-toolkit", + "@cloudscape-design/theming-runtime", ], }; diff --git a/apps/website/package.json b/apps/website/package.json index e58ef7829..125d8ff45 100644 --- a/apps/website/package.json +++ b/apps/website/package.json @@ -8,6 +8,7 @@ "lint": "next lint" }, "dependencies": { + "@cloudscape-design/components": "^3.0.706", "@dxc-technology/halstack-react": "*", "@radix-ui/react-popover": "^1.0.7", "@types/styled-components": "5.1.29", diff --git a/apps/website/pages/components/bar-chart/index.tsx b/apps/website/pages/components/bar-chart/index.tsx deleted file mode 100644 index 115dcea52..000000000 --- a/apps/website/pages/components/bar-chart/index.tsx +++ /dev/null @@ -1,21 +0,0 @@ -import Head from "next/head"; -import type { ReactElement } from "react"; -import BarChartPageLayout from "../../../screens/components/bar-chart/BarChartPageLayout"; -import BarChartCodePage from "../../../screens/components/bar-chart/code/BarChartCodePage"; - -const Index = () => { - return ( - <> -
-showFilter
is set to true
.
- showLegend
is set to true
.
- DxcButton
component will be displayed if this prop is defined to perform the action.
- DxcHeading level={2}
component
- DxcSelect
component
- color-purple-500
- color-blue-600
- color-green-700
- color-red-500
- color-yellow-800
- color-orange-700
- color-purple-600
- color-blue-800
- color-green-900
- color-red-700
- color-yellow-900
- color-orange-800
- color-purple-500
+ color-blue-600
+ color-green-700
+ color-red-500
+ color-yellow-800
+ color-orange-700
+ color-purple-600
+ color-blue-800
+ color-green-900
+ color-red-700
+ color-yellow-900
+ color-orange-800
+