@scalar/api-client-react 2.0.53 → 2.0.55
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 +59 -49
- package/package.json +5 -5
package/CHANGELOG.md
CHANGED
package/dist/style.css
CHANGED
|
@@ -2037,10 +2037,6 @@
|
|
|
2037
2037
|
inset-inline: 4px;
|
|
2038
2038
|
}
|
|
2039
2039
|
|
|
2040
|
-
.scalar-app .inset-x-px {
|
|
2041
|
-
inset-inline: 1px;
|
|
2042
|
-
}
|
|
2043
|
-
|
|
2044
2040
|
.scalar-app .-inset-y-0\.5 {
|
|
2045
2041
|
inset-block: -2px;
|
|
2046
2042
|
}
|
|
@@ -2173,6 +2169,10 @@
|
|
|
2173
2169
|
left: 0;
|
|
2174
2170
|
}
|
|
2175
2171
|
|
|
2172
|
+
.scalar-app .left-1\.75 {
|
|
2173
|
+
left: 7px;
|
|
2174
|
+
}
|
|
2175
|
+
|
|
2176
2176
|
.scalar-app .left-1\/2 {
|
|
2177
2177
|
left: 50%;
|
|
2178
2178
|
}
|
|
@@ -2181,10 +2181,6 @@
|
|
|
2181
2181
|
left: 8px;
|
|
2182
2182
|
}
|
|
2183
2183
|
|
|
2184
|
-
.scalar-app .left-2\.5 {
|
|
2185
|
-
left: 10px;
|
|
2186
|
-
}
|
|
2187
|
-
|
|
2188
2184
|
.scalar-app .left-3 {
|
|
2189
2185
|
left: 12px;
|
|
2190
2186
|
}
|
|
@@ -2497,6 +2493,10 @@
|
|
|
2497
2493
|
margin-bottom: 0;
|
|
2498
2494
|
}
|
|
2499
2495
|
|
|
2496
|
+
.scalar-app .mb-0\.75 {
|
|
2497
|
+
margin-bottom: 3px;
|
|
2498
|
+
}
|
|
2499
|
+
|
|
2500
2500
|
.scalar-app .mb-1 {
|
|
2501
2501
|
margin-bottom: 4px;
|
|
2502
2502
|
}
|
|
@@ -3974,10 +3974,6 @@
|
|
|
3974
3974
|
padding-block: 8px;
|
|
3975
3975
|
}
|
|
3976
3976
|
|
|
3977
|
-
.scalar-app .py-2\.5 {
|
|
3978
|
-
padding-block: 10px;
|
|
3979
|
-
}
|
|
3980
|
-
|
|
3981
3977
|
.scalar-app .py-3 {
|
|
3982
3978
|
padding-block: 12px;
|
|
3983
3979
|
}
|
|
@@ -4030,6 +4026,10 @@
|
|
|
4030
4026
|
padding-right: 6px;
|
|
4031
4027
|
}
|
|
4032
4028
|
|
|
4029
|
+
.scalar-app .pr-1\.75 {
|
|
4030
|
+
padding-right: 7px;
|
|
4031
|
+
}
|
|
4032
|
+
|
|
4033
4033
|
.scalar-app .pr-2 {
|
|
4034
4034
|
padding-right: 8px;
|
|
4035
4035
|
}
|
|
@@ -4042,10 +4042,6 @@
|
|
|
4042
4042
|
padding-right: 9px;
|
|
4043
4043
|
}
|
|
4044
4044
|
|
|
4045
|
-
.scalar-app .pr-3 {
|
|
4046
|
-
padding-right: 12px;
|
|
4047
|
-
}
|
|
4048
|
-
|
|
4049
4045
|
.scalar-app .pr-6 {
|
|
4050
4046
|
padding-right: 24px;
|
|
4051
4047
|
}
|
|
@@ -4106,8 +4102,8 @@
|
|
|
4106
4102
|
padding-left: 16px;
|
|
4107
4103
|
}
|
|
4108
4104
|
|
|
4109
|
-
.scalar-app .pl-
|
|
4110
|
-
padding-left:
|
|
4105
|
+
.scalar-app .pl-7\.25 {
|
|
4106
|
+
padding-left: 29px;
|
|
4111
4107
|
}
|
|
4112
4108
|
|
|
4113
4109
|
.scalar-app .pl-8\.5 {
|
|
@@ -5089,6 +5085,11 @@
|
|
|
5089
5085
|
display: block;
|
|
5090
5086
|
}
|
|
5091
5087
|
|
|
5088
|
+
.scalar-app .after\:hidden:after {
|
|
5089
|
+
content: var(--tw-content);
|
|
5090
|
+
display: none;
|
|
5091
|
+
}
|
|
5092
|
+
|
|
5092
5093
|
.scalar-app .after\:h-0\.75:after {
|
|
5093
5094
|
content: var(--tw-content);
|
|
5094
5095
|
height: 3px;
|
|
@@ -5099,6 +5100,11 @@
|
|
|
5099
5100
|
border-radius: var(--scalar-radius-md);
|
|
5100
5101
|
}
|
|
5101
5102
|
|
|
5103
|
+
.scalar-app .after\:rounded-\[inherit\]:after {
|
|
5104
|
+
content: var(--tw-content);
|
|
5105
|
+
border-radius: inherit;
|
|
5106
|
+
}
|
|
5107
|
+
|
|
5102
5108
|
.scalar-app .after\:bg-blue:after {
|
|
5103
5109
|
content: var(--tw-content);
|
|
5104
5110
|
background-color: var(--scalar-color-blue);
|
|
@@ -5109,6 +5115,12 @@
|
|
|
5109
5115
|
opacity: .15;
|
|
5110
5116
|
}
|
|
5111
5117
|
|
|
5118
|
+
.scalar-app .after\:shadow-border:after {
|
|
5119
|
+
content: var(--tw-content);
|
|
5120
|
+
--tw-shadow: inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
|
|
5121
|
+
box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
|
|
5122
|
+
}
|
|
5123
|
+
|
|
5112
5124
|
.scalar-app .after\:content-\[\'\:\'\]:after {
|
|
5113
5125
|
--tw-content: ":";
|
|
5114
5126
|
content: var(--tw-content);
|
|
@@ -6245,23 +6257,22 @@ to {
|
|
|
6245
6257
|
/*
|
|
6246
6258
|
Deep styling for customizing Codemirror
|
|
6247
6259
|
*/
|
|
6248
|
-
[data-v-
|
|
6260
|
+
[data-v-5ce9d77a] .cm-editor {
|
|
6249
6261
|
height: 100%;
|
|
6250
6262
|
outline: none;
|
|
6251
6263
|
padding: 0;
|
|
6252
6264
|
background: transparent;
|
|
6253
6265
|
}
|
|
6254
|
-
[data-v-
|
|
6266
|
+
[data-v-5ce9d77a] .cm-placeholder {
|
|
6255
6267
|
color: var(--scalar-color-3);
|
|
6256
6268
|
}
|
|
6257
|
-
[data-v-
|
|
6269
|
+
[data-v-5ce9d77a] .cm-content {
|
|
6258
6270
|
font-family: var(--scalar-font-code);
|
|
6259
6271
|
font-size: var(--scalar-small);
|
|
6260
|
-
max-height: 20px;
|
|
6261
6272
|
padding: 8px 0;
|
|
6262
6273
|
}
|
|
6263
6274
|
/* Tooltip helper */
|
|
6264
|
-
[data-v-
|
|
6275
|
+
[data-v-5ce9d77a] .cm-tooltip {
|
|
6265
6276
|
background: transparent !important;
|
|
6266
6277
|
filter: brightness(var(--scalar-lifted-brightness));
|
|
6267
6278
|
border-radius: var(--scalar-radius);
|
|
@@ -6270,43 +6281,43 @@ to {
|
|
|
6270
6281
|
outline: none !important;
|
|
6271
6282
|
overflow: hidden !important;
|
|
6272
6283
|
}
|
|
6273
|
-
[data-v-
|
|
6284
|
+
[data-v-5ce9d77a] .cm-tooltip-autocomplete ul li {
|
|
6274
6285
|
padding: 3px 6px !important;
|
|
6275
6286
|
}
|
|
6276
|
-
[data-v-
|
|
6287
|
+
[data-v-5ce9d77a] .cm-completionIcon-type:after {
|
|
6277
6288
|
color: var(--scalar-color-3) !important;
|
|
6278
6289
|
}
|
|
6279
|
-
[data-v-
|
|
6290
|
+
[data-v-5ce9d77a] .cm-tooltip-autocomplete ul li[aria-selected] {
|
|
6280
6291
|
background: var(--scalar-background-2) !important;
|
|
6281
6292
|
color: var(--scalar-color-1) !important;
|
|
6282
6293
|
}
|
|
6283
|
-
[data-v-
|
|
6294
|
+
[data-v-5ce9d77a] .cm-tooltip-autocomplete ul {
|
|
6284
6295
|
padding: 6px !important;
|
|
6285
6296
|
position: relative;
|
|
6286
6297
|
}
|
|
6287
|
-
[data-v-
|
|
6298
|
+
[data-v-5ce9d77a] .cm-tooltip-autocomplete ul li:hover {
|
|
6288
6299
|
border-radius: 3px;
|
|
6289
6300
|
color: var(--scalar-color-1) !important;
|
|
6290
6301
|
background: var(--scalar-background-3) !important;
|
|
6291
6302
|
}
|
|
6292
6303
|
/* Disable active line highlighting */
|
|
6293
|
-
[data-v-
|
|
6304
|
+
[data-v-5ce9d77a] .cm-activeLine,[data-v-5ce9d77a] .cm-activeLineGutter {
|
|
6294
6305
|
background-color: transparent;
|
|
6295
6306
|
}
|
|
6296
6307
|
/* Color selection matching */
|
|
6297
|
-
[data-v-
|
|
6308
|
+
[data-v-5ce9d77a] .cm-selectionMatch,[data-v-5ce9d77a] .cm-matchingBracket {
|
|
6298
6309
|
border-radius: var(--scalar-radius);
|
|
6299
6310
|
background: var(--scalar-background-4) !important;
|
|
6300
6311
|
}
|
|
6301
6312
|
/* Color Picker Swatches */
|
|
6302
|
-
[data-v-
|
|
6313
|
+
[data-v-5ce9d77a] .cm-css-color-picker-wrapper {
|
|
6303
6314
|
display: inline-flex;
|
|
6304
6315
|
outline: 1px solid var(--scalar-background-3);
|
|
6305
6316
|
border-radius: 3px;
|
|
6306
6317
|
overflow: hidden;
|
|
6307
6318
|
}
|
|
6308
6319
|
/* Number gutter */
|
|
6309
|
-
[data-v-
|
|
6320
|
+
[data-v-5ce9d77a] .cm-gutters {
|
|
6310
6321
|
background-color: transparent;
|
|
6311
6322
|
border-right: none;
|
|
6312
6323
|
color: var(--scalar-color-3);
|
|
@@ -6314,7 +6325,7 @@ to {
|
|
|
6314
6325
|
line-height: 22px;
|
|
6315
6326
|
border-radius: 0 0 0 3px;
|
|
6316
6327
|
}
|
|
6317
|
-
[data-v-
|
|
6328
|
+
[data-v-5ce9d77a] .cm-gutters:before {
|
|
6318
6329
|
content: '';
|
|
6319
6330
|
position: absolute;
|
|
6320
6331
|
top: 2px;
|
|
@@ -6324,7 +6335,7 @@ to {
|
|
|
6324
6335
|
border-radius: var(--scalar-radius) 0 0 var(--scalar-radius);
|
|
6325
6336
|
background-color: var(--scalar-background-1);
|
|
6326
6337
|
}
|
|
6327
|
-
[data-v-
|
|
6338
|
+
[data-v-5ce9d77a] .cm-gutterElement {
|
|
6328
6339
|
font-family: var(--scalar-font-code) !important;
|
|
6329
6340
|
padding-left: 0px !important;
|
|
6330
6341
|
padding-right: 6px !important;
|
|
@@ -6333,23 +6344,22 @@ to {
|
|
|
6333
6344
|
justify-content: flex-end;
|
|
6334
6345
|
position: relative;
|
|
6335
6346
|
}
|
|
6336
|
-
[data-v-
|
|
6347
|
+
[data-v-5ce9d77a] .cm-lineNumbers .cm-gutterElement {
|
|
6337
6348
|
min-width: fit-content;
|
|
6338
6349
|
}
|
|
6339
|
-
[data-v-
|
|
6350
|
+
[data-v-5ce9d77a] .cm-gutter + .cm-gutter :not(.cm-foldGutter) .cm-gutterElement {
|
|
6340
6351
|
padding-left: 0 !important;
|
|
6341
6352
|
}
|
|
6342
|
-
[data-v-
|
|
6353
|
+
[data-v-5ce9d77a] .cm-scroller {
|
|
6343
6354
|
overflow: auto;
|
|
6344
6355
|
}
|
|
6345
|
-
[data-v-
|
|
6356
|
+
[data-v-5ce9d77a] .cm-lineWrapping .cm-line {
|
|
6346
6357
|
word-break: break-all;
|
|
6347
6358
|
}
|
|
6348
|
-
[data-v-
|
|
6359
|
+
[data-v-5ce9d77a] .cm-content.cm-lineWrapping {
|
|
6349
6360
|
white-space: pre-wrap;
|
|
6350
|
-
max-height: none;
|
|
6351
6361
|
}
|
|
6352
|
-
.line-wrapping[data-v-
|
|
6362
|
+
.line-wrapping[data-v-5ce9d77a]:focus-within .cm-content {
|
|
6353
6363
|
display: inline-table;
|
|
6354
6364
|
min-height: fit-content;
|
|
6355
6365
|
padding: 3px 6px;
|
|
@@ -6518,28 +6528,28 @@ to {
|
|
|
6518
6528
|
margin-left: 0.5px;
|
|
6519
6529
|
}
|
|
6520
6530
|
|
|
6521
|
-
[data-v-
|
|
6531
|
+
[data-v-bf90c7e1] .cm-content {
|
|
6522
6532
|
font-size: var(--scalar-small);
|
|
6523
6533
|
}
|
|
6524
6534
|
|
|
6525
|
-
[data-v-
|
|
6535
|
+
[data-v-ce270af2] .code-input-lite__editor {
|
|
6526
6536
|
background-color: transparent;
|
|
6527
6537
|
font-family: var(--scalar-font);
|
|
6528
6538
|
font-size: var(--scalar-small);
|
|
6529
6539
|
padding: 5px 8px;
|
|
6530
6540
|
}
|
|
6531
|
-
[data-v-
|
|
6541
|
+
[data-v-ce270af2] .scalar-pill:not(:last-of-type) {
|
|
6532
6542
|
margin-right: 0.15em;
|
|
6533
6543
|
}
|
|
6534
|
-
[data-v-
|
|
6544
|
+
[data-v-ce270af2] .scalar-pill:not(:first-of-type) {
|
|
6535
6545
|
margin-left: 0.5px;
|
|
6536
6546
|
}
|
|
6537
6547
|
/* Tailwind placeholder is busted */
|
|
6538
|
-
input[data-v-
|
|
6548
|
+
input[data-v-ce270af2]::placeholder {
|
|
6539
6549
|
color: var(--scalar-color-3);
|
|
6540
6550
|
}
|
|
6541
6551
|
/* we want our inputs to look like a password input but not be one */
|
|
6542
|
-
.scalar-password-input[data-v-
|
|
6552
|
+
.scalar-password-input[data-v-ce270af2] {
|
|
6543
6553
|
text-security: disc;
|
|
6544
6554
|
-webkit-text-security: disc;
|
|
6545
6555
|
-moz-text-security: disc;
|
|
@@ -6707,10 +6717,10 @@ to {
|
|
|
6707
6717
|
margin-top: 0;
|
|
6708
6718
|
}
|
|
6709
6719
|
|
|
6710
|
-
.address-bar-history-button[data-v-
|
|
6720
|
+
.address-bar-history-button[data-v-8704eaef]:hover {
|
|
6711
6721
|
background: var(--scalar-background-3);
|
|
6712
6722
|
}
|
|
6713
|
-
.address-bar-history-button[data-v-
|
|
6723
|
+
.address-bar-history-button[data-v-8704eaef]:focus-within {
|
|
6714
6724
|
background: var(--scalar-background-2);
|
|
6715
6725
|
}
|
|
6716
6726
|
|
package/package.json
CHANGED
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
"testing",
|
|
20
20
|
"react"
|
|
21
21
|
],
|
|
22
|
-
"version": "2.0.
|
|
22
|
+
"version": "2.0.55",
|
|
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.21.
|
|
43
|
-
"@scalar/blocks": "0.
|
|
44
|
-
"@scalar/helpers": "0.16.
|
|
45
|
-
"@scalar/workspace-store": "0.
|
|
42
|
+
"@scalar/api-client": "3.21.5",
|
|
43
|
+
"@scalar/blocks": "0.5.0",
|
|
44
|
+
"@scalar/helpers": "0.16.1",
|
|
45
|
+
"@scalar/workspace-store": "0.68.1"
|
|
46
46
|
},
|
|
47
47
|
"devDependencies": {
|
|
48
48
|
"@testing-library/dom": "^10.4.1",
|