@swan-io/shared-business 11.2.3 → 11.3.0

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": "11.2.3",
3
+ "version": "11.3.0",
4
4
  "engines": {
5
5
  "node": ">=20.9.0",
6
6
  "pnpm": "^9.13.0"
@@ -26,12 +26,12 @@
26
26
  ],
27
27
  "license": "MIT",
28
28
  "peerDependencies": {
29
- "@swan-io/lake": "11.2.3"
29
+ "@swan-io/lake": "11.3.0"
30
30
  },
31
31
  "dependencies": {
32
- "@formatjs/intl": "^2.10.9",
32
+ "@formatjs/intl": "^3.1.0",
33
33
  "@placekit/client-js": "^2.3.0",
34
- "@swan-io/boxed": "^3.0.0",
34
+ "@swan-io/boxed": "^3.2.0",
35
35
  "@swan-io/request": "^1.0.6",
36
36
  "@swan-io/use-form": "^3.1.0",
37
37
  "dayjs": "^1.11.13",
@@ -39,20 +39,19 @@
39
39
  "react": "^18.3.1",
40
40
  "react-atomic-state": "^2.0.0",
41
41
  "react-dom": "^18.3.1",
42
- "react-dropzone": "^14.2.10",
42
+ "react-dropzone": "^14.3.5",
43
43
  "react-native-web": "^0.19.13",
44
44
  "rifm": "^0.12.1",
45
- "ts-pattern": "^5.5.0",
46
- "uuid": "^10.0.0"
45
+ "ts-pattern": "^5.6.0",
46
+ "uuid": "^11.0.4"
47
47
  },
48
48
  "devDependencies": {
49
49
  "@types/iban": "0.0.35",
50
- "@types/react": "^18.3.11",
50
+ "@types/react": "^18.3.12",
51
51
  "@types/react-dom": "^18.3.1",
52
52
  "@types/react-native": "^0.72.8",
53
- "@types/uuid": "^10.0.0",
54
53
  "jsdom": "^25.0.1",
55
- "vitest": "^2.1.3",
56
- "@swan-io/lake": "11.2.3"
54
+ "vitest": "^2.1.8",
55
+ "@swan-io/lake": "11.3.0"
57
56
  }
58
57
  }
@@ -120,7 +120,7 @@ export const FileInput = ({ icon = "document-regular", accept, value, disabled =
120
120
  disabled,
121
121
  maxSize,
122
122
  });
123
- return (_jsx(View, { style: commonStyles.fill, children: _jsx("div", { ...getRootProps(), onMouseEnter: setIsHovered.on, onMouseLeave: setIsHovered.off, children: _jsxs(View, { "aria-errormessage": error !== null && error !== void 0 ? error : (_a = fileRejections[0]) === null || _a === void 0 ? void 0 : _a.errors.join(", "), style: [
123
+ return (_jsx(View, { style: commonStyles.fill, children: _jsx("div", { ...getRootProps(), onMouseEnter: setIsHovered.on, onMouseLeave: setIsHovered.off, children: _jsxs(View, { "aria-errormessage": error !== null && error !== void 0 ? error : (_a = fileRejections[0]) === null || _a === void 0 ? void 0 : _a.errors.map(error => error.message).join(", "), style: [
124
124
  styles.container,
125
125
  disabled && styles.disabled,
126
126
  layout === "horizontal" && styles.horizontalContainer,