@phillips/seldon 1.25.1 → 1.26.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/dist/_virtual/_commonjsHelpers.js +2 -4
- package/dist/components/ErrorBoundary/ErrorBoundary.js +4 -4
- package/dist/node_modules/object-assign/index.js +1 -2
- package/dist/node_modules/prop-types/checkPropTypes.js +1 -2
- package/dist/node_modules/prop-types/factoryWithThrowingShims.js +1 -2
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -2
- package/dist/node_modules/prop-types/lib/ReactPropTypesSecret.js +1 -2
- package/dist/node_modules/prop-types/node_modules/react-is/cjs/react-is.production.min.js +1 -2
- package/dist/node_modules/react-modal/lib/helpers/scopeTab.js +1 -2
- package/dist/node_modules/react-modal/lib/helpers/tabbable.js +2 -4
- package/dist/scss/components/Footer/_footer.scss +1 -0
- package/package.json +13 -13
|
@@ -2,16 +2,14 @@ function n(e) {
|
|
|
2
2
|
return e && e.__esModule && Object.prototype.hasOwnProperty.call(e, "default") ? e.default : e;
|
|
3
3
|
}
|
|
4
4
|
function c(e) {
|
|
5
|
-
if (e.__esModule)
|
|
6
|
-
return e;
|
|
5
|
+
if (e.__esModule) return e;
|
|
7
6
|
var o = e.default;
|
|
8
7
|
if (typeof o == "function") {
|
|
9
8
|
var t = function r() {
|
|
10
9
|
return this instanceof r ? Reflect.construct(o, arguments, this.constructor) : o.apply(this, arguments);
|
|
11
10
|
};
|
|
12
11
|
t.prototype = o.prototype;
|
|
13
|
-
} else
|
|
14
|
-
t = {};
|
|
12
|
+
} else t = {};
|
|
15
13
|
return Object.defineProperty(t, "__esModule", { value: !0 }), Object.keys(e).forEach(function(r) {
|
|
16
14
|
var u = Object.getOwnPropertyDescriptor(e, r);
|
|
17
15
|
Object.defineProperty(t, r, u.get ? u : {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
var i = Object.defineProperty;
|
|
2
|
-
var c = (
|
|
3
|
-
var e = (
|
|
2
|
+
var c = (o, r, t) => r in o ? i(o, r, { enumerable: !0, configurable: !0, writable: !0, value: t }) : o[r] = t;
|
|
3
|
+
var e = (o, r, t) => c(o, typeof r != "symbol" ? r + "" : r, t);
|
|
4
4
|
import { jsx as l } from "react/jsx-runtime";
|
|
5
5
|
import * as p from "react";
|
|
6
6
|
class h extends p.Component {
|
|
@@ -13,9 +13,9 @@ class h extends p.Component {
|
|
|
13
13
|
static getDerivedStateFromError() {
|
|
14
14
|
return { hasError: !0 };
|
|
15
15
|
}
|
|
16
|
-
componentDidCatch(
|
|
16
|
+
componentDidCatch(t, n) {
|
|
17
17
|
var a, s;
|
|
18
|
-
(s = this.props) == null || s.logger(
|
|
18
|
+
(s = this.props) == null || s.logger(t, (a = n.componentStack) != null ? a : "ErrorBoundary caught an error");
|
|
19
19
|
}
|
|
20
20
|
render() {
|
|
21
21
|
return this.state.hasError ? this.props.fallback || /* @__PURE__ */ l("h2", { children: "Sorry... An error occurred and we are looking into it" }) : this.props.children;
|
|
@@ -9,8 +9,7 @@ import { __exports as r } from "../../../../../_virtual/react-is.production.min.
|
|
|
9
9
|
*/
|
|
10
10
|
var _;
|
|
11
11
|
function g() {
|
|
12
|
-
if (_)
|
|
13
|
-
return r;
|
|
12
|
+
if (_) return r;
|
|
14
13
|
_ = 1;
|
|
15
14
|
var t = typeof Symbol == "function" && Symbol.for, a = t ? Symbol.for("react.element") : 60103, b = t ? Symbol.for("react.portal") : 60106, n = t ? Symbol.for("react.fragment") : 60107, c = t ? Symbol.for("react.strict_mode") : 60108, f = t ? Symbol.for("react.profiler") : 60114, i = t ? Symbol.for("react.provider") : 60109, s = t ? Symbol.for("react.context") : 60110, d = t ? Symbol.for("react.async_mode") : 60111, u = t ? Symbol.for("react.concurrent_mode") : 60111, y = t ? Symbol.for("react.forward_ref") : 60112, l = t ? Symbol.for("react.suspense") : 60113, x = t ? Symbol.for("react.suspense_list") : 60120, m = t ? Symbol.for("react.memo") : 60115, p = t ? Symbol.for("react.lazy") : 60116, C = t ? Symbol.for("react.block") : 60121, M = t ? Symbol.for("react.fundamental") : 60117, v = t ? Symbol.for("react.responder") : 60118, w = t ? Symbol.for("react.scope") : 60119;
|
|
16
15
|
function o(e) {
|
|
@@ -21,8 +21,7 @@ import { __module as n } from "../../../../_virtual/tabbable.js";
|
|
|
21
21
|
}
|
|
22
22
|
function b(t) {
|
|
23
23
|
var e = t.offsetWidth <= 0 && t.offsetHeight <= 0;
|
|
24
|
-
if (e && !t.innerHTML)
|
|
25
|
-
return !0;
|
|
24
|
+
if (e && !t.innerHTML) return !0;
|
|
26
25
|
try {
|
|
27
26
|
var r = window.getComputedStyle(t), o = r.getPropertyValue("display");
|
|
28
27
|
return e ? o !== s && c(t, r) : o === d;
|
|
@@ -32,8 +31,7 @@ import { __module as n } from "../../../../_virtual/tabbable.js";
|
|
|
32
31
|
}
|
|
33
32
|
function l(t) {
|
|
34
33
|
for (var e = t, r = t.getRootNode && t.getRootNode(); e && e !== document.body; ) {
|
|
35
|
-
if (r && e === r && (e = r.host.parentNode), b(e))
|
|
36
|
-
return !1;
|
|
34
|
+
if (r && e === r && (e = r.host.parentNode), b(e)) return !1;
|
|
37
35
|
e = e.parentNode;
|
|
38
36
|
}
|
|
39
37
|
return !0;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@phillips/seldon",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.26.0",
|
|
4
4
|
"repository": {
|
|
5
5
|
"type": "git",
|
|
6
6
|
"url": "https://github.com/PhillipsAuctionHouse/seldon"
|
|
@@ -46,20 +46,20 @@
|
|
|
46
46
|
"@chromatic-com/storybook": "^1.5.0",
|
|
47
47
|
"@commitlint/cli": "^19.3.0",
|
|
48
48
|
"@commitlint/config-conventional": "^19.2.2",
|
|
49
|
-
"@figma/code-connect": "^0.
|
|
49
|
+
"@figma/code-connect": "^0.2.0",
|
|
50
50
|
"@semantic-release/changelog": "^6.0.3",
|
|
51
51
|
"@semantic-release/git": "^10.0.1",
|
|
52
|
-
"@semantic-release/github": "^10.0.
|
|
53
|
-
"@storybook/addon-essentials": "^8.1.
|
|
52
|
+
"@semantic-release/github": "^10.0.6",
|
|
53
|
+
"@storybook/addon-essentials": "^8.1.9",
|
|
54
54
|
"@storybook/addon-interactions": "^8.1.4",
|
|
55
55
|
"@storybook/addon-links": "^8.1.4",
|
|
56
|
-
"@storybook/addon-mdx-gfm": "^8.1.
|
|
56
|
+
"@storybook/addon-mdx-gfm": "^8.1.9",
|
|
57
57
|
"@storybook/blocks": "^8.1.4",
|
|
58
58
|
"@storybook/react": "^8.1.4",
|
|
59
59
|
"@storybook/react-vite": "^8.1.4",
|
|
60
|
-
"@storybook/theming": "^8.1.
|
|
61
|
-
"@testing-library/jest-dom": "^6.4.
|
|
62
|
-
"@testing-library/react": "^
|
|
60
|
+
"@storybook/theming": "^8.1.9",
|
|
61
|
+
"@testing-library/jest-dom": "^6.4.6",
|
|
62
|
+
"@testing-library/react": "^16.0.0",
|
|
63
63
|
"@testing-library/user-event": "^14.5.2",
|
|
64
64
|
"@types/color": "^3.0.6",
|
|
65
65
|
"@types/react": "^18.3.3",
|
|
@@ -67,7 +67,7 @@
|
|
|
67
67
|
"@types/react-modal": "^3.16.3",
|
|
68
68
|
"@typescript-eslint/eslint-plugin": "^5.62.0",
|
|
69
69
|
"@typescript-eslint/parser": "^5.62.0",
|
|
70
|
-
"@vitejs/plugin-react": "^4.3.
|
|
70
|
+
"@vitejs/plugin-react": "^4.3.1",
|
|
71
71
|
"@vitest/coverage-v8": "^1.6.0",
|
|
72
72
|
"color": "^4.2.3",
|
|
73
73
|
"eslint": "^8.57.0",
|
|
@@ -75,24 +75,24 @@
|
|
|
75
75
|
"eslint-plugin-react-refresh": "^0.4.7",
|
|
76
76
|
"eslint-plugin-storybook": "^0.8.0",
|
|
77
77
|
"husky": "^9.0.11",
|
|
78
|
-
"prettier": "3.3.
|
|
78
|
+
"prettier": "3.3.2",
|
|
79
79
|
"react": "^18.3.1",
|
|
80
80
|
"react-docgen-typescript": "^2.2.2",
|
|
81
81
|
"react-dom": "^18.2.0",
|
|
82
82
|
"rimraf": "^5.0.7",
|
|
83
83
|
"rollup-plugin-copy": "^3.5.0",
|
|
84
84
|
"rollup-plugin-peer-deps-external": "^2.2.4",
|
|
85
|
-
"sass": "^1.77.
|
|
85
|
+
"sass": "^1.77.5",
|
|
86
86
|
"semantic-release": "^23.1.1",
|
|
87
87
|
"storybook": "^8.1.4",
|
|
88
88
|
"stylelint": "^16.6.1",
|
|
89
89
|
"stylelint-config-standard": "^36.0.0",
|
|
90
90
|
"stylelint-config-standard-scss": "^13.1.0",
|
|
91
91
|
"stylelint-order": "^6.0.4",
|
|
92
|
-
"stylelint-scss": "^6.3.
|
|
92
|
+
"stylelint-scss": "^6.3.1",
|
|
93
93
|
"ts-node": "^10.9.2",
|
|
94
94
|
"typescript": "^5.4.5",
|
|
95
|
-
"vite": "^5.
|
|
95
|
+
"vite": "^5.3.1",
|
|
96
96
|
"vite-plugin-dts": "^2.3.0",
|
|
97
97
|
"vite-plugin-svgr": "^4.2.0",
|
|
98
98
|
"vite-tsconfig-paths": "^4.3.2",
|