@amboss/design-system
Advanced tools
Comparing version 0.10.0 to 0.11.0
@@ -5,4 +5,4 @@ import React from "react"; | ||
text: string; | ||
color: `green` | `blue` | `yellow` | `brand` | `purple` | `red`; | ||
color?: `green` | `blue` | `yellow` | `brand` | `purple` | `red`; | ||
}; | ||
export declare function Badge({ text, color }: BadgeProps): React.ReactElement; |
import React from "react"; | ||
import { MQ, SpaceSizes } from "../../types"; | ||
import { HorizontalAlignment, MQ, SpaceSizes } from "../../types"; | ||
declare type StackProps = { | ||
@@ -8,5 +8,9 @@ /** Represents the vertical between the Stack's children | ||
space?: MQ<SpaceSizes> | SpaceSizes; | ||
/** Represents elements' horizontal alignment | ||
* specify [small screen alignItems, medium screen alignItems, large screen alignItems] or one alignItems for all screen sizes | ||
*/ | ||
alignItems?: MQ<HorizontalAlignment> | HorizontalAlignment; | ||
children: React.ReactNode[] | React.ReactElement; | ||
}; | ||
export declare function Stack({ children, space }: StackProps): React.ReactElement; | ||
export declare function Stack({ children, space, alignItems, }: StackProps): React.ReactElement; | ||
export declare namespace Stack { | ||
@@ -13,0 +17,0 @@ var defaultProps: Partial<StackProps>; |
@@ -23,1 +23,2 @@ export { Card } from "./components/Card/Card"; | ||
export { Badge } from "./components/Badge/Badge"; | ||
export { SearchResult } from "./components/SearchResult/SearchResult"; |
@@ -1,9 +0,18 @@ | ||
# v0.10.0 (Thu Apr 22 2021) | ||
# v0.11.0 (Mon Apr 26 2021) | ||
### Release Notes | ||
#### fix button flex wrap bug ([#169](https://github.com/amboss-mededu/amboss-design-system/pull/169)) | ||
#### [SRCH-581] Add <SearchResultItem /> component ([#156](https://github.com/amboss-mededu/amboss-design-system/pull/156)) | ||
### PR-Server Link | ||
- [Design system](https://SRCH-581-search-result-item.design.de.qa.medicuja.de) | ||
#### Add pipeline docs ([#168](https://github.com/amboss-mededu/amboss-design-system/pull/168)) | ||
#### create separate overview stories ([#171](https://github.com/amboss-mededu/amboss-design-system/pull/171)) | ||
--- | ||
@@ -13,6 +22,17 @@ | ||
- fix button flex wrap bug [#169](https://github.com/amboss-mededu/amboss-design-system/pull/169) ([@abud4646](https://github.com/abud4646)) | ||
- [SRCH-581] Add <SearchResultItem /> component [#156](https://github.com/amboss-mededu/amboss-design-system/pull/156) ([@clbagrat](https://github.com/clbagrat) [@jaseeva](https://github.com/jaseeva) [@webforte](https://github.com/webforte)) | ||
#### Authors: 1 | ||
#### 🐛 Bug Fix | ||
- Abdulrahman Davutoglu ([@abud4646](https://github.com/abud4646)) | ||
- Add pipeline docs [#168](https://github.com/amboss-mededu/amboss-design-system/pull/168) ([@OlfaKaroui](https://github.com/OlfaKaroui)) | ||
#### 📝 Documentation | ||
- create separate overview stories [#171](https://github.com/amboss-mededu/amboss-design-system/pull/171) ([@clbagrat](https://github.com/clbagrat)) | ||
#### Authors: 4 | ||
- Gobedashvili Bagrat ([@clbagrat](https://github.com/clbagrat)) | ||
- Julia ([@jaseeva](https://github.com/jaseeva)) | ||
- Konstantin ([@webforte](https://github.com/webforte)) | ||
- Olfa Karoui ([@OlfaKaroui](https://github.com/OlfaKaroui)) |
{ | ||
"name": "@amboss/design-system", | ||
"version": "0.10.0", | ||
"version": "0.11.0", | ||
"description": "the design system for AMBOSS products", | ||
@@ -48,4 +48,4 @@ "author": "Bagrat Gobedashvili", | ||
"static": "http-server storybook-static/ -p 6006", | ||
"storybook": "start-storybook -p 6006", | ||
"build-storybook": "npm run prebuild && build-storybook", | ||
"storybook": "start-storybook -s ./static -p 6006", | ||
"build-storybook": "npm run prebuild && build-storybook -s ./static", | ||
"type-styles": "tsm src --banner '// Autogenerated.\n const styles: { [className: string]: string }; export default styles;\n'", | ||
@@ -132,3 +132,3 @@ "type-styles:watch": "tsm src --banner '// Autogenerated.\n const styles: { [className: string]: string }; export default styles;\n' --watch", | ||
"slackify-markdown": "^4.1.0", | ||
"storybook-addon-multi-theme": "^0.0.6", | ||
"storybook-addon-multi-theme": "^0.0.7", | ||
"style-dictionary": "^2.10.2", | ||
@@ -135,0 +135,0 @@ "style-loader": "^2.0.0", |
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
1316277
37
2785
65