@0xsquid/ui
Advanced tools
Comparing version 0.9.0 to 0.9.1
@@ -9,1 +9,5 @@ export declare function ClockIcon({ className, size, }: { | ||
}): import("react/jsx-runtime").JSX.Element; | ||
export declare const SettingsGearIcon: ({ size, className, }: { | ||
className?: string; | ||
size?: string; | ||
}) => import("react/jsx-runtime").JSX.Element; |
@@ -7,4 +7,5 @@ /// <reference types="react" /> | ||
isOpen?: boolean; | ||
maxHeight?: boolean; | ||
} | ||
export declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, }: ModalProps): false | import("react/jsx-runtime").JSX.Element; | ||
export declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, }: ModalProps): false | import("react/jsx-runtime").JSX.Element; | ||
export {}; |
@@ -0,1 +1,6 @@ | ||
/// <reference types="react" /> | ||
type ActionButton = { | ||
labelOrIcon: string | React.ReactNode; | ||
onClick?: () => void; | ||
}; | ||
interface NavigationBarProps { | ||
@@ -8,7 +13,5 @@ title?: string; | ||
onBackButtonClick?: () => void; | ||
onAddressButtonClick?: () => void; | ||
label?: string; | ||
isLoading?: boolean; | ||
actions?: ActionButton[]; | ||
} | ||
export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, label, onAddressButtonClick, isLoading, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element; | ||
export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element; | ||
export {}; |
@@ -10,3 +10,4 @@ import { Meta, StoryObj } from '@storybook/react'; | ||
export declare const Logo: Story; | ||
export declare const WithActions: Story; | ||
export declare const AllProps: Story; | ||
export declare const Transparent: Story; |
@@ -9,1 +9,5 @@ export declare function ClockIcon({ className, size, }: { | ||
}): import("react/jsx-runtime").JSX.Element; | ||
export declare const SettingsGearIcon: ({ size, className, }: { | ||
className?: string; | ||
size?: string; | ||
}) => import("react/jsx-runtime").JSX.Element; |
@@ -7,4 +7,5 @@ /// <reference types="react" /> | ||
isOpen?: boolean; | ||
maxHeight?: boolean; | ||
} | ||
export declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, }: ModalProps): false | import("react/jsx-runtime").JSX.Element; | ||
export declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, }: ModalProps): false | import("react/jsx-runtime").JSX.Element; | ||
export {}; |
@@ -0,1 +1,6 @@ | ||
/// <reference types="react" /> | ||
type ActionButton = { | ||
labelOrIcon: string | React.ReactNode; | ||
onClick?: () => void; | ||
}; | ||
interface NavigationBarProps { | ||
@@ -8,7 +13,5 @@ title?: string; | ||
onBackButtonClick?: () => void; | ||
onAddressButtonClick?: () => void; | ||
label?: string; | ||
isLoading?: boolean; | ||
actions?: ActionButton[]; | ||
} | ||
export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, label, onAddressButtonClick, isLoading, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element; | ||
export declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, }: NavigationBarProps): import("react/jsx-runtime").JSX.Element; | ||
export {}; |
@@ -10,3 +10,4 @@ import { Meta, StoryObj } from '@storybook/react'; | ||
export declare const Logo: Story; | ||
export declare const WithActions: Story; | ||
export declare const AllProps: Story; | ||
export declare const Transparent: Story; |
@@ -312,5 +312,10 @@ /// <reference types="react" /> | ||
isOpen?: boolean; | ||
maxHeight?: boolean; | ||
} | ||
declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, }: ModalProps): false | react_jsx_runtime.JSX.Element; | ||
declare function Modal({ children, className, onBackdropClick, isOpen: _isOpen, maxHeight, }: ModalProps): false | react_jsx_runtime.JSX.Element; | ||
type ActionButton = { | ||
labelOrIcon: string | React.ReactNode; | ||
onClick?: () => void; | ||
}; | ||
interface NavigationBarProps { | ||
@@ -323,7 +328,5 @@ title?: string; | ||
onBackButtonClick?: () => void; | ||
onAddressButtonClick?: () => void; | ||
label?: string; | ||
isLoading?: boolean; | ||
actions?: ActionButton[]; | ||
} | ||
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, label, onAddressButtonClick, isLoading, }: NavigationBarProps): react_jsx_runtime.JSX.Element; | ||
declare function NavigationBar({ title, displayBackButton, logoUrl, transparent, displayButtonShadows, onBackButtonClick, actions, }: NavigationBarProps): react_jsx_runtime.JSX.Element; | ||
@@ -330,0 +333,0 @@ declare function ProductCard({ children }: React.PropsWithChildren): react_jsx_runtime.JSX.Element; |
@@ -8,3 +8,3 @@ { | ||
"description": "Squid's UI components", | ||
"version": "0.9.0", | ||
"version": "0.9.1", | ||
"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
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
625782
294
12322