@scalar/nextjs-api-reference 0.2.17 → 0.2.19
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/CHANGELOG.md +17 -0
- package/dist/index.cjs +2 -23
- package/dist/index.js +2 -23
- package/dist/index.umd.cjs +2 -23
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,22 @@
|
|
|
1
1
|
# @scalar/nextjs-api-reference
|
|
2
2
|
|
|
3
|
+
## 0.2.19
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- d70bda7: fix: text decoration targetting in themes + unused css in themes
|
|
8
|
+
- Updated dependencies [d70bda7]
|
|
9
|
+
- @scalar/api-reference@1.20.11
|
|
10
|
+
|
|
11
|
+
## 0.2.18
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- ae193a8: feat: sidebar border indents + theme polish
|
|
16
|
+
- Updated dependencies [ae193a8]
|
|
17
|
+
- Updated dependencies [bec8e52]
|
|
18
|
+
- @scalar/api-reference@1.20.10
|
|
19
|
+
|
|
3
20
|
## 0.2.17
|
|
4
21
|
|
|
5
22
|
### Patch Changes
|
package/dist/index.cjs
CHANGED
|
@@ -84,6 +84,8 @@ const nextjsThemeCss = `
|
|
|
84
84
|
--sidebar-search-background: var(--theme-background-2);
|
|
85
85
|
--sidebar-search-border-color: var(--theme-background-2);
|
|
86
86
|
--sidebar-search-color: var(--theme-color-3);
|
|
87
|
+
--sidebar-indent-border: var(--theme-border-color);
|
|
88
|
+
--sidebar-indent-border-active: #6aacf8;
|
|
87
89
|
}
|
|
88
90
|
.api-client-drawer .t-doc__sidebar {
|
|
89
91
|
--sidebar-border-color: var(--theme-border-color);
|
|
@@ -123,29 +125,6 @@ const nextjsThemeCss = `
|
|
|
123
125
|
.sidebar .sidebar-indent-nested .sidebar-heading {
|
|
124
126
|
padding-right: 0;
|
|
125
127
|
}
|
|
126
|
-
.sidebar .sidebar-group .sidebar-indent-nested .sidebar-heading:before {
|
|
127
|
-
content: '';
|
|
128
|
-
position: absolute;
|
|
129
|
-
left: 11px;
|
|
130
|
-
background: var(--theme-border-color);
|
|
131
|
-
width: 1px;
|
|
132
|
-
height: 100%;
|
|
133
|
-
width: 1px;
|
|
134
|
-
}
|
|
135
|
-
.sidebar
|
|
136
|
-
.sidebar-group
|
|
137
|
-
.sidebar-indent-nested
|
|
138
|
-
.sidebar-heading.active_page:before {
|
|
139
|
-
background: #6aacf8;
|
|
140
|
-
}
|
|
141
|
-
.examples .show-api-client-button:before {
|
|
142
|
-
background: var(--theme-color-1);
|
|
143
|
-
}
|
|
144
|
-
.examples .show-api-client-button span,
|
|
145
|
-
.examples .show-api-client-button svg {
|
|
146
|
-
color: var(--theme-background-1);
|
|
147
|
-
text-transform: none;
|
|
148
|
-
}
|
|
149
128
|
.code-languages-icon {
|
|
150
129
|
padding: 10px !important;
|
|
151
130
|
}
|
package/dist/index.js
CHANGED
|
@@ -82,6 +82,8 @@ const nextjsThemeCss = `
|
|
|
82
82
|
--sidebar-search-background: var(--theme-background-2);
|
|
83
83
|
--sidebar-search-border-color: var(--theme-background-2);
|
|
84
84
|
--sidebar-search-color: var(--theme-color-3);
|
|
85
|
+
--sidebar-indent-border: var(--theme-border-color);
|
|
86
|
+
--sidebar-indent-border-active: #6aacf8;
|
|
85
87
|
}
|
|
86
88
|
.api-client-drawer .t-doc__sidebar {
|
|
87
89
|
--sidebar-border-color: var(--theme-border-color);
|
|
@@ -121,29 +123,6 @@ const nextjsThemeCss = `
|
|
|
121
123
|
.sidebar .sidebar-indent-nested .sidebar-heading {
|
|
122
124
|
padding-right: 0;
|
|
123
125
|
}
|
|
124
|
-
.sidebar .sidebar-group .sidebar-indent-nested .sidebar-heading:before {
|
|
125
|
-
content: '';
|
|
126
|
-
position: absolute;
|
|
127
|
-
left: 11px;
|
|
128
|
-
background: var(--theme-border-color);
|
|
129
|
-
width: 1px;
|
|
130
|
-
height: 100%;
|
|
131
|
-
width: 1px;
|
|
132
|
-
}
|
|
133
|
-
.sidebar
|
|
134
|
-
.sidebar-group
|
|
135
|
-
.sidebar-indent-nested
|
|
136
|
-
.sidebar-heading.active_page:before {
|
|
137
|
-
background: #6aacf8;
|
|
138
|
-
}
|
|
139
|
-
.examples .show-api-client-button:before {
|
|
140
|
-
background: var(--theme-color-1);
|
|
141
|
-
}
|
|
142
|
-
.examples .show-api-client-button span,
|
|
143
|
-
.examples .show-api-client-button svg {
|
|
144
|
-
color: var(--theme-background-1);
|
|
145
|
-
text-transform: none;
|
|
146
|
-
}
|
|
147
126
|
.code-languages-icon {
|
|
148
127
|
padding: 10px !important;
|
|
149
128
|
}
|
package/dist/index.umd.cjs
CHANGED
|
@@ -86,6 +86,8 @@
|
|
|
86
86
|
--sidebar-search-background: var(--theme-background-2);
|
|
87
87
|
--sidebar-search-border-color: var(--theme-background-2);
|
|
88
88
|
--sidebar-search-color: var(--theme-color-3);
|
|
89
|
+
--sidebar-indent-border: var(--theme-border-color);
|
|
90
|
+
--sidebar-indent-border-active: #6aacf8;
|
|
89
91
|
}
|
|
90
92
|
.api-client-drawer .t-doc__sidebar {
|
|
91
93
|
--sidebar-border-color: var(--theme-border-color);
|
|
@@ -125,29 +127,6 @@
|
|
|
125
127
|
.sidebar .sidebar-indent-nested .sidebar-heading {
|
|
126
128
|
padding-right: 0;
|
|
127
129
|
}
|
|
128
|
-
.sidebar .sidebar-group .sidebar-indent-nested .sidebar-heading:before {
|
|
129
|
-
content: '';
|
|
130
|
-
position: absolute;
|
|
131
|
-
left: 11px;
|
|
132
|
-
background: var(--theme-border-color);
|
|
133
|
-
width: 1px;
|
|
134
|
-
height: 100%;
|
|
135
|
-
width: 1px;
|
|
136
|
-
}
|
|
137
|
-
.sidebar
|
|
138
|
-
.sidebar-group
|
|
139
|
-
.sidebar-indent-nested
|
|
140
|
-
.sidebar-heading.active_page:before {
|
|
141
|
-
background: #6aacf8;
|
|
142
|
-
}
|
|
143
|
-
.examples .show-api-client-button:before {
|
|
144
|
-
background: var(--theme-color-1);
|
|
145
|
-
}
|
|
146
|
-
.examples .show-api-client-button span,
|
|
147
|
-
.examples .show-api-client-button svg {
|
|
148
|
-
color: var(--theme-background-1);
|
|
149
|
-
text-transform: none;
|
|
150
|
-
}
|
|
151
130
|
.code-languages-icon {
|
|
152
131
|
padding: 10px !important;
|
|
153
132
|
}
|
package/package.json
CHANGED
|
@@ -13,7 +13,7 @@
|
|
|
13
13
|
"openapi",
|
|
14
14
|
"swagger"
|
|
15
15
|
],
|
|
16
|
-
"version": "0.2.
|
|
16
|
+
"version": "0.2.19",
|
|
17
17
|
"engines": {
|
|
18
18
|
"node": ">=18"
|
|
19
19
|
},
|
|
@@ -35,7 +35,7 @@
|
|
|
35
35
|
"directory": "packages/nextjs-api-reference"
|
|
36
36
|
},
|
|
37
37
|
"dependencies": {
|
|
38
|
-
"@scalar/api-reference": "1.20.
|
|
38
|
+
"@scalar/api-reference": "1.20.11"
|
|
39
39
|
},
|
|
40
40
|
"devDependencies": {
|
|
41
41
|
"@types/node": "^20.8.4",
|
|
@@ -47,7 +47,7 @@
|
|
|
47
47
|
"react-dom": "^18.2.0",
|
|
48
48
|
"vite": "^5.1.1",
|
|
49
49
|
"vite-plugin-dts": "^3.6.3",
|
|
50
|
-
"@scalar/api-reference": "1.20.
|
|
50
|
+
"@scalar/api-reference": "1.20.11"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"next": "^13 || ^14",
|