@launchpad-ui/button
Advanced tools
Comparing version 0.6.1 to 0.6.2
@@ -1,13 +0,10 @@ | ||
import type { ReactNode } from 'react'; | ||
import type { HTMLAttributes } from 'react'; | ||
import './styles/ButtonGroup.css'; | ||
import { ButtonGroupSpacing } from './types'; | ||
declare type ButtonGroupProps = { | ||
declare type ButtonGroupProps = HTMLAttributes<HTMLDivElement> & { | ||
spacing?: ButtonGroupSpacing; | ||
className?: string; | ||
testId?: string; | ||
children: ReactNode; | ||
}; | ||
declare const ButtonGroup: ({ spacing, className, testId, children, ...rest }: ButtonGroupProps) => JSX.Element; | ||
declare const ButtonGroup: ({ spacing, className, children, ...rest }: ButtonGroupProps) => JSX.Element; | ||
export { ButtonGroup }; | ||
export type { ButtonGroupProps }; | ||
//# sourceMappingURL=ButtonGroup.d.ts.map |
@@ -12,3 +12,2 @@ import type { ButtonHTMLAttributes, ReactElement } from 'react'; | ||
size?: IconButtonSize; | ||
disabled?: boolean; | ||
'aria-label': string; | ||
@@ -25,3 +24,2 @@ asChild?: boolean; | ||
size?: IconButtonSize | undefined; | ||
disabled?: boolean | undefined; | ||
'aria-label': string; | ||
@@ -28,0 +26,0 @@ asChild?: boolean | undefined; |
@@ -108,3 +108,2 @@ import './style.css'; | ||
className, | ||
testId, | ||
children, | ||
@@ -116,3 +115,2 @@ ...rest | ||
className: classes, | ||
"data-test-id": testId, | ||
...rest, | ||
@@ -119,0 +117,0 @@ children |
@@ -110,3 +110,2 @@ require('./style.css'); | ||
className, | ||
testId, | ||
children, | ||
@@ -118,3 +117,2 @@ ...rest | ||
className: classes, | ||
"data-test-id": testId, | ||
...rest, | ||
@@ -121,0 +119,0 @@ children |
{ | ||
"name": "@launchpad-ui/button", | ||
"version": "0.6.1", | ||
"version": "0.6.2", | ||
"status": "beta", | ||
@@ -5,0 +5,0 @@ "publishConfig": { |
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
76690
1225