@scalar/nestjs-api-reference 0.1.56 → 0.1.57

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.cjs CHANGED
@@ -56,7 +56,7 @@ var customThemeCSS = `
56
56
  }
57
57
  /* Document Sidebar */
58
58
  .light-mode .t-doc__sidebar,
59
- .dark-mode .sidebar {
59
+ .dark-mode .t-doc__sidebar {
60
60
  --sidebar-background-1: var(--theme-background-1);
61
61
  --sidebar-item-hover-color: currentColor;
62
62
  --sidebar-item-hover-background: var(--theme-background-2);
@@ -67,7 +67,7 @@ var customThemeCSS = `
67
67
  --sidebar-color-active: var(--theme-color-1);
68
68
  --sidebar-search-background: var(--theme-background-2);
69
69
  --sidebar-search-border-color: var(--theme-background-2);
70
- --sidebar-search--color: var(--theme-color-3);
70
+ --sidebar-search-color: var(--theme-color-3);
71
71
  }
72
72
 
73
73
  /* advanced */
package/dist/index.d.cts CHANGED
@@ -10,7 +10,7 @@ type ApiReferenceOptions = ReferenceConfiguration;
10
10
  /**
11
11
  * The custom theme CSS for the API Reference.
12
12
  */
13
- declare const customThemeCSS = "\n:root {\n --theme-font: \"Inter\", var(--system-fonts);\n}\n/* basic theme */\n.light-mode {\n --theme-color-1: #2a2f45;\n --theme-color-2: #757575;\n --theme-color-3: #8e8e8e;\n --theme-color-accent: #e0234d;\n --theme-background-1: #fff;\n --theme-background-2: #f6f6f6;\n --theme-background-3: #e7e7e7;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --theme-color-1: rgba(255, 255, 255, 1);\n --theme-color-2: #b2bac2;\n --theme-color-3: #6e748b;\n --theme-color-accent: #e0234d;\n --theme-background-1: #11131e;\n --theme-background-2: #1c2132;\n --theme-background-3: #2f354a;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(255, 255, 255, 0.1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .sidebar {\n --sidebar-background-1: var(--theme-background-1);\n --sidebar-item-hover-color: currentColor;\n --sidebar-item-hover-background: var(--theme-background-2);\n --sidebar-item-active-background: var(--theme-background-3);\n --sidebar-border-color: var(--theme-border-color);\n --sidebar-color-1: var(--theme-color-1);\n --sidebar-color-2: var(--theme-color-2);\n --sidebar-color-active: var(--theme-color-1);\n --sidebar-search-background: var(--theme-background-2);\n --sidebar-search-border-color: var(--theme-background-2);\n --sidebar-search--color: var(--theme-color-3);\n}\n\n/* advanced */\n.light-mode {\n --theme-button-1: rgb(49 53 56);\n --theme-button-1-color: #fff;\n --theme-button-1-hover: rgb(28 31 33);\n --theme-color-green: #069061;\n --theme-color-red: #ef0006;\n --theme-color-yellow: #edbe20;\n --theme-color-blue: #0082d0;\n --theme-color-orange: #fb892c;\n --theme-color-purple: #5203d1;\n --theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --theme-button-1: #f6f6f6;\n --theme-button-1-color: #000;\n --theme-button-1-hover: #e7e7e7;\n --theme-color-green: #30beb0;\n --theme-color-red: #e91e63;\n --theme-color-yellow: #ffc90d;\n --theme-color-blue: #2cb6f6;\n --theme-color-orange: #ff5656;\n --theme-color-purple: #6223e0;\n --theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n";
13
+ declare const customThemeCSS = "\n:root {\n --theme-font: \"Inter\", var(--system-fonts);\n}\n/* basic theme */\n.light-mode {\n --theme-color-1: #2a2f45;\n --theme-color-2: #757575;\n --theme-color-3: #8e8e8e;\n --theme-color-accent: #e0234d;\n --theme-background-1: #fff;\n --theme-background-2: #f6f6f6;\n --theme-background-3: #e7e7e7;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --theme-color-1: rgba(255, 255, 255, 1);\n --theme-color-2: #b2bac2;\n --theme-color-3: #6e748b;\n --theme-color-accent: #e0234d;\n --theme-background-1: #11131e;\n --theme-background-2: #1c2132;\n --theme-background-3: #2f354a;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(255, 255, 255, 0.1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --sidebar-background-1: var(--theme-background-1);\n --sidebar-item-hover-color: currentColor;\n --sidebar-item-hover-background: var(--theme-background-2);\n --sidebar-item-active-background: var(--theme-background-3);\n --sidebar-border-color: var(--theme-border-color);\n --sidebar-color-1: var(--theme-color-1);\n --sidebar-color-2: var(--theme-color-2);\n --sidebar-color-active: var(--theme-color-1);\n --sidebar-search-background: var(--theme-background-2);\n --sidebar-search-border-color: var(--theme-background-2);\n --sidebar-search-color: var(--theme-color-3);\n}\n\n/* advanced */\n.light-mode {\n --theme-button-1: rgb(49 53 56);\n --theme-button-1-color: #fff;\n --theme-button-1-hover: rgb(28 31 33);\n --theme-color-green: #069061;\n --theme-color-red: #ef0006;\n --theme-color-yellow: #edbe20;\n --theme-color-blue: #0082d0;\n --theme-color-orange: #fb892c;\n --theme-color-purple: #5203d1;\n --theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --theme-button-1: #f6f6f6;\n --theme-button-1-color: #000;\n --theme-button-1-hover: #e7e7e7;\n --theme-color-green: #30beb0;\n --theme-color-red: #e91e63;\n --theme-color-yellow: #ffc90d;\n --theme-color-blue: #2cb6f6;\n --theme-color-orange: #ff5656;\n --theme-color-purple: #6223e0;\n --theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n";
14
14
  /**
15
15
  * The HTML to load the @scalar/api-reference package.
16
16
  */
package/dist/index.d.ts CHANGED
@@ -10,7 +10,7 @@ type ApiReferenceOptions = ReferenceConfiguration;
10
10
  /**
11
11
  * The custom theme CSS for the API Reference.
12
12
  */
13
- declare const customThemeCSS = "\n:root {\n --theme-font: \"Inter\", var(--system-fonts);\n}\n/* basic theme */\n.light-mode {\n --theme-color-1: #2a2f45;\n --theme-color-2: #757575;\n --theme-color-3: #8e8e8e;\n --theme-color-accent: #e0234d;\n --theme-background-1: #fff;\n --theme-background-2: #f6f6f6;\n --theme-background-3: #e7e7e7;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --theme-color-1: rgba(255, 255, 255, 1);\n --theme-color-2: #b2bac2;\n --theme-color-3: #6e748b;\n --theme-color-accent: #e0234d;\n --theme-background-1: #11131e;\n --theme-background-2: #1c2132;\n --theme-background-3: #2f354a;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(255, 255, 255, 0.1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .sidebar {\n --sidebar-background-1: var(--theme-background-1);\n --sidebar-item-hover-color: currentColor;\n --sidebar-item-hover-background: var(--theme-background-2);\n --sidebar-item-active-background: var(--theme-background-3);\n --sidebar-border-color: var(--theme-border-color);\n --sidebar-color-1: var(--theme-color-1);\n --sidebar-color-2: var(--theme-color-2);\n --sidebar-color-active: var(--theme-color-1);\n --sidebar-search-background: var(--theme-background-2);\n --sidebar-search-border-color: var(--theme-background-2);\n --sidebar-search--color: var(--theme-color-3);\n}\n\n/* advanced */\n.light-mode {\n --theme-button-1: rgb(49 53 56);\n --theme-button-1-color: #fff;\n --theme-button-1-hover: rgb(28 31 33);\n --theme-color-green: #069061;\n --theme-color-red: #ef0006;\n --theme-color-yellow: #edbe20;\n --theme-color-blue: #0082d0;\n --theme-color-orange: #fb892c;\n --theme-color-purple: #5203d1;\n --theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --theme-button-1: #f6f6f6;\n --theme-button-1-color: #000;\n --theme-button-1-hover: #e7e7e7;\n --theme-color-green: #30beb0;\n --theme-color-red: #e91e63;\n --theme-color-yellow: #ffc90d;\n --theme-color-blue: #2cb6f6;\n --theme-color-orange: #ff5656;\n --theme-color-purple: #6223e0;\n --theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n";
13
+ declare const customThemeCSS = "\n:root {\n --theme-font: \"Inter\", var(--system-fonts);\n}\n/* basic theme */\n.light-mode {\n --theme-color-1: #2a2f45;\n --theme-color-2: #757575;\n --theme-color-3: #8e8e8e;\n --theme-color-accent: #e0234d;\n --theme-background-1: #fff;\n --theme-background-2: #f6f6f6;\n --theme-background-3: #e7e7e7;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(0, 0, 0, 0.1);\n}\n.dark-mode {\n --theme-color-1: rgba(255, 255, 255, 1);\n --theme-color-2: #b2bac2;\n --theme-color-3: #6e748b;\n --theme-color-accent: #e0234d;\n --theme-background-1: #11131e;\n --theme-background-2: #1c2132;\n --theme-background-3: #2f354a;\n --theme-background-accent: #8ab4f81f;\n --theme-border-color: rgba(255, 255, 255, 0.1);\n}\n/* Document Sidebar */\n.light-mode .t-doc__sidebar,\n.dark-mode .t-doc__sidebar {\n --sidebar-background-1: var(--theme-background-1);\n --sidebar-item-hover-color: currentColor;\n --sidebar-item-hover-background: var(--theme-background-2);\n --sidebar-item-active-background: var(--theme-background-3);\n --sidebar-border-color: var(--theme-border-color);\n --sidebar-color-1: var(--theme-color-1);\n --sidebar-color-2: var(--theme-color-2);\n --sidebar-color-active: var(--theme-color-1);\n --sidebar-search-background: var(--theme-background-2);\n --sidebar-search-border-color: var(--theme-background-2);\n --sidebar-search-color: var(--theme-color-3);\n}\n\n/* advanced */\n.light-mode {\n --theme-button-1: rgb(49 53 56);\n --theme-button-1-color: #fff;\n --theme-button-1-hover: rgb(28 31 33);\n --theme-color-green: #069061;\n --theme-color-red: #ef0006;\n --theme-color-yellow: #edbe20;\n --theme-color-blue: #0082d0;\n --theme-color-orange: #fb892c;\n --theme-color-purple: #5203d1;\n --theme-scrollbar-color: rgba(0, 0, 0, 0.18);\n --theme-scrollbar-color-active: rgba(0, 0, 0, 0.36);\n}\n.dark-mode {\n --theme-button-1: #f6f6f6;\n --theme-button-1-color: #000;\n --theme-button-1-hover: #e7e7e7;\n --theme-color-green: #30beb0;\n --theme-color-red: #e91e63;\n --theme-color-yellow: #ffc90d;\n --theme-color-blue: #2cb6f6;\n --theme-color-orange: #ff5656;\n --theme-color-purple: #6223e0;\n --theme-scrollbar-color: rgba(255, 255, 255, 0.24);\n --theme-scrollbar-color-active: rgba(255, 255, 255, 0.48);\n}\n";
14
14
  /**
15
15
  * The HTML to load the @scalar/api-reference package.
16
16
  */
