@arcblock/ux 3.0.5 → 3.0.7

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.
Files changed (370) hide show
  1. package/lib/ActionButton/index.d.ts +1 -1
  2. package/lib/ActionButton/index.js +9 -9
  3. package/lib/ActivityIndicator/index.js +6 -7
  4. package/lib/Address/compact-text.d.ts +1 -1
  5. package/lib/Address/compact-text.js +6 -7
  6. package/lib/Address/did-address.js +4 -4
  7. package/lib/Address/index.js +6 -6
  8. package/lib/Address/responsive-did-address.js +17 -17
  9. package/lib/Alert/index.d.ts +1 -1
  10. package/lib/Alert/index.js +8 -8
  11. package/lib/AnimationWaiter/index.js +10 -10
  12. package/lib/Async/index.js +4 -4
  13. package/lib/Avatar/etherscan-blockies.js +15 -15
  14. package/lib/Avatar/index.d.ts +1 -1
  15. package/lib/Avatar/index.js +6 -6
  16. package/lib/Badge/index.js +5 -5
  17. package/lib/Blocklet/blocklet.js +10 -10
  18. package/lib/Blocklet/index.js +6 -5
  19. package/lib/Blocklet/utils.js +1 -1
  20. package/lib/BlockletContext/index.d.ts +1 -1
  21. package/lib/BlockletContext/index.js +1 -1
  22. package/lib/BlockletNFT/index.js +19 -19
  23. package/lib/BlockletV2/blocklet.d.ts +1 -1
  24. package/lib/BlockletV2/blocklet.js +36 -37
  25. package/lib/BlockletV2/components/icon-text.d.ts +1 -1
  26. package/lib/BlockletV2/components/icon-text.js +13 -13
  27. package/lib/BlockletV2/components/tooltip-icon.js +22 -20
  28. package/lib/BlockletV2/index.js +8 -7
  29. package/lib/BlockletV2/utils.js +1 -1
  30. package/lib/Button/index.js +1 -1
  31. package/lib/Button/wrap.js +3 -3
  32. package/lib/ButtonGroup/index.js +1 -1
  33. package/lib/Center/index.js +4 -4
  34. package/lib/ClickToCopy/copy-button.js +3 -3
  35. package/lib/ClickToCopy/index.js +5 -5
  36. package/lib/CloseButton/index.js +2 -2
  37. package/lib/CodeBlock/index.js +3 -3
  38. package/lib/Colors/index.js +3 -3
  39. package/lib/Config/config-provider.js +15 -16
  40. package/lib/Config/index.js +3 -5
  41. package/lib/Config/theme-mode-toggle.js +1 -1
  42. package/lib/ContactForm/index.js +26 -25
  43. package/lib/CookieConsent/index.js +1 -1
  44. package/lib/CountDown/index.js +2 -2
  45. package/lib/DID/index.js +79 -78
  46. package/lib/DIDConnect/app-icon.js +10 -10
  47. package/lib/DIDConnect/app-info-item.js +5 -5
  48. package/lib/DIDConnect/auth-apps/auth-apps-info.js +1 -1
  49. package/lib/DIDConnect/auth-apps/index.js +56 -56
  50. package/lib/DIDConnect/did-connect-container.js +35 -36
  51. package/lib/DIDConnect/did-connect-footer.js +7 -7
  52. package/lib/DIDConnect/index.js +10 -10
  53. package/lib/DIDConnect/landing-page.js +45 -46
  54. package/lib/DIDConnect/powered-by.js +2 -2
  55. package/lib/DIDConnect/request-storage-access-api-dialog.js +44 -45
  56. package/lib/DIDConnect/with-container.js +25 -26
  57. package/lib/DIDConnect/with-ux-theme.js +6 -7
  58. package/lib/Datatable/CustomToolbar.d.ts +3 -1
  59. package/lib/Datatable/CustomToolbar.js +13 -13
  60. package/lib/Datatable/TableSearch.js +2 -2
  61. package/lib/Datatable/index.js +6 -6
  62. package/lib/Dialog/confirm.d.ts +1 -1
  63. package/lib/Dialog/confirm.js +20 -20
  64. package/lib/Dialog/dialog.js +7 -7
  65. package/lib/Dialog/index.js +3 -3
  66. package/lib/Dialog/types.d.ts +20 -0
  67. package/lib/Dialog/use-confirm.js +1 -1
  68. package/lib/DriftBot/index.js +1 -1
  69. package/lib/Earth/index.js +10 -10
  70. package/lib/Empty/index.js +1 -1
  71. package/lib/ErrorBoundary/fallback.js +15 -15
  72. package/lib/ErrorBoundary/index.js +1 -6
  73. package/lib/Footer/index.d.ts +1 -1
  74. package/lib/Footer/index.js +7 -7
  75. package/lib/Header/addon-button.d.ts +1 -1
  76. package/lib/Header/addon-button.js +11 -6
  77. package/lib/Header/auto-hidden.js +1 -1
  78. package/lib/Header/header.js +4 -4
  79. package/lib/Header/index.js +3 -3
  80. package/lib/Header/responsive-header.d.ts +1 -1
  81. package/lib/Header/responsive-header.js +33 -34
  82. package/lib/Icon/image.js +2 -2
  83. package/lib/Icon/index.js +12 -12
  84. package/lib/Img/index.js +1 -1
  85. package/lib/InfoRow/index.d.ts +1 -1
  86. package/lib/InfoRow/index.js +1 -2
  87. package/lib/Layout/dashboard/external-link.d.ts +1 -1
  88. package/lib/Layout/dashboard/external-link.js +1 -1
  89. package/lib/Layout/dashboard/full-page.js +8 -8
  90. package/lib/Layout/dashboard/index.js +30 -32
  91. package/lib/Layout/dashboard/sidebar.js +3 -3
  92. package/lib/Layout/dashboard-legacy/header.js +12 -12
  93. package/lib/Layout/dashboard-legacy/index.js +20 -20
  94. package/lib/Layout/dashboard-legacy/sidebar.d.ts +1 -1
  95. package/lib/Layout/dashboard-legacy/sidebar.js +20 -13
  96. package/lib/Layout/index.js +7 -7
  97. package/lib/LoadingMask/index.d.ts +1 -1
  98. package/lib/LoadingMask/index.js +4 -4
  99. package/lib/Locale/context.js +27 -27
  100. package/lib/Locale/selector.d.ts +1 -1
  101. package/lib/Locale/selector.js +4 -4
  102. package/lib/Logo/index.js +19 -19
  103. package/lib/Metric/index.js +2 -2
  104. package/lib/NFTDisplay/aspect-ratio-container.d.ts +1 -1
  105. package/lib/NFTDisplay/aspect-ratio-container.js +1 -1
  106. package/lib/NFTDisplay/broken.js +2 -2
  107. package/lib/NFTDisplay/index.js +38 -35
  108. package/lib/NFTDisplay/loading.js +1 -1
  109. package/lib/NFTDisplay/render-svg.js +4 -4
  110. package/lib/NFTDisplay/svg-embedder/img.js +3 -3
  111. package/lib/NFTDisplay/svg-embedder/inline-svg.js +1 -1
  112. package/lib/NavMenu/index.js +2 -2
  113. package/lib/NavMenu/nav-menu.js +46 -44
  114. package/lib/NavMenu/products.js +33 -33
  115. package/lib/NavMenu/style.js +1 -1
  116. package/lib/NavMenu/sub-item-group.js +1 -1
  117. package/lib/PageScroller/index.js +53 -53
  118. package/lib/PageScroller/story/FullPage.js +27 -27
  119. package/lib/PageScroller/story/PageContain.js +8 -8
  120. package/lib/Passport/index.js +3 -2
  121. package/lib/Passport/passport.js +2 -2
  122. package/lib/PhoneInput/country-select.js +24 -24
  123. package/lib/PhoneInput/index.js +13 -13
  124. package/lib/PoweredByArcBlock/index.js +10 -6
  125. package/lib/PricingTable/PricingPlan.js +1 -1
  126. package/lib/PricingTable/index.js +3 -3
  127. package/lib/QRCode/index.js +5 -5
  128. package/lib/RelativeTime/index.js +17 -17
  129. package/lib/Result/common.js +4 -6
  130. package/lib/Result/index.js +2 -2
  131. package/lib/Result/result.js +5 -5
  132. package/lib/Screenshot/BaseScreenshot/index.js +3 -3
  133. package/lib/Screenshot/index.d.ts +1 -1
  134. package/lib/Screenshot/index.js +10 -10
  135. package/lib/SessionBlocklet/index.js +8 -8
  136. package/lib/SessionManager/index.js +3 -2
  137. package/lib/SessionUser/components/did-space.d.ts +1 -1
  138. package/lib/SessionUser/components/did-space.js +14 -14
  139. package/lib/SessionUser/components/logged-in.js +33 -33
  140. package/lib/SessionUser/components/quick-login-item.js +29 -29
  141. package/lib/SessionUser/components/session-user-item.js +27 -27
  142. package/lib/SessionUser/components/session-user-switch.js +4 -4
  143. package/lib/SessionUser/components/un-login.js +7 -7
  144. package/lib/SessionUser/components/user-info.js +16 -16
  145. package/lib/SessionUser/index.js +2 -2
  146. package/lib/SharedBridge/index.js +23 -23
  147. package/lib/Spinner/index.js +2 -2
  148. package/lib/SplitButton/index.d.ts +1 -1
  149. package/lib/SplitButton/index.js +2 -2
  150. package/lib/Success/index.js +1 -1
  151. package/lib/Switch/index.js +1 -1
  152. package/lib/Tabs/index.js +16 -9
  153. package/lib/Tag/index.d.ts +1 -1
  154. package/lib/Tag/index.js +7 -7
  155. package/lib/TextCollapse/index.js +3 -3
  156. package/lib/Theme/index.js +11 -22
  157. package/lib/Theme/theme-provider.js +60 -55
  158. package/lib/Theme/theme.js +5 -4
  159. package/lib/Toast/index.js +11 -11
  160. package/lib/Typography/index.js +13 -13
  161. package/lib/UserCard/Cards/avatar-only.js +2 -2
  162. package/lib/UserCard/Cards/basic-info.d.ts +1 -1
  163. package/lib/UserCard/Cards/basic-info.js +4 -4
  164. package/lib/UserCard/Cards/index.d.ts +1 -1
  165. package/lib/UserCard/Cards/index.js +4 -4
  166. package/lib/UserCard/Cards/name-only.js +1 -1
  167. package/lib/UserCard/Container/card.js +8 -8
  168. package/lib/UserCard/Container/dialog.js +2 -2
  169. package/lib/UserCard/Content/basic.js +3 -3
  170. package/lib/UserCard/Content/clock.js +3 -3
  171. package/lib/UserCard/Content/minimal.d.ts +1 -1
  172. package/lib/UserCard/Content/minimal.js +8 -8
  173. package/lib/UserCard/Content/tooltip-avatar.js +18 -18
  174. package/lib/UserCard/components.js +23 -23
  175. package/lib/UserCard/index.js +12 -12
  176. package/lib/Util/index.js +2 -2
  177. package/lib/VerificationCode/index.js +2 -2
  178. package/lib/Video/index.js +2 -2
  179. package/lib/Wallet/Action.js +4 -4
  180. package/lib/Wallet/Download.js +6 -6
  181. package/lib/Wallet/Open.js +1 -1
  182. package/lib/WalletOSIcon/index.d.ts +2 -2
  183. package/lib/WalletOSIcon/index.js +8 -3
  184. package/lib/WebWalletSWKeeper/index.d.ts +3 -1
  185. package/lib/WebWalletSWKeeper/index.js +6 -3
  186. package/lib/WechatPrompt/index.js +1 -1
  187. package/lib/global.d.ts +28 -0
  188. package/lib/hooks/use-blocklet-logo.js +13 -15
  189. package/lib/hooks/use-clock.js +1 -1
  190. package/lib/index.js +74 -79
  191. package/lib/type.d.ts +44 -0
  192. package/lib/withTheme/index.d.ts +3 -2
  193. package/lib/withTheme/index.js +13 -14
  194. package/lib/withTracker/error_boundary.js +1 -1
  195. package/package.json +7 -7
  196. package/src/ActionButton/index.jsx +1 -1
  197. package/src/Address/compact-text.jsx +1 -1
  198. package/src/Address/did-address.tsx +1 -1
  199. package/src/Address/index.tsx +1 -1
  200. package/src/Address/responsive-did-address.tsx +3 -3
  201. package/src/Alert/index.jsx +1 -1
  202. package/src/Avatar/index.jsx +1 -1
  203. package/src/Badge/index.jsx +1 -1
  204. package/src/BlockletContext/index.tsx +1 -1
  205. package/src/BlockletNFT/index.jsx +1 -1
  206. package/src/BlockletV2/blocklet.tsx +1 -1
  207. package/src/BlockletV2/components/icon-text.tsx +4 -4
  208. package/src/BlockletV2/components/tooltip-icon.tsx +5 -3
  209. package/src/Button/wrap.jsx +1 -1
  210. package/src/Center/index.tsx +1 -1
  211. package/src/ClickToCopy/copy-button.tsx +1 -1
  212. package/src/CloseButton/index.tsx +1 -1
  213. package/src/ContactForm/index.tsx +9 -2
  214. package/src/DID/index.tsx +5 -4
  215. package/src/DIDConnect/app-info-item.tsx +1 -1
  216. package/src/DIDConnect/auth-apps/index.tsx +8 -8
  217. package/src/DIDConnect/did-connect-container.tsx +2 -2
  218. package/src/DIDConnect/did-connect-footer.tsx +1 -1
  219. package/src/DIDConnect/landing-page.tsx +6 -6
  220. package/src/DIDConnect/request-storage-access-api-dialog.tsx +1 -2
  221. package/src/Datatable/CustomToolbar.jsx +1 -1
  222. package/src/Datatable/index.jsx +2 -2
  223. package/src/Dialog/confirm.jsx +1 -1
  224. package/src/Earth/index.tsx +1 -1
  225. package/src/Footer/index.tsx +5 -2
  226. package/src/Header/addon-button.tsx +7 -2
  227. package/src/Header/header.tsx +1 -1
  228. package/src/Header/responsive-header.tsx +1 -2
  229. package/src/Icon/index.tsx +1 -1
  230. package/src/InfoRow/index.tsx +1 -2
  231. package/src/Layout/dashboard/external-link.tsx +1 -1
  232. package/src/Layout/dashboard/full-page.tsx +1 -1
  233. package/src/Layout/dashboard/index.tsx +1 -1
  234. package/src/Layout/dashboard/sidebar.tsx +5 -2
  235. package/src/Layout/dashboard-legacy/header.tsx +5 -5
  236. package/src/Layout/dashboard-legacy/index.tsx +3 -3
  237. package/src/Layout/dashboard-legacy/sidebar.tsx +10 -2
  238. package/src/Layout/index.tsx +2 -2
  239. package/src/LoadingMask/index.tsx +5 -5
  240. package/src/Locale/context.tsx +3 -3
  241. package/src/Locale/selector.tsx +1 -1
  242. package/src/Logo/index.tsx +1 -1
  243. package/src/NFTDisplay/aspect-ratio-container.tsx +1 -1
  244. package/src/NFTDisplay/index.tsx +2 -1
  245. package/src/NFTDisplay/render-svg.tsx +1 -1
  246. package/src/NavMenu/nav-menu.tsx +8 -5
  247. package/src/NavMenu/products.tsx +3 -1
  248. package/src/PageScroller/index.tsx +4 -4
  249. package/src/PhoneInput/country-select.tsx +3 -3
  250. package/src/PhoneInput/index.tsx +1 -1
  251. package/src/PoweredByArcBlock/index.tsx +5 -1
  252. package/src/QRCode/index.tsx +1 -1
  253. package/src/RelativeTime/index.tsx +3 -3
  254. package/src/Result/result.tsx +1 -1
  255. package/src/Screenshot/index.tsx +2 -2
  256. package/src/SessionUser/components/did-space.tsx +1 -1
  257. package/src/SessionUser/components/session-user-item.tsx +1 -1
  258. package/src/SharedBridge/index.tsx +2 -2
  259. package/src/Spinner/index.tsx +1 -1
  260. package/src/SplitButton/index.tsx +1 -1
  261. package/src/Success/index.tsx +1 -1
  262. package/src/Tabs/index.tsx +10 -3
  263. package/src/Tag/index.jsx +1 -1
  264. package/src/TextCollapse/index.tsx +1 -1
  265. package/src/Theme/theme-provider.tsx +11 -6
  266. package/src/Theme/theme.ts +5 -0
  267. package/src/Typography/index.tsx +1 -1
  268. package/src/UserCard/Cards/basic-info.tsx +1 -1
  269. package/src/UserCard/Cards/index.tsx +1 -1
  270. package/src/UserCard/Container/card.tsx +2 -2
  271. package/src/UserCard/Container/dialog.tsx +1 -1
  272. package/src/UserCard/Content/basic.tsx +2 -2
  273. package/src/UserCard/Content/minimal.tsx +1 -1
  274. package/src/UserCard/Content/tooltip-avatar.tsx +4 -4
  275. package/src/VerificationCode/index.tsx +1 -1
  276. package/src/WalletOSIcon/index.tsx +7 -2
  277. package/src/WebWalletSWKeeper/index.tsx +6 -1
  278. package/src/withTheme/index.tsx +7 -3
  279. package/vite.config.mjs +5 -2
  280. package/lib/ActionButton/ActionButton.stories.d.ts +0 -18
  281. package/lib/ActivityIndicator/ActivityIndicator.stories.d.ts +0 -8
  282. package/lib/Address/Address.stories.d.ts +0 -16
  283. package/lib/Alert/Alert.stories.d.ts +0 -28
  284. package/lib/AnimationWaiter/AnimationWaiter.stories.d.ts +0 -21
  285. package/lib/AnimationWaiter/dark-animation.json.js +0 -27
  286. package/lib/AnimationWaiter/default-animation.json.js +0 -29
  287. package/lib/Avatar/Avatar.stories.d.ts +0 -11
  288. package/lib/Badge/Badge.stories.d.ts +0 -13
  289. package/lib/Blocklet/Blocklet.stories.d.ts +0 -17
  290. package/lib/BlockletNFT/BlockletNFT.stories.d.ts +0 -17
  291. package/lib/BlockletV2/Blocklet.stories.d.ts +0 -18
  292. package/lib/Button/Button.stories.d.ts +0 -19
  293. package/lib/Center/Center.stories.d.ts +0 -18
  294. package/lib/ClickToCopy/ClickToCopy.stories.d.ts +0 -16
  295. package/lib/CodeBlock/CodeBlock.stories.d.ts +0 -20
  296. package/lib/Colors/Colors.stories.d.ts +0 -34
  297. package/lib/Config/Config.stories.d.ts +0 -14
  298. package/lib/ContactForm/ContactForm.stories.d.ts +0 -23
  299. package/lib/CookieConsent/CookieConsent.stories.d.ts +0 -18
  300. package/lib/CountDown/CountDown.stories.d.ts +0 -14
  301. package/lib/DID/DID.stories.d.ts +0 -15
  302. package/lib/Datatable/Datatable.stories.d.ts +0 -32
  303. package/lib/Dialog/Dialog.stories.d.ts +0 -20
  304. package/lib/DidLogo/Logo.stories.d.ts +0 -8
  305. package/lib/Earth/Earth.stories.d.ts +0 -18
  306. package/lib/Earth/countries.json.js +0 -13
  307. package/lib/Empty/Empty.stories.d.ts +0 -17
  308. package/lib/ErrorBoundary/ErrorBoundary.stories.d.ts +0 -12
  309. package/lib/Footer/Footer.stories.d.ts +0 -12
  310. package/lib/Header/Header.stories.d.ts +0 -21
  311. package/lib/Icon/Icon.stories.d.ts +0 -23
  312. package/lib/Img/Img.stories.d.ts +0 -13
  313. package/lib/InfoRow/InfoRow.stories.d.ts +0 -14
  314. package/lib/Layout/Layout.stories.d.ts +0 -23
  315. package/lib/Locale/LocaleSelector.stories.d.ts +0 -22
  316. package/lib/Logo/Logo.stories.d.ts +0 -22
  317. package/lib/Logo/images/logo-dark-text.svg.js +0 -5
  318. package/lib/Logo/images/logo-dark-top.svg.js +0 -5
  319. package/lib/Logo/images/logo-light-text.svg.js +0 -5
  320. package/lib/Logo/images/logo-light-top.svg.js +0 -5
  321. package/lib/Metric/Metric.stories.d.ts +0 -14
  322. package/lib/NFTDisplay/NFTBroken.svg.js +0 -108
  323. package/lib/NFTDisplay/NFTDisplay.stories.d.ts +0 -15
  324. package/lib/NavMenu/NavMenu.stories.d.ts +0 -17
  325. package/lib/NavMenu/images/OCAP.svg.js +0 -5
  326. package/lib/NavMenu/images/abt-network.svg.js +0 -7
  327. package/lib/NavMenu/images/ai-kit.svg.js +0 -7
  328. package/lib/NavMenu/images/aigne.svg.js +0 -7
  329. package/lib/NavMenu/images/aistro.svg.js +0 -5
  330. package/lib/NavMenu/images/arcsphere.svg.js +0 -10
  331. package/lib/NavMenu/images/blocklet-framework.svg.js +0 -7
  332. package/lib/NavMenu/images/blocklet-launcher.svg.js +0 -5
  333. package/lib/NavMenu/images/blocklet-server.svg.js +0 -7
  334. package/lib/NavMenu/images/blocklet-store.svg.js +0 -5
  335. package/lib/NavMenu/images/creator-studio.svg.js +0 -7
  336. package/lib/NavMenu/images/did-connect.svg.js +0 -5
  337. package/lib/NavMenu/images/did-name-service.svg.js +0 -5
  338. package/lib/NavMenu/images/did-wallet.svg.js +0 -7
  339. package/lib/NavMenu/images/did.svg.js +0 -5
  340. package/lib/NavMenu/images/nft-studio.svg.js +0 -5
  341. package/lib/NavMenu/images/vc.svg.js +0 -5
  342. package/lib/NavMenu/images/web3-kit.svg.js +0 -7
  343. package/lib/PageScroller/story/PageScroller.stories.d.ts +0 -13
  344. package/lib/PhoneInput/PhoneInput.stories.d.ts +0 -12
  345. package/lib/PricingTable/PricingTable.stories.d.ts +0 -8
  346. package/lib/QRCode/QRCode.stories.d.ts +0 -13
  347. package/lib/RelativeTime/RelativeTime.stories.d.ts +0 -20
  348. package/lib/Result/Result.stories.d.ts +0 -21
  349. package/lib/Screenshot/Screenshot.stories.d.ts +0 -13
  350. package/lib/SessionManager/SessionManager.stories.d.ts +0 -9
  351. package/lib/SessionUser/images/did-spaces.svg.js +0 -5
  352. package/lib/Sparkline/Sparkline.stories.d.ts +0 -12
  353. package/lib/Spinner/Spinner.stories.d.ts +0 -18
  354. package/lib/SplitButton/SplitButton.stories.d.ts +0 -15
  355. package/lib/Switch/Switch.stories.d.ts +0 -13
  356. package/lib/Tabs/Tabs.stories.d.ts +0 -14
  357. package/lib/Tag/Tag.stories.d.ts +0 -13
  358. package/lib/TextCollapse/TextCollapse.stories.d.ts +0 -28
  359. package/lib/Theme/Theme.stories.d.ts +0 -10
  360. package/lib/Toast/Toast.stories.d.ts +0 -15
  361. package/lib/UserCard/UserCard.stories.d.ts +0 -18
  362. package/lib/Util/WebWalletOpener.stories.d.ts +0 -5
  363. package/lib/Video/Video.stories.d.ts +0 -6
  364. package/lib/Wallet/Action.stories.d.ts +0 -8
  365. package/lib/Wallet/Download.stories.d.ts +0 -9
  366. package/lib/Wallet/OpenInWallet.stories.d.ts +0 -5
  367. package/lib/Wallet/images/android_download.svg.js +0 -5
  368. package/lib/Wallet/images/app-store.svg.js +0 -5
  369. package/lib/Wallet/images/google-play.svg.js +0 -5
  370. package/lib/ux.css +0 -1
