@elogroup-sereduc/portal-aluno-tour 1.1.1 → 1.1.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.
@@ -1,114 +0,0 @@
1
- /**
2
- * Tipos para o componente de tour
3
- */
4
-
5
- export interface TourStep {
6
- /**
7
- * Seletor CSS do elemento a ser destacado ou valor do atributo data-onboard
8
- * - Se for um seletor CSS (começa com ., #, [, etc.), será usado diretamente
9
- * - Caso contrário, será usado como valor do atributo data-onboard: [data-onboard="valor"]
10
- */
11
- element: string;
12
-
13
- /**
14
- * Texto explicativo do passo
15
- */
16
- intro: string;
17
-
18
- /**
19
- * Posição da tooltip em relação ao elemento
20
- * - "auto": Calcula automaticamente a melhor posição baseada no espaço disponível
21
- * - "top" | "bottom" | "left" | "right": Posição específica (pode ser ajustada se não houver espaço)
22
- * @default "auto"
23
- */
24
- position?: "auto" | "top" | "bottom" | "left" | "right";
25
-
26
- /**
27
- * Título do passo (opcional)
28
- */
29
- title?: string;
30
- }
31
-
32
- export interface TourOptions {
33
- /**
34
- * Label do botão "Próximo"
35
- * @default "Próximo"
36
- */
37
- nextLabel?: string;
38
-
39
- /**
40
- * Label do botão "Anterior"
41
- * @default "Anterior"
42
- */
43
- prevLabel?: string;
44
-
45
- /**
46
- * Label do botão "Pular"
47
- * @default "Pular"
48
- */
49
- skipLabel?: string;
50
-
51
- /**
52
- * Label do botão "Concluir"
53
- * @default "Concluir"
54
- */
55
- doneLabel?: string;
56
-
57
- /**
58
- * Mostrar barra de progresso
59
- * @default true
60
- */
61
- showProgress?: boolean;
62
-
63
- /**
64
- * Mostrar bullets de navegação
65
- * @default true
66
- */
67
- showBullets?: boolean;
68
-
69
- /**
70
- * Permitir fechar clicando no overlay
71
- * @default false
72
- */
73
- exitOnOverlayClick?: boolean;
74
-
75
- /**
76
- * Permitir fechar com ESC
77
- * @default true
78
- */
79
- exitOnEsc?: boolean;
80
- }
81
-
82
- export interface TourProps {
83
- /**
84
- * Se o tour está habilitado/ativo
85
- */
86
- enabled: boolean;
87
-
88
- /**
89
- * Array de passos do tour
90
- */
91
- steps: TourStep[];
92
-
93
- /**
94
- * Passo inicial (índice)
95
- * @default 0
96
- */
97
- initialStep?: number;
98
-
99
- /**
100
- * Opções de configuração do tour
101
- */
102
- options?: TourOptions;
103
-
104
- /**
105
- * Callback quando o tour é encerrado
106
- */
107
- onExit?: () => void;
108
-
109
- /**
110
- * Callback quando o tour é concluído
111
- */
112
- onComplete?: () => void;
113
- }
114
-
@@ -1,11 +0,0 @@
1
- /** @type {import('tailwindcss').Config} */
2
- const shared = require("@elogroup-sereduc/portal-aluno-tailwind-config");
3
-
4
- module.exports = {
5
- ...shared,
6
- prefix: "tour",
7
- content: [
8
- "./src/**/*.{js,ts,jsx,tsx}",
9
- ],
10
- };
11
-
package/tsconfig.json DELETED
@@ -1,23 +0,0 @@
1
- {
2
- "compilerOptions": {
3
- "target": "ES2020",
4
- "module": "ESNext",
5
- "lib": ["ES2020", "DOM", "DOM.Iterable"],
6
- "jsx": "react-jsx",
7
- "declaration": true,
8
- "declarationMap": true,
9
- "outDir": "./dist",
10
- "rootDir": "./src",
11
- "strict": true,
12
- "esModuleInterop": true,
13
- "skipLibCheck": true,
14
- "forceConsistentCasingInFileNames": true,
15
- "moduleResolution": "bundler",
16
- "resolveJsonModule": true,
17
- "isolatedModules": true,
18
- "noEmit": false
19
- },
20
- "include": ["src/**/*"],
21
- "exclude": ["node_modules", "dist"]
22
- }
23
-