@scalar/nextjs-api-reference 0.2.17 → 0.2.18
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 +9 -0
- package/dist/index.cjs +2 -15
- package/dist/index.js +2 -15
- package/dist/index.umd.cjs +2 -15
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# @scalar/nextjs-api-reference
|
|
2
2
|
|
|
3
|
+
## 0.2.18
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- ae193a8: feat: sidebar border indents + theme polish
|
|
8
|
+
- Updated dependencies [ae193a8]
|
|
9
|
+
- Updated dependencies [bec8e52]
|
|
10
|
+
- @scalar/api-reference@1.20.10
|
|
11
|
+
|
|
3
12
|
## 0.2.17
|
|
4
13
|
|
|
5
14
|
### 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,21 +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
128
|
.examples .show-api-client-button:before {
|
|
142
129
|
background: var(--theme-color-1);
|
|
143
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,21 +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
126
|
.examples .show-api-client-button:before {
|
|
140
127
|
background: var(--theme-color-1);
|
|
141
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,21 +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
130
|
.examples .show-api-client-button:before {
|
|
144
131
|
background: var(--theme-color-1);
|
|
145
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.18",
|
|
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.10"
|
|
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.10"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"next": "^13 || ^14",
|