@0xsquid/ui 0.17.1-beta.2 → 0.17.2

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.
@@ -19,7 +19,8 @@ interface ListItemProps extends React.HTMLAttributes<HTMLButtonElement> {
19
19
  subtitle?: boolean | string;
20
20
  };
21
21
  containerProps?: React.HTMLAttributes<HTMLLIElement>;
22
+ compactOnMobile?: boolean;
22
23
  }
23
24
  type ListItemSize = 'small' | 'large';
24
- export declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, ...props }: ListItemProps): import("react/jsx-runtime").JSX.Element;
25
+ export declare function ListItem({ itemTitle, mainImageUrl, subtitle, subtitleOnHover, detail, icon, secondaryImageUrl, size, mainIcon, className, isSelected, onDetailClick, showDetailOnHoverOnly, rounded, detailButtonClassName, loading, containerProps, compactOnMobile, ...props }: ListItemProps): import("react/jsx-runtime").JSX.Element;
25
26
  export {};
@@ -0,0 +1 @@
1
+ export declare function HistoryView(): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare function SettingsView(): import("react/jsx-runtime").JSX.Element;
@@ -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
  *
@@ -0,0 +1,7 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { BoostButton } from '../../components/buttons/BoostButton';
3
+ declare const meta: Meta<typeof BoostButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Normal: Story;
7
+ export declare const Boost: Story;
@@ -26,3 +26,5 @@ export declare const SmallInteractive: Story;
26
26
  export declare const SmallWithLongTitle: Story;
27
27
  export declare const SmallSelected: Story;
28
28
  export declare const SmallWithCustomIconAsImage: Story;
29
+ export declare const LargeCompactOnMobile: Story;
30
+ export declare const SmallCompactOnMobile: Story;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { HistoryView } from '../../components/views/HistoryView';
3
+ declare const meta: Meta<typeof HistoryView>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { SettingsView } from '../../components/views/SettingsView';
3
+ declare const meta: Meta<typeof SettingsView>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof meta>;
6
+ export declare const Default: Story;