@swan-io/shared-business 4.0.0 → 4.0.1

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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@swan-io/shared-business",
3
- "version": "4.0.0",
3
+ "version": "4.0.1",
4
4
  "engines": {
5
5
  "node": ">=18.0.0",
6
6
  "yarn": "^1.22.0"
@@ -29,9 +29,9 @@
29
29
  "@swan-io/lake": "*"
30
30
  },
31
31
  "dependencies": {
32
- "@formatjs/intl": "^2.9.6",
32
+ "@formatjs/intl": "^2.9.9",
33
33
  "@googlemaps/js-api-loader": "1.16.2",
34
- "@placekit/client-js": "^2.0.0",
34
+ "@placekit/client-js": "^2.2.0",
35
35
  "@swan-io/boxed": "^1.2.0",
36
36
  "dayjs": "^1.11.10",
37
37
  "react": "^18.2.0",
@@ -42,18 +42,18 @@
42
42
  "react-ux-form": "^1.5.0",
43
43
  "rifm": "^0.12.1",
44
44
  "ts-pattern": "^5.0.5",
45
- "urql": "^4.0.5",
45
+ "urql": "^4.0.6",
46
46
  "uuid": "^9.0.1"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@swan-io/lake": "*",
50
- "@testing-library/react": "^14.0.0",
50
+ "@testing-library/react": "^14.1.2",
51
51
  "@testing-library/user-event": "^14.5.1",
52
- "@types/google.maps": "^3.54.7",
53
- "@types/react": "^18.2.36",
54
- "@types/react-dom": "^18.2.14",
55
- "@types/react-native": "^0.72.5",
56
- "@types/uuid": "^9.0.6",
52
+ "@types/google.maps": "^3.54.9",
53
+ "@types/react": "^18.2.38",
54
+ "@types/react-dom": "^18.2.17",
55
+ "@types/react-native": "^0.72.7",
56
+ "@types/uuid": "^9.0.7",
57
57
  "jsdom": "^22.1.0",
58
58
  "vitest": "^0.34.6"
59
59
  }
@@ -184,7 +184,7 @@ export const ChoicePicker = ({ items, getId = identity, large = false, renderIte
184
184
  ], children: items.map((item, index) => (_jsx(Pressable, { disabled: disabled, style: [
185
185
  styles.item,
186
186
  disabled && commonStyles.disabled,
187
- desktop && styles.itemAnimation,
187
+ desktop && styles.itemAnimation, // set enter animation only on desktop because it can break scroll snap
188
188
  desktop && { animationDelay: `${200 + 100 * index}ms` },
189
189
  large && styles.itemLarge,
190
190
  !desktop && styles.itemSmallViewport,