Verified Commit aa373a88 authored by Alex Pott's avatar Alex Pott
Browse files

Issue #3239980 by longwave, lauriii, kostyashupenko, xjm, catch, bnjmnm, nod_,...

Issue #3239980 by longwave, lauriii, kostyashupenko, xjm, catch, bnjmnm, nod_, bbrala: Deprecate Modernizr
parent 3385a407
Loading
Loading
Loading
Loading
+1 −0
Original line number Diff line number Diff line
@@ -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
+2 −2
Original line number Diff line number Diff line
@@ -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
 *
+0 −1
Original line number Diff line number Diff line
@@ -712,7 +712,6 @@ mocktails
mocky
moderatable
modernizr
modernizr's
modulenarrow
mojito
montag
+4 −6
Original line number Diff line number Diff line
@@ -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:
+0 −5
Original line number Diff line number Diff line
@@ -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