@tonconnect/ui-react
Advanced tools
Comparing version 1.0.0-beta.5 to 1.0.0-beta.6
@@ -0,4 +1,17 @@ | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __propIsEnum = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
if (__hasOwnProp.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
if (__getOwnPropSymbols) | ||
for (var prop of __getOwnPropSymbols(b)) { | ||
if (__propIsEnum.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
} | ||
return a; | ||
}; | ||
var __objRest = (source, exclude) => { | ||
@@ -1001,4 +1014,12 @@ var target = {}; | ||
setOptions({ buttonRootId }); | ||
return () => setOptions({ buttonRootId: null }); | ||
}, [setOptions]); | ||
return /* @__PURE__ */ jsx("div", { id: buttonRootId, className, style }); | ||
return /* @__PURE__ */ jsx( | ||
"div", | ||
{ | ||
id: buttonRootId, | ||
className, | ||
style: __spreadValues({ width: "fit-content" }, style) | ||
} | ||
); | ||
}; | ||
@@ -1005,0 +1026,0 @@ const TonConnectButton$1 = memo(TonConnectButton); |
@@ -0,4 +1,17 @@ | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropSymbols = Object.getOwnPropertySymbols; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __propIsEnum = Object.prototype.propertyIsEnumerable; | ||
var __defNormalProp = (obj, key, value) => key in obj ? __defProp(obj, key, { enumerable: true, configurable: true, writable: true, value }) : obj[key] = value; | ||
var __spreadValues = (a, b) => { | ||
for (var prop in b || (b = {})) | ||
if (__hasOwnProp.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
if (__getOwnPropSymbols) | ||
for (var prop of __getOwnPropSymbols(b)) { | ||
if (__propIsEnum.call(b, prop)) | ||
__defNormalProp(a, prop, b[prop]); | ||
} | ||
return a; | ||
}; | ||
var __objRest = (source, exclude) => { | ||
@@ -1002,4 +1015,12 @@ var target = {}; | ||
setOptions({ buttonRootId }); | ||
return () => setOptions({ buttonRootId: null }); | ||
}, [setOptions]); | ||
return /* @__PURE__ */ jsx("div", { id: buttonRootId, className, style }); | ||
return /* @__PURE__ */ jsx( | ||
"div", | ||
{ | ||
id: buttonRootId, | ||
className, | ||
style: __spreadValues({ width: "fit-content" }, style) | ||
} | ||
); | ||
}; | ||
@@ -1006,0 +1027,0 @@ const TonConnectButton$1 = require$$0.memo(TonConnectButton); |
{ | ||
"name": "@tonconnect/ui-react", | ||
"version": "1.0.0-beta.5", | ||
"version": "1.0.0-beta.6", | ||
"scripts": { | ||
@@ -55,3 +55,3 @@ "dev": "vite", | ||
"dependencies": { | ||
"@tonconnect/ui": "^1.0.0-beta.4" | ||
"@tonconnect/ui": "^1.0.0-beta.5" | ||
}, | ||
@@ -58,0 +58,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
254105
2264
Updated@tonconnect/ui@^1.0.0-beta.5