Skip to content

Commit

Permalink
Merge pull request #2065 from dxc-technology/gomezivann/data-visualiz…
Browse files Browse the repository at this point in the history
…ation

New Data visualization page
  • Loading branch information
Mil4n0r authored Aug 9, 2024
2 parents 99edeb7 + dbf6e3b commit f8ea611
Show file tree
Hide file tree
Showing 32 changed files with 517 additions and 824 deletions.
11 changes: 9 additions & 2 deletions apps/website/next.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -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",
],
};
1 change: 1 addition & 0 deletions apps/website/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down
21 changes: 0 additions & 21 deletions apps/website/pages/components/bar-chart/index.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions apps/website/pages/components/bar-chart/specifications.tsx

This file was deleted.

21 changes: 0 additions & 21 deletions apps/website/pages/components/bar-chart/usage.tsx

This file was deleted.

15 changes: 15 additions & 0 deletions apps/website/pages/principles/data-visualization.tsx
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
import Head from "next/head";
import DataVisualizationPage from "../../screens/principles/data-visualization/DataVisualizationPage";

const DataVisualization = () => {
return (
<>
<Head>
<title>Data visualization — Halstack Design System</title>
</Head>
<DataVisualizationPage></DataVisualizationPage>
</>
);
};

export default DataVisualization;
5 changes: 0 additions & 5 deletions apps/website/screens/common/componentsList.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,11 +11,6 @@
"path": "/components/badge",
"status": "new"
},
{
"label": "Bar Chart",
"path": "/components/bar-chart",
"status": "new"
},
{ "label": "Bleed", "path": "/components/bleed", "status": "stable" },
{ "label": "Box", "path": "/components/box", "status": "deprecated" },
{
Expand Down
1 change: 1 addition & 0 deletions apps/website/screens/common/pagesList.ts
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ const utilitiesLinks: LinkDetails[] = [

const principlesLinks: LinkDetails[] = [
{ label: "Color", path: "/principles/color" },
{ label: "Data visualization", path: "/principles/data-visualization" },
{ label: "Iconography", path: "/principles/iconography" },
{ label: "Layout", path: "/principles/layout" },
{ label: "Localization", path: "/principles/localization" },
Expand Down
32 changes: 0 additions & 32 deletions apps/website/screens/components/bar-chart/BarChartPageLayout.tsx

This file was deleted.

228 changes: 0 additions & 228 deletions apps/website/screens/components/bar-chart/code/BarChartCodePage.tsx

This file was deleted.

Loading

0 comments on commit f8ea611

Please sign in to comment.