@bloxwap/hig 0.5.1 → 0.6.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.
- package/README.md +1 -1
- package/chart/README.md +1 -1
- package/contracts/README.md +1 -1
- package/contracts/dist/messages.d.ts +31 -4
- package/contracts/dist/messages.js +11 -2
- package/feedback/README.md +1 -1
- package/native/README.md +1 -1
- package/native/dist/account-block.d.ts +46 -0
- package/native/dist/account-block.js +28 -0
- package/native/dist/asset-balance-row.d.ts +20 -0
- package/native/dist/asset-balance-row.js +21 -0
- package/native/dist/bar-mark.d.ts +45 -0
- package/native/dist/bar-mark.js +34 -0
- package/native/dist/bar-pnl.d.ts +50 -0
- package/native/dist/bar-pnl.js +59 -0
- package/native/dist/blocks.d.ts +44 -0
- package/native/dist/{recipes.js → blocks.js} +20 -9
- package/native/dist/field.d.ts +0 -1
- package/native/dist/field.js +0 -1
- package/native/dist/icons.d.ts +8 -0
- package/native/dist/icons.js +4 -0
- package/native/dist/language-block.d.ts +31 -0
- package/native/dist/language-block.js +30 -0
- package/native/dist/list-group.d.ts +26 -0
- package/native/dist/list-group.js +27 -0
- package/native/dist/manage-position-block.d.ts +69 -0
- package/native/dist/manage-position-block.js +57 -0
- package/native/dist/notifications-block.d.ts +25 -0
- package/native/dist/notifications-block.js +14 -0
- package/native/dist/pickers.d.ts +13 -5
- package/native/dist/pickers.js +10 -6
- package/native/dist/position-block.d.ts +51 -0
- package/native/dist/position-block.js +21 -0
- package/native/dist/profile-block.d.ts +42 -0
- package/native/dist/profile-block.js +28 -0
- package/native/dist/reward-block.d.ts +83 -0
- package/native/dist/reward-block.js +35 -0
- package/native/dist/setting-header.d.ts +8 -0
- package/native/dist/setting-header.js +11 -0
- package/native/dist/setting-switch.d.ts +18 -0
- package/native/dist/setting-switch.js +17 -0
- package/native/dist/signals-block.d.ts +37 -0
- package/native/dist/signals-block.js +16 -0
- package/native/dist/sound-haptics-block.d.ts +39 -0
- package/native/dist/sound-haptics-block.js +21 -0
- package/native/dist/{swap-panel.d.ts → swap-panel-block.d.ts} +28 -9
- package/native/dist/{swap-panel.js → swap-panel-block.js} +24 -14
- package/native/dist/swap-parts.d.ts +14 -3
- package/native/dist/swap-parts.js +16 -1
- package/native/dist/swap-shared.d.ts +18 -6
- package/native/dist/swap-shared.js +3 -2
- package/native/dist/swap-sheet.d.ts +4 -4
- package/native/dist/swap-sheet.js +4 -4
- package/native/dist/swap-views.d.ts +1 -1
- package/native/dist/swap-views.js +11 -8
- package/native/dist/target-block.d.ts +83 -0
- package/native/dist/target-block.js +61 -0
- package/native/dist/token-action-block.d.ts +39 -0
- package/native/dist/token-action-block.js +20 -0
- package/native/dist/trade-history-detail-block.d.ts +59 -0
- package/native/dist/trade-history-detail-block.js +38 -0
- package/native/dist/trade-history-list-block.d.ts +44 -0
- package/native/dist/trade-history-list-block.js +29 -0
- package/native-fonts/README.md +1 -1
- package/og-fonts/README.md +1 -1
- package/package.json +246 -41
- package/react/README.md +1 -1
- package/react/dist/asset-balance-row.d.ts +19 -0
- package/react/dist/asset-balance-row.js +10 -0
- package/react/dist/bar-mark.d.ts +35 -0
- package/react/dist/bar-mark.js +21 -0
- package/react/dist/bar-pnl.d.ts +49 -0
- package/react/dist/bar-pnl.js +45 -0
- package/react/dist/blocks/account-block.d.ts +46 -0
- package/react/dist/blocks/account-block.js +27 -0
- package/react/dist/blocks/language-block.d.ts +32 -0
- package/react/dist/blocks/language-block.js +51 -0
- package/react/dist/blocks/manage-position-block.d.ts +67 -0
- package/react/dist/blocks/manage-position-block.js +28 -0
- package/react/dist/blocks/notifications-block.d.ts +23 -0
- package/react/dist/blocks/notifications-block.js +8 -0
- package/react/dist/{recipes → blocks}/pickers.d.ts +12 -4
- package/react/dist/{recipes → blocks}/pickers.js +9 -6
- package/react/dist/blocks/position-block.d.ts +49 -0
- package/react/dist/blocks/position-block.js +14 -0
- package/react/dist/blocks/profile-block.d.ts +48 -0
- package/react/dist/blocks/profile-block.js +15 -0
- package/react/dist/blocks/reward-block.d.ts +81 -0
- package/react/dist/blocks/reward-block.js +24 -0
- package/react/dist/blocks/screen-header.d.ts +9 -0
- package/react/dist/blocks/screen-header.js +12 -0
- package/react/dist/blocks/setting-switch.d.ts +10 -0
- package/react/dist/blocks/setting-switch.js +8 -0
- package/react/dist/blocks/signals-block.d.ts +35 -0
- package/react/dist/blocks/signals-block.js +15 -0
- package/react/dist/blocks/sound-haptics-block.d.ts +37 -0
- package/react/dist/blocks/sound-haptics-block.js +18 -0
- package/react/dist/{recipes → blocks}/swap/picker.d.ts +1 -1
- package/react/dist/{recipes → blocks}/swap/picker.js +4 -4
- package/react/dist/{recipes → blocks}/swap/settings.js +5 -7
- package/react/dist/{recipes → blocks}/swap/shared.d.ts +44 -6
- package/react/dist/{recipes → blocks}/swap/shared.js +25 -5
- package/react/dist/{recipes/swap-panel.d.ts → blocks/swap-panel-block.d.ts} +29 -9
- package/react/dist/{recipes/swap-panel.js → blocks/swap-panel-block.js} +22 -14
- package/react/dist/{recipes → blocks}/swap-sheet.d.ts +4 -4
- package/react/dist/{recipes → blocks}/swap-sheet.js +4 -4
- package/react/dist/blocks/target-block.d.ts +81 -0
- package/react/dist/blocks/target-block.js +65 -0
- package/react/dist/blocks/token-action-block.d.ts +37 -0
- package/react/dist/blocks/token-action-block.js +18 -0
- package/react/dist/{recipes → blocks}/trade-entry.js +2 -2
- package/react/dist/blocks/trade-history-detail-block.d.ts +58 -0
- package/react/dist/blocks/trade-history-detail-block.js +16 -0
- package/react/dist/blocks/trade-history-list-block.d.ts +43 -0
- package/react/dist/blocks/trade-history-list-block.js +21 -0
- package/react/dist/blocks.d.ts +20 -0
- package/react/dist/blocks.js +21 -0
- package/react/dist/field.d.ts +0 -2
- package/react/dist/field.js +0 -2
- package/react/dist/list-group.d.ts +26 -0
- package/react/dist/list-group.js +20 -0
- package/react/dist/styles.css +275 -8
- package/tokens/README.md +1 -1
- package/native/dist/recipes.d.ts +0 -45
- package/react/dist/recipes/activity-list.d.ts +0 -8
- package/react/dist/recipes/activity-list.js +0 -6
- package/react/dist/recipes/balance-card.d.ts +0 -6
- package/react/dist/recipes/balance-card.js +0 -5
- package/react/dist/recipes/code-window.d.ts +0 -4
- package/react/dist/recipes/code-window.js +0 -4
- package/react/dist/recipes.d.ts +0 -10
- package/react/dist/recipes.js +0 -11
- /package/react/dist/{recipes → blocks}/install-command.d.ts +0 -0
- /package/react/dist/{recipes → blocks}/install-command.js +0 -0
- /package/react/dist/{recipes → blocks}/market-row.d.ts +0 -0
- /package/react/dist/{recipes → blocks}/market-row.js +0 -0
- /package/react/dist/{recipes → blocks}/marketing-hero.d.ts +0 -0
- /package/react/dist/{recipes → blocks}/marketing-hero.js +0 -0
- /package/react/dist/{recipes → blocks}/swap/amount-card.d.ts +0 -0
- /package/react/dist/{recipes → blocks}/swap/amount-card.js +0 -0
- /package/react/dist/{recipes → blocks}/swap/settings.d.ts +0 -0
- /package/react/dist/{recipes → blocks}/trade-entry.d.ts +0 -0
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
/** Aggregate entry. TradeEntry needs @radix-ui/react-dialog; import single blocks from `@bloxwap/hig/react/blocks/<name>` to avoid overlay peers. SwapSheet (Vaul) is only at `blocks/swap-sheet`. */
|
|
3
|
+
export { MarketRow } from './blocks/market-row.js';
|
|
4
|
+
export { TradeEntry } from './blocks/trade-entry.js';
|
|
5
|
+
export { InstallCommand } from './blocks/install-command.js';
|
|
6
|
+
export { MarketingHero } from './blocks/marketing-hero.js';
|
|
7
|
+
export { AccountBlock, AssetBalanceRow, accountRows, assetValue } from './blocks/account-block.js';
|
|
8
|
+
export { LanguageBlock, filterLanguages } from './blocks/language-block.js';
|
|
9
|
+
export { TokenActionBlock, tokenActionLabel } from './blocks/token-action-block.js';
|
|
10
|
+
export { ManagePositionBlock, positionCorridor } from './blocks/manage-position-block.js';
|
|
11
|
+
export { TargetBlock, targetLayout, targetFormat } from './blocks/target-block.js';
|
|
12
|
+
export { PositionBlock } from './blocks/position-block.js';
|
|
13
|
+
export { ProfileBlock } from './blocks/profile-block.js';
|
|
14
|
+
export { RewardBlock, rewardProgress } from './blocks/reward-block.js';
|
|
15
|
+
export { SoundHapticsBlock, soundLevel } from './blocks/sound-haptics-block.js';
|
|
16
|
+
export { SignalsBlock } from './blocks/signals-block.js';
|
|
17
|
+
export { NotificationsBlock } from './blocks/notifications-block.js';
|
|
18
|
+
export { TradeHistoryListBlock, tradeHistorySide } from './blocks/trade-history-list-block.js';
|
|
19
|
+
export { TradeHistoryDetailBlock } from './blocks/trade-history-detail-block.js';
|
|
20
|
+
export { FromPickerBlock, ToPickerBlock, FromPicker, ToPicker } from './blocks/pickers.js';
|
|
21
|
+
export { SwapPanelBlock, SwapPanel, swapAction } from './blocks/swap-panel-block.js';
|
package/react/dist/field.d.ts
CHANGED
|
@@ -10,7 +10,5 @@ export declare function Field({ id: provided, label, description, error, require
|
|
|
10
10
|
export declare const Label: (props: React.LabelHTMLAttributes<HTMLLabelElement>) => React.JSX.Element;
|
|
11
11
|
export declare const Input: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
|
12
12
|
export declare const TextArea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & React.RefAttributes<HTMLTextAreaElement>>;
|
|
13
|
-
/** Raw string and selection stay untouched; host parses/validates precision on submit. */
|
|
14
|
-
export declare const AmountInput: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "type"> & React.RefAttributes<HTMLInputElement>>;
|
|
15
13
|
/** The magnifying glass sits inset on the leading edge; the input keeps the ref, class and every prop. Marked pure so a bundle that imports another field drops the icon. */
|
|
16
14
|
export declare const SearchInput: React.ForwardRefExoticComponent<React.InputHTMLAttributes<HTMLInputElement> & React.RefAttributes<HTMLInputElement>>;
|
package/react/dist/field.js
CHANGED
|
@@ -14,7 +14,5 @@ export function Field({ id: provided, label, description, error, required, disab
|
|
|
14
14
|
export const Label = (props) => _jsx("label", { ...props });
|
|
15
15
|
export const Input = forwardRef(function Input(props, ref) { const field = useContext(Context); return _jsx("input", { id: field.id || undefined, "aria-describedby": field.description, "aria-invalid": field.invalid || undefined, required: field.required, ...props, disabled: !!field.disabled || props.disabled, ref: ref, className: `hig-input ${props.className ?? ''}` }); });
|
|
16
16
|
export const TextArea = forwardRef(function TextArea(props, ref) { const field = useContext(Context); return _jsx("textarea", { id: field.id || undefined, "aria-describedby": field.description, "aria-invalid": field.invalid || undefined, required: field.required, ...props, disabled: !!field.disabled || props.disabled, ref: ref, className: `hig-input ${props.className ?? ''}` }); });
|
|
17
|
-
/** Raw string and selection stay untouched; host parses/validates precision on submit. */
|
|
18
|
-
export const AmountInput = forwardRef(function AmountInput(props, ref) { return _jsx(Input, { ...props, ref: ref, type: 'text', inputMode: props.inputMode ?? 'decimal' }); });
|
|
19
17
|
/** The magnifying glass sits inset on the leading edge; the input keeps the ref, class and every prop. Marked pure so a bundle that imports another field drops the icon. */
|
|
20
18
|
export const SearchInput = /* @__PURE__ */ forwardRef(function SearchInput(props, ref) { return _jsxs("span", { className: 'hig-search-input', children: [_jsxs("svg", { className: 'hig-search-icon', "aria-hidden": 'true', focusable: 'false', viewBox: '0 0 20 20', children: [_jsx("circle", { cx: '9', cy: '9', r: '5.25' }), _jsx("path", { d: 'm13 13 3.5 3.5' })] }), _jsx(Input, { type: 'search', ...props, ref: ref })] }); });
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface ListGroupProps extends Omit<React.HTMLAttributes<HTMLElement>, 'title'> {
|
|
3
|
+
/** Heading above the group, such as “Settings”. Omit it for an untitled group. */
|
|
4
|
+
title?: string;
|
|
5
|
+
/** `ListRow` elements. */
|
|
6
|
+
children?: React.ReactNode;
|
|
7
|
+
}
|
|
8
|
+
/** A grouped list for menus and settings: an optional heading over rows that share one rounded container. */
|
|
9
|
+
export declare function ListGroup({ title, children, className, ...rest }: ListGroupProps): React.JSX.Element;
|
|
10
|
+
export interface ListRowProps extends Omit<React.HTMLAttributes<HTMLElement>, 'onSelect'> {
|
|
11
|
+
label: string;
|
|
12
|
+
/** Artwork before the label, such as an icon. Decorative: the label names the row. */
|
|
13
|
+
leading?: React.ReactNode;
|
|
14
|
+
/** Short text on the trailing edge, such as `Off`, `English` or a balance. */
|
|
15
|
+
value?: React.ReactNode;
|
|
16
|
+
/** Anything richer on the trailing edge: icons, a `Badge`, or a control such as a `Switch`. */
|
|
17
|
+
trailing?: React.ReactNode;
|
|
18
|
+
/** Makes the whole row a button, usually one that opens another view, and shows the disclosure chevron. */
|
|
19
|
+
onSelect?: () => void;
|
|
20
|
+
/** Makes the whole row a link and shows the disclosure chevron. */
|
|
21
|
+
href?: string;
|
|
22
|
+
/** Dims the row and blocks `onSelect` and `href`. */
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
}
|
|
25
|
+
/** One row of a `ListGroup`: the label leads; a value, icons, a badge or a control trail. With `onSelect` or `href` the whole row is one target and shows a disclosure chevron; without them the row is static, so a control in `trailing` is its only target. */
|
|
26
|
+
export declare function ListRow({ label, leading, value, trailing, onSelect, href, disabled, className, ...rest }: ListRowProps): React.JSX.Element;
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
import { Fragment as _Fragment, jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
+
import React, { Children, useId } from 'react';
|
|
4
|
+
/** A grouped list for menus and settings: an optional heading over rows that share one rounded container. */
|
|
5
|
+
export function ListGroup({ title, children, className, ...rest }) {
|
|
6
|
+
const id = useId();
|
|
7
|
+
return _jsxs("section", { ...rest, className: `hig-list-group${className ? ` ${className}` : ''}`, "aria-labelledby": title ? id : undefined, children: [title && _jsx("h3", { id: id, className: 'hig-list-group-title', children: title }), _jsx("ul", { className: 'hig-list-group-rows', children: Children.toArray(children).map((child, index) => _jsx("li", { children: child }, React.isValidElement(child) && child.key != null ? child.key : index)) })] });
|
|
8
|
+
}
|
|
9
|
+
const chevron = _jsx("svg", { className: 'hig-list-row-chevron', "aria-hidden": 'true', focusable: 'false', viewBox: '0 0 20 20', width: '20', height: '20', fill: 'none', stroke: 'currentColor', strokeWidth: '1.8', strokeLinecap: 'round', strokeLinejoin: 'round', children: _jsx("path", { d: 'm7.5 4.5 5.5 5.5-5.5 5.5' }) });
|
|
10
|
+
/** One row of a `ListGroup`: the label leads; a value, icons, a badge or a control trail. With `onSelect` or `href` the whole row is one target and shows a disclosure chevron; without them the row is static, so a control in `trailing` is its only target. */
|
|
11
|
+
export function ListRow({ label, leading, value, trailing, onSelect, href, disabled, className, ...rest }) {
|
|
12
|
+
const action = !disabled && (onSelect || href != null);
|
|
13
|
+
const content = _jsxs(_Fragment, { children: [leading != null && _jsx("span", { className: 'hig-list-row-leading', "aria-hidden": 'true', children: leading }), _jsx("span", { className: 'hig-list-row-label', children: label }), value != null && _jsx("span", { className: 'hig-list-row-value', children: value }), trailing != null && _jsx("span", { className: 'hig-list-row-trailing', children: trailing }), (onSelect || href != null) && chevron] });
|
|
14
|
+
const classes = `hig-list-row${className ? ` ${className}` : ''}`;
|
|
15
|
+
if (action && href != null)
|
|
16
|
+
return _jsx("a", { ...rest, className: classes, href: href, onClick: onSelect, children: content });
|
|
17
|
+
if (onSelect)
|
|
18
|
+
return _jsx("button", { type: 'button', ...rest, className: classes, disabled: disabled, onClick: onSelect, children: content });
|
|
19
|
+
return _jsx("div", { ...rest, className: classes, "aria-disabled": disabled || undefined, children: content });
|
|
20
|
+
}
|
package/react/dist/styles.css
CHANGED
|
@@ -44,9 +44,6 @@
|
|
|
44
44
|
.hig-surface { padding:var(--hig-space-xl,20px);min-width:0;overflow-wrap:anywhere; }
|
|
45
45
|
.hig-surface > :first-child { margin-block-start:0; }
|
|
46
46
|
.hig-surface > :last-child { margin-block-end:0; }
|
|
47
|
-
.hig-balance-card { display:flex;flex-direction:column;gap:var(--hig-space-sm,8px); }
|
|
48
|
-
.hig-balance-card > .hig-text { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
|
|
49
|
-
.hig-balance-card > .hig-number { font-size:1.5rem;line-height:1.25;font-weight:600; }
|
|
50
47
|
.hig-text { font-size:1rem;line-height:1.5; }
|
|
51
48
|
.hig-heading { line-height:1.25; }
|
|
52
49
|
.hig-input { width:100%;min-width:0;min-height:var(--hig-button);border-radius:9999px;border:1px solid transparent;padding: max(4px,calc((var(--hig-button) - 1.5em - 2px)/2)) 20px;background:var(--hig-fill);color:var(--hig-text);font:inherit;line-height:1.5; }
|
|
@@ -374,7 +371,7 @@ button.hig-wallet-address:active { opacity:.8; }
|
|
|
374
371
|
.hig-wallet-address-qr > svg { display:block;width:100%;height:100%; }
|
|
375
372
|
.hig-wallet-address-hint { display:inline-flex;align-items:center;gap:8px;font-size:.875rem;line-height:1.5;color:var(--hig-muted); }
|
|
376
373
|
.hig-wallet-address-hint > svg { width:16px;height:16px;fill:none;stroke:currentColor;stroke-width:1.5;stroke-linecap:round;stroke-linejoin:round; }
|
|
377
|
-
/*
|
|
374
|
+
/* SwapPanelBlock: two cards joined by a flip control. Each card is one target for its token picker; capsules and the
|
|
378
375
|
amount sit on a pass-through layer above that target and take their own presses. */
|
|
379
376
|
.hig-swap-panel { display:flex;flex-direction:column;width:100%;max-width:28rem;min-width:0;color:var(--hig-text);font-family:var(--hig-font-sans,'Bloxwap Sans',system-ui,sans-serif);line-height:1.5;outline:none; }
|
|
380
377
|
.hig-swap-card { --hig-fill:var(--hig-nested);--hig-fill-raised:var(--hig-border);position:relative;display:flex;flex-direction:column;border:1px solid transparent;border-radius:24px;background:var(--hig-surface);transition:background var(--hig-motion-duration-fast,180ms) ease; }
|
|
@@ -388,7 +385,9 @@ button.hig-wallet-address:active { opacity:.8; }
|
|
|
388
385
|
.hig-swap-stack { position:relative;flex:none;display:flex;flex-direction:column;align-items:center; }
|
|
389
386
|
.hig-swap-stack > * { width:28px;height:28px;border-radius:50%;object-fit:cover;background:var(--hig-nested);box-shadow:0 0 0 2px var(--hig-surface); }
|
|
390
387
|
.hig-swap-stack > * + * { margin-block-start:-14px; }
|
|
391
|
-
.hig-swap-
|
|
388
|
+
.hig-swap-art { display:grid;place-items:center;overflow:hidden; }
|
|
389
|
+
.hig-swap-art > * { width:100%;height:100%; }
|
|
390
|
+
.hig-swap-initials,.hig-swap-token-icon > span:not(.hig-swap-art) { display:grid;place-items:center;font-size:.625rem;font-weight:600;color:var(--hig-muted); }
|
|
392
391
|
.hig-swap-identity { display:flex;flex-direction:column;flex:1;min-width:0;font-size:.875rem;line-height:1.3;color:var(--hig-muted);overflow-wrap:anywhere; }
|
|
393
392
|
.hig-swap-identity > strong { font-size:1rem;font-weight:600;color:var(--hig-text); }
|
|
394
393
|
.hig-swap-meta { display:flex;flex-direction:column;align-items:flex-end;gap:8px;flex:none;max-width:60%;font-size:.875rem;color:var(--hig-muted);text-align:end; }
|
|
@@ -400,7 +399,7 @@ button.hig-wallet-address:active { opacity:.8; }
|
|
|
400
399
|
.hig-swap-icon { flex:none; }
|
|
401
400
|
.hig-swap-amount-content { position:relative;display:flex;flex-direction:column;align-items:center;gap:8px;padding:4px 16px 20px;pointer-events:none; }
|
|
402
401
|
.hig-swap-amount { max-width:100%;border-radius:var(--hig-radius-lg,10px);font-size:clamp(2rem,10vw,3rem);line-height:1.15;font-weight:700;letter-spacing:-.02em;overflow:hidden;pointer-events:auto;cursor:text; }
|
|
403
|
-
.hig-swap-amount .hig-number,.hig-swap-pill .hig-number,.hig-swap-meta .hig-number,.hig-swap-row .hig-number,.hig-swap-fees .hig-number { font-family:inherit; }
|
|
402
|
+
.hig-swap-amount .hig-number,.hig-swap-pill .hig-number,.hig-swap-meta .hig-number,.hig-swap-row .hig-number,.hig-swap-fees .hig-number,.hig-swap-details .hig-number,.hig-swap-setting-value .hig-number,.hig-swap-identity .hig-number { font-family:inherit; }
|
|
404
403
|
.hig-swap-amount[data-muted] { color:var(--hig-muted);pointer-events:none; }
|
|
405
404
|
/* An account reads name over caption beside one 40px disc; a pending destination is a placeholder. */
|
|
406
405
|
.hig-swap-selected[data-account] { align-items:center; }
|
|
@@ -417,7 +416,7 @@ button.hig-wallet-address:active { opacity:.8; }
|
|
|
417
416
|
.hig-swap-details dd { margin:0;color:var(--hig-text);text-align:end;overflow-wrap:anywhere; }
|
|
418
417
|
/* A line under the cards. Muted is plain text; warning and negative are tinted capsules in the tone's colour. */
|
|
419
418
|
.hig-swap-note { margin:8px 0 0;padding:0 4px;font-size:.875rem;line-height:1.5;color:var(--hig-muted); }
|
|
420
|
-
.hig-swap-note:not([data-tone='muted']) { padding:12px 16px;border-radius:16px;color:var(--hig-swap-tone);background:color-mix(in srgb,var(--hig-swap-tone)
|
|
419
|
+
.hig-swap-note:not([data-tone='muted']) { padding:12px 16px;border-radius:16px;color:var(--hig-swap-tone);background:color-mix(in srgb,var(--hig-swap-tone) 10%,transparent); }
|
|
421
420
|
.hig-swap-note[data-tone='warning'] { --hig-swap-tone:var(--hig-warning); }
|
|
422
421
|
.hig-swap-note[data-tone='negative'] { --hig-swap-tone:var(--hig-negative); }
|
|
423
422
|
.hig-swap-panel > .hig-swap-view > .hig-swap-view-header { margin-block-end:12px; }
|
|
@@ -485,7 +484,7 @@ button.hig-swap-receive:active { opacity:.8; }
|
|
|
485
484
|
.hig-swap-row-balance { flex:none;align-items:flex-end; }
|
|
486
485
|
.hig-swap-row :is(strong) { font-size:1rem;font-weight:600;color:var(--hig-text); }
|
|
487
486
|
.hig-swap-token-icon { position:relative;flex:none;display:grid;border-radius:50%;background:var(--hig-nested); }
|
|
488
|
-
.hig-swap-token-icon > img:first-child { width:100%;height:100%;border-radius:50%;object-fit:cover; }
|
|
487
|
+
.hig-swap-token-icon > img:first-child,.hig-swap-token-icon > .hig-swap-art:first-child { width:100%;height:100%;border-radius:50%;object-fit:cover; }
|
|
489
488
|
.hig-swap-chain-badge { position:absolute;inset-block-end:0;inset-inline-end:0;width:16px;height:16px;border-radius:50%;object-fit:cover;background:var(--hig-surface);box-shadow:0 0 0 2px var(--hig-background); }
|
|
490
489
|
.hig-swap-sheet .hig-swap-chain-badge { box-shadow:0 0 0 2px var(--hig-overlay,#111); }
|
|
491
490
|
.hig-swap-settings { display:flex;flex-direction:column;gap:12px;min-width:0; }
|
|
@@ -521,6 +520,217 @@ button.hig-swap-receive:active { opacity:.8; }
|
|
|
521
520
|
p .hig-link { display:inline;min-height:0;min-width:0; }
|
|
522
521
|
.hig-input,.hig-range,.hig-menu-item,.hig-select-option,.hig-table-sort,.hig-choice,.hig-segment { min-width:var(--hig-button); }
|
|
523
522
|
|
|
523
|
+
/* AssetBalanceRow: a capsule row concentric with its 40px avatar (8px padding, 56px row, 28px end radius). */
|
|
524
|
+
.hig-asset-row { appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:8px;padding-inline-end:16px;border:0;border-radius:28px;background:var(--hig-fill);color:var(--hig-text);font:inherit;text-align:start; }
|
|
525
|
+
button.hig-asset-row { cursor:pointer; }
|
|
526
|
+
button.hig-asset-row:active { background:var(--hig-fill-raised); }
|
|
527
|
+
.hig-asset-row-icon { flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:9999px;overflow:hidden;background:var(--hig-fill-raised);color:var(--hig-muted);font-size:.625rem;font-weight:600; }
|
|
528
|
+
.hig-asset-row-icon > img { width:100%;height:100%;object-fit:cover; }
|
|
529
|
+
.hig-asset-row-identity,.hig-asset-row-amounts { display:flex;flex-direction:column;min-width:0;font-size:.875rem;line-height:1.43;color:var(--hig-muted); }
|
|
530
|
+
.hig-asset-row-identity { flex:1;overflow-wrap:anywhere; }
|
|
531
|
+
.hig-asset-row-amounts { flex:none;align-items:flex-end;text-align:end; }
|
|
532
|
+
.hig-asset-row strong { font-size:1rem;line-height:1.5;font-weight:600;color:var(--hig-text); }
|
|
533
|
+
.hig-asset-row .hig-number { font-family:inherit; }
|
|
534
|
+
/* ScreenHeader: Back, a centred title and a trailing control, shared by the cards that are their own screen.
|
|
535
|
+
AccountBlock: that header, the total with the deposit action, then the holdings 8px apart. */
|
|
536
|
+
.hig-account-block { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
537
|
+
.hig-screen-header { display:grid;grid-template-columns:44px minmax(0,1fr) 44px;align-items:center;gap:8px;min-height:44px; }
|
|
538
|
+
.hig-screen-header-side { display:grid;place-items:center;min-width:0; }
|
|
539
|
+
.hig-screen-title { margin:0;font-size:1.0625rem;line-height:1.4;font-weight:600;text-align:center;overflow-wrap:anywhere; }
|
|
540
|
+
.hig-account-summary { display:flex;flex-wrap:wrap;align-items:center;justify-content:space-between;gap:8px 12px; }
|
|
541
|
+
.hig-account-balance { min-width:0;font-size:2rem;line-height:1.25;font-weight:600; }
|
|
542
|
+
.hig-account-balance .hig-number { font-family:inherit; }
|
|
543
|
+
.hig-account-assets { display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none; }
|
|
544
|
+
/* TokenActionBlock: header, the assets and chains bars 8px apart, then equal full-width actions 16px below. */
|
|
545
|
+
.hig-token-card { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
546
|
+
.hig-token-bars,.hig-token-actions { display:flex;flex-direction:column;gap:8px; }
|
|
547
|
+
/* ManagePositionBlock: header, two bars 8px apart, action rows and the position row 16px below each other. */
|
|
548
|
+
.hig-manage-position-block { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
549
|
+
/* The two bars are read-only, so they sit on the page without a card, further apart than cards would be. */
|
|
550
|
+
.hig-token-card > .hig-token-bars,.hig-manage-position-block > .hig-token-bars { gap:20px;padding-inline:4px; }
|
|
551
|
+
.hig-position-side[data-side='long'],.hig-position-row [data-tone='up'] { color:var(--hig-positive); }
|
|
552
|
+
.hig-position-side[data-side='short'],.hig-position-row [data-tone='down'] { color:var(--hig-negative); }
|
|
553
|
+
/* SoundHapticsBlock, SignalsBlock and NotificationsBlock: a header, then settings as cards 8px apart. Cards inside a list share one rounded container, 2px apart. */
|
|
554
|
+
.hig-settings-block { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
555
|
+
.hig-setting-cards,.hig-setting-body,.hig-setting-volume,.hig-notifications-item,.hig-signals-group { display:flex;flex-direction:column;gap:8px; }
|
|
556
|
+
.hig-setting-list { display:flex;flex-direction:column;gap:2px;border-radius:20px;overflow:hidden; }
|
|
557
|
+
.hig-setting-card { display:flex;flex-direction:column;gap:12px;padding:4px 20px;border-radius:20px;background:var(--hig-fill); }
|
|
558
|
+
.hig-setting-card:has(> .hig-setting-body) { padding-block-end:16px; }
|
|
559
|
+
.hig-setting-list > .hig-setting-card { border-radius:0; }
|
|
560
|
+
/* A switch sits flush with the trailing edge and level with the first line of its label, however long the text beside it runs. */
|
|
561
|
+
.hig-setting-switch { display:flex;align-items:flex-start;gap:12px;min-height:var(--hig-control);padding:0;line-height:inherit;cursor:pointer;-webkit-tap-highlight-color:transparent; }
|
|
562
|
+
.hig-setting-switch[data-disabled] { opacity:.5;cursor:not-allowed; }
|
|
563
|
+
.hig-setting-switch-text { flex:1;display:flex;flex-direction:column;gap:2px;min-width:0;padding-block:calc((var(--hig-control) - 1.5em)/2);overflow-wrap:anywhere; }
|
|
564
|
+
.hig-setting-switch-description,.hig-setting-caption { color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
|
|
565
|
+
.hig-setting-switch > .hig-switch { flex:none;display:inline-flex;align-items:center;justify-content:flex-end;height:var(--hig-control); }
|
|
566
|
+
.hig-setting-meter { height:4px;border-radius:2px;background:var(--hig-fill-raised);overflow:hidden; }
|
|
567
|
+
.hig-setting-meter > span { display:block;height:100%;border-radius:2px;background:var(--hig-action);transition:width var(--hig-motion-duration-fast) linear; }
|
|
568
|
+
.hig-setting-steps { display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px; }
|
|
569
|
+
.hig-setting-steps > .hig-button { padding-inline:8px; }
|
|
570
|
+
.hig-setting-error { margin:0;padding-inline:20px;color:var(--hig-negative);font-size:.875rem;line-height:1.5; }
|
|
571
|
+
.hig-signals-group-header { display:flex;align-items:center;justify-content:space-between;gap:12px;min-height:var(--hig-button);padding-inline-start:4px; }
|
|
572
|
+
.hig-signals-group-header > h3 { display:inline-flex;align-items:center;gap:6px;min-width:0;margin:0;color:var(--hig-muted);font-size:1rem;line-height:1.5;font-weight:500; }
|
|
573
|
+
@media(prefers-reduced-motion:reduce) { .hig-setting-meter > span { transition:none; } }
|
|
574
|
+
[data-hig-motion='reduced'] .hig-setting-meter > span { transition:none; }
|
|
575
|
+
@media(forced-colors:active) { .hig-setting-meter > span { forced-color-adjust:none; } }
|
|
576
|
+
/* PositionBlock: header, the summary lines 12px apart, an optional note, then the paper trading switch and the setting groups 8px apart. */
|
|
577
|
+
.hig-position-block { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
578
|
+
/* The summary sits directly on the screen, with no card, on the list rows' text inset; its values use the interface face. */
|
|
579
|
+
.hig-position-details { display:flex;flex-direction:column;gap:12px;margin:0;padding-inline:20px; }
|
|
580
|
+
.hig-position-details > div { display:flex;align-items:baseline;justify-content:space-between;gap:12px;color:var(--hig-muted); }
|
|
581
|
+
.hig-position-details dd { margin:0;color:var(--hig-text);font-family:inherit;font-weight:500;text-align:end;overflow-wrap:anywhere; }
|
|
582
|
+
.hig-position-details dd .hig-number { font-family:inherit; }
|
|
583
|
+
.hig-position-details [data-tone='positive'] dd { color:var(--hig-positive); }
|
|
584
|
+
.hig-position-details [data-tone='negative'] dd { color:var(--hig-negative); }
|
|
585
|
+
.hig-position-details [data-tone='muted'] dd { color:var(--hig-muted); }
|
|
586
|
+
/* The note is the summary's footnote: 8 under it, on the same text inset. */
|
|
587
|
+
.hig-position-note { margin:-8px 0 0;padding-inline:20px;color:var(--hig-muted);font-size:.8125rem;line-height:1.5; }
|
|
588
|
+
/* ListGroups stack 24 apart, the standard gap between groups. */
|
|
589
|
+
.hig-position-groups { display:flex;flex-direction:column;gap:24px; }
|
|
590
|
+
/* RewardBlock: header, the promotion card, the standings choice, the viewer's row on a tint, then the ranked rows 2px apart in one rounded container. */
|
|
591
|
+
.hig-reward-block { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
592
|
+
.hig-reward-promo { display:flex;flex-direction:column;gap:12px; }
|
|
593
|
+
.hig-reward-promo > p,.hig-reward-footnote { margin:0; }
|
|
594
|
+
.hig-reward-promo-top,.hig-reward-columns { display:flex;align-items:center;justify-content:space-between;gap:12px; }
|
|
595
|
+
.hig-reward-eyebrow,.hig-reward-columns { color:var(--hig-muted);font-size:.75rem;line-height:1.33;letter-spacing:.12em;text-transform:uppercase; }
|
|
596
|
+
.hig-reward-eyebrow { min-width:0; }
|
|
597
|
+
.hig-reward-rules { appearance:none;flex:none;display:inline-flex;align-items:center;justify-content:flex-end;gap:4px;min-height:var(--hig-button);min-width:var(--hig-button);margin-block:-12px;padding:0;border:0;background:none;color:var(--hig-muted);font:inherit;font-weight:500;cursor:pointer;-webkit-tap-highlight-color:transparent; }
|
|
598
|
+
.hig-reward-rules:active { color:var(--hig-text); }
|
|
599
|
+
[dir='rtl'] .hig-reward-rules > svg,[dir='rtl'] .hig-reward-action > svg { transform:scaleX(-1); }
|
|
600
|
+
/* The card's action is a quiet row under a hairline, not a filled button. */
|
|
601
|
+
.hig-reward-action { appearance:none;display:flex;align-items:center;justify-content:space-between;gap:12px;width:100%;min-height:var(--hig-button);margin:4px 0 -8px;padding:12px 0 0;border:0;border-block-start:1px solid var(--hig-fill-raised);border-radius:0;background:none;color:var(--hig-muted);font:inherit;font-weight:500;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation; }
|
|
602
|
+
.hig-reward-action:active { color:var(--hig-text); }
|
|
603
|
+
.hig-reward-action > svg { flex:none; }
|
|
604
|
+
.hig-reward-amount { color:var(--hig-action);font-size:clamp(2rem,10vw,3rem);line-height:1.15;font-weight:700;letter-spacing:-.02em;overflow-wrap:anywhere; }
|
|
605
|
+
.hig-reward-promo > .hig-reward-caption { margin-block-start:-8px;color:var(--hig-muted);font-size:.9375rem;line-height:1.5; }
|
|
606
|
+
.hig-reward-track { height:4px;border-radius:2px;background:var(--hig-fill-raised);overflow:hidden; }
|
|
607
|
+
.hig-reward-track > span { display:block;height:100%;min-width:8px;border-radius:2px;background:var(--hig-action);transition:width var(--hig-motion-duration-base) var(--hig-motion-easing-standard,ease); }
|
|
608
|
+
.hig-reward-columns > :last-child { text-align:end; }
|
|
609
|
+
.hig-reward-columns { padding-inline:4px; }
|
|
610
|
+
.hig-reward-summary { color:var(--hig-muted);line-height:1.5;overflow-wrap:anywhere; }
|
|
611
|
+
.hig-reward-summary > strong { color:var(--hig-text);font-weight:600; }
|
|
612
|
+
.hig-reward-footnote { color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
|
|
613
|
+
@media(hover:hover) and (pointer:fine) { .hig-reward-rules:hover,.hig-reward-action:hover { color:var(--hig-text); } }
|
|
614
|
+
.hig-reward-footnote { padding-inline:4px; }
|
|
615
|
+
.hig-reward-block .hig-segmented-control > legend { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
|
|
616
|
+
.hig-reward-list { display:flex;flex-direction:column;gap:8px; }
|
|
617
|
+
.hig-reward-rows { display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;border-radius:20px;overflow:hidden; }
|
|
618
|
+
.hig-reward-row { display:flex;align-items:center;gap:12px;min-height:64px;padding:8px 20px;background:var(--hig-fill); }
|
|
619
|
+
.hig-reward-you > .hig-reward-row { border-radius:20px;background:color-mix(in srgb,var(--hig-action) 12%,var(--hig-background)); }
|
|
620
|
+
.hig-reward-rank { flex:none;min-width:24px;color:var(--hig-muted);font-weight:600; }
|
|
621
|
+
.hig-reward-avatar { flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:50%;background:var(--hig-fill-raised);color:var(--hig-muted);font-size:.75rem;font-weight:600;overflow:hidden; }
|
|
622
|
+
.hig-reward-avatar > img { width:100%;height:100%;object-fit:cover; }
|
|
623
|
+
.hig-reward-identity { flex:1;display:flex;flex-direction:column;min-width:0; }
|
|
624
|
+
.hig-reward-identity > strong { display:flex;align-items:center;gap:6px;font-weight:600;overflow-wrap:anywhere; }
|
|
625
|
+
.hig-reward-identity > span { color:var(--hig-muted);font-size:.875rem; }
|
|
626
|
+
.hig-reward-verified { flex:none;display:inline-flex;color:var(--hig-warning); }
|
|
627
|
+
.hig-reward-score { flex:none;font-weight:600; }
|
|
628
|
+
.hig-reward-row[data-you] :is(.hig-reward-identity > strong,.hig-reward-score) { color:var(--hig-action); }
|
|
629
|
+
@media(prefers-reduced-motion:reduce) { .hig-reward-track > span { transition:none; } }
|
|
630
|
+
[data-hig-motion='reduced'] .hig-reward-track > span { transition:none; }
|
|
631
|
+
@media(forced-colors:active) { .hig-reward-track > span { forced-color-adjust:none; } }
|
|
632
|
+
/* TargetBlock: header, the target as the headline figure, the price card, then the unit, the custom row, the quick choices and the
|
|
633
|
+
actions 16px below each other. The bar is a price axis: the tinted stretch is what the price still has to travel to the trigger. */
|
|
634
|
+
.hig-target-block { display:flex;flex-direction:column;gap:16px;min-width:0;--hig-target-tone:var(--hig-positive); }
|
|
635
|
+
.hig-target-block[data-kind='stop-loss'] { --hig-target-tone:var(--hig-negative); }
|
|
636
|
+
/* The headline figure matches the SwapPanel amount: the same size and the interface face, not the mono face. */
|
|
637
|
+
.hig-target-amount { margin:0;font-size:clamp(2rem,10vw,3rem);line-height:1.15;font-weight:700;letter-spacing:-.02em;text-align:center;overflow-wrap:anywhere; }
|
|
638
|
+
.hig-target-amount .hig-number { font-family:inherit; }
|
|
639
|
+
.hig-target-prices { display:flex;flex-direction:column;gap:12px; }
|
|
640
|
+
.hig-target-bar { position:relative;display:flex;height:24px;border-radius:var(--hig-radius-md,8px);overflow:hidden; }
|
|
641
|
+
.hig-target-rest,.hig-target-move { flex:0 1 0;min-width:0;transition:flex-grow var(--hig-motion-duration-base) var(--hig-motion-easing-standard,ease); }
|
|
642
|
+
.hig-target-rest { background:var(--hig-fill-raised); }
|
|
643
|
+
.hig-target-move { box-sizing:border-box;min-width:6px;background:var(--hig-target-tone);border-inline:3px solid var(--hig-text); }
|
|
644
|
+
.hig-target-move[data-lead='trigger'] { border-inline-start-color:var(--hig-target-tone); }
|
|
645
|
+
.hig-target-move[data-lead='start'] { border-inline-end-color:var(--hig-target-tone); }
|
|
646
|
+
.hig-target-prices [data-price='trigger'] dd { color:var(--hig-target-tone); }
|
|
647
|
+
.hig-target-info { position:relative;display:inline-flex; }
|
|
648
|
+
.hig-target-popover { position:absolute;inset-block-start:calc(100% + 4px);inset-inline-end:0;width:max-content;max-width:min(280px,calc(100vw - 48px));font-size:.875rem;font-weight:400;text-align:start; }
|
|
649
|
+
.hig-target-note { margin:0;color:var(--hig-muted);font-size:.875rem;line-height:1.5;text-align:center; }
|
|
650
|
+
.hig-target-block .hig-segmented-control > legend { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip-path:inset(50%);white-space:nowrap; }
|
|
651
|
+
.hig-target-presets,.hig-target-actions { display:grid;grid-auto-flow:column;grid-auto-columns:minmax(0,1fr);gap:8px; }
|
|
652
|
+
.hig-target-presets > .hig-button { padding-inline:8px; }
|
|
653
|
+
@media(prefers-reduced-motion:reduce) { .hig-target-rest,.hig-target-move { transition:none; } }
|
|
654
|
+
[data-hig-motion='reduced'] .hig-target-rest,[data-hig-motion='reduced'] .hig-target-move { transition:none; }
|
|
655
|
+
@media(forced-colors:active) { .hig-target-move { forced-color-adjust:none; } }
|
|
656
|
+
/* TradeHistoryListBlock: a header, then one capsule row per closed trade, 8px apart.
|
|
657
|
+
TradeHistoryDetailBlock: header, the asset row, the result and the figures 8px apart, then the actions in one row 16px below. */
|
|
658
|
+
.hig-trade-history-list { display:flex;flex-direction:column;gap:16px;min-width:0;color:var(--hig-text); }
|
|
659
|
+
.hig-trade-rows { display:flex;flex-direction:column;gap:8px;margin:0;padding:0;list-style:none; }
|
|
660
|
+
.hig-trade-row { appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:8px;padding-inline-end:16px;border:0;border-radius:28px;background:var(--hig-fill);color:var(--hig-text);font:inherit;text-align:start; }
|
|
661
|
+
button.hig-trade-row { cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation; }
|
|
662
|
+
button.hig-trade-row:active { background:var(--hig-fill-raised); }
|
|
663
|
+
.hig-trade-row-identity,.hig-trade-row-result { display:flex;flex-direction:column;min-width:0;font-size:.875rem;line-height:1.43;color:var(--hig-muted); }
|
|
664
|
+
.hig-trade-row-identity { flex:1;overflow-wrap:anywhere; }
|
|
665
|
+
.hig-trade-row-result { flex:none;align-items:flex-end;text-align:end; }
|
|
666
|
+
.hig-trade-row strong { font-size:1rem;line-height:1.5;font-weight:600;color:var(--hig-text); }
|
|
667
|
+
.hig-trade-row-side { display:inline-flex;align-items:center;gap:4px;font-weight:600; }
|
|
668
|
+
.hig-trade-row-side[data-side='long'] { color:var(--hig-positive); }
|
|
669
|
+
.hig-trade-row-side[data-side='short'] { color:var(--hig-negative); }
|
|
670
|
+
.hig-trade-row .hig-trade-pnl[data-tone='up'] { color:var(--hig-positive); }
|
|
671
|
+
.hig-trade-row .hig-trade-pnl[data-tone='down'] { color:var(--hig-negative); }
|
|
672
|
+
.hig-trade-row-chevron { flex:none;color:var(--hig-muted); }
|
|
673
|
+
[dir='rtl'] .hig-trade-row-chevron { transform:scaleX(-1); }
|
|
674
|
+
@media(hover:hover) and (pointer:fine) { button.hig-trade-row:hover { background:var(--hig-fill-raised); } }
|
|
675
|
+
.hig-trade-pnl[data-tone='up'],.hig-trade-result[data-tone='up'] :is(.hig-trade-figure,.hig-trade-return) { color:var(--hig-positive); }
|
|
676
|
+
.hig-trade-pnl[data-tone='down'],.hig-trade-result[data-tone='down'] :is(.hig-trade-figure,.hig-trade-return) { color:var(--hig-negative); }
|
|
677
|
+
.hig-trade-detail { display:flex;flex-direction:column;gap:16px;min-width:0; }
|
|
678
|
+
.hig-trade-summary { display:flex;flex-direction:column;gap:20px;padding-inline:4px; }
|
|
679
|
+
.hig-trade-side { font-weight:600;text-transform:uppercase; }
|
|
680
|
+
.hig-trade-result { display:flex;flex-direction:column;align-items:center;gap:4px;text-align:center; }
|
|
681
|
+
.hig-trade-identity { display:flex;flex-wrap:wrap;align-items:center;justify-content:center;gap:4px 8px;color:var(--hig-muted); }
|
|
682
|
+
.hig-trade-identity > strong { color:var(--hig-text);font-weight:600; }
|
|
683
|
+
.hig-trade-avatar { flex:none;display:grid;place-items:center;width:24px;height:24px;border-radius:50%;background:var(--hig-fill);color:var(--hig-muted);font-size:.5625rem;font-weight:600;overflow:hidden; }
|
|
684
|
+
.hig-trade-avatar > img { width:100%;height:100%;object-fit:cover; }
|
|
685
|
+
.hig-trade-figure { font-size:clamp(2rem,10vw,2.5rem);line-height:1.2;font-weight:700;overflow-wrap:anywhere; }
|
|
686
|
+
.hig-trade-return { color:var(--hig-muted);font-size:.875rem;line-height:1.5; }
|
|
687
|
+
.hig-trade-result .hig-number,.hig-trade-pnl .hig-number { font-family:inherit; }
|
|
688
|
+
.hig-trade-details { display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:16px 12px;margin:0; }
|
|
689
|
+
.hig-trade-details > div { display:flex;flex-direction:column;gap:2px;min-width:0; }
|
|
690
|
+
.hig-trade-details dt { color:var(--hig-muted);font-size:.75rem;line-height:1.33; }
|
|
691
|
+
.hig-trade-details dd { margin:0;font-weight:600;overflow-wrap:anywhere; }
|
|
692
|
+
.hig-trade-details .hig-number { font-family:inherit; }
|
|
693
|
+
.hig-trade-actions { display:flex;gap:var(--hig-action-gap); }
|
|
694
|
+
.hig-trade-actions > * { flex:1 1 0;min-width:0; }
|
|
695
|
+
/* ProfileBlock: a top bar, the avatar with its status dot, the name, then list groups 24px apart. */
|
|
696
|
+
.hig-profile-block { display:flex;flex-direction:column;gap:24px;min-width:0; }
|
|
697
|
+
.hig-profile-bar { display:flex;align-items:center;justify-content:space-between;min-height:var(--hig-button); }
|
|
698
|
+
.hig-profile-identity { display:flex;flex-direction:column;align-items:center;gap:16px;margin-block-start:-16px; }
|
|
699
|
+
.hig-profile-avatar { position:relative;display:block;width:144px;height:144px;border-radius:50%;background:var(--hig-fill); }
|
|
700
|
+
.hig-profile-artwork { display:grid;place-items:center;width:100%;height:100%;border-radius:50%;overflow:hidden;color:var(--hig-muted);font-size:2.5rem;font-weight:600; }
|
|
701
|
+
.hig-profile-artwork > img { width:100%;height:100%;object-fit:cover; }
|
|
702
|
+
.hig-profile-status { position:absolute;inset-block-start:10px;inset-inline-end:10px;width:20px;height:20px;border-radius:50%;background:var(--hig-warning);box-shadow:0 0 0 3px var(--hig-background); }
|
|
703
|
+
.hig-profile-status[data-tone='positive'] { background:var(--hig-positive); }
|
|
704
|
+
.hig-profile-status[data-tone='negative'] { background:var(--hig-negative); }
|
|
705
|
+
.hig-profile-status[data-tone='info'] { background:var(--hig-info); }
|
|
706
|
+
.hig-profile-name { display:flex;align-items:center;justify-content:center;gap:4px;max-width:100%; }
|
|
707
|
+
.hig-profile-name > h2 { margin:0;min-width:0;font-size:1.75rem;line-height:1.2;font-weight:700;overflow:hidden;text-overflow:ellipsis;white-space:nowrap; }
|
|
708
|
+
.hig-profile-name > .hig-button { flex:none;color:var(--hig-muted); }
|
|
709
|
+
/* BarMark: one bar divided among its elements. Segments are flex shares of the bar with a 2px gap that shows the card, and the
|
|
710
|
+
remainder of a larger total is an empty track segment. Colours come from tone roles (or a host colour) through one custom property. */
|
|
711
|
+
.hig-bar-mark { display:flex;flex-direction:column;gap:12px; }
|
|
712
|
+
.hig-bar-mark-header { display:flex;flex-wrap:wrap;align-items:baseline;justify-content:space-between;gap:4px 12px; }
|
|
713
|
+
.hig-bar-mark-title { font-weight:600;min-width:0; }
|
|
714
|
+
.hig-bar-mark-description { color:var(--hig-muted);font-size:.875rem;text-align:end;min-width:0; }
|
|
715
|
+
.hig-bar-mark-description .hig-number { font-family:inherit; }
|
|
716
|
+
.hig-bar-mark-bar { display:flex;gap:2px;height:24px;border-radius:var(--hig-radius-md,8px);overflow:hidden; }
|
|
717
|
+
.hig-bar-mark[data-size='small'] > .hig-bar-mark-bar { height:12px;border-radius:6px; }
|
|
718
|
+
.hig-bar-mark-segment,.hig-bar-mark-rest { flex:0 1 0;min-width:0;transition:flex-grow var(--hig-motion-duration-base) var(--hig-motion-easing-standard,ease); }
|
|
719
|
+
.hig-bar-mark-segment { min-width:3px;background:var(--hig-bar-mark-color,var(--hig-muted)); }
|
|
720
|
+
.hig-bar-mark-rest { background:var(--hig-fill-raised); }
|
|
721
|
+
.hig-bar-mark-legend { display:flex;flex-wrap:wrap;gap:8px 16px;margin:0;padding:0;list-style:none;color:var(--hig-muted);font-size:.875rem; }
|
|
722
|
+
.hig-bar-mark-legend > li { display:inline-flex;align-items:center;gap:6px;min-width:0; }
|
|
723
|
+
.hig-bar-mark-dot { flex:none;width:8px;height:8px;border-radius:9999px;background:var(--hig-bar-mark-color,var(--hig-muted)); }
|
|
724
|
+
.hig-bar-mark-detail { color:var(--hig-faint); }
|
|
725
|
+
.hig-bar-mark [data-tone='positive'] { --hig-bar-mark-color:var(--hig-positive); }
|
|
726
|
+
.hig-bar-mark [data-tone='info'] { --hig-bar-mark-color:var(--hig-info); }
|
|
727
|
+
.hig-bar-mark [data-tone='warning'] { --hig-bar-mark-color:var(--hig-warning); }
|
|
728
|
+
.hig-bar-mark [data-tone='negative'] { --hig-bar-mark-color:var(--hig-negative); }
|
|
729
|
+
.hig-bar-mark [data-tone='muted'] { --hig-bar-mark-color:var(--hig-muted); }
|
|
730
|
+
.hig-bar-mark [data-tone='faint'] { --hig-bar-mark-color:var(--hig-faint); }
|
|
731
|
+
@media(prefers-reduced-motion:reduce) { .hig-bar-mark-segment,.hig-bar-mark-rest { transition:none; } }
|
|
732
|
+
[data-hig-motion='reduced'] .hig-bar-mark-segment,[data-hig-motion='reduced'] .hig-bar-mark-rest { transition:none; }
|
|
733
|
+
@media(forced-colors:active) { .hig-bar-mark-segment,.hig-bar-mark-dot { forced-color-adjust:none; } }
|
|
524
734
|
/* Reduced-motion stops for the selectors above, one per animated or transitioned selector in each preference path
|
|
525
735
|
(tests/motion-css.test.ts). Elements portalled out of the provider carry data-hig-motion themselves and are stopped where they are styled. */
|
|
526
736
|
@media(prefers-reduced-motion:reduce) {
|
|
@@ -540,3 +750,60 @@ p .hig-link { display:inline;min-height:0;min-width:0; }
|
|
|
540
750
|
[data-hig-motion='reduced'] .hig-progress progress:not([value]) { animation:none; }
|
|
541
751
|
[data-hig-motion='reduced'] .hig-spinner-indicator { animation:none; }
|
|
542
752
|
[data-hig-motion='reduced'] .hig-status-indicator:is([data-state='online'],[data-state='stale'])::before { animation:none; }
|
|
753
|
+
.hig-list-group { display:flex;flex-direction:column;gap:8px;min-width:0; }
|
|
754
|
+
.hig-list-group-title { margin:0;padding-inline:4px;color:var(--hig-muted);font-size:.875rem;line-height:1.43;font-weight:500; }
|
|
755
|
+
.hig-list-group-rows { display:flex;flex-direction:column;gap:2px;margin:0;padding:0;list-style:none;border-radius:20px;overflow:hidden; }
|
|
756
|
+
.hig-list-row { appearance:none;box-sizing:border-box;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:4px 20px;border:0;border-radius:0;background:var(--hig-fill);color:var(--hig-text);font:inherit;text-align:start;text-decoration:none; }
|
|
757
|
+
button.hig-list-row,a.hig-list-row { cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation; }
|
|
758
|
+
button.hig-list-row:active,a.hig-list-row:active { background:var(--hig-fill-raised); }
|
|
759
|
+
.hig-list-row:focus-visible { outline:2px solid var(--hig-focus,var(--hig-text));outline-offset:-2px; }
|
|
760
|
+
.hig-list-row:disabled,.hig-list-row[aria-disabled='true'] { cursor:default;opacity:.5; }
|
|
761
|
+
.hig-list-row-leading { flex:none;display:grid;place-items:center;color:var(--hig-muted); }
|
|
762
|
+
.hig-list-row-label { flex:1;min-width:0;overflow-wrap:anywhere; }
|
|
763
|
+
.hig-list-row-value { flex:none;max-width:50%;color:var(--hig-muted);text-align:end;overflow-wrap:anywhere; }
|
|
764
|
+
.hig-list-row-trailing { flex:none;display:inline-flex;align-items:center;gap:8px;color:var(--hig-muted); }
|
|
765
|
+
.hig-list-row-trailing .hig-switch > span { position:absolute;width:1px;height:1px;margin:-1px;padding:0;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0; }
|
|
766
|
+
/* The switch's own trailing padding would sit it short of the row's edge. */
|
|
767
|
+
.hig-list-row-trailing .hig-switch { gap:0;padding-inline:0;justify-content:flex-end; }
|
|
768
|
+
/* In a row that holds a switch, everything aligns to the first line of the label, so the switch stays at the top when the label wraps. */
|
|
769
|
+
.hig-list-row:has(> .hig-list-row-trailing .hig-switch) { align-items:flex-start; }
|
|
770
|
+
.hig-list-row:has(> .hig-list-row-trailing .hig-switch) > .hig-list-row-label { padding-block:calc((48px - 1.5em)/2); }
|
|
771
|
+
.hig-list-row:has(> .hig-list-row-trailing .hig-switch) > :is(.hig-list-row-leading,.hig-list-row-value,.hig-list-row-trailing) { min-height:48px; }
|
|
772
|
+
.hig-list-row:has(> .hig-list-row-trailing .hig-switch) > .hig-list-row-value { display:inline-flex;align-items:center;justify-content:flex-end; }
|
|
773
|
+
.hig-list-row-chevron { flex:none;color:var(--hig-muted); }
|
|
774
|
+
[dir='rtl'] .hig-list-row-chevron { transform:scaleX(-1); }
|
|
775
|
+
@media(hover:hover) and (pointer:fine) { button.hig-list-row:hover,a.hig-list-row:hover { background:var(--hig-fill-raised); } }
|
|
776
|
+
.hig-bar-pnl { display:flex;flex-direction:column;gap:12px;--hig-bar-pnl-tone:var(--hig-muted); }
|
|
777
|
+
.hig-bar-pnl[data-result='profit'] { --hig-bar-pnl-tone:var(--hig-positive); }
|
|
778
|
+
.hig-bar-pnl[data-result='loss'] { --hig-bar-pnl-tone:var(--hig-negative); }
|
|
779
|
+
.hig-bar-pnl-bar { position:relative;display:flex;height:24px;border-radius:var(--hig-radius-md,8px);overflow:hidden; }
|
|
780
|
+
.hig-bar-pnl-rest,.hig-bar-pnl-move { flex:0 1 0;min-width:0;transition:flex-grow var(--hig-motion-duration-base) var(--hig-motion-easing-standard,ease); }
|
|
781
|
+
.hig-bar-pnl-rest { background:var(--hig-fill-raised); }
|
|
782
|
+
.hig-bar-pnl-move { box-sizing:border-box;min-width:6px;background:var(--hig-bar-pnl-tone);border-inline:3px solid var(--hig-text); }
|
|
783
|
+
.hig-bar-pnl-move[data-lead='mark'] { border-inline-start-color:var(--hig-bar-pnl-tone); }
|
|
784
|
+
.hig-bar-pnl-move[data-lead='entry'] { border-inline-end-color:var(--hig-bar-pnl-tone); }
|
|
785
|
+
.hig-bar-pnl-liquidation { position:absolute;inset-block:0;width:3px;margin-inline-start:-1.5px;background:var(--hig-negative);transition:inset-inline-start var(--hig-motion-duration-base) var(--hig-motion-easing-standard,ease); }
|
|
786
|
+
.hig-bar-pnl-liquidation[style*='start: 0%'] { margin-inline-start:0; }
|
|
787
|
+
.hig-bar-pnl-liquidation[style*='start: 100%'] { margin-inline-start:-3px; }
|
|
788
|
+
.hig-bar-pnl-readouts { display:flex;justify-content:space-between;gap:12px;margin:0; }
|
|
789
|
+
.hig-bar-pnl-readouts > div { display:flex;flex-direction:column-reverse;min-width:0; }
|
|
790
|
+
.hig-bar-pnl-readouts > div:last-child:not(:first-child) { align-items:flex-end;text-align:end; }
|
|
791
|
+
.hig-bar-pnl-readouts > div:nth-child(2):not(:last-child) { align-items:center;text-align:center; }
|
|
792
|
+
.hig-bar-pnl-readouts dt { color:var(--hig-muted);font-size:.75rem;line-height:1.33; }
|
|
793
|
+
.hig-bar-pnl-readouts dd { margin:0;font-weight:600; }
|
|
794
|
+
.hig-bar-pnl-readouts [data-kind='liquidation'] dd { color:var(--hig-negative); }
|
|
795
|
+
.hig-bar-pnl-readouts [data-kind='mark'] dd { color:var(--hig-bar-pnl-tone); }
|
|
796
|
+
.hig-bar-pnl[data-result='flat'] [data-kind='mark'] dd { color:var(--hig-text); }
|
|
797
|
+
@media(prefers-reduced-motion:reduce) { .hig-bar-pnl-rest,.hig-bar-pnl-move,.hig-bar-pnl-liquidation { transition:none; } }
|
|
798
|
+
[data-hig-motion='reduced'] .hig-bar-pnl-rest,[data-hig-motion='reduced'] .hig-bar-pnl-move,[data-hig-motion='reduced'] .hig-bar-pnl-liquidation { transition:none; }
|
|
799
|
+
@media(forced-colors:active) { .hig-bar-pnl-move,.hig-bar-pnl-liquidation { forced-color-adjust:none; } }
|
|
800
|
+
.hig-language-block { display:flex;flex-direction:column;gap:16px;min-width:0;color:var(--hig-text); }
|
|
801
|
+
.hig-language-list { display:flex;flex-direction:column;gap:4px;min-width:0; }
|
|
802
|
+
.hig-language-row { appearance:none;display:flex;align-items:center;gap:12px;width:100%;min-height:56px;margin:0;padding:8px 16px 8px 8px;border:0;border-radius:9999px;background:transparent;color:var(--hig-text);font:inherit;text-align:start;cursor:pointer;-webkit-tap-highlight-color:transparent;touch-action:manipulation; }
|
|
803
|
+
.hig-language-row:active,.hig-language-row[data-active='true'] { background:var(--hig-fill); }
|
|
804
|
+
.hig-language-flag { flex:none;display:grid;place-items:center;width:40px;height:40px;border-radius:9999px;overflow:hidden;background:var(--hig-fill-raised);color:var(--hig-muted);font-size:.75rem;font-weight:600; }
|
|
805
|
+
.hig-language-flag > img,.hig-language-flag > svg { width:100%;height:100%;object-fit:cover; }
|
|
806
|
+
.hig-language-text { flex:1;display:flex;flex-direction:column;min-width:0;font-size:.875rem;line-height:1.43;color:var(--hig-muted);overflow-wrap:anywhere; }
|
|
807
|
+
.hig-language-text > strong { font-size:1rem;line-height:1.5;font-weight:600;color:var(--hig-text); }
|
|
808
|
+
.hig-language-check { flex:none;color:var(--hig-text); }
|
|
809
|
+
@media(hover:hover) and (pointer:fine) { .hig-language-row:hover { background:var(--hig-fill); } }
|
package/tokens/README.md
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
# @bloxwap/hig/tokens
|
|
2
2
|
|
|
3
|
-
Version 0.
|
|
3
|
+
Version 0.6.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
|
package/native/dist/recipes.d.ts
DELETED
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export declare function MarketRow({ symbol, name, price, change, onSelect }: {
|
|
3
|
-
symbol: string;
|
|
4
|
-
name: string;
|
|
5
|
-
price: number | null;
|
|
6
|
-
change: number | null;
|
|
7
|
-
onSelect: () => void;
|
|
8
|
-
}): React.JSX.Element;
|
|
9
|
-
export declare function BalanceCard({ label, balance, stale }: {
|
|
10
|
-
label: string;
|
|
11
|
-
balance: number | null;
|
|
12
|
-
stale?: boolean;
|
|
13
|
-
}): React.JSX.Element;
|
|
14
|
-
export declare function TradeEntry({ asset, amount, onAmountChange, onConfirm, busy, error, available }: {
|
|
15
|
-
asset: string;
|
|
16
|
-
amount: string;
|
|
17
|
-
onAmountChange: (v: string) => void;
|
|
18
|
-
onConfirm: () => void;
|
|
19
|
-
busy?: boolean;
|
|
20
|
-
error?: string;
|
|
21
|
-
available: string;
|
|
22
|
-
}): React.JSX.Element;
|
|
23
|
-
/** A copy outcome shows as a transient toast capsule (about 4s, dismissible) and is announced the way Toast announces any notice. */
|
|
24
|
-
export declare function InstallCommand({ command, onCopy }: {
|
|
25
|
-
command: string;
|
|
26
|
-
onCopy: () => Promise<void> | void;
|
|
27
|
-
}): React.JSX.Element;
|
|
28
|
-
export declare function CodeWindow({ language, children }: React.PropsWithChildren<{
|
|
29
|
-
language: string;
|
|
30
|
-
}>): React.JSX.Element;
|
|
31
|
-
export declare function MarketingHero({ title, description, href, cta }: {
|
|
32
|
-
title: string;
|
|
33
|
-
description: string;
|
|
34
|
-
href: string;
|
|
35
|
-
cta: string;
|
|
36
|
-
}): React.JSX.Element;
|
|
37
|
-
export declare function ActivityList({ items }: {
|
|
38
|
-
items: readonly {
|
|
39
|
-
id: string;
|
|
40
|
-
label: string;
|
|
41
|
-
status: string;
|
|
42
|
-
}[];
|
|
43
|
-
}): React.JSX.Element;
|
|
44
|
-
export { FromPicker, ToPicker, type FromPickerProps, type ToPickerProps, type PickerListProps } from './pickers.js';
|
|
45
|
-
export { SwapPanel, swapAction, type SwapPanelProps, type SwapToken, type SwapChain, type SwapAction, type SwapDenomination, type SwapWallet, type SwapFee, type SwapReceive, type SwapDestination, type SwapDetail, type SwapView } from './swap-panel.js';
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import * as en from '@bloxwap/hig/contracts/messages';
|
|
4
|
-
import { useHIG } from '../provider.js';
|
|
5
|
-
import { Text } from '../surface.js';
|
|
6
|
-
export function ActivityList({ items }) { const { messages } = useHIG(); return items.length ? _jsx("ul", { children: items.map(i => _jsxs("li", { children: [_jsx("strong", { children: i.label }), " \u2014 ", i.status] }, i.id)) }) : _jsx(Text, { children: messages.noActivity ?? en.noActivity }); }
|
|
@@ -1,5 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Surface, Text } from '../surface.js';
|
|
4
|
-
import { Usd } from '../data.js';
|
|
5
|
-
export function BalanceCard({ label, balance, stale }) { return _jsxs(Surface, { className: 'hig-balance-card', children: [_jsx(Text, { children: label }), _jsx(Usd, { value: balance, stale: stale })] }); }
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
3
|
-
import { Surface, Text } from '../surface.js';
|
|
4
|
-
export function CodeWindow({ language, children }) { return _jsxs(Surface, { children: [_jsx(Text, { children: language }), _jsx("pre", { className: 'hig-code', tabIndex: 0, children: _jsx("code", { children: children }) })] }); }
|
package/react/dist/recipes.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
/** Aggregate entry. TradeEntry needs @radix-ui/react-dialog; import single recipes from `@bloxwap/hig/react/recipes/<name>` to avoid overlay peers. SwapSheet (Vaul) is only at `recipes/swap-sheet`. */
|
|
2
|
-
export { MarketRow } from './recipes/market-row.js';
|
|
3
|
-
export { BalanceCard } from './recipes/balance-card.js';
|
|
4
|
-
export { TradeEntry } from './recipes/trade-entry.js';
|
|
5
|
-
export { InstallCommand } from './recipes/install-command.js';
|
|
6
|
-
export { CodeWindow } from './recipes/code-window.js';
|
|
7
|
-
export { MarketingHero } from './recipes/marketing-hero.js';
|
|
8
|
-
export { ActivityList } from './recipes/activity-list.js';
|
|
9
|
-
export { FromPicker, ToPicker, type FromPickerProps, type ToPickerProps, type PickerListProps } from './recipes/pickers.js';
|
|
10
|
-
export { SwapPanel, swapAction, type SwapPanelProps, type SwapToken, type SwapChain, type SwapAction, type SwapDenomination, type SwapWallet, type SwapFee, type SwapReceive, type SwapDestination, type SwapDetail } from './recipes/swap-panel.js';
|
package/react/dist/recipes.js
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
"use client";
|
|
2
|
-
/** Aggregate entry. TradeEntry needs @radix-ui/react-dialog; import single recipes from `@bloxwap/hig/react/recipes/<name>` to avoid overlay peers. SwapSheet (Vaul) is only at `recipes/swap-sheet`. */
|
|
3
|
-
export { MarketRow } from './recipes/market-row.js';
|
|
4
|
-
export { BalanceCard } from './recipes/balance-card.js';
|
|
5
|
-
export { TradeEntry } from './recipes/trade-entry.js';
|
|
6
|
-
export { InstallCommand } from './recipes/install-command.js';
|
|
7
|
-
export { CodeWindow } from './recipes/code-window.js';
|
|
8
|
-
export { MarketingHero } from './recipes/marketing-hero.js';
|
|
9
|
-
export { ActivityList } from './recipes/activity-list.js';
|
|
10
|
-
export { FromPicker, ToPicker } from './recipes/pickers.js';
|
|
11
|
-
export { SwapPanel, swapAction } from './recipes/swap-panel.js';
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|