@bloxwap/hig 0.8.1 → 0.9.0

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 (52) hide show
  1. package/chart/README.md +1 -1
  2. package/contracts/README.md +1 -1
  3. package/contracts/dist/login.d.ts +34 -0
  4. package/contracts/dist/login.js +43 -0
  5. package/contracts/dist/messages.d.ts +1 -1
  6. package/feedback/README.md +1 -1
  7. package/native/README.md +1 -1
  8. package/native/dist/animated-number.js +3 -1
  9. package/native/dist/blocks.d.ts +3 -1
  10. package/native/dist/blocks.js +3 -1
  11. package/native/dist/data.d.ts +1 -1
  12. package/native/dist/data.js +3 -1
  13. package/native/dist/deposit-block.d.ts +19 -0
  14. package/native/dist/deposit-block.js +17 -0
  15. package/native/dist/login-block.d.ts +4 -0
  16. package/native/dist/login-block.js +22 -0
  17. package/native/dist/{swap-panel-block.d.ts → swap-block.d.ts} +10 -6
  18. package/native/dist/{swap-panel-block.js → swap-block.js} +5 -3
  19. package/native/dist/swap-sheet.d.ts +3 -3
  20. package/native/dist/swap-sheet.js +3 -3
  21. package/native/dist/token-action-block.d.ts +1 -1
  22. package/native/dist/token-action-block.js +2 -1
  23. package/native-fonts/README.md +1 -1
  24. package/og-fonts/README.md +1 -1
  25. package/package.json +45 -10
  26. package/react/README.md +1 -1
  27. package/react/dist/blocks/deposit-block.d.ts +19 -0
  28. package/react/dist/blocks/deposit-block.js +15 -0
  29. package/react/dist/blocks/login-block.d.ts +4 -0
  30. package/react/dist/blocks/login-block.js +14 -0
  31. package/react/dist/blocks/{swap-panel-block.d.ts → swap-block.d.ts} +10 -6
  32. package/react/dist/blocks/{swap-panel-block.js → swap-block.js} +5 -3
  33. package/react/dist/blocks/swap-sheet.d.ts +3 -3
  34. package/react/dist/blocks/swap-sheet.js +3 -3
  35. package/react/dist/blocks/token-action-block.d.ts +1 -1
  36. package/react/dist/blocks/token-action-block.js +2 -1
  37. package/react/dist/blocks.d.ts +3 -1
  38. package/react/dist/blocks.js +3 -1
  39. package/react/dist/overlay.d.ts +1 -29
  40. package/react/dist/overlay.js +3 -31
  41. package/react/dist/popover.d.ts +30 -0
  42. package/react/dist/popover.js +34 -0
  43. package/react/dist/styles.css +22 -2
  44. package/tokens/README.md +1 -1
  45. package/tokens/assets/onramps/apple-pay.svg +33 -0
  46. package/tokens/assets/onramps/bank.svg +98 -0
  47. package/tokens/assets/onramps/blink.svg +37 -0
  48. package/tokens/assets/onramps/cashapp.svg +33 -0
  49. package/tokens/assets/onramps/crypto.svg +121 -0
  50. package/tokens/assets/onramps/exchange.svg +105 -0
  51. package/tokens/dist/deposit-icons.d.ts +1 -0
  52. package/tokens/dist/deposit-icons.js +28 -0
@@ -40,7 +40,7 @@ export interface SwapReceive {
40
40
  qr?: React.ReactNode; /** Host clipboard adapter. When set, the whole view copies the address. */
41
41
  onCopy?: () => Promise<void> | void;
42
42
  }
