@rango-dev/widget-embedded 0.51.1-next.8 → 0.51.1-next.9
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/components/WalletStatefulConnect/Detached.d.ts.map +1 -1
- package/dist/components/WalletStatefulConnect/Namespaces.d.ts.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +2 -2
- package/dist/widget-embedded.build.json +1 -1
- package/package.json +3 -3
- package/src/components/WalletStatefulConnect/Detached.tsx +16 -4
- package/src/components/WalletStatefulConnect/Namespaces.tsx +16 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rango-dev/widget-embedded",
|
|
3
|
-
"version": "0.51.1-next.
|
|
3
|
+
"version": "0.51.1-next.9",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"source": "./src/index.ts",
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
"@rango-dev/queue-manager-rango-preset": "^0.53.1-next.2",
|
|
31
31
|
"@rango-dev/queue-manager-react": "^0.32.1-next.0",
|
|
32
32
|
"@rango-dev/signer-solana": "^0.44.0",
|
|
33
|
-
"@rango-dev/ui": "^0.54.1-next.
|
|
33
|
+
"@rango-dev/ui": "^0.54.1-next.4",
|
|
34
34
|
"@rango-dev/wallets-core": "^0.50.1-next.1",
|
|
35
35
|
"@rango-dev/wallets-react": "^0.37.1-next.2",
|
|
36
36
|
"@rango-dev/wallets-shared": "^0.51.1-next.1",
|
|
@@ -54,4 +54,4 @@
|
|
|
54
54
|
"publishConfig": {
|
|
55
55
|
"access": "public"
|
|
56
56
|
}
|
|
57
|
-
}
|
|
57
|
+
}
|
|
@@ -75,7 +75,10 @@ export function Detached(props: PropTypes) {
|
|
|
75
75
|
if (!!singleSelection) {
|
|
76
76
|
return (
|
|
77
77
|
<>
|
|
78
|
-
<Divider
|
|
78
|
+
<Divider
|
|
79
|
+
size={20}
|
|
80
|
+
className="_detached_namespace_list_header_alert_top_divider"
|
|
81
|
+
/>
|
|
79
82
|
<Alert
|
|
80
83
|
id="widget-wallet-stateful-connect-alert"
|
|
81
84
|
variant="alarm"
|
|
@@ -84,13 +87,19 @@ export function Detached(props: PropTypes) {
|
|
|
84
87
|
'This wallet can only connect to one chain at a time.'
|
|
85
88
|
)}
|
|
86
89
|
/>
|
|
87
|
-
<Divider
|
|
90
|
+
<Divider
|
|
91
|
+
size={30}
|
|
92
|
+
className="_detached_namespace_list_header_alert_bottom_divider"
|
|
93
|
+
/>
|
|
88
94
|
</>
|
|
89
95
|
);
|
|
90
96
|
}
|
|
91
97
|
return (
|
|
92
98
|
<>
|
|
93
|
-
<Divider
|
|
99
|
+
<Divider
|
|
100
|
+
size={30}
|
|
101
|
+
className="_detached_namespace_list_header_button_top_divider"
|
|
102
|
+
/>
|
|
94
103
|
<NamespacesHeader>
|
|
95
104
|
<Button
|
|
96
105
|
id="widget-detached-disconnect-wallet-btn"
|
|
@@ -102,7 +111,10 @@ export function Detached(props: PropTypes) {
|
|
|
102
111
|
{i18n.t('Disconnect wallet')}
|
|
103
112
|
</Button>
|
|
104
113
|
</NamespacesHeader>
|
|
105
|
-
<Divider
|
|
114
|
+
<Divider
|
|
115
|
+
size={16}
|
|
116
|
+
className="_detached_namespace_list_header_button_bottom_divider"
|
|
117
|
+
/>
|
|
106
118
|
</>
|
|
107
119
|
);
|
|
108
120
|
};
|
|
@@ -120,7 +120,10 @@ export function Namespaces(props: PropTypes) {
|
|
|
120
120
|
/>
|
|
121
121
|
{singleNamespace ? (
|
|
122
122
|
<>
|
|
123
|
-
<Divider
|
|
123
|
+
<Divider
|
|
124
|
+
size={20}
|
|
125
|
+
className="_initial_namespace_list_header_alert_top_divider"
|
|
126
|
+
/>
|
|
124
127
|
<Alert
|
|
125
128
|
id="widget-wallet-stateful-connect-alert"
|
|
126
129
|
variant="alarm"
|
|
@@ -129,11 +132,17 @@ export function Namespaces(props: PropTypes) {
|
|
|
129
132
|
'This wallet can only connect to one chain at a time. '
|
|
130
133
|
)}
|
|
131
134
|
/>
|
|
132
|
-
<Divider
|
|
135
|
+
<Divider
|
|
136
|
+
size={30}
|
|
137
|
+
className="_initial_namespace_list_header_alert_bottom_divider"
|
|
138
|
+
/>
|
|
133
139
|
</>
|
|
134
140
|
) : (
|
|
135
141
|
<>
|
|
136
|
-
<Divider
|
|
142
|
+
<Divider
|
|
143
|
+
size={30}
|
|
144
|
+
className="_initial_namespace_list_header_button_top_divider"
|
|
145
|
+
/>
|
|
137
146
|
<Button
|
|
138
147
|
style={{ marginLeft: 'auto' }}
|
|
139
148
|
id="widget-name-space-select-all-btn"
|
|
@@ -145,7 +154,10 @@ export function Namespaces(props: PropTypes) {
|
|
|
145
154
|
? i18n.t('Deselect all')
|
|
146
155
|
: i18n.t('Select all')}
|
|
147
156
|
</Button>
|
|
148
|
-
<Divider
|
|
157
|
+
<Divider
|
|
158
|
+
size={10}
|
|
159
|
+
className="_initial_namespace_list_header_button_bottom_divider"
|
|
160
|
+
/>
|
|
149
161
|
</>
|
|
150
162
|
)}
|
|
151
163
|
<NamespaceList>
|