@scalar/api-client-react 2.0.49 → 2.0.51

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,9 @@
1
1
  # @scalar/api-client-react
2
2
 
3
+ ## 2.0.51
4
+
5
+ ## 2.0.50
6
+
3
7
  ## 2.0.49
4
8
 
5
9
  ## 2.0.48
package/dist/style.css CHANGED
@@ -1906,8 +1906,7 @@
1906
1906
  border-radius: var(--scalar-radius);
1907
1907
  }
1908
1908
 
1909
- .sidebar-heading-type[data-v-bdef8365] {
1910
- text-transform: uppercase;
1909
+ .sidebar-heading-type[data-v-5edae08d] {
1911
1910
  color: var(--method-color, var(--scalar-color-1));
1912
1911
  font-size: 10px;
1913
1912
  line-height: 14px;
@@ -5367,6 +5366,12 @@
5367
5366
  opacity: 1;
5368
5367
  }
5369
5368
 
5369
+ @media not all and (min-width: 1200px) {
5370
+ .scalar-app .max-xl\:max-h-full {
5371
+ max-height: 100%;
5372
+ }
5373
+ }
5374
+
5370
5375
  @media not all and (min-width: 800px) {
5371
5376
  .scalar-app .max-md\:absolute\! {
5372
5377
  position: absolute !important;
@@ -6050,16 +6055,16 @@
6050
6055
  }
6051
6056
  }
6052
6057
 
6053
- .http-bg-gradient[data-v-86e2b3ea] {
6058
+ .http-bg-gradient[data-v-e7883636] {
6054
6059
  background: linear-gradient(rgba(255, 255, 255, 0.75), rgba(0, 0, 0, 0.035));
6055
6060
  }
6056
- .http-bg-gradient[data-v-86e2b3ea]:hover {
6061
+ .http-bg-gradient[data-v-e7883636]:hover {
6057
6062
  background: linear-gradient(rgba(0, 0, 0, 0.035), rgba(255, 255, 255, 0.75));
6058
6063
  }
6059
- .dark-mode .http-bg-gradient[data-v-86e2b3ea] {
6064
+ .dark-mode .http-bg-gradient[data-v-e7883636] {
6060
6065
  background: linear-gradient(rgba(255, 255, 255, 0.035), rgba(0, 0, 0, 0.15));
6061
6066
  }
6062
- .dark-mode .http-bg-gradient[data-v-86e2b3ea]:hover {
6067
+ .dark-mode .http-bg-gradient[data-v-e7883636]:hover {
6063
6068
  background: linear-gradient(rgba(0, 0, 0, 0.15), rgba(255, 255, 255, 0.035));
6064
6069
  }
6065
6070
 
@@ -6085,7 +6090,7 @@ to {
6085
6090
  }
6086
6091
  }
6087
6092
 
6088
- .open-api-client-button[data-v-8cc9a5bf] {
6093
+ .open-api-client-button[data-v-746e7aef] {
6089
6094
  cursor: pointer;
6090
6095
  width: 100%;
6091
6096
  padding: 9px 12px;
@@ -6104,7 +6109,7 @@ to {
6104
6109
  gap: 6px;
6105
6110
  color: var(--scalar-sidebar-color-1);
6106
6111
  }
6107
- .open-api-client-button[data-v-8cc9a5bf]:hover {
6112
+ .open-api-client-button[data-v-746e7aef]:hover {
6108
6113
  background: var(
6109
6114
  --scalar-sidebar-item-hover-background,
6110
6115
  var(--scalar-background-2)
@@ -6470,20 +6475,20 @@ to {
6470
6475
  background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
6471
6476
  }
6472
6477
 
6473
- [data-v-bb7a09e9] .code-input-lite__editor {
6478
+ [data-v-e29008b7] .code-input-lite__editor {
6474
6479
  background-color: transparent;
6475
6480
  font-family: var(--scalar-font);
6476
6481
  font-size: var(--scalar-small);
6477
6482
  padding: 5px 8px;
6478
6483
  }
6479
- [data-v-bb7a09e9] .scalar-pill:not(:last-of-type) {
6484
+ [data-v-e29008b7] .scalar-pill:not(:last-of-type) {
6480
6485
  margin-right: 0.15em;
6481
6486
  }
6482
- [data-v-bb7a09e9] .scalar-pill:not(:first-of-type) {
6487
+ [data-v-e29008b7] .scalar-pill:not(:first-of-type) {
6483
6488
  margin-left: 0.5px;
6484
6489
  }
6485
6490
 
6486
- [data-v-c8b034c3] .cm-content {
6491
+ [data-v-42eb1913] .cm-content {
6487
6492
  font-size: var(--scalar-small);
6488
6493
  }
6489
6494
 
@@ -6532,20 +6537,20 @@ input[data-v-135d11b9]::placeholder {
6532
6537
  scrollbar-width: none;
6533
6538
  }
6534
6539
 
6535
- .request-section-content[data-v-4811507f] {
6540
+ .request-section-content[data-v-1bb88607] {
6536
6541
  --scalar-border-width: 0.5px;
6537
6542
  }
6538
- .request-section-content-filter[data-v-4811507f] {
6543
+ .request-section-content-filter[data-v-1bb88607] {
6539
6544
  box-shadow: 0 -10px 0 10px var(--scalar-background-1);
6540
6545
  }
6541
- .request-item:focus-within .request-meta-buttons[data-v-4811507f] {
6546
+ .request-item:focus-within .request-meta-buttons[data-v-1bb88607] {
6542
6547
  opacity: 1;
6543
6548
  }
6544
- .group-hover-input[data-v-4811507f] {
6549
+ .group-hover-input[data-v-1bb88607] {
6545
6550
  border-width: var(--scalar-border-width);
6546
6551
  border-color: transparent;
6547
6552
  }
6548
- .group:hover .group-hover-input[data-v-4811507f] {
6553
+ .group:hover .group-hover-input[data-v-1bb88607] {
6549
6554
  background: color-mix(
6550
6555
  in srgb,
6551
6556
  var(--scalar-background-1),
@@ -6553,7 +6558,7 @@ input[data-v-135d11b9]::placeholder {
6553
6558
  );
6554
6559
  border-color: var(--scalar-border-color);
6555
6560
  }
6556
- .group-hover-input[data-v-4811507f]:focus {
6561
+ .group-hover-input[data-v-1bb88607]:focus {
6557
6562
  background: transparent !important;
6558
6563
  border-color: var(--scalar-border-color) !important;
6559
6564
  }
@@ -6633,11 +6638,11 @@ input[data-v-135d11b9]::placeholder {
6633
6638
  opacity: 0;
6634
6639
  }
6635
6640
 
6636
- .animate-response-heading .response-heading[data-v-fd52d047] {
6637
- animation: push-response-fd52d047 0.2s ease-in-out forwards;
6641
+ .animate-response-heading .response-heading[data-v-2694e1a2] {
6642
+ animation: push-response-2694e1a2 0.2s ease-in-out forwards;
6638
6643
  opacity: 1;
6639
6644
  }
6640
- @keyframes push-response-fd52d047 {
6645
+ @keyframes push-response-2694e1a2 {
6641
6646
  from {
6642
6647
  opacity: 1;
6643
6648
  transform: translateY(0);
@@ -6647,11 +6652,11 @@ to {
6647
6652
  transform: translateY(-4px);
6648
6653
  }
6649
6654
  }
6650
- .animate-response-heading .animate-response-children[data-v-fd52d047] {
6651
- animation: response-spans-fd52d047 0.2s ease-in-out forwards 0.05s;
6655
+ .animate-response-heading .animate-response-children[data-v-2694e1a2] {
6656
+ animation: response-spans-2694e1a2 0.2s ease-in-out forwards 0.05s;
6652
6657
  opacity: 0;
6653
6658
  }
6654
- @keyframes response-spans-fd52d047 {
6659
+ @keyframes response-spans-2694e1a2 {
6655
6660
  from {
6656
6661
  opacity: 0;
6657
6662
  transform: translateY(4px);
@@ -6672,28 +6677,28 @@ to {
6672
6677
  margin-top: 0;
6673
6678
  }
6674
6679
 
6675
- .address-bar-history-button[data-v-36f5ec26]:hover {
6680
+ .address-bar-history-button[data-v-a54819b1]:hover {
6676
6681
  background: var(--scalar-background-3);
6677
6682
  }
6678
- .address-bar-history-button[data-v-36f5ec26]:focus-within {
6683
+ .address-bar-history-button[data-v-a54819b1]:focus-within {
6679
6684
  background: var(--scalar-background-2);
6680
6685
  }
6681
6686
 
6682
- [data-v-65ff0ebf] .cm-editor {
6687
+ [data-v-0e96b5b8] .cm-editor {
6683
6688
  height: 100%;
6684
6689
  outline: none;
6685
6690
  width: 100%;
6686
6691
  }
6687
- [data-v-65ff0ebf] .cm-line {
6692
+ [data-v-0e96b5b8] .cm-line {
6688
6693
  padding: 0;
6689
6694
  }
6690
- [data-v-65ff0ebf] .cm-content {
6695
+ [data-v-0e96b5b8] .cm-content {
6691
6696
  padding: 0;
6692
6697
  display: flex;
6693
6698
  align-items: center;
6694
6699
  font-size: var(--scalar-small);
6695
6700
  }
6696
- .scroll-timeline-x[data-v-65ff0ebf] {
6701
+ .scroll-timeline-x[data-v-0e96b5b8] {
6697
6702
  -ms-overflow-style: none;
6698
6703
  /* Fade the URL at the viewport edges. Mask lives on the scrollport (this
6699
6704
  element) rather than on `.cm-scroller`, whose width follows the URL's
@@ -6706,31 +6711,31 @@ to {
6706
6711
  transparent 100%
6707
6712
  );
6708
6713
  }
6709
- .scroll-timeline-x-hidden[data-v-65ff0ebf] {
6714
+ .scroll-timeline-x-hidden[data-v-0e96b5b8] {
6710
6715
  overflow-x: auto;
6711
6716
  }
6712
- .scroll-timeline-x-hidden[data-v-65ff0ebf] .cm-scroller {
6717
+ .scroll-timeline-x-hidden[data-v-0e96b5b8] .cm-scroller {
6713
6718
  scrollbar-width: none;
6714
6719
  -ms-overflow-style: none;
6715
6720
  padding-right: 20px;
6716
6721
  overflow: auto;
6717
6722
  }
6718
- .scroll-timeline-x-hidden[data-v-65ff0ebf]::-webkit-scrollbar {
6723
+ .scroll-timeline-x-hidden[data-v-0e96b5b8]::-webkit-scrollbar {
6719
6724
  width: 0;
6720
6725
  height: 0;
6721
6726
  display: none;
6722
6727
  }
6723
- .scroll-timeline-x-hidden[data-v-65ff0ebf] .cm-scroller::-webkit-scrollbar {
6728
+ .scroll-timeline-x-hidden[data-v-0e96b5b8] .cm-scroller::-webkit-scrollbar {
6724
6729
  width: 0;
6725
6730
  height: 0;
6726
6731
  display: none;
6727
6732
  }
6728
- .scroll-timeline-x-address[data-v-65ff0ebf] {
6733
+ .scroll-timeline-x-address[data-v-0e96b5b8] {
6729
6734
  line-height: 27px;
6730
6735
  scrollbar-width: none; /* Firefox */
6731
6736
  }
6732
6737
  /* make clickable are to left of send button */
6733
- .scroll-timeline-x-address[data-v-65ff0ebf]:after {
6738
+ .scroll-timeline-x-address[data-v-0e96b5b8]:after {
6734
6739
  content: '';
6735
6740
  position: absolute;
6736
6741
  height: 100%;
@@ -6738,7 +6743,7 @@ to {
6738
6743
  right: 0;
6739
6744
  cursor: text;
6740
6745
  }
6741
- .address-bar-bg-states[data-v-65ff0ebf] {
6746
+ .address-bar-bg-states[data-v-0e96b5b8] {
6742
6747
  --scalar-address-bar-bg: color-mix(
6743
6748
  in srgb,
6744
6749
  var(--scalar-background-1),
@@ -6746,22 +6751,22 @@ to {
6746
6751
  );
6747
6752
  background: var(--scalar-address-bar-bg);
6748
6753
  }
6749
- .address-bar-bg-states[data-v-65ff0ebf]:has(.cm-focused) {
6754
+ .address-bar-bg-states[data-v-0e96b5b8]:has(.cm-focused) {
6750
6755
  --scalar-address-bar-bg: var(--scalar-background-1);
6751
6756
  border-color: var(--scalar-border-color);
6752
6757
  outline-width: 1px;
6753
6758
  outline-style: solid;
6754
6759
  }
6755
- .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-65ff0ebf],
6756
- .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-65ff0ebf] {
6760
+ .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-0e96b5b8],
6761
+ .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-0e96b5b8] {
6757
6762
  --scalar-address-bar-bg: var(--scalar-background-1);
6758
6763
  }
6759
6764
 
6760
- .app-exit-button[data-v-70c49191] {
6765
+ .app-exit-button[data-v-cf0538d1] {
6761
6766
  color: white;
6762
6767
  background: rgba(0, 0, 0, 0.1);
6763
6768
  }
6764
- .app-exit-button[data-v-70c49191]:hover {
6769
+ .app-exit-button[data-v-cf0538d1]:hover {
6765
6770
  background: rgba(255, 255, 255, 0.1);
6766
6771
  }
6767
6772
  /*! tailwindcss v4.3.3 | MIT License | https://tailwindcss.com */
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "2.0.49",
22
+ "version": "2.0.51",
23
23
  "engines": {
24
24
  "node": ">=22"
25
25
  },
@@ -39,10 +39,10 @@
39
39
  "CHANGELOG.md"
40
40
  ],
41
41
  "dependencies": {
42
- "@scalar/api-client": "3.20.0",
43
- "@scalar/blocks": "0.2.0",
44
- "@scalar/helpers": "0.13.0",
45
- "@scalar/workspace-store": "0.65.0"
42
+ "@scalar/api-client": "3.21.1",
43
+ "@scalar/blocks": "0.4.0",
44
+ "@scalar/helpers": "0.15.0",
45
+ "@scalar/workspace-store": "0.67.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@testing-library/dom": "^10.4.1",