package/dist/index.js CHANGED
@@ -28,7 +28,7 @@ var customThemeCSS = `
28
28
  }
29
29
  /* Document Sidebar */
30
30
  .light-mode .t-doc__sidebar,
31
- .dark-mode .sidebar {
31
+ .dark-mode .t-doc__sidebar {
32
32
  --sidebar-background-1: var(--theme-background-1);
33
33
  --sidebar-item-hover-color: currentColor;
34
34
  --sidebar-item-hover-background: var(--theme-background-2);
@@ -39,7 +39,7 @@ var customThemeCSS = `
39
39
  --sidebar-color-active: var(--theme-color-1);
40
40
  --sidebar-search-background: var(--theme-background-2);
41
41
  --sidebar-search-border-color: var(--theme-background-2);
42
- --sidebar-search--color: var(--theme-color-3);
42
+ --sidebar-search-color: var(--theme-color-3);
43
43
  }
44
44
 
45
45
  /* advanced */
package/package.json CHANGED
@@ -5,7 +5,7 @@
5
5
  "author": "Scalar (https://github.com/scalar)",
6
6
  "homepage": "https://github.com/scalar/scalar",
7
7
  "bugs": "https://github.com/scalar/scalar/issues/new/choose",
8
- "version": "0.1.56",
8
+ "version": "0.1.57",
9
9
  "engines": {
10
10
  "node": ">=18"
11
11
  },
@@ -35,7 +35,7 @@
35
35
  },
36
36
  "dependencies": {
37
37
  "express": "^4.18.2",
38
- "@scalar/api-reference": "1.17.4"
38
+ "@scalar/api-reference": "1.17.7"
39
39
  },
40
40
  "devDependencies": {
41
41
  "@types/express": "^4.17.21",