analytica-frontend-lib 1.0.45 → 1.0.46

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.
@@ -0,0 +1,62 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
5
+ icon: ReactNode;
6
+ title: string;
7
+ subTitle: string;
8
+ header: string;
9
+ description?: string;
10
+ extended?: boolean;
11
+ action?: 'warning' | 'success' | 'error' | 'info';
12
+ }
13
+ declare const CardActivesResults: react.ForwardRefExoticComponent<CardActivesResultsProps & react.RefAttributes<HTMLDivElement>>;
14
+ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
15
+ header: string;
16
+ state?: 'done' | 'undone';
17
+ onClickButton?: (valueButton?: unknown) => void;
18
+ valueButton?: unknown;
19
+ }
20
+ declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
21
+ interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
22
+ header: string;
23
+ subhead?: string;
24
+ initialDate?: string;
25
+ endDate?: string;
26
+ progress?: number;
27
+ direction?: 'horizontal' | 'vertical';
28
+ icon: ReactNode;
29
+ color?: string;
30
+ }
31
+ declare const CardProgress: react.ForwardRefExoticComponent<CardProgressProps & react.RefAttributes<HTMLDivElement>>;
32
+ interface CardTopicProps extends HTMLAttributes<HTMLDivElement> {
33
+ header: string;
34
+ subHead?: string[];
35
+ progress: number;
36
+ showPercentage?: boolean;
37
+ }
38
+ declare const CardTopic: react.ForwardRefExoticComponent<CardTopicProps & react.RefAttributes<HTMLDivElement>>;
39
+ interface CardPerformanceProps extends HTMLAttributes<HTMLDivElement> {
40
+ header: string;
41
+ description?: string;
42
+ progress?: number;
43
+ onClickButton?: (valueButton?: unknown) => void;
44
+ valueButton?: unknown;
45
+ }
46
+ declare const CardPerformance: react.ForwardRefExoticComponent<CardPerformanceProps & react.RefAttributes<HTMLDivElement>>;
47
+ interface CardResultsProps extends HTMLAttributes<HTMLDivElement> {
48
+ header: string;
49
+ icon: ReactNode;
50
+ correct_answers: number;
51
+ incorrect_answers: number;
52
+ direction?: 'row' | 'col';
53
+ color?: string;
54
+ }
55
+ declare const CardResults: react.ForwardRefExoticComponent<CardResultsProps & react.RefAttributes<HTMLDivElement>>;
56
+ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
57
+ header: string;
58
+ status: 'correct' | 'incorrect';
59
+ }
60
+ declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
61
+
62
+ export { CardActivesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardStatus, CardTopic };
@@ -0,0 +1,62 @@
1
+ import * as react from 'react';
2
+ import { HTMLAttributes, ReactNode } from 'react';
3
+
4
+ interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
5
+ icon: ReactNode;
6
+ title: string;
7
+ subTitle: string;
8
+ header: string;
9
+ description?: string;
10
+ extended?: boolean;
11
+ action?: 'warning' | 'success' | 'error' | 'info';
12
+ }
13
+ declare const CardActivesResults: react.ForwardRefExoticComponent<CardActivesResultsProps & react.RefAttributes<HTMLDivElement>>;
14
+ interface CardQuestionProps extends HTMLAttributes<HTMLDivElement> {
15
+ header: string;
16
+ state?: 'done' | 'undone';
17
+ onClickButton?: (valueButton?: unknown) => void;
18
+ valueButton?: unknown;
19
+ }
20
+ declare const CardQuestions: react.ForwardRefExoticComponent<CardQuestionProps & react.RefAttributes<HTMLDivElement>>;
21
+ interface CardProgressProps extends HTMLAttributes<HTMLDivElement> {
22
+ header: string;
23
+ subhead?: string;
24
+ initialDate?: string;
25
+ endDate?: string;
26
+ progress?: number;
27
+ direction?: 'horizontal' | 'vertical';
28
+ icon: ReactNode;
29
+ color?: string;
30
+ }
31
+ declare const CardProgress: react.ForwardRefExoticComponent<CardProgressProps & react.RefAttributes<HTMLDivElement>>;
32
+ interface CardTopicProps extends HTMLAttributes<HTMLDivElement> {
33
+ header: string;
34
+ subHead?: string[];
35
+ progress: number;
36
+ showPercentage?: boolean;
37
+ }
38
+ declare const CardTopic: react.ForwardRefExoticComponent<CardTopicProps & react.RefAttributes<HTMLDivElement>>;
39
+ interface CardPerformanceProps extends HTMLAttributes<HTMLDivElement> {
40
+ header: string;
41
+ description?: string;
42
+ progress?: number;
43
+ onClickButton?: (valueButton?: unknown) => void;
44
+ valueButton?: unknown;
45
+ }
46
+ declare const CardPerformance: react.ForwardRefExoticComponent<CardPerformanceProps & react.RefAttributes<HTMLDivElement>>;
47
+ interface CardResultsProps extends HTMLAttributes<HTMLDivElement> {
48
+ header: string;
49
+ icon: ReactNode;
50
+ correct_answers: number;
51
+ incorrect_answers: number;
52
+ direction?: 'row' | 'col';
53
+ color?: string;
54
+ }
55
+ declare const CardResults: react.ForwardRefExoticComponent<CardResultsProps & react.RefAttributes<HTMLDivElement>>;
56
+ interface CardStatusProps extends HTMLAttributes<HTMLDivElement> {
57
+ header: string;
58
+ status: 'correct' | 'incorrect';
59
+ }
60
+ declare const CardStatus: react.ForwardRefExoticComponent<CardStatusProps & react.RefAttributes<HTMLDivElement>>;
61
+
62
+ export { CardActivesResults, CardPerformance, CardProgress, CardQuestions, CardResults, CardStatus, CardTopic };