Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

New Data visualization page #2065

Merged
merged 8 commits into from
Aug 9, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading