@launchpad-ui/button
Advanced tools
Comparing version 0.7.10 to 0.7.11
import type { IconProps } from '@launchpad-ui/icons'; | ||
import type { ButtonHTMLAttributes, ReactElement } from 'react'; | ||
import './styles/Button.css'; | ||
declare type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { | ||
type ButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { | ||
isLoading?: boolean; | ||
@@ -6,0 +6,0 @@ loadingText?: string | JSX.Element; |
import type { HTMLAttributes } from 'react'; | ||
import './styles/ButtonGroup.css'; | ||
declare type ButtonGroupProps = HTMLAttributes<HTMLDivElement> & { | ||
type ButtonGroupProps = HTMLAttributes<HTMLDivElement> & { | ||
spacing?: 'compact' | 'normal' | 'large'; | ||
@@ -5,0 +5,0 @@ 'data-test-id'?: string; |
import type { IconProps } from '@launchpad-ui/icons'; | ||
import type { ButtonHTMLAttributes, ReactElement } from 'react'; | ||
import './styles/Button.css'; | ||
declare type IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { | ||
type IconButtonProps = ButtonHTMLAttributes<HTMLButtonElement> & { | ||
kind?: 'default' | 'primary' | 'destructive' | 'minimal' | 'close'; | ||
@@ -6,0 +6,0 @@ icon: ReactElement<IconProps>; |
/// <reference types="react" /> | ||
import type { ButtonProps } from './Button'; | ||
declare type UploadButtonProps = Omit<ButtonProps, 'onSelect'> & { | ||
type UploadButtonProps = Omit<ButtonProps, 'onSelect'> & { | ||
onSelect(file?: File | null): void; | ||
@@ -5,0 +5,0 @@ maxSize: number; |
{ | ||
"name": "@launchpad-ui/button", | ||
"version": "0.7.10", | ||
"version": "0.7.11", | ||
"status": "beta", | ||
@@ -29,6 +29,6 @@ "publishConfig": { | ||
"dependencies": { | ||
"@launchpad-ui/icons": "~0.6.3", | ||
"@launchpad-ui/tokens": "~0.3.1", | ||
"@radix-ui/react-slot": "^1.0.0", | ||
"classix": "^2.1.13" | ||
"classix": "^2.1.13", | ||
"@launchpad-ui/icons": "~0.6.4", | ||
"@launchpad-ui/tokens": "~0.3.1" | ||
}, | ||
@@ -35,0 +35,0 @@ "peerDependencies": { |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
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
80800
Updated@launchpad-ui/icons@~0.6.4