Review 12.4 Merged

81080[TASK] Streamline applying stylesheets in lit-element components

Benjamin Franzke CR +2 V +2 Hard +185 −171 updated 09/19/23, 08:59

Commit message

This change extracts dynamic stylesheets of web components that
are attached to the light DOM to a corresponding static file in
the directory `Build/Sources/Sass/element/` (it will be merged
to `backend.css` during the build process).

This change allows to get rid of the `window.litNonce` helper
function that was introduced to allow CSP for dynamic styles.

Besides that, the shadow DOM component `typo3-backend-spinner`
now uses constructed stylesheets directly. In addition, the
missing component names have been added to the global map.

Review

  • Code review CR +2

    Imported before Forger kept the single votes, the next import adds them.

  • Verified V +2

    Imported before Forger kept the single votes, the next import adds them.

Issues 1

Files 17