Stable 9 is trying to override non-existing css files.

Created on 11 October 2023, about 1 year ago
Updated 2 August 2024, 5 months ago

Problem/Motivation

The drupal.dialog.off_canvas library has been altered for Drupal 10, but the library overrides in stable 9 have not been changed to match this.

Here is the definition for drupal.dialog.off_canvas

drupal.dialog.off_canvas:
  version: VERSION
  js:
    misc/dialog/off-canvas/js/off-canvas.js: {}
  css:
    base:
      misc/dialog/off-canvas/css/reset.css: {}
      misc/dialog/off-canvas/css/base.css: {}
      misc/dialog/off-canvas/css/utility.css: {}
    component:
      misc/dialog/off-canvas/css/button.css: {}
      misc/dialog/off-canvas/css/drupal.css: {}
      misc/dialog/off-canvas/css/form.css: {}
      misc/dialog/off-canvas/css/table.css: {}
      misc/dialog/off-canvas/css/details.css: {}
      misc/dialog/off-canvas/css/messages.css: {}
      misc/dialog/off-canvas/css/tabledrag.css: {}
      misc/dialog/off-canvas/css/throbber.css: {}
      misc/dialog/off-canvas/css/dropbutton.css: {}
      misc/dialog/off-canvas/css/titlebar.css: {}
      misc/dialog/off-canvas/css/wrapper.css: {}
  dependencies:
    - core/jquery
    - core/once
    - core/drupal
    - core/drupal.ajax
    - core/drupal.announce
    - core/drupal.dialog
    - core/drupal.dialog.ajax
    - core/drupal.touchevents-test

and here is the library overrides for it.

  core/drupal.dialog.off_canvas:
    css:
      base:
        misc/dialog/off-canvas.reset.css: css/core/dialog/off-canvas.reset.css
        misc/dialog/off-canvas.base.css: css/core/dialog/off-canvas.base.css
        misc/dialog/off-canvas.css: css/core/dialog/off-canvas.css
        misc/dialog/off-canvas.theme.css: css/core/dialog/off-canvas.theme.css
      component:
        misc/dialog/off-canvas.motion.css: css/core/dialog/off-canvas.motion.css
        misc/dialog/off-canvas.button.css: css/core/dialog/off-canvas.button.css
        misc/dialog/off-canvas.form.css: css/core/dialog/off-canvas.form.css
        misc/dialog/off-canvas.table.css: css/core/dialog/off-canvas.table.css
        misc/dialog/off-canvas.details.css: css/core/dialog/off-canvas.details.css
        misc/dialog/off-canvas.tabledrag.css: css/core/dialog/off-canvas.tabledrag.css
        misc/dialog/off-canvas.dropbutton.css: css/core/dialog/off-canvas.dropbutton.css
        misc/dialog/off-canvas.layout.css: css/core/dialog/off-canvas.layout.css

if you have a theme based upon stable, this is causing issues with layout build, and modules like lb_claro.

Steps to reproduce

Proposed resolution

Remaining tasks

User interface changes

API changes

Data model changes

Release notes snippet

๐Ÿ› Bug report
Status

Fixed

Version

10.3 โœจ

Component

Stable 9 theme

Created by

๐Ÿ‡ฆ๐Ÿ‡บAustralia gordon Melbourne

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Merge Requests

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024