Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: apply CssImport to exported webcomponent (#19740) (CP: 24.3) #19746

Merged
merged 3 commits into from
Aug 6, 2024

Commits on Aug 5, 2024

  1. fix: apply CssImport to exported webcomponent (#19740)

    CssImport annotation with just a value attribute can be injected automatically to shadow root of all exported web components (embedded applications) using Constructable StyleSheets. WebComponentExporter should have a theme to make automation work properly in theme-generator.js. Theme property "autoInjectGlobalCssImports": true in theme.json enable auto injection. Disabled by default.
    
    Fixes: #19700
    
    Co-authored-by: Marco Collovati <[email protected]>
    tltv and mcollovati committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    983734e View commit details
    Browse the repository at this point in the history
  2. chore: fixed compilation errors

    tltv committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    5985d22 View commit details
    Browse the repository at this point in the history
  3. chore: fixed compilation errors

    tltv committed Aug 5, 2024
    Configuration menu
    Copy the full SHA
    fae564f View commit details
    Browse the repository at this point in the history