@scalar/api-client-react 2.0.40 → 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,15 @@
1
1
  # @scalar/api-client-react
2
2
 
3
+ ## 2.0.43
4
+
5
+ ## 2.0.42
6
+
7
+ ### Patch Changes
8
+
9
+ - [#9941](https://github.com/scalar/scalar/pull/9941): Republish every package through npm trusted publishing. No functional changes.
10
+
11
+ ## 2.0.41
12
+
3
13
  ## 2.0.40
4
14
 
5
15
  ## 2.0.39
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
  }
@@ -6315,13 +6304,13 @@ to {
6315
6304
  color: var(--scalar-color-1);
6316
6305
  }
6317
6306
 
6318
- .code-input-lite[data-v-f03d0c9d] {
6307
+ .code-input-lite[data-v-4dfd05a3] {
6319
6308
  /* Flex so the editor centres vertically in whatever height the cell gives us.
6320
6309
  Font properties inherit so we adopt the surrounding typography. */
6321
6310
  display: flex;
6322
6311
  align-items: center;
6323
6312
  }
6324
- .code-input-lite__editor[data-v-f03d0c9d] {
6313
+ .code-input-lite__editor[data-v-4dfd05a3] {
6325
6314
  /* Everything font-related inherits from the surrounding context. */
6326
6315
  font: inherit;
6327
6316
  letter-spacing: inherit;
@@ -6343,7 +6332,7 @@ to {
6343
6332
  /* Positioning context for the absolutely positioned placeholder. */
6344
6333
  position: relative;
6345
6334
  }
6346
- .code-input-lite__editor[data-v-f03d0c9d]::-webkit-scrollbar {
6335
+ .code-input-lite__editor[data-v-4dfd05a3]::-webkit-scrollbar {
6347
6336
  display: none;
6348
6337
  }
6349
6338
 
@@ -6351,7 +6340,7 @@ to {
6351
6340
  contenteditable; otherwise the caret would land after it on focus.
6352
6341
  `pointer-events: none` lets clicks fall through to focus the editor.
6353
6342
  Hidden on focus so it never renders on top of the text caret. */
6354
- .code-input-lite--empty .code-input-lite__editor[data-v-f03d0c9d]:not(:focus)::before {
6343
+ .code-input-lite--empty .code-input-lite__editor[data-v-4dfd05a3]:not(:focus)::before {
6355
6344
  content: attr(data-placeholder);
6356
6345
  color: var(--scalar-color-3);
6357
6346
  pointer-events: none;
@@ -6362,7 +6351,7 @@ to {
6362
6351
  display: flex;
6363
6352
  align-items: center;
6364
6353
  }
6365
- .code-input-lite--error .code-input-lite__editor[data-v-f03d0c9d] {
6354
+ .code-input-lite--error .code-input-lite__editor[data-v-4dfd05a3] {
6366
6355
  outline: 1px solid var(--scalar-color-red);
6367
6356
  }
6368
6357
 
@@ -6406,20 +6395,20 @@ to {
6406
6395
  background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
6407
6396
  }
6408
6397
 
6409
- [data-v-042c21ca] .code-input-lite__editor {
6398
+ [data-v-13500378] .code-input-lite__editor {
6410
6399
  background-color: transparent;
6411
6400
  font-family: var(--scalar-font);
6412
6401
  font-size: var(--scalar-small);
6413
6402
  padding: 5px 8px;
6414
6403
  }
6415
- [data-v-042c21ca] .scalar-pill:not(:last-of-type) {
6404
+ [data-v-13500378] .scalar-pill:not(:last-of-type) {
6416
6405
  margin-right: 0.15em;
6417
6406
  }
6418
- [data-v-042c21ca] .scalar-pill:not(:first-of-type) {
6407
+ [data-v-13500378] .scalar-pill:not(:first-of-type) {
6419
6408
  margin-left: 0.5px;
6420
6409
  }
6421
6410
 
6422
- [data-v-dcc3af8c] .cm-content {
6411
+ [data-v-c8ab7ba2] .cm-content {
6423
6412
  font-size: var(--scalar-small);
6424
6413
  }
6425
6414
 
@@ -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.40",
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/blocks": "0.1.12",
43
- "@scalar/api-client": "3.16.1",
44
- "@scalar/workspace-store": "0.57.1",
45
- "@scalar/helpers": "0.10.0"
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",