@arcblock/did-connect-react 3.4.15 → 3.5.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.
Files changed (198) hide show
  1. package/dist/standalone/did-connect-react.css +1 -0
  2. package/dist/standalone/index.js +133700 -0
  3. package/lib/package.json.js +1 -1
  4. package/package.json +11 -6
  5. package/.aigne/doc-smith/config.yaml +0 -85
  6. package/.aigne/doc-smith/history.yaml +0 -6
  7. package/.aigne/doc-smith/output/structure-plan.json +0 -204
  8. package/.aigne/doc-smith/translation-cache.yaml +0 -11
  9. package/.aigne/doc-smith/upload-cache.yaml +0 -213
  10. package/docs/_sidebar.md +0 -18
  11. package/docs/advanced-authentication-methods.ja.md +0 -261
  12. package/docs/advanced-authentication-methods.md +0 -261
  13. package/docs/advanced-authentication-methods.zh-TW.md +0 -261
  14. package/docs/advanced-authentication-methods.zh.md +0 -261
  15. package/docs/advanced-utilities.ja.md +0 -132
  16. package/docs/advanced-utilities.md +0 -132
  17. package/docs/advanced-utilities.zh-TW.md +0 -132
  18. package/docs/advanced-utilities.zh.md +0 -132
  19. package/docs/advanced.ja.md +0 -95
  20. package/docs/advanced.md +0 -95
  21. package/docs/advanced.zh-TW.md +0 -95
  22. package/docs/advanced.zh.md +0 -95
  23. package/docs/api-reference.ja.md +0 -178
  24. package/docs/api-reference.md +0 -178
  25. package/docs/api-reference.zh-TW.md +0 -178
  26. package/docs/api-reference.zh.md +0 -178
  27. package/docs/assets/diagram/core-components-session-provider-01.ja.jpg +0 -0
  28. package/docs/assets/diagram/core-components-session-provider-01.jpg +0 -0
  29. package/docs/assets/diagram/core-components-session-provider-01.zh-TW.jpg +0 -0
  30. package/docs/assets/diagram/core-components-session-provider-01.zh.jpg +0 -0
  31. package/docs/assets/diagram/did-connect-diagram-0.ja.jpg +0 -0
  32. package/docs/assets/diagram/did-connect-diagram-0.jpg +0 -0
  33. package/docs/assets/diagram/did-connect-diagram-0.zh-TW.jpg +0 -0
  34. package/docs/assets/diagram/did-connect-diagram-0.zh.jpg +0 -0
  35. package/docs/assets/diagram/overview-01.ja.jpg +0 -0
  36. package/docs/assets/diagram/overview-01.jpg +0 -0
  37. package/docs/assets/diagram/overview-01.zh-TW.jpg +0 -0
  38. package/docs/assets/diagram/overview-01.zh.jpg +0 -0
  39. package/docs/assets/diagram/use-connect-diagram-0.ja.jpg +0 -0
  40. package/docs/assets/diagram/use-connect-diagram-0.jpg +0 -0
  41. package/docs/assets/diagram/use-connect-diagram-0.zh-TW.jpg +0 -0
  42. package/docs/assets/diagram/use-connect-diagram-0.zh.jpg +0 -0
  43. package/docs/core-components-did-connect.ja.md +0 -166
  44. package/docs/core-components-did-connect.md +0 -166
  45. package/docs/core-components-did-connect.zh-TW.md +0 -166
  46. package/docs/core-components-did-connect.zh.md +0 -166
  47. package/docs/core-components-session-provider.ja.md +0 -197
  48. package/docs/core-components-session-provider.md +0 -197
  49. package/docs/core-components-session-provider.zh-TW.md +0 -197
  50. package/docs/core-components-session-provider.zh.md +0 -197
  51. package/docs/core-components.ja.md +0 -16
  52. package/docs/core-components.md +0 -16
  53. package/docs/core-components.zh-TW.md +0 -16
  54. package/docs/core-components.zh.md +0 -16
  55. package/docs/getting-started.ja.md +0 -138
  56. package/docs/getting-started.md +0 -138
  57. package/docs/getting-started.zh-TW.md +0 -138
  58. package/docs/getting-started.zh.md +0 -138
  59. package/docs/hooks-use-connect.ja.md +0 -178
  60. package/docs/hooks-use-connect.md +0 -178
  61. package/docs/hooks-use-connect.zh-TW.md +0 -178
  62. package/docs/hooks-use-connect.zh.md +0 -178
  63. package/docs/hooks-use-did.ja.md +0 -107
  64. package/docs/hooks-use-did.md +0 -107
  65. package/docs/hooks-use-did.zh-TW.md +0 -107
  66. package/docs/hooks-use-did.zh.md +0 -107
  67. package/docs/hooks-use-oauth-passkey.ja.md +0 -188
  68. package/docs/hooks-use-oauth-passkey.md +0 -188
  69. package/docs/hooks-use-oauth-passkey.zh-TW.md +0 -188
  70. package/docs/hooks-use-oauth-passkey.zh.md +0 -188
  71. package/docs/hooks.ja.md +0 -23
  72. package/docs/hooks.md +0 -23
  73. package/docs/hooks.zh-TW.md +0 -23
  74. package/docs/hooks.zh.md +0 -23
  75. package/docs/overview.ja.md +0 -119
  76. package/docs/overview.md +0 -119
  77. package/docs/overview.zh-TW.md +0 -119
  78. package/docs/overview.zh.md +0 -119
  79. package/docs/ui-components-address.ja.md +0 -121
  80. package/docs/ui-components-address.md +0 -121
  81. package/docs/ui-components-address.zh-TW.md +0 -121
  82. package/docs/ui-components-address.zh.md +0 -121
  83. package/docs/ui-components-avatar.ja.md +0 -65
  84. package/docs/ui-components-avatar.md +0 -65
  85. package/docs/ui-components-avatar.zh-TW.md +0 -65
  86. package/docs/ui-components-avatar.zh.md +0 -65
  87. package/docs/ui-components-button.ja.md +0 -99
  88. package/docs/ui-components-button.md +0 -99
  89. package/docs/ui-components-button.zh-TW.md +0 -99
  90. package/docs/ui-components-button.zh.md +0 -99
  91. package/docs/ui-components-logo.ja.md +0 -52
  92. package/docs/ui-components-logo.md +0 -52
  93. package/docs/ui-components-logo.zh-TW.md +0 -52
  94. package/docs/ui-components-logo.zh.md +0 -52
  95. package/docs/ui-components.ja.md +0 -57
  96. package/docs/ui-components.md +0 -57
  97. package/docs/ui-components.zh-TW.md +0 -57
  98. package/docs/ui-components.zh.md +0 -57
  99. package/glossary.md +0 -1
  100. package/src/Address/index.jsx +0 -2
  101. package/src/Avatar/index.jsx +0 -2
  102. package/src/Button/Button.stories.jsx +0 -7
  103. package/src/Button/index.jsx +0 -21
  104. package/src/Connect/Connect.stories.jsx +0 -34
  105. package/src/Connect/assets/locale.js +0 -149
  106. package/src/Connect/assets/login-bg.png +0 -0
  107. package/src/Connect/assets/login-slogan.js +0 -7
  108. package/src/Connect/components/action-button.jsx +0 -22
  109. package/src/Connect/components/app-tips.jsx +0 -156
  110. package/src/Connect/components/auto-height.jsx +0 -38
  111. package/src/Connect/components/back-button.jsx +0 -24
  112. package/src/Connect/components/connect-status.jsx +0 -259
  113. package/src/Connect/components/did-connect-title.jsx +0 -107
  114. package/src/Connect/components/download-tips.jsx +0 -55
  115. package/src/Connect/components/loading.jsx +0 -25
  116. package/src/Connect/components/login-item/connect-choose-list.jsx +0 -328
  117. package/src/Connect/components/login-item/connect-provider-list.jsx +0 -473
  118. package/src/Connect/components/login-item/login-method-item.jsx +0 -139
  119. package/src/Connect/components/login-item/mobile-login-item.jsx +0 -184
  120. package/src/Connect/components/login-item/passkey-login-item.jsx +0 -56
  121. package/src/Connect/components/login-item/wallet-login-options.jsx +0 -129
  122. package/src/Connect/components/login-item/web-login-item.jsx +0 -159
  123. package/src/Connect/components/mask-overlay.jsx +0 -32
  124. package/src/Connect/components/refresh-overlay.jsx +0 -52
  125. package/src/Connect/components/switch-app.jsx +0 -69
  126. package/src/Connect/connect.jsx +0 -635
  127. package/src/Connect/contexts/state.jsx +0 -235
  128. package/src/Connect/fallback-connect.jsx +0 -47
  129. package/src/Connect/fullpage.jsx +0 -3
  130. package/src/Connect/hooks/auth-url.js +0 -31
  131. package/src/Connect/hooks/method-list.js +0 -121
  132. package/src/Connect/hooks/page-show.js +0 -24
  133. package/src/Connect/hooks/provider-list.js +0 -168
  134. package/src/Connect/hooks/security.js +0 -40
  135. package/src/Connect/hooks/token.js +0 -627
  136. package/src/Connect/hooks/use-apps.js +0 -69
  137. package/src/Connect/hooks/use-quick-connect.js +0 -119
  138. package/src/Connect/index.jsx +0 -21
  139. package/src/Connect/landing-page.jsx +0 -3
  140. package/src/Connect/plugins/email/index.jsx +0 -85
  141. package/src/Connect/plugins/email/list-item.jsx +0 -35
  142. package/src/Connect/plugins/email/placeholder.jsx +0 -372
  143. package/src/Connect/plugins/index.js +0 -2
  144. package/src/Connect/use-connect.jsx +0 -321
  145. package/src/Connect/with-blocklet.jsx +0 -26
  146. package/src/Connect/with-bridge-call.jsx +0 -138
  147. package/src/Federated/context.jsx +0 -93
  148. package/src/Federated/index.jsx +0 -1
  149. package/src/Logo/index.jsx +0 -2
  150. package/src/OAuth/bind-conflict-alert.jsx +0 -37
  151. package/src/OAuth/context.jsx +0 -407
  152. package/src/OAuth/guest.svg +0 -20
  153. package/src/OAuth/index.jsx +0 -1
  154. package/src/OAuth/passport-switcher.jsx +0 -2
  155. package/src/Passkey/actions.jsx +0 -217
  156. package/src/Passkey/constants.js +0 -2
  157. package/src/Passkey/context.jsx +0 -395
  158. package/src/Passkey/dialog.jsx +0 -401
  159. package/src/Passkey/icon.jsx +0 -10
  160. package/src/Passkey/index.jsx +0 -2
  161. package/src/Service/index.jsx +0 -96
  162. package/src/Session/assets/did-spaces-guide-cover.svg +0 -1
  163. package/src/Session/assets/did-spaces-guide-icon.svg +0 -7
  164. package/src/Session/context.jsx +0 -7
  165. package/src/Session/did-spaces-guide.jsx +0 -173
  166. package/src/Session/handler.jsx +0 -98
  167. package/src/Session/hooks/use-federated.js +0 -91
  168. package/src/Session/hooks/use-mobile.jsx +0 -6
  169. package/src/Session/hooks/use-protected-routes.js +0 -16
  170. package/src/Session/hooks/use-session-token.js +0 -400
  171. package/src/Session/hooks/use-verify.jsx +0 -76
  172. package/src/Session/index.jsx +0 -1789
  173. package/src/Session/libs/constants.js +0 -17
  174. package/src/Session/libs/did-spaces.js +0 -38
  175. package/src/Session/libs/federated.js +0 -82
  176. package/src/Session/libs/index.js +0 -5
  177. package/src/Session/libs/locales.js +0 -160
  178. package/src/Session/libs/login-mobile.js +0 -80
  179. package/src/Session/window-focus-aware.jsx +0 -28
  180. package/src/SessionManager/index.jsx +0 -2
  181. package/src/Storage/engine/cookie.js +0 -25
  182. package/src/Storage/engine/local-storage.js +0 -57
  183. package/src/Storage/index.js +0 -25
  184. package/src/User/index.js +0 -4
  185. package/src/User/use-did.js +0 -80
  186. package/src/User/wrap-did.jsx +0 -18
  187. package/src/WebWalletSWKeeper/index.jsx +0 -3
  188. package/src/components/PassportSwitcher.jsx +0 -160
  189. package/src/constant.js +0 -27
  190. package/src/error.js +0 -6
  191. package/src/hooks/use-locale.jsx +0 -6
  192. package/src/index.js +0 -32
  193. package/src/locales/en.jsx +0 -15
  194. package/src/locales/index.jsx +0 -13
  195. package/src/locales/zh.jsx +0 -15
  196. package/src/types.d.ts +0 -355
  197. package/src/utils.js +0 -413
  198. package/vite.config.mjs +0 -29
