Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: WICG/focus-visible
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: main
Choose a base ref
...
head repository: userlike/focus-visible
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: main
Choose a head ref
Can’t automatically merge. Don’t worry, you can still create the pull request.
  • 13 commits
  • 75 files changed
  • 1 contributor

Commits on Oct 25, 2022

  1. Copy the full SHA
    c360652 View commit details
  2. Copy the full SHA
    60a59d4 View commit details
  3. 6.0.0-0

    anilanar committed Oct 25, 2022
    Copy the full SHA
    b48f1f3 View commit details
  4. Copy the full SHA
    5c9bc71 View commit details
  5. Copy the full SHA
    185e58f View commit details
  6. Copy the full SHA
    d90656c View commit details
  7. 6.0.0-1

    anilanar committed Oct 25, 2022
    Copy the full SHA
    9a0246a View commit details
  8. Copy the full SHA
    7a28148 View commit details
  9. Copy the full SHA
    1f2274c View commit details
  10. 6.0.0-2

    anilanar committed Oct 25, 2022
    Copy the full SHA
    39ff15f View commit details
  11. Convert to TS

    anilanar committed Oct 25, 2022
    Copy the full SHA
    cb3c485 View commit details
  12. Add dist to eslintignore

    anilanar committed Oct 25, 2022
    Copy the full SHA
    411cbfe View commit details
  13. 6.0.0-3

    anilanar committed Oct 25, 2022
    Copy the full SHA
    551c156 View commit details
Showing with 1,576 additions and 7,947 deletions.
  1. +2 −1 .eslintignore
  2. +7 −6 .eslintrc.js
  3. +4 −0 .husky/pre-commit
  4. +0 −25 .travis.yml
  5. +0 −31 demo/demo.css
  6. +0 −106 demo/index.html
  7. +1,438 −5,753 package-lock.json
  8. +27 −47 package.json
  9. +35 −12 rollup.config.js
  10. +51 −92 src/{focus-visible.js → focus-visible.ts}
  11. +0 −20 test/fixtures/button.html
  12. +0 −39 test/fixtures/change-tabs-always-match.html
  13. +0 −45 test/fixtures/change-tabs-sometimes-match.html
  14. +0 −32 test/fixtures/contenteditable-textbox.html
  15. +0 −32 test/fixtures/contenteditable-true.html
  16. +0 −32 test/fixtures/contenteditable.html
  17. +0 −20 test/fixtures/input-checkbox.html
  18. +0 −20 test/fixtures/input-color.html
  19. +0 −20 test/fixtures/input-date.html
  20. +0 −20 test/fixtures/input-file.html
  21. +0 −20 test/fixtures/input-number.html
  22. +0 −21 test/fixtures/input-radio-group.html
  23. +0 −20 test/fixtures/input-radio.html
  24. +0 −20 test/fixtures/input-range.html
  25. +0 −20 test/fixtures/input-submit.html
  26. +0 −20 test/fixtures/input-text.html
  27. +0 −20 test/fixtures/input-time.html
  28. +0 −21 test/fixtures/pointer-turns-off-keyboard.html
  29. +0 −27 test/fixtures/programmatic-focus-always.html
  30. +0 −36 test/fixtures/programmatic-focus-microtask.html
  31. +0 −26 test/fixtures/programmatic-focus.html
  32. +0 −24 test/fixtures/select-multiple.html
  33. +0 −24 test/fixtures/select-size.html
  34. +0 −24 test/fixtures/select.html
  35. +0 −56 test/fixtures/shadow-dom.html
  36. +0 −26 test/fixtures/svg.html
  37. +0 −26 test/fixtures/tabindex-negative-one.html
  38. +0 −26 test/fixtures/tabindex-one.html
  39. +0 −26 test/fixtures/tabindex-zero.html
  40. +0 −20 test/fixtures/textarea.html
  41. +0 −158 test/index.js
  42. +0 −15 test/specs/button.js
  43. +0 −38 test/specs/change-tabs-always-match.js
  44. +0 −41 test/specs/change-tabs-sometimes-match.js
  45. +0 −31 test/specs/contenteditable-textbox.js
  46. +0 −31 test/specs/contenteditable-true.js
  47. +0 −31 test/specs/contenteditable.js
  48. +0 −61 test/specs/helpers/index.js
  49. +0 −15 test/specs/input-checkbox.js
  50. +0 −17 test/specs/input-color.js
  51. +0 −20 test/specs/input-date.js
  52. +0 −22 test/specs/input-file.js
  53. +0 −15 test/specs/input-number.js
  54. +0 −37 test/specs/input-radio-group.js
  55. +0 −15 test/specs/input-radio.js
  56. +0 −23 test/specs/input-range.js
  57. +0 −15 test/specs/input-submit.js
  58. +0 −15 test/specs/input-text.js
  59. +0 −20 test/specs/input-time.js
  60. +0 −27 test/specs/keydown-always-match.js
  61. +0 −56 test/specs/meta-keys.js
  62. +0 −35 test/specs/pointer-turns-off-keyboard.js
  63. +0 −37 test/specs/programmatic-focus-always.js
  64. +0 −37 test/specs/programmatic-focus-microtask.js
  65. +0 −37 test/specs/programmatic-focus.js
  66. +0 −15 test/specs/select-multiple.js
  67. +0 −15 test/specs/select-size.js
  68. +0 −15 test/specs/select.js
  69. +0 −65 test/specs/shadow-dom.js
  70. +0 −63 test/specs/svg.js
  71. +0 −18 test/specs/tabindex-negative-one.js
  72. +0 −18 test/specs/tabindex-one.js
  73. +0 −18 test/specs/tabindex-zero.js
  74. +0 −15 test/specs/textarea.js
  75. +12 −0 tsconfig.json
3 changes: 2 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
@@ -1,2 +1,3 @@
test
node_modules
dist
.eslintrc.js
13 changes: 7 additions & 6 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -1,11 +1,12 @@
/**
* @type {import("eslint").Linter.Config}
*/
module.exports = {
env: {
browser: true
},
// The only thing we want ESLint to do is yell at us if we accidentally use ES2015+.
// This is because we don't want/need to use Babel in this project.
// We specifically DO NOT want ESLint to try to enforce a style guide on us.
// We use prettier for that.
plugins: ['es5'],
extends: ['plugin:es5/no-es2015', 'plugin:es5/no-es2016', 'prettier']
plugins: ['@typescript-eslint'],
extends: ['prettier'],
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended']
};
4 changes: 4 additions & 0 deletions .husky/pre-commit
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
#!/bin/sh
. "$(dirname "$0")/_/husky.sh"

npm run precommit
25 changes: 0 additions & 25 deletions .travis.yml

This file was deleted.

31 changes: 0 additions & 31 deletions demo/demo.css

This file was deleted.

106 changes: 0 additions & 106 deletions demo/index.html

This file was deleted.

Loading