academe-kit 0.11.7 → 0.12.0
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/index.d.ts
CHANGED
|
@@ -72,7 +72,7 @@ declare function CosmicStarsCanvas({ containerRef }: CosmicStarsCanvasProps): re
|
|
|
72
72
|
type FrameKind = 'sphere' | 'pentagon' | 'hexagonWings' | 'circleLaurel' | 'hexagonRibbon' | 'shieldWings' | 'pentagonCrown';
|
|
73
73
|
|
|
74
74
|
type JourneyStepSize = 'sm' | 'md';
|
|
75
|
-
type JourneyStepType = 'challenge' | 'course' | 'tutorial' | 'publication' | 'evaluation' | 'certificate';
|
|
75
|
+
type JourneyStepType = 'challenge' | 'course' | 'tutorial' | 'publication' | 'evaluation' | 'certificate' | 'redirect';
|
|
76
76
|
interface JourneyStepProps {
|
|
77
77
|
color?: string;
|
|
78
78
|
stepType?: JourneyStepType;
|
|
@@ -16263,7 +16263,7 @@ interface components {
|
|
|
16263
16263
|
* @example course
|
|
16264
16264
|
* @enum {string}
|
|
16265
16265
|
*/
|
|
16266
|
-
type: "challenge" | "course" | "tutorial" | "publication" | "evaluation" | "certificate";
|
|
16266
|
+
type: "challenge" | "course" | "tutorial" | "publication" | "evaluation" | "certificate" | "redirect";
|
|
16267
16267
|
/**
|
|
16268
16268
|
* @description Cor hex do step catalog
|
|
16269
16269
|
* @example #8030D8
|
|
@@ -16295,6 +16295,8 @@ interface components {
|
|
|
16295
16295
|
* @example Introdução a IA
|
|
16296
16296
|
*/
|
|
16297
16297
|
courseModuleName?: string | null;
|
|
16298
|
+
/** @description URL de redirecionamento desta etapa (apenas quando type=redirect) */
|
|
16299
|
+
redirectUrl?: string | null;
|
|
16298
16300
|
};
|
|
16299
16301
|
/** @description Desafio da jornada com suas etapas e status computados */
|
|
16300
16302
|
JourneyChallengeView: {
|
package/dist/index.esm.js
CHANGED
|
@@ -10739,6 +10739,7 @@ const STEP_TYPE_TO_THEME = {
|
|
|
10739
10739
|
publication: 'orange',
|
|
10740
10740
|
evaluation: 'gold',
|
|
10741
10741
|
certificate: 'green',
|
|
10742
|
+
redirect: 'blue',
|
|
10742
10743
|
};
|
|
10743
10744
|
// Espelha a página de journey do app: todo step é uma esfera 3D, diferenciada
|
|
10744
10745
|
// apenas por cor (STEP_TYPE_TO_THEME) e ícone. Os frames de polígono seguem
|
|
@@ -10750,6 +10751,7 @@ const STEP_TYPE_TO_FRAME = {
|
|
|
10750
10751
|
publication: 'sphere',
|
|
10751
10752
|
evaluation: 'sphere',
|
|
10752
10753
|
certificate: 'sphere',
|
|
10754
|
+
redirect: 'sphere',
|
|
10753
10755
|
};
|
|
10754
10756
|
const INACTIVE_THEME = {
|
|
10755
10757
|
shadow: '#0a0a0a',
|