Loading core/core.libraries.yml +15 −0 Original line number Diff line number Diff line Loading @@ -632,6 +632,21 @@ drupal.htmx: theme_token: null ajaxTrustedUrl: {} drupal.item-list: version: VERSION css: component: misc/components/item-list.module.css: { weight: -10 } moved_files: system/base: deprecation_version: 11.3.0 removed_version: 12.0.0 deprecation_link: https://www.drupal.org/node/3530832 css: component: css/components/item-list.module.css: base: misc/components/item-list.module.css drupal.machine-name: version: VERSION js: Loading core/includes/theme.inc +1 −0 Original line number Diff line number Diff line Loading @@ -803,6 +803,7 @@ function template_preprocess_table(&$variables): void { */ function template_preprocess_item_list(&$variables): void { $variables['wrapper_attributes'] = new Attribute($variables['wrapper_attributes']); $variables['#attached']['library'][] = 'core/drupal.item-list'; foreach ($variables['items'] as &$item) { $attributes = []; // If the item value is an array, then it is a render array. Loading core/modules/system/css/components/item-list.module.css→core/misc/components/item-list.module.css +0 −0 File moved. View file core/modules/system/system.libraries.yml +0 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ base: css/components/container-inline.module.css: { weight: -10 } css/components/clearfix.module.css: { weight: -10 } css/components/hidden.module.css: { weight: -10 } css/components/item-list.module.css: { weight: -10 } css/components/js.module.css: { weight: -10 } css/components/reset-appearance.module.css: { weight: -10 } Loading core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function testFrontAndRecipesPages(): void { 'ScriptCount' => 1, 'ScriptBytes' => 11700, 'StylesheetCount' => 6, 'StylesheetBytes' => 119250, 'StylesheetBytes' => 118700, ]; $this->assertMetrics($expected, $performance_data); } Loading @@ -50,7 +50,7 @@ public function testFrontAndRecipesPagesAuthenticated(): void { 'ScriptCount' => 3, 'ScriptBytes' => 170500, 'StylesheetCount' => 5, 'StylesheetBytes' => 85600, 'StylesheetBytes' => 85000, ]; $this->assertMetrics($expected, $performance_data); } Loading @@ -71,7 +71,7 @@ public function testFrontAndRecipesPagesEditor(): void { 'ScriptCount' => 5, 'ScriptBytes' => 335637, 'StylesheetCount' => 5, 'StylesheetBytes' => 205700, 'StylesheetBytes' => 205100, ]; $this->assertMetrics($expected, $performance_data); } Loading Loading
core/core.libraries.yml +15 −0 Original line number Diff line number Diff line Loading @@ -632,6 +632,21 @@ drupal.htmx: theme_token: null ajaxTrustedUrl: {} drupal.item-list: version: VERSION css: component: misc/components/item-list.module.css: { weight: -10 } moved_files: system/base: deprecation_version: 11.3.0 removed_version: 12.0.0 deprecation_link: https://www.drupal.org/node/3530832 css: component: css/components/item-list.module.css: base: misc/components/item-list.module.css drupal.machine-name: version: VERSION js: Loading
core/includes/theme.inc +1 −0 Original line number Diff line number Diff line Loading @@ -803,6 +803,7 @@ function template_preprocess_table(&$variables): void { */ function template_preprocess_item_list(&$variables): void { $variables['wrapper_attributes'] = new Attribute($variables['wrapper_attributes']); $variables['#attached']['library'][] = 'core/drupal.item-list'; foreach ($variables['items'] as &$item) { $attributes = []; // If the item value is an array, then it is a render array. Loading
core/modules/system/css/components/item-list.module.css→core/misc/components/item-list.module.css +0 −0 File moved. View file
core/modules/system/system.libraries.yml +0 −1 Original line number Diff line number Diff line Loading @@ -7,7 +7,6 @@ base: css/components/container-inline.module.css: { weight: -10 } css/components/clearfix.module.css: { weight: -10 } css/components/hidden.module.css: { weight: -10 } css/components/item-list.module.css: { weight: -10 } css/components/js.module.css: { weight: -10 } css/components/reset-appearance.module.css: { weight: -10 } Loading
core/profiles/demo_umami/tests/src/FunctionalJavascript/AssetAggregationAcrossPagesTest.php +3 −3 Original line number Diff line number Diff line Loading @@ -30,7 +30,7 @@ public function testFrontAndRecipesPages(): void { 'ScriptCount' => 1, 'ScriptBytes' => 11700, 'StylesheetCount' => 6, 'StylesheetBytes' => 119250, 'StylesheetBytes' => 118700, ]; $this->assertMetrics($expected, $performance_data); } Loading @@ -50,7 +50,7 @@ public function testFrontAndRecipesPagesAuthenticated(): void { 'ScriptCount' => 3, 'ScriptBytes' => 170500, 'StylesheetCount' => 5, 'StylesheetBytes' => 85600, 'StylesheetBytes' => 85000, ]; $this->assertMetrics($expected, $performance_data); } Loading @@ -71,7 +71,7 @@ public function testFrontAndRecipesPagesEditor(): void { 'ScriptCount' => 5, 'ScriptBytes' => 335637, 'StylesheetCount' => 5, 'StylesheetBytes' => 205700, 'StylesheetBytes' => 205100, ]; $this->assertMetrics($expected, $performance_data); } Loading