@scalar/api-client-react 1.4.16 → 1.4.18
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 +4 -0
- package/dist/style.css +43 -40
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -1405,12 +1405,12 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
1405
1405
|
}
|
|
1406
1406
|
}
|
|
1407
1407
|
@media (max-width: 720px) and (max-height: 480px) {
|
|
1408
|
-
.scalar-modal-layout .scalar-modal[data-v-
|
|
1408
|
+
.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2] {
|
|
1409
1409
|
max-height: 90svh;
|
|
1410
1410
|
margin-top: 5svh;
|
|
1411
1411
|
}
|
|
1412
1412
|
}
|
|
1413
|
-
@keyframes fadein-layout-
|
|
1413
|
+
@keyframes fadein-layout-5bb1dcc2 {
|
|
1414
1414
|
0% {
|
|
1415
1415
|
opacity: 0;
|
|
1416
1416
|
}
|
|
@@ -1419,7 +1419,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
1419
1419
|
opacity: 1;
|
|
1420
1420
|
}
|
|
1421
1421
|
}
|
|
1422
|
-
@keyframes fadein-modal-
|
|
1422
|
+
@keyframes fadein-modal-5bb1dcc2 {
|
|
1423
1423
|
0% {
|
|
1424
1424
|
opacity: 0;
|
|
1425
1425
|
transform: translate3d(0, 10px, 0);
|
|
@@ -1431,7 +1431,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
1431
1431
|
}
|
|
1432
1432
|
}
|
|
1433
1433
|
@media (min-width: 800px) {
|
|
1434
|
-
.full-size-styles[data-v-
|
|
1434
|
+
.full-size-styles[data-v-5bb1dcc2] {
|
|
1435
1435
|
width: 50dvw !important;
|
|
1436
1436
|
}
|
|
1437
1437
|
}
|
|
@@ -2862,19 +2862,19 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
2862
2862
|
.scalar-app .markdown.markdown-summary.markdown-summary img, .scalar-app .markdown.markdown-summary.markdown-summary svg, .scalar-app .markdown.markdown-summary.markdown-summary hr, .scalar-app .markdown.markdown-summary.markdown-summary pre {
|
|
2863
2863
|
display: none;
|
|
2864
2864
|
}
|
|
2865
|
-
.scalar-modal-layout[data-v-
|
|
2866
|
-
animation: .3s ease-in-out forwards fadein-layout-
|
|
2865
|
+
.scalar-modal-layout[data-v-5bb1dcc2] {
|
|
2866
|
+
animation: .3s ease-in-out forwards fadein-layout-5bb1dcc2;
|
|
2867
2867
|
}
|
|
2868
|
-
.scalar-modal[data-v-
|
|
2868
|
+
.scalar-modal[data-v-5bb1dcc2] {
|
|
2869
2869
|
box-shadow: var(--scalar-shadow-2);
|
|
2870
|
-
animation: .3s ease-in-out .1s forwards fadein-modal-
|
|
2870
|
+
animation: .3s ease-in-out .1s forwards fadein-modal-5bb1dcc2;
|
|
2871
2871
|
transform: translate3d(0, 10px, 0);
|
|
2872
2872
|
}
|
|
2873
|
-
.scalar-modal-layout-full[data-v-
|
|
2873
|
+
.scalar-modal-layout-full[data-v-5bb1dcc2] {
|
|
2874
2874
|
opacity: 1 !important;
|
|
2875
2875
|
background: none !important;
|
|
2876
2876
|
}
|
|
2877
|
-
.modal-content-search .modal-body[data-v-
|
|
2877
|
+
.modal-content-search .modal-body[data-v-5bb1dcc2] {
|
|
2878
2878
|
flex-direction: column;
|
|
2879
2879
|
max-height: 440px;
|
|
2880
2880
|
padding: 0;
|
|
@@ -2882,15 +2882,15 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
2882
2882
|
overflow: hidden;
|
|
2883
2883
|
}
|
|
2884
2884
|
@media (max-width: 720px) and (max-height: 480px) {
|
|
2885
|
-
.scalar-modal-layout .scalar-modal[data-v-
|
|
2885
|
+
.scalar-modal-layout .scalar-modal[data-v-5bb1dcc2] {
|
|
2886
2886
|
max-height: 90svh;
|
|
2887
2887
|
margin-top: 5svh;
|
|
2888
2888
|
}
|
|
2889
2889
|
}
|
|
2890
|
-
.full-size-styles[data-v-
|
|
2890
|
+
.full-size-styles[data-v-5bb1dcc2] {
|
|
2891
2891
|
margin: initial;
|
|
2892
2892
|
border-right: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
2893
|
-
animation: .3s ease-in-out forwards fadein-layout-
|
|
2893
|
+
animation: .3s ease-in-out forwards fadein-layout-5bb1dcc2;
|
|
2894
2894
|
left: 0;
|
|
2895
2895
|
transform: translate3d(0, 0, 0);
|
|
2896
2896
|
background-color: var(--scalar-background-1) !important;
|
|
@@ -2901,11 +2901,11 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
2901
2901
|
top: 0 !important;
|
|
2902
2902
|
}
|
|
2903
2903
|
@media (min-width: 800px) {
|
|
2904
|
-
.full-size-styles[data-v-
|
|
2904
|
+
.full-size-styles[data-v-5bb1dcc2] {
|
|
2905
2905
|
width: 50dvw !important;
|
|
2906
2906
|
}
|
|
2907
2907
|
}
|
|
2908
|
-
.full-size-styles[data-v-
|
|
2908
|
+
.full-size-styles[data-v-5bb1dcc2]:after {
|
|
2909
2909
|
content: "";
|
|
2910
2910
|
width: 50dvw;
|
|
2911
2911
|
height: 100dvh;
|
|
@@ -4598,12 +4598,12 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
4598
4598
|
.scalar-app .h-64 {
|
|
4599
4599
|
height: 256px;
|
|
4600
4600
|
}
|
|
4601
|
+
.scalar-app .h-125 {
|
|
4602
|
+
height: 500px;
|
|
4603
|
+
}
|
|
4601
4604
|
.scalar-app .h-\[68px\] {
|
|
4602
4605
|
height: 68px;
|
|
4603
4606
|
}
|
|
4604
|
-
.scalar-app .h-\[500px\] {
|
|
4605
|
-
height: 500px;
|
|
4606
|
-
}
|
|
4607
4607
|
.scalar-app .h-\[calc\(100\%-273\.5px\)\] {
|
|
4608
4608
|
height: calc(100% - 273.5px);
|
|
4609
4609
|
}
|
|
@@ -7053,6 +7053,9 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7053
7053
|
.app-platform-mac :is(.scalar-app .mac\:app-drag-region) {
|
|
7054
7054
|
-webkit-app-region: drag;
|
|
7055
7055
|
}
|
|
7056
|
+
.scalar-app .\[\&_\.monaco-editor\]\:rounded-lg .monaco-editor, .scalar-app .\[\&_\.overflow-guard\]\:rounded-lg .overflow-guard {
|
|
7057
|
+
border-radius: var(--scalar-radius-lg);
|
|
7058
|
+
}
|
|
7056
7059
|
.scalar-app .\[\&\>label\]\:bg-transparent > label {
|
|
7057
7060
|
background-color: #0000;
|
|
7058
7061
|
}
|
|
@@ -7127,23 +7130,23 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7127
7130
|
/*
|
|
7128
7131
|
Deep styling for customizing Codemirror
|
|
7129
7132
|
*/
|
|
7130
|
-
[data-v-
|
|
7133
|
+
[data-v-e041f4b0] .cm-editor {
|
|
7131
7134
|
height: 100%;
|
|
7132
7135
|
outline: none;
|
|
7133
7136
|
padding: 0;
|
|
7134
7137
|
background: transparent;
|
|
7135
7138
|
}
|
|
7136
|
-
[data-v-
|
|
7139
|
+
[data-v-e041f4b0] .cm-placeholder {
|
|
7137
7140
|
color: var(--scalar-color-3);
|
|
7138
7141
|
}
|
|
7139
|
-
[data-v-
|
|
7142
|
+
[data-v-e041f4b0] .cm-content {
|
|
7140
7143
|
font-family: var(--scalar-font-code);
|
|
7141
7144
|
font-size: var(--scalar-small);
|
|
7142
7145
|
max-height: 20px;
|
|
7143
7146
|
padding: 8px 0;
|
|
7144
7147
|
}
|
|
7145
7148
|
/* Tooltip helper */
|
|
7146
|
-
[data-v-
|
|
7149
|
+
[data-v-e041f4b0] .cm-tooltip {
|
|
7147
7150
|
background: transparent !important;
|
|
7148
7151
|
filter: brightness(var(--scalar-lifted-brightness));
|
|
7149
7152
|
border-radius: var(--scalar-radius);
|
|
@@ -7152,43 +7155,43 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7152
7155
|
outline: none !important;
|
|
7153
7156
|
overflow: hidden !important;
|
|
7154
7157
|
}
|
|
7155
|
-
[data-v-
|
|
7158
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li {
|
|
7156
7159
|
padding: 3px 6px !important;
|
|
7157
7160
|
}
|
|
7158
|
-
[data-v-
|
|
7161
|
+
[data-v-e041f4b0] .cm-completionIcon-type:after {
|
|
7159
7162
|
color: var(--scalar-color-3) !important;
|
|
7160
7163
|
}
|
|
7161
|
-
[data-v-
|
|
7164
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li[aria-selected] {
|
|
7162
7165
|
background: var(--scalar-background-2) !important;
|
|
7163
7166
|
color: var(--scalar-color-1) !important;
|
|
7164
7167
|
}
|
|
7165
|
-
[data-v-
|
|
7168
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul {
|
|
7166
7169
|
padding: 6px !important;
|
|
7167
7170
|
position: relative;
|
|
7168
7171
|
}
|
|
7169
|
-
[data-v-
|
|
7172
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li:hover {
|
|
7170
7173
|
border-radius: 3px;
|
|
7171
7174
|
color: var(--scalar-color-1) !important;
|
|
7172
7175
|
background: var(--scalar-background-3) !important;
|
|
7173
7176
|
}
|
|
7174
7177
|
/* Disable active line highlighting */
|
|
7175
|
-
[data-v-
|
|
7178
|
+
[data-v-e041f4b0] .cm-activeLine,[data-v-e041f4b0] .cm-activeLineGutter {
|
|
7176
7179
|
background-color: transparent;
|
|
7177
7180
|
}
|
|
7178
7181
|
/* Color selection matching */
|
|
7179
|
-
[data-v-
|
|
7182
|
+
[data-v-e041f4b0] .cm-selectionMatch,[data-v-e041f4b0] .cm-matchingBracket {
|
|
7180
7183
|
border-radius: var(--scalar-radius);
|
|
7181
7184
|
background: var(--scalar-background-4) !important;
|
|
7182
7185
|
}
|
|
7183
7186
|
/* Color Picker Swatches */
|
|
7184
|
-
[data-v-
|
|
7187
|
+
[data-v-e041f4b0] .cm-css-color-picker-wrapper {
|
|
7185
7188
|
display: inline-flex;
|
|
7186
7189
|
outline: 1px solid var(--scalar-background-3);
|
|
7187
7190
|
border-radius: 3px;
|
|
7188
7191
|
overflow: hidden;
|
|
7189
7192
|
}
|
|
7190
7193
|
/* Number gutter */
|
|
7191
|
-
[data-v-
|
|
7194
|
+
[data-v-e041f4b0] .cm-gutters {
|
|
7192
7195
|
background-color: transparent;
|
|
7193
7196
|
border-right: none;
|
|
7194
7197
|
color: var(--scalar-color-3);
|
|
@@ -7196,7 +7199,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7196
7199
|
line-height: 22px;
|
|
7197
7200
|
border-radius: 0 0 0 3px;
|
|
7198
7201
|
}
|
|
7199
|
-
[data-v-
|
|
7202
|
+
[data-v-e041f4b0] .cm-gutters:before {
|
|
7200
7203
|
content: '';
|
|
7201
7204
|
position: absolute;
|
|
7202
7205
|
top: 2px;
|
|
@@ -7206,7 +7209,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7206
7209
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
7207
7210
|
background-color: var(--scalar-background-1);
|
|
7208
7211
|
}
|
|
7209
|
-
[data-v-
|
|
7212
|
+
[data-v-e041f4b0] .cm-gutterElement {
|
|
7210
7213
|
font-family: var(--scalar-font-code) !important;
|
|
7211
7214
|
padding-left: 0px !important;
|
|
7212
7215
|
padding-right: 6px !important;
|
|
@@ -7215,16 +7218,16 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7215
7218
|
justify-content: flex-end;
|
|
7216
7219
|
position: relative;
|
|
7217
7220
|
}
|
|
7218
|
-
[data-v-
|
|
7221
|
+
[data-v-e041f4b0] .cm-lineNumbers .cm-gutterElement {
|
|
7219
7222
|
min-width: fit-content;
|
|
7220
7223
|
}
|
|
7221
|
-
[data-v-
|
|
7224
|
+
[data-v-e041f4b0] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
|
|
7222
7225
|
padding-left: 0 !important;
|
|
7223
7226
|
}
|
|
7224
|
-
[data-v-
|
|
7227
|
+
[data-v-e041f4b0] .cm-scroller {
|
|
7225
7228
|
overflow: auto;
|
|
7226
7229
|
}
|
|
7227
|
-
.line-wrapping[data-v-
|
|
7230
|
+
.line-wrapping[data-v-e041f4b0]:focus-within .cm-content {
|
|
7228
7231
|
display: inline-table;
|
|
7229
7232
|
min-height: fit-content;
|
|
7230
7233
|
padding: 3px 6px;
|
|
@@ -8355,15 +8358,15 @@ to {
|
|
|
8355
8358
|
padding: 0;
|
|
8356
8359
|
text-overflow: ellipsis;
|
|
8357
8360
|
}
|
|
8358
|
-
.editor-container[data-v-
|
|
8361
|
+
.editor-container[data-v-e99ee660] {
|
|
8359
8362
|
width: 100%;
|
|
8360
8363
|
height: 100%;
|
|
8361
8364
|
}
|
|
8362
|
-
[data-v-
|
|
8365
|
+
[data-v-e99ee660] .json-path-highlight {
|
|
8363
8366
|
background-color: rgba(255, 200, 0, 0.35);
|
|
8364
8367
|
border-radius: 4px;
|
|
8365
8368
|
}
|
|
8366
|
-
[data-v-
|
|
8369
|
+
[data-v-e99ee660] .json-focus-highlight {
|
|
8367
8370
|
background-color: color-mix(
|
|
8368
8371
|
in srgb,
|
|
8369
8372
|
var(--scalar-color-accent, #24b47e) 18%,
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"testing",
|
|
20
20
|
"react"
|
|
21
21
|
],
|
|
22
|
-
"version": "1.4.
|
|
22
|
+
"version": "1.4.18",
|
|
23
23
|
"engines": {
|
|
24
24
|
"node": ">=22"
|
|
25
25
|
},
|
|
@@ -39,8 +39,8 @@
|
|
|
39
39
|
"CHANGELOG.md"
|
|
40
40
|
],
|
|
41
41
|
"dependencies": {
|
|
42
|
-
"@scalar/
|
|
43
|
-
"@scalar/
|
|
42
|
+
"@scalar/types": "0.7.5",
|
|
43
|
+
"@scalar/api-client": "2.39.4"
|
|
44
44
|
},
|
|
45
45
|
"devDependencies": {
|
|
46
46
|
"@types/react": "^19.2.7",
|