@contractspec/lib.ui-kit-web 3.4.2 → 3.5.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.
@@ -65,7 +65,7 @@ var DefaultErrorFallback = ({
65
65
  errorId,
66
66
  resetError
67
67
  }) => {
68
- const isDevelopment = true;
68
+ const isDevelopment = false;
69
69
  return /* @__PURE__ */ jsxDEV2("div", {
70
70
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4",
71
71
  children: /* @__PURE__ */ jsxDEV2("div", {
@@ -162,9 +162,7 @@ class ErrorBoundary extends React.Component {
162
162
  const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
163
163
  this.setState({ errorId });
164
164
  this.props.onError?.(error, errorInfo);
165
- if (true) {
166
- console.error("ErrorBoundary caught an error:", error, errorInfo);
167
- }
165
+ if (false) {}
168
166
  }
169
167
  resetError = () => {
170
168
  this.setState({
@@ -65,7 +65,7 @@ var DefaultErrorFallback = ({
65
65
  errorId,
66
66
  resetError
67
67
  }) => {
68
- const isDevelopment = true;
68
+ const isDevelopment = false;
69
69
  return /* @__PURE__ */ jsxDEV2("div", {
70
70
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4",
71
71
  children: /* @__PURE__ */ jsxDEV2("div", {
@@ -162,9 +162,7 @@ class ErrorBoundary extends React.Component {
162
162
  const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
163
163
  this.setState({ errorId });
164
164
  this.props.onError?.(error, errorInfo);
165
- if (true) {
166
- console.error("ErrorBoundary caught an error:", error, errorInfo);
167
- }
165
+ if (false) {}
168
166
  }
169
167
  resetError = () => {
170
168
  this.setState({
@@ -60,7 +60,7 @@ var DefaultErrorFallback = ({
60
60
  errorId,
61
61
  resetError
62
62
  }) => {
63
- const isDevelopment = true;
63
+ const isDevelopment = false;
64
64
  return /* @__PURE__ */ jsxDEV2("div", {
65
65
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4",
66
66
  children: /* @__PURE__ */ jsxDEV2("div", {
@@ -157,9 +157,7 @@ class ErrorBoundary extends React.Component {
157
157
  const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
158
158
  this.setState({ errorId });
159
159
  this.props.onError?.(error, errorInfo);
160
- if (true) {
161
- console.error("ErrorBoundary caught an error:", error, errorInfo);
162
- }
160
+ if (false) {}
163
161
  }
164
162
  resetError = () => {
165
163
  this.setState({
@@ -60,7 +60,7 @@ var DefaultErrorFallback = ({
60
60
  errorId,
61
61
  resetError
62
62
  }) => {
63
- const isDevelopment = true;
63
+ const isDevelopment = false;
64
64
  return /* @__PURE__ */ jsxDEV2("div", {
65
65
  className: "flex min-h-screen items-center justify-center bg-gray-50 px-4",
66
66
  children: /* @__PURE__ */ jsxDEV2("div", {
@@ -157,9 +157,7 @@ class ErrorBoundary extends React.Component {
157
157
  const errorId = `err_${Date.now()}_${Math.random().toString(36).substr(2, 9)}`;
158
158
  this.setState({ errorId });
159
159
  this.props.onError?.(error, errorInfo);
160
- if (true) {
161
- console.error("ErrorBoundary caught an error:", error, errorInfo);
162
- }
160
+ if (false) {}
163
161
  }
164
162
  resetError = () => {
165
163
  this.setState({
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@contractspec/lib.ui-kit-web",
3
- "version": "3.4.2",
3
+ "version": "3.5.0",
4
4
  "description": "Web UI components with Radix primitives",
5
5
  "keywords": [
6
6
  "contractspec",
@@ -31,7 +31,7 @@
31
31
  "typecheck": "tsc --noEmit"
32
32
  },
33
33
  "dependencies": {
34
- "@contractspec/lib.ui-kit-core": "3.4.2",
34
+ "@contractspec/lib.ui-kit-core": "3.5.0",
35
35
  "@hookform/resolvers": "5.2.2",
36
36
  "@radix-ui/react-accordion": "^1.2.11",
37
37
  "@radix-ui/react-alert-dialog": "^1.1.14",
@@ -71,7 +71,7 @@
71
71
  "radix-ui": "^1.4.3",
72
72
  "react-day-picker": "^9.14.0",
73
73
  "react-hook-form": "^7.71.2",
74
- "react-resizable-panels": "^4.7.1",
74
+ "react-resizable-panels": "^4.7.2",
75
75
  "sonner": "^2.0.7",
76
76
  "tailwind-merge": "^3.5.0",
77
77
  "vaul": "^1.1.2"
@@ -89,16 +89,16 @@
89
89
  "@types/react-dom": "^19.2.2",
90
90
  "@types/jest": "^30.0.0",
91
91
  "jest": "^30.2.0",
92
- "storybook": "^10.2.15",
92
+ "storybook": "^10.2.16",
93
93
  "typescript": "^5.9.3",
94
94
  "react": "19.2.4",
95
95
  "react-dom": "19.2.4",
96
- "@contractspec/tool.typescript": "3.4.2",
96
+ "@contractspec/tool.typescript": "3.5.0",
97
97
  "@types/geojson": "^7946.0.14",
98
98
  "@sentry/nextjs": "^10.42.0",
99
99
  "maplibre-gl": "^5.19.0",
100
100
  "react-map-gl": "^8.0.4",
101
- "@contractspec/tool.bun": "3.4.2"
101
+ "@contractspec/tool.bun": "3.5.0"
102
102
  },
103
103
  "exports": {
104
104
  ".": {