Skip to content

Commit 1cad8a2

Browse files
committed
feat: ui update
- cherry-picked multiple dependency updates - cherry-picked branch removing contract explorer - re-added external package to use contract explorer - merged in UI updates
1 parent 4c5bc18 commit 1cad8a2

File tree

101 files changed

+575
-7242
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

101 files changed

+575
-7242
lines changed

environments.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -83,6 +83,7 @@ default = true
8383
# soroban-increment-contract = { id = "C567..." }
8484
# soroban-token-contract = { id = "C678..." }
8585
# eurc = { id = "C789..." }
86+
guess_the_number = { client = true, constructor_args = "--admin me", after_deploy = "reset" }
8687

8788
### Production environment configuration
8889
[production.network]

package-lock.json

Lines changed: 73 additions & 43 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 6 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,8 @@
1111
"preview": "vite preview",
1212
"lint": "eslint .",
1313
"format": "prettier . --write",
14-
"prepare": "husky"
14+
"prepare": "husky",
15+
"typecheck": "tsc"
1516
},
1617
"workspaces": [
1718
"packages/*"
@@ -22,16 +23,17 @@
2223
"@stellar/stellar-sdk": "^14.4.3",
2324
"@stellar/stellar-xdr-json": "^23.0.0",
2425
"@tanstack/react-query": "^5.90.17",
26+
"@theahaco/contract-explorer": "^1.1.0",
2527
"@theahaco/ts-config": "^1.2.0",
2628
"lossless-json": "^4.3.0",
27-
"react": "^19.2.3",
28-
"react-dom": "^19.2.3",
29+
"react": "^19.2.4",
30+
"react-dom": "^19.2.4",
2931
"react-router-dom": "^7.12.0",
3032
"zod": "^4.3.5"
3133
},
3234
"devDependencies": {
3335
"@types/lodash": "^4.17.23",
34-
"@types/react": "^19.2.8",
36+
"@types/react": "^19.2.10",
3537
"@types/react-dom": "^19.2.3",
3638
"@types/react-router-dom": "^5.3.3",
3739
"@vitejs/plugin-react": "^5.1.2",

src/App.module.css

Lines changed: 64 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,64 @@
1+
/** GLOBAL */
2+
/* Typography Color */
3+
body {
4+
color: var(--sds-clr-gray-12);
5+
}
6+
7+
/* External link icons */
8+
a[target]::after {
9+
content: " ";
10+
background: var(--sds-clr-lilac-11);
11+
width: 1em;
12+
height: 1em;
13+
display: inline-block;
14+
-webkit-mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 17 17 7m0 0H7m10 0v10'%3E%3C/path%3E%3C/svg%3E");
15+
mask-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='1em' height='1em' fill='none' stroke='currentColor' viewBox='0 0 24 24'%3E%3Cpath stroke-linecap='round' stroke-linejoin='round' stroke-width='2' d='M7 17 17 7m0 0H7m10 0v10'%3E%3C/path%3E%3C/svg%3E");
16+
}
17+
a[target]:hover::after {
18+
background: var(--sds-clr-lilac-12);
19+
}
20+
a[target]:disabled::after {
21+
background: var(--sds-clr-lilac-08);
22+
}
23+
24+
a:has(button) {
25+
text-decoration: none;
26+
}
27+
a[target]:has(button)::after {
28+
content: unset;
29+
-webkit-mask-image: unset;
30+
mask-image: unset;
31+
}
32+
33+
/** HEADER */
34+
.AppLayout :global(.Layout__header) {
35+
border-bottom: 1px solid var(--sds-clr-gray-06);
36+
padding: 1rem 3rem;
37+
}
38+
39+
.AppLayout :global(.Layout__header) :global(.Layout__inset) {
40+
gap: 2rem;
41+
}
42+
43+
.AppLayout :global(.Layout__header--center) {
44+
flex-direction: row;
45+
justify-content: start;
46+
}
47+
48+
/** FOOTER */
49+
.AppLayout :global(.Layout__footer__content) {
50+
flex-direction: row-reverse;
51+
}
52+
53+
/** SDS FIXES */
54+
:global(.sds-theme-light) ol li::before,
55+
:global(.sds-theme-dark) ol li::before {
56+
content: unset;
57+
}
58+
59+
* {
60+
transition:
61+
background-color var(--sds-anim-transition-default),
62+
border-color var(--sds-anim-transition-default),
63+
color var(--sds-anim-transition-default);
64+
}

0 commit comments

Comments
 (0)