🚀 Big News: Socket Acquires Coana to Bring Reachability Analysis to Every Appsec Team.Learn more
Socket
Book a DemoInstallSign in
Socket

@kaizen/draft-button

Package Overview
Dependencies
Maintainers
10
Versions
269
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@kaizen/draft-button - npm Package Compare versions

Comparing version

to
6.2.13

24

KaizenDraft/Button/components/GenericButton.d.ts
import React, { Ref, ComponentType, FocusEvent, MouseEvent } from "react";
export declare type CustomButtonProps = {
export type CustomButtonProps = {
id?: string;

@@ -13,3 +13,3 @@ className: string;

};
export declare type GenericProps = {
export type GenericProps = {
id?: string;

@@ -36,10 +36,10 @@ label: string;

};
export declare type AdditionalContentProps = {
export type AdditionalContentProps = {
additionalContent?: React.ReactNode;
};
declare type LabelPropsGeneric = {
type LabelPropsGeneric = {
iconPosition?: "start" | "end";
primary?: boolean;
};
declare type WorkingProps = {
type WorkingProps = {
working: true;

@@ -49,12 +49,12 @@ workingLabel: string;

};
declare type WorkingUndefinedProps = {
type WorkingUndefinedProps = {
working?: false;
};
export declare type LabelProps = LabelPropsGeneric & (WorkingProps | WorkingUndefinedProps);
export declare type IconButtonProps = GenericProps & (WorkingProps | WorkingUndefinedProps);
export declare type ButtonProps = GenericProps & LabelProps;
declare type Props = ButtonProps & {
export type LabelProps = LabelPropsGeneric & (WorkingProps | WorkingUndefinedProps);
export type IconButtonProps = GenericProps & (WorkingProps | WorkingUndefinedProps);
export type ButtonProps = GenericProps & LabelProps;
type Props = ButtonProps & {
iconButton?: boolean;
} & AdditionalContentProps;
declare type BadgeProps = {
type BadgeProps = {
text: string;

@@ -65,3 +65,3 @@ animateChange?: boolean;

};
export declare type ButtonRef = {
export type ButtonRef = {
focus: () => void;

@@ -68,0 +68,0 @@ };

{
"name": "@kaizen/draft-button",
"version": "6.2.12",
"version": "6.2.13",
"description": "The draft Button component",

@@ -32,3 +32,3 @@ "scripts": {

"dependencies": {
"@kaizen/component-library": "^16.1.9",
"@kaizen/component-library": "^16.1.10",
"@kaizen/draft-badge": "^1.13.3",

@@ -46,3 +46,3 @@ "@kaizen/loading-spinner": "^2.3.3",

},
"gitHead": "540f5c65cab39f988789abbe2ab27ebc08edb1ba"
"gitHead": "c8925f98c3c15c940a3549228572e75212a3ed31"
}

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