Skip to content

Commit

Permalink
chore: upgrade storybook to v8.3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
jeffreiffers committed Oct 24, 2024
1 parent e260fe5 commit 6984a0a
Show file tree
Hide file tree
Showing 7 changed files with 2,840 additions and 3,939 deletions.
2 changes: 2 additions & 0 deletions libs/storybook-app/.storybook/main.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import type { StorybookConfig } from '@storybook/nextjs';
import * as path from 'path';

const config: StorybookConfig = {
stories: ['../../**/*.stories.@(js|jsx|ts|tsx|mdx)'],
Expand All @@ -13,6 +14,7 @@ const config: StorybookConfig = {
alias: {
...(baseConfig.resolve?.alias ?? {}),
'@opentelemetry/api': 'next/dist/compiled/@opentelemetry/api',
'@fdk-frontend/ui/core': path.resolve(__dirname, '../../ui/src/lib/core')
},
};
return baseConfig;
Expand Down
2 changes: 1 addition & 1 deletion libs/storybook-app/.storybook/preview.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,3 @@
// eslint-disable-next-line
import '../../ui/src/lib/layout-root/global.scss';
import '../../ui/src/lib/core/global.scss';
import './storybook.scss';
2 changes: 1 addition & 1 deletion libs/ui/src/lib/breadcrumbs/breadcrumbs.spec-disabled.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@ import { screen, render } from '@testing-library/react';
import { axe, toHaveNoViolations } from 'jest-axe';
import { getDictionary, type Dictionary } from '@fdk-frontend/dictionaries';

import { Breadcrumbs } from '.';
import Breadcrumbs from '.';

expect.extend(toHaveNoViolations);

Expand Down
2 changes: 1 addition & 1 deletion libs/ui/src/lib/breadcrumbs/breadcrumbs.stories.tsx
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import type { Meta, StoryObj } from '@storybook/react';
import { getDictionary } from '@fdk-frontend/dictionaries';

import { Breadcrumbs } from '.';
import Breadcrumbs from '.';

const dictionary = await getDictionary('en', 'data-hunter-page');

Expand Down
4 changes: 3 additions & 1 deletion libs/ui/src/lib/core/fds-overrides.scss
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,9 @@
color: var(--color-link);
}

text-decoration: none;
& {
text-decoration: none;
}
}
&.fds-btn--primary {
&.fds-link {
Expand Down
15 changes: 8 additions & 7 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,7 @@
"@axe-core/playwright": "^4.10.0",
"@babel/core": "^7.25.2",
"@babel/preset-react": "^7.24.7",
"@emotion/is-prop-valid": "^1.3.1",
"@eslint/js": "^9.13.0",
"@nx/devkit": "19.7.3",
"@nx/eslint": "19.7.3",
Expand All @@ -79,16 +80,16 @@
"@nx/next": "19.7.3",
"@nx/playwright": "19.7.3",
"@nx/react": "19.7.3",
"@nx/storybook": "19.7.3",
"@nx/storybook": "20.0.5",
"@nx/web": "19.7.3",
"@nx/workspace": "19.7.3",
"@playwright/test": "^1.46.1",
"@storybook/addon-essentials": "7.6.19",
"@storybook/addon-interactions": "^7.5.3",
"@storybook/core-server": "7.6.19",
"@storybook/addon-essentials": "8.3.6",
"@storybook/addon-interactions": "^8.3.6",
"@storybook/core-server": "8.3.6",
"@storybook/jest": "^0.2.3",
"@storybook/nextjs": "7.6.19",
"@storybook/test-runner": "^0.13.0",
"@storybook/nextjs": "8.3.6",
"@storybook/test-runner": "^0.19.1",
"@storybook/testing-library": "^0.2.2",
"@swc-node/register": "~1.10.9",
"@swc/cli": "~0.4.0",
Expand Down Expand Up @@ -131,7 +132,7 @@
"prettier-plugin-sort-json": "^4.0.0",
"react-markdown": "^9.0.1",
"sass": "^1.77.8",
"storybook": "7.6.19",
"storybook": "8.3.6",
"ts-jest": "^29.2.4",
"ts-node": "10.9.2",
"typescript": "^5.5.4",
Expand Down
Loading

0 comments on commit 6984a0a

Please sign in to comment.