feat(Image): afbeeldingscomponent met lazy loading, prioriteit en vaste beeldverhoudingen#105
Merged
jeffreylauwers merged 1 commit intomainfrom Mar 21, 2026
Merged
feat(Image): afbeeldingscomponent met lazy loading, prioriteit en vaste beeldverhoudingen#105jeffreylauwers merged 1 commit intomainfrom
jeffreylauwers merged 1 commit intomainfrom
Conversation
… beeldverhoudingen Sluit issue #96. - Component tokens JSON met border-radius, caption kleur/grootte/regelafstand/spacing - HTML/CSS implementatie met ratio-modifiers (16:9, 4:3, 1:1) en object-fit-contain modifier - React component met forwardRef, priority prop (fetchpriority="high"), auto aria-hidden bij alt="" - 25 unit tests (alle groen) - Storybook: Default, WithRatio, Priority, WithCaption, Decorative, ObjectFitContain, WithSrcSet stories Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #96
Summary
image.json) metborder-radius, caption kleur/grootte/regelafstand/spacingimage.css) met ratio-modifiers (16:9,4:3,1:1) enobject-fit-containmodifierImage.tsx) metforwardRef,priorityprop (fetchpriority="high"), automatischaria-hidden="true"bijalt=""Test plan
pnpm exec vitest run— 53 suites, 1082 tests, 0 failurespnpm --filter storybook exec tsc --noEmit— 0 foutenpnpm lint— 0 fouten🤖 Generated with Claude Code