43
- export interface SwapPanelBlockProps {
43
+ export interface SwapBlockProps {
44
44
  /** Catalog for the To side, and for the From side unless `fromTokens` is given. */
45
45
  tokens: readonly SwapToken[];
46
46
  /** Assets offered on the From side, typically the connected wallet's holdings. */
@@ -149,8 +149,12 @@ export interface SwapPanelBlockProps {
149
149
  * or token units, token pickers, settings, and one action that names itself from the chosen pair.
150
150
  * Presentation only. The host owns tokens, balances, prices, the quote, the wallet and the transaction.
151
151
  */
152
- export declare function SwapPanelBlock({ tokens, fromTokens, fromTokensLoading, chains, hotTokenIds, from: fromProp, to: toProp, defaultFrom, defaultTo, onFromChange, onToChange, amount, onAmountChange, received, fee, fees, quoteLoading, slippage, onSlippageChange, denomination, onDenominationChange, wallet, onConnect, onDisconnect, recipient, onRecipientChange, onScanRecipient, receive, receiving, onReceivingChange, onSubmit, submitting, submittingLabel, onReset, destination, details, note, noteTone, title, onBack, headingId, controls, actionIcon, lockFrom, lockTo, actionLabel, actionDisabled, actionStatus, actionIntent, limitToBalance, banner, footer, oneWay: oneWayProp, denominationSwitch, keypad, shortcuts, captureKeyboard, active, view: viewProp, onViewChange, settings, className, style }: SwapPanelBlockProps): React.JSX.Element;
153
- /** @deprecated Renamed `SwapPanelBlock`. The old name and the `blocks/swap-panel` and `recipes/swap-panel` import paths keep working until the next major release. */
154
- export declare const SwapPanel: typeof SwapPanelBlock;
155
- /** @deprecated Renamed `SwapPanelBlockProps`. */
156
- export type SwapPanelProps = SwapPanelBlockProps;
152
+ export declare function SwapBlock({ tokens, fromTokens, fromTokensLoading, chains, hotTokenIds, from: fromProp, to: toProp, defaultFrom, defaultTo, onFromChange, onToChange, amount, onAmountChange, received, fee, fees, quoteLoading, slippage, onSlippageChange, denomination, onDenominationChange, wallet, onConnect, onDisconnect, recipient, onRecipientChange, onScanRecipient, receive, receiving, onReceivingChange, onSubmit, submitting, submittingLabel, onReset, destination, details, note, noteTone, title, onBack, headingId, controls, actionIcon, lockFrom, lockTo, actionLabel, actionDisabled, actionStatus, actionIntent, limitToBalance, banner, footer, oneWay: oneWayProp, denominationSwitch, keypad, shortcuts, captureKeyboard, active, view: viewProp, onViewChange, settings, className, style }: SwapBlockProps): React.JSX.Element;
153
+ /** @deprecated Renamed `SwapBlock`. The old name and the `blocks/swap-panel` and `recipes/swap-panel` import paths keep working until the next major release. */
154
+ export declare const SwapPanel: typeof SwapBlock;
155
+ /** @deprecated Renamed `SwapBlockProps`. */
156
+ export type SwapPanelProps = SwapBlockProps;
157
+ /** @deprecated Use SwapBlock. */
158
+ export declare const SwapPanelBlock: typeof SwapBlock;
159
+ /** @deprecated Use SwapBlockProps. */
160
+ export type SwapPanelBlockProps = SwapBlockProps;
@@ -30,7 +30,7 @@ const amountKey = (event) => event.metaKey || event.ctrlKey || event.altKey ? nu
30
30
  * or token units, token pickers, settings, and one action that names itself from the chosen pair.
31
31
  * Presentation only. The host owns tokens, balances, prices, the quote, the wallet and the transaction.
32
32
  */
33
- export function SwapPanelBlock({ tokens, fromTokens, fromTokensLoading, chains, hotTokenIds, from: fromProp, to: toProp, defaultFrom = null, defaultTo = null, onFromChange, onToChange, amount, onAmountChange, received, fee, fees, quoteLoading, slippage = 0.005, onSlippageChange, denomination, onDenominationChange, wallet, onConnect, onDisconnect, recipient, onRecipientChange, onScanRecipient, receive, receiving, onReceivingChange, onSubmit, submitting = false, submittingLabel, onReset, destination, details, note, noteTone = 'muted', title, onBack, headingId, controls = true, actionIcon, lockFrom = false, lockTo = false, actionLabel, actionDisabled = false, actionStatus, actionIntent = 'primary', limitToBalance = false, banner, footer, oneWay: oneWayProp = false, denominationSwitch = true, keypad = 'auto', shortcuts = true, captureKeyboard = false, active = true, view: viewProp, onViewChange, settings, className, style }) {
33
+ export function SwapBlock({ tokens, fromTokens, fromTokensLoading, chains, hotTokenIds, from: fromProp, to: toProp, defaultFrom = null, defaultTo = null, onFromChange, onToChange, amount, onAmountChange, received, fee, fees, quoteLoading, slippage = 0.005, onSlippageChange, denomination, onDenominationChange, wallet, onConnect, onDisconnect, recipient, onRecipientChange, onScanRecipient, receive, receiving, onReceivingChange, onSubmit, submitting = false, submittingLabel, onReset, destination, details, note, noteTone = 'muted', title, onBack, headingId, controls = true, actionIcon, lockFrom = false, lockTo = false, actionLabel, actionDisabled = false, actionStatus, actionIntent = 'primary', limitToBalance = false, banner, footer, oneWay: oneWayProp = false, denominationSwitch = true, keypad = 'auto', shortcuts = true, captureKeyboard = false, active = true, view: viewProp, onViewChange, settings, className, style }) {
34
34
  const { messages } = useHIG();
35
35
  const locale = useNumberLocale();
36
36
  const [from, setFrom] = useControllable(fromProp, defaultFrom, onFromChange);
@@ -209,5 +209,7 @@ export function SwapPanelBlock({ tokens, fromTokens, fromTokensLoading, chains,
209
209
  event.stopPropagation();
210
210
  } }, "data-view": view, "data-receiving": showReceive || undefined, onKeyDown: onKeyDown, onPaste: onPaste, children: [_jsx("div", { className: 'hig-swap-view', "data-direction": direction, children: body }, view), _jsx("p", { className: 'hig-sr-only', role: 'status', children: copied })] });
211
211
  }
212
- /** @deprecated Renamed `SwapPanelBlock`. The old name and the `blocks/swap-panel` and `recipes/swap-panel` import paths keep working until the next major release. */
213
- export const SwapPanel = SwapPanelBlock;
212
+ /** @deprecated Renamed `SwapBlock`. The old name and the `blocks/swap-panel` and `recipes/swap-panel` import paths keep working until the next major release. */
213
+ export const SwapPanel = SwapBlock;
214
+ /** @deprecated Use SwapBlock. */
215
+ export const SwapPanelBlock = SwapBlock;
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
- import { type SwapPanelBlockProps } from './swap-panel-block.js';
3
- export interface SwapSheetProps extends SwapPanelBlockProps {
2
+ import { type SwapBlockProps } from './swap-block.js';
3
+ export interface SwapSheetProps extends SwapBlockProps {
4
4
  open: boolean;
5
5
  onOpenChange: (open: boolean) => void;
6
6
  /** Accessible name of the sheet; not drawn. */
@@ -9,7 +9,7 @@ export interface SwapSheetProps extends SwapPanelBlockProps {
9
9
  trigger?: React.ReactNode;
10
10
  }
11
11
  /**
12
- * SwapPanelBlock presented in a gesture sheet (Vaul). Token pickers and settings push inside the same sheet, which resizes to
12
+ * SwapBlock presented in a gesture sheet (Vaul). Token pickers and settings push inside the same sheet, which resizes to
13
13
  * each view. Escape and Back pop a pushed view first; from the cards, Escape, the scrim and a downward drag close the sheet.
14
14
  * Lives in its own entry so the blocks aggregate stays free of the optional Vaul peer.
15
15
  */
@@ -3,10 +3,10 @@ import { jsx as _jsx } from "react/jsx-runtime";
3
3
  import { useEffect } from 'react';
4
4
  import { useControllable } from '../provider.js';
5
5
  import { GestureSheet } from '../gesture-sheet.js';
6
- import { SwapPanelBlock } from './swap-panel-block.js';
6
+ import { SwapBlock } from './swap-block.js';
7
7
  import { parentView } from './swap/shared.js';
8
8
  /**
9
- * SwapPanelBlock presented in a gesture sheet (Vaul). Token pickers and settings push inside the same sheet, which resizes to
9
+ * SwapBlock presented in a gesture sheet (Vaul). Token pickers and settings push inside the same sheet, which resizes to
10
10
  * each view. Escape and Back pop a pushed view first; from the cards, Escape, the scrim and a downward drag close the sheet.
11
11
  * Lives in its own entry so the blocks aggregate stays free of the optional Vaul peer.
12
12
  */
@@ -18,5 +18,5 @@ export function SwapSheet({ open, onOpenChange, title, trigger, view: viewProp,
18
18
  return _jsx(GestureSheet, { open: open, onOpenChange: onOpenChange, title: title, titleHidden: true, trigger: trigger, closeButton: null, contentMode: 'custom', enableDynamicSizing: true, contentProps: { className: 'hig-swap-sheet', onEscapeKeyDown: event => { if (view !== 'main') {
19
19
  event.preventDefault();
20
20
  show(parentView(view));
21
- } } }, children: _jsx(SwapPanelBlock, { ...panel, view: view, onViewChange: show }) });
21
+ } } }, children: _jsx(SwapBlock, { ...panel, view: view, onViewChange: show }) });
22
22
  }
@@ -40,7 +40,7 @@ export interface TokenActionBlockProps extends Omit<React.HTMLAttributes<HTMLEle
40
40
  stickyHeader?: boolean;
41
41
  /** `id` of the header's heading, so a host dialog or sheet can name itself with `aria-labelledby`. */
42
42
  headingId?: string;
43
- /** A line under the actions, for example why some are missing. `noteTone` tints it as in `SwapPanelBlock`. */
43
+ /** A line under the actions, for example why some are missing. `noteTone` tints it as in `SwapBlock`. */
44
44
  note?: React.ReactNode;
45
45
  noteTone?: 'muted' | 'warning' | 'negative';
46
46
  }
