@scalar/api-client-react 2.0.67 → 2.0.68
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 +6 -0
- package/dist/style.css +61 -26
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @scalar/api-client-react
|
|
2
2
|
|
|
3
|
+
## 2.0.68
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#11004](https://github.com/scalar/scalar/pull/11004): Support TypeScript 6 builds and compiler API consumers while preserving runtime output and public handler types. Keep Nuxt build tooling on its supported TypeScript 5 compiler.
|
|
8
|
+
|
|
3
9
|
## 2.0.67
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
package/dist/style.css
CHANGED
|
@@ -751,6 +751,14 @@
|
|
|
751
751
|
border-radius: var(--scalar-radius-xl);
|
|
752
752
|
}
|
|
753
753
|
|
|
754
|
+
:where(.scalar-card.p-1 > .scalar-card-header:first-child:not(:last-child)) {
|
|
755
|
+
margin-block: -2px 2px;
|
|
756
|
+
}
|
|
757
|
+
|
|
758
|
+
:where(.scalar-card.p-1 > .scalar-card-footer:last-child:not(:first-child)) {
|
|
759
|
+
margin-block: 2px -2px;
|
|
760
|
+
}
|
|
761
|
+
|
|
754
762
|
.scalar-app .hljs-regexp, .scalar-app .hljs-string, .scalar-app .hljs-built_in, .scalar-app .hljs-subst, .scalar-app .hljs-name, .scalar-app .hljs-doctag, .scalar-app .hljs-section, .scalar-app .hljs-title {
|
|
755
763
|
color: var(--scalar-color-blue);
|
|
756
764
|
}
|
|
@@ -1967,17 +1975,17 @@
|
|
|
1967
1975
|
border-radius: var(--scalar-radius);
|
|
1968
1976
|
}
|
|
1969
1977
|
|
|
1970
|
-
.request-card[data-v-aaf1efda], .request-card[data-v-
|
|
1978
|
+
.request-card[data-v-aaf1efda], .request-card[data-v-8530ae0b] {
|
|
1971
1979
|
color: var(--scalar-color-1);
|
|
1972
1980
|
font-size: var(--scalar-font-size-3);
|
|
1973
1981
|
}
|
|
1974
1982
|
|
|
1975
|
-
.request-method[data-v-
|
|
1983
|
+
.request-method[data-v-8530ae0b] {
|
|
1976
1984
|
font-family: var(--scalar-font-code);
|
|
1977
1985
|
margin-right: 6px;
|
|
1978
1986
|
}
|
|
1979
1987
|
|
|
1980
|
-
.request-card-footer[data-v-
|
|
1988
|
+
.request-card-footer[data-v-8530ae0b] {
|
|
1981
1989
|
flex-shrink: 0;
|
|
1982
1990
|
justify-content: flex-end;
|
|
1983
1991
|
padding: 6px;
|
|
@@ -1985,34 +1993,36 @@
|
|
|
1985
1993
|
position: relative;
|
|
1986
1994
|
}
|
|
1987
1995
|
|
|
1988
|
-
.request-card-footer--wraps[data-v-
|
|
1996
|
+
.request-card-footer--wraps[data-v-8530ae0b] {
|
|
1989
1997
|
flex-wrap: wrap;
|
|
1990
1998
|
row-gap: 4px;
|
|
1991
1999
|
}
|
|
1992
2000
|
|
|
1993
|
-
.request-card-footer-start[data-v-
|
|
2001
|
+
.request-card-footer-start[data-v-8530ae0b] {
|
|
1994
2002
|
flex: 1 0 auto;
|
|
1995
2003
|
align-items: center;
|
|
1996
2004
|
display: flex;
|
|
1997
2005
|
}
|
|
1998
2006
|
|
|
1999
|
-
.request-card-footer-addon[data-v-
|
|
2000
|
-
flex:
|
|
2007
|
+
.request-card-footer-addon[data-v-8530ae0b] {
|
|
2008
|
+
flex: 7em;
|
|
2001
2009
|
align-items: center;
|
|
2002
2010
|
min-width: 0;
|
|
2011
|
+
max-width: max-content;
|
|
2012
|
+
margin-inline-end: auto;
|
|
2003
2013
|
display: flex;
|
|
2004
2014
|
}
|
|
2005
2015
|
|
|
2006
|
-
.request-editor-section[data-v-
|
|
2016
|
+
.request-editor-section[data-v-8530ae0b] {
|
|
2007
2017
|
flex: 1;
|
|
2008
2018
|
display: flex;
|
|
2009
2019
|
}
|
|
2010
2020
|
|
|
2011
|
-
.code-snippet > .scalar-code-copy[data-v-
|
|
2021
|
+
.code-snippet > .scalar-code-copy[data-v-8530ae0b] {
|
|
2012
2022
|
background: var(--scalar-card-surface-raised, var(--scalar-background-2));
|
|
2013
2023
|
}
|
|
2014
2024
|
|
|
2015
|
-
.request-card-simple[data-v-
|
|
2025
|
+
.request-card-simple[data-v-8530ae0b] {
|
|
2016
2026
|
font-size: var(--scalar-small);
|
|
2017
2027
|
flex-wrap: wrap;
|
|
2018
2028
|
justify-content: space-between;
|
|
@@ -2022,17 +2032,17 @@
|
|
|
2022
2032
|
display: flex;
|
|
2023
2033
|
}
|
|
2024
2034
|
|
|
2025
|
-
.request-header[data-v-
|
|
2035
|
+
.request-header[data-v-8530ae0b] {
|
|
2026
2036
|
overflow-wrap: anywhere;
|
|
2027
2037
|
flex: 999 auto;
|
|
2028
2038
|
min-width: 0;
|
|
2029
2039
|
}
|
|
2030
2040
|
|
|
2031
|
-
.request-card-actions[data-v-
|
|
2041
|
+
.request-card-actions[data-v-8530ae0b] {
|
|
2032
2042
|
flex: 1 0 auto;
|
|
2033
2043
|
}
|
|
2034
2044
|
|
|
2035
|
-
.code-snippet[data-v-
|
|
2045
|
+
.code-snippet[data-v-8530ae0b] {
|
|
2036
2046
|
flex-direction: column;
|
|
2037
2047
|
width: 100%;
|
|
2038
2048
|
display: flex;
|
|
@@ -3112,6 +3122,10 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
3112
3122
|
order: 9999;
|
|
3113
3123
|
}
|
|
3114
3124
|
|
|
3125
|
+
.scalar-app .col-span-2 {
|
|
3126
|
+
grid-column: span 2 / span 2;
|
|
3127
|
+
}
|
|
3128
|
+
|
|
3115
3129
|
.scalar-app .col-span-full {
|
|
3116
3130
|
grid-column: 1 / -1;
|
|
3117
3131
|
}
|
|
@@ -3685,6 +3699,10 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
3685
3699
|
height: 24px;
|
|
3686
3700
|
}
|
|
3687
3701
|
|
|
3702
|
+
.scalar-app .h-7 {
|
|
3703
|
+
height: 28px;
|
|
3704
|
+
}
|
|
3705
|
+
|
|
3688
3706
|
.scalar-app .h-8 {
|
|
3689
3707
|
height: 32px;
|
|
3690
3708
|
}
|
|
@@ -3777,6 +3795,10 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
3777
3795
|
max-height: fit-content;
|
|
3778
3796
|
}
|
|
3779
3797
|
|
|
3798
|
+
.scalar-app .max-h-none {
|
|
3799
|
+
max-height: none;
|
|
3800
|
+
}
|
|
3801
|
+
|
|
3780
3802
|
.scalar-app .max-h-radix-popper {
|
|
3781
3803
|
max-height: calc(var(--radix-popper-available-height) - 8px);
|
|
3782
3804
|
}
|
|
@@ -4225,6 +4247,10 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
4225
4247
|
scroll-margin-top: 96px;
|
|
4226
4248
|
}
|
|
4227
4249
|
|
|
4250
|
+
.scalar-app .list-none {
|
|
4251
|
+
list-style-type: none;
|
|
4252
|
+
}
|
|
4253
|
+
|
|
4228
4254
|
.scalar-app .appearance-none {
|
|
4229
4255
|
appearance: none;
|
|
4230
4256
|
}
|
|
@@ -5101,10 +5127,6 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
5101
5127
|
padding-top: 4px;
|
|
5102
5128
|
}
|
|
5103
5129
|
|
|
5104
|
-
.scalar-app .pt-2 {
|
|
5105
|
-
padding-top: 8px;
|
|
5106
|
-
}
|
|
5107
|
-
|
|
5108
5130
|
.scalar-app .pt-3 {
|
|
5109
5131
|
padding-top: 12px;
|
|
5110
5132
|
}
|
|
@@ -5443,7 +5465,15 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
5443
5465
|
text-wrap: pretty;
|
|
5444
5466
|
}
|
|
5445
5467
|
|
|
5446
|
-
.scalar-app .break-words
|
|
5468
|
+
.scalar-app .break-words {
|
|
5469
|
+
overflow-wrap: break-word;
|
|
5470
|
+
}
|
|
5471
|
+
|
|
5472
|
+
.scalar-app .wrap-anywhere {
|
|
5473
|
+
overflow-wrap: anywhere;
|
|
5474
|
+
}
|
|
5475
|
+
|
|
5476
|
+
.scalar-app .wrap-break-word {
|
|
5447
5477
|
overflow-wrap: break-word;
|
|
5448
5478
|
}
|
|
5449
5479
|
|
|
@@ -6575,7 +6605,16 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
6575
6605
|
opacity: 1;
|
|
6576
6606
|
}
|
|
6577
6607
|
|
|
6578
|
-
.scalar-app .has-\[\:focus-visible\]\:outline:has(:focus-visible)
|
|
6608
|
+
.scalar-app .has-\[\:focus-visible\]\:outline:has(:focus-visible) {
|
|
6609
|
+
outline-style: var(--tw-outline-style);
|
|
6610
|
+
outline-width: 1px;
|
|
6611
|
+
}
|
|
6612
|
+
|
|
6613
|
+
.scalar-app .has-\[\:focus-visible\]\:outline-c-accent:has(:focus-visible) {
|
|
6614
|
+
outline-color: var(--scalar-color-accent);
|
|
6615
|
+
}
|
|
6616
|
+
|
|
6617
|
+
.scalar-app .has-\[input\:focus-visible\]\:outline:has(:is(input:focus-visible)) {
|
|
6579
6618
|
outline-style: var(--tw-outline-style);
|
|
6580
6619
|
outline-width: 1px;
|
|
6581
6620
|
}
|
|
@@ -6917,10 +6956,6 @@ code.property-detail-value[data-v-8b57daa7] {
|
|
|
6917
6956
|
rotate: 90deg;
|
|
6918
6957
|
}
|
|
6919
6958
|
|
|
6920
|
-
.scalar-app .ui-open\:rotate-180[data-headlessui-state~="open"], :where([data-headlessui-state~="open"]) :is(.scalar-app .ui-open\:rotate-180) {
|
|
6921
|
-
rotate: 180deg;
|
|
6922
|
-
}
|
|
6923
|
-
|
|
6924
6959
|
.scalar-app .last\:ui-open\:border-b-0:last-child[data-headlessui-state~="open"], :where([data-headlessui-state~="open"]) :is(.scalar-app .last\:ui-open\:border-b-0:last-child) {
|
|
6925
6960
|
border-bottom-style: var(--tw-border-style);
|
|
6926
6961
|
border-bottom-width: 0;
|
|
@@ -7837,16 +7872,16 @@ to {
|
|
|
7837
7872
|
background: color-mix(in srgb, var(--scalar-background-3), transparent 40%);
|
|
7838
7873
|
}
|
|
7839
7874
|
|
|
7840
|
-
[data-v-
|
|
7875
|
+
[data-v-81035f01] .code-input-lite__editor {
|
|
7841
7876
|
background-color: transparent;
|
|
7842
7877
|
font-family: var(--scalar-font);
|
|
7843
7878
|
font-size: var(--scalar-small);
|
|
7844
7879
|
padding: 5px 8px;
|
|
7845
7880
|
}
|
|
7846
|
-
[data-v-
|
|
7881
|
+
[data-v-81035f01] .scalar-pill:not(:last-of-type) {
|
|
7847
7882
|
margin-right: 0.15em;
|
|
7848
7883
|
}
|
|
7849
|
-
[data-v-
|
|
7884
|
+
[data-v-81035f01] .scalar-pill:not(:first-of-type) {
|
|
7850
7885
|
margin-left: 0.5px;
|
|
7851
7886
|
}
|
|
7852
7887
|
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"testing",
|
|
20
20
|
"react"
|
|
21
21
|
],
|
|
22
|
-
"version": "2.0.
|
|
22
|
+
"version": "2.0.68",
|
|
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.
|
|
43
|
-
"@scalar/blocks": "0.7.
|
|
44
|
-
"@scalar/helpers": "0.18.
|
|
45
|
-
"@scalar/workspace-store": "0.
|
|
42
|
+
"@scalar/api-client": "3.27.0",
|
|
43
|
+
"@scalar/blocks": "0.7.3",
|
|
44
|
+
"@scalar/helpers": "0.18.1",
|
|
45
|
+
"@scalar/workspace-store": "0.73.0"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@testing-library/dom": "^10.4.2",
|