ies2-aulapp-ui-kit 0.2.0 → 0.2.3
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/components/ui/resource-badge.d.ts +3 -10
- package/dist/index.cjs.js +9 -9
- package/dist/index.es.js +5477 -5475
- package/dist/lib/i18n/hooks/useI18n.d.ts +1 -1
- package/dist/lib/i18n/locales/en-US/resource-badge.json.d.ts +14 -0
- package/dist/lib/i18n/locales/es/resource-badge.json.d.ts +14 -0
- package/dist/lib/i18n/locales/pt-BR/resource-badge.json.d.ts +14 -0
- package/package.json +1 -1
|
@@ -7,31 +7,24 @@ declare const APPEARANCE_LABELS: {
|
|
|
7
7
|
export type ResourceBadgeAppearance = keyof typeof APPEARANCE_LABELS;
|
|
8
8
|
declare const RESOURCE_TYPES: {
|
|
9
9
|
conteudo: {
|
|
10
|
-
label: string;
|
|
11
10
|
Icon: import('iconsax-react').Icon;
|
|
12
11
|
};
|
|
13
12
|
avaliacao: {
|
|
14
|
-
label: string;
|
|
15
13
|
Icon: import('iconsax-react').Icon;
|
|
16
14
|
};
|
|
17
15
|
lista: {
|
|
18
|
-
label: string;
|
|
19
16
|
Icon: import('iconsax-react').Icon;
|
|
20
17
|
};
|
|
21
18
|
gamificada: {
|
|
22
|
-
label: string;
|
|
23
19
|
Icon: import('iconsax-react').Icon;
|
|
24
20
|
};
|
|
25
21
|
simulado: {
|
|
26
|
-
label: string;
|
|
27
22
|
Icon: import('iconsax-react').Icon;
|
|
28
23
|
};
|
|
29
24
|
material: {
|
|
30
|
-
label: string;
|
|
31
25
|
Icon: import('iconsax-react').Icon;
|
|
32
26
|
};
|
|
33
27
|
concluido: {
|
|
34
|
-
label: string;
|
|
35
28
|
Icon: import('iconsax-react').Icon;
|
|
36
29
|
onlyAppearances: "ghost"[];
|
|
37
30
|
};
|
|
@@ -40,11 +33,11 @@ export type ResourceBadgeVariant = keyof typeof RESOURCE_TYPES;
|
|
|
40
33
|
export interface ResourceBadgeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
41
34
|
variant: ResourceBadgeVariant;
|
|
42
35
|
appearance?: ResourceBadgeAppearance;
|
|
36
|
+
locale?: string;
|
|
43
37
|
}
|
|
44
|
-
export declare function ResourceBadge({ variant, appearance, className, style, ...props }: ResourceBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
45
|
-
export declare const
|
|
38
|
+
export declare function ResourceBadge({ variant, appearance, className, style, locale, ...props }: ResourceBadgeProps): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
export declare const resourceBadgeVariants: {
|
|
46
40
|
variant: "conteudo" | "avaliacao" | "lista" | "gamificada" | "simulado" | "material" | "concluido";
|
|
47
|
-
label: string;
|
|
48
41
|
onlyAppearances: ("ghost" | "solid" | "white" | "icon-only")[] | undefined;
|
|
49
42
|
}[];
|
|
50
43
|
export declare const resourceBadgeAppearances: {
|