@@ -1,4 +1,4 @@
1
- const o = "3.4.15", s = {
1
+ const o = "3.5.1", s = {
2
2
  version: o
3
3
  };
4
4
  export {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@arcblock/did-connect-react",
3
- "version": "3.4.15",
3
+ "version": "3.5.1",
4
4
  "description": "Client side library to work with DID Connect by ArcBlock.",
5
5
  "keywords": [
6
6
  "react",
@@ -20,11 +20,12 @@
20
20
  "lint": "eslint src tests --ext js --ext jsx",
21
21
  "lint:fix": "npm run lint -- --fix",
22
22
  "build": "vite build",
23
+ "build:standalone": "vite build --config vite.config.did-connect.mjs",
23
24
  "autoexports": "node tools/auto-exports.js",
24
25
  "watch": "vite build --watch",
25
26
  "precommit": "CI=1 npm run lint",
26
27
  "prepush": "CI=1 npm run lint",
27
- "prepublish": "npm run build",
28
+ "prepublish": "npm run build && npm run build:standalone",
28
29
  "test": "node tools/jest.js",
29
30
  "coverage": "npm run test -- --coverage"
30
31
  },
@@ -32,10 +33,10 @@
32
33
  "url": "https://github.com/ArcBlock/ux/issues"
33
34
  },
34
35
  "dependencies": {
35
- "@arcblock/bridge": "3.4.15",
36
+ "@arcblock/bridge": "3.5.1",
36
37
  "@arcblock/did": "^1.29.4",
37
- "@arcblock/icons": "3.4.15",
38
- "@arcblock/react-hooks": "3.4.15",
38
+ "@arcblock/icons": "3.5.1",
39
+ "@arcblock/react-hooks": "3.5.1",
39
40
  "@arcblock/ws": "^1.29.4",
40
41
  "@blocklet/constant": "^1.17.7",
41
42
  "@fontsource/lexend": "^5.2.9",
@@ -78,6 +79,10 @@
78
79
  "**/*.css",
79
80
  "**/*.scss"
80
81
  ],
82
+ "files": [
83
+ "lib",
84
+ "dist"
85
+ ],
81
86
  "publishConfig": {
82
87
  "access": "public"
83
88
  },
@@ -85,5 +90,5 @@
85
90
  "eslint-plugin-react-hooks": "^4.6.2",
86
91
  "jest": "^29.7.0"
87
92
  },
