diff --git a/.eslintrc b/.eslintrc index 776e8f1..2e019e3 100644 --- a/.eslintrc +++ b/.eslintrc @@ -10,7 +10,7 @@ "es6": true }, "parserOptions": { - "ecmaVersion": 6, + "ecmaVersion": 2020, "sourceType": "module" }, "rules": { @@ -28,9 +28,5 @@ "semi": false } ] - }, - "globals": { - "jQuery": true, - "wp": true } } \ No newline at end of file diff --git a/examples/accessible-modal/README.md b/examples/accessible-modal/README.md index 89dea0b..6937a8d 100644 --- a/examples/accessible-modal/README.md +++ b/examples/accessible-modal/README.md @@ -3,7 +3,10 @@ In user interface design for computer applications, a modal window is a graphical control element subordinate to an application's main window. * [See accessible specificies](https://www.w3.org/TR/wai-aria-practices-1.1/examples/dialog-modal/dialog.html) -* [Demo](https://codepen.io/beapi/full/mdwOVBm) +* [Demo — Default](https://codepen.io/beapi/full/mdwOVBm) +* [Demo — Close on focus outside](https://codepen.io/beapi/full/oNVbxOy) +* [Demo — Only for < 1024px devices](https://codepen.io/beapi/full/oNVbxVy) +* [Demo — Animated](https://codepen.io/beapi/full/oNVbxVy) ## Getting started @@ -32,7 +35,7 @@ Copy the following markup on your HTML file : ```html -