Skip to content

feat(design, design-examples, daffio, demo): deprecate @daffodil/design/image in favor of @daffodil/design/image-lite - #4683

Open
xelaint wants to merge 2 commits into
developfrom
feat/implement-image-lite
Open

feat(design, design-examples, daffio, demo): deprecate @daffodil/design/image in favor of @daffodil/design/image-lite#4683
xelaint wants to merge 2 commits into
developfrom
feat/implement-image-lite

Conversation

@xelaint

@xelaint xelaint commented Aug 25, 2026

Copy link
Copy Markdown
Member

PR Checklist

  • Commit message follows our contributing guidelines
  • Tests added/updated (for bug fixes/features)
  • Documentation added/updated (for bug fixes/features)

PR Type

  • Bug fix
  • Feature
  • Style update
  • Refactor
  • Test
  • Build
  • CI
  • Docs
  • Performance
  • Other (please describe)

Current behavior

Part of: #4674

New behavior

DaffImageComponent and DAFF_IMAGE_COMPONENTS have been deprecated in version 0.95.0 and will be removed in version 0.101.0, along with the already deprecated DaffImageModule.

Migrated every usage to img[daff-image] from @daffodil/design/image-lite.

Because image-lite applies directly to the img element rather than wrapping it in a host element, the styles that compensated for that wrapper are no longer needed: overflow: hidden on .daff-card__image, and the flex centering on the media gallery's selected thumbnail.

Blocked by #4681

Breaking change?

  • Yes
  • No

Additional context

@xelaint
xelaint requested review from a team as code owners August 25, 2026 13:51
@xelaint xelaint added the package: design @daffodil/design label Aug 25, 2026
@xelaint
xelaint requested review from a team as code owners August 25, 2026 13:51
@xelaint xelaint added the status: blocked This PR or issue is blocked and cannot currently be progressed label Aug 25, 2026
@xelaint xelaint changed the title Feat/implement image lite feat(design, design-examples, daffio, demo): deprecate @daffodil/design/image in favor of @daffodil/design/image-lite Aug 25, 2026

@damienwebdev damienwebdev left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This generally LGTM.

@xelaint

xelaint commented Sep 2, 2026

Copy link
Copy Markdown
Member Author

@damienwebdev #4681 needs to be approved and merged first.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

package: design @daffodil/design status: blocked This PR or issue is blocked and cannot currently be progressed

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants