@tiagotrindade/swiper
Advanced tools
Comparing version 8.2.1 to 8.2.2
{ | ||
"name": "@tiagotrindade/swiper", | ||
"version": "8.2.1", | ||
"version": "8.2.2", | ||
"description": "Most modern mobile touch slider and framework with hardware accelerated transitions", | ||
@@ -5,0 +5,0 @@ "typings": "swiper.d.ts", |
@@ -1,4 +0,4 @@ | ||
import Swiper from 'swiper'; | ||
import { isObject, extend } from './utils.js'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { paramsList } from './params-list.js'; | ||
import { extend, isObject } from './utils.js'; | ||
@@ -5,0 +5,0 @@ function getParams(obj) { |
@@ -0,3 +1,3 @@ | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import React from 'react'; | ||
import Swiper from 'swiper'; | ||
@@ -4,0 +4,0 @@ function calcLoopedSlides(slides, swiperParams) { |
/** | ||
* Swiper React 8.2.1 | ||
* Swiper React 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
function _extends() { _extends = Object.assign || function (target) { for (var i = 1; i < arguments.length; i++) { var source = arguments[i]; for (var key in source) { if (Object.prototype.hasOwnProperty.call(source, key)) { target[key] = source[key]; } } } return target; }; return _extends.apply(this, arguments); } | ||
import React, { useRef, useState, useEffect, forwardRef } from 'react'; | ||
import SwiperCore from 'swiper'; | ||
import SwiperCore from '@tiagotrindade/swiper'; | ||
import React, { forwardRef, useEffect, useRef, useState } from 'react'; | ||
import { SwiperContext } from './context.js'; | ||
import { getChangedParams } from './get-changed-params.js'; | ||
import { getChildren } from './get-children.js'; | ||
import { getParams } from './get-params.js'; | ||
import { calcLoopedSlides, renderLoop } from './loop.js'; | ||
import { mountSwiper } from './mount-swiper.js'; | ||
import { needsScrollbar, needsNavigation, needsPagination, uniqueClasses, extend } from './utils.js'; | ||
import { renderLoop, calcLoopedSlides } from './loop.js'; | ||
import { getChangedParams } from './get-changed-params.js'; | ||
import { getChildren } from './get-children.js'; | ||
import { updateSwiper } from './update-swiper.js'; | ||
import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect.js'; | ||
import { extend, needsNavigation, needsPagination, needsScrollbar, uniqueClasses } from './utils.js'; | ||
import { renderVirtual, updateOnVirtualData } from './virtual.js'; | ||
import { useIsomorphicLayoutEffect } from './use-isomorphic-layout-effect.js'; | ||
import { SwiperContext } from './context.js'; | ||
const Swiper = /*#__PURE__*/forwardRef(function (_temp, externalElRef) { | ||
@@ -16,0 +16,0 @@ let { |
@@ -1,4 +0,4 @@ | ||
import Swiper from 'swiper'; | ||
import { isObject, extend } from './utils.js'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { paramsList } from './params-list.js'; | ||
import { extend, isObject } from './utils.js'; | ||
@@ -5,0 +5,0 @@ function getParams(obj) { |
@@ -6,3 +6,3 @@ import { template as _$template } from "solid-js/web"; | ||
import Swiper from 'swiper'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
@@ -9,0 +9,0 @@ function calcLoopedSlides(slides, swiperParams) { |
/** | ||
* Swiper SolidJS 8.2.1 | ||
* Swiper SolidJS 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
@@ -11,13 +11,13 @@ import { template as _$template } from "solid-js/web"; | ||
import SwiperCore from 'swiper'; | ||
import SwiperCore from '@tiagotrindade/swiper'; | ||
import { createEffect, createSignal, onCleanup, Show, splitProps } from 'solid-js'; | ||
import { SwiperContext } from './context.js'; | ||
import { getChangedParams } from './get-changed-params.js'; | ||
import { getChildren } from './get-children.js'; | ||
import { getParams } from './get-params.js'; | ||
import { calcLoopedSlides, renderLoop } from './loop.js'; | ||
import { mountSwiper } from './mount-swiper.js'; | ||
import { needsScrollbar, needsNavigation, needsPagination, uniqueClasses, extend } from './utils.js'; | ||
import { renderLoop, calcLoopedSlides } from './loop.js'; | ||
import { getChangedParams } from './get-changed-params.js'; | ||
import { getChildren } from './get-children.js'; | ||
import { updateSwiper } from './update-swiper.js'; | ||
import { extend, needsNavigation, needsPagination, needsScrollbar, uniqueClasses } from './utils.js'; | ||
import { renderVirtual, updateOnVirtualData } from './virtual.js'; | ||
import { SwiperContext } from './context.js'; | ||
@@ -24,0 +24,0 @@ const Swiper = props => { |
@@ -1,4 +0,4 @@ | ||
import Swiper from 'swiper'; | ||
import { isObject, extend } from './utils.js'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { paramsList } from './params-list.js'; | ||
import { extend, isObject } from './utils.js'; | ||
@@ -5,0 +5,0 @@ function getParams(obj) { |
@@ -1,2 +0,2 @@ | ||
import Swiper from 'swiper'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { needsNavigation, needsPagination, needsScrollbar } from './utils.js'; | ||
@@ -3,0 +3,0 @@ |
/** | ||
* Swiper Svelte 8.2.1 | ||
* Swiper Svelte 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
/** | ||
* Swiper 8.2.1 | ||
* Swiper 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
/** | ||
* Swiper 8.2.1 | ||
* Swiper 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
import { A11yOptions } from './modules/a11y'; | ||
import { AutoplayOptions } from './modules/autoplay'; | ||
import { ControllerOptions } from './modules/controller'; | ||
import { CardsEffectOptions } from './modules/effect-cards'; | ||
import { CoverflowEffectOptions } from './modules/effect-coverflow'; | ||
import { CreativeEffectOptions } from './modules/effect-creative'; | ||
import { CubeEffectOptions } from './modules/effect-cube'; | ||
import { FadeEffectOptions } from './modules/effect-fade'; | ||
import { FlipEffectOptions } from './modules/effect-flip'; | ||
import { CreativeEffectOptions } from './modules/effect-creative'; | ||
import { CardsEffectOptions } from './modules/effect-cards'; | ||
import { FreeModeOptions } from './modules/free-mode'; | ||
import { GridOptions } from './modules/grid'; | ||
import { HashNavigationOptions } from './modules/hash-navigation'; | ||
@@ -22,4 +24,2 @@ import { HistoryOptions } from './modules/history'; | ||
import { ZoomOptions } from './modules/zoom'; | ||
import { FreeModeOptions } from './modules/free-mode'; | ||
import { GridOptions } from './modules/grid'; | ||
@@ -35,3 +35,3 @@ import { CSSSelector, SwiperModule } from './shared'; | ||
* ```js | ||
* import Swiper, { Navigation, Pagination } from 'swiper'; | ||
* import Swiper, { Navigation, Pagination } from '@tiagotrindade/swiper'; | ||
* | ||
@@ -38,0 +38,0 @@ * const swiper = new Swiper('.swiper', { |
@@ -1,4 +0,4 @@ | ||
import Swiper from 'swiper'; | ||
import { isObject, extend } from './utils.js'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { paramsList } from './params-list.js'; | ||
import { extend, isObject } from './utils.js'; | ||
@@ -5,0 +5,0 @@ function getParams(obj) { |
@@ -1,2 +0,2 @@ | ||
import Swiper from 'swiper'; | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { needsNavigation, needsPagination, needsScrollbar } from './utils.js'; | ||
@@ -3,0 +3,0 @@ |
@@ -0,3 +1,3 @@ | ||
import Swiper from '@tiagotrindade/swiper'; | ||
import { h } from 'vue'; | ||
import Swiper from 'swiper'; | ||
@@ -4,0 +4,0 @@ function calcLoopedSlides(slides, swiperParams) { |
/** | ||
* Swiper Vue 8.2.1 | ||
* Swiper Vue 8.2.2 | ||
* Most modern mobile touch slider and framework with hardware accelerated transitions | ||
@@ -4,0 +4,0 @@ * https://swiperjs.com |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
4485681
39826