88
- "gitHead": "73039d82d507d9ec5408d8cfc67d9efeffae3e74"
93
+ "gitHead": "78fdd8a869a60672e8b66d4eefc172c8a716acd8"
89
94
  }
@@ -1,85 +0,0 @@
1
- # Project information for documentation publishing
2
- projectName: DID Connect UI (React)
3
- projectDesc: '@arcblock/did-connect-react aids DID Connect with components & session management.'
4
- projectLogo: https://www.didconnect.io/.well-known/service/blocklet/logo
5
-
6
- # =============================================================================
7
- # Documentation Configuration
8
- # =============================================================================
9
-
10
- # Purpose: What's the main outcome you want readers to achieve?
11
- # Available options (uncomment and modify as needed):
12
- # getStarted - Get started quickly: Help new users go from zero to working in <30 minutes
13
- # completeTasks - Complete specific tasks: Guide users through common workflows and use cases
14
- # findAnswers - Find answers fast: Provide searchable reference for all features and APIs
15
- # understandSystem - Understand the system: Explain how it works, why design decisions were made
16
- # solveProblems - Solve problems: Help users troubleshoot and fix issues
17
- # mixedPurpose - Mix of above: Comprehensive documentation covering multiple needs
18
- documentPurpose:
19
- - getStarted
20
- - completeTasks
21
-
22
- # Target Audience: Who will be reading this most often?
23
- # Available options (uncomment and modify as needed):
24
- # endUsers - End users (non-technical): People who use the product but don't code
25
- # developers - Developers integrating: Engineers adding this to their projects
26
- # devops - DevOps/Infrastructure: Teams deploying, monitoring, maintaining systems
27
- # decisionMakers - Technical decision makers: Architects, leads evaluating or planning implementation
28
- # supportTeams - Support teams: People helping others use the product
29
- # mixedTechnical - Mixed technical audience: Developers, DevOps, and technical users
30
- targetAudienceTypes:
31
- - developers
32
-
33
- # Reader Knowledge Level: What do readers typically know when they arrive?
34
- # Available options (uncomment and modify as needed):
35
- # completeBeginners - Complete beginners: New to this domain/technology entirely
36
- # domainFamiliar - Domain-familiar, tool-new: Know the problem space, new to this specific solution
37
- # experiencedUsers - Experienced users: Regular users needing reference/advanced topics
38
- # emergencyTroubleshooting - Emergency/troubleshooting: Something's broken, need to fix it quickly
39
- # exploringEvaluating - Exploring/evaluating: Trying to understand if this fits their needs
40
- readerKnowledgeLevel: completeBeginners
41
-
42
- # Documentation Depth: How comprehensive should the documentation be?
43
- # Available options (uncomment and modify as needed):
44
- # essentialOnly - Essential only: Cover the 80% use cases, keep it concise
45
- # balancedCoverage - Balanced coverage: Good depth with practical examples [RECOMMENDED]
46
- # comprehensive - Comprehensive: Cover all features, edge cases, and advanced scenarios
47
- # aiDecide - Let AI decide: Analyze code complexity and suggest appropriate depth
48
- documentationDepth: balancedCoverage
49
-
50
- # Custom Rules: Define specific documentation generation rules and requirements
51
- rules: |
52
- The doc topic is DID Connect React Component, which provides a set of UI components and hooks for integrating decentralized identity (DID) functionality into React applications.
53
- - The libs package name is `@arcblock/did-connect-react`
54
- - Focus on `./src/Address`, `./src/Avatar`, `./src/Button`, `./src/Connect`, `./src/Logo`, `./src/Session`, `./src/User`, `./src/utils.js`, ignore other folders or files.
55
- - `./src/Connect`, `./src/Session` is the most important component of this lib, make sure they are well documented.
56
- - Do not generate docs for test files
57
- - *.stories.* and files in the demo folder is storybook file, don't generate docs for them, but it provides good example of how to use components, it will be useful to generate this document.
58
- - Please focus on how to use component, give some example of how to use, ignore some awkward principles.
59
- - Prefer to import from sub-path, ranther than top-level import, like `import { useConnect } from '@arcblock/did-connect-react/lib/Connect/use-connect';`.
60
- - Do not translate component name, keep it as itself, like Button, avatar, etc.
61
- - The component name is not wrapped with "< />", such as "<SessionProvider />", "<DidConnect />", should be changed to "SessionProvider" and "DidConnect"
62
-
63
- # Target Audience: Describe your specific target audience and their characteristics
64
- targetAudience: |
65
-
66
- # Glossary: Define project-specific terms and definitions
67
- glossary: '@glossary.md' # Path to markdown file containing glossary definitions
68
-
69
- locale: en
70
- translateLanguages:
71
- - zh
72
- - zh-TW
73
- - ja
74
- docsDir: docs # Directory to save generated documentation
75
- sourcesPath: # Source code paths to analyze
76
- - ./src
77
- - ./tests
78
- - ./README.md
79
- lastGitHead: cba7714cecb73cb9b6b361d4ea7c3193aec863ea
80
- appUrl: https://docsmith.aigne.io
81
- boardId: 'did-connect-react'
82
- # Checkout ID for document deployment service
83
- checkoutId: ""
84
- # Should sync branding for documentation
85
- shouldSyncBranding: ""
@@ -1,6 +0,0 @@
1
- entries:
2
- - timestamp: 2025-10-11T07:37:42.676Z
3
- operation: document_update
4
- feedback: 需要搭配后端Node.js库来使用,后端库名称为@arcblock/did-connect-js,文档地址为
5
- https://www.arcblock.io/docs/did-connect-sdk
6
- documentPath: /overview
@@ -1,204 +0,0 @@
1
- [
2
- {
3
- "title": "Overview",
4
- "description": "Provides a high-level introduction to the @arcblock/did-connect-react library, its key features, core components, and how to install it.",
5
- "path": "/overview",
6
- "sourceIds": [
7
- "README.md",
8
- "src/index.js"
9
- ],
10
- "parentId": "",
11
- "icon": "lucide:book"
12
- },
13
- {
14
- "title": "Getting Started",
15
- "description": "A step-by-step guide to quickly integrate DID Connect functionality, including setting up SessionProvider and triggering a user login.",
16
- "path": "/getting-started",
17
- "sourceIds": [
18
- "README.md",
19
- "src/Session/index.jsx",
20
- "src/Connect/index.jsx",
21
- "src/Button/index.jsx"
22
- ],
23
- "parentId": "",
24
- "icon": "lucide:rocket"
25
- },
26
- {
27
- "title": "Core Components",
28
- "description": "In-depth documentation for the primary components that form the foundation of the library.",
29
- "path": "/core-components",
30
- "sourceIds": [
31
- "src/Session/index.jsx",
32
- "src/Connect/index.jsx"
33
- ],
34
- "parentId": "",
35
- "icon": "lucide:component"
36
- },
37
- {
38
- "title": "Session Management (SessionProvider)",
39
- "description": "Explains how to use SessionProvider to manage user sessions, handle login/logout, and access user data throughout your application.",
40
- "path": "/core-components/session-provider",
41
- "sourceIds": [
42
- "src/Session/index.jsx",
43
- "src/Session/context.jsx",
44
- "src/SessionManager/index.jsx",
45
- "src/Session/hooks/use-session-token.js",
46
- "src/types.d.ts"
47
- ],
48
- "parentId": "/core-components"
49
- },
50
- {
51
- "title": "Connection UI (DidConnect)",
52
- "description": "Details the usage of the DidConnect component, a pre-built UI for handling various DID connection actions like login and authentication.",
53
- "path": "/core-components/did-connect",
54
- "sourceIds": [
55
- "src/Connect/index.jsx",
56
- "src/Connect/contexts/state.jsx",
57
- "src/types.d.ts",
58
- "README.md"
59
- ],
60
- "parentId": "/core-components"
61
- },
62
- {
63
- "title": "Hooks",
64
- "description": "A collection of React hooks for programmatic control and data access, offering a more flexible integration.",
65
- "path": "/hooks",
66
- "sourceIds": [
67
- "src/Connect/use-connect.jsx",
68
- "src/Session/index.jsx",
69
- "src/User/index.js",
70
- "src/OAuth/context.jsx",
71
- "src/Passkey/context.jsx"
72
- ],
73
- "parentId": "",
74
- "icon": "lucide:hook"
75
- },
76
- {
77
- "title": "useConnect",
78
- "description": "Learn how to programmatically open, close, and manage the DidConnect UI modal using the useConnect hook.",
79
- "path": "/hooks/use-connect",
80
- "sourceIds": [
81
- "src/Connect/use-connect.jsx",
82
- "src/types.d.ts"
83
- ],
84
- "parentId": "/hooks"
85
- },
86
- {
87
- "title": "useDid",
88
- "description": "A utility hook to easily extract and work with specific DID-related information from the session user object.",
89
- "path": "/hooks/use-did",
90
- "sourceIds": [
91
- "src/User/index.js",
92
- "src/User/use-did.js"
93
- ],
94
- "parentId": "/hooks"
95
- },
96
- {
97
- "title": "useOAuth & usePasskey",
98
- "description": "Documentation for hooks that enable interaction with OAuth and Passkey authentication flows within the session context.",
99
- "path": "/hooks/use-oauth-passkey",
100
- "sourceIds": [
101
- "src/OAuth/context.jsx",
102
- "src/Passkey/context.jsx",
103
- "src/OAuth/index.jsx",
104
- "src/Passkey/index.jsx"
105
- ],
106
- "parentId": "/hooks"
107
- },
108
- {
109
- "title": "UI Components",
110
- "description": "A guide to the library's supplementary UI components for displaying DID-related information like avatars and addresses.",
111
- "path": "/ui-components",
112
- "sourceIds": [
113
- "src/Avatar/index.jsx",
114
- "src/Address/index.jsx",
115
- "src/Button/index.jsx",
116
- "src/Logo/index.jsx"
117
- ],
118
- "parentId": "",
119
- "icon": "lucide:layout-template"
120
- },
121
- {
122
- "title": "Avatar",
123
- "description": "Documentation for the Avatar component, used to display a user's avatar derived from their DID.",
124
- "path": "/ui-components/avatar",
125
- "sourceIds": [
126
- "src/Avatar/index.jsx"
127
- ],
128
- "parentId": "/ui-components"
129
- },
130
- {
131
- "title": "Address",
132
- "description": "Documentation for the Address component, used for displaying a formatted and optionally shortened DID.",
133
- "path": "/ui-components/address",
134
- "sourceIds": [
135
- "src/Address/index.jsx"
136
- ],
137
- "parentId": "/ui-components"
138
- },
139
- {
140
- "title": "Button",
141
- "description": "A pre-styled button component for initiating the DID Connect flow, providing a consistent user experience.",
142
- "path": "/ui-components/button",
143
- "sourceIds": [
144
- "src/Button/index.jsx"
145
- ],
146
- "parentId": "/ui-components"
147
- },
148
- {
149
- "title": "Logo",
150
- "description": "A simple component to display the official DID Connect logo.",
151
- "path": "/ui-components/logo",
152
- "sourceIds": [
153
- "src/Logo/index.jsx"
154
- ],
155
- "parentId": "/ui-components"
156
- },
157
- {
158
- "title": "Advanced Topics",
159
- "description": "Covers more complex subjects such as integrating different authentication methods, using utility functions, and handling errors.",
160
- "path": "/advanced",
161
- "sourceIds": [
162
- "src/OAuth/index.jsx",
163
- "src/Passkey/index.jsx",
164
- "src/Federated/index.jsx",
165
- "src/utils.js",
166
- "src/error.js"
167
- ],
168
- "parentId": "",
169
- "icon": "lucide:sliders-horizontal"
170
- },
171
- {
172
- "title": "Authentication Methods",
173
- "description": "Details on integrating alternative login methods like OAuth (social login), Passkeys (passwordless), and Federated Login.",
174
- "path": "/advanced/authentication-methods",
175
- "sourceIds": [
176
- "src/OAuth/context.jsx",
177
- "src/Passkey/context.jsx",
178
- "src/Federated/context.jsx",
179
- "src/Session/hooks/use-federated.js",
180
- "src/types.d.ts"
181
- ],
182
- "parentId": "/advanced"
183
- },
184
- {
185
- "title": "Utilities",
186
- "description": "A reference guide for the various helper functions exported by the library for tasks like encoding URLs and creating API clients.",
187
- "path": "/advanced/utilities",
188
- "sourceIds": [
189
- "src/utils.js",
190
- "src/constant.js"
191
- ],
192
- "parentId": "/advanced"
193
- },
194
- {
195
- "title": "API Reference",
196
- "description": "A comprehensive reference of all component props, hook return values, and TypeScript type definitions.",
197
- "path": "/api-reference",
198
- "sourceIds": [
199
- "src/types.d.ts"
200
- ],
201
- "parentId": "",
202
- "icon": "lucide:code"
203
- }
204
- ]
@@ -1,11 +0,0 @@
1
- DID Connect UI (React):
2
- en: DID Connect UI (React)
3
- zh: DID Connect 用户界面 (React)
4
- zh-TW: DID Connect 使用者介面 (React)
5
- ja: DID Connect UI(React)
6
- "@arcblock/did-connect-react aids DID Connect with components & session management.":
7
- en: "@arcblock/did-connect-react aids DID Connect with components & session
8
- management."
9
- zh: "@arcblock/did-connect-react 辅助 DID Connect 进行组件和会话管理。"
10
- zh-TW: "@arcblock/did-connect-react 輔助 DID Connect 進行元件及會話管理。"
11
- ja: "@arcblock/did-connect-react は、コンポーネントとセッション管理で DID Connect を支援します。"
@@ -1,213 +0,0 @@
1
- 29f7a525fa839ecd52b401769b3c4520a6bd4a5449d1407b0a16a788dccc1e4c:
2
- local_path: .aigne/doc-smith/.tmp/assets/d2/5cb000a97607c6637b7fb1ec42d426206bf4a033e375f6c6daeba0e0f3665f87.svg
3
- sites:
4
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
5
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/29f7a525fa839ecd.svg
6
- upload_time: 2025-09-23T03:33:47.153Z
7
- https://www.arcblock.io:
8
- url: https://www.arcblock.io/image-bin/uploads/29f7a525fa839ecd.svg
9
- upload_time: 2025-09-24T04:16:25.767Z
10
- https://docsmith.aigne.io:
11
- url: https://docsmith.aigne.io/image-bin/uploads/29f7a525fa839ecd.svg
12
- upload_time: 2025-09-24T04:16:49.139Z
13
- deccd722605851f5206b8070a9aa671f1191f143d1d8a08c3027f2be81519d5c:
14
- local_path: .aigne/doc-smith/.tmp/assets/d2/84480514fb2339954d09426848c5b793596a86ac0a0ad75048555249ca3a8b5e.svg
15
- sites:
16
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
17
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/deccd722605851f5.svg
18
- upload_time: 2025-09-23T03:33:47.859Z
19
- 9bb263838d547eb340ed8b12aaf5afacb99425571359e670245b6af9e2beb202:
20
- local_path: .aigne/doc-smith/.tmp/assets/d2/9e1945c651fb027571dd41aca5393feb156e8053ead5218d577510bdb5aabcc9.svg
21
- sites:
22
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
23
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/9bb263838d547eb3.svg
24
- upload_time: 2025-09-23T03:33:48.213Z
25
- https://www.arcblock.io:
26
- url: https://www.arcblock.io/image-bin/uploads/9bb263838d547eb3.svg
27
- upload_time: 2025-09-24T04:16:28.374Z
28
- https://docsmith.aigne.io:
29
- url: https://docsmith.aigne.io/image-bin/uploads/9bb263838d547eb3.svg
30
- upload_time: 2025-09-24T04:16:51.233Z
31
- 225f3eba74fbb0a8948362d722156ed460f5ff3744479b2d29074acdb4e18b95:
32
- local_path: .aigne/doc-smith/.tmp/assets/d2/e0e7209cf10e27abb7d1d5b3472c270f90d12849d2690c55b1184f6e9c808c14.svg
33
- sites:
34
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
35
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/225f3eba74fbb0a8.svg
36
- upload_time: 2025-09-23T03:33:48.369Z
37
- https://www.arcblock.io:
38
- url: https://www.arcblock.io/image-bin/uploads/225f3eba74fbb0a8.svg
39
- upload_time: 2025-09-24T04:16:28.169Z
40
- https://docsmith.aigne.io:
41
- url: https://docsmith.aigne.io/image-bin/uploads/225f3eba74fbb0a8.svg
42
- upload_time: 2025-09-24T04:16:51.303Z
43
- 685ad8a0008023a1a4533c20e94df6b38580316add4131e535e203bd309a42d3:
44
- local_path: .aigne/doc-smith/.tmp/assets/d2/ad05967d83ec12ceb02f2299805e0e78e5fb42ee8fff3f2f49a704cba4616d53.svg
45
- sites:
46
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
47
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/685ad8a0008023a1.svg
48
- upload_time: 2025-09-23T03:33:48.928Z
49
- 0eb3845668755df07e0da0f1669c152f963d3300e5ac930800756cd165599b59:
50
- local_path: .aigne/doc-smith/.tmp/assets/d2/b6db1f0109bb3ead106bb8193f8b83ea6cca6ad26512f2dde1d0d1ceb1aa55fc.svg
51
- sites:
52
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
53
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/0eb3845668755df0.svg
54
- upload_time: 2025-09-23T03:33:49.306Z
55
- d042d454d2c90f28a0c2ad1e1c44dfae679d3cfb214cf3442e32edeed01237da:
56
- local_path: .aigne/doc-smith/.tmp/assets/d2/59d90ae4e8fc9afb7058667563b9ebbf51988f9a5146b314f33387b2f5c42c8f.svg
57
- sites:
58
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
59
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/d042d454d2c90f28.svg
60
- upload_time: 2025-09-23T03:33:49.312Z
61
- https://www.arcblock.io:
62
- url: https://www.arcblock.io/image-bin/uploads/d042d454d2c90f28.svg
63
- upload_time: 2025-09-24T04:16:30.067Z
64
- https://docsmith.aigne.io:
65
- url: https://docsmith.aigne.io/image-bin/uploads/d042d454d2c90f28.svg
66
- upload_time: 2025-09-24T04:16:53.371Z
67
- f78f8b65d26b43a486863e307412b6f68ee95768ac54d1f8726fba3b93425811:
68
- local_path: .aigne/doc-smith/.tmp/assets/d2/4c81d12b3f8cd92e421ca5c8a0768cfde94a33a478b2455cf01fe450ba470596.svg
69
- sites:
70
- https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io:
71
- url: https://bbqa5i2t2b3y3uay6hawb2yrvb3uaoblb54t7tpbk6e.did.abtnet.io/image-bin/uploads/f78f8b65d26b43a4.svg
72
- upload_time: 2025-09-23T03:33:50.033Z
73
- https://www.arcblock.io:
74
- url: https://www.arcblock.io/image-bin/uploads/f78f8b65d26b43a4.svg
75
- upload_time: 2025-09-24T04:16:31.083Z
76
- https://docsmith.aigne.io:
77
- url: https://docsmith.aigne.io/image-bin/uploads/f78f8b65d26b43a4.svg
78
- upload_time: 2025-09-24T04:16:54.086Z
79
- 0b6d22d3c5e0e7fa9ac0056df41e0c1989c442302bd8adffb6b67b7c28244593:
80
- local_path: .aigne/doc-smith/.tmp/assets/d2/c5f369f90037feae656dd49c1de54681e1224f7b718ef9161851bfb226192441.svg
81
- sites:
82
- https://www.arcblock.io:
83
- url: https://www.arcblock.io/image-bin/uploads/0b6d22d3c5e0e7fa.svg
84
- upload_time: 2025-09-24T04:16:27.191Z
85
- https://docsmith.aigne.io:
86
- url: https://docsmith.aigne.io/image-bin/uploads/0b6d22d3c5e0e7fa.svg
87
- upload_time: 2025-09-24T04:16:49.800Z
88
- 1e7bdd6f8710f21507a3456aba0698ef04abcd242b58c93ae1a1580b7038f56b:
89
- local_path: .aigne/doc-smith/.tmp/assets/d2/3ed92f8ff0a9785538483d4a6f28451f46f99f73a85820002129c98e6927ff71.svg
90
- sites:
91
- https://www.arcblock.io:
92
- url: https://www.arcblock.io/image-bin/uploads/1e7bdd6f8710f215.svg
93
- upload_time: 2025-09-24T04:16:28.585Z
94
- https://docsmith.aigne.io:
95
- url: https://docsmith.aigne.io/image-bin/uploads/1e7bdd6f8710f215.svg
96
- upload_time: 2025-09-24T04:16:50.444Z
97
- d1049429dda7f21272c1ccf2f2558794a2b8dc703c5101abb690579ed7c99bfc:
98
- local_path: .aigne/doc-smith/.tmp/assets/d2/edaa8fecef98359536d8a9803202256bb1c0ae578eb081b281115f48231481aa.svg
99
- sites:
100
- https://www.arcblock.io:
101
- url: https://www.arcblock.io/image-bin/uploads/d1049429dda7f212.svg
102
- upload_time: 2025-09-24T04:16:29.634Z
103
- https://docsmith.aigne.io:
104
- url: https://docsmith.aigne.io/image-bin/uploads/d1049429dda7f212.svg
105
- upload_time: 2025-09-24T04:16:52.000Z
106
- c80cb16308673f96e540c86f3b6eaceacbf6211cdcaa69e363a5192e8a7c418c:
107
- local_path: .aigne/doc-smith/.tmp/assets/d2/275c367831fb1eba8d1bef397921d5c3217348695de809890f3c24b9e5dcd243.svg
108
- sites:
109
- https://www.arcblock.io:
110
- url: https://www.arcblock.io/image-bin/uploads/c80cb16308673f96.svg
111
- upload_time: 2025-09-24T04:16:29.715Z
112
- https://docsmith.aigne.io:
113
- url: https://docsmith.aigne.io/image-bin/uploads/c80cb16308673f96.svg
114
- upload_time: 2025-09-24T04:16:51.153Z
115
- 75cd10d49c37dfaa03f35ae6991eb8390e6e4015fb509a8cda7febe152a2df78:
116
- local_path: .aigne/doc-smith/.tmp/assets/d2/4d46333a4ea3615277c4aebeb7ae84d4ae69f19292e53acbd907ab98e22b7cd0.svg
117
- sites:
118
- https://www.arcblock.io:
119
- url: https://www.arcblock.io/image-bin/uploads/75cd10d49c37dfaa.svg
120
- upload_time: 2025-09-24T04:16:30.289Z
121
- https://docsmith.aigne.io:
122
- url: https://docsmith.aigne.io/image-bin/uploads/75cd10d49c37dfaa.svg
123
- upload_time: 2025-09-24T04:16:52.698Z
124
- a9610b437fd07cee83ad1f260ceb635f82ed033ddfe3906de09d6cf2d73121bb:
125
- local_path: .aigne/doc-smith/.tmp/assets/d2/83ba8e38d1c41546e09b7b0ae0794121fe3eaad1a4a484dcf69037ddf173cd08.svg
126
- sites:
127
- https://www.arcblock.io:
128
- url: https://www.arcblock.io/image-bin/uploads/a9610b437fd07cee.svg
129
- upload_time: 2025-09-24T04:16:31.094Z
130
- https://docsmith.aigne.io:
131
- url: https://docsmith.aigne.io/image-bin/uploads/a9610b437fd07cee.svg
132
- upload_time: 2025-09-24T04:16:52.769Z
133
- b674e57005eca0fbcb1f2a57a31a36aef6e6cbc5e294d23af0214cb8d092b3c7:
134
- local_path: .aigne/doc-smith/.tmp/assets/d2/4be4be5281e40113215bc4ef9609ce67b3eeff710e37c1bc4c554b5af3374b6e.svg
135
- sites:
136
- https://www.arcblock.io:
137
- url: https://www.arcblock.io/image-bin/uploads/b674e57005eca0fb.svg
138
- upload_time: 2025-09-24T04:16:31.315Z
139
- https://docsmith.aigne.io:
140
- url: https://docsmith.aigne.io/image-bin/uploads/b674e57005eca0fb.svg
141
- upload_time: 2025-09-24T04:16:53.478Z
142
- 4e6d7899f7b1de37da3d9899ad8c123d14b5cc9d8442f5ab55b046062ae3a4bc:
143
- local_path: .aigne/doc-smith/.tmp/assets/d2/6a60f3683d4c544091a4137005936b1430817411e0ca396b4a10b98451c670ca.svg
144
- sites:
145
- https://www.arcblock.io:
146
- url: https://www.arcblock.io/image-bin/uploads/4e6d7899f7b1de37.svg
147
- upload_time: 2025-09-24T04:16:32.090Z
148
- https://docsmith.aigne.io:
149
- url: https://docsmith.aigne.io/image-bin/uploads/4e6d7899f7b1de37.svg
150
- upload_time: 2025-09-24T04:16:53.574Z
151
- ccb7eb47c3a485ce55add4c155e6d0228a94d4af795e3642f4cb7d187e9444e8:
152
- local_path: .aigne/doc-smith/.tmp/assets/d2/575b75e1bab0aa9b3fe8f324165ea01ad4d128e59411c1841772ee301fe7b35d.svg
153
- sites:
154
- https://www.arcblock.io:
155
- url: https://www.arcblock.io/image-bin/uploads/ccb7eb47c3a485ce.svg
156
- upload_time: 2025-09-24T04:16:32.342Z
157
- https://docsmith.aigne.io:
158
- url: https://docsmith.aigne.io/image-bin/uploads/ccb7eb47c3a485ce.svg
159
- upload_time: 2025-09-24T04:16:54.870Z
160
- 005ab657c8c753e333ec6b94a8867dc1087c050a50c8931716e34bda14a93bc7:
161
- local_path: .aigne/doc-smith/.tmp/assets/d2/c9af1a1b51846ce11449637c52199e5a1e148fdac54ed8dcc6a8cf08385df3da.svg
162
- sites:
163
- https://www.arcblock.io:
164
- url: https://www.arcblock.io/image-bin/uploads/005ab657c8c753e3.svg
165
- upload_time: 2025-09-24T04:16:33.427Z
166
- https://docsmith.aigne.io:
167
- url: https://docsmith.aigne.io/image-bin/uploads/005ab657c8c753e3.svg
168
- upload_time: 2025-09-24T04:16:55.549Z
169
- 5478fa8491b7f97eb8d0d7b7b4634ce2cde168095efce9885b14041180540284:
170
- local_path: .aigne/doc-smith/.tmp/assets/d2/187a7da6198218c13bdec366ca2c8c30f1a499017c294dbe844e0fff49285637.svg
171
- sites:
172
- https://www.arcblock.io:
173
- url: https://www.arcblock.io/image-bin/uploads/5478fa8491b7f97e.svg
174
- upload_time: 2025-10-01T08:13:10.399Z
175
- https://docsmith.aigne.io:
176
- url: https://docsmith.aigne.io/image-bin/uploads/5478fa8491b7f97e.svg
177
- upload_time: 2025-10-01T08:13:35.738Z
178
- 5857d2f95b18ac49a298f35e89d2e788810b3b5d3d4719e44b5164e33770be66:
179
- local_path: .aigne/doc-smith/.tmp/assets/d2/ff54cd4af753701ae8fffa5ddd3369d6b0164d8a6e9002e859d8ce236adcd2fa.svg
180
- sites:
181
- https://www.arcblock.io:
182
- url: https://www.arcblock.io/image-bin/uploads/5857d2f95b18ac49.svg
183
- upload_time: 2025-10-01T08:13:11.881Z
184
- https://docsmith.aigne.io:
185
- url: https://docsmith.aigne.io/image-bin/uploads/5857d2f95b18ac49.svg
186
- upload_time: 2025-10-01T08:13:36.567Z
187
- 83aa6edd16327e9a3079425ddcd701b9dd1afb55a9e3589e74b036c0ceb63775:
188
- local_path: .aigne/doc-smith/.tmp/assets/d2/cdf3792dc20797e89fc07d41c01c5039476cb01fc4b2d6a3b64dce33d484bc43.svg
189
- sites:
190
- https://www.arcblock.io:
191
- url: https://www.arcblock.io/image-bin/uploads/83aa6edd16327e9a.svg
192
- upload_time: 2025-10-01T08:13:13.301Z
193
- https://docsmith.aigne.io:
194
- url: https://docsmith.aigne.io/image-bin/uploads/83aa6edd16327e9a.svg
195
- upload_time: 2025-10-01T08:13:37.399Z
196
- c5dce56cdc451abac7b2f9b57547d47de0840fb6fb38c46577f986c3aaf6c5d6:
197
- local_path: .aigne/doc-smith/.tmp/assets/d2/8b6fb09d8010913dd9b87b96c3e78d25298eaf6d65fbcfdcd6235934218f9c27.svg
198
- sites:
199
- https://www.arcblock.io:
200
- url: https://www.arcblock.io/image-bin/uploads/c5dce56cdc451aba.svg
201
- upload_time: 2025-10-16T05:01:19.357Z
202
- https://docsmith.aigne.io:
203
- url: https://docsmith.aigne.io/image-bin/uploads/c5dce56cdc451aba.svg
204
- upload_time: 2025-10-16T05:04:32.241Z
205
- 665760fac6b6de32aee2e713bb61378428d6f4cd0f544057539934239e921757:
206
- local_path: .aigne/doc-smith/.tmp/assets/d2/83f58ce9a056a66f60293fe55364adda0ebf3052b0d68fd9db389d3e8aa3af24.svg
207
- sites:
208
- https://www.arcblock.io:
209
- url: https://www.arcblock.io/image-bin/uploads/665760fac6b6de32.svg
210
- upload_time: 2025-10-16T05:01:21.227Z
211
- https://docsmith.aigne.io:
212
- url: https://docsmith.aigne.io/image-bin/uploads/665760fac6b6de32.svg
213
- upload_time: 2025-10-16T05:04:33.134Z
package/docs/_sidebar.md DELETED
@@ -1,18 +0,0 @@
1
- * [Overview](/overview.md)
2
- * [Getting Started](/getting-started.md)
3
- * [Core Components](/core-components.md)
4
- * [Session Management (SessionProvider)](/core-components-session-provider.md)
5
- * [Connection UI (DidConnect)](/core-components-did-connect.md)
6
- * [Hooks](/hooks.md)
7
- * [useConnect](/hooks-use-connect.md)
8
- * [useDid](/hooks-use-did.md)
9
- * [useOAuth & usePasskey](/hooks-use-oauth-passkey.md)
10
- * [UI Components](/ui-components.md)
11
- * [Avatar](/ui-components-avatar.md)
12
- * [Address](/ui-components-address.md)
13
- * [Button](/ui-components-button.md)
14
- * [Logo](/ui-components-logo.md)
15
- * [Advanced Topics](/advanced.md)
16
- * [Authentication Methods](/advanced-authentication-methods.md)
17
- * [Utilities](/advanced-utilities.md)
18
- * [API Reference](/api-reference.md)