@akad/design-system
Advanced tools
Comparing version 0.2.0-beta.4 to 0.2.0-beta.5
{ | ||
"name": "@akad/design-system", | ||
"version": "0.2.0-beta.4", | ||
"version": "0.2.0-beta.5", | ||
"main": "react/react.js", | ||
@@ -5,0 +5,0 @@ "types": "react/main.d.ts", |
@@ -48,2 +48,6 @@ import { ReactNode } from 'react'; | ||
} | ||
export interface TestIdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface DsNotificationProps { | ||
@@ -61,2 +65,3 @@ className?: string; | ||
progressBar?: boolean; | ||
testId?: string; | ||
handleClose?: (event: React.MouseEvent) => void; | ||
@@ -76,2 +81,3 @@ } | ||
progressBar: ProgressBarProps; | ||
testId: TestIdProps; | ||
}; | ||
@@ -78,0 +84,0 @@ } |
import { DsNotificationProps } from './Notification.config'; | ||
declare const DsNotification: { | ||
({ className, type, variant, id, children, message, autoClose, autoCloseTimer, dismissible, elevation, progressBar, handleClose, }: DsNotificationProps): import("react/jsx-runtime").JSX.Element | null; | ||
({ className, type, variant, id, children, message, autoClose, autoCloseTimer, dismissible, elevation, progressBar, handleClose, testId, }: DsNotificationProps): import("react/jsx-runtime").JSX.Element | null; | ||
displayName: string; | ||
}; | ||
export default DsNotification; |
@@ -20,2 +20,3 @@ import { DsNotificationProps } from '.'; | ||
progressBar?: boolean | undefined; | ||
testId?: string | undefined; | ||
handleClose?: ((event: import('react').MouseEvent<Element, MouseEvent>) => void) | undefined; | ||
@@ -38,2 +39,3 @@ }; | ||
progressBar?: boolean | undefined; | ||
testId?: string | undefined; | ||
handleClose?: ((event: import('react').MouseEvent<Element, MouseEvent>) => void) | undefined; | ||
@@ -56,2 +58,3 @@ }; | ||
progressBar?: boolean | undefined; | ||
testId?: string | undefined; | ||
handleClose?: ((event: import('react').MouseEvent<Element, MouseEvent>) => void) | undefined; | ||
@@ -74,2 +77,3 @@ }; | ||
progressBar?: boolean | undefined; | ||
testId?: string | undefined; | ||
handleClose?: ((event: import('react').MouseEvent<Element, MouseEvent>) => void) | undefined; | ||
@@ -92,4 +96,5 @@ }; | ||
progressBar?: boolean | undefined; | ||
testId?: string | undefined; | ||
handleClose?: ((event: import('react').MouseEvent<Element, MouseEvent>) => void) | undefined; | ||
}; | ||
}; |
@@ -17,2 +17,6 @@ export interface ValidationItem { | ||
} | ||
export interface TestIdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface PasswordConfirmationConfig { | ||
@@ -25,2 +29,3 @@ name: string; | ||
instructionLabel: InstructionLabelProps; | ||
testId: TestIdProps; | ||
}; | ||
@@ -27,0 +32,0 @@ } |
@@ -21,9 +21,11 @@ import { default as PropTypes } from 'prop-types'; | ||
instructionLabel: string; | ||
testId?: string; | ||
} | ||
declare const DsPasswordConfirmation: { | ||
({ onChange, validationList, instructionLabel, }: DsPasswordConfirmationProps): import("react/jsx-runtime").JSX.Element; | ||
({ onChange, validationList, instructionLabel, testId, }: DsPasswordConfirmationProps): import("react/jsx-runtime").JSX.Element; | ||
propTypes: { | ||
onChange: PropTypes.Requireable<(...args: any[]) => any>; | ||
validationList: PropTypes.Validator<any[]>; | ||
validationList: PropTypes.Requireable<any[]>; | ||
instructionLabel: PropTypes.Requireable<string>; | ||
testId: PropTypes.Requireable<string>; | ||
}; | ||
@@ -30,0 +32,0 @@ displayName: string; |
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
1316802
14492