From 0751b6bb82037dd2cd4415d8b6538aa9735e999a Mon Sep 17 00:00:00 2001 From: Alexander Midteide <144693023+alexdigdir@users.noreply.github.com> Date: Wed, 7 Feb 2024 15:16:04 +0100 Subject: [PATCH] wip --- packages/bff-frontend-poc/tsconfig.json | 1 + packages/frontend-design-poc/index.html | 1 + packages/frontend-design-poc/src/App.css | 6 ++ packages/frontend-design-poc/src/App.tsx | 31 +++--- .../src/components/Header/AltinnLogo.tsx | 19 ++++ .../src/components/Header/Header.module.css | 102 ++++++++++++++++++ .../src/components/Header/Header.tsx | 36 +++++++ .../src/components/HelloWorld/HelloWorld.tsx | 20 ++-- .../src/pages/PageLayout/PageLayout.tsx | 16 +-- packages/storybook/index.html | 9 +- packages/storybook/package.json | 5 +- packages/storybook/src/App.tsx | 13 ++- packages/storybook/src/app.module.css | 19 ++++ packages/storybook/src/main.tsx | 23 ++-- .../stories/{ => Button}/Button.stories.ts | 0 .../src/stories/{ => Button}/Button.tsx | 0 .../src/stories/{ => Button}/button.css | 0 .../storybook/src/stories/Header/Header.css | 0 .../src/stories/Header/Header.stories.ts | 55 ++++++++++ .../storybook/src/stories/Header/Header.tsx | 47 ++++++++ 20 files changed, 360 insertions(+), 43 deletions(-) create mode 100644 packages/frontend-design-poc/src/App.css create mode 100644 packages/frontend-design-poc/src/components/Header/AltinnLogo.tsx create mode 100644 packages/frontend-design-poc/src/components/Header/Header.module.css create mode 100644 packages/frontend-design-poc/src/components/Header/Header.tsx create mode 100644 packages/storybook/src/app.module.css rename packages/storybook/src/stories/{ => Button}/Button.stories.ts (100%) rename packages/storybook/src/stories/{ => Button}/Button.tsx (100%) rename packages/storybook/src/stories/{ => Button}/button.css (100%) create mode 100644 packages/storybook/src/stories/Header/Header.css create mode 100644 packages/storybook/src/stories/Header/Header.stories.ts create mode 100644 packages/storybook/src/stories/Header/Header.tsx diff --git a/packages/bff-frontend-poc/tsconfig.json b/packages/bff-frontend-poc/tsconfig.json index a91c38523..ca2e7abaa 100644 --- a/packages/bff-frontend-poc/tsconfig.json +++ b/packages/bff-frontend-poc/tsconfig.json @@ -15,3 +15,4 @@ "plugins": [{ "name": "typescript-plugin-css-modules" }], "include": ["**/*.ts", "**/*.tsx"], } + \ No newline at end of file diff --git a/packages/frontend-design-poc/index.html b/packages/frontend-design-poc/index.html index 0e27241ed..1031718bc 100644 --- a/packages/frontend-design-poc/index.html +++ b/packages/frontend-design-poc/index.html @@ -14,4 +14,5 @@