@vechain/vechain-kit 1.1.0 → 1.1.1

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/index.cjs CHANGED
@@ -4196,7 +4196,7 @@ var AddressDisplay = ({ wallet, label, size = "lg" }) => {
4196
4196
  // package.json
4197
4197
  var package_default = {
4198
4198
  name: "@vechain/vechain-kit",
4199
- version: "1.1.0",
4199
+ version: "1.1.1",
4200
4200
  private: false,
4201
4201
  homepage: "https://github.com/vechain/vechain-kit",
4202
4202
  repository: "github:vechain/vechain-kit",
@@ -10518,11 +10518,12 @@ var WalletDisplay = ({ variant }) => {
10518
10518
  var ConnectedWallet = ({
10519
10519
  mobileVariant = "iconAndDomain",
10520
10520
  desktopVariant = "iconAndDomain",
10521
- onOpen
10521
+ onOpen,
10522
+ buttonStyle
10522
10523
  }) => {
10523
10524
  const { account } = useWallet();
10524
10525
  const [isDesktop] = react.useMediaQuery("(min-width: 768px)");
10525
- return /* @__PURE__ */ jsxRuntime.jsx(react.Button, { onClick: onOpen, p: "0px 13px", minH: "45px", children: /* @__PURE__ */ jsxRuntime.jsxs(react.HStack, { children: [
10526
+ return /* @__PURE__ */ jsxRuntime.jsx(react.Button, { ...buttonStyle, onClick: onOpen, p: "0px 13px", minH: "45px", children: /* @__PURE__ */ jsxRuntime.jsxs(react.HStack, { children: [
10526
10527
  /* @__PURE__ */ jsxRuntime.jsx(
10527
10528
  react.Image,
10528
10529
  {
@@ -10539,7 +10540,8 @@ var ConnectedWallet = ({
10539
10540
  };
10540
10541
  var WalletButton = ({
10541
10542
  mobileVariant = "iconAndDomain",
10542
- desktopVariant = "iconDomainAndAddress"
10543
+ desktopVariant = "iconDomainAndAddress",
10544
+ buttonStyle
10543
10545
  }) => {
10544
10546
  const { t } = reactI18next.useTranslation();
10545
10547
  const { darkMode } = useVeChainKitConfig();
@@ -10575,9 +10577,10 @@ var WalletButton = ({
10575
10577
  {
10576
10578
  mobileVariant,
10577
10579
  desktopVariant,
10578
- onOpen: accountModal.onOpen
10580
+ onOpen: accountModal.onOpen,
10581
+ buttonStyle
10579
10582
  }
10580
- ) : /* @__PURE__ */ jsxRuntime.jsx(react.Button, { onClick: handleConnect, children: t("Login") }),
10583
+ ) : /* @__PURE__ */ jsxRuntime.jsx(react.Button, { onClick: handleConnect, ...buttonStyle, children: t("Login") }),
10581
10584
  /* @__PURE__ */ jsxRuntime.jsx(
10582
10585
  ConnectModal,
10583
10586
  {