Commit Graph

1188 Commits (039972c730690af7a83a5cb832056a7cc8b565d7)

Author SHA1 Message Date
Hakim El Hattab ba0b367ed9 remove nuking of hash changes when hash is disabled 2020-05-08 20:53:10 +02:00
Hakim El Hattab 772fa0308d make it possible to disable hash change listener with respondToHashChanges: false 2020-05-08 20:49:06 +02:00
Hakim El Hattab 3a032a836a fix auto-animate bug on centered slides 2020-05-08 20:33:28 +02:00
Hakim El Hattab a0a1ae193f dont prevent page scrolling when swiping on embedded decks 2020-05-08 20:12:52 +02:00
Hakim El Hattab cca2a3cdf3 fix print pdf scope exception 2020-05-06 22:04:01 +02:00
Hakim El Hattab b7f480c908 fix fullscreen for embedded decks 2020-05-05 20:54:40 +02:00
Hakim El Hattab c4870362d9 slide data-state is now set at the viewport level, add Reveal.getViewportElement() 2020-05-04 14:33:21 +02:00
Hakim El Hattab f2fbc59bcc fix auto-animate error and spec 2020-04-29 11:39:45 +02:00
Hakim El Hattab b84888214b fix auto-animate bug on devices with < 2 devicePixelRatio 2020-04-29 10:00:25 +02:00
Hakim El Hattab 48ebc3b7e0 remove unused dependency, disable inconsistent 'slidetransitionend' test 2020-04-27 11:44:33 +02:00
Hakim El Hattab 210fbb7646 plugins can be direct references or factory functions 2020-04-23 09:39:26 +02:00
Hakim El Hattab f138f507a0 fix contenteditable check #2650 2020-04-22 11:59:23 +02:00
Hakim El Hattab 9823be99f4 fragments are now included in URL by default, even on named slides 2020-04-22 11:11:14 +02:00
Hakim El Hattab d727509dbc viewport tweaks, allow options to be passed when initializing 2020-04-22 08:59:21 +02:00
Hakim El Hattab faaa791019 backwards compatibility, reveal.js 4.0 can now register ~3.9 plugins 2020-04-21 13:34:40 +02:00
Hakim El Hattab 8c52b32a18 add transitionend event and docs 2020-04-21 10:54:00 +02:00
Hakim El Hattab 91953207a5 simplify plugin controller 2020-04-21 09:50:19 +02:00
Hakim El Hattab d22c7bfad1 tidying up 2020-04-21 09:36:43 +02:00
Hakim El Hattab 6ff28af1b3 separate public/internal reveal.js apis 2020-04-20 09:16:08 +02:00
Hakim El Hattab e58502b3fb tweak plugin initialization to enable multi-instance plugins 2020-04-17 14:10:56 +02:00
Hakim El Hattab 4f6bdf1420 two js bundles; reveal.js (es6) and reveal.es5.js, add source maps 2020-04-17 10:59:55 +02:00
Hakim El Hattab d9690462e0 add 'plugins' config option, new way of registering es5 plugins 2020-04-17 09:47:03 +02:00
Hakim El Hattab 08f29f08a2 initialize plugins serially 2020-04-16 16:40:46 +02:00
Hakim El Hattab 7b151c2320 support including plugins via <script> instead of dependencies 2020-04-16 15:45:25 +02:00
Hakim El Hattab d03fc04f61 allow reveal.js instances to be created with only options 2020-04-15 10:30:49 +02:00
Hakim El Hattab a55cd813be convert plugins to ES modules, transpile es5 versions backwards compatibility 2020-04-15 10:23:51 +02:00
Hakim El Hattab 9522357349 changes to plugin api; registerPlugin only accepts plugin instance, instance exposes .id 2020-04-08 13:05:28 +02:00
Hakim El Hattab 2e8619d300 remove unused variable, update multi-instance example in readme 2020-04-08 11:46:46 +02:00
Hakim El Hattab 6030043036 move pointer logic out to own controller 2020-04-07 13:25:46 +02:00
Hakim El Hattab 1081bbfc03 improvements to legacy API 2020-04-07 09:40:11 +02:00
Hakim El Hattab 855cc82d76 Reveal.add/remveEventListener -> Reveal.on/off 2020-04-07 09:05:56 +02:00
Hakim El Hattab f24620018f don't style html element if reveal.js is embedded 2020-04-06 14:35:48 +02:00
Hakim El Hattab ff62b96a5d move body styles to new .reveal-viewport 2020-04-06 13:49:39 +02:00
Hakim El Hattab 9ebf6249e7 tweaks and comments 2020-04-06 10:39:48 +02:00
Hakim El Hattab e4faf54804 move history api feature detection to utils 2020-03-31 13:09:44 +02:00
Hakim El Hattab dbbd82579e fix unit tests, use qunit-puppeteer for es6 support 2020-03-31 13:06:58 +02:00
Hakim El Hattab fe75be1cff fix issue where slide transitions were still running for auto-animated slides in Safari 2020-03-30 13:29:52 +02:00
Hakim El Hattab 34ab7ded55 only carry forward fragment visibiltiy if style remains unchanged 2020-03-19 16:27:42 +01:00
Hakim El Hattab 4d1cb43faf auto-animate; carry forward fragment visibility, unmatched elements adhere to duration/delay attributes 2020-03-19 15:18:14 +01:00
Hakim El Hattab 376b8230bb unmatched auto-aniamte elements now adhere to element-level duration/delay attributes 2020-03-17 19:38:26 +01:00
Hakim El Hattab 2540712714 switch old toArray helper to Array.from 2020-03-16 15:18:47 +01:00
Hakim El Hattab 6ff4e9306c move progress bar to new module 2020-03-16 14:30:36 +01:00
Hakim El Hattab c50ec00419 new controls module for navigation arrows 2020-03-16 13:53:23 +01:00
Hakim El Hattab 2a06e0d1e5 create background element from bg controller 2020-03-16 13:10:50 +01:00
Hakim El Hattab 97ee72549b new controller for speaker notes 2020-03-16 11:45:47 +01:00
Hakim El Hattab 2b02f3a1f9 reduce comments related to controller initialization 2020-03-15 20:22:04 +01:00
Hakim El Hattab f7c29b788e move slide backgrounds to new module 2020-03-14 09:25:48 +01:00
Hakim El Hattab b42bb586a8 new controller for pdf printing 2020-03-14 08:27:29 +01:00
Hakim El Hattab 8709a41979 only announce current fragment to screen readers 2020-03-13 08:58:59 +01:00
Hakim El Hattab 92e3a3680c Merge branch 'dev_repackagePrintStyleSheets' of https://github.com/quilicicf/reveal.js into dev 2020-03-12 19:20:15 +01:00
Hakim El Hattab 4f280f77b0 update logic for disabling fragments via config option 2020-03-12 19:11:19 +01:00
Hakim El Hattab bff9bfb101 add support for automatically scrolling code highlights into view 2020-03-12 17:08:20 +01:00
quilicicf ffac5fe696
Remove accessible slide status when printing to PDF 2020-03-12 16:14:14 +01:00
quilicicf 6564950c28
Hide the status element off-screen to avoid additional page in PDF print 2020-03-12 13:04:15 +01:00
quilicicf 499dc68536
Package paper and pdf style sheets and apply them conditionally 2020-03-11 13:10:06 +01:00
Hakim El Hattab 5a5a5c9a6c break touch interaction into own module 2020-03-11 08:13:53 +01:00
Hakim El Hattab e32f38740c move read/write url to location controller 2020-03-10 21:30:39 +01:00
Hakim El Hattab 3683ad255d add slidenumber & location controllers 2020-03-10 21:08:11 +01:00
Hakim El Hattab ac15678dea refactoring 2020-03-10 20:40:35 +01:00
Hakim El Hattab 3d6212378a new keyboard module 2020-03-10 20:28:56 +01:00
Hakim El Hattab ddbe06eb7e adjustments to reveal.js initialization flow 2020-03-10 18:37:40 +01:00
Hakim El Hattab 9336fc11ca correction for reveal api 2020-03-10 15:26:40 +01:00
Hakim El Hattab 5d179ed4c2
Merge pull request #2631 from christian-classics-ethereal-library/squarePresentationLinear
Navigation Arrows: Fix visibility bug in linear navigation mode
2020-03-10 10:40:18 +01:00
Hakim El Hattab 9a2160536d tweaks and updated docs for #2627 2020-03-10 10:18:37 +01:00
Hakim El Hattab 4ff79dbc9d
Merge branch 'dev' into dev_importBundledPlugins 2020-03-10 10:01:14 +01:00
Hakim El Hattab cce59072dc fix controller api methods 2020-03-09 21:04:31 +01:00
Hakim El Hattab cd78bbd48d move overview to new module 2020-03-09 20:57:25 +01:00
Hakim El Hattab 75ef44ca69 statusDiv -> statusElement 2020-03-09 18:57:49 +01:00
Hakim El Hattab 8a43753000 move fragments to separate controller 2020-03-09 18:51:07 +01:00
Zach DeCook 0e5a4478d1 * Control Arrows: Fix visibility bug in linear navigation mode 2020-03-09 13:02:03 -04:00
Hakim El Hattab bdedc56d6f comments 2020-03-09 16:01:50 +01:00
Hakim El Hattab d42d88dae4 break autoanimate and loading of slide content into separate controllers 2020-03-09 14:44:57 +01:00
quilicicf d378ab2e63
Add bundler-friendly dependency injection 2020-03-09 13:28:06 +01:00
Hakim El Hattab 3f95a21009 fix markdown example 2020-03-09 09:33:27 +01:00
Hakim El Hattab 49bb498d9d add color, constant and loader modules 2020-03-07 18:48:39 +01:00
Hakim El Hattab d4a030f953 move plugin logic to Plugins controller 2020-03-07 18:22:19 +01:00
Hakim El Hattab 20b8def298 move script loader to utils 2020-03-07 14:18:03 +01:00
Hakim El Hattab f968927bff scope all query selection to .reveal 2020-03-07 14:12:28 +01:00
Hakim El Hattab dd852851ef es6 refactoring 2020-03-07 11:58:18 +01:00
Hakim El Hattab 4cfd254086 move out additional util methods, use shorthands for api 2020-03-07 11:50:58 +01:00
Hakim El Hattab 313ad46e30 move default config to separate module 2020-03-07 11:00:06 +01:00
Hakim El Hattab bf45578ba1 reveal.js can now be instantiated with new Reveal(<htmlelement>,<options>) 2020-03-07 10:44:02 +01:00
Hakim El Hattab 33a1d8d4ad update assets paths for tests 2020-03-06 20:12:20 +01:00
Hakim El Hattab 608a7577bd 🚨 breaking change; move all compiled assets to /dist 2020-03-06 19:58:40 +01:00
Hakim El Hattab 027dc259da add webpack, move playback to own module 2020-03-06 18:59:09 +01:00
Hakim El Hattab 32bbe63ea6 use object shorthand for api 2020-03-06 17:50:15 +01:00
Hakim El Hattab a6b7cc4eca continued js code modernization 2020-03-06 17:40:11 +01:00
Hakim El Hattab 6ee1b9f2a2 es6 refactoring, overlay design tweaks 2020-03-06 14:55:09 +01:00
Hakim El Hattab fba914a0ab remove old flattened presentation fallback, more es6 refactoring 2020-03-06 10:54:07 +01:00
Hakim El Hattab 6ab65d4b8a remove legacy feature detection for <IE11 2020-03-06 10:36:39 +01:00
Hakim El Hattab d545d79cd7 drop config, had no effect in modern browsers 2020-03-06 10:22:53 +01:00
Hakim El Hattab 556d6ec93d start moving to es6 2020-03-05 20:32:35 +01:00
Hakim El Hattab 4b888d87b7 add support for data-visibility='uncounted' #2543 2020-03-05 14:07:59 +01:00
Hakim El Hattab 41e46659fa remove multiple legacy vendor prefixes 2020-03-02 14:52:57 +01:00
Hakim El Hattab e2a2c2c022 refactored and improved auto-animate matcher, supports line-by-line code animations 2020-02-28 16:13:34 +01:00
Hakim El Hattab 345ec01f19 only transition properties that have changed 2020-02-27 08:45:19 +01:00
Hakim El Hattab 1649bd0d98 auto-animate bug fixes + support for inheriting options from closest animated parent element 2020-02-24 15:45:44 +01:00
Hakim El Hattab a2155e4fde
Merge pull request #2574 from christian-classics-ethereal-library/getComputedSlideSize
API: Expose getComputedSlideSize so plugin developers can get width and height.
2020-02-24 09:04:02 +01:00
Hakim El Hattab f633a18fdf auto-animate tweaks and new config options 2020-02-20 20:15:41 +01:00
Hakim El Hattab 4eca625330 remove need for dedicated data-auto-animate-unmatched attribute 2020-02-18 20:23:37 +01:00
Hakim El Hattab 4ff7fd3a71 switch to bounding rect for auto-animate deltas 2020-02-17 13:14:46 +01:00
Hakim El Hattab ac59dcb525 additional auto-animate tests 2020-02-17 10:19:47 +01:00
Hakim El Hattab f263f2819d fix animations intermittently not triggering in firefox 2020-02-17 09:50:01 +01:00
Hakim El Hattab c38bc2c611 fix issue that caused data-auto-animate to be added to the wrong slides 2020-02-16 19:14:46 +01:00
Hakim El Hattab d2796f56b8 merge gh actions from master 2020-02-13 10:10:41 +01:00
Hakim El Hattab dee26303f6 remove needless semicolon 2020-02-13 09:59:28 +01:00
Hakim El Hattab 1de733d21b fix auto-animations in firefox 2020-02-13 09:55:33 +01:00
Hakim El Hattab 1757aacaab auto-animate performance improvements, dont animate unchanged properties 2020-02-13 08:41:20 +01:00
Hakim El Hattab 15e6994569 support for fading in unmatched auto-animate elements 2020-02-12 14:05:23 +01:00
Hakim El Hattab 3cf08624dd simplify auto-animate styles 2020-02-11 19:15:45 +01:00
Hakim El Hattab 84b2fb42c6 demo and auto-animate example updates 2020-02-11 18:37:14 +01:00
Hakim El Hattab ea295796ea refactoring and fixed auto-animate test exception 2020-02-11 15:31:17 +01:00
Hakim El Hattab 55aab24a5e allow custom auto-animate matchers to override transition settings 2020-02-11 10:39:59 +01:00
Hakim El Hattab 1c62b808ad make it possible to override auto-anim properties per-element 2020-02-09 09:28:34 +01:00
Hakim El Hattab ed4cbdfd03 auto-animate refactoring and optimization 2020-02-08 20:29:43 +01:00
Hakim El Hattab e9cbfefcce minor simplicifcation for #2579 2020-02-06 15:19:09 +01:00
Hakim El Hattab be08d52b5b Merge branch 'dev' of github.com:hakimel/reveal.js into dev 2020-02-06 15:09:52 +01:00
Hakim El Hattab 8e3a065596
Merge pull request #2579 from Martinomagnifico/dev
Add RTL support to Controls
2020-02-06 15:09:42 +01:00
Hakim El Hattab c64206180d auto-animate; don't scale between text blocks 2020-02-06 14:53:45 +01:00
Hakim El Hattab e5ba80478d fix auto-animatie transform origin + refactoring 2020-02-06 14:30:32 +01:00
Hakim El Hattab 4802a2b7f4 auto-animate applies styles via stylesheet to avoid changing the slide dom 2020-02-05 15:55:16 +01:00
Martino ccb42c7ca9 Add RTL support to Controls
Add RTL support to Controls
2020-02-05 14:16:15 +01:00
Hakim El Hattab b6b94739e2 auto-matching for animated media and code html elements 2020-02-03 11:35:44 +01:00
Hakim El Hattab 452f62286b auto-match animatable targets by their contents 2020-02-03 11:13:47 +01:00
Hakim El Hattab 3bfd06c06d additional auto-animation tests, default to 1s 2020-02-02 07:43:15 +01:00
Hakim El Hattab b6c890b1a7 easing option for auto-animate 2020-02-01 19:11:52 +01:00
Zach DeCook 479909d5fa * API: Expose getComputedSlideSize for plugin developers 2020-01-31 11:22:08 -05:00
Hakim El Hattab a3cd500154 auto-animate works on vertically centered decks 2020-01-31 11:51:31 +01:00
Hakim El Hattab 94d98ff7d8 3.9.2 security release 2020-01-31 11:11:23 +01:00
Hakim El Hattab b6cc6b4916 blacklist some method from the postMessage API to prevent XSS 2020-01-31 10:59:41 +01:00
Hakim El Hattab 8d89db32f6 initial work for auto-animate 2020-01-31 10:46:28 +01:00
Hakim El Hattab 4b7e3e313f 4.0.0-dev 2020-01-29 20:22:42 +01:00
Hakim El Hattab eaf3988311 3.9.1 because a local edit made it into npm 2020-01-29 15:11:49 +01:00
Hakim El Hattab 8a54118f43 npm audit fix 😶 2020-01-27 14:50:54 +01:00
Hakim El Hattab 45f468ccc4 3.9.0 2020-01-27 14:47:17 +01:00
Hakim El Hattab a59b1415f8 Merge branch 'pdf-slide-numbers' of https://github.com/dougalsutherland/reveal.js into dev 2020-01-27 14:10:15 +01:00
Hakim El Hattab d969ec5f25 2020 2020-01-15 11:39:19 +01:00
Hakim El Hattab ac50753521 add data-fragment=<index> attribute to slide <sections> 2020-01-15 11:37:37 +01:00
Hakim El Hattab 201e8316a2
Merge pull request #2437 from TehDmitry/dev
Allowing autoplay in data-background-iframe for audio and video elements
2019-12-09 21:09:38 +01:00
Hakim El Hattab 94de806f06 add mobileViewDistance to readme #2513 2019-12-09 21:05:41 +01:00
Hakim El Hattab 1515ddcf87
Merge pull request #2513 from TuurDutoit/feature/mobile-view-distance
Add mobileViewDistance config key
2019-12-09 21:00:58 +01:00
lassepe 773b5115a5
Don't count slides with class .uncounted 2019-12-03 17:37:35 -08:00
Dougal J. Sutherland c189a21efd honor slide number config in pdf mode 2019-10-29 12:48:21 -05:00
Dougal J. Sutherland 1cf5ffe029 add a slide argument to locationHash(), getSlidePastCount() 2019-10-29 12:48:21 -05:00
Tuur Dutoit 6ab72eae51 Add mobileViewDistance config key 2019-10-18 13:37:16 +02:00
Hakim El Hattab f9affb550a fix viewport overflow in iPadOS safari 2019-10-11 09:23:44 +02:00
Hakim El Hattab bba760e549 remove available route changes #2416 2019-06-10 07:14:04 +02:00
TehDmitry bdda443335 Allowing autoplay in data-background-iframe for audio and video elements
It was restricted by «Autoplay Policy Changes»: https://developers.google.com/web/updates/2017/09/autoplay-policy-changes#iframe
2019-06-09 16:31:36 +03:00
Zach DeCook 969e7b3ef1 * Mobile Linear Navigation: Fix swipes to navigate linearly 2019-05-29 10:44:43 -04:00
Zach DeCook c62f4c7cfb * Linear Navigation: Fix showing arrows when last slide has vertical children 2019-05-29 10:22:15 -04:00