@@ -16,6 +16,7 @@ export function TokenActionBlock({ symbol, name, value, units, unitsSuffix, unit
16
16
  const locale = useNumberLocale();
17
17
  const total = value !== undefined ? value : (assets ?? []).reduce((sum, asset) => sum + (held(asset.value) ? asset.value : 0), 0);
18
18
  // With no dollar value the units are the headline, as an AccountBlock row headlines them.
19
+ const showChains = chains !== undefined && chains.length > 1;
19
20
  const headline = units !== undefined && value == null ? _jsx(AnimatedNumberReadout, { value: units, options: unitsOptions, suffix: unitsSuffix }, 'units') : _jsx(AnimatedNumberReadout, { value: total, options: usd }, 'value');
20
- return _jsxs("section", { ...rest, className: `hig-token-card${className ? ` ${className}` : ''}`, children: [_jsx(ScreenHeader, { title: symbol, onBack: onBack, action: headerAction, headingId: headingId, stickyHeader: stickyHeader }), (assets || chains) && _jsxs("div", { className: 'hig-token-bars', children: [assets && _jsx(BarMark, { surface: false, title: name ?? symbol, description: headline, elements: assets }), chains && _jsx(BarMark, { surface: false, title: chainsTitle ?? messages.swapChains ?? en.swapChains, description: formatNumber(chains.filter(chain => held(chain.value)).length, locale), elements: chains })] }), actions.length > 0 && _jsx("div", { className: 'hig-token-actions', children: actions.map(action => _jsx(Button, { fullWidth: true, intent: action.intent ?? 'secondary', disabled: action.disabled, onClick: action.onSelect, children: tokenActionLabel(action, messages) }, action.id)) }), note != null && note !== false && _jsx("p", { className: 'hig-swap-note hig-token-note', "data-tone": noteTone, role: 'note', children: note })] });
21
+ return _jsxs("section", { ...rest, className: `hig-token-card${className ? ` ${className}` : ''}`, children: [_jsx(ScreenHeader, { title: symbol, onBack: onBack, action: headerAction, headingId: headingId, stickyHeader: stickyHeader }), (assets || showChains) && _jsxs("div", { className: 'hig-token-bars', children: [assets && _jsx(BarMark, { surface: false, title: name ?? symbol, description: headline, elements: assets }), showChains && _jsx(BarMark, { surface: false, title: chainsTitle ?? messages.swapChains ?? en.swapChains, description: formatNumber(chains.filter(chain => held(chain.value)).length, locale), elements: chains })] }), actions.length > 0 && _jsx("div", { className: 'hig-token-actions', children: actions.map(action => _jsx(Button, { fullWidth: true, intent: action.intent ?? 'secondary', disabled: action.disabled, onClick: action.onSelect, children: tokenActionLabel(action, messages) }, action.id)) }), note != null && note !== false && _jsx("p", { className: 'hig-swap-note hig-token-note', "data-tone": noteTone, role: 'note', children: note })] });
21
22
  }
@@ -4,6 +4,8 @@ export { TradeEntry } from './blocks/trade-entry.js';
4
4
  export { InstallCommand } from './blocks/install-command.js';
5
5
  export { MarketingHero } from './blocks/marketing-hero.js';
6
6
  export { AccountBlock, AssetBalanceRow, accountRows, accountSectionRows, accountSectionTotal, assetValue, type AccountBlockProps, type AccountAsset, type AccountSection, type AccountOrder, type AccountRowsOptions, type AssetArtwork, type AssetBalanceRowProps } from './blocks/account-block.js';
7
+ export { LoginBlock, type LoginBlockProps, type LoginProvider } from './blocks/login-block.js';
8
+ export { DepositBlock, type DepositBlockProps, type DepositMethod } from './blocks/deposit-block.js';
7
9
  export { LanguageBlock, filterLanguages, type LanguageBlockProps, type LanguageOption } from './blocks/language-block.js';
8
10
  export { TokenActionBlock, tokenActionLabel, type TokenActionBlockProps, type TokenAction, type TokenActionId } from './blocks/token-action-block.js';
9
11
  export { ManagePositionBlock, positionCorridor, type ManagePositionBlockProps, type ManagePositionBlockLabels, type ManagePositionBlockAction, type ManagePositionBlockSummary, type ManagePositionBlockFigure, type ManagePositionIcon } from './blocks/manage-position-block.js';
@@ -18,7 +20,7 @@ export { NotificationsBlock, type NotificationsBlockProps, type NotificationsIte
18
20
  export { TradeHistoryListBlock, tradeHistorySide, type TradeHistoryListBlockProps, type TradeHistoryListLabels, type TradeHistoryItem } from './blocks/trade-history-list-block.js';
19
21
  export { TradeHistoryDetailBlock, type TradeHistoryDetailBlockProps, type TradeHistoryDetailLabels, type TradeHistoryDetail, type TradeHistoryAction } from './blocks/trade-history-detail-block.js';
20
22
  export { FromPickerBlock, ToPickerBlock, FromPicker, ToPicker, type FromPickerBlockProps, type ToPickerBlockProps, type FromPickerProps, type ToPickerProps, type PickerListProps, type PickerInputProps, type PickerRowProps } from './blocks/pickers.js';
21
- export { SwapPanelBlock, SwapPanel, swapAction, type SwapPanelBlockProps, type SwapPanelProps, type SwapToken, type SwapChain, type SwapAction, type SwapDenomination, type SwapWallet, type SwapFee, type SwapReceive, type SwapDestination, type SwapDetail } from './blocks/swap-panel-block.js';
23
+ export { SwapBlock, SwapPanelBlock, SwapPanel, swapAction, type SwapBlockProps, type SwapPanelBlockProps, type SwapPanelProps, type SwapToken, type SwapChain, type SwapAction, type SwapDenomination, type SwapWallet, type SwapFee, type SwapReceive, type SwapDestination, type SwapDetail } from './blocks/swap-block.js';
22
24
  export { ConfirmBlock, type ConfirmBlockProps, type ConfirmDetail, type ConfirmTertiaryAction } from './blocks/confirm-block.js';
23
25
  export { PresetPickerBlock, type PresetPickerBlockProps, type PresetPickerCustom } from './blocks/preset-picker-block.js';
24
26
  export { ExplainerBlock, type ExplainerBlockProps, type ExplainerSection, type ExplainerAction, type ExplainerTone } from './blocks/explainer-block.js';
@@ -5,6 +5,8 @@ export { TradeEntry } from './blocks/trade-entry.js';
5
5
  export { InstallCommand } from './blocks/install-command.js';
6
6
  export { MarketingHero } from './blocks/marketing-hero.js';
7
7
  export { AccountBlock, AssetBalanceRow, accountRows, accountSectionRows, accountSectionTotal, assetValue } from './blocks/account-block.js';
8
+ export { LoginBlock } from './blocks/login-block.js';
9
+ export { DepositBlock } from './blocks/deposit-block.js';
8
10
  export { LanguageBlock, filterLanguages } from './blocks/language-block.js';
9
11
  export { TokenActionBlock, tokenActionLabel } from './blocks/token-action-block.js';
10
12
  export { ManagePositionBlock, positionCorridor } from './blocks/manage-position-block.js';
@@ -19,7 +21,7 @@ export { NotificationsBlock } from './blocks/notifications-block.js';
19
21
  export { TradeHistoryListBlock, tradeHistorySide } from './blocks/trade-history-list-block.js';
20
22
  export { TradeHistoryDetailBlock } from './blocks/trade-history-detail-block.js';
21
23
  export { FromPickerBlock, ToPickerBlock, FromPicker, ToPicker } from './blocks/pickers.js';
22
- export { SwapPanelBlock, SwapPanel, swapAction } from './blocks/swap-panel-block.js';
24
+ export { SwapBlock, SwapPanelBlock, SwapPanel, swapAction } from './blocks/swap-block.js';
23
25
  export { ConfirmBlock } from './blocks/confirm-block.js';
24
26
  export { PresetPickerBlock } from './blocks/preset-picker-block.js';
25
27
  export { ExplainerBlock } from './blocks/explainer-block.js';
@@ -8,35 +8,7 @@ export declare function Menu({ label, items }: {
8
8
  onSelect: (event: Event) => void;
9
9
  }[];
10
10
  }): React.JSX.Element;
11
- export interface PopoverProps {
12
- /** Text of the built-in trigger, a secondary Button. With `trigger`, it names the popover instead (`aria-label` on its content). */
13
- label: string;
14
- children?: React.ReactNode;
15
- /** Close button text and accessible name; defaults to HIGProvider `messages.close`. */
16
- closeLabel?: string;
17
- /** Leaves out the Close button, for a popover that holds only information or that the host closes itself. Escape and a press outside still close it. */
18
- hideClose?: boolean;
19
- /** Controls whether the popover is open. Omit it, with `defaultOpen`, to let the popover keep its own state. */
20
- open?: boolean;
21
- defaultOpen?: boolean;
22
- /** Called with the next state when the trigger, Close, Escape, a press outside or (with `openOnHover`) the pointer opens or closes it. */
23
- onOpenChange?: (open: boolean) => void;
24
- /** The host's own trigger in place of the built-in Button: one element that accepts a ref and spreads its props onto a focusable element, such as a HIG `Button`, `IconButton` or a `<button>`. */
25
- trigger?: React.ReactElement;
26
- /** Also opens while a mouse pointer rests on the trigger, and closes shortly after it leaves both the trigger and the popover. Touch and pen keep press to open; keyboard focus is not moved by a hover. */
27
- openOnHover?: boolean;
28
- /** `data-testid` of the popover's content. */
29
- testID?: string;
30
- /** Tints the popover's surface from a token role: a 12% wash over its fill, a 40% stroke and a soft glow in the role's colour, such as `warning` for a gold badge's explanation. `data-tone` on the content. Without it the surface is neutral. */
31
- tone?: PopoverTone;
32
- /** Classes added to the popover's content after `hig-popover`, for a host surface treatment the tones do not cover. */
33
- className?: string;
34
- /** Inline style for the popover's content, after the theme's variables, so it can set `--hig-popover-tone` or a host border, background or shadow. */
35
- style?: React.CSSProperties;
36
- }
37
- /** A token role that tints a `Popover`'s surface. */
38
- export type PopoverTone = 'info' | 'positive' | 'warning' | 'negative';
39
- export declare function Popover({ label, children, closeLabel, hideClose, open, defaultOpen, onOpenChange, trigger, openOnHover, testID, tone, className, style }: PopoverProps): React.JSX.Element;
11
+ export { Popover, type PopoverProps, type PopoverTone } from './popover.js';
40
12
  export declare function Tooltip({ content, children }: React.PropsWithChildren<{
41
13
  content: string;
42
14
  }>): React.JSX.Element;
@@ -1,10 +1,8 @@
1
1
  "use client";
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
- import { useEffect, useId, useRef } from 'react';
4
- import * as en from '@bloxwap/hig/contracts/messages';
5
- import { useControllable, useHIG, useThemeStyle } from './provider.js';
3
+ import { useId, useRef } from 'react';
4
+ import { useHIG, useThemeStyle } from './provider.js';
6
5
  import * as Drop from '@radix-ui/react-dropdown-menu';
7
- import * as Pop from '@radix-ui/react-popover';
8
6
  import * as Tip from '@radix-ui/react-tooltip';
9
7
  import { Button } from './button.js';
10
8
  export { Dialog, Sheet, AlertDialog } from './dialog.js';
@@ -14,31 +12,5 @@ export function Menu({ label, items }) { const { feedback, direction, locale, de
14
12
  feedback?.emit({ id: `${id}/${++sequence.current}`, source: id, intent: 'selection', origin: origin.current });
15
13
  }
16
14
  catch { /* Optional feedback cannot alter the action. */ } }, children: item.label }, i)) }) })] }); }
