@akad/design-system
Advanced tools
Comparing version 0.1.0-beta.3 to 0.1.0-beta.4
{ | ||
"name": "@akad/design-system", | ||
"version": "0.1.0-beta.3", | ||
"version": "0.1.0-beta.4", | ||
"main": "react/react.js", | ||
@@ -5,0 +5,0 @@ "types": "react/main.d.ts", |
@@ -56,2 +56,10 @@ export declare const Color: { | ||
} | ||
export interface IdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface TestIdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface CardConfig { | ||
@@ -64,2 +72,4 @@ name: string; | ||
elevation: ElevationProps; | ||
id: IdProps; | ||
testId: TestIdProps; | ||
}; | ||
@@ -66,0 +76,0 @@ } |
import { default as PropTypes } from 'prop-types'; | ||
export interface DsCardProps { | ||
id?: string; | ||
testId?: string; | ||
children?: string | JSX.Element | JSX.Element[]; | ||
@@ -11,4 +13,6 @@ className?: string; | ||
declare const DsCard: { | ||
({ children, className, elevation, backgroundColor, borderColor, }: DsCardProps): import("react/jsx-runtime").JSX.Element; | ||
({ id, testId, children, className, elevation, backgroundColor, borderColor, }: DsCardProps): import("react/jsx-runtime").JSX.Element; | ||
propTypes: { | ||
id: PropTypes.Requireable<string>; | ||
testId: PropTypes.Requireable<string>; | ||
backgroundColor: PropTypes.Requireable<import('./Card.config').Color>; | ||
@@ -15,0 +19,0 @@ borderColor: PropTypes.Requireable<import('./Card.config').Color>; |
@@ -33,2 +33,10 @@ export declare const Size: { | ||
} | ||
export interface IdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface TestIdProps { | ||
type: StringConstructor; | ||
default: string; | ||
} | ||
export interface LoadingConfig { | ||
@@ -38,2 +46,4 @@ name: string; | ||
props: { | ||
id: IdProps; | ||
testId: TestIdProps; | ||
size: SizeProps; | ||
@@ -40,0 +50,0 @@ opacity: OpacityProps; |
import { default as PropTypes } from 'prop-types'; | ||
export interface DsLoadingProps { | ||
id?: string; | ||
testId?: string; | ||
className?: string; | ||
@@ -11,4 +13,6 @@ size?: string; | ||
declare const DsLoading: { | ||
({ className, size, opacity, fullscreen, backgroundColor, }: DsLoadingProps): import("react/jsx-runtime").JSX.Element; | ||
({ id, testId, className, size, opacity, fullscreen, backgroundColor, }: DsLoadingProps): import("react/jsx-runtime").JSX.Element; | ||
propTypes: { | ||
id: PropTypes.Requireable<string>; | ||
testId: PropTypes.Requireable<string>; | ||
size: PropTypes.Requireable<import('./Loading.config').Size>; | ||
@@ -15,0 +19,0 @@ opacity: PropTypes.Requireable<boolean>; |
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
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
Uses eval
Supply chain riskPackage uses dynamic code execution (e.g., eval()), which is a dangerous practice. This can prevent the code from running in certain environments and increases the risk that the code may contain exploits or malicious behavior.
Found 1 instance in 1 package
1652987
20465