@scalar/api-client-react 2.0.12 → 2.0.13

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-client-react
2
2
 
3
+ ## 2.0.13
4
+
3
5
  ## 2.0.12
4
6
 
5
7
  ## 2.0.11
package/dist/style.css CHANGED
@@ -391,6 +391,7 @@
391
391
  --animate-pulse: pulse 2s cubic-bezier(.4, 0, .6, 1) infinite;
392
392
  --default-transition-duration: .15s;
393
393
  --default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
394
+ --spacing-header: 48px;
394
395
  }
395
396
  }
396
397
  :where(.scalar-app) {
@@ -1722,12 +1723,6 @@
1722
1723
  .scalar-app .top-2\.5 {
1723
1724
  top: 10px;
1724
1725
  }
1725
- .scalar-app .top-4 {
1726
- top: 16px;
1727
- }
1728
- .scalar-app .top-14 {
1729
- top: 56px;
1730
- }
1731
1726
  .scalar-app .top-\[1lh\] {
1732
1727
  top: 1lh;
1733
1728
  }
@@ -1737,6 +1732,9 @@
1737
1732
  .scalar-app .top-\[calc\(100\%\+4px\)\] {
1738
1733
  top: calc(100% + 4px);
1739
1734
  }
1735
+ .scalar-app .top-\[calc\(var\(--app-desktop-tabs-height\)\+var\(--spacing-header\,48px\)\+1rem\)\] {
1736
+ top: calc(var(--app-desktop-tabs-height) + var(--spacing-header, 48px) + 1rem);
1737
+ }
1740
1738
  .scalar-app .top-px {
1741
1739
  top: 1px;
1742
1740
  }
@@ -4878,6 +4876,10 @@
4878
4876
  display: flex !important;
4879
4877
  }
4880
4878
 
4879
+ .scalar-app .max-md\:hidden {
4880
+ display: none;
4881
+ }
4882
+
4881
4883
  .scalar-app .max-md\:hidden\! {
4882
4884
  display: none !important;
4883
4885
  }
@@ -4886,6 +4888,10 @@
4886
4888
  width: 100% !important;
4887
4889
  }
4888
4890
 
4891
+ .scalar-app .max-md\:gap-0 {
4892
+ gap: 0;
4893
+ }
4894
+
4889
4895
  .scalar-app .max-md\:pt-2 {
4890
4896
  padding-top: 8px;
4891
4897
  }
@@ -4894,6 +4900,10 @@
4894
4900
  padding-top: 48px;
4895
4901
  }
4896
4902
 
4903
+ .scalar-app .max-md\:pt-\[calc\(var\(--app-desktop-tabs-height\)\+var\(--spacing-header\,48px\)\+2\.5rem\)\] {
4904
+ padding-top: calc(var(--app-desktop-tabs-height) + var(--spacing-header, 48px) + 2.5rem);
4905
+ }
4906
+
4897
4907
  .scalar-app .max-md\:pl-4\! {
4898
4908
  padding-left: 16px !important;
4899
4909
  }
@@ -4905,6 +4915,10 @@
4905
4915
  .scalar-app .max-md\:pl-14 {
4906
4916
  padding-left: 56px;
4907
4917
  }
4918
+
4919
+ .scalar-app .max-md\:text-xs {
4920
+ font-size: var(--scalar-font-size-5);
4921
+ }
4908
4922
  }
4909
4923
  @media (min-width: 800px) {
4910
4924
  .scalar-app .md\:pointer-events-none {
@@ -5226,6 +5240,9 @@
5226
5240
  .app-platform-mac :is(.scalar-app .mac\:pt-12) {
5227
5241
  padding-top: 48px;
5228
5242
  }
5243
+ .app-platform-mac :is(.scalar-app .mac\:pl-\[72px\]) {
5244
+ padding-left: 72px;
5245
+ }
5229
5246
  .app-platform-mac :is(.scalar-app .mac\:app-drag-region) {
5230
5247
  -webkit-app-region: drag;
5231
5248
  }
@@ -6280,10 +6297,10 @@ to {
6280
6297
  * `LoadingSkeleton.vue` easing/duration used in `@scalar/api-reference` so
6281
6298
  * any skeleton in the app feels consistent.
6282
6299
  */
6283
- .sidebar-skeleton-row > span[data-v-6923c7f4] {
6284
- animation: sidebar-skeleton-pulse-6923c7f4 1.5s infinite alternate;
6300
+ .sidebar-skeleton-row > span[data-v-e5f6f69d] {
6301
+ animation: sidebar-skeleton-pulse-e5f6f69d 1.5s infinite alternate;
6285
6302
  }
6286
- @keyframes sidebar-skeleton-pulse-6923c7f4 {
6303
+ @keyframes sidebar-skeleton-pulse-e5f6f69d {
6287
6304
  from {
6288
6305
  opacity: 1;
6289
6306
  }
@@ -6390,7 +6407,7 @@ to {
6390
6407
  * currently *selected* version so the user can spot it at a glance, even
6391
6408
  * after moving the cursor or arrowing to another row.
6392
6409
  */
6393
- .version-picker[data-v-77fffc11] [role='option'][aria-selected='true'] {
6410
+ .version-picker[data-v-28138913] [role='option'][aria-selected='true'] {
6394
6411
  background-color: var(--scalar-background-2);
6395
6412
  }
6396
6413
  .splash-screen[data-v-af32615f] {
@@ -6747,7 +6764,7 @@ to {
6747
6764
  * Custom horizontal scroll for the URL preview.
6748
6765
  * Hides scrollbar for a cleaner appearance while maintaining scroll functionality.
6749
6766
  */
6750
- .scroll-timeline-x[data-v-f4568236] {
6767
+ .scroll-timeline-x[data-v-311ac78f] {
6751
6768
  overflow: auto;
6752
6769
  scroll-timeline: --scroll-timeline x;
6753
6770
  /* Firefox support */
@@ -6758,7 +6775,7 @@ to {
6758
6775
  scrollbar-width: none;
6759
6776
  }
6760
6777
  /* Hide scrollbar in Chrome, Safari, and Opera */
6761
- .scroll-timeline-x[data-v-f4568236]::-webkit-scrollbar {
6778
+ .scroll-timeline-x[data-v-311ac78f]::-webkit-scrollbar {
6762
6779
  display: none;
6763
6780
  }
6764
6781
  .postman-import-path-conflict-callout[data-v-cc4f666d] {
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "2.0.12",
22
+ "version": "2.0.13",
23
23
  "engines": {
24
24
  "node": ">=22"
25
25
  },
@@ -39,8 +39,8 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-client": "3.6.0",
43
- "@scalar/workspace-store": "0.49.2",
42
+ "@scalar/api-client": "3.6.1",
43
+ "@scalar/workspace-store": "0.49.3",
44
44
  "@scalar/helpers": "0.6.0"
45
45
  },
46
46
  "devDependencies": {