17
- /** How long the pointer may be off the trigger and the popover before a hover-opened popover closes, so it can cross the gap between them. */
18
- const hoverCloseDelay = 150;
19
- export function Popover({ label, children, closeLabel, hideClose, open, defaultOpen = false, onOpenChange, trigger, openOnHover, testID, tone, className, style }) {
20
- const { messages, direction, locale, density } = useHIG();
21
- const themeStyle = useThemeStyle();
22
- const [current, set] = useControllable(open, defaultOpen, onOpenChange, null);
23
- const timer = useRef(undefined), hovered = useRef(false), pinned = useRef(false);
24
- useEffect(() => () => clearTimeout(timer.current), []);
25
- // Hover handlers only for a mouse: a touch's pointerenter comes just before its click, which toggles. A hover opens without moving focus into the popover.
26
- const hover = openOnHover ? {
27
- onPointerEnter: (event) => { if (event.pointerType !== 'mouse')
28
- return; clearTimeout(timer.current); if (!current) {
29
- hovered.current = true;
30
- set(true);
31
- } },
32
- onPointerLeave: (event) => { if (event.pointerType !== 'mouse' || pinned.current)
33
- return; clearTimeout(timer.current); timer.current = setTimeout(() => set(false), hoverCloseDelay); },
34
- } : undefined;
35
- // A click on the trigger of a hover-opened popover pins it open instead of toggling it shut: the pointer always hovers before it clicks.
36
- const pin = openOnHover ? { onClick: (event) => { if (!hovered.current)
37
- return; event.preventDefault(); clearTimeout(timer.current); hovered.current = false; pinned.current = true; } } : undefined;
38
- return _jsxs(Pop.Root, { open: current, onOpenChange: next => { clearTimeout(timer.current); if (!next) {
39
- hovered.current = false;
40
- pinned.current = false;
41
- } set(next); }, children: [_jsx(Pop.Trigger, { asChild: true, ...hover, ...pin, children: trigger ?? _jsx(Button, { intent: 'secondary', suppressFeedback: true, children: label }) }), _jsx(Pop.Portal, { children: _jsxs(Pop.Content, { ...hover, className: `hig-popover${className ? ` ${className}` : ''}`, "data-tone": tone, sideOffset: 6, collisionPadding: 16, style: style ? { ...themeStyle, ...style } : themeStyle, dir: direction, lang: locale, "data-hig-density": density, "aria-label": trigger ? label : undefined, "data-testid": testID, onOpenAutoFocus: event => { if (hovered.current)
42
- event.preventDefault(); }, children: [children, hideClose ? null : _jsx(Pop.Close, { asChild: true, children: _jsx(Button, { intent: 'ghost', suppressFeedback: true, children: closeLabel ?? messages.close ?? en.close }) })] }) })] });
43
- }
15
+ export { Popover } from './popover.js';
44
16
  export function Tooltip({ content, children }) { const { direction, locale, density } = useHIG(); const themeStyle = useThemeStyle(); return _jsx(Tip.Provider, { children: _jsxs(Tip.Root, { children: [_jsx(Tip.Trigger, { asChild: true, children: children }), _jsx(Tip.Portal, { children: _jsx(Tip.Content, { className: 'hig-popover hig-tooltip', sideOffset: 6, collisionPadding: 16, style: themeStyle, dir: direction, lang: locale, "data-hig-density": density, children: content }) })] }) }); }
