ioloco-ui
Advanced tools
Comparing version 0.2.13 to 0.2.14
import type { StyleXStyles } from '@stylexjs/stylex'; | ||
import type { ReactNode } from 'react'; | ||
type IStyles = StyleXStyles<{ | ||
position?: 'absolute' | 'relative'; | ||
top?: number | string; | ||
left?: number | string; | ||
right?: number | string; | ||
bottom?: number | string; | ||
margin?: string; | ||
backgroundColor?: string; | ||
color?: string; | ||
border?: string; | ||
borderRadius?: string; | ||
width?: string; | ||
}>; | ||
interface IButton { | ||
@@ -14,17 +27,5 @@ color: 'white' | 'primary' | 'secondary' | 'tertiary'; | ||
formMethod?: string; | ||
style?: StyleXStyles<{ | ||
position?: 'absolute' | 'relative'; | ||
top?: number | string; | ||
left?: number | string; | ||
right?: number | string; | ||
bottom?: number | string; | ||
margin?: string; | ||
backgroundColor?: string; | ||
color?: string; | ||
border?: string; | ||
borderRadius?: string; | ||
width?: string; | ||
}>; | ||
style?: IStyles; | ||
} | ||
declare const Button: React.FC<IButton>; | ||
declare const Button: ({ variant, color, size, type, text, icon, formMethod, onClickHandler, linkComponent: LinkComponent, href, style }: IButton) => import("react/jsx-runtime").JSX.Element; | ||
export default Button; |
{ | ||
"name": "ioloco-ui", | ||
"version": "0.2.13", | ||
"version": "0.2.14", | ||
"description": "Stylex UI components for React", | ||
@@ -5,0 +5,0 @@ "author": { |
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
74649
576
0