@scalar/api-client-react 2.0.42 → 2.0.43

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.43
4
+
3
5
  ## 2.0.42
4
6
 
5
7
  ### Patch Changes
package/dist/style.css CHANGED
@@ -492,6 +492,7 @@
492
492
  }
493
493
 
494
494
  :where(.scalar-app) input:-webkit-autofill {
495
+ -webkit-text-fill-color: var(--scalar-color-1);
495
496
  -webkit-background-clip: text !important;
496
497
  background-clip: text !important;
497
498
  }
@@ -3035,10 +3036,6 @@
3035
3036
  min-width: 100%;
3036
3037
  }
3037
3038
 
3038
- .scalar-app .min-w-min {
3039
- min-width: min-content;
3040
- }
3041
-
3042
3039
  .scalar-app .flex-1 {
3043
3040
  flex: 1;
3044
3041
  }
@@ -4697,10 +4694,6 @@
4697
4694
  min-width: 20px;
4698
4695
  }
4699
4696
 
4700
- :is(.scalar-app .\*\:flex-1 > *) {
4701
- flex: 1;
4702
- }
4703
-
4704
4697
  :is(.scalar-app .\*\:cursor-pointer > *) {
4705
4698
  cursor: pointer;
4706
4699
  }
@@ -4713,10 +4706,6 @@
4713
4706
  justify-content: center;
4714
4707
  }
4715
4708
 
4716
- :is(.scalar-app .\*\:gap-1 > *) {
4717
- gap: 4px;
4718
- }
4719
-
4720
4709
  :is(.scalar-app .\*\:rounded > *) {
4721
4710
  border-radius: var(--scalar-radius-md);
4722
4711
  }
@@ -6615,21 +6604,21 @@ to {
6615
6604
  background: var(--scalar-background-2);
6616
6605
  }
6617
6606
 
