@amboss/design-system 1.4.2 → 1.4.5
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +77 -0
- package/build/build-tokens/assets/icons.json +3 -0
- package/build/build-tokens/assets/icons16.json +3 -0
- package/build/index.js +2 -17
- package/build/index.js.LICENSE.txt +8 -0
- package/build/index.js.map +1 -1
- package/build/src/components/RoundButton/RoundButton.d.ts +11 -0
- package/build/src/index.d.ts +2 -1
- package/package.json +13 -8
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
import { IconName } from "../Icon/Icon";
|
|
3
|
+
import { ButtonProps } from "../Button/Button";
|
|
4
|
+
export declare type RoundButtonProps = Pick<ButtonProps, "variant" | "type" | "disabled" | "onClick" | "onFocus" | "onBlur" | "as" | "data-e2e-test-id"> & {
|
|
5
|
+
/** The centered icon to be displayed. */
|
|
6
|
+
icon: IconName;
|
|
7
|
+
};
|
|
8
|
+
export declare function RoundButton({ onClick, onFocus, onBlur, type, disabled, as, icon, "data-e2e-test-id": dataE2eTestId, ...rest }: RoundButtonProps): React.ReactElement;
|
|
9
|
+
export declare namespace RoundButton {
|
|
10
|
+
var defaultProps: Partial<RoundButtonProps>;
|
|
11
|
+
}
|
package/build/src/index.d.ts
CHANGED
|
@@ -35,4 +35,5 @@ export { SegmentedProgressBar } from "./components/SegmentedProgressBar/Segmente
|
|
|
35
35
|
export { ProgressBar } from "./components/ProgressBar/ProgressBar";
|
|
36
36
|
export { Container } from "./components/Container/Container";
|
|
37
37
|
export { PasswordInput } from "./components/Form/PasswordInput/PasswordInput";
|
|
38
|
-
export { Collapsible, CollapsibleHeader } from "./components/Collapsible/Collapsible";
|
|
38
|
+
export { Collapsible, CollapsibleHeader, } from "./components/Collapsible/Collapsible";
|
|
39
|
+
export { RoundButton } from "./components/RoundButton/RoundButton";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@amboss/design-system",
|
|
3
|
-
"version": "1.4.
|
|
3
|
+
"version": "1.4.5",
|
|
4
4
|
"description": "the design system for AMBOSS products",
|
|
5
5
|
"author": "Bagrat Gobedashvili",
|
|
6
6
|
"license": "ISC",
|
|
@@ -77,6 +77,8 @@
|
|
|
77
77
|
"@emotion/is-prop-valid": "^1.1.1",
|
|
78
78
|
"@emotion/react": "^11.4.1",
|
|
79
79
|
"@emotion/styled": "^11.3.0",
|
|
80
|
+
"@storybook/addon-docs": "^6.5.9",
|
|
81
|
+
"emotion-theming": "^11.0.0",
|
|
80
82
|
"react": "^17.0.1",
|
|
81
83
|
"react-dom": "^17.0.1",
|
|
82
84
|
"react-keyed-flatten-children": "^1.3.0",
|
|
@@ -92,12 +94,14 @@
|
|
|
92
94
|
"@babel/preset-typescript": "^7.15.0",
|
|
93
95
|
"@emotion/babel-plugin": "^11.3.0",
|
|
94
96
|
"@geometricpanda/storybook-addon-badges": "0.2.1",
|
|
95
|
-
"@storybook/addon-a11y": "^6.
|
|
96
|
-
"@storybook/addon-essentials": "^6.
|
|
97
|
-
"@storybook/addon-links": "^6.
|
|
98
|
-
"@storybook/addons": "^6.
|
|
99
|
-
"@storybook/
|
|
100
|
-
"@storybook/
|
|
97
|
+
"@storybook/addon-a11y": "^6.5.9",
|
|
98
|
+
"@storybook/addon-essentials": "^6.5.9",
|
|
99
|
+
"@storybook/addon-links": "^6.5.9",
|
|
100
|
+
"@storybook/addons": "^6.5.9",
|
|
101
|
+
"@storybook/builder-webpack5": "^6.5.9",
|
|
102
|
+
"@storybook/manager-webpack5": "^6.5.9",
|
|
103
|
+
"@storybook/react": "^6.5.9",
|
|
104
|
+
"@storybook/theming": "^6.5.9",
|
|
101
105
|
"@testing-library/jest-dom": "^5.11.5",
|
|
102
106
|
"@testing-library/react": "^11.1.0",
|
|
103
107
|
"@testing-library/user-event": "^13.0.1",
|
|
@@ -123,6 +127,7 @@
|
|
|
123
127
|
"eslint-plugin-react": "^7.20.0",
|
|
124
128
|
"eslint-plugin-react-hooks": "^4.0.4",
|
|
125
129
|
"feather-icons": "^4.28.0",
|
|
130
|
+
"html-webpack-plugin": "^5.5.0",
|
|
126
131
|
"http-server": "^0.12.3",
|
|
127
132
|
"husky": "^4.3.6",
|
|
128
133
|
"identity-obj-proxy": "^3.0.0",
|
|
@@ -136,7 +141,7 @@
|
|
|
136
141
|
"style-dictionary": "^3.0.1",
|
|
137
142
|
"ts-jest": "^26.4.3",
|
|
138
143
|
"typescript": "^4.1.2",
|
|
139
|
-
"webpack": "^
|
|
144
|
+
"webpack": "^5.73.0",
|
|
140
145
|
"webpack-cli": "^4.5.0"
|
|
141
146
|
},
|
|
142
147
|
"homepage": "https://github.com/amboss-mededu/amboss-design-system#readme"
|