Skip to content

Commit 38e5db0

Browse files
authored
Merge pull request #15879 from ethereum/master
Back merge `master` into `staging`
2 parents 0ff3d3e + 01856d0 commit 38e5db0

File tree

13 files changed

+114
-174
lines changed

13 files changed

+114
-174
lines changed
-2.79 KB
Loading

src/components/FeedbackWidget/FixedDot.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ const FixedDot = forwardRef<HTMLButtonElement, FixedDotProps>(
3434
{...props}
3535
>
3636
<FeedbackGlyphIcon
37-
className={cn("text-white", !isExpanded && "-mx-1")}
37+
className={cn("!h-8 !w-[26px] text-white", !isExpanded && "-mx-1")}
3838
/>
3939
<div
4040
className={cn(

src/components/Nav/Mobile/HamburgerButton.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ const HamburgerButton = forwardRef<HTMLButtonElement, HamburgerProps>(
3838
>
3939
<svg
4040
viewBox="0 0 24 40"
41-
className="relative h-10 w-6 stroke-body stroke-2 hover:stroke-primary-hover hover:text-primary-hover [&>path]:fill-none hover:[&>path]:stroke-primary-hover"
41+
className="relative !h-10 !w-6 stroke-body stroke-2 hover:stroke-primary-hover hover:text-primary-hover [&>path]:fill-none hover:[&>path]:stroke-primary-hover"
4242
strokeLinecap="round"
4343
strokeLinejoin="round"
4444
>

src/components/icons/Icons.stories.tsx

Lines changed: 86 additions & 92 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,6 @@ import type { Meta, StoryObj } from "@storybook/react"
22

33
import { Center, Flex } from "../ui/flex"
44

5-
import FilterBurgerIcon from "./wallets/filter-burger.svg"
65
import HighlightIcon from "./highlight.svg"
76
import HighlightDarkIcon from "./highlight-dark.svg"
87
import {
@@ -13,7 +12,6 @@ import {
1312
TrophyIcon,
1413
} from "./quiz"
1514
import {
16-
DecentralizationEthGlyphIcon,
1715
DecentralizationGlyphIcon,
1816
DownloadGlyphIcon,
1917
EarthGlyphIcon,
@@ -101,105 +99,101 @@ const meta = {
10199
export default meta
102100

103101
const iconsDefinitions = [
104-
CorrectIcon,
105-
IncorrectIcon,
106-
GreenTickIcon,
107-
StarConfettiIcon,
108-
TrophyIcon,
109-
DecentralizationGlyphIcon,
110-
DecentralizationEthGlyphIcon,
111-
DownloadGlyphIcon,
112-
EarthGlyphIcon,
113-
HardwareGlyphIcon,
114-
MegaphoneGlyphIcon,
115-
PrivacyGlyphIcon,
116-
SovereigntyGlyphIcon,
117-
VoteGlyphIcon,
118-
AbyssGlyphIcon,
119-
AllnodesGlyphIcon,
120-
AnkrGlyphIcon,
121-
AuditedIcon,
122-
AvadoGlyphIcon,
123-
BattleTestedIcon,
124-
BedrockGlyphIcon,
125-
BugBountyIcon,
126-
CautionProductGlyph,
127-
ChainLaboGlyphIcon,
128-
ConsensysStakingGlyphIcon,
129-
StakingDappnodeGlyphIcon,
130-
DefaultOpenSourceGlyphIcon,
131-
DockerGlyphIcon,
132-
EconomicalIcon,
133-
EthpoolGlyphIcon,
134-
EverstakeGlyphIcon,
135-
FigmentGlyphIcon,
136-
GreenCheckProductGlyph,
137-
P2PGlyphIcon,
138-
KilnGlyphIcon,
139-
LaunchnodesGlyphIcon,
140-
LidoGlyphIcon,
141-
LiquidityTokenIcon,
142-
MultiClientIcon,
143-
OpenSourceStakingIcon,
144-
PermissionlessIcon,
145-
RocketPoolGlyphIcon,
146-
RockXGlyphIcon,
147-
SelfCustodyIcon,
148-
SenseiNodeGlyphIcon,
149-
StafiGlyphIcon,
150-
StakefishGlyphIcon,
151-
StakewiseGlyphIcon,
152-
StakingGlyphCentralizedIcon,
153-
StakingGlyphCloudIcon,
154-
StakingGlyphCPUIcon,
155-
StakingGlyphEtherCircleIcon,
156-
StakingGlyphTokenWalletIcon,
157-
StereumGlyphIcon,
158-
SquidGlyphIcon,
159-
TrustlessIcon,
160-
UnknownProductGlyph,
161-
WagyuGlyphIcon,
162-
WarningProductGlyph,
163-
BrowserIcon,
164-
BuyCryptoIcon,
165-
ConnectDappsIcon,
166-
DesktopIcon,
167-
ENSSupportIcon,
168-
ERC20SupportIcon,
169-
FilterBurgerIcon,
170-
GasFeeCustomizationIcon,
171-
HardwareIcon,
172-
HardwareSupportIcon,
173-
Layer2Icon,
174-
MobileIcon,
175-
MultisigIcon,
176-
NFTSupportIcon,
177-
NonCustodialIcon,
178-
OpenSourceWalletIcon,
179-
RPCImportingIcon,
180-
SocialRecoverIcon,
181-
StakingIcon,
182-
SwapIcon,
183-
WithdrawCryptoIcon,
184-
EthHomeIcon,
185-
FeedbackThumbsUpIcon,
186-
HighlightDarkIcon,
187-
HighlightIcon,
102+
{ label: "AbyssGlyphIcon", Icon: AbyssGlyphIcon },
103+
{ label: "AllnodesGlyphIcon", Icon: AllnodesGlyphIcon },
104+
{ label: "AnkrGlyphIcon", Icon: AnkrGlyphIcon },
105+
{ label: "AuditedIcon", Icon: AuditedIcon },
106+
{ label: "AvadoGlyphIcon", Icon: AvadoGlyphIcon },
107+
{ label: "BattleTestedIcon", Icon: BattleTestedIcon },
108+
{ label: "BedrockGlyphIcon", Icon: BedrockGlyphIcon },
109+
{ label: "BrowserIcon", Icon: BrowserIcon },
110+
{ label: "BugBountyIcon", Icon: BugBountyIcon },
111+
{ label: "BuyCryptoIcon", Icon: BuyCryptoIcon },
112+
{ label: "CautionProductGlyph", Icon: CautionProductGlyph },
113+
{ label: "ChainLaboGlyphIcon", Icon: ChainLaboGlyphIcon },
114+
{ label: "ConnectDappsIcon", Icon: ConnectDappsIcon },
115+
{ label: "ConsensysStakingGlyphIcon", Icon: ConsensysStakingGlyphIcon },
116+
{ label: "CorrectIcon", Icon: CorrectIcon },
117+
{ label: "DecentralizationGlyphIcon", Icon: DecentralizationGlyphIcon },
118+
{ label: "DefaultOpenSourceGlyphIcon", Icon: DefaultOpenSourceGlyphIcon },
119+
{ label: "DesktopIcon", Icon: DesktopIcon },
120+
{ label: "DockerGlyphIcon", Icon: DockerGlyphIcon },
121+
{ label: "DownloadGlyphIcon", Icon: DownloadGlyphIcon },
122+
{ label: "EarthGlyphIcon", Icon: EarthGlyphIcon },
123+
{ label: "EconomicalIcon", Icon: EconomicalIcon },
124+
{ label: "ENSSupportIcon", Icon: ENSSupportIcon },
125+
{ label: "ERC20SupportIcon", Icon: ERC20SupportIcon },
126+
{ label: "EthHomeIcon", Icon: EthHomeIcon },
127+
{ label: "EthpoolGlyphIcon", Icon: EthpoolGlyphIcon },
128+
{ label: "EverstakeGlyphIcon", Icon: EverstakeGlyphIcon },
129+
{ label: "FeedbackThumbsUpIcon", Icon: FeedbackThumbsUpIcon },
130+
{ label: "FigmentGlyphIcon", Icon: FigmentGlyphIcon },
131+
{ label: "GasFeeCustomizationIcon", Icon: GasFeeCustomizationIcon },
132+
{ label: "GreenCheckProductGlyph", Icon: GreenCheckProductGlyph },
133+
{ label: "GreenTickIcon", Icon: GreenTickIcon },
134+
{ label: "HardwareGlyphIcon", Icon: HardwareGlyphIcon },
135+
{ label: "HardwareIcon", Icon: HardwareIcon },
136+
{ label: "HardwareSupportIcon", Icon: HardwareSupportIcon },
137+
{ label: "HighlightDarkIcon", Icon: HighlightDarkIcon },
138+
{ label: "HighlightIcon", Icon: HighlightIcon },
139+
{ label: "IncorrectIcon", Icon: IncorrectIcon },
140+
{ label: "KilnGlyphIcon", Icon: KilnGlyphIcon },
141+
{ label: "LaunchnodesGlyphIcon", Icon: LaunchnodesGlyphIcon },
142+
{ label: "Layer2Icon", Icon: Layer2Icon },
143+
{ label: "LidoGlyphIcon", Icon: LidoGlyphIcon },
144+
{ label: "LiquidityTokenIcon", Icon: LiquidityTokenIcon },
145+
{ label: "MegaphoneGlyphIcon", Icon: MegaphoneGlyphIcon },
146+
{ label: "MobileIcon", Icon: MobileIcon },
147+
{ label: "MultiClientIcon", Icon: MultiClientIcon },
148+
{ label: "MultisigIcon", Icon: MultisigIcon },
149+
{ label: "NFTSupportIcon", Icon: NFTSupportIcon },
150+
{ label: "NonCustodialIcon", Icon: NonCustodialIcon },
151+
{ label: "OpenSourceStakingIcon", Icon: OpenSourceStakingIcon },
152+
{ label: "OpenSourceWalletIcon", Icon: OpenSourceWalletIcon },
153+
{ label: "P2PGlyphIcon", Icon: P2PGlyphIcon },
154+
{ label: "PermissionlessIcon", Icon: PermissionlessIcon },
155+
{ label: "PrivacyGlyphIcon", Icon: PrivacyGlyphIcon },
156+
{ label: "RocketPoolGlyphIcon", Icon: RocketPoolGlyphIcon },
157+
{ label: "RockXGlyphIcon", Icon: RockXGlyphIcon },
158+
{ label: "RPCImportingIcon", Icon: RPCImportingIcon },
159+
{ label: "SelfCustodyIcon", Icon: SelfCustodyIcon },
160+
{ label: "SenseiNodeGlyphIcon", Icon: SenseiNodeGlyphIcon },
161+
{ label: "SocialRecoverIcon", Icon: SocialRecoverIcon },
162+
{ label: "SovereigntyGlyphIcon", Icon: SovereigntyGlyphIcon },
163+
{ label: "SquidGlyphIcon", Icon: SquidGlyphIcon },
164+
{ label: "StafiGlyphIcon", Icon: StafiGlyphIcon },
165+
{ label: "StakefishGlyphIcon", Icon: StakefishGlyphIcon },
166+
{ label: "StakewiseGlyphIcon", Icon: StakewiseGlyphIcon },
167+
{ label: "StakingDappnodeGlyphIcon", Icon: StakingDappnodeGlyphIcon },
168+
{ label: "StakingGlyphCentralizedIcon", Icon: StakingGlyphCentralizedIcon },
169+
{ label: "StakingGlyphCloudIcon", Icon: StakingGlyphCloudIcon },
170+
{ label: "StakingGlyphCPUIcon", Icon: StakingGlyphCPUIcon },
171+
{ label: "StakingGlyphEtherCircleIcon", Icon: StakingGlyphEtherCircleIcon },
172+
{ label: "StakingGlyphTokenWalletIcon", Icon: StakingGlyphTokenWalletIcon },
173+
{ label: "StakingIcon", Icon: StakingIcon },
174+
{ label: "StarConfettiIcon", Icon: StarConfettiIcon },
175+
{ label: "StereumGlyphIcon", Icon: StereumGlyphIcon },
176+
{ label: "SwapIcon", Icon: SwapIcon },
177+
{ label: "TrophyIcon", Icon: TrophyIcon },
178+
{ label: "TrustlessIcon", Icon: TrustlessIcon },
179+
{ label: "UnknownProductGlyph", Icon: UnknownProductGlyph },
180+
{ label: "VoteGlyphIcon", Icon: VoteGlyphIcon },
181+
{ label: "WagyuGlyphIcon", Icon: WagyuGlyphIcon },
182+
{ label: "WarningProductGlyph", Icon: WarningProductGlyph },
183+
{ label: "WithdrawCryptoIcon", Icon: WithdrawCryptoIcon },
188184
]
189185

190-
iconsDefinitions.sort((a, b) =>
191-
(a?.displayName || "") > (b?.displayName || "") ? 1 : -1
192-
)
193-
const items = iconsDefinitions.map((IconDef, idx) => {
186+
iconsDefinitions.sort((a, b) => ((a?.label || "") > (b?.label || "") ? 1 : -1))
187+
const items = iconsDefinitions.map(({ Icon, label }, idx) => {
194188
return (
195189
<Flex
196190
key={idx}
197191
className="flex-col gap-4 border border-background-highlight p-4"
198192
>
199193
<Center>
200-
<IconDef className="size-[50px]" />
194+
<Icon className="size-[50px]" />
201195
</Center>
202-
<Center>{IconDef.displayName}</Center>
196+
<Center>{label}</Center>
203197
</Flex>
204198
)
205199
})

src/components/icons/run-a-node/decentralization-eth-glyph.svg

Lines changed: 0 additions & 3 deletions
This file was deleted.

src/components/icons/run-a-node/index.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
import DecentralizationEthGlyphIcon from "./decentralization-eth-glyph.svg"
21
import DecentralizationGlyphIcon from "./decentralization-glyph.svg"
32
import DownloadGlyphIcon from "./download-glyph.svg"
43
import EarthGlyphIcon from "./earth-glyph.svg"
@@ -9,7 +8,6 @@ import SovereigntyGlyphIcon from "./sovereignty-glyph.svg"
98
import VoteGlyphIcon from "./vote-glyph.svg"
109

1110
export {
12-
DecentralizationEthGlyphIcon,
1311
DecentralizationGlyphIcon,
1412
DownloadGlyphIcon,
1513
EarthGlyphIcon,
Lines changed: 4 additions & 3 deletions
Loading

0 commit comments

Comments
 (0)