Merge branch 'main' into feature/#22_Pause-autoplay-on-mouseenter

This commit is contained in:
Vadim
2021-04-28 23:27:04 +03:00
11 changed files with 24 additions and 15 deletions

View File

@@ -1,2 +1,12 @@
docs
src/docs
stories
.storybook
storybook-static
dist
scripts
.test.js

View File

@@ -1,8 +1,8 @@
{
"name": "svelte-carousel",
"version": "1.0.3",
"version": "1.0.4",
"description": "Svelte carousel",
"main": "dist/index.js",
"main": "src/main.js",
"author": "vadimkorr",
"repository": {
"type": "git",
@@ -26,10 +26,9 @@
"start": "sirv docs",
"storybook": "start-storybook -p 6006",
"build-storybook": "build-storybook",
"build:docs": "set DOCS=true && rollup -c",
"dev:docs": "set DOCS=true && rollup -c -w",
"test": "jest",
"prepublishOnly": "npm run build"
"build:docs": "set DOCS=true && npm run build",
"dev:docs": "set DOCS=true && npm run dev",
"test": "jest"
},
"devDependencies": {
"@babel/core": "^7.12.10",

View File

@@ -1,4 +1,4 @@
import Arrow from './Arrow.svelte';
import Arrow from '../Arrow.svelte';
export default {
title: 'Default Components/Arrow',

View File

@@ -1,6 +1,6 @@
<script>
import Carousel from './Carousel.svelte'
import { NEXT } from '../../direction'
import Carousel from '../Carousel.svelte'
import { NEXT } from '../../../direction'
/**
* CSS animation timing function

View File

@@ -1,6 +1,6 @@
<script>
import Carousel from './Carousel.svelte'
import { NEXT } from '../../direction'
import Carousel from '../Carousel.svelte'
import { NEXT } from '../../../direction'
/**
* CSS animation timing function

View File

@@ -1,6 +1,6 @@
<script>
import Carousel from './Carousel.svelte'
import { NEXT } from '../../direction'
import Carousel from '../Carousel.svelte'
import { NEXT } from '../../../direction'
/**
* CSS animation timing function

View File

@@ -1,5 +1,5 @@
<script>
import Dot from './Dot.svelte'
import Dot from '../Dot.svelte'
/**
* Indicates if dot is active

View File

@@ -1,5 +1,5 @@
<script>
import Dots from './Dots.svelte'
import Dots from '../Dots.svelte'
/**
* Amount of pages (amount of dots)