@stainless-api/docs 0.1.0-beta.46 → 0.1.0-beta.48

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 CHANGED
@@ -1,5 +1,28 @@
1
1
  # @stainless-api/docs
2
2
 
3
+ ## 0.1.0-beta.48
4
+
5
+ ### Patch Changes
6
+
7
+ - Updated dependencies [81b5b21]
8
+ - Updated dependencies [ba269f9]
9
+ - Updated dependencies [e2a7098]
10
+ - Updated dependencies [589b13d]
11
+ - @stainless-api/ui-primitives@0.1.0-beta.29
12
+ - @stainless-api/docs-ui@0.1.0-beta.40
13
+
14
+ ## 0.1.0-beta.47
15
+
16
+ ### Patch Changes
17
+
18
+ - 466285c: Fixes for expressive code styles
19
+ - Ensure expressive code styles are applied to docs sites that do not include API reference
20
+ - Use correct red & green palettes for ins/del diff annotations
21
+
22
+ - Updated dependencies [d2d5d51]
23
+ - @stainless-api/ui-primitives@0.1.0-beta.28
24
+ - @stainless-api/docs-ui@0.1.0-beta.39
25
+
3
26
  ## 0.1.0-beta.46
4
27
 
5
28
  ### Minor Changes
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@stainless-api/docs",
3
- "version": "0.1.0-beta.46",
3
+ "version": "0.1.0-beta.48",
4
4
  "publishConfig": {
5
5
  "access": "public"
6
6
  },
@@ -51,8 +51,8 @@
51
51
  "unified": "^11.0.5",
52
52
  "web-worker": "^1.5.0",
53
53
  "yaml": "^2.8.1",
54
- "@stainless-api/ui-primitives": "0.1.0-beta.27",
55
- "@stainless-api/docs-ui": "0.1.0-beta.38"
54
+ "@stainless-api/docs-ui": "0.1.0-beta.40",
55
+ "@stainless-api/ui-primitives": "0.1.0-beta.29"
56
56
  },
57
57
  "devDependencies": {
58
58
  "@astrojs/check": "^0.9.5",
@@ -66,8 +66,8 @@
66
66
  "typescript": "5.9.3",
67
67
  "vite": "^6.4.1",
68
68
  "zod": "^4.1.13",
69
- "@stainless/sdk-json": "^0.1.0-beta.0",
70
- "@stainless/eslint-config": "0.1.0-beta.0"
69
+ "@stainless/eslint-config": "0.1.0-beta.0",
70
+ "@stainless/sdk-json": "^0.1.0-beta.0"
71
71
  },
72
72
  "scripts": {
73
73
  "vendor-deps": "pnpm tsx scripts/vendor_deps.ts",
@@ -2,10 +2,8 @@
2
2
 
3
3
  ---
4
4
 
5
- <div class="content-panel">
6
- <div class="sl-container stl-ui-prose">
7
- <slot />
8
- </div>
5
+ <div class="content-panel sl-container stl-ui-prose">
6
+ <slot />
9
7
  </div>
10
8
 
11
9
  <style>
@@ -23,10 +21,15 @@
23
21
  }
24
22
  }
25
23
  }
24
+
26
25
  .content-panel {
27
26
  padding: 0 var(--sl-content-pad-x) 0 var(--sl-content-pad-x);
28
27
  }
29
28
 
29
+ .content-panel + .content-panel {
30
+ margin-top: 24px;
31
+ }
32
+
30
33
  @media (min-width: 50rem) {
31
34
  .content-panel {
32
35
  padding: 0 0 0 var(--sl-content-pad-x);
package/stl-docs/index.ts CHANGED
@@ -125,9 +125,13 @@ function stainlessDocsStarlightIntegration(config: NormalizedStainlessDocsConfig
125
125
  insBorderColor: 'var(--stl-color-green-border)',
126
126
  insDiffIndicatorColor:
127
127
  'rgb(from var(--stl-color-green-muted-foreground) r g b / calc(alpha * 0.6))',
128
+
128
129
  delBackground: 'var(--stl-color-red-muted-background)',
129
130
  delBorderColor: 'var(--stl-color-red-border)',
130
131
  delDiffIndicatorColor: 'rgb(from var(--stl-color-red-muted-foreground) r g b / calc(alpha * 0.6))',
132
+
133
+ markBackground: 'var(--stl-color-blue-muted-background)',
134
+ markBorderColor: 'var(--stl-color-blue-border)',
131
135
  ...userExpressiveCode.styleOverrides?.textMarkers,
132
136
  },
133
137
  },