kaleido-ui 0.1.81 → 0.1.83
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/web/index.cjs +117 -128
- package/dist/web/index.d.cts +9 -1
- package/dist/web/index.d.ts +9 -1
- package/dist/web/index.js +117 -128
- package/package.json +1 -1
package/dist/web/index.d.cts
CHANGED
|
@@ -375,6 +375,7 @@ interface AccountStatusTabItem<TId extends string = string> {
|
|
|
375
375
|
networkLabel: string;
|
|
376
376
|
networkBannerClassName: string;
|
|
377
377
|
accentBg?: string;
|
|
378
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): the icon tile is tinted via `accentBg` only. Kept for source compat. */
|
|
378
379
|
accentBorder?: string;
|
|
379
380
|
}
|
|
380
381
|
interface AccountStatusTabsProps<TId extends string = string> {
|
|
@@ -724,6 +725,10 @@ interface SwapInputCardProps {
|
|
|
724
725
|
maxText?: string;
|
|
725
726
|
selectedPercentage?: number | null;
|
|
726
727
|
percentageDisabled?: boolean;
|
|
728
|
+
/** Hide the 25/50/75/Max shortcuts entirely (e.g. bridge: no local balance). */
|
|
729
|
+
hidePercentages?: boolean;
|
|
730
|
+
/** One-way flow: replace the flip button with a static down-arrow indicator. */
|
|
731
|
+
oneWay?: boolean;
|
|
727
732
|
fromUnitLabel: string;
|
|
728
733
|
fromDisplayUnit?: AmountDisplayUnit;
|
|
729
734
|
fromUnitIsToggle?: boolean;
|
|
@@ -753,7 +758,7 @@ interface SwapInputCardProps {
|
|
|
753
758
|
onFlip: () => void;
|
|
754
759
|
onSubmit: () => void;
|
|
755
760
|
}
|
|
756
|
-
declare function SwapInputCard({ fromTicker, toTicker, fromSelectedId, toSelectedId, fromInput, fromOptions, toOptions, categories, defaultActiveCategories, availableText, showMaxText, maxText, selectedPercentage, percentageDisabled, fromUnitLabel, fromDisplayUnit, fromUnitIsToggle, receiveAmount, receiveUnitLabel, receiveDisplayUnit, isLoadingQuote, quoteError, quoteRateText, quoteVenueText, quoteVenueTone, quoteFeeText, quoteExpiresText, quoteExpiresUrgent, warning, submitLabel, submitIcon, submitVariant, submitDisabled, onFromTickerChange, onToTickerChange, onFromInputChange, onPercentageClick, onToggleFromUnit, onFlip, onSubmit, }: SwapInputCardProps): react_jsx_runtime.JSX.Element;
|
|
761
|
+
declare function SwapInputCard({ fromTicker, toTicker, fromSelectedId, toSelectedId, fromInput, fromOptions, toOptions, categories, defaultActiveCategories, availableText, showMaxText, maxText, selectedPercentage, percentageDisabled, hidePercentages, oneWay, fromUnitLabel, fromDisplayUnit, fromUnitIsToggle, receiveAmount, receiveUnitLabel, receiveDisplayUnit, isLoadingQuote, quoteError, quoteRateText, quoteVenueText, quoteVenueTone, quoteFeeText, quoteExpiresText, quoteExpiresUrgent, warning, submitLabel, submitIcon, submitVariant, submitDisabled, onFromTickerChange, onToTickerChange, onFromInputChange, onPercentageClick, onToggleFromUnit, onFlip, onSubmit, }: SwapInputCardProps): react_jsx_runtime.JSX.Element;
|
|
757
762
|
|
|
758
763
|
interface ActivityListItem<TData = unknown> {
|
|
759
764
|
id: string;
|
|
@@ -1388,7 +1393,9 @@ interface DepositNetworkConfigEntry {
|
|
|
1388
1393
|
color: string;
|
|
1389
1394
|
bg: string;
|
|
1390
1395
|
text: string;
|
|
1396
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): tone comes from `bg`; no border rings. Kept for source compat. */
|
|
1391
1397
|
border: string;
|
|
1398
|
+
/** @deprecated Borderless sweep: the QR panel carries only `qrGlow` now. Kept for source compat. */
|
|
1392
1399
|
qrBorder: string;
|
|
1393
1400
|
/** Inline style. Apply via `style={network.qrGlow}`. */
|
|
1394
1401
|
qrGlow: CSSProperties;
|
|
@@ -1442,6 +1449,7 @@ interface DepositNetworkOption {
|
|
|
1442
1449
|
description: string;
|
|
1443
1450
|
icon: ReactNode;
|
|
1444
1451
|
accentBg: string;
|
|
1452
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): the suggested row is tinted via `accentBg` only. Kept for source compat. */
|
|
1445
1453
|
accentBorder: string;
|
|
1446
1454
|
accentText: string;
|
|
1447
1455
|
}
|
package/dist/web/index.d.ts
CHANGED
|
@@ -375,6 +375,7 @@ interface AccountStatusTabItem<TId extends string = string> {
|
|
|
375
375
|
networkLabel: string;
|
|
376
376
|
networkBannerClassName: string;
|
|
377
377
|
accentBg?: string;
|
|
378
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): the icon tile is tinted via `accentBg` only. Kept for source compat. */
|
|
378
379
|
accentBorder?: string;
|
|
379
380
|
}
|
|
380
381
|
interface AccountStatusTabsProps<TId extends string = string> {
|
|
@@ -724,6 +725,10 @@ interface SwapInputCardProps {
|
|
|
724
725
|
maxText?: string;
|
|
725
726
|
selectedPercentage?: number | null;
|
|
726
727
|
percentageDisabled?: boolean;
|
|
728
|
+
/** Hide the 25/50/75/Max shortcuts entirely (e.g. bridge: no local balance). */
|
|
729
|
+
hidePercentages?: boolean;
|
|
730
|
+
/** One-way flow: replace the flip button with a static down-arrow indicator. */
|
|
731
|
+
oneWay?: boolean;
|
|
727
732
|
fromUnitLabel: string;
|
|
728
733
|
fromDisplayUnit?: AmountDisplayUnit;
|
|
729
734
|
fromUnitIsToggle?: boolean;
|
|
@@ -753,7 +758,7 @@ interface SwapInputCardProps {
|
|
|
753
758
|
onFlip: () => void;
|
|
754
759
|
onSubmit: () => void;
|
|
755
760
|
}
|
|
756
|
-
declare function SwapInputCard({ fromTicker, toTicker, fromSelectedId, toSelectedId, fromInput, fromOptions, toOptions, categories, defaultActiveCategories, availableText, showMaxText, maxText, selectedPercentage, percentageDisabled, fromUnitLabel, fromDisplayUnit, fromUnitIsToggle, receiveAmount, receiveUnitLabel, receiveDisplayUnit, isLoadingQuote, quoteError, quoteRateText, quoteVenueText, quoteVenueTone, quoteFeeText, quoteExpiresText, quoteExpiresUrgent, warning, submitLabel, submitIcon, submitVariant, submitDisabled, onFromTickerChange, onToTickerChange, onFromInputChange, onPercentageClick, onToggleFromUnit, onFlip, onSubmit, }: SwapInputCardProps): react_jsx_runtime.JSX.Element;
|
|
761
|
+
declare function SwapInputCard({ fromTicker, toTicker, fromSelectedId, toSelectedId, fromInput, fromOptions, toOptions, categories, defaultActiveCategories, availableText, showMaxText, maxText, selectedPercentage, percentageDisabled, hidePercentages, oneWay, fromUnitLabel, fromDisplayUnit, fromUnitIsToggle, receiveAmount, receiveUnitLabel, receiveDisplayUnit, isLoadingQuote, quoteError, quoteRateText, quoteVenueText, quoteVenueTone, quoteFeeText, quoteExpiresText, quoteExpiresUrgent, warning, submitLabel, submitIcon, submitVariant, submitDisabled, onFromTickerChange, onToTickerChange, onFromInputChange, onPercentageClick, onToggleFromUnit, onFlip, onSubmit, }: SwapInputCardProps): react_jsx_runtime.JSX.Element;
|
|
757
762
|
|
|
758
763
|
interface ActivityListItem<TData = unknown> {
|
|
759
764
|
id: string;
|
|
@@ -1388,7 +1393,9 @@ interface DepositNetworkConfigEntry {
|
|
|
1388
1393
|
color: string;
|
|
1389
1394
|
bg: string;
|
|
1390
1395
|
text: string;
|
|
1396
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): tone comes from `bg`; no border rings. Kept for source compat. */
|
|
1391
1397
|
border: string;
|
|
1398
|
+
/** @deprecated Borderless sweep: the QR panel carries only `qrGlow` now. Kept for source compat. */
|
|
1392
1399
|
qrBorder: string;
|
|
1393
1400
|
/** Inline style. Apply via `style={network.qrGlow}`. */
|
|
1394
1401
|
qrGlow: CSSProperties;
|
|
@@ -1442,6 +1449,7 @@ interface DepositNetworkOption {
|
|
|
1442
1449
|
description: string;
|
|
1443
1450
|
icon: ReactNode;
|
|
1444
1451
|
accentBg: string;
|
|
1452
|
+
/** @deprecated Borderless sweep (DESIGN.md Coherence Rules): the suggested row is tinted via `accentBg` only. Kept for source compat. */
|
|
1445
1453
|
accentBorder: string;
|
|
1446
1454
|
accentText: string;
|
|
1447
1455
|
}
|