@scalar/api-client-react 1.4.17 → 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 +2 -0
- package/dist/style.css +34 -34
- 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;
|
|
@@ -7130,23 +7130,23 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7130
7130
|
/*
|
|
7131
7131
|
Deep styling for customizing Codemirror
|
|
7132
7132
|
*/
|
|
7133
|
-
[data-v-
|
|
7133
|
+
[data-v-e041f4b0] .cm-editor {
|
|
7134
7134
|
height: 100%;
|
|
7135
7135
|
outline: none;
|
|
7136
7136
|
padding: 0;
|
|
7137
7137
|
background: transparent;
|
|
7138
7138
|
}
|
|
7139
|
-
[data-v-
|
|
7139
|
+
[data-v-e041f4b0] .cm-placeholder {
|
|
7140
7140
|
color: var(--scalar-color-3);
|
|
7141
7141
|
}
|
|
7142
|
-
[data-v-
|
|
7142
|
+
[data-v-e041f4b0] .cm-content {
|
|
7143
7143
|
font-family: var(--scalar-font-code);
|
|
7144
7144
|
font-size: var(--scalar-small);
|
|
7145
7145
|
max-height: 20px;
|
|
7146
7146
|
padding: 8px 0;
|
|
7147
7147
|
}
|
|
7148
7148
|
/* Tooltip helper */
|
|
7149
|
-
[data-v-
|
|
7149
|
+
[data-v-e041f4b0] .cm-tooltip {
|
|
7150
7150
|
background: transparent !important;
|
|
7151
7151
|
filter: brightness(var(--scalar-lifted-brightness));
|
|
7152
7152
|
border-radius: var(--scalar-radius);
|
|
@@ -7155,43 +7155,43 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7155
7155
|
outline: none !important;
|
|
7156
7156
|
overflow: hidden !important;
|
|
7157
7157
|
}
|
|
7158
|
-
[data-v-
|
|
7158
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li {
|
|
7159
7159
|
padding: 3px 6px !important;
|
|
7160
7160
|
}
|
|
7161
|
-
[data-v-
|
|
7161
|
+
[data-v-e041f4b0] .cm-completionIcon-type:after {
|
|
7162
7162
|
color: var(--scalar-color-3) !important;
|
|
7163
7163
|
}
|
|
7164
|
-
[data-v-
|
|
7164
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li[aria-selected] {
|
|
7165
7165
|
background: var(--scalar-background-2) !important;
|
|
7166
7166
|
color: var(--scalar-color-1) !important;
|
|
7167
7167
|
}
|
|
7168
|
-
[data-v-
|
|
7168
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul {
|
|
7169
7169
|
padding: 6px !important;
|
|
7170
7170
|
position: relative;
|
|
7171
7171
|
}
|
|
7172
|
-
[data-v-
|
|
7172
|
+
[data-v-e041f4b0] .cm-tooltip-autocomplete ul li:hover {
|
|
7173
7173
|
border-radius: 3px;
|
|
7174
7174
|
color: var(--scalar-color-1) !important;
|
|
7175
7175
|
background: var(--scalar-background-3) !important;
|
|
7176
7176
|
}
|
|
7177
7177
|
/* Disable active line highlighting */
|
|
7178
|
-
[data-v-
|
|
7178
|
+
[data-v-e041f4b0] .cm-activeLine,[data-v-e041f4b0] .cm-activeLineGutter {
|
|
7179
7179
|
background-color: transparent;
|
|
7180
7180
|
}
|
|
7181
7181
|
/* Color selection matching */
|
|
7182
|
-
[data-v-
|
|
7182
|
+
[data-v-e041f4b0] .cm-selectionMatch,[data-v-e041f4b0] .cm-matchingBracket {
|
|
7183
7183
|
border-radius: var(--scalar-radius);
|
|
7184
7184
|
background: var(--scalar-background-4) !important;
|
|
7185
7185
|
}
|
|
7186
7186
|
/* Color Picker Swatches */
|
|
7187
|
-
[data-v-
|
|
7187
|
+
[data-v-e041f4b0] .cm-css-color-picker-wrapper {
|
|
7188
7188
|
display: inline-flex;
|
|
7189
7189
|
outline: 1px solid var(--scalar-background-3);
|
|
7190
7190
|
border-radius: 3px;
|
|
7191
7191
|
overflow: hidden;
|
|
7192
7192
|
}
|
|
7193
7193
|
/* Number gutter */
|
|
7194
|
-
[data-v-
|
|
7194
|
+
[data-v-e041f4b0] .cm-gutters {
|
|
7195
7195
|
background-color: transparent;
|
|
7196
7196
|
border-right: none;
|
|
7197
7197
|
color: var(--scalar-color-3);
|
|
@@ -7199,7 +7199,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7199
7199
|
line-height: 22px;
|
|
7200
7200
|
border-radius: 0 0 0 3px;
|
|
7201
7201
|
}
|
|
7202
|
-
[data-v-
|
|
7202
|
+
[data-v-e041f4b0] .cm-gutters:before {
|
|
7203
7203
|
content: '';
|
|
7204
7204
|
position: absolute;
|
|
7205
7205
|
top: 2px;
|
|
@@ -7209,7 +7209,7 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7209
7209
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
7210
7210
|
background-color: var(--scalar-background-1);
|
|
7211
7211
|
}
|
|
7212
|
-
[data-v-
|
|
7212
|
+
[data-v-e041f4b0] .cm-gutterElement {
|
|
7213
7213
|
font-family: var(--scalar-font-code) !important;
|
|
7214
7214
|
padding-left: 0px !important;
|
|
7215
7215
|
padding-right: 6px !important;
|
|
@@ -7218,16 +7218,16 @@ input[data-v-c1a50a6e]::placeholder {
|
|
|
7218
7218
|
justify-content: flex-end;
|
|
7219
7219
|
position: relative;
|
|
7220
7220
|
}
|
|
7221
|
-
[data-v-
|
|
7221
|
+
[data-v-e041f4b0] .cm-lineNumbers .cm-gutterElement {
|
|
7222
7222
|
min-width: fit-content;
|
|
7223
7223
|
}
|
|
7224
|
-
[data-v-
|
|
7224
|
+
[data-v-e041f4b0] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
|
|
7225
7225
|
padding-left: 0 !important;
|
|
7226
7226
|
}
|
|
7227
|
-
[data-v-
|
|
7227
|
+
[data-v-e041f4b0] .cm-scroller {
|
|
7228
7228
|
overflow: auto;
|
|
7229
7229
|
}
|
|
7230
|
-
.line-wrapping[data-v-
|
|
7230
|
+
.line-wrapping[data-v-e041f4b0]:focus-within .cm-content {
|
|
7231
7231
|
display: inline-table;
|
|
7232
7232
|
min-height: fit-content;
|
|
7233
7233
|
padding: 3px 6px;
|
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",
|