@scalar/api-reference 1.48.5 → 1.48.7
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 +51 -0
- package/dist/browser/standalone.js +3254 -3244
- package/dist/browser/webpack-stats.json +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.d.ts.map +1 -1
- package/dist/features/example-responses/ExampleResponses.vue.js +1 -1
- package/dist/features/example-responses/ExampleResponses.vue2.js +11 -13
- package/dist/style.css +229 -39
- package/package.json +14 -14
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../src/features/example-responses/ExampleResponses.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"ExampleResponses.vue.d.ts","sourceRoot":"","sources":["../../../src/features/example-responses/ExampleResponses.vue"],"names":[],"mappings":"AAmXA,OAAO,KAAK,EAEV,eAAe,EAChB,MAAM,8DAA8D,CAAA;AAWrE;;GAEG;AAEH,KAAK,WAAW,GAAG;IACjB,SAAS,EAAE,eAAe,CAAA;CAC3B,CAAC;AAuXF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import _sfc_main from "./ExampleResponses.vue2.js";
|
|
2
2
|
/* empty css */
|
|
3
3
|
import _export_sfc from "../../_virtual/_plugin-vue_export-helper.js";
|
|
4
|
-
const ExampleResponses = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-
|
|
4
|
+
const ExampleResponses = /* @__PURE__ */ _export_sfc(_sfc_main, [["__scopeId", "data-v-5b8a574c"]]);
|
|
5
5
|
export {
|
|
6
6
|
ExampleResponses as default
|
|
7
7
|
};
|
|
@@ -16,10 +16,7 @@ const _hoisted_1 = {
|
|
|
16
16
|
class: "scalar-card-checkbox"
|
|
17
17
|
};
|
|
18
18
|
const _hoisted_2 = ["aria-controls"];
|
|
19
|
-
const _hoisted_3 = {
|
|
20
|
-
key: 0,
|
|
21
|
-
class: "response-description"
|
|
22
|
-
};
|
|
19
|
+
const _hoisted_3 = { class: "response-description" };
|
|
23
20
|
const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
24
21
|
__name: "ExampleResponses",
|
|
25
22
|
props: {
|
|
@@ -156,19 +153,20 @@ const _sfc_main = /* @__PURE__ */ defineComponent({
|
|
|
156
153
|
class: "response-card-footer"
|
|
157
154
|
}, {
|
|
158
155
|
default: withCtx(() => [
|
|
159
|
-
currentResponse.value?.description ? (openBlock(), createElementBlock("div", _hoisted_3, [
|
|
160
|
-
createVNode(unref(ScalarMarkdown), {
|
|
161
|
-
class: "markdown",
|
|
162
|
-
value: currentResponse.value.description
|
|
163
|
-
}, null, 8, ["value"])
|
|
164
|
-
])) : createCommentVNode("", true),
|
|
165
156
|
hasMultipleExamples.value ? (openBlock(), createBlock(unref(ExamplePicker), {
|
|
166
|
-
key:
|
|
157
|
+
key: 0,
|
|
167
158
|
modelValue: selectedExampleKey.value,
|
|
168
159
|
"onUpdate:modelValue": _cache[2] || (_cache[2] = ($event) => selectedExampleKey.value = $event),
|
|
169
|
-
class: "response-example-selector",
|
|
160
|
+
class: "response-example-selector px-0",
|
|
170
161
|
examples: currentResponseContent.value?.examples
|
|
171
|
-
}, null, 8, ["modelValue", "examples"])) : createCommentVNode("", true)
|
|
162
|
+
}, null, 8, ["modelValue", "examples"])) : createCommentVNode("", true),
|
|
163
|
+
createElementVNode("div", _hoisted_3, [
|
|
164
|
+
currentResponse.value?.description ? (openBlock(), createBlock(unref(ScalarMarkdown), {
|
|
165
|
+
key: 0,
|
|
166
|
+
class: "response-description-markdown",
|
|
167
|
+
value: currentResponse.value.description
|
|
168
|
+
}, null, 8, ["value"])) : createCommentVNode("", true)
|
|
169
|
+
])
|
|
172
170
|
]),
|
|
173
171
|
_: 1
|
|
174
172
|
})) : createCommentVNode("", true)
|
package/dist/style.css
CHANGED
|
@@ -1390,13 +1390,10 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1390
1390
|
padding: 0;
|
|
1391
1391
|
}
|
|
1392
1392
|
|
|
1393
|
-
.response-card[data-v-
|
|
1393
|
+
.response-card[data-v-5b8a574c] {
|
|
1394
1394
|
font-size: var(--scalar-font-size-3);
|
|
1395
1395
|
}
|
|
1396
|
-
.
|
|
1397
|
-
margin: 0;
|
|
1398
|
-
}
|
|
1399
|
-
.code-copy[data-v-dc47ca65] {
|
|
1396
|
+
.code-copy[data-v-5b8a574c] {
|
|
1400
1397
|
display: flex;
|
|
1401
1398
|
align-items: center;
|
|
1402
1399
|
justify-content: center;
|
|
@@ -1410,35 +1407,42 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1410
1407
|
padding: 0;
|
|
1411
1408
|
margin-right: 12px;
|
|
1412
1409
|
}
|
|
1413
|
-
.code-copy[data-v-
|
|
1410
|
+
.code-copy[data-v-5b8a574c]:hover {
|
|
1414
1411
|
color: var(--scalar-color-1);
|
|
1415
1412
|
}
|
|
1416
|
-
.code-copy svg[data-v-
|
|
1413
|
+
.code-copy svg[data-v-5b8a574c] {
|
|
1417
1414
|
width: 13px;
|
|
1418
1415
|
height: 13px;
|
|
1419
1416
|
}
|
|
1420
|
-
.response-card-footer[data-v-
|
|
1417
|
+
.response-card-footer[data-v-5b8a574c] {
|
|
1421
1418
|
display: flex;
|
|
1422
|
-
flex-direction: row;
|
|
1423
|
-
|
|
1419
|
+
flex-direction: row-reverse;
|
|
1420
|
+
flex-wrap: wrap;
|
|
1421
|
+
justify-content: start;
|
|
1424
1422
|
flex-shrink: 0;
|
|
1425
1423
|
padding: 7px 12px;
|
|
1426
|
-
gap: 8px;
|
|
1424
|
+
column-gap: 8px;
|
|
1427
1425
|
}
|
|
1428
|
-
.response-example-selector[data-v-
|
|
1429
|
-
|
|
1426
|
+
.response-example-selector[data-v-5b8a574c] {
|
|
1427
|
+
flex-shrink: 0;
|
|
1430
1428
|
margin: -4px;
|
|
1431
1429
|
}
|
|
1432
|
-
.response-description[data-v-
|
|
1430
|
+
.response-description[data-v-5b8a574c] {
|
|
1433
1431
|
font-weight: var(--scalar-semibold);
|
|
1434
1432
|
font-size: var(--scalar-small);
|
|
1435
1433
|
color: var(--scalar-color--1);
|
|
1436
1434
|
|
|
1437
|
-
display: flex;
|
|
1438
|
-
align-items: center;
|
|
1439
1435
|
box-sizing: border-box;
|
|
1436
|
+
|
|
1437
|
+
flex-grow: 1;
|
|
1438
|
+
}
|
|
1439
|
+
.response-description-markdown[data-v-5b8a574c] {
|
|
1440
|
+
max-height: 3lh;
|
|
1441
|
+
}
|
|
1442
|
+
.response-description-markdown[data-v-5b8a574c] * {
|
|
1443
|
+
margin: 0;
|
|
1440
1444
|
}
|
|
1441
|
-
.schema-type[data-v-
|
|
1445
|
+
.schema-type[data-v-5b8a574c] {
|
|
1442
1446
|
font-size: var(--scalar-micro);
|
|
1443
1447
|
color: var(--scalar-color-2);
|
|
1444
1448
|
font-weight: var(--scalar-semibold);
|
|
@@ -1447,16 +1451,16 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1447
1451
|
border-radius: 4px;
|
|
1448
1452
|
margin-right: 4px;
|
|
1449
1453
|
}
|
|
1450
|
-
.schema-example[data-v-
|
|
1454
|
+
.schema-example[data-v-5b8a574c] {
|
|
1451
1455
|
font-size: var(--scalar-micro);
|
|
1452
1456
|
color: var(--scalar-color-2);
|
|
1453
1457
|
font-weight: var(--scalar-semibold);
|
|
1454
1458
|
}
|
|
1455
|
-
.example-response-tab[data-v-
|
|
1459
|
+
.example-response-tab[data-v-5b8a574c] {
|
|
1456
1460
|
display: block;
|
|
1457
1461
|
margin: 6px;
|
|
1458
1462
|
}
|
|
1459
|
-
.scalar-card-checkbox[data-v-
|
|
1463
|
+
.scalar-card-checkbox[data-v-5b8a574c] {
|
|
1460
1464
|
display: flex;
|
|
1461
1465
|
align-items: center;
|
|
1462
1466
|
justify-content: center;
|
|
@@ -1473,20 +1477,20 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1473
1477
|
padding: 7px 6px;
|
|
1474
1478
|
}
|
|
1475
1479
|
.scalar-card-checkbox:has(.scalar-card-checkbox-input:focus-visible)
|
|
1476
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
1480
|
+
.scalar-card-checkbox-checkmark[data-v-5b8a574c] {
|
|
1477
1481
|
outline: 1px solid var(--scalar-color-accent);
|
|
1478
1482
|
}
|
|
1479
|
-
.scalar-card-checkbox[data-v-
|
|
1483
|
+
.scalar-card-checkbox[data-v-5b8a574c]:hover {
|
|
1480
1484
|
color: var(--scalar-color--1);
|
|
1481
1485
|
}
|
|
1482
|
-
.scalar-card-checkbox .scalar-card-checkbox-input[data-v-
|
|
1486
|
+
.scalar-card-checkbox .scalar-card-checkbox-input[data-v-5b8a574c] {
|
|
1483
1487
|
position: absolute;
|
|
1484
1488
|
opacity: 0;
|
|
1485
1489
|
cursor: pointer;
|
|
1486
1490
|
height: 0;
|
|
1487
1491
|
width: 0;
|
|
1488
1492
|
}
|
|
1489
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
1493
|
+
.scalar-card-checkbox-checkmark[data-v-5b8a574c] {
|
|
1490
1494
|
height: 16px;
|
|
1491
1495
|
width: 16px;
|
|
1492
1496
|
border-radius: var(--scalar-radius);
|
|
@@ -1494,27 +1498,27 @@ button.headers-card-title[data-v-ab19704d]:hover {
|
|
|
1494
1498
|
background-color: var(--scalar-background-3);
|
|
1495
1499
|
box-shadow: inset 0 0 0 var(--scalar-border-width) var(--scalar-border-color);
|
|
1496
1500
|
}
|
|
1497
|
-
.scalar-card-checkbox[data-v-
|
|
1501
|
+
.scalar-card-checkbox[data-v-5b8a574c]:has(.scalar-card-checkbox-input:checked) {
|
|
1498
1502
|
color: var(--scalar-color-1);
|
|
1499
1503
|
font-weight: var(--scalar-semibold);
|
|
1500
1504
|
}
|
|
1501
1505
|
.scalar-card-checkbox
|
|
1502
1506
|
.scalar-card-checkbox-input:checked
|
|
1503
|
-
~ .scalar-card-checkbox-checkmark[data-v-
|
|
1507
|
+
~ .scalar-card-checkbox-checkmark[data-v-5b8a574c] {
|
|
1504
1508
|
background-color: var(--scalar-button-1);
|
|
1505
1509
|
box-shadow: none;
|
|
1506
1510
|
}
|
|
1507
|
-
.scalar-card-checkbox-checkmark[data-v-
|
|
1511
|
+
.scalar-card-checkbox-checkmark[data-v-5b8a574c]:after {
|
|
1508
1512
|
content: '';
|
|
1509
1513
|
position: absolute;
|
|
1510
1514
|
display: none;
|
|
1511
1515
|
}
|
|
1512
1516
|
.scalar-card-checkbox
|
|
1513
1517
|
.scalar-card-checkbox-input:checked
|
|
1514
|
-
~ .scalar-card-checkbox-checkmark[data-v-
|
|
1518
|
+
~ .scalar-card-checkbox-checkmark[data-v-5b8a574c]:after {
|
|
1515
1519
|
display: block;
|
|
1516
1520
|
}
|
|
1517
|
-
.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-
|
|
1521
|
+
.scalar-card-checkbox .scalar-card-checkbox-checkmark[data-v-5b8a574c]:after {
|
|
1518
1522
|
right: 11.5px;
|
|
1519
1523
|
top: 12.5px;
|
|
1520
1524
|
width: 5px;
|
|
@@ -2580,6 +2584,7 @@ to {
|
|
|
2580
2584
|
--tw-duration: initial;
|
|
2581
2585
|
--tw-ease: initial;
|
|
2582
2586
|
--tw-content: "";
|
|
2587
|
+
--tw-space-y-reverse: 0;
|
|
2583
2588
|
--tw-space-x-reverse: 0;
|
|
2584
2589
|
}
|
|
2585
2590
|
}
|
|
@@ -2670,6 +2675,7 @@ to {
|
|
|
2670
2675
|
--ease-in: cubic-bezier(.4, 0, 1, 1);
|
|
2671
2676
|
--ease-out: cubic-bezier(0, 0, .2, 1);
|
|
2672
2677
|
--ease-in-out: cubic-bezier(.4, 0, .2, 1);
|
|
2678
|
+
--animate-spin: spin 1s linear infinite;
|
|
2673
2679
|
--default-transition-duration: .15s;
|
|
2674
2680
|
--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
2675
2681
|
}
|
|
@@ -3568,6 +3574,8 @@ body {
|
|
|
3568
3574
|
--default-transition-duration: .15s;
|
|
3569
3575
|
--default-transition-timing-function: cubic-bezier(.4, 0, .2, 1);
|
|
3570
3576
|
--leading-normal: 1.5;
|
|
3577
|
+
--leading-relaxed: 1.625;
|
|
3578
|
+
--animate-spin: spin 1s linear infinite;
|
|
3571
3579
|
}
|
|
3572
3580
|
body {
|
|
3573
3581
|
background-color: var(--scalar-background-1);
|
|
@@ -3820,10 +3828,6 @@ body {
|
|
|
3820
3828
|
--tw-leading: 1.45;
|
|
3821
3829
|
line-height: 1.45;
|
|
3822
3830
|
}
|
|
3823
|
-
.scalar-app .leading-relaxed {
|
|
3824
|
-
--tw-leading: var(--leading-relaxed);
|
|
3825
|
-
line-height: var(--leading-relaxed);
|
|
3826
|
-
}
|
|
3827
3831
|
.scalar-app .text-current {
|
|
3828
3832
|
color: currentColor;
|
|
3829
3833
|
}
|
|
@@ -6366,7 +6370,8 @@ to {
|
|
|
6366
6370
|
border: var(--scalar-border-width) solid var(--scalar-border-color);
|
|
6367
6371
|
border-radius: var(--scalar-radius);
|
|
6368
6372
|
border-spacing: 0;
|
|
6369
|
-
width:
|
|
6373
|
+
width: max-content;
|
|
6374
|
+
max-width: 100%;
|
|
6370
6375
|
margin: 1em 0;
|
|
6371
6376
|
display: table;
|
|
6372
6377
|
position: relative;
|
|
@@ -7974,6 +7979,9 @@ to {
|
|
|
7974
7979
|
.scalar-app .transform {
|
|
7975
7980
|
transform: var(--tw-rotate-x, ) var(--tw-rotate-y, ) var(--tw-rotate-z, ) var(--tw-skew-x, ) var(--tw-skew-y, );
|
|
7976
7981
|
}
|
|
7982
|
+
.scalar-app .animate-spin {
|
|
7983
|
+
animation: var(--animate-spin);
|
|
7984
|
+
}
|
|
7977
7985
|
.scalar-app .cursor-auto {
|
|
7978
7986
|
cursor: auto;
|
|
7979
7987
|
}
|
|
@@ -8094,6 +8102,9 @@ to {
|
|
|
8094
8102
|
.scalar-app .gap-4 {
|
|
8095
8103
|
gap: 16px;
|
|
8096
8104
|
}
|
|
8105
|
+
.scalar-app .gap-5 {
|
|
8106
|
+
gap: 20px;
|
|
8107
|
+
}
|
|
8097
8108
|
.scalar-app .gap-6 {
|
|
8098
8109
|
gap: 24px;
|
|
8099
8110
|
}
|
|
@@ -8112,6 +8123,11 @@ to {
|
|
|
8112
8123
|
.scalar-app .gap-px {
|
|
8113
8124
|
gap: 1px;
|
|
8114
8125
|
}
|
|
8126
|
+
:where(.scalar-app .space-y-1 > :not(:last-child)) {
|
|
8127
|
+
--tw-space-y-reverse: 0;
|
|
8128
|
+
margin-block-start: calc(4px * var(--tw-space-y-reverse));
|
|
8129
|
+
margin-block-end: calc(4px * calc(1 - var(--tw-space-y-reverse)));
|
|
8130
|
+
}
|
|
8115
8131
|
.scalar-app .gap-x-2\.5 {
|
|
8116
8132
|
column-gap: 10px;
|
|
8117
8133
|
}
|
|
@@ -8324,6 +8340,9 @@ to {
|
|
|
8324
8340
|
.scalar-app .border-\(--scalar-color-alert\) {
|
|
8325
8341
|
border-color: var(--scalar-color-alert);
|
|
8326
8342
|
}
|
|
8343
|
+
.scalar-app .border-\[var\(--scalar-border-color\)\] {
|
|
8344
|
+
border-color: var(--scalar-border-color);
|
|
8345
|
+
}
|
|
8327
8346
|
.scalar-app .border-c-1 {
|
|
8328
8347
|
border-color: var(--scalar-color-1);
|
|
8329
8348
|
}
|
|
@@ -8838,6 +8857,10 @@ to {
|
|
|
8838
8857
|
--tw-leading: var(--leading-normal);
|
|
8839
8858
|
line-height: var(--leading-normal);
|
|
8840
8859
|
}
|
|
8860
|
+
.scalar-app .leading-relaxed {
|
|
8861
|
+
--tw-leading: var(--leading-relaxed);
|
|
8862
|
+
line-height: var(--leading-relaxed);
|
|
8863
|
+
}
|
|
8841
8864
|
.scalar-app .leading-snug {
|
|
8842
8865
|
--tw-leading: var(--leading-snug);
|
|
8843
8866
|
line-height: var(--leading-snug);
|
|
@@ -8887,6 +8910,9 @@ to {
|
|
|
8887
8910
|
.scalar-app .text-\(--scalar-color-alert\) {
|
|
8888
8911
|
color: var(--scalar-color-alert);
|
|
8889
8912
|
}
|
|
8913
|
+
.scalar-app .text-\[var\(--scalar-color-yellow\)\] {
|
|
8914
|
+
color: var(--scalar-color-yellow);
|
|
8915
|
+
}
|
|
8890
8916
|
.scalar-app .text-b-1 {
|
|
8891
8917
|
color: var(--scalar-background-1);
|
|
8892
8918
|
}
|
|
@@ -8956,6 +8982,9 @@ to {
|
|
|
8956
8982
|
.scalar-app .lowercase {
|
|
8957
8983
|
text-transform: lowercase;
|
|
8958
8984
|
}
|
|
8985
|
+
.scalar-app .normal-case {
|
|
8986
|
+
text-transform: none;
|
|
8987
|
+
}
|
|
8959
8988
|
.scalar-app .uppercase {
|
|
8960
8989
|
text-transform: uppercase;
|
|
8961
8990
|
}
|
|
@@ -9932,11 +9961,21 @@ to {
|
|
|
9932
9961
|
.app-platform-mac :is(.scalar-app .mac\:app-drag-region) {
|
|
9933
9962
|
-webkit-app-region: drag;
|
|
9934
9963
|
}
|
|
9964
|
+
@property --tw-space-y-reverse {
|
|
9965
|
+
syntax: "*";
|
|
9966
|
+
inherits: false;
|
|
9967
|
+
initial-value: 0;
|
|
9968
|
+
}
|
|
9935
9969
|
@property --tw-space-x-reverse {
|
|
9936
9970
|
syntax: "*";
|
|
9937
9971
|
inherits: false;
|
|
9938
9972
|
initial-value: 0;
|
|
9939
9973
|
}
|
|
9974
|
+
@keyframes spin {
|
|
9975
|
+
to {
|
|
9976
|
+
transform: rotate(360deg);
|
|
9977
|
+
}
|
|
9978
|
+
}
|
|
9940
9979
|
.nav-item[data-v-507381a3] {
|
|
9941
9980
|
cursor: pointer;
|
|
9942
9981
|
border-radius: var(--scalar-radius-lg);
|
|
@@ -11664,23 +11703,174 @@ to {
|
|
|
11664
11703
|
border-color: var(--scalar-border-color) !important;
|
|
11665
11704
|
background: none !important;
|
|
11666
11705
|
}
|
|
11667
|
-
.editor-container[data-v-
|
|
11706
|
+
.editor-container[data-v-a388e6a4] {
|
|
11707
|
+
width: 100%;
|
|
11708
|
+
height: 100%;
|
|
11709
|
+
}
|
|
11710
|
+
.sync-layout-root[data-v-a388e6a4] {
|
|
11711
|
+
background: var(--scalar-color-background-1, #1e1e1e);
|
|
11712
|
+
}
|
|
11713
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11714
|
+
.sync-layout-root[data-v-a388e6a4] {
|
|
11715
|
+
background: color-mix(in srgb, var(--scalar-color-background-1, #1e1e1e) 96%, transparent);
|
|
11716
|
+
}
|
|
11717
|
+
}
|
|
11718
|
+
.sync-editor-pane[data-v-a388e6a4] {
|
|
11719
|
+
background: var(--scalar-color-background-1, #1e1e1e);
|
|
11720
|
+
}
|
|
11721
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11722
|
+
.sync-editor-pane[data-v-a388e6a4] {
|
|
11723
|
+
background: color-mix(in srgb, var(--scalar-color-background-1, #1e1e1e) 95%, transparent);
|
|
11724
|
+
}
|
|
11725
|
+
}
|
|
11726
|
+
.sync-pane-title[data-v-a388e6a4] {
|
|
11727
|
+
letter-spacing: .03em;
|
|
11728
|
+
text-transform: uppercase;
|
|
11729
|
+
background: var(--scalar-color-background-2, #2d2d30);
|
|
11730
|
+
font-weight: 600;
|
|
11731
|
+
}
|
|
11732
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11733
|
+
.sync-pane-title[data-v-a388e6a4] {
|
|
11734
|
+
background: color-mix(in srgb, var(--scalar-color-background-2, #2d2d30) 85%, transparent);
|
|
11735
|
+
}
|
|
11736
|
+
}
|
|
11737
|
+
.resize-handle[data-v-a388e6a4] {
|
|
11738
|
+
background: none;
|
|
11739
|
+
border: none;
|
|
11740
|
+
border-radius: 999px;
|
|
11741
|
+
flex-shrink: 0;
|
|
11742
|
+
transition: background-color .12s, box-shadow .12s;
|
|
11743
|
+
display: block;
|
|
11744
|
+
position: relative;
|
|
11745
|
+
}
|
|
11746
|
+
.resize-handle[data-v-a388e6a4]:before {
|
|
11747
|
+
content: "";
|
|
11748
|
+
opacity: 1;
|
|
11749
|
+
border-radius: 999px;
|
|
11750
|
+
transition: background-color .12s, transform .12s;
|
|
11751
|
+
position: absolute;
|
|
11752
|
+
}
|
|
11753
|
+
.resize-handle[data-v-a388e6a4]:hover {
|
|
11754
|
+
background: var(--scalar-color-accent, #007acc);
|
|
11755
|
+
}
|
|
11756
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11757
|
+
.resize-handle[data-v-a388e6a4]:hover {
|
|
11758
|
+
background: color-mix(in srgb, var(--scalar-color-accent, #007acc) 12%, transparent);
|
|
11759
|
+
}
|
|
11760
|
+
}
|
|
11761
|
+
.resize-handle[data-v-a388e6a4]:active {
|
|
11762
|
+
background: var(--scalar-color-accent, #007acc);
|
|
11763
|
+
}
|
|
11764
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11765
|
+
.resize-handle[data-v-a388e6a4]:active {
|
|
11766
|
+
background: color-mix(in srgb, var(--scalar-color-accent, #007acc) 18%, transparent);
|
|
11767
|
+
}
|
|
11768
|
+
}
|
|
11769
|
+
.resize-handle[data-v-a388e6a4]:focus-visible {
|
|
11770
|
+
box-shadow: 0 0 0 1px var(--scalar-color-accent, #007acc);
|
|
11771
|
+
outline: none;
|
|
11772
|
+
}
|
|
11773
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11774
|
+
.resize-handle[data-v-a388e6a4]:focus-visible {
|
|
11775
|
+
box-shadow: 0 0 0 1px color-mix(in srgb, var(--scalar-color-accent, #007acc) 70%, transparent);
|
|
11776
|
+
}
|
|
11777
|
+
}
|
|
11778
|
+
.resize-handle-col[data-v-a388e6a4] {
|
|
11779
|
+
cursor: col-resize;
|
|
11780
|
+
width: 8px;
|
|
11781
|
+
min-height: 44px;
|
|
11782
|
+
margin: 2px 0;
|
|
11783
|
+
}
|
|
11784
|
+
.resize-handle-col[data-v-a388e6a4]:before {
|
|
11785
|
+
background: var(--scalar-color-border, #3c3c3c);
|
|
11786
|
+
width: 1px;
|
|
11787
|
+
height: calc(100% - 8px);
|
|
11788
|
+
top: 50%;
|
|
11789
|
+
left: 50%;
|
|
11790
|
+
transform: translate(-50%, -50%);
|
|
11791
|
+
}
|
|
11792
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11793
|
+
.resize-handle-col[data-v-a388e6a4]:before {
|
|
11794
|
+
background: color-mix(in srgb, var(--scalar-color-border, #3c3c3c) 85%, transparent);
|
|
11795
|
+
}
|
|
11796
|
+
}
|
|
11797
|
+
.resize-handle-row[data-v-a388e6a4] {
|
|
11798
|
+
cursor: row-resize;
|
|
11799
|
+
height: 8px;
|
|
11800
|
+
margin: 0 4px;
|
|
11801
|
+
}
|
|
11802
|
+
.resize-handle-row[data-v-a388e6a4]:before {
|
|
11803
|
+
background: var(--scalar-color-border, #3c3c3c);
|
|
11804
|
+
width: calc(100% - 8px);
|
|
11805
|
+
height: 1px;
|
|
11806
|
+
top: 50%;
|
|
11807
|
+
left: 50%;
|
|
11808
|
+
transform: translate(-50%, -50%);
|
|
11809
|
+
}
|
|
11810
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11811
|
+
.resize-handle-row[data-v-a388e6a4]:before {
|
|
11812
|
+
background: color-mix(in srgb, var(--scalar-color-border, #3c3c3c) 85%, transparent);
|
|
11813
|
+
}
|
|
11814
|
+
}
|
|
11815
|
+
.resize-handle-col[data-v-a388e6a4]:hover:before, .resize-handle-col[data-v-a388e6a4]:active:before, .resize-handle-row[data-v-a388e6a4]:hover:before, .resize-handle-row[data-v-a388e6a4]:active:before {
|
|
11816
|
+
background: var(--scalar-color-accent, #007acc);
|
|
11817
|
+
}
|
|
11818
|
+
@supports (color: color-mix(in lab, red, red)) {
|
|
11819
|
+
.resize-handle-col[data-v-a388e6a4]:hover:before, .resize-handle-col[data-v-a388e6a4]:active:before, .resize-handle-row[data-v-a388e6a4]:hover:before, .resize-handle-row[data-v-a388e6a4]:active:before {
|
|
11820
|
+
background: color-mix(in srgb, var(--scalar-color-accent, #007acc) 78%, transparent);
|
|
11821
|
+
}
|
|
11822
|
+
}
|
|
11823
|
+
[data-v-a388e6a4] .json-path-highlight {
|
|
11824
|
+
background-color: #ffc80059;
|
|
11825
|
+
border-radius: 4px;
|
|
11826
|
+
}
|
|
11827
|
+
[data-v-a388e6a4] .json-focus-highlight-box-single {
|
|
11828
|
+
box-sizing: border-box;
|
|
11829
|
+
border: 2px solid #f8ca14;
|
|
11830
|
+
}
|
|
11831
|
+
[data-v-a388e6a4] .json-focus-highlight-box-top {
|
|
11832
|
+
box-sizing: border-box;
|
|
11833
|
+
border-top: 2px solid #f8ca14;
|
|
11834
|
+
border-left: 2px solid #f8ca14;
|
|
11835
|
+
border-right: 2px solid #f8ca14;
|
|
11836
|
+
}
|
|
11837
|
+
[data-v-a388e6a4] .json-focus-highlight-box-middle {
|
|
11838
|
+
box-sizing: border-box;
|
|
11839
|
+
border-left: 2px solid #f8ca14;
|
|
11840
|
+
border-right: 2px solid #f8ca14;
|
|
11841
|
+
}
|
|
11842
|
+
[data-v-a388e6a4] .json-focus-highlight-box-bottom {
|
|
11843
|
+
box-sizing: border-box;
|
|
11844
|
+
border-bottom: 2px solid #f8ca14;
|
|
11845
|
+
border-left: 2px solid #f8ca14;
|
|
11846
|
+
border-right: 2px solid #f8ca14;
|
|
11847
|
+
box-shadow: inset 0 0 0 1px #fde04759;
|
|
11848
|
+
}
|
|
11849
|
+
.full-size-styles:has(.sync-conflict-modal-root) {
|
|
11850
|
+
border-right: none !important;
|
|
11851
|
+
width: 100dvw !important;
|
|
11852
|
+
max-width: 100dvw !important;
|
|
11853
|
+
}
|
|
11854
|
+
.full-size-styles:has(.sync-conflict-modal-root):after {
|
|
11855
|
+
display: none;
|
|
11856
|
+
}
|
|
11857
|
+
.editor-container[data-v-850fff8f] {
|
|
11668
11858
|
width: 100%;
|
|
11669
11859
|
height: 100%;
|
|
11670
11860
|
}
|
|
11671
|
-
[data-v-
|
|
11861
|
+
[data-v-850fff8f] .json-path-highlight {
|
|
11672
11862
|
background-color: #ffc80059;
|
|
11673
11863
|
border-radius: 4px;
|
|
11674
11864
|
}
|
|
11675
|
-
[data-v-
|
|
11865
|
+
[data-v-850fff8f] .json-focus-highlight {
|
|
11676
11866
|
background-color: var(--scalar-color-accent, #24b47e);
|
|
11677
11867
|
}
|
|
11678
11868
|
@supports (color: color-mix(in lab, red, red)) {
|
|
11679
|
-
[data-v-
|
|
11869
|
+
[data-v-850fff8f] .json-focus-highlight {
|
|
11680
11870
|
background-color: color-mix(in srgb, var(--scalar-color-accent, #24b47e) 18%, transparent);
|
|
11681
11871
|
}
|
|
11682
11872
|
}
|
|
11683
|
-
[data-v-
|
|
11873
|
+
[data-v-850fff8f] .json-focus-highlight {
|
|
11684
11874
|
border-radius: 4px;
|
|
11685
11875
|
}
|
|
11686
11876
|
.schema > span[data-v-4df72868]:not(:first-child):before {
|
package/package.json
CHANGED
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"vue",
|
|
21
21
|
"vue3"
|
|
22
22
|
],
|
|
23
|
-
"version": "1.48.
|
|
23
|
+
"version": "1.48.7",
|
|
24
24
|
"engines": {
|
|
25
25
|
"node": ">=22"
|
|
26
26
|
},
|
|
@@ -85,22 +85,22 @@
|
|
|
85
85
|
"microdiff": "^1.5.0",
|
|
86
86
|
"nanoid": "^5.1.6",
|
|
87
87
|
"vue": "^3.5.26",
|
|
88
|
-
"@scalar/
|
|
89
|
-
"@scalar/
|
|
90
|
-
"@scalar/components": "0.20.5",
|
|
88
|
+
"@scalar/api-client": "2.37.0",
|
|
89
|
+
"@scalar/agent-chat": "0.9.7",
|
|
91
90
|
"@scalar/code-highlight": "0.3.0",
|
|
92
|
-
"@scalar/helpers": "0.4.
|
|
91
|
+
"@scalar/helpers": "0.4.1",
|
|
92
|
+
"@scalar/oas-utils": "0.10.6",
|
|
93
|
+
"@scalar/components": "0.20.7",
|
|
94
|
+
"@scalar/openapi-parser": "0.25.3",
|
|
93
95
|
"@scalar/icons": "0.6.0",
|
|
94
|
-
"@scalar/oas-utils": "0.10.4",
|
|
95
96
|
"@scalar/openapi-types": "0.6.0",
|
|
96
|
-
"@scalar/
|
|
97
|
-
"@scalar/snippetz": "0.7.
|
|
98
|
-
"@scalar/sidebar": "0.8.5",
|
|
97
|
+
"@scalar/sidebar": "0.8.7",
|
|
98
|
+
"@scalar/snippetz": "0.7.4",
|
|
99
99
|
"@scalar/themes": "0.15.0",
|
|
100
|
-
"@scalar/types": "0.7.
|
|
101
|
-
"@scalar/
|
|
100
|
+
"@scalar/types": "0.7.3",
|
|
101
|
+
"@scalar/workspace-store": "0.40.0",
|
|
102
102
|
"@scalar/use-toasts": "0.10.0",
|
|
103
|
-
"@scalar/
|
|
103
|
+
"@scalar/use-hooks": "0.4.0"
|
|
104
104
|
},
|
|
105
105
|
"devDependencies": {
|
|
106
106
|
"@hono/node-server": "^1.19.7",
|
|
@@ -118,10 +118,10 @@
|
|
|
118
118
|
"vite-plugin-banner": "^0.8.1",
|
|
119
119
|
"vite-plugin-css-injected-by-js": "^3.5.2",
|
|
120
120
|
"vitest": "4.0.16",
|
|
121
|
+
"@scalar/core": "0.4.3",
|
|
121
122
|
"@scalar/build-tooling": "0.5.0",
|
|
122
123
|
"@scalar/galaxy": "0.6.0",
|
|
123
|
-
"@scalar/react-renderer": "0.4.0"
|
|
124
|
-
"@scalar/core": "0.4.2"
|
|
124
|
+
"@scalar/react-renderer": "0.4.0"
|
|
125
125
|
},
|
|
126
126
|
"scripts": {
|
|
127
127
|
"build": "pnpm build:default && pnpm build:standalone && pnpm types:build",
|