@hyperbridge/ui 0.0.33 → 0.0.35
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.mjs +28 -31
- package/package.json +3 -3
package/dist/index.mjs
CHANGED
|
@@ -5145,37 +5145,34 @@ function HeaderChooseProvider() {
|
|
|
5145
5145
|
function HeaderNested(props) {
|
|
5146
5146
|
var _a;
|
|
5147
5147
|
const { heading, image, onBack, hideBackButton } = props;
|
|
5148
|
-
return /* @__PURE__ */
|
|
5149
|
-
/* @__PURE__ */
|
|
5150
|
-
|
|
5151
|
-
|
|
5152
|
-
|
|
5153
|
-
|
|
5154
|
-
|
|
5155
|
-
|
|
5156
|
-
|
|
5157
|
-
|
|
5158
|
-
|
|
5159
|
-
|
|
5160
|
-
|
|
5161
|
-
|
|
5162
|
-
|
|
5163
|
-
|
|
5164
|
-
|
|
5165
|
-
|
|
5166
|
-
|
|
5167
|
-
|
|
5168
|
-
|
|
5169
|
-
|
|
5170
|
-
|
|
5171
|
-
|
|
5172
|
-
|
|
5173
|
-
|
|
5174
|
-
|
|
5175
|
-
|
|
5176
|
-
] }),
|
|
5177
|
-
/* @__PURE__ */ jsx50(SheetDescription, { className: "sr-only", children: "Choose a wallet provider to connect to our application." })
|
|
5178
|
-
] });
|
|
5148
|
+
return /* @__PURE__ */ jsx50("div", { className: "p-[1rem] -mx-[1rem]", children: /* @__PURE__ */ jsxs36("div", { className: "flex items-center gap-[0.625rem] select-none", children: [
|
|
5149
|
+
/* @__PURE__ */ jsx50(
|
|
5150
|
+
TokenImage,
|
|
5151
|
+
{
|
|
5152
|
+
src: image.src,
|
|
5153
|
+
className: "w-[2rem]",
|
|
5154
|
+
alt: (_a = image.alt) != null ? _a : heading
|
|
5155
|
+
}
|
|
5156
|
+
),
|
|
5157
|
+
/* @__PURE__ */ jsx50("div", { className: "text-brand-white-100 flex-1", children: /* @__PURE__ */ jsx50("span", { className: "text-base font-medium", children: heading }) }),
|
|
5158
|
+
!hideBackButton && /* @__PURE__ */ jsx50(
|
|
5159
|
+
IconButton,
|
|
5160
|
+
{
|
|
5161
|
+
variant: "level_1",
|
|
5162
|
+
rounded: "full",
|
|
5163
|
+
size: "sm",
|
|
5164
|
+
onClick: onBack,
|
|
5165
|
+
children: /* @__PURE__ */ jsx50(
|
|
5166
|
+
StepBack_default,
|
|
5167
|
+
{
|
|
5168
|
+
width: "1rem",
|
|
5169
|
+
height: "1rem",
|
|
5170
|
+
className: "text-brand-black-100"
|
|
5171
|
+
}
|
|
5172
|
+
)
|
|
5173
|
+
}
|
|
5174
|
+
)
|
|
5175
|
+
] }) });
|
|
5179
5176
|
}
|
|
5180
5177
|
function ListSection({
|
|
5181
5178
|
children,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hyperbridge/ui",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.35",
|
|
4
4
|
"sideEffects": false,
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"private": false,
|
|
@@ -33,8 +33,8 @@
|
|
|
33
33
|
"typescript": "5.8.3",
|
|
34
34
|
"vite": "^6.3.4",
|
|
35
35
|
"vitest": "^3.1.2",
|
|
36
|
-
"@repo/
|
|
37
|
-
"@repo/
|
|
36
|
+
"@repo/typescript-config": "0.0.0",
|
|
37
|
+
"@repo/eslint-config": "0.0.0"
|
|
38
38
|
},
|
|
39
39
|
"dependencies": {
|
|
40
40
|
"@radix-ui/react-dialog": "^1.1.14",
|