@boxyhq/react-ui
Advanced tools
Comparing version 1.9.6 to 1.9.7
@@ -14,11 +14,3 @@ (function() { | ||
import require$$0, { useState, useEffect } from "react"; | ||
var jsxRuntimeExports = {}; | ||
var jsxRuntime = { | ||
get exports() { | ||
return jsxRuntimeExports; | ||
}, | ||
set exports(v) { | ||
jsxRuntimeExports = v; | ||
} | ||
}; | ||
var jsxRuntime = { exports: {} }; | ||
var reactJsxRuntime_production_min = {}; | ||
@@ -935,7 +927,7 @@ /** | ||
} | ||
var jsx2 = jsxWithValidationDynamic; | ||
var jsxs2 = jsxWithValidationStatic; | ||
var jsx = jsxWithValidationDynamic; | ||
var jsxs = jsxWithValidationStatic; | ||
reactJsxRuntime_development.Fragment = REACT_FRAGMENT_TYPE; | ||
reactJsxRuntime_development.jsx = jsx2; | ||
reactJsxRuntime_development.jsxs = jsxs2; | ||
reactJsxRuntime_development.jsx = jsx; | ||
reactJsxRuntime_development.jsxs = jsxs; | ||
})(); | ||
@@ -945,12 +937,8 @@ } | ||
} | ||
(function(module) { | ||
if (process.env.NODE_ENV === "production") { | ||
module.exports = requireReactJsxRuntime_production_min(); | ||
} else { | ||
module.exports = requireReactJsxRuntime_development(); | ||
} | ||
})(jsxRuntime); | ||
const Fragment = jsxRuntimeExports.Fragment; | ||
const jsx = jsxRuntimeExports.jsx; | ||
const jsxs = jsxRuntimeExports.jsxs; | ||
if (process.env.NODE_ENV === "production") { | ||
jsxRuntime.exports = requireReactJsxRuntime_production_min(); | ||
} else { | ||
jsxRuntime.exports = requireReactJsxRuntime_development(); | ||
} | ||
var jsxRuntimeExports = jsxRuntime.exports; | ||
const htmlIdGenerator = (prefix, elementType) => { | ||
@@ -1011,4 +999,4 @@ const uniqueId = Math.floor(1e6 + Math.random() * 1e6).toString(); | ||
const shouldRenderInput = !ssoIdentifier; | ||
const inputUI = shouldRenderInput ? /* @__PURE__ */ jsxs(Fragment, { children: [ | ||
/* @__PURE__ */ jsx( | ||
const inputUI = shouldRenderInput ? /* @__PURE__ */ jsxRuntimeExports.jsxs(jsxRuntimeExports.Fragment, { children: [ | ||
/* @__PURE__ */ jsxRuntimeExports.jsx( | ||
"label", | ||
@@ -1023,3 +1011,3 @@ { | ||
), | ||
/* @__PURE__ */ jsx( | ||
/* @__PURE__ */ jsxRuntimeExports.jsx( | ||
"input", | ||
@@ -1038,6 +1026,6 @@ { | ||
), | ||
isError && /* @__PURE__ */ jsx("span", { id: errorSpanId, children: errMsg }) | ||
isError && /* @__PURE__ */ jsxRuntimeExports.jsx("span", { id: errorSpanId, children: errMsg }) | ||
] }) : null; | ||
const disableButton = !(_ssoIdentifier || ssoIdentifier) || isProcessing; | ||
return /* @__PURE__ */ jsxs( | ||
return /* @__PURE__ */ jsxRuntimeExports.jsxs( | ||
"div", | ||
@@ -1050,3 +1038,3 @@ { | ||
inputUI, | ||
/* @__PURE__ */ jsx( | ||
/* @__PURE__ */ jsxRuntimeExports.jsx( | ||
"button", | ||
@@ -1053,0 +1041,0 @@ { |
{ | ||
"name": "@boxyhq/react-ui", | ||
"description": "React UI components from BoxyHQ", | ||
"version": "1.9.6", | ||
"version": "1.9.7", | ||
"type": "module", | ||
@@ -44,16 +44,16 @@ "keywords": [ | ||
"@rollup/plugin-typescript": "11.1.0", | ||
"@types/node": "18.15.11", | ||
"@types/react": "18.0.33", | ||
"@types/node": "20.1.0", | ||
"@types/react": "18.2.0", | ||
"@types/react-router-dom": "5.3.3", | ||
"@vitejs/plugin-react": "3.1.0", | ||
"@vitejs/plugin-react": "4.0.0", | ||
"autoprefixer": "10.4.14", | ||
"react": "18.2.0", | ||
"react-dom": "18.2.0", | ||
"react-router-dom": "6.10.0", | ||
"react-router-dom": "6.11.1", | ||
"rimraf": "5.0.0", | ||
"serve": "14.2.0", | ||
"vite": "4.2.1", | ||
"vite-pages-theme-doc": "4.1.0", | ||
"vite": "4.3.5", | ||
"vite-pages-theme-doc": "4.1.4", | ||
"vite-plugin-css-injected-by-js": "3.1.0", | ||
"vite-plugin-react-pages": "4.1.0" | ||
"vite-plugin-react-pages": "4.1.1" | ||
}, | ||
@@ -60,0 +60,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
103460
2190