@gravity-ui/page-constructor 6.2.0-beta.1 → 6.2.0-beta.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import { Swiper } from 'swiper/swiper-react.esm.js';
2
+ import { Swiper } from 'swiper/swiper.esm.js/react';
3
3
  import { ClassNameProps, Refable, SliderProps as SliderParams } from "../../models/index.js";
4
4
  import './Slider.css';
5
5
  import 'swiper/swiper-bundle.css';
@@ -1,6 +1,6 @@
1
1
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
2
2
  import * as React from 'react';
3
- import SwiperCore, { A11y, Autoplay, Pagination } from 'swiper';
3
+ import SwiperCore, { A11y, Autoplay, Pagination } from 'swiper/swiper.esm.js';
4
4
  import { Swiper, SwiperSlide } from 'swiper/swiper-react.esm.js';
5
5
  import Anchor from "../../components/Anchor/Anchor.js";
6
6
  import AnimateBlock from "../../components/AnimateBlock/AnimateBlock.js";
@@ -1,5 +1,5 @@
1
1
  import * as React from 'react';
2
- import type { Swiper } from 'swiper';
2
+ import type { Swiper } from 'swiper/swiper.esm.js';
3
3
  import { SlidesToShow } from "../../models/index.js";
4
4
  type UseSliderProps = React.PropsWithChildren<{
5
5
  autoplayMs?: number;
@@ -1,4 +1,4 @@
1
- import { Swiper as SwiperProps } from 'swiper/swiper-react';
1
+ import { Swiper as SwiperProps } from 'swiper/swiper.esm.js/swiper-react';
2
2
  export declare const useSliderPagination: (props: {
3
3
  enabled: boolean;
4
4
  isA11yControlHidden: boolean;
@@ -1,4 +1,4 @@
1
- import type { SwiperOptions } from 'swiper/types/swiper-options';
1
+ import type { SwiperOptions } from 'swiper/swiper.esm.js/types/swiper-options';
2
2
  import { SlidesToShow } from "./models.js";
3
3
  export declare const DEFAULT_SLIDE_BREAKPOINTS: {
4
4
  lg: number;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gravity-ui/page-constructor",
3
- "version": "6.2.0-beta.1",
3
+ "version": "6.2.0-beta.3",
4
4
  "description": "Gravity UI Page Constructor",
5
5
  "license": "MIT",
6
6
  "type": "commonjs",