@@ -0,0 +1,30 @@
1
+ import React from 'react';
2
+ export interface PopoverProps {
3
+ /** Text of the built-in trigger, a secondary Button. With `trigger`, it names the popover instead (`aria-label` on its content). */
4
+ label: string;
5
+ children?: React.ReactNode;
6
+ /** Close button text and accessible name; defaults to HIGProvider `messages.close`. */
7
+ closeLabel?: string;
8
+ /** Leaves out the Close button, for a popover that holds only information or that the host closes itself. Escape and a press outside still close it. */
9
+ hideClose?: boolean;
10
+ /** Controls whether the popover is open. Omit it, with `defaultOpen`, to let the popover keep its own state. */
11
+ open?: boolean;
12
+ defaultOpen?: boolean;
13
+ /** Called with the next state when the trigger, Close, Escape, a press outside or (with `openOnHover`) the pointer opens or closes it. */
14
+ onOpenChange?: (open: boolean) => void;
15
+ /** The host's own trigger in place of the built-in Button: one element that accepts a ref and spreads its props onto a focusable element, such as a HIG `Button`, `IconButton` or a `<button>`. */
16
+ trigger?: React.ReactElement;
17
+ /** Also opens while a mouse pointer rests on the trigger, and closes shortly after it leaves both the trigger and the popover. Touch and pen keep press to open; keyboard focus is not moved by a hover. */
18
+ openOnHover?: boolean;
19
+ /** `data-testid` of the popover's content. */
20
+ testID?: string;
21
+ /** Tints the popover's surface from a token role: a 12% wash over its fill, a 40% stroke and a soft glow in the role's colour, such as `warning` for a gold badge's explanation. `data-tone` on the content. Without it the surface is neutral. */
22
+ tone?: PopoverTone;
23
+ /** Classes added to the popover's content after `hig-popover`, for a host surface treatment the tones do not cover. */
24
+ className?: string;
25
+ /** Inline style for the popover's content, after the theme's variables, so it can set `--hig-popover-tone` or a host border, background or shadow. */
26
+ style?: React.CSSProperties;
27
+ }
28
+ /** A token role that tints a `Popover`'s surface. */
29
+ export type PopoverTone = 'info' | 'positive' | 'warning' | 'negative';
30
+ export declare function Popover({ label, children, closeLabel, hideClose, open, defaultOpen, onOpenChange, trigger, openOnHover, testID, tone, className, style }: PopoverProps): React.JSX.Element;
@@ -0,0 +1,34 @@
1
+ 'use client';
2
+ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
+ import { useEffect, useRef } from 'react';
4
+ import * as en from '@bloxwap/hig/contracts/messages';
5
+ import { useControllable, useHIG, useThemeStyle } from './provider.js';
6
+ import * as Pop from '@radix-ui/react-popover';
7
+ import { Button } from './button.js';
8
+ /** How long the pointer may be off the trigger and the popover before a hover-opened popover closes, so it can cross the gap between them. */
9
+ const hoverCloseDelay = 150;
10
+ export function Popover({ label, children, closeLabel, hideClose, open, defaultOpen = false, onOpenChange, trigger, openOnHover, testID, tone, className, style }) {
11
+ const { messages, direction, locale, density } = useHIG();
12
+ const themeStyle = useThemeStyle();
13
+ const [current, set] = useControllable(open, defaultOpen, onOpenChange, null);
14
+ const timer = useRef(undefined), hovered = useRef(false), pinned = useRef(false);
15
+ useEffect(() => () => clearTimeout(timer.current), []);
16
+ // Hover handlers only for a mouse: a touch's pointerenter comes just before its click, which toggles. A hover opens without moving focus into the popover.
17
+ const hover = openOnHover ? {
18
+ onPointerEnter: (event) => { if (event.pointerType !== 'mouse')
19
+ return; clearTimeout(timer.current); if (!current) {
20
+ hovered.current = true;
21
+ set(true);
22
+ } },
23
+ onPointerLeave: (event) => { if (event.pointerType !== 'mouse' || pinned.current)
24
+ return; clearTimeout(timer.current); timer.current = setTimeout(() => set(false), hoverCloseDelay); },
25
+ } : undefined;
26
+ // A click on the trigger of a hover-opened popover pins it open instead of toggling it shut: the pointer always hovers before it clicks.
27
+ const pin = openOnHover ? { onClick: (event) => { if (!hovered.current)
28
+ return; event.preventDefault(); clearTimeout(timer.current); hovered.current = false; pinned.current = true; } } : undefined;
29
+ return _jsxs(Pop.Root, { open: current, onOpenChange: next => { clearTimeout(timer.current); if (!next) {
30
+ hovered.current = false;
31
+ pinned.current = false;
32
+ } set(next); }, children: [_jsx(Pop.Trigger, { asChild: true, ...hover, ...pin, children: trigger ?? _jsx(Button, { intent: 'secondary', suppressFeedback: true, children: label }) }), _jsx(Pop.Portal, { children: _jsxs(Pop.Content, { ...hover, className: `hig-popover${className ? ` ${className}` : ''}`, "data-tone": tone, sideOffset: 6, collisionPadding: 16, style: style ? { ...themeStyle, ...style } : themeStyle, dir: direction, lang: locale, "data-hig-density": density, "aria-label": trigger ? label : undefined, "data-testid": testID, onOpenAutoFocus: event => { if (hovered.current)
33
+ event.preventDefault(); }, children: [children, hideClose ? null : _jsx(Pop.Close, { asChild: true, children: _jsx(Button, { intent: 'ghost', suppressFeedback: true, children: closeLabel ?? messages.close ?? en.close }) })] }) })] });
34
+ }
@@ -86,7 +86,8 @@ textarea.hig-input { border-radius:var(--hig-radius-xl,14px);resize:vertical; }
86
86
  .hig-dialog-title { margin:0;font-size:1.25rem;font-weight:600;line-height:1.3; }
