@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.
- package/dist/cjs/index.js +35316 -20
- package/dist/cjs/types/components/lists/ListItem.d.ts +2 -1
- package/dist/cjs/types/components/views/HistoryView.d.ts +1 -0
- package/dist/cjs/types/components/views/SettingsView.d.ts +1 -0
- package/dist/cjs/types/components/views/index.d.ts +6 -0
- package/dist/cjs/types/services/internal/colorService.d.ts +1 -1
- package/dist/cjs/types/stories/buttons/BoostButton.stories.d.ts +7 -0
- package/dist/cjs/types/stories/lists/ListItem.stories.d.ts +2 -0
- package/dist/cjs/types/stories/views/HistoryView.stories.d.ts +6 -0
- package/dist/cjs/types/stories/views/SettingsView.stories.d.ts +6 -0
- package/dist/esm/index.js +35310 -21
- package/dist/esm/types/components/lists/ListItem.d.ts +2 -1
- package/dist/esm/types/components/views/HistoryView.d.ts +1 -0
- package/dist/esm/types/components/views/SettingsView.d.ts +1 -0
- package/dist/esm/types/components/views/index.d.ts +6 -0
- package/dist/esm/types/services/internal/colorService.d.ts +1 -1
- package/dist/esm/types/stories/buttons/BoostButton.stories.d.ts +7 -0
- package/dist/esm/types/stories/lists/ListItem.stories.d.ts +2 -0
- package/dist/esm/types/stories/views/HistoryView.stories.d.ts +6 -0
- package/dist/esm/types/stories/views/SettingsView.stories.d.ts +6 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +77 -4
- package/package.json +1 -1
|
@@ -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';
|
|
@@ -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;
|