Граф коммитов

25 Коммитов

Автор SHA1 Сообщение Дата
dependabot[bot] cd349afc27 chore(deps): bump handlebars from 4.1.2 to 4.7.7
Bumps [handlebars](https://github.com/wycats/handlebars.js) from 4.1.2 to 4.7.7.
- [Release notes](https://github.com/wycats/handlebars.js/releases)
- [Changelog](https://github.com/handlebars-lang/handlebars.js/blob/master/release-notes.md)
- [Commits](https://github.com/wycats/handlebars.js/compare/v4.1.2...v4.7.7)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 10:13:31 -07:00
dependabot[bot] 28730c1ac8 chore(deps): bump ssri from 6.0.1 to 6.0.2
Bumps [ssri](https://github.com/npm/ssri) from 6.0.1 to 6.0.2.
- [Release notes](https://github.com/npm/ssri/releases)
- [Changelog](https://github.com/npm/ssri/blob/v6.0.2/CHANGELOG.md)
- [Commits](https://github.com/npm/ssri/compare/v6.0.1...v6.0.2)

Signed-off-by: dependabot[bot] <support@github.com>
2021-04-19 10:11:15 -07:00
Connor Peet c5ffc4d017
1.1.0 2019-06-10 10:19:54 -07:00
Connor Peet 489694c9b0
docs: add benchmarks, autofocus docs 2019-06-10 10:17:10 -07:00
Connor Peet edc3e724fe
docs: add readme 2019-06-09 22:39:34 -07:00
Connor Peet 4cc229761b docs: add more docs about options, form demo 2019-06-09 22:38:08 -07:00
Connor Peet e964f7ff0d
docs: initial works on formalized docs page 2019-06-09 18:46:55 -07:00
Connor Peet 5efb2f6889 v1.0.2 2019-04-22 17:10:49 -07:00
Connor Peet 07fd13ed64 fix: preserve const enums for non-typesafe consumers 2019-04-22 17:08:30 -07:00
Connor Peet f7427e7d82 refactor: moderize slightly, expose a non-HOC arc scope 2019-04-22 17:07:21 -07:00
Connor Peet f2366d0297
1.0.1 2019-04-22 10:54:36 -07:00
Connor Peet 5bab7275b7
fix: update package-lock 2019-04-22 10:54:28 -07:00
Connor Peet df8dadb3e7
fix: publish declarations 2019-04-22 10:48:45 -07:00
Connor Peet 12837d48b0 chore: prep for publish 2019-04-19 18:31:34 -07:00
Connor Peet 15e41f959c feat(scrolling): optimize algorithm, make it pluggable
I noticed the rescroll was implement in a way designed to be agnostic to
arcade-machine. However this induces a very great cost to performance. Instead,
I introduce a new component and ArcScrollable HOC. arcade-machine will only
attempt to rescroll these marked containers. I also noticed that we were running
the full rescroll algorithm, even if the element being scrolled to was already
on the screen! Fixing these leads to substantial speed improvements,
particularly in the deeply-nested case.

Overall this pplies the same treatment to scrolling as has been applied
elsewhere in the project. The scrolling algorithm is now a dependency-injected
class. We also try to use the browser's native scrollTo with `smooth` behavior
if possible, rather than animating scroll ourselves. Overall this leads to a
5-6x performance improvement in the deeply nested benchmark cases.
2018-07-26 14:20:57 -07:00
Connor Peet b645e809d0 feat: implement virtual focus store, benchmarks 2018-07-26 14:20:57 -07:00
Connor Peet 162e9c0571 fixup! use faster method for determining element visibility 2018-07-26 14:20:57 -07:00
Connor Peet bce4df1b47 refactor(focus): split focusing out to components, more flexibility
This is a general refactor around the focus service. Previously, a lot
of the focusing logic was within the focus service, and there were special
casing around arc-focus-inside and arc-exclude*.

This PR breaks the focus strategies out to their own classes, who implement
the IFocusStrategy interface. Focusing is done via a FocusContext instantiated
by the FocusService, which encapsulates the logic for getting the next
focusable element for the current navigation. The really cool thing this
lets us do is actually pass that context down through the ArcEvent, so now
focus exclusions and arc-focus-inside logic can be handled entirely generically
by components who register themselves into the focus store. This method also
makes exclusion much more efficient now.
2018-07-26 14:20:57 -07:00
Connor Peet 966da1c0e0 feat: move to karma for true browser testing 2018-07-26 14:20:57 -07:00
Connor Peet 784c132877 feat: add tests via travis 2018-07-26 14:20:57 -07:00
Connor Peet e9df4473dd refactor(input-service): make it more pluggable and separated 2018-07-26 14:20:57 -07:00
Connor Peet 0bca1d7d75 feat: implement focus traps and focus areas 2018-07-26 14:20:57 -07:00
Isaac Brown 1d947174f7
Merge pull request #1 from mixer/init
feat: initial import of arcade-machine logic
2018-07-17 07:52:58 -07:00
Connor Peet b63c4adf58
feat: initial import of arcade-machine logic 2018-07-11 14:25:20 -07:00
Connor Peet 07d9511ea4
init 2018-07-11 13:10:21 -07:00