@phillips/seldon 1.17.3 → 1.17.5
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,27 +1,27 @@
|
|
|
1
1
|
var n = Object.defineProperty;
|
|
2
|
-
var i = (
|
|
3
|
-
var
|
|
2
|
+
var i = (t, r, o) => r in t ? n(t, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[r] = o;
|
|
3
|
+
var e = (t, r, o) => (i(t, typeof r != "symbol" ? r + "" : r, o), o);
|
|
4
4
|
import { jsx as c } from "react/jsx-runtime";
|
|
5
5
|
import * as l from "react";
|
|
6
6
|
class p extends l.Component {
|
|
7
7
|
constructor() {
|
|
8
8
|
super(...arguments);
|
|
9
|
-
|
|
9
|
+
e(this, "state", {
|
|
10
10
|
hasError: !1
|
|
11
11
|
});
|
|
12
12
|
}
|
|
13
13
|
static getDerivedStateFromError() {
|
|
14
14
|
return { hasError: !0 };
|
|
15
15
|
}
|
|
16
|
-
componentDidCatch(
|
|
17
|
-
var
|
|
18
|
-
(
|
|
16
|
+
componentDidCatch(o, s) {
|
|
17
|
+
var a;
|
|
18
|
+
(a = this.props) == null || a.logger(o, s.componentStack ?? "ErrorBoundary caught an error");
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
return this.state.hasError ? this.props.fallback || /* @__PURE__ */ c("h2", { children: "Sorry... An error occurred and we are looking into it" }) : this.props.children;
|
|
22
22
|
}
|
|
23
23
|
}
|
|
24
|
-
|
|
24
|
+
e(p, "defaultProps", {
|
|
25
25
|
logger: console.log
|
|
26
26
|
});
|
|
27
27
|
export {
|
|
@@ -180,19 +180,6 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
180
180
|
invalidText: e == null ? void 0 : e.address1
|
|
181
181
|
}
|
|
182
182
|
),
|
|
183
|
-
/* @__PURE__ */ t(
|
|
184
|
-
u,
|
|
185
|
-
{
|
|
186
|
-
id: `addressUrl-${r}`,
|
|
187
|
-
name: "addressUrl",
|
|
188
|
-
defaultValue: V,
|
|
189
|
-
labelText: $,
|
|
190
|
-
size: "sm",
|
|
191
|
-
type: "url",
|
|
192
|
-
invalid: e == null ? void 0 : e.addressUrl,
|
|
193
|
-
invalidText: e == null ? void 0 : e.addressUrl
|
|
194
|
-
}
|
|
195
|
-
),
|
|
196
183
|
/* @__PURE__ */ t(
|
|
197
184
|
u,
|
|
198
185
|
{
|
|
@@ -217,6 +204,19 @@ const o = `${X}-viewings-list-card-form`, l = ({
|
|
|
217
204
|
invalidText: e == null ? void 0 : e.address3
|
|
218
205
|
}
|
|
219
206
|
),
|
|
207
|
+
/* @__PURE__ */ t(
|
|
208
|
+
u,
|
|
209
|
+
{
|
|
210
|
+
id: `addressUrl-${r}`,
|
|
211
|
+
name: "addressUrl",
|
|
212
|
+
defaultValue: V,
|
|
213
|
+
labelText: $,
|
|
214
|
+
size: "sm",
|
|
215
|
+
type: "url",
|
|
216
|
+
invalid: e == null ? void 0 : e.addressUrl,
|
|
217
|
+
invalidText: e == null ? void 0 : e.addressUrl
|
|
218
|
+
}
|
|
219
|
+
),
|
|
220
220
|
/* @__PURE__ */ t(
|
|
221
221
|
u,
|
|
222
222
|
{
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.17.
|
|
3
|
+
"version": "1.17.5",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -33,35 +33,35 @@
|
|
|
33
33
|
"clean": "rimraf './dist'",
|
|
34
34
|
"clean:stories": "rimraf './storybook-static'",
|
|
35
35
|
"format": "prettier . --write",
|
|
36
|
-
"lint": "eslint
|
|
36
|
+
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0 && npm run lint:styles",
|
|
37
37
|
"lint:styles": "stylelint \"src/**/*.scss\" --fix",
|
|
38
38
|
"prepare": "husky install"
|
|
39
39
|
},
|
|
40
40
|
"dependencies": {
|
|
41
41
|
"classnames": "^2.5.1",
|
|
42
42
|
"flatpickr": "^4.6.13",
|
|
43
|
-
"react": "^18.
|
|
43
|
+
"react": "^18.3.1",
|
|
44
44
|
"react-dom": "^18.2.0"
|
|
45
45
|
},
|
|
46
46
|
"devDependencies": {
|
|
47
|
-
"@commitlint/cli": "^
|
|
48
|
-
"@commitlint/config-conventional": "^
|
|
47
|
+
"@commitlint/cli": "^19.3.0",
|
|
48
|
+
"@commitlint/config-conventional": "^19.2.2",
|
|
49
49
|
"@semantic-release/changelog": "^6.0.3",
|
|
50
50
|
"@semantic-release/git": "^10.0.1",
|
|
51
51
|
"@semantic-release/github": "^10.0.3",
|
|
52
|
-
"@storybook/addon-essentials": "^7.
|
|
52
|
+
"@storybook/addon-essentials": "^7.6.18",
|
|
53
53
|
"@storybook/addon-interactions": "^7.0.22",
|
|
54
54
|
"@storybook/addon-links": "^7.0.22",
|
|
55
55
|
"@storybook/addon-styling": "^1.3.0",
|
|
56
56
|
"@storybook/blocks": "^7.0.22",
|
|
57
57
|
"@storybook/react": "^7.0.22",
|
|
58
|
-
"@storybook/react-vite": "^7.
|
|
58
|
+
"@storybook/react-vite": "^7.6.18",
|
|
59
59
|
"@testing-library/jest-dom": "^5.17.0",
|
|
60
60
|
"@testing-library/react": "^14.0.0",
|
|
61
61
|
"@testing-library/user-event": "^14.5.1",
|
|
62
62
|
"@types/color": "^3.0.3",
|
|
63
63
|
"@types/jest": "^29.5.3",
|
|
64
|
-
"@types/react": "^18.0
|
|
64
|
+
"@types/react": "^18.3.0",
|
|
65
65
|
"@types/react-dom": "^18.0.11",
|
|
66
66
|
"@typescript-eslint/eslint-plugin": "^5.59.0",
|
|
67
67
|
"@typescript-eslint/parser": "^5.59.0",
|
|
@@ -71,7 +71,7 @@
|
|
|
71
71
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
72
72
|
"eslint-plugin-react-refresh": "^0.3.4",
|
|
73
73
|
"eslint-plugin-storybook": "^0.6.12",
|
|
74
|
-
"husky": "^
|
|
74
|
+
"husky": "^9.0.11",
|
|
75
75
|
"jest": "^29.6.1",
|
|
76
76
|
"jest-environment-jsdom": "^29.6.1",
|
|
77
77
|
"prettier": "3.0.3",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"rimraf": "^5.0.1",
|
|
80
80
|
"rollup-plugin-copy": "^3.4.0",
|
|
81
81
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
82
|
-
"sass": "^1.
|
|
82
|
+
"sass": "^1.75.0",
|
|
83
83
|
"semantic-release": "^21.0.5",
|
|
84
|
-
"storybook": "^7.
|
|
84
|
+
"storybook": "^7.6.18",
|
|
85
85
|
"stylelint": "^16.3.1",
|
|
86
86
|
"stylelint-config-standard": "^36.0.0",
|
|
87
87
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
@@ -90,12 +90,12 @@
|
|
|
90
90
|
"ts-jest": "^29.1.1",
|
|
91
91
|
"ts-node": "^10.9.1",
|
|
92
92
|
"typescript": "^5.0.2",
|
|
93
|
-
"vite": "^4.3
|
|
93
|
+
"vite": "^4.5.3",
|
|
94
94
|
"vite-plugin-dts": "^2.3.0",
|
|
95
|
-
"vite-plugin-svgr": "^4.
|
|
95
|
+
"vite-plugin-svgr": "^4.2.0"
|
|
96
96
|
},
|
|
97
97
|
"peerDependencies": {
|
|
98
|
-
"react": "^18.
|
|
98
|
+
"react": "^18.3.1",
|
|
99
99
|
"react-dom": "^18.2.0"
|
|
100
100
|
}
|
|
101
101
|
}
|