Commit 1d51cfbf authored by Vladimir Roudakov's avatar Vladimir Roudakov Committed by Vladimir Roudakov
Browse files

Issue #3300612 by VladimirAus: Upgrade bootstrap to v4.6.2

parent 8492f0a5
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -10,7 +10,7 @@ and recompile css!)

## FEATURES

* Bootstrap 4 library (4.6.1) included
* Bootstrap 4 library (4.6.2) included
* Bootstrap 4 style guide (view all Bootstrap 4 components on one page)
* Bootstrap 4 breakpoints
* Bootstrap 4 integration with CKEditor
@@ -47,7 +47,7 @@ Subtheme can be created via UI interface in theme settings (`Appearance` menu).
- Install development dependencies by running `npm install`
- To lint SASS files run `npm run lint:sass` (it will fail build if lint fails)
- To lint JS files run `npm run lint:js` (it will fail build if lint fails)
- To compile SASS (for Bootstrap 4.6.1) run `sass scss/style.scss css/style.css` (requires [SASS compiler](https://sass-lang.com/install))
- To compile SASS (for Bootstrap 4.6.2) run `sass scss/style.scss css/style.css` (requires [SASS compiler](https://sass-lang.com/install))
- To compile JS: run `npm run build:js`
- optional: create symlink from bootstrap4 repo folder to a local Drupal installation to simplify development `ln -s /path/to/bootstrap4 /path/to/local-drupal-site/web/themes/contrib`

+2 −2
Original line number Diff line number Diff line
bootstrap4-js-latest:
  version: 4.6.1
  version: 4.6.2
  js:
    dist/bootstrap/4.6.1/dist/js/bootstrap.bundle.js: { minified: true }
    dist/bootstrap/4.6.2/dist/js/bootstrap.bundle.js: { minified: true }
  dependencies:
    - core/jquery

+27 −763

File changed.

Preview size limit exceeded, changes collapsed.

+1 −1

File changed.

Preview size limit exceeded, changes collapsed.

+0 −60
Original line number Diff line number Diff line
# Usage:
# install svgo globally: `npm i -g svgo`
# svgo --config=build/svgo.yml --input=foo.svg

# https://github.com/svg/svgo/blob/master/docs/how-it-works/en.md
# replace default config

multipass: true
#full: true

# https://github.com/svg/svgo/blob/master/lib/svgo/js2svg.js#L6 for more config options

js2svg:
  pretty: true
  indent: 2

plugins:
  # remove this with IE 11 is no longer supported
  - addAttributesToSVGElement:
      attributes:
        - focusable: false
  - cleanupAttrs: true
  - cleanupEnableBackground: true
  - cleanupIDs: true
  - cleanupListOfValues: true
  - cleanupNumericValues: true
  - collapseGroups: true
  - convertColors: true
  - convertPathData: true
  - convertShapeToPath: true
  - convertStyleToAttrs: true
  - convertTransform: true
  - inlineStyles: true
  - mergePaths: true
  - minifyStyles: true
  - moveElemsAttrsToGroup: true
  - moveGroupAttrsToElems: true
  - removeAttrs:
      attrs:
        - "data-name"
  - removeComments: true
  - removeDesc: true
  - removeDoctype: true
  - removeEditorsNSData: true
  - removeEmptyAttrs: true
  - removeEmptyContainers: true
  - removeEmptyText: true
  - removeHiddenElems: true
  - removeMetadata: true
  - removeNonInheritableGroupAttrs: true
  - removeTitle: false
  - removeUnknownsAndDefaults:
      keepRoleAttr: true
  - removeUnusedNS: true
  - removeUselessDefs: true
  - removeUselessStrokeAndFill: true
  - removeViewBox: false
  - removeXMLNS: false
  - removeXMLProcInst: true
  - sortAttrs: true
Loading