@stainless-api/docs-ui 0.1.0-beta.88 → 0.1.0-beta.89

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.
@@ -121,9 +121,9 @@ function GoIcon({ className }) {
121
121
  return /* @__PURE__ */ jsxs("svg", {
122
122
  xmlns: "http://www.w3.org/2000/svg",
123
123
  width: "24",
124
- height: "10",
124
+ height: "24",
125
125
  className,
126
- viewBox: "0 0 24 10",
126
+ viewBox: "0 -7 24 24",
127
127
  fill: "none",
128
128
  children: [/* @__PURE__ */ jsx("path", {
129
129
  fillRule: "evenodd",
@@ -748,9 +748,9 @@ function RubyIcon({ className }) {
748
748
  function TerraformIcon({ className }) {
749
749
  return /* @__PURE__ */ jsxs("svg", {
750
750
  xmlns: "http://www.w3.org/2000/svg",
751
- width: "20",
752
- height: "22",
753
- viewBox: "0 0 20 22",
751
+ width: "24",
752
+ height: "24",
753
+ viewBox: "-1 0 22 22",
754
754
  fill: "none",
755
755
  className,
756
756
  children: [
@@ -236,7 +236,7 @@
236
236
  transition: background-color .1s;
237
237
  }
238
238
 
239
- & .stldocs-property-description, & .stldocs-property-title {
239
+ & .stldocs-property-description, & .stldocs-property-title, & .stldocs-property-content {
240
240
  font-size: var(--stl-typography-scale-sm);
241
241
  color: var(--stl-color-foreground-reduced);
242
242
 
@@ -306,14 +306,6 @@
306
306
  margin-right: .4rem;
307
307
  }
308
308
  }
309
-
310
- & .stldocs-property-constraint-value {
311
- background-color: var(--stldocs-color-bg-inline-code);
312
- color: var(--stl-color-foreground-reduced);
313
- font-family: var(--stl-typography-font-mono);
314
- border-radius: 4px;
315
- padding: 3px 4px;
316
- }
317
309
  }
318
310
 
319
311
  & .stldocs-property-type:not(:first-child), & .stldocs-property .stldocs-property-type {
@@ -197,15 +197,6 @@
197
197
  color: var(--stl-color-link-foreground);
198
198
  }
199
199
 
200
- & code:not(pre code) {
201
- font-family: var(--stl-typography-font-mono);
202
- background-color: var(--stldocs-color-bg-inline-code);
203
- word-break: break-all;
204
- border-radius: 4px;
205
- padding: 0 4px;
206
- font-size: .84rem;
207
- }
208
-
209
200
  & strong {
210
201
  font-weight: bold;
211
202
  }
@@ -246,6 +237,15 @@
246
237
  }
247
238
  }
248
239
 
240
+ .stldocs-root .stldocs-content code:not(pre code), .stldocs-root .stldocs-property-constraint .stldocs-property-constraint-value {
241
+ font-family: var(--stl-typography-font-mono);
242
+ background-color: var(--stldocs-color-bg-inline-code);
243
+ word-break: break-all;
244
+ border-radius: 4px;
245
+ padding: 0 4px;
246
+ font-size: .84rem;
247
+ }
248
+
249
249
  .stldocs-root .stldocs-input {
250
250
  border: 1px solid var(--stl-color-border);
251
251
  background: var(--stl-color-background);
package/dist/styles.css CHANGED
@@ -1441,15 +1441,6 @@ a.stl-ui-button {
1441
1441
  color: var(--stl-color-link-foreground);
1442
1442
  }
1443
1443
 
1444
- & code:not(pre code) {
1445
- font-family: var(--stl-typography-font-mono);
1446
- background-color: var(--stldocs-color-bg-inline-code);
1447
- word-break: break-all;
1448
- border-radius: 4px;
1449
- padding: 0 4px;
1450
- font-size: .84rem;
1451
- }
1452
-
1453
1444
  & strong {
1454
1445
  font-weight: bold;
1455
1446
  }
@@ -1490,6 +1481,15 @@ a.stl-ui-button {
1490
1481
  }
1491
1482
  }
1492
1483
 
1484
+ .stldocs-root .stldocs-content code:not(pre code), .stldocs-root .stldocs-property-constraint .stldocs-property-constraint-value {
1485
+ font-family: var(--stl-typography-font-mono);
1486
+ background-color: var(--stldocs-color-bg-inline-code);
1487
+ word-break: break-all;
1488
+ border-radius: 4px;
1489
+ padding: 0 4px;
1490
+ font-size: .84rem;
1491
+ }
1492
+
1493
1493
  .stldocs-root .stldocs-input {
1494
1494
  border: 1px solid var(--stl-color-border);
1495
1495
  background: var(--stl-color-background);
@@ -1970,7 +1970,7 @@ a.stl-ui-button {
1970
1970
  transition: background-color .1s;
1971
1971
  }
1972
1972
 
1973
- & .stldocs-property-description, & .stldocs-property-title {
1973
+ & .stldocs-property-description, & .stldocs-property-title, & .stldocs-property-content {
1974
1974
  font-size: var(--stl-typography-scale-sm);
1975
1975
  color: var(--stl-color-foreground-reduced);
1976
1976
 
@@ -2040,14 +2040,6 @@ a.stl-ui-button {
2040
2040
  margin-right: .4rem;
2041
2041
  }
2042
2042
  }
2043
-
2044
- & .stldocs-property-constraint-value {
2045
- background-color: var(--stldocs-color-bg-inline-code);
2046
- color: var(--stl-color-foreground-reduced);
2047
- font-family: var(--stl-typography-font-mono);
2048
- border-radius: 4px;
2049
- padding: 3px 4px;
2050
- }
2051
2043
  }
2052
2044
 
2053
2045
  & .stldocs-property-type:not(:first-child), & .stldocs-property .stldocs-property-type {
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.88",
4
+ "version": "0.1.0-beta.89",
5
5
  "publishConfig": {
6
6
  "access": "public"
7
7
  },