analytica-frontend-lib 1.0.57 → 1.0.59
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/dist/Card/index.d.mts +28 -1
- package/dist/Card/index.d.ts +28 -1
- package/dist/Card/index.js +403 -56
- package/dist/Card/index.js.map +1 -1
- package/dist/Card/index.mjs +412 -57
- package/dist/Card/index.mjs.map +1 -1
- package/dist/Menu/index.js +13 -6
- package/dist/Menu/index.js.map +1 -1
- package/dist/Menu/index.mjs +13 -6
- package/dist/Menu/index.mjs.map +1 -1
- package/dist/Skeleton/index.d.mts +39 -0
- package/dist/Skeleton/index.d.ts +39 -0
- package/dist/Skeleton/index.js +191 -0
- package/dist/Skeleton/index.js.map +1 -0
- package/dist/Skeleton/index.mjs +159 -0
- package/dist/Skeleton/index.mjs.map +1 -0
- package/dist/index.css +92 -2
- package/dist/index.css.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +577 -62
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +580 -63
- package/dist/index.mjs.map +1 -1
- package/dist/styles.css +92 -2
- package/dist/styles.css.map +1 -1
- package/package.json +2 -1
package/dist/Card/index.d.mts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
+
interface CardBaseProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
variant?: 'default' | 'compact' | 'minimal';
|
|
7
|
+
layout?: 'horizontal' | 'vertical';
|
|
8
|
+
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
9
|
+
minHeight?: 'none' | 'small' | 'medium' | 'large';
|
|
10
|
+
cursor?: 'default' | 'pointer';
|
|
11
|
+
}
|
|
12
|
+
declare const CardBase: react.ForwardRefExoticComponent<CardBaseProps & react.RefAttributes<HTMLDivElement>>;
|
|
4
13
|
interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
14
|
icon: ReactNode;
|
|
6
15
|
title: string;
|
|
@@ -81,5 +90,23 @@ interface CardForumProps<T = unknown> extends HTMLAttributes<HTMLDivElement> {
|
|
|
81
90
|
valueProfile?: T;
|
|
82
91
|
}
|
|
83
92
|
declare const CardForum: react.ForwardRefExoticComponent<CardForumProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
93
|
+
interface CardAudioProps extends HTMLAttributes<HTMLDivElement> {
|
|
94
|
+
src?: string;
|
|
95
|
+
title?: string;
|
|
96
|
+
onPlay?: () => void;
|
|
97
|
+
onPause?: () => void;
|
|
98
|
+
onEnded?: () => void;
|
|
99
|
+
onAudioTimeUpdate?: (currentTime: number, duration: number) => void;
|
|
100
|
+
loop?: boolean;
|
|
101
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
102
|
+
tracks?: Array<{
|
|
103
|
+
kind: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
104
|
+
src: string;
|
|
105
|
+
srcLang: string;
|
|
106
|
+
label: string;
|
|
107
|
+
default?: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
}
|
|
110
|
+
declare const CardAudio: react.ForwardRefExoticComponent<CardAudioProps & react.RefAttributes<HTMLDivElement>>;
|
|
84
111
|
|
|
85
|
-
export { CardActivesResults, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };
|
|
112
|
+
export { CardActivesResults, CardAudio, CardBase, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };
|
package/dist/Card/index.d.ts
CHANGED
|
@@ -1,6 +1,15 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
2
|
import { HTMLAttributes, ReactNode } from 'react';
|
|
3
3
|
|
|
4
|
+
interface CardBaseProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
|
+
children: ReactNode;
|
|
6
|
+
variant?: 'default' | 'compact' | 'minimal';
|
|
7
|
+
layout?: 'horizontal' | 'vertical';
|
|
8
|
+
padding?: 'none' | 'small' | 'medium' | 'large';
|
|
9
|
+
minHeight?: 'none' | 'small' | 'medium' | 'large';
|
|
10
|
+
cursor?: 'default' | 'pointer';
|
|
11
|
+
}
|
|
12
|
+
declare const CardBase: react.ForwardRefExoticComponent<CardBaseProps & react.RefAttributes<HTMLDivElement>>;
|
|
4
13
|
interface CardActivesResultsProps extends HTMLAttributes<HTMLDivElement> {
|
|
5
14
|
icon: ReactNode;
|
|
6
15
|
title: string;
|
|
@@ -81,5 +90,23 @@ interface CardForumProps<T = unknown> extends HTMLAttributes<HTMLDivElement> {
|
|
|
81
90
|
valueProfile?: T;
|
|
82
91
|
}
|
|
83
92
|
declare const CardForum: react.ForwardRefExoticComponent<CardForumProps<unknown> & react.RefAttributes<HTMLDivElement>>;
|
|
93
|
+
interface CardAudioProps extends HTMLAttributes<HTMLDivElement> {
|
|
94
|
+
src?: string;
|
|
95
|
+
title?: string;
|
|
96
|
+
onPlay?: () => void;
|
|
97
|
+
onPause?: () => void;
|
|
98
|
+
onEnded?: () => void;
|
|
99
|
+
onAudioTimeUpdate?: (currentTime: number, duration: number) => void;
|
|
100
|
+
loop?: boolean;
|
|
101
|
+
preload?: 'none' | 'metadata' | 'auto';
|
|
102
|
+
tracks?: Array<{
|
|
103
|
+
kind: 'subtitles' | 'captions' | 'descriptions' | 'chapters' | 'metadata';
|
|
104
|
+
src: string;
|
|
105
|
+
srcLang: string;
|
|
106
|
+
label: string;
|
|
107
|
+
default?: boolean;
|
|
108
|
+
}>;
|
|
109
|
+
}
|
|
110
|
+
declare const CardAudio: react.ForwardRefExoticComponent<CardAudioProps & react.RefAttributes<HTMLDivElement>>;
|
|
84
111
|
|
|
85
|
-
export { CardActivesResults, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };
|
|
112
|
+
export { CardActivesResults, CardAudio, CardBase, CardForum, CardPerformance, CardProgress, CardQuestions, CardResults, CardSettings, CardStatus, CardSupport, CardTopic };
|