87
87
  .hig-dialog-description { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
88
88
  .hig-gesture-sheet { position:fixed;z-index:41;display:flex;flex-direction:column;max-height:95dvh;background:var(--hig-overlay,#111);color:var(--hig-text);box-shadow:0 0 64px #000a;outline:none; }
89
- .hig-gesture-sheet[data-vaul-drawer-direction='bottom'] { inset:auto 0 0;border-radius:14px 14px 0 0; }
89
+ /* Match the card curve at the sheet edge: 24px card radius plus the 24px content inset. */
90
+ .hig-gesture-sheet[data-vaul-drawer-direction='bottom'] { inset:auto 0 0;border-radius:48px 48px 0 0; }
90
91
  .hig-gesture-sheet[data-vaul-drawer-direction='top'] { inset:0 0 auto;border-radius:0 0 14px 14px; }
91
92
  .hig-gesture-sheet[data-vaul-drawer-direction='left'] { inset:0 auto 0 0;width:min(420px,95vw);max-height:none;border-radius:0 14px 14px 0; }
92
93
  .hig-gesture-sheet[data-vaul-drawer-direction='right'] { inset:0 0 0 auto;width:min(420px,95vw);max-height:none;border-radius:14px 0 0 14px; }
@@ -529,7 +530,7 @@ button.hig-swap-receive:active { opacity:.8; }
529
530
  .hig-swap-back:active { background:var(--hig-surface);color:var(--hig-text); }
530
531
  [dir='rtl'] .hig-swap-back > svg,[dir='rtl'] .hig-swap-setting-value > svg { transform:scaleX(-1); }
531
532
  /* In a gesture sheet the panel fills the sheet width and the sheet follows the height of the view on show. */
532
- .hig-gesture-sheet.hig-swap-sheet { max-width:30rem;margin-inline:auto;border-radius:24px 24px 0 0; }
533
+ .hig-gesture-sheet.hig-swap-sheet { max-width:30rem;margin-inline:auto;border-radius:36px 36px 0 0; }
533
534
  .hig-swap-sheet .hig-swap-panel { max-width:none;padding:4px 12px calc(16px + env(safe-area-inset-bottom,0px)); }
534
535
  /* From and To pickers: a wallet or address row, the search, the chain filter and the token list, 16 apart. */
535
536
  .hig-picker { display:flex;flex-direction:column;gap:16px;width:100%;min-width:0;color:var(--hig-text);line-height:1.5; }
@@ -672,6 +673,25 @@ button.hig-asset-row:disabled:active { background:var(--hig-fill); }
672
673
  .hig-setting-switch[data-locked] { cursor:default; }
673
674
  .hig-setting-switch-accessory { display:inline-flex;align-items:center;margin-inline-start:8px;vertical-align:middle; }
674
675
  .hig-setting-hint { margin:0;padding-inline:20px;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
676
+ .hig-login-block { display:grid;gap:16px; }
677
+ .hig-login-analytics { display:flex;align-items:center; }
678
+ .hig-login-analytics > .hig-switch { margin-inline-start:auto; }
679
+ .hig-login-providers { display:grid;gap:8px; }
680
+ .hig-login-providers .hig-list-row { border-radius:16px;background:var(--hig-surface); }
681
+ @media (hover: hover) and (pointer: fine) {
682
+ .hig-login-providers .hig-list-row:hover { background:var(--hig-nested); }
683
+ }
684
+ .hig-login-block > footer { display:flex;flex-wrap:wrap;justify-content:center;gap:16px; }
685
+ .hig-login-block > footer a { color:var(--hig-muted);font-size:.875rem;text-decoration:underline; }
686
+ .hig-deposit-icon { display:block;width:44px;height:44px;background:center / contain no-repeat; }
687
+ .hig-deposit-icon[data-method="apple-pay"] { background-image:url("../../tokens/assets/onramps/apple-pay.svg"); }
688
+ .hig-deposit-icon[data-method="cash-app"] { background-image:url("../../tokens/assets/onramps/cashapp.svg"); }
689
+ .hig-deposit-icon[data-method="exchange"] { background-image:url("../../tokens/assets/onramps/exchange.svg"); }
690
+ .hig-deposit-icon[data-method="crypto"] { background-image:url("../../tokens/assets/onramps/crypto.svg"); }
691
+ .hig-deposit-icon[data-method="bank"] { background-image:url("../../tokens/assets/onramps/bank.svg"); }
692
+ .hig-deposit-icon[data-method="blink"] { background-image:url("../../tokens/assets/onramps/blink.svg"); }
693
+ .hig-deposit-block { display:grid;gap:12px; }
694
+ .hig-deposit-block .hig-settings-description { text-align:center; }
675
695
  .hig-settings-description,.hig-reward-status { margin:0;padding-inline:4px;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
676
696
  .hig-notifications-group { display:flex;flex-direction:column;gap:8px;margin-block-start:8px; }
677
697
  .hig-notifications-action { margin-block-start:8px; }
package/tokens/README.md CHANGED
@@ -1,6 +1,6 @@
1
1
  # @bloxwap/hig/tokens
2
2
 
3
- Version 0.8.1, an entry of `@bloxwap/hig`. See the HIG architecture and platform limitations before adoption.
3
+ Version 0.9.0, an entry of `@bloxwap/hig`. See the HIG architecture and platform limitations before adoption.
4
4
 
5
5
  `resolvePrimaryColor('#ff0000')` resolves a custom brand's `action`, `focus`, and
6
6
  `onAction` roles. Input is opaque sRGB hex (`#RGB` or `#RRGGBB`); the foreground
@@ -0,0 +1,33 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2664_127)">
3
+ <rect width="40" height="40" rx="12" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
4
+ <rect x="0.125" y="0.125" width="39.75" height="39.75" rx="11.875" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.25"/>
5
+ <path d="M9.84633 15.6938C9.47133 16.1375 8.87133 16.4875 8.27133 16.4375C8.19633 15.8375 8.49008 15.2 8.83383 14.8062C9.20883 14.35 9.86508 14.025 10.3963 14C10.4588 14.625 10.2151 15.2375 9.84633 15.6938ZM10.3901 16.5563C9.52133 16.5063 8.77758 17.05 8.36508 17.05C7.94633 17.05 7.31508 16.5812 6.62758 16.5938C5.73383 16.6063 4.90258 17.1125 4.44633 17.9188C3.50883 19.5312 4.20258 21.9187 5.10883 23.2312C5.55258 23.8812 6.08383 24.5938 6.78383 24.5688C7.44633 24.5438 7.70883 24.1375 8.50883 24.1375C9.31508 24.1375 9.54633 24.5687 10.2463 24.5562C10.9713 24.5437 11.4276 23.9062 11.8713 23.2563C12.3776 22.5188 12.5838 21.8 12.5963 21.7625C12.5838 21.75 11.1963 21.2188 11.1838 19.6188C11.1713 18.2812 12.2776 17.6437 12.3276 17.6063C11.7026 16.6813 10.7276 16.5813 10.3901 16.5563ZM15.4088 14.7437V24.4875H16.9213V21.1562H19.0151C20.9276 21.1562 22.2713 19.8438 22.2713 17.9437C22.2713 16.0437 20.9526 14.7437 19.0651 14.7437H15.4088ZM16.9213 16.0187H18.6651C19.9776 16.0187 20.7276 16.7188 20.7276 17.95C20.7276 19.1813 19.9776 19.8875 18.6588 19.8875H16.9213V16.0187ZM25.0338 24.5625C25.9838 24.5625 26.8651 24.0813 27.2651 23.3188H27.2963V24.4875H28.6963V19.6375C28.6963 18.2312 27.5713 17.325 25.8401 17.325C24.2338 17.325 23.0463 18.2437 23.0026 19.5062H24.3651C24.4776 18.9062 25.0338 18.5125 25.7963 18.5125C26.7213 18.5125 27.2401 18.9438 27.2401 19.7375V20.275L25.3526 20.3875C23.5963 20.4937 22.6463 21.2125 22.6463 22.4625C22.6463 23.725 23.6276 24.5625 25.0338 24.5625ZM25.4401 23.4062C24.6338 23.4062 24.1213 23.0188 24.1213 22.425C24.1213 21.8125 24.6151 21.4563 25.5588 21.4L27.2401 21.2937V21.8438C27.2401 22.7563 26.4651 23.4062 25.4401 23.4062ZM30.5651 27.1375C32.0401 27.1375 32.7338 26.575 33.3401 24.8687L35.9963 17.4188H34.4588L32.6776 23.175H32.6463L30.8651 17.4188H29.2838L31.8463 24.5125L31.7088 24.9438C31.4776 25.675 31.1026 25.9563 30.4338 25.9563C30.3151 25.9563 30.0838 25.9437 29.9901 25.9312V27.1C30.0776 27.125 30.4526 27.1375 30.5651 27.1375Z" fill="white" style="fill:white;fill-opacity:1;"/>
6
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
7
+ <rect width="40" height="40" rx="12" fill="url(#paint0_linear_2664_127)"/>
8
+ </g>
9
+ </g>
10
+ <defs>
11
+ <linearGradient id="paint0_linear_2664_127" x1="20" y1="0" x2="20" y2="40" gradientUnits="userSpaceOnUse">
12
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
13
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
14
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
15
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
16
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
17
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
18
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
19
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
20
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
21
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
22
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
23
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
24
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
25
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
26
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
27
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
28
+ </linearGradient>
29
+ <clipPath id="clip0_2664_127">
30
+ <rect width="40" height="40" fill="white" style="fill:white;fill-opacity:1;"/>
31
+ </clipPath>
32
+ </defs>
33
+ </svg>
@@ -0,0 +1,98 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2802_2728)">
3
+ <mask id="mask0_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="0" width="20" height="20">
4
+ <rect width="20" height="20" rx="6" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
5
+ </mask>
6
+ <g mask="url(#mask0_2802_2728)">
7
+ <path d="M0 0H20V20H0V0Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
8
+ <path d="M0 4.78125V2.17578H20V4.78125H0ZM0 10V7.39062H20V10H0ZM0 15.2187V12.6094H20V15.2187H0ZM0 20H20V17.8242H0V20Z" fill="#D80027" style="fill:#D80027;fill:color(display-p3 0.8471 0.0000 0.1529);fill-opacity:1;"/>
9
+ <path d="M0 0H10V10H0V0Z" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
10
+ <path d="M2.08594 7.78516H3.17969L2.29297 8.42578L2.63281 9.46484L1.75 8.82422L0.867188 9.46484L1.20703 8.42578L0.324219 7.78516H1.41406L1.75 6.75L2.08594 7.78516ZM5.33594 7.78516H6.42969L5.54297 8.42578L5.88281 9.46484L5 8.82422L4.11719 9.46484L4.45312 8.42578L3.57422 7.78516H4.66406L5 6.75L5.33594 7.78516ZM8.58594 7.78516H9.67969L8.78906 8.42578L9.12891 9.46484L8.24609 8.82422L7.36328 9.46484L7.70312 8.42578L6.82031 7.78516H7.91016L8.24609 6.75L8.58594 7.78516ZM2.08594 4.53516H3.17969L2.29297 5.17578L2.63281 6.21484L1.75 5.57422L0.867188 6.21094L1.20703 5.17187L0.324219 4.53125H1.41406L1.75 3.49609L2.08594 4.53516ZM5.33594 4.53516H6.42969L5.54297 5.17578L5.88281 6.21484L5 5.57422L4.11719 6.21484L4.45312 5.17578L3.57422 4.53516H4.66406L5 3.5L5.33594 4.53516ZM8.58594 4.53516H9.67969L8.78906 5.17578L9.12891 6.21484L8.24609 5.57422L7.36328 6.21484L7.70312 5.17578L6.82031 4.53516H7.91016L8.24609 3.5L8.58594 4.53516ZM2.08594 1.28906H3.17969L2.28906 1.92578L2.63281 2.96875L1.75 2.32422L0.867188 2.96484L1.21094 1.92578L0.324219 1.28906H1.41406L1.75 0.253906L2.08594 1.28906ZM5.33594 1.28906H6.42969L5.54297 1.92969L5.88281 2.96875L5 2.32422L4.11719 2.96484L4.45312 1.92578L3.57812 1.28906H4.66797L5 0.25L5.33594 1.28906ZM8.58594 1.28906H9.67969L8.78906 1.92578L9.12891 2.96484L8.24609 2.32422L7.36328 2.96484L7.70312 1.92578L6.82422 1.28906H7.91406L8.25 0.253906L8.58594 1.28906Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
11
+ </g>
12
+ <rect x="0.0625" y="0.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
13
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
14
+ <rect width="20" height="20" rx="6" fill="url(#paint0_linear_2802_2728)"/>
15
+ </g>
16
+ <mask id="mask1_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="20" y="0" width="20" height="20">
17
+ <rect x="20" width="20" height="20" rx="6" fill="#1B1B1B" style="fill:#1B1B1B;fill:color(display-p3 0.1056 0.1056 0.1056);fill-opacity:1;"/>
18
+ </mask>
19
+ <g mask="url(#mask1_2802_2728)">
20
+ <path d="M25 20V0H35V20H25Z" fill="#EEEEEE" style="fill:#EEEEEE;fill:color(display-p3 0.9333 0.9333 0.9333);fill-opacity:1;"/>
21
+ <path d="M20 20V0H25.625V20H20ZM34.375 20V0H40V20H34.375ZM31.7383 11.3047L33.4766 10.4297L32.6094 10V9.12891L30.8711 10L31.7383 8.26172H30.8711L30 6.95312L29.1289 8.25781H28.2617L29.1289 9.99609L27.3906 9.125V10L26.5234 10.4336L28.2617 11.3047L27.8242 12.1758H29.5703V13.4766H30.4297V12.1758H32.1719L31.7383 11.3047Z" fill="#D80027" style="fill:#D80027;fill:color(display-p3 0.8471 0.0000 0.1529);fill-opacity:1;"/>
22
+ </g>
23
+ <rect x="20.0625" y="0.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
24
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
25
+ <rect x="20" width="20" height="20" rx="6" fill="url(#paint1_linear_2802_2728)"/>
26
+ </g>
27
+ <mask id="mask2_2802_2728" style="mask-type:alpha" maskUnits="userSpaceOnUse" x="0" y="20" width="20" height="20">
28
+ <rect y="20" width="20" height="20" rx="6" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
29
+ </mask>
30
+ <g mask="url(#mask2_2802_2728)">
31
+ <path d="M0 20H20V40H0V20Z" fill="#0052B4" style="fill:#0052B4;fill:color(display-p3 0.0000 0.3216 0.7059);fill-opacity:1;"/>
32
+ </g>
33
+ <rect x="0.0625" y="20.0625" width="19.875" height="19.875" rx="5.9375" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.125"/>
34
+ <path d="M14.7148 23.0625L15.2148 24.5977H16.8281L15.5195 25.5469L16.0195 27.082L14.7148 26.1367L13.4063 27.082L13.9063 25.5469L12.6016 24.5977H14.2148L14.7148 23.0625ZM16.668 27.7773L17.1641 29.3125H18.7812L17.4727 30.2617L17.9727 31.7969L16.668 30.8477L15.3594 31.7969L15.8594 30.2617L14.5547 29.3125H16.168L16.668 27.7773ZM14.7148 32.4922L15.2148 34.0273H16.8281L15.5195 34.9766L16.0195 36.5117L14.7148 35.5625L13.4063 36.5117L13.9063 34.9766L12.6016 34.0273H14.2148L14.7148 32.4922ZM10 34.4453L10.5 35.9805H12.1094L10.8047 36.9297L11.3008 38.4648L9.99609 37.5156L8.69141 38.4648L9.1875 36.9297L7.89062 35.9766H9.50391L10 34.4453ZM5.28516 32.4922L5.78516 34.0273H7.39844L6.09375 34.9766L6.59375 36.5117L5.28516 35.5625L3.98047 36.5117L4.48047 34.9766L3.17187 34.0234H4.78516L5.28516 32.4922ZM3.33203 27.7773L3.83203 29.3125H5.44531L4.14062 30.2617L4.64062 31.7969L3.33203 30.8477L2.03125 31.7969L2.53125 30.2617L1.22266 29.3125H2.83984L3.33203 27.7773ZM5.28516 23.0625L5.78516 24.5977H7.39844L6.09375 25.5469L6.59375 27.082L5.28516 26.1367L3.98047 27.082L4.48047 25.5469L3.17187 24.5977H4.78516L5.28516 23.0625ZM10 21.1094L10.5 22.6484H12.1094L10.8086 23.5937L11.3047 25.1289L10 24.1797L8.69531 25.1289L9.19141 23.5937L7.89062 22.6523H9.50391L10 21.1094Z" fill="#FFC635" style="fill:#FFC635;fill:color(display-p3 1.0000 0.7765 0.2078);fill-opacity:1;"/>
35
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
36
+ <rect y="20" width="20" height="20" rx="6" fill="url(#paint2_linear_2802_2728)"/>
37
+ </g>
38
+ </g>
39
+ <defs>
40
+ <linearGradient id="paint0_linear_2802_2728" x1="10" y1="0" x2="10" y2="20" gradientUnits="userSpaceOnUse">
41
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
42
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
43
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
44
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
45
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
46
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
47
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
48
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
49
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
50
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
51
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
52
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
53
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
54
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
55
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
56
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
57
+ </linearGradient>
58
+ <linearGradient id="paint1_linear_2802_2728" x1="30" y1="0" x2="30" y2="20" gradientUnits="userSpaceOnUse">
59
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
60
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
61
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
62
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
63
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
64
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
65
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
66
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
67
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
68
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
69
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
70
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
71
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
72
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
73
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
74
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
75
+ </linearGradient>
76
+ <linearGradient id="paint2_linear_2802_2728" x1="10" y1="20" x2="10" y2="40" gradientUnits="userSpaceOnUse">
77
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
78
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
79
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
80
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
81
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
82
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
83
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
84
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
85
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
86
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
87
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
88
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
89
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
90
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
91
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
92
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
93
+ </linearGradient>
94
+ <clipPath id="clip0_2802_2728">
95
+ <rect width="40" height="40" fill="white" style="fill:white;fill-opacity:1;"/>
96
+ </clipPath>
97
+ </defs>
98
+ </svg>
@@ -0,0 +1,37 @@
1
+ <svg width="40" height="40" viewBox="0 0 40 40" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2664_88)">
3
+ <rect width="40" height="40" rx="12" fill="#EAFF03" style="fill:#EAFF03;fill:color(display-p3 0.9176 1.0000 0.0118);fill-opacity:1;"/>
4
+ <rect x="0.125" y="0.125" width="39.75" height="39.75" rx="11.875" stroke="black" stroke-opacity="0.1" style="stroke:black;stroke-opacity:0.1;" stroke-width="0.25"/>
5
+ <path d="M24.6556 15.1614C26.028 15.1875 26.6094 16.942 25.025 17.4858C23.8448 17.5554 23.6621 16.8016 23.8073 15.7854C24.1268 15.4347 24.2304 15.3536 24.6556 15.1614Z" fill="white" style="fill:white;fill-opacity:1;"/>
6
+ <path d="M15.4875 15.1777C16.089 15.0711 16.6588 15.4968 16.7619 16.1296C16.8645 16.7623 16.4616 17.3637 15.8605 17.4731C15.487 17.5414 15.1063 17.4038 14.8519 17.1077C14.5806 16.7925 14.494 16.3467 14.6266 15.9445C14.7591 15.5429 15.0889 15.2487 15.4875 15.1777Z" fill="white" style="fill:white;fill-opacity:1;"/>
7
+ <path fill-rule="evenodd" clip-rule="evenodd" d="M21.8145 6.36962C24.4241 5.40676 27.1892 6.40867 28.292 8.40667C28.8542 9.42455 28.8689 10.5798 28.3327 11.611C28.057 12.1451 27.73 12.5202 27.2746 12.905C27.1912 12.9757 27.2533 13.1191 27.3617 13.1049C29.1445 12.87 30.821 12.9796 32.2196 14.0591C32.2239 14.0625 32.2286 14.0655 32.2336 14.0681C34.3409 15.2286 34.4892 17.9126 33.0693 19.5099C32.3709 20.3061 31.3513 20.8938 30.1774 21.1781C30.1265 21.1904 30.0918 21.2377 30.0951 21.2898C30.173 22.5541 29.864 23.6459 28.7537 24.6328C27.8965 25.4015 27.238 25.9012 25.9433 25.9809C25.3194 26.0147 24.834 25.9566 23.7246 25.4525C23.5481 25.3723 23.3644 25.2495 23.1787 25.0951C23.5321 26.2954 23.9366 27.5999 23.9303 27.9718C24.0733 27.8298 24.3588 27.6009 24.5158 27.4931C25.2764 26.9759 26.167 26.8149 26.9956 27.0445C27.4132 27.1628 27.763 27.4736 27.9656 27.9065C28.19 28.3882 28.2152 28.8505 28.0698 29.3852C27.7498 30.5619 27.0255 31.4552 26.0999 32.0502C25.3171 32.5531 23.9336 33.1126 23.0798 32.8479C22.7966 32.7581 22.2886 32.5136 22.1206 32.2394C21.8757 31.8401 21.695 31.5348 21.5651 31.0595C21.3214 30.1504 21.3141 30.6542 21.1257 28.0948C21.1463 27.2126 21.2046 25.3419 21.1773 24.6097C20.9253 24.9324 19.8491 26.277 19.5737 26.806L18.2986 28.6107C18.7725 28.5918 19.346 28.6033 19.7505 28.8921C20.041 29.1032 20.2409 29.4436 20.3061 29.8387C20.3392 29.9495 20.3644 30.2175 20.3682 30.336C20.4012 31.32 20.0888 32.4294 19.2944 32.9714C18.9565 33.202 18.4698 33.3225 18.0765 33.3651C16.5044 33.546 14.9667 33.0048 13.798 31.8589C13.4759 31.5375 13.2143 31.1635 13.1974 30.6398C13.1884 30.3526 13.2527 30.0644 13.3825 29.8106C13.5724 29.4436 14.0788 28.8442 14.3395 28.5357C15.0056 27.7476 15.7234 27.0053 16.4193 26.2533C16.7669 25.8775 17.1711 25.4581 17.5105 25.0446C17.2413 25.2143 16.9796 25.3542 16.7338 25.4525C15.6117 25.897 14.7186 26.2059 13.5317 25.893C12.2381 25.5535 11.1728 24.8227 10.5714 23.8624C10.2432 23.3397 9.85344 22.2705 10.0773 21.705C10.0835 21.6893 10.0867 21.6725 10.0845 21.6559C10.075 21.5849 10.0418 21.4537 9.97247 21.4361C7.1653 20.7208 5.41483 18.7519 6.1801 16.3462C6.52943 15.274 7.40925 14.3534 8.62389 13.7891C9.86537 13.2059 11.1611 13.0717 12.5234 13.2657C12.637 13.2818 12.7074 13.1172 12.6189 13.0443C11.862 12.4203 11.3541 11.6619 11.1962 10.7871C10.9832 9.68161 11.3439 8.55271 12.1978 7.6531C13.0152 6.79755 14.2369 6.23633 15.5849 6.09675C17.3117 5.91925 18.6857 6.64926 19.964 7.42106C19.9848 7.43365 20.0092 7.43849 20.0331 7.43526L20.161 7.41783C20.1964 7.41283 20.2264 7.39024 20.2448 7.35958C20.4868 6.95295 21.319 6.55261 21.8145 6.36962Z" fill="black" style="fill:black;fill-opacity:1;"/>
8
+ <path d="M18.9165 11.7168C20.0253 11.7168 20.9242 13.5617 20.9242 15.8375C20.9242 18.1134 20.0253 19.9583 18.9165 19.9583C17.8236 19.9583 16.9345 18.165 16.9097 15.9337C17.61 15.7523 18.4794 15.7344 19.1715 15.9403C19.2481 15.9631 19.3248 15.8993 19.3062 15.8214C19.0329 14.6714 17.8123 14.4994 17.0047 14.5776C17.264 12.9181 18.0219 11.7168 18.9165 11.7168Z" fill="white" style="fill:white;fill-opacity:1;"/>
9
+ <path d="M24.4152 11.7168C25.524 11.7168 26.4228 13.5617 26.4228 15.8375C26.4228 18.1134 25.524 19.9583 24.4152 19.9583C23.3222 19.9583 22.4331 18.165 22.4082 15.9337C23.1087 15.7523 23.9779 15.7344 24.67 15.9403C24.7467 15.9631 24.8233 15.8993 24.8049 15.8214C24.5316 14.6714 23.3109 14.4994 22.5032 14.5776C22.7626 12.9181 23.5205 11.7168 24.4152 11.7168Z" fill="white" style="fill:white;fill-opacity:1;"/>
10
+ <g style="mix-blend-mode:soft-light" opacity="0.25">
11
+ <rect width="40" height="40" rx="12" fill="url(#paint0_linear_2664_88)"/>
12
+ </g>
13
+ </g>
14
+ <defs>
15
+ <linearGradient id="paint0_linear_2664_88" x1="20" y1="0" x2="20" y2="40" gradientUnits="userSpaceOnUse">
16
+ <stop stop-color="white" style="stop-color:white;stop-opacity:1;"/>
17
+ <stop offset="0.0666667" stop-color="#FDFDFD" style="stop-color:#FDFDFD;stop-color:color(display-p3 0.9922 0.9922 0.9922);stop-opacity:1;"/>
18
+ <stop offset="0.133333" stop-color="#F6F6F6" style="stop-color:#F6F6F6;stop-color:color(display-p3 0.9647 0.9647 0.9647);stop-opacity:1;"/>
19
+ <stop offset="0.2" stop-color="#EAEAEA" style="stop-color:#EAEAEA;stop-color:color(display-p3 0.9176 0.9176 0.9176);stop-opacity:1;"/>
20
+ <stop offset="0.266667" stop-color="#D9D9D9" style="stop-color:#D9D9D9;stop-color:color(display-p3 0.8510 0.8510 0.8510);stop-opacity:1;"/>
21
+ <stop offset="0.333333" stop-color="#C4C4C4" style="stop-color:#C4C4C4;stop-color:color(display-p3 0.7686 0.7686 0.7686);stop-opacity:1;"/>
22
+ <stop offset="0.4" stop-color="#AAAAAA" style="stop-color:#AAAAAA;stop-color:color(display-p3 0.6667 0.6667 0.6667);stop-opacity:1;"/>
23
+ <stop offset="0.466667" stop-color="#8E8E8E" style="stop-color:#8E8E8E;stop-color:color(display-p3 0.5569 0.5569 0.5569);stop-opacity:1;"/>
24
+ <stop offset="0.533333" stop-color="#717171" style="stop-color:#717171;stop-color:color(display-p3 0.4431 0.4431 0.4431);stop-opacity:1;"/>
25
+ <stop offset="0.6" stop-color="#555555" style="stop-color:#555555;stop-color:color(display-p3 0.3333 0.3333 0.3333);stop-opacity:1;"/>
26
+ <stop offset="0.666667" stop-color="#3B3B3B" style="stop-color:#3B3B3B;stop-color:color(display-p3 0.2314 0.2314 0.2314);stop-opacity:1;"/>
27
+ <stop offset="0.733333" stop-color="#262626" style="stop-color:#262626;stop-color:color(display-p3 0.1490 0.1490 0.1490);stop-opacity:1;"/>
28
+ <stop offset="0.8" stop-color="#151515" style="stop-color:#151515;stop-color:color(display-p3 0.0824 0.0824 0.0824);stop-opacity:1;"/>
29
+ <stop offset="0.866667" stop-color="#090909" style="stop-color:#090909;stop-color:color(display-p3 0.0353 0.0353 0.0353);stop-opacity:1;"/>
30
+ <stop offset="0.933333" stop-color="#020202" style="stop-color:#020202;stop-color:color(display-p3 0.0078 0.0078 0.0078);stop-opacity:1;"/>
31
+ <stop offset="1" style="stop-color:black;stop-opacity:1;"/>
32
+ </linearGradient>
33
+ <clipPath id="clip0_2664_88">
34
+ <rect width="40" height="40" fill="white" style="fill:white;fill-opacity:1;"/>
35
+ </clipPath>
36
+ </defs>
37
+ </svg>