@scalar/api-client-react 2.0.64 → 2.0.65

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.65
4
+
3
5
  ## 2.0.64
4
6
 
5
7
  ## 2.0.63
package/dist/style.css CHANGED
@@ -1923,17 +1923,17 @@
1923
1923
  border-radius: var(--scalar-radius);
1924
1924
  }
1925
1925
 
1926
- .request-card[data-v-41f67ce2], .request-card[data-v-d57b5f1f] {
1926
+ .request-card[data-v-41f67ce2], .request-card[data-v-9ef20696] {
1927
1927
  color: var(--scalar-color-1);
1928
1928
  font-size: var(--scalar-font-size-3);
1929
1929
  }
1930
1930
 
1931
- .request-method[data-v-d57b5f1f] {
1931
+ .request-method[data-v-9ef20696] {
1932
1932
  font-family: var(--scalar-font-code);
1933
1933
  margin-right: 6px;
1934
1934
  }
1935
1935
 
1936
- .request-card-footer[data-v-d57b5f1f] {
1936
+ .request-card-footer[data-v-9ef20696] {
1937
1937
  flex-shrink: 0;
1938
1938
  justify-content: flex-end;
1939
1939
  padding: 6px;
@@ -1941,30 +1941,30 @@
1941
1941
  position: relative;
1942
1942
  }
1943
1943
 
1944
- .request-card-footer--wraps[data-v-d57b5f1f] {
1944
+ .request-card-footer--wraps[data-v-9ef20696] {
1945
1945
  flex-wrap: wrap;
1946
1946
  row-gap: 4px;
1947
1947
  }
1948
1948
 
1949
- .request-card-footer-start[data-v-d57b5f1f] {
1949
+ .request-card-footer-start[data-v-9ef20696] {
1950
1950
  flex: 1 0 auto;
1951
1951
  align-items: center;
1952
1952
  display: flex;
1953
1953
  }
1954
1954
 
1955
- .request-card-footer-addon[data-v-d57b5f1f] {
1955
+ .request-card-footer-addon[data-v-9ef20696] {
1956
1956
  flex: 1;
1957
1957
  align-items: center;
1958
1958
  min-width: 0;
1959
1959
  display: flex;
1960
1960
  }
1961
1961
 
1962
- .request-editor-section[data-v-d57b5f1f] {
1962
+ .request-editor-section[data-v-9ef20696] {
1963
1963
  flex: 1;
1964
1964
  display: flex;
1965
1965
  }
1966
1966
 
1967
- .request-card-simple[data-v-d57b5f1f] {
1967
+ .request-card-simple[data-v-9ef20696] {
1968
1968
  font-size: var(--scalar-small);
1969
1969
  flex-wrap: wrap;
1970
1970
  justify-content: space-between;
@@ -1974,30 +1974,30 @@
1974
1974
  display: flex;
1975
1975
  }
1976
1976
 
1977
- .request-header[data-v-d57b5f1f] {
1977
+ .request-header[data-v-9ef20696] {
1978
1978
  overflow-wrap: anywhere;
1979
1979
  flex: 999 auto;
1980
1980
  min-width: 0;
1981
1981
  }
1982
1982
 
1983
- .request-card-actions[data-v-d57b5f1f] {
1983
+ .request-card-actions[data-v-9ef20696] {
1984
1984
  flex: 1 0 auto;
1985
1985
  }
1986
1986
 
1987
- .code-snippet[data-v-d57b5f1f] {
1987
+ .code-snippet[data-v-9ef20696] {
1988
1988
  flex-direction: column;
1989
1989
  width: 100%;
1990
1990
  display: flex;
1991
1991
  }
1992
1992
 
1993
- .property-example[data-v-1380dfca] {
1993
+ .property-example[data-v-a431d692] {
1994
1994
  font-size: var(--scalar-mini);
1995
1995
  flex-direction: column;
1996
1996
  display: flex;
1997
1997
  position: relative;
1998
1998
  }
1999
1999
 
2000
- .property-example[data-v-1380dfca]:hover:before {
2000
+ .property-example[data-v-a431d692]:hover:before {
2001
2001
  pointer-events: none;
2002
2002
  content: "";
2003
2003
  border-radius: var(--scalar-radius);
@@ -2008,7 +2008,7 @@
2008
2008
  left: 0;
2009
2009
  }
2010
2010
 
2011
- .property-example-value[data-v-1380dfca] {
2011
+ .property-example-value[data-v-a431d692] {
2012
2012
  font-family: var(--scalar-font-code);
2013
2013
  align-items: center;
2014
2014
  gap: 8px;
@@ -2017,28 +2017,28 @@
2017
2017
  display: flex;
2018
2018
  }
2019
2019
 
2020
- .property-example-value span[data-v-1380dfca] {
2020
+ .property-example-value span[data-v-a431d692] {
2021
2021
  text-overflow: ellipsis;
2022
- white-space: nowrap;
2022
+ white-space: pre;
2023
2023
  display: block;
2024
2024
  overflow: hidden;
2025
2025
  }
2026
2026
 
2027
- .property-example-value[data-v-1380dfca] svg {
2027
+ .property-example-value[data-v-a431d692] svg {
2028
2028
  color: var(--scalar-color-3);
2029
2029
  }
2030
2030
 
2031
- .property-example-value[data-v-1380dfca]:hover svg {
2031
+ .property-example-value[data-v-a431d692]:hover svg {
2032
2032
  color: var(--scalar-color-1);
2033
2033
  }
2034
2034
 
2035
- .property-example-value[data-v-1380dfca] {
2035
+ .property-example-value[data-v-a431d692] {
2036
2036
  background: var(--scalar-background-2);
2037
2037
  border: var(--scalar-border-width) solid var(--scalar-border-color);
2038
2038
  border-radius: var(--scalar-radius);
2039
2039
  }
2040
2040
 
2041
- .property-example-value-list[data-v-1380dfca] {
2041
+ .property-example-value-list[data-v-a431d692] {
2042
2042
  background-color: var(--scalar-background-1);
2043
2043
  box-shadow: var(--scalar-shadow-1);
2044
2044
  border-radius: var(--scalar-radius-lg);
@@ -2057,12 +2057,12 @@
2057
2057
  transform: translate(-50%);
2058
2058
  }
2059
2059
 
2060
- .property-example-value-list-start[data-v-1380dfca] {
2060
+ .property-example-value-list-start[data-v-a431d692] {
2061
2061
  left: 0;
2062
2062
  transform: none;
2063
2063
  }
2064
2064
 
2065
- .property-example:hover .property-example-value-list[data-v-1380dfca] {
2065
+ .property-example:hover .property-example-value-list[data-v-a431d692] {
2066
2066
  display: flex;
2067
2067
  }
2068
2068
 
@@ -2488,7 +2488,7 @@ code.property-detail-value[data-v-8b57daa7] {
2488
2488
  flex: 1;
2489
2489
  }
2490
2490
 
2491
- .property-heading[data-v-d9e2f10e] {
2491
+ .property-heading[data-v-09888606] {
2492
2492
  white-space: nowrap;
2493
2493
  flex-wrap: wrap;
2494
2494
  align-items: baseline;
@@ -2496,19 +2496,19 @@ code.property-detail-value[data-v-8b57daa7] {
2496
2496
  display: flex;
2497
2497
  }
2498
2498
 
2499
- :is(.property-heading[data-v-d9e2f10e]:has( + .children), .property-heading[data-v-d9e2f10e]:has( + .property-rule)) {
2499
+ :is(.property-heading[data-v-09888606]:has( + .children), .property-heading[data-v-09888606]:has( + .property-rule)) {
2500
2500
  margin-bottom: 9px;
2501
2501
  }
2502
2502
 
2503
- .property-heading[data-v-d9e2f10e] > * {
2503
+ .property-heading[data-v-09888606] > * {
2504
2504
  margin-right: 9px;
2505
2505
  }
2506
2506
 
2507
- .property-heading[data-v-d9e2f10e]:last-child {
2507
+ .property-heading[data-v-09888606]:last-child {
2508
2508
  margin-right: 0;
2509
2509
  }
2510
2510
 
2511
- .property-name[data-v-d9e2f10e] {
2511
+ .property-name[data-v-09888606] {
2512
2512
  max-width: 100%;
2513
2513
  font-family: var(--scalar-font-code);
2514
2514
  font-weight: var(--scalar-bold);
@@ -2517,45 +2517,45 @@ code.property-detail-value[data-v-8b57daa7] {
2517
2517
  overflow-wrap: break-word;
2518
2518
  }
2519
2519
 
2520
- .property-additional[data-v-d9e2f10e] {
2520
+ .property-additional[data-v-09888606] {
2521
2521
  font-family: var(--scalar-font-code);
2522
2522
  }
2523
2523
 
2524
- .property-required[data-v-d9e2f10e], .property-optional[data-v-d9e2f10e] {
2524
+ .property-required[data-v-09888606], .property-optional[data-v-09888606] {
2525
2525
  color: var(--scalar-color-2);
2526
2526
  }
2527
2527
 
2528
- .property-required[data-v-d9e2f10e] {
2528
+ .property-required[data-v-09888606] {
2529
2529
  font-size: var(--scalar-mini);
2530
2530
  color: var(--scalar-color-orange);
2531
2531
  }
2532
2532
 
2533
- .light-mode .property-required[data-v-d9e2f10e] {
2533
+ .light-mode .property-required[data-v-09888606] {
2534
2534
  color: var(--scalar-color-orange);
2535
2535
  }
2536
2536
 
2537
2537
  @supports (color: color-mix(in lab, red, red)) {
2538
- .light-mode .property-required[data-v-d9e2f10e] {
2538
+ .light-mode .property-required[data-v-09888606] {
2539
2539
  color: color-mix(in srgb, var(--scalar-color-orange), var(--scalar-color-1) 32%);
2540
2540
  }
2541
2541
  }
2542
2542
 
2543
- .property-read-only[data-v-d9e2f10e] {
2543
+ .property-read-only[data-v-09888606] {
2544
2544
  font-size: var(--scalar-mini);
2545
2545
  color: var(--scalar-color-blue);
2546
2546
  }
2547
2547
 
2548
- .property-write-only[data-v-d9e2f10e] {
2548
+ .property-write-only[data-v-09888606] {
2549
2549
  font-size: var(--scalar-mini);
2550
2550
  color: var(--scalar-color-green);
2551
2551
  }
2552
2552
 
2553
- .property-discriminator[data-v-d9e2f10e] {
2553
+ .property-discriminator[data-v-09888606] {
2554
2554
  font-size: var(--scalar-mini);
2555
2555
  color: var(--scalar-color-purple);
2556
2556
  }
2557
2557
 
2558
- .property-detail[data-v-d9e2f10e] {
2558
+ .property-detail[data-v-09888606] {
2559
2559
  font-size: var(--scalar-mini);
2560
2560
  color: var(--scalar-color-2);
2561
2561
  align-items: center;
@@ -2563,11 +2563,11 @@ code.property-detail-value[data-v-8b57daa7] {
2563
2563
  display: flex;
2564
2564
  }
2565
2565
 
2566
- .property-const[data-v-d9e2f10e] {
2566
+ .property-const[data-v-09888606] {
2567
2567
  color: var(--scalar-color-1);
2568
2568
  }
2569
2569
 
2570
- .deprecated[data-v-d9e2f10e] {
2570
+ .deprecated[data-v-09888606] {
2571
2571
  text-decoration: line-through;
2572
2572
  }
2573
2573
 
@@ -3140,6 +3140,10 @@ code.property-detail-value[data-v-8b57daa7] {
3140
3140
  margin: 4px;
3141
3141
  }
3142
3142
 
3143
+ .scalar-app .m-3 {
3144
+ margin: 12px;
3145
+ }
3146
+
3143
3147
  .scalar-app .m-auto {
3144
3148
  margin: auto;
3145
3149
  }
@@ -4155,6 +4159,10 @@ code.property-detail-value[data-v-8b57daa7] {
4155
4159
  resize: none;
4156
4160
  }
4157
4161
 
4162
+ .scalar-app .resize-y {
4163
+ resize: vertical;
4164
+ }
4165
+
4158
4166
  .scalar-app .scroll-mt-24 {
4159
4167
  scroll-margin-top: 96px;
4160
4168
  }
@@ -7763,20 +7771,20 @@ to {
7763
7771
  background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
7764
7772
  }
7765
7773
 
7766
- [data-v-09f26d90] .code-input-lite__editor {
7774
+ [data-v-321c6212] .code-input-lite__editor {
7767
7775
  background-color: transparent;
7768
7776
  font-family: var(--scalar-font);
7769
7777
  font-size: var(--scalar-small);
7770
7778
  padding: 5px 8px;
7771
7779
  }
7772
- [data-v-09f26d90] .scalar-pill:not(:last-of-type) {
7780
+ [data-v-321c6212] .scalar-pill:not(:last-of-type) {
7773
7781
  margin-right: 0.15em;
7774
7782
  }
7775
- [data-v-09f26d90] .scalar-pill:not(:first-of-type) {
7783
+ [data-v-321c6212] .scalar-pill:not(:first-of-type) {
7776
7784
  margin-left: 0.5px;
7777
7785
  }
7778
7786
 
7779
- [data-v-fab4ee95] .cm-content {
7787
+ [data-v-b8f0fb41] .cm-content {
7780
7788
  font-size: var(--scalar-small);
7781
7789
  }
7782
7790
 
package/package.json CHANGED
@@ -19,7 +19,7 @@
19
19
  "testing",
20
20
  "react"
21
21
  ],
22
- "version": "2.0.64",
22
+ "version": "2.0.65",
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.24.0",
43
- "@scalar/blocks": "0.6.4",
44
- "@scalar/helpers": "0.17.0",
45
- "@scalar/workspace-store": "0.70.0"
42
+ "@scalar/api-client": "3.25.0",
43
+ "@scalar/blocks": "0.7.0",
44
+ "@scalar/helpers": "0.17.1",
45
+ "@scalar/workspace-store": "0.71.0"
46
46
  },
47
47
  "devDependencies": {
48
48
  "@testing-library/dom": "^10.4.2",
@@ -51,12 +51,12 @@
51
51
  "@types/react": "^19.3.0",
52
52
  "@types/react-dom": "^19.3.0",
53
53
  "@vitejs/plugin-react": "6.1.2",
54
- "jsdom": "29.0.1",
54
+ "jsdom": "30.1.3",
55
55
  "react": "^19.3.1",
56
56
  "react-dom": "^19.3.1",
57
57
  "rollup-preserve-directives": "^1.1.3",
58
58
  "vite": "8.3.4",
59
- "vitest": "^4.1.12"
59
+ "vitest": "5.0.5"
60
60
  },
61
61
  "peerDependencies": {
62
62
  "react": "^18.0.0 || ^19.0.0"