Skip to content

fix(vacation-calendar): fix broken timeline layout#382

Merged
fridajac merged 1 commit into
mainfrom
fix/vacation-calendar-timeline-css
Jul 20, 2026
Merged

fix(vacation-calendar): fix broken timeline layout#382
fridajac merged 1 commit into
mainfrom
fix/vacation-calendar-timeline-css

Conversation

@fridajac

@fridajac fridajac commented Jul 20, 2026

Copy link
Copy Markdown
Contributor

Fix broken timeline layout in consuming apps.

The react-calendar-timeline package declares sideEffects: false with no exception for CSS, so its base
stylesheet was tree-shaken out of the bundle when this plugin was consumed by
a host app (it only appeared to work in this plugin's own dev server, which
does not tree-shake). The base timeline styles are now inlined into this
plugin's own CSS file, and the sideEffects field is updated to also cover
the compiled *.css.esm.js output so it survives bundling.

@fridajac
fridajac requested a review from a team as a code owner July 20, 2026 12:02
@changeset-bot

changeset-bot Bot commented Jul 20, 2026

Copy link
Copy Markdown

🦋 Changeset detected

Latest commit: 0b16e07

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package
Name Type
@axis-backstage/plugin-vacation-calendar Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

@fridajac
fridajac enabled auto-merge (squash) July 20, 2026 12:16
@fridajac
fridajac merged commit 85be688 into main Jul 20, 2026
8 checks passed
@fridajac
fridajac deleted the fix/vacation-calendar-timeline-css branch July 20, 2026 12:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants