@amboss/design-system 1.2.7 → 1.2.10

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.
@@ -1,19 +1,20 @@
1
1
  import React from "react";
2
- declare type CollapsibleProps = {
3
- header: string;
2
+ export declare type CollapsibleProps = {
4
3
  /** always visible header */
5
- children?: React.ReactElement | React.ReactNode[];
4
+ header: string;
6
5
  /** content visible after spreading the component */
6
+ children?: React.ReactElement | React.ReactNode[];
7
7
  isExpanded: boolean | undefined;
8
8
  onClick?: (e: React.FormEvent<HTMLButtonElement>) => void;
9
9
  };
10
10
  export declare const CollapsibleContainer: import("@emotion/styled").StyledComponent<{
11
+ /** always visible header */
11
12
  theme?: import("@emotion/react").Theme;
12
13
  as?: React.ElementType<any>;
13
14
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
14
15
  export declare const StyledContainer: import("@emotion/styled").StyledComponent<{
16
+ /** always visible header */
15
17
  theme?: import("@emotion/react").Theme;
16
18
  as?: React.ElementType<any>;
17
19
  }, React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
18
20
  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.7",
3
+ "version": "1.2.10",
4
4
  "description": "the design system for AMBOSS products",
5
5
  "author": "Bagrat Gobedashvili",
6
6
  "license": "ISC",