@crystaldesign/content-item 24.12.0-beta.21 → 24.12.0-beta.23

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.
@@ -184,7 +184,7 @@ var Gallery = function Gallery(_ref) {
184
184
  spaceBetween: 10,
185
185
  navigation: true,
186
186
  thumbs: {
187
- swiper: thumbsSwiper
187
+ swiper: thumbsSwiper && !thumbsSwiper.destroyed ? thumbsSwiper : null
188
188
  },
189
189
  modules: [FreeMode, Navigation, Thumbs],
190
190
  className: mySwiper2,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@crystaldesign/content-item",
3
- "version": "24.12.0-beta.21",
3
+ "version": "24.12.0-beta.23",
4
4
  "license": "MIT",
5
5
  "scripts": {
6
6
  "storybook": "storybook dev -p 6006",
@@ -18,7 +18,6 @@
18
18
  "@testing-library/jest-dom": "^6.5.0",
19
19
  "@testing-library/react": "^16.0.1",
20
20
  "@types/classnames": "^2.2.11",
21
- "@types/swiper": "^6.0.0",
22
21
  "react": "18.3.1",
23
22
  "react-dom": "18.3.1",
24
23
  "storybook": "^7.0.2",
@@ -35,5 +34,5 @@
35
34
  },
36
35
  "module": "build/esm/index.js",
37
36
  "types": "./build/types/content-item/src/index.d.ts",
38
- "gitHead": "cbfb0ed95573dd7cb546ff876312c5e2940f4103"
37
+ "gitHead": "35da3252353799273800bb5410257008c98aea06"
39
38
  }