6618
- [data-v-d37cbfcc] .cm-editor {
6607
+ [data-v-c414dc68] .cm-editor {
6619
6608
  height: 100%;
6620
6609
  outline: none;
6621
6610
  width: 100%;
6622
6611
  }
6623
- [data-v-d37cbfcc] .cm-line {
6612
+ [data-v-c414dc68] .cm-line {
6624
6613
  padding: 0;
6625
6614
  }
6626
- [data-v-d37cbfcc] .cm-content {
6615
+ [data-v-c414dc68] .cm-content {
6627
6616
  padding: 0;
6628
6617
  display: flex;
6629
6618
  align-items: center;
6630
6619
  font-size: var(--scalar-small);
6631
6620
  }
6632
- .scroll-timeline-x[data-v-d37cbfcc] {
6621
+ .scroll-timeline-x[data-v-c414dc68] {
6633
6622
  -ms-overflow-style: none;
6634
6623
  /* Fade the URL at the viewport edges. Mask lives on the scrollport (this
6635
6624
  element) rather than on `.cm-scroller`, whose width follows the URL's
@@ -6642,31 +6631,31 @@ to {
6642
6631
  transparent 100%
6643
6632
  );
6644
6633
  }
6645
- .scroll-timeline-x-hidden[data-v-d37cbfcc] {
6634
+ .scroll-timeline-x-hidden[data-v-c414dc68] {
6646
6635
  overflow-x: auto;
6647
6636
  }
6648
- .scroll-timeline-x-hidden[data-v-d37cbfcc] .cm-scroller {
6637
+ .scroll-timeline-x-hidden[data-v-c414dc68] .cm-scroller {
6649
6638
  scrollbar-width: none;
6650
6639
  -ms-overflow-style: none;
6651
6640
  padding-right: 20px;
6652
6641
  overflow: auto;
6653
6642
  }
6654
- .scroll-timeline-x-hidden[data-v-d37cbfcc]::-webkit-scrollbar {
6643
+ .scroll-timeline-x-hidden[data-v-c414dc68]::-webkit-scrollbar {
6655
6644
  width: 0;
6656
6645
  height: 0;
6657
6646
  display: none;
6658
6647
  }
6659
- .scroll-timeline-x-hidden[data-v-d37cbfcc] .cm-scroller::-webkit-scrollbar {
6648
+ .scroll-timeline-x-hidden[data-v-c414dc68] .cm-scroller::-webkit-scrollbar {
6660
6649
  width: 0;
6661
6650
  height: 0;
6662
6651
  display: none;
6663
6652
  }
6664
- .scroll-timeline-x-address[data-v-d37cbfcc] {
6653
+ .scroll-timeline-x-address[data-v-c414dc68] {
6665
6654
  line-height: 27px;
6666
6655
  scrollbar-width: none; /* Firefox */
6667
6656
  }
6668
6657
  /* make clickable are to left of send button */
6669
- .scroll-timeline-x-address[data-v-d37cbfcc]:after {
6658
+ .scroll-timeline-x-address[data-v-c414dc68]:after {
6670
6659
  content: '';
6671
6660
  position: absolute;
6672
6661
  height: 100%;
@@ -6674,12 +6663,12 @@ to {
6674
6663
  right: 0;
6675
6664
  cursor: text;
6676
6665
  }
6677
- .scroll-timeline-x-address[data-v-d37cbfcc]:empty:before {
6666
+ .scroll-timeline-x-address[data-v-c414dc68]:empty:before {
6678
6667
  content: 'Enter URL or cURL request';
6679
6668
  color: var(--scalar-color-3);
6680
6669
  pointer-events: none;
6681
6670
  }
6682
- .address-bar-bg-states[data-v-d37cbfcc] {
6671
+ .address-bar-bg-states[data-v-c414dc68] {
6683
6672
  --scalar-address-bar-bg: color-mix(
6684
6673
  in srgb,
6685
6674
  var(--scalar-background-1),
@@ -6687,22 +6676,22 @@ to {
6687
6676
  );
6688
6677
  background: var(--scalar-address-bar-bg);
6689
6678
  }
6690
- .address-bar-bg-states[data-v-d37cbfcc]:has(.cm-focused) {
6679
+ .address-bar-bg-states[data-v-c414dc68]:has(.cm-focused) {
6691
6680
  --scalar-address-bar-bg: var(--scalar-background-1);
6692
6681
  border-color: var(--scalar-border-color);
6693
6682
  outline-width: 1px;
6694
6683
  outline-style: solid;
6695
6684
  }
6696
- .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-d37cbfcc],
6697
- .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-d37cbfcc] {
6685
+ .address-bar-bg-states:has(.cm-focused) .fade-left[data-v-c414dc68],
6686
+ .address-bar-bg-states:has(.cm-focused) .fade-right[data-v-c414dc68] {
6698
6687
  --scalar-address-bar-bg: var(--scalar-background-1);
6699
6688
  }
6700
6689
 
6701
- .app-exit-button[data-v-42c563b3] {
6690
+ .app-exit-button[data-v-3769522e] {
6702
6691
  color: white;
6703
6692
  background: rgba(0, 0, 0, 0.1);
6704
6693
  }
6705
- .app-exit-button[data-v-42c563b3]:hover {
6694
+ .app-exit-button[data-v-3769522e]:hover {
6706
6695
  background: rgba(255, 255, 255, 0.1);
6707
6696
  }
6708
6697
  /*! 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.42",
22
+ "version": "2.0.43",
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.16.3",
43
- "@scalar/helpers": "0.11.1",
44
- "@scalar/workspace-store": "0.58.1",
45
- "@scalar/blocks": "0.1.14"
42
+ "@scalar/api-client": "3.17.0",
43
+ "@scalar/blocks": "0.1.15",
44
+ "@scalar/helpers": "0.11.2",
45
+ "@scalar/workspace-store": "0.59.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@testing-library/dom": "^10.4.1",