Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

@0xsquid/ui

Package Overview
Dependencies
Maintainers
3
Versions
176
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@0xsquid/ui - npm Package Compare versions

Comparing version 0.8.2 to 0.8.3

dist/cjs/types/components/layout/ProfileHeaderBackground.d.ts

4

dist/cjs/types/components/controls/Input.d.ts

@@ -7,4 +7,6 @@ /// <reference types="react" />

icon?: React.ReactNode;
error?: string;
onPasteButtonClick?: () => void;
}
export declare function Input({ placeholder, showIcon, showPasteButton, className, icon, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
export declare function Input({ placeholder, showIcon, showPasteButton, className, icon, error, onPasteButtonClick, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -1,3 +0,6 @@

export declare function ErrorMessage({ message }: {
type ErrorMessageProps = {
message: string;
}): import("react/jsx-runtime").JSX.Element;
showIcon?: boolean;
};
export declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -9,2 +9,3 @@ export * from './Boost';

export * from './ProductCard';
export * from './ProfileHeaderBackground';
export * from './SwapConfiguration';

@@ -11,0 +12,0 @@ export * from './SwapProgressViewHeader';

@@ -29,4 +29,5 @@ import { SwapDirection } from '../../types/components';

criticalPriceImpactPercentage?: number;
emptyAddressLabel?: string;
}
export declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
export declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, emptyAddressLabel, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -8,3 +8,4 @@ /// <reference types="react" />

showHelpIcon?: boolean;
link?: string;
}
export declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, }: SettingsItemProps): import("react/jsx-runtime").JSX.Element;
export declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, link, }: SettingsItemProps): import("react/jsx-runtime").JSX.Element;

@@ -9,1 +9,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const WithPasteButton: Story;
export declare const Error: Story;

@@ -7,1 +7,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const Default: Story;
export declare const WithoutIcon: Story;

@@ -10,1 +10,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const TransparentControls: Story;
export declare const Link: Story;

@@ -7,4 +7,6 @@ /// <reference types="react" />

icon?: React.ReactNode;
error?: string;
onPasteButtonClick?: () => void;
}
export declare function Input({ placeholder, showIcon, showPasteButton, className, icon, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
export declare function Input({ placeholder, showIcon, showPasteButton, className, icon, error, onPasteButtonClick, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -1,3 +0,6 @@

export declare function ErrorMessage({ message }: {
type ErrorMessageProps = {
message: string;
}): import("react/jsx-runtime").JSX.Element;
showIcon?: boolean;
};
export declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -9,2 +9,3 @@ export * from './Boost';

export * from './ProductCard';
export * from './ProfileHeaderBackground';
export * from './SwapConfiguration';

@@ -11,0 +12,0 @@ export * from './SwapProgressViewHeader';

@@ -29,4 +29,5 @@ import { SwapDirection } from '../../types/components';

criticalPriceImpactPercentage?: number;
emptyAddressLabel?: string;
}
export declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
export declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, emptyAddressLabel, }: SwapConfigurationProps): import("react/jsx-runtime").JSX.Element;
export {};

@@ -8,3 +8,4 @@ /// <reference types="react" />

showHelpIcon?: boolean;
link?: string;
}
export declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, }: SettingsItemProps): import("react/jsx-runtime").JSX.Element;
export declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, link, }: SettingsItemProps): import("react/jsx-runtime").JSX.Element;

@@ -9,1 +9,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const WithPasteButton: Story;
export declare const Error: Story;

@@ -7,1 +7,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const Default: Story;
export declare const WithoutIcon: Story;

@@ -10,1 +10,2 @@ import { Meta, StoryObj } from '@storybook/react';

export declare const TransparentControls: Story;
export declare const Link: Story;

@@ -104,4 +104,6 @@ /// <reference types="react" />

icon?: React.ReactNode;
error?: string;
onPasteButtonClick?: () => void;
}
declare function Input({ placeholder, showIcon, showPasteButton, className, icon, ...props }: InputProps): react_jsx_runtime.JSX.Element;
declare function Input({ placeholder, showIcon, showPasteButton, className, icon, error, onPasteButtonClick, ...props }: InputProps): react_jsx_runtime.JSX.Element;

@@ -242,4 +244,5 @@ interface Props extends InputHTMLAttributes<HTMLInputElement> {

showHelpIcon?: boolean;
link?: string;
}
declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, }: SettingsItemProps): react_jsx_runtime.JSX.Element;
declare function SettingsItem({ icon, label, controls, transparentControls, showHelpIcon, link, }: SettingsItemProps): react_jsx_runtime.JSX.Element;

@@ -270,5 +273,7 @@ interface SwapDetailListItemProps {

declare function ErrorMessage({ message }: {
type ErrorMessageProps = {
message: string;
}): react_jsx_runtime.JSX.Element;
showIcon?: boolean;
};
declare function ErrorMessage({ message, showIcon }: ErrorMessageProps): react_jsx_runtime.JSX.Element;

@@ -308,2 +313,4 @@ type Rounded = 'sm' | 'lg';

declare function ProfileHeaderBackground(): react_jsx_runtime.JSX.Element;
interface SwapConfigurationProps {

@@ -336,4 +343,5 @@ direction: SwapDirection;

criticalPriceImpactPercentage?: number;
emptyAddressLabel?: string;
}
declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;
declare function SwapConfiguration({ priceImpactPercentage, amount, forcedAmount, swapAmountUsd, balance, isFetching, chain, token, direction, onAmountChange, onWalletButtonClick, onAssetsButtonClick, onBalanceButtonClick, address, error, criticalPriceImpactPercentage, emptyAddressLabel, }: SwapConfigurationProps): react_jsx_runtime.JSX.Element;

@@ -434,2 +442,2 @@ interface SwapProgressViewHeaderProps {

export { AddressButton, ArrowButton, AssetsButton, BadgeImage, BodyText, Boost, BoostButton, Button, CaptionText, Chip, DetailsToolbar, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, ErrorMessage, FeeButton, HeadingText, HistoryItem, Input, ListItem, Menu, MenuItem, Modal, NavigationBar, NumericInput, ProductCard, SectionTitle, SettingsButton, type SettingsButtonProps, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SquidConfigProvider, type SquidTheme, SwapConfiguration, SwapDetailListItem, SwapProgressViewHeader, SwapStepItem, SwapStepsCollapsed, Switch, TokenPair, Tooltip, type TooltipThreshold, type TooltipWidth, UsdAmount, useModal };
export { AddressButton, ArrowButton, AssetsButton, BadgeImage, BodyText, Boost, BoostButton, Button, CaptionText, Chip, DetailsToolbar, DropdownMenu, DropdownMenuItem, type DropdownMenuItemProps, ErrorMessage, FeeButton, HeadingText, HistoryItem, Input, ListItem, Menu, MenuItem, Modal, NavigationBar, NumericInput, ProductCard, ProfileHeaderBackground, SectionTitle, SettingsButton, type SettingsButtonProps, SettingsItem, type SettingsItemProps, SettingsSlider, type SettingsSliderProps, SquidConfigProvider, type SquidTheme, SwapConfiguration, SwapDetailListItem, SwapProgressViewHeader, SwapStepItem, SwapStepsCollapsed, Switch, TokenPair, Tooltip, type TooltipThreshold, type TooltipWidth, UsdAmount, useModal };

@@ -8,3 +8,3 @@ {

"description": "Squid's UI components",
"version": "0.8.2",
"version": "0.8.3",
"author": "",

@@ -11,0 +11,0 @@ "license": "MIT",

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is too big to display

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc