@babylonlabs-io/core-ui 1.10.2 → 1.12.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.
@@ -0,0 +1,26 @@
1
+ import { default as React } from 'react';
2
+ interface BalanceDetails {
3
+ balance: number | string;
4
+ symbol: string;
5
+ price?: number;
6
+ displayUSD?: boolean;
7
+ decimals?: number;
8
+ }
9
+ interface AmountItemProps {
10
+ amount: string | number | undefined;
11
+ currencyIcon: string;
12
+ currencyName: string;
13
+ placeholder?: string;
14
+ displayBalance?: boolean;
15
+ balanceDetails?: BalanceDetails;
16
+ min: string;
17
+ step: string;
18
+ autoFocus: boolean;
19
+ amountUsd: string;
20
+ subtitle?: string;
21
+ disabled?: boolean;
22
+ onChange: React.ChangeEventHandler<HTMLInputElement>;
23
+ onKeyDown: React.KeyboardEventHandler<HTMLInputElement>;
24
+ }
25
+ export declare const AmountItem: ({ amount, currencyIcon, currencyName, placeholder, subtitle, displayBalance, balanceDetails, min, step, autoFocus, onChange, onKeyDown, amountUsd, disabled, }: AmountItemProps) => import("react/jsx-runtime").JSX.Element;
26
+ export default AmountItem;
@@ -0,0 +1 @@
1
+ export { AmountItem } from './AmountItem';
@@ -0,0 +1,5 @@
1
+ import { PropsWithChildren } from 'react';
2
+ export interface WarningProps extends PropsWithChildren {
3
+ className?: string;
4
+ }
5
+ export declare function Warning({ children, className }: WarningProps): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { Warning } from './Warning';
@@ -0,0 +1,6 @@
1
+ import { ReactNode } from 'react';
2
+ interface TableProps {
3
+ data: ReactNode[][];
4
+ }
5
+ export declare const Table: ({ data }: TableProps) => import("react/jsx-runtime").JSX.Element | null;
6
+ export {};
@@ -0,0 +1 @@
1
+ export { Table } from './Table';
@@ -0,0 +1,4 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <path d="M20 0C22.2091 2.57702e-07 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 6.44266e-08 22.2091 0 20V4C2.57706e-07 1.79086 1.79086 6.44256e-08 4 0H20Z" stroke="#5A5A5A"/>
3
+ <path d="M17.8327 7.34102L16.6577 6.16602L11.9993 10.8243L7.34102 6.16602L6.16602 7.34102L10.8243 11.9993L6.16602 16.6577L7.34102 17.8327L11.9993 13.1743L16.6577 17.8327L17.8327 16.6577L13.1743 11.9993L17.8327 7.34102Z" fill="white"/>
4
+ </svg>
@@ -0,0 +1,10 @@
1
+ <svg width="24" height="24" viewBox="0 0 24 24" fill="none" xmlns="http://www.w3.org/2000/svg">
2
+ <g clip-path="url(#clip0_2512_36656)">
3
+ <path d="M1 21.5H23L12 2.5L1 21.5ZM13 18.5H11V16.5H13V18.5ZM13 14.5H11V10.5H13V14.5Z" fill="#5A5A5A"/>
4
+ </g>
5
+ <defs>
6
+ <clipPath id="clip0_2512_36656">
7
+ <path d="M0 4C0 1.79086 1.79086 0 4 0H20C22.2091 0 24 1.79086 24 4V20C24 22.2091 22.2091 24 20 24H4C1.79086 24 0 22.2091 0 20V4Z" fill="white"/>
8
+ </clipPath>
9
+ </defs>
10
+ </svg>