@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.
@@ -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 = (t, r, o) => r in t ? i(t, r, { enumerable: !0, configurable: !0, writable: !0, value: o }) : t[r] = o;
3
- var e = (t, r, o) => (c(t, typeof r != "symbol" ? r + "" : r, o), o);
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(o, n) {
16
+ componentDidCatch(t, n) {
17
17
  var a, s;
18
- (s = this.props) == null || s.logger(o, (a = n.componentStack) != null ? a : "ErrorBoundary caught an error");
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;
@@ -5,8 +5,7 @@ object-assign
5
5
  */
6
6
  var f, i;
7
7
  function p() {
8
- if (i)
9
- return f;
8
+ if (i) return f;
10
9
  i = 1;
11
10
  var u = Object.getOwnPropertySymbols, b = Object.prototype.hasOwnProperty, l = Object.prototype.propertyIsEnumerable;
12
11
  function O(n) {
@@ -2,8 +2,7 @@ import { __require as E } from "./lib/ReactPropTypesSecret.js";
2
2
  import { __require as _ } from "./lib/has.js";
3
3
  var f, v;
4
4
  function P() {
5
- if (v)
6
- return f;
5
+ if (v) return f;
7
6
  v = 1;
8
7
  var o = function() {
9
8
  };
@@ -1,8 +1,7 @@
1
1
  import { __require as u } from "./lib/ReactPropTypesSecret.js";
2
2
  var o, p;
3
3
  function g() {
4
- if (p)
5
- return o;
4
+ if (p) return o;
6
5
  p = 1;
7
6
  var c = u();
8
7
  function n() {
@@ -5,8 +5,7 @@ import { __require as re } from "./lib/has.js";
5
5
  import { __require as ne } from "./checkPropTypes.js";
6
6
  var A, C;
7
7
  function oe() {
8
- if (C)
9
- return A;
8
+ if (C) return A;
10
9
  C = 1;
11
10
  var k = F(), W = N(), h = ee(), j = re(), R = ne(), T = function() {
12
11
  };
@@ -1,7 +1,6 @@
1
1
  var e, r;
2
2
  function _() {
3
- if (r)
4
- return e;
3
+ if (r) return e;
5
4
  r = 1;
6
5
  var t = "SECRET_DO_NOT_PASS_THIS_OR_YOU_WILL_BE_FIRED";
7
6
  return e = t, e;
@@ -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) {
@@ -20,8 +20,7 @@ import { t as _ } from "./tabbable.js";
20
20
  }
21
21
  var t = void 0, n = r.shiftKey, o = a[0], u = a[a.length - 1], i = v();
22
22
  if (e === i) {
23
- if (!n)
24
- return;
23
+ if (!n) return;
25
24
  t = u;
26
25
  }
27
26
  if (u === i && !n && (t = o), o === i && n && (t = u), t) {
@@ -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;
@@ -6,6 +6,7 @@
6
6
  .#{$px}-footer {
7
7
  background-color: $off-white;
8
8
  border-top: 1px solid $keyline-gray;
9
+ margin: $spacing-lg 0 0;
9
10
  width: 100%;
10
11
 
11
12
  ul {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@phillips/seldon",
3
- "version": "1.25.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.1.2",
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.5",
53
- "@storybook/addon-essentials": "^8.1.5",
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.5",
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.5",
61
- "@testing-library/jest-dom": "^6.4.5",
62
- "@testing-library/react": "^14.0.0",
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.0",
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.0",
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.4",
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.0",
92
+ "stylelint-scss": "^6.3.1",
93
93
  "ts-node": "^10.9.2",
94
94
  "typescript": "^5.4.5",
95
- "vite": "^5.2.12",
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",