Commit Graph

407 Commits

Author SHA1 Message Date
Tobias Oetiker
57e3c52148 make sveltekit look more idiomatic
Using the `$app/env` we can make this look much more idiomatic. While still ensuring the code only runs in the browser.

The compiler is not entirely happy as it still complains:

```
svelte-carousel doesn't appear to be written in CJS, but also doesn't appear to be a valid ES module (i.e. it doesn't have "type": "module" or an .mjs extension for the entry point). Please contact the package author to fix.
```
but the resulting code seems to work fine
2022-06-27 15:42:29 +02:00
Vadim
67c227995b Upgrade version, update docs 2022-05-05 18:50:31 +03:00
Vadim
a974cb1f58 Merge pull request #109 from vadimkorr/bugfix/#94_Fix-dispatch-pageChange-event
#94 Fix dispatching pageChange event
2022-05-05 17:48:52 +03:00
Vadim
2268f00bcd Code cleanup 2022-05-04 23:17:14 +03:00
Vadim
086a68c242 #94 : Dispatch pageChange 2022-05-04 23:14:29 +03:00
Vadim
0709dafeaa Upgrade version, update docs 2022-05-04 23:00:10 +03:00
Vadim
6c17b22eca Merge pull request #108 from vadimkorr/feature/#101_Keyboard-control
#101 Keyboard control
2022-05-04 22:52:24 +03:00
Vadim
c6679b52e7 #101 : Update button styles 2022-05-04 22:51:50 +03:00
Vadim
bfa295eb81 Merge pull request #103 from myrdn/main
Accessibility : Add keyboard control using html buttons
2022-05-04 22:31:01 +03:00
Vadim
4aa7a4eebc Merge pull request #107 from vadimkorr/feature/#84_Marquee-mode
#84 Validate autoplay duration value, add marquee demo
2022-05-04 22:25:05 +03:00
Vadim
f505b1a361 #84 : Validate autoplay duration value, add marquee demo 2022-05-04 22:23:51 +03:00
Myrdin
f6b6064954 Add outline on focus 2022-03-28 19:31:39 +02:00
Myrdin
290e9cb9a7 Reset button styles 2022-03-28 19:30:18 +02:00
Myrdin
3aea594f28 Change div to button for dot 2022-03-28 19:29:18 +02:00
Myrdin
573c2b0779 Change div to button for arrows 2022-03-28 19:28:15 +02:00
Vadim
715b2d3174 Merge pull request #90 from nnic/main
Updated SvelteKit setup instructions
2022-01-25 19:34:00 +03:00
Nic Masters
663d9b9400 Updated SvelteKit setup instructions 2022-01-23 11:05:28 +00:00
Vadim
c70916b938 Upgrade version 2021-12-26 18:58:52 +03:00
Vadim
375c29612d Feature/update deps (#89)
* Update deps

* Update deps
2021-12-26 18:49:27 +03:00
Vadim
02f84e55f1 Upgrade version 2021-12-22 12:32:09 +03:00
Vadim
cf26d61083 Merge pull request #88 from vadimkorr/bugfix/#85_Fix-imports
#85 Fix simply-reactive import
2021-12-22 12:29:46 +03:00
Vadim
0e64ff5b9c #85 : Update deps 2021-12-22 12:29:13 +03:00
Vadim
f73926eb99 #85 : Fix simply-reactive import 2021-12-19 10:02:17 +03:00
Vadim
a8359af086 Upgrade version 2021-12-19 09:48:04 +03:00
Vadim
5b6ceb92d1 Merge pull request #87 from vadimkorr/bugfix/#86_Remove-logs
#86 Remove console log
2021-12-19 09:45:55 +03:00
Vadim
72e41caf99 #86 : Remove console log 2021-12-19 09:44:20 +03:00
Vadim
beb90e6b64 Update docs 2021-11-30 16:45:16 +03:00
Vadim
890d4aa0ba Merge pull request #80 from vadimkorr/feature/carousel-reactivity-engine
Move logic out of the component
2021-11-30 16:43:04 +03:00
Vadim
16dd67326a Update docs 2021-11-30 16:41:59 +03:00
Vadim
8070d10af6 Add deps 2021-11-30 16:31:00 +03:00
Vadim
3fb46f71b7 Update progress manager 2021-11-30 16:24:05 +03:00
Vadim
1b6735700f Update docs logo 2021-11-30 16:19:34 +03:00
Vadim
bf43b6a3b5 Set infinite to true 2021-11-30 15:50:49 +03:00
Vadim
4605e29679 Fix pages count 2021-11-30 15:48:22 +03:00
Vadim
f915c7b70d Code cleanup 2021-11-30 13:46:42 +03:00
Vadim
6c8e16492b Move setting init page to method 2021-10-10 12:28:44 +03:00
Vadim
de213cba88 Fix adding extra deps 2021-10-09 10:30:27 +03:00
Vadim
87a60678ba Fix autoplay 2021-10-08 19:31:36 +03:00
Vadim
7652208ea9 Move to methods, normalized particles to show/to scroll 2021-10-08 16:51:42 +03:00
Vadim
a0b90283c0 Extend reactive store 2021-10-06 00:25:25 +03:00
Vadim
bce6199e13 Add progress manager 2021-10-05 22:40:27 +03:00
Vadim
f1f657c5a7 Remove init version 2021-10-05 19:35:09 +03:00
Vadim
54e219b883 Use proxy instead of defineProperty 2021-10-05 19:33:38 +03:00
Vadim
04fc80ecec Add reactivity 2021-10-05 19:33:07 +03:00
Vadim
e80ea005d1 Add reactive fields 2021-10-05 12:03:30 +03:00
Vadim
28f24f5e0c Merge pull request #77 from vadimkorr/feature/#69_Add-pages-to-show-pages-to-scroll
feature/#69 Add pages to show and pages to scroll
2021-10-03 12:20:15 +03:00
Vadim
ff553e2734 #69 : Update docs 2021-10-03 12:19:39 +03:00
Vadim
96ca49c7f4 #69 : Rename showParticle -> showParticle 2021-10-03 12:13:06 +03:00
Vadim
858a5dc36b Merge branch 'main' into feature/#69_Add-pages-to-show-pages-to-scroll 2021-09-17 11:35:04 +03:00
Vadim
3d3a2c25a5 Upgrade version 2021-09-17 11:34:43 +03:00