Loading core/core.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -798,6 +798,7 @@ modernizr: version: "3.11.7" js: assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true } deprecated: The %library_id% asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253 normalize: remote: https://github.com/necolas/normalize.css Loading core/lib/Drupal/Core/Render/theme.api.php +2 −2 Original line number Diff line number Diff line Loading @@ -164,8 +164,8 @@ * $variables['#attached'] @endcode, e.g.: * @code * function THEME_preprocess_menu_local_action(array &$variables) { * // We require Modernizr's touch test for button styling. * $variables['#attached']['library'][] = 'core/modernizr'; * // We require touch events detection for button styling. * $variables['#attached']['library'][] = 'core/drupal.touchevents-test'; * } * @endcode * Loading core/misc/cspell/dictionary.txt +0 −1 Original line number Diff line number Diff line Loading @@ -712,7 +712,6 @@ mocktails mocky moderatable modernizr modernizr's modulenarrow mojito montag Loading core/themes/claro/claro.libraries.yml +4 −6 Original line number Diff line number Diff line Loading @@ -71,12 +71,10 @@ global-styling: # such as inputs, action links, buttons, dropbuttons. For usability and # accessibility reasons, we keep target sizes big enough on touch screen # devices (by not making these elements smaller than their default size). # Modernizr was used for recognizing whether user is using a touch device or # not. This allows conditionally rendering small variation of the control # elements on non-touch devices. Modernizr's touch detection has since been # replaced by core/drupal.touchevents-test. # In some cases, such as when rendering links, it is hard recognize when # this detection should be attached, therefore it is always attached. # This library allows conditionally rendering small variations of the # control elements on non-touch devices. In some cases, such as when # rendering links, it is hard to recognize when this detection should be # attached, therefore it is always attached. - core/drupal.touchevents-test node-form: Loading core/themes/claro/templates/details.html.twig +0 −5 Original line number Diff line number Diff line Loading @@ -19,11 +19,6 @@ * @see claro_preprocess_details() */ #} {# Prefix 'details' class to avoid collision with Modernizr. @todo Remove prefix after https://www.drupal.org/node/2981732 has been solved. #} {% set classes = [ 'claro-details', Loading Loading
core/core.libraries.yml +1 −0 Original line number Diff line number Diff line Loading @@ -798,6 +798,7 @@ modernizr: version: "3.11.7" js: assets/vendor/modernizr/modernizr.min.js: { preprocess: 0, weight: -21, minified: true } deprecated: The %library_id% asset library is deprecated in Drupal 10.1.0 and will be removed in Drupal 11.0.0. See https://www.drupal.org/node/3333253 normalize: remote: https://github.com/necolas/normalize.css Loading
core/lib/Drupal/Core/Render/theme.api.php +2 −2 Original line number Diff line number Diff line Loading @@ -164,8 +164,8 @@ * $variables['#attached'] @endcode, e.g.: * @code * function THEME_preprocess_menu_local_action(array &$variables) { * // We require Modernizr's touch test for button styling. * $variables['#attached']['library'][] = 'core/modernizr'; * // We require touch events detection for button styling. * $variables['#attached']['library'][] = 'core/drupal.touchevents-test'; * } * @endcode * Loading
core/misc/cspell/dictionary.txt +0 −1 Original line number Diff line number Diff line Loading @@ -712,7 +712,6 @@ mocktails mocky moderatable modernizr modernizr's modulenarrow mojito montag Loading
core/themes/claro/claro.libraries.yml +4 −6 Original line number Diff line number Diff line Loading @@ -71,12 +71,10 @@ global-styling: # such as inputs, action links, buttons, dropbuttons. For usability and # accessibility reasons, we keep target sizes big enough on touch screen # devices (by not making these elements smaller than their default size). # Modernizr was used for recognizing whether user is using a touch device or # not. This allows conditionally rendering small variation of the control # elements on non-touch devices. Modernizr's touch detection has since been # replaced by core/drupal.touchevents-test. # In some cases, such as when rendering links, it is hard recognize when # this detection should be attached, therefore it is always attached. # This library allows conditionally rendering small variations of the # control elements on non-touch devices. In some cases, such as when # rendering links, it is hard to recognize when this detection should be # attached, therefore it is always attached. - core/drupal.touchevents-test node-form: Loading
core/themes/claro/templates/details.html.twig +0 −5 Original line number Diff line number Diff line Loading @@ -19,11 +19,6 @@ * @see claro_preprocess_details() */ #} {# Prefix 'details' class to avoid collision with Modernizr. @todo Remove prefix after https://www.drupal.org/node/2981732 has been solved. #} {% set classes = [ 'claro-details', Loading