@teselagen/ui 0.4.9 → 0.4.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,11 +1,12 @@
1
- export default class CollapsibleCard extends React.Component<any, any, any> {
2
- constructor(props: any);
3
- state: {
4
- open: boolean;
5
- };
6
- renderOpenCard(): any;
7
- toggleCardInfo: () => void;
8
- getIsOpen: () => any;
9
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
10
- }
11
- import React from '../../../../node_modules/react';
1
+ export default function CollapsibleCard({ title, icon, openTitleElements, noCard, className, style, children, initialClosed, toggle, isOpen }: {
2
+ title: any;
3
+ icon: any;
4
+ openTitleElements: any;
5
+ noCard?: boolean | undefined;
6
+ className: any;
7
+ style: any;
8
+ children: any;
9
+ initialClosed?: boolean | undefined;
10
+ toggle: any;
11
+ isOpen: any;
12
+ }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
@@ -1,6 +1,19 @@
1
- export default class InfoHelper extends React.Component<any, any, any> {
2
- constructor(props: any);
3
- constructor(props: any, context: any);
4
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
5
- }
6
- import React from '../../../../node_modules/react';
1
+ declare function _default({ className, content, children, icon, isPopover, isButton, size, isInline, clickable, color, noMarginTop, popoverProps, disabled, displayToSide, style, ...rest }: {
2
+ [x: string]: any;
3
+ className: any;
4
+ content: any;
5
+ children: any;
6
+ icon?: string | undefined;
7
+ isPopover: any;
8
+ isButton: any;
9
+ size: any;
10
+ isInline: any;
11
+ clickable: any;
12
+ color: any;
13
+ noMarginTop: any;
14
+ popoverProps?: {} | undefined;
15
+ disabled: any;
16
+ displayToSide: any;
17
+ style: any;
18
+ }): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
19
+ export default _default;
@@ -1,12 +1,13 @@
1
- export default class Loading extends React.Component<any, any, any> {
2
- constructor(props: any);
3
- constructor(props: any, context: any);
4
- state: {
5
- longerThan200MS: boolean;
6
- };
7
- componentDidMount(): void;
8
- timeoutId: NodeJS.Timeout | undefined;
9
- componentWillUnmount(): void;
10
- render(): any;
11
- }
12
- import React from '../../../../node_modules/react';
1
+ export default Loading;
2
+ declare function Loading({ loading, style: userStyle, className, containerStyle, children, displayInstantly, bounce, withTimeout, inDialog, centeredInPage }: {
3
+ loading: any;
4
+ style: any;
5
+ className: any;
6
+ containerStyle?: {} | undefined;
7
+ children: any;
8
+ displayInstantly?: boolean | undefined;
9
+ bounce?: boolean | undefined;
10
+ withTimeout: any;
11
+ inDialog: any;
12
+ centeredInPage: any;
13
+ }): any;
@@ -1,12 +1,3 @@
1
1
  export { default as TimelineEvent } from "./TimelineEvent";
2
2
  export default Timeline;
3
- declare class Timeline extends React.Component<any, any, any> {
4
- static propTypes: {
5
- children: PropTypes.Requireable<(PropTypes.ReactElementLike | null | undefined)[]>;
6
- };
7
- constructor(props: any);
8
- constructor(props: any, context: any);
9
- render(): import('../../../../node_modules/react/jsx-runtime').JSX.Element;
10
- }
11
- import React from '../../../../node_modules/react';
12
- import PropTypes from "prop-types";
3
+ declare function Timeline(props: any): import('../../../../node_modules/react/jsx-runtime').JSX.Element;