Commit Graph

105 Commits

Author SHA1 Message Date
Vadim
9cf1c645d3 Add styles for storybook 2021-06-30 23:34:59 +03:00
Vadim
b67fd52f73 Merge branch 'main' into feature/#33_Change-pages-programmatically
# Conflicts:
#	docs/index.js
2021-06-30 22:08:16 +03:00
Vadim
a7c0de17e5 Init store only on mount 2021-06-29 11:42:18 +03:00
Vadim
d12fc14fdf Update docs 2021-06-29 11:29:20 +03:00
Vadim
e15c162e42 Add stories for methods 2021-06-29 11:19:08 +03:00
Vadim
f14a41349d Format stories js 2021-06-29 11:17:33 +03:00
Vadim
cad8e729b5 Add goTo method 2021-06-29 11:16:34 +03:00
Vadim
c4d426e03d Add get util fn 2021-06-29 11:15:54 +03:00
Vadim
de63352637 Rename offsetDelay -> offsetDelayMs 2021-06-29 11:14:18 +03:00
Vadim
d3ee6eb88d Update docs 2021-06-20 23:16:10 +03:00
Andrew McGrath
f3697d9783 Check if TouchEvent is defined first (#32)
When clicking on an image in the carousel with a mouse, a ReferenceError is thrown because TouchEvent is undefined.
2021-06-18 21:59:15 +03:00
Vadim
e149ef6ffd Update docs 2021-05-06 21:35:25 +03:00
Vadim
06b437bd1e Minify css for demo docs 2021-05-06 21:34:34 +03:00
Vadim
f657c1f405 Remove unnecessary prerequisites (#26)
* Remove prepublish only

* Remove index.css from docs

* Keep empty dist/index.css
2021-05-06 20:56:04 +03:00
Vadim
d3380aed94 Fix indentation 2021-04-29 20:25:08 +03:00
Vadim
fac1b43eef Merge branch 'main' into feature/#22_Pause-autoplay-on-mouseenter 2021-04-28 23:27:04 +03:00
Vadim
e9ed6950e3 Move stories to separate folder 2021-04-28 23:11:13 +03:00
Vadim
df8b060ea5 Move actions to separate dir, fix demo image 2021-04-21 16:46:50 +03:00
Vadim
b478c5061d Fix images 2021-04-20 22:56:37 +03:00
Vadim
07d6d1df50 Update demo docs 2021-04-20 22:56:18 +03:00
Vadim
a9fc98d36f Rename hover -> focus 2021-04-20 22:42:29 +03:00
Vadim
cc82fcf44f Renamed hoverable -> focusable 2021-04-20 22:41:07 +03:00
Vadim
55335dbb48 Move swipeable action to actions dir 2021-04-20 22:28:57 +03:00
Vadim
ba696c275b Add pauseOnFocus prop, update storybook, update autoplayInterval logic 2021-04-20 22:20:21 +03:00
Vadim
29d012dce0 Add actions 2021-04-20 12:21:42 +03:00
Vadim
108f3e5782 Add examples for timing function values 2021-03-20 19:10:15 +03:00
Vadim
f29aedd479 Update docs 2021-03-20 19:08:28 +03:00
Tonton-Blax
c32aaac0d8 expose slide transition timing function 2021-03-18 18:28:45 +01:00
Tonton-Blax
3f8604a782 expose CSS timing function string 2021-03-18 18:18:34 +01:00
Vadim
9928ed56a4 Add pageChange event 2021-02-06 13:24:46 +03:00
Vadim
70f67b6a8f Disable page change while page changing is in progress 2021-01-31 21:24:13 +03:00
Vadim
d298f2cba2 Rewrite async calls in onMount 2021-01-31 21:23:23 +03:00
Vadim
df0afc7f8f Fix docs 2021-01-28 22:15:01 +03:00
Vadim
6086164b0a Disable blue highlight when touch/press element with cursor: pointer 2021-01-28 22:08:46 +03:00
Vadim
ad108b2069 Update docs 2021-01-28 21:54:01 +03:00
Vadim
a0dd4a6ed5 Upgrade version 2021-01-28 00:01:24 +03:00
Vadim
e2603c3b7e Rename speed => duration 2021-01-27 23:34:24 +03:00
Vadim
3a5fabd4d5 Fix adjacent pages 2021-01-27 23:28:52 +03:00
Vadim
7acfb04df8 Fix dot click index, add customization examples, code cleanup 2021-01-27 23:25:37 +03:00
Vadim
bc8cceede8 Add arrows customizing example 2021-01-27 22:31:48 +03:00
Vadim
b9dd7750c4 Fix dots if too many 2021-01-27 22:17:46 +03:00
Vadim
974134beeb Add pageCount check, add getAdjacentIndexes 2021-01-27 22:08:41 +03:00
Vadim
fa8a25c81f Move getPageIndex to utils, add tests 2021-01-27 21:22:46 +03:00
Vadim
0bdb14cbf3 Added tests for page 2021-01-27 21:17:40 +03:00
Vadim
0a217f326b Setup tests 2021-01-27 21:17:27 +03:00
Vadim
cb7071bf04 Code cleanup, move docs data to json, update docs structure 2021-01-27 20:17:28 +03:00
Vadim
7c9b2e77be Update installation docs 2021-01-27 20:01:22 +03:00
Vadim
fcae87d9c6 Add global prefix 2021-01-27 19:56:06 +03:00
Vadim
1b36742624 Add prefixes to carousel 2021-01-27 19:51:24 +03:00
Vadim
a5a8b68ae9 Add prefixes to dots 2021-01-27 19:41:53 +03:00