@scalar/api-reference-react 0.9.43 → 0.9.44

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,7 @@
1
1
  # @scalar/api-reference-react
2
2
 
3
+ ## 0.9.44
4
+
3
5
  ## 0.9.43
4
6
 
5
7
  ## 0.9.42
package/dist/style.css CHANGED
@@ -9708,9 +9708,10 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9708
9708
  * its own leading margin (mt-6) that already spaces it from whatever precedes
9709
9709
  * it — a row-gap would double that gap.
9710
9710
  */
9711
- .operation-layout[data-v-b7fa71b9] {
9711
+ .operation-layout[data-v-af3f9eee] {
9712
9712
  display: grid;
9713
9713
  grid-template-columns: 1fr 1fr;
9714
+ grid-template-rows: auto auto 1fr;
9714
9715
  grid-template-areas:
9715
9716
  'heading badge'
9716
9717
  'description examples'
@@ -9718,7 +9719,7 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9718
9719
  column-gap: 48px;
9719
9720
  row-gap: 0;
9720
9721
  }
9721
- .operation-title[data-v-b7fa71b9] {
9722
+ .operation-title[data-v-af3f9eee] {
9722
9723
  grid-area: heading;
9723
9724
  margin-bottom: 12px;
9724
9725
 
@@ -9728,31 +9729,32 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9728
9729
  color: var(--scalar-color-1);
9729
9730
  line-height: 1.45;
9730
9731
  }
9731
- .operation-auth[data-v-b7fa71b9] {
9732
+ .operation-auth[data-v-af3f9eee] {
9732
9733
  grid-area: badge;
9733
9734
  justify-self: end;
9734
9735
  align-self: start;
9735
9736
  }
9736
- .operation-description[data-v-b7fa71b9] {
9737
+ .operation-description[data-v-af3f9eee] {
9737
9738
  grid-area: description;
9738
9739
  min-width: 0;
9739
9740
  }
9740
- .operation-details[data-v-b7fa71b9] {
9741
+ .operation-details[data-v-af3f9eee] {
9741
9742
  grid-area: details;
9742
9743
  min-width: 0;
9743
9744
  }
9744
- .examples[data-v-b7fa71b9] {
9745
+ .examples[data-v-af3f9eee] {
9745
9746
  grid-area: examples;
9747
+ align-self: start;
9746
9748
  min-width: 0;
9747
9749
 
9748
9750
  position: sticky;
9749
9751
  top: calc(var(--refs-viewport-offset) + 24px);
9750
9752
  }
9751
- .examples[data-v-b7fa71b9] > * {
9753
+ .examples[data-v-af3f9eee] > * {
9752
9754
  max-height: calc((var(--refs-viewport-height) - 60px) / 2);
9753
9755
  position: relative;
9754
9756
  }
9755
- .examples[data-v-b7fa71b9] > *:first-of-type:last-of-type {
9757
+ .examples[data-v-af3f9eee] > *:first-of-type:last-of-type {
9756
9758
  max-height: calc((var(--refs-viewport-height) - 60px));
9757
9759
  }
9758
9760
  /*
@@ -9760,11 +9762,11 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9760
9762
  * (or zoomed in screens)
9761
9763
  */
9762
9764
  @media (max-width: 600px) {
9763
- .examples[data-v-b7fa71b9] > * {
9765
+ .examples[data-v-af3f9eee] > * {
9764
9766
  max-height: unset;
9765
9767
  }
9766
9768
  }
9767
- .deprecated[data-v-b7fa71b9] * {
9769
+ .deprecated[data-v-af3f9eee] * {
9768
9770
  text-decoration: line-through;
9769
9771
  }
9770
9772
  /*
@@ -9773,7 +9775,7 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9773
9775
  * an eyebrow above the title.
9774
9776
  */
9775
9777
  @container narrow-references-container (max-width: 900px) {
9776
- .operation-layout[data-v-b7fa71b9] {
9778
+ .operation-layout[data-v-af3f9eee] {
9777
9779
  grid-template-columns: 1fr;
9778
9780
  grid-template-areas:
9779
9781
  'badge'
@@ -9783,16 +9785,21 @@ button.headers-card-title[data-v-4a9699e9]:hover {
9783
9785
  'details';
9784
9786
  column-gap: 0;
9785
9787
  }
9786
- .operation-auth[data-v-b7fa71b9] {
9788
+ .operation-auth[data-v-af3f9eee] {
9787
9789
  justify-self: start;
9788
9790
  margin-bottom: 4px;
9789
9791
  }
9790
- .operation-title[data-v-b7fa71b9] {
9792
+ .operation-title[data-v-af3f9eee] {
9791
9793
  margin-bottom: 24px;
9792
9794
  }
9793
- .operation-description[data-v-b7fa71b9] {
9795
+ .operation-description[data-v-af3f9eee] {
9794
9796
  margin-bottom: 24px;
9795
9797
  }
9798
+
9799
+ /* Don't make the examples sticky on narrow viewports */
9800
+ .examples[data-v-af3f9eee] {
9801
+ position: static;
9802
+ }
9796
9803
  }
9797
9804
  .section-flare[data-v-5cebff7a] {
9798
9805
  position: fixed;
package/package.json CHANGED
@@ -18,7 +18,7 @@
18
18
  "testing",
19
19
  "react"
20
20
  ],
21
- "version": "0.9.43",
21
+ "version": "0.9.44",
22
22
  "engines": {
23
23
  "node": ">=22"
24
24
  },
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-reference": "1.59.0",
43
- "@scalar/types": "0.13.0"
42
+ "@scalar/api-reference": "1.59.1",
43
+ "@scalar/types": "0.13.1"
44
44
  },
45
45
  "devDependencies": {
46
46
  "@types/react": "^19.2.7",
@@ -51,7 +51,7 @@
51
51
  "react-dom": "^19.2.3",
52
52
  "rollup-preserve-directives": "^1.1.1",
53
53
  "vite": "8.0.0",
54
- "@scalar/helpers": "0.8.1"
54
+ "@scalar/helpers": "0.8.2"
55
55
  },
56
56
  "peerDependencies": {
57
57
  "react": "^18.0.0 || ^19.0.0"
@@ -59,6 +59,6 @@
59
59
  "scripts": {
60
60
  "build": "vite build && tsc -p tsconfig.build.json",
61
61
  "dev": "vite ./playground -c ./vite.config.ts",
62
- "types:check": "tsc --noEmit"
62
+ "types:check": "tsgo --noEmit"
63
63
  }
64
64
  }