@@ -1,16 +1,16 @@
1
- import { jsx as n, jsxs as r, Fragment as G } from "react/jsx-runtime";
2
- import { CircularProgress as x, Box as l, Stack as H, Button as p, Typography as J, Link as K } from "@mui/material";
1
+ import { jsx as i, jsxs as r, Fragment as G } from "react/jsx-runtime";
2
+ import { CircularProgress as x, Box as l, Stack as H, Button as v, Typography as J, Link as K } from "@mui/material";
3
3
  import { useReactive as O, useMemoizedFn as t } from "ahooks";
4
- import o from "lodash/noop";
5
- import Q from "../did-connect-container.js";
6
- import S from "./auth-apps-info.js";
7
- import V from "../../Center/index.js";
8
- import X from "../landing-page.js";
9
- import { translate as Y } from "../../Locale/util.js";
10
- import { useLocaleContext as Z } from "../../Locale/context.js";
11
- import _ from "../../UserCard/index.js";
12
- import { InfoType as $, CardType as P } from "../../UserCard/types.js";
13
- import { mergeSx as z } from "../../Util/style.js";
4
+ import c from "lodash/noop";
5
+ import Q from "../did-connect-container";
6
+ import S from "./auth-apps-info";
7
+ import V from "../../Center";
8
+ import X from "../landing-page";
9
+ import { translate as Y } from "../../Locale/util";
10
+ import { useLocaleContext as Z } from "../../Locale/context";
11
+ import _ from "../../UserCard";
12
+ import { InfoType as $, CardType as P } from "../../UserCard/types";
13
+ import { mergeSx as b } from "../../Util/style";
14
14
  const ee = {
15
15
  en: {
16
16
  notThis: "Not this?",
@@ -29,57 +29,57 @@ const ee = {
29
29
  };
30
30
  function ge({
31
31
  session: a,
32
- requestAppInfo: k,
33
- currentAppInfo: v,
34
- children: T,
35
- userInfo: s,
32
+ requestAppInfo: z,
33
+ currentAppInfo: k,
34
+ children: T = null,
35
+ userInfo: s = void 0,
36
36
  hideSwitchConnect: A = !1,
37
37
  hideAuthorize: D = !1,
38
38
  hideCancel: I = !1,
39
- notThisText: L,
40
- authorizeText: W,
41
- connectText: j,
42
- cancelText: w,
43
- useAnotherText: B,
44
- slotProps: e,
45
- onConnect: u = o,
46
- onAuthorize: h = o,
47
- onSwitchConnect: m = o,
48
- onCancel: f = o
39
+ notThisText: L = void 0,
40
+ authorizeText: W = void 0,
41
+ connectText: j = void 0,
42
+ cancelText: w = void 0,
43
+ useAnotherText: B = void 0,
44
+ slotProps: e = void 0,
45
+ onConnect: u = c,
46
+ onAuthorize: h = c,
47
+ onSwitchConnect: m = c,
48
+ onCancel: f = c
49
49
  }) {
50
- var C, y, b;
51
- const i = O({
50
+ var p, C, y;
51
+ const n = O({
52
52
  loading: !1
53
53
  }), { locale: F = "en" } = Z() || {}, d = t((q, E = {}) => Y(ee, q, F, "en", E)), g = t(() => {
54
- i.loading = !1;
54
+ n.loading = !1;
55
55
  }), M = t(() => {
56
- i.loading = !0, u == null || u(g);
56
+ n.loading = !0, u == null || u(g);
57
57
  }), R = t(() => {
58
- i.loading = !0, m == null || m(g);
58
+ n.loading = !0, m == null || m(g);
59
59
  }), U = t(() => {
60
- i.loading = !0, h == null || h(g);
60
+ n.loading = !0, h == null || h(g);
61
61
  }), N = t(() => {
62
62
  f == null || f();
63
63
  });
64
64
  if (a.loading || !a.initialized)
65
- return /* @__PURE__ */ n(V, { children: /* @__PURE__ */ n(x, {}) });
66
- const c = s ?? (a == null ? void 0 : a.user);
67
- return /* @__PURE__ */ n(X, { did: (C = window.blocklet) == null ? void 0 : C.appPid, standalone: !0, children: /* @__PURE__ */ n(
65
+ return /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(x, {}) });
66
+ const o = s ?? (a == null ? void 0 : a.user);
67
+ return /* @__PURE__ */ i(X, { did: (p = window.blocklet) == null ? void 0 : p.appPid, standalone: !0, children: /* @__PURE__ */ i(
68
68
  l,
69
69
  {
70
70
  ...e == null ? void 0 : e.root,
71
- sx: z(
71
+ sx: b(
72
72
  {
73
73
  width: 420,
74
74
  maxWidth: "100%"
75
75
  },
76
- (y = e == null ? void 0 : e.root) == null ? void 0 : y.sx
76
+ (C = e == null ? void 0 : e.root) == null ? void 0 : C.sx
77
77
  ),
78
- children: /* @__PURE__ */ n(Q, { hideCloseButton: !0, ...e == null ? void 0 : e.didConnectContainer, children: /* @__PURE__ */ r(
78
+ children: /* @__PURE__ */ i(Q, { hideCloseButton: !0, ...e == null ? void 0 : e.didConnectContainer, children: /* @__PURE__ */ r(
79
79
  l,
80
80
  {
81
81
  ...e == null ? void 0 : e.contentContainer,
82
- sx: z(
82
+ sx: b(
83
83
  {
84
84
  display: "flex",
85
85
  flexDirection: "column",
@@ -95,16 +95,16 @@ function ge({
95
95
  },
96
96
  bgcolor: "background.paper"
97
97
  },
98
- (b = e == null ? void 0 : e.contentContainer) == null ? void 0 : b.sx
98
+ (y = e == null ? void 0 : e.contentContainer) == null ? void 0 : y.sx
99
99
  ),
100
100
  children: [
101
- /* @__PURE__ */ n(S, { requestAppInfo: k, currentAppInfo: v }),
102
- c ? /* @__PURE__ */ r(G, { children: [
103
- /* @__PURE__ */ n(_, { user: c, showDid: !0, cardType: P.Detailed, infoType: $.Minimal }),
104
- /* @__PURE__ */ n(l, {})
101
+ /* @__PURE__ */ i(S, { requestAppInfo: z, currentAppInfo: k }),
102
+ o ? /* @__PURE__ */ r(G, { children: [
103
+ /* @__PURE__ */ i(_, { user: o, showDid: !0, cardType: P.Detailed, infoType: $.Minimal }),
104
+ /* @__PURE__ */ i(l, {})
105
105
  ] }) : null,
106
106
  T,
107
- /* @__PURE__ */ n(
107
+ /* @__PURE__ */ i(
108
108
  l,
109
109
  {
110
110
  sx: {
@@ -117,8 +117,8 @@ function ge({
117
117
  }
118
118
  ),
119
119
  /* @__PURE__ */ r(H, { direction: "row", spacing: 2, children: [
120
- I ? null : /* @__PURE__ */ n(
121
- p,
120
+ I ? null : /* @__PURE__ */ i(
121
+ v,
122
122
  {
123
123
  color: "inherit",
124
124
  variant: "outlined",
@@ -131,35 +131,35 @@ function ge({
131
131
  children: w || d("cancel")
132
132
  }
133
133
  ),
134
- c && !D ? /* @__PURE__ */ r(
135
- p,
134
+ o && !D ? /* @__PURE__ */ r(
135
+ v,
136
136
  {
137
137
  variant: "contained",
138
138
  size: "large",
139
139
  fullWidth: !0,
140
140
  onClick: U,
141
- disabled: i.loading,
141
+ disabled: n.loading,
142
142
  children: [
143
- i.loading ? /* @__PURE__ */ n(x, { size: 20, sx: { mr: 1 } }) : null,
143
+ n.loading ? /* @__PURE__ */ i(x, { size: 20, sx: { mr: 1 } }) : null,
144
144
  W || d("authorize")
145
145
  ]
146
146
  }
147
147
  ) : /* @__PURE__ */ r(
148
- p,
148
+ v,
149
149
  {
150
150
  variant: "contained",
151
151
  size: "large",
152
152
  fullWidth: !0,
153
- disabled: i.loading,
153
+ disabled: n.loading,
154
154
  onClick: M,
155
155
  children: [
156
- i.loading ? /* @__PURE__ */ n(x, { size: 20, sx: { mr: 1 } }) : null,
156
+ n.loading ? /* @__PURE__ */ i(x, { size: 20, sx: { mr: 1 } }) : null,
157
157
  j || d("connect")
158
158
  ]
159
159
  }
160
160
  )
161
161
  ] }),
162
- A || !c ? null : /* @__PURE__ */ n(l, { sx: { textAlign: "center" }, children: /* @__PURE__ */ r(
162
+ A || !o ? null : /* @__PURE__ */ i(l, { sx: { textAlign: "center" }, children: /* @__PURE__ */ r(
163
163
  J,
164
164
  {
165
165
  variant: "body2",
@@ -172,7 +172,7 @@ function ge({
172
172
  children: [
173
173
  L || d("notThis"),
174
174
  " ",
175
- /* @__PURE__ */ n(
175
+ /* @__PURE__ */ i(
176
176
  K,
177
177
  {
178
178
  underline: "hover",
@@ -1,16 +1,15 @@
1
- import { jsx as i, jsxs as m } from "react/jsx-runtime";
1
+ import { jsx as t, jsxs as m } from "react/jsx-runtime";
2
2
  import { memo as J, createElement as U, useRef as X } from "react";
3
3
  import { useBrowser as Y } from "@arcblock/react-hooks";
4
- import { Backdrop as Z, useMediaQuery as P, useTheme as ee, Box as l, Drawer as oe, SwipeableDrawer as re, Dialog as ne, DialogContent as ae } from "@mui/material";
5
- import { useCreation as te, useDebounce as ie } from "ahooks";
6
- import de from "color-convert";
7
- import { getDIDMotifInfo as ce } from "@arcblock/did-motif";
8
- import le from "lodash/noop";
9
- import "../Theme/theme.js";
10
- import "../Theme/theme-provider.js";
11
- import { mergeSx as c } from "../Util/style.js";
12
- import { isEthereumDid as ue, getDIDColor as se, hexToRgba as u } from "../Util/index.js";
13
- import h from "./did-connect-footer.js";
4
+ import { Backdrop as Z, useMediaQuery as P, Box as l, Drawer as ee, SwipeableDrawer as oe, Dialog as re, DialogContent as ne } from "@mui/material";
5
+ import { useCreation as ae, useDebounce as ie } from "ahooks";
6
+ import te from "color-convert";
7
+ import { getDIDMotifInfo as de } from "@arcblock/did-motif";
8
+ import ce from "lodash/noop";
9
+ import { useTheme as le } from "../Theme";
10
+ import { mergeSx as c } from "../Util/style";
11
+ import { isEthereumDid as ue, getDIDColor as se, hexToRgba as u } from "../Util";
12
+ import h from "./did-connect-footer";
14
13
  const j = J(({ ref: a, ...f }) => /* @__PURE__ */ U(
15
14
  Z,
16
15
  {
@@ -25,36 +24,36 @@ const j = J(({ ref: a, ...f }) => /* @__PURE__ */ U(
25
24
  key: "background"
26
25
  }
27
26
  ));
28
- function ye({
27
+ function Se({
29
28
  open: a = !1,
30
29
  popup: f = !1,
31
30
  hideCloseButton: w = !1,
32
31
  children: g,
33
- appPid: E,
34
- slotProps: e,
35
- onClose: G = le,
32
+ appPid: E = void 0,
33
+ slotProps: e = void 0,
34
+ onClose: G = ce,
36
35
  keepMounted: k = !1
37
36
  }) {
38
37
  var y, A, L, _, B, I, z, M;
39
- const n = te(() => {
40
- const o = E || window.blocklet.appPid, r = ue(o), t = r ? void 0 : ce(o);
41
- return r ? se(o) : t.color;
38
+ const n = ae(() => {
39
+ const o = E || window.blocklet.appPid, r = ue(o), i = r ? void 0 : de(o);
40
+ return r ? se(o) : i.color;
42
41
  }, []), C = X(null), N = Y(), O = P("(max-width:640px)");
43
42
  let s = "page";
44
43
  f && (s = "dialog", O && N.mobile.any && (s = "drawer"));
45
- const b = ee(), T = ((A = (y = b == null ? void 0 : b.transitions) == null ? void 0 : y.duration) == null ? void 0 : A.leavingScreen) || 500, W = ie(a, {
44
+ const b = le(), T = ((A = (y = b == null ? void 0 : b.transitions) == null ? void 0 : y.duration) == null ? void 0 : A.leavingScreen) || 500, W = ie(a, {
46
45
  wait: T
47
46
  }), D = (o, r) => {
48
47
  ["backdropClick", "escapeKeyDown"].includes(r) || G();
49
- }, R = W || a || k, F = w ? oe : re, H = de.hex.hsl(n), [$, v, d] = H, x = [0, 30, 60, 30, 0, 30, 60, 30], K = Math.max(...x), Q = Math.min(...x);
48
+ }, v = W || a || k, F = w ? ee : oe, H = te.hex.hsl(n), [R, $, d] = H, x = [0, 30, 60, 30, 0, 30, 60, 30], K = Math.max(...x), Q = Math.min(...x);
50
49
  let p = !1;
51
50
  (d * (100 + K) / 100 > 100 || d * (100 + Q) / 100 < 0) && (p = !0);
52
51
  const V = `linear-gradient(45deg, ${x.map((o) => {
53
- let r = d * (100 + o) / 100, t = 0.6;
54
- return p ? t = 0.5 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${$}, ${v}%, ${r}%, ${t})`;
52
+ let r = d * (100 + o) / 100, i = 0.6;
53
+ return p ? i = 0.5 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${R}, ${$}%, ${r}%, ${i})`;
55
54
  }).join(", ")})`, q = `linear-gradient(45deg, ${x.map((o) => {
56
- let r = d * (100 + o) / 100, t = 0.2;
57
- return p ? t = 0.3 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${$}, ${v}%, ${r}%, ${t})`;
55
+ let r = d * (100 + o) / 100, i = 0.2;
56
+ return p ? i = 0.3 * (100 + o) / 100 : r = d * (100 + o) / 100, `hsla(${R}, ${$}%, ${r}%, ${i})`;
58
57
  }).join(", ")})`, S = a ? {
59
58
  overflow: "visible",
60
59
  "&::before, &::after": {
@@ -87,7 +86,7 @@ function ye({
87
86
  }
88
87
  }
89
88
  } : {};
90
- return s === "page" ? /* @__PURE__ */ i(
89
+ return s === "page" ? /* @__PURE__ */ t(
91
90
  l,
92
91
  {
93
92
  className: "did-connect__container-page",
@@ -115,7 +114,7 @@ function ye({
115
114
  },
116
115
  children: [
117
116
  g,
118
- /* @__PURE__ */ i(h, { currentAppColor: n, sx: c({ mx: 0 }, (_ = e == null ? void 0 : e.footer) == null ? void 0 : _.sx) })
117
+ /* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (_ = e == null ? void 0 : e.footer) == null ? void 0 : _.sx) })
119
118
  ]
120
119
  }
121
120
  )
@@ -163,7 +162,7 @@ function ye({
163
162
  )
164
163
  },
165
164
  children: [
166
- w ? null : /* @__PURE__ */ i(
165
+ w ? null : /* @__PURE__ */ t(
167
166
  l,
168
167
  {
169
168
  ref: C,
@@ -175,7 +174,7 @@ function ye({
175
174
  mb: -2,
176
175
  zIndex: 2
177
176
  },
178
- children: /* @__PURE__ */ i(
177
+ children: /* @__PURE__ */ t(
179
178
  l,
180
179
  {
181
180
  sx: {
@@ -199,15 +198,15 @@ function ye({
199
198
  backgroundColor: "background.default"
200
199
  },
201
200
  children: [
202
- R ? g : null,
203
- /* @__PURE__ */ i(h, { currentAppColor: n, sx: c({ mx: 0 }, (I = e == null ? void 0 : e.footer) == null ? void 0 : I.sx) })
201
+ v ? g : null,
202
+ /* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (I = e == null ? void 0 : e.footer) == null ? void 0 : I.sx) })
204
203
  ]
205
204
  }
206
205
  )
207
206
  ]
208
207
  }
209
- ) : /* @__PURE__ */ i(
210
- ne,
208
+ ) : /* @__PURE__ */ t(
209
+ re,
211
210
  {
212
211
  open: a,
213
212
  slots: {
@@ -231,7 +230,7 @@ function ye({
231
230
  )
232
231
  },
233
232
  children: /* @__PURE__ */ m(
234
- ae,
233
+ ne,
235
234
  {
236
235
  sx: {
237
236
  maxWidth: "calc(100vw - 18px)",
@@ -243,8 +242,8 @@ function ye({
243
242
  backgroundColor: "background.default"
244
243
  },
245
244
  children: [
246
- R ? g : null,
247
- /* @__PURE__ */ i(h, { currentAppColor: n, sx: c({ mx: 0 }, (M = e == null ? void 0 : e.footer) == null ? void 0 : M.sx) })
245
+ v ? g : null,
246
+ /* @__PURE__ */ t(h, { currentAppColor: n, sx: c({ mx: 0 }, (M = e == null ? void 0 : e.footer) == null ? void 0 : M.sx) })
248
247
  ]
249
248
  }
250
249
  )
@@ -252,5 +251,5 @@ function ye({
252
251
  );
253
252
  }
254
253
  export {
255
- ye as default
254
+ Se as default
256
255
  };
@@ -3,16 +3,16 @@ import { Box as a } from "@mui/material";
3
3
  import { useSize as c, useCreation as d } from "ahooks";
4
4
  import { useRef as x } from "react";
5
5
  import u from "@arcblock/react-hooks/lib/useBrowser";
6
- import b from "./powered-by.js";
7
- import h from "./app-info-item.js";
8
- import w from "./app-icon.js";
9
- import { hexToRgba as g, getDIDColor as I } from "../Util/index.js";
10
- import { mergeSx as C } from "../Util/style.js";
11
- import { DID_CONNECT_MEDIUM_WIDTH as D } from "../Util/constant.js";
6
+ import b from "./powered-by";
7
+ import h from "./app-info-item";
8
+ import w from "./app-icon";
9
+ import { hexToRgba as g, getDIDColor as I } from "../Util";
10
+ import { mergeSx as C } from "../Util/style";
11
+ import { DID_CONNECT_MEDIUM_WIDTH as D } from "../Util/constant";
12
12
  function z({
13
13
  currentAppInfo: r = globalThis.blocklet,
14
14
  currentAppColor: n = ((s) => (s = globalThis.blocklet) == null ? void 0 : s.appPid)() ? I(((f) => (f = globalThis.blocklet) == null ? void 0 : f.appPid)()) : "#fff",
15
- sx: l
15
+ sx: l = {}
16
16
  }) {
17
17
  const p = u(), t = x(null), o = c(t), i = d(() => o ? o.width < D - 50 : !0, [o, o == null ? void 0 : o.width]);
18
18
  return /* @__PURE__ */ m(
@@ -1,13 +1,13 @@
1
- import { default as t } from "./did-connect-footer.js";
2
- import { default as a } from "./app-info-item.js";
3
- import { default as p } from "./app-icon.js";
4
- import { default as m } from "./powered-by.js";
5
- import { default as u } from "./with-container.js";
6
- import { default as l } from "./with-ux-theme.js";
7
- import { default as D } from "./did-connect-logo.js";
8
- import { default as i } from "./did-connect-container.js";
9
- import { default as I } from "./request-storage-access-api-dialog.js";
10
- import { default as h } from "./auth-apps/index.js";
1
+ import { default as t } from "./did-connect-footer";
2
+ import { default as a } from "./app-info-item";
3
+ import { default as p } from "./app-icon";
4
+ import { default as m } from "./powered-by";
5
+ import { default as u } from "./with-container";
6
+ import { default as l } from "./with-ux-theme";
7
+ import { default as D } from "./did-connect-logo";
8
+ import { default as i } from "./did-connect-container";
9
+ import { default as I } from "./request-storage-access-api-dialog";
10
+ import { default as h } from "./auth-apps";
11
11
  export {
12
12
  p as AppIcon,
13
13
  a as AppInfoItem,
@@ -1,48 +1,47 @@
1
1
  import { jsx as t, jsxs as x } from "react/jsx-runtime";
2
- import { useTheme as C, useMediaQuery as j, Box as e, Typography as A } from "@mui/material";
3
- import { isEthereumDid as B } from "@arcblock/did";
2
+ import { useMediaQuery as C, Box as e, Typography as j } from "@mui/material";
3
+ import { isEthereumDid as A } from "@arcblock/did";
4
4
  import { getDIDMotifInfo as P } from "@arcblock/did-motif";
5
5
  import { useCreation as T } from "ahooks";
6
- import "../Theme/theme.js";
7
- import "../Theme/theme-provider.js";
8
- import E from "../PoweredByArcBlock/index.js";
9
- import y from "../Avatar/index.js";
10
- import { getDIDColor as M, hexToRgba as z } from "../Util/index.js";
11
- import L from "../hooks/use-blocklet-logo.js";
12
- function K({
13
- did: a,
6
+ import { useTheme as B } from "../Theme";
7
+ import M from "../PoweredByArcBlock";
8
+ import b from "../Avatar";
9
+ import { getDIDColor as z, hexToRgba as E } from "../Util";
10
+ import L from "../hooks/use-blocklet-logo";
11
+ function J({
12
+ did: l,
14
13
  children: n,
15
- title: l,
16
- description: s,
17
- actions: h,
18
- logo: r,
19
- logoSize: m = 50,
20
- poweredBy: c,
21
- termsOfUse: u,
22
- standalone: v = !1
14
+ title: a = void 0,
15
+ description: s = void 0,
16
+ actions: h = void 0,
17
+ logo: i = void 0,
18
+ logoSize: d = 50,
19
+ poweredBy: m = void 0,
20
+ termsOfUse: u = void 0,
21
+ standalone: y = !1
23
22
  }) {
24
- const i = (globalThis == null ? void 0 : globalThis.blocklet) || (globalThis == null ? void 0 : globalThis.env) || {}, { palette: g } = C(), d = j((o) => o.breakpoints.down("lg")), I = L({
25
- meta: i
23
+ const o = (globalThis == null ? void 0 : globalThis.blocklet) || (globalThis == null ? void 0 : globalThis.env) || {}, { palette: g } = B(), c = C((r) => r.breakpoints.down("lg")), I = L({
24
+ meta: o
26
25
  }), D = T(() => {
27
- const o = i.appPid, b = B(o), w = b ? void 0 : P(o);
28
- return b ? M(o) : w.color;
29
- }, [i == null ? void 0 : i.appPid]);
30
- if (!a)
26
+ const r = o.appPid, v = A(r), w = v ? void 0 : P(r);
27
+ return v ? z(r) : w.color;
28
+ }, [o == null ? void 0 : o.appPid]);
29
+ if (!l)
31
30
  return n;
32
- l === void 0 && (l = i.appName), s === void 0 && (s = i.appDescription), r === void 0 && (r = I || ""), typeof r == "string" && (r ? r = /* @__PURE__ */ t(
31
+ a === void 0 && (a = o.appName), s === void 0 && (s = o.appDescription), i === void 0 && (i = I || ""), typeof i == "string" && (i ? i = /* @__PURE__ */ t(
33
32
  e,
34
33
  {
35
34
  sx: {
36
- height: m,
37
- maxHeight: m,
35
+ height: d,
36
+ maxHeight: d,
38
37
  objectFit: "contain"
39
38
  },
40
39
  component: "img",
41
- src: r,
42
- alt: `${i.appName}'s logo`
40
+ src: i,
41
+ alt: `${o.appName}'s logo`
43
42
  }
44
- ) : r = /* @__PURE__ */ t(y, { size: m, did: a, src: r, variant: "rounded" })), c === void 0 && (c = /* @__PURE__ */ t(
45
- E,
43
+ ) : i = /* @__PURE__ */ t(b, { size: d, did: l, src: i, variant: "rounded" })), m === void 0 && (m = /* @__PURE__ */ t(
44
+ M,
46
45
  {
47
46
  linkProps: {
48
47
  color: g.text.secondary,
@@ -52,7 +51,7 @@ function K({
52
51
  }
53
52
  }
54
53
  },
55
- showExtra: !d,
54
+ showExtra: !c,
56
55
  sx: {
57
56
  textAlign: "center",
58
57
  fontSize: "12px",
@@ -60,20 +59,20 @@ function K({
60
59
  }
61
60
  }
62
61
  ));
63
- let p = n;
64
- !n && !d && (p = /* @__PURE__ */ t(
62
+ let f = n;
63
+ !n && !c && (f = /* @__PURE__ */ t(
65
64
  e,
66
65
  {
67
66
  sx: {
68
67
  filter: "blur(180px)",
69
68
  display: "flex"
70
69
  },
71
- children: /* @__PURE__ */ t(y, { size: 210, did: a, variant: "rounded" })
70
+ children: /* @__PURE__ */ t(b, { size: 210, did: l, variant: "rounded" })
72
71
  }
73
72
  ));
74
73
  const k = !!n;
75
- let f = !v;
76
- return d && (f = !k), /* @__PURE__ */ x(
74
+ let p = !y;
75
+ return c && (p = !k), /* @__PURE__ */ x(
77
76
  e,
78
77
  {
79
78
  sx: {
@@ -96,7 +95,7 @@ function K({
96
95
  xs: 5,
97
96
  md: 8
98
97
  },
99
- background: `radial-gradient(circle at bottom right, ${z(D, 0.3)} 10%, ${g.background.default} 50%)`,
98
+ background: `radial-gradient(circle at bottom right, ${E(D, 0.3)} 10%, ${g.background.default} 50%)`,
100
99
  position: "relative"
101
100
  },
102
101
  children: [
@@ -107,12 +106,12 @@ function K({
107
106
  maxWidth: 1200,
108
107
  display: "flex",
109
108
  alignItems: "center",
110
- justifyContent: [f, p].filter(Boolean).length > 1 ? "space-between" : "center",
109
+ justifyContent: [p, f].filter(Boolean).length > 1 ? "space-between" : "center",
111
110
  width: "100%",
112
111
  margin: "auto"
113
112
  },
114
113
  children: [
115
- f ? /* @__PURE__ */ x(
114
+ p ? /* @__PURE__ */ x(
116
115
  e,
117
116
  {
118
117
  sx: {
@@ -121,9 +120,9 @@ function K({
121
120
  gap: 1.5
122
121
  },
123
122
  children: [
124
- /* @__PURE__ */ t(e, { sx: { display: "flex", alignItems: "center" }, children: r }),
123
+ /* @__PURE__ */ t(e, { sx: { display: "flex", alignItems: "center" }, children: i }),
125
124
  /* @__PURE__ */ t(
126
- A,
125
+ j,
127
126
  {
128
127
  variant: "h2",
129
128
  sx: {
@@ -134,7 +133,7 @@ function K({
134
133
  xl: "3.5rem"
135
134
  }
136
135
  },
137
- children: l
136
+ children: a
138
137
  }
139
138
  ),
140
139
  s ? /* @__PURE__ */ t(
@@ -152,7 +151,7 @@ function K({
152
151
  ]
153
152
  }
154
153
  ) : null,
155
- p
154
+ f
156
155
  ]
157
156
  }
158
157
  ),
@@ -167,7 +166,7 @@ function K({
167
166
  right: 10,
168
167
  textAlign: "center"
169
168
  },
170
- children: c
169
+ children: m
171
170
  }
172
171
  )
173
172
  ]
@@ -175,5 +174,5 @@ function K({
175
174
  );
176
175
  }
177
176
  export {
178
- K as default
177
+ J as default
179
178
  };
@@ -2,8 +2,8 @@ import { jsxs as r, jsx as o } from "react/jsx-runtime";
2
2
  import { useTheme as i, Box as n } from "@mui/material";
3
3
  import { Icon as c } from "@iconify/react";
4
4
  import a from "@iconify-icons/mdi/shield-check";
5
- import l from "./did-connect-logo.js";
6
- import { mergeSx as m } from "../Util/style.js";
5
+ import l from "./did-connect-logo";
6
+ import { mergeSx as m } from "../Util/style";
7
7
  function u({ ...e }) {
8
8
  const { palette: t } = i();
9
9
  return /* @__PURE__ */ r(