diff --git a/biome.json b/biome.json index 1a8e07d..999e40e 100644 --- a/biome.json +++ b/biome.json @@ -7,7 +7,7 @@ }, "files": { "ignoreUnknown": false, - "includes": ["src/**/*", "app/**/*", "*.ts", "*.tsx", "*.js", "*.jsx"] + "includes": ["src/**/*", "app/**/*", "*.ts", "*.tsx", "*.js", "*.jsx", "*.json", "*.css"] }, "formatter": { "enabled": true, diff --git a/package.json b/package.json index 6fce2de..a6ee6dc 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,7 @@ { "name": "portfolio", "version": "0.1.0", + "packageManager": "yarn@4.11.0", "private": true, "scripts": { "dev": "next dev", diff --git a/src/entities/experience/ui/ExperienceCard/ExperienceCard.stories.tsx b/src/entities/experience/ui/ExperienceCard/ExperienceCard.stories.tsx index 8eb08f7..94b4ff4 100644 --- a/src/entities/experience/ui/ExperienceCard/ExperienceCard.stories.tsx +++ b/src/entities/experience/ui/ExperienceCard/ExperienceCard.stories.tsx @@ -23,6 +23,7 @@ const baseArgs = { period: '2021 – 2024', description: 'Led frontend development for the core product, established design system practices, and mentored junior engineers across two distributed teams.', + stack: ['React', 'TypeScript', 'Next.js'], }; export const Default: Story = { diff --git a/src/shared/ui/Card/ui/Card.stories.tsx b/src/shared/ui/Card/ui/Card.stories.tsx index a5e62d3..0efc166 100644 --- a/src/shared/ui/Card/ui/Card.stories.tsx +++ b/src/shared/ui/Card/ui/Card.stories.tsx @@ -13,24 +13,17 @@ type Story = StoryObj; export const AllBackgrounds: Story = { render: () => (
- + - Ochre Card - Background ochre-clay variant + Cream Card + Default cream background variant Footer content - + - Slate Card - Background slate-indigo variant - - Footer content - - - - White Card - Background white variant + Blue Card + Blue background variant Footer content @@ -40,9 +33,9 @@ export const AllBackgrounds: Story = { export const NoPadding: Story = { render: () => ( -
+
-
Image placeholder
+
Image placeholder
), @@ -51,7 +44,7 @@ export const NoPadding: Story = { export const FullComposition: Story = { render: () => (
- + Full Composition A card using all available slot components diff --git a/src/shared/ui/Link/index.ts b/src/shared/ui/Link/index.ts index a2e27cb..dc1229d 100644 --- a/src/shared/ui/Link/index.ts +++ b/src/shared/ui/Link/index.ts @@ -1 +1,2 @@ +export type { LinkVariant } from './ui/Link/Link'; export { Link } from './ui/Link/Link'; diff --git a/src/shared/ui/Section/ui/Section.stories.tsx b/src/shared/ui/Section/ui/Section.stories.tsx index 7601dad..a3515e0 100644 --- a/src/shared/ui/Section/ui/Section.stories.tsx +++ b/src/shared/ui/Section/ui/Section.stories.tsx @@ -13,27 +13,18 @@ type Story = StoryObj; export const AllBackgrounds: Story = { render: () => (
-
+
-

Ochre Section

+

Cream Section

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.

-
+
-

Slate Section

-

- Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et - dolore magna aliqua. -

-
-
-
- -

White Section

+

Blue Section

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. @@ -46,7 +37,7 @@ export const AllBackgrounds: Story = { export const Bordered: Story = { render: () => ( -

+

Bordered Section

diff --git a/tsconfig.json b/tsconfig.json index de58819..5dec038 100644 --- a/tsconfig.json +++ b/tsconfig.json @@ -35,13 +35,6 @@ "$routes": ["./src/routes"] } }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts", - ".next/dev/types/**/*.ts", - "**/*.mts" - ], - "exclude": ["node_modules"] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts", ".next/dev/types/**/*.ts", "**/*.mts"], + "exclude": ["node_modules", "**/*.stories.ts", "**/*.stories.tsx"] }