@amboss/design-system
Advanced tools
Comparing version 0.16.0 to 0.17.0
import React from "react"; | ||
import { IconName } from "../Icon/Icon"; | ||
import { BaseVariations } from "../../types"; | ||
declare type ButtonPrivateProps = { | ||
squareCorners?: boolean; | ||
}; | ||
declare type ButtonProps = Record<string, unknown> & { | ||
@@ -17,4 +20,6 @@ children?: React.ReactNode; | ||
rightIcon?: IconName; | ||
fullWidth?: boolean; | ||
privateProps?: ButtonPrivateProps; | ||
}; | ||
export declare function Button({ children, onClick, onFocus, onBlur, type, variant, size, disabled, as, leftIcon, rightIcon, ...rest }: ButtonProps): React.ReactElement; | ||
export declare function Button({ children, onClick, onFocus, onBlur, type, variant, size, disabled, as, leftIcon, rightIcon, fullWidth, privateProps: { squareCorners }, ...rest }: ButtonProps): React.ReactElement; | ||
export declare namespace Button { | ||
@@ -21,0 +26,0 @@ var defaultProps: Partial<ButtonProps>; |
@@ -27,3 +27,3 @@ import React from "react"; | ||
size?: "s" | "xs" | "m"; | ||
weight?: "normal" | "bold" | "inherit"; | ||
weight?: "inherit" | "normal" | "bold"; | ||
variant?: "primary" | "secondary" | "tertiary" | "light-primary"; | ||
@@ -41,3 +41,3 @@ "data-e2e-test-id"?: string; | ||
size?: "s" | "xs" | "m"; | ||
weight?: "normal" | "bold" | "inherit"; | ||
weight?: "inherit" | "normal" | "bold"; | ||
variant?: "primary" | "secondary" | "tertiary" | "light-primary"; | ||
@@ -44,0 +44,0 @@ "data-e2e-test-id"?: string; |
@@ -0,1 +1,13 @@ | ||
# v0.17.0 (Mon May 31 2021) | ||
#### 🚀 Enhancement | ||
- Add DropdownMenu [#157](https://github.com/amboss-mededu/amboss-design-system/pull/157) ([@LimChorngUan](https://github.com/LimChorngUan)) | ||
#### Authors: 1 | ||
- [@LimChorngUan](https://github.com/LimChorngUan) | ||
--- | ||
# v0.16.0 (Mon May 31 2021) | ||
@@ -2,0 +14,0 @@ |
{ | ||
"name": "@amboss/design-system", | ||
"version": "0.16.0", | ||
"version": "0.17.0", | ||
"description": "the design system for AMBOSS products", | ||
@@ -5,0 +5,0 @@ "author": "Bagrat Gobedashvili", |
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
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
Long strings
Supply chain riskContains long string literals, which may be a sign of obfuscated or packed code.
Found 1 instance in 1 package
1520731
46
3291
90