@gitpagedocs/cli 0.0.11 → 0.0.13

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.
@@ -13,6 +13,25 @@ export function getDefaultSiteConfig(projectLink, languageToggles = buildLanguag
13
13
  HideThemeSelector: false,
14
14
  ThemeDefault: "aurora-dark",
15
15
  ThemeModeDefault: "dark",
16
+ backToTop: {
17
+ enabled: true,
18
+ minPageHeightViewports: 3,
19
+ },
20
+ backgroundEffects: {
21
+ enabled: true,
22
+ overrides: { accessibility: { showPauseButton: true } },
23
+ themes: {},
24
+ },
25
+ IconBackgroundAnimationPauseReactIcones: true,
26
+ IconBackgroundAnimationPauseReactIconesTag: "FiPause",
27
+ IconBackgroundAnimationPauseReactIconesTagColorDark: "currentColor",
28
+ IconBackgroundAnimationPauseReactIconesTagColorLight: "currentColor",
29
+ IconBackgroundAnimationPauseReactIconesTagSize: "22px",
30
+ IconBackgroundAnimationResumeReactIcones: true,
31
+ IconBackgroundAnimationResumeReactIconesTag: "FiPlay",
32
+ IconBackgroundAnimationResumeReactIconesTagColorDark: "currentColor",
33
+ IconBackgroundAnimationResumeReactIconesTagColorLight: "currentColor",
34
+ IconBackgroundAnimationResumeReactIconesTagSize: "22px",
16
35
  ActiveNavigation: true,
17
36
  IconQuickNavigationReactIcones: true,
18
37
  IconQuickNavigationReactIconesTag: "LuSearch",
@@ -48,6 +67,11 @@ export function getDefaultSiteConfig(projectLink, languageToggles = buildLanguag
48
67
  IconThemeSelectorReactIconesTagColorDark: "currentColor",
49
68
  IconThemeSelectorReactIconesTagColorLight: "currentColor",
50
69
  IconThemeSelectorReactIconesTagSize: "22px",
70
+ IconVersionSelectorReactIcones: true,
71
+ IconVersionSelectorReactIconesTag: "LuGitBranch",
72
+ IconVersionSelectorReactIconesTagColorDark: "currentColor",
73
+ IconVersionSelectorReactIconesTagColorLight: "currentColor",
74
+ IconVersionSelectorReactIconesTagSize: "22px",
51
75
  IconFocusModeReactIcones: true,
52
76
  IconFocusModeReactIconesTag: "LuBookOpen",
53
77
  IconFocusModeReactIconesTagColorDark: "currentColor",
@@ -1,5 +1,6 @@
1
1
  export const defaultLangMenu = {
2
2
  pt: {
3
+ backToTop: "Voltar ao topo",
3
4
  titleHeaderMenuPdf: "PDF",
4
5
  PdfDownload: "Baixar PDF",
5
6
  PdfOpenInNewTab: "Abrir PDF em nova aba",
@@ -13,6 +14,8 @@ export const defaultLangMenu = {
13
14
  footerLabel: "Projeto",
14
15
  menuOpen: "Menu",
15
16
  menuClose: "Fechar",
17
+ backgroundAnimationPause: "Pausar animação de fundo",
18
+ backgroundAnimationResume: "Continuar animação de fundo",
16
19
  showMenu: "Abrir menu",
17
20
  mdCopyLabel: "Copiar Markdown",
18
21
  mdCopiedLabel: "Copiado!",
@@ -169,6 +172,7 @@ export const defaultLangMenu = {
169
172
  docsAccessBlockCancelBtn: "Cancelar",
170
173
  },
171
174
  en: {
175
+ backToTop: "Back to top",
172
176
  titleHeaderMenuPdf: "PDF",
173
177
  PdfDownload: "Download PDF",
174
178
  PdfOpenInNewTab: "Open PDF in a new tab",
@@ -182,6 +186,8 @@ export const defaultLangMenu = {
182
186
  footerLabel: "Project",
183
187
  menuOpen: "Menu",
184
188
  menuClose: "Close",
189
+ backgroundAnimationPause: "Pause background animation",
190
+ backgroundAnimationResume: "Resume background animation",
185
191
  showMenu: "Show menu",
186
192
  mdCopyLabel: "Copy markdown",
187
193
  mdCopiedLabel: "Copied!",
@@ -338,6 +344,7 @@ export const defaultLangMenu = {
338
344
  docsAccessBlockCancelBtn: "Cancel",
339
345
  },
340
346
  es: {
347
+ backToTop: "Volver arriba",
341
348
  titleHeaderMenuPdf: "PDF",
342
349
  PdfDownload: "Descargar PDF",
343
350
  PdfOpenInNewTab: "Abrir PDF en una pestaña nueva",
@@ -351,6 +358,8 @@ export const defaultLangMenu = {
351
358
  footerLabel: "Proyecto",
352
359
  menuOpen: "Menú",
353
360
  menuClose: "Cerrar",
361
+ backgroundAnimationPause: "Pausar animación de fondo",
362
+ backgroundAnimationResume: "Reanudar animación de fondo",
354
363
  showMenu: "Abrir menú",
355
364
  mdCopyLabel: "Copiar Markdown",
356
365
  mdCopiedLabel: "¡Copiado!",
package/data/layouts.mjs CHANGED
@@ -1,3 +1,5 @@
1
+ import { ANIMATED_LAYOUTS } from "./animated-layouts.mjs";
2
+
1
3
  /**
2
4
  * 25 modern standalone layouts. Each is a single fixed-aesthetic theme; colors
3
5
  * live in cli/data/theme-colors.mjs under the matching id. Defined as data so the
@@ -432,6 +434,7 @@ export const LAYOUTS = [
432
434
  mode: "light",
433
435
  },
434
436
  ...MODERN_LAYOUTS,
437
+ ...ANIMATED_LAYOUTS,
435
438
  ];
436
439
 
437
- export const FALLBACK_LAYOUTS = LAYOUTS.filter((layout) => layout.id === "aurora-dark" || layout.id === "aurora-light");
440
+ export const FALLBACK_LAYOUTS = LAYOUTS.filter((layout) => layout.id === "aurora-dark" || layout.id === "aurora-light");
@@ -1,3 +1,5 @@
1
+ import { ANIMATED_THEME_COLORS } from "./animated-layouts.mjs";
2
+
1
3
  export const THEME_COLORS = {
2
4
  "duet-light": {
3
5
  background: "#FFFFFF", primary: "#000000", secondary: "#5E5E5E", text: "#000000",
@@ -441,4 +443,5 @@ export const THEME_COLORS = {
441
443
  "blush-light": { background: "#FFF5F8", primary: "#DB2777", secondary: "#F472B6", text: "#3D1A29", textSecondary: "#8A5A6E", cardBackground: "#FFFFFF", cardBorder: "#FBD4E2", error: "#E11D48", success: "#10B981" },
442
444
  "azure-light": { background: "#F2F8FF", primary: "#2563EB", secondary: "#60A5FA", text: "#11243D", textSecondary: "#4D6488", cardBackground: "#FFFFFF", cardBorder: "#D0E2FB", error: "#E11D48", success: "#059669" },
443
445
  "sand-light": { background: "#FBF7F0", primary: "#B45309", secondary: "#D97706", text: "#332814", textSecondary: "#786A4D", cardBackground: "#FFFFFF", cardBorder: "#ECE0C8", error: "#DC2626", success: "#4D7C4F" },
444
- };
446
+ ...ANIMATED_THEME_COLORS,
447
+ };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gitpagedocs/cli",
3
- "version": "0.0.11",
3
+ "version": "0.0.13",
4
4
  "description": "CLI that scaffolds and maintains gitpagedocs documentation, generates docs with AI, configures GitHub Pages, and runs the MCP server.",
5
5
  "bin": {
6
6
  "gitpagedocs": "index.mjs"
@@ -29,8 +29,8 @@
29
29
  },
30
30
  "dependencies": {
31
31
  "@clack/prompts": "^1.5.1",
32
- "@gitpagedocs/mcp": "^0.0.11",
33
- "@gitpagedocs/tools": "^0.0.11",
32
+ "@gitpagedocs/mcp": "^0.0.13",
33
+ "@gitpagedocs/tools": "^0.0.13",
34
34
  "tsx": "^4.21.0"
35
35
  },
36
36
  "repository": {