Skip to content

feat: add standalone css generation from @css declarations#780

Merged
schultek merged 8 commits intonextfrom
feat/standalone-styles
Mar 29, 2026
Merged

feat: add standalone css generation from @css declarations#780
schultek merged 8 commits intonextfrom
feat/standalone-styles

Conversation

@schultek
Copy link
Copy Markdown
Owner

Description

Supports a new standalone option for style generation. Makes @css also work in client mode.

Type of Change

  • ✨ New feature or improvement

@docs-page
Copy link
Copy Markdown

docs-page bot commented Mar 18, 2026

To view this pull requests documentation preview, visit the following URL:

docs.page/schultek/jaspr~780

Documentation is deployed and generated using docs.page.

@github-actions
Copy link
Copy Markdown

github-actions bot commented Mar 18, 2026

Package Version Report

The following packages have been updated:
jaspr_test : 0.22.4 -> 0.23.0
jaspr : 0.22.4 -> 0.23.0
jaspr_builder : 0.22.4 -> 0.23.0
jaspr_cli : 0.22.4 -> 0.23.0
jaspr_lints : 0.6.1 -> 0.7.0
jaspr_router : 0.8.1 -> 0.8.2
jaspr_content : 0.5.1 -> 0.5.2
jaspr_flutter_embed : 0.4.10 -> 0.4.11
jaspr_riverpod : 0.4.4 -> 0.4.5
jaspr_serverpod : 0.6.0 -> 0.6.1

@schultek schultek force-pushed the feat/standalone-styles branch from 31c20a9 to c4f5015 Compare March 18, 2026 11:11
@codecov
Copy link
Copy Markdown

codecov bot commented Mar 19, 2026

Codecov Report

❌ Patch coverage is 87.37864% with 26 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.56%. Comparing base (cdbc321) to head (c1ab71c).
⚠️ Report is 1 commits behind head on next.

Files with missing lines Patch % Lines
...lib/src/server/adapters/global_styles_adapter.dart 30.00% 7 Missing ⚠️
packages/jaspr_builder/lib/src/utils.dart 72.22% 5 Missing ⚠️
...uilder/lib/src/options/server_options_builder.dart 78.94% 4 Missing ⚠️
packages/jaspr_cli/lib/src/helpers/css_helper.dart 85.71% 4 Missing ⚠️
packages/jaspr_lints/lib/src/utils/scope_tree.dart 81.25% 3 Missing ⚠️
...lder/lib/src/styles/styles_standalone_builder.dart 92.00% 2 Missing ⚠️
..._builder/lib/src/styles/styles_bundle_builder.dart 95.23% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             next     #780      +/-   ##
==========================================
+ Coverage   68.35%   68.56%   +0.21%     
==========================================
  Files         210      212       +2     
  Lines       11700    11828     +128     
==========================================
+ Hits         7997     8110     +113     
- Misses       3703     3718      +15     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@schultek schultek force-pushed the feat/standalone-styles branch 2 times, most recently from 5b7789a to ed76118 Compare March 19, 2026 17:21
@schultek schultek changed the title feat: add standalone css generation from @çss declarations feat: add standalone css generation from @css declarations Mar 20, 2026
@schultek schultek force-pushed the feat/standalone-styles branch from ed76118 to d23ac32 Compare March 28, 2026 13:09
@schultek schultek changed the base branch from main to next March 28, 2026 15:37
@schultek schultek merged commit ef82269 into next Mar 29, 2026
13 checks passed
@schultek schultek deleted the feat/standalone-styles branch March 29, 2026 09:55
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.

1 participant