@stainless-api/docs-ui 0.1.0-beta.6 → 0.1.0-beta.7

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@stainless-api/docs-ui",
3
3
  "private": false,
4
- "version": "0.1.0-beta.6",
4
+ "version": "0.1.0-beta.7",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },
@@ -20,7 +20,7 @@
20
20
  "lucide-react": "^0.544.0",
21
21
  "react": "^19.1.1",
22
22
  "react-dom": "^19.1.1",
23
- "@stainless-api/ui-primitives": "0.1.0-beta.7"
23
+ "@stainless-api/ui-primitives": "0.1.0-beta.8"
24
24
  },
25
25
  "devDependencies": {
26
26
  "@types/node": "^24.4.0",
@@ -72,7 +72,7 @@ export function SDKBreadcrumbs({
72
72
 
73
73
  if (!breadcrumbs || breadcrumbs.length === 0) return null;
74
74
 
75
- if (!config?.includeCurrentPage) {
75
+ if (!config?.includeCurrentPage && breadcrumbs.length > 1) {
76
76
  breadcrumbs.pop();
77
77
  }
78
78
 
@@ -314,7 +314,6 @@
314
314
 
315
315
  .stldocs-root {
316
316
  .stldocs-breadcrumbs {
317
- padding: 1rem var(--stldocs-content-padding) 0;
318
317
  display: flex;
319
318
  align-items: center;
320
319
  gap: 0.5rem;