XhmikosR
1cdbf532af
Improve zip-examples.js ( #32469 )
...
Only include the needed dist files: ~1.27 MB -> ~410 KB
2021-01-13 19:21:31 +02:00
XhmikosR
7e6d7b8f81
package.json: move `version_short` variable under the `config` object ( #32737 )
...
This is so that it works on npm 7.x too.
2021-01-10 08:03:49 +02:00
XhmikosR
f2c504397e
Bump copyright year to 2021 ( #32713 )
2021-01-07 12:12:53 +02:00
XhmikosR
5538ffb292
build-plugins: switch to "bundled" for babel helpers ( #32312 )
2020-12-07 19:06:17 +02:00
Johann-S
adfdf7160b
Update to popper.js v2.x
2020-12-06 18:42:40 +02:00
XhmikosR
eb618393e3
Move rtlcss to postcss.config.js
2020-12-04 07:52:03 +02:00
Gaël Poupard
71ecc3323f
chore(RTL): add RTLCSS
2020-12-04 07:52:03 +02:00
XhmikosR
cfd00b5eeb
Remove Polyfill leftovers ( #32310 )
...
Leftovers from #32057
2020-12-02 08:30:35 +02:00
XhmikosR
ee2bcdec3d
postcss.config.js: remove arrow return ( #32235 )
2020-11-23 16:11:16 +02:00
Noah Rosenzweig
21737ed530
Improve build/generate-sri.js regex ( #29753 )
...
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 <xhmikosr@gmail.com>
2020-11-21 21:39:33 +02:00
XhmikosR
6d7bc54d22
Switch to `Set#has()`
2020-11-14 15:54:50 +02:00
XhmikosR
13572a6867
Remove the now unneeded polyfills.
2020-11-05 15:37:34 +02:00
XhmikosR
ea5d555139
Fix the remaining instances using the old logos.
2020-09-10 11:56:02 +03:00
XhmikosR
bd72dfc41d
Update to `@rollup/plugin-node-resolve` v8.1.0. ( #31249 )
2020-07-07 10:23:11 +03:00
Patrick H. Lauke
edbcc401c2
Change whitelist to allowlist ( #31066 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
Co-authored-by: Mark Otto <markd.otto@gmail.com>
2020-06-19 11:31:37 +03:00
XhmikosR
c28934cb18
Rename "master" to "main". ( #31050 )
2020-06-16 21:41:47 +03:00
XhmikosR
340236cbe4
Update to `@rollup/plugin-babel` ( #30742 )
2020-05-26 06:14:12 +03:00
XhmikosR
bf06347020
Improve build/zip-examples.js ( #30759 )
...
* remove favicons meta tags
* copy the two brand images we use in the examples
* opy dist and brand images into an assets folder
2020-05-11 18:01:18 +03:00
Johann-S
d1575b6b6b
ensure build plugins can exit in error ( #30744 )
...
Co-authored-by: XhmikosR <xhmikosr@gmail.com>
2020-05-06 07:52:06 +03:00
XhmikosR
515bdd4ce6
build-plugins.js: add missing shebang ( #30743 )
2020-05-05 21:20:44 +03:00
XhmikosR
db80eb96fa
Move babel whitelist helpers to a common file ( #30723 )
2020-05-04 20:08:28 +03:00
XhmikosR
89822cfa05
build/build-plugins.js: add missing catch ( #30722 )
2020-05-04 19:54:49 +03:00
XhmikosR
37f2c04c5f
Clean up lint rules ( #30721 )
...
* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
2020-05-04 19:32:09 +03:00
XhmikosR
df88748eb7
Add a script to zip the built examples ( #30130 )
2020-04-29 21:03:26 +03:00
XhmikosR
2c86fdb254
Adapt rollup config for recent `@babel/present-env` version
2020-03-25 22:32:37 +02:00
XhmikosR
018a94c9c1
Remove Internet Explorer leftovers
2020-03-18 20:59:27 +02:00
XhmikosR
8abccff7b3
build/ship.sh: shellcheck fixes. ( #30197 )
...
Also add `set -e` so that if a command fails the whole script fails too.
2020-03-05 17:06:18 +02:00
XhmikosR
e7bedac3db
change-version.js: Remove nuspec files ( #30161 )
...
The version in the nuspec files is updated automatically from package.json through MyGet.ps1
2020-02-13 14:37:25 +02:00
XhmikosR
cef9b4e2ee
Change file permissions to 644. ( #30106 )
2020-02-05 10:24:09 +02:00
XhmikosR
5d1da6377d
Fix the new lint errors.
2020-01-07 22:25:50 +02:00
XhmikosR
9c2b9ac74d
Use regex.test() when we want to check for a Boolean. ( #29969 )
2020-01-07 22:07:51 +02:00
XhmikosR
7b990eb2f4
Bump copyright year to 2020. ( #29944 )
2020-01-02 11:34:48 +02:00
XhmikosR
f153748f52
Switch to @rollup/plugin-node-resolve ( #29851 )
2019-12-25 21:36:22 +02:00
XhmikosR
82d8dae7e7
Update change-version.js ( #29736 )
...
Add `.nuspec` to the extensions list
2019-11-26 09:00:21 +02:00
Pawel Wolak
b3dfcdc7ed
Enable eslint no-console rule except for build directory ( #29585 )
2019-10-25 12:25:30 +03:00
Johann-S
3d12b541c4
return to the original file structure to avoid breaking modularity
2019-10-03 09:55:57 +02:00
XhmikosR
66e9ab3e4d
change-version.js: Add _gh_pages folder in ignores. ( #29270 )
2019-08-19 09:37:40 +03:00
XhmikosR
6335fbe224
Use US locale consistently. ( #29255 )
2019-08-16 13:20:26 +03:00
Martijn Cuppens
855d763ae5
Reboot updates
...
- Remove unsupported browsers fixes
- More consistent comment blocks
- Reorganise order of some blocks
- Add height fix for date/month/week/time inputs (#18842 )
- Remove redundant type selectors
- Additional resets and theming options for `legend`
- Add date & color inputs to reboot page
- Use the same borders for text search, text inputs, textareas and date inputs
- Move code styling to reboot
2019-07-25 19:26:27 +02:00
Johann-S
233f3fb1ce
rewrite tab unit tests
2019-07-23 14:23:50 +02:00
Johann-S
b7b56cb10a
rewrite scrollspy unit tests
2019-07-23 14:23:50 +02:00
Johann-S
85b70cef3c
rewrite tooltip unit tests
2019-07-23 14:23:50 +02:00
Johann-S
c9e650a56f
rewrite popover unit tests
2019-07-23 14:23:50 +02:00
Johann-S
1ac07a66ce
rewrite modal unit tests
2019-07-23 14:23:50 +02:00
Anton Bershanskiy
e916a9bc03
rewrite toast unit tests
2019-07-23 14:23:50 +02:00
Johann-S
6a59c58480
rewrite dropdown unit tests
2019-07-23 14:23:50 +02:00
Johann-S
0ed1618c06
rewrite collapse unit tests
2019-07-23 14:23:50 +02:00
Johann-S
62730d9afd
rewrite carousel unit tests
2019-07-23 14:23:50 +02:00
Johann-S
891a187059
rewrite button unit tests
2019-07-23 14:23:50 +02:00
Johann-S
c8c2074650
Switch from QUnit to Jasmine.
2019-07-23 14:23:50 +02:00
XhmikosR
ae0baff087
Update svgo.yml. ( #29089 )
2019-07-22 11:00:09 +03:00
Johann-S
18077460aa
updated babel
2019-07-17 15:03:32 +03:00
Johann-S
92c45a19a5
separate file for our polyfills to have lighter plugins
2019-07-10 10:40:52 +02:00
XhmikosR
1ce7960c6c
vnu.jar: Update ignores. ( #28817 )
...
Pass the `--no-langdetect` flag instead of ignoring the warning manually.
2019-05-24 13:19:13 +03:00
XhmikosR
438e01b61c
Rename `eventHandler` and `selectorEngine` files.
2019-05-08 17:26:37 +03:00
Johann-S
dda31bbee6
improve build plugin script to keep file name
2019-05-08 17:26:37 +03:00
Johann-S
09a70e3717
remove custom browserlist for our esm build ( #28642 )
2019-04-15 11:40:48 +03:00
Johann-S
08679ac0b5
Add back support for IE 11
2019-03-18 01:11:05 +02:00
XhmikosR
d95d30029f
Switch to Hugo.
...
No more Ruby dependency and most important more than 10 times less build time (at least on Windows)!
2019-03-13 19:22:59 +02:00
Johann-S
c2b05dd7b5
use specific browserlist for esm build
2019-03-11 17:59:08 +02:00
XhmikosR
e8684b55b8
Tweak rollup.config.js
2019-03-11 17:59:08 +02:00
Johann-S
2fd50f98a5
build bootstrap in esm
2019-03-11 17:59:08 +02:00
XhmikosR
46c037410b
Comply to the new rules.
2019-03-11 17:01:28 +02:00
XhmikosR
44e6abcba5
Switch to eslint-config-xo and eslint-plugin-unicorn.
2019-03-11 17:01:28 +02:00
Johann-S
8a37045b79
move util in a util folder with the sanitizer
2019-02-26 13:04:04 +02:00
XhmikosR
2b8eebb4b8
Remove `focusable="false"` from SVGs.
2019-02-20 22:05:45 +02:00
XhmikosR
7f7f858cb9
Remove jQuery from docs/repo.
...
Some of the snippets need to be updated later.
2019-02-20 22:05:45 +02:00
Johann-S
661db08eeb
rewrite toast plugin without jquery
2019-02-20 22:05:45 +02:00
Johann-S
a2f1d79045
Refactor util plugin and some tests
2019-02-20 22:05:45 +02:00
Johann-S
c44db783bf
chore(update): bump to 4.1.3
2019-02-20 22:05:45 +02:00
Johann-S
83cea3bafa
fix(build): remove jquery in our build
2019-02-20 22:05:45 +02:00
XhmikosR
9baf8537a7
Replace `v4-dev` with `master` after the branch change. ( #28272 )
2019-02-15 11:58:41 +02:00
XhmikosR
a93c71832b
generate-sri.js: move object.
2019-01-29 17:21:11 +02:00
XhmikosR
f11f56558b
Bump copyright year to 2019.
2019-01-08 21:23:50 +02:00
XhmikosR
db31ee1ea2
Remove the unused gcp-key.json.enc file.
2018-12-14 00:54:20 +02:00
XhmikosR
a074cb66d7
Make use of the package.json `version_short` property more.
2018-12-14 00:34:38 +02:00
Patrick H. Lauke
c031584bcd
SVG accessibility fixes ( #27826 )
...
* 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
2018-12-13 13:09:47 +00:00
XhmikosR
05dfae3146
Revert "build/*.js: set `sourceType` to module."
...
This reverts commit b442ce3130 .
2018-11-28 14:33:29 +02:00
XhmikosR
72bd3f5930
ship.sh: add missing period.
2018-11-25 14:50:32 +02:00
XhmikosR
2b9af5e38c
Remove holder.js.
2018-11-20 21:31:28 +02:00
Johann-S
16cf76ff1a
Create toast JS plugin, add unit tests.
2018-11-13 08:47:32 +02:00
XhmikosR
e3abb8e4dd
Remove htmllint. ( #27603 )
...
We use the official HTML validator for HTML validation, and we don't really use any of the htmllint features.
2018-11-05 18:42:05 +02:00
Mark Otto
5bf37eba53
Remove service worker
2018-10-20 16:00:28 +03:00
Johann-S
c08652cfe8
swipe left/right without hammerjs
2018-10-20 15:32:09 +03:00
Johann-S
caefd70463
Add touch support in our carousel with HammerJS.
2018-10-20 15:32:09 +03:00
XhmikosR
bcbf3f2ec6
build/generate-sri.js: add popperjs.
2018-10-14 08:17:40 +03:00
XhmikosR
449979decf
docs: fix bundle SRI hash.
...
Also, remove popper.js from this script since it's not present in the repo.
2018-10-14 08:17:40 +03:00
XhmikosR
4ce091b87f
Add a release npm script.
2018-10-14 07:51:40 +03:00
XhmikosR
3fcddfa42e
Remove sri-toolbox dependency.
...
We can achieve the same very easily.
2018-10-14 07:41:45 +03:00
XhmikosR
19f70f9d4c
Tweak build/build-plugins.js.
2018-09-26 17:04:33 +03:00
XhmikosR
02c4444f6c
Remove unneeded `path.resolve`.
2018-09-26 15:53:44 +03:00
XhmikosR
59197765f4
Include the plugin's filename in the license header.
2018-09-26 15:53:44 +03:00
Helmut Granda
ebc220754b
Add license headers in js/dist files
...
By implementing the same approach of rollup.config.js
and replicate it in build-plugins.js, individual plugins
will display license headers.
2018-09-26 15:53:44 +03:00
XhmikosR
47107d4647
Switch to find-unused-sass-variables for finding unused Sass variables.
2018-09-17 19:34:15 +03:00
XhmikosR
8bfecc7dc6
Update svgo.yml.
2018-09-16 18:06:24 +03:00
Johann-S
54d86e6249
move away from sauce labs to browserstack
2018-08-30 22:17:15 +02:00
XhmikosR
2f5f8ef755
build-plugins.js: Remove redundant space
2018-08-29 15:51:21 +03:00
XhmikosR
b442ce3130
build/*.js: set `sourceType` to module.
2018-08-12 22:22:12 +03:00
XhmikosR
ae53690ab4
Commit our svgo config.
2018-08-02 19:17:18 +03:00
Johann-S
eb81c39f2c
feat(plugins): allow to import separate plugins
2018-07-19 19:59:45 +02:00