| Age | Commit message (Collapse) | Author | Files | Lines |
|
Improve zip-examples.js by only including the assets we need
|
|
package.json: move `version_short` variable under the `config` object
This is so that it works on npm 7.x too.
|
|
Bump copyright year to 2021
|
|
|
|
|
|
When using single-quotes in config.yml, the previous
regular expression in build/generate-cli.js wasn't working correctly,
it was replacing ALL string values with hashes.
Now both double- and single-quotes can be used in config.yml,
and the RegExp will work as expected.
Also, allow trailing whitespaces and empty ("") values to be matched.
Co-authored-by: XhmikosR <[email protected]>
|
|
This commit includes all the needed workarounds and most changes from the main branch for everything to work, like:
* removing empty lines in raw HTML that break output
* read .browserslistrc, CSS variables from disk instead of duplicating it
* using Hugo mounts
* using Hugo for the docs CSS/JS
* move ToC Sass code to a separate file while adapting it for Hugo
Thus, this patch makes our npm scripts faster since lint runs on one step and there's no separate docs assets processing.
|
|
|
|
|
|
|
|
* @rollup/plugin-node-resolve 8.1.0
* popper.js 1.16.1
* qunit 2.10.1
* rollup 2.21.0
|
|
|
|
Update to `@rollup/plugin-babel`
|
|
* remove favicons meta tags
* copy the two brand images we use in the examples
* copy dist and brand images into an assets folder
|
|
|
|
|
|
Co-authored-by: XhmikosR <[email protected]>
|
|
Move babel whitelist helpers to a common file
|
|
Add a script to zip the built examples
|
|
|
|
* sinon 8.x doesn't work with IE, so leave it at 7.x.
|
|
Also add `set -e` so that if a command fails the whole script fails too.
|
|
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
|
|
|
|
|
|
Add `.nuspec` to the extensions list
|
|
|
|
|
|
|
|
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
|
|
|
|
|
|
|
|
|
|
|
|
* SVG accessibility fixes
- add `focusable="false"` to all SVGs, to stop IE from including the `<svg>` in its default focus cycle
- completely hide decorative SVGs using `aria-hidden="true"`
- add `role="img"` to meaningful/"content" SVGs, ensure they have an appropriate `<title>` and/or `aria-label`
- simplify placeholder default title
* Simplify usage of placeholder.svg in the docs
- in most cases, no need for separate/redundant text and title (now that we make text itself part of the alternative text explicitly)
- no need (expect in rare cirumstances) to describe the placeholder image (unless the look of the image is important/the actual content, as is the case with the image thumbnail class)
* Simplify example.html rewriting of <svg> to <img> code sample
- as the `alt` for the placeholder isn't really important, just add an ellipsis instead (otherwise, to be correct, we'd have to construct the whole "title+text" construct like we do now in the
placeholder.svg itself
* Change svgo configuration to retain role attribute and add/force focusable=false
- regarding `focusable=false`, see https://github.com/svg/svgo/issues/1011 (which would be the "proper" SVGO fix) and the (hacky) solution https://github.com/svg/svgo/pull/817
|
|
This reverts commit b442ce3130808dc28fe897f610bef1e9ab9c792f.
|
|
|
|
|
|
|
|
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
|
|
|
|
|
|
|
|
|
|
Also, remove popper.js from this script since it's not present in the repo.
|
|
|
|
We can achieve the same very easily.
|
|
|
|
|