@0xsquid/ui 0.17.1 → 0.17.3

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 @@
1
+ export declare function DockSwapIcon(): import("react/jsx-runtime").JSX.Element;
@@ -3,10 +3,8 @@ type Rounded = 'sm' | 'lg';
3
3
  interface MenuProps extends React.ComponentProps<'div'> {
4
4
  containerClassName?: string;
5
5
  contentClassName?: string;
6
- title?: string;
7
- displayControls?: boolean;
8
6
  rounded?: Rounded;
9
7
  menuRef?: React.RefObject<HTMLDivElement>;
10
8
  }
11
- export declare function Menu({ children, containerClassName, contentClassName, title, displayControls, rounded, menuRef, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
9
+ export declare function Menu({ children, containerClassName, contentClassName, rounded, menuRef, ...props }: MenuProps): import("react/jsx-runtime").JSX.Element;
12
10
  export {};
@@ -0,0 +1,10 @@
1
+ /// <reference types="react" />
2
+ interface ToastProps {
3
+ title: string;
4
+ description: string;
5
+ headerContent?: React.ReactNode;
6
+ actionsContent?: React.ReactNode;
7
+ chipLabel?: string;
8
+ }
9
+ export declare function Toast({ headerContent, actionsContent, description, chipLabel, title, }: ToastProps): import("react/jsx-runtime").JSX.Element;
10
+ export {};
@@ -1,3 +1,8 @@
1
+ export * from './AssetsView';
2
+ export * from './MainView';
3
+ export * from './RecipientView';
4
+ export * from './SwapDetailsView';
5
+ export * from './SwapProgressView';
1
6
  export * from './TransactionView/BaseTransactionViewProps';
2
7
  export * from './TransactionView/BridgeTransactionView';
3
8
  export * from './TransactionView/BuyNFTTransactionView';
@@ -5,3 +10,4 @@ export * from './TransactionView/InteractionTransactionView';
5
10
  export * from './TransactionView/SwapTransactionView';
6
11
  export * from './TransactionView/TransactionView';
7
12
  export * from './TransactionView/TransactionViewLayout';
13
+ export * from './WalletsView';
@@ -25,7 +25,7 @@ export declare function getContrastColor({ r, g, b, }: {
25
25
  r: number;
26
26
  g: number;
27
27
  b: number;
28
- }): "#000" | "#fff";
28
+ }): "#fff" | "#000";
29
29
  /**
30
30
  * Returns a hexadecimal color with opacity based on the given color and opacity percentage.
31
31
  *
@@ -3,6 +3,5 @@ import { Menu } from '../../components/layout/Menu';
3
3
  declare const meta: Meta<typeof Menu>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
6
- export declare const Default: Story;
7
- export declare const WithTitle: Story;
8
- export declare const WithControls: Story;
6
+ export declare const RoundedSm: Story;
7
+ export declare const RoundedLg: Story;
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Toast } from '../../components/layout/Toast';
3
+ declare const meta: Meta<typeof Toast>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const TitleAndDescription: Story;
7
+ export declare const WithActions: Story;
8
+ export declare const WithHeaderContent: Story;
9
+ export declare const WithChip: Story;
10
+ export declare const AllProps: Story;