@searchspring/snap-preact-components 0.53.3 → 0.53.4

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.
@@ -258,7 +258,7 @@ exports.Carousel = (0, mobx_react_1.observer)(function (properties) {
258
258
  }
259
259
  //add usable class to last visible slide.
260
260
  attachClasstoLastVisibleSlide();
261
- }, []);
261
+ }, [properties]);
262
262
  if (pagination) {
263
263
  if (typeof pagination == 'object') {
264
264
  pagination = __assign({ clickable: true }, pagination);
@@ -243,7 +243,7 @@ export const Carousel = observer((properties) => {
243
243
  }
244
244
  //add usable class to last visible slide.
245
245
  attachClasstoLastVisibleSlide();
246
- }, []);
246
+ }, [properties]);
247
247
  if (pagination) {
248
248
  if (typeof pagination == 'object') {
249
249
  pagination = {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@searchspring/snap-preact-components",
3
- "version": "0.53.3",
3
+ "version": "0.53.4",
4
4
  "description": "Snap Preact Component Library",
5
5
  "author": "Searchspring",
6
6
  "license": "MIT",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@cypress/react": "^8.0.0",
31
31
  "@emotion/react": "11.9.0",
32
- "@searchspring/snap-toolbox": "^0.53.3",
32
+ "@searchspring/snap-toolbox": "^0.53.4",
33
33
  "classnames": "^2.3.2",
34
34
  "cypress": "^12.15.0",
35
35
  "cypress-wait-until": "^1.7.2",
@@ -52,14 +52,14 @@
52
52
  "@babel/preset-env": "^7.21.4",
53
53
  "@babel/preset-react": "^7.18.6",
54
54
  "@babel/runtime": "^7.21.0",
55
- "@searchspring/snap-client": "^0.53.3",
56
- "@searchspring/snap-controller": "^0.53.3",
57
- "@searchspring/snap-event-manager": "^0.53.3",
58
- "@searchspring/snap-logger": "^0.53.3",
59
- "@searchspring/snap-profiler": "^0.53.3",
60
- "@searchspring/snap-store-mobx": "^0.53.3",
61
- "@searchspring/snap-tracker": "^0.53.3",
62
- "@searchspring/snap-url-manager": "^0.53.3",
55
+ "@searchspring/snap-client": "^0.53.4",
56
+ "@searchspring/snap-controller": "^0.53.4",
57
+ "@searchspring/snap-event-manager": "^0.53.4",
58
+ "@searchspring/snap-logger": "^0.53.4",
59
+ "@searchspring/snap-profiler": "^0.53.4",
60
+ "@searchspring/snap-store-mobx": "^0.53.4",
61
+ "@searchspring/snap-tracker": "^0.53.4",
62
+ "@searchspring/snap-url-manager": "^0.53.4",
63
63
  "@storybook/addon-actions": "6.4.22",
64
64
  "@storybook/addon-controls": "6.4.22",
65
65
  "@storybook/addon-docs": "6.4.22",
@@ -83,5 +83,5 @@
83
83
  "webpack-merge": "^5.8.0"
84
84
  },
85
85
  "sideEffects": false,
86
- "gitHead": "3712e444511fd9723267c14dd030b8b25b43473a"
86
+ "gitHead": "9e15f63d93f34ccf0af5ce33eca1d6c9e5b794f5"
87
87
  }