@amboss/design-system 1.2.2 → 1.2.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 CHANGED
@@ -1,3 +1,66 @@
1
+ # v1.2.5 (Wed Apr 13 2022)
2
+
3
+ ### Release Notes
4
+
5
+ #### Fixing pa11yci js configuration file ([#463](https://github.com/amboss-mededu/amboss-design-system/pull/463))
6
+
7
+ - Fixing failing accessibility tests to find the configuration file
8
+
9
+ ---
10
+
11
+ #### 🐛 Bug Fix
12
+
13
+ - Fixing pa11yci js configuration file [#463](https://github.com/amboss-mededu/amboss-design-system/pull/463) ([@Hadh](https://github.com/Hadh))
14
+
15
+ #### Authors: 1
16
+
17
+ - Hadhemi Laouini ([@Hadh](https://github.com/Hadh))
18
+
19
+ ---
20
+
21
+ # v1.2.4 (Wed Apr 13 2022)
22
+
23
+ ### Release Notes
24
+
25
+ #### [SRCH-1413] Create `<Collapsible/>` Component in AMBOSS Design System ([#457](https://github.com/amboss-mededu/amboss-design-system/pull/457))
26
+
27
+ Put your release notes here
28
+
29
+ ---
30
+
31
+ #### 🐛 Bug Fix
32
+
33
+ - [SRCH-1413] Create `<Collapsible/>` Component in AMBOSS Design System [#457](https://github.com/amboss-mededu/amboss-design-system/pull/457) (anm@amboss.com [@Hadh](https://github.com/Hadh) [@anitamikas](https://github.com/anitamikas))
34
+
35
+ #### Authors: 3
36
+
37
+ - [@anitamikas](https://github.com/anitamikas)
38
+ - Anita (anm@amboss.com)
39
+ - Hadhemi Laouini ([@Hadh](https://github.com/Hadh))
40
+
41
+ ---
42
+
43
+ # v1.2.3 (Tue Apr 12 2022)
44
+
45
+ ### Release Notes
46
+
47
+ #### Stories URL and pa11yci configuration generation ([#456](https://github.com/amboss-mededu/amboss-design-system/pull/456))
48
+
49
+ - Generation of stories URLs
50
+ - Creation of pa11yci confuguration file
51
+
52
+ ---
53
+
54
+ #### 🐛 Bug Fix
55
+
56
+ - Stories URL and pa11yci configuration generation [#456](https://github.com/amboss-mededu/amboss-design-system/pull/456) ([@Hadh](https://github.com/Hadh))
57
+
58
+ #### Authors: 1
59
+
60
+ - Hadhemi ([@Hadh](https://github.com/Hadh))
61
+
62
+ ---
63
+
1
64
  # v1.2.2 (Thu Apr 07 2022)
2
65
 
3
66
  ### Release Notes
@@ -0,0 +1,19 @@
1
+ import React from "react";
2
+ declare type CollapsibleProps = {
3
+ header: string;
4
+ /** always visible header */
5
+ children?: React.ReactElement | React.ReactNode[];
6
+ /** content visible after spreading the component */
7
+ isExpanded: boolean | undefined;
8
+ onClick?: (e: React.FormEvent<HTMLButtonElement>) => void;
9
+ };
10
+ export declare const CollapsibleContainer: import("@emotion/styled").StyledComponent<{
11
+ theme?: import("@emotion/react").Theme;
12
+ as?: React.ElementType<any>;
13
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
+ export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
15
+ theme?: import("@emotion/react").Theme;
16
+ as?: React.ElementType<any>;
17
+ }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
+ export declare function Collapsible({ header, isExpanded, onClick, children, }: CollapsibleProps): React.ReactElement;
19
+ export {};
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@amboss/design-system",
3
- "version": "1.2.2",
3
+ "version": "1.2.5",
4
4
  "description": "the design system for AMBOSS products",
5
5
  "author": "Bagrat Gobedashvili",
6
6
  "license": "ISC",